Version Description
- Feature: Support remotely hosted images attached to affiliate links
- Feature: Add Global value for the Redirect type setting in affiliate link editor
- Feature: Click Tracking: track device used
- Feature: Allow adding additional CSS classes
- Feature: Integration with Beaver Builder
- Feature: Integration with Elementor
- Feature: Post edit screen: When using Shortcode link insertion method show link with a special link formatting clickable to an edit screen
- Feature: Add category filter in Add Affiliate Link popup
- Improvement: Add a setting to allow people to turn off the robots.txt blocking
- Bug Fix: Link Fixer issue with query strings
- Bug Fix: Error: Cannot read property 'replace' of undefined
- Bug Fix: Query String issue with Enhanced JS redirect
Download this release
Release Info
Developer | jkohlbach |
Plugin | ThirstyAffiliates Affiliate Link Manager |
Version | 3.4.0 |
Comparing to | |
See all releases |
Code changes from version 3.3.7 to 3.4.0
- Helpers/Helper_Functions.php +38 -3
- Helpers/Plugin_Constants.php +1 -1
- Models/Affiliate_Link.php +30 -9
- Models/Affiliate_Link_Attachment.php +49 -2
- Models/Affiliate_Links_CPT.php +16 -8
- Models/Link_Fixer.php +30 -5
- Models/Link_Picker.php +161 -14
- Models/REST_API.php +3 -2
- Models/Rewrites_Redirection.php +11 -6
- Models/Script_Loader.php +33 -14
- Models/Settings.php +15 -1
- Models/Shortcodes.php +13 -4
- Models/Stats_Reporting.php +6 -2
- css/admin/ta-editor.css +47 -0
- css/admin/tinymce/editor.css +7 -36
- js/app/advance_link_picker/dist/advance-link-picker.css +1 -1
- js/app/advance_link_picker/dist/advance-link-picker.js +1 -24
- js/app/advance_link_picker/package-lock.json +2755 -0
- js/app/affiliate_link_page/dist/affiliate-link-page.css +1 -1
- js/app/affiliate_link_page/dist/affiliate-link-page.js +2 -2
- js/app/edit_shortcode/dist/edit-shortcode.css +1 -0
- js/app/edit_shortcode/dist/edit-shortcode.js +1 -0
- js/app/ta-editor.js +1 -0
- js/app/ta.js +16 -4
- js/lib/thirstymce/editor-plugin.js +168 -0
- languages/thirstyaffiliates.pot +256 -171
- readme.txt +16 -2
- thirstyaffiliates.php +4 -3
- views/cpt/view-attach-images-metabox-external-image.php +8 -0
- views/cpt/view-attach-images-metabox.php +44 -18
- views/cpt/view-link-options-metabox.php +10 -1
- views/linkpicker/advance-link-picker.php +11 -0
- views/linkpicker/edit-shortcode.php +81 -0
- views/linkpicker/quick-add-affiliate-link.php +4 -2
Helpers/Helper_Functions.php
CHANGED
@@ -429,11 +429,12 @@ class Helper_Functions {
|
|
429 |
* Retrieve all categories as an option array list.
|
430 |
*
|
431 |
* @since 3.0.0
|
|
|
432 |
* @access public
|
433 |
*
|
434 |
* @return array List of category options.
|
435 |
*/
|
436 |
-
public function get_all_category_as_options() {
|
437 |
|
438 |
$options = array();
|
439 |
|
@@ -444,8 +445,10 @@ class Helper_Functions {
|
|
444 |
|
445 |
if ( ! is_wp_error( $categories ) ) {
|
446 |
|
447 |
-
foreach( $categories as $category )
|
448 |
-
$
|
|
|
|
|
449 |
|
450 |
} else {
|
451 |
|
@@ -553,4 +556,36 @@ class Helper_Functions {
|
|
553 |
|
554 |
return apply_filters( 'ta_get_screen_id' , $screen_id );
|
555 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
556 |
}
|
429 |
* Retrieve all categories as an option array list.
|
430 |
*
|
431 |
* @since 3.0.0
|
432 |
+
* @since 3.4.0 Add support for slug options.
|
433 |
* @access public
|
434 |
*
|
435 |
* @return array List of category options.
|
436 |
*/
|
437 |
+
public function get_all_category_as_options( $use_slug = false ) {
|
438 |
|
439 |
$options = array();
|
440 |
|
445 |
|
446 |
if ( ! is_wp_error( $categories ) ) {
|
447 |
|
448 |
+
foreach( $categories as $category ) {
|
449 |
+
$key = $use_slug ? $category->slug : $category->term_id;
|
450 |
+
$options[ $key ] = $category->name;
|
451 |
+
}
|
452 |
|
453 |
} else {
|
454 |
|
556 |
|
557 |
return apply_filters( 'ta_get_screen_id' , $screen_id );
|
558 |
}
|
559 |
+
|
560 |
+
/**
|
561 |
+
* Get visistor's browser and device.
|
562 |
+
*
|
563 |
+
* @since 3.4.0
|
564 |
+
* @access public
|
565 |
+
*
|
566 |
+
* @return string Browser and device.
|
567 |
+
*/
|
568 |
+
public function get_visitor_browser_device() {
|
569 |
+
|
570 |
+
if ( get_option( 'ta_disable_browser_device_collection' ) === 'yes' || ! ini_get( "browscap" ) )
|
571 |
+
return;
|
572 |
+
|
573 |
+
$browser = get_browser( null );
|
574 |
+
return is_object( $browser ) ? $browser->browser . '|' . $browser->platform . '|' . $browser->device_type : '';
|
575 |
+
}
|
576 |
+
|
577 |
+
/**
|
578 |
+
* Check if a page builder is active or not. Currently supports: Beaver Builder and Elementor.
|
579 |
+
*
|
580 |
+
* @since 3.4.0
|
581 |
+
* @access public
|
582 |
+
*/
|
583 |
+
public function is_page_builder_active() {
|
584 |
+
|
585 |
+
$is_bb_active = class_exists( 'FLBuilderModel' ) && \FLBuilderModel::is_builder_active();
|
586 |
+
$elementor = class_exists( 'Elementor\Editor' ) && isset( $_GET[ 'action' ] ) && $_GET[ 'action' ] == 'elementor';
|
587 |
+
|
588 |
+
return $is_bb_active || $elementor;
|
589 |
+
}
|
590 |
+
|
591 |
}
|
Helpers/Plugin_Constants.php
CHANGED
@@ -27,7 +27,7 @@ class Plugin_Constants {
|
|
27 |
// Plugin configuration constants
|
28 |
const TOKEN = 'ta';
|
29 |
const INSTALLED_VERSION = 'ta_installed_version';
|
30 |
-
const VERSION = '3.
|
31 |
const TEXT_DOMAIN = 'thirstyaffiliates';
|
32 |
const THEME_TEMPLATE_PATH = 'thirstyaffiliates';
|
33 |
const META_DATA_PREFIX = '_ta_';
|
27 |
// Plugin configuration constants
|
28 |
const TOKEN = 'ta';
|
29 |
const INSTALLED_VERSION = 'ta_installed_version';
|
30 |
+
const VERSION = '3.4.0';
|
31 |
const TEXT_DOMAIN = 'thirstyaffiliates';
|
32 |
const THEME_TEMPLATE_PATH = 'thirstyaffiliates';
|
33 |
const META_DATA_PREFIX = '_ta_';
|
Models/Affiliate_Link.php
CHANGED
@@ -84,7 +84,8 @@ class Affiliate_Link {
|
|
84 |
'permalink' => '',
|
85 |
'destination_url' => '',
|
86 |
'rel_tags' => '',
|
87 |
-
'
|
|
|
88 |
'no_follow' => 'global',
|
89 |
'new_window' => 'global',
|
90 |
'uncloak_link' => 'global',
|
@@ -219,11 +220,12 @@ class Affiliate_Link {
|
|
219 |
case 'new_window' :
|
220 |
case 'pass_query_str' :
|
221 |
case 'uncloak_link' :
|
|
|
222 |
$this->data[ $prop ] = ! empty( $raw_data ) ? $raw_data : $default_data[ $prop ];
|
223 |
break;
|
224 |
|
225 |
case 'rel_tags' :
|
226 |
-
case '
|
227 |
$this->data[ $prop ] = ! empty( $raw_data ) ? $raw_data : $this->get_prop_global_option_value( $prop );
|
228 |
break;
|
229 |
|
@@ -326,6 +328,27 @@ class Affiliate_Link {
|
|
326 |
|
327 |
}
|
328 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
329 |
/**
|
330 |
* Return Affiliate_Link ID.
|
331 |
*
|
@@ -375,14 +398,13 @@ class Affiliate_Link {
|
|
375 |
*
|
376 |
* @since 3.0.0
|
377 |
* @since 3.2.2 Remove 'uncloak' option.
|
|
|
378 |
* @access public
|
379 |
*
|
380 |
* @param string $prop Name of property.
|
381 |
* @return string Global option value.
|
382 |
*/
|
383 |
-
public function get_prop_global_option_value( $prop ) {
|
384 |
-
|
385 |
-
$default = '';
|
386 |
|
387 |
switch( $prop ) {
|
388 |
|
@@ -390,13 +412,12 @@ class Affiliate_Link {
|
|
390 |
$option = 'ta_additional_rel_tags';
|
391 |
break;
|
392 |
|
393 |
-
case '
|
394 |
-
$option
|
395 |
-
$default = '301';
|
396 |
break;
|
397 |
}
|
398 |
|
399 |
-
return get_option( $option , $default );
|
400 |
}
|
401 |
|
402 |
/**
|
84 |
'permalink' => '',
|
85 |
'destination_url' => '',
|
86 |
'rel_tags' => '',
|
87 |
+
'css_classes' => '',
|
88 |
+
'redirect_type' => 'global',
|
89 |
'no_follow' => 'global',
|
90 |
'new_window' => 'global',
|
91 |
'uncloak_link' => 'global',
|
220 |
case 'new_window' :
|
221 |
case 'pass_query_str' :
|
222 |
case 'uncloak_link' :
|
223 |
+
case 'redirect_type' :
|
224 |
$this->data[ $prop ] = ! empty( $raw_data ) ? $raw_data : $default_data[ $prop ];
|
225 |
break;
|
226 |
|
227 |
case 'rel_tags' :
|
228 |
+
case 'css_classes' :
|
229 |
$this->data[ $prop ] = ! empty( $raw_data ) ? $raw_data : $this->get_prop_global_option_value( $prop );
|
230 |
break;
|
231 |
|
328 |
|
329 |
}
|
330 |
|
331 |
+
/**
|
332 |
+
* Get redirect type
|
333 |
+
*
|
334 |
+
* @since 3.4.0
|
335 |
+
* @access public
|
336 |
+
*
|
337 |
+
* @param string $default Default redirect type.
|
338 |
+
* @return string Redirect type.
|
339 |
+
*/
|
340 |
+
public function get_redirect_type( $default = '' ) {
|
341 |
+
|
342 |
+
$redirect_type = $this->data[ 'redirect_type' ];
|
343 |
+
|
344 |
+
if ( $redirect_type === 'global' )
|
345 |
+
$redirect_type = get_option( 'ta_link_redirect_type' , $default );
|
346 |
+
elseif ( ! $redirect_type )
|
347 |
+
$redirect_type = $default ? $default : $default_data[ 'redirect_type' ];
|
348 |
+
|
349 |
+
return $redirect_type;
|
350 |
+
}
|
351 |
+
|
352 |
/**
|
353 |
* Return Affiliate_Link ID.
|
354 |
*
|
398 |
*
|
399 |
* @since 3.0.0
|
400 |
* @since 3.2.2 Remove 'uncloak' option.
|
401 |
+
* @since 3.4.0 Remove 'redirect_type' option. Add additional CSS classes option.
|
402 |
* @access public
|
403 |
*
|
404 |
* @param string $prop Name of property.
|
405 |
* @return string Global option value.
|
406 |
*/
|
407 |
+
public function get_prop_global_option_value( $prop , $default = '' ) {
|
|
|
|
|
408 |
|
409 |
switch( $prop ) {
|
410 |
|
412 |
$option = 'ta_additional_rel_tags';
|
413 |
break;
|
414 |
|
415 |
+
case 'css_classes' :
|
416 |
+
$option = 'ta_additional_css_classes';
|
|
|
417 |
break;
|
418 |
}
|
419 |
|
420 |
+
return $option ? get_option( $option , $default ) : $default;
|
421 |
}
|
422 |
|
423 |
/**
|
Models/Affiliate_Link_Attachment.php
CHANGED
@@ -202,7 +202,9 @@ class Affiliate_Link_Attachment implements Model_Interface , Initiable_Interface
|
|
202 |
$response = array( 'status' => 'fail' , 'error_msg' => __( 'Missing required post data' , 'thirstyaffiliates' ) );
|
203 |
else {
|
204 |
|
205 |
-
|
|
|
|
|
206 |
$response = array( 'status' => 'fail' , 'error_msg' => $result->get_error_message() );
|
207 |
else
|
208 |
$response = array( 'status' => 'success' , 'success_msg' => __( 'Attachment successfully removed from attachment' , 'thirstyaffiliates' ) );
|
@@ -283,6 +285,50 @@ class Affiliate_Link_Attachment implements Model_Interface , Initiable_Interface
|
|
283 |
);
|
284 |
|
285 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
286 |
|
287 |
|
288 |
|
@@ -303,7 +349,8 @@ class Affiliate_Link_Attachment implements Model_Interface , Initiable_Interface
|
|
303 |
public function initialize() {
|
304 |
|
305 |
add_action( 'wp_ajax_ta_add_attachments_to_affiliate_link' , array( $this , 'ajax_add_attachments_to_affiliate_link' ) );
|
306 |
-
add_action( 'wp_ajax_ta_remove_attachment_to_affiliate_link' , array( $this , 'ajax_remove_attachment_to_affiliate_link' ) );
|
|
|
307 |
|
308 |
}
|
309 |
|
202 |
$response = array( 'status' => 'fail' , 'error_msg' => __( 'Missing required post data' , 'thirstyaffiliates' ) );
|
203 |
else {
|
204 |
|
205 |
+
$result = $this->remove_attachment_to_affiliate_link( $_POST[ 'attachment_id' ] , $_POST[ 'affiliate_link_id' ] );
|
206 |
+
|
207 |
+
if ( is_wp_error( $result ) )
|
208 |
$response = array( 'status' => 'fail' , 'error_msg' => $result->get_error_message() );
|
209 |
else
|
210 |
$response = array( 'status' => 'success' , 'success_msg' => __( 'Attachment successfully removed from attachment' , 'thirstyaffiliates' ) );
|
285 |
);
|
286 |
|
287 |
}
|
288 |
+
|
289 |
+
/**
|
290 |
+
* AJAX insert external image.
|
291 |
+
*
|
292 |
+
* @since 3.4.0
|
293 |
+
* @access public
|
294 |
+
*/
|
295 |
+
public function ajax_insert_external_image() {
|
296 |
+
|
297 |
+
$allowed_extensions = apply_filters( 'ta_allowed_external_image_ext' , array( 'jpg' , 'jpeg' , 'png' , 'gif' , 'svg' ) );
|
298 |
+
|
299 |
+
if ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX )
|
300 |
+
$response = array( 'status' => 'fail' , 'error_msg' => __( 'Invalid AJAX call' , 'thirstyaffiliates' ) );
|
301 |
+
elseif ( ! isset( $_POST[ 'url' ] ) || ! isset( $_POST[ 'link_id' ] ) )
|
302 |
+
$response = array( 'status' => 'fail' , 'error_msg' => __( 'Missing required post data' , 'thirstyaffiliates' ) );
|
303 |
+
elseif ( ! filter_var( $_POST[ 'url' ] , FILTER_VALIDATE_URL ) || ! in_array( pathinfo( $_POST[ 'url' ] , PATHINFO_EXTENSION ) , $allowed_extensions ) )
|
304 |
+
$response = array( 'status' => 'fail' , 'error_msg' => __( 'The external image source is not a valid url.' , 'thirstyaffiliates' ) );
|
305 |
+
else {
|
306 |
+
|
307 |
+
$img_url = esc_url_raw( $_POST[ 'url' ] );
|
308 |
+
$link_id = absint( $_POST[ 'link_id' ] );
|
309 |
+
$result = $this->add_attachments_to_affiliate_link( array( $img_url ) , $link_id );
|
310 |
+
|
311 |
+
if ( empty( $result ) )
|
312 |
+
$response = array( 'status' => 'fail' , 'error_msg' => __( 'The external image is already added.' , 'thirstyaffiliates' ) );
|
313 |
+
else {
|
314 |
+
|
315 |
+
ob_start();
|
316 |
+
include( $this->_constants->VIEWS_ROOT_PATH() . 'cpt/view-attach-images-metabox-external-image.php' );
|
317 |
+
$image_markup = ob_get_clean();
|
318 |
+
|
319 |
+
$response = array(
|
320 |
+
'status' => 'success',
|
321 |
+
'url' => $img_url,
|
322 |
+
'markup' => $image_markup
|
323 |
+
);
|
324 |
+
}
|
325 |
+
|
326 |
+
}
|
327 |
+
|
328 |
+
@header( 'Content-Type: application/json; charset=' . get_option( 'blog_charset' ) );
|
329 |
+
echo wp_json_encode( $response );
|
330 |
+
wp_die();
|
331 |
+
}
|
332 |
|
333 |
|
334 |
|
349 |
public function initialize() {
|
350 |
|
351 |
add_action( 'wp_ajax_ta_add_attachments_to_affiliate_link' , array( $this , 'ajax_add_attachments_to_affiliate_link' ) );
|
352 |
+
add_action( 'wp_ajax_ta_remove_attachment_to_affiliate_link' , array( $this , 'ajax_remove_attachment_to_affiliate_link' ) );
|
353 |
+
add_action( 'wp_ajax_ta_insert_external_image' , array( $this , 'ajax_insert_external_image' ) );
|
354 |
|
355 |
}
|
356 |
|
Models/Affiliate_Links_CPT.php
CHANGED
@@ -430,6 +430,7 @@ class Affiliate_Links_CPT implements Model_Interface , Initiable_Interface {
|
|
430 |
* Display "Attach Images" metabox
|
431 |
*
|
432 |
* @since 3.0.0
|
|
|
433 |
* @access public
|
434 |
*
|
435 |
* @param WP_Post $post Affiliate link WP_Post object.
|
@@ -445,9 +446,10 @@ class Affiliate_Links_CPT implements Model_Interface , Initiable_Interface {
|
|
445 |
}
|
446 |
|
447 |
/**
|
448 |
-
* Display
|
449 |
*
|
450 |
* @since 3.0.0
|
|
|
451 |
* @access public
|
452 |
*
|
453 |
* @param WP_Post $post Affiliate link WP_Post object.
|
@@ -455,18 +457,20 @@ class Affiliate_Links_CPT implements Model_Interface , Initiable_Interface {
|
|
455 |
public function link_options_metabox( $post ) {
|
456 |
|
457 |
$thirstylink = $this->get_thirstylink_post( $post->ID );
|
458 |
-
$default_redirect_type = get_option( 'ta_link_redirect_type' , '
|
459 |
-
$post_redirect_type = $thirstylink->get_prop( 'redirect_type'
|
460 |
$redirect_types = $this->_constants->REDIRECT_TYPES();
|
461 |
$global_no_follow = $thirstylink->get_toggle_prop_global_value( 'no_follow' );
|
462 |
$global_new_window = $thirstylink->get_toggle_prop_global_value( 'new_window' );
|
463 |
$global_pass_query_str = $thirstylink->get_toggle_prop_global_value( 'pass_query_str' );
|
464 |
$global_uncloak = $thirstylink->get_toggle_prop_global_value( 'uncloak_link' );
|
465 |
$rel_tags = get_post_meta( $post->ID , Plugin_Constants::META_DATA_PREFIX . 'rel_tags' , true );
|
|
|
466 |
$global_rel_tags = get_option( 'ta_additional_rel_tags' );
|
|
|
467 |
|
468 |
include_once( $this->_constants->VIEWS_ROOT_PATH() . 'cpt/view-link-options-metabox.php' );
|
469 |
-
|
470 |
}
|
471 |
|
472 |
/**
|
@@ -557,6 +561,7 @@ class Affiliate_Links_CPT implements Model_Interface , Initiable_Interface {
|
|
557 |
*
|
558 |
* @since 3.0.0
|
559 |
* @since 3.2.2 Make sure post name (slug) is updated.
|
|
|
560 |
* @access public
|
561 |
*
|
562 |
* @param int $post_id Affiliate link post ID.
|
@@ -578,6 +583,7 @@ class Affiliate_Links_CPT implements Model_Interface , Initiable_Interface {
|
|
578 |
$thirstylink->set_prop( 'pass_query_str' , sanitize_text_field( $_POST[ 'ta_pass_query_str' ] ) );
|
579 |
$thirstylink->set_prop( 'redirect_type' , sanitize_text_field( $_POST[ 'ta_redirect_type' ] ) );
|
580 |
$thirstylink->set_prop( 'rel_tags' , sanitize_text_field( $_POST[ 'ta_rel_tags' ] ) );
|
|
|
581 |
|
582 |
if ( isset( $_POST[ 'post_name' ] ) )
|
583 |
$thirstylink->set_prop( 'slug' , sanitize_text_field( $_POST[ 'post_name' ] ) );
|
@@ -728,6 +734,7 @@ class Affiliate_Links_CPT implements Model_Interface , Initiable_Interface {
|
|
728 |
* Add custom column to thirsty link listings (Link ID).
|
729 |
*
|
730 |
* @since 3.0.0
|
|
|
731 |
* @access public
|
732 |
*
|
733 |
* @param string $column Current column name.
|
@@ -736,9 +743,9 @@ class Affiliate_Links_CPT implements Model_Interface , Initiable_Interface {
|
|
736 |
*/
|
737 |
public function custom_post_listing_column_value( $column , $post_id ) {
|
738 |
|
739 |
-
$thirstylink
|
740 |
-
|
741 |
-
$
|
742 |
|
743 |
switch ( $column ) {
|
744 |
|
@@ -747,7 +754,8 @@ class Affiliate_Links_CPT implements Model_Interface , Initiable_Interface {
|
|
747 |
break;
|
748 |
|
749 |
case 'redirect_type' :
|
750 |
-
echo $
|
|
|
751 |
break;
|
752 |
|
753 |
case 'cloaked_url' :
|
430 |
* Display "Attach Images" metabox
|
431 |
*
|
432 |
* @since 3.0.0
|
433 |
+
* @since 3.4.0 Add support for external images.
|
434 |
* @access public
|
435 |
*
|
436 |
* @param WP_Post $post Affiliate link WP_Post object.
|
446 |
}
|
447 |
|
448 |
/**
|
449 |
+
* Display link options metabox
|
450 |
*
|
451 |
* @since 3.0.0
|
452 |
+
* @since 3.4.0 Add global option for redirect type. Add additional CSS classes field.
|
453 |
* @access public
|
454 |
*
|
455 |
* @param WP_Post $post Affiliate link WP_Post object.
|
457 |
public function link_options_metabox( $post ) {
|
458 |
|
459 |
$thirstylink = $this->get_thirstylink_post( $post->ID );
|
460 |
+
$default_redirect_type = $this->_helper_functions->get_option( 'ta_link_redirect_type' , '302' );
|
461 |
+
$post_redirect_type = $thirstylink->get_prop( 'redirect_type' );
|
462 |
$redirect_types = $this->_constants->REDIRECT_TYPES();
|
463 |
$global_no_follow = $thirstylink->get_toggle_prop_global_value( 'no_follow' );
|
464 |
$global_new_window = $thirstylink->get_toggle_prop_global_value( 'new_window' );
|
465 |
$global_pass_query_str = $thirstylink->get_toggle_prop_global_value( 'pass_query_str' );
|
466 |
$global_uncloak = $thirstylink->get_toggle_prop_global_value( 'uncloak_link' );
|
467 |
$rel_tags = get_post_meta( $post->ID , Plugin_Constants::META_DATA_PREFIX . 'rel_tags' , true );
|
468 |
+
$css_classes = get_post_meta( $post->ID , Plugin_Constants::META_DATA_PREFIX . 'css_classes' , true );
|
469 |
$global_rel_tags = get_option( 'ta_additional_rel_tags' );
|
470 |
+
$global_css_classes = get_option( 'ta_additional_css_classes' );
|
471 |
|
472 |
include_once( $this->_constants->VIEWS_ROOT_PATH() . 'cpt/view-link-options-metabox.php' );
|
473 |
+
|
474 |
}
|
475 |
|
476 |
/**
|
561 |
*
|
562 |
* @since 3.0.0
|
563 |
* @since 3.2.2 Make sure post name (slug) is updated.
|
564 |
+
* @since 3.4.0 Add css_classes to the saved properties.
|
565 |
* @access public
|
566 |
*
|
567 |
* @param int $post_id Affiliate link post ID.
|
583 |
$thirstylink->set_prop( 'pass_query_str' , sanitize_text_field( $_POST[ 'ta_pass_query_str' ] ) );
|
584 |
$thirstylink->set_prop( 'redirect_type' , sanitize_text_field( $_POST[ 'ta_redirect_type' ] ) );
|
585 |
$thirstylink->set_prop( 'rel_tags' , sanitize_text_field( $_POST[ 'ta_rel_tags' ] ) );
|
586 |
+
$thirstylink->set_prop( 'css_classes' , sanitize_text_field( $_POST[ 'ta_css_classes' ] ) );
|
587 |
|
588 |
if ( isset( $_POST[ 'post_name' ] ) )
|
589 |
$thirstylink->set_prop( 'slug' , sanitize_text_field( $_POST[ 'post_name' ] ) );
|
734 |
* Add custom column to thirsty link listings (Link ID).
|
735 |
*
|
736 |
* @since 3.0.0
|
737 |
+
* @since 3.4.0 Update display for redirect type value.
|
738 |
* @access public
|
739 |
*
|
740 |
* @param string $column Current column name.
|
743 |
*/
|
744 |
public function custom_post_listing_column_value( $column , $post_id ) {
|
745 |
|
746 |
+
$thirstylink = $this->get_thirstylink_post( $post_id );
|
747 |
+
$edit_link = get_edit_post_link( $post_id );
|
748 |
+
$redirect_type = $thirstylink->get_prop( 'redirect_type' );
|
749 |
|
750 |
switch ( $column ) {
|
751 |
|
754 |
break;
|
755 |
|
756 |
case 'redirect_type' :
|
757 |
+
echo $redirect_type;
|
758 |
+
echo $redirect_type === 'global' ? ' (' . $this->_helper_functions->get_option( 'ta_link_redirect_type' , '302' ) . ')' : '';
|
759 |
break;
|
760 |
|
761 |
case 'cloaked_url' :
|
Models/Link_Fixer.php
CHANGED
@@ -116,6 +116,7 @@ class Link_Fixer implements Model_Interface , Initiable_Interface {
|
|
116 |
* @since 3.0.0
|
117 |
* @since 3.2.4 Make sure that link fixer runs using the default language set on WPML when it is active.
|
118 |
* @since 3.3.0 Add data-nojs attribute support.
|
|
|
119 |
* @access public
|
120 |
*
|
121 |
* @global SitePress $sitepress WPML main plugin object.
|
@@ -135,9 +136,12 @@ class Link_Fixer implements Model_Interface , Initiable_Interface {
|
|
135 |
if ( is_object( $sitepress ) )
|
136 |
$sitepress->switch_lang( $sitepress->get_default_language() );
|
137 |
|
|
|
|
|
|
|
138 |
foreach( $links as $link ) {
|
139 |
|
140 |
-
$href = esc_url_raw( $link[ 'href' ] );
|
141 |
$class = isset( $link[ 'class' ] ) ? sanitize_text_field( $link[ 'class' ] ) : '';
|
142 |
$key = (int) sanitize_text_field( $link[ 'key' ] );
|
143 |
$link_id = $this->url_to_affiliate_link_id( $href );
|
@@ -151,23 +155,44 @@ class Link_Fixer implements Model_Interface , Initiable_Interface {
|
|
151 |
$class .= ( get_option( 'ta_disable_thirsty_link_class' ) !== "yes" && strpos( $class , 'thirstylink' ) === false ) ? ' thirstylink' : '';
|
152 |
$href = ( $thirstylink->is( 'uncloak_link' ) ) ? apply_filters( 'ta_uncloak_link_url' , $thirstylink->get_prop( 'destination_url' ) , $thirstylink ) : $thirstylink->get_prop( 'permalink' );
|
153 |
$rel = $thirstylink->is( 'no_follow' ) ? 'nofollow' : '';
|
154 |
-
$rel .= ' ' . $thirstylink->get_prop( 'rel_tags' );
|
155 |
$target = $thirstylink->is( 'new_window' ) ? '_blank' : '';
|
156 |
$title = get_option( 'ta_disable_title_attribute' ) != 'yes' ? esc_attr( str_replace( '"' , '' , $thirstylink->get_prop( 'name' ) ) ) : '';
|
157 |
$title = str_replace( ''' , '\'' , $title );
|
158 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
159 |
if ( $link[ 'is_image' ] )
|
160 |
$class = str_replace( 'thirstylink' , 'thirstylinkimg' , $class );
|
161 |
|
|
|
|
|
|
|
|
|
162 |
$data[] = array(
|
163 |
'key' => $key,
|
164 |
'link_id' => $link_id,
|
165 |
-
'class' => esc_attr(
|
166 |
'href' => esc_url_raw( $href ),
|
167 |
-
'rel' => esc_attr(
|
168 |
'target' => esc_attr( $target ),
|
169 |
'title' => $title,
|
170 |
-
'nojs' => apply_filters( 'ta_nojs_redirect_attribute' , false , $thirstylink )
|
|
|
171 |
);
|
172 |
}
|
173 |
|
116 |
* @since 3.0.0
|
117 |
* @since 3.2.4 Make sure that link fixer runs using the default language set on WPML when it is active.
|
118 |
* @since 3.3.0 Add data-nojs attribute support.
|
119 |
+
* @since 3.4.0 Add support for additional classes field. Remove query string on href before processing.
|
120 |
* @access public
|
121 |
*
|
122 |
* @global SitePress $sitepress WPML main plugin object.
|
136 |
if ( is_object( $sitepress ) )
|
137 |
$sitepress->switch_lang( $sitepress->get_default_language() );
|
138 |
|
139 |
+
$global_rel = get_option( 'ta_additional_rel_tags' );
|
140 |
+
$global_class = get_option( 'ta_additional_css_classes' );
|
141 |
+
|
142 |
foreach( $links as $link ) {
|
143 |
|
144 |
+
$href = strtok( esc_url_raw( $link[ 'href' ] ) , '?' );
|
145 |
$class = isset( $link[ 'class' ] ) ? sanitize_text_field( $link[ 'class' ] ) : '';
|
146 |
$key = (int) sanitize_text_field( $link[ 'key' ] );
|
147 |
$link_id = $this->url_to_affiliate_link_id( $href );
|
155 |
$class .= ( get_option( 'ta_disable_thirsty_link_class' ) !== "yes" && strpos( $class , 'thirstylink' ) === false ) ? ' thirstylink' : '';
|
156 |
$href = ( $thirstylink->is( 'uncloak_link' ) ) ? apply_filters( 'ta_uncloak_link_url' , $thirstylink->get_prop( 'destination_url' ) , $thirstylink ) : $thirstylink->get_prop( 'permalink' );
|
157 |
$rel = $thirstylink->is( 'no_follow' ) ? 'nofollow' : '';
|
|
|
158 |
$target = $thirstylink->is( 'new_window' ) ? '_blank' : '';
|
159 |
$title = get_option( 'ta_disable_title_attribute' ) != 'yes' ? esc_attr( str_replace( '"' , '' , $thirstylink->get_prop( 'name' ) ) ) : '';
|
160 |
$title = str_replace( ''' , '\'' , $title );
|
161 |
|
162 |
+
// append custom rel tags.
|
163 |
+
if ( $thirstylink->get_prop( 'rel_tags' ) )
|
164 |
+
$rel = trim( $rel . ' ' . $thirstylink->get_prop( 'rel_tags' ) );
|
165 |
+
|
166 |
+
// make sure rel attribute entries are unique
|
167 |
+
$rel_array = explode( ' ' , $rel );
|
168 |
+
$rel = implode( ' ' , array_unique( $rel_array ) );
|
169 |
+
|
170 |
+
// append custom classes.
|
171 |
+
if ( $thirstylink->get_prop( 'css_classes' ) )
|
172 |
+
$class = trim( $class . ' ' . $thirstylink->get_prop( 'css_classes' ) );
|
173 |
+
|
174 |
+
// make sure class attribute entries are unique
|
175 |
+
$class_array = explode( ' ' , $class );
|
176 |
+
$class = implode( ' ' , array_unique( $class_array ) );
|
177 |
+
|
178 |
+
// if link is image, then change default class to 'thirstylinkimg'
|
179 |
if ( $link[ 'is_image' ] )
|
180 |
$class = str_replace( 'thirstylink' , 'thirstylinkimg' , $class );
|
181 |
|
182 |
+
// if thirstylink class is not the same with global class, then we remove global class.
|
183 |
+
if ( $thirstylink->get_prop( 'css_classes' ) != $global_class )
|
184 |
+
$class = str_replace( $global_class , '' , $class ) ;
|
185 |
+
|
186 |
$data[] = array(
|
187 |
'key' => $key,
|
188 |
'link_id' => $link_id,
|
189 |
+
'class' => trim( esc_attr( preg_replace( '!\s+!' , ' ', $class ) ) ),
|
190 |
'href' => esc_url_raw( $href ),
|
191 |
+
'rel' => trim( esc_attr( preg_replace( '!\s+!' , ' ', $rel ) ) ),
|
192 |
'target' => esc_attr( $target ),
|
193 |
'title' => $title,
|
194 |
+
'nojs' => apply_filters( 'ta_nojs_redirect_attribute' , false , $thirstylink ),
|
195 |
+
'pass_qs' => $thirstylink->is( 'pass_query_str' )
|
196 |
);
|
197 |
}
|
198 |
|
Models/Link_Picker.php
CHANGED
@@ -5,6 +5,7 @@ namespace ThirstyAffiliates\Models;
|
|
5 |
use ThirstyAffiliates\Abstracts\Abstract_Main_Plugin_Class;
|
6 |
|
7 |
use ThirstyAffiliates\Interfaces\Model_Interface;
|
|
|
8 |
|
9 |
use ThirstyAffiliates\Helpers\Plugin_Constants;
|
10 |
use ThirstyAffiliates\Helpers\Helper_Functions;
|
@@ -16,7 +17,7 @@ use ThirstyAffiliates\Models\Affiliate_Link;
|
|
16 |
*
|
17 |
* @since 3.0.0
|
18 |
*/
|
19 |
-
class Link_Picker implements Model_Interface {
|
20 |
|
21 |
/*
|
22 |
|--------------------------------------------------------------------------
|
@@ -125,7 +126,7 @@ class Link_Picker implements Model_Interface {
|
|
125 |
public function init_thirsty_editor_buttons() {
|
126 |
|
127 |
if ( ! is_admin() || ! current_user_can( 'edit_posts' ) )
|
128 |
-
|
129 |
|
130 |
if ( get_option( 'ta_disable_visual_editor_buttons' ) == 'yes' || get_user_option( 'rich_editing' ) != 'true' )
|
131 |
return;
|
@@ -135,6 +136,24 @@ class Link_Picker implements Model_Interface {
|
|
135 |
|
136 |
}
|
137 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
/**
|
139 |
* Load Thirsty Affiliate MCE plugin to TinyMCE.
|
140 |
*
|
@@ -155,6 +174,7 @@ class Link_Picker implements Model_Interface {
|
|
155 |
* Register Thirsty Affiliate MCE buttons.
|
156 |
*
|
157 |
* @since 3.0.0
|
|
|
158 |
* @access public
|
159 |
*
|
160 |
* @param array $buttons Array of all MCE buttons.
|
@@ -162,15 +182,44 @@ class Link_Picker implements Model_Interface {
|
|
162 |
*/
|
163 |
public function register_mce_buttons( $buttons ) {
|
164 |
|
|
|
|
|
|
|
|
|
165 |
$enable_link_picker = current_user_can( apply_filters( 'ta_enable_advance_link_picker' , 'edit_posts' ) );
|
166 |
$enable_quick_add = current_user_can( apply_filters( 'ta_enable_quick_add_affiliate_link' , 'publish_posts' ) );
|
167 |
|
168 |
if ( $enable_link_picker ) array_push( $buttons , 'separator' , 'thirstyaffiliates_button' );
|
169 |
-
|
170 |
|
171 |
return $buttons;
|
172 |
}
|
173 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
174 |
|
175 |
|
176 |
|
@@ -184,6 +233,7 @@ class Link_Picker implements Model_Interface {
|
|
184 |
* Return
|
185 |
*
|
186 |
* @since 3.0.0
|
|
|
187 |
* @access public
|
188 |
*
|
189 |
* @param array $affiliate_links List of affiliate link IDs.
|
@@ -200,12 +250,16 @@ class Link_Picker implements Model_Interface {
|
|
200 |
|
201 |
$thirstylink = new Affiliate_Link( $link_id );
|
202 |
$rel = $thirstylink->is( 'no_follow' ) ? 'nofollow' : '';
|
203 |
-
$rel .= ' ' . $thirstylink->get_prop( 'rel_tags' );
|
204 |
$target = $thirstylink->is( 'new_window' ) ? '_blank' : '';
|
205 |
$class = ( get_option( 'ta_disable_thirsty_link_class' ) !== "yes" ) ? 'thirstylink' : '';
|
206 |
$title = ( get_option( 'ta_disable_title_attribute' ) !== "yes" ) ? $thirstylink->get_prop( 'name' ) : '';
|
207 |
$other_atts = esc_attr( json_encode( apply_filters( 'ta_link_insert_extend_data_attributes' , array() , $thirstylink , $post_id ) ) );
|
208 |
|
|
|
|
|
|
|
|
|
|
|
209 |
|
210 |
if ( $advance ) {
|
211 |
|
@@ -217,8 +271,14 @@ class Link_Picker implements Model_Interface {
|
|
217 |
$images_markup .= '<span class="label">' . __( 'Select image:' , 'thirstyaffiliates' ) . '</span>';
|
218 |
$images_markup .= '<span class="images">';
|
219 |
|
220 |
-
foreach( $images as $image )
|
221 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
222 |
|
223 |
$images_markup .= '</span>';
|
224 |
} else {
|
@@ -271,6 +331,7 @@ class Link_Picker implements Model_Interface {
|
|
271 |
* Search Affiliate Links Query AJAX function
|
272 |
*
|
273 |
* @since 3.0.0
|
|
|
274 |
* @access public
|
275 |
*/
|
276 |
public function ajax_search_affiliate_links_query() {
|
@@ -282,8 +343,9 @@ class Link_Picker implements Model_Interface {
|
|
282 |
else {
|
283 |
|
284 |
$paged = ( isset( $_POST[ 'paged' ] ) && $_POST[ 'paged' ] ) ? $_POST[ 'paged' ] : 1;
|
|
|
285 |
$exclude = ( isset( $_POST[ 'exclude' ] ) && is_array( $_POST[ 'exclude' ] ) && ! empty( $_POST[ 'exclude' ] ) ) ? $_POST[ 'exclude' ] : array();
|
286 |
-
$affiliate_links = $this->_helper_functions->search_affiliate_links_query( $_POST[ 'keyword' ] , $paged ,
|
287 |
$advance = ( isset( $_POST[ 'advance' ] ) && $_POST[ 'advance' ] ) ? true : false;
|
288 |
$post_id = isset( $_POST[ 'post_id' ] ) ? intval( $_POST[ 'post_id' ] ) : 0;
|
289 |
$result_markup = $this->search_affiliate_links_result_markup( $affiliate_links , $advance , $post_id );
|
@@ -300,6 +362,7 @@ class Link_Picker implements Model_Interface {
|
|
300 |
* AJAX function to display the advance add affiliate link thickbox content.
|
301 |
*
|
302 |
* @since 3.0.0
|
|
|
303 |
* @access public
|
304 |
*/
|
305 |
public function ajax_display_advanced_add_affiliate_link() {
|
@@ -313,12 +376,15 @@ class Link_Picker implements Model_Interface {
|
|
313 |
$html_editor = isset( $_REQUEST[ 'html_editor' ] ) ? sanitize_text_field( $_REQUEST[ 'html_editor' ] ) : false;
|
314 |
|
315 |
wp_enqueue_script('editor');
|
|
|
316 |
wp_dequeue_script('jquery-ui-sortable');
|
317 |
wp_dequeue_script('admin-scripts');
|
318 |
wp_enqueue_style( 'jquery_tiptip' , $this->_constants->CSS_ROOT_URL() . 'lib/jquery-tiptip/jquery-tiptip.css' , array() , $this->_constants->VERSION() , 'all' );
|
319 |
wp_enqueue_style( 'ta_advance_link_picker_css' , $this->_constants->JS_ROOT_URL() . 'app/advance_link_picker/dist/advance-link-picker.css' , array( 'dashicons' ) , $this->_constants->VERSION() , 'all' );
|
|
|
320 |
wp_enqueue_script( 'jquery_tiptip' , $this->_constants->JS_ROOT_URL() . 'lib/jquery-tiptip/jquery.tipTip.min.js' , array() , $this->_constants->VERSION() );
|
321 |
wp_enqueue_script( 'ta_advance_link_picker_js' , $this->_constants->JS_ROOT_URL() . 'app/advance_link_picker/dist/advance-link-picker.js' , array( 'jquery_tiptip' ) , $this->_constants->VERSION() );
|
|
|
322 |
|
323 |
include( $this->_constants->VIEWS_ROOT_PATH() . 'linkpicker/advance-link-picker.php' );
|
324 |
|
@@ -329,6 +395,7 @@ class Link_Picker implements Model_Interface {
|
|
329 |
* Get image markup by ID.
|
330 |
*
|
331 |
* @since 3.0.0
|
|
|
332 |
* @access public
|
333 |
*/
|
334 |
public function ajax_get_image_markup_by_id() {
|
@@ -339,8 +406,16 @@ class Link_Picker implements Model_Interface {
|
|
339 |
$response = array( 'status' => 'fail' , 'error_msg' => __( 'Missing required post data' , 'thirstyaffiliates' ) );
|
340 |
else {
|
341 |
|
342 |
-
|
343 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
344 |
|
345 |
$response = array( 'status' => 'success' , 'image_markup' => $image_markup );
|
346 |
}
|
@@ -364,6 +439,7 @@ class Link_Picker implements Model_Interface {
|
|
364 |
* Display the quick add affiliate link content on the thickbox popup.
|
365 |
*
|
366 |
* @since 3.0.0
|
|
|
367 |
* @access public
|
368 |
*/
|
369 |
public function ajax_display_quick_add_affiliate_link_thickbox() {
|
@@ -462,11 +538,16 @@ class Link_Picker implements Model_Interface {
|
|
462 |
$thirstylink = $this->process_quick_add_affiliate_link();
|
463 |
$post_id = isset( $_POST[ 'post_id' ] ) ? intval( sanitize_text_field( $_POST[ 'post_id' ] ) ) : 0;
|
464 |
$rel = $thirstylink->is( 'no_follow' ) ? 'nofollow' : '';
|
465 |
-
$rel .= ' ' . $thirstylink->get_prop( 'rel_tags' );
|
466 |
$target = $thirstylink->is( 'new_window' ) ? '_blank' : '';
|
467 |
$class = ( get_option( 'ta_disable_thirsty_link_class' ) !== "yes" ) ? 'thirstylink' : '';
|
468 |
$title = ( get_option( 'ta_disable_title_attribute' ) !== "yes" ) ? $thirstylink->get_prop( 'name' ) : '';
|
469 |
|
|
|
|
|
|
|
|
|
|
|
|
|
470 |
$response = array(
|
471 |
'status' => 'success',
|
472 |
'link_id' => $thirstylink->get_id(),
|
@@ -487,16 +568,63 @@ class Link_Picker implements Model_Interface {
|
|
487 |
wp_die();
|
488 |
}
|
489 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
490 |
/**
|
491 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
492 |
*
|
493 |
* @since 3.0.0
|
494 |
* @access public
|
|
|
495 |
*/
|
496 |
-
public function
|
497 |
|
498 |
-
// TinyMCE buttons
|
499 |
-
|
|
|
500 |
|
501 |
// Advanced Link Picker hooks
|
502 |
add_action( 'wp_ajax_search_affiliate_links_query' , array( $this , 'ajax_search_affiliate_links_query' ) );
|
@@ -507,5 +635,24 @@ class Link_Picker implements Model_Interface {
|
|
507 |
add_action( 'wp_ajax_ta_quick_add_affiliate_link_thickbox' , array( $this , 'ajax_display_quick_add_affiliate_link_thickbox' ) );
|
508 |
add_action( 'wp_ajax_ta_process_quick_add_affiliate_link' , array( $this , 'ajax_process_quick_add_affiliate_link' ) );
|
509 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
510 |
}
|
511 |
}
|
5 |
use ThirstyAffiliates\Abstracts\Abstract_Main_Plugin_Class;
|
6 |
|
7 |
use ThirstyAffiliates\Interfaces\Model_Interface;
|
8 |
+
use ThirstyAffiliates\Interfaces\Initiable_Interface;
|
9 |
|
10 |
use ThirstyAffiliates\Helpers\Plugin_Constants;
|
11 |
use ThirstyAffiliates\Helpers\Helper_Functions;
|
17 |
*
|
18 |
* @since 3.0.0
|
19 |
*/
|
20 |
+
class Link_Picker implements Model_Interface , Initiable_Interface {
|
21 |
|
22 |
/*
|
23 |
|--------------------------------------------------------------------------
|
126 |
public function init_thirsty_editor_buttons() {
|
127 |
|
128 |
if ( ! is_admin() || ! current_user_can( 'edit_posts' ) )
|
129 |
+
return;
|
130 |
|
131 |
if ( get_option( 'ta_disable_visual_editor_buttons' ) == 'yes' || get_user_option( 'rich_editing' ) != 'true' )
|
132 |
return;
|
136 |
|
137 |
}
|
138 |
|
139 |
+
/**
|
140 |
+
* Initialize thirsty editor buttons on page builders.
|
141 |
+
*
|
142 |
+
* @since 3.4.0
|
143 |
+
* @access public
|
144 |
+
*/
|
145 |
+
public function init_thirsty_editor_buttons_for_page_builders() {
|
146 |
+
|
147 |
+
if ( get_option( 'ta_disable_visual_editor_buttons' ) == 'yes' || get_user_option( 'rich_editing' ) != 'true' )
|
148 |
+
return;
|
149 |
+
|
150 |
+
if ( ! $this->_helper_functions->is_page_builder_active() || ! current_user_can( 'edit_posts' ) )
|
151 |
+
return;
|
152 |
+
|
153 |
+
add_filter( 'mce_external_plugins' , array( $this , 'load_thirsty_mce_plugin' ) , 99999 );
|
154 |
+
add_filter( 'mce_buttons' , array( $this , 'register_mce_buttons' ) , 99 );
|
155 |
+
}
|
156 |
+
|
157 |
/**
|
158 |
* Load Thirsty Affiliate MCE plugin to TinyMCE.
|
159 |
*
|
174 |
* Register Thirsty Affiliate MCE buttons.
|
175 |
*
|
176 |
* @since 3.0.0
|
177 |
+
* @since 3.4.0 Make sure only one instance of the buttons are loaded.
|
178 |
* @access public
|
179 |
*
|
180 |
* @param array $buttons Array of all MCE buttons.
|
182 |
*/
|
183 |
public function register_mce_buttons( $buttons ) {
|
184 |
|
185 |
+
// if buttons are already present, then skip to prevent duplicate.
|
186 |
+
if ( in_array( 'thirstyaffiliates_button' , $buttons ) )
|
187 |
+
return $buttons;
|
188 |
+
|
189 |
$enable_link_picker = current_user_can( apply_filters( 'ta_enable_advance_link_picker' , 'edit_posts' ) );
|
190 |
$enable_quick_add = current_user_can( apply_filters( 'ta_enable_quick_add_affiliate_link' , 'publish_posts' ) );
|
191 |
|
192 |
if ( $enable_link_picker ) array_push( $buttons , 'separator' , 'thirstyaffiliates_button' );
|
193 |
+
if ( $enable_quick_add ) array_push( $buttons , 'separator' , 'thirstyaffiliates_quickaddlink_button' );
|
194 |
|
195 |
return $buttons;
|
196 |
}
|
197 |
|
198 |
+
/**
|
199 |
+
* Register WP Editor style.
|
200 |
+
*
|
201 |
+
* @since 3.4.0
|
202 |
+
* @access public
|
203 |
+
*/
|
204 |
+
public function register_wp_editor_style() {
|
205 |
+
|
206 |
+
add_editor_style( $this->_constants->CSS_ROOT_URL() . 'admin/tinymce/editor.css' );
|
207 |
+
}
|
208 |
+
|
209 |
+
/**
|
210 |
+
* Register WP Editor style via mce_css filter (for frontend editors).
|
211 |
+
*
|
212 |
+
* @since 3.4.0
|
213 |
+
* @access public
|
214 |
+
*/
|
215 |
+
public function register_wp_editor_style_mce_css( $mce_css ) {
|
216 |
+
|
217 |
+
if ( ! empty( $mce_css ) ) $mce_css .= ',';
|
218 |
+
$mce_css .= $this->_constants->CSS_ROOT_URL() . 'admin/tinymce/editor.css';
|
219 |
+
|
220 |
+
return $mce_css;
|
221 |
+
}
|
222 |
+
|
223 |
|
224 |
|
225 |
|
233 |
* Return
|
234 |
*
|
235 |
* @since 3.0.0
|
236 |
+
* @since 3.4.0 Add support for additional CSS classes field. Add support for external images.
|
237 |
* @access public
|
238 |
*
|
239 |
* @param array $affiliate_links List of affiliate link IDs.
|
250 |
|
251 |
$thirstylink = new Affiliate_Link( $link_id );
|
252 |
$rel = $thirstylink->is( 'no_follow' ) ? 'nofollow' : '';
|
|
|
253 |
$target = $thirstylink->is( 'new_window' ) ? '_blank' : '';
|
254 |
$class = ( get_option( 'ta_disable_thirsty_link_class' ) !== "yes" ) ? 'thirstylink' : '';
|
255 |
$title = ( get_option( 'ta_disable_title_attribute' ) !== "yes" ) ? $thirstylink->get_prop( 'name' ) : '';
|
256 |
$other_atts = esc_attr( json_encode( apply_filters( 'ta_link_insert_extend_data_attributes' , array() , $thirstylink , $post_id ) ) );
|
257 |
|
258 |
+
if ( $thirstylink->get_prop( 'rel_tags' ) )
|
259 |
+
$rel = trim( $rel . ' ' . $thirstylink->get_prop( 'rel_tags' ) );
|
260 |
+
|
261 |
+
if ( $thirstylink->get_prop( 'css_classes' ) )
|
262 |
+
$class = trim( $class . ' ' . $thirstylink->get_prop( 'css_classes' ) );
|
263 |
|
264 |
if ( $advance ) {
|
265 |
|
271 |
$images_markup .= '<span class="label">' . __( 'Select image:' , 'thirstyaffiliates' ) . '</span>';
|
272 |
$images_markup .= '<span class="images">';
|
273 |
|
274 |
+
foreach( $images as $image ) {
|
275 |
+
|
276 |
+
if ( filter_var( $image , FILTER_VALIDATE_URL ) )
|
277 |
+
$images_markup .= '<span class="image"><img src="'. $image .'" width="75" height="75" data-imgid="' . $image . '" data-type="image"></span>';
|
278 |
+
else
|
279 |
+
$images_markup .= '<span class="image">' . wp_get_attachment_image( $image , array( 75 , 75 ) , false , array( 'data-imgid' => $image , 'data-type' => 'image' ) ) . '</span>';
|
280 |
+
|
281 |
+
}
|
282 |
|
283 |
$images_markup .= '</span>';
|
284 |
} else {
|
331 |
* Search Affiliate Links Query AJAX function
|
332 |
*
|
333 |
* @since 3.0.0
|
334 |
+
* @since 3.4.0 Add support for category in the search query.
|
335 |
* @access public
|
336 |
*/
|
337 |
public function ajax_search_affiliate_links_query() {
|
343 |
else {
|
344 |
|
345 |
$paged = ( isset( $_POST[ 'paged' ] ) && $_POST[ 'paged' ] ) ? $_POST[ 'paged' ] : 1;
|
346 |
+
$category = ( isset( $_POST[ 'category' ] ) && $_POST[ 'category' ] ) ? esc_attr( $_POST[ 'category' ] ) : '';
|
347 |
$exclude = ( isset( $_POST[ 'exclude' ] ) && is_array( $_POST[ 'exclude' ] ) && ! empty( $_POST[ 'exclude' ] ) ) ? $_POST[ 'exclude' ] : array();
|
348 |
+
$affiliate_links = $this->_helper_functions->search_affiliate_links_query( $_POST[ 'keyword' ] , $paged , $category , $exclude );
|
349 |
$advance = ( isset( $_POST[ 'advance' ] ) && $_POST[ 'advance' ] ) ? true : false;
|
350 |
$post_id = isset( $_POST[ 'post_id' ] ) ? intval( $_POST[ 'post_id' ] ) : 0;
|
351 |
$result_markup = $this->search_affiliate_links_result_markup( $affiliate_links , $advance , $post_id );
|
362 |
* AJAX function to display the advance add affiliate link thickbox content.
|
363 |
*
|
364 |
* @since 3.0.0
|
365 |
+
* @since 3.4.0 Add category field (selectized) in the search form.
|
366 |
* @access public
|
367 |
*/
|
368 |
public function ajax_display_advanced_add_affiliate_link() {
|
376 |
$html_editor = isset( $_REQUEST[ 'html_editor' ] ) ? sanitize_text_field( $_REQUEST[ 'html_editor' ] ) : false;
|
377 |
|
378 |
wp_enqueue_script('editor');
|
379 |
+
wp_dequeue_script('jquery-ui-core');
|
380 |
wp_dequeue_script('jquery-ui-sortable');
|
381 |
wp_dequeue_script('admin-scripts');
|
382 |
wp_enqueue_style( 'jquery_tiptip' , $this->_constants->CSS_ROOT_URL() . 'lib/jquery-tiptip/jquery-tiptip.css' , array() , $this->_constants->VERSION() , 'all' );
|
383 |
wp_enqueue_style( 'ta_advance_link_picker_css' , $this->_constants->JS_ROOT_URL() . 'app/advance_link_picker/dist/advance-link-picker.css' , array( 'dashicons' ) , $this->_constants->VERSION() , 'all' );
|
384 |
+
wp_enqueue_style( 'selectize' , $this->_constants->JS_ROOT_URL() . 'lib/selectize/selectize.default.css' , array() , Plugin_Constants::VERSION , 'all' );
|
385 |
wp_enqueue_script( 'jquery_tiptip' , $this->_constants->JS_ROOT_URL() . 'lib/jquery-tiptip/jquery.tipTip.min.js' , array() , $this->_constants->VERSION() );
|
386 |
wp_enqueue_script( 'ta_advance_link_picker_js' , $this->_constants->JS_ROOT_URL() . 'app/advance_link_picker/dist/advance-link-picker.js' , array( 'jquery_tiptip' ) , $this->_constants->VERSION() );
|
387 |
+
wp_enqueue_script( 'selectize' , $this->_constants->JS_ROOT_URL() . 'lib/selectize/selectize.min.js' , array() , Plugin_Constants::VERSION );
|
388 |
|
389 |
include( $this->_constants->VIEWS_ROOT_PATH() . 'linkpicker/advance-link-picker.php' );
|
390 |
|
395 |
* Get image markup by ID.
|
396 |
*
|
397 |
* @since 3.0.0
|
398 |
+
* @since 3.4.0 Add support for external images.
|
399 |
* @access public
|
400 |
*/
|
401 |
public function ajax_get_image_markup_by_id() {
|
406 |
$response = array( 'status' => 'fail' , 'error_msg' => __( 'Missing required post data' , 'thirstyaffiliates' ) );
|
407 |
else {
|
408 |
|
409 |
+
if ( filter_var( $_REQUEST[ 'imgid' ] , FILTER_VALIDATE_URL ) ) {
|
410 |
+
|
411 |
+
$image_url = esc_url( $_REQUEST[ 'imgid' ] );
|
412 |
+
$image_markup = '<img src="' . $image_url . '">';
|
413 |
+
|
414 |
+
} else {
|
415 |
+
|
416 |
+
$image_id = (int) sanitize_text_field( $_REQUEST[ 'imgid' ] );
|
417 |
+
$image_markup = wp_get_attachment_image( $image_id , 'full' );
|
418 |
+
}
|
419 |
|
420 |
$response = array( 'status' => 'success' , 'image_markup' => $image_markup );
|
421 |
}
|
439 |
* Display the quick add affiliate link content on the thickbox popup.
|
440 |
*
|
441 |
* @since 3.0.0
|
442 |
+
* @since 3.4.0 Add global option for redirect type.
|
443 |
* @access public
|
444 |
*/
|
445 |
public function ajax_display_quick_add_affiliate_link_thickbox() {
|
538 |
$thirstylink = $this->process_quick_add_affiliate_link();
|
539 |
$post_id = isset( $_POST[ 'post_id' ] ) ? intval( sanitize_text_field( $_POST[ 'post_id' ] ) ) : 0;
|
540 |
$rel = $thirstylink->is( 'no_follow' ) ? 'nofollow' : '';
|
|
|
541 |
$target = $thirstylink->is( 'new_window' ) ? '_blank' : '';
|
542 |
$class = ( get_option( 'ta_disable_thirsty_link_class' ) !== "yes" ) ? 'thirstylink' : '';
|
543 |
$title = ( get_option( 'ta_disable_title_attribute' ) !== "yes" ) ? $thirstylink->get_prop( 'name' ) : '';
|
544 |
|
545 |
+
if ( $thirstylink->get_prop( 'rel_tags' ) )
|
546 |
+
$rel = trim( $rel . ' ' . $thirstylink->get_prop( 'rel_tags' ) );
|
547 |
+
|
548 |
+
if ( $thirstylink->get_prop( 'css_classes' ) )
|
549 |
+
$class = trim( $class . ' ' . $thirstylink->get_prop( 'css_classes' ) );
|
550 |
+
|
551 |
$response = array(
|
552 |
'status' => 'success',
|
553 |
'link_id' => $thirstylink->get_id(),
|
568 |
wp_die();
|
569 |
}
|
570 |
|
571 |
+
|
572 |
+
|
573 |
+
/*
|
574 |
+
|--------------------------------------------------------------------------
|
575 |
+
| Shortcode editor modal interface
|
576 |
+
|--------------------------------------------------------------------------
|
577 |
+
*/
|
578 |
+
|
579 |
/**
|
580 |
+
* AJAX display shortcode editor form.
|
581 |
+
*
|
582 |
+
* @since 3.4.0
|
583 |
+
* @access public
|
584 |
+
*/
|
585 |
+
public function ajax_display_shortcode_editor_form() {
|
586 |
+
|
587 |
+
if ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX || ! current_user_can( apply_filters( 'ta_edit_affiliate_link_shortcode' , 'publish_posts' ) ) )
|
588 |
+
wp_die( "You're not allowed to do this." );
|
589 |
+
|
590 |
+
$post_id = isset( $_REQUEST[ 'post_id' ] ) ? intval( $_REQUEST[ 'post_id' ] ) : 0;
|
591 |
+
|
592 |
+
wp_enqueue_style( 'edit-shortcode' , $this->_constants->JS_ROOT_URL() . 'app/edit_shortcode/dist/edit-shortcode.css' , array( 'dashicons' ) , $this->_constants->VERSION() , 'all' );
|
593 |
+
wp_enqueue_style( 'selectize' , $this->_constants->JS_ROOT_URL() . 'lib/selectize/selectize.default.css' , array() , Plugin_Constants::VERSION , 'all' );
|
594 |
+
|
595 |
+
wp_enqueue_script('editor');
|
596 |
+
wp_dequeue_script('jquery-ui-core');
|
597 |
+
wp_dequeue_script('jquery-ui-sortable');
|
598 |
+
wp_dequeue_script('admin-scripts');
|
599 |
+
wp_enqueue_script( 'edit-shortcode' , $this->_constants->JS_ROOT_URL() . 'app/edit_shortcode/dist/edit-shortcode.js' , array() , $this->_constants->VERSION() );
|
600 |
+
wp_enqueue_script( 'selectize', $this->_constants->JS_ROOT_URL() . 'lib/selectize/selectize.min.js' , array( 'jquery' , 'jquery-ui-core' , 'jquery-ui-sortable' ) , Plugin_Constants::VERSION );
|
601 |
+
|
602 |
+
include( $this->_constants->VIEWS_ROOT_PATH() . 'linkpicker/edit-shortcode.php' );
|
603 |
+
|
604 |
+
wp_die();
|
605 |
+
}
|
606 |
+
|
607 |
+
|
608 |
+
|
609 |
+
|
610 |
+
/*
|
611 |
+
|--------------------------------------------------------------------------
|
612 |
+
| Fulfill implemented interface contracts
|
613 |
+
|--------------------------------------------------------------------------
|
614 |
+
*/
|
615 |
+
|
616 |
+
/**
|
617 |
+
* Method that houses codes to be executed on init hook.
|
618 |
*
|
619 |
* @since 3.0.0
|
620 |
* @access public
|
621 |
+
* @inherit ThirstyAffiliates\Interfaces\Initiable_Interface
|
622 |
*/
|
623 |
+
public function initialize() {
|
624 |
|
625 |
+
// // TinyMCE buttons
|
626 |
+
$this->init_thirsty_editor_buttons();
|
627 |
+
$this->init_thirsty_editor_buttons_for_page_builders();
|
628 |
|
629 |
// Advanced Link Picker hooks
|
630 |
add_action( 'wp_ajax_search_affiliate_links_query' , array( $this , 'ajax_search_affiliate_links_query' ) );
|
635 |
add_action( 'wp_ajax_ta_quick_add_affiliate_link_thickbox' , array( $this , 'ajax_display_quick_add_affiliate_link_thickbox' ) );
|
636 |
add_action( 'wp_ajax_ta_process_quick_add_affiliate_link' , array( $this , 'ajax_process_quick_add_affiliate_link' ) );
|
637 |
|
638 |
+
// edit shortcode
|
639 |
+
add_action( 'wp_ajax_ta_edit_affiliate_link_shortcode' , array( $this , 'ajax_display_shortcode_editor_form' ) );
|
640 |
+
|
641 |
+
}
|
642 |
+
|
643 |
+
/**
|
644 |
+
* Execute link picker.
|
645 |
+
*
|
646 |
+
* @since 3.0.0
|
647 |
+
* @access public
|
648 |
+
*/
|
649 |
+
public function run() {
|
650 |
+
|
651 |
+
// TinyMCE buttons
|
652 |
+
add_action( 'wp' , array( $this , 'init_thirsty_editor_buttons_for_page_builders' ) );
|
653 |
+
|
654 |
+
// WP editor style
|
655 |
+
add_action( 'admin_init' , array( $this , 'register_wp_editor_style' ) );
|
656 |
+
add_filter( 'mce_css' , array( $this , 'register_wp_editor_style_mce_css' ) );
|
657 |
}
|
658 |
}
|
Models/REST_API.php
CHANGED
@@ -78,7 +78,7 @@ class REST_API implements Model_Interface {
|
|
78 |
private $_ta_fields = array(
|
79 |
'destination_url' => '',
|
80 |
'rel_tags' => '',
|
81 |
-
'redirect_type' => '
|
82 |
'no_follow' => 'global',
|
83 |
'new_window' => 'global',
|
84 |
'uncloak_link' => 'global',
|
@@ -299,6 +299,7 @@ class REST_API implements Model_Interface {
|
|
299 |
* Sanitize special TA fields.
|
300 |
*
|
301 |
* @since 3.1.0
|
|
|
302 |
* @access public
|
303 |
*
|
304 |
* @param mixed $sanitized_value Value after sanitized. Defaults to boolean false.
|
@@ -320,7 +321,7 @@ class REST_API implements Model_Interface {
|
|
320 |
if ( in_array( $meta_key , $toggle_fields ) )
|
321 |
$allowed_values = array( 'global' , 'yes' , 'no' );
|
322 |
elseif( $meta_key == 'redirect_type' )
|
323 |
-
$allowed_values = array( '301' , '302' , '307' );
|
324 |
|
325 |
if ( isset( $allowed_values ) && is_array( $allowed_values ) )
|
326 |
$sanitized_value = in_array( $field_value , $allowed_values ) ? sanitize_text_field( $field_value ) : $default_value;
|
78 |
private $_ta_fields = array(
|
79 |
'destination_url' => '',
|
80 |
'rel_tags' => '',
|
81 |
+
'redirect_type' => 'global',
|
82 |
'no_follow' => 'global',
|
83 |
'new_window' => 'global',
|
84 |
'uncloak_link' => 'global',
|
299 |
* Sanitize special TA fields.
|
300 |
*
|
301 |
* @since 3.1.0
|
302 |
+
* @since 3.4.0 Allow global value for redirect type.
|
303 |
* @access public
|
304 |
*
|
305 |
* @param mixed $sanitized_value Value after sanitized. Defaults to boolean false.
|
321 |
if ( in_array( $meta_key , $toggle_fields ) )
|
322 |
$allowed_values = array( 'global' , 'yes' , 'no' );
|
323 |
elseif( $meta_key == 'redirect_type' )
|
324 |
+
$allowed_values = array( 'global' , '301' , '302' , '307' );
|
325 |
|
326 |
if ( isset( $allowed_values ) && is_array( $allowed_values ) )
|
327 |
$sanitized_value = in_array( $field_value , $allowed_values ) ? sanitize_text_field( $field_value ) : $default_value;
|
Models/Rewrites_Redirection.php
CHANGED
@@ -230,10 +230,10 @@ class Rewrites_Redirection implements Model_Interface , Deactivatable_Interface
|
|
230 |
|
231 |
$thirstylink = $this->get_thirstylink_post( $post->ID );
|
232 |
$redirect_url = html_entity_decode( $thirstylink->get_prop( 'destination_url' ) );
|
233 |
-
$redirect_type = $thirstylink->
|
234 |
|
235 |
// Apply any filters to the url and redirect type before redirecting
|
236 |
-
$redirect_url = apply_filters( 'ta_filter_redirect_url' , $redirect_url , $thirstylink );
|
237 |
$redirect_type = apply_filters( 'ta_filter_redirect_type' , $redirect_type , $thirstylink );
|
238 |
|
239 |
// if cloaked url is invalid, then don't redirect.
|
@@ -288,13 +288,18 @@ class Rewrites_Redirection implements Model_Interface , Deactivatable_Interface
|
|
288 |
* Pass query strings to destination url when option is enabled on settings.
|
289 |
*
|
290 |
* @since 3.0.0
|
|
|
291 |
* @access public
|
292 |
*
|
293 |
-
* @param string
|
|
|
|
|
|
|
294 |
*/
|
295 |
-
public function pass_query_string_to_destination_url( $redirect_url , $thirstylink ) {
|
296 |
|
297 |
-
$query_string
|
|
|
298 |
|
299 |
if ( ! $query_string || ! $thirstylink->is( 'pass_query_str' ) )
|
300 |
return $redirect_url;
|
@@ -422,7 +427,7 @@ class Rewrites_Redirection implements Model_Interface , Deactivatable_Interface
|
|
422 |
add_action( 'template_redirect' , array( $this , 'redirect_url' ) , 1 );
|
423 |
|
424 |
// filter redirect url before redirecting
|
425 |
-
add_filter( 'ta_filter_redirect_url' , array( $this , 'pass_query_string_to_destination_url' ) , 10 ,
|
426 |
|
427 |
// block bots on redirect (for non-apache servers).
|
428 |
if ( get_option( 'ta_enable_bot_crawl_blocker_script' ) == 'yes' )
|
230 |
|
231 |
$thirstylink = $this->get_thirstylink_post( $post->ID );
|
232 |
$redirect_url = html_entity_decode( $thirstylink->get_prop( 'destination_url' ) );
|
233 |
+
$redirect_type = $thirstylink->get_redirect_type();
|
234 |
|
235 |
// Apply any filters to the url and redirect type before redirecting
|
236 |
+
$redirect_url = apply_filters( 'ta_filter_redirect_url' , $redirect_url , $thirstylink , '' );
|
237 |
$redirect_type = apply_filters( 'ta_filter_redirect_type' , $redirect_type , $thirstylink );
|
238 |
|
239 |
// if cloaked url is invalid, then don't redirect.
|
288 |
* Pass query strings to destination url when option is enabled on settings.
|
289 |
*
|
290 |
* @since 3.0.0
|
291 |
+
* @since 3.4.0 Add query string as a parameter to support enhanced JS redirect.
|
292 |
* @access public
|
293 |
*
|
294 |
+
* @param string $redirect_url Affiliate link destination url.
|
295 |
+
* @param Affiliate_Link $thirstylink Affiliate link object.
|
296 |
+
* @param string $query_string Query string.
|
297 |
+
* @return string Redirect url with query string or not.
|
298 |
*/
|
299 |
+
public function pass_query_string_to_destination_url( $redirect_url , $thirstylink , $query_string = '' ) {
|
300 |
|
301 |
+
if ( ! $query_string && isset( $_SERVER[ 'QUERY_STRING' ] ) )
|
302 |
+
$query_string = $_SERVER[ 'QUERY_STRING' ];
|
303 |
|
304 |
if ( ! $query_string || ! $thirstylink->is( 'pass_query_str' ) )
|
305 |
return $redirect_url;
|
427 |
add_action( 'template_redirect' , array( $this , 'redirect_url' ) , 1 );
|
428 |
|
429 |
// filter redirect url before redirecting
|
430 |
+
add_filter( 'ta_filter_redirect_url' , array( $this , 'pass_query_string_to_destination_url' ) , 10 , 3 );
|
431 |
|
432 |
// block bots on redirect (for non-apache servers).
|
433 |
if ( get_option( 'ta_enable_bot_crawl_blocker_script' ) == 'yes' )
|
Models/Script_Loader.php
CHANGED
@@ -107,6 +107,7 @@ class Script_Loader implements Model_Interface {
|
|
107 |
* Load backend js and css scripts.
|
108 |
*
|
109 |
* @since 3.0.0
|
|
|
110 |
* @access public
|
111 |
*
|
112 |
* @global WP_Post $post WP_Post object of the current screen.
|
@@ -134,20 +135,7 @@ class Script_Loader implements Model_Interface {
|
|
134 |
// Link picker styles and scripts.
|
135 |
if ( is_admin() && current_user_can( 'edit_posts' ) && ! in_array( $screen->base , array( 'customize' ) ) ) {
|
136 |
|
137 |
-
|
138 |
-
|
139 |
-
wp_enqueue_script( 'ta_editor_js', $this->_constants->JS_ROOT_URL() . 'app/ta-editor.js', array( 'jquery' , 'thickbox' ), Plugin_Constants::VERSION , true );
|
140 |
-
wp_localize_script( 'ta_editor_js' , 'ta_editor_var' , apply_filters( 'ta_editor_linkpicker_jsvars' , array(
|
141 |
-
'insertion_type' => $this->_helper_functions->get_option( 'ta_link_insertion_type' , 'link' ),
|
142 |
-
'disable_qtag_buttons' => get_option( 'ta_disable_text_editor_buttons' , 'no' ),
|
143 |
-
'html_editor_enable_aff_link_btn' => current_user_can( apply_filters( 'ta_enable_advance_link_picker' , 'edit_posts' ) ),
|
144 |
-
'html_editor_enable_quick_add_btn' => current_user_can( apply_filters( 'ta_enable_quick_add_affiliate_link' , 'publish_posts' ) ),
|
145 |
-
'html_editor_affiliate_link_btn' => __( 'affiliate link' , 'thirstyaffiliates' ),
|
146 |
-
'html_editor_quick_add_btn' => __( 'quick add affiliate link' , 'thirstyaffiliates' ),
|
147 |
-
'html_editor_affiliate_link_title' => __( 'Open the ThirstyAffiliates link picker' , 'thirstyaffiliates' ),
|
148 |
-
'html_editor_quick_add_title' => __( 'Open quick add affiliate link dialog' , 'thirstyaffiliates' ),
|
149 |
-
'simple_search_placeholder' => __( 'Type to search affiliate link' , 'thirstyaffiliates' )
|
150 |
-
) ) );
|
151 |
|
152 |
if ( in_array( $screen->base , array( 'widgets' ) ) ) {
|
153 |
wp_enqueue_script( 'ta_tinymce_widget_editor', $this->_constants->JS_ROOT_URL() . 'lib/thirstymce/widget-editor.js', array( 'jquery' , 'thickbox' ), Plugin_Constants::VERSION , true );
|
@@ -265,6 +253,7 @@ class Script_Loader implements Model_Interface {
|
|
265 |
* @since 3.0.0
|
266 |
* @since 3.3.0 Add enable JS redirect TA global var.
|
267 |
* @since 3.3.5 Add parameter for checking if statistics module is enabled or not.
|
|
|
268 |
* @access public
|
269 |
*/
|
270 |
public function load_frontend_scripts() {
|
@@ -287,6 +276,34 @@ class Script_Loader implements Model_Interface {
|
|
287 |
'disable_thirstylink_class' => get_option( 'ta_disable_thirsty_link_class' )
|
288 |
) );
|
289 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
290 |
}
|
291 |
|
292 |
/**
|
@@ -319,6 +336,8 @@ class Script_Loader implements Model_Interface {
|
|
319 |
add_action( 'admin_enqueue_scripts' , array( $this , 'load_backend_scripts' ) , 10 , 1 );
|
320 |
add_action( 'wp_enqueue_scripts' , array( $this , 'load_frontend_scripts' ) );
|
321 |
|
|
|
|
|
322 |
}
|
323 |
|
324 |
}
|
107 |
* Load backend js and css scripts.
|
108 |
*
|
109 |
* @since 3.0.0
|
110 |
+
* @since 3.4.0 Moved the code to load scripts for the wp editor to its own function.
|
111 |
* @access public
|
112 |
*
|
113 |
* @global WP_Post $post WP_Post object of the current screen.
|
135 |
// Link picker styles and scripts.
|
136 |
if ( is_admin() && current_user_can( 'edit_posts' ) && ! in_array( $screen->base , array( 'customize' ) ) ) {
|
137 |
|
138 |
+
$this->load_wp_editor_scripts();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
139 |
|
140 |
if ( in_array( $screen->base , array( 'widgets' ) ) ) {
|
141 |
wp_enqueue_script( 'ta_tinymce_widget_editor', $this->_constants->JS_ROOT_URL() . 'lib/thirstymce/widget-editor.js', array( 'jquery' , 'thickbox' ), Plugin_Constants::VERSION , true );
|
253 |
* @since 3.0.0
|
254 |
* @since 3.3.0 Add enable JS redirect TA global var.
|
255 |
* @since 3.3.5 Add parameter for checking if statistics module is enabled or not.
|
256 |
+
* @since 3.4.0 Add support for page builders.
|
257 |
* @access public
|
258 |
*/
|
259 |
public function load_frontend_scripts() {
|
276 |
'disable_thirstylink_class' => get_option( 'ta_disable_thirsty_link_class' )
|
277 |
) );
|
278 |
}
|
279 |
+
|
280 |
+
// Page builder support.
|
281 |
+
if ( $this->_helper_functions->is_page_builder_active() )
|
282 |
+
$this->load_wp_editor_scripts();
|
283 |
+
}
|
284 |
+
|
285 |
+
/**
|
286 |
+
* Load scripts for WP Editor.
|
287 |
+
*
|
288 |
+
* @since 3.4.0
|
289 |
+
* @access public
|
290 |
+
*/
|
291 |
+
public function load_wp_editor_scripts() {
|
292 |
+
|
293 |
+
wp_enqueue_style( 'thirstyaffiliates-tinymce' , $this->_constants->CSS_ROOT_URL() . 'admin/ta-editor.css' , array( 'thickbox' ) , Plugin_Constants::VERSION , 'screen' );
|
294 |
+
|
295 |
+
wp_enqueue_script( 'ta_editor_js', $this->_constants->JS_ROOT_URL() . 'app/ta-editor.js', array( 'jquery' , 'thickbox' ), Plugin_Constants::VERSION , true );
|
296 |
+
wp_localize_script( 'ta_editor_js' , 'ta_editor_var' , apply_filters( 'ta_editor_linkpicker_jsvars' , array(
|
297 |
+
'insertion_type' => $this->_helper_functions->get_option( 'ta_link_insertion_type' , 'link' ),
|
298 |
+
'disable_qtag_buttons' => get_option( 'ta_disable_text_editor_buttons' , 'no' ),
|
299 |
+
'html_editor_enable_aff_link_btn' => current_user_can( apply_filters( 'ta_enable_advance_link_picker' , 'edit_posts' ) ),
|
300 |
+
'html_editor_enable_quick_add_btn' => current_user_can( apply_filters( 'ta_enable_quick_add_affiliate_link' , 'publish_posts' ) ),
|
301 |
+
'html_editor_affiliate_link_btn' => __( 'affiliate link' , 'thirstyaffiliates' ),
|
302 |
+
'html_editor_quick_add_btn' => __( 'quick add affiliate link' , 'thirstyaffiliates' ),
|
303 |
+
'html_editor_affiliate_link_title' => __( 'Open the ThirstyAffiliates link picker' , 'thirstyaffiliates' ),
|
304 |
+
'html_editor_quick_add_title' => __( 'Open quick add affiliate link dialog' , 'thirstyaffiliates' ),
|
305 |
+
'simple_search_placeholder' => __( 'Type to search affiliate link' , 'thirstyaffiliates' )
|
306 |
+
) ) );
|
307 |
}
|
308 |
|
309 |
/**
|
336 |
add_action( 'admin_enqueue_scripts' , array( $this , 'load_backend_scripts' ) , 10 , 1 );
|
337 |
add_action( 'wp_enqueue_scripts' , array( $this , 'load_frontend_scripts' ) );
|
338 |
|
339 |
+
// Add support for elementor.
|
340 |
+
add_action( 'elementor/editor/before_enqueue_scripts' , array( $this , 'load_wp_editor_scripts' ) );
|
341 |
}
|
342 |
|
343 |
}
|
Models/Settings.php
CHANGED
@@ -352,6 +352,13 @@ class Settings implements Model_Interface , Activatable_Interface , Initiable_In
|
|
352 |
'type' => 'toggle'
|
353 |
),
|
354 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
355 |
array(
|
356 |
'id' => 'ta_blocked_bots',
|
357 |
'title' => __( "Blocked bots" , 'thirstyaffiliates' ),
|
@@ -428,7 +435,7 @@ class Settings implements Model_Interface , Activatable_Interface , Initiable_In
|
|
428 |
'desc' => __( "This is the type of redirect ThirstyAffiliates will use to redirect the user to your affiliate link." , 'thirstyaffiliates' ),
|
429 |
'type' => 'radio',
|
430 |
'options' => $this->_constants->REDIRECT_TYPES(),
|
431 |
-
'default' => 302
|
432 |
),
|
433 |
|
434 |
array(
|
@@ -504,6 +511,13 @@ class Settings implements Model_Interface , Activatable_Interface , Initiable_In
|
|
504 |
'type' => 'text'
|
505 |
),
|
506 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
507 |
array(
|
508 |
'id' => 'ta_disable_thirsty_link_class',
|
509 |
'title' => __( 'Disable ThirstyAffiliates CSS classes?' , 'thirstyaffiliates' ),
|
352 |
'type' => 'toggle'
|
353 |
),
|
354 |
|
355 |
+
array(
|
356 |
+
'id' => 'ta_disable_browser_device_collection',
|
357 |
+
'title' => __( "Disable browser/device data collection" , 'thirstyaffiliates' ),
|
358 |
+
'desc' => __( "As of version 3.4, by default ThirstyAffiliates plugin collects visitor's browser and device used everytime they click an affiliate link as part of the statistics information. By checking this the browser/device collection will be disabled, but other information will still be saved." , 'thirstyaffiliates' ),
|
359 |
+
'type' => 'toggle'
|
360 |
+
),
|
361 |
+
|
362 |
array(
|
363 |
'id' => 'ta_blocked_bots',
|
364 |
'title' => __( "Blocked bots" , 'thirstyaffiliates' ),
|
435 |
'desc' => __( "This is the type of redirect ThirstyAffiliates will use to redirect the user to your affiliate link." , 'thirstyaffiliates' ),
|
436 |
'type' => 'radio',
|
437 |
'options' => $this->_constants->REDIRECT_TYPES(),
|
438 |
+
'default' => '302'
|
439 |
),
|
440 |
|
441 |
array(
|
511 |
'type' => 'text'
|
512 |
),
|
513 |
|
514 |
+
array(
|
515 |
+
'id' => 'ta_additional_css_classes',
|
516 |
+
'title' => __( 'Additional CSS classes' , 'thirstyaffiliates' ),
|
517 |
+
'desc' => __( "Allows you to add extra CSS classes when links are inserted." , 'thirstyaffiliates' ),
|
518 |
+
'type' => 'text'
|
519 |
+
),
|
520 |
+
|
521 |
array(
|
522 |
'id' => 'ta_disable_thirsty_link_class',
|
523 |
'title' => __( 'Disable ThirstyAffiliates CSS classes?' , 'thirstyaffiliates' ),
|
Models/Shortcodes.php
CHANGED
@@ -141,6 +141,7 @@ class Shortcodes implements Model_Interface {
|
|
141 |
*
|
142 |
* @since 3.0.0
|
143 |
* @since 3.3.0 Add data-nojs attribute support.
|
|
|
144 |
* @access public
|
145 |
*
|
146 |
* @param array $atts Shortcode attributes.
|
@@ -205,8 +206,10 @@ class Shortcodes implements Model_Interface {
|
|
205 |
// check for nofollow defaults if no value is set
|
206 |
if ( empty( $link_attributes[ 'rel' ] ) ) {
|
207 |
|
208 |
-
$link_attributes[ 'rel' ]
|
209 |
-
|
|
|
|
|
210 |
}
|
211 |
|
212 |
// check for new window defaults if no value is set
|
@@ -216,8 +219,14 @@ class Shortcodes implements Model_Interface {
|
|
216 |
}
|
217 |
|
218 |
// provide default class value if it is not set
|
219 |
-
if ( empty( $link_attributes[ 'class' ] )
|
220 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
221 |
|
222 |
// provide default class value if it is not set
|
223 |
if ( empty( $link_attributes[ 'title' ] ) && get_option( 'ta_disable_title_attribute' ) !== 'yes' )
|
141 |
*
|
142 |
* @since 3.0.0
|
143 |
* @since 3.3.0 Add data-nojs attribute support.
|
144 |
+
* @since 3.4.0 Add additional classes field support.
|
145 |
* @access public
|
146 |
*
|
147 |
* @param array $atts Shortcode attributes.
|
206 |
// check for nofollow defaults if no value is set
|
207 |
if ( empty( $link_attributes[ 'rel' ] ) ) {
|
208 |
|
209 |
+
$link_attributes[ 'rel' ] = $thirstylink->is( 'no_follow' ) ? 'nofollow' : '';
|
210 |
+
|
211 |
+
if ( $thirstylink->get_prop( 'rel_tags' ) )
|
212 |
+
$link_attributes[ 'rel' ] = trim( $link_attributes[ 'rel' ] . ' ' . $thirstylink->get_prop( 'rel_tags' ) );
|
213 |
}
|
214 |
|
215 |
// check for new window defaults if no value is set
|
219 |
}
|
220 |
|
221 |
// provide default class value if it is not set
|
222 |
+
if ( empty( $link_attributes[ 'class' ] ) ){
|
223 |
+
|
224 |
+
$link_attributes[ 'class' ] = get_option( 'ta_disable_thirsty_link_class' ) !== 'yes' ? 'thirstylink' : '';
|
225 |
+
|
226 |
+
if ( $thirstylink->get_prop( 'css_classes' ) )
|
227 |
+
$link_attributes[ 'class' ] = trim( $link_attributes[ 'class' ] . ' ' . $thirstylink->get_prop( 'css_classes' ) );
|
228 |
+
}
|
229 |
+
|
230 |
|
231 |
// provide default class value if it is not set
|
232 |
if ( empty( $link_attributes[ 'title' ] ) && get_option( 'ta_disable_title_attribute' ) !== 'yes' )
|
Models/Stats_Reporting.php
CHANGED
@@ -182,6 +182,7 @@ class Stats_Reporting implements Model_Interface , Initiable_Interface , Activat
|
|
182 |
* @since 3.0.0
|
183 |
* @since 3.1.0 Set to save additional information: $cloaked_url , $redirect_url and $redirect_type.
|
184 |
* @since 3.2.0 Set to save additonal information: keyword.
|
|
|
185 |
* @access private
|
186 |
*
|
187 |
* @global wpdb $wpdb Object that contains a set of functions used to interact with a database.
|
@@ -222,6 +223,7 @@ class Stats_Reporting implements Model_Interface , Initiable_Interface , Activat
|
|
222 |
'redirect_url' => $redirect_url,
|
223 |
'redirect_type' => $redirect_type,
|
224 |
'keyword' => $keyword,
|
|
|
225 |
), $thirstylink );
|
226 |
|
227 |
foreach ( $meta_data as $key => $value ) {
|
@@ -284,6 +286,7 @@ class Stats_Reporting implements Model_Interface , Initiable_Interface , Activat
|
|
284 |
* @since 3.1.0 Updated save_click_data function call to include new required arguments.
|
285 |
* @since 3.2.0 Updated save_click_data function call to include keyword argument.
|
286 |
* @since 3.3.0 print actual affiliate link redirect url for ehanced javascript redirect support.
|
|
|
287 |
* @access public
|
288 |
*/
|
289 |
public function ajax_save_click_data_on_redirect() {
|
@@ -295,6 +298,7 @@ class Stats_Reporting implements Model_Interface , Initiable_Interface , Activat
|
|
295 |
$http_referer = isset( $_REQUEST[ 'page' ] ) ? esc_url_raw( $_REQUEST[ 'page' ] ) : '';
|
296 |
$cloaked_url = isset( $_REQUEST[ 'href' ] ) ? esc_url_raw( $_REQUEST[ 'href' ] ) : '';
|
297 |
$keyword = isset( $_REQUEST[ 'keyword' ] ) ? sanitize_text_field( $_REQUEST[ 'keyword' ] ) : '';
|
|
|
298 |
|
299 |
if ( ! $link_id )
|
300 |
$link_id = url_to_postid( $cloaked_url );
|
@@ -302,8 +306,8 @@ class Stats_Reporting implements Model_Interface , Initiable_Interface , Activat
|
|
302 |
if ( $link_id ) {
|
303 |
|
304 |
$thirstylink = new Affiliate_Link( $link_id );
|
305 |
-
$redirect_url = apply_filters( 'ta_filter_redirect_url' , $thirstylink->get_prop( 'destination_url' ) , $thirstylink );
|
306 |
-
$redirect_type = $thirstylink->
|
307 |
|
308 |
$this->save_click_data( $thirstylink , $http_referer , $cloaked_url , $redirect_url , $redirect_type , $keyword );
|
309 |
|
182 |
* @since 3.0.0
|
183 |
* @since 3.1.0 Set to save additional information: $cloaked_url , $redirect_url and $redirect_type.
|
184 |
* @since 3.2.0 Set to save additonal information: keyword.
|
185 |
+
* @since 3.4.0 Add tracking for browser/device.
|
186 |
* @access private
|
187 |
*
|
188 |
* @global wpdb $wpdb Object that contains a set of functions used to interact with a database.
|
223 |
'redirect_url' => $redirect_url,
|
224 |
'redirect_type' => $redirect_type,
|
225 |
'keyword' => $keyword,
|
226 |
+
'browser_device' => $this->_helper_functions->get_visitor_browser_device()
|
227 |
), $thirstylink );
|
228 |
|
229 |
foreach ( $meta_data as $key => $value ) {
|
286 |
* @since 3.1.0 Updated save_click_data function call to include new required arguments.
|
287 |
* @since 3.2.0 Updated save_click_data function call to include keyword argument.
|
288 |
* @since 3.3.0 print actual affiliate link redirect url for ehanced javascript redirect support.
|
289 |
+
* @since 3.4.0 Add query string as parameter to support passing query strings in enhanced JS redirect.
|
290 |
* @access public
|
291 |
*/
|
292 |
public function ajax_save_click_data_on_redirect() {
|
298 |
$http_referer = isset( $_REQUEST[ 'page' ] ) ? esc_url_raw( $_REQUEST[ 'page' ] ) : '';
|
299 |
$cloaked_url = isset( $_REQUEST[ 'href' ] ) ? esc_url_raw( $_REQUEST[ 'href' ] ) : '';
|
300 |
$keyword = isset( $_REQUEST[ 'keyword' ] ) ? sanitize_text_field( $_REQUEST[ 'keyword' ] ) : '';
|
301 |
+
$query_string = isset( $_REQUEST[ 'qs' ] ) ? sanitize_text_field( $_REQUEST[ 'qs' ] ) : '';
|
302 |
|
303 |
if ( ! $link_id )
|
304 |
$link_id = url_to_postid( $cloaked_url );
|
306 |
if ( $link_id ) {
|
307 |
|
308 |
$thirstylink = new Affiliate_Link( $link_id );
|
309 |
+
$redirect_url = apply_filters( 'ta_filter_redirect_url' , $thirstylink->get_prop( 'destination_url' ) , $thirstylink , $query_string );
|
310 |
+
$redirect_type = $thirstylink->get_redirect_type();
|
311 |
|
312 |
$this->save_click_data( $thirstylink , $http_referer , $cloaked_url , $redirect_url , $redirect_type , $keyword );
|
313 |
|
css/admin/ta-editor.css
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.mce-container div.wp-thirstylink-input {
|
2 |
+
float: left;
|
3 |
+
margin: 2px;
|
4 |
+
max-width: 694px;
|
5 |
+
position: relative;
|
6 |
+
}
|
7 |
+
|
8 |
+
.mce-container div.wp-thirstylink-input input {
|
9 |
+
width: 300px;
|
10 |
+
padding: 5px;
|
11 |
+
-webkit-box-sizing: border-box;
|
12 |
+
-moz-box-sizing: border-box;
|
13 |
+
box-sizing: border-box
|
14 |
+
}
|
15 |
+
.mce-container div.wp-thirstylink-input .affiliate-link-list {
|
16 |
+
position: absolute;
|
17 |
+
top: 100%;
|
18 |
+
left: 0;
|
19 |
+
width: 100%;
|
20 |
+
max-height: 150px;
|
21 |
+
overflow: auto;
|
22 |
+
border: 1px solid #eee;
|
23 |
+
background: #fff;
|
24 |
+
}
|
25 |
+
.mce-container div.wp-thirstylink-input .affiliate-link-list li {
|
26 |
+
padding: 5px;
|
27 |
+
border-bottom: 1px solid #eee;
|
28 |
+
cursor: pointer;
|
29 |
+
}
|
30 |
+
.mce-container div.wp-thirstylink-input .affiliate-link-list li:hover {
|
31 |
+
background: #eee;
|
32 |
+
}
|
33 |
+
.mce-container div.wp-thirstylink-input .affiliate-link-list li * {
|
34 |
+
font-size: 13px;
|
35 |
+
}
|
36 |
+
.mce-container div.wp-thirstylink-input .affiliate-link-list li:last-child {
|
37 |
+
border-bottom: 0;
|
38 |
+
}
|
39 |
+
.shortcode-preview-toolbar div.shortcode-preview {
|
40 |
+
display:inline-block;
|
41 |
+
padding: 6px 8px;
|
42 |
+
color: #3ca99c;
|
43 |
+
}
|
44 |
+
.shortcode-preview-toolbar .mce-btn-group {
|
45 |
+
border: 0 !important;
|
46 |
+
padding: 0 !important;
|
47 |
+
}
|
css/admin/tinymce/editor.css
CHANGED
@@ -1,38 +1,9 @@
|
|
1 |
-
.
|
2 |
-
|
3 |
-
margin: 2px;
|
4 |
-
max-width: 694px;
|
5 |
-
position: relative;
|
6 |
-
}
|
7 |
-
|
8 |
-
.mce-container div.wp-thirstylink-input input {
|
9 |
-
width: 300px;
|
10 |
-
padding: 5px;
|
11 |
-
-webkit-box-sizing: border-box;
|
12 |
-
-moz-box-sizing: border-box;
|
13 |
-
box-sizing: border-box
|
14 |
-
}
|
15 |
-
.mce-container div.wp-thirstylink-input .affiliate-link-list {
|
16 |
-
position: absolute;
|
17 |
-
top: 100%;
|
18 |
-
left: 0;
|
19 |
-
width: 100%;
|
20 |
-
max-height: 150px;
|
21 |
-
overflow: auto;
|
22 |
-
border: 1px solid #eee;
|
23 |
-
background: #fff;
|
24 |
-
}
|
25 |
-
.mce-container div.wp-thirstylink-input .affiliate-link-list li {
|
26 |
-
padding: 5px;
|
27 |
-
border-bottom: 1px solid #eee;
|
28 |
cursor: pointer;
|
29 |
}
|
30 |
-
.
|
31 |
-
background: #
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
}
|
36 |
-
.mce-container div.wp-thirstylink-input .affiliate-link-list li:last-child {
|
37 |
-
border-bottom: 0;
|
38 |
-
}
|
1 |
+
span.ta-editor-shortcode {
|
2 |
+
border-bottom: 1px dashed #3faa67;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
cursor: pointer;
|
4 |
}
|
5 |
+
span.ta-editor-shortcode.shortcode-selected {
|
6 |
+
background: #e5f5ed;
|
7 |
+
box-shadow: 0 0 2px 3px #e5f5ed;
|
8 |
+
border-radius: 5px
|
9 |
+
}
|
|
|
|
|
|
|
|
js/app/advance_link_picker/dist/advance-link-picker.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
body{background:#f1f1f1;color:#444;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;line-height:1.4em}#advanced_add_affiliate_link{margin:20px 34px}.search-panel{margin:auto}.search-panel .search-label{font-size:14px}.search-panel .thirstylink-search-field{border-radius:0;font-size:14px;padding:5px;width:400px}.results-panel{border:1px solid #ded9d9;background:#fff;margin-top:10px}.results-panel ul.results-list{margin:0;padding:0;list-style:none}.results-panel ul.results-list li{padding:8px 12px;border-bottom:1px solid #ded9d9}.results-panel ul.results-list li.spinner{text-align:center;padding-top:4px}.results-panel ul.results-list li.spinner i{display:inline-block;width:20px;height:20px;position:relative;top:4px;margin-right:5px}.results-panel ul.results-list li.spinner span{display:inline-block}.results-panel ul.results-list li:after{content:"";display:table;clear:both}.results-panel ul.results-list li:hover{background:#f3f3f3}.results-panel ul.results-list li.no-links-found{text-align:center;display:block}.results-panel ul.results-list li .slug{font-size:13px;color:#aaa}.results-panel ul.results-list li .actions{float:right}.results-panel ul.results-list li .actions .button{background:#fafafa;border:1px solid #ccc;border-radius:3px;font-size:13px;width:26px;cursor:pointer;color:#333;padding:3px 5px;height:auto;margin-left:5px}.results-panel ul.results-list li .actions .button:focus{background:#eee}.results-panel ul.results-list li .images-block{display:none;margin-top:8px;padding-top:5px;border-top:1px dashed #e8e8e8;overflow-y:hidden;transition-property:all;transition-duration:.5s;transition-timing-function:cubic-bezier(0,1,.5,1)}.results-panel ul.results-list li .images-block.show{display:block!important}.results-panel ul.results-list li .images-block:after{content:"";display:table;clear:both}.results-panel ul.results-list li .images-block .label{display:block;float:left;position:relative;top:25px;margin-right:10px}.results-panel ul.results-list li .images-block .images{display:block;float:left}.results-panel ul.results-list li .images-block .images
|
1 |
+
body{background:#f1f1f1;color:#444;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;line-height:1.4em}#advanced_add_affiliate_link{margin:20px 34px}.search-panel{margin:auto}.search-panel .search-label{font-size:14px}.search-panel .thirstylink-search-field{border-radius:0;font-size:14px;padding:5px;width:400px}.search-panel .selectize-control{width:200px;display:inline-block;position:relative;top:10px}.search-panel .selectize-control .selectize-input{padding:5px 10px}.results-panel{border:1px solid #ded9d9;background:#fff;margin-top:10px}.results-panel ul.results-list{margin:0;padding:0;list-style:none}.results-panel ul.results-list li{padding:8px 12px;border-bottom:1px solid #ded9d9}.results-panel ul.results-list li.spinner{text-align:center;padding-top:4px}.results-panel ul.results-list li.spinner i{display:inline-block;width:20px;height:20px;position:relative;top:4px;margin-right:5px}.results-panel ul.results-list li.spinner span{display:inline-block}.results-panel ul.results-list li:after{content:"";display:table;clear:both}.results-panel ul.results-list li:hover{background:#f3f3f3}.results-panel ul.results-list li.no-links-found{text-align:center;display:block}.results-panel ul.results-list li .slug{font-size:13px;color:#aaa}.results-panel ul.results-list li .actions{float:right}.results-panel ul.results-list li .actions .button{background:#fafafa;border:1px solid #ccc;border-radius:3px;font-size:13px;width:26px;cursor:pointer;color:#333;padding:3px 5px;height:auto;margin-left:5px}.results-panel ul.results-list li .actions .button:focus{background:#eee}.results-panel ul.results-list li .images-block{display:none;margin-top:8px;padding-top:5px;border-top:1px dashed #e8e8e8;overflow-y:hidden;transition-property:all;transition-duration:.5s;transition-timing-function:cubic-bezier(0,1,.5,1)}.results-panel ul.results-list li .images-block.show{display:block!important}.results-panel ul.results-list li .images-block:after{content:"";display:table;clear:both}.results-panel ul.results-list li .images-block .label{display:block;float:left;position:relative;top:25px;margin-right:10px}.results-panel ul.results-list li .images-block .images{display:block;float:left}.results-panel ul.results-list li .images-block .images .image{display:inline-block;width:75px;overflow:hidden;margin-right:7px;border:1px solid #ececec;cursor:pointer}.results-panel ul.results-list li .images-block .images .image img{width:auto;height:75px}.results-panel ul.results-list li .images-block .images .image:hover{border-color:#c1c1c1}.results-panel ul.results-list li .images-block .no-images{display:block;text-align:center}.results-panel a.load-more-results{display:block;color:#444;padding:8px;text-align:center;text-decoration:none}.results-panel a.load-more-results:hover{background:#006799;color:#fff}.results-panel a.load-more-results.fetching{cursor:default}.results-panel a.load-more-results.fetching:hover{background:inherit;color:inherit}.results-panel a.load-more-results .spinner{display:none}.results-panel a.load-more-results .spinner i{display:inline-block;width:20px;height:20px;position:relative;top:4px}.results-panel a.load-more-results .button-text,.results-panel a.load-more-results .button-text i{display:inline-block}
|
js/app/advance_link_picker/dist/advance-link-picker.js
CHANGED
@@ -1,24 +1 @@
|
|
1 |
-
!function(
|
2 |
-
* jQuery JavaScript Library v3.2.1
|
3 |
-
* https://jquery.com/
|
4 |
-
*
|
5 |
-
* Includes Sizzle.js
|
6 |
-
* https://sizzlejs.com/
|
7 |
-
*
|
8 |
-
* Copyright JS Foundation and other contributors
|
9 |
-
* Released under the MIT license
|
10 |
-
* https://jquery.org/license
|
11 |
-
*
|
12 |
-
* Date: 2017-03-20T18:59Z
|
13 |
-
*/
|
14 |
-
!function(t,n){"object"===i(e)&&"object"===i(e.exports)?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:void 0,function(o,a){function s(e,t){t=t||se;var n=t.createElement("script");n.text=e,t.head.appendChild(n).parentNode.removeChild(n)}function u(e){var t=!!e&&"length"in e&&e.length,n=xe.type(e);return"function"!==n&&!xe.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function l(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function c(e,t,n){return xe.isFunction(t)?xe.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?xe.grep(e,function(e){return e===t!==n}):"string"!=typeof t?xe.grep(e,function(e){return de.call(t,e)>-1!==n}):De.test(t)?xe.filter(t,e,n):(t=xe.filter(t,e),xe.grep(e,function(e){return de.call(t,e)>-1!==n&&1===e.nodeType}))}function f(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function d(e){var t={};return xe.each(e.match(Oe)||[],function(e,n){t[n]=!0}),t}function p(e){return e}function h(e){throw e}function g(e,t,n,r){var i;try{e&&xe.isFunction(i=e.promise)?i.call(e).done(t).fail(n):e&&xe.isFunction(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}function m(){se.removeEventListener("DOMContentLoaded",m),o.removeEventListener("load",m),xe.ready()}function v(){this.expando=xe.expando+v.uid++}function y(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:We.test(e)?JSON.parse(e):e)}function x(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace($e,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=y(n)}catch(e){}Ie.set(e,t,n)}else n=void 0;return n}function b(e,t,n,r){var i,o=1,a=20,s=r?function(){return r.cur()}:function(){return xe.css(e,t,"")},u=s(),l=n&&n[3]||(xe.cssNumber[t]?"":"px"),c=(xe.cssNumber[t]||"px"!==l&&+u)&&ze.exec(xe.css(e,t));if(c&&c[3]!==l){l=l||c[3],n=n||[],c=+u||1;do{o=o||".5",c/=o,xe.style(e,t,c+l)}while(o!==(o=s()/u)&&1!==o&&--a)}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function w(e){var t,n=e.ownerDocument,r=e.nodeName,i=Ge[r];return i||(t=n.body.appendChild(n.createElement(r)),i=xe.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),Ge[r]=i,i)}function T(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)r=e[o],r.style&&(n=r.style.display,t?("none"===n&&(i[o]=Re.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&Ue(r)&&(i[o]=w(r))):"none"!==n&&(i[o]="none",Re.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}function k(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&l(e,t)?xe.merge([e],n):n}function C(e,t){for(var n=0,r=e.length;n<r;n++)Re.set(e[n],"globalEval",!t||Re.get(t[n],"globalEval"))}function S(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),d=[],p=0,h=e.length;p<h;p++)if((o=e[p])||0===o)if("object"===xe.type(o))xe.merge(d,o.nodeType?[o]:o);else if(Ze.test(o)){for(a=a||f.appendChild(t.createElement("div")),s=(Qe.exec(o)||["",""])[1].toLowerCase(),u=Ke[s]||Ke._default,a.innerHTML=u[1]+xe.htmlPrefilter(o)+u[2],c=u[0];c--;)a=a.lastChild;xe.merge(d,a.childNodes),a=f.firstChild,a.textContent=""}else d.push(t.createTextNode(o));for(f.textContent="",p=0;o=d[p++];)if(r&&xe.inArray(o,r)>-1)i&&i.push(o);else if(l=xe.contains(o.ownerDocument,o),a=k(f.appendChild(o),"script"),l&&C(a),n)for(c=0;o=a[c++];)Je.test(o.type||"")&&n.push(o);return f}function E(){return!0}function j(){return!1}function N(){try{return se.activeElement}catch(e){}}function D(e,t,n,r,o,a){var s,u;if("object"===(void 0===t?"undefined":i(t))){"string"!=typeof n&&(r=r||n,n=void 0);for(u in t)D(e,u,n,r,t[u],a);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=j;else if(!o)return e;return 1===a&&(s=o,o=function(e){return xe().off(e),s.apply(this,arguments)},o.guid=s.guid||(s.guid=xe.guid++)),e.each(function(){xe.event.add(this,t,o,r,n)})}function A(e,t){return l(e,"table")&&l(11!==t.nodeType?t:t.firstChild,"tr")?xe(">tbody",e)[0]||e:e}function L(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function q(e){var t=st.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function P(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Re.hasData(e)&&(o=Re.access(e),a=Re.set(t,o),l=o.events)){delete a.handle,a.events={};for(i in l)for(n=0,r=l[i].length;n<r;n++)xe.event.add(t,i,l[i][n])}Ie.hasData(e)&&(s=Ie.access(e),u=xe.extend({},s),Ie.set(t,u))}}function O(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Ye.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function H(e,t,n,r){t=ce.apply([],t);var i,o,a,u,l,c,f=0,d=e.length,p=d-1,h=t[0],g=xe.isFunction(h);if(g||d>1&&"string"==typeof h&&!ye.checkClone&&at.test(h))return e.each(function(i){var o=e.eq(i);g&&(t[0]=h.call(this,i,o.html())),H(o,t,n,r)});if(d&&(i=S(t,e[0].ownerDocument,!1,e,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(a=xe.map(k(i,"script"),L),u=a.length;f<d;f++)l=i,f!==p&&(l=xe.clone(l,!0,!0),u&&xe.merge(a,k(l,"script"))),n.call(e[f],l,f);if(u)for(c=a[a.length-1].ownerDocument,xe.map(a,q),f=0;f<u;f++)l=a[f],Je.test(l.type||"")&&!Re.access(l,"globalEval")&&xe.contains(c,l)&&(l.src?xe._evalUrl&&xe._evalUrl(l.src):s(l.textContent.replace(ut,""),c))}return e}function _(e,t,n){for(var r,i=t?xe.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||xe.cleanData(k(r)),r.parentNode&&(n&&xe.contains(r.ownerDocument,r)&&C(k(r,"script")),r.parentNode.removeChild(r));return e}function F(e,t,n){var r,i,o,a,s=e.style;return n=n||ft(e),n&&(a=n.getPropertyValue(t)||n[t],""!==a||xe.contains(e.ownerDocument,e)||(a=xe.style(e,t)),!ye.pixelMarginRight()&&ct.test(a)&<.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function M(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function R(e){if(e in vt)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=mt.length;n--;)if((e=mt[n]+t)in vt)return e}function I(e){var t=xe.cssProps[e];return t||(t=xe.cssProps[e]=R(e)||e),t}function W(e,t,n){var r=ze.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function $(e,t,n,r,i){var o,a=0;for(o=n===(r?"border":"content")?4:"width"===t?1:0;o<4;o+=2)"margin"===n&&(a+=xe.css(e,n+Xe[o],!0,i)),r?("content"===n&&(a-=xe.css(e,"padding"+Xe[o],!0,i)),"margin"!==n&&(a-=xe.css(e,"border"+Xe[o]+"Width",!0,i))):(a+=xe.css(e,"padding"+Xe[o],!0,i),"padding"!==n&&(a+=xe.css(e,"border"+Xe[o]+"Width",!0,i)));return a}function B(e,t,n){var r,i=ft(e),o=F(e,t,i),a="border-box"===xe.css(e,"boxSizing",!1,i);return ct.test(o)?o:(r=a&&(ye.boxSizingReliable()||o===e.style[t]),"auto"===o&&(o=e["offset"+t[0].toUpperCase()+t.slice(1)]),(o=parseFloat(o)||0)+$(e,t,n||(a?"border":"content"),r,i)+"px")}function z(e,t,n,r,i){return new z.prototype.init(e,t,n,r,i)}function X(){xt&&(!1===se.hidden&&o.requestAnimationFrame?o.requestAnimationFrame(X):o.setTimeout(X,xe.fx.interval),xe.fx.tick())}function U(){return o.setTimeout(function(){yt=void 0}),yt=xe.now()}function V(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)n=Xe[r],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function G(e,t,n){for(var r,i=(J.tweeners[t]||[]).concat(J.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function Y(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,d=this,p={},h=e.style,g=e.nodeType&&Ue(e),m=Re.get(e,"fxshow");n.queue||(a=xe._queueHooks(e,"fx"),null==a.unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always(function(){d.always(function(){a.unqueued--,xe.queue(e,"fx").length||a.empty.fire()})}));for(r in t)if(i=t[r],bt.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;g=!0}p[r]=m&&m[r]||xe.style(e,r)}if((u=!xe.isEmptyObject(t))||!xe.isEmptyObject(p)){f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],l=m&&m.display,null==l&&(l=Re.get(e,"display")),c=xe.css(e,"display"),"none"===c&&(l?c=l:(T([e],!0),l=e.style.display||l,c=xe.css(e,"display"),T([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===xe.css(e,"float")&&(u||(d.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",d.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1;for(r in p)u||(m?"hidden"in m&&(g=m.hidden):m=Re.access(e,"fxshow",{display:l}),o&&(m.hidden=!g),g&&T([e],!0),d.done(function(){g||T([e]),Re.remove(e,"fxshow");for(r in p)xe.style(e,r,p[r])})),u=G(g?m[r]:0,r,d),r in m||(m[r]=u.start,g&&(u.end=u.start,u.start=0))}}function Q(e,t){var n,r,i,o,a;for(n in e)if(r=xe.camelCase(n),i=t[r],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=xe.cssHooks[r])&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function J(e,t,n){var r,i,o=0,a=J.prefilters.length,s=xe.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=yt||U(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,o=1-r,a=0,u=l.tweens.length;a<u;a++)l.tweens[a].run(o);return s.notifyWith(e,[l,o,n]),o<1&&u?n:(u||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:xe.extend({},t),opts:xe.extend(!0,{specialEasing:{},easing:xe.easing._default},n),originalProperties:t,originalOptions:n,startTime:yt||U(),duration:n.duration,tweens:[],createTween:function(t,n){var r=xe.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(Q(c,l.opts.specialEasing);o<a;o++)if(r=J.prefilters[o].call(l,e,c,l.opts))return xe.isFunction(r.stop)&&(xe._queueHooks(l.elem,l.opts.queue).stop=xe.proxy(r.stop,r)),r;return xe.map(c,G,l),xe.isFunction(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),xe.fx.timer(xe.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}function K(e){return(e.match(Oe)||[]).join(" ")}function Z(e){return e.getAttribute&&e.getAttribute("class")||""}function ee(e,t,n,r){var o;if(Array.isArray(t))xe.each(t,function(t,o){n||Lt.test(e)?r(e,o):ee(e+"["+("object"===(void 0===o?"undefined":i(o))&&null!=o?t:"")+"]",o,n,r)});else if(n||"object"!==xe.type(t))r(e,t);else for(o in t)ee(e+"["+o+"]",t[o],n,r)}function te(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(Oe)||[];if(xe.isFunction(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function ne(e,t,n,r){function i(s){var u;return o[s]=!0,xe.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||a||o[l]?a?!(u=l):void 0:(t.dataTypes.unshift(l),i(l),!1)}),u}var o={},a=e===Bt;return i(t.dataTypes[0])||!o["*"]&&i("*")}function re(e,t){var n,r,i=xe.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&xe.extend(!0,e,r),e}function ie(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function oe(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if(s=i.split(" "),s[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}var ae=[],se=o.document,ue=Object.getPrototypeOf,le=ae.slice,ce=ae.concat,fe=ae.push,de=ae.indexOf,pe={},he=pe.toString,ge=pe.hasOwnProperty,me=ge.toString,ve=me.call(Object),ye={},xe=function e(t,n){return new e.fn.init(t,n)},be=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,we=/^-ms-/,Te=/-([a-z])/g,ke=function(e,t){return t.toUpperCase()};xe.fn=xe.prototype={jquery:"3.2.1",constructor:xe,length:0,toArray:function(){return le.call(this)},get:function(e){return null==e?le.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=xe.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return xe.each(this,e)},map:function(e){return this.pushStack(xe.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(le.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:fe,sort:ae.sort,splice:ae.splice},xe.extend=xe.fn.extend=function(){var e,t,n,r,o,a,s=arguments[0]||{},u=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[u]||{},u++),"object"===(void 0===s?"undefined":i(s))||xe.isFunction(s)||(s={}),u===l&&(s=this,u--);u<l;u++)if(null!=(e=arguments[u]))for(t in e)n=s[t],r=e[t],s!==r&&(c&&r&&(xe.isPlainObject(r)||(o=Array.isArray(r)))?(o?(o=!1,a=n&&Array.isArray(n)?n:[]):a=n&&xe.isPlainObject(n)?n:{},s[t]=xe.extend(c,a,r)):void 0!==r&&(s[t]=r));return s},xe.extend({expando:"jQuery"+("3.2.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===xe.type(e)},isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=xe.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==he.call(e))&&(!(t=ue(e))||"function"==typeof(n=ge.call(t,"constructor")&&t.constructor)&&me.call(n)===ve)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"===(void 0===e?"undefined":i(e))||"function"==typeof e?pe[he.call(e)]||"object":void 0===e?"undefined":i(e)},globalEval:function(e){s(e)},camelCase:function(e){return e.replace(we,"ms-").replace(Te,ke)},each:function(e,t){var n,r=0;if(u(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(be,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(u(Object(e))?xe.merge(n,"string"==typeof e?[e]:e):fe.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:de.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(u(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return ce.apply([],a)},guid:1,proxy:function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),xe.isFunction(e))return r=le.call(arguments,2),i=function(){return e.apply(t||this,r.concat(le.call(arguments)))},i.guid=e.guid=e.guid||xe.guid++,i},now:Date.now,support:ye}),"function"==typeof Symbol&&(xe.fn[Symbol.iterator]=ae[Symbol.iterator]),xe.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){pe["[object "+t+"]"]=t.toLowerCase()});var Ce=/*!
|
15 |
-
* Sizzle CSS Selector Engine v2.3.3
|
16 |
-
* https://sizzlejs.com/
|
17 |
-
*
|
18 |
-
* Copyright jQuery Foundation and other contributors
|
19 |
-
* Released under the MIT license
|
20 |
-
* http://jquery.org/license
|
21 |
-
*
|
22 |
-
* Date: 2016-08-08
|
23 |
-
*/
|
24 |
-
function(e){function t(e,t,n,r){var i,o,a,s,u,c,d,p=t&&t.ownerDocument,h=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return n;if(!r&&((t?t.ownerDocument||t:R)!==L&&A(t),t=t||L,P)){if(11!==h&&(u=ge.exec(e)))if(i=u[1]){if(9===h){if(!(a=t.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(p&&(a=p.getElementById(i))&&F(t,a)&&a.id===i)return n.push(a),n}else{if(u[2])return Q.apply(n,t.getElementsByTagName(e)),n;if((i=u[3])&&b.getElementsByClassName&&t.getElementsByClassName)return Q.apply(n,t.getElementsByClassName(i)),n}if(b.qsa&&!z[e+" "]&&(!O||!O.test(e))){if(1!==h)p=t,d=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(xe,be):t.setAttribute("id",s=M),c=C(e),o=c.length;o--;)c[o]="#"+s+" "+f(c[o]);d=c.join(","),p=me.test(e)&&l(t.parentNode)||t}if(d)try{return Q.apply(n,p.querySelectorAll(d)),n}catch(e){}finally{s===M&&t.removeAttribute("id")}}}return E(e.replace(oe,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>w.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[M]=!0,e}function i(e){var t=L.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=n.length;r--;)w.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Te(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function u(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function l(e){return e&&void 0!==e.getElementsByTagName&&e}function c(){}function f(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function d(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=W++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,u){var l,c,f,d=[I,s];if(u){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,u))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(f=t[M]||(t[M]={}),c=f[t.uniqueID]||(f[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=c[o])&&l[0]===I&&l[1]===s)return d[2]=l[2];if(c[o]=d,d[2]=e(t,n,u))return!0}return!1}}function p(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function h(e,n,r){for(var i=0,o=n.length;i<o;i++)t(e,n[i],r);return r}function g(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function m(e,t,n,i,o,a){return i&&!i[M]&&(i=m(i)),o&&!o[M]&&(o=m(o,a)),r(function(r,a,s,u){var l,c,f,d=[],p=[],m=a.length,v=r||h(t||"*",s.nodeType?[s]:s,[]),y=!e||!r&&t?v:g(v,d,e,s,u),x=n?o||(r?e:m||i)?[]:a:y;if(n&&n(y,x,s,u),i)for(l=g(x,p),i(l,[],s,u),c=l.length;c--;)(f=l[c])&&(x[p[c]]=!(y[p[c]]=f));if(r){if(o||e){if(o){for(l=[],c=x.length;c--;)(f=x[c])&&l.push(y[c]=f);o(null,x=[],l,u)}for(c=x.length;c--;)(f=x[c])&&(l=o?K(r,f):d[c])>-1&&(r[l]=!(a[l]=f))}}else x=g(x===a?x.splice(m,x.length):x),o?o(null,a,x,u):Q.apply(a,x)})}function v(e){for(var t,n,r,i=e.length,o=w.relative[e[0].type],a=o||w.relative[" "],s=o?1:0,u=d(function(e){return e===t},a,!0),l=d(function(e){return K(t,e)>-1},a,!0),c=[function(e,n,r){var i=!o&&(r||n!==j)||((t=n).nodeType?u(e,n,r):l(e,n,r));return t=null,i}];s<i;s++)if(n=w.relative[e[s].type])c=[d(p(c),n)];else{if(n=w.filter[e[s].type].apply(null,e[s].matches),n[M]){for(r=++s;r<i&&!w.relative[e[r].type];r++);return m(s>1&&p(c),s>1&&f(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(oe,"$1"),n,s<r&&v(e.slice(s,r)),r<i&&v(e=e.slice(r)),r<i&&f(e))}c.push(n)}return p(c)}function y(e,n){var i=n.length>0,o=e.length>0,a=function(r,a,s,u,l){var c,f,d,p=0,h="0",m=r&&[],v=[],y=j,x=r||o&&w.find.TAG("*",l),b=I+=null==y?1:Math.random()||.1,T=x.length;for(l&&(j=a===L||a||l);h!==T&&null!=(c=x[h]);h++){if(o&&c){for(f=0,a||c.ownerDocument===L||(A(c),s=!P);d=e[f++];)if(d(c,a||L,s)){u.push(c);break}l&&(I=b)}i&&((c=!d&&c)&&p--,r&&m.push(c))}if(p+=h,i&&h!==p){for(f=0;d=n[f++];)d(m,v,a,s);if(r){if(p>0)for(;h--;)m[h]||v[h]||(v[h]=G.call(u));v=g(v)}Q.apply(u,v),l&&!r&&v.length>0&&p+n.length>1&&t.uniqueSort(u)}return l&&(I=b,j=y),m};return i?r(a):a}var x,b,w,T,k,C,S,E,j,N,D,A,L,q,P,O,H,_,F,M="sizzle"+1*new Date,R=e.document,I=0,W=0,$=n(),B=n(),z=n(),X=function(e,t){return e===t&&(D=!0),0},U={}.hasOwnProperty,V=[],G=V.pop,Y=V.push,Q=V.push,J=V.slice,K=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},Z="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ee="[\\x20\\t\\r\\n\\f]",te="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",ne="\\["+ee+"*("+te+")(?:"+ee+"*([*^$|!~]?=)"+ee+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+te+"))|)"+ee+"*\\]",re=":("+te+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ne+")*)|.*)\\)|)",ie=new RegExp(ee+"+","g"),oe=new RegExp("^"+ee+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ee+"+$","g"),ae=new RegExp("^"+ee+"*,"+ee+"*"),se=new RegExp("^"+ee+"*([>+~]|"+ee+")"+ee+"*"),ue=new RegExp("="+ee+"*([^\\]'\"]*?)"+ee+"*\\]","g"),le=new RegExp(re),ce=new RegExp("^"+te+"$"),fe={ID:new RegExp("^#("+te+")"),CLASS:new RegExp("^\\.("+te+")"),TAG:new RegExp("^("+te+"|[*])"),ATTR:new RegExp("^"+ne),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ee+"*(even|odd|(([+-]|)(\\d*)n|)"+ee+"*(?:([+-]|)"+ee+"*(\\d+)|))"+ee+"*\\)|)","i"),bool:new RegExp("^(?:"+Z+")$","i"),needsContext:new RegExp("^"+ee+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ee+"*((?:-\\d)?\\d*)"+ee+"*\\)|)(?=[^-]|$)","i")},de=/^(?:input|select|textarea|button)$/i,pe=/^h\d$/i,he=/^[^{]+\{\s*\[native \w/,ge=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,me=/[+~]/,ve=new RegExp("\\\\([\\da-f]{1,6}"+ee+"?|("+ee+")|.)","ig"),ye=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},xe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,be=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},we=function(){A()},Te=d(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{Q.apply(V=J.call(R.childNodes),R.childNodes),V[R.childNodes.length].nodeType}catch(e){Q={apply:V.length?function(e,t){Y.apply(e,J.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}b=t.support={},k=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},A=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:R;return r!==L&&9===r.nodeType&&r.documentElement?(L=r,q=L.documentElement,P=!k(L),R!==L&&(n=L.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",we,!1):n.attachEvent&&n.attachEvent("onunload",we)),b.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),b.getElementsByTagName=i(function(e){return e.appendChild(L.createComment("")),!e.getElementsByTagName("*").length}),b.getElementsByClassName=he.test(L.getElementsByClassName),b.getById=i(function(e){return q.appendChild(e).id=M,!L.getElementsByName||!L.getElementsByName(M).length}),b.getById?(w.filter.ID=function(e){var t=e.replace(ve,ye);return function(e){return e.getAttribute("id")===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&P){var n=t.getElementById(e);return n?[n]:[]}}):(w.filter.ID=function(e){var t=e.replace(ve,ye);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&P){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),w.find.TAG=b.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):b.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},w.find.CLASS=b.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&P)return t.getElementsByClassName(e)},H=[],O=[],(b.qsa=he.test(L.querySelectorAll))&&(i(function(e){q.appendChild(e).innerHTML="<a id='"+M+"'></a><select id='"+M+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&O.push("[*^$]="+ee+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||O.push("\\["+ee+"*(?:value|"+Z+")"),e.querySelectorAll("[id~="+M+"-]").length||O.push("~="),e.querySelectorAll(":checked").length||O.push(":checked"),e.querySelectorAll("a#"+M+"+*").length||O.push(".#.+[+~]")}),i(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=L.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&O.push("name"+ee+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&O.push(":enabled",":disabled"),q.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&O.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),O.push(",.*:")})),(b.matchesSelector=he.test(_=q.matches||q.webkitMatchesSelector||q.mozMatchesSelector||q.oMatchesSelector||q.msMatchesSelector))&&i(function(e){b.disconnectedMatch=_.call(e,"*"),_.call(e,"[s!='']:x"),H.push("!=",re)}),O=O.length&&new RegExp(O.join("|")),H=H.length&&new RegExp(H.join("|")),t=he.test(q.compareDocumentPosition),F=t||he.test(q.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},X=t?function(e,t){if(e===t)return D=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!b.sortDetached&&t.compareDocumentPosition(e)===n?e===L||e.ownerDocument===R&&F(R,e)?-1:t===L||t.ownerDocument===R&&F(R,t)?1:N?K(N,e)-K(N,t):0:4&n?-1:1)}:function(e,t){if(e===t)return D=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],u=[t];if(!i||!o)return e===L?-1:t===L?1:i?-1:o?1:N?K(N,e)-K(N,t):0;if(i===o)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;s[r]===u[r];)r++;return r?a(s[r],u[r]):s[r]===R?-1:u[r]===R?1:0},L):L},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==L&&A(e),n=n.replace(ue,"='$1']"),b.matchesSelector&&P&&!z[n+" "]&&(!H||!H.test(n))&&(!O||!O.test(n)))try{var r=_.call(e,n);if(r||b.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,L,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==L&&A(e),F(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==L&&A(e);var n=w.attrHandle[t.toLowerCase()],r=n&&U.call(w.attrHandle,t.toLowerCase())?n(e,t,!P):void 0;return void 0!==r?r:b.attributes||!P?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.escape=function(e){return(e+"").replace(xe,be)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(D=!b.detectDuplicates,N=!b.sortStable&&e.slice(0),e.sort(X),D){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return N=null,e},T=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=T(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=T(t);return n},w=t.selectors={cacheLength:50,createPseudo:r,match:fe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ve,ye),e[3]=(e[3]||e[4]||e[5]||"").replace(ve,ye),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return fe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&le.test(n)&&(t=C(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ve,ye).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=$[e+" "];return t||(t=new RegExp("(^|"+ee+")"+e+"("+ee+"|$)"))&&$(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(ie," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,d,p,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!u&&!s,x=!1;if(m){if(o){for(;g;){for(d=t;d=d[g];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&y){for(d=m,f=d[M]||(d[M]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),l=c[e]||[],p=l[0]===I&&l[1],x=p&&l[2],d=p&&m.childNodes[p];d=++p&&d&&d[g]||(x=p=0)||h.pop();)if(1===d.nodeType&&++x&&d===t){c[e]=[I,p,x];break}}else if(y&&(d=t,f=d[M]||(d[M]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),l=c[e]||[],p=l[0]===I&&l[1],x=p),!1===x)for(;(d=++p&&d&&d[g]||(x=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++x||(y&&(f=d[M]||(d[M]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),c[e]=[I,x]),d!==t)););return(x-=i)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,n){var i,o=w.pseudos[e]||w.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[M]?o(n):o.length>1?(i=[e,e,"",n],w.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)r=K(e,i[a]),e[r]=!(t[r]=i[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=S(e.replace(oe,"$1"));return i[M]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(ve,ye),function(t){return(t.textContent||t.innerText||T(t)).indexOf(e)>-1}}),lang:r(function(e){return ce.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ve,ye).toLowerCase(),function(t){var n;do{if(n=P?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===q},focus:function(e){return e===L.activeElement&&(!L.hasFocus||L.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:s(!1),disabled:s(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return pe.test(e.nodeName)},input:function(e){return de.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:u(function(){return[0]}),last:u(function(e,t){return[t-1]}),eq:u(function(e,t,n){return[n<0?n+t:n]}),even:u(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:u(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:u(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:u(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},w.pseudos.nth=w.pseudos.eq;for(x in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[x]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(x);for(x in{submit:!0,reset:!0})w.pseudos[x]=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}(x);return c.prototype=w.filters=w.pseudos,w.setFilters=new c,C=t.tokenize=function(e,n){var r,i,o,a,s,u,l,c=B[e+" "];if(c)return n?0:c.slice(0);for(s=e,u=[],l=w.preFilter;s;){r&&!(i=ae.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),r=!1,(i=se.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(oe," ")}),s=s.slice(r.length));for(a in w.filter)!(i=fe[a].exec(s))||l[a]&&!(i=l[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):B(e,u).slice(0)},S=t.compile=function(e,t){var n,r=[],i=[],o=z[e+" "];if(!o){for(t||(t=C(e)),n=t.length;n--;)o=v(t[n]),o[M]?r.push(o):i.push(o);o=z(e,y(i,r)),o.selector=e}return o},E=t.select=function(e,t,n,r){var i,o,a,s,u,c="function"==typeof e&&e,d=!r&&C(e=c.selector||e);if(n=n||[],1===d.length){if(o=d[0]=d[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&9===t.nodeType&&P&&w.relative[o[1].type]){if(!(t=(w.find.ID(a.matches[0].replace(ve,ye),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=fe.needsContext.test(e)?0:o.length;i--&&(a=o[i],!w.relative[s=a.type]);)if((u=w.find[s])&&(r=u(a.matches[0].replace(ve,ye),me.test(o[0].type)&&l(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&f(o)))return Q.apply(n,r),n;break}}return(c||S(e,d))(r,t,!P,n,!t||me.test(e)&&l(t.parentNode)||t),n},b.sortStable=M.split("").sort(X).join("")===M,b.detectDuplicates=!!D,A(),b.sortDetached=i(function(e){return 1&e.compareDocumentPosition(L.createElement("fieldset"))}),i(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),b.attributes&&i(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(Z,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(o);xe.find=Ce,xe.expr=Ce.selectors,xe.expr[":"]=xe.expr.pseudos,xe.uniqueSort=xe.unique=Ce.uniqueSort,xe.text=Ce.getText,xe.isXMLDoc=Ce.isXML,xe.contains=Ce.contains,xe.escapeSelector=Ce.escape;var Se=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&xe(e).is(n))break;r.push(e)}return r},Ee=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},je=xe.expr.match.needsContext,Ne=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,De=/^.[^:#\[\.,]*$/;xe.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?xe.find.matchesSelector(r,e)?[r]:[]:xe.find.matches(e,xe.grep(t,function(e){return 1===e.nodeType}))},xe.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(xe(e).filter(function(){for(t=0;t<r;t++)if(xe.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)xe.find(e,i[t],n);return r>1?xe.uniqueSort(n):n},filter:function(e){return this.pushStack(c(this,e||[],!1))},not:function(e){return this.pushStack(c(this,e||[],!0))},is:function(e){return!!c(this,"string"==typeof e&&je.test(e)?xe(e):e||[],!1).length}});var Ae,Le=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(xe.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||Ae,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Le.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof xe?t[0]:t,xe.merge(this,xe.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:se,!0)),Ne.test(r[1])&&xe.isPlainObject(t))for(r in t)xe.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return i=se.getElementById(r[2]),i&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):xe.isFunction(e)?void 0!==n.ready?n.ready(e):e(xe):xe.makeArray(e,this)}).prototype=xe.fn,Ae=xe(se);var qe=/^(?:parents|prev(?:Until|All))/,Pe={children:!0,contents:!0,next:!0,prev:!0};xe.fn.extend({has:function(e){var t=xe(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(xe.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&xe(e);if(!je.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&xe.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?xe.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?de.call(xe(e),this[0]):de.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(xe.uniqueSort(xe.merge(this.get(),xe(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),xe.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Se(e,"parentNode")},parentsUntil:function(e,t,n){return Se(e,"parentNode",n)},next:function(e){return f(e,"nextSibling")},prev:function(e){return f(e,"previousSibling")},nextAll:function(e){return Se(e,"nextSibling")},prevAll:function(e){return Se(e,"previousSibling")},nextUntil:function(e,t,n){return Se(e,"nextSibling",n)},prevUntil:function(e,t,n){return Se(e,"previousSibling",n)},siblings:function(e){return Ee((e.parentNode||{}).firstChild,e)},children:function(e){return Ee(e.firstChild)},contents:function(e){return l(e,"iframe")?e.contentDocument:(l(e,"template")&&(e=e.content||e),xe.merge([],e.childNodes))}},function(e,t){xe.fn[e]=function(n,r){var i=xe.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=xe.filter(r,i)),this.length>1&&(Pe[e]||xe.uniqueSort(i),qe.test(e)&&i.reverse()),this.pushStack(i)}});var Oe=/[^\x20\t\r\n\f]+/g;xe.Callbacks=function(e){e="string"==typeof e?d(e):xe.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},l={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){xe.each(n,function(n,r){xe.isFunction(r)?e.unique&&l.has(r)||o.push(r):r&&r.length&&"string"!==xe.type(r)&&t(r)})}(arguments),n&&!t&&u()),this},remove:function(){return xe.each(arguments,function(e,t){for(var n;(n=xe.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?xe.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=n||[],n=[e,n.slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},xe.extend({Deferred:function(e){var t=[["notify","progress",xe.Callbacks("memory"),xe.Callbacks("memory"),2],["resolve","done",xe.Callbacks("once memory"),xe.Callbacks("once memory"),0,"resolved"],["reject","fail",xe.Callbacks("once memory"),xe.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return xe.Deferred(function(n){xe.each(t,function(t,r){var i=xe.isFunction(e[r[4]])&&e[r[4]];a[r[1]](function(){var e=i&&i.apply(this,arguments);e&&xe.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(e,n,r){function a(e,t,n,r){return function(){var u=this,l=arguments,c=function(){var o,c;if(!(e<s)){if((o=n.apply(u,l))===t.promise())throw new TypeError("Thenable self-resolution");c=o&&("object"===(void 0===o?"undefined":i(o))||"function"==typeof o)&&o.then,xe.isFunction(c)?r?c.call(o,a(s,t,p,r),a(s,t,h,r)):(s++,c.call(o,a(s,t,p,r),a(s,t,h,r),a(s,t,p,t.notifyWith))):(n!==p&&(u=void 0,l=[o]),(r||t.resolveWith)(u,l))}},f=r?c:function(){try{c()}catch(r){xe.Deferred.exceptionHook&&xe.Deferred.exceptionHook(r,f.stackTrace),e+1>=s&&(n!==h&&(u=void 0,l=[r]),t.rejectWith(u,l))}};e?f():(xe.Deferred.getStackHook&&(f.stackTrace=xe.Deferred.getStackHook()),o.setTimeout(f))}}var s=0;return xe.Deferred(function(i){t[0][3].add(a(0,i,xe.isFunction(r)?r:p,i.notifyWith)),t[1][3].add(a(0,i,xe.isFunction(e)?e:p)),t[2][3].add(a(0,i,xe.isFunction(n)?n:h))}).promise()},promise:function(e){return null!=e?xe.extend(e,r):r}},a={};return xe.each(t,function(e,i){var o=i[2],s=i[5];r[i[1]]=o.add,s&&o.add(function(){n=s},t[3-e][2].disable,t[0][2].lock),o.add(i[3].fire),a[i[0]]=function(){return a[i[0]+"With"](this===a?void 0:this,arguments),this},a[i[0]+"With"]=o.fireWith}),r.promise(a),e&&e.call(a,a),a},when:function(e){var t=arguments.length,n=t,r=Array(n),i=le.call(arguments),o=xe.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?le.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(g(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||xe.isFunction(i[n]&&i[n].then)))return o.then();for(;n--;)g(i[n],a(n),o.reject);return o.promise()}});var He=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;xe.Deferred.exceptionHook=function(e,t){o.console&&o.console.warn&&e&&He.test(e.name)&&o.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},xe.readyException=function(e){o.setTimeout(function(){throw e})};var _e=xe.Deferred();xe.fn.ready=function(e){return _e.then(e).catch(function(e){xe.readyException(e)}),this},xe.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--xe.readyWait:xe.isReady)||(xe.isReady=!0,!0!==e&&--xe.readyWait>0||_e.resolveWith(se,[xe]))}}),xe.ready.then=_e.then,"complete"===se.readyState||"loading"!==se.readyState&&!se.documentElement.doScroll?o.setTimeout(xe.ready):(se.addEventListener("DOMContentLoaded",m),o.addEventListener("load",m));var Fe=function e(t,n,r,i,o,a,s){var u=0,l=t.length,c=null==r;if("object"===xe.type(r)){o=!0;for(u in r)e(t,n,u,r[u],!0,a,s)}else if(void 0!==i&&(o=!0,xe.isFunction(i)||(s=!0),c&&(s?(n.call(t,i),n=null):(c=n,n=function(e,t,n){return c.call(xe(e),n)})),n))for(;u<l;u++)n(t[u],r,s?i:i.call(t[u],u,n(t[u],r)));return o?t:c?n.call(t):l?n(t[0],r):a},Me=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};v.uid=1,v.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Me(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[xe.camelCase(t)]=n;else for(r in t)i[xe.camelCase(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][xe.camelCase(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){Array.isArray(t)?t=t.map(xe.camelCase):(t=xe.camelCase(t),t=t in r?[t]:t.match(Oe)||[]),n=t.length;for(;n--;)delete r[t[n]]}(void 0===t||xe.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!xe.isEmptyObject(t)}};var Re=new v,Ie=new v,We=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,$e=/[A-Z]/g;xe.extend({hasData:function(e){return Ie.hasData(e)||Re.hasData(e)},data:function(e,t,n){return Ie.access(e,t,n)},removeData:function(e,t){Ie.remove(e,t)},_data:function(e,t,n){return Re.access(e,t,n)},_removeData:function(e,t){Re.remove(e,t)}}),xe.fn.extend({data:function(e,t){var n,r,o,a=this[0],s=a&&a.attributes;if(void 0===e){if(this.length&&(o=Ie.get(a),1===a.nodeType&&!Re.get(a,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&(r=s[n].name,0===r.indexOf("data-")&&(r=xe.camelCase(r.slice(5)),x(a,r,o[r])));Re.set(a,"hasDataAttrs",!0)}return o}return"object"===(void 0===e?"undefined":i(e))?this.each(function(){Ie.set(this,e)}):Fe(this,function(t){var n;if(a&&void 0===t){if(void 0!==(n=Ie.get(a,e)))return n;if(void 0!==(n=x(a,e)))return n}else this.each(function(){Ie.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Ie.remove(this,e)})}}),xe.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Re.get(e,t),n&&(!r||Array.isArray(n)?r=Re.access(e,t,xe.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=xe.queue(e,t),r=n.length,i=n.shift(),o=xe._queueHooks(e,t),a=function(){xe.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Re.get(e,n)||Re.access(e,n,{empty:xe.Callbacks("once memory").add(function(){Re.remove(e,[t+"queue",n])})})}}),xe.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?xe.queue(this[0],e):void 0===t?this:this.each(function(){var n=xe.queue(this,e,t);xe._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&xe.dequeue(this,e)})},dequeue:function(e){return this.each(function(){xe.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=xe.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Re.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var Be=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ze=new RegExp("^(?:([+-])=|)("+Be+")([a-z%]*)$","i"),Xe=["Top","Right","Bottom","Left"],Ue=function(e,t){return e=t||e,"none"===e.style.display||""===e.style.display&&xe.contains(e.ownerDocument,e)&&"none"===xe.css(e,"display")},Ve=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i},Ge={};xe.fn.extend({show:function(){return T(this,!0)},hide:function(){return T(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Ue(this)?xe(this).show():xe(this).hide()})}});var Ye=/^(?:checkbox|radio)$/i,Qe=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,Je=/^$|\/(?:java|ecma)script/i,Ke={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Ke.optgroup=Ke.option,Ke.tbody=Ke.tfoot=Ke.colgroup=Ke.caption=Ke.thead,Ke.th=Ke.td;var Ze=/<|&#?\w+;/;!function(){var e=se.createDocumentFragment(),t=e.appendChild(se.createElement("div")),n=se.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),ye.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",ye.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var et=se.documentElement,tt=/^key/,nt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,rt=/^([^.]*)(?:\.(.+)|)/;xe.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,p,h,g,m=Re.get(e);if(m)for(n.handler&&(o=n,n=o.handler,i=o.selector),i&&xe.find.matchesSelector(et,i),n.guid||(n.guid=xe.guid++),(u=m.events)||(u=m.events={}),(a=m.handle)||(a=m.handle=function(t){return void 0!==xe&&xe.event.triggered!==t.type?xe.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Oe)||[""],l=t.length;l--;)s=rt.exec(t[l])||[],p=g=s[1],h=(s[2]||"").split(".").sort(),p&&(f=xe.event.special[p]||{},p=(i?f.delegateType:f.bindType)||p,f=xe.event.special[p]||{},c=xe.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&xe.expr.match.needsContext.test(i),namespace:h.join(".")},o),(d=u[p])||(d=u[p]=[],d.delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),xe.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,p,h,g,m=Re.hasData(e)&&Re.get(e);if(m&&(u=m.events)){for(t=(t||"").match(Oe)||[""],l=t.length;l--;)if(s=rt.exec(t[l])||[],p=g=s[1],h=(s[2]||"").split(".").sort(),p){for(f=xe.event.special[p]||{},p=(r?f.delegateType:f.bindType)||p,d=u[p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)c=d[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,f.remove&&f.remove.call(e,c));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,h,m.handle)||xe.removeEvent(e,p,m.handle),delete u[p])}else for(p in u)xe.event.remove(e,p+t[l],n,r,!0);xe.isEmptyObject(u)&&Re.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=xe.event.fix(e),u=new Array(arguments.length),l=(Re.get(this,"events")||{})[s.type]||[],c=xe.event.special[s.type]||{};for(u[0]=s,t=1;t<arguments.length;t++)u[t]=arguments[t];if(s.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,s)){for(a=xe.event.handlers.call(this,s,l),t=0;(i=a[t++])&&!s.isPropagationStopped();)for(s.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,void 0!==(r=((xe.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,u))&&!1===(s.result=r)&&(s.preventDefault(),s.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)r=t[n],i=r.selector+" ",void 0===a[i]&&(a[i]=r.needsContext?xe(i,this).index(l)>-1:xe.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(xe.Event.prototype,e,{enumerable:!0,configurable:!0,get:xe.isFunction(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[xe.expando]?e:new xe.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==N()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===N()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&l(this,"input"))return this.click(),!1},_default:function(e){return l(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},xe.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},xe.Event=function(e,t){if(!(this instanceof xe.Event))return new xe.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?E:j,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&xe.extend(this,t),this.timeStamp=e&&e.timeStamp||xe.now(),this[xe.expando]=!0},xe.Event.prototype={constructor:xe.Event,isDefaultPrevented:j,isPropagationStopped:j,isImmediatePropagationStopped:j,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=E,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=E,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=E,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},xe.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&tt.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&nt.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},xe.event.addProp),xe.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){xe.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||xe.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),xe.fn.extend({on:function(e,t,n,r){return D(this,e,t,n,r)},one:function(e,t,n,r){return D(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,xe(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"===(void 0===e?"undefined":i(e))){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=j),this.each(function(){xe.event.remove(this,e,n,t)})}});var it=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ot=/<script|<style|<link/i,at=/checked\s*(?:[^=]|=\s*.checked.)/i,st=/^true\/(.*)/,ut=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;xe.extend({htmlPrefilter:function(e){return e.replace(it,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=xe.contains(e.ownerDocument,e);if(!(ye.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||xe.isXMLDoc(e)))for(a=k(s),o=k(e),r=0,i=o.length;r<i;r++)O(o[r],a[r]);if(t)if(n)for(o=o||k(e),a=a||k(s),r=0,i=o.length;r<i;r++)P(o[r],a[r]);else P(e,s);return a=k(s,"script"),a.length>0&&C(a,!u&&k(e,"script")),s},cleanData:function(e){for(var t,n,r,i=xe.event.special,o=0;void 0!==(n=e[o]);o++)if(Me(n)){if(t=n[Re.expando]){if(t.events)for(r in t.events)i[r]?xe.event.remove(n,r):xe.removeEvent(n,r,t.handle);n[Re.expando]=void 0}n[Ie.expando]&&(n[Ie.expando]=void 0)}}}),xe.fn.extend({detach:function(e){return _(this,e,!0)},remove:function(e){return _(this,e)},text:function(e){return Fe(this,function(e){return void 0===e?xe.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return H(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){A(this,e).appendChild(e)}})},prepend:function(){return H(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=A(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return H(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return H(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(xe.cleanData(k(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return xe.clone(this,e,t)})},html:function(e){return Fe(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ot.test(e)&&!Ke[(Qe.exec(e)||["",""])[1].toLowerCase()]){e=xe.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(xe.cleanData(k(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return H(this,arguments,function(t){var n=this.parentNode;xe.inArray(this,e)<0&&(xe.cleanData(k(this)),n&&n.replaceChild(t,this))},e)}}),xe.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){xe.fn[e]=function(e){for(var n,r=[],i=xe(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),xe(i[a])[t](n),fe.apply(r,n.get());return this.pushStack(r)}});var lt=/^margin/,ct=new RegExp("^("+Be+")(?!px)[a-z%]+$","i"),ft=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=o),t.getComputedStyle(e)};!function(){function e(){if(s){s.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",s.innerHTML="",et.appendChild(a);var e=o.getComputedStyle(s);t="1%"!==e.top,i="2px"===e.marginLeft,n="4px"===e.width,s.style.marginRight="50%",r="4px"===e.marginRight,et.removeChild(a),s=null}}var t,n,r,i,a=se.createElement("div"),s=se.createElement("div");s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",ye.clearCloneStyle="content-box"===s.style.backgroundClip,a.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",a.appendChild(s),xe.extend(ye,{pixelPosition:function(){return e(),t},boxSizingReliable:function(){return e(),n},pixelMarginRight:function(){return e(),r},reliableMarginLeft:function(){return e(),i}}))}();var dt=/^(none|table(?!-c[ea]).+)/,pt=/^--/,ht={position:"absolute",visibility:"hidden",display:"block"},gt={letterSpacing:"0",fontWeight:"400"},mt=["Webkit","Moz","ms"],vt=se.createElement("div").style;xe.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=F(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,u=xe.camelCase(t),l=pt.test(t),c=e.style;if(l||(t=I(u)),s=xe.cssHooks[t]||xe.cssHooks[u],void 0===n)return s&&"get"in s&&void 0!==(o=s.get(e,!1,r))?o:c[t];a=void 0===n?"undefined":i(n),"string"===a&&(o=ze.exec(n))&&o[1]&&(n=b(e,t,o),a="number"),null!=n&&n===n&&("number"===a&&(n+=o&&o[3]||(xe.cssNumber[u]?"":"px")),ye.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,a,s=xe.camelCase(t);return pt.test(t)||(t=I(s)),a=xe.cssHooks[t]||xe.cssHooks[s],a&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=F(e,t,r)),"normal"===i&&t in gt&&(i=gt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),xe.each(["height","width"],function(e,t){xe.cssHooks[t]={get:function(e,n,r){if(n)return!dt.test(xe.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?B(e,t,r):Ve(e,ht,function(){return B(e,t,r)})},set:function(e,n,r){var i,o=r&&ft(e),a=r&&$(e,t,r,"border-box"===xe.css(e,"boxSizing",!1,o),o);return a&&(i=ze.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=xe.css(e,t)),W(e,n,a)}}}),xe.cssHooks.marginLeft=M(ye.reliableMarginLeft,function(e,t){if(t)return(parseFloat(F(e,"marginLeft"))||e.getBoundingClientRect().left-Ve(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),xe.each({margin:"",padding:"",border:"Width"},function(e,t){xe.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+Xe[r]+t]=o[r]||o[r-2]||o[0];return i}},lt.test(e)||(xe.cssHooks[e+t].set=W)}),xe.fn.extend({css:function(e,t){return Fe(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=ft(e),i=t.length;a<i;a++)o[t[a]]=xe.css(e,t[a],!1,r);return o}return void 0!==n?xe.style(e,t,n):xe.css(e,t)},e,t,arguments.length>1)}}),xe.Tween=z,z.prototype={constructor:z,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||xe.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(xe.cssNumber[n]?"":"px")},cur:function(){var e=z.propHooks[this.prop];return e&&e.get?e.get(this):z.propHooks._default.get(this)},run:function(e){var t,n=z.propHooks[this.prop];return this.options.duration?this.pos=t=xe.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):z.propHooks._default.set(this),this}},z.prototype.init.prototype=z.prototype,z.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=xe.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){xe.fx.step[e.prop]?xe.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[xe.cssProps[e.prop]]&&!xe.cssHooks[e.prop]?e.elem[e.prop]=e.now:xe.style(e.elem,e.prop,e.now+e.unit)}}},z.propHooks.scrollTop=z.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},xe.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},xe.fx=z.prototype.init,xe.fx.step={};var yt,xt,bt=/^(?:toggle|show|hide)$/,wt=/queueHooks$/;xe.Animation=xe.extend(J,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return b(n.elem,e,ze.exec(t),n),n}]},tweener:function(e,t){xe.isFunction(e)?(t=e,e=["*"]):e=e.match(Oe);for(var n,r=0,i=e.length;r<i;r++)n=e[r],J.tweeners[n]=J.tweeners[n]||[],J.tweeners[n].unshift(t)},prefilters:[Y],prefilter:function(e,t){t?J.prefilters.unshift(e):J.prefilters.push(e)}}),xe.speed=function(e,t,n){var r=e&&"object"===(void 0===e?"undefined":i(e))?xe.extend({},e):{complete:n||!n&&t||xe.isFunction(e)&&e,duration:e,easing:n&&t||t&&!xe.isFunction(t)&&t};return xe.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in xe.fx.speeds?r.duration=xe.fx.speeds[r.duration]:r.duration=xe.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){xe.isFunction(r.old)&&r.old.call(this),r.queue&&xe.dequeue(this,r.queue)},r},xe.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Ue).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=xe.isEmptyObject(e),o=xe.speed(t,n,r),a=function(){var t=J(this,xe.extend({},e),o);(i||Re.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=xe.timers,a=Re.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&wt.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||xe.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=Re.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=xe.timers,a=r?r.length:0;for(n.finish=!0,xe.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),xe.each(["toggle","show","hide"],function(e,t){var n=xe.fn[t];xe.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(V(t,!0),e,r,i)}}),xe.each({slideDown:V("show"),slideUp:V("hide"),slideToggle:V("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){xe.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),xe.timers=[],xe.fx.tick=function(){var e,t=0,n=xe.timers;for(yt=xe.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||xe.fx.stop(),yt=void 0},xe.fx.timer=function(e){xe.timers.push(e),xe.fx.start()},xe.fx.interval=13,xe.fx.start=function(){xt||(xt=!0,X())},xe.fx.stop=function(){xt=null},xe.fx.speeds={slow:600,fast:200,_default:400},xe.fn.delay=function(e,t){return e=xe.fx?xe.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=o.setTimeout(t,e);n.stop=function(){o.clearTimeout(r)}})},function(){var e=se.createElement("input"),t=se.createElement("select"),n=t.appendChild(se.createElement("option"));e.type="checkbox",ye.checkOn=""!==e.value,ye.optSelected=n.selected,e=se.createElement("input"),e.value="t",e.type="radio",ye.radioValue="t"===e.value}();var Tt,kt=xe.expr.attrHandle;xe.fn.extend({attr:function(e,t){return Fe(this,xe.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){xe.removeAttr(this,e)})}}),xe.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?xe.prop(e,t,n):(1===o&&xe.isXMLDoc(e)||(i=xe.attrHooks[t.toLowerCase()]||(xe.expr.match.bool.test(t)?Tt:void 0)),void 0!==n?null===n?void xe.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:(r=xe.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!ye.radioValue&&"radio"===t&&l(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(Oe);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),Tt={set:function(e,t,n){return!1===t?xe.removeAttr(e,n):e.setAttribute(n,n),n}},xe.each(xe.expr.match.bool.source.match(/\w+/g),function(e,t){var n=kt[t]||xe.find.attr;kt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=kt[a],kt[a]=i,i=null!=n(e,t,r)?a:null,kt[a]=o),i}});var Ct=/^(?:input|select|textarea|button)$/i,St=/^(?:a|area)$/i;xe.fn.extend({prop:function(e,t){return Fe(this,xe.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[xe.propFix[e]||e]})}}),xe.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&xe.isXMLDoc(e)||(t=xe.propFix[t]||t,i=xe.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=xe.find.attr(e,"tabindex");return t?parseInt(t,10):Ct.test(e.nodeName)||St.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ye.optSelected||(xe.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),xe.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){xe.propFix[this.toLowerCase()]=this}),xe.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(xe.isFunction(e))return this.each(function(t){xe(this).addClass(e.call(this,t,Z(this)))});if("string"==typeof e&&e)for(t=e.match(Oe)||[];n=this[u++];)if(i=Z(n),r=1===n.nodeType&&" "+K(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");s=K(r),i!==s&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(xe.isFunction(e))return this.each(function(t){xe(this).removeClass(e.call(this,t,Z(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(Oe)||[];n=this[u++];)if(i=Z(n),r=1===n.nodeType&&" "+K(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");s=K(r),i!==s&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=void 0===e?"undefined":i(e);return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):xe.isFunction(e)?this.each(function(n){xe(this).toggleClass(e.call(this,n,Z(this),t),t)}):this.each(function(){var t,r,i,o;if("string"===n)for(r=0,i=xe(this),o=e.match(Oe)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||(t=Z(this),t&&Re.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Re.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+K(Z(n))+" ").indexOf(t)>-1)return!0;return!1}});var Et=/\r/g;xe.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=xe.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,xe(this).val()):e,null==i?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=xe.map(i,function(e){return null==e?"":e+""})),(t=xe.valHooks[this.type]||xe.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return(t=xe.valHooks[i.type]||xe.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(Et,""):null==n?"":n)}}}),xe.extend({valHooks:{option:{get:function(e){var t=xe.find.attr(e,"value");return null!=t?t:K(xe.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(n=i[r],(n.selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!l(n.parentNode,"optgroup"))){if(t=xe(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=xe.makeArray(t),a=i.length;a--;)r=i[a],(r.selected=xe.inArray(xe.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),xe.each(["radio","checkbox"],function(){xe.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=xe.inArray(xe(e).val(),t)>-1}},ye.checkOn||(xe.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var jt=/^(?:focusinfocus|focusoutblur)$/;xe.extend(xe.event,{trigger:function(e,t,n,r){var a,s,u,l,c,f,d,p=[n||se],h=ge.call(e,"type")?e.type:e,g=ge.call(e,"namespace")?e.namespace.split("."):[];if(s=u=n=n||se,3!==n.nodeType&&8!==n.nodeType&&!jt.test(h+xe.event.triggered)&&(h.indexOf(".")>-1&&(g=h.split("."),h=g.shift(),g.sort()),c=h.indexOf(":")<0&&"on"+h,e=e[xe.expando]?e:new xe.Event(h,"object"===(void 0===e?"undefined":i(e))&&e),e.isTrigger=r?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:xe.makeArray(t,[e]),d=xe.event.special[h]||{},r||!d.trigger||!1!==d.trigger.apply(n,t))){if(!r&&!d.noBubble&&!xe.isWindow(n)){for(l=d.delegateType||h,jt.test(l+h)||(s=s.parentNode);s;s=s.parentNode)p.push(s),u=s;u===(n.ownerDocument||se)&&p.push(u.defaultView||u.parentWindow||o)}for(a=0;(s=p[a++])&&!e.isPropagationStopped();)e.type=a>1?l:d.bindType||h,f=(Re.get(s,"events")||{})[e.type]&&Re.get(s,"handle"),f&&f.apply(s,t),(f=c&&s[c])&&f.apply&&Me(s)&&(e.result=f.apply(s,t),!1===e.result&&e.preventDefault());return e.type=h,r||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(p.pop(),t)||!Me(n)||c&&xe.isFunction(n[h])&&!xe.isWindow(n)&&(u=n[c],u&&(n[c]=null),xe.event.triggered=h,n[h](),xe.event.triggered=void 0,u&&(n[c]=u)),e.result}},simulate:function(e,t,n){var r=xe.extend(new xe.Event,n,{type:e,isSimulated:!0});xe.event.trigger(r,null,t)}}),xe.fn.extend({trigger:function(e,t){return this.each(function(){xe.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return xe.event.trigger(e,t,n,!0)}}),xe.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){xe.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),xe.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),ye.focusin="onfocusin"in o,ye.focusin||xe.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){xe.event.simulate(t,e.target,xe.event.fix(e))};xe.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=Re.access(r,t);i||r.addEventListener(e,n,!0),Re.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=Re.access(r,t)-1;i?Re.access(r,t,i):(r.removeEventListener(e,n,!0),Re.remove(r,t))}}});var Nt=o.location,Dt=xe.now(),At=/\?/;xe.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new o.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||xe.error("Invalid XML: "+e),t};var Lt=/\[\]$/,qt=/\r?\n/g,Pt=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;xe.param=function(e,t){var n,r=[],i=function(e,t){var n=xe.isFunction(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!xe.isPlainObject(e))xe.each(e,function(){i(this.name,this.value)});else for(n in e)ee(n,e[n],t,i);return r.join("&")},xe.fn.extend({serialize:function(){return xe.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=xe.prop(this,"elements");return e?xe.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!xe(this).is(":disabled")&&Ot.test(this.nodeName)&&!Pt.test(e)&&(this.checked||!Ye.test(e))}).map(function(e,t){var n=xe(this).val();return null==n?null:Array.isArray(n)?xe.map(n,function(e){return{name:t.name,value:e.replace(qt,"\r\n")}}):{name:t.name,value:n.replace(qt,"\r\n")}}).get()}});var Ht=/%20/g,_t=/#.*$/,Ft=/([?&])_=[^&]*/,Mt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Rt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,It=/^(?:GET|HEAD)$/,Wt=/^\/\//,$t={},Bt={},zt="*/".concat("*"),Xt=se.createElement("a");Xt.href=Nt.href,xe.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Nt.href,type:"GET",isLocal:Rt.test(Nt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":xe.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?re(re(e,xe.ajaxSettings),t):re(xe.ajaxSettings,e)},ajaxPrefilter:te($t),ajaxTransport:te(Bt),ajax:function(e,t){function n(e,t,n,i){var u,c,p,h,w,T=t;f||(f=!0,l&&o.clearTimeout(l),r=void 0,s=i||"",C.readyState=e>0?4:0,u=e>=200&&e<300||304===e,n&&(h=ie(g,C,n)),h=oe(g,h,C,u),u?(g.ifModified&&(w=C.getResponseHeader("Last-Modified"),w&&(xe.lastModified[a]=w),(w=C.getResponseHeader("etag"))&&(xe.etag[a]=w)),204===e||"HEAD"===g.type?T="nocontent":304===e?T="notmodified":(T=h.state,c=h.data,p=h.error,u=!p)):(p=T,!e&&T||(T="error",e<0&&(e=0))),C.status=e,C.statusText=(t||T)+"",u?y.resolveWith(m,[c,T,C]):y.rejectWith(m,[C,T,p]),C.statusCode(b),b=void 0,d&&v.trigger(u?"ajaxSuccess":"ajaxError",[C,g,u?c:p]),x.fireWith(m,[C,T]),d&&(v.trigger("ajaxComplete",[C,g]),--xe.active||xe.event.trigger("ajaxStop")))}"object"===(void 0===e?"undefined":i(e))&&(t=e,e=void 0),t=t||{};var r,a,s,u,l,c,f,d,p,h,g=xe.ajaxSetup({},t),m=g.context||g,v=g.context&&(m.nodeType||m.jquery)?xe(m):xe.event,y=xe.Deferred(),x=xe.Callbacks("once memory"),b=g.statusCode||{},w={},T={},k="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(f){if(!u)for(u={};t=Mt.exec(s);)u[t[1].toLowerCase()]=t[2];t=u[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return f?s:null},setRequestHeader:function(e,t){return null==f&&(e=T[e.toLowerCase()]=T[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==f&&(g.mimeType=e),this},statusCode:function(e){var t;if(e)if(f)C.always(e[C.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||k;return r&&r.abort(t),n(0,t),this}};if(y.promise(C),g.url=((e||g.url||Nt.href)+"").replace(Wt,Nt.protocol+"//"),g.type=t.method||t.type||g.method||g.type,g.dataTypes=(g.dataType||"*").toLowerCase().match(Oe)||[""],null==g.crossDomain){c=se.createElement("a");try{c.href=g.url,c.href=c.href,g.crossDomain=Xt.protocol+"//"+Xt.host!=c.protocol+"//"+c.host}catch(e){g.crossDomain=!0}}if(g.data&&g.processData&&"string"!=typeof g.data&&(g.data=xe.param(g.data,g.traditional)),ne($t,g,t,C),f)return C;d=xe.event&&g.global,d&&0==xe.active++&&xe.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!It.test(g.type),a=g.url.replace(_t,""),g.hasContent?g.data&&g.processData&&0===(g.contentType||"").indexOf("application/x-www-form-urlencoded")&&(g.data=g.data.replace(Ht,"+")):(h=g.url.slice(a.length),g.data&&(a+=(At.test(a)?"&":"?")+g.data,delete g.data),!1===g.cache&&(a=a.replace(Ft,"$1"),h=(At.test(a)?"&":"?")+"_="+Dt+++h),g.url=a+h),g.ifModified&&(xe.lastModified[a]&&C.setRequestHeader("If-Modified-Since",xe.lastModified[a]),xe.etag[a]&&C.setRequestHeader("If-None-Match",xe.etag[a])),(g.data&&g.hasContent&&!1!==g.contentType||t.contentType)&&C.setRequestHeader("Content-Type",g.contentType),C.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+zt+"; q=0.01":""):g.accepts["*"]);for(p in g.headers)C.setRequestHeader(p,g.headers[p]);if(g.beforeSend&&(!1===g.beforeSend.call(m,C,g)||f))return C.abort();if(k="abort",x.add(g.complete),C.done(g.success),C.fail(g.error),r=ne(Bt,g,t,C)){if(C.readyState=1,d&&v.trigger("ajaxSend",[C,g]),f)return C;g.async&&g.timeout>0&&(l=o.setTimeout(function(){C.abort("timeout")},g.timeout));try{f=!1,r.send(w,n)}catch(e){if(f)throw e;n(-1,e)}}else n(-1,"No Transport");return C},getJSON:function(e,t,n){return xe.get(e,t,n,"json")},getScript:function(e,t){return xe.get(e,void 0,t,"script")}}),xe.each(["get","post"],function(e,t){xe[t]=function(e,n,r,i){return xe.isFunction(n)&&(i=i||r,r=n,n=void 0),xe.ajax(xe.extend({url:e,type:t,dataType:i,data:n,success:r},xe.isPlainObject(e)&&e))}}),xe._evalUrl=function(e){return xe.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},xe.fn.extend({wrapAll:function(e){var t;return this[0]&&(xe.isFunction(e)&&(e=e.call(this[0])),t=xe(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return xe.isFunction(e)?this.each(function(t){xe(this).wrapInner(e.call(this,t))}):this.each(function(){var t=xe(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=xe.isFunction(e);return this.each(function(n){xe(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){xe(this).replaceWith(this.childNodes)}),this}}),xe.expr.pseudos.hidden=function(e){return!xe.expr.pseudos.visible(e)},xe.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},xe.ajaxSettings.xhr=function(){try{return new o.XMLHttpRequest}catch(e){}};var Ut={0:200,1223:204},Vt=xe.ajaxSettings.xhr();ye.cors=!!Vt&&"withCredentials"in Vt,ye.ajax=Vt=!!Vt,xe.ajaxTransport(function(e){var t,n;if(ye.cors||Vt&&!e.crossDomain)return{send:function(r,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(a in r)s.setRequestHeader(a,r[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Ut[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&o.setTimeout(function(){t&&n()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),xe.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),xe.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return xe.globalEval(e),e}}}),xe.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),xe.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,i){t=xe("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),se.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;xe.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||xe.expando+"_"+Dt++;return this[e]=!0,e}}),xe.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,a,s=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=xe.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return a||xe.error(r+" was not called"),a[0]},e.dataTypes[0]="json",i=o[r],o[r]=function(){a=arguments},n.always(function(){void 0===i?xe(o).removeProp(r):o[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),a&&xe.isFunction(i)&&i(a[0]),a=i=void 0}),"script"}),ye.createHTMLDocument=function(){var e=se.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),xe.parseHTML=function(e,t,n){if("string"!=typeof e)return[];"boolean"==typeof t&&(n=t,t=!1);var r,i,o;return t||(ye.createHTMLDocument?(t=se.implementation.createHTMLDocument(""),r=t.createElement("base"),r.href=se.location.href,t.head.appendChild(r)):t=se),i=Ne.exec(e),o=!n&&[],i?[t.createElement(i[1])]:(i=S([e],t,o),o&&o.length&&xe(o).remove(),xe.merge([],i.childNodes))},xe.fn.load=function(e,t,n){var r,o,a,s=this,u=e.indexOf(" ");return u>-1&&(r=K(e.slice(u)),e=e.slice(0,u)),xe.isFunction(t)?(n=t,t=void 0):t&&"object"===(void 0===t?"undefined":i(t))&&(o="POST"),s.length>0&&xe.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){a=arguments,s.html(r?xe("<div>").append(xe.parseHTML(e)).find(r):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,a||[e.responseText,t,e])})}),this},xe.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){xe.fn[t]=function(e){return this.on(t,e)}}),xe.expr.pseudos.animated=function(e){return xe.grep(xe.timers,function(t){return e===t.elem}).length},xe.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l,c=xe.css(e,"position"),f=xe(e),d={};"static"===c&&(e.style.position="relative"),s=f.offset(),o=xe.css(e,"top"),u=xe.css(e,"left"),l=("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1,l?(r=f.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),xe.isFunction(t)&&(t=t.call(e,n,xe.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):f.css(d)}},xe.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){xe.offset.setOffset(this,e,t)});var t,n,r,i,o=this[0];if(o)return o.getClientRects().length?(r=o.getBoundingClientRect(),t=o.ownerDocument,n=t.documentElement,i=t.defaultView,{top:r.top+i.pageYOffset-n.clientTop,left:r.left+i.pageXOffset-n.clientLeft}):{top:0,left:0}},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===xe.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),l(e[0],"html")||(r=e.offset()),r={top:r.top+xe.css(e[0],"borderTopWidth",!0),left:r.left+xe.css(e[0],"borderLeftWidth",!0)}),{top:t.top-r.top-xe.css(n,"marginTop",!0),left:t.left-r.left-xe.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===xe.css(e,"position");)e=e.offsetParent;return e||et})}}),xe.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;xe.fn[e]=function(r){return Fe(this,function(e,r,i){var o;if(xe.isWindow(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i},e,r,arguments.length)}}),xe.each(["top","left"],function(e,t){xe.cssHooks[t]=M(ye.pixelPosition,function(e,n){if(n)return n=F(e,t),ct.test(n)?xe(e).position()[t]+"px":n})}),xe.each({Height:"height",Width:"width"},function(e,t){xe.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){xe.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return Fe(this,function(t,n,i){var o;return xe.isWindow(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?xe.css(t,n,s):xe.style(t,n,i,s)},t,a?i:void 0,a)}})}),xe.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),xe.holdReady=function(e){e?xe.readyWait++:xe.ready(!0)},xe.isArray=Array.isArray,xe.parseJSON=JSON.parse,xe.nodeName=l,n=[],void 0!==(r=function(){return xe}.apply(t,n))&&(e.exports=r);var Qt=o.jQuery,Jt=o.$;return xe.noConflict=function(e){return o.$===xe&&(o.$=Jt),e&&o.jQuery===xe&&(o.jQuery=Qt),xe},a||(o.jQuery=o.$=xe),xe})}).call(t,n(4)(e))},function(e,t,n){"use strict";function r(){var e,t,n,r=(0,o.default)("#advanced_add_affiliate_link"),i=r.find(".search-panel"),a=r.find(".results-panel"),s=a.find("ul.results-list"),u=2,l=!0,c=void 0;i.on("keyup","#thirstylink-search",function(){var r=(0,o.default)(this),i=a.find(".load-more-results");if(!(l&&r.val().length<3)){if(c&&n!==r.val()&&(c.abort(),c=null),e||(e=s.html()),s.html("<li class='spinner'><i style='background-image: url("+Options.spinner_image+");'></i><span>"+Options.searching_text+"</span></li>"),(""==r.val()||r.val().length<3)&&!l)return u=2,s.html(e).show(),void i.show();if(n===r.val())return u=2,s.html(t).show(),void i.show();u=1,i.hide(),c=o.default.post(parent.ajaxurl,{action:"search_affiliate_links_query",keyword:r.val(),paged:u,advance:!0,post_id:Options.post_id},function(e){n=r.val(),l=!1,"success"==e.status&&(t=e.search_query_markup,s.html(e.search_query_markup).show(),u++,e.count<1?i.hide():i.show())},"json")}}),a.on("click",".load-more-results",function(){var e=(0,o.default)(this),t=i.find("#thirstylink-search");e.hasClass("fetching")||(e.addClass("fetching").css("padding-top","4px").find(".spinner").show(),e.find(".button-text").hide(),c=o.default.post(parent.ajaxurl,{action:"search_affiliate_links_query",keyword:t.val(),paged:u,advance:!0},function(t){if(e.removeClass("fetching").find(".spinner").hide(),e.find(".button-text").show(),"success"==t.status){if(u++,t.count<1)return void e.hide();s.append(t.search_query_markup)}},"json"))})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(i)},function(e,t,n){"use strict";function r(){function e(){var e,t,r,o,s,u,l,c,f,d,p,h,g,m,v,y=(0,a.default)(this).closest("li.thirstylink"),x=(0,a.default)(this).data("type"),b=n.data("htmleditor"),w="";if(parent.ThirstyLinkPicker.linkNode||b){if(e=b?parent.ThirstyLinkPicker.get_html_editor_selection().text:parent.ThirstyLinkPicker.editor.selection.getContent(),t=y.data("linkid"),r=y.data("class"),o=r?' class="'+r+'"':"",s=y.data("href"),u=y.data("title"),l=u?' title="'+u+'"':"",c=y.find("span.name").text(),f=y.data("rel"),d=y.data("target"),m=y.data("other-atts"),!/^(?:[a-z]+:|#|\?|\.|\/)/.test(s))return;if("object"==(void 0===m?"undefined":i(m))&&Object.keys(m).length>0)for(var T in m)w+=T+'="'+m[T]+'" ';if("shortcode"==x)c=e.trim()?e:c,p='[thirstylink ids="'+t+'"]'+c+"[/thirstylink]",b?parent.ThirstyLinkPicker.replace_html_editor_selected_text(p):(parent.ThirstyLinkPicker.editor.execCommand("Unlink",!1,!1),parent.ThirstyLinkPicker.editor.selection.setContent(p),parent.ThirstyLinkPicker.inputInstance.reset());else if("image"==x)""!=r&&(o=' class="thirstylinkimg"'),g=(0,a.default)(this).data("imgid"),a.default.post(parent.ajaxurl,{action:"ta_get_image_markup_by_id",imgid:g},function(e){"success"==e.status&&(h="<a"+o+l+' href="'+s+'" rel="'+f+'" target="'+d+'" '+w+">"+e.image_markup+"</a>",b?parent.ThirstyLinkPicker.replace_html_editor_selected_text(h):(parent.ThirstyLinkPicker.close_thickbox(),parent.ThirstyLinkPicker.editor.execCommand("mceInsertContent",!1,""),parent.ThirstyLinkPicker.editor.execCommand("mceInsertContent",!1,h),parent.ThirstyLinkPicker.inputInstance.reset())),parent.ThirstyLinkPicker.close_thickbox()},"json");else if(c=e.trim()?e:c,b)h="<a"+o+l+' href="'+s+'" rel="'+f+'" target="'+d+'" '+w+">"+e+"</a>",parent.ThirstyLinkPicker.replace_html_editor_selected_text(h);else{if(v={class:r,title:u,href:s,rel:f,target:d,"data-wplink-edit":null,"data-thirstylink-edit":null},"object"==(void 0===m?"undefined":i(m))&&Object.keys(m).length>0)for(T in m)v[T]=m[T];parent.ThirstyLinkPicker.editor.execCommand("Unlink",!1,!1),parent.ThirstyLinkPicker.editor.execCommand("mceInsertLink",!1,v),e.trim()||parent.ThirstyLinkPicker.editor.selection.setContent(c),parent.ThirstyLinkPicker.inputInstance.reset()}g||parent.ThirstyLinkPicker.close_thickbox(),!b&&e.indexOf("<img")>-1&&parent.ThirstyLinkPicker.editor.selection.collapse()}}var t=(0,a.default)("#advanced_add_affiliate_link"),n=t.find(".results-panel ul.results-list");n.on("click",".actions .insert-link-button",e),n.on("click",".actions .insert-shortcode-button",e),n.on("click",".images-block .images img",e),n.on("click",".actions .insert-image-button",function(){var e=(0,a.default)(this).closest(".thirstylink"),t=e.find(".images-block"),n=e.hasClass("show");(0,a.default)(".results-panel").find(".images-block").removeClass("show").hide(),n||t.slideDown("fast").addClass("show")})}Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=r;var o=n(0),a=function(e){return e&&e.__esModule?e:{default:e}}(o)},function(e,t){},function(e,t,n){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=n(0),o=r(i),a=n(1),s=r(a),u=n(2),l=r(u);n(3),(0,o.default)(document).ready(function(){(0,s.default)(),(0,l.default)()})}]);
|
1 |
+
!function(t){function e(n){if(i[n])return i[n].exports;var r=i[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var i={};e.m=t,e.c=i,e.i=function(t){return t},e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=3)}([function(t,e,i){"use strict";function n(){var t,e,i,n,r=jQuery,a=r("#advanced_add_affiliate_link"),s=a.find(".search-panel"),o=a.find(".results-panel"),l=o.find("ul.results-list"),c=2,d=!0,u=void 0;s.on("keyup thirstysearch","#thirstylink-search",function(){var a=r(this),h=s.find("#thirstylink-category"),f=o.find(".load-more-results"),k=h.val();if(k="all"==k?"":k,(!(d&&a.val().length<3)||k)&&!(k&&a.val()&&a.val().length<3)){if(u&&i!==a.val()&&n!==k&&(u.abort(),u=null),t||(t=l.html()),l.html("<li class='spinner'><i style='background-image: url("+Options.spinner_image+");'></i><span>"+Options.searching_text+"</span></li>"),(""==a.val()||a.val().length<3)&&!d&&!k)return c=2,l.html(t).show(),void f.show();if(i===a.val()&&n===k)return c=2,l.html(e).show(),void f.show();c=1,f.hide(),u=r.post(parent.ajaxurl,{action:"search_affiliate_links_query",keyword:a.val(),paged:c,advance:!0,category:k,post_id:Options.post_id},function(t){i=a.val(),n=k,d=!1,"success"==t.status&&(e=t.search_query_markup,l.html(t.search_query_markup).show(),c++,t.count<1?f.hide():f.show())},"json")}}),o.on("click",".load-more-results",function(){var t=r(this),e=s.find("#thirstylink-search"),i=s.find("#thirstylink-category"),n=i.val();n="all"==n?"":n,t.hasClass("fetching")||(t.addClass("fetching").css("padding-top","4px").find(".spinner").show(),t.find(".button-text").hide(),u=r.post(parent.ajaxurl,{action:"search_affiliate_links_query",keyword:e.val(),paged:c,category:n,advance:!0},function(e){if(t.removeClass("fetching").find(".spinner").hide(),t.find(".button-text").show(),"success"==e.status){if(c++,e.count<1)return void t.hide();l.append(e.search_query_markup)}},"json"))}),l.on("ta_center_images",".images-block",function(){var t=r(this).find(".images img"),e=void 0,i=void 0,n=void 0;for(i=0;i<=t.length;i++)e=r(t[i]),e.width()&&(n=(e.width()-75)/2,e.css("margin-left",-n))})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n},function(t,e,i){"use strict";function n(){function t(){var t,i,a,s,o,l,c,d,u,h,f,k,p,y,m,_=e(this).closest("li.thirstylink"),g=e(this).data("type"),v=n.data("htmleditor"),b="";if(parent.ThirstyLinkPicker.linkNode||v){if(t=v?parent.ThirstyLinkPicker.get_html_editor_selection().text:parent.ThirstyLinkPicker.editor.selection.getContent(),i=_.data("linkid"),a=_.data("class"),s=a?' class="'+a+'"':"",o=_.data("href"),l=_.data("title"),c=l?' title="'+l+'"':"",d=_.find("span.name").text(),u=_.data("rel"),h=_.data("target"),y=_.data("other-atts"),!/^(?:[a-z]+:|#|\?|\.|\/)/.test(o))return;if("object"==(void 0===y?"undefined":r(y))&&Object.keys(y).length>0)for(var x in y)b+=x+'="'+y[x]+'" ';if("shortcode"==g)d=t.trim()?t:d,f='[thirstylink ids="'+i+'"]'+d+"[/thirstylink]",v?parent.ThirstyLinkPicker.replace_html_editor_selected_text(f):(parent.ThirstyLinkPicker.editor.execCommand("Unlink",!1,!1),parent.ThirstyLinkPicker.editor.selection.setContent(f),parent.ThirstyLinkPicker.inputInstance.reset());else if("image"==g)""!=a&&(s=s.replace("thirstylink","thirstylinkimg")),p=e(this).data("imgid"),e.post(parent.ajaxurl,{action:"ta_get_image_markup_by_id",imgid:p},function(t){"success"==t.status&&(k="<a"+s+c+' href="'+o+'" rel="'+u+'" target="'+h+'" '+b+">"+t.image_markup+"</a>",v?parent.ThirstyLinkPicker.replace_html_editor_selected_text(k):(parent.ThirstyLinkPicker.close_thickbox(),parent.ThirstyLinkPicker.editor.execCommand("mceInsertContent",!1,""),parent.ThirstyLinkPicker.editor.execCommand("mceInsertContent",!1,k),parent.ThirstyLinkPicker.inputInstance.reset())),parent.ThirstyLinkPicker.close_thickbox()},"json");else if(d=t.trim()?t:d,v)k="<a"+s+c+' href="'+o+'" rel="'+u+'" target="'+h+'" '+b+">"+t+"</a>",parent.ThirstyLinkPicker.replace_html_editor_selected_text(k);else{if(m={class:a,title:l,href:o,rel:u,target:h,"data-wplink-edit":null,"data-thirstylink-edit":null},"object"==(void 0===y?"undefined":r(y))&&Object.keys(y).length>0)for(x in y)m[x]=y[x];parent.ThirstyLinkPicker.editor.execCommand("Unlink",!1,!1),parent.ThirstyLinkPicker.editor.execCommand("mceInsertLink",!1,m),t.trim()||parent.ThirstyLinkPicker.editor.selection.setContent(d),parent.ThirstyLinkPicker.inputInstance.reset()}p||parent.ThirstyLinkPicker.close_thickbox(),!v&&t.indexOf("<img")>-1&&parent.ThirstyLinkPicker.editor.selection.collapse()}}var e=jQuery,i=e("#advanced_add_affiliate_link"),n=i.find(".results-panel ul.results-list");n.on("click",".actions .insert-link-button",t),n.on("click",".actions .insert-shortcode-button",t),n.on("click",".images-block .images img",t),n.on("click",".actions .insert-image-button",function(){var t=e(this).closest(".thirstylink"),i=t.find(".images-block"),n=t.hasClass("show");e(".results-panel").find(".images-block").removeClass("show").hide(),n||i.slideDown("fast").addClass("show").trigger("ta_center_images")})}Object.defineProperty(e,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.default=n},function(t,e){},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}var r=i(0),a=n(r),s=i(1),o=n(s);i(2),jQuery(document).ready(function(){(0,a.default)(),(0,o.default)()})}]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/app/advance_link_picker/package-lock.json
CHANGED
@@ -4475,6 +4475,2761 @@
|
|
4475 |
"sort-keys": "1.1.2"
|
4476 |
}
|
4477 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4478 |
"npmlog": {
|
4479 |
"version": "4.1.2",
|
4480 |
"resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz",
|
4475 |
"sort-keys": "1.1.2"
|
4476 |
}
|
4477 |
},
|
4478 |
+
"npm": {
|
4479 |
+
"version": "6.3.0",
|
4480 |
+
"resolved": "https://registry.npmjs.org/npm/-/npm-6.3.0.tgz",
|
4481 |
+
"integrity": "sha512-oDtLFo3wXue/xe3pU/oks9VHS5501OAWlYrZrApZkFv7l2LXk+9CfPMbjbfZWK7Jqlc1jbNcJMkB6KZC7K/vEA==",
|
4482 |
+
"requires": {
|
4483 |
+
"JSONStream": "1.3.3",
|
4484 |
+
"abbrev": "1.1.1",
|
4485 |
+
"ansicolors": "0.3.2",
|
4486 |
+
"ansistyles": "0.1.3",
|
4487 |
+
"aproba": "1.2.0",
|
4488 |
+
"archy": "1.0.0",
|
4489 |
+
"bin-links": "1.1.2",
|
4490 |
+
"bluebird": "3.5.1",
|
4491 |
+
"byte-size": "4.0.3",
|
4492 |
+
"cacache": "11.1.0",
|
4493 |
+
"call-limit": "1.1.0",
|
4494 |
+
"chownr": "1.0.1",
|
4495 |
+
"cli-columns": "3.1.2",
|
4496 |
+
"cli-table3": "0.5.0",
|
4497 |
+
"cmd-shim": "2.0.2",
|
4498 |
+
"columnify": "1.5.4",
|
4499 |
+
"config-chain": "1.1.11",
|
4500 |
+
"debuglog": "1.0.1",
|
4501 |
+
"detect-indent": "5.0.0",
|
4502 |
+
"detect-newline": "2.1.0",
|
4503 |
+
"dezalgo": "1.0.3",
|
4504 |
+
"editor": "1.0.0",
|
4505 |
+
"figgy-pudding": "3.2.0",
|
4506 |
+
"find-npm-prefix": "1.0.2",
|
4507 |
+
"fs-vacuum": "1.2.10",
|
4508 |
+
"fs-write-stream-atomic": "1.0.10",
|
4509 |
+
"gentle-fs": "2.0.1",
|
4510 |
+
"glob": "7.1.2",
|
4511 |
+
"graceful-fs": "4.1.11",
|
4512 |
+
"has-unicode": "2.0.1",
|
4513 |
+
"hosted-git-info": "2.6.0",
|
4514 |
+
"iferr": "1.0.0",
|
4515 |
+
"imurmurhash": "0.1.4",
|
4516 |
+
"inflight": "1.0.6",
|
4517 |
+
"inherits": "2.0.3",
|
4518 |
+
"ini": "1.3.5",
|
4519 |
+
"init-package-json": "1.10.3",
|
4520 |
+
"is-cidr": "2.0.6",
|
4521 |
+
"json-parse-better-errors": "1.0.2",
|
4522 |
+
"lazy-property": "1.0.0",
|
4523 |
+
"libcipm": "2.0.0",
|
4524 |
+
"libnpmhook": "4.0.1",
|
4525 |
+
"libnpx": "10.2.0",
|
4526 |
+
"lock-verify": "2.0.2",
|
4527 |
+
"lockfile": "1.0.4",
|
4528 |
+
"lodash._baseindexof": "3.1.0",
|
4529 |
+
"lodash._baseuniq": "4.6.0",
|
4530 |
+
"lodash._bindcallback": "3.0.1",
|
4531 |
+
"lodash._cacheindexof": "3.0.2",
|
4532 |
+
"lodash._createcache": "3.1.2",
|
4533 |
+
"lodash._getnative": "3.9.1",
|
4534 |
+
"lodash.clonedeep": "4.5.0",
|
4535 |
+
"lodash.restparam": "3.6.1",
|
4536 |
+
"lodash.union": "4.6.0",
|
4537 |
+
"lodash.uniq": "4.5.0",
|
4538 |
+
"lodash.without": "4.4.0",
|
4539 |
+
"lru-cache": "4.1.3",
|
4540 |
+
"meant": "1.0.1",
|
4541 |
+
"mississippi": "3.0.0",
|
4542 |
+
"mkdirp": "0.5.1",
|
4543 |
+
"move-concurrently": "1.0.1",
|
4544 |
+
"node-gyp": "3.7.0",
|
4545 |
+
"nopt": "4.0.1",
|
4546 |
+
"normalize-package-data": "2.4.0",
|
4547 |
+
"npm-audit-report": "1.3.1",
|
4548 |
+
"npm-cache-filename": "1.0.2",
|
4549 |
+
"npm-install-checks": "3.0.0",
|
4550 |
+
"npm-lifecycle": "2.0.3",
|
4551 |
+
"npm-package-arg": "6.1.0",
|
4552 |
+
"npm-packlist": "1.1.10",
|
4553 |
+
"npm-pick-manifest": "2.1.0",
|
4554 |
+
"npm-profile": "3.0.2",
|
4555 |
+
"npm-registry-client": "8.5.1",
|
4556 |
+
"npm-registry-fetch": "1.1.0",
|
4557 |
+
"npm-user-validate": "1.0.0",
|
4558 |
+
"npmlog": "4.1.2",
|
4559 |
+
"once": "1.4.0",
|
4560 |
+
"opener": "1.4.3",
|
4561 |
+
"osenv": "0.1.5",
|
4562 |
+
"pacote": "8.1.6",
|
4563 |
+
"path-is-inside": "1.0.2",
|
4564 |
+
"promise-inflight": "1.0.1",
|
4565 |
+
"qrcode-terminal": "0.12.0",
|
4566 |
+
"query-string": "6.1.0",
|
4567 |
+
"qw": "1.0.1",
|
4568 |
+
"read": "1.0.7",
|
4569 |
+
"read-cmd-shim": "1.0.1",
|
4570 |
+
"read-installed": "4.0.3",
|
4571 |
+
"read-package-json": "2.0.13",
|
4572 |
+
"read-package-tree": "5.2.1",
|
4573 |
+
"readable-stream": "2.3.6",
|
4574 |
+
"readdir-scoped-modules": "1.0.2",
|
4575 |
+
"request": "2.81.0",
|
4576 |
+
"retry": "0.12.0",
|
4577 |
+
"rimraf": "2.6.2",
|
4578 |
+
"safe-buffer": "5.1.2",
|
4579 |
+
"semver": "5.5.0",
|
4580 |
+
"sha": "2.0.1",
|
4581 |
+
"slide": "1.1.6",
|
4582 |
+
"sorted-object": "2.0.1",
|
4583 |
+
"sorted-union-stream": "2.1.3",
|
4584 |
+
"ssri": "6.0.0",
|
4585 |
+
"stringify-package": "1.0.0",
|
4586 |
+
"tar": "4.4.4",
|
4587 |
+
"text-table": "0.2.0",
|
4588 |
+
"tiny-relative-date": "1.3.0",
|
4589 |
+
"uid-number": "0.0.6",
|
4590 |
+
"umask": "1.1.0",
|
4591 |
+
"unique-filename": "1.1.0",
|
4592 |
+
"unpipe": "1.0.0",
|
4593 |
+
"update-notifier": "2.5.0",
|
4594 |
+
"uuid": "3.3.2",
|
4595 |
+
"validate-npm-package-license": "3.0.3",
|
4596 |
+
"validate-npm-package-name": "3.0.0",
|
4597 |
+
"which": "1.3.1",
|
4598 |
+
"worker-farm": "1.6.0",
|
4599 |
+
"write-file-atomic": "2.3.0"
|
4600 |
+
},
|
4601 |
+
"dependencies": {
|
4602 |
+
"JSONStream": {
|
4603 |
+
"version": "1.3.3",
|
4604 |
+
"bundled": true,
|
4605 |
+
"requires": {
|
4606 |
+
"jsonparse": "1.3.1",
|
4607 |
+
"through": "2.3.8"
|
4608 |
+
}
|
4609 |
+
},
|
4610 |
+
"abbrev": {
|
4611 |
+
"version": "1.1.1",
|
4612 |
+
"bundled": true
|
4613 |
+
},
|
4614 |
+
"agent-base": {
|
4615 |
+
"version": "4.2.0",
|
4616 |
+
"bundled": true,
|
4617 |
+
"requires": {
|
4618 |
+
"es6-promisify": "5.0.0"
|
4619 |
+
}
|
4620 |
+
},
|
4621 |
+
"agentkeepalive": {
|
4622 |
+
"version": "3.4.1",
|
4623 |
+
"bundled": true,
|
4624 |
+
"requires": {
|
4625 |
+
"humanize-ms": "1.2.1"
|
4626 |
+
}
|
4627 |
+
},
|
4628 |
+
"ansi-align": {
|
4629 |
+
"version": "2.0.0",
|
4630 |
+
"bundled": true,
|
4631 |
+
"requires": {
|
4632 |
+
"string-width": "2.1.1"
|
4633 |
+
}
|
4634 |
+
},
|
4635 |
+
"ansi-regex": {
|
4636 |
+
"version": "2.1.1",
|
4637 |
+
"bundled": true
|
4638 |
+
},
|
4639 |
+
"ansi-styles": {
|
4640 |
+
"version": "3.2.1",
|
4641 |
+
"bundled": true,
|
4642 |
+
"requires": {
|
4643 |
+
"color-convert": "1.9.1"
|
4644 |
+
}
|
4645 |
+
},
|
4646 |
+
"ansicolors": {
|
4647 |
+
"version": "0.3.2",
|
4648 |
+
"bundled": true
|
4649 |
+
},
|
4650 |
+
"ansistyles": {
|
4651 |
+
"version": "0.1.3",
|
4652 |
+
"bundled": true
|
4653 |
+
},
|
4654 |
+
"aproba": {
|
4655 |
+
"version": "1.2.0",
|
4656 |
+
"bundled": true
|
4657 |
+
},
|
4658 |
+
"archy": {
|
4659 |
+
"version": "1.0.0",
|
4660 |
+
"bundled": true
|
4661 |
+
},
|
4662 |
+
"are-we-there-yet": {
|
4663 |
+
"version": "1.1.4",
|
4664 |
+
"bundled": true,
|
4665 |
+
"requires": {
|
4666 |
+
"delegates": "1.0.0",
|
4667 |
+
"readable-stream": "2.3.6"
|
4668 |
+
}
|
4669 |
+
},
|
4670 |
+
"asap": {
|
4671 |
+
"version": "2.0.6",
|
4672 |
+
"bundled": true
|
4673 |
+
},
|
4674 |
+
"asn1": {
|
4675 |
+
"version": "0.2.3",
|
4676 |
+
"bundled": true
|
4677 |
+
},
|
4678 |
+
"assert-plus": {
|
4679 |
+
"version": "0.2.0",
|
4680 |
+
"bundled": true
|
4681 |
+
},
|
4682 |
+
"asynckit": {
|
4683 |
+
"version": "0.4.0",
|
4684 |
+
"bundled": true
|
4685 |
+
},
|
4686 |
+
"aws-sign2": {
|
4687 |
+
"version": "0.6.0",
|
4688 |
+
"bundled": true
|
4689 |
+
},
|
4690 |
+
"aws4": {
|
4691 |
+
"version": "1.7.0",
|
4692 |
+
"bundled": true
|
4693 |
+
},
|
4694 |
+
"balanced-match": {
|
4695 |
+
"version": "1.0.0",
|
4696 |
+
"bundled": true
|
4697 |
+
},
|
4698 |
+
"bcrypt-pbkdf": {
|
4699 |
+
"version": "1.0.2",
|
4700 |
+
"bundled": true,
|
4701 |
+
"optional": true,
|
4702 |
+
"requires": {
|
4703 |
+
"tweetnacl": "0.14.5"
|
4704 |
+
}
|
4705 |
+
},
|
4706 |
+
"bin-links": {
|
4707 |
+
"version": "1.1.2",
|
4708 |
+
"bundled": true,
|
4709 |
+
"requires": {
|
4710 |
+
"bluebird": "3.5.1",
|
4711 |
+
"cmd-shim": "2.0.2",
|
4712 |
+
"gentle-fs": "2.0.1",
|
4713 |
+
"graceful-fs": "4.1.11",
|
4714 |
+
"write-file-atomic": "2.3.0"
|
4715 |
+
}
|
4716 |
+
},
|
4717 |
+
"block-stream": {
|
4718 |
+
"version": "0.0.9",
|
4719 |
+
"bundled": true,
|
4720 |
+
"requires": {
|
4721 |
+
"inherits": "2.0.3"
|
4722 |
+
}
|
4723 |
+
},
|
4724 |
+
"bluebird": {
|
4725 |
+
"version": "3.5.1",
|
4726 |
+
"bundled": true
|
4727 |
+
},
|
4728 |
+
"boom": {
|
4729 |
+
"version": "2.10.1",
|
4730 |
+
"bundled": true,
|
4731 |
+
"requires": {
|
4732 |
+
"hoek": "2.16.3"
|
4733 |
+
}
|
4734 |
+
},
|
4735 |
+
"boxen": {
|
4736 |
+
"version": "1.3.0",
|
4737 |
+
"bundled": true,
|
4738 |
+
"requires": {
|
4739 |
+
"ansi-align": "2.0.0",
|
4740 |
+
"camelcase": "4.1.0",
|
4741 |
+
"chalk": "2.4.1",
|
4742 |
+
"cli-boxes": "1.0.0",
|
4743 |
+
"string-width": "2.1.1",
|
4744 |
+
"term-size": "1.2.0",
|
4745 |
+
"widest-line": "2.0.0"
|
4746 |
+
}
|
4747 |
+
},
|
4748 |
+
"brace-expansion": {
|
4749 |
+
"version": "1.1.11",
|
4750 |
+
"bundled": true,
|
4751 |
+
"requires": {
|
4752 |
+
"balanced-match": "1.0.0",
|
4753 |
+
"concat-map": "0.0.1"
|
4754 |
+
}
|
4755 |
+
},
|
4756 |
+
"buffer-from": {
|
4757 |
+
"version": "1.0.0",
|
4758 |
+
"bundled": true
|
4759 |
+
},
|
4760 |
+
"builtin-modules": {
|
4761 |
+
"version": "1.1.1",
|
4762 |
+
"bundled": true
|
4763 |
+
},
|
4764 |
+
"builtins": {
|
4765 |
+
"version": "1.0.3",
|
4766 |
+
"bundled": true
|
4767 |
+
},
|
4768 |
+
"byline": {
|
4769 |
+
"version": "5.0.0",
|
4770 |
+
"bundled": true
|
4771 |
+
},
|
4772 |
+
"byte-size": {
|
4773 |
+
"version": "4.0.3",
|
4774 |
+
"bundled": true
|
4775 |
+
},
|
4776 |
+
"cacache": {
|
4777 |
+
"version": "11.1.0",
|
4778 |
+
"bundled": true,
|
4779 |
+
"requires": {
|
4780 |
+
"bluebird": "3.5.1",
|
4781 |
+
"chownr": "1.0.1",
|
4782 |
+
"figgy-pudding": "3.2.0",
|
4783 |
+
"glob": "7.1.2",
|
4784 |
+
"graceful-fs": "4.1.11",
|
4785 |
+
"lru-cache": "4.1.3",
|
4786 |
+
"mississippi": "3.0.0",
|
4787 |
+
"mkdirp": "0.5.1",
|
4788 |
+
"move-concurrently": "1.0.1",
|
4789 |
+
"promise-inflight": "1.0.1",
|
4790 |
+
"rimraf": "2.6.2",
|
4791 |
+
"ssri": "6.0.0",
|
4792 |
+
"unique-filename": "1.1.0",
|
4793 |
+
"y18n": "4.0.0"
|
4794 |
+
}
|
4795 |
+
},
|
4796 |
+
"call-limit": {
|
4797 |
+
"version": "1.1.0",
|
4798 |
+
"bundled": true
|
4799 |
+
},
|
4800 |
+
"camelcase": {
|
4801 |
+
"version": "4.1.0",
|
4802 |
+
"bundled": true
|
4803 |
+
},
|
4804 |
+
"capture-stack-trace": {
|
4805 |
+
"version": "1.0.0",
|
4806 |
+
"bundled": true
|
4807 |
+
},
|
4808 |
+
"caseless": {
|
4809 |
+
"version": "0.12.0",
|
4810 |
+
"bundled": true
|
4811 |
+
},
|
4812 |
+
"chalk": {
|
4813 |
+
"version": "2.4.1",
|
4814 |
+
"bundled": true,
|
4815 |
+
"requires": {
|
4816 |
+
"ansi-styles": "3.2.1",
|
4817 |
+
"escape-string-regexp": "1.0.5",
|
4818 |
+
"supports-color": "5.4.0"
|
4819 |
+
}
|
4820 |
+
},
|
4821 |
+
"chownr": {
|
4822 |
+
"version": "1.0.1",
|
4823 |
+
"bundled": true
|
4824 |
+
},
|
4825 |
+
"ci-info": {
|
4826 |
+
"version": "1.1.3",
|
4827 |
+
"bundled": true
|
4828 |
+
},
|
4829 |
+
"cidr-regex": {
|
4830 |
+
"version": "2.0.9",
|
4831 |
+
"bundled": true,
|
4832 |
+
"requires": {
|
4833 |
+
"ip-regex": "2.1.0"
|
4834 |
+
}
|
4835 |
+
},
|
4836 |
+
"cli-boxes": {
|
4837 |
+
"version": "1.0.0",
|
4838 |
+
"bundled": true
|
4839 |
+
},
|
4840 |
+
"cli-columns": {
|
4841 |
+
"version": "3.1.2",
|
4842 |
+
"bundled": true,
|
4843 |
+
"requires": {
|
4844 |
+
"string-width": "2.1.1",
|
4845 |
+
"strip-ansi": "3.0.1"
|
4846 |
+
}
|
4847 |
+
},
|
4848 |
+
"cli-table3": {
|
4849 |
+
"version": "0.5.0",
|
4850 |
+
"bundled": true,
|
4851 |
+
"requires": {
|
4852 |
+
"colors": "1.3.0",
|
4853 |
+
"object-assign": "4.1.1",
|
4854 |
+
"string-width": "2.1.1"
|
4855 |
+
}
|
4856 |
+
},
|
4857 |
+
"cliui": {
|
4858 |
+
"version": "4.1.0",
|
4859 |
+
"bundled": true,
|
4860 |
+
"requires": {
|
4861 |
+
"string-width": "2.1.1",
|
4862 |
+
"strip-ansi": "4.0.0",
|
4863 |
+
"wrap-ansi": "2.1.0"
|
4864 |
+
},
|
4865 |
+
"dependencies": {
|
4866 |
+
"ansi-regex": {
|
4867 |
+
"version": "3.0.0",
|
4868 |
+
"bundled": true
|
4869 |
+
},
|
4870 |
+
"strip-ansi": {
|
4871 |
+
"version": "4.0.0",
|
4872 |
+
"bundled": true,
|
4873 |
+
"requires": {
|
4874 |
+
"ansi-regex": "3.0.0"
|
4875 |
+
}
|
4876 |
+
}
|
4877 |
+
}
|
4878 |
+
},
|
4879 |
+
"clone": {
|
4880 |
+
"version": "1.0.4",
|
4881 |
+
"bundled": true
|
4882 |
+
},
|
4883 |
+
"cmd-shim": {
|
4884 |
+
"version": "2.0.2",
|
4885 |
+
"bundled": true,
|
4886 |
+
"requires": {
|
4887 |
+
"graceful-fs": "4.1.11",
|
4888 |
+
"mkdirp": "0.5.1"
|
4889 |
+
}
|
4890 |
+
},
|
4891 |
+
"co": {
|
4892 |
+
"version": "4.6.0",
|
4893 |
+
"bundled": true
|
4894 |
+
},
|
4895 |
+
"code-point-at": {
|
4896 |
+
"version": "1.1.0",
|
4897 |
+
"bundled": true
|
4898 |
+
},
|
4899 |
+
"color-convert": {
|
4900 |
+
"version": "1.9.1",
|
4901 |
+
"bundled": true,
|
4902 |
+
"requires": {
|
4903 |
+
"color-name": "1.1.3"
|
4904 |
+
}
|
4905 |
+
},
|
4906 |
+
"color-name": {
|
4907 |
+
"version": "1.1.3",
|
4908 |
+
"bundled": true
|
4909 |
+
},
|
4910 |
+
"colors": {
|
4911 |
+
"version": "1.3.0",
|
4912 |
+
"bundled": true,
|
4913 |
+
"optional": true
|
4914 |
+
},
|
4915 |
+
"columnify": {
|
4916 |
+
"version": "1.5.4",
|
4917 |
+
"bundled": true,
|
4918 |
+
"requires": {
|
4919 |
+
"strip-ansi": "3.0.1",
|
4920 |
+
"wcwidth": "1.0.1"
|
4921 |
+
}
|
4922 |
+
},
|
4923 |
+
"combined-stream": {
|
4924 |
+
"version": "1.0.6",
|
4925 |
+
"bundled": true,
|
4926 |
+
"requires": {
|
4927 |
+
"delayed-stream": "1.0.0"
|
4928 |
+
}
|
4929 |
+
},
|
4930 |
+
"concat-map": {
|
4931 |
+
"version": "0.0.1",
|
4932 |
+
"bundled": true
|
4933 |
+
},
|
4934 |
+
"concat-stream": {
|
4935 |
+
"version": "1.6.2",
|
4936 |
+
"bundled": true,
|
4937 |
+
"requires": {
|
4938 |
+
"buffer-from": "1.0.0",
|
4939 |
+
"inherits": "2.0.3",
|
4940 |
+
"readable-stream": "2.3.6",
|
4941 |
+
"typedarray": "0.0.6"
|
4942 |
+
}
|
4943 |
+
},
|
4944 |
+
"config-chain": {
|
4945 |
+
"version": "1.1.11",
|
4946 |
+
"bundled": true,
|
4947 |
+
"requires": {
|
4948 |
+
"ini": "1.3.5",
|
4949 |
+
"proto-list": "1.2.4"
|
4950 |
+
}
|
4951 |
+
},
|
4952 |
+
"configstore": {
|
4953 |
+
"version": "3.1.2",
|
4954 |
+
"bundled": true,
|
4955 |
+
"requires": {
|
4956 |
+
"dot-prop": "4.2.0",
|
4957 |
+
"graceful-fs": "4.1.11",
|
4958 |
+
"make-dir": "1.3.0",
|
4959 |
+
"unique-string": "1.0.0",
|
4960 |
+
"write-file-atomic": "2.3.0",
|
4961 |
+
"xdg-basedir": "3.0.0"
|
4962 |
+
}
|
4963 |
+
},
|
4964 |
+
"console-control-strings": {
|
4965 |
+
"version": "1.1.0",
|
4966 |
+
"bundled": true
|
4967 |
+
},
|
4968 |
+
"copy-concurrently": {
|
4969 |
+
"version": "1.0.5",
|
4970 |
+
"bundled": true,
|
4971 |
+
"requires": {
|
4972 |
+
"aproba": "1.2.0",
|
4973 |
+
"fs-write-stream-atomic": "1.0.10",
|
4974 |
+
"iferr": "0.1.5",
|
4975 |
+
"mkdirp": "0.5.1",
|
4976 |
+
"rimraf": "2.6.2",
|
4977 |
+
"run-queue": "1.0.3"
|
4978 |
+
},
|
4979 |
+
"dependencies": {
|
4980 |
+
"iferr": {
|
4981 |
+
"version": "0.1.5",
|
4982 |
+
"bundled": true
|
4983 |
+
}
|
4984 |
+
}
|
4985 |
+
},
|
4986 |
+
"core-util-is": {
|
4987 |
+
"version": "1.0.2",
|
4988 |
+
"bundled": true
|
4989 |
+
},
|
4990 |
+
"create-error-class": {
|
4991 |
+
"version": "3.0.2",
|
4992 |
+
"bundled": true,
|
4993 |
+
"requires": {
|
4994 |
+
"capture-stack-trace": "1.0.0"
|
4995 |
+
}
|
4996 |
+
},
|
4997 |
+
"cross-spawn": {
|
4998 |
+
"version": "5.1.0",
|
4999 |
+
"bundled": true,
|
5000 |
+
"requires": {
|
5001 |
+
"lru-cache": "4.1.3",
|
5002 |
+
"shebang-command": "1.2.0",
|
5003 |
+
"which": "1.3.1"
|
5004 |
+
}
|
5005 |
+
},
|
5006 |
+
"cryptiles": {
|
5007 |
+
"version": "2.0.5",
|
5008 |
+
"bundled": true,
|
5009 |
+
"requires": {
|
5010 |
+
"boom": "2.10.1"
|
5011 |
+
}
|
5012 |
+
},
|
5013 |
+
"crypto-random-string": {
|
5014 |
+
"version": "1.0.0",
|
5015 |
+
"bundled": true
|
5016 |
+
},
|
5017 |
+
"cyclist": {
|
5018 |
+
"version": "0.2.2",
|
5019 |
+
"bundled": true
|
5020 |
+
},
|
5021 |
+
"dashdash": {
|
5022 |
+
"version": "1.14.1",
|
5023 |
+
"bundled": true,
|
5024 |
+
"requires": {
|
5025 |
+
"assert-plus": "1.0.0"
|
5026 |
+
},
|
5027 |
+
"dependencies": {
|
5028 |
+
"assert-plus": {
|
5029 |
+
"version": "1.0.0",
|
5030 |
+
"bundled": true
|
5031 |
+
}
|
5032 |
+
}
|
5033 |
+
},
|
5034 |
+
"debug": {
|
5035 |
+
"version": "3.1.0",
|
5036 |
+
"bundled": true,
|
5037 |
+
"requires": {
|
5038 |
+
"ms": "2.0.0"
|
5039 |
+
},
|
5040 |
+
"dependencies": {
|
5041 |
+
"ms": {
|
5042 |
+
"version": "2.0.0",
|
5043 |
+
"bundled": true
|
5044 |
+
}
|
5045 |
+
}
|
5046 |
+
},
|
5047 |
+
"debuglog": {
|
5048 |
+
"version": "1.0.1",
|
5049 |
+
"bundled": true
|
5050 |
+
},
|
5051 |
+
"decamelize": {
|
5052 |
+
"version": "1.2.0",
|
5053 |
+
"bundled": true
|
5054 |
+
},
|
5055 |
+
"decode-uri-component": {
|
5056 |
+
"version": "0.2.0",
|
5057 |
+
"bundled": true
|
5058 |
+
},
|
5059 |
+
"deep-extend": {
|
5060 |
+
"version": "0.5.1",
|
5061 |
+
"bundled": true
|
5062 |
+
},
|
5063 |
+
"defaults": {
|
5064 |
+
"version": "1.0.3",
|
5065 |
+
"bundled": true,
|
5066 |
+
"requires": {
|
5067 |
+
"clone": "1.0.4"
|
5068 |
+
}
|
5069 |
+
},
|
5070 |
+
"delayed-stream": {
|
5071 |
+
"version": "1.0.0",
|
5072 |
+
"bundled": true
|
5073 |
+
},
|
5074 |
+
"delegates": {
|
5075 |
+
"version": "1.0.0",
|
5076 |
+
"bundled": true
|
5077 |
+
},
|
5078 |
+
"detect-indent": {
|
5079 |
+
"version": "5.0.0",
|
5080 |
+
"bundled": true
|
5081 |
+
},
|
5082 |
+
"detect-newline": {
|
5083 |
+
"version": "2.1.0",
|
5084 |
+
"bundled": true
|
5085 |
+
},
|
5086 |
+
"dezalgo": {
|
5087 |
+
"version": "1.0.3",
|
5088 |
+
"bundled": true,
|
5089 |
+
"requires": {
|
5090 |
+
"asap": "2.0.6",
|
5091 |
+
"wrappy": "1.0.2"
|
5092 |
+
}
|
5093 |
+
},
|
5094 |
+
"dot-prop": {
|
5095 |
+
"version": "4.2.0",
|
5096 |
+
"bundled": true,
|
5097 |
+
"requires": {
|
5098 |
+
"is-obj": "1.0.1"
|
5099 |
+
}
|
5100 |
+
},
|
5101 |
+
"dotenv": {
|
5102 |
+
"version": "5.0.1",
|
5103 |
+
"bundled": true
|
5104 |
+
},
|
5105 |
+
"duplexer3": {
|
5106 |
+
"version": "0.1.4",
|
5107 |
+
"bundled": true
|
5108 |
+
},
|
5109 |
+
"duplexify": {
|
5110 |
+
"version": "3.6.0",
|
5111 |
+
"bundled": true,
|
5112 |
+
"requires": {
|
5113 |
+
"end-of-stream": "1.4.1",
|
5114 |
+
"inherits": "2.0.3",
|
5115 |
+
"readable-stream": "2.3.6",
|
5116 |
+
"stream-shift": "1.0.0"
|
5117 |
+
}
|
5118 |
+
},
|
5119 |
+
"ecc-jsbn": {
|
5120 |
+
"version": "0.1.1",
|
5121 |
+
"bundled": true,
|
5122 |
+
"optional": true,
|
5123 |
+
"requires": {
|
5124 |
+
"jsbn": "0.1.1"
|
5125 |
+
}
|
5126 |
+
},
|
5127 |
+
"editor": {
|
5128 |
+
"version": "1.0.0",
|
5129 |
+
"bundled": true
|
5130 |
+
},
|
5131 |
+
"encoding": {
|
5132 |
+
"version": "0.1.12",
|
5133 |
+
"bundled": true,
|
5134 |
+
"requires": {
|
5135 |
+
"iconv-lite": "0.4.23"
|
5136 |
+
}
|
5137 |
+
},
|
5138 |
+
"end-of-stream": {
|
5139 |
+
"version": "1.4.1",
|
5140 |
+
"bundled": true,
|
5141 |
+
"requires": {
|
5142 |
+
"once": "1.4.0"
|
5143 |
+
}
|
5144 |
+
},
|
5145 |
+
"err-code": {
|
5146 |
+
"version": "1.1.2",
|
5147 |
+
"bundled": true
|
5148 |
+
},
|
5149 |
+
"errno": {
|
5150 |
+
"version": "0.1.7",
|
5151 |
+
"bundled": true,
|
5152 |
+
"requires": {
|
5153 |
+
"prr": "1.0.1"
|
5154 |
+
}
|
5155 |
+
},
|
5156 |
+
"es6-promise": {
|
5157 |
+
"version": "4.2.4",
|
5158 |
+
"bundled": true
|
5159 |
+
},
|
5160 |
+
"es6-promisify": {
|
5161 |
+
"version": "5.0.0",
|
5162 |
+
"bundled": true,
|
5163 |
+
"requires": {
|
5164 |
+
"es6-promise": "4.2.4"
|
5165 |
+
}
|
5166 |
+
},
|
5167 |
+
"escape-string-regexp": {
|
5168 |
+
"version": "1.0.5",
|
5169 |
+
"bundled": true
|
5170 |
+
},
|
5171 |
+
"execa": {
|
5172 |
+
"version": "0.7.0",
|
5173 |
+
"bundled": true,
|
5174 |
+
"requires": {
|
5175 |
+
"cross-spawn": "5.1.0",
|
5176 |
+
"get-stream": "3.0.0",
|
5177 |
+
"is-stream": "1.1.0",
|
5178 |
+
"npm-run-path": "2.0.2",
|
5179 |
+
"p-finally": "1.0.0",
|
5180 |
+
"signal-exit": "3.0.2",
|
5181 |
+
"strip-eof": "1.0.0"
|
5182 |
+
}
|
5183 |
+
},
|
5184 |
+
"extend": {
|
5185 |
+
"version": "3.0.1",
|
5186 |
+
"bundled": true
|
5187 |
+
},
|
5188 |
+
"extsprintf": {
|
5189 |
+
"version": "1.3.0",
|
5190 |
+
"bundled": true
|
5191 |
+
},
|
5192 |
+
"figgy-pudding": {
|
5193 |
+
"version": "3.2.0",
|
5194 |
+
"bundled": true
|
5195 |
+
},
|
5196 |
+
"find-npm-prefix": {
|
5197 |
+
"version": "1.0.2",
|
5198 |
+
"bundled": true
|
5199 |
+
},
|
5200 |
+
"find-up": {
|
5201 |
+
"version": "2.1.0",
|
5202 |
+
"bundled": true,
|
5203 |
+
"requires": {
|
5204 |
+
"locate-path": "2.0.0"
|
5205 |
+
}
|
5206 |
+
},
|
5207 |
+
"flush-write-stream": {
|
5208 |
+
"version": "1.0.3",
|
5209 |
+
"bundled": true,
|
5210 |
+
"requires": {
|
5211 |
+
"inherits": "2.0.3",
|
5212 |
+
"readable-stream": "2.3.6"
|
5213 |
+
}
|
5214 |
+
},
|
5215 |
+
"forever-agent": {
|
5216 |
+
"version": "0.6.1",
|
5217 |
+
"bundled": true
|
5218 |
+
},
|
5219 |
+
"form-data": {
|
5220 |
+
"version": "2.1.4",
|
5221 |
+
"bundled": true,
|
5222 |
+
"requires": {
|
5223 |
+
"asynckit": "0.4.0",
|
5224 |
+
"combined-stream": "1.0.6",
|
5225 |
+
"mime-types": "2.1.18"
|
5226 |
+
}
|
5227 |
+
},
|
5228 |
+
"from2": {
|
5229 |
+
"version": "2.3.0",
|
5230 |
+
"bundled": true,
|
5231 |
+
"requires": {
|
5232 |
+
"inherits": "2.0.3",
|
5233 |
+
"readable-stream": "2.3.6"
|
5234 |
+
}
|
5235 |
+
},
|
5236 |
+
"fs-minipass": {
|
5237 |
+
"version": "1.2.5",
|
5238 |
+
"bundled": true,
|
5239 |
+
"requires": {
|
5240 |
+
"minipass": "2.3.3"
|
5241 |
+
}
|
5242 |
+
},
|
5243 |
+
"fs-vacuum": {
|
5244 |
+
"version": "1.2.10",
|
5245 |
+
"bundled": true,
|
5246 |
+
"requires": {
|
5247 |
+
"graceful-fs": "4.1.11",
|
5248 |
+
"path-is-inside": "1.0.2",
|
5249 |
+
"rimraf": "2.6.2"
|
5250 |
+
}
|
5251 |
+
},
|
5252 |
+
"fs-write-stream-atomic": {
|
5253 |
+
"version": "1.0.10",
|
5254 |
+
"bundled": true,
|
5255 |
+
"requires": {
|
5256 |
+
"graceful-fs": "4.1.11",
|
5257 |
+
"iferr": "0.1.5",
|
5258 |
+
"imurmurhash": "0.1.4",
|
5259 |
+
"readable-stream": "2.3.6"
|
5260 |
+
},
|
5261 |
+
"dependencies": {
|
5262 |
+
"iferr": {
|
5263 |
+
"version": "0.1.5",
|
5264 |
+
"bundled": true
|
5265 |
+
}
|
5266 |
+
}
|
5267 |
+
},
|
5268 |
+
"fs.realpath": {
|
5269 |
+
"version": "1.0.0",
|
5270 |
+
"bundled": true
|
5271 |
+
},
|
5272 |
+
"fstream": {
|
5273 |
+
"version": "1.0.11",
|
5274 |
+
"bundled": true,
|
5275 |
+
"requires": {
|
5276 |
+
"graceful-fs": "4.1.11",
|
5277 |
+
"inherits": "2.0.3",
|
5278 |
+
"mkdirp": "0.5.1",
|
5279 |
+
"rimraf": "2.6.2"
|
5280 |
+
}
|
5281 |
+
},
|
5282 |
+
"gauge": {
|
5283 |
+
"version": "2.7.4",
|
5284 |
+
"bundled": true,
|
5285 |
+
"requires": {
|
5286 |
+
"aproba": "1.2.0",
|
5287 |
+
"console-control-strings": "1.1.0",
|
5288 |
+
"has-unicode": "2.0.1",
|
5289 |
+
"object-assign": "4.1.1",
|
5290 |
+
"signal-exit": "3.0.2",
|
5291 |
+
"string-width": "1.0.2",
|
5292 |
+
"strip-ansi": "3.0.1",
|
5293 |
+
"wide-align": "1.1.2"
|
5294 |
+
},
|
5295 |
+
"dependencies": {
|
5296 |
+
"string-width": {
|
5297 |
+
"version": "1.0.2",
|
5298 |
+
"bundled": true,
|
5299 |
+
"requires": {
|
5300 |
+
"code-point-at": "1.1.0",
|
5301 |
+
"is-fullwidth-code-point": "1.0.0",
|
5302 |
+
"strip-ansi": "3.0.1"
|
5303 |
+
}
|
5304 |
+
}
|
5305 |
+
}
|
5306 |
+
},
|
5307 |
+
"genfun": {
|
5308 |
+
"version": "4.0.1",
|
5309 |
+
"bundled": true
|
5310 |
+
},
|
5311 |
+
"gentle-fs": {
|
5312 |
+
"version": "2.0.1",
|
5313 |
+
"bundled": true,
|
5314 |
+
"requires": {
|
5315 |
+
"aproba": "1.2.0",
|
5316 |
+
"fs-vacuum": "1.2.10",
|
5317 |
+
"graceful-fs": "4.1.11",
|
5318 |
+
"iferr": "0.1.5",
|
5319 |
+
"mkdirp": "0.5.1",
|
5320 |
+
"path-is-inside": "1.0.2",
|
5321 |
+
"read-cmd-shim": "1.0.1",
|
5322 |
+
"slide": "1.1.6"
|
5323 |
+
},
|
5324 |
+
"dependencies": {
|
5325 |
+
"iferr": {
|
5326 |
+
"version": "0.1.5",
|
5327 |
+
"bundled": true
|
5328 |
+
}
|
5329 |
+
}
|
5330 |
+
},
|
5331 |
+
"get-caller-file": {
|
5332 |
+
"version": "1.0.2",
|
5333 |
+
"bundled": true
|
5334 |
+
},
|
5335 |
+
"get-stream": {
|
5336 |
+
"version": "3.0.0",
|
5337 |
+
"bundled": true
|
5338 |
+
},
|
5339 |
+
"getpass": {
|
5340 |
+
"version": "0.1.7",
|
5341 |
+
"bundled": true,
|
5342 |
+
"requires": {
|
5343 |
+
"assert-plus": "1.0.0"
|
5344 |
+
},
|
5345 |
+
"dependencies": {
|
5346 |
+
"assert-plus": {
|
5347 |
+
"version": "1.0.0",
|
5348 |
+
"bundled": true
|
5349 |
+
}
|
5350 |
+
}
|
5351 |
+
},
|
5352 |
+
"glob": {
|
5353 |
+
"version": "7.1.2",
|
5354 |
+
"bundled": true,
|
5355 |
+
"requires": {
|
5356 |
+
"fs.realpath": "1.0.0",
|
5357 |
+
"inflight": "1.0.6",
|
5358 |
+
"inherits": "2.0.3",
|
5359 |
+
"minimatch": "3.0.4",
|
5360 |
+
"once": "1.4.0",
|
5361 |
+
"path-is-absolute": "1.0.1"
|
5362 |
+
}
|
5363 |
+
},
|
5364 |
+
"global-dirs": {
|
5365 |
+
"version": "0.1.1",
|
5366 |
+
"bundled": true,
|
5367 |
+
"requires": {
|
5368 |
+
"ini": "1.3.5"
|
5369 |
+
}
|
5370 |
+
},
|
5371 |
+
"got": {
|
5372 |
+
"version": "6.7.1",
|
5373 |
+
"bundled": true,
|
5374 |
+
"requires": {
|
5375 |
+
"create-error-class": "3.0.2",
|
5376 |
+
"duplexer3": "0.1.4",
|
5377 |
+
"get-stream": "3.0.0",
|
5378 |
+
"is-redirect": "1.0.0",
|
5379 |
+
"is-retry-allowed": "1.1.0",
|
5380 |
+
"is-stream": "1.1.0",
|
5381 |
+
"lowercase-keys": "1.0.1",
|
5382 |
+
"safe-buffer": "5.1.2",
|
5383 |
+
"timed-out": "4.0.1",
|
5384 |
+
"unzip-response": "2.0.1",
|
5385 |
+
"url-parse-lax": "1.0.0"
|
5386 |
+
}
|
5387 |
+
},
|
5388 |
+
"graceful-fs": {
|
5389 |
+
"version": "4.1.11",
|
5390 |
+
"bundled": true
|
5391 |
+
},
|
5392 |
+
"har-schema": {
|
5393 |
+
"version": "1.0.5",
|
5394 |
+
"bundled": true
|
5395 |
+
},
|
5396 |
+
"har-validator": {
|
5397 |
+
"version": "4.2.1",
|
5398 |
+
"bundled": true,
|
5399 |
+
"requires": {
|
5400 |
+
"ajv": "4.11.8",
|
5401 |
+
"har-schema": "1.0.5"
|
5402 |
+
},
|
5403 |
+
"dependencies": {
|
5404 |
+
"ajv": {
|
5405 |
+
"version": "4.11.8",
|
5406 |
+
"bundled": true,
|
5407 |
+
"requires": {
|
5408 |
+
"co": "4.6.0",
|
5409 |
+
"json-stable-stringify": "1.0.1"
|
5410 |
+
}
|
5411 |
+
}
|
5412 |
+
}
|
5413 |
+
},
|
5414 |
+
"has-flag": {
|
5415 |
+
"version": "3.0.0",
|
5416 |
+
"bundled": true
|
5417 |
+
},
|
5418 |
+
"has-unicode": {
|
5419 |
+
"version": "2.0.1",
|
5420 |
+
"bundled": true
|
5421 |
+
},
|
5422 |
+
"hawk": {
|
5423 |
+
"version": "3.1.3",
|
5424 |
+
"bundled": true,
|
5425 |
+
"requires": {
|
5426 |
+
"boom": "2.10.1",
|
5427 |
+
"cryptiles": "2.0.5",
|
5428 |
+
"hoek": "2.16.3",
|
5429 |
+
"sntp": "1.0.9"
|
5430 |
+
}
|
5431 |
+
},
|
5432 |
+
"hoek": {
|
5433 |
+
"version": "2.16.3",
|
5434 |
+
"bundled": true
|
5435 |
+
},
|
5436 |
+
"hosted-git-info": {
|
5437 |
+
"version": "2.6.0",
|
5438 |
+
"bundled": true
|
5439 |
+
},
|
5440 |
+
"http-cache-semantics": {
|
5441 |
+
"version": "3.8.1",
|
5442 |
+
"bundled": true
|
5443 |
+
},
|
5444 |
+
"http-proxy-agent": {
|
5445 |
+
"version": "2.1.0",
|
5446 |
+
"bundled": true,
|
5447 |
+
"requires": {
|
5448 |
+
"agent-base": "4.2.0",
|
5449 |
+
"debug": "3.1.0"
|
5450 |
+
}
|
5451 |
+
},
|
5452 |
+
"http-signature": {
|
5453 |
+
"version": "1.1.1",
|
5454 |
+
"bundled": true,
|
5455 |
+
"requires": {
|
5456 |
+
"assert-plus": "0.2.0",
|
5457 |
+
"jsprim": "1.4.1",
|
5458 |
+
"sshpk": "1.14.2"
|
5459 |
+
}
|
5460 |
+
},
|
5461 |
+
"https-proxy-agent": {
|
5462 |
+
"version": "2.2.1",
|
5463 |
+
"bundled": true,
|
5464 |
+
"requires": {
|
5465 |
+
"agent-base": "4.2.0",
|
5466 |
+
"debug": "3.1.0"
|
5467 |
+
}
|
5468 |
+
},
|
5469 |
+
"humanize-ms": {
|
5470 |
+
"version": "1.2.1",
|
5471 |
+
"bundled": true,
|
5472 |
+
"requires": {
|
5473 |
+
"ms": "2.1.1"
|
5474 |
+
}
|
5475 |
+
},
|
5476 |
+
"iconv-lite": {
|
5477 |
+
"version": "0.4.23",
|
5478 |
+
"bundled": true,
|
5479 |
+
"requires": {
|
5480 |
+
"safer-buffer": "2.1.2"
|
5481 |
+
}
|
5482 |
+
},
|
5483 |
+
"iferr": {
|
5484 |
+
"version": "1.0.0",
|
5485 |
+
"bundled": true
|
5486 |
+
},
|
5487 |
+
"ignore-walk": {
|
5488 |
+
"version": "3.0.1",
|
5489 |
+
"bundled": true,
|
5490 |
+
"requires": {
|
5491 |
+
"minimatch": "3.0.4"
|
5492 |
+
}
|
5493 |
+
},
|
5494 |
+
"import-lazy": {
|
5495 |
+
"version": "2.1.0",
|
5496 |
+
"bundled": true
|
5497 |
+
},
|
5498 |
+
"imurmurhash": {
|
5499 |
+
"version": "0.1.4",
|
5500 |
+
"bundled": true
|
5501 |
+
},
|
5502 |
+
"inflight": {
|
5503 |
+
"version": "1.0.6",
|
5504 |
+
"bundled": true,
|
5505 |
+
"requires": {
|
5506 |
+
"once": "1.4.0",
|
5507 |
+
"wrappy": "1.0.2"
|
5508 |
+
}
|
5509 |
+
},
|
5510 |
+
"inherits": {
|
5511 |
+
"version": "2.0.3",
|
5512 |
+
"bundled": true
|
5513 |
+
},
|
5514 |
+
"ini": {
|
5515 |
+
"version": "1.3.5",
|
5516 |
+
"bundled": true
|
5517 |
+
},
|
5518 |
+
"init-package-json": {
|
5519 |
+
"version": "1.10.3",
|
5520 |
+
"bundled": true,
|
5521 |
+
"requires": {
|
5522 |
+
"glob": "7.1.2",
|
5523 |
+
"npm-package-arg": "6.1.0",
|
5524 |
+
"promzard": "0.3.0",
|
5525 |
+
"read": "1.0.7",
|
5526 |
+
"read-package-json": "2.0.13",
|
5527 |
+
"semver": "5.5.0",
|
5528 |
+
"validate-npm-package-license": "3.0.3",
|
5529 |
+
"validate-npm-package-name": "3.0.0"
|
5530 |
+
}
|
5531 |
+
},
|
5532 |
+
"invert-kv": {
|
5533 |
+
"version": "1.0.0",
|
5534 |
+
"bundled": true
|
5535 |
+
},
|
5536 |
+
"ip": {
|
5537 |
+
"version": "1.1.5",
|
5538 |
+
"bundled": true
|
5539 |
+
},
|
5540 |
+
"ip-regex": {
|
5541 |
+
"version": "2.1.0",
|
5542 |
+
"bundled": true
|
5543 |
+
},
|
5544 |
+
"is-builtin-module": {
|
5545 |
+
"version": "1.0.0",
|
5546 |
+
"bundled": true,
|
5547 |
+
"requires": {
|
5548 |
+
"builtin-modules": "1.1.1"
|
5549 |
+
}
|
5550 |
+
},
|
5551 |
+
"is-ci": {
|
5552 |
+
"version": "1.1.0",
|
5553 |
+
"bundled": true,
|
5554 |
+
"requires": {
|
5555 |
+
"ci-info": "1.1.3"
|
5556 |
+
}
|
5557 |
+
},
|
5558 |
+
"is-cidr": {
|
5559 |
+
"version": "2.0.6",
|
5560 |
+
"bundled": true,
|
5561 |
+
"requires": {
|
5562 |
+
"cidr-regex": "2.0.9"
|
5563 |
+
}
|
5564 |
+
},
|
5565 |
+
"is-fullwidth-code-point": {
|
5566 |
+
"version": "1.0.0",
|
5567 |
+
"bundled": true,
|
5568 |
+
"requires": {
|
5569 |
+
"number-is-nan": "1.0.1"
|
5570 |
+
}
|
5571 |
+
},
|
5572 |
+
"is-installed-globally": {
|
5573 |
+
"version": "0.1.0",
|
5574 |
+
"bundled": true,
|
5575 |
+
"requires": {
|
5576 |
+
"global-dirs": "0.1.1",
|
5577 |
+
"is-path-inside": "1.0.1"
|
5578 |
+
}
|
5579 |
+
},
|
5580 |
+
"is-npm": {
|
5581 |
+
"version": "1.0.0",
|
5582 |
+
"bundled": true
|
5583 |
+
},
|
5584 |
+
"is-obj": {
|
5585 |
+
"version": "1.0.1",
|
5586 |
+
"bundled": true
|
5587 |
+
},
|
5588 |
+
"is-path-inside": {
|
5589 |
+
"version": "1.0.1",
|
5590 |
+
"bundled": true,
|
5591 |
+
"requires": {
|
5592 |
+
"path-is-inside": "1.0.2"
|
5593 |
+
}
|
5594 |
+
},
|
5595 |
+
"is-redirect": {
|
5596 |
+
"version": "1.0.0",
|
5597 |
+
"bundled": true
|
5598 |
+
},
|
5599 |
+
"is-retry-allowed": {
|
5600 |
+
"version": "1.1.0",
|
5601 |
+
"bundled": true
|
5602 |
+
},
|
5603 |
+
"is-stream": {
|
5604 |
+
"version": "1.1.0",
|
5605 |
+
"bundled": true
|
5606 |
+
},
|
5607 |
+
"is-typedarray": {
|
5608 |
+
"version": "1.0.0",
|
5609 |
+
"bundled": true
|
5610 |
+
},
|
5611 |
+
"isarray": {
|
5612 |
+
"version": "1.0.0",
|
5613 |
+
"bundled": true
|
5614 |
+
},
|
5615 |
+
"isexe": {
|
5616 |
+
"version": "2.0.0",
|
5617 |
+
"bundled": true
|
5618 |
+
},
|
5619 |
+
"isstream": {
|
5620 |
+
"version": "0.1.2",
|
5621 |
+
"bundled": true
|
5622 |
+
},
|
5623 |
+
"jsbn": {
|
5624 |
+
"version": "0.1.1",
|
5625 |
+
"bundled": true,
|
5626 |
+
"optional": true
|
5627 |
+
},
|
5628 |
+
"json-parse-better-errors": {
|
5629 |
+
"version": "1.0.2",
|
5630 |
+
"bundled": true
|
5631 |
+
},
|
5632 |
+
"json-schema": {
|
5633 |
+
"version": "0.2.3",
|
5634 |
+
"bundled": true
|
5635 |
+
},
|
5636 |
+
"json-stable-stringify": {
|
5637 |
+
"version": "1.0.1",
|
5638 |
+
"bundled": true,
|
5639 |
+
"requires": {
|
5640 |
+
"jsonify": "0.0.0"
|
5641 |
+
}
|
5642 |
+
},
|
5643 |
+
"json-stringify-safe": {
|
5644 |
+
"version": "5.0.1",
|
5645 |
+
"bundled": true
|
5646 |
+
},
|
5647 |
+
"jsonify": {
|
5648 |
+
"version": "0.0.0",
|
5649 |
+
"bundled": true
|
5650 |
+
},
|
5651 |
+
"jsonparse": {
|
5652 |
+
"version": "1.3.1",
|
5653 |
+
"bundled": true
|
5654 |
+
},
|
5655 |
+
"jsprim": {
|
5656 |
+
"version": "1.4.1",
|
5657 |
+
"bundled": true,
|
5658 |
+
"requires": {
|
5659 |
+
"assert-plus": "1.0.0",
|
5660 |
+
"extsprintf": "1.3.0",
|
5661 |
+
"json-schema": "0.2.3",
|
5662 |
+
"verror": "1.10.0"
|
5663 |
+
},
|
5664 |
+
"dependencies": {
|
5665 |
+
"assert-plus": {
|
5666 |
+
"version": "1.0.0",
|
5667 |
+
"bundled": true
|
5668 |
+
}
|
5669 |
+
}
|
5670 |
+
},
|
5671 |
+
"latest-version": {
|
5672 |
+
"version": "3.1.0",
|
5673 |
+
"bundled": true,
|
5674 |
+
"requires": {
|
5675 |
+
"package-json": "4.0.1"
|
5676 |
+
}
|
5677 |
+
},
|
5678 |
+
"lazy-property": {
|
5679 |
+
"version": "1.0.0",
|
5680 |
+
"bundled": true
|
5681 |
+
},
|
5682 |
+
"lcid": {
|
5683 |
+
"version": "1.0.0",
|
5684 |
+
"bundled": true,
|
5685 |
+
"requires": {
|
5686 |
+
"invert-kv": "1.0.0"
|
5687 |
+
}
|
5688 |
+
},
|
5689 |
+
"libcipm": {
|
5690 |
+
"version": "2.0.0",
|
5691 |
+
"bundled": true,
|
5692 |
+
"requires": {
|
5693 |
+
"bin-links": "1.1.2",
|
5694 |
+
"bluebird": "3.5.1",
|
5695 |
+
"find-npm-prefix": "1.0.2",
|
5696 |
+
"graceful-fs": "4.1.11",
|
5697 |
+
"lock-verify": "2.0.2",
|
5698 |
+
"npm-lifecycle": "2.0.3",
|
5699 |
+
"npm-logical-tree": "1.2.1",
|
5700 |
+
"npm-package-arg": "6.1.0",
|
5701 |
+
"pacote": "8.1.6",
|
5702 |
+
"protoduck": "5.0.0",
|
5703 |
+
"read-package-json": "2.0.13",
|
5704 |
+
"rimraf": "2.6.2",
|
5705 |
+
"worker-farm": "1.6.0"
|
5706 |
+
}
|
5707 |
+
},
|
5708 |
+
"libnpmhook": {
|
5709 |
+
"version": "4.0.1",
|
5710 |
+
"bundled": true,
|
5711 |
+
"requires": {
|
5712 |
+
"figgy-pudding": "3.2.0",
|
5713 |
+
"npm-registry-fetch": "3.1.1"
|
5714 |
+
},
|
5715 |
+
"dependencies": {
|
5716 |
+
"npm-registry-fetch": {
|
5717 |
+
"version": "3.1.1",
|
5718 |
+
"bundled": true,
|
5719 |
+
"requires": {
|
5720 |
+
"bluebird": "3.5.1",
|
5721 |
+
"figgy-pudding": "3.2.0",
|
5722 |
+
"lru-cache": "4.1.3",
|
5723 |
+
"make-fetch-happen": "4.0.1",
|
5724 |
+
"npm-package-arg": "6.1.0"
|
5725 |
+
}
|
5726 |
+
}
|
5727 |
+
}
|
5728 |
+
},
|
5729 |
+
"libnpx": {
|
5730 |
+
"version": "10.2.0",
|
5731 |
+
"bundled": true,
|
5732 |
+
"requires": {
|
5733 |
+
"dotenv": "5.0.1",
|
5734 |
+
"npm-package-arg": "6.1.0",
|
5735 |
+
"rimraf": "2.6.2",
|
5736 |
+
"safe-buffer": "5.1.2",
|
5737 |
+
"update-notifier": "2.5.0",
|
5738 |
+
"which": "1.3.1",
|
5739 |
+
"y18n": "4.0.0",
|
5740 |
+
"yargs": "11.0.0"
|
5741 |
+
}
|
5742 |
+
},
|
5743 |
+
"locate-path": {
|
5744 |
+
"version": "2.0.0",
|
5745 |
+
"bundled": true,
|
5746 |
+
"requires": {
|
5747 |
+
"p-locate": "2.0.0",
|
5748 |
+
"path-exists": "3.0.0"
|
5749 |
+
}
|
5750 |
+
},
|
5751 |
+
"lock-verify": {
|
5752 |
+
"version": "2.0.2",
|
5753 |
+
"bundled": true,
|
5754 |
+
"requires": {
|
5755 |
+
"npm-package-arg": "6.1.0",
|
5756 |
+
"semver": "5.5.0"
|
5757 |
+
}
|
5758 |
+
},
|
5759 |
+
"lockfile": {
|
5760 |
+
"version": "1.0.4",
|
5761 |
+
"bundled": true,
|
5762 |
+
"requires": {
|
5763 |
+
"signal-exit": "3.0.2"
|
5764 |
+
}
|
5765 |
+
},
|
5766 |
+
"lodash._baseindexof": {
|
5767 |
+
"version": "3.1.0",
|
5768 |
+
"bundled": true
|
5769 |
+
},
|
5770 |
+
"lodash._baseuniq": {
|
5771 |
+
"version": "4.6.0",
|
5772 |
+
"bundled": true,
|
5773 |
+
"requires": {
|
5774 |
+
"lodash._createset": "4.0.3",
|
5775 |
+
"lodash._root": "3.0.1"
|
5776 |
+
}
|
5777 |
+
},
|
5778 |
+
"lodash._bindcallback": {
|
5779 |
+
"version": "3.0.1",
|
5780 |
+
"bundled": true
|
5781 |
+
},
|
5782 |
+
"lodash._cacheindexof": {
|
5783 |
+
"version": "3.0.2",
|
5784 |
+
"bundled": true
|
5785 |
+
},
|
5786 |
+
"lodash._createcache": {
|
5787 |
+
"version": "3.1.2",
|
5788 |
+
"bundled": true,
|
5789 |
+
"requires": {
|
5790 |
+
"lodash._getnative": "3.9.1"
|
5791 |
+
}
|
5792 |
+
},
|
5793 |
+
"lodash._createset": {
|
5794 |
+
"version": "4.0.3",
|
5795 |
+
"bundled": true
|
5796 |
+
},
|
5797 |
+
"lodash._getnative": {
|
5798 |
+
"version": "3.9.1",
|
5799 |
+
"bundled": true
|
5800 |
+
},
|
5801 |
+
"lodash._root": {
|
5802 |
+
"version": "3.0.1",
|
5803 |
+
"bundled": true
|
5804 |
+
},
|
5805 |
+
"lodash.clonedeep": {
|
5806 |
+
"version": "4.5.0",
|
5807 |
+
"bundled": true
|
5808 |
+
},
|
5809 |
+
"lodash.restparam": {
|
5810 |
+
"version": "3.6.1",
|
5811 |
+
"bundled": true
|
5812 |
+
},
|
5813 |
+
"lodash.union": {
|
5814 |
+
"version": "4.6.0",
|
5815 |
+
"bundled": true
|
5816 |
+
},
|
5817 |
+
"lodash.uniq": {
|
5818 |
+
"version": "4.5.0",
|
5819 |
+
"bundled": true
|
5820 |
+
},
|
5821 |
+
"lodash.without": {
|
5822 |
+
"version": "4.4.0",
|
5823 |
+
"bundled": true
|
5824 |
+
},
|
5825 |
+
"lowercase-keys": {
|
5826 |
+
"version": "1.0.1",
|
5827 |
+
"bundled": true
|
5828 |
+
},
|
5829 |
+
"lru-cache": {
|
5830 |
+
"version": "4.1.3",
|
5831 |
+
"bundled": true,
|
5832 |
+
"requires": {
|
5833 |
+
"pseudomap": "1.0.2",
|
5834 |
+
"yallist": "2.1.2"
|
5835 |
+
}
|
5836 |
+
},
|
5837 |
+
"make-dir": {
|
5838 |
+
"version": "1.3.0",
|
5839 |
+
"bundled": true,
|
5840 |
+
"requires": {
|
5841 |
+
"pify": "3.0.0"
|
5842 |
+
}
|
5843 |
+
},
|
5844 |
+
"make-fetch-happen": {
|
5845 |
+
"version": "4.0.1",
|
5846 |
+
"bundled": true,
|
5847 |
+
"requires": {
|
5848 |
+
"agentkeepalive": "3.4.1",
|
5849 |
+
"cacache": "11.1.0",
|
5850 |
+
"http-cache-semantics": "3.8.1",
|
5851 |
+
"http-proxy-agent": "2.1.0",
|
5852 |
+
"https-proxy-agent": "2.2.1",
|
5853 |
+
"lru-cache": "4.1.3",
|
5854 |
+
"mississippi": "3.0.0",
|
5855 |
+
"node-fetch-npm": "2.0.2",
|
5856 |
+
"promise-retry": "1.1.1",
|
5857 |
+
"socks-proxy-agent": "4.0.1",
|
5858 |
+
"ssri": "6.0.0"
|
5859 |
+
}
|
5860 |
+
},
|
5861 |
+
"meant": {
|
5862 |
+
"version": "1.0.1",
|
5863 |
+
"bundled": true
|
5864 |
+
},
|
5865 |
+
"mem": {
|
5866 |
+
"version": "1.1.0",
|
5867 |
+
"bundled": true,
|
5868 |
+
"requires": {
|
5869 |
+
"mimic-fn": "1.2.0"
|
5870 |
+
}
|
5871 |
+
},
|
5872 |
+
"mime-db": {
|
5873 |
+
"version": "1.33.0",
|
5874 |
+
"bundled": true
|
5875 |
+
},
|
5876 |
+
"mime-types": {
|
5877 |
+
"version": "2.1.18",
|
5878 |
+
"bundled": true,
|
5879 |
+
"requires": {
|
5880 |
+
"mime-db": "1.33.0"
|
5881 |
+
}
|
5882 |
+
},
|
5883 |
+
"mimic-fn": {
|
5884 |
+
"version": "1.2.0",
|
5885 |
+
"bundled": true
|
5886 |
+
},
|
5887 |
+
"minimatch": {
|
5888 |
+
"version": "3.0.4",
|
5889 |
+
"bundled": true,
|
5890 |
+
"requires": {
|
5891 |
+
"brace-expansion": "1.1.11"
|
5892 |
+
}
|
5893 |
+
},
|
5894 |
+
"minimist": {
|
5895 |
+
"version": "0.0.8",
|
5896 |
+
"bundled": true
|
5897 |
+
},
|
5898 |
+
"minipass": {
|
5899 |
+
"version": "2.3.3",
|
5900 |
+
"bundled": true,
|
5901 |
+
"requires": {
|
5902 |
+
"safe-buffer": "5.1.2",
|
5903 |
+
"yallist": "3.0.2"
|
5904 |
+
},
|
5905 |
+
"dependencies": {
|
5906 |
+
"yallist": {
|
5907 |
+
"version": "3.0.2",
|
5908 |
+
"bundled": true
|
5909 |
+
}
|
5910 |
+
}
|
5911 |
+
},
|
5912 |
+
"minizlib": {
|
5913 |
+
"version": "1.1.0",
|
5914 |
+
"bundled": true,
|
5915 |
+
"requires": {
|
5916 |
+
"minipass": "2.3.3"
|
5917 |
+
}
|
5918 |
+
},
|
5919 |
+
"mississippi": {
|
5920 |
+
"version": "3.0.0",
|
5921 |
+
"bundled": true,
|
5922 |
+
"requires": {
|
5923 |
+
"concat-stream": "1.6.2",
|
5924 |
+
"duplexify": "3.6.0",
|
5925 |
+
"end-of-stream": "1.4.1",
|
5926 |
+
"flush-write-stream": "1.0.3",
|
5927 |
+
"from2": "2.3.0",
|
5928 |
+
"parallel-transform": "1.1.0",
|
5929 |
+
"pump": "3.0.0",
|
5930 |
+
"pumpify": "1.5.1",
|
5931 |
+
"stream-each": "1.2.2",
|
5932 |
+
"through2": "2.0.3"
|
5933 |
+
}
|
5934 |
+
},
|
5935 |
+
"mkdirp": {
|
5936 |
+
"version": "0.5.1",
|
5937 |
+
"bundled": true,
|
5938 |
+
"requires": {
|
5939 |
+
"minimist": "0.0.8"
|
5940 |
+
}
|
5941 |
+
},
|
5942 |
+
"move-concurrently": {
|
5943 |
+
"version": "1.0.1",
|
5944 |
+
"bundled": true,
|
5945 |
+
"requires": {
|
5946 |
+
"aproba": "1.2.0",
|
5947 |
+
"copy-concurrently": "1.0.5",
|
5948 |
+
"fs-write-stream-atomic": "1.0.10",
|
5949 |
+
"mkdirp": "0.5.1",
|
5950 |
+
"rimraf": "2.6.2",
|
5951 |
+
"run-queue": "1.0.3"
|
5952 |
+
}
|
5953 |
+
},
|
5954 |
+
"ms": {
|
5955 |
+
"version": "2.1.1",
|
5956 |
+
"bundled": true
|
5957 |
+
},
|
5958 |
+
"mute-stream": {
|
5959 |
+
"version": "0.0.7",
|
5960 |
+
"bundled": true
|
5961 |
+
},
|
5962 |
+
"node-fetch-npm": {
|
5963 |
+
"version": "2.0.2",
|
5964 |
+
"bundled": true,
|
5965 |
+
"requires": {
|
5966 |
+
"encoding": "0.1.12",
|
5967 |
+
"json-parse-better-errors": "1.0.2",
|
5968 |
+
"safe-buffer": "5.1.2"
|
5969 |
+
}
|
5970 |
+
},
|
5971 |
+
"node-gyp": {
|
5972 |
+
"version": "3.7.0",
|
5973 |
+
"bundled": true,
|
5974 |
+
"requires": {
|
5975 |
+
"fstream": "1.0.11",
|
5976 |
+
"glob": "7.1.2",
|
5977 |
+
"graceful-fs": "4.1.11",
|
5978 |
+
"mkdirp": "0.5.1",
|
5979 |
+
"nopt": "3.0.6",
|
5980 |
+
"npmlog": "4.1.2",
|
5981 |
+
"osenv": "0.1.5",
|
5982 |
+
"request": "2.81.0",
|
5983 |
+
"rimraf": "2.6.2",
|
5984 |
+
"semver": "5.3.0",
|
5985 |
+
"tar": "2.2.1",
|
5986 |
+
"which": "1.3.1"
|
5987 |
+
},
|
5988 |
+
"dependencies": {
|
5989 |
+
"nopt": {
|
5990 |
+
"version": "3.0.6",
|
5991 |
+
"bundled": true,
|
5992 |
+
"requires": {
|
5993 |
+
"abbrev": "1.1.1"
|
5994 |
+
}
|
5995 |
+
},
|
5996 |
+
"semver": {
|
5997 |
+
"version": "5.3.0",
|
5998 |
+
"bundled": true
|
5999 |
+
},
|
6000 |
+
"tar": {
|
6001 |
+
"version": "2.2.1",
|
6002 |
+
"bundled": true,
|
6003 |
+
"requires": {
|
6004 |
+
"block-stream": "0.0.9",
|
6005 |
+
"fstream": "1.0.11",
|
6006 |
+
"inherits": "2.0.3"
|
6007 |
+
}
|
6008 |
+
}
|
6009 |
+
}
|
6010 |
+
},
|
6011 |
+
"nopt": {
|
6012 |
+
"version": "4.0.1",
|
6013 |
+
"bundled": true,
|
6014 |
+
"requires": {
|
6015 |
+
"abbrev": "1.1.1",
|
6016 |
+
"osenv": "0.1.5"
|
6017 |
+
}
|
6018 |
+
},
|
6019 |
+
"normalize-package-data": {
|
6020 |
+
"version": "2.4.0",
|
6021 |
+
"bundled": true,
|
6022 |
+
"requires": {
|
6023 |
+
"hosted-git-info": "2.6.0",
|
6024 |
+
"is-builtin-module": "1.0.0",
|
6025 |
+
"semver": "5.5.0",
|
6026 |
+
"validate-npm-package-license": "3.0.3"
|
6027 |
+
}
|
6028 |
+
},
|
6029 |
+
"npm-audit-report": {
|
6030 |
+
"version": "1.3.1",
|
6031 |
+
"bundled": true,
|
6032 |
+
"requires": {
|
6033 |
+
"cli-table3": "0.5.0",
|
6034 |
+
"console-control-strings": "1.1.0"
|
6035 |
+
}
|
6036 |
+
},
|
6037 |
+
"npm-bundled": {
|
6038 |
+
"version": "1.0.3",
|
6039 |
+
"bundled": true
|
6040 |
+
},
|
6041 |
+
"npm-cache-filename": {
|
6042 |
+
"version": "1.0.2",
|
6043 |
+
"bundled": true
|
6044 |
+
},
|
6045 |
+
"npm-install-checks": {
|
6046 |
+
"version": "3.0.0",
|
6047 |
+
"bundled": true,
|
6048 |
+
"requires": {
|
6049 |
+
"semver": "5.5.0"
|
6050 |
+
}
|
6051 |
+
},
|
6052 |
+
"npm-lifecycle": {
|
6053 |
+
"version": "2.0.3",
|
6054 |
+
"bundled": true,
|
6055 |
+
"requires": {
|
6056 |
+
"byline": "5.0.0",
|
6057 |
+
"graceful-fs": "4.1.11",
|
6058 |
+
"node-gyp": "3.7.0",
|
6059 |
+
"resolve-from": "4.0.0",
|
6060 |
+
"slide": "1.1.6",
|
6061 |
+
"uid-number": "0.0.6",
|
6062 |
+
"umask": "1.1.0",
|
6063 |
+
"which": "1.3.1"
|
6064 |
+
}
|
6065 |
+
},
|
6066 |
+
"npm-logical-tree": {
|
6067 |
+
"version": "1.2.1",
|
6068 |
+
"bundled": true
|
6069 |
+
},
|
6070 |
+
"npm-package-arg": {
|
6071 |
+
"version": "6.1.0",
|
6072 |
+
"bundled": true,
|
6073 |
+
"requires": {
|
6074 |
+
"hosted-git-info": "2.6.0",
|
6075 |
+
"osenv": "0.1.5",
|
6076 |
+
"semver": "5.5.0",
|
6077 |
+
"validate-npm-package-name": "3.0.0"
|
6078 |
+
}
|
6079 |
+
},
|
6080 |
+
"npm-packlist": {
|
6081 |
+
"version": "1.1.10",
|
6082 |
+
"bundled": true,
|
6083 |
+
"requires": {
|
6084 |
+
"ignore-walk": "3.0.1",
|
6085 |
+
"npm-bundled": "1.0.3"
|
6086 |
+
}
|
6087 |
+
},
|
6088 |
+
"npm-pick-manifest": {
|
6089 |
+
"version": "2.1.0",
|
6090 |
+
"bundled": true,
|
6091 |
+
"requires": {
|
6092 |
+
"npm-package-arg": "6.1.0",
|
6093 |
+
"semver": "5.5.0"
|
6094 |
+
}
|
6095 |
+
},
|
6096 |
+
"npm-profile": {
|
6097 |
+
"version": "3.0.2",
|
6098 |
+
"bundled": true,
|
6099 |
+
"requires": {
|
6100 |
+
"aproba": "1.2.0",
|
6101 |
+
"make-fetch-happen": "4.0.1"
|
6102 |
+
}
|
6103 |
+
},
|
6104 |
+
"npm-registry-client": {
|
6105 |
+
"version": "8.5.1",
|
6106 |
+
"bundled": true,
|
6107 |
+
"requires": {
|
6108 |
+
"concat-stream": "1.6.2",
|
6109 |
+
"graceful-fs": "4.1.11",
|
6110 |
+
"normalize-package-data": "2.4.0",
|
6111 |
+
"npm-package-arg": "6.1.0",
|
6112 |
+
"npmlog": "4.1.2",
|
6113 |
+
"once": "1.4.0",
|
6114 |
+
"request": "2.81.0",
|
6115 |
+
"retry": "0.10.1",
|
6116 |
+
"safe-buffer": "5.1.2",
|
6117 |
+
"semver": "5.5.0",
|
6118 |
+
"slide": "1.1.6",
|
6119 |
+
"ssri": "5.3.0"
|
6120 |
+
},
|
6121 |
+
"dependencies": {
|
6122 |
+
"retry": {
|
6123 |
+
"version": "0.10.1",
|
6124 |
+
"bundled": true
|
6125 |
+
},
|
6126 |
+
"ssri": {
|
6127 |
+
"version": "5.3.0",
|
6128 |
+
"bundled": true,
|
6129 |
+
"requires": {
|
6130 |
+
"safe-buffer": "5.1.2"
|
6131 |
+
}
|
6132 |
+
}
|
6133 |
+
}
|
6134 |
+
},
|
6135 |
+
"npm-registry-fetch": {
|
6136 |
+
"version": "1.1.0",
|
6137 |
+
"bundled": true,
|
6138 |
+
"requires": {
|
6139 |
+
"bluebird": "3.5.1",
|
6140 |
+
"figgy-pudding": "2.0.1",
|
6141 |
+
"lru-cache": "4.1.3",
|
6142 |
+
"make-fetch-happen": "3.0.0",
|
6143 |
+
"npm-package-arg": "6.1.0",
|
6144 |
+
"safe-buffer": "5.1.2"
|
6145 |
+
},
|
6146 |
+
"dependencies": {
|
6147 |
+
"cacache": {
|
6148 |
+
"version": "10.0.4",
|
6149 |
+
"bundled": true,
|
6150 |
+
"requires": {
|
6151 |
+
"bluebird": "3.5.1",
|
6152 |
+
"chownr": "1.0.1",
|
6153 |
+
"glob": "7.1.2",
|
6154 |
+
"graceful-fs": "4.1.11",
|
6155 |
+
"lru-cache": "4.1.3",
|
6156 |
+
"mississippi": "2.0.0",
|
6157 |
+
"mkdirp": "0.5.1",
|
6158 |
+
"move-concurrently": "1.0.1",
|
6159 |
+
"promise-inflight": "1.0.1",
|
6160 |
+
"rimraf": "2.6.2",
|
6161 |
+
"ssri": "5.3.0",
|
6162 |
+
"unique-filename": "1.1.0",
|
6163 |
+
"y18n": "4.0.0"
|
6164 |
+
},
|
6165 |
+
"dependencies": {
|
6166 |
+
"mississippi": {
|
6167 |
+
"version": "2.0.0",
|
6168 |
+
"bundled": true,
|
6169 |
+
"requires": {
|
6170 |
+
"concat-stream": "1.6.2",
|
6171 |
+
"duplexify": "3.6.0",
|
6172 |
+
"end-of-stream": "1.4.1",
|
6173 |
+
"flush-write-stream": "1.0.3",
|
6174 |
+
"from2": "2.3.0",
|
6175 |
+
"parallel-transform": "1.1.0",
|
6176 |
+
"pump": "2.0.1",
|
6177 |
+
"pumpify": "1.5.1",
|
6178 |
+
"stream-each": "1.2.2",
|
6179 |
+
"through2": "2.0.3"
|
6180 |
+
}
|
6181 |
+
}
|
6182 |
+
}
|
6183 |
+
},
|
6184 |
+
"figgy-pudding": {
|
6185 |
+
"version": "2.0.1",
|
6186 |
+
"bundled": true
|
6187 |
+
},
|
6188 |
+
"make-fetch-happen": {
|
6189 |
+
"version": "3.0.0",
|
6190 |
+
"bundled": true,
|
6191 |
+
"requires": {
|
6192 |
+
"agentkeepalive": "3.4.1",
|
6193 |
+
"cacache": "10.0.4",
|
6194 |
+
"http-cache-semantics": "3.8.1",
|
6195 |
+
"http-proxy-agent": "2.1.0",
|
6196 |
+
"https-proxy-agent": "2.2.1",
|
6197 |
+
"lru-cache": "4.1.3",
|
6198 |
+
"mississippi": "3.0.0",
|
6199 |
+
"node-fetch-npm": "2.0.2",
|
6200 |
+
"promise-retry": "1.1.1",
|
6201 |
+
"socks-proxy-agent": "3.0.1",
|
6202 |
+
"ssri": "5.3.0"
|
6203 |
+
}
|
6204 |
+
},
|
6205 |
+
"pump": {
|
6206 |
+
"version": "2.0.1",
|
6207 |
+
"bundled": true,
|
6208 |
+
"requires": {
|
6209 |
+
"end-of-stream": "1.4.1",
|
6210 |
+
"once": "1.4.0"
|
6211 |
+
}
|
6212 |
+
},
|
6213 |
+
"smart-buffer": {
|
6214 |
+
"version": "1.1.15",
|
6215 |
+
"bundled": true
|
6216 |
+
},
|
6217 |
+
"socks": {
|
6218 |
+
"version": "1.1.10",
|
6219 |
+
"bundled": true,
|
6220 |
+
"requires": {
|
6221 |
+
"ip": "1.1.5",
|
6222 |
+
"smart-buffer": "1.1.15"
|
6223 |
+
}
|
6224 |
+
},
|
6225 |
+
"socks-proxy-agent": {
|
6226 |
+
"version": "3.0.1",
|
6227 |
+
"bundled": true,
|
6228 |
+
"requires": {
|
6229 |
+
"agent-base": "4.2.0",
|
6230 |
+
"socks": "1.1.10"
|
6231 |
+
}
|
6232 |
+
},
|
6233 |
+
"ssri": {
|
6234 |
+
"version": "5.3.0",
|
6235 |
+
"bundled": true,
|
6236 |
+
"requires": {
|
6237 |
+
"safe-buffer": "5.1.2"
|
6238 |
+
}
|
6239 |
+
}
|
6240 |
+
}
|
6241 |
+
},
|
6242 |
+
"npm-run-path": {
|
6243 |
+
"version": "2.0.2",
|
6244 |
+
"bundled": true,
|
6245 |
+
"requires": {
|
6246 |
+
"path-key": "2.0.1"
|
6247 |
+
}
|
6248 |
+
},
|
6249 |
+
"npm-user-validate": {
|
6250 |
+
"version": "1.0.0",
|
6251 |
+
"bundled": true
|
6252 |
+
},
|
6253 |
+
"npmlog": {
|
6254 |
+
"version": "4.1.2",
|
6255 |
+
"bundled": true,
|
6256 |
+
"requires": {
|
6257 |
+
"are-we-there-yet": "1.1.4",
|
6258 |
+
"console-control-strings": "1.1.0",
|
6259 |
+
"gauge": "2.7.4",
|
6260 |
+
"set-blocking": "2.0.0"
|
6261 |
+
}
|
6262 |
+
},
|
6263 |
+
"number-is-nan": {
|
6264 |
+
"version": "1.0.1",
|
6265 |
+
"bundled": true
|
6266 |
+
},
|
6267 |
+
"oauth-sign": {
|
6268 |
+
"version": "0.8.2",
|
6269 |
+
"bundled": true
|
6270 |
+
},
|
6271 |
+
"object-assign": {
|
6272 |
+
"version": "4.1.1",
|
6273 |
+
"bundled": true
|
6274 |
+
},
|
6275 |
+
"once": {
|
6276 |
+
"version": "1.4.0",
|
6277 |
+
"bundled": true,
|
6278 |
+
"requires": {
|
6279 |
+
"wrappy": "1.0.2"
|
6280 |
+
}
|
6281 |
+
},
|
6282 |
+
"opener": {
|
6283 |
+
"version": "1.4.3",
|
6284 |
+
"bundled": true
|
6285 |
+
},
|
6286 |
+
"os-homedir": {
|
6287 |
+
"version": "1.0.2",
|
6288 |
+
"bundled": true
|
6289 |
+
},
|
6290 |
+
"os-locale": {
|
6291 |
+
"version": "2.1.0",
|
6292 |
+
"bundled": true,
|
6293 |
+
"requires": {
|
6294 |
+
"execa": "0.7.0",
|
6295 |
+
"lcid": "1.0.0",
|
6296 |
+
"mem": "1.1.0"
|
6297 |
+
}
|
6298 |
+
},
|
6299 |
+
"os-tmpdir": {
|
6300 |
+
"version": "1.0.2",
|
6301 |
+
"bundled": true
|
6302 |
+
},
|
6303 |
+
"osenv": {
|
6304 |
+
"version": "0.1.5",
|
6305 |
+
"bundled": true,
|
6306 |
+
"requires": {
|
6307 |
+
"os-homedir": "1.0.2",
|
6308 |
+
"os-tmpdir": "1.0.2"
|
6309 |
+
}
|
6310 |
+
},
|
6311 |
+
"p-finally": {
|
6312 |
+
"version": "1.0.0",
|
6313 |
+
"bundled": true
|
6314 |
+
},
|
6315 |
+
"p-limit": {
|
6316 |
+
"version": "1.2.0",
|
6317 |
+
"bundled": true,
|
6318 |
+
"requires": {
|
6319 |
+
"p-try": "1.0.0"
|
6320 |
+
}
|
6321 |
+
},
|
6322 |
+
"p-locate": {
|
6323 |
+
"version": "2.0.0",
|
6324 |
+
"bundled": true,
|
6325 |
+
"requires": {
|
6326 |
+
"p-limit": "1.2.0"
|
6327 |
+
}
|
6328 |
+
},
|
6329 |
+
"p-try": {
|
6330 |
+
"version": "1.0.0",
|
6331 |
+
"bundled": true
|
6332 |
+
},
|
6333 |
+
"package-json": {
|
6334 |
+
"version": "4.0.1",
|
6335 |
+
"bundled": true,
|
6336 |
+
"requires": {
|
6337 |
+
"got": "6.7.1",
|
6338 |
+
"registry-auth-token": "3.3.2",
|
6339 |
+
"registry-url": "3.1.0",
|
6340 |
+
"semver": "5.5.0"
|
6341 |
+
}
|
6342 |
+
},
|
6343 |
+
"pacote": {
|
6344 |
+
"version": "8.1.6",
|
6345 |
+
"bundled": true,
|
6346 |
+
"requires": {
|
6347 |
+
"bluebird": "3.5.1",
|
6348 |
+
"cacache": "11.1.0",
|
6349 |
+
"get-stream": "3.0.0",
|
6350 |
+
"glob": "7.1.2",
|
6351 |
+
"lru-cache": "4.1.3",
|
6352 |
+
"make-fetch-happen": "4.0.1",
|
6353 |
+
"minimatch": "3.0.4",
|
6354 |
+
"minipass": "2.3.3",
|
6355 |
+
"mississippi": "3.0.0",
|
6356 |
+
"mkdirp": "0.5.1",
|
6357 |
+
"normalize-package-data": "2.4.0",
|
6358 |
+
"npm-package-arg": "6.1.0",
|
6359 |
+
"npm-packlist": "1.1.10",
|
6360 |
+
"npm-pick-manifest": "2.1.0",
|
6361 |
+
"osenv": "0.1.5",
|
6362 |
+
"promise-inflight": "1.0.1",
|
6363 |
+
"promise-retry": "1.1.1",
|
6364 |
+
"protoduck": "5.0.0",
|
6365 |
+
"rimraf": "2.6.2",
|
6366 |
+
"safe-buffer": "5.1.2",
|
6367 |
+
"semver": "5.5.0",
|
6368 |
+
"ssri": "6.0.0",
|
6369 |
+
"tar": "4.4.4",
|
6370 |
+
"unique-filename": "1.1.0",
|
6371 |
+
"which": "1.3.1"
|
6372 |
+
}
|
6373 |
+
},
|
6374 |
+
"parallel-transform": {
|
6375 |
+
"version": "1.1.0",
|
6376 |
+
"bundled": true,
|
6377 |
+
"requires": {
|
6378 |
+
"cyclist": "0.2.2",
|
6379 |
+
"inherits": "2.0.3",
|
6380 |
+
"readable-stream": "2.3.6"
|
6381 |
+
}
|
6382 |
+
},
|
6383 |
+
"path-exists": {
|
6384 |
+
"version": "3.0.0",
|
6385 |
+
"bundled": true
|
6386 |
+
},
|
6387 |
+
"path-is-absolute": {
|
6388 |
+
"version": "1.0.1",
|
6389 |
+
"bundled": true
|
6390 |
+
},
|
6391 |
+
"path-is-inside": {
|
6392 |
+
"version": "1.0.2",
|
6393 |
+
"bundled": true
|
6394 |
+
},
|
6395 |
+
"path-key": {
|
6396 |
+
"version": "2.0.1",
|
6397 |
+
"bundled": true
|
6398 |
+
},
|
6399 |
+
"performance-now": {
|
6400 |
+
"version": "0.2.0",
|
6401 |
+
"bundled": true
|
6402 |
+
},
|
6403 |
+
"pify": {
|
6404 |
+
"version": "3.0.0",
|
6405 |
+
"bundled": true
|
6406 |
+
},
|
6407 |
+
"prepend-http": {
|
6408 |
+
"version": "1.0.4",
|
6409 |
+
"bundled": true
|
6410 |
+
},
|
6411 |
+
"process-nextick-args": {
|
6412 |
+
"version": "2.0.0",
|
6413 |
+
"bundled": true
|
6414 |
+
},
|
6415 |
+
"promise-inflight": {
|
6416 |
+
"version": "1.0.1",
|
6417 |
+
"bundled": true
|
6418 |
+
},
|
6419 |
+
"promise-retry": {
|
6420 |
+
"version": "1.1.1",
|
6421 |
+
"bundled": true,
|
6422 |
+
"requires": {
|
6423 |
+
"err-code": "1.1.2",
|
6424 |
+
"retry": "0.10.1"
|
6425 |
+
},
|
6426 |
+
"dependencies": {
|
6427 |
+
"retry": {
|
6428 |
+
"version": "0.10.1",
|
6429 |
+
"bundled": true
|
6430 |
+
}
|
6431 |
+
}
|
6432 |
+
},
|
6433 |
+
"promzard": {
|
6434 |
+
"version": "0.3.0",
|
6435 |
+
"bundled": true,
|
6436 |
+
"requires": {
|
6437 |
+
"read": "1.0.7"
|
6438 |
+
}
|
6439 |
+
},
|
6440 |
+
"proto-list": {
|
6441 |
+
"version": "1.2.4",
|
6442 |
+
"bundled": true
|
6443 |
+
},
|
6444 |
+
"protoduck": {
|
6445 |
+
"version": "5.0.0",
|
6446 |
+
"bundled": true,
|
6447 |
+
"requires": {
|
6448 |
+
"genfun": "4.0.1"
|
6449 |
+
}
|
6450 |
+
},
|
6451 |
+
"prr": {
|
6452 |
+
"version": "1.0.1",
|
6453 |
+
"bundled": true
|
6454 |
+
},
|
6455 |
+
"pseudomap": {
|
6456 |
+
"version": "1.0.2",
|
6457 |
+
"bundled": true
|
6458 |
+
},
|
6459 |
+
"pump": {
|
6460 |
+
"version": "3.0.0",
|
6461 |
+
"bundled": true,
|
6462 |
+
"requires": {
|
6463 |
+
"end-of-stream": "1.4.1",
|
6464 |
+
"once": "1.4.0"
|
6465 |
+
}
|
6466 |
+
},
|
6467 |
+
"pumpify": {
|
6468 |
+
"version": "1.5.1",
|
6469 |
+
"bundled": true,
|
6470 |
+
"requires": {
|
6471 |
+
"duplexify": "3.6.0",
|
6472 |
+
"inherits": "2.0.3",
|
6473 |
+
"pump": "2.0.1"
|
6474 |
+
},
|
6475 |
+
"dependencies": {
|
6476 |
+
"pump": {
|
6477 |
+
"version": "2.0.1",
|
6478 |
+
"bundled": true,
|
6479 |
+
"requires": {
|
6480 |
+
"end-of-stream": "1.4.1",
|
6481 |
+
"once": "1.4.0"
|
6482 |
+
}
|
6483 |
+
}
|
6484 |
+
}
|
6485 |
+
},
|
6486 |
+
"punycode": {
|
6487 |
+
"version": "1.4.1",
|
6488 |
+
"bundled": true
|
6489 |
+
},
|
6490 |
+
"qrcode-terminal": {
|
6491 |
+
"version": "0.12.0",
|
6492 |
+
"bundled": true
|
6493 |
+
},
|
6494 |
+
"qs": {
|
6495 |
+
"version": "6.4.0",
|
6496 |
+
"bundled": true
|
6497 |
+
},
|
6498 |
+
"query-string": {
|
6499 |
+
"version": "6.1.0",
|
6500 |
+
"bundled": true,
|
6501 |
+
"requires": {
|
6502 |
+
"decode-uri-component": "0.2.0",
|
6503 |
+
"strict-uri-encode": "2.0.0"
|
6504 |
+
}
|
6505 |
+
},
|
6506 |
+
"qw": {
|
6507 |
+
"version": "1.0.1",
|
6508 |
+
"bundled": true
|
6509 |
+
},
|
6510 |
+
"rc": {
|
6511 |
+
"version": "1.2.7",
|
6512 |
+
"bundled": true,
|
6513 |
+
"requires": {
|
6514 |
+
"deep-extend": "0.5.1",
|
6515 |
+
"ini": "1.3.5",
|
6516 |
+
"minimist": "1.2.0",
|
6517 |
+
"strip-json-comments": "2.0.1"
|
6518 |
+
},
|
6519 |
+
"dependencies": {
|
6520 |
+
"minimist": {
|
6521 |
+
"version": "1.2.0",
|
6522 |
+
"bundled": true
|
6523 |
+
}
|
6524 |
+
}
|
6525 |
+
},
|
6526 |
+
"read": {
|
6527 |
+
"version": "1.0.7",
|
6528 |
+
"bundled": true,
|
6529 |
+
"requires": {
|
6530 |
+
"mute-stream": "0.0.7"
|
6531 |
+
}
|
6532 |
+
},
|
6533 |
+
"read-cmd-shim": {
|
6534 |
+
"version": "1.0.1",
|
6535 |
+
"bundled": true,
|
6536 |
+
"requires": {
|
6537 |
+
"graceful-fs": "4.1.11"
|
6538 |
+
}
|
6539 |
+
},
|
6540 |
+
"read-installed": {
|
6541 |
+
"version": "4.0.3",
|
6542 |
+
"bundled": true,
|
6543 |
+
"requires": {
|
6544 |
+
"debuglog": "1.0.1",
|
6545 |
+
"graceful-fs": "4.1.11",
|
6546 |
+
"read-package-json": "2.0.13",
|
6547 |
+
"readdir-scoped-modules": "1.0.2",
|
6548 |
+
"semver": "5.5.0",
|
6549 |
+
"slide": "1.1.6",
|
6550 |
+
"util-extend": "1.0.3"
|
6551 |
+
}
|
6552 |
+
},
|
6553 |
+
"read-package-json": {
|
6554 |
+
"version": "2.0.13",
|
6555 |
+
"bundled": true,
|
6556 |
+
"requires": {
|
6557 |
+
"glob": "7.1.2",
|
6558 |
+
"graceful-fs": "4.1.11",
|
6559 |
+
"json-parse-better-errors": "1.0.2",
|
6560 |
+
"normalize-package-data": "2.4.0",
|
6561 |
+
"slash": "1.0.0"
|
6562 |
+
}
|
6563 |
+
},
|
6564 |
+
"read-package-tree": {
|
6565 |
+
"version": "5.2.1",
|
6566 |
+
"bundled": true,
|
6567 |
+
"requires": {
|
6568 |
+
"debuglog": "1.0.1",
|
6569 |
+
"dezalgo": "1.0.3",
|
6570 |
+
"once": "1.4.0",
|
6571 |
+
"read-package-json": "2.0.13",
|
6572 |
+
"readdir-scoped-modules": "1.0.2"
|
6573 |
+
}
|
6574 |
+
},
|
6575 |
+
"readable-stream": {
|
6576 |
+
"version": "2.3.6",
|
6577 |
+
"bundled": true,
|
6578 |
+
"requires": {
|
6579 |
+
"core-util-is": "1.0.2",
|
6580 |
+
"inherits": "2.0.3",
|
6581 |
+
"isarray": "1.0.0",
|
6582 |
+
"process-nextick-args": "2.0.0",
|
6583 |
+
"safe-buffer": "5.1.2",
|
6584 |
+
"string_decoder": "1.1.1",
|
6585 |
+
"util-deprecate": "1.0.2"
|
6586 |
+
}
|
6587 |
+
},
|
6588 |
+
"readdir-scoped-modules": {
|
6589 |
+
"version": "1.0.2",
|
6590 |
+
"bundled": true,
|
6591 |
+
"requires": {
|
6592 |
+
"debuglog": "1.0.1",
|
6593 |
+
"dezalgo": "1.0.3",
|
6594 |
+
"graceful-fs": "4.1.11",
|
6595 |
+
"once": "1.4.0"
|
6596 |
+
}
|
6597 |
+
},
|
6598 |
+
"registry-auth-token": {
|
6599 |
+
"version": "3.3.2",
|
6600 |
+
"bundled": true,
|
6601 |
+
"requires": {
|
6602 |
+
"rc": "1.2.7",
|
6603 |
+
"safe-buffer": "5.1.2"
|
6604 |
+
}
|
6605 |
+
},
|
6606 |
+
"registry-url": {
|
6607 |
+
"version": "3.1.0",
|
6608 |
+
"bundled": true,
|
6609 |
+
"requires": {
|
6610 |
+
"rc": "1.2.7"
|
6611 |
+
}
|
6612 |
+
},
|
6613 |
+
"request": {
|
6614 |
+
"version": "2.81.0",
|
6615 |
+
"bundled": true,
|
6616 |
+
"requires": {
|
6617 |
+
"aws-sign2": "0.6.0",
|
6618 |
+
"aws4": "1.7.0",
|
6619 |
+
"caseless": "0.12.0",
|
6620 |
+
"combined-stream": "1.0.6",
|
6621 |
+
"extend": "3.0.1",
|
6622 |
+
"forever-agent": "0.6.1",
|
6623 |
+
"form-data": "2.1.4",
|
6624 |
+
"har-validator": "4.2.1",
|
6625 |
+
"hawk": "3.1.3",
|
6626 |
+
"http-signature": "1.1.1",
|
6627 |
+
"is-typedarray": "1.0.0",
|
6628 |
+
"isstream": "0.1.2",
|
6629 |
+
"json-stringify-safe": "5.0.1",
|
6630 |
+
"mime-types": "2.1.18",
|
6631 |
+
"oauth-sign": "0.8.2",
|
6632 |
+
"performance-now": "0.2.0",
|
6633 |
+
"qs": "6.4.0",
|
6634 |
+
"safe-buffer": "5.1.2",
|
6635 |
+
"stringstream": "0.0.6",
|
6636 |
+
"tough-cookie": "2.3.4",
|
6637 |
+
"tunnel-agent": "0.6.0",
|
6638 |
+
"uuid": "3.3.2"
|
6639 |
+
}
|
6640 |
+
},
|
6641 |
+
"require-directory": {
|
6642 |
+
"version": "2.1.1",
|
6643 |
+
"bundled": true
|
6644 |
+
},
|
6645 |
+
"require-main-filename": {
|
6646 |
+
"version": "1.0.1",
|
6647 |
+
"bundled": true
|
6648 |
+
},
|
6649 |
+
"resolve-from": {
|
6650 |
+
"version": "4.0.0",
|
6651 |
+
"bundled": true
|
6652 |
+
},
|
6653 |
+
"retry": {
|
6654 |
+
"version": "0.12.0",
|
6655 |
+
"bundled": true
|
6656 |
+
},
|
6657 |
+
"rimraf": {
|
6658 |
+
"version": "2.6.2",
|
6659 |
+
"bundled": true,
|
6660 |
+
"requires": {
|
6661 |
+
"glob": "7.1.2"
|
6662 |
+
}
|
6663 |
+
},
|
6664 |
+
"run-queue": {
|
6665 |
+
"version": "1.0.3",
|
6666 |
+
"bundled": true,
|
6667 |
+
"requires": {
|
6668 |
+
"aproba": "1.2.0"
|
6669 |
+
}
|
6670 |
+
},
|
6671 |
+
"safe-buffer": {
|
6672 |
+
"version": "5.1.2",
|
6673 |
+
"bundled": true
|
6674 |
+
},
|
6675 |
+
"safer-buffer": {
|
6676 |
+
"version": "2.1.2",
|
6677 |
+
"bundled": true
|
6678 |
+
},
|
6679 |
+
"semver": {
|
6680 |
+
"version": "5.5.0",
|
6681 |
+
"bundled": true
|
6682 |
+
},
|
6683 |
+
"semver-diff": {
|
6684 |
+
"version": "2.1.0",
|
6685 |
+
"bundled": true,
|
6686 |
+
"requires": {
|
6687 |
+
"semver": "5.5.0"
|
6688 |
+
}
|
6689 |
+
},
|
6690 |
+
"set-blocking": {
|
6691 |
+
"version": "2.0.0",
|
6692 |
+
"bundled": true
|
6693 |
+
},
|
6694 |
+
"sha": {
|
6695 |
+
"version": "2.0.1",
|
6696 |
+
"bundled": true,
|
6697 |
+
"requires": {
|
6698 |
+
"graceful-fs": "4.1.11",
|
6699 |
+
"readable-stream": "2.3.6"
|
6700 |
+
}
|
6701 |
+
},
|
6702 |
+
"shebang-command": {
|
6703 |
+
"version": "1.2.0",
|
6704 |
+
"bundled": true,
|
6705 |
+
"requires": {
|
6706 |
+
"shebang-regex": "1.0.0"
|
6707 |
+
}
|
6708 |
+
},
|
6709 |
+
"shebang-regex": {
|
6710 |
+
"version": "1.0.0",
|
6711 |
+
"bundled": true
|
6712 |
+
},
|
6713 |
+
"signal-exit": {
|
6714 |
+
"version": "3.0.2",
|
6715 |
+
"bundled": true
|
6716 |
+
},
|
6717 |
+
"slash": {
|
6718 |
+
"version": "1.0.0",
|
6719 |
+
"bundled": true
|
6720 |
+
},
|
6721 |
+
"slide": {
|
6722 |
+
"version": "1.1.6",
|
6723 |
+
"bundled": true
|
6724 |
+
},
|
6725 |
+
"smart-buffer": {
|
6726 |
+
"version": "4.0.1",
|
6727 |
+
"bundled": true
|
6728 |
+
},
|
6729 |
+
"sntp": {
|
6730 |
+
"version": "1.0.9",
|
6731 |
+
"bundled": true,
|
6732 |
+
"requires": {
|
6733 |
+
"hoek": "2.16.3"
|
6734 |
+
}
|
6735 |
+
},
|
6736 |
+
"socks": {
|
6737 |
+
"version": "2.2.0",
|
6738 |
+
"bundled": true,
|
6739 |
+
"requires": {
|
6740 |
+
"ip": "1.1.5",
|
6741 |
+
"smart-buffer": "4.0.1"
|
6742 |
+
}
|
6743 |
+
},
|
6744 |
+
"socks-proxy-agent": {
|
6745 |
+
"version": "4.0.1",
|
6746 |
+
"bundled": true,
|
6747 |
+
"requires": {
|
6748 |
+
"agent-base": "4.2.0",
|
6749 |
+
"socks": "2.2.0"
|
6750 |
+
}
|
6751 |
+
},
|
6752 |
+
"sorted-object": {
|
6753 |
+
"version": "2.0.1",
|
6754 |
+
"bundled": true
|
6755 |
+
},
|
6756 |
+
"sorted-union-stream": {
|
6757 |
+
"version": "2.1.3",
|
6758 |
+
"bundled": true,
|
6759 |
+
"requires": {
|
6760 |
+
"from2": "1.3.0",
|
6761 |
+
"stream-iterate": "1.2.0"
|
6762 |
+
},
|
6763 |
+
"dependencies": {
|
6764 |
+
"from2": {
|
6765 |
+
"version": "1.3.0",
|
6766 |
+
"bundled": true,
|
6767 |
+
"requires": {
|
6768 |
+
"inherits": "2.0.3",
|
6769 |
+
"readable-stream": "1.1.14"
|
6770 |
+
}
|
6771 |
+
},
|
6772 |
+
"isarray": {
|
6773 |
+
"version": "0.0.1",
|
6774 |
+
"bundled": true
|
6775 |
+
},
|
6776 |
+
"readable-stream": {
|
6777 |
+
"version": "1.1.14",
|
6778 |
+
"bundled": true,
|
6779 |
+
"requires": {
|
6780 |
+
"core-util-is": "1.0.2",
|
6781 |
+
"inherits": "2.0.3",
|
6782 |
+
"isarray": "0.0.1",
|
6783 |
+
"string_decoder": "0.10.31"
|
6784 |
+
}
|
6785 |
+
},
|
6786 |
+
"string_decoder": {
|
6787 |
+
"version": "0.10.31",
|
6788 |
+
"bundled": true
|
6789 |
+
}
|
6790 |
+
}
|
6791 |
+
},
|
6792 |
+
"spdx-correct": {
|
6793 |
+
"version": "3.0.0",
|
6794 |
+
"bundled": true,
|
6795 |
+
"requires": {
|
6796 |
+
"spdx-expression-parse": "3.0.0",
|
6797 |
+
"spdx-license-ids": "3.0.0"
|
6798 |
+
}
|
6799 |
+
},
|
6800 |
+
"spdx-exceptions": {
|
6801 |
+
"version": "2.1.0",
|
6802 |
+
"bundled": true
|
6803 |
+
},
|
6804 |
+
"spdx-expression-parse": {
|
6805 |
+
"version": "3.0.0",
|
6806 |
+
"bundled": true,
|
6807 |
+
"requires": {
|
6808 |
+
"spdx-exceptions": "2.1.0",
|
6809 |
+
"spdx-license-ids": "3.0.0"
|
6810 |
+
}
|
6811 |
+
},
|
6812 |
+
"spdx-license-ids": {
|
6813 |
+
"version": "3.0.0",
|
6814 |
+
"bundled": true
|
6815 |
+
},
|
6816 |
+
"sshpk": {
|
6817 |
+
"version": "1.14.2",
|
6818 |
+
"bundled": true,
|
6819 |
+
"requires": {
|
6820 |
+
"asn1": "0.2.3",
|
6821 |
+
"assert-plus": "1.0.0",
|
6822 |
+
"bcrypt-pbkdf": "1.0.2",
|
6823 |
+
"dashdash": "1.14.1",
|
6824 |
+
"ecc-jsbn": "0.1.1",
|
6825 |
+
"getpass": "0.1.7",
|
6826 |
+
"jsbn": "0.1.1",
|
6827 |
+
"safer-buffer": "2.1.2",
|
6828 |
+
"tweetnacl": "0.14.5"
|
6829 |
+
},
|
6830 |
+
"dependencies": {
|
6831 |
+
"assert-plus": {
|
6832 |
+
"version": "1.0.0",
|
6833 |
+
"bundled": true
|
6834 |
+
}
|
6835 |
+
}
|
6836 |
+
},
|
6837 |
+
"ssri": {
|
6838 |
+
"version": "6.0.0",
|
6839 |
+
"bundled": true
|
6840 |
+
},
|
6841 |
+
"stream-each": {
|
6842 |
+
"version": "1.2.2",
|
6843 |
+
"bundled": true,
|
6844 |
+
"requires": {
|
6845 |
+
"end-of-stream": "1.4.1",
|
6846 |
+
"stream-shift": "1.0.0"
|
6847 |
+
}
|
6848 |
+
},
|
6849 |
+
"stream-iterate": {
|
6850 |
+
"version": "1.2.0",
|
6851 |
+
"bundled": true,
|
6852 |
+
"requires": {
|
6853 |
+
"readable-stream": "2.3.6",
|
6854 |
+
"stream-shift": "1.0.0"
|
6855 |
+
}
|
6856 |
+
},
|
6857 |
+
"stream-shift": {
|
6858 |
+
"version": "1.0.0",
|
6859 |
+
"bundled": true
|
6860 |
+
},
|
6861 |
+
"strict-uri-encode": {
|
6862 |
+
"version": "2.0.0",
|
6863 |
+
"bundled": true
|
6864 |
+
},
|
6865 |
+
"string-width": {
|
6866 |
+
"version": "2.1.1",
|
6867 |
+
"bundled": true,
|
6868 |
+
"requires": {
|
6869 |
+
"is-fullwidth-code-point": "2.0.0",
|
6870 |
+
"strip-ansi": "4.0.0"
|
6871 |
+
},
|
6872 |
+
"dependencies": {
|
6873 |
+
"ansi-regex": {
|
6874 |
+
"version": "3.0.0",
|
6875 |
+
"bundled": true
|
6876 |
+
},
|
6877 |
+
"is-fullwidth-code-point": {
|
6878 |
+
"version": "2.0.0",
|
6879 |
+
"bundled": true
|
6880 |
+
},
|
6881 |
+
"strip-ansi": {
|
6882 |
+
"version": "4.0.0",
|
6883 |
+
"bundled": true,
|
6884 |
+
"requires": {
|
6885 |
+
"ansi-regex": "3.0.0"
|
6886 |
+
}
|
6887 |
+
}
|
6888 |
+
}
|
6889 |
+
},
|
6890 |
+
"string_decoder": {
|
6891 |
+
"version": "1.1.1",
|
6892 |
+
"bundled": true,
|
6893 |
+
"requires": {
|
6894 |
+
"safe-buffer": "5.1.2"
|
6895 |
+
}
|
6896 |
+
},
|
6897 |
+
"stringify-package": {
|
6898 |
+
"version": "1.0.0",
|
6899 |
+
"bundled": true
|
6900 |
+
},
|
6901 |
+
"stringstream": {
|
6902 |
+
"version": "0.0.6",
|
6903 |
+
"bundled": true
|
6904 |
+
},
|
6905 |
+
"strip-ansi": {
|
6906 |
+
"version": "3.0.1",
|
6907 |
+
"bundled": true,
|
6908 |
+
"requires": {
|
6909 |
+
"ansi-regex": "2.1.1"
|
6910 |
+
}
|
6911 |
+
},
|
6912 |
+
"strip-eof": {
|
6913 |
+
"version": "1.0.0",
|
6914 |
+
"bundled": true
|
6915 |
+
},
|
6916 |
+
"strip-json-comments": {
|
6917 |
+
"version": "2.0.1",
|
6918 |
+
"bundled": true
|
6919 |
+
},
|
6920 |
+
"supports-color": {
|
6921 |
+
"version": "5.4.0",
|
6922 |
+
"bundled": true,
|
6923 |
+
"requires": {
|
6924 |
+
"has-flag": "3.0.0"
|
6925 |
+
}
|
6926 |
+
},
|
6927 |
+
"tar": {
|
6928 |
+
"version": "4.4.4",
|
6929 |
+
"bundled": true,
|
6930 |
+
"requires": {
|
6931 |
+
"chownr": "1.0.1",
|
6932 |
+
"fs-minipass": "1.2.5",
|
6933 |
+
"minipass": "2.3.3",
|
6934 |
+
"minizlib": "1.1.0",
|
6935 |
+
"mkdirp": "0.5.1",
|
6936 |
+
"safe-buffer": "5.1.2",
|
6937 |
+
"yallist": "3.0.2"
|
6938 |
+
},
|
6939 |
+
"dependencies": {
|
6940 |
+
"yallist": {
|
6941 |
+
"version": "3.0.2",
|
6942 |
+
"bundled": true
|
6943 |
+
}
|
6944 |
+
}
|
6945 |
+
},
|
6946 |
+
"term-size": {
|
6947 |
+
"version": "1.2.0",
|
6948 |
+
"bundled": true,
|
6949 |
+
"requires": {
|
6950 |
+
"execa": "0.7.0"
|
6951 |
+
}
|
6952 |
+
},
|
6953 |
+
"text-table": {
|
6954 |
+
"version": "0.2.0",
|
6955 |
+
"bundled": true
|
6956 |
+
},
|
6957 |
+
"through": {
|
6958 |
+
"version": "2.3.8",
|
6959 |
+
"bundled": true
|
6960 |
+
},
|
6961 |
+
"through2": {
|
6962 |
+
"version": "2.0.3",
|
6963 |
+
"bundled": true,
|
6964 |
+
"requires": {
|
6965 |
+
"readable-stream": "2.3.6",
|
6966 |
+
"xtend": "4.0.1"
|
6967 |
+
}
|
6968 |
+
},
|
6969 |
+
"timed-out": {
|
6970 |
+
"version": "4.0.1",
|
6971 |
+
"bundled": true
|
6972 |
+
},
|
6973 |
+
"tiny-relative-date": {
|
6974 |
+
"version": "1.3.0",
|
6975 |
+
"bundled": true
|
6976 |
+
},
|
6977 |
+
"tough-cookie": {
|
6978 |
+
"version": "2.3.4",
|
6979 |
+
"bundled": true,
|
6980 |
+
"requires": {
|
6981 |
+
"punycode": "1.4.1"
|
6982 |
+
}
|
6983 |
+
},
|
6984 |
+
"tunnel-agent": {
|
6985 |
+
"version": "0.6.0",
|
6986 |
+
"bundled": true,
|
6987 |
+
"requires": {
|
6988 |
+
"safe-buffer": "5.1.2"
|
6989 |
+
}
|
6990 |
+
},
|
6991 |
+
"tweetnacl": {
|
6992 |
+
"version": "0.14.5",
|
6993 |
+
"bundled": true,
|
6994 |
+
"optional": true
|
6995 |
+
},
|
6996 |
+
"typedarray": {
|
6997 |
+
"version": "0.0.6",
|
6998 |
+
"bundled": true
|
6999 |
+
},
|
7000 |
+
"uid-number": {
|
7001 |
+
"version": "0.0.6",
|
7002 |
+
"bundled": true
|
7003 |
+
},
|
7004 |
+
"umask": {
|
7005 |
+
"version": "1.1.0",
|
7006 |
+
"bundled": true
|
7007 |
+
},
|
7008 |
+
"unique-filename": {
|
7009 |
+
"version": "1.1.0",
|
7010 |
+
"bundled": true,
|
7011 |
+
"requires": {
|
7012 |
+
"unique-slug": "2.0.0"
|
7013 |
+
}
|
7014 |
+
},
|
7015 |
+
"unique-slug": {
|
7016 |
+
"version": "2.0.0",
|
7017 |
+
"bundled": true,
|
7018 |
+
"requires": {
|
7019 |
+
"imurmurhash": "0.1.4"
|
7020 |
+
}
|
7021 |
+
},
|
7022 |
+
"unique-string": {
|
7023 |
+
"version": "1.0.0",
|
7024 |
+
"bundled": true,
|
7025 |
+
"requires": {
|
7026 |
+
"crypto-random-string": "1.0.0"
|
7027 |
+
}
|
7028 |
+
},
|
7029 |
+
"unpipe": {
|
7030 |
+
"version": "1.0.0",
|
7031 |
+
"bundled": true
|
7032 |
+
},
|
7033 |
+
"unzip-response": {
|
7034 |
+
"version": "2.0.1",
|
7035 |
+
"bundled": true
|
7036 |
+
},
|
7037 |
+
"update-notifier": {
|
7038 |
+
"version": "2.5.0",
|
7039 |
+
"bundled": true,
|
7040 |
+
"requires": {
|
7041 |
+
"boxen": "1.3.0",
|
7042 |
+
"chalk": "2.4.1",
|
7043 |
+
"configstore": "3.1.2",
|
7044 |
+
"import-lazy": "2.1.0",
|
7045 |
+
"is-ci": "1.1.0",
|
7046 |
+
"is-installed-globally": "0.1.0",
|
7047 |
+
"is-npm": "1.0.0",
|
7048 |
+
"latest-version": "3.1.0",
|
7049 |
+
"semver-diff": "2.1.0",
|
7050 |
+
"xdg-basedir": "3.0.0"
|
7051 |
+
}
|
7052 |
+
},
|
7053 |
+
"url-parse-lax": {
|
7054 |
+
"version": "1.0.0",
|
7055 |
+
"bundled": true,
|
7056 |
+
"requires": {
|
7057 |
+
"prepend-http": "1.0.4"
|
7058 |
+
}
|
7059 |
+
},
|
7060 |
+
"util-deprecate": {
|
7061 |
+
"version": "1.0.2",
|
7062 |
+
"bundled": true
|
7063 |
+
},
|
7064 |
+
"util-extend": {
|
7065 |
+
"version": "1.0.3",
|
7066 |
+
"bundled": true
|
7067 |
+
},
|
7068 |
+
"uuid": {
|
7069 |
+
"version": "3.3.2",
|
7070 |
+
"bundled": true
|
7071 |
+
},
|
7072 |
+
"validate-npm-package-license": {
|
7073 |
+
"version": "3.0.3",
|
7074 |
+
"bundled": true,
|
7075 |
+
"requires": {
|
7076 |
+
"spdx-correct": "3.0.0",
|
7077 |
+
"spdx-expression-parse": "3.0.0"
|
7078 |
+
}
|
7079 |
+
},
|
7080 |
+
"validate-npm-package-name": {
|
7081 |
+
"version": "3.0.0",
|
7082 |
+
"bundled": true,
|
7083 |
+
"requires": {
|
7084 |
+
"builtins": "1.0.3"
|
7085 |
+
}
|
7086 |
+
},
|
7087 |
+
"verror": {
|
7088 |
+
"version": "1.10.0",
|
7089 |
+
"bundled": true,
|
7090 |
+
"requires": {
|
7091 |
+
"assert-plus": "1.0.0",
|
7092 |
+
"core-util-is": "1.0.2",
|
7093 |
+
"extsprintf": "1.3.0"
|
7094 |
+
},
|
7095 |
+
"dependencies": {
|
7096 |
+
"assert-plus": {
|
7097 |
+
"version": "1.0.0",
|
7098 |
+
"bundled": true
|
7099 |
+
}
|
7100 |
+
}
|
7101 |
+
},
|
7102 |
+
"wcwidth": {
|
7103 |
+
"version": "1.0.1",
|
7104 |
+
"bundled": true,
|
7105 |
+
"requires": {
|
7106 |
+
"defaults": "1.0.3"
|
7107 |
+
}
|
7108 |
+
},
|
7109 |
+
"which": {
|
7110 |
+
"version": "1.3.1",
|
7111 |
+
"bundled": true,
|
7112 |
+
"requires": {
|
7113 |
+
"isexe": "2.0.0"
|
7114 |
+
}
|
7115 |
+
},
|
7116 |
+
"which-module": {
|
7117 |
+
"version": "2.0.0",
|
7118 |
+
"bundled": true
|
7119 |
+
},
|
7120 |
+
"wide-align": {
|
7121 |
+
"version": "1.1.2",
|
7122 |
+
"bundled": true,
|
7123 |
+
"requires": {
|
7124 |
+
"string-width": "1.0.2"
|
7125 |
+
},
|
7126 |
+
"dependencies": {
|
7127 |
+
"string-width": {
|
7128 |
+
"version": "1.0.2",
|
7129 |
+
"bundled": true,
|
7130 |
+
"requires": {
|
7131 |
+
"code-point-at": "1.1.0",
|
7132 |
+
"is-fullwidth-code-point": "1.0.0",
|
7133 |
+
"strip-ansi": "3.0.1"
|
7134 |
+
}
|
7135 |
+
}
|
7136 |
+
}
|
7137 |
+
},
|
7138 |
+
"widest-line": {
|
7139 |
+
"version": "2.0.0",
|
7140 |
+
"bundled": true,
|
7141 |
+
"requires": {
|
7142 |
+
"string-width": "2.1.1"
|
7143 |
+
}
|
7144 |
+
},
|
7145 |
+
"worker-farm": {
|
7146 |
+
"version": "1.6.0",
|
7147 |
+
"bundled": true,
|
7148 |
+
"requires": {
|
7149 |
+
"errno": "0.1.7"
|
7150 |
+
}
|
7151 |
+
},
|
7152 |
+
"wrap-ansi": {
|
7153 |
+
"version": "2.1.0",
|
7154 |
+
"bundled": true,
|
7155 |
+
"requires": {
|
7156 |
+
"string-width": "1.0.2",
|
7157 |
+
"strip-ansi": "3.0.1"
|
7158 |
+
},
|
7159 |
+
"dependencies": {
|
7160 |
+
"string-width": {
|
7161 |
+
"version": "1.0.2",
|
7162 |
+
"bundled": true,
|
7163 |
+
"requires": {
|
7164 |
+
"code-point-at": "1.1.0",
|
7165 |
+
"is-fullwidth-code-point": "1.0.0",
|
7166 |
+
"strip-ansi": "3.0.1"
|
7167 |
+
}
|
7168 |
+
}
|
7169 |
+
}
|
7170 |
+
},
|
7171 |
+
"wrappy": {
|
7172 |
+
"version": "1.0.2",
|
7173 |
+
"bundled": true
|
7174 |
+
},
|
7175 |
+
"write-file-atomic": {
|
7176 |
+
"version": "2.3.0",
|
7177 |
+
"bundled": true,
|
7178 |
+
"requires": {
|
7179 |
+
"graceful-fs": "4.1.11",
|
7180 |
+
"imurmurhash": "0.1.4",
|
7181 |
+
"signal-exit": "3.0.2"
|
7182 |
+
}
|
7183 |
+
},
|
7184 |
+
"xdg-basedir": {
|
7185 |
+
"version": "3.0.0",
|
7186 |
+
"bundled": true
|
7187 |
+
},
|
7188 |
+
"xtend": {
|
7189 |
+
"version": "4.0.1",
|
7190 |
+
"bundled": true
|
7191 |
+
},
|
7192 |
+
"y18n": {
|
7193 |
+
"version": "4.0.0",
|
7194 |
+
"bundled": true
|
7195 |
+
},
|
7196 |
+
"yallist": {
|
7197 |
+
"version": "2.1.2",
|
7198 |
+
"bundled": true
|
7199 |
+
},
|
7200 |
+
"yargs": {
|
7201 |
+
"version": "11.0.0",
|
7202 |
+
"bundled": true,
|
7203 |
+
"requires": {
|
7204 |
+
"cliui": "4.1.0",
|
7205 |
+
"decamelize": "1.2.0",
|
7206 |
+
"find-up": "2.1.0",
|
7207 |
+
"get-caller-file": "1.0.2",
|
7208 |
+
"os-locale": "2.1.0",
|
7209 |
+
"require-directory": "2.1.1",
|
7210 |
+
"require-main-filename": "1.0.1",
|
7211 |
+
"set-blocking": "2.0.0",
|
7212 |
+
"string-width": "2.1.1",
|
7213 |
+
"which-module": "2.0.0",
|
7214 |
+
"y18n": "3.2.1",
|
7215 |
+
"yargs-parser": "9.0.2"
|
7216 |
+
},
|
7217 |
+
"dependencies": {
|
7218 |
+
"y18n": {
|
7219 |
+
"version": "3.2.1",
|
7220 |
+
"bundled": true
|
7221 |
+
}
|
7222 |
+
}
|
7223 |
+
},
|
7224 |
+
"yargs-parser": {
|
7225 |
+
"version": "9.0.2",
|
7226 |
+
"bundled": true,
|
7227 |
+
"requires": {
|
7228 |
+
"camelcase": "4.1.0"
|
7229 |
+
}
|
7230 |
+
}
|
7231 |
+
}
|
7232 |
+
},
|
7233 |
"npmlog": {
|
7234 |
"version": "4.1.2",
|
7235 |
"resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz",
|
js/app/affiliate_link_page/dist/affiliate-link-page.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
label.info-label{margin:0 10px 5px 0;display:inline-block}label.info-label .tooltip{display:inline-block;width:12px;height:12px;position:relative;top:1px;text-align:center;font-size:9px;font-family:Verdana;background-size:12px 12px;background-image:url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMS4xLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDkyIDkyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA5MiA5MjsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSIxNnB4IiBoZWlnaHQ9IjE2cHgiPgo8Zz4KCTxwYXRoIGQ9Ik00NS4zODYsMC4wMDRDMTkuOTgzLDAuMzQ0LTAuMzMzLDIxLjIxNSwwLjAwNSw0Ni42MTljMC4zNCwyNS4zOTMsMjEuMjA5LDQ1LjcxNSw0Ni42MTEsNDUuMzc3ICAgYzI1LjM5OC0wLjM0Miw0NS43MTgtMjEuMjEzLDQ1LjM4LTQ2LjYxNUM5MS42NTYsMTkuOTg2LDcwLjc4Ni0wLjMzNSw0NS4zODYsMC4wMDR6IE00NS4yNSw3NGwtMC4yNTQtMC4wMDQgICBjLTMuOTEyLTAuMTE2LTYuNjctMi45OTgtNi41NTktNi44NTJjMC4xMDktMy43ODgsMi45MzQtNi41MzgsNi43MTctNi41MzhsMC4yMjcsMC4wMDRjNC4wMjEsMC4xMTksNi43NDgsMi45NzIsNi42MzUsNi45MzcgICBDNTEuOTA0LDcxLjM0Niw0OS4xMjMsNzQsNDUuMjUsNzR6IE02MS43MDUsNDEuMzQxYy0wLjkyLDEuMzA3LTIuOTQzLDIuOTMtNS40OTIsNC45MTZsLTIuODA3LDEuOTM4ICAgYy0xLjU0MSwxLjE5OC0yLjQ3MSwyLjMyNS0yLjgyLDMuNDM0Yy0wLjI3NSwwLjg3My0wLjQxLDEuMTA0LTAuNDM0LDIuODhsLTAuMDA0LDAuNDUxSDM5LjQzbDAuMDMxLTAuOTA3ICAgYzAuMTMxLTMuNzI4LDAuMjIzLTUuOTIxLDEuNzY4LTcuNzMzYzIuNDI0LTIuODQ2LDcuNzcxLTYuMjg5LDcuOTk4LTYuNDM1YzAuNzY2LTAuNTc3LDEuNDEyLTEuMjM0LDEuODkzLTEuOTM2ICAgYzEuMTI1LTEuNTUxLDEuNjIzLTIuNzcyLDEuNjIzLTMuOTcyYzAtMS42NjUtMC40OTQtMy4yMDUtMS40NzEtNC41NzZjLTAuOTM5LTEuMzIzLTIuNzIzLTEuOTkzLTUuMzAzLTEuOTkzICAgYy0yLjU1OSwwLTQuMzExLDAuODEyLTUuMzU5LDIuNDc4Yy0xLjA3OCwxLjcxMy0xLjYyMywzLjUxMi0xLjYyMyw1LjM1djAuNDU3SDI3LjkzNmwwLjAyLTAuNDc3ICAgYzAuMjg1LTYuNzY5LDIuNzAxLTExLjY0Myw3LjE3OC0xNC40ODdDMzcuOTQ3LDE4LjkxOCw0MS40NDcsMTgsNDUuNTMxLDE4YzUuMzQ2LDAsOS44NTksMS4yOTksMTMuNDEyLDMuODYxICAgYzMuNiwyLjU5Niw1LjQyNiw2LjQ4NCw1LjQyNiwxMS41NTZDNjQuMzY5LDM2LjI1NCw2My40NzMsMzguOTE5LDYxLjcwNSw0MS4zNDF6IiBmaWxsPSIjNzU3NTc1Ii8+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==)}label.info-label.block{display:block}.ta-form-input{height:31px;font-size:14px;border:1px solid #dfdfdf;width:100%;margin:0 0 5px;padding:5px}.clearfix:after{content:"";clear:both;display:table}.ta-input-description{color:#909090;padding-left:2px;font-style:italic;font-size:10px}div#edit-slug-box{padding-left:0}.submitdelete{color:red;font-weight:400;text-decoration:underline;margin-left:5px}#ta-advanced-features-metabox .inside{margin:0;padding:0}#ta-advanced-features-metabox .inside img{float:left}#ta-advanced-features-metabox .inside:after{content:"";clear:both;display:table}#ta-urls-metabox .slug-fields .ta-form-input{margin-bottom:0}#ta-urls-metabox .slug-fields span.edit-slug-warning{display:block;background:#efb811;border-top:1px solid #bf990f;padding:3px 10px;margin-bottom:10px;font-size:12px}#thirsty_image_holder{background:#fff;overflow:hidden;padding:0 0 20px;margin:10px 0 0;border:1px solid #dfdfdf;text-align:center}#thirsty_image_holder .thirsty-attached-image{position:relative;border:1px solid #eee;padding:5px;margin-left:20px;margin-top:20px;float:left}#thirsty_image_holder .thirsty-remove-img{position:absolute;top:-8px;right:-8px;background:#c00;color:#fff;font-size:16px;font-weight:700;line-height:.7em;padding:2px 3px 4px;border-radius:50px;cursor:pointer}#ta_upload_insert_img,#ta_upload_media_manager{margin-top:5px}#ta_upload_insert_img a{text-decoration:none}.wp-media-buttons-icon:before{content:"\F104";font-family:dashicons;font-size:12px}.attachments-browser .media-toolbar-secondary{width:300px;max-width:300px}.attachments-browser .media-toolbar-primary{width:200px;max-width:200px}#ta-inserted-link-scanner-metabox .inside{position:relative;overflow:hidden}#ta-inserted-link-scanner-metabox .inside .overlay{display:none;position:absolute;top:0;left:0;background-repeat:no-repeat;background-position:50%;background-color:hsla(0,0%,100%,.64);width:100%;height:1000px;z-index:10}.scanned-inserted-status{margin-bottom:15px}.scanned-inserted-status:after{content:"";display:table;clear:both}.scanned-inserted-status #inserted-link-scan-trigger{float:left;margin-right:8px}.scanned-inserted-status .last-scanned{float:left;margin-top:5px}.inserted-into-table table{width:100%;border:1px solid #dadada;border-collapse:collapse}.inserted-into-table table tr td,.inserted-into-table table tr th{border-bottom:1px solid #dadada;padding:5px 10px;margin:0}.inserted-into-table table tr .id{width:50px}.inserted-into-table table tr .post-type{width:100px}.inserted-into-table table tr .actions{text-align:right;width:60px}.inserted-into-table table tr .actions a{text-decoration:none;color:#2c3e50}.inserted-into-table table tr .actions a.view{color:#0085ba}.inserted-into-table table tr .actions a:hover{opacity:.7}
|
1 |
+
label.info-label{margin:0 10px 5px 0;display:inline-block}label.info-label .tooltip{display:inline-block;width:12px;height:12px;position:relative;top:1px;text-align:center;font-size:9px;font-family:Verdana;background-size:12px 12px;background-image:url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMS4xLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDkyIDkyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA5MiA5MjsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSIxNnB4IiBoZWlnaHQ9IjE2cHgiPgo8Zz4KCTxwYXRoIGQ9Ik00NS4zODYsMC4wMDRDMTkuOTgzLDAuMzQ0LTAuMzMzLDIxLjIxNSwwLjAwNSw0Ni42MTljMC4zNCwyNS4zOTMsMjEuMjA5LDQ1LjcxNSw0Ni42MTEsNDUuMzc3ICAgYzI1LjM5OC0wLjM0Miw0NS43MTgtMjEuMjEzLDQ1LjM4LTQ2LjYxNUM5MS42NTYsMTkuOTg2LDcwLjc4Ni0wLjMzNSw0NS4zODYsMC4wMDR6IE00NS4yNSw3NGwtMC4yNTQtMC4wMDQgICBjLTMuOTEyLTAuMTE2LTYuNjctMi45OTgtNi41NTktNi44NTJjMC4xMDktMy43ODgsMi45MzQtNi41MzgsNi43MTctNi41MzhsMC4yMjcsMC4wMDRjNC4wMjEsMC4xMTksNi43NDgsMi45NzIsNi42MzUsNi45MzcgICBDNTEuOTA0LDcxLjM0Niw0OS4xMjMsNzQsNDUuMjUsNzR6IE02MS43MDUsNDEuMzQxYy0wLjkyLDEuMzA3LTIuOTQzLDIuOTMtNS40OTIsNC45MTZsLTIuODA3LDEuOTM4ICAgYy0xLjU0MSwxLjE5OC0yLjQ3MSwyLjMyNS0yLjgyLDMuNDM0Yy0wLjI3NSwwLjg3My0wLjQxLDEuMTA0LTAuNDM0LDIuODhsLTAuMDA0LDAuNDUxSDM5LjQzbDAuMDMxLTAuOTA3ICAgYzAuMTMxLTMuNzI4LDAuMjIzLTUuOTIxLDEuNzY4LTcuNzMzYzIuNDI0LTIuODQ2LDcuNzcxLTYuMjg5LDcuOTk4LTYuNDM1YzAuNzY2LTAuNTc3LDEuNDEyLTEuMjM0LDEuODkzLTEuOTM2ICAgYzEuMTI1LTEuNTUxLDEuNjIzLTIuNzcyLDEuNjIzLTMuOTcyYzAtMS42NjUtMC40OTQtMy4yMDUtMS40NzEtNC41NzZjLTAuOTM5LTEuMzIzLTIuNzIzLTEuOTkzLTUuMzAzLTEuOTkzICAgYy0yLjU1OSwwLTQuMzExLDAuODEyLTUuMzU5LDIuNDc4Yy0xLjA3OCwxLjcxMy0xLjYyMywzLjUxMi0xLjYyMyw1LjM1djAuNDU3SDI3LjkzNmwwLjAyLTAuNDc3ICAgYzAuMjg1LTYuNzY5LDIuNzAxLTExLjY0Myw3LjE3OC0xNC40ODdDMzcuOTQ3LDE4LjkxOCw0MS40NDcsMTgsNDUuNTMxLDE4YzUuMzQ2LDAsOS44NTksMS4yOTksMTMuNDEyLDMuODYxICAgYzMuNiwyLjU5Niw1LjQyNiw2LjQ4NCw1LjQyNiwxMS41NTZDNjQuMzY5LDM2LjI1NCw2My40NzMsMzguOTE5LDYxLjcwNSw0MS4zNDF6IiBmaWxsPSIjNzU3NTc1Ii8+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==)}label.info-label.block{display:block}.ta-form-input{height:31px;font-size:14px;border:1px solid #dfdfdf;width:100%;margin:0 0 5px;padding:5px}.clearfix:after{content:"";clear:both;display:table}.ta-input-description{color:#909090;padding-left:2px;font-style:italic;font-size:10px}div#edit-slug-box{padding-left:0}.submitdelete{color:red;font-weight:400;text-decoration:underline;margin-left:5px}#ta-advanced-features-metabox .inside{margin:0;padding:0}#ta-advanced-features-metabox .inside img{float:left}#ta-advanced-features-metabox .inside:after{content:"";clear:both;display:table}#ta-urls-metabox .slug-fields .ta-form-input{margin-bottom:0}#ta-urls-metabox .slug-fields span.edit-slug-warning{display:block;background:#efb811;border-top:1px solid #bf990f;padding:3px 10px;margin-bottom:10px;font-size:12px}#thirsty_image_holder{background:#fff;overflow:hidden;padding:0 0 20px;margin:10px 0 0;border:1px solid #dfdfdf;text-align:center}#thirsty_image_holder .thirsty-attached-image{position:relative;border:1px solid #eee;padding:5px;margin-left:20px;margin-top:20px;float:left}#thirsty_image_holder .thirsty-remove-img{position:absolute;top:-8px;right:-8px;background:#c00;color:#fff;font-size:16px;font-weight:700;line-height:.7em;padding:2px 3px 4px;border-radius:50px;cursor:pointer}#thirsty_image_holder .external-image a.thirsty-img{display:block;width:100px;overflow:hidden}#thirsty_image_holder .external-image img{height:100px;width:auto}#ta_upload_insert_img,#ta_upload_media_manager{margin-top:5px}#ta_upload_insert_img a{text-decoration:none}.wp-media-buttons-icon:before{content:"\F104";font-family:dashicons;font-size:12px}.attachments-browser .media-toolbar-secondary{width:300px;max-width:300px}.attachments-browser .media-toolbar-primary{width:200px;max-width:200px}#ta-attach-images-metabox .metabox-actions>*{float:left}#ta-attach-images-metabox .metabox-actions:after{content:"";display:table;clear:both}#ta-attach-images-metabox .metabox-actions .or{margin-top:10px;padding:0 10px;font-weight:700}#ta-attach-images-metabox .metabox-actions .add-external-image{margin-top:5px;width:calc(100% - 160px);max-width:600px}#ta-attach-images-metabox .metabox-actions .external-image-form{display:none}#ta-attach-images-metabox .metabox-actions .external-image-form input{width:calc(100% - 165px);padding:5px 7px}#ta-attach-images-metabox .metabox-actions .external-image-form button.cancel{margin-top:2px}#ta-inserted-link-scanner-metabox .inside{position:relative;overflow:hidden}#ta-inserted-link-scanner-metabox .inside .overlay{display:none;position:absolute;top:0;left:0;background-repeat:no-repeat;background-position:50%;background-color:hsla(0,0%,100%,.64);width:100%;height:1000px;z-index:10}.scanned-inserted-status{margin-bottom:15px}.scanned-inserted-status:after{content:"";display:table;clear:both}.scanned-inserted-status #inserted-link-scan-trigger{float:left;margin-right:8px}.scanned-inserted-status .last-scanned{float:left;margin-top:5px}.inserted-into-table table{width:100%;border:1px solid #dadada;border-collapse:collapse}.inserted-into-table table tr td,.inserted-into-table table tr th{border-bottom:1px solid #dadada;padding:5px 10px;margin:0}.inserted-into-table table tr .id{width:50px}.inserted-into-table table tr .post-type{width:100px}.inserted-into-table table tr .actions{text-align:right;width:60px}.inserted-into-table table tr .actions a{text-decoration:none;color:#2c3e50}.inserted-into-table table tr .actions a.view{color:#0085ba}.inserted-into-table table tr .actions a:hover{opacity:.7}
|
js/app/affiliate_link_page/dist/affiliate-link-page.js
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
*
|
12 |
* Date: 2017-03-20T18:59Z
|
13 |
*/
|
14 |
-
!function(t,n){"object"===i(e)&&"object"===i(e.exports)?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:void 0,function(o,a){function s(e,t){t=t||se;var n=t.createElement("script");n.text=e,t.head.appendChild(n).parentNode.removeChild(n)}function u(e){var t=!!e&&"length"in e&&e.length,n=xe.type(e);return"function"!==n&&!xe.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function l(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function c(e,t,n){return xe.isFunction(t)?xe.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?xe.grep(e,function(e){return e===t!==n}):"string"!=typeof t?xe.grep(e,function(e){return de.call(t,e)>-1!==n}):De.test(t)?xe.filter(t,e,n):(t=xe.filter(t,e),xe.grep(e,function(e){return de.call(t,e)>-1!==n&&1===e.nodeType}))}function f(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function d(e){var t={};return xe.each(e.match(Oe)||[],function(e,n){t[n]=!0}),t}function p(e){return e}function h(e){throw e}function g(e,t,n,r){var i;try{e&&xe.isFunction(i=e.promise)?i.call(e).done(t).fail(n):e&&xe.isFunction(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}function v(){se.removeEventListener("DOMContentLoaded",v),o.removeEventListener("load",v),xe.ready()}function m(){this.expando=xe.expando+m.uid++}function y(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:We.test(e)?JSON.parse(e):e)}function x(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace($e,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=y(n)}catch(e){}Re.set(e,t,n)}else n=void 0;return n}function b(e,t,n,r){var i,o=1,a=20,s=r?function(){return r.cur()}:function(){return xe.css(e,t,"")},u=s(),l=n&&n[3]||(xe.cssNumber[t]?"":"px"),c=(xe.cssNumber[t]||"px"!==l&&+u)&&ze.exec(xe.css(e,t));if(c&&c[3]!==l){l=l||c[3],n=n||[],c=+u||1;do{o=o||".5",c/=o,xe.style(e,t,c+l)}while(o!==(o=s()/u)&&1!==o&&--a)}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function w(e){var t,n=e.ownerDocument,r=e.nodeName,i=Ge[r];return i||(t=n.body.appendChild(n.createElement(r)),i=xe.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),Ge[r]=i,i)}function T(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)r=e[o],r.style&&(n=r.style.display,t?("none"===n&&(i[o]=Ie.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&Ue(r)&&(i[o]=w(r))):"none"!==n&&(i[o]="none",Ie.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}function C(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&l(e,t)?xe.merge([e],n):n}function k(e,t){for(var n=0,r=e.length;n<r;n++)Ie.set(e[n],"globalEval",!t||Ie.get(t[n],"globalEval"))}function S(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),d=[],p=0,h=e.length;p<h;p++)if((o=e[p])||0===o)if("object"===xe.type(o))xe.merge(d,o.nodeType?[o]:o);else if(Ze.test(o)){for(a=a||f.appendChild(t.createElement("div")),s=(Qe.exec(o)||["",""])[1].toLowerCase(),u=Ke[s]||Ke._default,a.innerHTML=u[1]+xe.htmlPrefilter(o)+u[2],c=u[0];c--;)a=a.lastChild;xe.merge(d,a.childNodes),a=f.firstChild,a.textContent=""}else d.push(t.createTextNode(o));for(f.textContent="",p=0;o=d[p++];)if(r&&xe.inArray(o,r)>-1)i&&i.push(o);else if(l=xe.contains(o.ownerDocument,o),a=C(f.appendChild(o),"script"),l&&k(a),n)for(c=0;o=a[c++];)Je.test(o.type||"")&&n.push(o);return f}function j(){return!0}function E(){return!1}function N(){try{return se.activeElement}catch(e){}}function D(e,t,n,r,o,a){var s,u;if("object"===(void 0===t?"undefined":i(t))){"string"!=typeof n&&(r=r||n,n=void 0);for(u in t)D(e,u,n,r,t[u],a);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=E;else if(!o)return e;return 1===a&&(s=o,o=function(e){return xe().off(e),s.apply(this,arguments)},o.guid=s.guid||(s.guid=xe.guid++)),e.each(function(){xe.event.add(this,t,o,r,n)})}function A(e,t){return l(e,"table")&&l(11!==t.nodeType?t:t.firstChild,"tr")?xe(">tbody",e)[0]||e:e}function _(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function q(e){var t=st.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function L(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Ie.hasData(e)&&(o=Ie.access(e),a=Ie.set(t,o),l=o.events)){delete a.handle,a.events={};for(i in l)for(n=0,r=l[i].length;n<r;n++)xe.event.add(t,i,l[i][n])}Re.hasData(e)&&(s=Re.access(e),u=xe.extend({},s),Re.set(t,u))}}function O(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Ye.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function H(e,t,n,r){t=ce.apply([],t);var i,o,a,u,l,c,f=0,d=e.length,p=d-1,h=t[0],g=xe.isFunction(h);if(g||d>1&&"string"==typeof h&&!ye.checkClone&&at.test(h))return e.each(function(i){var o=e.eq(i);g&&(t[0]=h.call(this,i,o.html())),H(o,t,n,r)});if(d&&(i=S(t,e[0].ownerDocument,!1,e,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(a=xe.map(C(i,"script"),_),u=a.length;f<d;f++)l=i,f!==p&&(l=xe.clone(l,!0,!0),u&&xe.merge(a,C(l,"script"))),n.call(e[f],l,f);if(u)for(c=a[a.length-1].ownerDocument,xe.map(a,q),f=0;f<u;f++)l=a[f],Je.test(l.type||"")&&!Ie.access(l,"globalEval")&&xe.contains(c,l)&&(l.src?xe._evalUrl&&xe._evalUrl(l.src):s(l.textContent.replace(ut,""),c))}return e}function F(e,t,n){for(var r,i=t?xe.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||xe.cleanData(C(r)),r.parentNode&&(n&&xe.contains(r.ownerDocument,r)&&k(C(r,"script")),r.parentNode.removeChild(r));return e}function P(e,t,n){var r,i,o,a,s=e.style;return n=n||ft(e),n&&(a=n.getPropertyValue(t)||n[t],""!==a||xe.contains(e.ownerDocument,e)||(a=xe.style(e,t)),!ye.pixelMarginRight()&&ct.test(a)&<.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function M(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function I(e){if(e in mt)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=vt.length;n--;)if((e=vt[n]+t)in mt)return e}function R(e){var t=xe.cssProps[e];return t||(t=xe.cssProps[e]=I(e)||e),t}function W(e,t,n){var r=ze.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function $(e,t,n,r,i){var o,a=0;for(o=n===(r?"border":"content")?4:"width"===t?1:0;o<4;o+=2)"margin"===n&&(a+=xe.css(e,n+Xe[o],!0,i)),r?("content"===n&&(a-=xe.css(e,"padding"+Xe[o],!0,i)),"margin"!==n&&(a-=xe.css(e,"border"+Xe[o]+"Width",!0,i))):(a+=xe.css(e,"padding"+Xe[o],!0,i),"padding"!==n&&(a+=xe.css(e,"border"+Xe[o]+"Width",!0,i)));return a}function B(e,t,n){var r,i=ft(e),o=P(e,t,i),a="border-box"===xe.css(e,"boxSizing",!1,i);return ct.test(o)?o:(r=a&&(ye.boxSizingReliable()||o===e.style[t]),"auto"===o&&(o=e["offset"+t[0].toUpperCase()+t.slice(1)]),(o=parseFloat(o)||0)+$(e,t,n||(a?"border":"content"),r,i)+"px")}function z(e,t,n,r,i){return new z.prototype.init(e,t,n,r,i)}function X(){xt&&(!1===se.hidden&&o.requestAnimationFrame?o.requestAnimationFrame(X):o.setTimeout(X,xe.fx.interval),xe.fx.tick())}function U(){return o.setTimeout(function(){yt=void 0}),yt=xe.now()}function V(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)n=Xe[r],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function G(e,t,n){for(var r,i=(J.tweeners[t]||[]).concat(J.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function Y(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,d=this,p={},h=e.style,g=e.nodeType&&Ue(e),v=Ie.get(e,"fxshow");n.queue||(a=xe._queueHooks(e,"fx"),null==a.unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always(function(){d.always(function(){a.unqueued--,xe.queue(e,"fx").length||a.empty.fire()})}));for(r in t)if(i=t[r],bt.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}p[r]=v&&v[r]||xe.style(e,r)}if((u=!xe.isEmptyObject(t))||!xe.isEmptyObject(p)){f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],l=v&&v.display,null==l&&(l=Ie.get(e,"display")),c=xe.css(e,"display"),"none"===c&&(l?c=l:(T([e],!0),l=e.style.display||l,c=xe.css(e,"display"),T([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===xe.css(e,"float")&&(u||(d.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",d.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1;for(r in p)u||(v?"hidden"in v&&(g=v.hidden):v=Ie.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&T([e],!0),d.done(function(){g||T([e]),Ie.remove(e,"fxshow");for(r in p)xe.style(e,r,p[r])})),u=G(g?v[r]:0,r,d),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}}function Q(e,t){var n,r,i,o,a;for(n in e)if(r=xe.camelCase(n),i=t[r],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=xe.cssHooks[r])&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function J(e,t,n){var r,i,o=0,a=J.prefilters.length,s=xe.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=yt||U(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,o=1-r,a=0,u=l.tweens.length;a<u;a++)l.tweens[a].run(o);return s.notifyWith(e,[l,o,n]),o<1&&u?n:(u||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:xe.extend({},t),opts:xe.extend(!0,{specialEasing:{},easing:xe.easing._default},n),originalProperties:t,originalOptions:n,startTime:yt||U(),duration:n.duration,tweens:[],createTween:function(t,n){var r=xe.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(Q(c,l.opts.specialEasing);o<a;o++)if(r=J.prefilters[o].call(l,e,c,l.opts))return xe.isFunction(r.stop)&&(xe._queueHooks(l.elem,l.opts.queue).stop=xe.proxy(r.stop,r)),r;return xe.map(c,G,l),xe.isFunction(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),xe.fx.timer(xe.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}function K(e){return(e.match(Oe)||[]).join(" ")}function Z(e){return e.getAttribute&&e.getAttribute("class")||""}function ee(e,t,n,r){var o;if(Array.isArray(t))xe.each(t,function(t,o){n||_t.test(e)?r(e,o):ee(e+"["+("object"===(void 0===o?"undefined":i(o))&&null!=o?t:"")+"]",o,n,r)});else if(n||"object"!==xe.type(t))r(e,t);else for(o in t)ee(e+"["+o+"]",t[o],n,r)}function te(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(Oe)||[];if(xe.isFunction(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function ne(e,t,n,r){function i(s){var u;return o[s]=!0,xe.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||a||o[l]?a?!(u=l):void 0:(t.dataTypes.unshift(l),i(l),!1)}),u}var o={},a=e===Bt;return i(t.dataTypes[0])||!o["*"]&&i("*")}function re(e,t){var n,r,i=xe.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&xe.extend(!0,e,r),e}function ie(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function oe(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if(s=i.split(" "),s[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}var ae=[],se=o.document,ue=Object.getPrototypeOf,le=ae.slice,ce=ae.concat,fe=ae.push,de=ae.indexOf,pe={},he=pe.toString,ge=pe.hasOwnProperty,ve=ge.toString,me=ve.call(Object),ye={},xe=function e(t,n){return new e.fn.init(t,n)},be=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,we=/^-ms-/,Te=/-([a-z])/g,Ce=function(e,t){return t.toUpperCase()};xe.fn=xe.prototype={jquery:"3.2.1",constructor:xe,length:0,toArray:function(){return le.call(this)},get:function(e){return null==e?le.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=xe.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return xe.each(this,e)},map:function(e){return this.pushStack(xe.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(le.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:fe,sort:ae.sort,splice:ae.splice},xe.extend=xe.fn.extend=function(){var e,t,n,r,o,a,s=arguments[0]||{},u=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[u]||{},u++),"object"===(void 0===s?"undefined":i(s))||xe.isFunction(s)||(s={}),u===l&&(s=this,u--);u<l;u++)if(null!=(e=arguments[u]))for(t in e)n=s[t],r=e[t],s!==r&&(c&&r&&(xe.isPlainObject(r)||(o=Array.isArray(r)))?(o?(o=!1,a=n&&Array.isArray(n)?n:[]):a=n&&xe.isPlainObject(n)?n:{},s[t]=xe.extend(c,a,r)):void 0!==r&&(s[t]=r));return s},xe.extend({expando:"jQuery"+("3.2.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===xe.type(e)},isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=xe.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==he.call(e))&&(!(t=ue(e))||"function"==typeof(n=ge.call(t,"constructor")&&t.constructor)&&ve.call(n)===me)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"===(void 0===e?"undefined":i(e))||"function"==typeof e?pe[he.call(e)]||"object":void 0===e?"undefined":i(e)},globalEval:function(e){s(e)},camelCase:function(e){return e.replace(we,"ms-").replace(Te,Ce)},each:function(e,t){var n,r=0;if(u(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(be,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(u(Object(e))?xe.merge(n,"string"==typeof e?[e]:e):fe.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:de.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(u(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return ce.apply([],a)},guid:1,proxy:function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),xe.isFunction(e))return r=le.call(arguments,2),i=function(){return e.apply(t||this,r.concat(le.call(arguments)))},i.guid=e.guid=e.guid||xe.guid++,i},now:Date.now,support:ye}),"function"==typeof Symbol&&(xe.fn[Symbol.iterator]=ae[Symbol.iterator]),xe.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){pe["[object "+t+"]"]=t.toLowerCase()});var ke=/*!
|
15 |
* Sizzle CSS Selector Engine v2.3.3
|
16 |
* https://sizzlejs.com/
|
17 |
*
|
@@ -21,4 +21,4 @@
|
|
21 |
*
|
22 |
* Date: 2016-08-08
|
23 |
*/
|
24 |
-
function(e){function t(e,t,n,r){var i,o,a,s,u,c,d,p=t&&t.ownerDocument,h=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return n;if(!r&&((t?t.ownerDocument||t:I)!==_&&A(t),t=t||_,L)){if(11!==h&&(u=ge.exec(e)))if(i=u[1]){if(9===h){if(!(a=t.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(p&&(a=p.getElementById(i))&&P(t,a)&&a.id===i)return n.push(a),n}else{if(u[2])return Q.apply(n,t.getElementsByTagName(e)),n;if((i=u[3])&&b.getElementsByClassName&&t.getElementsByClassName)return Q.apply(n,t.getElementsByClassName(i)),n}if(b.qsa&&!z[e+" "]&&(!O||!O.test(e))){if(1!==h)p=t,d=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(xe,be):t.setAttribute("id",s=M),c=k(e),o=c.length;o--;)c[o]="#"+s+" "+f(c[o]);d=c.join(","),p=ve.test(e)&&l(t.parentNode)||t}if(d)try{return Q.apply(n,p.querySelectorAll(d)),n}catch(e){}finally{s===M&&t.removeAttribute("id")}}}return j(e.replace(oe,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>w.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[M]=!0,e}function i(e){var t=_.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=n.length;r--;)w.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Te(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function u(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function l(e){return e&&void 0!==e.getElementsByTagName&&e}function c(){}function f(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function d(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=W++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,u){var l,c,f,d=[R,s];if(u){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,u))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(f=t[M]||(t[M]={}),c=f[t.uniqueID]||(f[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=c[o])&&l[0]===R&&l[1]===s)return d[2]=l[2];if(c[o]=d,d[2]=e(t,n,u))return!0}return!1}}function p(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function h(e,n,r){for(var i=0,o=n.length;i<o;i++)t(e,n[i],r);return r}function g(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function v(e,t,n,i,o,a){return i&&!i[M]&&(i=v(i)),o&&!o[M]&&(o=v(o,a)),r(function(r,a,s,u){var l,c,f,d=[],p=[],v=a.length,m=r||h(t||"*",s.nodeType?[s]:s,[]),y=!e||!r&&t?m:g(m,d,e,s,u),x=n?o||(r?e:v||i)?[]:a:y;if(n&&n(y,x,s,u),i)for(l=g(x,p),i(l,[],s,u),c=l.length;c--;)(f=l[c])&&(x[p[c]]=!(y[p[c]]=f));if(r){if(o||e){if(o){for(l=[],c=x.length;c--;)(f=x[c])&&l.push(y[c]=f);o(null,x=[],l,u)}for(c=x.length;c--;)(f=x[c])&&(l=o?K(r,f):d[c])>-1&&(r[l]=!(a[l]=f))}}else x=g(x===a?x.splice(v,x.length):x),o?o(null,a,x,u):Q.apply(a,x)})}function m(e){for(var t,n,r,i=e.length,o=w.relative[e[0].type],a=o||w.relative[" "],s=o?1:0,u=d(function(e){return e===t},a,!0),l=d(function(e){return K(t,e)>-1},a,!0),c=[function(e,n,r){var i=!o&&(r||n!==E)||((t=n).nodeType?u(e,n,r):l(e,n,r));return t=null,i}];s<i;s++)if(n=w.relative[e[s].type])c=[d(p(c),n)];else{if(n=w.filter[e[s].type].apply(null,e[s].matches),n[M]){for(r=++s;r<i&&!w.relative[e[r].type];r++);return v(s>1&&p(c),s>1&&f(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(oe,"$1"),n,s<r&&m(e.slice(s,r)),r<i&&m(e=e.slice(r)),r<i&&f(e))}c.push(n)}return p(c)}function y(e,n){var i=n.length>0,o=e.length>0,a=function(r,a,s,u,l){var c,f,d,p=0,h="0",v=r&&[],m=[],y=E,x=r||o&&w.find.TAG("*",l),b=R+=null==y?1:Math.random()||.1,T=x.length;for(l&&(E=a===_||a||l);h!==T&&null!=(c=x[h]);h++){if(o&&c){for(f=0,a||c.ownerDocument===_||(A(c),s=!L);d=e[f++];)if(d(c,a||_,s)){u.push(c);break}l&&(R=b)}i&&((c=!d&&c)&&p--,r&&v.push(c))}if(p+=h,i&&h!==p){for(f=0;d=n[f++];)d(v,m,a,s);if(r){if(p>0)for(;h--;)v[h]||m[h]||(m[h]=G.call(u));m=g(m)}Q.apply(u,m),l&&!r&&m.length>0&&p+n.length>1&&t.uniqueSort(u)}return l&&(R=b,E=y),v};return i?r(a):a}var x,b,w,T,C,k,S,j,E,N,D,A,_,q,L,O,H,F,P,M="sizzle"+1*new Date,I=e.document,R=0,W=0,$=n(),B=n(),z=n(),X=function(e,t){return e===t&&(D=!0),0},U={}.hasOwnProperty,V=[],G=V.pop,Y=V.push,Q=V.push,J=V.slice,K=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},Z="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ee="[\\x20\\t\\r\\n\\f]",te="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",ne="\\["+ee+"*("+te+")(?:"+ee+"*([*^$|!~]?=)"+ee+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+te+"))|)"+ee+"*\\]",re=":("+te+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ne+")*)|.*)\\)|)",ie=new RegExp(ee+"+","g"),oe=new RegExp("^"+ee+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ee+"+$","g"),ae=new RegExp("^"+ee+"*,"+ee+"*"),se=new RegExp("^"+ee+"*([>+~]|"+ee+")"+ee+"*"),ue=new RegExp("="+ee+"*([^\\]'\"]*?)"+ee+"*\\]","g"),le=new RegExp(re),ce=new RegExp("^"+te+"$"),fe={ID:new RegExp("^#("+te+")"),CLASS:new RegExp("^\\.("+te+")"),TAG:new RegExp("^("+te+"|[*])"),ATTR:new RegExp("^"+ne),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ee+"*(even|odd|(([+-]|)(\\d*)n|)"+ee+"*(?:([+-]|)"+ee+"*(\\d+)|))"+ee+"*\\)|)","i"),bool:new RegExp("^(?:"+Z+")$","i"),needsContext:new RegExp("^"+ee+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ee+"*((?:-\\d)?\\d*)"+ee+"*\\)|)(?=[^-]|$)","i")},de=/^(?:input|select|textarea|button)$/i,pe=/^h\d$/i,he=/^[^{]+\{\s*\[native \w/,ge=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ve=/[+~]/,me=new RegExp("\\\\([\\da-f]{1,6}"+ee+"?|("+ee+")|.)","ig"),ye=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},xe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,be=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},we=function(){A()},Te=d(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{Q.apply(V=J.call(I.childNodes),I.childNodes),V[I.childNodes.length].nodeType}catch(e){Q={apply:V.length?function(e,t){Y.apply(e,J.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}b=t.support={},C=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},A=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:I;return r!==_&&9===r.nodeType&&r.documentElement?(_=r,q=_.documentElement,L=!C(_),I!==_&&(n=_.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",we,!1):n.attachEvent&&n.attachEvent("onunload",we)),b.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),b.getElementsByTagName=i(function(e){return e.appendChild(_.createComment("")),!e.getElementsByTagName("*").length}),b.getElementsByClassName=he.test(_.getElementsByClassName),b.getById=i(function(e){return q.appendChild(e).id=M,!_.getElementsByName||!_.getElementsByName(M).length}),b.getById?(w.filter.ID=function(e){var t=e.replace(me,ye);return function(e){return e.getAttribute("id")===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&L){var n=t.getElementById(e);return n?[n]:[]}}):(w.filter.ID=function(e){var t=e.replace(me,ye);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&L){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),w.find.TAG=b.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):b.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},w.find.CLASS=b.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&L)return t.getElementsByClassName(e)},H=[],O=[],(b.qsa=he.test(_.querySelectorAll))&&(i(function(e){q.appendChild(e).innerHTML="<a id='"+M+"'></a><select id='"+M+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&O.push("[*^$]="+ee+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||O.push("\\["+ee+"*(?:value|"+Z+")"),e.querySelectorAll("[id~="+M+"-]").length||O.push("~="),e.querySelectorAll(":checked").length||O.push(":checked"),e.querySelectorAll("a#"+M+"+*").length||O.push(".#.+[+~]")}),i(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=_.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&O.push("name"+ee+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&O.push(":enabled",":disabled"),q.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&O.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),O.push(",.*:")})),(b.matchesSelector=he.test(F=q.matches||q.webkitMatchesSelector||q.mozMatchesSelector||q.oMatchesSelector||q.msMatchesSelector))&&i(function(e){b.disconnectedMatch=F.call(e,"*"),F.call(e,"[s!='']:x"),H.push("!=",re)}),O=O.length&&new RegExp(O.join("|")),H=H.length&&new RegExp(H.join("|")),t=he.test(q.compareDocumentPosition),P=t||he.test(q.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},X=t?function(e,t){if(e===t)return D=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!b.sortDetached&&t.compareDocumentPosition(e)===n?e===_||e.ownerDocument===I&&P(I,e)?-1:t===_||t.ownerDocument===I&&P(I,t)?1:N?K(N,e)-K(N,t):0:4&n?-1:1)}:function(e,t){if(e===t)return D=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],u=[t];if(!i||!o)return e===_?-1:t===_?1:i?-1:o?1:N?K(N,e)-K(N,t):0;if(i===o)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;s[r]===u[r];)r++;return r?a(s[r],u[r]):s[r]===I?-1:u[r]===I?1:0},_):_},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==_&&A(e),n=n.replace(ue,"='$1']"),b.matchesSelector&&L&&!z[n+" "]&&(!H||!H.test(n))&&(!O||!O.test(n)))try{var r=F.call(e,n);if(r||b.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,_,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==_&&A(e),P(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==_&&A(e);var n=w.attrHandle[t.toLowerCase()],r=n&&U.call(w.attrHandle,t.toLowerCase())?n(e,t,!L):void 0;return void 0!==r?r:b.attributes||!L?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.escape=function(e){return(e+"").replace(xe,be)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(D=!b.detectDuplicates,N=!b.sortStable&&e.slice(0),e.sort(X),D){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return N=null,e},T=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=T(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=T(t);return n},w=t.selectors={cacheLength:50,createPseudo:r,match:fe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(me,ye),e[3]=(e[3]||e[4]||e[5]||"").replace(me,ye),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return fe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&le.test(n)&&(t=k(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(me,ye).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=$[e+" "];return t||(t=new RegExp("(^|"+ee+")"+e+"("+ee+"|$)"))&&$(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(ie," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,d,p,h,g=o!==a?"nextSibling":"previousSibling",v=t.parentNode,m=s&&t.nodeName.toLowerCase(),y=!u&&!s,x=!1;if(v){if(o){for(;g;){for(d=t;d=d[g];)if(s?d.nodeName.toLowerCase()===m:1===d.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?v.firstChild:v.lastChild],a&&y){for(d=v,f=d[M]||(d[M]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),l=c[e]||[],p=l[0]===R&&l[1],x=p&&l[2],d=p&&v.childNodes[p];d=++p&&d&&d[g]||(x=p=0)||h.pop();)if(1===d.nodeType&&++x&&d===t){c[e]=[R,p,x];break}}else if(y&&(d=t,f=d[M]||(d[M]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),l=c[e]||[],p=l[0]===R&&l[1],x=p),!1===x)for(;(d=++p&&d&&d[g]||(x=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==m:1!==d.nodeType)||!++x||(y&&(f=d[M]||(d[M]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),c[e]=[R,x]),d!==t)););return(x-=i)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,n){var i,o=w.pseudos[e]||w.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[M]?o(n):o.length>1?(i=[e,e,"",n],w.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)r=K(e,i[a]),e[r]=!(t[r]=i[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=S(e.replace(oe,"$1"));return i[M]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(me,ye),function(t){return(t.textContent||t.innerText||T(t)).indexOf(e)>-1}}),lang:r(function(e){return ce.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(me,ye).toLowerCase(),function(t){var n;do{if(n=L?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===q},focus:function(e){return e===_.activeElement&&(!_.hasFocus||_.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:s(!1),disabled:s(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return pe.test(e.nodeName)},input:function(e){return de.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:u(function(){return[0]}),last:u(function(e,t){return[t-1]}),eq:u(function(e,t,n){return[n<0?n+t:n]}),even:u(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:u(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:u(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:u(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},w.pseudos.nth=w.pseudos.eq;for(x in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[x]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(x);for(x in{submit:!0,reset:!0})w.pseudos[x]=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}(x);return c.prototype=w.filters=w.pseudos,w.setFilters=new c,k=t.tokenize=function(e,n){var r,i,o,a,s,u,l,c=B[e+" "];if(c)return n?0:c.slice(0);for(s=e,u=[],l=w.preFilter;s;){r&&!(i=ae.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),r=!1,(i=se.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(oe," ")}),s=s.slice(r.length));for(a in w.filter)!(i=fe[a].exec(s))||l[a]&&!(i=l[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):B(e,u).slice(0)},S=t.compile=function(e,t){var n,r=[],i=[],o=z[e+" "];if(!o){for(t||(t=k(e)),n=t.length;n--;)o=m(t[n]),o[M]?r.push(o):i.push(o);o=z(e,y(i,r)),o.selector=e}return o},j=t.select=function(e,t,n,r){var i,o,a,s,u,c="function"==typeof e&&e,d=!r&&k(e=c.selector||e);if(n=n||[],1===d.length){if(o=d[0]=d[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&9===t.nodeType&&L&&w.relative[o[1].type]){if(!(t=(w.find.ID(a.matches[0].replace(me,ye),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=fe.needsContext.test(e)?0:o.length;i--&&(a=o[i],!w.relative[s=a.type]);)if((u=w.find[s])&&(r=u(a.matches[0].replace(me,ye),ve.test(o[0].type)&&l(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&f(o)))return Q.apply(n,r),n;break}}return(c||S(e,d))(r,t,!L,n,!t||ve.test(e)&&l(t.parentNode)||t),n},b.sortStable=M.split("").sort(X).join("")===M,b.detectDuplicates=!!D,A(),b.sortDetached=i(function(e){return 1&e.compareDocumentPosition(_.createElement("fieldset"))}),i(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),b.attributes&&i(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(Z,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(o);xe.find=ke,xe.expr=ke.selectors,xe.expr[":"]=xe.expr.pseudos,xe.uniqueSort=xe.unique=ke.uniqueSort,xe.text=ke.getText,xe.isXMLDoc=ke.isXML,xe.contains=ke.contains,xe.escapeSelector=ke.escape;var Se=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&xe(e).is(n))break;r.push(e)}return r},je=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Ee=xe.expr.match.needsContext,Ne=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,De=/^.[^:#\[\.,]*$/;xe.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?xe.find.matchesSelector(r,e)?[r]:[]:xe.find.matches(e,xe.grep(t,function(e){return 1===e.nodeType}))},xe.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(xe(e).filter(function(){for(t=0;t<r;t++)if(xe.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)xe.find(e,i[t],n);return r>1?xe.uniqueSort(n):n},filter:function(e){return this.pushStack(c(this,e||[],!1))},not:function(e){return this.pushStack(c(this,e||[],!0))},is:function(e){return!!c(this,"string"==typeof e&&Ee.test(e)?xe(e):e||[],!1).length}});var Ae,_e=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(xe.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||Ae,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:_e.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof xe?t[0]:t,xe.merge(this,xe.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:se,!0)),Ne.test(r[1])&&xe.isPlainObject(t))for(r in t)xe.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return i=se.getElementById(r[2]),i&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):xe.isFunction(e)?void 0!==n.ready?n.ready(e):e(xe):xe.makeArray(e,this)}).prototype=xe.fn,Ae=xe(se);var qe=/^(?:parents|prev(?:Until|All))/,Le={children:!0,contents:!0,next:!0,prev:!0};xe.fn.extend({has:function(e){var t=xe(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(xe.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&xe(e);if(!Ee.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&xe.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?xe.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?de.call(xe(e),this[0]):de.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(xe.uniqueSort(xe.merge(this.get(),xe(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),xe.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Se(e,"parentNode")},parentsUntil:function(e,t,n){return Se(e,"parentNode",n)},next:function(e){return f(e,"nextSibling")},prev:function(e){return f(e,"previousSibling")},nextAll:function(e){return Se(e,"nextSibling")},prevAll:function(e){return Se(e,"previousSibling")},nextUntil:function(e,t,n){return Se(e,"nextSibling",n)},prevUntil:function(e,t,n){return Se(e,"previousSibling",n)},siblings:function(e){return je((e.parentNode||{}).firstChild,e)},children:function(e){return je(e.firstChild)},contents:function(e){return l(e,"iframe")?e.contentDocument:(l(e,"template")&&(e=e.content||e),xe.merge([],e.childNodes))}},function(e,t){xe.fn[e]=function(n,r){var i=xe.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=xe.filter(r,i)),this.length>1&&(Le[e]||xe.uniqueSort(i),qe.test(e)&&i.reverse()),this.pushStack(i)}});var Oe=/[^\x20\t\r\n\f]+/g;xe.Callbacks=function(e){e="string"==typeof e?d(e):xe.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},l={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){xe.each(n,function(n,r){xe.isFunction(r)?e.unique&&l.has(r)||o.push(r):r&&r.length&&"string"!==xe.type(r)&&t(r)})}(arguments),n&&!t&&u()),this},remove:function(){return xe.each(arguments,function(e,t){for(var n;(n=xe.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?xe.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=n||[],n=[e,n.slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},xe.extend({Deferred:function(e){var t=[["notify","progress",xe.Callbacks("memory"),xe.Callbacks("memory"),2],["resolve","done",xe.Callbacks("once memory"),xe.Callbacks("once memory"),0,"resolved"],["reject","fail",xe.Callbacks("once memory"),xe.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return xe.Deferred(function(n){xe.each(t,function(t,r){var i=xe.isFunction(e[r[4]])&&e[r[4]];a[r[1]](function(){var e=i&&i.apply(this,arguments);e&&xe.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(e,n,r){function a(e,t,n,r){return function(){var u=this,l=arguments,c=function(){var o,c;if(!(e<s)){if((o=n.apply(u,l))===t.promise())throw new TypeError("Thenable self-resolution");c=o&&("object"===(void 0===o?"undefined":i(o))||"function"==typeof o)&&o.then,xe.isFunction(c)?r?c.call(o,a(s,t,p,r),a(s,t,h,r)):(s++,c.call(o,a(s,t,p,r),a(s,t,h,r),a(s,t,p,t.notifyWith))):(n!==p&&(u=void 0,l=[o]),(r||t.resolveWith)(u,l))}},f=r?c:function(){try{c()}catch(r){xe.Deferred.exceptionHook&&xe.Deferred.exceptionHook(r,f.stackTrace),e+1>=s&&(n!==h&&(u=void 0,l=[r]),t.rejectWith(u,l))}};e?f():(xe.Deferred.getStackHook&&(f.stackTrace=xe.Deferred.getStackHook()),o.setTimeout(f))}}var s=0;return xe.Deferred(function(i){t[0][3].add(a(0,i,xe.isFunction(r)?r:p,i.notifyWith)),t[1][3].add(a(0,i,xe.isFunction(e)?e:p)),t[2][3].add(a(0,i,xe.isFunction(n)?n:h))}).promise()},promise:function(e){return null!=e?xe.extend(e,r):r}},a={};return xe.each(t,function(e,i){var o=i[2],s=i[5];r[i[1]]=o.add,s&&o.add(function(){n=s},t[3-e][2].disable,t[0][2].lock),o.add(i[3].fire),a[i[0]]=function(){return a[i[0]+"With"](this===a?void 0:this,arguments),this},a[i[0]+"With"]=o.fireWith}),r.promise(a),e&&e.call(a,a),a},when:function(e){var t=arguments.length,n=t,r=Array(n),i=le.call(arguments),o=xe.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?le.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(g(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||xe.isFunction(i[n]&&i[n].then)))return o.then();for(;n--;)g(i[n],a(n),o.reject);return o.promise()}});var He=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;xe.Deferred.exceptionHook=function(e,t){o.console&&o.console.warn&&e&&He.test(e.name)&&o.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},xe.readyException=function(e){o.setTimeout(function(){throw e})};var Fe=xe.Deferred();xe.fn.ready=function(e){return Fe.then(e).catch(function(e){xe.readyException(e)}),this},xe.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--xe.readyWait:xe.isReady)||(xe.isReady=!0,!0!==e&&--xe.readyWait>0||Fe.resolveWith(se,[xe]))}}),xe.ready.then=Fe.then,"complete"===se.readyState||"loading"!==se.readyState&&!se.documentElement.doScroll?o.setTimeout(xe.ready):(se.addEventListener("DOMContentLoaded",v),o.addEventListener("load",v));var Pe=function e(t,n,r,i,o,a,s){var u=0,l=t.length,c=null==r;if("object"===xe.type(r)){o=!0;for(u in r)e(t,n,u,r[u],!0,a,s)}else if(void 0!==i&&(o=!0,xe.isFunction(i)||(s=!0),c&&(s?(n.call(t,i),n=null):(c=n,n=function(e,t,n){return c.call(xe(e),n)})),n))for(;u<l;u++)n(t[u],r,s?i:i.call(t[u],u,n(t[u],r)));return o?t:c?n.call(t):l?n(t[0],r):a},Me=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};m.uid=1,m.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Me(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[xe.camelCase(t)]=n;else for(r in t)i[xe.camelCase(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][xe.camelCase(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){Array.isArray(t)?t=t.map(xe.camelCase):(t=xe.camelCase(t),t=t in r?[t]:t.match(Oe)||[]),n=t.length;for(;n--;)delete r[t[n]]}(void 0===t||xe.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!xe.isEmptyObject(t)}};var Ie=new m,Re=new m,We=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,$e=/[A-Z]/g;xe.extend({hasData:function(e){return Re.hasData(e)||Ie.hasData(e)},data:function(e,t,n){return Re.access(e,t,n)},removeData:function(e,t){Re.remove(e,t)},_data:function(e,t,n){return Ie.access(e,t,n)},_removeData:function(e,t){Ie.remove(e,t)}}),xe.fn.extend({data:function(e,t){var n,r,o,a=this[0],s=a&&a.attributes;if(void 0===e){if(this.length&&(o=Re.get(a),1===a.nodeType&&!Ie.get(a,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&(r=s[n].name,0===r.indexOf("data-")&&(r=xe.camelCase(r.slice(5)),x(a,r,o[r])));Ie.set(a,"hasDataAttrs",!0)}return o}return"object"===(void 0===e?"undefined":i(e))?this.each(function(){Re.set(this,e)}):Pe(this,function(t){var n;if(a&&void 0===t){if(void 0!==(n=Re.get(a,e)))return n;if(void 0!==(n=x(a,e)))return n}else this.each(function(){Re.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Re.remove(this,e)})}}),xe.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Ie.get(e,t),n&&(!r||Array.isArray(n)?r=Ie.access(e,t,xe.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=xe.queue(e,t),r=n.length,i=n.shift(),o=xe._queueHooks(e,t),a=function(){xe.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Ie.get(e,n)||Ie.access(e,n,{empty:xe.Callbacks("once memory").add(function(){Ie.remove(e,[t+"queue",n])})})}}),xe.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?xe.queue(this[0],e):void 0===t?this:this.each(function(){var n=xe.queue(this,e,t);xe._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&xe.dequeue(this,e)})},dequeue:function(e){return this.each(function(){xe.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=xe.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Ie.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var Be=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ze=new RegExp("^(?:([+-])=|)("+Be+")([a-z%]*)$","i"),Xe=["Top","Right","Bottom","Left"],Ue=function(e,t){return e=t||e,"none"===e.style.display||""===e.style.display&&xe.contains(e.ownerDocument,e)&&"none"===xe.css(e,"display")},Ve=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i},Ge={};xe.fn.extend({show:function(){return T(this,!0)},hide:function(){return T(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Ue(this)?xe(this).show():xe(this).hide()})}});var Ye=/^(?:checkbox|radio)$/i,Qe=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,Je=/^$|\/(?:java|ecma)script/i,Ke={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Ke.optgroup=Ke.option,Ke.tbody=Ke.tfoot=Ke.colgroup=Ke.caption=Ke.thead,Ke.th=Ke.td;var Ze=/<|&#?\w+;/;!function(){var e=se.createDocumentFragment(),t=e.appendChild(se.createElement("div")),n=se.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),ye.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",ye.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var et=se.documentElement,tt=/^key/,nt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,rt=/^([^.]*)(?:\.(.+)|)/;xe.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,p,h,g,v=Ie.get(e);if(v)for(n.handler&&(o=n,n=o.handler,i=o.selector),i&&xe.find.matchesSelector(et,i),n.guid||(n.guid=xe.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(t){return void 0!==xe&&xe.event.triggered!==t.type?xe.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Oe)||[""],l=t.length;l--;)s=rt.exec(t[l])||[],p=g=s[1],h=(s[2]||"").split(".").sort(),p&&(f=xe.event.special[p]||{},p=(i?f.delegateType:f.bindType)||p,f=xe.event.special[p]||{},c=xe.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&xe.expr.match.needsContext.test(i),namespace:h.join(".")},o),(d=u[p])||(d=u[p]=[],d.delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),xe.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,p,h,g,v=Ie.hasData(e)&&Ie.get(e);if(v&&(u=v.events)){for(t=(t||"").match(Oe)||[""],l=t.length;l--;)if(s=rt.exec(t[l])||[],p=g=s[1],h=(s[2]||"").split(".").sort(),p){for(f=xe.event.special[p]||{},p=(r?f.delegateType:f.bindType)||p,d=u[p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)c=d[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,f.remove&&f.remove.call(e,c));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||xe.removeEvent(e,p,v.handle),delete u[p])}else for(p in u)xe.event.remove(e,p+t[l],n,r,!0);xe.isEmptyObject(u)&&Ie.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=xe.event.fix(e),u=new Array(arguments.length),l=(Ie.get(this,"events")||{})[s.type]||[],c=xe.event.special[s.type]||{};for(u[0]=s,t=1;t<arguments.length;t++)u[t]=arguments[t];if(s.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,s)){for(a=xe.event.handlers.call(this,s,l),t=0;(i=a[t++])&&!s.isPropagationStopped();)for(s.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,void 0!==(r=((xe.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,u))&&!1===(s.result=r)&&(s.preventDefault(),s.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)r=t[n],i=r.selector+" ",void 0===a[i]&&(a[i]=r.needsContext?xe(i,this).index(l)>-1:xe.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(xe.Event.prototype,e,{enumerable:!0,configurable:!0,get:xe.isFunction(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[xe.expando]?e:new xe.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==N()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===N()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&l(this,"input"))return this.click(),!1},_default:function(e){return l(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},xe.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},xe.Event=function(e,t){if(!(this instanceof xe.Event))return new xe.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?j:E,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&xe.extend(this,t),this.timeStamp=e&&e.timeStamp||xe.now(),this[xe.expando]=!0},xe.Event.prototype={constructor:xe.Event,isDefaultPrevented:E,isPropagationStopped:E,isImmediatePropagationStopped:E,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=j,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=j,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=j,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},xe.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&tt.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&nt.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},xe.event.addProp),xe.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){xe.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||xe.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),xe.fn.extend({on:function(e,t,n,r){return D(this,e,t,n,r)},one:function(e,t,n,r){return D(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,xe(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"===(void 0===e?"undefined":i(e))){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=E),this.each(function(){xe.event.remove(this,e,n,t)})}});var it=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ot=/<script|<style|<link/i,at=/checked\s*(?:[^=]|=\s*.checked.)/i,st=/^true\/(.*)/,ut=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;xe.extend({htmlPrefilter:function(e){return e.replace(it,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=xe.contains(e.ownerDocument,e);if(!(ye.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||xe.isXMLDoc(e)))for(a=C(s),o=C(e),r=0,i=o.length;r<i;r++)O(o[r],a[r]);if(t)if(n)for(o=o||C(e),a=a||C(s),r=0,i=o.length;r<i;r++)L(o[r],a[r]);else L(e,s);return a=C(s,"script"),a.length>0&&k(a,!u&&C(e,"script")),s},cleanData:function(e){for(var t,n,r,i=xe.event.special,o=0;void 0!==(n=e[o]);o++)if(Me(n)){if(t=n[Ie.expando]){if(t.events)for(r in t.events)i[r]?xe.event.remove(n,r):xe.removeEvent(n,r,t.handle);n[Ie.expando]=void 0}n[Re.expando]&&(n[Re.expando]=void 0)}}}),xe.fn.extend({detach:function(e){return F(this,e,!0)},remove:function(e){return F(this,e)},text:function(e){return Pe(this,function(e){return void 0===e?xe.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return H(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){A(this,e).appendChild(e)}})},prepend:function(){return H(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=A(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return H(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return H(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(xe.cleanData(C(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return xe.clone(this,e,t)})},html:function(e){return Pe(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ot.test(e)&&!Ke[(Qe.exec(e)||["",""])[1].toLowerCase()]){e=xe.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(xe.cleanData(C(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return H(this,arguments,function(t){var n=this.parentNode;xe.inArray(this,e)<0&&(xe.cleanData(C(this)),n&&n.replaceChild(t,this))},e)}}),xe.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){xe.fn[e]=function(e){for(var n,r=[],i=xe(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),xe(i[a])[t](n),fe.apply(r,n.get());return this.pushStack(r)}});var lt=/^margin/,ct=new RegExp("^("+Be+")(?!px)[a-z%]+$","i"),ft=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=o),t.getComputedStyle(e)};!function(){function e(){if(s){s.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",s.innerHTML="",et.appendChild(a);var e=o.getComputedStyle(s);t="1%"!==e.top,i="2px"===e.marginLeft,n="4px"===e.width,s.style.marginRight="50%",r="4px"===e.marginRight,et.removeChild(a),s=null}}var t,n,r,i,a=se.createElement("div"),s=se.createElement("div");s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",ye.clearCloneStyle="content-box"===s.style.backgroundClip,a.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",a.appendChild(s),xe.extend(ye,{pixelPosition:function(){return e(),t},boxSizingReliable:function(){return e(),n},pixelMarginRight:function(){return e(),r},reliableMarginLeft:function(){return e(),i}}))}();var dt=/^(none|table(?!-c[ea]).+)/,pt=/^--/,ht={position:"absolute",visibility:"hidden",display:"block"},gt={letterSpacing:"0",fontWeight:"400"},vt=["Webkit","Moz","ms"],mt=se.createElement("div").style;xe.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=P(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,u=xe.camelCase(t),l=pt.test(t),c=e.style;if(l||(t=R(u)),s=xe.cssHooks[t]||xe.cssHooks[u],void 0===n)return s&&"get"in s&&void 0!==(o=s.get(e,!1,r))?o:c[t];a=void 0===n?"undefined":i(n),"string"===a&&(o=ze.exec(n))&&o[1]&&(n=b(e,t,o),a="number"),null!=n&&n===n&&("number"===a&&(n+=o&&o[3]||(xe.cssNumber[u]?"":"px")),ye.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,a,s=xe.camelCase(t);return pt.test(t)||(t=R(s)),a=xe.cssHooks[t]||xe.cssHooks[s],a&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=P(e,t,r)),"normal"===i&&t in gt&&(i=gt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),xe.each(["height","width"],function(e,t){xe.cssHooks[t]={get:function(e,n,r){if(n)return!dt.test(xe.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?B(e,t,r):Ve(e,ht,function(){return B(e,t,r)})},set:function(e,n,r){var i,o=r&&ft(e),a=r&&$(e,t,r,"border-box"===xe.css(e,"boxSizing",!1,o),o);return a&&(i=ze.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=xe.css(e,t)),W(e,n,a)}}}),xe.cssHooks.marginLeft=M(ye.reliableMarginLeft,function(e,t){if(t)return(parseFloat(P(e,"marginLeft"))||e.getBoundingClientRect().left-Ve(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),xe.each({margin:"",padding:"",border:"Width"},function(e,t){xe.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+Xe[r]+t]=o[r]||o[r-2]||o[0];return i}},lt.test(e)||(xe.cssHooks[e+t].set=W)}),xe.fn.extend({css:function(e,t){return Pe(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=ft(e),i=t.length;a<i;a++)o[t[a]]=xe.css(e,t[a],!1,r);return o}return void 0!==n?xe.style(e,t,n):xe.css(e,t)},e,t,arguments.length>1)}}),xe.Tween=z,z.prototype={constructor:z,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||xe.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(xe.cssNumber[n]?"":"px")},cur:function(){var e=z.propHooks[this.prop];return e&&e.get?e.get(this):z.propHooks._default.get(this)},run:function(e){var t,n=z.propHooks[this.prop];return this.options.duration?this.pos=t=xe.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):z.propHooks._default.set(this),this}},z.prototype.init.prototype=z.prototype,z.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=xe.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){xe.fx.step[e.prop]?xe.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[xe.cssProps[e.prop]]&&!xe.cssHooks[e.prop]?e.elem[e.prop]=e.now:xe.style(e.elem,e.prop,e.now+e.unit)}}},z.propHooks.scrollTop=z.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},xe.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},xe.fx=z.prototype.init,xe.fx.step={};var yt,xt,bt=/^(?:toggle|show|hide)$/,wt=/queueHooks$/;xe.Animation=xe.extend(J,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return b(n.elem,e,ze.exec(t),n),n}]},tweener:function(e,t){xe.isFunction(e)?(t=e,e=["*"]):e=e.match(Oe);for(var n,r=0,i=e.length;r<i;r++)n=e[r],J.tweeners[n]=J.tweeners[n]||[],J.tweeners[n].unshift(t)},prefilters:[Y],prefilter:function(e,t){t?J.prefilters.unshift(e):J.prefilters.push(e)}}),xe.speed=function(e,t,n){var r=e&&"object"===(void 0===e?"undefined":i(e))?xe.extend({},e):{complete:n||!n&&t||xe.isFunction(e)&&e,duration:e,easing:n&&t||t&&!xe.isFunction(t)&&t};return xe.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in xe.fx.speeds?r.duration=xe.fx.speeds[r.duration]:r.duration=xe.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){xe.isFunction(r.old)&&r.old.call(this),r.queue&&xe.dequeue(this,r.queue)},r},xe.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Ue).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=xe.isEmptyObject(e),o=xe.speed(t,n,r),a=function(){var t=J(this,xe.extend({},e),o);(i||Ie.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=xe.timers,a=Ie.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&wt.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||xe.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=Ie.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=xe.timers,a=r?r.length:0;for(n.finish=!0,xe.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),xe.each(["toggle","show","hide"],function(e,t){var n=xe.fn[t];xe.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(V(t,!0),e,r,i)}}),xe.each({slideDown:V("show"),slideUp:V("hide"),slideToggle:V("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){xe.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),xe.timers=[],xe.fx.tick=function(){var e,t=0,n=xe.timers;for(yt=xe.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||xe.fx.stop(),yt=void 0},xe.fx.timer=function(e){xe.timers.push(e),xe.fx.start()},xe.fx.interval=13,xe.fx.start=function(){xt||(xt=!0,X())},xe.fx.stop=function(){xt=null},xe.fx.speeds={slow:600,fast:200,_default:400},xe.fn.delay=function(e,t){return e=xe.fx?xe.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=o.setTimeout(t,e);n.stop=function(){o.clearTimeout(r)}})},function(){var e=se.createElement("input"),t=se.createElement("select"),n=t.appendChild(se.createElement("option"));e.type="checkbox",ye.checkOn=""!==e.value,ye.optSelected=n.selected,e=se.createElement("input"),e.value="t",e.type="radio",ye.radioValue="t"===e.value}();var Tt,Ct=xe.expr.attrHandle;xe.fn.extend({attr:function(e,t){return Pe(this,xe.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){xe.removeAttr(this,e)})}}),xe.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?xe.prop(e,t,n):(1===o&&xe.isXMLDoc(e)||(i=xe.attrHooks[t.toLowerCase()]||(xe.expr.match.bool.test(t)?Tt:void 0)),void 0!==n?null===n?void xe.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:(r=xe.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!ye.radioValue&&"radio"===t&&l(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(Oe);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),Tt={set:function(e,t,n){return!1===t?xe.removeAttr(e,n):e.setAttribute(n,n),n}},xe.each(xe.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Ct[t]||xe.find.attr;Ct[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=Ct[a],Ct[a]=i,i=null!=n(e,t,r)?a:null,Ct[a]=o),i}});var kt=/^(?:input|select|textarea|button)$/i,St=/^(?:a|area)$/i;xe.fn.extend({prop:function(e,t){return Pe(this,xe.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[xe.propFix[e]||e]})}}),xe.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&xe.isXMLDoc(e)||(t=xe.propFix[t]||t,i=xe.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=xe.find.attr(e,"tabindex");return t?parseInt(t,10):kt.test(e.nodeName)||St.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ye.optSelected||(xe.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),xe.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){xe.propFix[this.toLowerCase()]=this}),xe.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(xe.isFunction(e))return this.each(function(t){xe(this).addClass(e.call(this,t,Z(this)))});if("string"==typeof e&&e)for(t=e.match(Oe)||[];n=this[u++];)if(i=Z(n),r=1===n.nodeType&&" "+K(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");s=K(r),i!==s&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(xe.isFunction(e))return this.each(function(t){xe(this).removeClass(e.call(this,t,Z(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(Oe)||[];n=this[u++];)if(i=Z(n),r=1===n.nodeType&&" "+K(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");s=K(r),i!==s&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=void 0===e?"undefined":i(e);return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):xe.isFunction(e)?this.each(function(n){xe(this).toggleClass(e.call(this,n,Z(this),t),t)}):this.each(function(){var t,r,i,o;if("string"===n)for(r=0,i=xe(this),o=e.match(Oe)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||(t=Z(this),t&&Ie.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Ie.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+K(Z(n))+" ").indexOf(t)>-1)return!0;return!1}});var jt=/\r/g;xe.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=xe.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,xe(this).val()):e,null==i?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=xe.map(i,function(e){return null==e?"":e+""})),(t=xe.valHooks[this.type]||xe.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return(t=xe.valHooks[i.type]||xe.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(jt,""):null==n?"":n)}}}),xe.extend({valHooks:{option:{get:function(e){var t=xe.find.attr(e,"value");return null!=t?t:K(xe.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(n=i[r],(n.selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!l(n.parentNode,"optgroup"))){if(t=xe(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=xe.makeArray(t),a=i.length;a--;)r=i[a],(r.selected=xe.inArray(xe.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),xe.each(["radio","checkbox"],function(){xe.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=xe.inArray(xe(e).val(),t)>-1}},ye.checkOn||(xe.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Et=/^(?:focusinfocus|focusoutblur)$/;xe.extend(xe.event,{trigger:function(e,t,n,r){var a,s,u,l,c,f,d,p=[n||se],h=ge.call(e,"type")?e.type:e,g=ge.call(e,"namespace")?e.namespace.split("."):[];if(s=u=n=n||se,3!==n.nodeType&&8!==n.nodeType&&!Et.test(h+xe.event.triggered)&&(h.indexOf(".")>-1&&(g=h.split("."),h=g.shift(),g.sort()),c=h.indexOf(":")<0&&"on"+h,e=e[xe.expando]?e:new xe.Event(h,"object"===(void 0===e?"undefined":i(e))&&e),e.isTrigger=r?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:xe.makeArray(t,[e]),d=xe.event.special[h]||{},r||!d.trigger||!1!==d.trigger.apply(n,t))){if(!r&&!d.noBubble&&!xe.isWindow(n)){for(l=d.delegateType||h,Et.test(l+h)||(s=s.parentNode);s;s=s.parentNode)p.push(s),u=s;u===(n.ownerDocument||se)&&p.push(u.defaultView||u.parentWindow||o)}for(a=0;(s=p[a++])&&!e.isPropagationStopped();)e.type=a>1?l:d.bindType||h,f=(Ie.get(s,"events")||{})[e.type]&&Ie.get(s,"handle"),f&&f.apply(s,t),(f=c&&s[c])&&f.apply&&Me(s)&&(e.result=f.apply(s,t),!1===e.result&&e.preventDefault());return e.type=h,r||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(p.pop(),t)||!Me(n)||c&&xe.isFunction(n[h])&&!xe.isWindow(n)&&(u=n[c],u&&(n[c]=null),xe.event.triggered=h,n[h](),xe.event.triggered=void 0,u&&(n[c]=u)),e.result}},simulate:function(e,t,n){var r=xe.extend(new xe.Event,n,{type:e,isSimulated:!0});xe.event.trigger(r,null,t)}}),xe.fn.extend({trigger:function(e,t){return this.each(function(){xe.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return xe.event.trigger(e,t,n,!0)}}),xe.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){xe.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),xe.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),ye.focusin="onfocusin"in o,ye.focusin||xe.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){xe.event.simulate(t,e.target,xe.event.fix(e))};xe.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=Ie.access(r,t);i||r.addEventListener(e,n,!0),Ie.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=Ie.access(r,t)-1;i?Ie.access(r,t,i):(r.removeEventListener(e,n,!0),Ie.remove(r,t))}}});var Nt=o.location,Dt=xe.now(),At=/\?/;xe.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new o.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||xe.error("Invalid XML: "+e),t};var _t=/\[\]$/,qt=/\r?\n/g,Lt=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;xe.param=function(e,t){var n,r=[],i=function(e,t){var n=xe.isFunction(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!xe.isPlainObject(e))xe.each(e,function(){i(this.name,this.value)});else for(n in e)ee(n,e[n],t,i);return r.join("&")},xe.fn.extend({serialize:function(){return xe.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=xe.prop(this,"elements");return e?xe.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!xe(this).is(":disabled")&&Ot.test(this.nodeName)&&!Lt.test(e)&&(this.checked||!Ye.test(e))}).map(function(e,t){var n=xe(this).val();return null==n?null:Array.isArray(n)?xe.map(n,function(e){return{name:t.name,value:e.replace(qt,"\r\n")}}):{name:t.name,value:n.replace(qt,"\r\n")}}).get()}});var Ht=/%20/g,Ft=/#.*$/,Pt=/([?&])_=[^&]*/,Mt=/^(.*?):[ \t]*([^\r\n]*)$/gm,It=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Rt=/^(?:GET|HEAD)$/,Wt=/^\/\//,$t={},Bt={},zt="*/".concat("*"),Xt=se.createElement("a");Xt.href=Nt.href,xe.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Nt.href,type:"GET",isLocal:It.test(Nt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":xe.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?re(re(e,xe.ajaxSettings),t):re(xe.ajaxSettings,e)},ajaxPrefilter:te($t),ajaxTransport:te(Bt),ajax:function(e,t){function n(e,t,n,i){var u,c,p,h,w,T=t;f||(f=!0,l&&o.clearTimeout(l),r=void 0,s=i||"",k.readyState=e>0?4:0,u=e>=200&&e<300||304===e,n&&(h=ie(g,k,n)),h=oe(g,h,k,u),u?(g.ifModified&&(w=k.getResponseHeader("Last-Modified"),w&&(xe.lastModified[a]=w),(w=k.getResponseHeader("etag"))&&(xe.etag[a]=w)),204===e||"HEAD"===g.type?T="nocontent":304===e?T="notmodified":(T=h.state,c=h.data,p=h.error,u=!p)):(p=T,!e&&T||(T="error",e<0&&(e=0))),k.status=e,k.statusText=(t||T)+"",u?y.resolveWith(v,[c,T,k]):y.rejectWith(v,[k,T,p]),k.statusCode(b),b=void 0,d&&m.trigger(u?"ajaxSuccess":"ajaxError",[k,g,u?c:p]),x.fireWith(v,[k,T]),d&&(m.trigger("ajaxComplete",[k,g]),--xe.active||xe.event.trigger("ajaxStop")))}"object"===(void 0===e?"undefined":i(e))&&(t=e,e=void 0),t=t||{};var r,a,s,u,l,c,f,d,p,h,g=xe.ajaxSetup({},t),v=g.context||g,m=g.context&&(v.nodeType||v.jquery)?xe(v):xe.event,y=xe.Deferred(),x=xe.Callbacks("once memory"),b=g.statusCode||{},w={},T={},C="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(f){if(!u)for(u={};t=Mt.exec(s);)u[t[1].toLowerCase()]=t[2];t=u[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return f?s:null},setRequestHeader:function(e,t){return null==f&&(e=T[e.toLowerCase()]=T[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==f&&(g.mimeType=e),this},statusCode:function(e){var t;if(e)if(f)k.always(e[k.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||C;return r&&r.abort(t),n(0,t),this}};if(y.promise(k),g.url=((e||g.url||Nt.href)+"").replace(Wt,Nt.protocol+"//"),g.type=t.method||t.type||g.method||g.type,g.dataTypes=(g.dataType||"*").toLowerCase().match(Oe)||[""],null==g.crossDomain){c=se.createElement("a");try{c.href=g.url,c.href=c.href,g.crossDomain=Xt.protocol+"//"+Xt.host!=c.protocol+"//"+c.host}catch(e){g.crossDomain=!0}}if(g.data&&g.processData&&"string"!=typeof g.data&&(g.data=xe.param(g.data,g.traditional)),ne($t,g,t,k),f)return k;d=xe.event&&g.global,d&&0==xe.active++&&xe.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!Rt.test(g.type),a=g.url.replace(Ft,""),g.hasContent?g.data&&g.processData&&0===(g.contentType||"").indexOf("application/x-www-form-urlencoded")&&(g.data=g.data.replace(Ht,"+")):(h=g.url.slice(a.length),g.data&&(a+=(At.test(a)?"&":"?")+g.data,delete g.data),!1===g.cache&&(a=a.replace(Pt,"$1"),h=(At.test(a)?"&":"?")+"_="+Dt+++h),g.url=a+h),g.ifModified&&(xe.lastModified[a]&&k.setRequestHeader("If-Modified-Since",xe.lastModified[a]),xe.etag[a]&&k.setRequestHeader("If-None-Match",xe.etag[a])),(g.data&&g.hasContent&&!1!==g.contentType||t.contentType)&&k.setRequestHeader("Content-Type",g.contentType),k.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+zt+"; q=0.01":""):g.accepts["*"]);for(p in g.headers)k.setRequestHeader(p,g.headers[p]);if(g.beforeSend&&(!1===g.beforeSend.call(v,k,g)||f))return k.abort();if(C="abort",x.add(g.complete),k.done(g.success),k.fail(g.error),r=ne(Bt,g,t,k)){if(k.readyState=1,d&&m.trigger("ajaxSend",[k,g]),f)return k;g.async&&g.timeout>0&&(l=o.setTimeout(function(){k.abort("timeout")},g.timeout));try{f=!1,r.send(w,n)}catch(e){if(f)throw e;n(-1,e)}}else n(-1,"No Transport");return k},getJSON:function(e,t,n){return xe.get(e,t,n,"json")},getScript:function(e,t){return xe.get(e,void 0,t,"script")}}),xe.each(["get","post"],function(e,t){xe[t]=function(e,n,r,i){return xe.isFunction(n)&&(i=i||r,r=n,n=void 0),xe.ajax(xe.extend({url:e,type:t,dataType:i,data:n,success:r},xe.isPlainObject(e)&&e))}}),xe._evalUrl=function(e){return xe.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},xe.fn.extend({wrapAll:function(e){var t;return this[0]&&(xe.isFunction(e)&&(e=e.call(this[0])),t=xe(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return xe.isFunction(e)?this.each(function(t){xe(this).wrapInner(e.call(this,t))}):this.each(function(){var t=xe(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=xe.isFunction(e);return this.each(function(n){xe(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){xe(this).replaceWith(this.childNodes)}),this}}),xe.expr.pseudos.hidden=function(e){return!xe.expr.pseudos.visible(e)},xe.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},xe.ajaxSettings.xhr=function(){try{return new o.XMLHttpRequest}catch(e){}};var Ut={0:200,1223:204},Vt=xe.ajaxSettings.xhr();ye.cors=!!Vt&&"withCredentials"in Vt,ye.ajax=Vt=!!Vt,xe.ajaxTransport(function(e){var t,n;if(ye.cors||Vt&&!e.crossDomain)return{send:function(r,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(a in r)s.setRequestHeader(a,r[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Ut[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&o.setTimeout(function(){t&&n()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),xe.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),xe.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return xe.globalEval(e),e}}}),xe.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),xe.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,i){t=xe("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),se.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;xe.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||xe.expando+"_"+Dt++;return this[e]=!0,e}}),xe.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,a,s=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=xe.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return a||xe.error(r+" was not called"),a[0]},e.dataTypes[0]="json",i=o[r],o[r]=function(){a=arguments},n.always(function(){void 0===i?xe(o).removeProp(r):o[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),a&&xe.isFunction(i)&&i(a[0]),a=i=void 0}),"script"}),ye.createHTMLDocument=function(){var e=se.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),xe.parseHTML=function(e,t,n){if("string"!=typeof e)return[];"boolean"==typeof t&&(n=t,t=!1);var r,i,o;return t||(ye.createHTMLDocument?(t=se.implementation.createHTMLDocument(""),r=t.createElement("base"),r.href=se.location.href,t.head.appendChild(r)):t=se),i=Ne.exec(e),o=!n&&[],i?[t.createElement(i[1])]:(i=S([e],t,o),o&&o.length&&xe(o).remove(),xe.merge([],i.childNodes))},xe.fn.load=function(e,t,n){var r,o,a,s=this,u=e.indexOf(" ");return u>-1&&(r=K(e.slice(u)),e=e.slice(0,u)),xe.isFunction(t)?(n=t,t=void 0):t&&"object"===(void 0===t?"undefined":i(t))&&(o="POST"),s.length>0&&xe.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){a=arguments,s.html(r?xe("<div>").append(xe.parseHTML(e)).find(r):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,a||[e.responseText,t,e])})}),this},xe.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){xe.fn[t]=function(e){return this.on(t,e)}}),xe.expr.pseudos.animated=function(e){return xe.grep(xe.timers,function(t){return e===t.elem}).length},xe.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l,c=xe.css(e,"position"),f=xe(e),d={};"static"===c&&(e.style.position="relative"),s=f.offset(),o=xe.css(e,"top"),u=xe.css(e,"left"),l=("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1,l?(r=f.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),xe.isFunction(t)&&(t=t.call(e,n,xe.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):f.css(d)}},xe.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){xe.offset.setOffset(this,e,t)});var t,n,r,i,o=this[0];if(o)return o.getClientRects().length?(r=o.getBoundingClientRect(),t=o.ownerDocument,n=t.documentElement,i=t.defaultView,{top:r.top+i.pageYOffset-n.clientTop,left:r.left+i.pageXOffset-n.clientLeft}):{top:0,left:0}},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===xe.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),l(e[0],"html")||(r=e.offset()),r={top:r.top+xe.css(e[0],"borderTopWidth",!0),left:r.left+xe.css(e[0],"borderLeftWidth",!0)}),{top:t.top-r.top-xe.css(n,"marginTop",!0),left:t.left-r.left-xe.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===xe.css(e,"position");)e=e.offsetParent;return e||et})}}),xe.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;xe.fn[e]=function(r){return Pe(this,function(e,r,i){var o;if(xe.isWindow(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i},e,r,arguments.length)}}),xe.each(["top","left"],function(e,t){xe.cssHooks[t]=M(ye.pixelPosition,function(e,n){if(n)return n=P(e,t),ct.test(n)?xe(e).position()[t]+"px":n})}),xe.each({Height:"height",Width:"width"},function(e,t){xe.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){xe.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return Pe(this,function(t,n,i){var o;return xe.isWindow(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?xe.css(t,n,s):xe.style(t,n,i,s)},t,a?i:void 0,a)}})}),xe.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),xe.holdReady=function(e){e?xe.readyWait++:xe.ready(!0)},xe.isArray=Array.isArray,xe.parseJSON=JSON.parse,xe.nodeName=l,n=[],void 0!==(r=function(){return xe}.apply(t,n))&&(e.exports=r);var Qt=o.jQuery,Jt=o.$;return xe.noConflict=function(e){return o.$===xe&&(o.$=Jt),e&&o.jQuery===xe&&(o.jQuery=Qt),xe},a||(o.jQuery=o.$=xe),xe})}).call(t,n(6)(e))},function(e,t,n){"use strict";function r(){var e=(0,a.default)("#ta-attach-images-metabox"),t=e.find("#thirsty_image_holder");e.on("click","#ta_upload_media_manager",function(n){if(n.preventDefault(),r)return void r.open();var r=wp.media({title:(0,a.default)(this).data("uploader-title"),library:{type:"image"},button:{text:(0,a.default)(this).data("uploader-button-text"),close:!0},multiple:!0});r.on("select",function(){var n=r.state().get("selection"),o=(0,a.default)("input[name=post_ID]").val(),s=[],u=(0,a.default)("#thirsty_image_holder");e.find("#thirsty_image_holder").length<=0&&e.find(".inside").append("<div id='thirsty_image_holder'></div>"),n.map(function(e){e=e.toJSON(),s.push(e.id)}),s.length>0&&a.default.ajax({url:ajaxurl,type:"POST",data:{action:"ta_add_attachments_to_affiliate_link",attachment_ids:s,affiliate_link_id:o},dataType:"json"}).done(function(n){if("success"===n.status){var r=t.data("attachments"),o=void 0;"object"==(void 0===r?"undefined":i(r))&&(o=t.data("attachments").map(function(e){return parseInt(e,10)}),o=a.default.unique(o.concat(s)),t.data("attachments",o)),e.find("#thirsty_image_holder").append(n.added_attachments_markup)}else alert(n.error_msg),console.log(n)}).fail(function(e){alert(e),console.log("Failed to add attachments to affiliate link")}).always(function(){u.find(".thirsty-attached-image").length>0&&u.show(),tb_remove()})}),r.open()}),e.on("click",".thirsty-remove-img",function(){var e=(0,a.default)(this);if(e.hasClass("removing"))return!1;e.addClass("removing");var n=parseInt(e.attr("id")),r=(0,a.default)("input[name=post_ID]").val(),o=e.closest(".thirsty-attached-image"),s=(0,a.default)("#thirsty_image_holder");a.default.ajax({url:ajaxurl,type:"POST",data:{action:"ta_remove_attachment_to_affiliate_link",attachment_id:n,affiliate_link_id:r},dataType:"json"}).done(function(e){if("success"===e.status){var r=t.data("attachments"),a=void 0;"object"==(void 0===r?"undefined":i(r))&&(a=t.data("attachments").map(function(e){return parseInt(e,10)}),a=new Set(a),a.delete(n),t.data("attachments",Array.from(a))),o.fadeOut(300).delay(300).remove(),s.find(".thirsty-attached-image").length<=0&&s.hide()}else alert(e.error_msg),console.log(e)}).fail(function(e){alert("Failed to remove attachment from affiliate link"),console.log(e)})});var n=function(){var e=(0,a.default)(".media-modal-content ul.attachments li.attachment"),n=t.data("attachments"),r=void 0;"object"==(void 0===n?"undefined":i(n))&&(r=n.map(function(e){return parseInt(e,10)}),e.each(function(){var e=(0,a.default)(this),t=(0,a.default)(this).data("id");e.show(),a.default.inArray(t,r)>-1&&e.hide()}))};e.on("click","#ta_upload_media_manager",n),(0,a.default)("body").on("click",".media-modal-content .media-menu-item",n),(0,a.default)(document).on("DOMNodeInserted",function(e){var n=(0,a.default)(e.target),r=t.data("attachments"),o=void 0;n.hasClass("attachment")&&"object"==(void 0===r?"undefined":i(r))&&(o=n.data("id"),r=r.map(function(e){return parseInt(e,10)}),a.default.inArray(o,r)>-1&&n.remove())})}Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=r;var o=n(0),a=function(e){return e&&e.__esModule?e:{default:e}}(o)},function(e,t,n){"use strict";function r(){var e=(0,o.default)("#ta-urls-metabox");(0,o.default)("#slugdiv").remove(),e.on("click","button.edit-ta-slug",function(){e.find(".cloaked-fields").hide(),e.find(".slug-fields").fadeIn(200)}),e.on("click","button.save-ta-slug",function(){var t=e.find("input#ta_slug").val(),n=e.find("input#ta_cloaked_url").val(),r=n.replace(/[^\/]+\/?$/g,"");/^([a-z0-9-_% ]+)$/.test(t)?(t=""==t?n.match(/[^\/]+$/):t,e.find("input#ta_cloaked_url").val(r+t+"/"),e.find(".slug-fields").hide(),e.find(".cloaked-fields").fadeIn(200)):(0,o.default)("input#publish").click()})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(i)},function(e,t,n){"use strict";function r(){function e(e,t){o.default.post(ajaxurl,{action:"ta_get_category_slug",term_id:e},function(n){"success"==n.status?r.append("<option value='"+e+"' data-slug='"+n.category_slug+"'>"+t+"</option>").trigger("change"):(alert(n.error_msg),console.log(n))},"json")}function t(){var e=n.find("input[type='checkbox']:checked"),t=[],i=[],a=void 0,s=void 0,u=void 0,l=void 0;if(!(e.length<1)){for(l=0;l<e.length;l++)u=(0,o.default)(e[l]).parent().text().trim(),t.push(u),i[u]=l;t=t.sort(function(e,t){return e=e.toLowerCase(),t=t.toLowerCase(),e>t?1:e<t?-1:0}),s=i[t[0]],a=(0,o.default)(e[s]),o.default.post(ajaxurl,{action:"ta_get_category_slug",term_id:a.val()},function(e){"success"==e.status?(r.find("option:first-child").data("slug",e.category_slug).attr("data-slug",e.category_slug),r.trigger("change")):(alert(e.error_msg),console.log(e))},"json")}}var n=(0,o.default)("#thirstylink-categorychecklist"),r=(0,o.default)("select[name='ta_category_slug']");n.on("change","input[type='checkbox']",function(){var n=(0,o.default)(this).val(),i=(0,o.default)(this).parent().text(),a=(0,o.default)(this).prop("checked");t(),a?e(n,i):(r.find("option[value='"+n+"']").remove(),r.trigger("change"))}),(0,o.default)(document).on("DOMNodeInserted","#thirstylink-categorychecklist",function(){var n=(0,o.default)("#thirstylink-categorychecklist li").first(),i=n.find("input[type='checkbox']").val(),a=n.find("label").text(),s=n.find("input[type='checkbox']").prop("checked");t(),s?e(i,a):r.find("option[value='"+i+"']").remove()}),(0,o.default)(document).on("change","select[name='ta_category_slug']",function(){var e=(0,o.default)(this),t=e.find("option:selected").data("slug"),n=e.data("home-link-prefix"),r=(0,o.default)("#ta_slug").val(),i=(0,o.default)("#ta_cloaked_url");(0,o.default)(this).find("option").length<=1?i.val(n+r+"/"):i.val(n+t+"/"+r+"/")})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(i)},function(e,t,n){"use strict";function r(){var e=(0,o.default)("#ta-inserted-link-scanner-metabox");e.on("click","#inserted-link-scan-trigger",function(){var t=(0,o.default)(this),n=e.find(".inside"),r=n.find(".inserted-into-table table tbody"),i=n.find(".overlay"),a=n.find(".scanned-inserted-status .last-scanned"),s=(0,o.default)("input#post_ID").val();t.prop("disabled",!0),i.css("height",n.height()).show(),o.default.post(ajaxurl,{action:"ta_link_inserted_scanner",link_id:s},function(e){"success"==e.status?(r.html(e.results_markup),a.html(e.last_scanned)):(alert(e.error_msg),console.log(e)),t.prop("disabled",!1),i.hide()},"json")})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(i)},function(e,t){},function(e,t,n){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=n(0),o=r(i),a=n(1),s=r(a),u=n(2),l=r(u),c=n(3),f=r(c),d=n(4),p=r(d);n(5),(0,o.default)(document).ready(function(){(0,s.default)(),(0,l.default)(),(0,f.default)(),(0,p.default)()})}]);
|
11 |
*
|
12 |
* Date: 2017-03-20T18:59Z
|
13 |
*/
|
14 |
+
!function(t,n){"object"===i(e)&&"object"===i(e.exports)?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:void 0,function(o,a){function s(e,t){t=t||se;var n=t.createElement("script");n.text=e,t.head.appendChild(n).parentNode.removeChild(n)}function u(e){var t=!!e&&"length"in e&&e.length,n=xe.type(e);return"function"!==n&&!xe.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function l(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function c(e,t,n){return xe.isFunction(t)?xe.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?xe.grep(e,function(e){return e===t!==n}):"string"!=typeof t?xe.grep(e,function(e){return de.call(t,e)>-1!==n}):_e.test(t)?xe.filter(t,e,n):(t=xe.filter(t,e),xe.grep(e,function(e){return de.call(t,e)>-1!==n&&1===e.nodeType}))}function f(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function d(e){var t={};return xe.each(e.match(Oe)||[],function(e,n){t[n]=!0}),t}function p(e){return e}function h(e){throw e}function g(e,t,n,r){var i;try{e&&xe.isFunction(i=e.promise)?i.call(e).done(t).fail(n):e&&xe.isFunction(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}function m(){se.removeEventListener("DOMContentLoaded",m),o.removeEventListener("load",m),xe.ready()}function v(){this.expando=xe.expando+v.uid++}function y(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:We.test(e)?JSON.parse(e):e)}function x(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace($e,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=y(n)}catch(e){}Re.set(e,t,n)}else n=void 0;return n}function b(e,t,n,r){var i,o=1,a=20,s=r?function(){return r.cur()}:function(){return xe.css(e,t,"")},u=s(),l=n&&n[3]||(xe.cssNumber[t]?"":"px"),c=(xe.cssNumber[t]||"px"!==l&&+u)&&ze.exec(xe.css(e,t));if(c&&c[3]!==l){l=l||c[3],n=n||[],c=+u||1;do{o=o||".5",c/=o,xe.style(e,t,c+l)}while(o!==(o=s()/u)&&1!==o&&--a)}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function w(e){var t,n=e.ownerDocument,r=e.nodeName,i=Ge[r];return i||(t=n.body.appendChild(n.createElement(r)),i=xe.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),Ge[r]=i,i)}function T(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)r=e[o],r.style&&(n=r.style.display,t?("none"===n&&(i[o]=Ie.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&Ue(r)&&(i[o]=w(r))):"none"!==n&&(i[o]="none",Ie.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}function C(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&l(e,t)?xe.merge([e],n):n}function k(e,t){for(var n=0,r=e.length;n<r;n++)Ie.set(e[n],"globalEval",!t||Ie.get(t[n],"globalEval"))}function j(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),d=[],p=0,h=e.length;p<h;p++)if((o=e[p])||0===o)if("object"===xe.type(o))xe.merge(d,o.nodeType?[o]:o);else if(Ze.test(o)){for(a=a||f.appendChild(t.createElement("div")),s=(Qe.exec(o)||["",""])[1].toLowerCase(),u=Ke[s]||Ke._default,a.innerHTML=u[1]+xe.htmlPrefilter(o)+u[2],c=u[0];c--;)a=a.lastChild;xe.merge(d,a.childNodes),a=f.firstChild,a.textContent=""}else d.push(t.createTextNode(o));for(f.textContent="",p=0;o=d[p++];)if(r&&xe.inArray(o,r)>-1)i&&i.push(o);else if(l=xe.contains(o.ownerDocument,o),a=C(f.appendChild(o),"script"),l&&k(a),n)for(c=0;o=a[c++];)Je.test(o.type||"")&&n.push(o);return f}function S(){return!0}function E(){return!1}function N(){try{return se.activeElement}catch(e){}}function _(e,t,n,r,o,a){var s,u;if("object"===(void 0===t?"undefined":i(t))){"string"!=typeof n&&(r=r||n,n=void 0);for(u in t)_(e,u,n,r,t[u],a);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=E;else if(!o)return e;return 1===a&&(s=o,o=function(e){return xe().off(e),s.apply(this,arguments)},o.guid=s.guid||(s.guid=xe.guid++)),e.each(function(){xe.event.add(this,t,o,r,n)})}function D(e,t){return l(e,"table")&&l(11!==t.nodeType?t:t.firstChild,"tr")?xe(">tbody",e)[0]||e:e}function A(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function q(e){var t=st.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function L(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Ie.hasData(e)&&(o=Ie.access(e),a=Ie.set(t,o),l=o.events)){delete a.handle,a.events={};for(i in l)for(n=0,r=l[i].length;n<r;n++)xe.event.add(t,i,l[i][n])}Re.hasData(e)&&(s=Re.access(e),u=xe.extend({},s),Re.set(t,u))}}function O(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Ye.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function H(e,t,n,r){t=ce.apply([],t);var i,o,a,u,l,c,f=0,d=e.length,p=d-1,h=t[0],g=xe.isFunction(h);if(g||d>1&&"string"==typeof h&&!ye.checkClone&&at.test(h))return e.each(function(i){var o=e.eq(i);g&&(t[0]=h.call(this,i,o.html())),H(o,t,n,r)});if(d&&(i=j(t,e[0].ownerDocument,!1,e,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(a=xe.map(C(i,"script"),A),u=a.length;f<d;f++)l=i,f!==p&&(l=xe.clone(l,!0,!0),u&&xe.merge(a,C(l,"script"))),n.call(e[f],l,f);if(u)for(c=a[a.length-1].ownerDocument,xe.map(a,q),f=0;f<u;f++)l=a[f],Je.test(l.type||"")&&!Ie.access(l,"globalEval")&&xe.contains(c,l)&&(l.src?xe._evalUrl&&xe._evalUrl(l.src):s(l.textContent.replace(ut,""),c))}return e}function F(e,t,n){for(var r,i=t?xe.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||xe.cleanData(C(r)),r.parentNode&&(n&&xe.contains(r.ownerDocument,r)&&k(C(r,"script")),r.parentNode.removeChild(r));return e}function P(e,t,n){var r,i,o,a,s=e.style;return n=n||ft(e),n&&(a=n.getPropertyValue(t)||n[t],""!==a||xe.contains(e.ownerDocument,e)||(a=xe.style(e,t)),!ye.pixelMarginRight()&&ct.test(a)&<.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function M(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function I(e){if(e in vt)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=mt.length;n--;)if((e=mt[n]+t)in vt)return e}function R(e){var t=xe.cssProps[e];return t||(t=xe.cssProps[e]=I(e)||e),t}function W(e,t,n){var r=ze.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function $(e,t,n,r,i){var o,a=0;for(o=n===(r?"border":"content")?4:"width"===t?1:0;o<4;o+=2)"margin"===n&&(a+=xe.css(e,n+Xe[o],!0,i)),r?("content"===n&&(a-=xe.css(e,"padding"+Xe[o],!0,i)),"margin"!==n&&(a-=xe.css(e,"border"+Xe[o]+"Width",!0,i))):(a+=xe.css(e,"padding"+Xe[o],!0,i),"padding"!==n&&(a+=xe.css(e,"border"+Xe[o]+"Width",!0,i)));return a}function B(e,t,n){var r,i=ft(e),o=P(e,t,i),a="border-box"===xe.css(e,"boxSizing",!1,i);return ct.test(o)?o:(r=a&&(ye.boxSizingReliable()||o===e.style[t]),"auto"===o&&(o=e["offset"+t[0].toUpperCase()+t.slice(1)]),(o=parseFloat(o)||0)+$(e,t,n||(a?"border":"content"),r,i)+"px")}function z(e,t,n,r,i){return new z.prototype.init(e,t,n,r,i)}function X(){xt&&(!1===se.hidden&&o.requestAnimationFrame?o.requestAnimationFrame(X):o.setTimeout(X,xe.fx.interval),xe.fx.tick())}function U(){return o.setTimeout(function(){yt=void 0}),yt=xe.now()}function V(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)n=Xe[r],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function G(e,t,n){for(var r,i=(J.tweeners[t]||[]).concat(J.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function Y(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,d=this,p={},h=e.style,g=e.nodeType&&Ue(e),m=Ie.get(e,"fxshow");n.queue||(a=xe._queueHooks(e,"fx"),null==a.unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always(function(){d.always(function(){a.unqueued--,xe.queue(e,"fx").length||a.empty.fire()})}));for(r in t)if(i=t[r],bt.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;g=!0}p[r]=m&&m[r]||xe.style(e,r)}if((u=!xe.isEmptyObject(t))||!xe.isEmptyObject(p)){f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],l=m&&m.display,null==l&&(l=Ie.get(e,"display")),c=xe.css(e,"display"),"none"===c&&(l?c=l:(T([e],!0),l=e.style.display||l,c=xe.css(e,"display"),T([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===xe.css(e,"float")&&(u||(d.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",d.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1;for(r in p)u||(m?"hidden"in m&&(g=m.hidden):m=Ie.access(e,"fxshow",{display:l}),o&&(m.hidden=!g),g&&T([e],!0),d.done(function(){g||T([e]),Ie.remove(e,"fxshow");for(r in p)xe.style(e,r,p[r])})),u=G(g?m[r]:0,r,d),r in m||(m[r]=u.start,g&&(u.end=u.start,u.start=0))}}function Q(e,t){var n,r,i,o,a;for(n in e)if(r=xe.camelCase(n),i=t[r],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=xe.cssHooks[r])&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function J(e,t,n){var r,i,o=0,a=J.prefilters.length,s=xe.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=yt||U(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,o=1-r,a=0,u=l.tweens.length;a<u;a++)l.tweens[a].run(o);return s.notifyWith(e,[l,o,n]),o<1&&u?n:(u||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:xe.extend({},t),opts:xe.extend(!0,{specialEasing:{},easing:xe.easing._default},n),originalProperties:t,originalOptions:n,startTime:yt||U(),duration:n.duration,tweens:[],createTween:function(t,n){var r=xe.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(Q(c,l.opts.specialEasing);o<a;o++)if(r=J.prefilters[o].call(l,e,c,l.opts))return xe.isFunction(r.stop)&&(xe._queueHooks(l.elem,l.opts.queue).stop=xe.proxy(r.stop,r)),r;return xe.map(c,G,l),xe.isFunction(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),xe.fx.timer(xe.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}function K(e){return(e.match(Oe)||[]).join(" ")}function Z(e){return e.getAttribute&&e.getAttribute("class")||""}function ee(e,t,n,r){var o;if(Array.isArray(t))xe.each(t,function(t,o){n||At.test(e)?r(e,o):ee(e+"["+("object"===(void 0===o?"undefined":i(o))&&null!=o?t:"")+"]",o,n,r)});else if(n||"object"!==xe.type(t))r(e,t);else for(o in t)ee(e+"["+o+"]",t[o],n,r)}function te(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(Oe)||[];if(xe.isFunction(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function ne(e,t,n,r){function i(s){var u;return o[s]=!0,xe.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||a||o[l]?a?!(u=l):void 0:(t.dataTypes.unshift(l),i(l),!1)}),u}var o={},a=e===Bt;return i(t.dataTypes[0])||!o["*"]&&i("*")}function re(e,t){var n,r,i=xe.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&xe.extend(!0,e,r),e}function ie(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function oe(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if(s=i.split(" "),s[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}var ae=[],se=o.document,ue=Object.getPrototypeOf,le=ae.slice,ce=ae.concat,fe=ae.push,de=ae.indexOf,pe={},he=pe.toString,ge=pe.hasOwnProperty,me=ge.toString,ve=me.call(Object),ye={},xe=function e(t,n){return new e.fn.init(t,n)},be=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,we=/^-ms-/,Te=/-([a-z])/g,Ce=function(e,t){return t.toUpperCase()};xe.fn=xe.prototype={jquery:"3.2.1",constructor:xe,length:0,toArray:function(){return le.call(this)},get:function(e){return null==e?le.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=xe.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return xe.each(this,e)},map:function(e){return this.pushStack(xe.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(le.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:fe,sort:ae.sort,splice:ae.splice},xe.extend=xe.fn.extend=function(){var e,t,n,r,o,a,s=arguments[0]||{},u=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[u]||{},u++),"object"===(void 0===s?"undefined":i(s))||xe.isFunction(s)||(s={}),u===l&&(s=this,u--);u<l;u++)if(null!=(e=arguments[u]))for(t in e)n=s[t],r=e[t],s!==r&&(c&&r&&(xe.isPlainObject(r)||(o=Array.isArray(r)))?(o?(o=!1,a=n&&Array.isArray(n)?n:[]):a=n&&xe.isPlainObject(n)?n:{},s[t]=xe.extend(c,a,r)):void 0!==r&&(s[t]=r));return s},xe.extend({expando:"jQuery"+("3.2.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===xe.type(e)},isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=xe.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==he.call(e))&&(!(t=ue(e))||"function"==typeof(n=ge.call(t,"constructor")&&t.constructor)&&me.call(n)===ve)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"===(void 0===e?"undefined":i(e))||"function"==typeof e?pe[he.call(e)]||"object":void 0===e?"undefined":i(e)},globalEval:function(e){s(e)},camelCase:function(e){return e.replace(we,"ms-").replace(Te,Ce)},each:function(e,t){var n,r=0;if(u(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(be,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(u(Object(e))?xe.merge(n,"string"==typeof e?[e]:e):fe.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:de.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(u(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return ce.apply([],a)},guid:1,proxy:function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),xe.isFunction(e))return r=le.call(arguments,2),i=function(){return e.apply(t||this,r.concat(le.call(arguments)))},i.guid=e.guid=e.guid||xe.guid++,i},now:Date.now,support:ye}),"function"==typeof Symbol&&(xe.fn[Symbol.iterator]=ae[Symbol.iterator]),xe.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){pe["[object "+t+"]"]=t.toLowerCase()});var ke=/*!
|
15 |
* Sizzle CSS Selector Engine v2.3.3
|
16 |
* https://sizzlejs.com/
|
17 |
*
|
21 |
*
|
22 |
* Date: 2016-08-08
|
23 |
*/
|
24 |
+
function(e){function t(e,t,n,r){var i,o,a,s,u,c,d,p=t&&t.ownerDocument,h=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return n;if(!r&&((t?t.ownerDocument||t:I)!==A&&D(t),t=t||A,L)){if(11!==h&&(u=ge.exec(e)))if(i=u[1]){if(9===h){if(!(a=t.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(p&&(a=p.getElementById(i))&&P(t,a)&&a.id===i)return n.push(a),n}else{if(u[2])return Q.apply(n,t.getElementsByTagName(e)),n;if((i=u[3])&&b.getElementsByClassName&&t.getElementsByClassName)return Q.apply(n,t.getElementsByClassName(i)),n}if(b.qsa&&!z[e+" "]&&(!O||!O.test(e))){if(1!==h)p=t,d=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(xe,be):t.setAttribute("id",s=M),c=k(e),o=c.length;o--;)c[o]="#"+s+" "+f(c[o]);d=c.join(","),p=me.test(e)&&l(t.parentNode)||t}if(d)try{return Q.apply(n,p.querySelectorAll(d)),n}catch(e){}finally{s===M&&t.removeAttribute("id")}}}return S(e.replace(oe,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>w.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[M]=!0,e}function i(e){var t=A.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=n.length;r--;)w.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Te(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function u(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function l(e){return e&&void 0!==e.getElementsByTagName&&e}function c(){}function f(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function d(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=W++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,u){var l,c,f,d=[R,s];if(u){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,u))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(f=t[M]||(t[M]={}),c=f[t.uniqueID]||(f[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=c[o])&&l[0]===R&&l[1]===s)return d[2]=l[2];if(c[o]=d,d[2]=e(t,n,u))return!0}return!1}}function p(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function h(e,n,r){for(var i=0,o=n.length;i<o;i++)t(e,n[i],r);return r}function g(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function m(e,t,n,i,o,a){return i&&!i[M]&&(i=m(i)),o&&!o[M]&&(o=m(o,a)),r(function(r,a,s,u){var l,c,f,d=[],p=[],m=a.length,v=r||h(t||"*",s.nodeType?[s]:s,[]),y=!e||!r&&t?v:g(v,d,e,s,u),x=n?o||(r?e:m||i)?[]:a:y;if(n&&n(y,x,s,u),i)for(l=g(x,p),i(l,[],s,u),c=l.length;c--;)(f=l[c])&&(x[p[c]]=!(y[p[c]]=f));if(r){if(o||e){if(o){for(l=[],c=x.length;c--;)(f=x[c])&&l.push(y[c]=f);o(null,x=[],l,u)}for(c=x.length;c--;)(f=x[c])&&(l=o?K(r,f):d[c])>-1&&(r[l]=!(a[l]=f))}}else x=g(x===a?x.splice(m,x.length):x),o?o(null,a,x,u):Q.apply(a,x)})}function v(e){for(var t,n,r,i=e.length,o=w.relative[e[0].type],a=o||w.relative[" "],s=o?1:0,u=d(function(e){return e===t},a,!0),l=d(function(e){return K(t,e)>-1},a,!0),c=[function(e,n,r){var i=!o&&(r||n!==E)||((t=n).nodeType?u(e,n,r):l(e,n,r));return t=null,i}];s<i;s++)if(n=w.relative[e[s].type])c=[d(p(c),n)];else{if(n=w.filter[e[s].type].apply(null,e[s].matches),n[M]){for(r=++s;r<i&&!w.relative[e[r].type];r++);return m(s>1&&p(c),s>1&&f(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(oe,"$1"),n,s<r&&v(e.slice(s,r)),r<i&&v(e=e.slice(r)),r<i&&f(e))}c.push(n)}return p(c)}function y(e,n){var i=n.length>0,o=e.length>0,a=function(r,a,s,u,l){var c,f,d,p=0,h="0",m=r&&[],v=[],y=E,x=r||o&&w.find.TAG("*",l),b=R+=null==y?1:Math.random()||.1,T=x.length;for(l&&(E=a===A||a||l);h!==T&&null!=(c=x[h]);h++){if(o&&c){for(f=0,a||c.ownerDocument===A||(D(c),s=!L);d=e[f++];)if(d(c,a||A,s)){u.push(c);break}l&&(R=b)}i&&((c=!d&&c)&&p--,r&&m.push(c))}if(p+=h,i&&h!==p){for(f=0;d=n[f++];)d(m,v,a,s);if(r){if(p>0)for(;h--;)m[h]||v[h]||(v[h]=G.call(u));v=g(v)}Q.apply(u,v),l&&!r&&v.length>0&&p+n.length>1&&t.uniqueSort(u)}return l&&(R=b,E=y),m};return i?r(a):a}var x,b,w,T,C,k,j,S,E,N,_,D,A,q,L,O,H,F,P,M="sizzle"+1*new Date,I=e.document,R=0,W=0,$=n(),B=n(),z=n(),X=function(e,t){return e===t&&(_=!0),0},U={}.hasOwnProperty,V=[],G=V.pop,Y=V.push,Q=V.push,J=V.slice,K=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},Z="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ee="[\\x20\\t\\r\\n\\f]",te="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",ne="\\["+ee+"*("+te+")(?:"+ee+"*([*^$|!~]?=)"+ee+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+te+"))|)"+ee+"*\\]",re=":("+te+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ne+")*)|.*)\\)|)",ie=new RegExp(ee+"+","g"),oe=new RegExp("^"+ee+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ee+"+$","g"),ae=new RegExp("^"+ee+"*,"+ee+"*"),se=new RegExp("^"+ee+"*([>+~]|"+ee+")"+ee+"*"),ue=new RegExp("="+ee+"*([^\\]'\"]*?)"+ee+"*\\]","g"),le=new RegExp(re),ce=new RegExp("^"+te+"$"),fe={ID:new RegExp("^#("+te+")"),CLASS:new RegExp("^\\.("+te+")"),TAG:new RegExp("^("+te+"|[*])"),ATTR:new RegExp("^"+ne),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ee+"*(even|odd|(([+-]|)(\\d*)n|)"+ee+"*(?:([+-]|)"+ee+"*(\\d+)|))"+ee+"*\\)|)","i"),bool:new RegExp("^(?:"+Z+")$","i"),needsContext:new RegExp("^"+ee+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ee+"*((?:-\\d)?\\d*)"+ee+"*\\)|)(?=[^-]|$)","i")},de=/^(?:input|select|textarea|button)$/i,pe=/^h\d$/i,he=/^[^{]+\{\s*\[native \w/,ge=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,me=/[+~]/,ve=new RegExp("\\\\([\\da-f]{1,6}"+ee+"?|("+ee+")|.)","ig"),ye=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},xe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,be=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},we=function(){D()},Te=d(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{Q.apply(V=J.call(I.childNodes),I.childNodes),V[I.childNodes.length].nodeType}catch(e){Q={apply:V.length?function(e,t){Y.apply(e,J.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}b=t.support={},C=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},D=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:I;return r!==A&&9===r.nodeType&&r.documentElement?(A=r,q=A.documentElement,L=!C(A),I!==A&&(n=A.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",we,!1):n.attachEvent&&n.attachEvent("onunload",we)),b.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),b.getElementsByTagName=i(function(e){return e.appendChild(A.createComment("")),!e.getElementsByTagName("*").length}),b.getElementsByClassName=he.test(A.getElementsByClassName),b.getById=i(function(e){return q.appendChild(e).id=M,!A.getElementsByName||!A.getElementsByName(M).length}),b.getById?(w.filter.ID=function(e){var t=e.replace(ve,ye);return function(e){return e.getAttribute("id")===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&L){var n=t.getElementById(e);return n?[n]:[]}}):(w.filter.ID=function(e){var t=e.replace(ve,ye);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&L){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),w.find.TAG=b.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):b.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},w.find.CLASS=b.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&L)return t.getElementsByClassName(e)},H=[],O=[],(b.qsa=he.test(A.querySelectorAll))&&(i(function(e){q.appendChild(e).innerHTML="<a id='"+M+"'></a><select id='"+M+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&O.push("[*^$]="+ee+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||O.push("\\["+ee+"*(?:value|"+Z+")"),e.querySelectorAll("[id~="+M+"-]").length||O.push("~="),e.querySelectorAll(":checked").length||O.push(":checked"),e.querySelectorAll("a#"+M+"+*").length||O.push(".#.+[+~]")}),i(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=A.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&O.push("name"+ee+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&O.push(":enabled",":disabled"),q.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&O.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),O.push(",.*:")})),(b.matchesSelector=he.test(F=q.matches||q.webkitMatchesSelector||q.mozMatchesSelector||q.oMatchesSelector||q.msMatchesSelector))&&i(function(e){b.disconnectedMatch=F.call(e,"*"),F.call(e,"[s!='']:x"),H.push("!=",re)}),O=O.length&&new RegExp(O.join("|")),H=H.length&&new RegExp(H.join("|")),t=he.test(q.compareDocumentPosition),P=t||he.test(q.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},X=t?function(e,t){if(e===t)return _=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!b.sortDetached&&t.compareDocumentPosition(e)===n?e===A||e.ownerDocument===I&&P(I,e)?-1:t===A||t.ownerDocument===I&&P(I,t)?1:N?K(N,e)-K(N,t):0:4&n?-1:1)}:function(e,t){if(e===t)return _=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],u=[t];if(!i||!o)return e===A?-1:t===A?1:i?-1:o?1:N?K(N,e)-K(N,t):0;if(i===o)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;s[r]===u[r];)r++;return r?a(s[r],u[r]):s[r]===I?-1:u[r]===I?1:0},A):A},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==A&&D(e),n=n.replace(ue,"='$1']"),b.matchesSelector&&L&&!z[n+" "]&&(!H||!H.test(n))&&(!O||!O.test(n)))try{var r=F.call(e,n);if(r||b.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,A,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==A&&D(e),P(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==A&&D(e);var n=w.attrHandle[t.toLowerCase()],r=n&&U.call(w.attrHandle,t.toLowerCase())?n(e,t,!L):void 0;return void 0!==r?r:b.attributes||!L?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.escape=function(e){return(e+"").replace(xe,be)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(_=!b.detectDuplicates,N=!b.sortStable&&e.slice(0),e.sort(X),_){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return N=null,e},T=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=T(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=T(t);return n},w=t.selectors={cacheLength:50,createPseudo:r,match:fe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ve,ye),e[3]=(e[3]||e[4]||e[5]||"").replace(ve,ye),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return fe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&le.test(n)&&(t=k(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ve,ye).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=$[e+" "];return t||(t=new RegExp("(^|"+ee+")"+e+"("+ee+"|$)"))&&$(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(ie," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,d,p,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!u&&!s,x=!1;if(m){if(o){for(;g;){for(d=t;d=d[g];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&y){for(d=m,f=d[M]||(d[M]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),l=c[e]||[],p=l[0]===R&&l[1],x=p&&l[2],d=p&&m.childNodes[p];d=++p&&d&&d[g]||(x=p=0)||h.pop();)if(1===d.nodeType&&++x&&d===t){c[e]=[R,p,x];break}}else if(y&&(d=t,f=d[M]||(d[M]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),l=c[e]||[],p=l[0]===R&&l[1],x=p),!1===x)for(;(d=++p&&d&&d[g]||(x=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++x||(y&&(f=d[M]||(d[M]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),c[e]=[R,x]),d!==t)););return(x-=i)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,n){var i,o=w.pseudos[e]||w.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[M]?o(n):o.length>1?(i=[e,e,"",n],w.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)r=K(e,i[a]),e[r]=!(t[r]=i[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=j(e.replace(oe,"$1"));return i[M]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(ve,ye),function(t){return(t.textContent||t.innerText||T(t)).indexOf(e)>-1}}),lang:r(function(e){return ce.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ve,ye).toLowerCase(),function(t){var n;do{if(n=L?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===q},focus:function(e){return e===A.activeElement&&(!A.hasFocus||A.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:s(!1),disabled:s(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return pe.test(e.nodeName)},input:function(e){return de.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:u(function(){return[0]}),last:u(function(e,t){return[t-1]}),eq:u(function(e,t,n){return[n<0?n+t:n]}),even:u(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:u(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:u(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:u(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},w.pseudos.nth=w.pseudos.eq;for(x in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[x]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(x);for(x in{submit:!0,reset:!0})w.pseudos[x]=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}(x);return c.prototype=w.filters=w.pseudos,w.setFilters=new c,k=t.tokenize=function(e,n){var r,i,o,a,s,u,l,c=B[e+" "];if(c)return n?0:c.slice(0);for(s=e,u=[],l=w.preFilter;s;){r&&!(i=ae.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),r=!1,(i=se.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(oe," ")}),s=s.slice(r.length));for(a in w.filter)!(i=fe[a].exec(s))||l[a]&&!(i=l[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):B(e,u).slice(0)},j=t.compile=function(e,t){var n,r=[],i=[],o=z[e+" "];if(!o){for(t||(t=k(e)),n=t.length;n--;)o=v(t[n]),o[M]?r.push(o):i.push(o);o=z(e,y(i,r)),o.selector=e}return o},S=t.select=function(e,t,n,r){var i,o,a,s,u,c="function"==typeof e&&e,d=!r&&k(e=c.selector||e);if(n=n||[],1===d.length){if(o=d[0]=d[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&9===t.nodeType&&L&&w.relative[o[1].type]){if(!(t=(w.find.ID(a.matches[0].replace(ve,ye),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=fe.needsContext.test(e)?0:o.length;i--&&(a=o[i],!w.relative[s=a.type]);)if((u=w.find[s])&&(r=u(a.matches[0].replace(ve,ye),me.test(o[0].type)&&l(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&f(o)))return Q.apply(n,r),n;break}}return(c||j(e,d))(r,t,!L,n,!t||me.test(e)&&l(t.parentNode)||t),n},b.sortStable=M.split("").sort(X).join("")===M,b.detectDuplicates=!!_,D(),b.sortDetached=i(function(e){return 1&e.compareDocumentPosition(A.createElement("fieldset"))}),i(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),b.attributes&&i(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(Z,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(o);xe.find=ke,xe.expr=ke.selectors,xe.expr[":"]=xe.expr.pseudos,xe.uniqueSort=xe.unique=ke.uniqueSort,xe.text=ke.getText,xe.isXMLDoc=ke.isXML,xe.contains=ke.contains,xe.escapeSelector=ke.escape;var je=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&xe(e).is(n))break;r.push(e)}return r},Se=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Ee=xe.expr.match.needsContext,Ne=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,_e=/^.[^:#\[\.,]*$/;xe.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?xe.find.matchesSelector(r,e)?[r]:[]:xe.find.matches(e,xe.grep(t,function(e){return 1===e.nodeType}))},xe.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(xe(e).filter(function(){for(t=0;t<r;t++)if(xe.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)xe.find(e,i[t],n);return r>1?xe.uniqueSort(n):n},filter:function(e){return this.pushStack(c(this,e||[],!1))},not:function(e){return this.pushStack(c(this,e||[],!0))},is:function(e){return!!c(this,"string"==typeof e&&Ee.test(e)?xe(e):e||[],!1).length}});var De,Ae=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(xe.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||De,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Ae.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof xe?t[0]:t,xe.merge(this,xe.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:se,!0)),Ne.test(r[1])&&xe.isPlainObject(t))for(r in t)xe.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return i=se.getElementById(r[2]),i&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):xe.isFunction(e)?void 0!==n.ready?n.ready(e):e(xe):xe.makeArray(e,this)}).prototype=xe.fn,De=xe(se);var qe=/^(?:parents|prev(?:Until|All))/,Le={children:!0,contents:!0,next:!0,prev:!0};xe.fn.extend({has:function(e){var t=xe(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(xe.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&xe(e);if(!Ee.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&xe.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?xe.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?de.call(xe(e),this[0]):de.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(xe.uniqueSort(xe.merge(this.get(),xe(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),xe.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return je(e,"parentNode")},parentsUntil:function(e,t,n){return je(e,"parentNode",n)},next:function(e){return f(e,"nextSibling")},prev:function(e){return f(e,"previousSibling")},nextAll:function(e){return je(e,"nextSibling")},prevAll:function(e){return je(e,"previousSibling")},nextUntil:function(e,t,n){return je(e,"nextSibling",n)},prevUntil:function(e,t,n){return je(e,"previousSibling",n)},siblings:function(e){return Se((e.parentNode||{}).firstChild,e)},children:function(e){return Se(e.firstChild)},contents:function(e){return l(e,"iframe")?e.contentDocument:(l(e,"template")&&(e=e.content||e),xe.merge([],e.childNodes))}},function(e,t){xe.fn[e]=function(n,r){var i=xe.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=xe.filter(r,i)),this.length>1&&(Le[e]||xe.uniqueSort(i),qe.test(e)&&i.reverse()),this.pushStack(i)}});var Oe=/[^\x20\t\r\n\f]+/g;xe.Callbacks=function(e){e="string"==typeof e?d(e):xe.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},l={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){xe.each(n,function(n,r){xe.isFunction(r)?e.unique&&l.has(r)||o.push(r):r&&r.length&&"string"!==xe.type(r)&&t(r)})}(arguments),n&&!t&&u()),this},remove:function(){return xe.each(arguments,function(e,t){for(var n;(n=xe.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?xe.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=n||[],n=[e,n.slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},xe.extend({Deferred:function(e){var t=[["notify","progress",xe.Callbacks("memory"),xe.Callbacks("memory"),2],["resolve","done",xe.Callbacks("once memory"),xe.Callbacks("once memory"),0,"resolved"],["reject","fail",xe.Callbacks("once memory"),xe.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return xe.Deferred(function(n){xe.each(t,function(t,r){var i=xe.isFunction(e[r[4]])&&e[r[4]];a[r[1]](function(){var e=i&&i.apply(this,arguments);e&&xe.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(e,n,r){function a(e,t,n,r){return function(){var u=this,l=arguments,c=function(){var o,c;if(!(e<s)){if((o=n.apply(u,l))===t.promise())throw new TypeError("Thenable self-resolution");c=o&&("object"===(void 0===o?"undefined":i(o))||"function"==typeof o)&&o.then,xe.isFunction(c)?r?c.call(o,a(s,t,p,r),a(s,t,h,r)):(s++,c.call(o,a(s,t,p,r),a(s,t,h,r),a(s,t,p,t.notifyWith))):(n!==p&&(u=void 0,l=[o]),(r||t.resolveWith)(u,l))}},f=r?c:function(){try{c()}catch(r){xe.Deferred.exceptionHook&&xe.Deferred.exceptionHook(r,f.stackTrace),e+1>=s&&(n!==h&&(u=void 0,l=[r]),t.rejectWith(u,l))}};e?f():(xe.Deferred.getStackHook&&(f.stackTrace=xe.Deferred.getStackHook()),o.setTimeout(f))}}var s=0;return xe.Deferred(function(i){t[0][3].add(a(0,i,xe.isFunction(r)?r:p,i.notifyWith)),t[1][3].add(a(0,i,xe.isFunction(e)?e:p)),t[2][3].add(a(0,i,xe.isFunction(n)?n:h))}).promise()},promise:function(e){return null!=e?xe.extend(e,r):r}},a={};return xe.each(t,function(e,i){var o=i[2],s=i[5];r[i[1]]=o.add,s&&o.add(function(){n=s},t[3-e][2].disable,t[0][2].lock),o.add(i[3].fire),a[i[0]]=function(){return a[i[0]+"With"](this===a?void 0:this,arguments),this},a[i[0]+"With"]=o.fireWith}),r.promise(a),e&&e.call(a,a),a},when:function(e){var t=arguments.length,n=t,r=Array(n),i=le.call(arguments),o=xe.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?le.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(g(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||xe.isFunction(i[n]&&i[n].then)))return o.then();for(;n--;)g(i[n],a(n),o.reject);return o.promise()}});var He=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;xe.Deferred.exceptionHook=function(e,t){o.console&&o.console.warn&&e&&He.test(e.name)&&o.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},xe.readyException=function(e){o.setTimeout(function(){throw e})};var Fe=xe.Deferred();xe.fn.ready=function(e){return Fe.then(e).catch(function(e){xe.readyException(e)}),this},xe.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--xe.readyWait:xe.isReady)||(xe.isReady=!0,!0!==e&&--xe.readyWait>0||Fe.resolveWith(se,[xe]))}}),xe.ready.then=Fe.then,"complete"===se.readyState||"loading"!==se.readyState&&!se.documentElement.doScroll?o.setTimeout(xe.ready):(se.addEventListener("DOMContentLoaded",m),o.addEventListener("load",m));var Pe=function e(t,n,r,i,o,a,s){var u=0,l=t.length,c=null==r;if("object"===xe.type(r)){o=!0;for(u in r)e(t,n,u,r[u],!0,a,s)}else if(void 0!==i&&(o=!0,xe.isFunction(i)||(s=!0),c&&(s?(n.call(t,i),n=null):(c=n,n=function(e,t,n){return c.call(xe(e),n)})),n))for(;u<l;u++)n(t[u],r,s?i:i.call(t[u],u,n(t[u],r)));return o?t:c?n.call(t):l?n(t[0],r):a},Me=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};v.uid=1,v.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Me(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[xe.camelCase(t)]=n;else for(r in t)i[xe.camelCase(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][xe.camelCase(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){Array.isArray(t)?t=t.map(xe.camelCase):(t=xe.camelCase(t),t=t in r?[t]:t.match(Oe)||[]),n=t.length;for(;n--;)delete r[t[n]]}(void 0===t||xe.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!xe.isEmptyObject(t)}};var Ie=new v,Re=new v,We=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,$e=/[A-Z]/g;xe.extend({hasData:function(e){return Re.hasData(e)||Ie.hasData(e)},data:function(e,t,n){return Re.access(e,t,n)},removeData:function(e,t){Re.remove(e,t)},_data:function(e,t,n){return Ie.access(e,t,n)},_removeData:function(e,t){Ie.remove(e,t)}}),xe.fn.extend({data:function(e,t){var n,r,o,a=this[0],s=a&&a.attributes;if(void 0===e){if(this.length&&(o=Re.get(a),1===a.nodeType&&!Ie.get(a,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&(r=s[n].name,0===r.indexOf("data-")&&(r=xe.camelCase(r.slice(5)),x(a,r,o[r])));Ie.set(a,"hasDataAttrs",!0)}return o}return"object"===(void 0===e?"undefined":i(e))?this.each(function(){Re.set(this,e)}):Pe(this,function(t){var n;if(a&&void 0===t){if(void 0!==(n=Re.get(a,e)))return n;if(void 0!==(n=x(a,e)))return n}else this.each(function(){Re.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Re.remove(this,e)})}}),xe.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Ie.get(e,t),n&&(!r||Array.isArray(n)?r=Ie.access(e,t,xe.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=xe.queue(e,t),r=n.length,i=n.shift(),o=xe._queueHooks(e,t),a=function(){xe.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Ie.get(e,n)||Ie.access(e,n,{empty:xe.Callbacks("once memory").add(function(){Ie.remove(e,[t+"queue",n])})})}}),xe.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?xe.queue(this[0],e):void 0===t?this:this.each(function(){var n=xe.queue(this,e,t);xe._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&xe.dequeue(this,e)})},dequeue:function(e){return this.each(function(){xe.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=xe.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Ie.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var Be=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ze=new RegExp("^(?:([+-])=|)("+Be+")([a-z%]*)$","i"),Xe=["Top","Right","Bottom","Left"],Ue=function(e,t){return e=t||e,"none"===e.style.display||""===e.style.display&&xe.contains(e.ownerDocument,e)&&"none"===xe.css(e,"display")},Ve=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i},Ge={};xe.fn.extend({show:function(){return T(this,!0)},hide:function(){return T(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Ue(this)?xe(this).show():xe(this).hide()})}});var Ye=/^(?:checkbox|radio)$/i,Qe=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,Je=/^$|\/(?:java|ecma)script/i,Ke={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Ke.optgroup=Ke.option,Ke.tbody=Ke.tfoot=Ke.colgroup=Ke.caption=Ke.thead,Ke.th=Ke.td;var Ze=/<|&#?\w+;/;!function(){var e=se.createDocumentFragment(),t=e.appendChild(se.createElement("div")),n=se.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),ye.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",ye.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var et=se.documentElement,tt=/^key/,nt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,rt=/^([^.]*)(?:\.(.+)|)/;xe.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,p,h,g,m=Ie.get(e);if(m)for(n.handler&&(o=n,n=o.handler,i=o.selector),i&&xe.find.matchesSelector(et,i),n.guid||(n.guid=xe.guid++),(u=m.events)||(u=m.events={}),(a=m.handle)||(a=m.handle=function(t){return void 0!==xe&&xe.event.triggered!==t.type?xe.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Oe)||[""],l=t.length;l--;)s=rt.exec(t[l])||[],p=g=s[1],h=(s[2]||"").split(".").sort(),p&&(f=xe.event.special[p]||{},p=(i?f.delegateType:f.bindType)||p,f=xe.event.special[p]||{},c=xe.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&xe.expr.match.needsContext.test(i),namespace:h.join(".")},o),(d=u[p])||(d=u[p]=[],d.delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),xe.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,p,h,g,m=Ie.hasData(e)&&Ie.get(e);if(m&&(u=m.events)){for(t=(t||"").match(Oe)||[""],l=t.length;l--;)if(s=rt.exec(t[l])||[],p=g=s[1],h=(s[2]||"").split(".").sort(),p){for(f=xe.event.special[p]||{},p=(r?f.delegateType:f.bindType)||p,d=u[p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)c=d[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,f.remove&&f.remove.call(e,c));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,h,m.handle)||xe.removeEvent(e,p,m.handle),delete u[p])}else for(p in u)xe.event.remove(e,p+t[l],n,r,!0);xe.isEmptyObject(u)&&Ie.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=xe.event.fix(e),u=new Array(arguments.length),l=(Ie.get(this,"events")||{})[s.type]||[],c=xe.event.special[s.type]||{};for(u[0]=s,t=1;t<arguments.length;t++)u[t]=arguments[t];if(s.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,s)){for(a=xe.event.handlers.call(this,s,l),t=0;(i=a[t++])&&!s.isPropagationStopped();)for(s.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,void 0!==(r=((xe.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,u))&&!1===(s.result=r)&&(s.preventDefault(),s.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)r=t[n],i=r.selector+" ",void 0===a[i]&&(a[i]=r.needsContext?xe(i,this).index(l)>-1:xe.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(xe.Event.prototype,e,{enumerable:!0,configurable:!0,get:xe.isFunction(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[xe.expando]?e:new xe.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==N()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===N()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&l(this,"input"))return this.click(),!1},_default:function(e){return l(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},xe.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},xe.Event=function(e,t){if(!(this instanceof xe.Event))return new xe.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?S:E,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&xe.extend(this,t),this.timeStamp=e&&e.timeStamp||xe.now(),this[xe.expando]=!0},xe.Event.prototype={constructor:xe.Event,isDefaultPrevented:E,isPropagationStopped:E,isImmediatePropagationStopped:E,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=S,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=S,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=S,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},xe.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&tt.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&nt.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},xe.event.addProp),xe.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){xe.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||xe.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),xe.fn.extend({on:function(e,t,n,r){return _(this,e,t,n,r)},one:function(e,t,n,r){return _(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,xe(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"===(void 0===e?"undefined":i(e))){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=E),this.each(function(){xe.event.remove(this,e,n,t)})}});var it=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ot=/<script|<style|<link/i,at=/checked\s*(?:[^=]|=\s*.checked.)/i,st=/^true\/(.*)/,ut=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;xe.extend({htmlPrefilter:function(e){return e.replace(it,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=xe.contains(e.ownerDocument,e);if(!(ye.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||xe.isXMLDoc(e)))for(a=C(s),o=C(e),r=0,i=o.length;r<i;r++)O(o[r],a[r]);if(t)if(n)for(o=o||C(e),a=a||C(s),r=0,i=o.length;r<i;r++)L(o[r],a[r]);else L(e,s);return a=C(s,"script"),a.length>0&&k(a,!u&&C(e,"script")),s},cleanData:function(e){for(var t,n,r,i=xe.event.special,o=0;void 0!==(n=e[o]);o++)if(Me(n)){if(t=n[Ie.expando]){if(t.events)for(r in t.events)i[r]?xe.event.remove(n,r):xe.removeEvent(n,r,t.handle);n[Ie.expando]=void 0}n[Re.expando]&&(n[Re.expando]=void 0)}}}),xe.fn.extend({detach:function(e){return F(this,e,!0)},remove:function(e){return F(this,e)},text:function(e){return Pe(this,function(e){return void 0===e?xe.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return H(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){D(this,e).appendChild(e)}})},prepend:function(){return H(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=D(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return H(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return H(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(xe.cleanData(C(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return xe.clone(this,e,t)})},html:function(e){return Pe(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ot.test(e)&&!Ke[(Qe.exec(e)||["",""])[1].toLowerCase()]){e=xe.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(xe.cleanData(C(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return H(this,arguments,function(t){var n=this.parentNode;xe.inArray(this,e)<0&&(xe.cleanData(C(this)),n&&n.replaceChild(t,this))},e)}}),xe.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){xe.fn[e]=function(e){for(var n,r=[],i=xe(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),xe(i[a])[t](n),fe.apply(r,n.get());return this.pushStack(r)}});var lt=/^margin/,ct=new RegExp("^("+Be+")(?!px)[a-z%]+$","i"),ft=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=o),t.getComputedStyle(e)};!function(){function e(){if(s){s.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",s.innerHTML="",et.appendChild(a);var e=o.getComputedStyle(s);t="1%"!==e.top,i="2px"===e.marginLeft,n="4px"===e.width,s.style.marginRight="50%",r="4px"===e.marginRight,et.removeChild(a),s=null}}var t,n,r,i,a=se.createElement("div"),s=se.createElement("div");s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",ye.clearCloneStyle="content-box"===s.style.backgroundClip,a.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",a.appendChild(s),xe.extend(ye,{pixelPosition:function(){return e(),t},boxSizingReliable:function(){return e(),n},pixelMarginRight:function(){return e(),r},reliableMarginLeft:function(){return e(),i}}))}();var dt=/^(none|table(?!-c[ea]).+)/,pt=/^--/,ht={position:"absolute",visibility:"hidden",display:"block"},gt={letterSpacing:"0",fontWeight:"400"},mt=["Webkit","Moz","ms"],vt=se.createElement("div").style;xe.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=P(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,u=xe.camelCase(t),l=pt.test(t),c=e.style;if(l||(t=R(u)),s=xe.cssHooks[t]||xe.cssHooks[u],void 0===n)return s&&"get"in s&&void 0!==(o=s.get(e,!1,r))?o:c[t];a=void 0===n?"undefined":i(n),"string"===a&&(o=ze.exec(n))&&o[1]&&(n=b(e,t,o),a="number"),null!=n&&n===n&&("number"===a&&(n+=o&&o[3]||(xe.cssNumber[u]?"":"px")),ye.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,a,s=xe.camelCase(t);return pt.test(t)||(t=R(s)),a=xe.cssHooks[t]||xe.cssHooks[s],a&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=P(e,t,r)),"normal"===i&&t in gt&&(i=gt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),xe.each(["height","width"],function(e,t){xe.cssHooks[t]={get:function(e,n,r){if(n)return!dt.test(xe.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?B(e,t,r):Ve(e,ht,function(){return B(e,t,r)})},set:function(e,n,r){var i,o=r&&ft(e),a=r&&$(e,t,r,"border-box"===xe.css(e,"boxSizing",!1,o),o);return a&&(i=ze.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=xe.css(e,t)),W(e,n,a)}}}),xe.cssHooks.marginLeft=M(ye.reliableMarginLeft,function(e,t){if(t)return(parseFloat(P(e,"marginLeft"))||e.getBoundingClientRect().left-Ve(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),xe.each({margin:"",padding:"",border:"Width"},function(e,t){xe.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+Xe[r]+t]=o[r]||o[r-2]||o[0];return i}},lt.test(e)||(xe.cssHooks[e+t].set=W)}),xe.fn.extend({css:function(e,t){return Pe(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=ft(e),i=t.length;a<i;a++)o[t[a]]=xe.css(e,t[a],!1,r);return o}return void 0!==n?xe.style(e,t,n):xe.css(e,t)},e,t,arguments.length>1)}}),xe.Tween=z,z.prototype={constructor:z,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||xe.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(xe.cssNumber[n]?"":"px")},cur:function(){var e=z.propHooks[this.prop];return e&&e.get?e.get(this):z.propHooks._default.get(this)},run:function(e){var t,n=z.propHooks[this.prop];return this.options.duration?this.pos=t=xe.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):z.propHooks._default.set(this),this}},z.prototype.init.prototype=z.prototype,z.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=xe.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){xe.fx.step[e.prop]?xe.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[xe.cssProps[e.prop]]&&!xe.cssHooks[e.prop]?e.elem[e.prop]=e.now:xe.style(e.elem,e.prop,e.now+e.unit)}}},z.propHooks.scrollTop=z.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},xe.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},xe.fx=z.prototype.init,xe.fx.step={};var yt,xt,bt=/^(?:toggle|show|hide)$/,wt=/queueHooks$/;xe.Animation=xe.extend(J,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return b(n.elem,e,ze.exec(t),n),n}]},tweener:function(e,t){xe.isFunction(e)?(t=e,e=["*"]):e=e.match(Oe);for(var n,r=0,i=e.length;r<i;r++)n=e[r],J.tweeners[n]=J.tweeners[n]||[],J.tweeners[n].unshift(t)},prefilters:[Y],prefilter:function(e,t){t?J.prefilters.unshift(e):J.prefilters.push(e)}}),xe.speed=function(e,t,n){var r=e&&"object"===(void 0===e?"undefined":i(e))?xe.extend({},e):{complete:n||!n&&t||xe.isFunction(e)&&e,duration:e,easing:n&&t||t&&!xe.isFunction(t)&&t};return xe.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in xe.fx.speeds?r.duration=xe.fx.speeds[r.duration]:r.duration=xe.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){xe.isFunction(r.old)&&r.old.call(this),r.queue&&xe.dequeue(this,r.queue)},r},xe.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Ue).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=xe.isEmptyObject(e),o=xe.speed(t,n,r),a=function(){var t=J(this,xe.extend({},e),o);(i||Ie.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=xe.timers,a=Ie.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&wt.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||xe.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=Ie.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=xe.timers,a=r?r.length:0;for(n.finish=!0,xe.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),xe.each(["toggle","show","hide"],function(e,t){var n=xe.fn[t];xe.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(V(t,!0),e,r,i)}}),xe.each({slideDown:V("show"),slideUp:V("hide"),slideToggle:V("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){xe.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),xe.timers=[],xe.fx.tick=function(){var e,t=0,n=xe.timers;for(yt=xe.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||xe.fx.stop(),yt=void 0},xe.fx.timer=function(e){xe.timers.push(e),xe.fx.start()},xe.fx.interval=13,xe.fx.start=function(){xt||(xt=!0,X())},xe.fx.stop=function(){xt=null},xe.fx.speeds={slow:600,fast:200,_default:400},xe.fn.delay=function(e,t){return e=xe.fx?xe.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=o.setTimeout(t,e);n.stop=function(){o.clearTimeout(r)}})},function(){var e=se.createElement("input"),t=se.createElement("select"),n=t.appendChild(se.createElement("option"));e.type="checkbox",ye.checkOn=""!==e.value,ye.optSelected=n.selected,e=se.createElement("input"),e.value="t",e.type="radio",ye.radioValue="t"===e.value}();var Tt,Ct=xe.expr.attrHandle;xe.fn.extend({attr:function(e,t){return Pe(this,xe.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){xe.removeAttr(this,e)})}}),xe.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?xe.prop(e,t,n):(1===o&&xe.isXMLDoc(e)||(i=xe.attrHooks[t.toLowerCase()]||(xe.expr.match.bool.test(t)?Tt:void 0)),void 0!==n?null===n?void xe.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:(r=xe.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!ye.radioValue&&"radio"===t&&l(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(Oe);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),Tt={set:function(e,t,n){return!1===t?xe.removeAttr(e,n):e.setAttribute(n,n),n}},xe.each(xe.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Ct[t]||xe.find.attr;Ct[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=Ct[a],Ct[a]=i,i=null!=n(e,t,r)?a:null,Ct[a]=o),i}});var kt=/^(?:input|select|textarea|button)$/i,jt=/^(?:a|area)$/i;xe.fn.extend({prop:function(e,t){return Pe(this,xe.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[xe.propFix[e]||e]})}}),xe.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&xe.isXMLDoc(e)||(t=xe.propFix[t]||t,i=xe.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=xe.find.attr(e,"tabindex");return t?parseInt(t,10):kt.test(e.nodeName)||jt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ye.optSelected||(xe.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),xe.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){xe.propFix[this.toLowerCase()]=this}),xe.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(xe.isFunction(e))return this.each(function(t){xe(this).addClass(e.call(this,t,Z(this)))});if("string"==typeof e&&e)for(t=e.match(Oe)||[];n=this[u++];)if(i=Z(n),r=1===n.nodeType&&" "+K(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");s=K(r),i!==s&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(xe.isFunction(e))return this.each(function(t){xe(this).removeClass(e.call(this,t,Z(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(Oe)||[];n=this[u++];)if(i=Z(n),r=1===n.nodeType&&" "+K(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");s=K(r),i!==s&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=void 0===e?"undefined":i(e);return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):xe.isFunction(e)?this.each(function(n){xe(this).toggleClass(e.call(this,n,Z(this),t),t)}):this.each(function(){var t,r,i,o;if("string"===n)for(r=0,i=xe(this),o=e.match(Oe)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||(t=Z(this),t&&Ie.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Ie.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+K(Z(n))+" ").indexOf(t)>-1)return!0;return!1}});var St=/\r/g;xe.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=xe.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,xe(this).val()):e,null==i?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=xe.map(i,function(e){return null==e?"":e+""})),(t=xe.valHooks[this.type]||xe.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return(t=xe.valHooks[i.type]||xe.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(St,""):null==n?"":n)}}}),xe.extend({valHooks:{option:{get:function(e){var t=xe.find.attr(e,"value");return null!=t?t:K(xe.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(n=i[r],(n.selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!l(n.parentNode,"optgroup"))){if(t=xe(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=xe.makeArray(t),a=i.length;a--;)r=i[a],(r.selected=xe.inArray(xe.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),xe.each(["radio","checkbox"],function(){xe.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=xe.inArray(xe(e).val(),t)>-1}},ye.checkOn||(xe.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Et=/^(?:focusinfocus|focusoutblur)$/;xe.extend(xe.event,{trigger:function(e,t,n,r){var a,s,u,l,c,f,d,p=[n||se],h=ge.call(e,"type")?e.type:e,g=ge.call(e,"namespace")?e.namespace.split("."):[];if(s=u=n=n||se,3!==n.nodeType&&8!==n.nodeType&&!Et.test(h+xe.event.triggered)&&(h.indexOf(".")>-1&&(g=h.split("."),h=g.shift(),g.sort()),c=h.indexOf(":")<0&&"on"+h,e=e[xe.expando]?e:new xe.Event(h,"object"===(void 0===e?"undefined":i(e))&&e),e.isTrigger=r?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:xe.makeArray(t,[e]),d=xe.event.special[h]||{},r||!d.trigger||!1!==d.trigger.apply(n,t))){if(!r&&!d.noBubble&&!xe.isWindow(n)){for(l=d.delegateType||h,Et.test(l+h)||(s=s.parentNode);s;s=s.parentNode)p.push(s),u=s;u===(n.ownerDocument||se)&&p.push(u.defaultView||u.parentWindow||o)}for(a=0;(s=p[a++])&&!e.isPropagationStopped();)e.type=a>1?l:d.bindType||h,f=(Ie.get(s,"events")||{})[e.type]&&Ie.get(s,"handle"),f&&f.apply(s,t),(f=c&&s[c])&&f.apply&&Me(s)&&(e.result=f.apply(s,t),!1===e.result&&e.preventDefault());return e.type=h,r||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(p.pop(),t)||!Me(n)||c&&xe.isFunction(n[h])&&!xe.isWindow(n)&&(u=n[c],u&&(n[c]=null),xe.event.triggered=h,n[h](),xe.event.triggered=void 0,u&&(n[c]=u)),e.result}},simulate:function(e,t,n){var r=xe.extend(new xe.Event,n,{type:e,isSimulated:!0});xe.event.trigger(r,null,t)}}),xe.fn.extend({trigger:function(e,t){return this.each(function(){xe.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return xe.event.trigger(e,t,n,!0)}}),xe.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){xe.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),xe.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),ye.focusin="onfocusin"in o,ye.focusin||xe.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){xe.event.simulate(t,e.target,xe.event.fix(e))};xe.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=Ie.access(r,t);i||r.addEventListener(e,n,!0),Ie.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=Ie.access(r,t)-1;i?Ie.access(r,t,i):(r.removeEventListener(e,n,!0),Ie.remove(r,t))}}});var Nt=o.location,_t=xe.now(),Dt=/\?/;xe.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new o.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||xe.error("Invalid XML: "+e),t};var At=/\[\]$/,qt=/\r?\n/g,Lt=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;xe.param=function(e,t){var n,r=[],i=function(e,t){var n=xe.isFunction(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!xe.isPlainObject(e))xe.each(e,function(){i(this.name,this.value)});else for(n in e)ee(n,e[n],t,i);return r.join("&")},xe.fn.extend({serialize:function(){return xe.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=xe.prop(this,"elements");return e?xe.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!xe(this).is(":disabled")&&Ot.test(this.nodeName)&&!Lt.test(e)&&(this.checked||!Ye.test(e))}).map(function(e,t){var n=xe(this).val();return null==n?null:Array.isArray(n)?xe.map(n,function(e){return{name:t.name,value:e.replace(qt,"\r\n")}}):{name:t.name,value:n.replace(qt,"\r\n")}}).get()}});var Ht=/%20/g,Ft=/#.*$/,Pt=/([?&])_=[^&]*/,Mt=/^(.*?):[ \t]*([^\r\n]*)$/gm,It=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Rt=/^(?:GET|HEAD)$/,Wt=/^\/\//,$t={},Bt={},zt="*/".concat("*"),Xt=se.createElement("a");Xt.href=Nt.href,xe.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Nt.href,type:"GET",isLocal:It.test(Nt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":xe.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?re(re(e,xe.ajaxSettings),t):re(xe.ajaxSettings,e)},ajaxPrefilter:te($t),ajaxTransport:te(Bt),ajax:function(e,t){function n(e,t,n,i){var u,c,p,h,w,T=t;f||(f=!0,l&&o.clearTimeout(l),r=void 0,s=i||"",k.readyState=e>0?4:0,u=e>=200&&e<300||304===e,n&&(h=ie(g,k,n)),h=oe(g,h,k,u),u?(g.ifModified&&(w=k.getResponseHeader("Last-Modified"),w&&(xe.lastModified[a]=w),(w=k.getResponseHeader("etag"))&&(xe.etag[a]=w)),204===e||"HEAD"===g.type?T="nocontent":304===e?T="notmodified":(T=h.state,c=h.data,p=h.error,u=!p)):(p=T,!e&&T||(T="error",e<0&&(e=0))),k.status=e,k.statusText=(t||T)+"",u?y.resolveWith(m,[c,T,k]):y.rejectWith(m,[k,T,p]),k.statusCode(b),b=void 0,d&&v.trigger(u?"ajaxSuccess":"ajaxError",[k,g,u?c:p]),x.fireWith(m,[k,T]),d&&(v.trigger("ajaxComplete",[k,g]),--xe.active||xe.event.trigger("ajaxStop")))}"object"===(void 0===e?"undefined":i(e))&&(t=e,e=void 0),t=t||{};var r,a,s,u,l,c,f,d,p,h,g=xe.ajaxSetup({},t),m=g.context||g,v=g.context&&(m.nodeType||m.jquery)?xe(m):xe.event,y=xe.Deferred(),x=xe.Callbacks("once memory"),b=g.statusCode||{},w={},T={},C="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(f){if(!u)for(u={};t=Mt.exec(s);)u[t[1].toLowerCase()]=t[2];t=u[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return f?s:null},setRequestHeader:function(e,t){return null==f&&(e=T[e.toLowerCase()]=T[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==f&&(g.mimeType=e),this},statusCode:function(e){var t;if(e)if(f)k.always(e[k.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||C;return r&&r.abort(t),n(0,t),this}};if(y.promise(k),g.url=((e||g.url||Nt.href)+"").replace(Wt,Nt.protocol+"//"),g.type=t.method||t.type||g.method||g.type,g.dataTypes=(g.dataType||"*").toLowerCase().match(Oe)||[""],null==g.crossDomain){c=se.createElement("a");try{c.href=g.url,c.href=c.href,g.crossDomain=Xt.protocol+"//"+Xt.host!=c.protocol+"//"+c.host}catch(e){g.crossDomain=!0}}if(g.data&&g.processData&&"string"!=typeof g.data&&(g.data=xe.param(g.data,g.traditional)),ne($t,g,t,k),f)return k;d=xe.event&&g.global,d&&0==xe.active++&&xe.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!Rt.test(g.type),a=g.url.replace(Ft,""),g.hasContent?g.data&&g.processData&&0===(g.contentType||"").indexOf("application/x-www-form-urlencoded")&&(g.data=g.data.replace(Ht,"+")):(h=g.url.slice(a.length),g.data&&(a+=(Dt.test(a)?"&":"?")+g.data,delete g.data),!1===g.cache&&(a=a.replace(Pt,"$1"),h=(Dt.test(a)?"&":"?")+"_="+_t+++h),g.url=a+h),g.ifModified&&(xe.lastModified[a]&&k.setRequestHeader("If-Modified-Since",xe.lastModified[a]),xe.etag[a]&&k.setRequestHeader("If-None-Match",xe.etag[a])),(g.data&&g.hasContent&&!1!==g.contentType||t.contentType)&&k.setRequestHeader("Content-Type",g.contentType),k.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+zt+"; q=0.01":""):g.accepts["*"]);for(p in g.headers)k.setRequestHeader(p,g.headers[p]);if(g.beforeSend&&(!1===g.beforeSend.call(m,k,g)||f))return k.abort();if(C="abort",x.add(g.complete),k.done(g.success),k.fail(g.error),r=ne(Bt,g,t,k)){if(k.readyState=1,d&&v.trigger("ajaxSend",[k,g]),f)return k;g.async&&g.timeout>0&&(l=o.setTimeout(function(){k.abort("timeout")},g.timeout));try{f=!1,r.send(w,n)}catch(e){if(f)throw e;n(-1,e)}}else n(-1,"No Transport");return k},getJSON:function(e,t,n){return xe.get(e,t,n,"json")},getScript:function(e,t){return xe.get(e,void 0,t,"script")}}),xe.each(["get","post"],function(e,t){xe[t]=function(e,n,r,i){return xe.isFunction(n)&&(i=i||r,r=n,n=void 0),xe.ajax(xe.extend({url:e,type:t,dataType:i,data:n,success:r},xe.isPlainObject(e)&&e))}}),xe._evalUrl=function(e){return xe.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},xe.fn.extend({wrapAll:function(e){var t;return this[0]&&(xe.isFunction(e)&&(e=e.call(this[0])),t=xe(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return xe.isFunction(e)?this.each(function(t){xe(this).wrapInner(e.call(this,t))}):this.each(function(){var t=xe(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=xe.isFunction(e);return this.each(function(n){xe(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){xe(this).replaceWith(this.childNodes)}),this}}),xe.expr.pseudos.hidden=function(e){return!xe.expr.pseudos.visible(e)},xe.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},xe.ajaxSettings.xhr=function(){try{return new o.XMLHttpRequest}catch(e){}};var Ut={0:200,1223:204},Vt=xe.ajaxSettings.xhr();ye.cors=!!Vt&&"withCredentials"in Vt,ye.ajax=Vt=!!Vt,xe.ajaxTransport(function(e){var t,n;if(ye.cors||Vt&&!e.crossDomain)return{send:function(r,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(a in r)s.setRequestHeader(a,r[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Ut[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&o.setTimeout(function(){t&&n()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),xe.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),xe.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return xe.globalEval(e),e}}}),xe.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),xe.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,i){t=xe("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),se.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;xe.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||xe.expando+"_"+_t++;return this[e]=!0,e}}),xe.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,a,s=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=xe.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(Dt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return a||xe.error(r+" was not called"),a[0]},e.dataTypes[0]="json",i=o[r],o[r]=function(){a=arguments},n.always(function(){void 0===i?xe(o).removeProp(r):o[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),a&&xe.isFunction(i)&&i(a[0]),a=i=void 0}),"script"}),ye.createHTMLDocument=function(){var e=se.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),xe.parseHTML=function(e,t,n){if("string"!=typeof e)return[];"boolean"==typeof t&&(n=t,t=!1);var r,i,o;return t||(ye.createHTMLDocument?(t=se.implementation.createHTMLDocument(""),r=t.createElement("base"),r.href=se.location.href,t.head.appendChild(r)):t=se),i=Ne.exec(e),o=!n&&[],i?[t.createElement(i[1])]:(i=j([e],t,o),o&&o.length&&xe(o).remove(),xe.merge([],i.childNodes))},xe.fn.load=function(e,t,n){var r,o,a,s=this,u=e.indexOf(" ");return u>-1&&(r=K(e.slice(u)),e=e.slice(0,u)),xe.isFunction(t)?(n=t,t=void 0):t&&"object"===(void 0===t?"undefined":i(t))&&(o="POST"),s.length>0&&xe.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){a=arguments,s.html(r?xe("<div>").append(xe.parseHTML(e)).find(r):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,a||[e.responseText,t,e])})}),this},xe.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){xe.fn[t]=function(e){return this.on(t,e)}}),xe.expr.pseudos.animated=function(e){return xe.grep(xe.timers,function(t){return e===t.elem}).length},xe.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l,c=xe.css(e,"position"),f=xe(e),d={};"static"===c&&(e.style.position="relative"),s=f.offset(),o=xe.css(e,"top"),u=xe.css(e,"left"),l=("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1,l?(r=f.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),xe.isFunction(t)&&(t=t.call(e,n,xe.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):f.css(d)}},xe.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){xe.offset.setOffset(this,e,t)});var t,n,r,i,o=this[0];if(o)return o.getClientRects().length?(r=o.getBoundingClientRect(),t=o.ownerDocument,n=t.documentElement,i=t.defaultView,{top:r.top+i.pageYOffset-n.clientTop,left:r.left+i.pageXOffset-n.clientLeft}):{top:0,left:0}},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===xe.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),l(e[0],"html")||(r=e.offset()),r={top:r.top+xe.css(e[0],"borderTopWidth",!0),left:r.left+xe.css(e[0],"borderLeftWidth",!0)}),{top:t.top-r.top-xe.css(n,"marginTop",!0),left:t.left-r.left-xe.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===xe.css(e,"position");)e=e.offsetParent;return e||et})}}),xe.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;xe.fn[e]=function(r){return Pe(this,function(e,r,i){var o;if(xe.isWindow(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i},e,r,arguments.length)}}),xe.each(["top","left"],function(e,t){xe.cssHooks[t]=M(ye.pixelPosition,function(e,n){if(n)return n=P(e,t),ct.test(n)?xe(e).position()[t]+"px":n})}),xe.each({Height:"height",Width:"width"},function(e,t){xe.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){xe.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return Pe(this,function(t,n,i){var o;return xe.isWindow(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?xe.css(t,n,s):xe.style(t,n,i,s)},t,a?i:void 0,a)}})}),xe.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),xe.holdReady=function(e){e?xe.readyWait++:xe.ready(!0)},xe.isArray=Array.isArray,xe.parseJSON=JSON.parse,xe.nodeName=l,n=[],void 0!==(r=function(){return xe}.apply(t,n))&&(e.exports=r);var Qt=o.jQuery,Jt=o.$;return xe.noConflict=function(e){return o.$===xe&&(o.$=Jt),e&&o.jQuery===xe&&(o.jQuery=Qt),xe},a||(o.jQuery=o.$=xe),xe})}).call(t,n(6)(e))},function(e,t,n){"use strict";function r(){var e=(0,a.default)("#ta-attach-images-metabox"),t=e.find("#thirsty_image_holder");e.on("click","#ta_upload_media_manager",function(n){if(n.preventDefault(),r)return void r.open();var r=wp.media({title:(0,a.default)(this).data("uploader-title"),library:{type:"image"},button:{text:(0,a.default)(this).data("uploader-button-text"),close:!0},multiple:!0});r.on("select",function(){var n=r.state().get("selection"),o=(0,a.default)("input[name=post_ID]").val(),s=[],u=(0,a.default)("#thirsty_image_holder");e.find("#thirsty_image_holder").length<=0&&e.find(".inside").append("<div id='thirsty_image_holder'></div>"),n.map(function(e){e=e.toJSON(),s.push(e.id)}),s.length>0&&a.default.ajax({url:ajaxurl,type:"POST",data:{action:"ta_add_attachments_to_affiliate_link",attachment_ids:s,affiliate_link_id:o},dataType:"json"}).done(function(n){if("success"===n.status){var r=t.data("attachments"),o=void 0;"object"==(void 0===r?"undefined":i(r))&&(o=t.data("attachments").map(function(e){return parseInt(e,10)}),o=a.default.unique(o.concat(s)),t.data("attachments",o)),e.find("#thirsty_image_holder").append(n.added_attachments_markup),t.trigger("ta_center_images")}else alert(n.error_msg),console.log(n)}).fail(function(e){alert(e),console.log("Failed to add attachments to affiliate link")}).always(function(){u.find(".thirsty-attached-image").length>0&&u.show(),tb_remove()})}),r.open()}),e.on("click",".thirsty-remove-img",function(){var e=(0,a.default)(this);if(e.hasClass("removing"))return!1;e.addClass("removing");var n=parseInt(e.attr("id")),r=(0,a.default)("input[name=post_ID]").val(),o=e.closest(".thirsty-attached-image"),s=(0,a.default)("#thirsty_image_holder"),u=void 0;e.hasClass("remove-external")&&(u=e.closest(".external-image").find("img"),n=u[0].getAttribute("src")),a.default.ajax({url:ajaxurl,type:"POST",data:{action:"ta_remove_attachment_to_affiliate_link",attachment_id:n,affiliate_link_id:r},dataType:"json"}).done(function(e){if("success"===e.status){var r=t.data("attachments"),a=void 0;"object"==(void 0===r?"undefined":i(r))&&(a=t.data("attachments").map(function(e){return parseInt(e,10)}),a=new Set(a),a.delete(n),t.data("attachments",Array.from(a))),o.fadeOut(300).delay(300).remove(),s.find(".thirsty-attached-image").length<=0&&s.hide()}else alert(e.error_msg),console.log(e)}).fail(function(e){alert("Failed to remove attachment from affiliate link"),console.log(e)})});var n=function(){var e=(0,a.default)(".media-modal-content ul.attachments li.attachment"),n=t.data("attachments"),r=void 0;"object"==(void 0===n?"undefined":i(n))&&(r=n.map(function(e){return parseInt(e,10)}),e.each(function(){var e=(0,a.default)(this),t=(0,a.default)(this).data("id");e.show(),a.default.inArray(t,r)>-1&&e.hide()}))};e.on("click","#ta_upload_media_manager",n),(0,a.default)("body").on("click",".media-modal-content .media-menu-item",n),(0,a.default)(document).on("DOMNodeInserted",function(e){var n=(0,a.default)(e.target),r=t.data("attachments"),o=void 0;n.hasClass("attachment")&&"object"==(void 0===r?"undefined":i(r))&&(o=n.data("id"),r=r.map(function(e){return parseInt(e,10)}),a.default.inArray(o,r)>-1&&n.remove())}),e.on("click","#add-external-image",function(){(0,a.default)(this).hide(),e.find(".external-image-form").show(),e.find(".external-image-form input").focus()}),e.on("click",".external-image-form button.add-external",function(){var n=e.find(".external-image-form input"),r={action:"ta_insert_external_image",url:n.val(),link_id:(0,a.default)("input[name=post_ID]").val()};a.default.post(ajaxurl,r,function(n){"success"==n.status?(e.find("#thirsty_image_holder").length<=0&&e.find(".inside").append("<div id='thirsty_image_holder'></div>"),e.find("#thirsty_image_holder").append(n.markup).show(),t.trigger("ta_center_images")):(alert(n.error_msg),console.log(n)),e.find(".external-image-form input").val(""),e.find("#add-external-image").show(),e.find(".external-image-form").hide()},"json")}),e.on("click",".external-image-form button.cancel",function(){e.find(".external-image-form input").val(""),e.find("#add-external-image").show(),e.find(".external-image-form").hide()}),e.on("ta_center_images","#thirsty_image_holder",function(){var e=(0,a.default)(this).find(".thirsty-img img"),t=void 0,n=void 0,r=void 0;setTimeout(function(){for(n=0;n<=e.length;n++)t=(0,a.default)(e[n]),t.width()&&(r=(t.width()-100)/2,t.css("margin-left",-r))},500)}),t.trigger("ta_center_images")}Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=r;var o=n(0),a=function(e){return e&&e.__esModule?e:{default:e}}(o)},function(e,t,n){"use strict";function r(){var e=(0,o.default)("#ta-urls-metabox");(0,o.default)("#slugdiv").remove(),e.on("click","button.edit-ta-slug",function(){e.find(".cloaked-fields").hide(),e.find(".slug-fields").fadeIn(200)}),e.on("click","button.save-ta-slug",function(){var t=e.find("input#ta_slug").val(),n=e.find("input#ta_cloaked_url").val(),r=n.replace(/[^\/]+\/?$/g,"");/^([a-z0-9-_% ]+)$/.test(t)?(t=""==t?n.match(/[^\/]+$/):t,e.find("input#ta_cloaked_url").val(r+t+"/"),e.find(".slug-fields").hide(),e.find(".cloaked-fields").fadeIn(200)):(0,o.default)("input#publish").click()})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(i)},function(e,t,n){"use strict";function r(){function e(e,t){o.default.post(ajaxurl,{action:"ta_get_category_slug",term_id:e},function(n){"success"==n.status?r.append("<option value='"+e+"' data-slug='"+n.category_slug+"'>"+t+"</option>").trigger("change"):(alert(n.error_msg),console.log(n))},"json")}function t(){var e=n.find("input[type='checkbox']:checked"),t=[],i=[],a=void 0,s=void 0,u=void 0,l=void 0;if(!(e.length<1)){for(l=0;l<e.length;l++)u=(0,o.default)(e[l]).parent().text().trim(),t.push(u),i[u]=l;t=t.sort(function(e,t){return e=e.toLowerCase(),t=t.toLowerCase(),e>t?1:e<t?-1:0}),s=i[t[0]],a=(0,o.default)(e[s]),o.default.post(ajaxurl,{action:"ta_get_category_slug",term_id:a.val()},function(e){"success"==e.status?(r.find("option:first-child").data("slug",e.category_slug).attr("data-slug",e.category_slug),r.trigger("change")):(alert(e.error_msg),console.log(e))},"json")}}var n=(0,o.default)("#thirstylink-categorychecklist"),r=(0,o.default)("select[name='ta_category_slug']");n.on("change","input[type='checkbox']",function(){var n=(0,o.default)(this).val(),i=(0,o.default)(this).parent().text(),a=(0,o.default)(this).prop("checked");t(),a?e(n,i):(r.find("option[value='"+n+"']").remove(),r.trigger("change"))}),(0,o.default)(document).on("DOMNodeInserted","#thirstylink-categorychecklist",function(){var n=(0,o.default)("#thirstylink-categorychecklist li").first(),i=n.find("input[type='checkbox']").val(),a=n.find("label").text(),s=n.find("input[type='checkbox']").prop("checked");t(),s?e(i,a):r.find("option[value='"+i+"']").remove()}),(0,o.default)(document).on("change","select[name='ta_category_slug']",function(){var e=(0,o.default)(this),t=e.find("option:selected").data("slug"),n=e.data("home-link-prefix"),r=(0,o.default)("#ta_slug").val(),i=(0,o.default)("#ta_cloaked_url");(0,o.default)(this).find("option").length<=1?i.val(n+r+"/"):i.val(n+t+"/"+r+"/")})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(i)},function(e,t,n){"use strict";function r(){var e=(0,o.default)("#ta-inserted-link-scanner-metabox");e.on("click","#inserted-link-scan-trigger",function(){var t=(0,o.default)(this),n=e.find(".inside"),r=n.find(".inserted-into-table table tbody"),i=n.find(".overlay"),a=n.find(".scanned-inserted-status .last-scanned"),s=(0,o.default)("input#post_ID").val();t.prop("disabled",!0),i.css("height",n.height()).show(),o.default.post(ajaxurl,{action:"ta_link_inserted_scanner",link_id:s},function(e){"success"==e.status?(r.html(e.results_markup),a.html(e.last_scanned)):(alert(e.error_msg),console.log(e)),t.prop("disabled",!1),i.hide()},"json")})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(i)},function(e,t){},function(e,t,n){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=n(0),o=r(i),a=n(1),s=r(a),u=n(2),l=r(u),c=n(3),f=r(c),d=n(4),p=r(d);n(5),(0,o.default)(document).ready(function(){(0,s.default)(),(0,l.default)(),(0,f.default)(),(0,p.default)()})}]);
|
js/app/edit_shortcode/dist/edit-shortcode.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
body{background:#f1f1f1;color:#444;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;line-height:1.4em}.edit-shortcode-wrap{padding:10px 20px;box-sizing:border-box}.edit-shortcode-wrap form .field-row{margin-bottom:15px}.edit-shortcode-wrap form .field-row label{display:block}.edit-shortcode-wrap form .field-row input,.edit-shortcode-wrap form .field-row textarea{width:100%;padding:8px 10px;font-size:14px;border:1px solid #ccc;box-sizing:border-box}.edit-shortcode-wrap form .field-row select{padding:2px;line-height:28px;height:28px;font-size:14px;-webkit-border-radius:0;border-radius:0;border:1px solid #ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.07);box-shadow:inset 0 1px 2px rgba(0,0,0,.07);background-color:#fff;color:#32373c;outline:0;-webkit-transition:border-color 50ms ease-in-out;transition:border-color 50ms ease-in-out}.edit-shortcode-wrap form .field-row .button{color:#555;border:1px solid #ccc;background:#f7f7f7;-webkit-box-shadow:0 1px 0 #ccc;box-shadow:0 1px 0 #ccc;display:inline-block;line-height:26px;height:28px;margin:0;padding:0 10px 1px;cursor:pointer;-webkit-border-radius:3px;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box;margin-left:5px;font-size:14px;font-family:Arial,sans-serif}.edit-shortcode-wrap form .field-row .button.button-primary{margin-top:8px;margin-bottom:5px;background:#2ea2cc;border-color:#0074a2;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);color:#fff;text-decoration:none}.edit-shortcode-wrap form .field-row.one-half{width:49%;float:left}.edit-shortcode-wrap form .field-row.first-half{clear:left;margin-right:2%}
|
js/app/edit_shortcode/dist/edit-shortcode.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(t){function e(i){if(r[i])return r[i].exports;var n=r[i]={i:i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,e),n.l=!0,n.exports}var r={};e.m=t,e.c=r,e.i=function(t){return t},e.d=function(t,r,i){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=2)}([function(t,e,r){"use strict";function i(){var t=document.querySelector(".edit-shortcode-wrap");jQuery(t).on("init_shortcode_data",n),jQuery(t).on("click","#submit",o),jQuery(t).trigger("init_shortcode_data")}function n(){var t=document.querySelector(".edit-shortcode-wrap form"),e=parent.ThirstyLinkPicker.shortcodeData.data,r={text:e.match(/\](.*?)\[\/thirstylink/i),ids:e.match(/ids=\"(.*?)\"/i),class:e.match(/class=\"(.*?)\"/i),title:e.match(/title=\"(.*?)\"/i),rel:e.match(/rel=\"(.*?)\"/i),target:e.match(/target=\"(.*?)\"/i)};for(var i in r)i in r&&null!=r[i]&&jQuery(t).find("#shortcode_"+i).val(r[i][1])}function o(t){t.preventDefault();var e=document.querySelector(".edit-shortcode-wrap form"),r=parent.ThirstyLinkPicker.shortcodeData.node;if(e.checkValidity()){var i={text:jQuery(e).find("#shortcode_text").val(),ids:jQuery(e).find("#shortcode_ids").val(),class:jQuery(e).find("#shortcode_class").val(),title:jQuery(e).find("#shortcode_title").val(),rel:jQuery(e).find("#shortcode_rel").val(),target:jQuery(e).find("#shortcode_target").val()},n='[thirstylink ids="'+i.ids+'"';for(var o in i)"text"!=o&&"ids"!=o&&o in i&&null!=i[o]&&i[o]&&(n+=" "+o+'="'+i[o]+'"');n+="]"+i.text+"[/thirstylink]",parent.ThirstyLinkPicker.editor.$(r).replaceWith('<span class="ta-editor-shortcode" data-shortcode="'+window.encodeURIComponent(n)+'">'+i.text+"</span>"),parent.ThirstyLinkPicker.shortcodeData=null,parent.ThirstyLinkPicker.close_thickbox()}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i},function(t,e){},function(t,e,r){"use strict";var i=r(0),n=function(t){return t&&t.__esModule?t:{default:t}}(i);r(1),jQuery(document).ready(function(){(0,n.default)()})}]);
|
js/app/ta-editor.js
CHANGED
@@ -8,6 +8,7 @@ jQuery( document ).ready( function($) {
|
|
8 |
linkNode : null,
|
9 |
htmlEditor : null,
|
10 |
inputInstance : null,
|
|
|
11 |
close_thickbox : function() {
|
12 |
tb_remove();
|
13 |
},
|
8 |
linkNode : null,
|
9 |
htmlEditor : null,
|
10 |
inputInstance : null,
|
11 |
+
shortcodeData : null,
|
12 |
close_thickbox : function() {
|
13 |
tb_remove();
|
14 |
},
|
js/app/ta.js
CHANGED
@@ -24,6 +24,7 @@ jQuery( document ).ready( function($) {
|
|
24 |
* @since 3.3.0 Add javascript redirect feature.
|
25 |
* @since 3.3.1 Make sure the duplicate click prevention only works on affiliate links.
|
26 |
* @since 3.3.7 Add fail script for enhanced js redirect to still work on AJAX failure.
|
|
|
27 |
*/
|
28 |
recordLinkStat : function( e ) {
|
29 |
|
@@ -31,6 +32,7 @@ jQuery( document ).ready( function($) {
|
|
31 |
href = $link.attr( 'href' ),
|
32 |
linkID = $link.data( 'linkid' ),
|
33 |
keyword = $link[0].innerText,
|
|
|
34 |
imgsrc,
|
35 |
newWindow;
|
36 |
|
@@ -66,7 +68,8 @@ jQuery( document ).ready( function($) {
|
|
66 |
href : href,
|
67 |
page : window.location.href,
|
68 |
link_id : linkID,
|
69 |
-
keyword : keyword
|
|
|
70 |
} , function( redirect_url ) {
|
71 |
|
72 |
$link.data( "clicked" , false );
|
@@ -149,7 +152,7 @@ jQuery( document ).ready( function($) {
|
|
149 |
|
150 |
var $allLinks = $( 'body a' ),
|
151 |
hrefs = [],
|
152 |
-
href, linkClass, isShortcode, isImage
|
153 |
|
154 |
// fetch all links that are thirstylinks
|
155 |
for ( key = 0; key < $allLinks.length; key++ ) {
|
@@ -180,12 +183,21 @@ jQuery( document ).ready( function($) {
|
|
180 |
|
181 |
for ( x in response.data ) {
|
182 |
|
|
|
|
|
|
|
183 |
var key = response.data[ x ][ 'key' ],
|
184 |
hrefProp = $( $allLinks[ key ] ).prop( 'href' ),
|
185 |
qs = hrefProp ? hrefProp.split('?')[1] : '', // get the url query strings
|
186 |
-
href =
|
187 |
title = response.data[ x ][ 'title' ],
|
188 |
-
className = response.data[ x ][ 'class' ]
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
|
190 |
// update protocol to replace it with the one used on the site.
|
191 |
href = href.replace( 'http:' , window.location.protocol ).replace( 'https:' , window.location.protocol );
|
24 |
* @since 3.3.0 Add javascript redirect feature.
|
25 |
* @since 3.3.1 Make sure the duplicate click prevention only works on affiliate links.
|
26 |
* @since 3.3.7 Add fail script for enhanced js redirect to still work on AJAX failure.
|
27 |
+
* @since 3.4.0 Make sure query strings are added back when enhanced js redirect is active.
|
28 |
*/
|
29 |
recordLinkStat : function( e ) {
|
30 |
|
32 |
href = $link.attr( 'href' ),
|
33 |
linkID = $link.data( 'linkid' ),
|
34 |
keyword = $link[0].innerText,
|
35 |
+
qs = href ? href.split('?')[1] : '', // get the url query strings
|
36 |
imgsrc,
|
37 |
newWindow;
|
38 |
|
68 |
href : href,
|
69 |
page : window.location.href,
|
70 |
link_id : linkID,
|
71 |
+
keyword : keyword,
|
72 |
+
qs : qs
|
73 |
} , function( redirect_url ) {
|
74 |
|
75 |
$link.data( "clicked" , false );
|
152 |
|
153 |
var $allLinks = $( 'body a' ),
|
154 |
hrefs = [],
|
155 |
+
href, linkClass, isShortcode, isImage , key;
|
156 |
|
157 |
// fetch all links that are thirstylinks
|
158 |
for ( key = 0; key < $allLinks.length; key++ ) {
|
183 |
|
184 |
for ( x in response.data ) {
|
185 |
|
186 |
+
// make sure response data is valid before proceeding.
|
187 |
+
if ( typeof response.data[ x ] != 'object' ) continue;
|
188 |
+
|
189 |
var key = response.data[ x ][ 'key' ],
|
190 |
hrefProp = $( $allLinks[ key ] ).prop( 'href' ),
|
191 |
qs = hrefProp ? hrefProp.split('?')[1] : '', // get the url query strings
|
192 |
+
href = response.data[ x ][ 'href' ],
|
193 |
title = response.data[ x ][ 'title' ],
|
194 |
+
className = response.data[ x ][ 'class' ],
|
195 |
+
connector;
|
196 |
+
|
197 |
+
if ( qs && response.data[ x ][ 'pass_qs' ] ) {
|
198 |
+
connector = href.indexOf( '?' ) < 0 ? '?' : '&';
|
199 |
+
href = href + connector + qs;
|
200 |
+
}
|
201 |
|
202 |
// update protocol to replace it with the one used on the site.
|
203 |
href = href.replace( 'http:' , window.location.protocol ).replace( 'https:' , window.location.protocol );
|
js/lib/thirstymce/editor-plugin.js
CHANGED
@@ -372,6 +372,174 @@
|
|
372 |
|
373 |
editor.addShortcut( 'meta+alt+k' , 'Add Affiliate Link' , 'thirstylink_insert' );
|
374 |
editor.addShortcut( 'meta+shift+k' , 'Quick Add Affiliate Link' , 'thirstylink_quick_add' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
375 |
});
|
376 |
|
377 |
} )( window.tinymce );
|
372 |
|
373 |
editor.addShortcut( 'meta+alt+k' , 'Add Affiliate Link' , 'thirstylink_insert' );
|
374 |
editor.addShortcut( 'meta+shift+k' , 'Quick Add Affiliate Link' , 'thirstylink_quick_add' );
|
375 |
+
|
376 |
+
/*
|
377 |
+
|--------------------------------------------------------------------------
|
378 |
+
| Shortcode: custom display on editor
|
379 |
+
|--------------------------------------------------------------------------
|
380 |
+
*/
|
381 |
+
|
382 |
+
var shortcodeToolbar,
|
383 |
+
shortcodeNode;
|
384 |
+
|
385 |
+
// replace shortcodes function
|
386 |
+
function replace_shortcodes( content ) {
|
387 |
+
return content.replace( /\[thirstylink(.*?)\[\/thirstylink\]/g , function( match ) {
|
388 |
+
|
389 |
+
var text = match.match( /\](.*?)\[\/thirstylink/i ),
|
390 |
+
data = window.encodeURIComponent( match );
|
391 |
+
|
392 |
+
return '<span class="ta-editor-shortcode" data-shortcode="' + data + '">' + text[1] + '</span>';
|
393 |
+
});
|
394 |
+
}
|
395 |
+
|
396 |
+
// restore shortcodes function
|
397 |
+
function restore_shortcodes( content ) {
|
398 |
+
|
399 |
+
return content.replace( /<span class="ta-editor-shortcode(.*?)<\/span>/g , function( match , el ) {
|
400 |
+
|
401 |
+
var attr_name = new RegExp( 'data-shortcode' + '=\"([^\"]+)\"' ).exec( el ),
|
402 |
+
shortcode = attr_name ? window.decodeURIComponent( attr_name[1] ) : '';
|
403 |
+
|
404 |
+
return shortcode ? shortcode : match;
|
405 |
+
} );
|
406 |
+
}
|
407 |
+
|
408 |
+
// event before wp editor sets content
|
409 |
+
editor.on( 'BeforeSetContent', function( e ) {
|
410 |
+
e.content = replace_shortcodes( e.content );
|
411 |
+
});
|
412 |
+
|
413 |
+
// event on wp editor processes post (change to text tab, save post, etc.)
|
414 |
+
editor.on( 'PostProcess', function( event ) {
|
415 |
+
if ( event.get ) {
|
416 |
+
event.content = restore_shortcodes( event.content );
|
417 |
+
}
|
418 |
+
});
|
419 |
+
|
420 |
+
// shortcode is clicked event.
|
421 |
+
editor.on( 'mouseup', function( event ) {
|
422 |
+
|
423 |
+
var dom = editor.dom,
|
424 |
+
node = event.target,
|
425 |
+
x;
|
426 |
+
|
427 |
+
// if shortcode is not selected, then we remove the selected class to all shortcodes.
|
428 |
+
if ( node.nodeName !== 'SPAN' || ! node.classList.contains( 'ta-editor-shortcode' ) || ! dom.getAttrib( node , 'data-shortcode' ) ) {
|
429 |
+
|
430 |
+
var shortcodes = dom.$( "span.ta-editor-shortcode" );
|
431 |
+
|
432 |
+
if ( shortcodes.length >= 1 ) {
|
433 |
+
for ( x = 0; x < shortcodes.length; x++ )
|
434 |
+
shortcodes[ x ].classList.remove( "shortcode-selected" );
|
435 |
+
}
|
436 |
+
|
437 |
+
return;
|
438 |
+
}
|
439 |
+
|
440 |
+
// mark shortcode as selected
|
441 |
+
node.classList.add( "shortcode-selected" );
|
442 |
+
shortcodeNode = node;
|
443 |
+
} );
|
444 |
+
|
445 |
+
/*
|
446 |
+
|--------------------------------------------------------------------------
|
447 |
+
| Shortcode toolbar
|
448 |
+
|--------------------------------------------------------------------------
|
449 |
+
*/
|
450 |
+
|
451 |
+
// define taShortcodePreview input type object.
|
452 |
+
taShortcodePreview = {
|
453 |
+
renderHtml: function() {
|
454 |
+
return ( '<div id="' + this._id + '" class="shortcode-preview"></div>' );
|
455 |
+
}
|
456 |
+
};
|
457 |
+
|
458 |
+
// register taShortcodePreview input type to tinymce.
|
459 |
+
if ( tinymce.ui.Factory )
|
460 |
+
tinymce.ui.Factory.add( 'taShortcodePreview' , tinymce.ui.Control.extend( taShortcodePreview ) );
|
461 |
+
else
|
462 |
+
tinymce.ui.taShortcodePreview = tinymce.ui.Control.extend( taShortcodePreview );
|
463 |
+
|
464 |
+
// Register custom inline toolbar
|
465 |
+
editor.on( 'preinit', function() {
|
466 |
+
|
467 |
+
if ( editor.wp && editor.wp._createToolbar ) {
|
468 |
+
|
469 |
+
shortcodeToolbar = editor.wp._createToolbar( [
|
470 |
+
'taShortcodePreview',
|
471 |
+
'ta_edit_shortcode_btn',
|
472 |
+
'ta_remove_shortcode_btn'
|
473 |
+
], true );
|
474 |
+
|
475 |
+
shortcodeToolbar.on( 'show', function() {
|
476 |
+
|
477 |
+
var $preview = shortcodeToolbar.$el.find( 'div.shortcode-preview' ),
|
478 |
+
shortcode_txt = window.decodeURIComponent( editor.$( shortcodeNode ).attr( 'data-shortcode' ) );
|
479 |
+
|
480 |
+
$preview.closest( '.mce-container-body' ).addClass( 'shortcode-preview-toolbar' );
|
481 |
+
|
482 |
+
if ( shortcode_txt.length > 70 )
|
483 |
+
shortcode_txt = shortcode_txt.substring( 0 , 70 ) + '…';
|
484 |
+
|
485 |
+
$preview.text( shortcode_txt );
|
486 |
+
});
|
487 |
+
}
|
488 |
+
});
|
489 |
+
|
490 |
+
// assign event nodes on when the toolbar will need to show up
|
491 |
+
editor.on( 'wptoolbar', function( event ) {
|
492 |
+
|
493 |
+
var tempnode = editor.dom.getParent( event.element, 'span.ta-editor-shortcode' ),
|
494 |
+
$shortcode, data, edit;
|
495 |
+
|
496 |
+
if ( tempnode ) {
|
497 |
+
|
498 |
+
$shortcode = editor.$( tempnode );
|
499 |
+
data = $shortcode.attr( 'data-shortcode' );
|
500 |
+
edit = $shortcode.hasClass( 'shortcode-selected' );
|
501 |
+
|
502 |
+
if ( data && edit ) {
|
503 |
+
|
504 |
+
event.element = tempnode;
|
505 |
+
event.toolbar = shortcodeToolbar;
|
506 |
+
}
|
507 |
+
}
|
508 |
+
});
|
509 |
+
|
510 |
+
// register shortcode toolbar buttons
|
511 |
+
editor.addButton( 'ta_edit_shortcode_btn' , {
|
512 |
+
title : 'Edit affiliate link shortcode',
|
513 |
+
icon : 'dashicon dashicons-edit',
|
514 |
+
cmd : 'ta_edit_shortcode'
|
515 |
+
});
|
516 |
+
editor.addButton( 'ta_remove_shortcode_btn' , {
|
517 |
+
title : 'Remove affiliate link shortcode',
|
518 |
+
icon : 'dashicon dashicons-editor-unlink',
|
519 |
+
cmd : 'ta_remove_shortcode'
|
520 |
+
});
|
521 |
+
|
522 |
+
// register remove shortcode command
|
523 |
+
editor.addCommand( 'ta_remove_shortcode' , function() {
|
524 |
+
var text = editor.$( shortcodeNode ).text();
|
525 |
+
$( shortcodeNode ).replaceWith( text );
|
526 |
+
});
|
527 |
+
|
528 |
+
editor.addCommand( 'ta_edit_shortcode' , function() {
|
529 |
+
|
530 |
+
var post_id = $( '#post_ID' ).val();
|
531 |
+
|
532 |
+
ThirstyLinkPicker.editor = editor;
|
533 |
+
ThirstyLinkPicker.shortcodeData = {
|
534 |
+
node : shortcodeNode,
|
535 |
+
data : window.decodeURIComponent( editor.$( shortcodeNode ).attr( 'data-shortcode' ) )
|
536 |
+
};
|
537 |
+
|
538 |
+
tb_show( 'Edit Affiliate Link Shortcode' , window.ajaxurl + '?action=ta_edit_affiliate_link_shortcode&post_id=' + post_id + '&height=640&width=640&TB_iframe=false' );
|
539 |
+
ThirstyLinkPicker.resize_thickbox();
|
540 |
+
|
541 |
+
} );
|
542 |
+
|
543 |
});
|
544 |
|
545 |
} )( window.tinymce );
|
languages/thirstyaffiliates.pot
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: ThirstyAffiliates\n"
|
5 |
-
"POT-Creation-Date: 2018-07
|
6 |
"PO-Revision-Date: 2016-04-29 07:38+0800\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: Rymera Web Co <support@thirstyaffiliates.com>\n"
|
@@ -33,27 +33,29 @@ msgstr ""
|
|
33 |
msgid "307 Temporary (alternative)"
|
34 |
msgstr ""
|
35 |
|
36 |
-
#: Models/Affiliate_Link.php:
|
37 |
msgid "Unable to save affiliate link as there are no changes registered on the object yet."
|
38 |
msgstr ""
|
39 |
|
40 |
#: Models/Affiliate_Link_Attachment.php:130
|
41 |
-
#: Models/Affiliate_Link_Attachment.php:200
|
42 |
-
#: Models/
|
43 |
-
#: Models/
|
44 |
-
#: Models/
|
45 |
-
#: Models/Link_Picker.php:
|
46 |
-
#: Models/
|
47 |
-
#: Models/
|
|
|
48 |
msgid "Invalid AJAX call"
|
49 |
msgstr ""
|
50 |
|
51 |
#: Models/Affiliate_Link_Attachment.php:132
|
52 |
-
#: Models/Affiliate_Link_Attachment.php:202
|
53 |
-
#: Models/
|
54 |
-
#: Models/
|
55 |
-
#: Models/
|
56 |
-
#: Models/Stats_Reporting.php:
|
|
|
57 |
msgid "Missing required post data"
|
58 |
msgstr ""
|
59 |
|
@@ -65,14 +67,22 @@ msgstr ""
|
|
65 |
msgid "Invalid attachment ids to attach to an affiliate link"
|
66 |
msgstr ""
|
67 |
|
68 |
-
#: Models/Affiliate_Link_Attachment.php:
|
69 |
msgid "Attachment successfully removed from attachment"
|
70 |
msgstr ""
|
71 |
|
72 |
-
#: Models/Affiliate_Link_Attachment.php:
|
73 |
msgid "Invalid attachment id to remove from an affiliate link"
|
74 |
msgstr ""
|
75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
#: Models/Affiliate_Links_CPT.php:199 Models/Affiliate_Links_CPT.php:203
|
77 |
#: Models/Affiliate_Links_CPT.php:215
|
78 |
msgid "Affiliate Links"
|
@@ -127,7 +137,7 @@ msgid "ThirstyAffiliates affiliate links"
|
|
127 |
msgstr ""
|
128 |
|
129 |
#: Models/Affiliate_Links_CPT.php:261 Models/Affiliate_Links_CPT.php:263
|
130 |
-
#: views/linkpicker/quick-add-affiliate-link.php:
|
131 |
msgid "Link Categories"
|
132 |
msgstr ""
|
133 |
|
@@ -136,6 +146,7 @@ msgid "Link Category"
|
|
136 |
msgstr ""
|
137 |
|
138 |
#: Models/Affiliate_Links_CPT.php:264
|
|
|
139 |
msgid "All Categories"
|
140 |
msgstr ""
|
141 |
|
@@ -227,39 +238,39 @@ msgstr ""
|
|
227 |
msgid "Link Options"
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: Models/Affiliate_Links_CPT.php:
|
231 |
msgid "Not yet scanned"
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: Models/Affiliate_Links_CPT.php:
|
235 |
msgid "Last scanned on:"
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: Models/Affiliate_Links_CPT.php:
|
239 |
msgid "No results found."
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: Models/Affiliate_Links_CPT.php:
|
243 |
msgid "Link ID"
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: Models/Affiliate_Links_CPT.php:
|
247 |
msgid "Redirect Type"
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: Models/Affiliate_Links_CPT.php:
|
251 |
msgid "Cloaked URL"
|
252 |
msgstr ""
|
253 |
|
254 |
-
#: Models/Affiliate_Links_CPT.php:
|
255 |
msgid "Link Destination"
|
256 |
msgstr ""
|
257 |
|
258 |
-
#: Models/Affiliate_Links_CPT.php:
|
259 |
msgid "Show Link Categories"
|
260 |
msgstr ""
|
261 |
|
262 |
-
#: Models/Bootstrap.php:389 Models/Settings.php:
|
263 |
msgid "Settings"
|
264 |
msgstr ""
|
265 |
|
@@ -350,31 +361,31 @@ msgstr ""
|
|
350 |
msgid "Security Check Failed"
|
351 |
msgstr ""
|
352 |
|
353 |
-
#: Models/Link_Picker.php:
|
354 |
msgid "Select image:"
|
355 |
msgstr ""
|
356 |
|
357 |
-
#: Models/Link_Picker.php:
|
358 |
msgid "No images found"
|
359 |
msgstr ""
|
360 |
|
361 |
-
#: Models/Link_Picker.php:
|
362 |
msgid "Insert link"
|
363 |
msgstr ""
|
364 |
|
365 |
-
#: Models/Link_Picker.php:
|
366 |
msgid "Insert shortcode"
|
367 |
msgstr ""
|
368 |
|
369 |
-
#: Models/Link_Picker.php:
|
370 |
msgid "Insert image"
|
371 |
msgstr ""
|
372 |
|
373 |
-
#: Models/Link_Picker.php:
|
374 |
msgid "No affiliate links found"
|
375 |
msgstr ""
|
376 |
|
377 |
-
#: Models/Marketing.php:177 Models/Settings.php:
|
378 |
msgid "Required parameter not passed"
|
379 |
msgstr ""
|
380 |
|
@@ -461,77 +472,77 @@ msgstr ""
|
|
461 |
msgid "<b>ThirstyAffiliates is currently migrating your old affiliate link data to the new data model.<br>Please hold off making changes to your affiliate links. Please refresh the page and if this message has disappeared, the migration is complete.</b>"
|
462 |
msgstr ""
|
463 |
|
464 |
-
#: Models/Rewrites_Redirection.php:
|
465 |
#, php-format
|
466 |
msgid "<h1>Forbidden</h1><p>You don't have permission to access %s on this server.</p>"
|
467 |
msgstr ""
|
468 |
|
469 |
-
#: Models/Script_Loader.php:
|
470 |
-
msgid "affiliate link"
|
471 |
-
msgstr ""
|
472 |
-
|
473 |
-
#: Models/Script_Loader.php:146
|
474 |
-
msgid "quick add affiliate link"
|
475 |
-
msgstr ""
|
476 |
-
|
477 |
-
#: Models/Script_Loader.php:147
|
478 |
-
msgid "Open the ThirstyAffiliates link picker"
|
479 |
-
msgstr ""
|
480 |
-
|
481 |
-
#: Models/Script_Loader.php:148
|
482 |
-
msgid "Open quick add affiliate link dialog"
|
483 |
-
msgstr ""
|
484 |
-
|
485 |
-
#: Models/Script_Loader.php:149
|
486 |
-
msgid "Type to search affiliate link"
|
487 |
-
msgstr ""
|
488 |
-
|
489 |
-
#: Models/Script_Loader.php:169
|
490 |
msgid "Please provide a value for \"Custom Link Prefix\" option"
|
491 |
msgstr ""
|
492 |
|
493 |
-
#: Models/Script_Loader.php:
|
494 |
msgid "Please input settings string"
|
495 |
msgstr ""
|
496 |
|
497 |
-
#: Models/Script_Loader.php:
|
498 |
msgid "Settings string copied"
|
499 |
msgstr ""
|
500 |
|
501 |
-
#: Models/Script_Loader.php:
|
502 |
msgid "Failed to copy settings string"
|
503 |
msgstr ""
|
504 |
|
505 |
-
#: Models/Script_Loader.php:
|
506 |
msgid "Failed to do data migration"
|
507 |
msgstr ""
|
508 |
|
509 |
-
#: Models/Script_Loader.php:
|
510 |
msgid "Are you sure you want to migrate your ThirstyAffiliates data to version 3 format?"
|
511 |
msgstr ""
|
512 |
|
513 |
-
#: Models/Script_Loader.php:
|
514 |
msgid "Previous"
|
515 |
msgstr ""
|
516 |
|
517 |
-
#: Models/Script_Loader.php:
|
518 |
msgid "Next"
|
519 |
msgstr ""
|
520 |
|
521 |
-
#: Models/Script_Loader.php:
|
522 |
msgid "Close"
|
523 |
msgstr ""
|
524 |
|
525 |
-
#: Models/Script_Loader.php:
|
526 |
msgid "Start Tour"
|
527 |
msgstr ""
|
528 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
529 |
#: Models/Settings.php:266 views/cpt/view-link-options-metabox.php:12
|
530 |
#: views/cpt/view-link-options-metabox.php:24
|
531 |
#: views/cpt/view-link-options-metabox.php:36
|
532 |
#: views/cpt/view-link-options-metabox.php:49
|
533 |
-
#: views/linkpicker/quick-add-affiliate-link.php:
|
534 |
-
#: views/linkpicker/quick-add-affiliate-link.php:
|
535 |
msgid "Yes"
|
536 |
msgstr ""
|
537 |
|
@@ -539,8 +550,8 @@ msgstr ""
|
|
539 |
#: views/cpt/view-link-options-metabox.php:25
|
540 |
#: views/cpt/view-link-options-metabox.php:37
|
541 |
#: views/cpt/view-link-options-metabox.php:50
|
542 |
-
#: views/linkpicker/quick-add-affiliate-link.php:
|
543 |
-
#: views/linkpicker/quick-add-affiliate-link.php:
|
544 |
msgid "No"
|
545 |
msgstr ""
|
546 |
|
@@ -654,342 +665,358 @@ msgid "By default ThirstyAffiliates plugin collects visitor's IP address everyti
|
|
654 |
msgstr ""
|
655 |
|
656 |
#: Models/Settings.php:357
|
657 |
-
msgid "
|
658 |
msgstr ""
|
659 |
|
660 |
#: Models/Settings.php:358
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
661 |
msgid "By default ThirstyAffiliates blocks bots accessing your affiliate links to give you a more appropriate data in the report. Select bots, or enter new ones to block."
|
662 |
msgstr ""
|
663 |
|
664 |
-
#: Models/Settings.php:
|
665 |
msgid "Enable Bot Crawl Blocker Script"
|
666 |
msgstr ""
|
667 |
|
668 |
-
#: Models/Settings.php:
|
669 |
msgid "By enabling this setting, your affiliate links won't redirect for all the <em>blocked bots</em> set above and will send out a 403 forbidden error."
|
670 |
msgstr ""
|
671 |
|
672 |
-
#: Models/Settings.php:
|
673 |
msgid "Link Prefix"
|
674 |
msgstr ""
|
675 |
|
676 |
-
#: Models/Settings.php:
|
677 |
#, php-format
|
678 |
msgid "The prefix that comes before your cloaked link's slug. <br>eg. %s/<strong>recommends</strong>/your-affiliate-link-name.<br><br><b>Warning :</b> Changing this setting after you've used links in a post could break those links. Be careful!"
|
679 |
msgstr ""
|
680 |
|
681 |
-
#: Models/Settings.php:
|
682 |
msgid "Custom Link Prefix"
|
683 |
msgstr ""
|
684 |
|
685 |
-
#: Models/Settings.php:
|
686 |
msgid "Enter your preferred link prefix."
|
687 |
msgstr ""
|
688 |
|
689 |
-
#: Models/Settings.php:
|
690 |
msgid "Link Category in URL?"
|
691 |
msgstr ""
|
692 |
|
693 |
-
#: Models/Settings.php:
|
694 |
#, php-format
|
695 |
msgid "Shows the primary selected category in the url. eg. %s/recommends/<strong>link-category</strong>/your-affiliate-link-name.<br><br><b>Warning :</b> Changing this setting after you've used links in a post could break those links. Be careful!"
|
696 |
msgstr ""
|
697 |
|
698 |
-
#: Models/Settings.php:
|
699 |
msgid "Enable Enhanced Javascript Redirect on Frontend"
|
700 |
msgstr ""
|
701 |
|
702 |
-
#: Models/Settings.php:
|
703 |
msgid "By default affiliate links are redirected on the server side. Enabling this will set all affiliate links to be redirected via javascript on your website's frontend. This will then improve the accuracy of the link performance report (This will only work when <strong>Statistics</strong> module is enabled)."
|
704 |
msgstr ""
|
705 |
|
706 |
-
#: Models/Settings.php:
|
707 |
msgid "Link Redirect Type (server side redirects)"
|
708 |
msgstr ""
|
709 |
|
710 |
-
#: Models/Settings.php:
|
711 |
msgid "This is the type of redirect ThirstyAffiliates will use to redirect the user to your affiliate link."
|
712 |
msgstr ""
|
713 |
|
714 |
-
#: Models/Settings.php:
|
715 |
msgid "Use no follow on links? (server side redirects)"
|
716 |
msgstr ""
|
717 |
|
718 |
-
#: Models/Settings.php:
|
719 |
msgid "Add the nofollow attribute to links so search engines don't index them."
|
720 |
msgstr ""
|
721 |
|
722 |
-
#: Models/Settings.php:
|
723 |
msgid "No follow categories (server side redirects)"
|
724 |
msgstr ""
|
725 |
|
726 |
-
#: Models/Settings.php:
|
727 |
msgid "The links assigned to the selected category will be set as \"no follow\"."
|
728 |
msgstr ""
|
729 |
|
730 |
-
#: Models/Settings.php:
|
731 |
-
#: Models/Settings.php:
|
732 |
msgid "Select category..."
|
733 |
msgstr ""
|
734 |
|
735 |
-
#: Models/Settings.php:
|
736 |
msgid "Open links in new window?"
|
737 |
msgstr ""
|
738 |
|
739 |
-
#: Models/Settings.php:
|
740 |
msgid "Make links open in a new browser tab by default."
|
741 |
msgstr ""
|
742 |
|
743 |
-
#: Models/Settings.php:
|
744 |
msgid "New window categories"
|
745 |
msgstr ""
|
746 |
|
747 |
-
#: Models/Settings.php:
|
748 |
msgid "The links assigned to the selected category will be set as \"new window\"."
|
749 |
msgstr ""
|
750 |
|
751 |
-
#: Models/Settings.php:
|
752 |
msgid "Pass query strings to destination url?"
|
753 |
msgstr ""
|
754 |
|
755 |
-
#: Models/Settings.php:
|
756 |
msgid "Enabling this option will pass all of the query strings present after the cloaked url to the destination url automatically when redirecting."
|
757 |
msgstr ""
|
758 |
|
759 |
-
#: Models/Settings.php:
|
760 |
msgid "Pass query strings categories"
|
761 |
msgstr ""
|
762 |
|
763 |
-
#: Models/Settings.php:
|
764 |
msgid "The links assigned to the selected category will be set as \"pass query strings\"."
|
765 |
msgstr ""
|
766 |
|
767 |
-
#: Models/Settings.php:
|
768 |
msgid "Additional rel attribute tags"
|
769 |
msgstr ""
|
770 |
|
771 |
-
#: Models/Settings.php:
|
772 |
msgid "Allows you to add extra tags into the rel= attribute when links are inserted."
|
773 |
msgstr ""
|
774 |
|
775 |
-
#: Models/Settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
776 |
msgid "Disable ThirstyAffiliates CSS classes?"
|
777 |
msgstr ""
|
778 |
|
779 |
-
#: Models/Settings.php:
|
780 |
msgid "To help with styling a CSS class called \"thirstylink\" is added links on insertion.<br>Likewise the \"thirstylinkimg\" class is added to images when using the image insertion type. This option disables the addition these CSS classes."
|
781 |
msgstr ""
|
782 |
|
783 |
-
#: Models/Settings.php:
|
784 |
msgid "Disable title attribute on link insertion?"
|
785 |
msgstr ""
|
786 |
|
787 |
-
#: Models/Settings.php:
|
788 |
msgid "Links are automatically output with a title html attribute (by default this shows the title of the affiliate link).<br>This option disables the output of the title attribute on your links."
|
789 |
msgstr ""
|
790 |
|
791 |
-
#: Models/Settings.php:
|
792 |
msgid "Select Category to Uncloak"
|
793 |
msgstr ""
|
794 |
|
795 |
-
#: Models/Settings.php:
|
796 |
msgid "The links assigned to the selected category will be uncloaked."
|
797 |
msgstr ""
|
798 |
|
799 |
-
#: Models/Settings.php:
|
800 |
msgid "Statistics"
|
801 |
msgstr ""
|
802 |
|
803 |
-
#: Models/Settings.php:
|
804 |
msgid "When enabled, ThirstyAffiliates will collect click statistics information about visitors that click on your affiliate links. Also adds a new Reports section."
|
805 |
msgstr ""
|
806 |
|
807 |
-
#: Models/Settings.php:
|
808 |
msgid "Link Fixer"
|
809 |
msgstr ""
|
810 |
|
811 |
-
#: Models/Settings.php:
|
812 |
msgid "Link Fixer is a tiny piece of javascript code that runs on the frontend of your site to fix any outdated/broken affiliate links it detects. It's cache-friendly and runs after page load so it doesn't affect the rendering of content. Changed the settings on your site recently? Enabling Link Fixer means you don't need to update all your previously inserted affiliate links one by one – your visitors will never see an out of date affiliate link again."
|
813 |
msgstr ""
|
814 |
|
815 |
-
#: Models/Settings.php:
|
816 |
msgid "Uncloak Links"
|
817 |
msgstr ""
|
818 |
|
819 |
-
#: Models/Settings.php:
|
820 |
msgid "Uncloak Links is a feature to allow uncloaking of specific links on your site. It replaces the cloaked url with the actual destination url which is important for compatibility with some affiliate program with stricter terms (such as Amazon Associates). Once enabled, you will see a new Uncloak Link checkbox on the affiliate link edit screen. It also introduces a new setting under the Links tab for uncloaking whole categories.<br><br><b>Warning : </b>For this feature to work, the <strong>Link Fixer</strong> module needs to be turned on."
|
821 |
msgstr ""
|
822 |
|
823 |
-
#: Models/Settings.php:
|
824 |
msgid "Import Global Settings"
|
825 |
msgstr ""
|
826 |
|
827 |
-
#: Models/Settings.php:
|
828 |
msgid "Paste settings string here..."
|
829 |
msgstr ""
|
830 |
|
831 |
-
#: Models/Settings.php:
|
832 |
msgid "Export Global Settings"
|
833 |
msgstr ""
|
834 |
|
835 |
-
#: Models/Settings.php:
|
836 |
msgid "Knowledge Base"
|
837 |
msgstr ""
|
838 |
|
839 |
-
#: Models/Settings.php:
|
840 |
msgid "Documentation"
|
841 |
msgstr ""
|
842 |
|
843 |
-
#: Models/Settings.php:
|
844 |
msgid "Guides, troubleshooting, FAQ and more."
|
845 |
msgstr ""
|
846 |
|
847 |
-
#: Models/Settings.php:
|
848 |
msgid "Our Blog"
|
849 |
msgstr ""
|
850 |
|
851 |
-
#: Models/Settings.php:
|
852 |
msgid "ThirstyAffiliates Blog"
|
853 |
msgstr ""
|
854 |
|
855 |
-
#: Models/Settings.php:
|
856 |
msgid "Learn & grow your affiliate marketing – covering increasing sales, generating traffic, optimising your affiliate marketing, interviews & case studies."
|
857 |
msgstr ""
|
858 |
|
859 |
-
#: Models/Settings.php:
|
860 |
msgid "Join the Community"
|
861 |
msgstr ""
|
862 |
|
863 |
-
#: Models/Settings.php:
|
864 |
msgid "Other Utilities"
|
865 |
msgstr ""
|
866 |
|
867 |
-
#: Models/Settings.php:
|
868 |
msgid "Migrate Old Data"
|
869 |
msgstr ""
|
870 |
|
871 |
-
#: Models/Settings.php:
|
872 |
msgid "Migrate old ThirstyAffiliates version 2 data to new version 3 data model."
|
873 |
msgstr ""
|
874 |
|
875 |
-
#: Models/Settings.php:
|
876 |
msgid "ThirstyAffiliates Settings"
|
877 |
msgstr ""
|
878 |
|
879 |
-
#: Models/Settings.php:
|
880 |
msgid "Pro Features →"
|
881 |
msgstr ""
|
882 |
|
883 |
-
#: Models/Settings.php:
|
884 |
msgid "Save Changes"
|
885 |
msgstr ""
|
886 |
|
887 |
-
#: Models/Settings.php:
|
888 |
msgid "Key"
|
889 |
msgstr ""
|
890 |
|
891 |
-
#: Models/Settings.php:
|
892 |
msgid "Value"
|
893 |
msgstr ""
|
894 |
|
895 |
-
#: Models/Settings.php:
|
896 |
msgid "Another application is currently processing the database. Please wait for this to complete."
|
897 |
msgstr ""
|
898 |
|
899 |
-
#: Models/Settings.php:
|
900 |
msgid "Migrate"
|
901 |
msgstr ""
|
902 |
|
903 |
-
#: Models/Settings.php:
|
904 |
msgid "Migrating data. Please wait..."
|
905 |
msgstr ""
|
906 |
|
907 |
-
#: Models/Settings.php:
|
908 |
msgid "Like us on Facebook"
|
909 |
msgstr ""
|
910 |
|
911 |
-
#: Models/Settings.php:
|
912 |
msgid "Follow us on Twitter"
|
913 |
msgstr ""
|
914 |
|
915 |
-
#: Models/Settings.php:
|
916 |
msgid "Follow us on Linkedin"
|
917 |
msgstr ""
|
918 |
|
919 |
-
#: Models/Settings.php:
|
920 |
msgid "Join Our Affiliate Program"
|
921 |
msgstr ""
|
922 |
|
923 |
-
#: Models/Settings.php:
|
924 |
#, php-format
|
925 |
msgid "(up to 30% commisions)"
|
926 |
msgstr ""
|
927 |
|
928 |
-
#: Models/Settings.php:
|
929 |
msgid "Copy"
|
930 |
msgstr ""
|
931 |
|
932 |
-
#: Models/Settings.php:
|
933 |
msgid "Import Settings"
|
934 |
msgstr ""
|
935 |
|
936 |
-
#: Models/Settings.php:
|
937 |
msgid "Unauthorized operation. Only authorized accounts can access global plugin settings string"
|
938 |
msgstr ""
|
939 |
|
940 |
-
#: Models/Settings.php:
|
941 |
msgid "Settings successfully imported"
|
942 |
msgstr ""
|
943 |
|
944 |
-
#: Models/Settings.php:
|
945 |
msgid "Unauthorized operation. Only authorized accounts can import settings"
|
946 |
msgstr ""
|
947 |
|
948 |
-
#: Models/Settings.php:
|
949 |
msgid "Invalid global settings string"
|
950 |
msgstr ""
|
951 |
|
952 |
-
#: Models/Shortcodes.php:
|
953 |
msgid "SHORTCODE ERROR: ThirstyAffiliates did not detect a valid link id, please check your short code!"
|
954 |
msgstr ""
|
955 |
|
956 |
-
#: Models/Stats_Reporting.php:
|
957 |
msgid "Selected affiliate link is invalid"
|
958 |
msgstr ""
|
959 |
|
960 |
-
#: Models/Stats_Reporting.php:
|
961 |
msgid "Link Overview"
|
962 |
msgstr ""
|
963 |
|
964 |
-
#: Models/Stats_Reporting.php:
|
965 |
msgid "Link Overview Report"
|
966 |
msgstr ""
|
967 |
|
968 |
-
#: Models/Stats_Reporting.php:
|
969 |
msgid "Total clicks on affiliate links over a given period."
|
970 |
msgstr ""
|
971 |
|
972 |
-
#: Models/Stats_Reporting.php:
|
973 |
msgid "ThirstyAffiliates Reports"
|
974 |
msgstr ""
|
975 |
|
976 |
-
#: Models/Stats_Reporting.php:
|
977 |
msgid "Reports"
|
978 |
msgstr ""
|
979 |
|
980 |
-
#: Models/Stats_Reporting.php:
|
981 |
msgid "Year"
|
982 |
msgstr ""
|
983 |
|
984 |
-
#: Models/Stats_Reporting.php:
|
985 |
msgid "Last Month"
|
986 |
msgstr ""
|
987 |
|
988 |
-
#: Models/Stats_Reporting.php:
|
989 |
msgid "This Month"
|
990 |
msgstr ""
|
991 |
|
992 |
-
#: Models/Stats_Reporting.php:
|
993 |
msgid "Last 7 Days"
|
994 |
msgstr ""
|
995 |
|
@@ -1018,23 +1045,48 @@ msgstr ""
|
|
1018 |
msgid "<b>ThirstyAffiliates</b> plugin missing dependency.<br/>"
|
1019 |
msgstr ""
|
1020 |
|
|
|
1021 |
#: views/cpt/view-attach-images-metabox-single-image.php:4
|
1022 |
msgid "Remove This Image"
|
1023 |
msgstr ""
|
1024 |
|
1025 |
-
#: views/cpt/view-attach-images-metabox.php:
|
|
|
|
|
|
|
|
|
1026 |
msgid "Add Image To Affiliate Link"
|
1027 |
msgstr ""
|
1028 |
|
1029 |
-
#: views/cpt/view-attach-images-metabox.php:
|
1030 |
msgid "Add To Affiliate Link"
|
1031 |
msgstr ""
|
1032 |
|
1033 |
-
#: views/cpt/view-attach-images-metabox.php:
|
1034 |
-
#: views/cpt/view-attach-images-metabox.php:
|
1035 |
msgid "Upload/Insert"
|
1036 |
msgstr ""
|
1037 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1038 |
#: views/cpt/view-inserted-link-scanner-metabox.php:4
|
1039 |
msgid "Start Scan"
|
1040 |
msgstr ""
|
@@ -1063,14 +1115,16 @@ msgstr ""
|
|
1063 |
#: views/cpt/view-link-options-metabox.php:23
|
1064 |
#: views/cpt/view-link-options-metabox.php:35
|
1065 |
#: views/cpt/view-link-options-metabox.php:48
|
1066 |
-
#: views/
|
1067 |
-
#: views/linkpicker/quick-add-affiliate-link.php:
|
|
|
|
|
1068 |
#, php-format
|
1069 |
msgid "Global (%s)"
|
1070 |
msgstr ""
|
1071 |
|
1072 |
#: views/cpt/view-link-options-metabox.php:19
|
1073 |
-
#: views/linkpicker/quick-add-affiliate-link.php:
|
1074 |
msgid "Open this link in new window?"
|
1075 |
msgstr ""
|
1076 |
|
@@ -1102,13 +1156,12 @@ msgstr ""
|
|
1102 |
msgid "Override the default redirection type for this link."
|
1103 |
msgstr ""
|
1104 |
|
1105 |
-
#: views/cpt/view-link-options-metabox.php:
|
1106 |
-
|
1107 |
-
msgid "(default)"
|
1108 |
msgstr ""
|
1109 |
|
1110 |
-
#: views/cpt/view-link-options-metabox.php:
|
1111 |
-
msgid "Additional
|
1112 |
msgstr ""
|
1113 |
|
1114 |
#: views/cpt/view-save-affiliate-link-metabox.php:4
|
@@ -1165,18 +1218,50 @@ msgstr ""
|
|
1165 |
msgid "Please enter 3 or more characters..."
|
1166 |
msgstr ""
|
1167 |
|
1168 |
-
#: views/linkpicker/advance-link-picker.php:
|
|
|
|
|
|
|
|
|
1169 |
msgid "Fetching..."
|
1170 |
msgstr ""
|
1171 |
|
1172 |
-
#: views/linkpicker/advance-link-picker.php:
|
1173 |
msgid "Load more"
|
1174 |
msgstr ""
|
1175 |
|
1176 |
-
#: views/linkpicker/advance-link-picker.php:
|
1177 |
msgid "Searching..."
|
1178 |
msgstr ""
|
1179 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1180 |
#: views/linkpicker/quick-add-affiliate-link.php:19
|
1181 |
msgid "Link Name:"
|
1182 |
msgstr ""
|
@@ -1189,19 +1274,19 @@ msgstr ""
|
|
1189 |
msgid "Redirect Type:"
|
1190 |
msgstr ""
|
1191 |
|
1192 |
-
#: views/linkpicker/quick-add-affiliate-link.php:
|
1193 |
msgid "No follow this link?"
|
1194 |
msgstr ""
|
1195 |
|
1196 |
-
#: views/linkpicker/quick-add-affiliate-link.php:
|
1197 |
msgid "Select categories..."
|
1198 |
msgstr ""
|
1199 |
|
1200 |
-
#: views/linkpicker/quick-add-affiliate-link.php:
|
1201 |
msgid "Add Link"
|
1202 |
msgstr ""
|
1203 |
|
1204 |
-
#: views/linkpicker/quick-add-affiliate-link.php:
|
1205 |
msgid "Add Link & Insert Into Post"
|
1206 |
msgstr ""
|
1207 |
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: ThirstyAffiliates\n"
|
5 |
+
"POT-Creation-Date: 2018-08-07 13:09+0800\n"
|
6 |
"PO-Revision-Date: 2016-04-29 07:38+0800\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: Rymera Web Co <support@thirstyaffiliates.com>\n"
|
33 |
msgid "307 Temporary (alternative)"
|
34 |
msgstr ""
|
35 |
|
36 |
+
#: Models/Affiliate_Link.php:611
|
37 |
msgid "Unable to save affiliate link as there are no changes registered on the object yet."
|
38 |
msgstr ""
|
39 |
|
40 |
#: Models/Affiliate_Link_Attachment.php:130
|
41 |
+
#: Models/Affiliate_Link_Attachment.php:200
|
42 |
+
#: Models/Affiliate_Link_Attachment.php:300 Models/Affiliate_Links_CPT.php:906
|
43 |
+
#: Models/Affiliate_Links_CPT.php:931 Models/Guided_Tour.php:313
|
44 |
+
#: Models/Link_Fixer.php:241 Models/Link_Fixer.php:243
|
45 |
+
#: Models/Link_Picker.php:340 Models/Link_Picker.php:404
|
46 |
+
#: Models/Link_Picker.php:533 Models/Marketing.php:175 Models/Marketing.php:300
|
47 |
+
#: Models/Marketing.php:448 Models/Settings.php:1869 Models/Settings.php:1917
|
48 |
+
#: Models/Stats_Reporting.php:402 Models/Stats_Reporting.php:448
|
49 |
msgid "Invalid AJAX call"
|
50 |
msgstr ""
|
51 |
|
52 |
#: Models/Affiliate_Link_Attachment.php:132
|
53 |
+
#: Models/Affiliate_Link_Attachment.php:202
|
54 |
+
#: Models/Affiliate_Link_Attachment.php:302 Models/Affiliate_Links_CPT.php:908
|
55 |
+
#: Models/Affiliate_Links_CPT.php:933 Models/Link_Picker.php:342
|
56 |
+
#: Models/Link_Picker.php:406 Models/Link_Picker.php:535
|
57 |
+
#: Models/Marketing.php:302 Models/Stats_Reporting.php:404
|
58 |
+
#: Models/Stats_Reporting.php:450
|
59 |
msgid "Missing required post data"
|
60 |
msgstr ""
|
61 |
|
67 |
msgid "Invalid attachment ids to attach to an affiliate link"
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: Models/Affiliate_Link_Attachment.php:210
|
71 |
msgid "Attachment successfully removed from attachment"
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: Models/Affiliate_Link_Attachment.php:237
|
75 |
msgid "Invalid attachment id to remove from an affiliate link"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: Models/Affiliate_Link_Attachment.php:304
|
79 |
+
msgid "The external image source is not a valid url."
|
80 |
+
msgstr ""
|
81 |
+
|
82 |
+
#: Models/Affiliate_Link_Attachment.php:312
|
83 |
+
msgid "The external image is already added."
|
84 |
+
msgstr ""
|
85 |
+
|
86 |
#: Models/Affiliate_Links_CPT.php:199 Models/Affiliate_Links_CPT.php:203
|
87 |
#: Models/Affiliate_Links_CPT.php:215
|
88 |
msgid "Affiliate Links"
|
137 |
msgstr ""
|
138 |
|
139 |
#: Models/Affiliate_Links_CPT.php:261 Models/Affiliate_Links_CPT.php:263
|
140 |
+
#: views/linkpicker/quick-add-affiliate-link.php:74
|
141 |
msgid "Link Categories"
|
142 |
msgstr ""
|
143 |
|
146 |
msgstr ""
|
147 |
|
148 |
#: Models/Affiliate_Links_CPT.php:264
|
149 |
+
#: views/linkpicker/advance-link-picker.php:23
|
150 |
msgid "All Categories"
|
151 |
msgstr ""
|
152 |
|
238 |
msgid "Link Options"
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: Models/Affiliate_Links_CPT.php:505
|
242 |
msgid "Not yet scanned"
|
243 |
msgstr ""
|
244 |
|
245 |
+
#: Models/Affiliate_Links_CPT.php:510 Models/Affiliate_Links_CPT.php:945
|
246 |
msgid "Last scanned on:"
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: Models/Affiliate_Links_CPT.php:530
|
250 |
msgid "No results found."
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: Models/Affiliate_Links_CPT.php:663
|
254 |
msgid "Link ID"
|
255 |
msgstr ""
|
256 |
|
257 |
+
#: Models/Affiliate_Links_CPT.php:664
|
258 |
msgid "Redirect Type"
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: Models/Affiliate_Links_CPT.php:665
|
262 |
msgid "Cloaked URL"
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: Models/Affiliate_Links_CPT.php:666
|
266 |
msgid "Link Destination"
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: Models/Affiliate_Links_CPT.php:800
|
270 |
msgid "Show Link Categories"
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: Models/Bootstrap.php:389 Models/Settings.php:761
|
274 |
msgid "Settings"
|
275 |
msgstr ""
|
276 |
|
361 |
msgid "Security Check Failed"
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: Models/Link_Picker.php:271
|
365 |
msgid "Select image:"
|
366 |
msgstr ""
|
367 |
|
368 |
+
#: Models/Link_Picker.php:286
|
369 |
msgid "No images found"
|
370 |
msgstr ""
|
371 |
|
372 |
+
#: Models/Link_Picker.php:302
|
373 |
msgid "Insert link"
|
374 |
msgstr ""
|
375 |
|
376 |
+
#: Models/Link_Picker.php:303
|
377 |
msgid "Insert shortcode"
|
378 |
msgstr ""
|
379 |
|
380 |
+
#: Models/Link_Picker.php:304
|
381 |
msgid "Insert image"
|
382 |
msgstr ""
|
383 |
|
384 |
+
#: Models/Link_Picker.php:325
|
385 |
msgid "No affiliate links found"
|
386 |
msgstr ""
|
387 |
|
388 |
+
#: Models/Marketing.php:177 Models/Settings.php:1919
|
389 |
msgid "Required parameter not passed"
|
390 |
msgstr ""
|
391 |
|
472 |
msgid "<b>ThirstyAffiliates is currently migrating your old affiliate link data to the new data model.<br>Please hold off making changes to your affiliate links. Please refresh the page and if this message has disappeared, the migration is complete.</b>"
|
473 |
msgstr ""
|
474 |
|
475 |
+
#: Models/Rewrites_Redirection.php:382
|
476 |
#, php-format
|
477 |
msgid "<h1>Forbidden</h1><p>You don't have permission to access %s on this server.</p>"
|
478 |
msgstr ""
|
479 |
|
480 |
+
#: Models/Script_Loader.php:157
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
481 |
msgid "Please provide a value for \"Custom Link Prefix\" option"
|
482 |
msgstr ""
|
483 |
|
484 |
+
#: Models/Script_Loader.php:168
|
485 |
msgid "Please input settings string"
|
486 |
msgstr ""
|
487 |
|
488 |
+
#: Models/Script_Loader.php:169
|
489 |
msgid "Settings string copied"
|
490 |
msgstr ""
|
491 |
|
492 |
+
#: Models/Script_Loader.php:170
|
493 |
msgid "Failed to copy settings string"
|
494 |
msgstr ""
|
495 |
|
496 |
+
#: Models/Script_Loader.php:181
|
497 |
msgid "Failed to do data migration"
|
498 |
msgstr ""
|
499 |
|
500 |
+
#: Models/Script_Loader.php:182
|
501 |
msgid "Are you sure you want to migrate your ThirstyAffiliates data to version 3 format?"
|
502 |
msgstr ""
|
503 |
|
504 |
+
#: Models/Script_Loader.php:237
|
505 |
msgid "Previous"
|
506 |
msgstr ""
|
507 |
|
508 |
+
#: Models/Script_Loader.php:238
|
509 |
msgid "Next"
|
510 |
msgstr ""
|
511 |
|
512 |
+
#: Models/Script_Loader.php:239
|
513 |
msgid "Close"
|
514 |
msgstr ""
|
515 |
|
516 |
+
#: Models/Script_Loader.php:240
|
517 |
msgid "Start Tour"
|
518 |
msgstr ""
|
519 |
|
520 |
+
#: Models/Script_Loader.php:301
|
521 |
+
msgid "affiliate link"
|
522 |
+
msgstr ""
|
523 |
+
|
524 |
+
#: Models/Script_Loader.php:302
|
525 |
+
msgid "quick add affiliate link"
|
526 |
+
msgstr ""
|
527 |
+
|
528 |
+
#: Models/Script_Loader.php:303
|
529 |
+
msgid "Open the ThirstyAffiliates link picker"
|
530 |
+
msgstr ""
|
531 |
+
|
532 |
+
#: Models/Script_Loader.php:304
|
533 |
+
msgid "Open quick add affiliate link dialog"
|
534 |
+
msgstr ""
|
535 |
+
|
536 |
+
#: Models/Script_Loader.php:305
|
537 |
+
msgid "Type to search affiliate link"
|
538 |
+
msgstr ""
|
539 |
+
|
540 |
#: Models/Settings.php:266 views/cpt/view-link-options-metabox.php:12
|
541 |
#: views/cpt/view-link-options-metabox.php:24
|
542 |
#: views/cpt/view-link-options-metabox.php:36
|
543 |
#: views/cpt/view-link-options-metabox.php:49
|
544 |
+
#: views/linkpicker/quick-add-affiliate-link.php:56
|
545 |
+
#: views/linkpicker/quick-add-affiliate-link.php:67
|
546 |
msgid "Yes"
|
547 |
msgstr ""
|
548 |
|
550 |
#: views/cpt/view-link-options-metabox.php:25
|
551 |
#: views/cpt/view-link-options-metabox.php:37
|
552 |
#: views/cpt/view-link-options-metabox.php:50
|
553 |
+
#: views/linkpicker/quick-add-affiliate-link.php:57
|
554 |
+
#: views/linkpicker/quick-add-affiliate-link.php:68
|
555 |
msgid "No"
|
556 |
msgstr ""
|
557 |
|
665 |
msgstr ""
|
666 |
|
667 |
#: Models/Settings.php:357
|
668 |
+
msgid "Disable browser/device data collection"
|
669 |
msgstr ""
|
670 |
|
671 |
#: Models/Settings.php:358
|
672 |
+
msgid "As of version 3.4, by default ThirstyAffiliates plugin collects visitor's browser and device used everytime they click an affiliate link as part of the statistics information. By checking this the browser/device collection will be disabled, but other information will still be saved."
|
673 |
+
msgstr ""
|
674 |
+
|
675 |
+
#: Models/Settings.php:364
|
676 |
+
msgid "Blocked bots"
|
677 |
+
msgstr ""
|
678 |
+
|
679 |
+
#: Models/Settings.php:365
|
680 |
msgid "By default ThirstyAffiliates blocks bots accessing your affiliate links to give you a more appropriate data in the report. Select bots, or enter new ones to block."
|
681 |
msgstr ""
|
682 |
|
683 |
+
#: Models/Settings.php:373
|
684 |
msgid "Enable Bot Crawl Blocker Script"
|
685 |
msgstr ""
|
686 |
|
687 |
+
#: Models/Settings.php:374
|
688 |
msgid "By enabling this setting, your affiliate links won't redirect for all the <em>blocked bots</em> set above and will send out a 403 forbidden error."
|
689 |
msgstr ""
|
690 |
|
691 |
+
#: Models/Settings.php:383
|
692 |
msgid "Link Prefix"
|
693 |
msgstr ""
|
694 |
|
695 |
+
#: Models/Settings.php:384
|
696 |
#, php-format
|
697 |
msgid "The prefix that comes before your cloaked link's slug. <br>eg. %s/<strong>recommends</strong>/your-affiliate-link-name.<br><br><b>Warning :</b> Changing this setting after you've used links in a post could break those links. Be careful!"
|
698 |
msgstr ""
|
699 |
|
700 |
+
#: Models/Settings.php:412
|
701 |
msgid "Custom Link Prefix"
|
702 |
msgstr ""
|
703 |
|
704 |
+
#: Models/Settings.php:413
|
705 |
msgid "Enter your preferred link prefix."
|
706 |
msgstr ""
|
707 |
|
708 |
+
#: Models/Settings.php:419
|
709 |
msgid "Link Category in URL?"
|
710 |
msgstr ""
|
711 |
|
712 |
+
#: Models/Settings.php:420
|
713 |
#, php-format
|
714 |
msgid "Shows the primary selected category in the url. eg. %s/recommends/<strong>link-category</strong>/your-affiliate-link-name.<br><br><b>Warning :</b> Changing this setting after you've used links in a post could break those links. Be careful!"
|
715 |
msgstr ""
|
716 |
|
717 |
+
#: Models/Settings.php:426
|
718 |
msgid "Enable Enhanced Javascript Redirect on Frontend"
|
719 |
msgstr ""
|
720 |
|
721 |
+
#: Models/Settings.php:427
|
722 |
msgid "By default affiliate links are redirected on the server side. Enabling this will set all affiliate links to be redirected via javascript on your website's frontend. This will then improve the accuracy of the link performance report (This will only work when <strong>Statistics</strong> module is enabled)."
|
723 |
msgstr ""
|
724 |
|
725 |
+
#: Models/Settings.php:434
|
726 |
msgid "Link Redirect Type (server side redirects)"
|
727 |
msgstr ""
|
728 |
|
729 |
+
#: Models/Settings.php:435
|
730 |
msgid "This is the type of redirect ThirstyAffiliates will use to redirect the user to your affiliate link."
|
731 |
msgstr ""
|
732 |
|
733 |
+
#: Models/Settings.php:443
|
734 |
msgid "Use no follow on links? (server side redirects)"
|
735 |
msgstr ""
|
736 |
|
737 |
+
#: Models/Settings.php:444
|
738 |
msgid "Add the nofollow attribute to links so search engines don't index them."
|
739 |
msgstr ""
|
740 |
|
741 |
+
#: Models/Settings.php:453
|
742 |
msgid "No follow categories (server side redirects)"
|
743 |
msgstr ""
|
744 |
|
745 |
+
#: Models/Settings.php:454
|
746 |
msgid "The links assigned to the selected category will be set as \"no follow\"."
|
747 |
msgstr ""
|
748 |
|
749 |
+
#: Models/Settings.php:458 Models/Settings.php:480 Models/Settings.php:502
|
750 |
+
#: Models/Settings.php:543
|
751 |
msgid "Select category..."
|
752 |
msgstr ""
|
753 |
|
754 |
+
#: Models/Settings.php:465
|
755 |
msgid "Open links in new window?"
|
756 |
msgstr ""
|
757 |
|
758 |
+
#: Models/Settings.php:466
|
759 |
msgid "Make links open in a new browser tab by default."
|
760 |
msgstr ""
|
761 |
|
762 |
+
#: Models/Settings.php:475
|
763 |
msgid "New window categories"
|
764 |
msgstr ""
|
765 |
|
766 |
+
#: Models/Settings.php:476
|
767 |
msgid "The links assigned to the selected category will be set as \"new window\"."
|
768 |
msgstr ""
|
769 |
|
770 |
+
#: Models/Settings.php:487
|
771 |
msgid "Pass query strings to destination url?"
|
772 |
msgstr ""
|
773 |
|
774 |
+
#: Models/Settings.php:488
|
775 |
msgid "Enabling this option will pass all of the query strings present after the cloaked url to the destination url automatically when redirecting."
|
776 |
msgstr ""
|
777 |
|
778 |
+
#: Models/Settings.php:497
|
779 |
msgid "Pass query strings categories"
|
780 |
msgstr ""
|
781 |
|
782 |
+
#: Models/Settings.php:498
|
783 |
msgid "The links assigned to the selected category will be set as \"pass query strings\"."
|
784 |
msgstr ""
|
785 |
|
786 |
+
#: Models/Settings.php:509
|
787 |
msgid "Additional rel attribute tags"
|
788 |
msgstr ""
|
789 |
|
790 |
+
#: Models/Settings.php:510
|
791 |
msgid "Allows you to add extra tags into the rel= attribute when links are inserted."
|
792 |
msgstr ""
|
793 |
|
794 |
+
#: Models/Settings.php:516
|
795 |
+
msgid "Additional CSS classes"
|
796 |
+
msgstr ""
|
797 |
+
|
798 |
+
#: Models/Settings.php:517
|
799 |
+
msgid "Allows you to add extra CSS classes when links are inserted."
|
800 |
+
msgstr ""
|
801 |
+
|
802 |
+
#: Models/Settings.php:523
|
803 |
msgid "Disable ThirstyAffiliates CSS classes?"
|
804 |
msgstr ""
|
805 |
|
806 |
+
#: Models/Settings.php:524
|
807 |
msgid "To help with styling a CSS class called \"thirstylink\" is added links on insertion.<br>Likewise the \"thirstylinkimg\" class is added to images when using the image insertion type. This option disables the addition these CSS classes."
|
808 |
msgstr ""
|
809 |
|
810 |
+
#: Models/Settings.php:530
|
811 |
msgid "Disable title attribute on link insertion?"
|
812 |
msgstr ""
|
813 |
|
814 |
+
#: Models/Settings.php:531
|
815 |
msgid "Links are automatically output with a title html attribute (by default this shows the title of the affiliate link).<br>This option disables the output of the title attribute on your links."
|
816 |
msgstr ""
|
817 |
|
818 |
+
#: Models/Settings.php:537
|
819 |
msgid "Select Category to Uncloak"
|
820 |
msgstr ""
|
821 |
|
822 |
+
#: Models/Settings.php:538
|
823 |
msgid "The links assigned to the selected category will be uncloaked."
|
824 |
msgstr ""
|
825 |
|
826 |
+
#: Models/Settings.php:552
|
827 |
msgid "Statistics"
|
828 |
msgstr ""
|
829 |
|
830 |
+
#: Models/Settings.php:553
|
831 |
msgid "When enabled, ThirstyAffiliates will collect click statistics information about visitors that click on your affiliate links. Also adds a new Reports section."
|
832 |
msgstr ""
|
833 |
|
834 |
+
#: Models/Settings.php:560
|
835 |
msgid "Link Fixer"
|
836 |
msgstr ""
|
837 |
|
838 |
+
#: Models/Settings.php:561
|
839 |
msgid "Link Fixer is a tiny piece of javascript code that runs on the frontend of your site to fix any outdated/broken affiliate links it detects. It's cache-friendly and runs after page load so it doesn't affect the rendering of content. Changed the settings on your site recently? Enabling Link Fixer means you don't need to update all your previously inserted affiliate links one by one – your visitors will never see an out of date affiliate link again."
|
840 |
msgstr ""
|
841 |
|
842 |
+
#: Models/Settings.php:568
|
843 |
msgid "Uncloak Links"
|
844 |
msgstr ""
|
845 |
|
846 |
+
#: Models/Settings.php:569
|
847 |
msgid "Uncloak Links is a feature to allow uncloaking of specific links on your site. It replaces the cloaked url with the actual destination url which is important for compatibility with some affiliate program with stricter terms (such as Amazon Associates). Once enabled, you will see a new Uncloak Link checkbox on the affiliate link edit screen. It also introduces a new setting under the Links tab for uncloaking whole categories.<br><br><b>Warning : </b>For this feature to work, the <strong>Link Fixer</strong> module needs to be turned on."
|
848 |
msgstr ""
|
849 |
|
850 |
+
#: Models/Settings.php:579
|
851 |
msgid "Import Global Settings"
|
852 |
msgstr ""
|
853 |
|
854 |
+
#: Models/Settings.php:581
|
855 |
msgid "Paste settings string here..."
|
856 |
msgstr ""
|
857 |
|
858 |
+
#: Models/Settings.php:586
|
859 |
msgid "Export Global Settings"
|
860 |
msgstr ""
|
861 |
|
862 |
+
#: Models/Settings.php:595 Models/Settings.php:603
|
863 |
msgid "Knowledge Base"
|
864 |
msgstr ""
|
865 |
|
866 |
+
#: Models/Settings.php:600
|
867 |
msgid "Documentation"
|
868 |
msgstr ""
|
869 |
|
870 |
+
#: Models/Settings.php:604
|
871 |
msgid "Guides, troubleshooting, FAQ and more."
|
872 |
msgstr ""
|
873 |
|
874 |
+
#: Models/Settings.php:609
|
875 |
msgid "Our Blog"
|
876 |
msgstr ""
|
877 |
|
878 |
+
#: Models/Settings.php:612
|
879 |
msgid "ThirstyAffiliates Blog"
|
880 |
msgstr ""
|
881 |
|
882 |
+
#: Models/Settings.php:613
|
883 |
msgid "Learn & grow your affiliate marketing – covering increasing sales, generating traffic, optimising your affiliate marketing, interviews & case studies."
|
884 |
msgstr ""
|
885 |
|
886 |
+
#: Models/Settings.php:618
|
887 |
msgid "Join the Community"
|
888 |
msgstr ""
|
889 |
|
890 |
+
#: Models/Settings.php:625
|
891 |
msgid "Other Utilities"
|
892 |
msgstr ""
|
893 |
|
894 |
+
#: Models/Settings.php:630
|
895 |
msgid "Migrate Old Data"
|
896 |
msgstr ""
|
897 |
|
898 |
+
#: Models/Settings.php:632
|
899 |
msgid "Migrate old ThirstyAffiliates version 2 data to new version 3 data model."
|
900 |
msgstr ""
|
901 |
|
902 |
+
#: Models/Settings.php:760 Models/Settings.php:781
|
903 |
msgid "ThirstyAffiliates Settings"
|
904 |
msgstr ""
|
905 |
|
906 |
+
#: Models/Settings.php:798
|
907 |
msgid "Pro Features →"
|
908 |
msgstr ""
|
909 |
|
910 |
+
#: Models/Settings.php:924
|
911 |
msgid "Save Changes"
|
912 |
msgstr ""
|
913 |
|
914 |
+
#: Models/Settings.php:1433
|
915 |
msgid "Key"
|
916 |
msgstr ""
|
917 |
|
918 |
+
#: Models/Settings.php:1434
|
919 |
msgid "Value"
|
920 |
msgstr ""
|
921 |
|
922 |
+
#: Models/Settings.php:1557
|
923 |
msgid "Another application is currently processing the database. Please wait for this to complete."
|
924 |
msgstr ""
|
925 |
|
926 |
+
#: Models/Settings.php:1567
|
927 |
msgid "Migrate"
|
928 |
msgstr ""
|
929 |
|
930 |
+
#: Models/Settings.php:1570
|
931 |
msgid "Migrating data. Please wait..."
|
932 |
msgstr ""
|
933 |
|
934 |
+
#: Models/Settings.php:1601
|
935 |
msgid "Like us on Facebook"
|
936 |
msgstr ""
|
937 |
|
938 |
+
#: Models/Settings.php:1605
|
939 |
msgid "Follow us on Twitter"
|
940 |
msgstr ""
|
941 |
|
942 |
+
#: Models/Settings.php:1609
|
943 |
msgid "Follow us on Linkedin"
|
944 |
msgstr ""
|
945 |
|
946 |
+
#: Models/Settings.php:1612
|
947 |
msgid "Join Our Affiliate Program"
|
948 |
msgstr ""
|
949 |
|
950 |
+
#: Models/Settings.php:1613
|
951 |
#, php-format
|
952 |
msgid "(up to 30% commisions)"
|
953 |
msgstr ""
|
954 |
|
955 |
+
#: Models/Settings.php:1646
|
956 |
msgid "Copy"
|
957 |
msgstr ""
|
958 |
|
959 |
+
#: Models/Settings.php:1683
|
960 |
msgid "Import Settings"
|
961 |
msgstr ""
|
962 |
|
963 |
+
#: Models/Settings.php:1898
|
964 |
msgid "Unauthorized operation. Only authorized accounts can access global plugin settings string"
|
965 |
msgstr ""
|
966 |
|
967 |
+
#: Models/Settings.php:1927
|
968 |
msgid "Settings successfully imported"
|
969 |
msgstr ""
|
970 |
|
971 |
+
#: Models/Settings.php:1949
|
972 |
msgid "Unauthorized operation. Only authorized accounts can import settings"
|
973 |
msgstr ""
|
974 |
|
975 |
+
#: Models/Settings.php:1954
|
976 |
msgid "Invalid global settings string"
|
977 |
msgstr ""
|
978 |
|
979 |
+
#: Models/Shortcodes.php:264
|
980 |
msgid "SHORTCODE ERROR: ThirstyAffiliates did not detect a valid link id, please check your short code!"
|
981 |
msgstr ""
|
982 |
|
983 |
+
#: Models/Stats_Reporting.php:418
|
984 |
msgid "Selected affiliate link is invalid"
|
985 |
msgstr ""
|
986 |
|
987 |
+
#: Models/Stats_Reporting.php:543
|
988 |
msgid "Link Overview"
|
989 |
msgstr ""
|
990 |
|
991 |
+
#: Models/Stats_Reporting.php:544
|
992 |
msgid "Link Overview Report"
|
993 |
msgstr ""
|
994 |
|
995 |
+
#: Models/Stats_Reporting.php:545
|
996 |
msgid "Total clicks on affiliate links over a given period."
|
997 |
msgstr ""
|
998 |
|
999 |
+
#: Models/Stats_Reporting.php:575
|
1000 |
msgid "ThirstyAffiliates Reports"
|
1001 |
msgstr ""
|
1002 |
|
1003 |
+
#: Models/Stats_Reporting.php:576
|
1004 |
msgid "Reports"
|
1005 |
msgstr ""
|
1006 |
|
1007 |
+
#: Models/Stats_Reporting.php:655
|
1008 |
msgid "Year"
|
1009 |
msgstr ""
|
1010 |
|
1011 |
+
#: Models/Stats_Reporting.php:656
|
1012 |
msgid "Last Month"
|
1013 |
msgstr ""
|
1014 |
|
1015 |
+
#: Models/Stats_Reporting.php:657
|
1016 |
msgid "This Month"
|
1017 |
msgstr ""
|
1018 |
|
1019 |
+
#: Models/Stats_Reporting.php:658
|
1020 |
msgid "Last 7 Days"
|
1021 |
msgstr ""
|
1022 |
|
1045 |
msgid "<b>ThirstyAffiliates</b> plugin missing dependency.<br/>"
|
1046 |
msgstr ""
|
1047 |
|
1048 |
+
#: views/cpt/view-attach-images-metabox-external-image.php:4
|
1049 |
#: views/cpt/view-attach-images-metabox-single-image.php:4
|
1050 |
msgid "Remove This Image"
|
1051 |
msgstr ""
|
1052 |
|
1053 |
+
#: views/cpt/view-attach-images-metabox-external-image.php:5
|
1054 |
+
msgid "external image"
|
1055 |
+
msgstr ""
|
1056 |
+
|
1057 |
+
#: views/cpt/view-attach-images-metabox.php:11
|
1058 |
msgid "Add Image To Affiliate Link"
|
1059 |
msgstr ""
|
1060 |
|
1061 |
+
#: views/cpt/view-attach-images-metabox.php:12
|
1062 |
msgid "Add To Affiliate Link"
|
1063 |
msgstr ""
|
1064 |
|
1065 |
+
#: views/cpt/view-attach-images-metabox.php:13
|
1066 |
+
#: views/cpt/view-attach-images-metabox.php:20
|
1067 |
msgid "Upload/Insert"
|
1068 |
msgstr ""
|
1069 |
|
1070 |
+
#: views/cpt/view-attach-images-metabox.php:28
|
1071 |
+
msgid "or"
|
1072 |
+
msgstr ""
|
1073 |
+
|
1074 |
+
#: views/cpt/view-attach-images-metabox.php:31
|
1075 |
+
msgid "Add external image"
|
1076 |
+
msgstr ""
|
1077 |
+
|
1078 |
+
#: views/cpt/view-attach-images-metabox.php:33
|
1079 |
+
msgid "Image source here"
|
1080 |
+
msgstr ""
|
1081 |
+
|
1082 |
+
#: views/cpt/view-attach-images-metabox.php:34
|
1083 |
+
msgid "Add image"
|
1084 |
+
msgstr ""
|
1085 |
+
|
1086 |
+
#: views/cpt/view-attach-images-metabox.php:35
|
1087 |
+
msgid "Cancel"
|
1088 |
+
msgstr ""
|
1089 |
+
|
1090 |
#: views/cpt/view-inserted-link-scanner-metabox.php:4
|
1091 |
msgid "Start Scan"
|
1092 |
msgstr ""
|
1115 |
#: views/cpt/view-link-options-metabox.php:23
|
1116 |
#: views/cpt/view-link-options-metabox.php:35
|
1117 |
#: views/cpt/view-link-options-metabox.php:48
|
1118 |
+
#: views/cpt/view-link-options-metabox.php:62
|
1119 |
+
#: views/linkpicker/quick-add-affiliate-link.php:40
|
1120 |
+
#: views/linkpicker/quick-add-affiliate-link.php:55
|
1121 |
+
#: views/linkpicker/quick-add-affiliate-link.php:66
|
1122 |
#, php-format
|
1123 |
msgid "Global (%s)"
|
1124 |
msgstr ""
|
1125 |
|
1126 |
#: views/cpt/view-link-options-metabox.php:19
|
1127 |
+
#: views/linkpicker/quick-add-affiliate-link.php:63
|
1128 |
msgid "Open this link in new window?"
|
1129 |
msgstr ""
|
1130 |
|
1156 |
msgid "Override the default redirection type for this link."
|
1157 |
msgstr ""
|
1158 |
|
1159 |
+
#: views/cpt/view-link-options-metabox.php:74
|
1160 |
+
msgid "Additional rel tags:"
|
|
|
1161 |
msgstr ""
|
1162 |
|
1163 |
+
#: views/cpt/view-link-options-metabox.php:81
|
1164 |
+
msgid "Additional CSS classes:"
|
1165 |
msgstr ""
|
1166 |
|
1167 |
#: views/cpt/view-save-affiliate-link-metabox.php:4
|
1218 |
msgid "Please enter 3 or more characters..."
|
1219 |
msgstr ""
|
1220 |
|
1221 |
+
#: views/linkpicker/advance-link-picker.php:22
|
1222 |
+
msgid "Select category"
|
1223 |
+
msgstr ""
|
1224 |
+
|
1225 |
+
#: views/linkpicker/advance-link-picker.php:35
|
1226 |
msgid "Fetching..."
|
1227 |
msgstr ""
|
1228 |
|
1229 |
+
#: views/linkpicker/advance-link-picker.php:36
|
1230 |
msgid "Load more"
|
1231 |
msgstr ""
|
1232 |
|
1233 |
+
#: views/linkpicker/advance-link-picker.php:45
|
1234 |
msgid "Searching..."
|
1235 |
msgstr ""
|
1236 |
|
1237 |
+
#: views/linkpicker/edit-shortcode.php:21
|
1238 |
+
msgid "Link text:"
|
1239 |
+
msgstr ""
|
1240 |
+
|
1241 |
+
#: views/linkpicker/edit-shortcode.php:28
|
1242 |
+
msgid "Affiliate link ids:"
|
1243 |
+
msgstr ""
|
1244 |
+
|
1245 |
+
#: views/linkpicker/edit-shortcode.php:35
|
1246 |
+
msgid "Class link attribute:"
|
1247 |
+
msgstr ""
|
1248 |
+
|
1249 |
+
#: views/linkpicker/edit-shortcode.php:42
|
1250 |
+
msgid "Link title attribute:"
|
1251 |
+
msgstr ""
|
1252 |
+
|
1253 |
+
#: views/linkpicker/edit-shortcode.php:49
|
1254 |
+
msgid "Link rel attribute:"
|
1255 |
+
msgstr ""
|
1256 |
+
|
1257 |
+
#: views/linkpicker/edit-shortcode.php:56
|
1258 |
+
msgid "link target attribute:"
|
1259 |
+
msgstr ""
|
1260 |
+
|
1261 |
+
#: views/linkpicker/edit-shortcode.php:64
|
1262 |
+
msgid "Edit Shortcode"
|
1263 |
+
msgstr ""
|
1264 |
+
|
1265 |
#: views/linkpicker/quick-add-affiliate-link.php:19
|
1266 |
msgid "Link Name:"
|
1267 |
msgstr ""
|
1274 |
msgid "Redirect Type:"
|
1275 |
msgstr ""
|
1276 |
|
1277 |
+
#: views/linkpicker/quick-add-affiliate-link.php:52
|
1278 |
msgid "No follow this link?"
|
1279 |
msgstr ""
|
1280 |
|
1281 |
+
#: views/linkpicker/quick-add-affiliate-link.php:76
|
1282 |
msgid "Select categories..."
|
1283 |
msgstr ""
|
1284 |
|
1285 |
+
#: views/linkpicker/quick-add-affiliate-link.php:88
|
1286 |
msgid "Add Link"
|
1287 |
msgstr ""
|
1288 |
|
1289 |
+
#: views/linkpicker/quick-add-affiliate-link.php:91
|
1290 |
msgid "Add Link & Insert Into Post"
|
1291 |
msgstr ""
|
1292 |
|
readme.txt
CHANGED
@@ -4,8 +4,8 @@ Donate link:
|
|
4 |
Tags: affiliate, link, affiliate link management, link cloaker, link redirect, shortlink, thirstyaffiliates, thirsty affiliates
|
5 |
Requires at least: 3.4
|
6 |
Requires PHP: 5.6
|
7 |
-
Tested up to: 4.9.
|
8 |
-
Stable tag: 3.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -159,6 +159,20 @@ See our [Knowledge Base](https://thirstyaffiliates.com/knowledge-base/?utm_sourc
|
|
159 |
|
160 |
== Changelog ==
|
161 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
162 |
= 3.3.7 =
|
163 |
* Bug Fix: Make htaccess bots blocker script optional for customers. turn off by default
|
164 |
* Bug Fix: noscript element is sent to ta_click_data_redirect AJAX as the keyword
|
4 |
Tags: affiliate, link, affiliate link management, link cloaker, link redirect, shortlink, thirstyaffiliates, thirsty affiliates
|
5 |
Requires at least: 3.4
|
6 |
Requires PHP: 5.6
|
7 |
+
Tested up to: 4.9.8
|
8 |
+
Stable tag: 3.4.0
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
159 |
|
160 |
== Changelog ==
|
161 |
|
162 |
+
= 3.4.0 =
|
163 |
+
* Feature: Support remotely hosted images attached to affiliate links
|
164 |
+
* Feature: Add Global value for the Redirect type setting in affiliate link editor
|
165 |
+
* Feature: Click Tracking: track device used
|
166 |
+
* Feature: Allow adding additional CSS classes
|
167 |
+
* Feature: Integration with Beaver Builder
|
168 |
+
* Feature: Integration with Elementor
|
169 |
+
* Feature: Post edit screen: When using Shortcode link insertion method show link with a special link formatting clickable to an edit screen
|
170 |
+
* Feature: Add category filter in Add Affiliate Link popup
|
171 |
+
* Improvement: Add a setting to allow people to turn off the robots.txt blocking
|
172 |
+
* Bug Fix: Link Fixer issue with query strings
|
173 |
+
* Bug Fix: Error: Cannot read property 'replace' of undefined
|
174 |
+
* Bug Fix: Query String issue with Enhanced JS redirect
|
175 |
+
|
176 |
= 3.3.7 =
|
177 |
* Bug Fix: Make htaccess bots blocker script optional for customers. turn off by default
|
178 |
* Bug Fix: noscript element is sent to ta_click_data_redirect AJAX as the keyword
|
thirstyaffiliates.php
CHANGED
@@ -3,11 +3,11 @@
|
|
3 |
* Plugin Name: ThirstyAffiliates
|
4 |
* Plugin URI: http://thirstyaffiliates.com/
|
5 |
* Description: ThirstyAffiliates is a revolution in affiliate link management. Collect, collate and store your affiliate links for use in your posts and pages.
|
6 |
-
* Version: 3.
|
7 |
* Author: Rymera Web Co
|
8 |
* Author URI: https://rymera.com.au/
|
9 |
* Requires at least: 4.4.2
|
10 |
-
* Tested up to: 4.9.
|
11 |
*
|
12 |
* Text Domain: thirstyaffiliates
|
13 |
* Domain Path: /languages/
|
@@ -321,6 +321,7 @@ class ThirstyAffiliates extends Abstract_Main_Plugin_Class {
|
|
321 |
$stats = Stats_Reporting::get_instance( $this , $plugin_constants , $helper_functions );
|
322 |
$rest_api = REST_API::get_instance( $this , $plugin_constants , $helper_functions );
|
323 |
$rewrites = Rewrites_Redirection::get_instance( $this , $plugin_constants , $helper_functions );
|
|
|
324 |
|
325 |
$activatables = array( $settings , $stats , $migration , $marketing , $guided_tour );
|
326 |
$deactivatables = array( $rewrites );
|
@@ -330,6 +331,7 @@ class ThirstyAffiliates extends Abstract_Main_Plugin_Class {
|
|
330 |
Affiliate_Links_CPT::get_instance( $this , $plugin_constants , $helper_functions ),
|
331 |
Affiliate_Link_Attachment::get_instance( $this , $plugin_constants , $helper_functions ),
|
332 |
Link_Fixer::get_instance( $this , $plugin_constants , $helper_functions ),
|
|
|
333 |
$stats,
|
334 |
$migration,
|
335 |
$marketing,
|
@@ -340,7 +342,6 @@ class ThirstyAffiliates extends Abstract_Main_Plugin_Class {
|
|
340 |
Bootstrap::get_instance( $this , $plugin_constants , $helper_functions , $activatables , $initiables , $deactivatables );
|
341 |
Script_Loader::get_instance( $this , $plugin_constants , $helper_functions , $guided_tour );
|
342 |
|
343 |
-
Link_Picker::get_instance( $this , $plugin_constants , $helper_functions );
|
344 |
Shortcodes::get_instance( $this , $plugin_constants , $helper_functions );
|
345 |
|
346 |
}
|
3 |
* Plugin Name: ThirstyAffiliates
|
4 |
* Plugin URI: http://thirstyaffiliates.com/
|
5 |
* Description: ThirstyAffiliates is a revolution in affiliate link management. Collect, collate and store your affiliate links for use in your posts and pages.
|
6 |
+
* Version: 3.4.0
|
7 |
* Author: Rymera Web Co
|
8 |
* Author URI: https://rymera.com.au/
|
9 |
* Requires at least: 4.4.2
|
10 |
+
* Tested up to: 4.9.8
|
11 |
*
|
12 |
* Text Domain: thirstyaffiliates
|
13 |
* Domain Path: /languages/
|
321 |
$stats = Stats_Reporting::get_instance( $this , $plugin_constants , $helper_functions );
|
322 |
$rest_api = REST_API::get_instance( $this , $plugin_constants , $helper_functions );
|
323 |
$rewrites = Rewrites_Redirection::get_instance( $this , $plugin_constants , $helper_functions );
|
324 |
+
$link_picker = Link_Picker::get_instance( $this , $plugin_constants , $helper_functions );
|
325 |
|
326 |
$activatables = array( $settings , $stats , $migration , $marketing , $guided_tour );
|
327 |
$deactivatables = array( $rewrites );
|
331 |
Affiliate_Links_CPT::get_instance( $this , $plugin_constants , $helper_functions ),
|
332 |
Affiliate_Link_Attachment::get_instance( $this , $plugin_constants , $helper_functions ),
|
333 |
Link_Fixer::get_instance( $this , $plugin_constants , $helper_functions ),
|
334 |
+
$link_picker,
|
335 |
$stats,
|
336 |
$migration,
|
337 |
$marketing,
|
342 |
Bootstrap::get_instance( $this , $plugin_constants , $helper_functions , $activatables , $initiables , $deactivatables );
|
343 |
Script_Loader::get_instance( $this , $plugin_constants , $helper_functions , $guided_tour );
|
344 |
|
|
|
345 |
Shortcodes::get_instance( $this , $plugin_constants , $helper_functions );
|
346 |
|
347 |
}
|
views/cpt/view-attach-images-metabox-external-image.php
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
|
2 |
+
|
3 |
+
<div class="thirsty-attached-image external-image">
|
4 |
+
<span class="thirsty-remove-img remove-external" title="<?php esc_attr_e( 'Remove This Image' , 'thirstyaffiliates' ); ?>" id="<?php echo md5( $img_url ); ?>">×</span>
|
5 |
+
<a class="thirsty-img thickbox" href="<?php echo esc_url( $img_url ); ?>" rel="gallery-linkimgs" title="<?php esc_attr_e( 'external image' , 'thirstyaffiliates' ); ?>">
|
6 |
+
<img src="<?php echo esc_url( $img_url ); ?>" width="100" height="100">
|
7 |
+
</a>
|
8 |
+
</div>
|
views/cpt/view-attach-images-metabox.php
CHANGED
@@ -1,27 +1,42 @@
|
|
1 |
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
2 |
|
3 |
-
wp_nonce_field( 'thirsty_affiliates_cpt_nonce', '_thirstyaffiliates_nonce' );
|
4 |
|
5 |
-
|
6 |
|
7 |
-
|
8 |
-
data-editor="content"
|
9 |
-
data-uploader-title="<?php esc_attr_e( 'Add Image To Affiliate Link' , 'thirstyaffiliates' ); ?>"
|
10 |
-
data-uploader-button-text="<?php esc_attr_e('Add To Affiliate Link'); ?>" >
|
11 |
-
<?php _e( 'Upload/Insert' , 'thirstyaffiliates' ); ?>
|
12 |
-
<span class="wp-media-buttons-icon"></span>
|
13 |
-
</div>
|
14 |
-
|
15 |
-
<?php else : ?>
|
16 |
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
20 |
<span class="wp-media-buttons-icon"></span>
|
21 |
-
</
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
</div>
|
23 |
|
24 |
-
|
25 |
|
26 |
<script type="text/javascript">
|
27 |
var wpActiveEditor = 'content';
|
@@ -30,8 +45,19 @@ if ( function_exists( 'wp_enqueue_media' ) && $legacy_uploader != 'yes' ) : ?>
|
|
30 |
<?php if ( ! empty( $attachments ) ) : ?>
|
31 |
<div id="thirsty_image_holder" data-attachments="<?php echo esc_attr( json_encode( $attachments ) ); ?>">
|
32 |
<?php foreach ( $attachments as $attachment_id ) {
|
33 |
-
|
34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
} ?>
|
36 |
</div>
|
37 |
<?php endif; ?>
|
1 |
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
2 |
|
3 |
+
wp_nonce_field( 'thirsty_affiliates_cpt_nonce', '_thirstyaffiliates_nonce' ); ?>
|
4 |
|
5 |
+
<div class="metabox-actions">
|
6 |
|
7 |
+
<?php if ( function_exists( 'wp_enqueue_media' ) && $legacy_uploader != 'yes' ) : ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
+
<div class="button-secondary" id="ta_upload_media_manager"
|
10 |
+
data-editor="content"
|
11 |
+
data-uploader-title="<?php esc_attr_e( 'Add Image To Affiliate Link' , 'thirstyaffiliates' ); ?>"
|
12 |
+
data-uploader-button-text="<?php esc_attr_e('Add To Affiliate Link'); ?>" >
|
13 |
+
<?php _e( 'Upload/Insert' , 'thirstyaffiliates' ); ?>
|
14 |
<span class="wp-media-buttons-icon"></span>
|
15 |
+
</div>
|
16 |
+
|
17 |
+
<?php else : ?>
|
18 |
+
|
19 |
+
<div class="button-secondary" id="ta_upload_insert_img">
|
20 |
+
<?php _e( 'Upload/Insert' , 'thirstyaffiliates' ); ?>
|
21 |
+
<a class="thickbox" href="<?php echo esc_attr( admin_url( 'media-upload.php?post_id=' . $post->ID . '?type=image&TB_iframe=1' ) ); ?>">
|
22 |
+
<span class="wp-media-buttons-icon"></span>
|
23 |
+
</a>
|
24 |
+
</div>
|
25 |
+
|
26 |
+
<?php endif; ?>
|
27 |
+
|
28 |
+
<span class="or"><?php _e( 'or' , 'thirstyaffliates' ); ?></span>
|
29 |
+
|
30 |
+
<div class="add-external-image">
|
31 |
+
<button type="button" class="button" id="add-external-image"><?php _e( 'Add external image' , 'thirstyaffiliates' ); ?></button>
|
32 |
+
<div class="external-image-form">
|
33 |
+
<input type="url" value="" placeholder="<?php _e( 'Image source here' , 'thirstyaffiliates' ); ?>">
|
34 |
+
<button type="button" class="button-primary add-external"><?php _e( 'Add image' , 'thirstyaffiliates' ); ?></button>
|
35 |
+
<button type="button" class="button cancel"><?php _e( 'Cancel' , 'thirstyaffiliates' ); ?></button>
|
36 |
+
</div>
|
37 |
</div>
|
38 |
|
39 |
+
</div>
|
40 |
|
41 |
<script type="text/javascript">
|
42 |
var wpActiveEditor = 'content';
|
45 |
<?php if ( ! empty( $attachments ) ) : ?>
|
46 |
<div id="thirsty_image_holder" data-attachments="<?php echo esc_attr( json_encode( $attachments ) ); ?>">
|
47 |
<?php foreach ( $attachments as $attachment_id ) {
|
48 |
+
|
49 |
+
if ( filter_var( $attachment_id , FILTER_VALIDATE_URL ) ) {
|
50 |
+
|
51 |
+
$img_url = esc_url_raw( $attachment_id );
|
52 |
+
include( $this->_constants->VIEWS_ROOT_PATH() . 'cpt/view-attach-images-metabox-external-image.php' );
|
53 |
+
|
54 |
+
} else {
|
55 |
+
|
56 |
+
$img = wp_get_attachment_image_src( $attachment_id , 'full' );
|
57 |
+
include( $this->_constants->VIEWS_ROOT_PATH() . 'cpt/view-attach-images-metabox-single-image.php' );
|
58 |
+
|
59 |
+
}
|
60 |
+
|
61 |
} ?>
|
62 |
</div>
|
63 |
<?php endif; ?>
|
views/cpt/view-link-options-metabox.php
CHANGED
@@ -58,10 +58,12 @@ wp_nonce_field( 'thirsty_affiliates_cpt_nonce', '_thirstyaffiliates_nonce' ); ?>
|
|
58 |
<span class="tooltip" data-tip="<?php esc_attr_e( 'Override the default redirection type for this link.' , 'thirstyaffiliates' ); ?>"></span>
|
59 |
</label>
|
60 |
<select id="ta_redirect_type" name="ta_redirect_type">
|
|
|
|
|
|
|
61 |
<?php foreach ( $redirect_types as $redirect_type => $redirect_label ) : ?>
|
62 |
<option value="<?php echo esc_attr( $redirect_type ); ?>" <?php selected( $post_redirect_type , $redirect_type ); ?>>
|
63 |
<?php echo $redirect_label; ?>
|
64 |
-
<?php echo ( $redirect_type == $default_redirect_type ) ? __( '(default)' , 'thirstyaffiliates' ) : ''; ?>
|
65 |
</option>
|
66 |
<?php endforeach; ?>
|
67 |
<select>
|
@@ -74,6 +76,13 @@ wp_nonce_field( 'thirsty_affiliates_cpt_nonce', '_thirstyaffiliates_nonce' ); ?>
|
|
74 |
<input type="text" class="ta-form-input" id="ta_rel_tags" name="ta_rel_tags" value="<?php echo esc_attr( $rel_tags ); ?>" placeholder="<?php echo esc_attr( $global_rel_tags ); ?>">
|
75 |
</p>
|
76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
<script type="text/javascript">
|
78 |
jQuery( document ).ready( function($) {
|
79 |
|
58 |
<span class="tooltip" data-tip="<?php esc_attr_e( 'Override the default redirection type for this link.' , 'thirstyaffiliates' ); ?>"></span>
|
59 |
</label>
|
60 |
<select id="ta_redirect_type" name="ta_redirect_type">
|
61 |
+
<option value="global" <?php selected( $post_redirect_type , 'global' ); ?>>
|
62 |
+
<?php echo sprintf( __( 'Global (%s)' , 'thirstyaffiliates' ) , $default_redirect_type ); ?>
|
63 |
+
</option>
|
64 |
<?php foreach ( $redirect_types as $redirect_type => $redirect_label ) : ?>
|
65 |
<option value="<?php echo esc_attr( $redirect_type ); ?>" <?php selected( $post_redirect_type , $redirect_type ); ?>>
|
66 |
<?php echo $redirect_label; ?>
|
|
|
67 |
</option>
|
68 |
<?php endforeach; ?>
|
69 |
<select>
|
76 |
<input type="text" class="ta-form-input" id="ta_rel_tags" name="ta_rel_tags" value="<?php echo esc_attr( $rel_tags ); ?>" placeholder="<?php echo esc_attr( $global_rel_tags ); ?>">
|
77 |
</p>
|
78 |
|
79 |
+
<p>
|
80 |
+
<label class="info-label" for="ta_css_classes">
|
81 |
+
<?php _e( 'Additional CSS classes:' , 'thirstyaffiliates' ); ?>
|
82 |
+
</label>
|
83 |
+
<input type="text" class="ta-form-input" id="ta_css_classes" name="ta_css_classes" value="<?php echo esc_attr( $css_classes ); ?>" placeholder="<?php echo esc_attr( $global_css_classes ); ?>">
|
84 |
+
</p>
|
85 |
+
|
86 |
<script type="text/javascript">
|
87 |
jQuery( document ).ready( function($) {
|
88 |
|
views/linkpicker/advance-link-picker.php
CHANGED
@@ -18,6 +18,13 @@
|
|
18 |
<input type="text" id="thirstylink-search" class="thirstylink-search-field form-control" placeholder="<?php esc_attr_e( 'Please enter 3 or more characters...' ) ?>" autocomplete="off">
|
19 |
<span class="spinner"></span>
|
20 |
</label>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
</div>
|
22 |
|
23 |
<div class="results-panel">
|
@@ -53,6 +60,10 @@
|
|
53 |
|
54 |
} ).trigger( 'DOMNodeInserted' );
|
55 |
|
|
|
|
|
|
|
|
|
56 |
});
|
57 |
</script>
|
58 |
|
18 |
<input type="text" id="thirstylink-search" class="thirstylink-search-field form-control" placeholder="<?php esc_attr_e( 'Please enter 3 or more characters...' ) ?>" autocomplete="off">
|
19 |
<span class="spinner"></span>
|
20 |
</label>
|
21 |
+
<select id="thirstylink-category" class="selectize-select" style="width:200px; display:inline-block">
|
22 |
+
<option value=""><?php _e( 'Select category' , 'thirstyaffiliates' ); ?></option>
|
23 |
+
<option value="all" selected><?php _e( 'All Categories' , 'thirstyaffiliates' ); ?></option>
|
24 |
+
<?php foreach ( $this->_helper_functions->get_all_category_as_options( true ) as $term_id => $label ) : ?>
|
25 |
+
<option value="<?php echo $term_id; ?>"><?php echo $label; ?></option>
|
26 |
+
<?php endforeach; ?>
|
27 |
+
</select>
|
28 |
</div>
|
29 |
|
30 |
<div class="results-panel">
|
60 |
|
61 |
} ).trigger( 'DOMNodeInserted' );
|
62 |
|
63 |
+
$( "#thirstylink-category" ).selectize();
|
64 |
+
$( "#thirstylink-category" ).on( "change" , function() {
|
65 |
+
$( "#thirstylink-search" ).trigger( "thirstysearch" );
|
66 |
+
} );
|
67 |
});
|
68 |
</script>
|
69 |
|
views/linkpicker/edit-shortcode.php
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
|
2 |
+
|
3 |
+
<html>
|
4 |
+
|
5 |
+
<head>
|
6 |
+
<?php
|
7 |
+
do_action('admin_print_styles');
|
8 |
+
do_action('admin_print_scripts');
|
9 |
+
do_action('admin_head');
|
10 |
+
?>
|
11 |
+
</head>
|
12 |
+
|
13 |
+
<body>
|
14 |
+
|
15 |
+
<div class="edit-shortcode-wrap">
|
16 |
+
|
17 |
+
<form method="post">
|
18 |
+
|
19 |
+
<div class="field-row">
|
20 |
+
<label for="shortcode_text">
|
21 |
+
<?php _e( 'Link text:' , 'thirstyaffiliates' ); ?>
|
22 |
+
</label>
|
23 |
+
<input type="text" class="form-control" id="shortcode_text" name="shortcode_text" value="" required>
|
24 |
+
</div>
|
25 |
+
|
26 |
+
<div class="field-row">
|
27 |
+
<label for="shortcode_ids">
|
28 |
+
<?php _e( 'Affiliate link ids:' , 'thirstyaffiliates' ); ?>
|
29 |
+
</label>
|
30 |
+
<input type="text" class="form-control" id="shortcode_ids" name="shortcode_ids" value="" required>
|
31 |
+
</div>
|
32 |
+
|
33 |
+
<div class="field-row one-half first-half">
|
34 |
+
<label for="shortcode_class">
|
35 |
+
<?php _e( 'Class link attribute:' , 'thirstyaffiliates' ); ?>
|
36 |
+
</label>
|
37 |
+
<input type="text" class="form-control" id="shortcode_class" name="shortcode_class" value="">
|
38 |
+
</div>
|
39 |
+
|
40 |
+
<div class="field-row one-half">
|
41 |
+
<label for="shortcode_title">
|
42 |
+
<?php _e( 'Link title attribute:' , 'thirstyaffiliates' ); ?>
|
43 |
+
</label>
|
44 |
+
<input type="text" class="form-control" id="shortcode_title" name="shortcode_title" value="">
|
45 |
+
</div>
|
46 |
+
|
47 |
+
<div class="field-row one-half first-half">
|
48 |
+
<label for="shortcode_rel">
|
49 |
+
<?php _e( 'Link rel attribute:' , 'thirstyaffiliates' ); ?>
|
50 |
+
</label>
|
51 |
+
<input type="text" class="form-control" id="shortcode_rel" name="shortcode_rel" value="">
|
52 |
+
</div>
|
53 |
+
|
54 |
+
<div class="field-row one-half">
|
55 |
+
<label for="shortcode_target">
|
56 |
+
<?php _e( 'link target attribute:' , 'thirstyaffiliates' ); ?>
|
57 |
+
</label>
|
58 |
+
<input type="text" class="form-control" id="shortcode_target" name="shortcode_target" value="">
|
59 |
+
</div>
|
60 |
+
|
61 |
+
<div class="field-row submit-row">
|
62 |
+
<span class="ta_spinner" style="background-image: url('<?php echo $this->_constants->IMAGES_ROOT_URL() . 'spinner.gif'; ?>');"></span>
|
63 |
+
<button class="button button-primary" id="submit" type="submit" name="add_link">
|
64 |
+
<?php _e( 'Edit Shortcode' , 'thirstyaffiliates' ); ?>
|
65 |
+
</button>
|
66 |
+
</div>
|
67 |
+
|
68 |
+
<input type="hidden" name="action" value="ta_process_edit_affiliate_link_shortcode">
|
69 |
+
<input type="hidden" name="post_id" value="<?php echo $post_id; ?>">
|
70 |
+
|
71 |
+
<?php wp_nonce_field( 'ta_process_edit_affiliate_link_shortcode' , '_ta_edit_shortcode_nonce' ); ?>
|
72 |
+
|
73 |
+
</form>
|
74 |
+
|
75 |
+
</div>
|
76 |
+
|
77 |
+
</body>
|
78 |
+
|
79 |
+
</html>
|
80 |
+
|
81 |
+
|
views/linkpicker/quick-add-affiliate-link.php
CHANGED
@@ -36,10 +36,12 @@
|
|
36 |
<?php _e( 'Redirect Type:' , 'thirstyaffiliates' ); ?>
|
37 |
</label>
|
38 |
<select id="ta_redirect_type" name="ta_redirect_type">
|
|
|
|
|
|
|
39 |
<?php foreach ( $redirect_types as $redirect_type => $redirect_label ) : ?>
|
40 |
-
<option value="<?php echo esc_attr( $redirect_type ); ?>"
|
41 |
<?php echo $redirect_label; ?>
|
42 |
-
<?php echo ( $redirect_type == $default_redirect_type ) ? __( '(default)' , 'thirstyaffiliates' ) : ''; ?>
|
43 |
</option>
|
44 |
<?php endforeach; ?>
|
45 |
<select>
|
36 |
<?php _e( 'Redirect Type:' , 'thirstyaffiliates' ); ?>
|
37 |
</label>
|
38 |
<select id="ta_redirect_type" name="ta_redirect_type">
|
39 |
+
<option value="global">
|
40 |
+
<?php echo sprintf( __( 'Global (%s)' , 'thirstyaffiliates' ) , $default_redirect_type ); ?>
|
41 |
+
</option>
|
42 |
<?php foreach ( $redirect_types as $redirect_type => $redirect_label ) : ?>
|
43 |
+
<option value="<?php echo esc_attr( $redirect_type ); ?>">
|
44 |
<?php echo $redirect_label; ?>
|
|
|
45 |
</option>
|
46 |
<?php endforeach; ?>
|
47 |
<select>
|