WordPress Infinite Scroll – Ajax Load More - Version 5.4.0

Version Description

  • November 11, 2020 =

  • NEW - Added required functionality for new Elementor add-on.

  • NEW - Added new alm_disable_noscript filter to disable all <noscript/> tags generated by ALM. add_filter( 'alm_disable_noscript', '__return_true' );

  • UPDATE - Updated Pace.js library that is used for progress bar functionality.

Download this release

Release Info

Developer dcooney
Plugin Icon 128x128 WordPress Infinite Scroll – Ajax Load More
Version 5.4.0
Comparing to
See all releases

Code changes from version 5.3.8 to 5.4.0

README.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://connekthq.com/donate/
4
  Tags: infinite scroll, load more, scroll, infinite, lazy load, lazy loading, endless scroll, pagination, ajax pagination, ajax, ajax posts, woocommerce, ajax load more, masonry
5
  Requires at least: 4.0
6
  Tested up to: 5.5
7
- Stable tag: 5.3.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -34,6 +34,7 @@ Check out the **[demo site](https://connekthq.com/plugins/ajax-load-more/)** for
34
 
35
  #### What's New
36
 
 
37
  - **[WooCommerce](https://connekthq.com/plugins/ajax-load-more/add-ons/woocommerce/)** - Infinite scroll WooCommerce products without updating a line of template code.
38
  - **[Pro](https://connekthq.com/plugins/ajax-load-more/pro/)** - Access to all premium add-ons in a single installation.
39
  - **[Filters](https://connekthq.com/plugins/ajax-load-more/add-ons/filters/)** - The Filters add-on provides front-end and admin functionality for building and managing Ajax filters.
@@ -112,7 +113,7 @@ Ajax Load More accepts a number of parameters that are passed to the WordPress q
112
  - **destroy_after** - Remove ajax load more functionality after 'n' number of pages have been loaded. Default = null
113
  - **progress_bar** - Display progress bar indicator at the top of the window while loading Ajax content. Default = 'false'
114
  - **progress_bar_color** - Enter the hex color of the progress bar. Default = 'ed7070'
115
- - **button_label** - The label text for Load More button. Default = 'Older Posts'
116
  - **button_loading_label** - Update the text of the Load More button while content is loading. Default = null
117
  - **loading_style** - Select an Ajax loading style - you can choose between a Button or Infinite Scroll. Default = null
118
  - **container_type** - Override the global Container Type that was set on ALM Settings page. Default = null
@@ -126,7 +127,7 @@ Ajax Load More accepts a number of parameters that are passed to the WordPress q
126
 
127
  #### Example Ajax Load More Shortcode
128
 
129
- [ajax_load_more post_type="post, portfolio" repeater="default" posts_per_page="5" transition="fade" button_label="Older Posts"]
130
 
131
  #### Example Demos
132
 
@@ -346,6 +347,12 @@ How to install Ajax Load More.
346
 
347
  == Changelog ==
348
 
 
 
 
 
 
 
349
  = 5.3.8 - September 10, 2020 =
350
 
351
  ** UPGRADE NOTICE **
@@ -355,7 +362,6 @@ ALM users with the WooCommerce add-on activated MUST update the add-on to versio
355
  * NEW - Adding querystring variables to [Single Post add-on](https://connekthq.com/plugins/ajax-load-more/add-ons/single-posts/) URLs that allows users to perform tasks based on these values. Much like you can do with [ALM Variables](https://connekthq.com/plugins/ajax-load-more/docs/variables/). e.g. http://website.com/post-title/?id=469&alm_page=2
356
  * NEW - Added new `ajaxloadmore.reset` public JavaScript function that will reset Ajax Load More back to it's original state (page 1).
357
 
358
-
359
  = 5.3.7 - July 31, 2020 =
360
 
361
  ** UPGRADE NOTICE **
4
  Tags: infinite scroll, load more, scroll, infinite, lazy load, lazy loading, endless scroll, pagination, ajax pagination, ajax, ajax posts, woocommerce, ajax load more, masonry
5
  Requires at least: 4.0
6
  Tested up to: 5.5
7
+ Stable tag: 5.4.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
34
 
35
  #### What's New
36
 
37
+ - **[Elementor](https://connekthq.com/plugins/ajax-load-more/add-ons/elementor/)** - Infinite scroll Elementor Posts Widget content with Ajax Load More.
38
  - **[WooCommerce](https://connekthq.com/plugins/ajax-load-more/add-ons/woocommerce/)** - Infinite scroll WooCommerce products without updating a line of template code.
39
  - **[Pro](https://connekthq.com/plugins/ajax-load-more/pro/)** - Access to all premium add-ons in a single installation.
40
  - **[Filters](https://connekthq.com/plugins/ajax-load-more/add-ons/filters/)** - The Filters add-on provides front-end and admin functionality for building and managing Ajax filters.
113
  - **destroy_after** - Remove ajax load more functionality after 'n' number of pages have been loaded. Default = null
114
  - **progress_bar** - Display progress bar indicator at the top of the window while loading Ajax content. Default = 'false'
115
  - **progress_bar_color** - Enter the hex color of the progress bar. Default = 'ed7070'
116
+ - **button_label** - The label text for Load More button. Default = 'Load More'
117
  - **button_loading_label** - Update the text of the Load More button while content is loading. Default = null
118
  - **loading_style** - Select an Ajax loading style - you can choose between a Button or Infinite Scroll. Default = null
119
  - **container_type** - Override the global Container Type that was set on ALM Settings page. Default = null
127
 
128
  #### Example Ajax Load More Shortcode
129
 
130
+ [ajax_load_more post_type="post, portfolio" repeater="default" posts_per_page="5" transition="fade" button_label="Load More"]
131
 
132
  #### Example Demos
133
 
347
 
348
  == Changelog ==
349
 
350
+ = 5.4.0 - November 11, 2020 =
351
+
352
+ * NEW - Added required functionality for new [Elementor add-on](https://connekthq.com/plugins/ajax-load-more/add-ons/elementor/).
353
+ * NEW - Added new `alm_disable_noscript` filter to disable all `<noscript/>` tags generated by ALM. `add_filter( 'alm_disable_noscript', '__return_true' );`
354
+ * UPDATE - Updated [Pace.js](https://github.com/CodeByZach/pace) library that is used for progress bar functionality.
355
+
356
  = 5.3.8 - September 10, 2020 =
357
 
358
  ** UPGRADE NOTICE **
362
  * NEW - Adding querystring variables to [Single Post add-on](https://connekthq.com/plugins/ajax-load-more/add-ons/single-posts/) URLs that allows users to perform tasks based on these values. Much like you can do with [ALM Variables](https://connekthq.com/plugins/ajax-load-more/docs/variables/). e.g. http://website.com/post-title/?id=469&alm_page=2
363
  * NEW - Added new `ajaxloadmore.reset` public JavaScript function that will reset Ajax Load More back to it's original state (page 1).
364
 
 
365
  = 5.3.7 - July 31, 2020 =
366
 
367
  ** UPGRADE NOTICE **
admin/admin.php CHANGED
@@ -1852,7 +1852,7 @@ function alm_btn_color_callback() {
1852
  $html .= '<div class="alm-btn-wrap">';
1853
  $html .= '<div class="ajax-load-more-wrap core '.$type.'">';
1854
  $html .='<span>'.__('Click to Preview', 'ajax-load-more') .'</span>';
1855
- $html .= '<button style="cursor: pointer;" type="button" class="alm-load-more-btn'. $loadingClass .'" id="test-alm-button">'.apply_filters('alm_button_label', __('Older Posts', 'ajax-load-more')).'</button>';
1856
 
1857
  $html .= '</div>';
1858
  $html .= '</div>';
1852
  $html .= '<div class="alm-btn-wrap">';
1853
  $html .= '<div class="ajax-load-more-wrap core '.$type.'">';
1854
  $html .='<span>'.__('Click to Preview', 'ajax-load-more') .'</span>';
1855
+ $html .= '<button style="cursor: pointer;" type="button" class="alm-load-more-btn'. $loadingClass .'" id="test-alm-button">'.apply_filters('alm_button_label', __('Load More', 'ajax-load-more')).'</button>';
1856
 
1857
  $html .= '</div>';
1858
  $html .= '</div>';
admin/classes/class-nag.php CHANGED
@@ -1,24 +1,24 @@
1
- <?php
2
-
3
  if(!class_exists('ALM_NAG')) :
4
 
5
  class ALM_NAG {
6
-
7
  const OPTION_INSTALL_DATE = 'alm-install-date';
8
  const OPTION_ADMIN_NOTICE_KEY = 'alm-hide-notice';
9
  const OPTION_NAG_DELAY = '-7 days';
10
-
11
  /**
12
  * Setup the class
13
  */
14
- public function setup() {
15
  // catch nag hide
16
- $this->catch_hide_notice();
17
  // bind nag
18
  $this->bind();
19
  }
20
-
21
-
22
  /**
23
  * Catch the hide nag request
24
  */
@@ -27,7 +27,7 @@ if(!class_exists('ALM_NAG')) :
27
  // Add user meta
28
  global $current_user;
29
  add_user_meta( $current_user->ID, ALM_Nag::OPTION_ADMIN_NOTICE_KEY, '1', true );
30
-
31
  // Build redirect URL
32
  $query_params = $this->get_admin_querystring_array();
33
  unset( $query_params[ ALM_Nag::OPTION_ADMIN_NOTICE_KEY ] );
@@ -35,42 +35,42 @@ if(!class_exists('ALM_NAG')) :
35
  if ( $query_string != '' ) {
36
  $query_string = '?' . $query_string;
37
  }
38
-
39
  $redirect_url = 'http';
40
  if ( isset( $_SERVER['HTTPS'] ) && $_SERVER['HTTPS'] == 'on' ) {
41
  $redirect_url .= 's';
42
  }
43
  $redirect_url .= '://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'] . $query_string;
44
-
45
  // Redirect
46
  wp_redirect( $redirect_url );
47
  exit;
48
  }
49
  }
50
-
51
-
52
  /**
53
  * Bind nag message
54
  */
55
  private function bind() {
56
-
57
  // Is admin notice hidden?
58
  $current_user = wp_get_current_user();
59
  $hide_notice = get_user_meta( $current_user->ID, ALM_Nag::OPTION_ADMIN_NOTICE_KEY, true );
60
-
61
  // Check if we need to display the notice
62
  if ( current_user_can( 'install_plugins' ) && '' == $hide_notice ) {
63
  // Get installation date
64
  $datetime_install = $this->get_install_date();
65
- $datetime_past = new DateTime( ALM_Nag::OPTION_NAG_DELAY );
66
  if ( $datetime_past >= $datetime_install ) {
67
  // 10 or more days ago, show admin notice
68
  add_action( 'admin_notices', array( $this, 'display_admin_notice' ) );
69
  }
70
  }
71
  }
72
-
73
-
74
  /**
75
  * Get the install data
76
  *
@@ -81,11 +81,11 @@ if(!class_exists('ALM_NAG')) :
81
  if ( $date_string == '' ) {
82
  // There is no install date, plugin was installed before version 1.2.0. Add it now.
83
  $date_string = self::insert_install_date();
84
- }
85
  return new DateTime( $date_string );
86
  }
87
-
88
-
89
  /**
90
  * Parse the admin query string
91
  *
@@ -93,47 +93,47 @@ if(!class_exists('ALM_NAG')) :
93
  */
94
  private function get_admin_querystring_array() {
95
  parse_str( $_SERVER['QUERY_STRING'], $params );
96
-
97
  return $params;
98
  }
99
-
100
-
101
  /**
102
  * Insert the install date
103
  *
104
  * @return string
105
  */
106
- public static function insert_install_date() {
107
  if(!get_site_option(ALM_Nag::OPTION_INSTALL_DATE)){
108
  $datetime_now = new DateTime();
109
  $date_string = $datetime_now->format( 'Y-m-d' );
110
  add_site_option( ALM_Nag::OPTION_INSTALL_DATE, $date_string, '', 'no' );
111
  return $date_string;
112
- }
113
  }
114
-
115
-
116
  /**
117
  * Display the admin notice
118
  */
119
  public function display_admin_notice() {
120
-
121
  $query_params = $this->get_admin_querystring_array();
122
  $query_string = '?' . http_build_query( array_merge( $query_params, array( ALM_Nag::OPTION_ADMIN_NOTICE_KEY => '1' ) ) );
123
-
124
  echo '<div class="updated" style="padding: 15px;">';
125
- printf( __( "<p style='padding: 0; margin: 0 0 15px;'>You've been using <b style='color: #222;'><a href='%s'>Ajax Load More</a></b> for some time now, could you please give it a review at wordpress.org?<br/>All reviews, both good and bad are important as they help the plugin grow and improve over time.</p><p style='padding: 0; margin: 0 0 15px;'><a href='%s' target='_blank' class='button button-primary'>Yes, I'll leave a review</a> &nbsp; <a href='%s' class='button'>No thanks</a> &nbsp; <a href='%s' class='button-no'>I've already done this</a></p><p style='padding: 10px 0 0; margin: 0;'><small><a href='http://connekthq.com/plugins/' target='_blank'>Check out other <b>Connekt</b> WordPress plugins</a></small></p>" ), get_admin_url() . 'admin.php?page=ajax-load-more', 'http://wordpress.org/support/view/plugin-reviews/ajax-load-more', $query_string, $query_string );
126
  echo '</div>';
127
-
128
  }
129
  }
130
-
131
-
132
  function alm_nag_notice(){
133
  $alm_nag = new ALM_NAG();
134
  $alm_nag->setup();
135
- }
136
  // initialize
137
  alm_nag_notice();
138
-
139
  endif;
1
+ <?php
2
+
3
  if(!class_exists('ALM_NAG')) :
4
 
5
  class ALM_NAG {
6
+
7
  const OPTION_INSTALL_DATE = 'alm-install-date';
8
  const OPTION_ADMIN_NOTICE_KEY = 'alm-hide-notice';
9
  const OPTION_NAG_DELAY = '-7 days';
10
+
11
  /**
12
  * Setup the class
13
  */
14
+ public function setup() {
15
  // catch nag hide
16
+ $this->catch_hide_notice();
17
  // bind nag
18
  $this->bind();
19
  }
20
+
21
+
22
  /**
23
  * Catch the hide nag request
24
  */
27
  // Add user meta
28
  global $current_user;
29
  add_user_meta( $current_user->ID, ALM_Nag::OPTION_ADMIN_NOTICE_KEY, '1', true );
30
+
31
  // Build redirect URL
32
  $query_params = $this->get_admin_querystring_array();
33
  unset( $query_params[ ALM_Nag::OPTION_ADMIN_NOTICE_KEY ] );
35
  if ( $query_string != '' ) {
36
  $query_string = '?' . $query_string;
37
  }
38
+
39
  $redirect_url = 'http';
40
  if ( isset( $_SERVER['HTTPS'] ) && $_SERVER['HTTPS'] == 'on' ) {
41
  $redirect_url .= 's';
42
  }
43
  $redirect_url .= '://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'] . $query_string;
44
+
45
  // Redirect
46
  wp_redirect( $redirect_url );
47
  exit;
48
  }
49
  }
50
+
51
+
52
  /**
53
  * Bind nag message
54
  */
55
  private function bind() {
56
+
57
  // Is admin notice hidden?
58
  $current_user = wp_get_current_user();
59
  $hide_notice = get_user_meta( $current_user->ID, ALM_Nag::OPTION_ADMIN_NOTICE_KEY, true );
60
+
61
  // Check if we need to display the notice
62
  if ( current_user_can( 'install_plugins' ) && '' == $hide_notice ) {
63
  // Get installation date
64
  $datetime_install = $this->get_install_date();
65
+ $datetime_past = new DateTime( ALM_Nag::OPTION_NAG_DELAY );
66
  if ( $datetime_past >= $datetime_install ) {
67
  // 10 or more days ago, show admin notice
68
  add_action( 'admin_notices', array( $this, 'display_admin_notice' ) );
69
  }
70
  }
71
  }
72
+
73
+
74
  /**
75
  * Get the install data
76
  *
81
  if ( $date_string == '' ) {
82
  // There is no install date, plugin was installed before version 1.2.0. Add it now.
83
  $date_string = self::insert_install_date();
84
+ }
85
  return new DateTime( $date_string );
86
  }
87
+
88
+
89
  /**
90
  * Parse the admin query string
91
  *
93
  */
94
  private function get_admin_querystring_array() {
95
  parse_str( $_SERVER['QUERY_STRING'], $params );
96
+
97
  return $params;
98
  }
99
+
100
+
101
  /**
102
  * Insert the install date
103
  *
104
  * @return string
105
  */
106
+ public static function insert_install_date() {
107
  if(!get_site_option(ALM_Nag::OPTION_INSTALL_DATE)){
108
  $datetime_now = new DateTime();
109
  $date_string = $datetime_now->format( 'Y-m-d' );
110
  add_site_option( ALM_Nag::OPTION_INSTALL_DATE, $date_string, '', 'no' );
111
  return $date_string;
112
+ }
113
  }
114
+
115
+
116
  /**
117
  * Display the admin notice
118
  */
119
  public function display_admin_notice() {
120
+
121
  $query_params = $this->get_admin_querystring_array();
122
  $query_string = '?' . http_build_query( array_merge( $query_params, array( ALM_Nag::OPTION_ADMIN_NOTICE_KEY => '1' ) ) );
123
+
124
  echo '<div class="updated" style="padding: 15px;">';
125
+ printf( __( "<p style='padding: 0; margin: 0 0 15px;'>You've been using <b style='color: #222;'><a href='%s'>Ajax Load More</a></b> for some time now, could you please give it a review at wordpress.org?<br/>All reviews, both good and bad are important as they help the plugin grow and improve over time.</p><p style='padding: 0; margin: 0 0 15px;'><a href='%s' target='_blank' class='button button-primary'>Yes, I'll leave a review</a> &nbsp; <a href='%s' class='button'>No thanks</a> &nbsp; <a href='%s' class='button-no'>I've already done this</a></p><p style='padding: 10px 0 0; margin: 0;'><small><a href='http://connekthq.com/plugins/' target='_blank'>Check out our other <b>Connekt</b> WordPress plugins</a></small></p>" ), get_admin_url() . 'admin.php?page=ajax-load-more', 'http://wordpress.org/support/view/plugin-reviews/ajax-load-more', $query_string, $query_string );
126
  echo '</div>';
127
+
128
  }
129
  }
130
+
131
+
132
  function alm_nag_notice(){
133
  $alm_nag = new ALM_NAG();
134
  $alm_nag->setup();
135
+ }
136
  // initialize
137
  alm_nag_notice();
138
+
139
  endif;
admin/img/add-ons/elementor-add-on.jpg ADDED
Binary file
admin/includes/layout/default.php CHANGED
File without changes
admin/shortcode-builder/components/single-post.php CHANGED
@@ -1,8 +1,12 @@
1
- <?php if(has_action('alm_single_post_installed')){ ?>
 
 
 
 
2
  <div class="row input previous-post add-on" id="alm-previous-post">
3
  <h3 class="heading" tabindex="0"><?php _e('Single Posts', 'ajax-load-more'); ?></h3>
4
  <div class="expand-wrap">
5
-
6
  <section class="first">
7
  <div class="shortcode-builder--label">
8
  <p><?php _e('Enable the infinite scrolling of single posts.', 'ajax-load-more'); ?></p>
@@ -22,8 +26,8 @@
22
  </div>
23
  </div>
24
  </section>
25
-
26
- <div class="prev_post_options nested-component" style="display: none;">
27
  <div class="nested-component--inner">
28
  <section>
29
  <div class="shortcode-builder--label">
@@ -35,8 +39,8 @@
35
  <input type="text" value="get_the_ID()" id="pp_id" class="alm_element disabled-input" disabled="disabled">
36
  </div>
37
  </div>
38
- </section>
39
-
40
  <section>
41
  <div class="shortcode-builder--label">
42
  <h4><?php _e('Target', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Repeater Templates are not required when using the Target implementation.', 'ajax-load-more'); ?>"></a></h4>
@@ -50,25 +54,41 @@
50
  </div>
51
  </div>
52
  </section>
53
-
54
  <section>
55
  <div class="shortcode-builder--label">
56
- <h4><?php _e('Post Ordering', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('By default, the Single Posts add-on will use the core WordPress `get_previous_post` function, but you can over ride that here.', 'ajax-load-more'); ?>"></a></h4>
57
- <p><?php _e('Select the load order of posts while infinite scrolling.', 'ajax-load-more'); ?></p>
58
  <p><a class="button-small" href="https://connekthq.com/plugins/ajax-load-more/add-ons/single-post/#ordering" target="_blank"><?php _e('View Docs', 'ajax-load-more'); ?></a></p>
59
  </div>
60
  <div class="shortcode-builder--fields">
61
  <div class="inner">
62
  <select class="alm_element" name="pp-order" id="pp-order">
63
  <option value="previous" selected="selected"><?php _e('Previous Post (by date DESC)', 'ajax-load-more'); ?></option>
64
- <option value="latest"><?php _e('Latest (Start at most recent post)', 'ajax-load-more'); ?></option>
65
  <option value="next"><?php _e('Next Post (by date ASC)', 'ajax-load-more'); ?></option>
66
- <option value="post__in"><?php _e('Post ID Array', 'ajax-load-more'); ?></option>
 
 
67
  </select>
68
  </div>
69
  </div>
70
  </section>
71
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
  <div id="pp_post__in" style="display: none;">
73
  <section>
74
  <div class="shortcode-builder--label">
@@ -82,7 +102,7 @@
82
  </div>
83
  </section>
84
  </div>
85
-
86
  <div id="pp_extras">
87
  <section>
88
  <div class="shortcode-builder--label">
@@ -91,31 +111,29 @@
91
  </div>
92
  <div class="shortcode-builder--fields">
93
  <div class="inner">
94
- <?php
95
- // Taxonomies
96
- $pp_tax_args = array(
97
- 'public' => true,
98
- '_builtin' => false
99
- );
100
- $pp_tax_output = 'objects';
101
- $pp_taxonomies = get_taxonomies( $pp_tax_args, $pp_tax_output );
102
  echo '<select class="alm_element" name="pp-taxonomy-select" id="pp-taxonomy-select">';
103
  echo '<option value="" selected="selected">-- ' . __('Select Taxonomy', 'ajax-load-more') . ' --</option>';
104
  echo '<option value="category">' . __('Category', 'ajax-load-more') . '</option>';
105
  echo '<option value="post_tag">' . __('Tag', 'ajax-load-more') . '</option>';
106
  if ( $pp_taxonomies ) {
107
-
108
  foreach( $pp_taxonomies as $pp_taxonomy ){
109
  echo '<option name="pp-'.$pp_taxonomy->query_var.'" id="pp-'.$pp_taxonomy->query_var.'" value="'.$pp_taxonomy->query_var.'">'.$pp_taxonomy->label.'</option>';
110
  }
111
-
112
  }
113
  echo '</select>';
114
  ?>
115
  </div>
116
  </div>
117
  </section>
118
-
119
  <section>
120
  <div class="shortcode-builder--label">
121
  <h4><?php _e('Excluded Terms ', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('A comma-separated list of excluded terms by ID.','ajax-load-more'); ?>"></a></h4>
@@ -125,11 +143,11 @@
125
  <div class="inner">
126
  <input type="text" id="pp-term-exclude" class="alm_element numbers-only" value="" placeholder="5, 8, 35">
127
  </div>
128
- </div>
129
  </section>
130
-
131
- </div>
132
-
133
  <?php if( is_plugin_active( 'elementor-pro/elementor-pro.php' ) ) { ?>
134
  <!-- Elementor -->
135
  <section>
@@ -154,7 +172,7 @@
154
  </div>
155
  </section>
156
  <?php } ?>
157
-
158
  <section>
159
  <div class="shortcode-builder--label">
160
  <h4><?php _e('Reading Progress Bar ', 'ajax-load-more'); ?></h4>
@@ -175,14 +193,14 @@
175
  </div>
176
  </div>
177
  </section>
178
-
179
-
180
  <!-- Reading Progress Bar Options -->
181
- <div class="clear"></div>
182
- <div id="pp_progressbar_options" class="nested-component" style="display: none;">
183
-
184
  <div class="nested-component--inner">
185
-
186
  <section>
187
  <div class="shortcode-builder--label">
188
  <h4><?php _e('Position', 'ajax-load-more'); ?></h4>
@@ -203,7 +221,7 @@
203
  </div>
204
  </div>
205
  </section>
206
-
207
  <section>
208
  <div class="shortcode-builder--label">
209
  <h4><?php _e('Height', 'ajax-load-more'); ?></h4>
@@ -215,9 +233,9 @@
215
  </div>
216
  </div>
217
  </section>
218
-
219
  <section>
220
- <div class="shortcode-builder--label">
221
  <h4><?php _e('Colors', 'ajax-load-more'); ?> </h4>
222
  <p><?php _e('Enter the hex color values of the reading progress bar', 'ajax-load-more'); ?>.<br/>
223
  <?php _e('Default:', 'ajax-load-more'); ?> #<span>ed7070</span>
@@ -249,18 +267,18 @@
249
  </div>
250
  </div>
251
  </section>
252
- </div>
253
  </div>
254
- <!-- END Reading Progress Bar -->
255
-
256
  <div class="clear"></div>
257
-
258
  <p class="warning-callout">
259
  <?php _e('You must add the Single Post shortcode directly to your single template file using the <a href="https://developer.wordpress.org/reference/functions/do_shortcode/" target="_blank">do_shortcode</a> method.', 'ajax-load-more'); ?> <a class="button-small" href="https://connekthq.com/plugins/ajax-load-more/add-ons/single-post/" target="_blank"><?php _e('View Docs', 'ajax-load-more'); ?></a>
260
  </p>
261
  </div>
262
-
263
  </div>
264
  </div>
265
  </div>
266
- <?php } ?>
1
+ <?php
2
+ // @codingStandardsIgnoreStart
3
+
4
+ if(has_action('alm_single_post_installed')){ ?>
5
+
6
  <div class="row input previous-post add-on" id="alm-previous-post">
7
  <h3 class="heading" tabindex="0"><?php _e('Single Posts', 'ajax-load-more'); ?></h3>
8
  <div class="expand-wrap">
9
+
10
  <section class="first">
11
  <div class="shortcode-builder--label">
12
  <p><?php _e('Enable the infinite scrolling of single posts.', 'ajax-load-more'); ?></p>
26
  </div>
27
  </div>
28
  </section>
29
+
30
+ <div class="prev_post_options nested-component" style="display: none;">
31
  <div class="nested-component--inner">
32
  <section>
33
  <div class="shortcode-builder--label">
39
  <input type="text" value="get_the_ID()" id="pp_id" class="alm_element disabled-input" disabled="disabled">
40
  </div>
41
  </div>
42
+ </section>
43
+
44
  <section>
45
  <div class="shortcode-builder--label">
46
  <h4><?php _e('Target', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Repeater Templates are not required when using the Target implementation.', 'ajax-load-more'); ?>"></a></h4>
54
  </div>
55
  </div>
56
  </section>
57
+
58
  <section>
59
  <div class="shortcode-builder--label">
60
+ <h4><?php _e('Post Ordering', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('By default, the Single Posts add-on will use the core WordPress `get_previous_post` function, but you can adjust that here.', 'ajax-load-more'); ?>"></a></h4>
61
+ <p><?php _e('Select the posts loading order.', 'ajax-load-more'); ?></p>
62
  <p><a class="button-small" href="https://connekthq.com/plugins/ajax-load-more/add-ons/single-post/#ordering" target="_blank"><?php _e('View Docs', 'ajax-load-more'); ?></a></p>
63
  </div>
64
  <div class="shortcode-builder--fields">
65
  <div class="inner">
66
  <select class="alm_element" name="pp-order" id="pp-order">
67
  <option value="previous" selected="selected"><?php _e('Previous Post (by date DESC)', 'ajax-load-more'); ?></option>
 
68
  <option value="next"><?php _e('Next Post (by date ASC)', 'ajax-load-more'); ?></option>
69
+ <option value="latest"><?php _e('Latest Post (Start from most recent)', 'ajax-load-more'); ?></option>
70
+ <option value="post__in"><?php _e('Post IDs (Array)', 'ajax-load-more'); ?></option>
71
+ <option value="custom_query"><?php _e('Custom Query', 'ajax-load-more'); ?></option>
72
  </select>
73
  </div>
74
  </div>
75
  </section>
76
+
77
+ <div id="pp_custom_query" style="display: none;">
78
+ <section>
79
+ <div class="shortcode-builder--label">
80
+ <h4><?php _e('Custom Query Order', 'ajax-load-more'); ?></h4>
81
+ <p><?php _e('Select the post ordering of the custom query.', 'ajax-load-more'); ?></p>
82
+ </div>
83
+ <div class="shortcode-builder--fields">
84
+ <select class="alm_element" name="pp-custom-query" id="pp-custom-query">
85
+ <option value="previous" selected="selected"><?php _e('Previous Post (Continue by date DESC)', 'ajax-load-more'); ?></option>
86
+ <option value="latest"><?php _e('Latest Post (Start from most recent)', 'ajax-load-more'); ?></option>
87
+ </select>
88
+ </div>
89
+ </section>
90
+ </div>
91
+
92
  <div id="pp_post__in" style="display: none;">
93
  <section>
94
  <div class="shortcode-builder--label">
102
  </div>
103
  </section>
104
  </div>
105
+
106
  <div id="pp_extras">
107
  <section>
108
  <div class="shortcode-builder--label">
111
  </div>
112
  <div class="shortcode-builder--fields">
113
  <div class="inner">
114
+ <?php
115
+ // Taxonomies
116
+ $pp_tax_args = array(
117
+ 'public' => true,
118
+ '_builtin' => false
119
+ );
120
+ $pp_tax_output = 'objects';
121
+ $pp_taxonomies = get_taxonomies( $pp_tax_args, $pp_tax_output );
122
  echo '<select class="alm_element" name="pp-taxonomy-select" id="pp-taxonomy-select">';
123
  echo '<option value="" selected="selected">-- ' . __('Select Taxonomy', 'ajax-load-more') . ' --</option>';
124
  echo '<option value="category">' . __('Category', 'ajax-load-more') . '</option>';
125
  echo '<option value="post_tag">' . __('Tag', 'ajax-load-more') . '</option>';
126
  if ( $pp_taxonomies ) {
 
127
  foreach( $pp_taxonomies as $pp_taxonomy ){
128
  echo '<option name="pp-'.$pp_taxonomy->query_var.'" id="pp-'.$pp_taxonomy->query_var.'" value="'.$pp_taxonomy->query_var.'">'.$pp_taxonomy->label.'</option>';
129
  }
 
130
  }
131
  echo '</select>';
132
  ?>
133
  </div>
134
  </div>
135
  </section>
136
+
137
  <section>
138
  <div class="shortcode-builder--label">
139
  <h4><?php _e('Excluded Terms ', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('A comma-separated list of excluded terms by ID.','ajax-load-more'); ?>"></a></h4>
143
  <div class="inner">
144
  <input type="text" id="pp-term-exclude" class="alm_element numbers-only" value="" placeholder="5, 8, 35">
145
  </div>
146
+ </div>
147
  </section>
148
+
149
+ </div>
150
+
151
  <?php if( is_plugin_active( 'elementor-pro/elementor-pro.php' ) ) { ?>
152
  <!-- Elementor -->
153
  <section>
172
  </div>
173
  </section>
174
  <?php } ?>
175
+
176
  <section>
177
  <div class="shortcode-builder--label">
178
  <h4><?php _e('Reading Progress Bar ', 'ajax-load-more'); ?></h4>
193
  </div>
194
  </div>
195
  </section>
196
+
197
+
198
  <!-- Reading Progress Bar Options -->
199
+ <div class="clear"></div>
200
+ <div id="pp_progressbar_options" class="nested-component" style="display: none;">
201
+
202
  <div class="nested-component--inner">
203
+
204
  <section>
205
  <div class="shortcode-builder--label">
206
  <h4><?php _e('Position', 'ajax-load-more'); ?></h4>
221
  </div>
222
  </div>
223
  </section>
224
+
225
  <section>
226
  <div class="shortcode-builder--label">
227
  <h4><?php _e('Height', 'ajax-load-more'); ?></h4>
233
  </div>
234
  </div>
235
  </section>
236
+
237
  <section>
238
+ <div class="shortcode-builder--label">
239
  <h4><?php _e('Colors', 'ajax-load-more'); ?> </h4>
240
  <p><?php _e('Enter the hex color values of the reading progress bar', 'ajax-load-more'); ?>.<br/>
241
  <?php _e('Default:', 'ajax-load-more'); ?> #<span>ed7070</span>
267
  </div>
268
  </div>
269
  </section>
270
+ </div>
271
  </div>
272
+ <!-- END Reading Progress Bar -->
273
+
274
  <div class="clear"></div>
275
+
276
  <p class="warning-callout">
277
  <?php _e('You must add the Single Post shortcode directly to your single template file using the <a href="https://developer.wordpress.org/reference/functions/do_shortcode/" target="_blank">do_shortcode</a> method.', 'ajax-load-more'); ?> <a class="button-small" href="https://connekthq.com/plugins/ajax-load-more/add-ons/single-post/" target="_blank"><?php _e('View Docs', 'ajax-load-more'); ?></a>
278
  </p>
279
  </div>
280
+
281
  </div>
282
  </div>
283
  </div>
284
+ <?php } ?>
admin/shortcode-builder/js/shortcode-builder.js CHANGED
@@ -508,6 +508,7 @@ jQuery(document).ready(function ($) {
508
  if (previous !== 'false' && previous != undefined) {
509
  var pp_id = $('#pp_id').val(),
510
  pp_order = $('#pp-order').val(),
 
511
  pp_post__in_order = $('#pp_post__in_input').val(),
512
  pp_taxonomy = $('#pp-taxonomy-select').val(),
513
  pp_excluded_terms = $('#pp-term-exclude').val(),
@@ -529,6 +530,7 @@ jQuery(document).ready(function ($) {
529
  $('#pp_extras').slideDown(250, 'alm_easeInOutQuad');
530
  } else {
531
  if (pp_order === 'post__in') {
 
532
  pp_taxonomy = '';
533
  pp_excluded_terms = '';
534
  output += ' single_post_order="' + pp_post__in_order + '"';
@@ -536,15 +538,24 @@ jQuery(document).ready(function ($) {
536
  $('#pp-term-exclude').attr('disabled', true);
537
  $('#pp_post__in').slideDown(250, 'alm_easeInOutQuad');
538
  $('#pp_extras').slideUp(250, 'alm_easeInOutQuad');
 
 
 
 
 
 
 
539
  } else {
 
540
  output += ' single_post_order="' + pp_order + '"';
 
 
 
541
  $('#pp_post__in').slideUp(250, 'alm_easeInOutQuad');
542
  $('#pp_extras').slideDown(250, 'alm_easeInOutQuad');
543
  }
544
  }
545
 
546
- output += pp_taxonomy !== '' ? ' single_post_taxonomy="' + pp_taxonomy + '"' : '';
547
- output += pp_excluded_terms !== '' ? ' single_post_excluded_terms="' + pp_excluded_terms + '"' : '';
548
  output += pp_target !== '' ? ' single_post_target="' + pp_target + '"' : '';
549
  output += pp_elementor === 't' ? ' elementor="true"' : '';
550
 
@@ -1241,7 +1252,7 @@ jQuery(document).ready(function ($) {
1241
  button_loading_label = $('.btn-label input#button-loading-label').val().trim(),
1242
  button_done_label = $('.btn-label input#button-done-label').val().trim();
1243
 
1244
- if (button_label !== '' && button_label !== 'Older Posts') {
1245
  output += ' button_label="' + button_label + '"';
1246
  }
1247
  // Loading Label
508
  if (previous !== 'false' && previous != undefined) {
509
  var pp_id = $('#pp_id').val(),
510
  pp_order = $('#pp-order').val(),
511
+ pp_query_order = $('#pp-custom-query').val(),
512
  pp_post__in_order = $('#pp_post__in_input').val(),
513
  pp_taxonomy = $('#pp-taxonomy-select').val(),
514
  pp_excluded_terms = $('#pp-term-exclude').val(),
530
  $('#pp_extras').slideDown(250, 'alm_easeInOutQuad');
531
  } else {
532
  if (pp_order === 'post__in') {
533
+ // Post IN
534
  pp_taxonomy = '';
535
  pp_excluded_terms = '';
536
  output += ' single_post_order="' + pp_post__in_order + '"';
538
  $('#pp-term-exclude').attr('disabled', true);
539
  $('#pp_post__in').slideDown(250, 'alm_easeInOutQuad');
540
  $('#pp_extras').slideUp(250, 'alm_easeInOutQuad');
541
+ } else if (pp_order === 'custom_query') {
542
+ // Custom Query
543
+ output += ' single_post_order="query"';
544
+ output += ' single_post_query_order="' + pp_query_order + '"';
545
+ $('#pp_post__in').slideUp(250, 'alm_easeInOutQuad');
546
+ $('#pp_extras').slideUp(250, 'alm_easeInOutQuad');
547
+ $('#pp_custom_query').slideDown(250, 'alm_easeInOutQuad');
548
  } else {
549
+ // Normal
550
  output += ' single_post_order="' + pp_order + '"';
551
+ output += pp_taxonomy !== '' ? ' single_post_taxonomy="' + pp_taxonomy + '"' : '';
552
+ output += pp_excluded_terms !== '' ? ' single_post_excluded_terms="' + pp_excluded_terms + '"' : '';
553
+ $('#pp_custom_query').slideUp(250, 'alm_easeInOutQuad');
554
  $('#pp_post__in').slideUp(250, 'alm_easeInOutQuad');
555
  $('#pp_extras').slideDown(250, 'alm_easeInOutQuad');
556
  }
557
  }
558
 
 
 
559
  output += pp_target !== '' ? ' single_post_target="' + pp_target + '"' : '';
560
  output += pp_elementor === 't' ? ' elementor="true"' : '';
561
 
1252
  button_loading_label = $('.btn-label input#button-loading-label').val().trim(),
1253
  button_done_label = $('.btn-label input#button-done-label').val().trim();
1254
 
1255
+ if (button_label !== '' && button_label !== 'Load More') {
1256
  output += ' button_label="' + button_label + '"';
1257
  }
1258
  // Loading Label
admin/shortcode-builder/shortcode-builder.php CHANGED
@@ -109,7 +109,7 @@
109
  <div class="ajax-load-more-wrap core target <?php echo $loading_style; ?>" data-base="ajax-load-more-wrap core ">
110
  <span><?php _e('CLICK TO PREVIEW', 'ajax-load-more'); ?></span>
111
  <button class="alm-load-more-btn" type="button">
112
- <?php echo apply_filters('alm_button_label', __('Older Posts', 'ajax-load-more')) ;?>
113
  </button>
114
  </div>
115
  </div>
@@ -347,7 +347,7 @@
347
  </div>
348
  <div class="shortcode-builder--fields">
349
  <div class="inner">
350
- <input class="alm_element" name="button-label" type="text" id="button-label" value="<?php _e('Older Posts', 'ajax-load-more'); ?>">
351
  </div>
352
  </div>
353
  </section>
@@ -868,7 +868,7 @@
868
  echo '<div class="expand-wrap">';
869
  echo '<section class="first">';
870
  echo '<div class="shortcode-builder--label">';
871
- echo '<p>'.__('Select a <a href="http://codex.wordpress.org/Post_Formats" target="_blank">Post Format</a> to query.', 'ajax-load-more'). '</p>';
872
  echo '</div>';
873
  echo '<div class="shortcode-builder--fields"><div class="inner"><select class="alm_element" name="post-format-select" id="post-format-select">';
874
  echo '<option value="" selected="selected">-- ' . __('Select Post Format', 'ajax-load-more') . ' --</option>';
@@ -990,7 +990,7 @@
990
  }
991
  }
992
  if($tags){
993
- $tag_link = 'https://codex.wordpress.org/Class_Reference/WP_Query#Tag_Parameters';
994
  ?>
995
  <div class="row checkboxes tags" id="alm-tags">
996
  <h3 class="heading" tabindex="0"><?php _e('Tag', 'ajax-load-more'); ?></h3>
@@ -1108,7 +1108,7 @@
1108
  <div class="expand-wrap">
1109
  <section class="first full">
1110
  <div class="shortcode-builder--label">
1111
- <p><?php _e('Query for <a href="http://codex.wordpress.org/Class_Reference/WP_Meta_Query" target="_blank">custom field</a> by entering a custom field key, value and operator.', 'ajax-load-more'); ?></p>
1112
  </div>
1113
  <div class="shortcode-builder--fields">
1114
  <div class="meta-query-wrap-first">
109
  <div class="ajax-load-more-wrap core target <?php echo $loading_style; ?>" data-base="ajax-load-more-wrap core ">
110
  <span><?php _e('CLICK TO PREVIEW', 'ajax-load-more'); ?></span>
111
  <button class="alm-load-more-btn" type="button">
112
+ <?php echo apply_filters( 'alm_button_label', __('Load More', 'ajax-load-more' )) ;?>
113
  </button>
114
  </div>
115
  </div>
347
  </div>
348
  <div class="shortcode-builder--fields">
349
  <div class="inner">
350
+ <input class="alm_element" name="button-label" type="text" id="button-label" value="<?php _e('Load More', 'ajax-load-more'); ?>">
351
  </div>
352
  </div>
353
  </section>
868
  echo '<div class="expand-wrap">';
869
  echo '<section class="first">';
870
  echo '<div class="shortcode-builder--label">';
871
+ echo '<p>'.__('Select a Post Format to query.', 'ajax-load-more'). '</p>';
872
  echo '</div>';
873
  echo '<div class="shortcode-builder--fields"><div class="inner"><select class="alm_element" name="post-format-select" id="post-format-select">';
874
  echo '<option value="" selected="selected">-- ' . __('Select Post Format', 'ajax-load-more') . ' --</option>';
990
  }
991
  }
992
  if($tags){
993
+ $tag_link = 'https://developer.wordpress.org/reference/classes/wp_query/#tag-parameters';
994
  ?>
995
  <div class="row checkboxes tags" id="alm-tags">
996
  <h3 class="heading" tabindex="0"><?php _e('Tag', 'ajax-load-more'); ?></h3>
1108
  <div class="expand-wrap">
1109
  <section class="first full">
1110
  <div class="shortcode-builder--label">
1111
+ <p><?php _e('Query for <a href="https://developer.wordpress.org/reference/classes/wp_query/#custom-field-post-meta-parameters" target="_blank">custom field</a> by entering a custom field key, value and operator.', 'ajax-load-more'); ?></p>
1112
  </div>
1113
  <div class="shortcode-builder--fields">
1114
  <div class="meta-query-wrap-first">
ajax-load-more.php CHANGED
@@ -7,13 +7,13 @@ Text Domain: ajax-load-more
7
  Author: Darren Cooney
8
  Twitter: @KaptonKaos
9
  Author URI: https://connekthq.com
10
- Version: 5.3.8
11
  License: GPL
12
  Copyright: Darren Cooney & Connekt Media
13
  */
14
 
15
- define( 'ALM_VERSION', '5.3.8' );
16
- define( 'ALM_RELEASE', 'September 10, 2020' );
17
  define( 'ALM_STORE_URL', 'https://connekthq.com' );
18
 
19
  /**
@@ -23,7 +23,7 @@ define( 'ALM_STORE_URL', 'https://connekthq.com' );
23
  */
24
  function alm_install( $network_wide ) {
25
  global $wpdb;
26
- add_option( "alm_version", ALM_VERSION ); // Add to WP Option tbl.
27
  if ( is_multisite() && $network_wide ) {
28
  // Get all blogs in the network and activate plugin on each one.
29
  $blog_ids = $wpdb->get_col( "SELECT blog_id FROM $wpdb->blogs" );
@@ -53,11 +53,11 @@ function alm_create_table() {
53
  $blog_id = $wpdb->blogid;
54
  $repeater = '<li class="alm-item<?php if (!has_post_thumbnail()) { ?> no-img<?php } ?>">' . PHP_EOL . ' <?php if ( has_post_thumbnail() ) { the_post_thumbnail(\'alm-thumbnail\'); }?>'. PHP_EOL .' <h3><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>' . PHP_EOL . ' <p class="entry-meta"><?php the_time("F d, Y"); ?></p>' . PHP_EOL . ' <?php the_excerpt(); ?>' . PHP_EOL . '</li>';
55
 
56
- // Create Base Repeater Directory.
57
- $base_dir = AjaxLoadMore::alm_get_repeater_path();
58
- AjaxLoadMore::alm_mkdir( $base_dir );
59
 
60
- $file = $base_dir . '/default.php';
61
  if ( ! file_exists( $file ) ) {
62
  $tmp = fopen( $file, 'w+' );
63
  $w = fwrite( $tmp, $repeater );
@@ -79,7 +79,7 @@ function alm_create_table() {
79
  pluginVersion text NOT NULL,
80
  UNIQUE KEY id (id)
81
  );";
82
- require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
83
  dbDelta( $sql );
84
  // Insert the default data in created table.
85
  $wpdb->insert( $table_name , array( 'name' => 'default', 'repeaterDefault' => $repeater, 'repeaterType' => 'default', 'pluginVersion' => ALM_VERSION ) );
@@ -88,228 +88,202 @@ function alm_create_table() {
88
 
89
 
90
 
91
- /*
92
- * alm_render
93
- * Render Ajax Load More public function
94
- *
95
- * @param {array} $args
96
- * @since 4.2.0
97
- */
98
- function alm_render($args){
99
- echo AjaxLoadMore::alm_shortcode($args);
100
  }
101
 
 
102
 
103
-
104
- if( !class_exists('AjaxLoadMore') ):
105
-
106
  class AjaxLoadMore {
107
 
108
- static $shortcode_atts = null;
109
-
110
- function __construct(){
111
-
112
- $this->alm_define_constants();
113
- $this->alm_includes();
114
 
115
- add_action( 'wp_ajax_alm_get_posts', array(&$this, 'alm_query_posts') );
116
- add_action( 'wp_ajax_nopriv_alm_get_posts', array(&$this, 'alm_query_posts') );
117
- add_action( 'wp_enqueue_scripts', array(&$this, 'alm_enqueue_scripts') );
118
- add_action( 'after_setup_theme', array(&$this, 'alm_image_sizes') );
119
- add_filter( 'alm_noscript', array(&$this, 'alm_noscript'), 10, 5 );
120
- add_filter( 'alm_noscript_pagination', array(&$this, 'alm_noscript_pagination'), 10, 2 );
121
- add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this, 'alm_action_links') );
122
- add_filter( 'plugin_row_meta', array(&$this, 'alm_plugin_meta_links'), 10, 2 );
123
- add_shortcode( 'ajax_load_more', array(&$this, 'alm_shortcode') );
124
- add_filter( 'widget_text', 'do_shortcode' ); // Allow shortcodes in widget areas
125
- load_plugin_textdomain( 'ajax-load-more', false, dirname(plugin_basename( __FILE__ )).'/lang'); //load text domain
 
 
 
 
 
 
 
 
126
 
127
  }
128
 
129
 
130
 
131
- /**
132
- * alm_define_constants
133
- * Define plugin constants
134
- *
135
- * @since 2.10.1
136
- */
137
-
138
- public function alm_define_constants(){
139
-
140
- define('ALM_PATH', plugin_dir_path(__FILE__));
141
- define('ALM_URL', plugins_url('', __FILE__));
142
- define('ALM_ADMIN_URL', plugins_url('admin/', __FILE__));
143
- define('ALM_NAME', '_ajax_load_more');
144
- define('ALM_TITLE', 'Ajax Load More');
145
- define('ALM_SLUG', 'ajax-load-more');
146
- define('ALM_REST_NAMESPACE', 'ajaxloadmore');
147
-
148
- if (!defined('ALM_CACHE_ITEM_NAME')) define('ALM_CACHE_ITEM_NAME', '4878');
149
- if (!defined('ALM_CTA_ITEM_NAME')) define('ALM_CTA_ITEM_NAME', '14456');
150
- if (!defined('ALM_COMMENTS_ITEM_NAME')) define('ALM_COMMENTS_ITEM_NAME', '12172');
151
- if (!defined('ALM_UNLIMITED_ITEM_NAME')) define('ALM_UNLIMITED_ITEM_NAME', '3118');
152
- if (!defined('ALM_FILTERS_ITEM_NAME')) define('ALM_FILTERS_ITEM_NAME', '35992');
153
- if (!defined('ALM_LAYOUTS_ITEM_NAME')) define('ALM_LAYOUTS_ITEM_NAME', '11398');
154
- if (!defined('ALM_NEXTPAGE_ITEM_NAME')) define('ALM_NEXTPAGE_ITEM_NAME', '24540');
155
- if (!defined('ALM_PAGING_ITEM_NAME')) define('ALM_PAGING_ITEM_NAME', '6898');
156
- if (!defined('ALM_PRELOADED_ITEM_NAME')) define('ALM_PRELOADED_ITEM_NAME', '4293');
157
- if (!defined('ALM_PREV_POST_ITEM_NAME')) define('ALM_PREV_POST_ITEM_NAME', '9686');
158
- if (!defined('ALM_RESTAPI_ITEM_NAME')) define('ALM_RESTAPI_ITEM_NAME', '17105'); // Deprecated
159
- if (!defined('ALM_SEO_ITEM_NAME')) define('ALM_SEO_ITEM_NAME', '3482');
160
- if (!defined('ALM_TABS_ITEM_NAME')) define('ALM_TABS_ITEM_NAME', '54855');
161
- if (!defined('ALM_THEME_REPEATERS_ITEM_NAME')) define('ALM_THEME_REPEATERS_ITEM_NAME', '8860');
162
- if (!defined('ALM_USERS_ITEM_NAME')) define('ALM_USERS_ITEM_NAME', '32311');
163
- if (!defined('ALM_PRO_ITEM_NAME')) define('ALM_PRO_ITEM_NAME', '42166');
164
- if (!defined('ALM_WOO_ITEM_NAME')) define('ALM_WOO_ITEM_NAME', '62770');
165
-
166
- }
167
-
168
-
169
-
170
- /**
171
- * alm_noscript
172
- * This function will build an query for users without JS enabled
173
- *
174
- * @return $return string
175
- * @since 3.7
176
- */
177
- function alm_noscript($args, $container_element, $css_classes = '', $transition_container_classes = ''){
178
- if(is_admin()){
179
- return false;
180
- }
181
- $return = '';
182
- include_once( ALM_PATH . 'core/classes/class.alm-noscript.php'); // Load Noscript Class
183
- $return = ALM_NOSCRIPT::alm_get_noscript($args, $container_element, $css_classes, $transition_container_classes);
184
-
185
- return $return;
186
- }
187
-
188
-
189
-
190
- /**
191
- * alm_noscript_pagination
192
- * This function will build an pagination for users without JS enabled
193
- *
194
- * @return $return string
195
- * @since 3.7
196
- */
197
- function alm_noscript_pagination($query){
198
- if(is_admin()){
199
- return false;
200
- }
201
- $return = '';
202
- include_once( ALM_PATH . 'core/classes/class.alm-noscript.php'); // Load Noscript Class
203
- $return = ALM_NOSCRIPT::build_noscript_paging($query);
204
-
205
- return '<noscript>'. $return .'</noscript>';
206
- }
207
-
208
-
209
-
210
- /**
211
- * alm_get_repeater_base_path
212
- * Get absolute path to repeater directory base
213
- *
214
- * Multisite installs directories will be `uploads/sites/{id}/alm_templates`
215
- *
216
- * @return $path;
217
- * @since 3.5
218
- */
219
- public static function alm_get_repeater_path(){
220
- $upload_dir = wp_upload_dir();
221
- $path = apply_filters( 'alm_repeater_path', $upload_dir['basedir'] . '/alm_templates' );
222
- return $path;
223
- }
224
-
225
-
226
-
227
- /**
228
- * alm_mkdir
229
- * Create repeater template directory
230
- *
231
- * @since 3.5
232
- */
233
- public static function alm_mkdir($dir){
234
-
235
- // Does $dir exist?
236
- if( !is_dir($dir) ) {
237
- wp_mkdir_p($dir);
238
-
239
- // Check again after creating it (permission checker)
240
- if( !is_dir($dir) ) {
241
- echo __('Error creating repeater template directory', 'ajax-load-more') . ' - '. $dir;
242
- }
243
- }
244
- }
245
-
246
-
247
-
248
- /**
249
- * alm_includes
250
- * Load these files before the theme loads
251
- *
252
- * @since 2.0.0
253
- */
254
- public function alm_includes(){
255
-
256
- include_once( ALM_PATH . 'core/functions.php'); // Load Core Functions
257
- include_once( ALM_PATH . 'core/classes/class.alm-shortcode.php'); // Load Shortcode Class
258
- include_once( ALM_PATH . 'core/classes/class.alm-woocommerce.php'); // Load Woocommerce Class
259
- include_once( ALM_PATH . 'core/classes/class.alm-enqueue.php'); // Load Enqueue Class
260
- include_once( ALM_PATH . 'core/classes/class.alm-queryargs.php'); // Load Query Args Class
261
- include_once( ALM_PATH . 'core/classes/class.alm-localize.php'); // Load Localize Class
262
- include_once( ALM_PATH . 'core/integration/elementor/elementor.php');
263
-
264
- if( is_admin() ){
265
- require_once('admin/editor/editor.php');
266
- require_once('admin/admin.php');
267
- require_once('admin/admin-functions.php');
268
- require_once('vendor/connekt-plugin-installer/class-connekt-plugin-installer.php');
269
- if( !class_exists( 'EDD_SL_Plugin_Updater' ) ) {
270
- include( dirname( __FILE__ ) . '/vendor/EDD_SL_Plugin_Updater.php' );
271
- }
272
- }
273
 
274
- }
275
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
276
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
277
 
278
- /**
279
- * alm_return_addons
280
- * Returns add-on data (admin/admin-functions.php)
281
- *
282
- * @since 2.0.0
283
- */
 
 
 
 
 
 
284
 
285
- public function alm_return_addons(){
286
- return alm_get_addons();
287
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
288
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
289
 
 
 
 
 
 
 
 
 
 
290
 
291
  /**
292
- * alm_action_links
293
- * Add plugin action links to WP plugin screen
294
  *
295
  * @since 2.2.3
296
  */
297
-
298
  public function alm_action_links( $links ) {
299
  $settings = '<a href="'. get_admin_url(null, 'admin.php?page=ajax-load-more') .'">'.__('Settings', 'ajax-load-more').'</a>';
300
  array_unshift( $links, $settings );
301
  return $links;
302
  }
303
 
304
-
305
-
306
- /**
307
- * alm_plugin_meta_links
308
- * Add plugin meta links to WP plugin screen
309
- *
310
- * @since 2.7.2.1
311
- */
312
-
313
  public function alm_plugin_meta_links( $links, $file ) {
314
  if ( strpos( $file, 'ajax-load-more.php' ) !== false ) {
315
  $new_links = array(
@@ -324,84 +298,70 @@ if( !class_exists('AjaxLoadMore') ):
324
 
325
 
326
  /**
327
- * alm_image_sizes
328
- * Add default image size
329
  *
330
  * @since 2.8.3
331
  */
332
-
333
  public function alm_image_sizes(){
334
- add_image_size( 'alm-thumbnail', 150, 150, true); // Custom ALM thumbnail size
335
  }
336
 
337
 
338
 
339
- /**
340
- * alm_enqueue_scripts
341
- * Enqueue scripts and create localized variables
342
- *
343
- * @since 2.0.0
344
- */
345
-
346
- public function alm_enqueue_scripts(){
347
-
348
- // Get ALM Options
349
- $options = get_option( 'alm_settings' );
350
-
351
-
352
- // Core ALM JS
353
- $suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min'; // Use minified libraries if SCRIPT_DEBUG is turned off
354
- wp_register_script( 'ajax-load-more', plugins_url( '/core/dist/js/ajax-load-more'. $suffix .'.js', __FILE__ ), '', ALM_VERSION, true );
355
-
356
- // LiteSpeed Cache compatability
357
- wp_script_add_data('ajax-load-more', 'data-no-optimize' , '1');
358
 
359
- // Progress Bar JS
360
- wp_register_script( 'ajax-load-more-progress', plugins_url( '/vendor/js/pace/pace.min.js', __FILE__ ), 'ajax-load-more', ALM_VERSION, true );
361
 
362
- // Masonry JS
363
- wp_register_script( 'ajax-load-more-masonry', plugins_url( '/vendor/js/masonry/masonry.pkgd.min.js', __FILE__ ), 'ajax-load-more', '4.2.1', true );
 
364
 
365
- // Callback Helpers
366
- wp_register_script( 'ajax-load-more-legacy-callbacks', plugins_url( '/vendor/js/alm/legacy-callbacks.js', __FILE__ ), 'jquery', '', false);
367
 
 
 
368
 
369
- // Core CSS
370
- if( !alm_do_inline_css('_alm_inline_css') && !alm_css_disabled('_alm_disable_css')){ // Not inline or disabled
371
- $file = plugins_url('/core/dist/css/'. ALM_SLUG .'.min.css', __FILE__ );
372
- ALM_ENQUEUE::alm_enqueue_css(ALM_SLUG, $file);
373
- }
374
 
375
- // Prevent loading of unnessasry posts - move user to top of page
376
- //$scrolltop = (!isset($options['_alm_scroll_top']) || $options['_alm_scroll_top'] !== '1') ? 'false' : 'true';
377
 
 
 
 
 
 
378
 
379
- // Localized JS variables
380
- wp_localize_script(
381
- 'ajax-load-more',
382
- 'alm_localize',
383
- array(
384
- 'ajaxurl' => admin_url('admin-ajax.php'),
385
- 'alm_nonce' => wp_create_nonce( "ajax_load_more_nonce" ),
386
- 'rest_api' => esc_url_raw( rest_url() ),
387
- 'rest_nonce' => wp_create_nonce( 'wp_rest' ),
388
- 'pluginurl' => ALM_URL,
389
- //'scrolltop' => $scrolltop,
390
- 'speed' => apply_filters('alm_speed', 200),
391
- 'ga_debug' => apply_filters('alm_ga_debug', 'false'),
392
- 'results_text' => apply_filters('alm_display_results', __('Viewing {post_count} of {total_posts} results.', 'ajax-load-more')),
393
- 'no_results_text' => apply_filters('alm_no_results_text', __('No results found.', 'ajax-load-more')),
394
- 'alm_debug' => apply_filters('alm_debug', false),
395
- 'a11y_focus' => apply_filters('alm_a11y_focus', true)
396
- )
397
- );
398
  }
399
 
400
-
401
-
402
  /**
403
- * alm_shortcode
404
- * The AjaxLoadMore shortcode
405
  *
406
  * @since 2.0.0
407
  * @updated 3.2.0
@@ -411,11 +371,8 @@ if( !class_exists('AjaxLoadMore') ):
411
  return ALM_SHORTCODE::alm_render_shortcode($atts);
412
  }
413
 
414
-
415
-
416
  /**
417
- * alm_return_shortcode_atts
418
- * Return the ALM shortcode atts
419
  *
420
  * @since 3.2.0
421
  */
@@ -426,8 +383,7 @@ if( !class_exists('AjaxLoadMore') ):
426
 
427
 
428
  /**
429
- * alm_query_posts
430
- * Core Ajax Load More Query
431
  *
432
  * @since 2.0.0
433
  */
@@ -529,10 +485,7 @@ if( !class_exists('AjaxLoadMore') ):
529
  // Get current page number for determining item number
530
  $alm_page_count = ($page == 0) ? 1 : $page + 1;
531
 
532
-
533
  /*
534
- * alm_single_post_args
535
- *
536
  * Single Post Add-on hook
537
  * Hijack $args and and return single post only $args
538
  *
@@ -540,30 +493,20 @@ if( !class_exists('AjaxLoadMore') ):
540
  */
541
  $args = ($single_post && has_action('alm_single_post_installed')) ? apply_filters('alm_single_post_args', $single_post_id, $postType) : $args;
542
 
543
-
544
-
545
  /*
546
- * alm_modify_query_args
547
- *
548
- * ALM Core Filter Hook
549
  *
550
  * @return $args;
551
  * Deprecated 2.10
552
  */
553
- $args = apply_filters('alm_modify_query_args', $args, $slug); // ALM Core Filter Hook
554
-
555
-
556
 
557
  /*
558
- * alm_query_args_{id}
559
- *
560
- * ALM Core Filter Hook
561
  *
562
  * @return $args;
563
  */
564
- $args = apply_filters('alm_query_args_'. $id, $args, $post_id); // ALM Core Filter Hook
565
-
566
-
567
 
568
  /*
569
  * Custom `alm_query` parameter in the WP_Query
@@ -571,8 +514,6 @@ if( !class_exists('AjaxLoadMore') ):
571
  */
572
  $args['alm_query'] = ($single_post) ? 'single_posts' : 'alm';
573
 
574
-
575
-
576
  /*
577
  * WP_Query
578
  *
@@ -580,18 +521,13 @@ if( !class_exists('AjaxLoadMore') ):
580
  */
581
  $alm_query = new WP_Query( $args );
582
 
583
-
584
-
585
  /*
586
- * alm_query_after_{id}
587
- *
588
  * ALM Core Filter Hook to modify the returned query
589
  *
590
  * @return $alm_query;
591
  */
592
  $alm_query = apply_filters('alm_query_after_'. $id, $alm_query, $post_id); // ALM Core Filter Hook
593
 
594
-
595
  // If preloaded, update our loop count and total posts
596
  if(has_action('alm_preload_installed') && $preloaded === 'true'){
597
  $alm_total_posts = $alm_query->found_posts - $offset + $preloaded_amount;
@@ -604,11 +540,7 @@ if( !class_exists('AjaxLoadMore') ):
604
  $alm_loop_count = 0;
605
  }
606
 
607
-
608
-
609
  /*
610
- * alm_cache_create_dir
611
- *
612
  * Cache Add-on hook
613
  * Create cache directory + info .txt file
614
  *
@@ -617,7 +549,6 @@ if( !class_exists('AjaxLoadMore') ):
617
  if(!empty($cache_id) && has_action('alm_cache_create_dir') && $do_create_cache){
618
  apply_filters('alm_cache_create_dir', $cache_id, $canonical_url);
619
 
620
-
621
  // Filters || WooCommerce Cache Support
622
  if($is_filters && has_filter('alm_cache_create_nested_id')){
623
  $cache_id = apply_filters('alm_cache_create_nested_id', $cache_id);
@@ -630,8 +561,6 @@ if( !class_exists('AjaxLoadMore') ):
630
  if($queryType === 'standard'){
631
 
632
  /*
633
- * alm_debug
634
- *
635
  * ALM Core Filter Hook
636
  *
637
  * @return $alm_query/false;
@@ -696,8 +625,6 @@ if( !class_exists('AjaxLoadMore') ):
696
 
697
 
698
  /*
699
- * alm_cache_file
700
- *
701
  * Cache Add-on hook
702
  * If Cache is enabled, check the cache file
703
  *
@@ -775,7 +702,6 @@ if( !class_exists('AjaxLoadMore') ):
775
 
776
 
777
  /**
778
- * AjaxLoadMore
779
  * The main function responsible for returning the one true AjaxLoadMore instance.
780
  *
781
  * @since 2.0.0
7
  Author: Darren Cooney
8
  Twitter: @KaptonKaos
9
  Author URI: https://connekthq.com
10
+ Version: 5.4.0
11
  License: GPL
12
  Copyright: Darren Cooney & Connekt Media
13
  */
14
 
15
+ define( 'ALM_VERSION', '5.4.0' );
16
+ define( 'ALM_RELEASE', 'November 11, 2020' );
17
  define( 'ALM_STORE_URL', 'https://connekthq.com' );
18
 
19
  /**
23
  */
24
  function alm_install( $network_wide ) {
25
  global $wpdb;
26
+ add_option( 'alm_version', ALM_VERSION ); // Add to WP Option tbl.
27
  if ( is_multisite() && $network_wide ) {
28
  // Get all blogs in the network and activate plugin on each one.
29
  $blog_ids = $wpdb->get_col( "SELECT blog_id FROM $wpdb->blogs" );
53
  $blog_id = $wpdb->blogid;
54
  $repeater = '<li class="alm-item<?php if (!has_post_thumbnail()) { ?> no-img<?php } ?>">' . PHP_EOL . ' <?php if ( has_post_thumbnail() ) { the_post_thumbnail(\'alm-thumbnail\'); }?>'. PHP_EOL .' <h3><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>' . PHP_EOL . ' <p class="entry-meta"><?php the_time("F d, Y"); ?></p>' . PHP_EOL . ' <?php the_excerpt(); ?>' . PHP_EOL . '</li>';
55
 
56
+ // Create Base Repeater Directory.
57
+ $base_dir = AjaxLoadMore::alm_get_repeater_path();
58
+ AjaxLoadMore::alm_mkdir( $base_dir );
59
 
60
+ $file = $base_dir . '/default.php';
61
  if ( ! file_exists( $file ) ) {
62
  $tmp = fopen( $file, 'w+' );
63
  $w = fwrite( $tmp, $repeater );
79
  pluginVersion text NOT NULL,
80
  UNIQUE KEY id (id)
81
  );";
82
+ require_once ABSPATH . 'wp-admin/includes/upgrade.php';
83
  dbDelta( $sql );
84
  // Insert the default data in created table.
85
  $wpdb->insert( $table_name , array( 'name' => 'default', 'repeaterDefault' => $repeater, 'repeaterType' => 'default', 'pluginVersion' => ALM_VERSION ) );
88
 
89
 
90
 
91
+ /**
92
+ * Render Ajax Load More public function
93
+ *
94
+ * @param array $args shortcode args.
95
+ * @since 4.2.0
96
+ */
97
+ function alm_render( $args ) {
98
+ echo AjaxLoadMore::alm_shortcode( $args );
 
99
  }
100
 
101
+ if ( !class_exists('AjaxLoadMore') ) :
102
 
103
+ /**
104
+ * AjaxLoadMore Class.
105
+ */
106
  class AjaxLoadMore {
107
 
108
+ /**
109
+ * Shortcode attributes.
110
+ *
111
+ * @var $shortcode_atts
112
+ */
113
+ public static $shortcode_atts = null;
114
 
115
+ /**
116
+ * Class Constructor.
117
+ */
118
+ public function __construct() {
119
+
120
+ $this->alm_define_constants();
121
+ $this->alm_includes();
122
+
123
+ add_action( 'wp_ajax_alm_get_posts', array( &$this, 'alm_query_posts' ) );
124
+ add_action( 'wp_ajax_nopriv_alm_get_posts', array( &$this, 'alm_query_posts' ) );
125
+ add_action( 'wp_enqueue_scripts', array( &$this, 'alm_enqueue_scripts' ) );
126
+ add_action( 'after_setup_theme', array( &$this, 'alm_image_sizes' ) );
127
+ add_filter( 'alm_noscript', array( &$this, 'alm_noscript' ), 10, 5 );
128
+ add_filter( 'alm_noscript_pagination', array( &$this, 'alm_noscript_pagination' ), 10, 2 );
129
+ add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), array( &$this, 'alm_action_links' ) );
130
+ add_filter( 'plugin_row_meta', array( &$this, 'alm_plugin_meta_links' ), 10, 2 );
131
+ add_shortcode( 'ajax_load_more', array( &$this, 'alm_shortcode' ) );
132
+ add_filter( 'widget_text', 'do_shortcode' ); // Allow shortcodes in widget areas.
133
+ load_plugin_textdomain( 'ajax-load-more', false, dirname( plugin_basename( __FILE__ ) ) . '/lang' ); //load text domain.
134
 
135
  }
136
 
137
 
138
 
139
+ /**
140
+ * Define plugin constants.
141
+ *
142
+ * @since 2.10.1
143
+ */
144
+ public function alm_define_constants() {
145
+
146
+ define( 'ALM_PATH', plugin_dir_path( __FILE__ ) );
147
+ define( 'ALM_URL', plugins_url( '', __FILE__ ) );
148
+ define( 'ALM_ADMIN_URL', plugins_url( 'admin/', __FILE__ ) );
149
+ define( 'ALM_NAME', '_ajax_load_more' );
150
+ define( 'ALM_TITLE', 'Ajax Load More' );
151
+ define( 'ALM_SLUG', 'ajax-load-more' );
152
+ define( 'ALM_REST_NAMESPACE', 'ajaxloadmore' );
153
+
154
+ if ( ! defined( 'ALM_CACHE_ITEM_NAME' ) ) define( 'ALM_CACHE_ITEM_NAME', '4878' );
155
+ if ( ! defined( 'ALM_CTA_ITEM_NAME' ) ) define( 'ALM_CTA_ITEM_NAME', '14456' );
156
+ if ( ! defined( 'ALM_COMMENTS_ITEM_NAME' ) ) define( 'ALM_COMMENTS_ITEM_NAME', '12172' );
157
+ if ( ! defined( 'ALM_UNLIMITED_ITEM_NAME' ) ) define( 'ALM_UNLIMITED_ITEM_NAME', '3118' );
158
+ if ( ! defined( 'ALM_FILTERS_ITEM_NAME' ) ) define( 'ALM_FILTERS_ITEM_NAME', '35992' );
159
+ if ( ! defined( 'ALM_LAYOUTS_ITEM_NAME' ) ) define( 'ALM_LAYOUTS_ITEM_NAME', '11398' );
160
+ if ( ! defined( 'ALM_NEXTPAGE_ITEM_NAME' ) ) define( 'ALM_NEXTPAGE_ITEM_NAME', '24540' );
161
+ if ( ! defined( 'ALM_PAGING_ITEM_NAME' ) ) define( 'ALM_PAGING_ITEM_NAME', '6898' );
162
+ if ( ! defined( 'ALM_PRELOADED_ITEM_NAME' ) ) define( 'ALM_PRELOADED_ITEM_NAME', '4293' );
163
+ if ( ! defined( 'ALM_PREV_POST_ITEM_NAME' ) ) define( 'ALM_PREV_POST_ITEM_NAME', '9686' );
164
+ if ( ! defined( 'ALM_RESTAPI_ITEM_NAME' ) ) define( 'ALM_RESTAPI_ITEM_NAME', '17105' ); // Deprecated.
165
+ if ( ! defined( 'ALM_SEO_ITEM_NAME' ) ) define( 'ALM_SEO_ITEM_NAME', '3482' );
166
+ if ( ! defined( 'ALM_TABS_ITEM_NAME' ) ) define( 'ALM_TABS_ITEM_NAME', '54855' );
167
+ if ( ! defined( 'ALM_THEME_REPEATERS_ITEM_NAME' ) ) define( 'ALM_THEME_REPEATERS_ITEM_NAME', '8860' );
168
+ if ( ! defined( 'ALM_USERS_ITEM_NAME' ) ) define( 'ALM_USERS_ITEM_NAME', '32311' );
169
+ if ( ! defined( 'ALM_PRO_ITEM_NAME' ) ) define( 'ALM_PRO_ITEM_NAME', '42166' );
170
+ if ( ! defined( 'ALM_WOO_ITEM_NAME' ) ) define( 'ALM_WOO_ITEM_NAME', '62770' );
171
+ if ( ! defined( 'ALM_ELEMENTOR_ITEM_NAME' ) ) define( 'ALM_ELEMENTOR_ITEM_NAME', '70951' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
172
 
173
+ }
174
 
175
+ /**
176
+ * This function will build an query for users without JS enabled.
177
+ *
178
+ * @return $return string
179
+ * @since 3.7
180
+ */
181
+ public function alm_noscript( $args, $container_element, $css_classes = '', $transition_container_classes = '' ) {
182
+ if ( is_admin() || apply_filters( 'alm_disable_noscript', false ) ) {
183
+ return false;
184
+ }
185
+ include_once( ALM_PATH . 'core/classes/class.alm-noscript.php' ) ; // Load Noscript Class.
186
+ $noscript = ALM_NOSCRIPT::alm_get_noscript( $args, $container_element, $css_classes, $transition_container_classes );
187
+ return $noscript;
188
+ }
189
 
190
+ /**
191
+ * This function will build an pagination for users without JS enabled.
192
+ *
193
+ * @param array $query
194
+ * @return $return string
195
+ * @since 3.7
196
+ */
197
+ public function alm_noscript_pagination( $query ) {
198
+ if ( is_admin() || apply_filters( 'alm_disable_noscript', false ) ) {
199
+ return false;
200
+ }
201
+ include_once( ALM_PATH . 'core/classes/class.alm-noscript.php' ); // Load Noscript Class.
202
+ $noscript = ALM_NOSCRIPT::build_noscript_paging( $query );
203
+ return '<noscript>' . $noscript . '</noscript>';
204
+ }
205
 
206
+ /**
207
+ * Get absolute path to repeater directory base.
208
+ * Multisite installs directories will be `uploads/sites/{id}/alm_templates`.
209
+ *
210
+ * @return $path;
211
+ * @since 3.5
212
+ */
213
+ public static function alm_get_repeater_path() {
214
+ $upload_dir = wp_upload_dir();
215
+ $path = apply_filters( 'alm_repeater_path', $upload_dir['basedir'] . '/alm_templates' );
216
+ return $path;
217
+ }
218
 
219
+ /**
220
+ * Create repeater template directory
221
+ *
222
+ * @param string $dir Directory path.
223
+ * @since 3.5
224
+ */
225
+ public static function alm_mkdir( $dir ) {
226
+ // Does $dir exist?
227
+ if ( ! is_dir( $dir ) ) {
228
+ wp_mkdir_p( $dir );
229
+ // Check again after creating it (permission checker).
230
+ if ( ! is_dir( $dir ) ) {
231
+ echo esc_html__( 'Error creating repeater template directory', 'ajax-load-more' ) . ' - ' . $dir;
232
+ }
233
+ }
234
+ }
235
 
236
+ /**
237
+ * Load these files before the theme loads.
238
+ *
239
+ * @since 2.0.0
240
+ */
241
+ public function alm_includes() {
242
+ include_once ALM_PATH . 'core/functions.php'; // Load Core Functions.
243
+ include_once ALM_PATH . 'core/classes/class.alm-shortcode.php'; // Load Shortcode Class.
244
+ include_once ALM_PATH . 'core/classes/class.alm-woocommerce.php'; // Load Woocommerce Class.
245
+ include_once ALM_PATH . 'core/classes/class.alm-enqueue.php'; // Load Enqueue Class.
246
+ include_once ALM_PATH . 'core/classes/class.alm-queryargs.php'; // Load Query Args Class.
247
+ include_once ALM_PATH . 'core/classes/class.alm-localize.php'; // Load Localize Class.
248
+ include_once ALM_PATH . 'core/integration/elementor/elementor.php';
249
+
250
+ if ( is_admin() ) {
251
+ require_once 'admin/editor/editor.php';
252
+ require_once 'admin/admin.php';
253
+ require_once 'admin/admin-functions.php';
254
+ require_once 'vendor/connekt-plugin-installer/class-connekt-plugin-installer.php';
255
+ if ( ! class_exists( 'EDD_SL_Plugin_Updater' ) ) {
256
+ include( dirname( __FILE__ ) . '/vendor/EDD_SL_Plugin_Updater.php' );
257
+ }
258
+ }
259
+ }
260
 
261
+ /**
262
+ * Returns add-on data (admin/admin-functions.php).
263
+ *
264
+ * @since 2.0.0
265
+ * @return @addons
266
+ */
267
+ public function alm_return_addons() {
268
+ return alm_get_addons();
269
+ }
270
 
271
  /**
272
+ * Add plugin action links to WP plugin screen.
 
273
  *
274
  * @since 2.2.3
275
  */
 
276
  public function alm_action_links( $links ) {
277
  $settings = '<a href="'. get_admin_url(null, 'admin.php?page=ajax-load-more') .'">'.__('Settings', 'ajax-load-more').'</a>';
278
  array_unshift( $links, $settings );
279
  return $links;
280
  }
281
 
282
+ /**
283
+ * Add plugin meta links to WP plugin screen.
284
+ *
285
+ * @since 2.7.2.1
286
+ */
 
 
 
 
287
  public function alm_plugin_meta_links( $links, $file ) {
288
  if ( strpos( $file, 'ajax-load-more.php' ) !== false ) {
289
  $new_links = array(
298
 
299
 
300
  /**
301
+ * Add default image size.
 
302
  *
303
  * @since 2.8.3
304
  */
 
305
  public function alm_image_sizes(){
306
+ add_image_size( 'alm-thumbnail', 150, 150, true );
307
  }
308
 
309
 
310
 
311
+ /**
312
+ * Enqueue scripts and create localized variables.
313
+ *
314
+ * @since 2.0.0
315
+ */
316
+ public function alm_enqueue_scripts() {
 
 
 
 
 
 
 
 
 
 
 
 
 
317
 
318
+ // Get ALM Options.
319
+ $options = get_option( 'alm_settings' );
320
 
321
+ // Core ALM JS.
322
+ $suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min'; // Use minified libraries if SCRIPT_DEBUG is turned off
323
+ wp_register_script( 'ajax-load-more', plugins_url( '/core/dist/js/ajax-load-more'. $suffix .'.js', __FILE__ ), '', ALM_VERSION, true );
324
 
325
+ // LiteSpeed Cache compatability.
326
+ wp_script_add_data( 'ajax-load-more', 'data-no-optimize' , '1' );
327
 
328
+ // Progress Bar JS.
329
+ wp_register_script( 'ajax-load-more-progress', plugins_url( '/vendor/js/pace/pace.min.js', __FILE__ ), 'ajax-load-more', ALM_VERSION, true );
330
 
331
+ // Masonry JS.
332
+ wp_register_script( 'ajax-load-more-masonry', plugins_url( '/vendor/js/masonry/masonry.pkgd.min.js', __FILE__ ), 'ajax-load-more', '4.2.1', true );
 
 
 
333
 
334
+ // Callback Helpers.
335
+ wp_register_script( 'ajax-load-more-legacy-callbacks', plugins_url( '/vendor/js/alm/legacy-callbacks.js', __FILE__ ), 'jquery', ALM_VERSION, false );
336
 
337
+ // Core CSS.
338
+ if( ! alm_do_inline_css( '_alm_inline_css' ) && ! alm_css_disabled( '_alm_disable_css' ) ){ // Not inline or disabled.
339
+ $file = plugins_url( '/core/dist/css/' . ALM_SLUG . '.min.css', __FILE__ );
340
+ ALM_ENQUEUE::alm_enqueue_css( ALM_SLUG, $file );
341
+ }
342
 
343
+ // Localized JS variables.
344
+ wp_localize_script(
345
+ 'ajax-load-more',
346
+ 'alm_localize',
347
+ array(
348
+ 'ajaxurl' => admin_url('admin-ajax.php'),
349
+ 'alm_nonce' => wp_create_nonce( "ajax_load_more_nonce" ),
350
+ 'rest_api' => esc_url_raw( rest_url() ),
351
+ 'rest_nonce' => wp_create_nonce( 'wp_rest' ),
352
+ 'pluginurl' => ALM_URL,
353
+ 'speed' => apply_filters( 'alm_speed', 200 ),
354
+ 'ga_debug' => apply_filters( 'alm_ga_debug', 'false' ),
355
+ 'results_text' => apply_filters( 'alm_display_results', __( 'Viewing {post_count} of {total_posts} results.', 'ajax-load-more' ) ),
356
+ 'no_results_text' => apply_filters( 'alm_no_results_text', __( 'No results found.', 'ajax-load-more' ) ),
357
+ 'alm_debug' => apply_filters( 'alm_debug', false ),
358
+ 'a11y_focus' => apply_filters( 'alm_a11y_focus', true )
359
+ )
360
+ );
 
361
  }
362
 
 
 
363
  /**
364
+ * The AjaxLoadMore shortcode.
 
365
  *
366
  * @since 2.0.0
367
  * @updated 3.2.0
371
  return ALM_SHORTCODE::alm_render_shortcode($atts);
372
  }
373
 
 
 
374
  /**
375
+ * Return the ALM shortcode atts.
 
376
  *
377
  * @since 3.2.0
378
  */
383
 
384
 
385
  /**
386
+ * Core Ajax Load More Query.
 
387
  *
388
  * @since 2.0.0
389
  */
485
  // Get current page number for determining item number
486
  $alm_page_count = ($page == 0) ? 1 : $page + 1;
487
 
 
488
  /*
 
 
489
  * Single Post Add-on hook
490
  * Hijack $args and and return single post only $args
491
  *
493
  */
494
  $args = ($single_post && has_action('alm_single_post_installed')) ? apply_filters('alm_single_post_args', $single_post_id, $postType) : $args;
495
 
 
 
496
  /*
497
+ * ALM Core Query Filter Hook
 
 
498
  *
499
  * @return $args;
500
  * Deprecated 2.10
501
  */
502
+ $args = apply_filters('alm_modify_query_args', $args, $slug);
 
 
503
 
504
  /*
505
+ * ALM Core Query Filter Hook
 
 
506
  *
507
  * @return $args;
508
  */
509
+ $args = apply_filters('alm_query_args_'. $id, $args, $post_id);
 
 
510
 
511
  /*
512
  * Custom `alm_query` parameter in the WP_Query
514
  */
515
  $args['alm_query'] = ($single_post) ? 'single_posts' : 'alm';
516
 
 
 
517
  /*
518
  * WP_Query
519
  *
521
  */
522
  $alm_query = new WP_Query( $args );
523
 
 
 
524
  /*
 
 
525
  * ALM Core Filter Hook to modify the returned query
526
  *
527
  * @return $alm_query;
528
  */
529
  $alm_query = apply_filters('alm_query_after_'. $id, $alm_query, $post_id); // ALM Core Filter Hook
530
 
 
531
  // If preloaded, update our loop count and total posts
532
  if(has_action('alm_preload_installed') && $preloaded === 'true'){
533
  $alm_total_posts = $alm_query->found_posts - $offset + $preloaded_amount;
540
  $alm_loop_count = 0;
541
  }
542
 
 
 
543
  /*
 
 
544
  * Cache Add-on hook
545
  * Create cache directory + info .txt file
546
  *
549
  if(!empty($cache_id) && has_action('alm_cache_create_dir') && $do_create_cache){
550
  apply_filters('alm_cache_create_dir', $cache_id, $canonical_url);
551
 
 
552
  // Filters || WooCommerce Cache Support
553
  if($is_filters && has_filter('alm_cache_create_nested_id')){
554
  $cache_id = apply_filters('alm_cache_create_nested_id', $cache_id);
561
  if($queryType === 'standard'){
562
 
563
  /*
 
 
564
  * ALM Core Filter Hook
565
  *
566
  * @return $alm_query/false;
625
 
626
 
627
  /*
 
 
628
  * Cache Add-on hook
629
  * If Cache is enabled, check the cache file
630
  *
702
 
703
 
704
  /**
 
705
  * The main function responsible for returning the one true AjaxLoadMore instance.
706
  *
707
  * @since 2.0.0
core/classes/class.alm-queryargs.php CHANGED
@@ -7,15 +7,17 @@
7
  * @since 3.7
8
  */
9
 
10
- if (!defined( 'ABSPATH')){
11
  exit;
12
  }
13
 
 
 
14
  if(!class_exists('ALM_QUERY_ARGS')):
15
 
16
  class ALM_QUERY_ARGS {
17
-
18
-
19
  /**
20
  * alm_build_queryargs
21
  * This function will return a generated $args array.
@@ -25,38 +27,38 @@ if(!class_exists('ALM_QUERY_ARGS')):
25
  * @return $args
26
  */
27
 
28
-
29
  public static function alm_build_queryargs($a, $is_ajax = true){
30
-
31
  // Post ID
32
  $id = (isset($a['id'])) ? $a['id'] : '';
33
-
34
  // Post ID
35
  $post_id = (isset($a['post_id'])) ? $a['post_id'] : '';
36
-
37
  // Posts Per Page
38
  $posts_per_page = (isset($a['posts_per_page'])) ? $a['posts_per_page'] : 5;
39
-
40
  // Post Type
41
  if($is_ajax){
42
- $post_type = (isset($a['post_type'])) ? explode(",", $a['post_type']) : 'post';
43
- } else {
44
  $post_type = explode(",", $a['post_type']);
45
- }
46
-
47
  // Format
48
  $post_format = (isset($a['post_format'])) ? $a['post_format'] : '';
49
-
50
  // Category
51
  $category = (isset($a['category'])) ? $a['category'] : '';
52
- $category__and = (isset($a['category__and'])) ? $a['category__and'] : '';
53
  $category__not_in = (isset($a['category__not_in'])) ? $a['category__not_in'] : '';
54
-
55
  // Tags
56
  $tag = (isset($a['tag'])) ? $a['tag'] : '';
57
  $tag__and = (isset($a['tag__and'])) ? $a['tag__and'] : '';
58
  $tag__not_in = (isset($a['tag__not_in'])) ? $a['tag__not_in'] : '';
59
-
60
  // Taxonomy
61
  $taxonomy = (isset($a['taxonomy'])) ? $a['taxonomy'] : '';
62
  $taxonomy_terms = (isset($a['taxonomy_terms'])) ? $a['taxonomy_terms'] : '';
@@ -66,56 +68,56 @@ if(!class_exists('ALM_QUERY_ARGS')):
66
  $taxonomy_relation = (isset($a['taxonomy_relation'])) ? $a['taxonomy_relation'] : 'AND';
67
  if(empty($taxonomy_relation))
68
  $taxonomy_relation = 'AND';
69
-
70
  // Date
71
  $year = (isset($a['year'])) ? $a['year'] : '';
72
  $month = (isset($a['month'])) ? $a['month'] : '';
73
  $day = (isset($a['day'])) ? $a['day'] : '';
74
-
75
  // Custom Fields
76
  $meta_key = (isset($a['meta_key'])) ? $a['meta_key'] : '';
77
  $meta_value = (isset($a['meta_value'])) ? $a['meta_value'] : '';
78
-
79
- $meta_compare = (isset($a['meta_compare'])) ? $a['meta_compare'] : '';
80
- $meta_compare = (empty($meta_compare)) ? 'IN' : $meta_compare;
81
-
82
  $meta_type = (isset($a['meta_type'])) ? $a['meta_type'] : '';
83
  $meta_type = (empty($meta_type)) ? 'CHAR' : $meta_type;
84
-
85
  $meta_relation = (isset($a['meta_relation'])) ? $a['meta_relation'] : '';
86
  $meta_relation = (empty($meta_relation)) ? 'AND' : $meta_relation;
87
-
88
  // Search
89
- $s = (isset($a['search'])) ? $a['search'] : '';
90
-
91
  // Custom Args
92
  $custom_args = (isset($a['custom_args'])) ? $a['custom_args'] : '';
93
-
94
  // Author
95
- $author_id = (isset($a['author'])) ? $a['author'] : '';
96
-
97
  // Ordering
98
  $order = (isset($a['order'])) ? $a['order'] : 'DESC';
99
  $orderby = (isset($a['orderby'])) ? $a['orderby'] : 'date';
100
-
101
  // Sticky, Include, Exclude, Offset, Status
102
  $sticky = (isset($a['sticky_posts'])) ? $a['sticky_posts'] : '';
103
  $sticky = ($sticky === 'true') ? true : false;
104
-
105
  // Post IN
106
- $post__in = (isset($a['post__in'])) ? $a['post__in'] : '';
107
-
108
- // Exclude
109
  $post__not_in = (isset($a['post__not_in'])) ? $a['post__not_in'] : '';
110
- $exclude = (isset($a['exclude'])) ? $a['exclude'] : '';
111
-
112
  // Offset
113
  $offset = (isset($a['offset'])) ? $a['offset'] : 0;
114
-
115
  // Post Status
116
  $post_status = (isset($a['post_status'])) ? $a['post_status'] : 'publish';
117
  if(empty($post_status))
118
- $post_status = 'publish';
119
  if($post_status != 'publish' && $post_status != 'inherit'){
120
  // If not 'publish', confirm user has rights to view these old posts.
121
  if (current_user_can( 'edit_theme_options' )){
@@ -124,11 +126,11 @@ if(!class_exists('ALM_QUERY_ARGS')):
124
  $post_status = 'publish';
125
  }
126
  }
127
-
128
-
129
  // Advanced Custom Fields
130
- // Only used for Relationship Field. Gallery, Repeater and Flex Content is in the ACF extension.
131
- if($is_ajax){
132
  $acf = (isset($a['acf'])) ? true : false;
133
  if($acf){
134
  $acf_post_id = (isset($a['acf']['post_id'])) ? $a['acf']['post_id'] : ''; // Post ID
@@ -136,7 +138,7 @@ if(!class_exists('ALM_QUERY_ARGS')):
136
  $acf_field_name = (isset($a['acf']['field_name'])) ? $a['acf']['field_name'] : ''; // Field Name
137
  $acf_parent_field_name = (isset($a['acf']['parent_field_name'])) ? $a['acf']['parent_field_name'] : ''; // Parent Field Name
138
  }
139
-
140
  } else {
141
  // If Preloaded, $a needs to access acf data differently.
142
  if(isset($a['acf'])){
@@ -148,53 +150,53 @@ if(!class_exists('ALM_QUERY_ARGS')):
148
  }
149
  }
150
  }
151
-
152
-
153
  // Create $args array
154
  $args = array(
155
  'post_type' => $post_type,
156
  'posts_per_page' => $posts_per_page,
157
  'offset' => $offset,
158
  'order' => $order,
159
- 'orderby' => $orderby,
160
- 'post_status' => $post_status,
161
  'ignore_sticky_posts' => true
162
- );
163
-
164
-
165
  // Post Format & Taxonomy
166
  // * Both use tax_query, so we need to combine these queries
167
- if(!empty($post_format) || !empty($taxonomy)){
168
-
169
  $tax_query_total = count(explode(":", $taxonomy)); // Total $taxonomy objects
170
  $taxonomy = explode(":", $taxonomy); // convert to array
171
  $taxonomy_terms = explode(":", $taxonomy_terms); // convert to array
172
- $taxonomy_operator = explode(":", $taxonomy_operator); // convert to array
173
-
174
  if(empty($taxonomy)){
175
-
176
  // Post Format only
177
  $args['tax_query'] = array(
178
  alm_get_post_format($post_format),
179
- );
180
-
181
  }else{
182
-
183
- // Post Formats
184
  $args['tax_query'] = array(
185
  'relation' => $taxonomy_relation,
186
  alm_get_post_format($post_format)
187
- );
188
-
189
- // Loop Taxonomies
190
  for($tax_i = 0; $tax_i < $tax_query_total; $tax_i++){
191
  $args['tax_query'][] = alm_get_taxonomy_query($taxonomy[$tax_i], $taxonomy_terms[$tax_i], $taxonomy_operator[$tax_i]);
192
  }
193
-
194
  }
195
-
196
- }
197
-
198
  // Category
199
  if(!empty($category)){
200
  $args['category_name'] = $category;
@@ -202,48 +204,48 @@ if(!class_exists('ALM_QUERY_ARGS')):
202
  if(!empty($category__and)){
203
  $args['category__and'] = explode(",", $category__and);
204
  }
205
-
206
  // Category Not In
207
  if(!empty($category__not_in)){
208
  $exclude_cats = explode(",",$category__not_in);
209
  $args['category__not_in'] = $exclude_cats;
210
  }
211
-
212
  // Tag
213
  if(!empty($tag)){
214
  $args['tag'] = $tag;
215
- }
216
  if(!empty($tag__and)){
217
  $args['tag__and'] = explode(",", $tag__and);
218
- }
219
-
220
  // Tag Not In
221
  if(!empty($tag__not_in)){
222
  $exclude_tags = explode(",",$tag__not_in);
223
  $args['tag__not_in'] = $exclude_tags;
224
  }
225
-
226
  // Date (not using date_query as there was issue with year/month archives)
227
  if(!empty($year)){
228
  $args['year'] = $year;
229
- }
230
  if(!empty($month)){
231
  $args['monthnum'] = $month;
232
- }
233
  if(!empty($day)){
234
  $args['day'] = $day;
235
- }
236
-
237
  // Meta Query
238
  if(!empty($meta_key) && isset($meta_value) || !empty($meta_key) && $meta_compare !== "IN"){
239
-
240
- // Parse multiple meta query
241
  $meta_query_total = count(explode(":", $meta_key)); // Total meta_query objects
242
  $meta_keys = explode(":", $meta_key); // convert to array
243
  $meta_value = explode(":", $meta_value); // convert to array
244
  $meta_compare = explode(":", $meta_compare); // convert to array
245
  $meta_type = explode(":", $meta_type); // convert to array
246
-
247
  // Loop Meta Query
248
  $args['meta_query'] = array(
249
  'relation' => $meta_relation
@@ -252,7 +254,7 @@ if(!class_exists('ALM_QUERY_ARGS')):
252
  $args['meta_query'][] = alm_get_meta_query($meta_keys[$mq_i], $meta_value[$mq_i], $meta_compare[$mq_i], $meta_type[$mq_i]);
253
  }
254
  }
255
-
256
  // Meta_key, used for ordering by meta value
257
  if(!empty($meta_key)){
258
  if (strpos($orderby, 'meta_value') !== false) { // Only order by meta_key, if $orderby is set to meta_value{_num}
@@ -260,40 +262,40 @@ if(!class_exists('ALM_QUERY_ARGS')):
260
  $args['meta_key'] = $meta_key_single[0];
261
  }
262
  }
263
-
264
  // Author
265
  if(!empty($author_id)){
266
  $args['author'] = $author_id;
267
  }
268
-
269
  // Search Term
270
  if(!empty($s)){
271
  $args['s'] = $s;
272
- }
273
-
274
- // Custom Args
275
  if(!empty($custom_args)){
276
  $custom_args_array = explode(";",$custom_args); // Split the $custom_args at ','
277
- foreach($custom_args_array as $argument){ // Loop each $argument
278
-
279
- $argument = preg_replace('/\s+/', '', $argument); // Remove all whitespace
280
- $argument = explode(":",$argument); // Split the $argument at ':'
281
  $argument_arr = explode(",", $argument[1]); // explode $argument[1] at ','
282
  if(sizeof($argument_arr) > 1){
283
  $args[$argument[0]] = $argument_arr;
284
  }else{
285
- $args[$argument[0]] = $argument[1];
286
  }
287
-
288
  }
289
- }
290
-
291
  // Include posts
292
  if(!empty($post__in)){
293
  $post__in = explode(",",$post__in);
294
  $args['post__in'] = $post__in;
295
- }
296
-
297
  // Exclude posts
298
  if(!empty($post__not_in)){
299
  $post__not_in = explode(",",$post__not_in);
@@ -303,27 +305,27 @@ if(!class_exists('ALM_QUERY_ARGS')):
303
  $exclude = explode(",",$exclude);
304
  $args['post__not_in'] = $exclude;
305
  }
306
-
307
  // Language
308
  if(!empty($lang)){
309
  $args['lang'] = $lang;
310
- }
311
-
312
- // Sticky Posts
313
- if($sticky){
314
- $sticky_posts = get_option( 'sticky_posts' ); // Get all sticky post ids
315
  $sticky_post__not_in = isset($args['post__not_in']) ? $args['post__not_in'] : '';
316
 
317
- if($is_ajax){ // Is an Ajax Query
318
-
319
- $sticky_query_args = $args;
320
-
321
  $sticky_query_args['post__not_in'] = $sticky_posts;
322
  $sticky_query_args['posts_per_page'] = -1;
323
  $sticky_query_args['fields'] = 'ids';
324
-
325
  $sticky_query = new WP_Query($sticky_query_args); // Query all non sticky posts
326
-
327
  // If has sticky and regular posts
328
  if($sticky_posts && $sticky_query->posts){
329
  $standard_posts = $sticky_query->posts;
@@ -333,21 +335,21 @@ if(!class_exists('ALM_QUERY_ARGS')):
333
  $args['orderby'] = 'post__in'; // set orderby to order by post__in.
334
  }
335
  }
336
-
337
  } else { // Preloaded
338
-
339
- // If more sticky posts than $posts_per_page run a secondary query to get posts to fill query.
340
- if(count($sticky_posts) <= $posts_per_page){
341
-
342
  $sticky_query_args = $args;
343
-
344
  $sticky_query_args['post__not_in'] = $sticky_posts;
345
- $sticky_query_args['posts_per_page'] = -1;
346
- $sticky_query_args['fields'] = 'ids';
347
-
348
-
349
- $sticky_query = new WP_Query($sticky_query_args); // Query all non sticky posts
350
-
351
  // If has sticky and regular posts
352
  if($sticky_posts && $sticky_query->posts){
353
  $standard_posts = $sticky_query->posts;
@@ -357,56 +359,56 @@ if(!class_exists('ALM_QUERY_ARGS')):
357
  $args['orderby'] = 'post__in'; // set orderby to order by post__in.
358
  }
359
  }
360
-
361
- }else{
362
- $sticky_ids = $sticky_posts; // Pass get_option('sticky_posts');
363
  }
364
-
365
  // If has sticky posts.
366
  if($sticky_posts){
367
  $args['post__in'] = $sticky_ids;
368
  $args['orderby'] = 'post__in'; // set orderby to order by post__in.
369
  }
370
-
371
  }
372
-
373
- }
374
-
375
-
376
  // Advanced Custom Fields
377
  if(!empty($acf_field_type) && !empty($acf_field_name) && function_exists('get_field')){
378
  if($acf_field_type === 'relationship'){ // Relationship Field
379
  $acf_post_id = (empty($acf_post_id)) ? $post_id : $acf_post_id;
380
  $acf_post_ids = [];
381
-
382
  if(empty($acf_parent_field_name)){
383
  // Get field value from ACF
384
- $acf_post_ids = get_field($acf_field_name, $acf_post_id);
385
  } else {
386
  // Call function in ACF extension
387
  if(function_exists('alm_acf_loop_gallery_rows')){
388
  // Sub Fields
389
  $acf_post_ids = alm_acf_loop_relationship_rows($acf_parent_field_name, $acf_field_name, $acf_post_id);
390
  }
391
- }
392
  $args['post__in'] = ($acf_post_ids) ? $acf_post_ids : array(0);
393
  }
394
- }
395
-
396
  /*
397
  * Custom `alm_id` query parameter in the WP_Query
398
  * This allows pre_get_posts to parse based on ALM ID
399
  * print_r($query->query);
400
- */
401
- $args['alm_id'] = $id;
402
-
403
-
404
  //alm_pretty_print($args);
405
-
406
-
407
  // Return $args
408
  return $args;
409
-
410
- }
411
- }
412
- endif;
7
  * @since 3.7
8
  */
9
 
10
+ if ( ! defined( 'ABSPATH' ) ) {
11
  exit;
12
  }
13
 
14
+ // @codingStandardsIgnoreStart
15
+
16
  if(!class_exists('ALM_QUERY_ARGS')):
17
 
18
  class ALM_QUERY_ARGS {
19
+
20
+
21
  /**
22
  * alm_build_queryargs
23
  * This function will return a generated $args array.
27
  * @return $args
28
  */
29
 
30
+
31
  public static function alm_build_queryargs($a, $is_ajax = true){
32
+
33
  // Post ID
34
  $id = (isset($a['id'])) ? $a['id'] : '';
35
+
36
  // Post ID
37
  $post_id = (isset($a['post_id'])) ? $a['post_id'] : '';
38
+
39
  // Posts Per Page
40
  $posts_per_page = (isset($a['posts_per_page'])) ? $a['posts_per_page'] : 5;
41
+
42
  // Post Type
43
  if($is_ajax){
44
+ $post_type = (isset($a['post_type'])) ? explode(",", $a['post_type']) : 'post';
45
+ } else {
46
  $post_type = explode(",", $a['post_type']);
47
+ }
48
+
49
  // Format
50
  $post_format = (isset($a['post_format'])) ? $a['post_format'] : '';
51
+
52
  // Category
53
  $category = (isset($a['category'])) ? $a['category'] : '';
54
+ $category__and = (isset($a['category__and'])) ? $a['category__and'] : '';
55
  $category__not_in = (isset($a['category__not_in'])) ? $a['category__not_in'] : '';
56
+
57
  // Tags
58
  $tag = (isset($a['tag'])) ? $a['tag'] : '';
59
  $tag__and = (isset($a['tag__and'])) ? $a['tag__and'] : '';
60
  $tag__not_in = (isset($a['tag__not_in'])) ? $a['tag__not_in'] : '';
61
+
62
  // Taxonomy
63
  $taxonomy = (isset($a['taxonomy'])) ? $a['taxonomy'] : '';
64
  $taxonomy_terms = (isset($a['taxonomy_terms'])) ? $a['taxonomy_terms'] : '';
68
  $taxonomy_relation = (isset($a['taxonomy_relation'])) ? $a['taxonomy_relation'] : 'AND';
69
  if(empty($taxonomy_relation))
70
  $taxonomy_relation = 'AND';
71
+
72
  // Date
73
  $year = (isset($a['year'])) ? $a['year'] : '';
74
  $month = (isset($a['month'])) ? $a['month'] : '';
75
  $day = (isset($a['day'])) ? $a['day'] : '';
76
+
77
  // Custom Fields
78
  $meta_key = (isset($a['meta_key'])) ? $a['meta_key'] : '';
79
  $meta_value = (isset($a['meta_value'])) ? $a['meta_value'] : '';
80
+
81
+ $meta_compare = (isset($a['meta_compare'])) ? $a['meta_compare'] : '';
82
+ $meta_compare = (empty($meta_compare)) ? 'IN' : $meta_compare;
83
+
84
  $meta_type = (isset($a['meta_type'])) ? $a['meta_type'] : '';
85
  $meta_type = (empty($meta_type)) ? 'CHAR' : $meta_type;
86
+
87
  $meta_relation = (isset($a['meta_relation'])) ? $a['meta_relation'] : '';
88
  $meta_relation = (empty($meta_relation)) ? 'AND' : $meta_relation;
89
+
90
  // Search
91
+ $s = (isset($a['search'])) ? $a['search'] : '';
92
+
93
  // Custom Args
94
  $custom_args = (isset($a['custom_args'])) ? $a['custom_args'] : '';
95
+
96
  // Author
97
+ $author_id = (isset($a['author'])) ? $a['author'] : '';
98
+
99
  // Ordering
100
  $order = (isset($a['order'])) ? $a['order'] : 'DESC';
101
  $orderby = (isset($a['orderby'])) ? $a['orderby'] : 'date';
102
+
103
  // Sticky, Include, Exclude, Offset, Status
104
  $sticky = (isset($a['sticky_posts'])) ? $a['sticky_posts'] : '';
105
  $sticky = ($sticky === 'true') ? true : false;
106
+
107
  // Post IN
108
+ $post__in = (isset($a['post__in'])) ? $a['post__in'] : '';
109
+
110
+ // Exclude
111
  $post__not_in = (isset($a['post__not_in'])) ? $a['post__not_in'] : '';
112
+ $exclude = (isset($a['exclude'])) ? $a['exclude'] : '';
113
+
114
  // Offset
115
  $offset = (isset($a['offset'])) ? $a['offset'] : 0;
116
+
117
  // Post Status
118
  $post_status = (isset($a['post_status'])) ? $a['post_status'] : 'publish';
119
  if(empty($post_status))
120
+ $post_status = 'publish';
121
  if($post_status != 'publish' && $post_status != 'inherit'){
122
  // If not 'publish', confirm user has rights to view these old posts.
123
  if (current_user_can( 'edit_theme_options' )){
126
  $post_status = 'publish';
127
  }
128
  }
129
+
130
+
131
  // Advanced Custom Fields
132
+ // Only used for Relationship Field. Gallery, Repeater and Flex Content is in the ACF extension.
133
+ if($is_ajax){
134
  $acf = (isset($a['acf'])) ? true : false;
135
  if($acf){
136
  $acf_post_id = (isset($a['acf']['post_id'])) ? $a['acf']['post_id'] : ''; // Post ID
138
  $acf_field_name = (isset($a['acf']['field_name'])) ? $a['acf']['field_name'] : ''; // Field Name
139
  $acf_parent_field_name = (isset($a['acf']['parent_field_name'])) ? $a['acf']['parent_field_name'] : ''; // Parent Field Name
140
  }
141
+
142
  } else {
143
  // If Preloaded, $a needs to access acf data differently.
144
  if(isset($a['acf'])){
150
  }
151
  }
152
  }
153
+
154
+
155
  // Create $args array
156
  $args = array(
157
  'post_type' => $post_type,
158
  'posts_per_page' => $posts_per_page,
159
  'offset' => $offset,
160
  'order' => $order,
161
+ 'orderby' => $orderby,
162
+ 'post_status' => $post_status,
163
  'ignore_sticky_posts' => true
164
+ );
165
+
166
+
167
  // Post Format & Taxonomy
168
  // * Both use tax_query, so we need to combine these queries
169
+ if(!empty($post_format) || !empty($taxonomy)){
170
+
171
  $tax_query_total = count(explode(":", $taxonomy)); // Total $taxonomy objects
172
  $taxonomy = explode(":", $taxonomy); // convert to array
173
  $taxonomy_terms = explode(":", $taxonomy_terms); // convert to array
174
+ $taxonomy_operator = explode(":", $taxonomy_operator); // convert to array
175
+
176
  if(empty($taxonomy)){
177
+
178
  // Post Format only
179
  $args['tax_query'] = array(
180
  alm_get_post_format($post_format),
181
+ );
182
+
183
  }else{
184
+
185
+ // Post Formats
186
  $args['tax_query'] = array(
187
  'relation' => $taxonomy_relation,
188
  alm_get_post_format($post_format)
189
+ );
190
+
191
+ // Loop Taxonomies
192
  for($tax_i = 0; $tax_i < $tax_query_total; $tax_i++){
193
  $args['tax_query'][] = alm_get_taxonomy_query($taxonomy[$tax_i], $taxonomy_terms[$tax_i], $taxonomy_operator[$tax_i]);
194
  }
195
+
196
  }
197
+
198
+ }
199
+
200
  // Category
201
  if(!empty($category)){
202
  $args['category_name'] = $category;
204
  if(!empty($category__and)){
205
  $args['category__and'] = explode(",", $category__and);
206
  }
207
+
208
  // Category Not In
209
  if(!empty($category__not_in)){
210
  $exclude_cats = explode(",",$category__not_in);
211
  $args['category__not_in'] = $exclude_cats;
212
  }
213
+
214
  // Tag
215
  if(!empty($tag)){
216
  $args['tag'] = $tag;
217
+ }
218
  if(!empty($tag__and)){
219
  $args['tag__and'] = explode(",", $tag__and);
220
+ }
221
+
222
  // Tag Not In
223
  if(!empty($tag__not_in)){
224
  $exclude_tags = explode(",",$tag__not_in);
225
  $args['tag__not_in'] = $exclude_tags;
226
  }
227
+
228
  // Date (not using date_query as there was issue with year/month archives)
229
  if(!empty($year)){
230
  $args['year'] = $year;
231
+ }
232
  if(!empty($month)){
233
  $args['monthnum'] = $month;
234
+ }
235
  if(!empty($day)){
236
  $args['day'] = $day;
237
+ }
238
+
239
  // Meta Query
240
  if(!empty($meta_key) && isset($meta_value) || !empty($meta_key) && $meta_compare !== "IN"){
241
+
242
+ // Parse multiple meta query
243
  $meta_query_total = count(explode(":", $meta_key)); // Total meta_query objects
244
  $meta_keys = explode(":", $meta_key); // convert to array
245
  $meta_value = explode(":", $meta_value); // convert to array
246
  $meta_compare = explode(":", $meta_compare); // convert to array
247
  $meta_type = explode(":", $meta_type); // convert to array
248
+
249
  // Loop Meta Query
250
  $args['meta_query'] = array(
251
  'relation' => $meta_relation
254
  $args['meta_query'][] = alm_get_meta_query($meta_keys[$mq_i], $meta_value[$mq_i], $meta_compare[$mq_i], $meta_type[$mq_i]);
255
  }
256
  }
257
+
258
  // Meta_key, used for ordering by meta value
259
  if(!empty($meta_key)){
260
  if (strpos($orderby, 'meta_value') !== false) { // Only order by meta_key, if $orderby is set to meta_value{_num}
262
  $args['meta_key'] = $meta_key_single[0];
263
  }
264
  }
265
+
266
  // Author
267
  if(!empty($author_id)){
268
  $args['author'] = $author_id;
269
  }
270
+
271
  // Search Term
272
  if(!empty($s)){
273
  $args['s'] = $s;
274
+ }
275
+
276
+ // Custom Args
277
  if(!empty($custom_args)){
278
  $custom_args_array = explode(";",$custom_args); // Split the $custom_args at ','
279
+ foreach($custom_args_array as $argument){ // Loop each $argument
280
+
281
+ $argument = preg_replace('/\s+/', '', $argument); // Remove all whitespace
282
+ $argument = explode(":",$argument); // Split the $argument at ':'
283
  $argument_arr = explode(",", $argument[1]); // explode $argument[1] at ','
284
  if(sizeof($argument_arr) > 1){
285
  $args[$argument[0]] = $argument_arr;
286
  }else{
287
+ $args[$argument[0]] = $argument[1];
288
  }
289
+
290
  }
291
+ }
292
+
293
  // Include posts
294
  if(!empty($post__in)){
295
  $post__in = explode(",",$post__in);
296
  $args['post__in'] = $post__in;
297
+ }
298
+
299
  // Exclude posts
300
  if(!empty($post__not_in)){
301
  $post__not_in = explode(",",$post__not_in);
305
  $exclude = explode(",",$exclude);
306
  $args['post__not_in'] = $exclude;
307
  }
308
+
309
  // Language
310
  if(!empty($lang)){
311
  $args['lang'] = $lang;
312
+ }
313
+
314
+ // Sticky Posts
315
+ if($sticky){
316
+ $sticky_posts = get_option( 'sticky_posts' ); // Get all sticky post ids
317
  $sticky_post__not_in = isset($args['post__not_in']) ? $args['post__not_in'] : '';
318
 
319
+ if($is_ajax){ // Is an Ajax Query
320
+
321
+ $sticky_query_args = $args;
322
+
323
  $sticky_query_args['post__not_in'] = $sticky_posts;
324
  $sticky_query_args['posts_per_page'] = -1;
325
  $sticky_query_args['fields'] = 'ids';
326
+
327
  $sticky_query = new WP_Query($sticky_query_args); // Query all non sticky posts
328
+
329
  // If has sticky and regular posts
330
  if($sticky_posts && $sticky_query->posts){
331
  $standard_posts = $sticky_query->posts;
335
  $args['orderby'] = 'post__in'; // set orderby to order by post__in.
336
  }
337
  }
338
+
339
  } else { // Preloaded
340
+
341
+ // If more sticky posts than $posts_per_page run a secondary query to get posts to fill query.
342
+ if(count($sticky_posts) <= $posts_per_page){
343
+
344
  $sticky_query_args = $args;
345
+
346
  $sticky_query_args['post__not_in'] = $sticky_posts;
347
+ $sticky_query_args['posts_per_page'] = -1;
348
+ $sticky_query_args['fields'] = 'ids';
349
+
350
+
351
+ $sticky_query = new WP_Query($sticky_query_args); // Query all non sticky posts
352
+
353
  // If has sticky and regular posts
354
  if($sticky_posts && $sticky_query->posts){
355
  $standard_posts = $sticky_query->posts;
359
  $args['orderby'] = 'post__in'; // set orderby to order by post__in.
360
  }
361
  }
362
+
363
+ }else{
364
+ $sticky_ids = $sticky_posts; // Pass get_option('sticky_posts');
365
  }
366
+
367
  // If has sticky posts.
368
  if($sticky_posts){
369
  $args['post__in'] = $sticky_ids;
370
  $args['orderby'] = 'post__in'; // set orderby to order by post__in.
371
  }
372
+
373
  }
374
+
375
+ }
376
+
377
+
378
  // Advanced Custom Fields
379
  if(!empty($acf_field_type) && !empty($acf_field_name) && function_exists('get_field')){
380
  if($acf_field_type === 'relationship'){ // Relationship Field
381
  $acf_post_id = (empty($acf_post_id)) ? $post_id : $acf_post_id;
382
  $acf_post_ids = [];
383
+
384
  if(empty($acf_parent_field_name)){
385
  // Get field value from ACF
386
+ $acf_post_ids = get_field($acf_field_name, $acf_post_id);
387
  } else {
388
  // Call function in ACF extension
389
  if(function_exists('alm_acf_loop_gallery_rows')){
390
  // Sub Fields
391
  $acf_post_ids = alm_acf_loop_relationship_rows($acf_parent_field_name, $acf_field_name, $acf_post_id);
392
  }
393
+ }
394
  $args['post__in'] = ($acf_post_ids) ? $acf_post_ids : array(0);
395
  }
396
+ }
397
+
398
  /*
399
  * Custom `alm_id` query parameter in the WP_Query
400
  * This allows pre_get_posts to parse based on ALM ID
401
  * print_r($query->query);
402
+ */
403
+ $args['alm_id'] = $id;
404
+
405
+
406
  //alm_pretty_print($args);
407
+
408
+
409
  // Return $args
410
  return $args;
411
+
412
+ }
413
+ }
414
+ endif;
core/classes/class.alm-shortcode.php CHANGED
@@ -1,4 +1,6 @@
1
  <?php
 
 
2
  /**
3
  * Ajax Load More Shortcode.
4
  * Returns [ajax_load_more {params}] shortcode.
@@ -124,6 +126,7 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
124
  'single_post' => false,
125
  'single_post_id' => '',
126
  'single_post_order' => 'previous',
 
127
  'single_post_taxonomy' => '',
128
  'single_post_excluded_terms' => '',
129
  'single_post_progress_bar' => '',
@@ -200,7 +203,7 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
200
  'progress_bar' => 'false',
201
  'progress_bar_color' => 'ed7070',
202
  'images_loaded' => 'false',
203
- 'button_label' => apply_filters( 'alm_button_label', __( 'Older Posts', 'ajax-load-more' ) ),
204
  'button_loading_label' => '',
205
  'button_done_label' => '',
206
  'container_type' => '',
@@ -215,6 +218,10 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
215
  'elementor' => false,
216
  'elementor_target' => '',
217
  'elementor_url' => '',
 
 
 
 
218
  ), $atts) );
219
 
220
  // Elementor.
@@ -337,7 +344,8 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
337
  }
338
 
339
  // Elementor
340
- if(has_action('alm_elementor_installed') && $elementor === 'posts'){
 
341
  wp_enqueue_script( 'ajax-load-more-elementor' );
342
  }
343
 
@@ -986,18 +994,17 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
986
 
987
  // Single Posts Add-on
988
  if(has_action('alm_single_post_installed') && $single_post){
989
-
990
- // Get post ID if null
991
  if(!$single_post_id){
992
  global $post;
993
  $single_post_id = $post->ID;
994
- }
995
-
996
  if($single_post_target){
997
  $offset = 1;
998
  $pause = "true";
999
- }
1000
-
1001
  $single_post_return = apply_filters(
1002
  'alm_single_post_shortcode',
1003
  $single_post_id,
@@ -1006,7 +1013,9 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
1006
  $single_post_excluded_terms,
1007
  $single_post_progress_bar,
1008
  $options,
1009
- $single_post_target
 
 
1010
  );
1011
  $ajaxloadmore .= $single_post_return;
1012
  }
@@ -1043,19 +1052,24 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
1043
 
1044
  // Woocommerce Add-on
1045
  if( $woo && has_action('alm_woocommerce_shortcode') && in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option('active_plugins'))) ){
1046
- //apply_filters('alm_woocommerce_init', $localize_id, $query_args);
1047
  $woo_return = apply_filters( 'alm_woocommerce_shortcode', $localize_id, $query_args );
1048
  $ajaxloadmore .= $woo_return;
1049
  }
1050
 
1051
- // Elementor Add-on
 
1052
  if( $elementor === 'posts' && $elementor_target && has_action('alm_elementor_params') && in_array( 'elementor-pro/elementor-pro.php', apply_filters( 'active_plugins', get_option('active_plugins'))) ){
1053
  $elementor_params = array(
1054
- 'target' => $elementor_target,
1055
- 'url' => $elementor_url,
 
 
 
1056
  );
1057
- ALM_LOCALIZE::add_localized_var( 'elementor', apply_filters('alm_elementor_params', $elementor_params), $localize_id );
1058
- $ajaxloadmore .= ' data-elementor="posts"';
 
 
1059
  }
1060
 
1061
  $ajaxloadmore .= ' data-container-type="'.$container_element.'"';
@@ -1266,7 +1280,6 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
1266
 
1267
  /*
1268
  * alm_noscript (Generates <noscript/> element of current query)
1269
- *
1270
  * ALM Core Filter Hook
1271
  *
1272
  * @return html;
@@ -1280,22 +1293,20 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
1280
 
1281
 
1282
  /*
1283
- * alm_before_button
1284
- *
1285
  * ALM Core Filter Hook
1286
  *
1287
  * @return html;
1288
  */
1289
- $ajaxloadmore .= apply_filters('alm_before_button', '');
1290
 
1291
 
1292
  // Create Load More button
1293
- $ajaxloadmore .= self::alm_render_button($seo, $paging, $button_classname, $button_label, $canonicalURL);
1294
 
1295
 
1296
  /*
1297
- * alm_after_button
1298
- *
1299
  * ALM Core Filter Hook
1300
  *
1301
  * @return html;
@@ -1375,10 +1386,14 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
1375
  * @since 3.3.2
1376
  * @return $html
1377
  */
1378
- public static function alm_render_button($seo, $paging, $button_classname, $button_label, $canonicalURL){
1379
 
1380
  $html = '<div class="alm-btn-wrap" style="visibility: hidden;">';
1381
  if($paging !== 'true'){
 
 
 
 
1382
  $btn_element = 'button';
1383
  $btn_href = '';
1384
  $btn_rel = ' rel="next"';
1
  <?php
2
+ // @codingStandardsIgnoreStart
3
+
4
  /**
5
  * Ajax Load More Shortcode.
6
  * Returns [ajax_load_more {params}] shortcode.
126
  'single_post' => false,
127
  'single_post_id' => '',
128
  'single_post_order' => 'previous',
129
+ 'single_post_query_order' => 'previous',
130
  'single_post_taxonomy' => '',
131
  'single_post_excluded_terms' => '',
132
  'single_post_progress_bar' => '',
203
  'progress_bar' => 'false',
204
  'progress_bar_color' => 'ed7070',
205
  'images_loaded' => 'false',
206
+ 'button_label' => apply_filters( 'alm_button_label', __( 'Load More', 'ajax-load-more' ) ),
207
  'button_loading_label' => '',
208
  'button_done_label' => '',
209
  'container_type' => '',
218
  'elementor' => false,
219
  'elementor_target' => '',
220
  'elementor_url' => '',
221
+ 'elementor_link_label' => '',
222
+ 'elementor_controls' => '',
223
+ 'elementor_scrolltop' => '',
224
+ 'elementor_paged' => ( ! get_query_var( 'page' ) || get_query_var( 'page' ) == 0 ) ? 1 : (int) get_query_var( 'page' )
225
  ), $atts) );
226
 
227
  // Elementor.
344
  }
345
 
346
  // Elementor
347
+ if(has_action('alm_elementor_installed') && $elementor === 'posts' && $elementor_url === 'true'){
348
+ // Only load external script if URLs are set to true
349
  wp_enqueue_script( 'ajax-load-more-elementor' );
350
  }
351
 
994
 
995
  // Single Posts Add-on
996
  if(has_action('alm_single_post_installed') && $single_post){
997
+ // Get post ID if null.
 
998
  if(!$single_post_id){
999
  global $post;
1000
  $single_post_id = $post->ID;
1001
+ }
1002
+ // Check for target element.
1003
  if($single_post_target){
1004
  $offset = 1;
1005
  $pause = "true";
1006
+ }
1007
+ // Build Shortcode
1008
  $single_post_return = apply_filters(
1009
  'alm_single_post_shortcode',
1010
  $single_post_id,
1013
  $single_post_excluded_terms,
1014
  $single_post_progress_bar,
1015
  $options,
1016
+ $single_post_target,
1017
+ $single_post_query_order,
1018
+ $query_args
1019
  );
1020
  $ajaxloadmore .= $single_post_return;
1021
  }
1052
 
1053
  // Woocommerce Add-on
1054
  if( $woo && has_action('alm_woocommerce_shortcode') && in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option('active_plugins'))) ){
 
1055
  $woo_return = apply_filters( 'alm_woocommerce_shortcode', $localize_id, $query_args );
1056
  $ajaxloadmore .= $woo_return;
1057
  }
1058
 
1059
+ // Elementor Add-on
1060
+ $elementor_page_link = '';
1061
  if( $elementor === 'posts' && $elementor_target && has_action('alm_elementor_params') && in_array( 'elementor-pro/elementor-pro.php', apply_filters( 'active_plugins', get_option('active_plugins'))) ){
1062
  $elementor_params = array(
1063
+ 'target' => $elementor_target,
1064
+ 'url' => $elementor_url,
1065
+ 'paged' => $elementor_paged,
1066
+ 'controls' => $elementor_controls,
1067
+ 'scrolltop' => $elementor_scrolltop,
1068
  );
1069
+ $elementor_page_link = apply_filters( 'alm_elementor_page_link', $elementor_paged, $elementor_link_label);
1070
+ $elementor_return = apply_filters( 'alm_elementor_params', $elementor_params );
1071
+ $ajaxloadmore .= ' data-elementor="posts"';
1072
+ $ajaxloadmore .= $elementor_return;
1073
  }
1074
 
1075
  $ajaxloadmore .= ' data-container-type="'.$container_element.'"';
1280
 
1281
  /*
1282
  * alm_noscript (Generates <noscript/> element of current query)
 
1283
  * ALM Core Filter Hook
1284
  *
1285
  * @return html;
1293
 
1294
 
1295
  /*
1296
+ * Before Button
 
1297
  * ALM Core Filter Hook
1298
  *
1299
  * @return html;
1300
  */
1301
+ $ajaxloadmore .= apply_filters('alm_before_button', '');
1302
 
1303
 
1304
  // Create Load More button
1305
+ $ajaxloadmore .= self::alm_render_button($seo, $paging, $button_classname, $button_label, $canonicalURL, $elementor_page_link);
1306
 
1307
 
1308
  /*
1309
+ * After Button
 
1310
  * ALM Core Filter Hook
1311
  *
1312
  * @return html;
1386
  * @since 3.3.2
1387
  * @return $html
1388
  */
1389
+ public static function alm_render_button($seo, $paging, $button_classname, $button_label, $canonicalURL, $elementor_page_link){
1390
 
1391
  $html = '<div class="alm-btn-wrap" style="visibility: hidden;">';
1392
  if($paging !== 'true'){
1393
+
1394
+ // Elementor Page Link
1395
+ $html .= ! empty( $elementor_page_link ) ? $elementor_page_link : '';
1396
+
1397
  $btn_element = 'button';
1398
  $btn_href = '';
1399
  $btn_rel = ' rel="next"';
core/classes/includes/preloaded.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
-
3
  // Get preloaded posts and append to alm object
4
 
5
 
@@ -15,7 +15,7 @@ $alm_reveal = '<div class="alm-reveal alm-preloaded'. $transition_container_clas
15
  // If $seo or $filters, set $preloaded_amount to $posts_per_page
16
  if((has_action('alm_seo_installed') && $seo === 'true' && !$users) || $filters){
17
  $preloaded_amount = $posts_per_page;
18
- }
19
 
20
 
21
  // Paging Add-on
@@ -35,9 +35,9 @@ if($cta){
35
  if($cta_pos != 'after'){
36
  $cta_pos = 'before';
37
  }
38
- }
 
39
 
40
-
41
  // Modify $query_args with new offset and posts_per_page
42
  $query_args['offset'] = $preload_offset;
43
  $query_args['posts_per_page'] = $preloaded_amount;
@@ -49,7 +49,7 @@ $type = alm_get_repeater_type($repeater);
49
 
50
  // Tabs
51
  if($tabs){
52
-
53
  /*
54
  * alm_tabs_preloaded
55
  * Preloaded Tabs Filter
@@ -60,11 +60,11 @@ if($tabs){
60
  $preloaded_output .= $alm_reveal;
61
  $preloaded_output .= $preloaded_tabs;
62
  $preloaded_output .= '</div>';
63
-
64
  }
65
 
66
  // Comments
67
- elseif($comments){
68
 
69
  if(has_action('alm_comments_installed') && $comments){
70
 
@@ -75,22 +75,22 @@ elseif($comments){
75
  * @return $preloaded_comments;
76
  */
77
  $preloaded_comments = apply_filters('alm_comments_preloaded', $query_args); // located in comments add-on
78
-
79
  $total_comments = wp_count_comments( $comments_post_id );
80
-
81
  // Add localized ALM JS variables
82
  ALM_LOCALIZE::add_localized_var('total_posts', $total_comments->approved, $localize_id);
83
-
84
- $post_count = ($total_comments->approved > $preloaded_amount) ? $preloaded_amount : $total_comments->approved;
85
  ALM_LOCALIZE::add_localized_var('post_count', $post_count, $localize_id);
86
-
87
-
88
- // Open .alm-reveal
89
  $preloaded_output .= $alm_reveal;
90
-
91
  // Append content
92
  $preloaded_output .= $preloaded_comments;
93
-
94
  // Close .alm-reveal
95
  $preloaded_output .= '</div>';
96
  }
@@ -98,17 +98,17 @@ elseif($comments){
98
  }
99
 
100
  // Users
101
- elseif($users){
102
-
103
- if(has_action('alm_users_preloaded') && $users){
104
-
105
  // Encrypt User Role
106
  if(!empty($users_role) && function_exists('alm_role_encrypt')){
107
  $query_args['users_role'] = alm_role_encrypt($users_role);
108
  }
109
-
110
-
111
-
112
  /*
113
  * alm_users_preloaded
114
  *
@@ -117,43 +117,43 @@ elseif($users){
117
  * @return $preloaded_users;
118
  */
119
  $preloaded_users = apply_filters('alm_users_preloaded', $query_args, $preloaded_amount, $repeater, $theme_repeater); // located in Users add-on
120
-
121
  $preloaded_users_data = $preloaded_users['data'];
122
  $preloaded_users_total = $preloaded_users['total'];
123
-
124
-
125
  // Add localized ALM JS variables
126
  ALM_LOCALIZE::add_localized_var('total_posts', $preloaded_users_total, $localize_id);
127
-
128
- $post_count = ($preloaded_users_total > $preloaded_amount) ? $preloaded_amount : $preloaded_users_total;
129
  ALM_LOCALIZE::add_localized_var('post_count', $post_count, $localize_id);
130
-
131
-
132
  // Open .alm-reveal
133
-
134
  if($seo === 'true'){
135
  $alm_reveal = '<div class="alm-reveal alm-seo alm-preloaded'. $transition_container_classes .'" data-page="1" data-url="'.$canonicalURL.'">';
136
  }
137
-
138
-
139
- // Open .alm-reveal
140
  $preloaded_output .= $alm_reveal;
141
-
142
  // Append content
143
  $preloaded_output .= $preloaded_users_data;
144
-
145
  // Close .alm-reveal
146
  $preloaded_output .= ($seo === "true" || $transition_container_classes !== 'false') ? '</div>' : '';
147
-
148
  }
149
  }
150
 
151
  // Term Query
152
- elseif($term_query){
153
-
154
- if(has_action('alm_terms_preloaded') && $term_query){
155
-
156
-
157
  /*
158
  * alm_terms_preloaded
159
  *
@@ -162,37 +162,37 @@ elseif($term_query){
162
  * @return $preloaded_users;
163
  */
164
  $preloaded_terms = apply_filters('alm_terms_preloaded', $query_args, $preloaded_amount, $repeater, $theme_repeater); // located in Terms extension
165
-
166
  $preloaded_terms_data = $preloaded_terms['data'];
167
  $preloaded_terms_total = $preloaded_terms['total'];
168
-
169
-
170
  // Add localized ALM JS variables
171
  ALM_LOCALIZE::add_localized_var('total_posts', $preloaded_terms_total, $localize_id);
172
-
173
- $post_count = ($preloaded_terms_total > $preloaded_amount) ? $preloaded_amount : $preloaded_terms_total;
174
- ALM_LOCALIZE::add_localized_var('post_count', $post_count, $localize_id);
175
-
176
-
177
- // Open .alm-reveal
178
  if($seo === 'true'){
179
  $alm_reveal = '<div class="alm-reveal alm-seo alm-preloaded'. $transition_container_classes .'" data-page="1" data-url="'.$canonicalURL.'">';
180
  }
181
-
182
- // Open .alm-reveal
183
  $preloaded_output .= $alm_reveal;
184
-
185
  // Append content
186
  $preloaded_output .= $preloaded_terms_data;
187
-
188
  // Close .alm-reveal
189
  $preloaded_output .= ($seo === "true" || $transition_container_classes !== 'false') ? '</div>' : '';
190
-
191
  }
192
  }
193
 
194
  // Advanced Custom Fields (Repeater, Gallery, Flex Content
195
- elseif($acf && ($acf_field_type !== 'relationship')){
196
 
197
  if(has_action('alm_acf_installed') && $acf){
198
 
@@ -203,26 +203,26 @@ elseif($acf && ($acf_field_type !== 'relationship')){
203
  * @return $preloaded_acf;
204
  */
205
  $preloaded_acf = apply_filters('alm_acf_preloaded', $query_args, $repeater, $theme_repeater); //located in ACF add-on
206
-
207
-
208
- // Add total_posts to localized ALM JS variables
209
  $acf_total_rows = apply_filters('alm_acf_total_rows', $query_args);
210
  ALM_LOCALIZE::add_localized_var('total_posts', $acf_total_rows, $localize_id);
211
-
212
- $post_count = ($acf_total_rows > $preloaded_amount) ? $preloaded_amount : $acf_total_rows;
213
- ALM_LOCALIZE::add_localized_var('post_count', $post_count, $localize_id);
214
-
215
  // Open .alm-reveal
216
  if($seo === 'true'){
217
  $alm_reveal = '<div class="alm-reveal alm-seo alm-preloaded'. $transition_container_classes .'" data-page="1" data-url="'.$canonicalURL.'">';
218
  }
219
-
220
- // Open .alm-reveal
221
  $preloaded_output .= $alm_reveal;
222
-
223
  // Append content
224
  $preloaded_output .= $preloaded_acf;
225
-
226
  // Close .alm-reveal
227
  $preloaded_output .= ($seo === "true" || $transition_container_classes !== 'false') ? '</div>' : '';
228
 
@@ -231,11 +231,11 @@ elseif($acf && ($acf_field_type !== 'relationship')){
231
  }
232
 
233
  // Standard ALM
234
- else {
235
-
236
  /*
237
  * alm_get_queryargs
238
- * This function will return an $args array for the ALM WP_Query
239
  *
240
  * @return $args;
241
  * @since in 3.7
@@ -248,13 +248,13 @@ else {
248
  /*
249
  * alm_modify_query_args
250
  *
251
- * ALM Core Filter Hook
252
  *
253
  * @return $args;
254
  * Deprecated 2.10
255
  */
256
  $args = apply_filters('alm_modify_query_args', $args, $slug);
257
-
258
 
259
  /*
260
  * alm_query_args_[id]
@@ -264,16 +264,16 @@ else {
264
  * @return $args;
265
  */
266
  $args = apply_filters('alm_query_args_'. $id, $args, $post_id);
267
-
268
-
269
  /*
270
  * WP_Query
271
  *
272
  * @return $alm_preload_query;
273
- */
274
  $alm_preload_query = new WP_Query($args);
275
-
276
-
277
  /*
278
  * alm_query_after_{id}
279
  *
@@ -282,94 +282,95 @@ else {
282
  * @return $alm_query;
283
  */
284
  $alm_preload_query = apply_filters('alm_query_after_'. $id, $alm_preload_query, $post_id); // ALM Core Filter Hook
285
-
286
- $alm_total_posts = $alm_preload_query->found_posts - $offset;
287
  $alm_post_count = $alm_preload_query->post_count;
288
-
289
  $output = '';
290
 
291
  if ($alm_preload_query->have_posts()) :
292
-
293
  $alm_item = $alm_page = $alm_current = 0;
294
  $alm_found_posts = $alm_total_posts;
295
-
296
-
297
- // Filters Wrap [Open]
298
- if($filters && has_filter('alm_filters_reveal_open')){
299
  $output .= apply_filters('alm_filters_reveal_open', $transition_container_classes, $canonicalURL, true, $alm_preload_query->found_posts);
300
  }
301
-
302
  while ($alm_preload_query->have_posts()) : $alm_preload_query->the_post();
303
 
304
- $alm_item++;
305
- $alm_current++;
306
-
307
- // Call to Action [Before]
308
- if($cta === 'true' && has_action('alm_cta_inc') && $cta_pos === 'before'){
309
- $output .= ($alm_current == $cta_val) ? apply_filters('alm_cta_inc', $cta_repeater, $cta_theme_repeater, $alm_found_posts, $alm_page, $alm_item, $alm_current, true) : '';
310
- }
311
-
312
- // Repeater Template
313
- $output .= alm_loop($repeater, $type, $theme_repeater, $alm_found_posts, $alm_page, $alm_item, $alm_current);
314
-
315
- // Call to Action [After]
316
- if($cta === 'true' && has_action('alm_cta_inc') && $cta_pos === 'after'){
317
- $output .= ($alm_current == $cta_val) ? apply_filters('alm_cta_inc', $cta_repeater, $cta_theme_repeater, $alm_found_posts, $alm_page, $alm_item, $alm_current, true) : '';
318
- }
319
-
320
- endwhile; wp_reset_query();
321
-
322
-
 
323
  // Filters Wrap [close]
324
- if($filters && has_filter('alm_filters_reveal_close')){
325
  $output .= apply_filters('alm_filters_reveal_close', '</div>');
326
  }
327
-
328
-
329
- // If SEO, create noscript pagination
330
- if(has_action('alm_seo_installed') && $seo === 'true'){
331
- $noscript_pagingnav = apply_filters('alm_noscript_pagination', $alm_preload_query); // Build pagination
332
  }
333
-
334
 
335
  endif;
336
-
337
 
338
  // Add localized ALM JS variables
339
  ALM_LOCALIZE::add_localized_var('total_posts', $alm_total_posts, $localize_id);
340
  ALM_LOCALIZE::add_localized_var('post_count', $alm_post_count, $localize_id);
341
-
342
-
343
  if($seo === "true"){ // SEO, not Paging
344
-
345
- // Get querystring to append to URL
346
  $querystring = $_SERVER['QUERY_STRING'];
347
-
348
  // If search, append slug (?s=term) to data-url
349
  $search_slug = (is_search()) ? $slug : '';
350
-
351
  // Append querystring to data-url
352
  $querystring = ($querystring) ? '?'.$querystring : '';
353
-
354
  $cleaned_url = esc_url($canonicalURL .''. $querystring);
355
-
356
  $alm_reveal = '<div class="alm-reveal alm-seo alm-preloaded'. $transition_container_classes .'" data-page="1" data-url="'. $cleaned_url .'" data-total-posts="'. $alm_preload_query->found_posts .'">';
357
-
358
  } else {
359
-
360
  $alm_reveal= '<div class="alm-reveal alm-preloaded'. $transition_container_classes .'" data-total-posts="'. $alm_preload_query->found_posts .'">';
361
-
362
  }
363
-
364
  // Open .alm-reveal
365
  $preloaded_output .= (!$filters) ? $alm_reveal : '';
366
-
367
- // Append content
368
  $preloaded_output .= $output;
369
-
370
  // Close .alm-reveal
371
  $preloaded_output .= (!$filters) ? '</div>' : '';
372
-
373
  }
374
 
375
  $ajaxloadmore .= $preloaded_output; // Add $preloaded_output data to $ajaxloadmore
1
  <?php
2
+
3
  // Get preloaded posts and append to alm object
4
 
5
 
15
  // If $seo or $filters, set $preloaded_amount to $posts_per_page
16
  if((has_action('alm_seo_installed') && $seo === 'true' && !$users) || $filters){
17
  $preloaded_amount = $posts_per_page;
18
+ }
19
 
20
 
21
  // Paging Add-on
35
  if($cta_pos != 'after'){
36
  $cta_pos = 'before';
37
  }
38
+ }
39
+
40
 
 
41
  // Modify $query_args with new offset and posts_per_page
42
  $query_args['offset'] = $preload_offset;
43
  $query_args['posts_per_page'] = $preloaded_amount;
49
 
50
  // Tabs
51
  if($tabs){
52
+
53
  /*
54
  * alm_tabs_preloaded
55
  * Preloaded Tabs Filter
60
  $preloaded_output .= $alm_reveal;
61
  $preloaded_output .= $preloaded_tabs;
62
  $preloaded_output .= '</div>';
63
+
64
  }
65
 
66
  // Comments
67
+ elseif($comments){
68
 
69
  if(has_action('alm_comments_installed') && $comments){
70
 
75
  * @return $preloaded_comments;
76
  */
77
  $preloaded_comments = apply_filters('alm_comments_preloaded', $query_args); // located in comments add-on
78
+
79
  $total_comments = wp_count_comments( $comments_post_id );
80
+
81
  // Add localized ALM JS variables
82
  ALM_LOCALIZE::add_localized_var('total_posts', $total_comments->approved, $localize_id);
83
+
84
+ $post_count = ($total_comments->approved > $preloaded_amount) ? $preloaded_amount : $total_comments->approved;
85
  ALM_LOCALIZE::add_localized_var('post_count', $post_count, $localize_id);
86
+
87
+
88
+ // Open .alm-reveal
89
  $preloaded_output .= $alm_reveal;
90
+
91
  // Append content
92
  $preloaded_output .= $preloaded_comments;
93
+
94
  // Close .alm-reveal
95
  $preloaded_output .= '</div>';
96
  }
98
  }
99
 
100
  // Users
101
+ elseif($users){
102
+
103
+ if(has_action('alm_users_preloaded') && $users){
104
+
105
  // Encrypt User Role
106
  if(!empty($users_role) && function_exists('alm_role_encrypt')){
107
  $query_args['users_role'] = alm_role_encrypt($users_role);
108
  }
109
+
110
+
111
+
112
  /*
113
  * alm_users_preloaded
114
  *
117
  * @return $preloaded_users;
118
  */
119
  $preloaded_users = apply_filters('alm_users_preloaded', $query_args, $preloaded_amount, $repeater, $theme_repeater); // located in Users add-on
120
+
121
  $preloaded_users_data = $preloaded_users['data'];
122
  $preloaded_users_total = $preloaded_users['total'];
123
+
124
+
125
  // Add localized ALM JS variables
126
  ALM_LOCALIZE::add_localized_var('total_posts', $preloaded_users_total, $localize_id);
127
+
128
+ $post_count = ($preloaded_users_total > $preloaded_amount) ? $preloaded_amount : $preloaded_users_total;
129
  ALM_LOCALIZE::add_localized_var('post_count', $post_count, $localize_id);
130
+
131
+
132
  // Open .alm-reveal
133
+
134
  if($seo === 'true'){
135
  $alm_reveal = '<div class="alm-reveal alm-seo alm-preloaded'. $transition_container_classes .'" data-page="1" data-url="'.$canonicalURL.'">';
136
  }
137
+
138
+
139
+ // Open .alm-reveal
140
  $preloaded_output .= $alm_reveal;
141
+
142
  // Append content
143
  $preloaded_output .= $preloaded_users_data;
144
+
145
  // Close .alm-reveal
146
  $preloaded_output .= ($seo === "true" || $transition_container_classes !== 'false') ? '</div>' : '';
147
+
148
  }
149
  }
150
 
151
  // Term Query
152
+ elseif($term_query){
153
+
154
+ if(has_action('alm_terms_preloaded') && $term_query){
155
+
156
+
157
  /*
158
  * alm_terms_preloaded
159
  *
162
  * @return $preloaded_users;
163
  */
164
  $preloaded_terms = apply_filters('alm_terms_preloaded', $query_args, $preloaded_amount, $repeater, $theme_repeater); // located in Terms extension
165
+
166
  $preloaded_terms_data = $preloaded_terms['data'];
167
  $preloaded_terms_total = $preloaded_terms['total'];
168
+
169
+
170
  // Add localized ALM JS variables
171
  ALM_LOCALIZE::add_localized_var('total_posts', $preloaded_terms_total, $localize_id);
172
+
173
+ $post_count = ($preloaded_terms_total > $preloaded_amount) ? $preloaded_amount : $preloaded_terms_total;
174
+ ALM_LOCALIZE::add_localized_var('post_count', $post_count, $localize_id);
175
+
176
+
177
+ // Open .alm-reveal
178
  if($seo === 'true'){
179
  $alm_reveal = '<div class="alm-reveal alm-seo alm-preloaded'. $transition_container_classes .'" data-page="1" data-url="'.$canonicalURL.'">';
180
  }
181
+
182
+ // Open .alm-reveal
183
  $preloaded_output .= $alm_reveal;
184
+
185
  // Append content
186
  $preloaded_output .= $preloaded_terms_data;
187
+
188
  // Close .alm-reveal
189
  $preloaded_output .= ($seo === "true" || $transition_container_classes !== 'false') ? '</div>' : '';
190
+
191
  }
192
  }
193
 
194
  // Advanced Custom Fields (Repeater, Gallery, Flex Content
195
+ elseif($acf && ($acf_field_type !== 'relationship')){
196
 
197
  if(has_action('alm_acf_installed') && $acf){
198
 
203
  * @return $preloaded_acf;
204
  */
205
  $preloaded_acf = apply_filters('alm_acf_preloaded', $query_args, $repeater, $theme_repeater); //located in ACF add-on
206
+
207
+
208
+ // Add total_posts to localized ALM JS variables
209
  $acf_total_rows = apply_filters('alm_acf_total_rows', $query_args);
210
  ALM_LOCALIZE::add_localized_var('total_posts', $acf_total_rows, $localize_id);
211
+
212
+ $post_count = ($acf_total_rows > $preloaded_amount) ? $preloaded_amount : $acf_total_rows;
213
+ ALM_LOCALIZE::add_localized_var('post_count', $post_count, $localize_id);
214
+
215
  // Open .alm-reveal
216
  if($seo === 'true'){
217
  $alm_reveal = '<div class="alm-reveal alm-seo alm-preloaded'. $transition_container_classes .'" data-page="1" data-url="'.$canonicalURL.'">';
218
  }
219
+
220
+ // Open .alm-reveal
221
  $preloaded_output .= $alm_reveal;
222
+
223
  // Append content
224
  $preloaded_output .= $preloaded_acf;
225
+
226
  // Close .alm-reveal
227
  $preloaded_output .= ($seo === "true" || $transition_container_classes !== 'false') ? '</div>' : '';
228
 
231
  }
232
 
233
  // Standard ALM
234
+ else {
235
+
236
  /*
237
  * alm_get_queryargs
238
+ * This function will return an $args array for the ALM WP_Query
239
  *
240
  * @return $args;
241
  * @since in 3.7
248
  /*
249
  * alm_modify_query_args
250
  *
251
+ * ALM Core Filter Hook
252
  *
253
  * @return $args;
254
  * Deprecated 2.10
255
  */
256
  $args = apply_filters('alm_modify_query_args', $args, $slug);
257
+
258
 
259
  /*
260
  * alm_query_args_[id]
264
  * @return $args;
265
  */
266
  $args = apply_filters('alm_query_args_'. $id, $args, $post_id);
267
+
268
+
269
  /*
270
  * WP_Query
271
  *
272
  * @return $alm_preload_query;
273
+ */
274
  $alm_preload_query = new WP_Query($args);
275
+
276
+
277
  /*
278
  * alm_query_after_{id}
279
  *
282
  * @return $alm_query;
283
  */
284
  $alm_preload_query = apply_filters('alm_query_after_'. $id, $alm_preload_query, $post_id); // ALM Core Filter Hook
285
+
286
+ $alm_total_posts = $alm_preload_query->found_posts - $offset;
287
  $alm_post_count = $alm_preload_query->post_count;
288
+
289
  $output = '';
290
 
291
  if ($alm_preload_query->have_posts()) :
292
+
293
  $alm_item = $alm_page = $alm_current = 0;
294
  $alm_found_posts = $alm_total_posts;
295
+
296
+
297
+ // Filters Wrap [Open]
298
+ if($filters && has_filter('alm_filters_reveal_open')){
299
  $output .= apply_filters('alm_filters_reveal_open', $transition_container_classes, $canonicalURL, true, $alm_preload_query->found_posts);
300
  }
301
+
302
  while ($alm_preload_query->have_posts()) : $alm_preload_query->the_post();
303
 
304
+ $alm_item++;
305
+ $alm_current++;
306
+
307
+ // Call to Action [Before].
308
+ if( $cta === 'true' && has_action( 'alm_cta_inc') && $cta_pos === 'before' ){
309
+ $output .= ( $alm_current == $cta_val ) ? apply_filters( 'alm_cta_inc', $cta_repeater, $cta_theme_repeater, $alm_found_posts, $alm_page, $alm_item, $alm_current, true ) : '';
310
+ }
311
+
312
+ // Repeater Template.
313
+ $output .= alm_loop( $repeater, $type, $theme_repeater, $alm_found_posts, $alm_page, $alm_item, $alm_current );
314
+
315
+ // Call to Action [After].
316
+ if ( $cta === 'true' && has_action( 'alm_cta_inc' ) && $cta_pos === 'after' ) {
317
+ $output .= ( $alm_current == $cta_val ) ? apply_filters( 'alm_cta_inc', $cta_repeater, $cta_theme_repeater, $alm_found_posts, $alm_page, $alm_item, $alm_current, true ) : '';
318
+ }
319
+
320
+ endwhile;
321
+ wp_reset_query();
322
+
323
+
324
  // Filters Wrap [close]
325
+ if ( $filters && has_filter('alm_filters_reveal_close' ) ) {
326
  $output .= apply_filters('alm_filters_reveal_close', '</div>');
327
  }
328
+
329
+
330
+ // SEO, create noscript pagination
331
+ if ( has_action( 'alm_seo_installed') && $seo === 'true' ) {
332
+ $noscript_pagingnav = apply_filters('alm_noscript_pagination', $alm_preload_query); // Build pagination
333
  }
334
+
335
 
336
  endif;
337
+
338
 
339
  // Add localized ALM JS variables
340
  ALM_LOCALIZE::add_localized_var('total_posts', $alm_total_posts, $localize_id);
341
  ALM_LOCALIZE::add_localized_var('post_count', $alm_post_count, $localize_id);
342
+
343
+
344
  if($seo === "true"){ // SEO, not Paging
345
+
346
+ // Get querystring to append to URL
347
  $querystring = $_SERVER['QUERY_STRING'];
348
+
349
  // If search, append slug (?s=term) to data-url
350
  $search_slug = (is_search()) ? $slug : '';
351
+
352
  // Append querystring to data-url
353
  $querystring = ($querystring) ? '?'.$querystring : '';
354
+
355
  $cleaned_url = esc_url($canonicalURL .''. $querystring);
356
+
357
  $alm_reveal = '<div class="alm-reveal alm-seo alm-preloaded'. $transition_container_classes .'" data-page="1" data-url="'. $cleaned_url .'" data-total-posts="'. $alm_preload_query->found_posts .'">';
358
+
359
  } else {
360
+
361
  $alm_reveal= '<div class="alm-reveal alm-preloaded'. $transition_container_classes .'" data-total-posts="'. $alm_preload_query->found_posts .'">';
362
+
363
  }
364
+
365
  // Open .alm-reveal
366
  $preloaded_output .= (!$filters) ? $alm_reveal : '';
367
+
368
+ // Append content
369
  $preloaded_output .= $output;
370
+
371
  // Close .alm-reveal
372
  $preloaded_output .= (!$filters) ? '</div>' : '';
373
+
374
  }
375
 
376
  $ajaxloadmore .= $preloaded_output; // Add $preloaded_output data to $ajaxloadmore
core/dist/css/ajax-load-more.css CHANGED
@@ -14,7 +14,8 @@
14
  .alm-btn-wrap {
15
  display: block;
16
  text-align: center;
17
- padding: 10px 0 25px;
 
18
  position: relative; }
19
  .alm-btn-wrap:after {
20
  display: table;
@@ -93,6 +94,19 @@
93
  overflow: hidden;
94
  -webkit-transition: width 0.5s ease-in-out;
95
  transition: width 0.5s ease-in-out; }
 
 
 
 
 
 
 
 
 
 
 
 
 
96
 
97
  /* white */
98
  .ajax-load-more-wrap.white .alm-load-more-btn {
14
  .alm-btn-wrap {
15
  display: block;
16
  text-align: center;
17
+ padding: 10px 0;
18
+ margin: 0 0 15px;
19
  position: relative; }
20
  .alm-btn-wrap:after {
21
  display: table;
94
  overflow: hidden;
95
  -webkit-transition: width 0.5s ease-in-out;
96
  transition: width 0.5s ease-in-out; }
97
+ .alm-btn-wrap .alm-elementor-link {
98
+ display: block;
99
+ font-size: 13px;
100
+ margin: 0 0 15px; }
101
+ @media screen and (min-width: 768px) {
102
+ .alm-btn-wrap .alm-elementor-link {
103
+ position: absolute;
104
+ left: 0;
105
+ top: 50%;
106
+ -webkit-transform: translateY(-50%);
107
+ -ms-transform: translateY(-50%);
108
+ transform: translateY(-50%);
109
+ margin: 0; } }
110
 
111
  /* white */
112
  .ajax-load-more-wrap.white .alm-load-more-btn {
core/dist/css/ajax-load-more.min.css CHANGED
@@ -1 +1 @@
1
- .alm-btn-wrap{display:block;text-align:center;padding:10px 0 25px;position:relative}.alm-btn-wrap:after{display:table;clear:both;height:0;width:100%;content:''}.alm-btn-wrap .alm-load-more-btn{font-size:15px;font-weight:500;width:auto;height:43px;line-height:1;background:#ed7070;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);color:#fff;border:none;border-radius:4px;margin:0;padding:0 20px;display:inline-block;position:relative;-webkit-transition:all .3s ease;transition:all .3s ease;text-align:center;text-decoration:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.alm-btn-wrap .alm-load-more-btn.loading,.alm-btn-wrap .alm-load-more-btn:hover{background-color:#e06161;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.09);box-shadow:0 1px 3px rgba(0,0,0,.09);color:#fff;text-decoration:none}.alm-btn-wrap .alm-load-more-btn:active{-webkit-box-shadow:none;box-shadow:none;text-decoration:none}.alm-btn-wrap .alm-load-more-btn.loading{cursor:default;outline:0;padding-left:44px}.alm-btn-wrap .alm-load-more-btn.done{cursor:default;opacity:.15;background-color:#ed7070;outline:0!important;-webkit-box-shadow:none!important;box-shadow:none!important}.alm-btn-wrap .alm-load-more-btn.done:before,.alm-btn-wrap .alm-load-more-btn:before{background:0 0;width:0}.alm-btn-wrap .alm-load-more-btn.loading:before{background:#fff url(../../img/ajax-loader.gif) no-repeat center center;width:30px;height:31px;margin:6px;border-radius:3px;display:inline-block;z-index:0;content:'';position:absolute;left:0;top:0;overflow:hidden;-webkit-transition:width .5s ease-in-out;transition:width .5s ease-in-out}.ajax-load-more-wrap.white .alm-load-more-btn{background-color:#fff;color:#787878;border:1px solid #e0e0e0;overflow:hidden;-webkit-transition:none;transition:none;outline:0}.ajax-load-more-wrap.white .alm-load-more-btn.loading,.ajax-load-more-wrap.white .alm-load-more-btn:focus,.ajax-load-more-wrap.white .alm-load-more-btn:hover{background-color:#fff;color:#333;border-color:#aaa}.ajax-load-more-wrap.white .alm-load-more-btn.done{background-color:#fff;color:#444;border-color:#ccc}.ajax-load-more-wrap.white .alm-load-more-btn.loading{color:rgba(255,255,255,0)!important;outline:0!important;background-color:transparent;border-color:transparent!important;-webkit-box-shadow:none!important;box-shadow:none!important;padding-left:20px}.ajax-load-more-wrap.white .alm-load-more-btn.loading:before{margin:0;left:0;top:0;width:100%;height:100%;background-color:transparent;background-image:url(../../img/ajax-loader-lg.gif);background-size:25px 25px;background-position:center center}.ajax-load-more-wrap.light-grey .alm-load-more-btn{background-color:#efefef;color:#787878;border:1px solid #e0e0e0;overflow:hidden;-webkit-transition:all 75ms ease;transition:all 75ms ease;outline:0}.ajax-load-more-wrap.light-grey .alm-load-more-btn.done,.ajax-load-more-wrap.light-grey .alm-load-more-btn.loading,.ajax-load-more-wrap.light-grey .alm-load-more-btn:focus,.ajax-load-more-wrap.light-grey .alm-load-more-btn:hover{background-color:#f1f1f1;color:#222;border-color:#aaa}.ajax-load-more-wrap.light-grey .alm-load-more-btn.loading{color:rgba(255,255,255,0)!important;outline:0!important;background-color:transparent;border-color:transparent!important;-webkit-box-shadow:none!important;box-shadow:none!important;padding-left:20px}.ajax-load-more-wrap.light-grey .alm-load-more-btn.loading:before{margin:0;left:0;top:0;width:100%;height:100%;background-color:transparent;background-image:url(../../img/ajax-loader-lg.gif);background-size:25px 25px;background-position:center center}.ajax-load-more-wrap.blue .alm-load-more-btn{background-color:#1b91ca}.ajax-load-more-wrap.blue .alm-load-more-btn.done,.ajax-load-more-wrap.blue .alm-load-more-btn.loading,.ajax-load-more-wrap.blue .alm-load-more-btn:hover{background-color:#1b84b7}.ajax-load-more-wrap.green .alm-load-more-btn{background-color:#80ca7a}.ajax-load-more-wrap.green .alm-load-more-btn.done,.ajax-load-more-wrap.green .alm-load-more-btn.loading,.ajax-load-more-wrap.green .alm-load-more-btn:hover{background-color:#81c17b}.ajax-load-more-wrap.purple .alm-load-more-btn{background-color:#b97eca}.ajax-load-more-wrap.purple .alm-load-more-btn.done,.ajax-load-more-wrap.purple .alm-load-more-btn.loading,.ajax-load-more-wrap.purple .alm-load-more-btn:hover{background-color:#a477b1}.ajax-load-more-wrap.grey .alm-load-more-btn{background-color:#a09e9e}.ajax-load-more-wrap.grey .alm-load-more-btn.done,.ajax-load-more-wrap.grey .alm-load-more-btn.loading,.ajax-load-more-wrap.grey .alm-load-more-btn:hover{background-color:#888}.ajax-load-more-wrap.infinite .alm-load-more-btn{width:100%;background-color:transparent!important;background-position:center center;background-repeat:no-repeat;background-image:url(../../img/spinner.gif);border:none!important;opacity:0;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;-webkit-box-shadow:none!important;box-shadow:none!important;overflow:hidden;text-indent:-9999px;cursor:default!important;outline:0!important}.ajax-load-more-wrap.infinite .alm-load-more-btn:before{display:none!important}.ajax-load-more-wrap.infinite .alm-load-more-btn:active,.ajax-load-more-wrap.infinite .alm-load-more-btn:focus{outline:0}.ajax-load-more-wrap.infinite .alm-load-more-btn.done{opacity:0}.ajax-load-more-wrap.infinite .alm-load-more-btn.loading{opacity:1}.ajax-load-more-wrap.infinite.skype .alm-load-more-btn{background-image:url(../../img/spinner-skype.gif)}.ajax-load-more-wrap.infinite.ring .alm-load-more-btn{background-image:url(../../img/spinner-ring.gif)}.ajax-load-more-wrap.infinite.fading-blocks .alm-load-more-btn{background-image:url(../../img/loader-fading-blocks.gif)}.ajax-load-more-wrap.infinite.fading-circles .alm-load-more-btn{background-image:url(../../img/loader-fading-circles.gif)}.ajax-load-more-wrap.infinite.chasing-arrows .alm-load-more-btn{background-image:url(../../img/spinner-chasing-arrows.gif)}.ajax-load-more-wrap.alm-horizontal .alm-btn-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0;margin:0}.ajax-load-more-wrap.alm-horizontal .alm-btn-wrap button{margin:0}.ajax-load-more-wrap.alm-horizontal .alm-btn-wrap button.done{display:none}.alm-listing .alm-reveal{outline:0}.alm-listing .alm-reveal:after{display:table;clear:both;height:0;width:100%;content:''}.alm-listing{margin:0;padding:0}.alm-listing .alm-paging-content>li,.alm-listing .alm-reveal>li,.alm-listing>li{position:relative}.alm-listing .alm-paging-content>li.alm-item,.alm-listing .alm-reveal>li.alm-item,.alm-listing>li.alm-item{background:0 0;margin:0 0 30px;padding:0 0 0 80px;position:relative;list-style:none}@media screen and (min-width:480px){.alm-listing .alm-paging-content>li.alm-item,.alm-listing .alm-reveal>li.alm-item,.alm-listing>li.alm-item{padding:0 0 0 100px}}@media screen and (min-width:768px){.alm-listing .alm-paging-content>li.alm-item,.alm-listing .alm-reveal>li.alm-item,.alm-listing>li.alm-item{padding:0 0 0 135px}}@media screen and (min-width:1024px){.alm-listing .alm-paging-content>li.alm-item,.alm-listing .alm-reveal>li.alm-item,.alm-listing>li.alm-item{padding:0 0 0 160px}}.alm-listing .alm-paging-content>li.alm-item h3,.alm-listing .alm-reveal>li.alm-item h3,.alm-listing>li.alm-item h3{margin:0}.alm-listing .alm-paging-content>li.alm-item p,.alm-listing .alm-reveal>li.alm-item p,.alm-listing>li.alm-item p{margin:10px 0 0}.alm-listing .alm-paging-content>li.alm-item p.entry-meta,.alm-listing .alm-reveal>li.alm-item p.entry-meta,.alm-listing>li.alm-item p.entry-meta{opacity:.75}.alm-listing .alm-paging-content>li.alm-item img,.alm-listing .alm-reveal>li.alm-item img,.alm-listing>li.alm-item img{position:absolute;left:0;top:0;border-radius:2px;max-width:65px}@media screen and (min-width:480px){.alm-listing .alm-paging-content>li.alm-item img,.alm-listing .alm-reveal>li.alm-item img,.alm-listing>li.alm-item img{max-width:85px}}@media screen and (min-width:768px){.alm-listing .alm-paging-content>li.alm-item img,.alm-listing .alm-reveal>li.alm-item img,.alm-listing>li.alm-item img{max-width:115px}}@media screen and (min-width:1024px){.alm-listing .alm-paging-content>li.alm-item img,.alm-listing .alm-reveal>li.alm-item img,.alm-listing>li.alm-item img{max-width:140px}}.alm-listing .alm-paging-content>li.no-img,.alm-listing .alm-reveal>li.no-img,.alm-listing>li.no-img{padding:0}.alm-listing.products li.product{padding-left:inherit}.alm-listing.products li.product img{position:static;border-radius:inherit}.alm-listing.stylefree .alm-paging-content>li,.alm-listing.stylefree .alm-reveal>li,.alm-listing.stylefree>li{padding:inherit;margin:inherit}.alm-listing.stylefree .alm-paging-content>li img,.alm-listing.stylefree .alm-reveal>li img,.alm-listing.stylefree>li img{padding:inherit;margin:inherit;position:static;border-radius:inherit}.alm-listing.rtl .alm-paging-content>li,.alm-listing.rtl .alm-reveal>li{padding:0 170px 0 0;text-align:right}.alm-listing.rtl .alm-paging-content>li img,.alm-listing.rtl .alm-reveal>li img{left:auto;right:0}.alm-listing.rtl.products li.product{padding-right:inherit}.alm-masonry{display:block;overflow:hidden;clear:both}.alm-placeholder{opacity:0;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;display:none}.ajax-load-more-wrap.alm-horizontal{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:100%}.ajax-load-more-wrap.alm-horizontal .alm-listing,.ajax-load-more-wrap.alm-horizontal .alm-listing .alm-reveal{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.ajax-load-more-wrap.alm-horizontal .alm-listing .alm-reveal>li.alm-item,.ajax-load-more-wrap.alm-horizontal .alm-listing>li.alm-item{padding:0;text-align:center;margin:0 2px;padding:15px;height:auto;background-color:#fff;border-radius:3px}.ajax-load-more-wrap.alm-horizontal .alm-listing .alm-reveal>li.alm-item img,.ajax-load-more-wrap.alm-horizontal .alm-listing>li.alm-item img{position:static;border-radius:100%;max-width:none}.ajax-load-more-wrap.alm-horizontal .alm-listing .alm-reveal:after{display:none}.alm-toc{display:-webkit-box;display:-ms-flexbox;display:flex;width:auto;padding:10px 0}.alm-toc button{background:#f7f7f7;border-radius:4px;-webkit-transition:all .15s ease;transition:all .15s ease;outline:0;border:1px solid #efefef;-webkit-box-shadow:none;box-shadow:none;color:#454545;cursor:pointer;font-size:14px;font-weight:500;padding:7px 10px;line-height:1;margin:0 5px 0 0;height:auto}.alm-toc button:focus,.alm-toc button:hover{border-color:#ccc;color:#222}.alm-toc button:hover{text-decoration:underline}.alm-toc button:focus{-webkit-box-shadow:0 0 0 3px rgba(0,0,0,.05);box-shadow:0 0 0 3px rgba(0,0,0,.05)}
1
+ .alm-btn-wrap{display:block;text-align:center;padding:10px 0;margin:0 0 15px;position:relative}.alm-btn-wrap:after{display:table;clear:both;height:0;width:100%;content:''}.alm-btn-wrap .alm-load-more-btn{font-size:15px;font-weight:500;width:auto;height:43px;line-height:1;background:#ed7070;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);color:#fff;border:none;border-radius:4px;margin:0;padding:0 20px;display:inline-block;position:relative;-webkit-transition:all .3s ease;transition:all .3s ease;text-align:center;text-decoration:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.alm-btn-wrap .alm-load-more-btn.loading,.alm-btn-wrap .alm-load-more-btn:hover{background-color:#e06161;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.09);box-shadow:0 1px 3px rgba(0,0,0,.09);color:#fff;text-decoration:none}.alm-btn-wrap .alm-load-more-btn:active{-webkit-box-shadow:none;box-shadow:none;text-decoration:none}.alm-btn-wrap .alm-load-more-btn.loading{cursor:default;outline:0;padding-left:44px}.alm-btn-wrap .alm-load-more-btn.done{cursor:default;opacity:.15;background-color:#ed7070;outline:0!important;-webkit-box-shadow:none!important;box-shadow:none!important}.alm-btn-wrap .alm-load-more-btn.done:before,.alm-btn-wrap .alm-load-more-btn:before{background:0 0;width:0}.alm-btn-wrap .alm-load-more-btn.loading:before{background:#fff url(../../img/ajax-loader.gif) no-repeat center center;width:30px;height:31px;margin:6px;border-radius:3px;display:inline-block;z-index:0;content:'';position:absolute;left:0;top:0;overflow:hidden;-webkit-transition:width .5s ease-in-out;transition:width .5s ease-in-out}.alm-btn-wrap .alm-elementor-link{display:block;font-size:13px;margin:0 0 15px}@media screen and (min-width:768px){.alm-btn-wrap .alm-elementor-link{position:absolute;left:0;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);margin:0}}.ajax-load-more-wrap.white .alm-load-more-btn{background-color:#fff;color:#787878;border:1px solid #e0e0e0;overflow:hidden;-webkit-transition:none;transition:none;outline:0}.ajax-load-more-wrap.white .alm-load-more-btn.loading,.ajax-load-more-wrap.white .alm-load-more-btn:focus,.ajax-load-more-wrap.white .alm-load-more-btn:hover{background-color:#fff;color:#333;border-color:#aaa}.ajax-load-more-wrap.white .alm-load-more-btn.done{background-color:#fff;color:#444;border-color:#ccc}.ajax-load-more-wrap.white .alm-load-more-btn.loading{color:rgba(255,255,255,0)!important;outline:0!important;background-color:transparent;border-color:transparent!important;-webkit-box-shadow:none!important;box-shadow:none!important;padding-left:20px}.ajax-load-more-wrap.white .alm-load-more-btn.loading:before{margin:0;left:0;top:0;width:100%;height:100%;background-color:transparent;background-image:url(../../img/ajax-loader-lg.gif);background-size:25px 25px;background-position:center center}.ajax-load-more-wrap.light-grey .alm-load-more-btn{background-color:#efefef;color:#787878;border:1px solid #e0e0e0;overflow:hidden;-webkit-transition:all 75ms ease;transition:all 75ms ease;outline:0}.ajax-load-more-wrap.light-grey .alm-load-more-btn.done,.ajax-load-more-wrap.light-grey .alm-load-more-btn.loading,.ajax-load-more-wrap.light-grey .alm-load-more-btn:focus,.ajax-load-more-wrap.light-grey .alm-load-more-btn:hover{background-color:#f1f1f1;color:#222;border-color:#aaa}.ajax-load-more-wrap.light-grey .alm-load-more-btn.loading{color:rgba(255,255,255,0)!important;outline:0!important;background-color:transparent;border-color:transparent!important;-webkit-box-shadow:none!important;box-shadow:none!important;padding-left:20px}.ajax-load-more-wrap.light-grey .alm-load-more-btn.loading:before{margin:0;left:0;top:0;width:100%;height:100%;background-color:transparent;background-image:url(../../img/ajax-loader-lg.gif);background-size:25px 25px;background-position:center center}.ajax-load-more-wrap.blue .alm-load-more-btn{background-color:#1b91ca}.ajax-load-more-wrap.blue .alm-load-more-btn.done,.ajax-load-more-wrap.blue .alm-load-more-btn.loading,.ajax-load-more-wrap.blue .alm-load-more-btn:hover{background-color:#1b84b7}.ajax-load-more-wrap.green .alm-load-more-btn{background-color:#80ca7a}.ajax-load-more-wrap.green .alm-load-more-btn.done,.ajax-load-more-wrap.green .alm-load-more-btn.loading,.ajax-load-more-wrap.green .alm-load-more-btn:hover{background-color:#81c17b}.ajax-load-more-wrap.purple .alm-load-more-btn{background-color:#b97eca}.ajax-load-more-wrap.purple .alm-load-more-btn.done,.ajax-load-more-wrap.purple .alm-load-more-btn.loading,.ajax-load-more-wrap.purple .alm-load-more-btn:hover{background-color:#a477b1}.ajax-load-more-wrap.grey .alm-load-more-btn{background-color:#a09e9e}.ajax-load-more-wrap.grey .alm-load-more-btn.done,.ajax-load-more-wrap.grey .alm-load-more-btn.loading,.ajax-load-more-wrap.grey .alm-load-more-btn:hover{background-color:#888}.ajax-load-more-wrap.infinite .alm-load-more-btn{width:100%;background-color:transparent!important;background-position:center center;background-repeat:no-repeat;background-image:url(../../img/spinner.gif);border:none!important;opacity:0;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;-webkit-box-shadow:none!important;box-shadow:none!important;overflow:hidden;text-indent:-9999px;cursor:default!important;outline:0!important}.ajax-load-more-wrap.infinite .alm-load-more-btn:before{display:none!important}.ajax-load-more-wrap.infinite .alm-load-more-btn:active,.ajax-load-more-wrap.infinite .alm-load-more-btn:focus{outline:0}.ajax-load-more-wrap.infinite .alm-load-more-btn.done{opacity:0}.ajax-load-more-wrap.infinite .alm-load-more-btn.loading{opacity:1}.ajax-load-more-wrap.infinite.skype .alm-load-more-btn{background-image:url(../../img/spinner-skype.gif)}.ajax-load-more-wrap.infinite.ring .alm-load-more-btn{background-image:url(../../img/spinner-ring.gif)}.ajax-load-more-wrap.infinite.fading-blocks .alm-load-more-btn{background-image:url(../../img/loader-fading-blocks.gif)}.ajax-load-more-wrap.infinite.fading-circles .alm-load-more-btn{background-image:url(../../img/loader-fading-circles.gif)}.ajax-load-more-wrap.infinite.chasing-arrows .alm-load-more-btn{background-image:url(../../img/spinner-chasing-arrows.gif)}.ajax-load-more-wrap.alm-horizontal .alm-btn-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0;margin:0}.ajax-load-more-wrap.alm-horizontal .alm-btn-wrap button{margin:0}.ajax-load-more-wrap.alm-horizontal .alm-btn-wrap button.done{display:none}.alm-listing .alm-reveal{outline:0}.alm-listing .alm-reveal:after{display:table;clear:both;height:0;width:100%;content:''}.alm-listing{margin:0;padding:0}.alm-listing .alm-paging-content>li,.alm-listing .alm-reveal>li,.alm-listing>li{position:relative}.alm-listing .alm-paging-content>li.alm-item,.alm-listing .alm-reveal>li.alm-item,.alm-listing>li.alm-item{background:0 0;margin:0 0 30px;padding:0 0 0 80px;position:relative;list-style:none}@media screen and (min-width:480px){.alm-listing .alm-paging-content>li.alm-item,.alm-listing .alm-reveal>li.alm-item,.alm-listing>li.alm-item{padding:0 0 0 100px}}@media screen and (min-width:768px){.alm-listing .alm-paging-content>li.alm-item,.alm-listing .alm-reveal>li.alm-item,.alm-listing>li.alm-item{padding:0 0 0 135px}}@media screen and (min-width:1024px){.alm-listing .alm-paging-content>li.alm-item,.alm-listing .alm-reveal>li.alm-item,.alm-listing>li.alm-item{padding:0 0 0 160px}}.alm-listing .alm-paging-content>li.alm-item h3,.alm-listing .alm-reveal>li.alm-item h3,.alm-listing>li.alm-item h3{margin:0}.alm-listing .alm-paging-content>li.alm-item p,.alm-listing .alm-reveal>li.alm-item p,.alm-listing>li.alm-item p{margin:10px 0 0}.alm-listing .alm-paging-content>li.alm-item p.entry-meta,.alm-listing .alm-reveal>li.alm-item p.entry-meta,.alm-listing>li.alm-item p.entry-meta{opacity:.75}.alm-listing .alm-paging-content>li.alm-item img,.alm-listing .alm-reveal>li.alm-item img,.alm-listing>li.alm-item img{position:absolute;left:0;top:0;border-radius:2px;max-width:65px}@media screen and (min-width:480px){.alm-listing .alm-paging-content>li.alm-item img,.alm-listing .alm-reveal>li.alm-item img,.alm-listing>li.alm-item img{max-width:85px}}@media screen and (min-width:768px){.alm-listing .alm-paging-content>li.alm-item img,.alm-listing .alm-reveal>li.alm-item img,.alm-listing>li.alm-item img{max-width:115px}}@media screen and (min-width:1024px){.alm-listing .alm-paging-content>li.alm-item img,.alm-listing .alm-reveal>li.alm-item img,.alm-listing>li.alm-item img{max-width:140px}}.alm-listing .alm-paging-content>li.no-img,.alm-listing .alm-reveal>li.no-img,.alm-listing>li.no-img{padding:0}.alm-listing.products li.product{padding-left:inherit}.alm-listing.products li.product img{position:static;border-radius:inherit}.alm-listing.stylefree .alm-paging-content>li,.alm-listing.stylefree .alm-reveal>li,.alm-listing.stylefree>li{padding:inherit;margin:inherit}.alm-listing.stylefree .alm-paging-content>li img,.alm-listing.stylefree .alm-reveal>li img,.alm-listing.stylefree>li img{padding:inherit;margin:inherit;position:static;border-radius:inherit}.alm-listing.rtl .alm-paging-content>li,.alm-listing.rtl .alm-reveal>li{padding:0 170px 0 0;text-align:right}.alm-listing.rtl .alm-paging-content>li img,.alm-listing.rtl .alm-reveal>li img{left:auto;right:0}.alm-listing.rtl.products li.product{padding-right:inherit}.alm-masonry{display:block;overflow:hidden;clear:both}.alm-placeholder{opacity:0;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;display:none}.ajax-load-more-wrap.alm-horizontal{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:100%}.ajax-load-more-wrap.alm-horizontal .alm-listing,.ajax-load-more-wrap.alm-horizontal .alm-listing .alm-reveal{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.ajax-load-more-wrap.alm-horizontal .alm-listing .alm-reveal>li.alm-item,.ajax-load-more-wrap.alm-horizontal .alm-listing>li.alm-item{padding:0;text-align:center;margin:0 2px;padding:15px;height:auto;background-color:#fff;border-radius:3px}.ajax-load-more-wrap.alm-horizontal .alm-listing .alm-reveal>li.alm-item img,.ajax-load-more-wrap.alm-horizontal .alm-listing>li.alm-item img{position:static;border-radius:100%;max-width:none}.ajax-load-more-wrap.alm-horizontal .alm-listing .alm-reveal:after{display:none}.alm-toc{display:-webkit-box;display:-ms-flexbox;display:flex;width:auto;padding:10px 0}.alm-toc button{background:#f7f7f7;border-radius:4px;-webkit-transition:all .15s ease;transition:all .15s ease;outline:0;border:1px solid #efefef;-webkit-box-shadow:none;box-shadow:none;color:#454545;cursor:pointer;font-size:14px;font-weight:500;padding:7px 10px;line-height:1;margin:0 5px 0 0;height:auto}.alm-toc button:focus,.alm-toc button:hover{border-color:#ccc;color:#222}.alm-toc button:hover{text-decoration:underline}.alm-toc button:focus{-webkit-box-shadow:0 0 0 3px rgba(0,0,0,.05);box-shadow:0 0 0 3px rgba(0,0,0,.05)}
core/dist/js/ajax-load-more.js CHANGED
@@ -190,6 +190,7 @@ exports.elementorInit = elementorInit;
190
  exports.elementor = elementor;
191
  exports.elementorGetContent = elementorGetContent;
192
  exports.elementorGetPages = elementorGetPages;
 
193
 
194
  var _loadItems = __webpack_require__(/*! ../modules/loadItems */ "./core/src/js/modules/loadItems.js");
195
 
@@ -233,6 +234,7 @@ function elementorInit(alm) {
233
  return false;
234
  }
235
  var target = alm.addons.elementor_target_element;
 
236
  if (target) {
237
  // Set button data attributes
238
  alm.button.dataset.page = alm.addons.elementor_paged;
@@ -257,16 +259,28 @@ function elementorInit(alm) {
257
  item.dataset.pageTitle = document.title;
258
  }
259
 
260
- if (alm.addons.elementor_paged > 1) {
261
- // maybe soon
262
- //almElementorResultsTextInit(alm);
 
 
 
 
 
 
 
 
 
 
 
 
 
263
  }
264
  }
265
  }
266
 
267
  /**
268
- * elementor
269
- * Core ALM Elementor loader
270
  *
271
  * @param {HTMLElement} content
272
  * @param {object} alm
@@ -300,9 +314,15 @@ function elementor(content, alm) {
300
  return (0, _loadItems2.default)(container, items, alm, pageTitle, url, 'alm-elementor');
301
 
302
  case 2:
 
 
 
 
 
 
303
  resolve(true);
304
 
305
- case 3:
306
  case 'end':
307
  return _context.stop();
308
  }
@@ -316,13 +336,71 @@ function elementor(content, alm) {
316
  }
317
 
318
  /**
319
- * elementorGetContent
320
- * Get the content, title and results text from the Ajax response
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
321
  *
 
322
  * @param {object} alm
323
  * @since 5.4.0
324
  */
325
-
326
  function elementorGetContent(response, alm) {
327
  var data = {
328
  html: '',
@@ -363,12 +441,70 @@ function elementorGetPages(pagination_class, pagination_item, target) {
363
  }
364
  var pagination = target.querySelector('.' + pagination_class);
365
  if (!pagination) {
366
- return 1;
367
  }
368
  var pages = pagination.querySelectorAll(pagination_item);
369
  return pages;
370
  }
371
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
372
  /***/ }),
373
 
374
  /***/ "./core/src/js/addons/filters.js":
@@ -1320,22 +1456,12 @@ var alm_is_filtering = false;
1320
  alm.is_search = alm.is_search === undefined ? false : alm.is_search;
1321
  alm.search_value = alm.is_search === 'true' ? alm.slug : ''; // Convert to value of slug for appending to seo url
1322
 
1323
- // Addon Shortcode Params
1324
 
1325
  // Elementor add-on
1326
- alm.addons.elementor = alm.localize && alm.localize.elementor ? true : false;
1327
  if (alm.addons.elementor) {
1328
- alm.addons.elementor = {};
1329
- alm.addons.elementor_type = 'posts';
1330
- alm.addons.elementor_target = alm.localize.elementor.target;
1331
- alm.addons.elementor_target_element = alm.addons.elementor_target ? document.querySelector('.elementor-widget-wrap ' + alm.addons.elementor_target) : '';
1332
- alm.addons.elementor_paged = alm.localize.elementor.paged ? parseInt(alm.localize.elementor.paged) : 1;
1333
- alm.addons.elementor_container_class = alm.localize.elementor.container_class;
1334
- alm.addons.elementor_item_class = alm.localize.elementor.item_class;
1335
- alm.addons.elementor_pagination_class = alm.localize.elementor.pagination_class;
1336
- alm.addons.elementor_pagination_item = alm.localize.elementor.pagination_item;
1337
- alm.addons.elementor_pages = (0, _elementor.elementorGetPages)(alm.addons.elementor_pagination_class, alm.addons.elementor_pagination_item, alm.addons.elementor_target_element);
1338
- alm.page = parseInt(alm.page) + alm.addons.elementor_paged;
1339
  }
1340
 
1341
  // WooCommerce add-on
@@ -1714,7 +1840,7 @@ var alm_is_filtering = false;
1714
  alm.transition_container = alm.transition_container === undefined || alm.transition_container === 'true' ? true : false;
1715
 
1716
  /* Button Labels */
1717
- alm.button_label = alm.button_label === undefined ? 'Older Posts' : alm.button_label;
1718
  alm.button_loading_label = alm.button_loading_label === undefined ? false : alm.button_loading_label;
1719
  alm.button_done_label = alm.button_done_label === undefined ? false : alm.button_done_label;
1720
 
@@ -3018,6 +3144,10 @@ var alm_is_filtering = false;
3018
  // WooCommerce
3019
  window.almWooCommerce(alm);
3020
  }
 
 
 
 
3021
  };
3022
 
3023
  /**
@@ -3465,8 +3595,8 @@ var alm_is_filtering = false;
3465
  // Initiate Elementor
3466
  (0, _elementor.elementorInit)(alm);
3467
 
3468
- // Trigger `Done` if `paged is less than `pages`
3469
- if (alm.addons.elementor_paged > parseInt(alm.addons.elementor_pages.length)) {
3470
  alm.AjaxLoadMore.triggerDone();
3471
  }
3472
  }
@@ -17270,6 +17400,15 @@ return EvEmitter;
17270
  focusElem.focus(
17271
  Object.defineProperty({}, "preventScroll", {
17272
  get: function() {
 
 
 
 
 
 
 
 
 
17273
  supportsPreventScrollOption = true;
17274
  }
17275
  })
@@ -17318,13 +17457,15 @@ return EvEmitter;
17318
  var patchedFocus = function(args) {
17319
  if (args && args.preventScroll) {
17320
  var evScrollableElements = calcScrollableElements(this);
17321
- this.nativeFocus();
17322
  if (typeof setTimeout === 'function') {
 
17323
  setTimeout(function () {
 
17324
  restoreScrollPosition(evScrollableElements);
17325
  }, 0);
17326
  } else {
17327
- restoreScrollPosition(evScrollableElements);
 
17328
  }
17329
  }
17330
  else {
@@ -18831,6 +18972,24 @@ var runtime = (function (exports) {
18831
  var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
18832
  var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
18833
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18834
  function wrap(innerFn, outerFn, self, tryLocsList) {
18835
  // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
18836
  var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
@@ -18901,16 +19060,19 @@ var runtime = (function (exports) {
18901
  Generator.prototype = Object.create(IteratorPrototype);
18902
  GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
18903
  GeneratorFunctionPrototype.constructor = GeneratorFunction;
18904
- GeneratorFunctionPrototype[toStringTagSymbol] =
18905
- GeneratorFunction.displayName = "GeneratorFunction";
 
 
 
18906
 
18907
  // Helper for defining the .next, .throw, and .return methods of the
18908
  // Iterator interface in terms of a single ._invoke method.
18909
  function defineIteratorMethods(prototype) {
18910
  ["next", "throw", "return"].forEach(function(method) {
18911
- prototype[method] = function(arg) {
18912
  return this._invoke(method, arg);
18913
- };
18914
  });
18915
  }
18916
 
@@ -18929,9 +19091,7 @@ var runtime = (function (exports) {
18929
  Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
18930
  } else {
18931
  genFun.__proto__ = GeneratorFunctionPrototype;
18932
- if (!(toStringTagSymbol in genFun)) {
18933
- genFun[toStringTagSymbol] = "GeneratorFunction";
18934
- }
18935
  }
18936
  genFun.prototype = Object.create(Gp);
18937
  return genFun;
@@ -19201,7 +19361,7 @@ var runtime = (function (exports) {
19201
  // unified ._invoke helper method.
19202
  defineIteratorMethods(Gp);
19203
 
19204
- Gp[toStringTagSymbol] = "Generator";
19205
 
19206
  // A Generator should always return itself as the iterator object when the
19207
  // @@iterator function is called on it. Some browsers' implementations of the
190
  exports.elementor = elementor;
191
  exports.elementorGetContent = elementorGetContent;
192
  exports.elementorGetPages = elementorGetPages;
193
+ exports.elementorCreateParams = elementorCreateParams;
194
 
195
  var _loadItems = __webpack_require__(/*! ../modules/loadItems */ "./core/src/js/modules/loadItems.js");
196
 
234
  return false;
235
  }
236
  var target = alm.addons.elementor_target_element;
237
+
238
  if (target) {
239
  // Set button data attributes
240
  alm.button.dataset.page = alm.addons.elementor_paged;
259
  item.dataset.pageTitle = document.title;
260
  }
261
 
262
+ if (alm.addons.elementor_paged > 1) {}
263
+ // maybe soon
264
+ //almElementorResultsTextInit(alm);
265
+
266
+
267
+ // Masonry Window Resize. Delay for masonry to be added via Elementor.
268
+ if (alm.addons.elementor_masonry) {
269
+ var resizeTimeout = void 0;
270
+ setTimeout(function () {
271
+ window.addEventListener('resize', function () {
272
+ clearTimeout(resizeTimeout);
273
+ resizeTimeout = setTimeout(function () {
274
+ positionMasonryItems(alm, '.' + alm.addons.elementor_container_class, '.' + alm.addons.elementor_item_class);
275
+ }, 100);
276
+ });
277
+ }, 250);
278
  }
279
  }
280
  }
281
 
282
  /**
283
+ * Core ALM Elementor loader.
 
284
  *
285
  * @param {HTMLElement} content
286
  * @param {object} alm
314
  return (0, _loadItems2.default)(container, items, alm, pageTitle, url, 'alm-elementor');
315
 
316
  case 2:
317
+ if (alm.addons.elementor_masonry) {
318
+ setTimeout(function () {
319
+ positionMasonryItems(alm, '.' + alm.addons.elementor_container_class, '.' + alm.addons.elementor_item_class);
320
+ }, 125);
321
+ }
322
+
323
  resolve(true);
324
 
325
+ case 4:
326
  case 'end':
327
  return _context.stop();
328
  }
336
  }
337
 
338
  /**
339
+ * Position Elementor Masonry Items
340
+ *
341
+ * @param {*} alm
342
+ * @param {*} container_class
343
+ * @param {*} item_class
344
+ */
345
+ function positionMasonryItems(alm, container_class, item_class) {
346
+ var heights = [];
347
+
348
+ // Get Elementor Settings
349
+ var columnsCount = alm.addons.elementor_masonry_columns;
350
+ var columnsCountTablet = alm.addons.elementor_masonry_columns_tablet;
351
+ var columnsCountMobile = alm.addons.elementor_masonry_columns_mobile;
352
+ var verticalSpaceBetween = alm.addons.elementor_masonry_gap;
353
+ var columns = columnsCount;
354
+
355
+ // Get Elementor Breakpoints
356
+ var breakpoints = window.elementorFrontendConfig && window.elementorFrontendConfig.breakpoints ? window.elementorFrontendConfig.breakpoints : 0;
357
+ var windowW = window.innerWidth;
358
+
359
+ // Set Columns
360
+ if (windowW > breakpoints.lg) {
361
+ columns = columnsCount;
362
+ } else if (windowW > breakpoints.md) {
363
+ columns = columnsCountTablet;
364
+ } else {
365
+ columns = columnsCountMobile;
366
+ }
367
+
368
+ // Get Containers
369
+ var container = document.querySelector(container_class);
370
+ if (!container) {
371
+ return false;
372
+ }
373
+ var items = container.querySelectorAll(item_class);
374
+ if (!items) {
375
+ return false;
376
+ }
377
+
378
+ // Loop items
379
+ items.forEach(function (item, index) {
380
+ var row = Math.floor(index / columns);
381
+ var itemHeight = item.getBoundingClientRect().height + verticalSpaceBetween;
382
+
383
+ if (row) {
384
+ var itemPosition = jQuery(item).position();
385
+ var indexAtRow = index % columns;
386
+ var pullHeight = Math.round(itemPosition.top) - heights[indexAtRow];
387
+
388
+ pullHeight *= -1;
389
+ item.style.marginTop = Math.round(pullHeight) + 'px';
390
+ heights[indexAtRow] += itemHeight;
391
+ } else {
392
+ heights.push(itemHeight);
393
+ }
394
+ });
395
+ }
396
+
397
+ /**
398
+ * Get the content, title and results text from the Ajax response.
399
  *
400
+ * @param {*} response
401
  * @param {object} alm
402
  * @since 5.4.0
403
  */
 
404
  function elementorGetContent(response, alm) {
405
  var data = {
406
  html: '',
441
  }
442
  var pagination = target.querySelector('.' + pagination_class);
443
  if (!pagination) {
444
+ return false;
445
  }
446
  var pages = pagination.querySelectorAll(pagination_item);
447
  return pages;
448
  }
449
 
450
+ /**
451
+ * Create Elementor Params for ALM.
452
+ *
453
+ * @param Object alm
454
+ * @return alm
455
+ */
456
+ function elementorCreateParams(alm) {
457
+ alm.addons.elementor_settings = JSON.parse(alm.listing.dataset.elementorSettings);
458
+ alm.addons.elementor_type = 'posts';
459
+ alm.addons.elementor_target = alm.addons.elementor_settings.target;
460
+ alm.addons.elementor_target_element = alm.addons.elementor_target ? document.querySelector('.elementor-widget-wrap ' + alm.addons.elementor_target) : '';
461
+ alm.addons.elementor_paged = alm.addons.elementor_settings.paged ? parseInt(alm.addons.elementor_settings.paged) : 1;
462
+ alm.addons.elementor_container_class = alm.addons.elementor_settings.container_class;
463
+ alm.addons.elementor_item_class = alm.addons.elementor_settings.item_class;
464
+ alm.addons.elementor_pagination_class = alm.addons.elementor_settings.pagination_class;
465
+ alm.addons.elementor_pagination_item = alm.addons.elementor_settings.pagination_item;
466
+ alm.addons.elementor_controls = alm.addons.elementor_settings.controls;
467
+ alm.addons.elementor_controls = alm.addons.elementor_controls === 'true' ? true : false;
468
+ alm.addons.elementor_scrolltop = parseInt(alm.addons.elementor_settings.scrolltop);
469
+ alm.addons.elementor_pages = elementorGetPages(alm.addons.elementor_pagination_class, alm.addons.elementor_pagination_item, alm.addons.elementor_target_element);
470
+
471
+ alm.page = parseInt(alm.page) + alm.addons.elementor_paged;
472
+
473
+ // Masonry
474
+ alm = parseMasonryConfig(alm);
475
+
476
+ if (!alm.addons.elementor_target_element) {
477
+ console.warn("Ajax Load More: Unable to locate Elementor Posts Widget. Are you sure you've set up your target parameter correctly?");
478
+ }
479
+ return alm;
480
+ }
481
+
482
+ /**
483
+ * Parse Masonry Settings from Elementor Data atts
484
+ *
485
+ * @param {*} alm
486
+ */
487
+ function parseMasonryConfig(alm) {
488
+ if (!alm.addons.elementor_target_element) {
489
+ return alm; // Exit if not found.
490
+ }
491
+
492
+ var settings = JSON.parse(alm.addons.elementor_target_element.dataset.settings);
493
+ if (!settings) {
494
+ return alm; // Exit if not found.
495
+ }
496
+
497
+ alm.addons.elementor_masonry = settings.hasOwnProperty('cards_masonry') || settings.hasOwnProperty('classic_masonry');
498
+ if (alm.addons.elementor_masonry) {
499
+ alm.addons.elementor_masonry_columns = parseInt(settings.cards_columns) || parseInt(settings.classic_columns);
500
+ alm.addons.elementor_masonry_columns_mobile = parseInt(settings.cards_columns_mobile) || parseInt(settings.classic_columns_mobile);
501
+ alm.addons.elementor_masonry_columns_tablet = parseInt(settings.cards_columns_tablet) || parseInt(settings.classic_columns_tablet);
502
+ alm.addons.elementor_masonry_gap = parseInt(settings.cards_row_gap.size);
503
+ }
504
+
505
+ return alm;
506
+ }
507
+
508
  /***/ }),
509
 
510
  /***/ "./core/src/js/addons/filters.js":
1456
  alm.is_search = alm.is_search === undefined ? false : alm.is_search;
1457
  alm.search_value = alm.is_search === 'true' ? alm.slug : ''; // Convert to value of slug for appending to seo url
1458
 
1459
+ // Add-on Shortcode Params
1460
 
1461
  // Elementor add-on
1462
+ alm.addons.elementor = alm.listing.dataset.elementor === 'posts' && alm.listing.dataset.elementorSettings ? true : false;
1463
  if (alm.addons.elementor) {
1464
+ alm = (0, _elementor.elementorCreateParams)(alm);
 
 
 
 
 
 
 
 
 
 
1465
  }
1466
 
1467
  // WooCommerce add-on
1840
  alm.transition_container = alm.transition_container === undefined || alm.transition_container === 'true' ? true : false;
1841
 
1842
  /* Button Labels */
1843
+ alm.button_label = alm.button_label === undefined ? 'Load More' : alm.button_label;
1844
  alm.button_loading_label = alm.button_loading_label === undefined ? false : alm.button_loading_label;
1845
  alm.button_done_label = alm.button_done_label === undefined ? false : alm.button_done_label;
1846
 
3144
  // WooCommerce
3145
  window.almWooCommerce(alm);
3146
  }
3147
+ if (typeof almElementor === 'function') {
3148
+ // Elementor
3149
+ window.almElementor(alm);
3150
+ }
3151
  };
3152
 
3153
  /**
3595
  // Initiate Elementor
3596
  (0, _elementor.elementorInit)(alm);
3597
 
3598
+ // Trigger `Done` if `paged is less than `pages`, or pages do not exist
3599
+ if (alm.addons.elementor_paged > parseInt(alm.addons.elementor_pages.length) || !alm.addons.elementor_pages) {
3600
  alm.AjaxLoadMore.triggerDone();
3601
  }
3602
  }
17400
  focusElem.focus(
17401
  Object.defineProperty({}, "preventScroll", {
17402
  get: function() {
17403
+ // Edge v18 gives a false positive for supporting inputs
17404
+ if (
17405
+ navigator &&
17406
+ typeof navigator.userAgent !== 'undefined' &&
17407
+ navigator.userAgent &&
17408
+ navigator.userAgent.match(/Edge\/1[7-8]/)) {
17409
+ return supportsPreventScrollOption = false
17410
+ }
17411
+
17412
  supportsPreventScrollOption = true;
17413
  }
17414
  })
17457
  var patchedFocus = function(args) {
17458
  if (args && args.preventScroll) {
17459
  var evScrollableElements = calcScrollableElements(this);
 
17460
  if (typeof setTimeout === 'function') {
17461
+ var thisElem = this;
17462
  setTimeout(function () {
17463
+ thisElem.nativeFocus();
17464
  restoreScrollPosition(evScrollableElements);
17465
  }, 0);
17466
  } else {
17467
+ this.nativeFocus();
17468
+ restoreScrollPosition(evScrollableElements);
17469
  }
17470
  }
17471
  else {
18972
  var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
18973
  var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
18974
 
18975
+ function define(obj, key, value) {
18976
+ Object.defineProperty(obj, key, {
18977
+ value: value,
18978
+ enumerable: true,
18979
+ configurable: true,
18980
+ writable: true
18981
+ });
18982
+ return obj[key];
18983
+ }
18984
+ try {
18985
+ // IE 8 has a broken Object.defineProperty that only works on DOM objects.
18986
+ define({}, "");
18987
+ } catch (err) {
18988
+ define = function(obj, key, value) {
18989
+ return obj[key] = value;
18990
+ };
18991
+ }
18992
+
18993
  function wrap(innerFn, outerFn, self, tryLocsList) {
18994
  // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
18995
  var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
19060
  Generator.prototype = Object.create(IteratorPrototype);
19061
  GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
19062
  GeneratorFunctionPrototype.constructor = GeneratorFunction;
19063
+ GeneratorFunction.displayName = define(
19064
+ GeneratorFunctionPrototype,
19065
+ toStringTagSymbol,
19066
+ "GeneratorFunction"
19067
+ );
19068
 
19069
  // Helper for defining the .next, .throw, and .return methods of the
19070
  // Iterator interface in terms of a single ._invoke method.
19071
  function defineIteratorMethods(prototype) {
19072
  ["next", "throw", "return"].forEach(function(method) {
19073
+ define(prototype, method, function(arg) {
19074
  return this._invoke(method, arg);
19075
+ });
19076
  });
19077
  }
19078
 
19091
  Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
19092
  } else {
19093
  genFun.__proto__ = GeneratorFunctionPrototype;
19094
+ define(genFun, toStringTagSymbol, "GeneratorFunction");
 
 
19095
  }
19096
  genFun.prototype = Object.create(Gp);
19097
  return genFun;
19361
  // unified ._invoke helper method.
19362
  defineIteratorMethods(Gp);
19363
 
19364
+ define(Gp, toStringTagSymbol, "Generator");
19365
 
19366
  // A Generator should always return itself as the iterator object when the
19367
  // @@iterator function is called on it. Some browsers' implementations of the
core/dist/js/ajax-load-more.min.js CHANGED
@@ -1,13 +1,13 @@
1
- var ajaxloadmore=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=96)}([function(t,e,n){var r=n(1),o=n(7),a=n(15),i=n(11),s=n(18),l=function(t,e,n){var c,u,d,f,p=t&l.F,g=t&l.G,h=t&l.S,m=t&l.P,v=t&l.B,y=g?r:h?r[e]||(r[e]={}):(r[e]||{}).prototype,_=g?o:o[e]||(o[e]={}),b=_.prototype||(_.prototype={});for(c in g&&(n=e),n)d=((u=!p&&y&&void 0!==y[c])?y:n)[c],f=v&&u?s(d,r):m&&"function"==typeof d?s(Function.call,d):d,y&&i(y,c,d,t&l.U),_[c]!=d&&a(_,c,f),m&&b[c]!=d&&(b[c]=d)};r.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(51)("wks"),o=n(30),a=n(1).Symbol,i="function"==typeof a;(t.exports=function(t){return r[t]||(r[t]=i&&a[t]||(i?a:o)("Symbol."+t))}).store=r},function(t,e,n){var r=n(20),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(t,e,n){t.exports=!n(2)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(3),o=n(108),a=n(27),i=Object.defineProperty;e.f=n(8)?Object.defineProperty:function(t,e,n){if(r(t),e=a(e,!0),r(n),o)try{return i(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(25);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(1),o=n(15),a=n(14),i=n(30)("src"),s=n(185),l=(""+s).split("toString");n(7).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var c="function"==typeof n;c&&(a(n,"name")||o(n,"name",e)),t[e]!==n&&(c&&(a(n,i)||o(n,i,t[e]?""+t[e]:l.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[i]||s.call(this)}))},function(t,e,n){var r=n(0),o=n(2),a=n(25),i=/"/g,s=function(t,e,n,r){var o=String(a(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(r).replace(i,"&quot;")+'"'),s+">"+o+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(s),r(r.P+r.F*o((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})),"String",n)}},function(t,e,n){"use strict";var r=n(97),o=n(141),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return null!==t&&"object"==typeof t}function l(t){return"[object Function]"===a.call(t)}function c(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),i(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}t.exports={isArray:i,isArrayBuffer:function(t){return"[object ArrayBuffer]"===a.call(t)},isBuffer:o,isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:s,isUndefined:function(t){return void 0===t},isDate:function(t){return"[object Date]"===a.call(t)},isFile:function(t){return"[object File]"===a.call(t)},isBlob:function(t){return"[object Blob]"===a.call(t)},isFunction:l,isStream:function(t){return s(t)&&l(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:c,merge:function t(){var e={};function n(n,r){"object"==typeof e[r]&&"object"==typeof n?e[r]=t(e[r],n):e[r]=n}for(var r=0,o=arguments.length;r<o;r++)c(arguments[r],n);return e},extend:function(t,e,n){return c(e,(function(e,o){t[o]=n&&"function"==typeof e?r(e,n):e})),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(9),o=n(29);t.exports=n(8)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(45),o=n(25);t.exports=function(t){return r(o(t))}},function(t,e,n){"use strict";var r=n(2);t.exports=function(t,e){return!!t&&r((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},function(t,e,n){var r=n(19);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(46),o=n(29),a=n(16),i=n(27),s=n(14),l=n(108),c=Object.getOwnPropertyDescriptor;e.f=n(8)?c:function(t,e){if(t=a(t),e=i(e,!0),l)try{return c(t,e)}catch(t){}if(s(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(0),o=n(7),a=n(2);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],i={};i[t]=e(n),r(r.S+r.F*a((function(){n(1)})),"Object",i)}},function(t,e,n){var r=n(18),o=n(45),a=n(10),i=n(6),s=n(124);t.exports=function(t,e){var n=1==t,l=2==t,c=3==t,u=4==t,d=6==t,f=5==t||d,p=e||s;return function(e,s,g){for(var h,m,v=a(e),y=o(v),_=r(s,g,3),b=i(y.length),x=0,w=n?p(e,b):l?p(e,0):void 0;b>x;x++)if((f||x in y)&&(m=_(h=y[x],x,v),t))if(n)w[x]=m;else if(m)switch(t){case 3:return!0;case 5:return h;case 6:return x;case 2:w.push(h)}else if(u)return!1;return d?-1:c||u?u:w}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){"use strict";if(n(8)){var r=n(31),o=n(1),a=n(2),i=n(0),s=n(62),l=n(94),c=n(18),u=n(43),d=n(29),f=n(15),p=n(44),g=n(20),h=n(6),m=n(135),v=n(33),y=n(27),_=n(14),b=n(47),x=n(4),w=n(10),S=n(86),A=n(34),j=n(36),P=n(35).f,E=n(88),L=n(30),M=n(5),O=n(23),T=n(52),I=n(48),F=n(90),C=n(41),N=n(55),k=n(42),R=n(89),D=n(126),q=n(9),z=n(21),B=q.f,H=z.f,W=o.RangeError,U=o.TypeError,V=o.Uint8Array,G=Array.prototype,Y=l.ArrayBuffer,X=l.DataView,Q=O(0),$=O(2),J=O(3),K=O(4),Z=O(5),tt=O(6),et=T(!0),nt=T(!1),rt=F.values,ot=F.keys,at=F.entries,it=G.lastIndexOf,st=G.reduce,lt=G.reduceRight,ct=G.join,ut=G.sort,dt=G.slice,ft=G.toString,pt=G.toLocaleString,gt=M("iterator"),ht=M("toStringTag"),mt=L("typed_constructor"),vt=L("def_constructor"),yt=s.CONSTR,_t=s.TYPED,bt=s.VIEW,xt=O(1,(function(t,e){return Pt(I(t,t[vt]),e)})),wt=a((function(){return 1===new V(new Uint16Array([1]).buffer)[0]})),St=!!V&&!!V.prototype.set&&a((function(){new V(1).set({})})),At=function(t,e){var n=g(t);if(n<0||n%e)throw W("Wrong offset!");return n},jt=function(t){if(x(t)&&_t in t)return t;throw U(t+" is not a typed array!")},Pt=function(t,e){if(!x(t)||!(mt in t))throw U("It is not a typed array constructor!");return new t(e)},Et=function(t,e){return Lt(I(t,t[vt]),e)},Lt=function(t,e){for(var n=0,r=e.length,o=Pt(t,r);r>n;)o[n]=e[n++];return o},Mt=function(t,e,n){B(t,e,{get:function(){return this._d[n]}})},Ot=function(t){var e,n,r,o,a,i,s=w(t),l=arguments.length,u=l>1?arguments[1]:void 0,d=void 0!==u,f=E(s);if(null!=f&&!S(f)){for(i=f.call(s),r=[],e=0;!(a=i.next()).done;e++)r.push(a.value);s=r}for(d&&l>2&&(u=c(u,arguments[2],2)),e=0,n=h(s.length),o=Pt(this,n);n>e;e++)o[e]=d?u(s[e],e):s[e];return o},Tt=function(){for(var t=0,e=arguments.length,n=Pt(this,e);e>t;)n[t]=arguments[t++];return n},It=!!V&&a((function(){pt.call(new V(1))})),Ft=function(){return pt.apply(It?dt.call(jt(this)):jt(this),arguments)},Ct={copyWithin:function(t,e){return D.call(jt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return K(jt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return R.apply(jt(this),arguments)},filter:function(t){return Et(this,$(jt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Z(jt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(jt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){Q(jt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(jt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(jt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ct.apply(jt(this),arguments)},lastIndexOf:function(t){return it.apply(jt(this),arguments)},map:function(t){return xt(jt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return st.apply(jt(this),arguments)},reduceRight:function(t){return lt.apply(jt(this),arguments)},reverse:function(){for(var t,e=jt(this).length,n=Math.floor(e/2),r=0;r<n;)t=this[r],this[r++]=this[--e],this[e]=t;return this},some:function(t){return J(jt(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return ut.call(jt(this),t)},subarray:function(t,e){var n=jt(this),r=n.length,o=v(t,r);return new(I(n,n[vt]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,h((void 0===e?r:v(e,r))-o))}},Nt=function(t,e){return Et(this,dt.call(jt(this),t,e))},kt=function(t){jt(this);var e=At(arguments[1],1),n=this.length,r=w(t),o=h(r.length),a=0;if(o+e>n)throw W("Wrong length!");for(;a<o;)this[e+a]=r[a++]},Rt={entries:function(){return at.call(jt(this))},keys:function(){return ot.call(jt(this))},values:function(){return rt.call(jt(this))}},Dt=function(t,e){return x(t)&&t[_t]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},qt=function(t,e){return Dt(t,e=y(e,!0))?d(2,t[e]):H(t,e)},zt=function(t,e,n){return!(Dt(t,e=y(e,!0))&&x(n)&&_(n,"value"))||_(n,"get")||_(n,"set")||n.configurable||_(n,"writable")&&!n.writable||_(n,"enumerable")&&!n.enumerable?B(t,e,n):(t[e]=n.value,t)};yt||(z.f=qt,q.f=zt),i(i.S+i.F*!yt,"Object",{getOwnPropertyDescriptor:qt,defineProperty:zt}),a((function(){ft.call({})}))&&(ft=pt=function(){return ct.call(this)});var Bt=p({},Ct);p(Bt,Rt),f(Bt,gt,Rt.values),p(Bt,{slice:Nt,set:kt,constructor:function(){},toString:ft,toLocaleString:Ft}),Mt(Bt,"buffer","b"),Mt(Bt,"byteOffset","o"),Mt(Bt,"byteLength","l"),Mt(Bt,"length","e"),B(Bt,ht,{get:function(){return this[_t]}}),t.exports=function(t,e,n,l){var c=t+((l=!!l)?"Clamped":"")+"Array",d="get"+t,p="set"+t,g=o[c],v=g||{},y=g&&j(g),_=!g||!s.ABV,w={},S=g&&g.prototype,E=function(t,n){B(t,n,{get:function(){return function(t,n){var r=t._d;return r.v[d](n*e+r.o,wt)}(this,n)},set:function(t){return function(t,n,r){var o=t._d;l&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),o.v[p](n*e+o.o,r,wt)}(this,n,t)},enumerable:!0})};_?(g=n((function(t,n,r,o){u(t,g,c,"_d");var a,i,s,l,d=0,p=0;if(x(n)){if(!(n instanceof Y||"ArrayBuffer"==(l=b(n))||"SharedArrayBuffer"==l))return _t in n?Lt(g,n):Ot.call(g,n);a=n,p=At(r,e);var v=n.byteLength;if(void 0===o){if(v%e)throw W("Wrong length!");if((i=v-p)<0)throw W("Wrong length!")}else if((i=h(o)*e)+p>v)throw W("Wrong length!");s=i/e}else s=m(n),a=new Y(i=s*e);for(f(t,"_d",{b:a,o:p,l:i,e:s,v:new X(a)});d<s;)E(t,d++)})),S=g.prototype=A(Bt),f(S,"constructor",g)):a((function(){g(1)}))&&a((function(){new g(-1)}))&&N((function(t){new g,new g(null),new g(1.5),new g(t)}),!0)||(g=n((function(t,n,r,o){var a;return u(t,g,c),x(n)?n instanceof Y||"ArrayBuffer"==(a=b(n))||"SharedArrayBuffer"==a?void 0!==o?new v(n,At(r,e),o):void 0!==r?new v(n,At(r,e)):new v(n):_t in n?Lt(g,n):Ot.call(g,n):new v(m(n))})),Q(y!==Function.prototype?P(v).concat(P(y)):P(v),(function(t){t in g||f(g,t,v[t])})),g.prototype=S,r||(S.constructor=g));var L=S[gt],M=!!L&&("values"==L.name||null==L.name),O=Rt.values;f(g,mt,!0),f(S,_t,c),f(S,bt,!0),f(S,vt,g),(l?new g(1)[ht]==c:ht in S)||B(S,ht,{get:function(){return c}}),w[c]=g,i(i.G+i.W+i.F*(g!=v),w),i(i.S,c,{BYTES_PER_ELEMENT:e}),i(i.S+i.F*a((function(){v.of.call(g,1)})),c,{from:Ot,of:Tt}),"BYTES_PER_ELEMENT"in S||f(S,"BYTES_PER_ELEMENT",e),i(i.P,c,Ct),k(c),i(i.P+i.F*St,c,{set:kt}),i(i.P+i.F*!M,c,Rt),r||S.toString==ft||(S.toString=ft),i(i.P+i.F*a((function(){new g(1).slice()})),c,{slice:Nt}),i(i.P+i.F*(a((function(){return[1,2].toLocaleString()!=new g([1,2]).toLocaleString()}))||!a((function(){S.toLocaleString.call([1,2])}))),c,{toLocaleString:Ft}),C[c]=M?L:O,r||M||f(S,gt,O)}}else t.exports=function(){}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(30)("meta"),o=n(4),a=n(14),i=n(9).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(2)((function(){return l(Object.preventExtensions({}))})),u=function(t){i(t,r,{value:{i:"O"+ ++s,w:{}}})},d=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!a(t,r)){if(!l(t))return"F";if(!e)return"E";u(t)}return t[r].i},getWeak:function(t,e){if(!a(t,r)){if(!l(t))return!0;if(!e)return!1;u(t)}return t[r].w},onFreeze:function(t){return c&&d.NEED&&l(t)&&!a(t,r)&&u(t),t}}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports=!1},function(t,e,n){var r=n(110),o=n(73);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(20),o=Math.max,a=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):a(t,e)}},function(t,e,n){var r=n(3),o=n(111),a=n(73),i=n(72)("IE_PROTO"),s=function(){},l=function(){var t,e=n(70)("iframe"),r=a.length;for(e.style.display="none",n(74).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;r--;)delete l.prototype[a[r]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[i]=t):n=l(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(110),o=n(73).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(14),o=n(10),a=n(72)("IE_PROTO"),i=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?i:null}},function(t,e,n){var r=n(5)("unscopables"),o=Array.prototype;null==o[r]&&n(15)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){var r=n(9).f,o=n(14),a=n(5)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,a)&&r(t,a,{configurable:!0,value:e})}},function(t,e,n){var r=n(0),o=n(25),a=n(2),i=n(76),s="["+i+"]",l=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),u=function(t,e,n){var o={},s=a((function(){return!!i[t]()||"​…"!="​…"[t]()})),l=o[t]=s?e(d):i[t];n&&(o[n]=l),r(r.P+r.F*s,"String",o)},d=u.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(l,"")),2&e&&(t=t.replace(c,"")),t};t.exports=u},function(t,e){t.exports={}},function(t,e,n){"use strict";var r=n(1),o=n(9),a=n(8),i=n(5)("species");t.exports=function(t){var e=r[t];a&&e&&!e[i]&&o.f(e,i,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(11);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){var r=n(24);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(24),o=n(5)("toStringTag"),a="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:a?r(e):"Object"==(i=r(e))&&"function"==typeof e.callee?"Arguments":i}},function(t,e,n){var r=n(3),o=n(19),a=n(5)("species");t.exports=function(t,e){var n,i=r(t).constructor;return void 0===i||null==(n=r(i)[a])?e:o(n)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!alm_localize.a11y_focus)return!1;t.addons.woocommerce||t.addons.elementor?r(!1,!1,e,!1,t.isSafari):t.transition_container&&n>0?t.addons.paging?r(t.init,t.addons.preloaded,t.listing,o,t.isSafari):t.addons.single_post||t.addons.nextpage?r(!1,t.addons.preloaded,e,o,t.isSafari):r(t.init,t.addons.preloaded,e,o,t.isSafari):t.transition_container||r(t.init,t.addons.preloaded,e[0],o,t.isSafari)};var r=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"false",n=arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!r&&(t||!n)&&"true"!==e)return!1;n.setAttribute("tabIndex","-1"),n.style.outline="none";var o=n.classList.contains("alm-listing")?n:n.parentNode,a=o.dataset.scrollContainer;if(a){var i=document.querySelector(a);i&&setTimeout((function(){n.focus({preventScroll:!0})}),50)}else setTimeout((function(){n.focus({preventScroll:!0})}),50)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,e){if(0==e)t.style.opacity=1,t.style.height="auto";else{e/=10;var n=0,r=setInterval((function(){n>.9&&(t.style.opacity=1,clearInterval(r)),t.style.opacity=n,n+=.1}),e);t.style.height="auto"}}},function(t,e,n){var r=n(7),o=n(1),a=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(31)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(16),o=n(6),a=n(33);t.exports=function(t){return function(e,n,i){var s,l=r(e),c=o(l.length),u=a(i,c);if(t&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(24);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(5)("iterator"),o=!1;try{var a=[7][r]();a.return=function(){o=!0},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var a=[7],i=a[r]();i.next=function(){return{done:n=!0}},a[r]=function(){return i},t(a)}catch(t){}return n}},function(t,e,n){"use strict";var r=n(3);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){"use strict";var r=n(47),o=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var a=n.call(t,e);if("object"!=typeof a)throw new TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},function(t,e,n){"use strict";n(128);var r=n(11),o=n(15),a=n(2),i=n(25),s=n(5),l=n(91),c=s("species"),u=!a((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),d=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var f=s(t),p=!a((function(){var e={};return e[f]=function(){return 7},7!=""[t](e)})),g=p?!a((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[c]=function(){return n}),n[f](""),!e})):void 0;if(!p||!g||"replace"===t&&!u||"split"===t&&!d){var h=/./[f],m=n(i,f,""[t],(function(t,e,n,r,o){return e.exec===l?p&&!o?{done:!0,value:h.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),v=m[0],y=m[1];r(String.prototype,t,v),o(RegExp.prototype,f,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},function(t,e,n){var r=n(18),o=n(123),a=n(86),i=n(3),s=n(6),l=n(88),c={},u={};(e=t.exports=function(t,e,n,d,f){var p,g,h,m,v=f?function(){return t}:l(t),y=r(n,d,e?2:1),_=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(a(v)){for(p=s(t.length);p>_;_++)if((m=e?y(i(g=t[_])[0],g[1]):y(t[_]))===c||m===u)return m}else for(h=v.call(t);!(g=h.next()).done;)if((m=o(h,y,g.value,e))===c||m===u)return m}).BREAK=c,e.RETURN=u},function(t,e,n){var r=n(1).navigator;t.exports=r&&r.userAgent||""},function(t,e,n){"use strict";var r=n(1),o=n(0),a=n(11),i=n(44),s=n(28),l=n(59),c=n(43),u=n(4),d=n(2),f=n(55),p=n(39),g=n(77);t.exports=function(t,e,n,h,m,v){var y=r[t],_=y,b=m?"set":"add",x=_&&_.prototype,w={},S=function(t){var e=x[t];a(x,t,"delete"==t||"has"==t?function(t){return!(v&&!u(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return v&&!u(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof _&&(v||x.forEach&&!d((function(){(new _).entries().next()})))){var A=new _,j=A[b](v?{}:-0,1)!=A,P=d((function(){A.has(1)})),E=f((function(t){new _(t)})),L=!v&&d((function(){for(var t=new _,e=5;e--;)t[b](e,e);return!t.has(-0)}));E||((_=e((function(e,n){c(e,_,t);var r=g(new y,e,_);return null!=n&&l(n,m,r[b],r),r}))).prototype=x,x.constructor=_),(P||L)&&(S("delete"),S("has"),m&&S("get")),(L||j)&&S(b),v&&x.clear&&delete x.clear}else _=h.getConstructor(e,t,m,b),i(_.prototype,n),s.NEED=!0;return p(_,t),w[t]=_,o(o.G+o.W+o.F*(_!=y),w),v||h.setStrong(_,t,m),_}},function(t,e,n){for(var r,o=n(1),a=n(15),i=n(30),s=i("typed_array"),l=i("view"),c=!(!o.ArrayBuffer||!o.DataView),u=c,d=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");d<9;)(r=o[f[d++]])?(a(r.prototype,s,!0),a(r.prototype,l,!0)):u=!1;t.exports={ABV:c,CONSTR:u,TYPED:s,VIEW:l}},function(t,e,n){t.exports=n(140)},function(t,e,n){"use strict";(function(e){var r=n(13),o=n(144),a={"Content-Type":"application/x-www-form-urlencoded"};function i(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var s,l={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==e)&&(s=n(98)),s),transformRequest:[function(t,e){return o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(i(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(i(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(t){l.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){l.headers[t]=r.merge(a)})),t.exports=l}).call(this,n(143))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseQuerystring=function(t){var e=window.location.search.substring(1),n="",r="";e&&((n=JSON.parse('{"'+e.replace(/&/g,'","').replace(/=/g,'":"')+'"}',(function(t,e){return""===t?e:decodeURIComponent(e.replace(/\+/g,"-"))}))).pg&&delete n.pg,n.auto&&delete n.auto);n&&(r+="/",Object.keys(n).forEach((function(t,e){r+=e>0?"--":"",r+=t+"--"+n[t]})));return t+r},e.buildFilterURL=i,e.createMasonryFiltersPage=function(t,e){if(!t.addons.filters)return e;var n=window.location.search,r=t.page+1;return r="true"===t.addons.preloaded?r+1:r,e=s(t,e,n,r)},e.createMasonryFiltersPages=function(t,e){if(!t.addons.filters)return e;var n=1,r=t.page,o=window.location.search;if(t.addons.filters_startpage>1){for(var a=parseInt(t.posts_per_page),i=[],l=0;l<e.length;l+=a)i.push(e.slice(l,a+l));for(var c=0;c<i.length;c++){var u=c>0?c*a:0;n=c+1,e[u]&&(e[u]=s(t,e[u],o,n))}}else n=r,e[0]=s(t,e[0],o,n);return e};var r,o=n(164),a=(r=o)&&r.__esModule?r:{default:r};function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=e;return t.addons.filters_paging&&(r=n>1?r?(0,a.default)("pg")?e.replace(/(pg=)[^\&]+/,"$1"+n):e+"&pg="+n:"?pg="+n:"&"===(r="?"===(r=e.replace(/(pg=)[^\&]+/,""))?"":r)[r.length-1]?r.slice(0,-1):r),r}function s(t,e,n,r){if(e.classList.add("alm-filters"),e.dataset.page=r,r>1)e.dataset.url=t.canonical_url+i(t,n,r);else{var o=n.replace(/(pg=)[^\&]+/,"");o="?"===o?"":o,e.dataset.url=t.canonical_url+o}return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text/html";if(!t)return!1;var n=new DOMParser,r=n.parseFromString(t,e);return r?Array.prototype.slice.call(r.body.childNodes):r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!t)return!1;if(e.indexOf("Safari")>-1&&-1!=e.indexOf("Chrome")||e.indexOf("Firefox")>-1||e.indexOf("Windows")>-1)return!1;for(var n=t.querySelectorAll("img[srcset]:not(.alm-loaded)"),r=0;r<n.length;r++){var o=n[r];o.classList.add("alm-loaded"),o.outerHTML=o.outerHTML}}},function(t,e,n){var r,o;
2
  /*!
3
  * imagesLoaded v4.1.4
4
  * JavaScript is all like "You images are done yet or what?"
5
  * MIT License
6
- */!function(a,i){"use strict";r=[n(170)],void 0===(o=function(t){return function(t,e){var n=t.jQuery,r=t.console;function o(t,e){for(var n in e)t[n]=e[n];return t}var a=Array.prototype.slice;function i(t,e,s){if(!(this instanceof i))return new i(t,e,s);var l,c=t;("string"==typeof t&&(c=document.querySelectorAll(t)),c)?(this.elements=(l=c,Array.isArray(l)?l:"object"==typeof l&&"number"==typeof l.length?a.call(l):[l]),this.options=o({},this.options),"function"==typeof e?s=e:o(this.options,e),s&&this.on("always",s),this.getImages(),n&&(this.jqDeferred=new n.Deferred),setTimeout(this.check.bind(this))):r.error("Bad element for imagesLoaded "+(c||t))}i.prototype=Object.create(e.prototype),i.prototype.options={},i.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},i.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&s[e]){for(var n=t.querySelectorAll("img"),r=0;r<n.length;r++){var o=n[r];this.addImage(o)}if("string"==typeof this.options.background){var a=t.querySelectorAll(this.options.background);for(r=0;r<a.length;r++){var i=a[r];this.addElementBackgroundImages(i)}}}};var s={1:!0,9:!0,11:!0};function l(t){this.img=t}function c(t,e){this.url=t,this.element=e,this.img=new Image}return i.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var n=/url\((['"])?(.*?)\1\)/gi,r=n.exec(e.backgroundImage);null!==r;){var o=r&&r[2];o&&this.addBackground(o,t),r=n.exec(e.backgroundImage)}},i.prototype.addImage=function(t){var e=new l(t);this.images.push(e)},i.prototype.addBackground=function(t,e){var n=new c(t,e);this.images.push(n)},i.prototype.check=function(){var t=this;function e(e,n,r){setTimeout((function(){t.progress(e,n,r)}))}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach((function(t){t.once("progress",e),t.check()})):this.complete()},i.prototype.progress=function(t,e,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&r&&r.log("progress: "+n,t,e)},i.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},l.prototype=Object.create(e.prototype),l.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},l.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},l.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},l.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},l.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},l.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype=Object.create(l.prototype),c.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},c.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},i.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((n=e).fn.imagesLoaded=function(t,e){return new i(this,t,e).jqDeferred.promise(n(this))})},i.makeJQueryPlugin(),i}(a,t)}.apply(e,r))||(t.exports=o)}("undefined"!=typeof window?window:this)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,e){e/=10,t.style.opacity=.5;var n=setInterval((function(){t.style.opacity<.1?clearInterval(n):t.style.opacity-=.1}),e)}},function(t,e,n){var r=n(4),o=n(1).document,a=r(o)&&r(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},function(t,e,n){e.f=n(5)},function(t,e,n){var r=n(51)("keys"),o=n(30);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(1).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(4),o=n(3),a=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(18)(Function.call,n(21).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return a(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:a}},function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(t,e,n){var r=n(4),o=n(75).set;t.exports=function(t,e,n){var a,i=e.constructor;return i!==n&&"function"==typeof i&&(a=i.prototype)!==n.prototype&&r(a)&&o&&o(t,a),t}},function(t,e,n){"use strict";var r=n(20),o=n(25);t.exports=function(t){var e=String(o(this)),n="",a=r(t);if(a<0||a==1/0)throw RangeError("Count can't be negative");for(;a>0;(a>>>=1)&&(e+=e))1&a&&(n+=e);return n}},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e,n){var r=n(20),o=n(25);t.exports=function(t){return function(e,n){var a,i,s=String(o(e)),l=r(n),c=s.length;return l<0||l>=c?t?"":void 0:(a=s.charCodeAt(l))<55296||a>56319||l+1===c||(i=s.charCodeAt(l+1))<56320||i>57343?t?s.charAt(l):a:t?s.slice(l,l+2):i-56320+(a-55296<<10)+65536}}},function(t,e,n){"use strict";var r=n(31),o=n(0),a=n(11),i=n(15),s=n(41),l=n(122),c=n(39),u=n(36),d=n(5)("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,n,g,h,m,v){l(n,e,g);var y,_,b,x=function(t){if(!f&&t in j)return j[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},w=e+" Iterator",S="values"==h,A=!1,j=t.prototype,P=j[d]||j["@@iterator"]||h&&j[h],E=P||x(h),L=h?S?x("entries"):E:void 0,M="Array"==e&&j.entries||P;if(M&&(b=u(M.call(new t)))!==Object.prototype&&b.next&&(c(b,w,!0),r||"function"==typeof b[d]||i(b,d,p)),S&&P&&"values"!==P.name&&(A=!0,E=function(){return P.call(this)}),r&&!v||!f&&!A&&j[d]||i(j,d,E),s[e]=E,s[w]=p,h)if(y={values:S?E:x("values"),keys:m?E:x("keys"),entries:L},v)for(_ in y)_ in j||a(j,_,y[_]);else o(o.P+o.F*(f||A),e,y);return y}},function(t,e,n){var r=n(84),o=n(25);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(t))}},function(t,e,n){var r=n(4),o=n(24),a=n(5)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[a])?!!e:"RegExp"==o(t))}},function(t,e,n){var r=n(5)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,n){var r=n(41),o=n(5)("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||a[o]===t)}},function(t,e,n){"use strict";var r=n(9),o=n(29);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(47),o=n(5)("iterator"),a=n(41);t.exports=n(7).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||a[r(t)]}},function(t,e,n){"use strict";var r=n(10),o=n(33),a=n(6);t.exports=function(t){for(var e=r(this),n=a(e.length),i=arguments.length,s=o(i>1?arguments[1]:void 0,n),l=i>2?arguments[2]:void 0,c=void 0===l?n:o(l,n);c>s;)e[s++]=t;return e}},function(t,e,n){"use strict";var r=n(37),o=n(127),a=n(41),i=n(16);t.exports=n(82)(Array,"Array",(function(t,e){this._t=i(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(t,e,n){"use strict";var r,o,a=n(56),i=RegExp.prototype.exec,s=String.prototype.replace,l=i,c=(r=/a/,o=/b*/g,i.call(r,"a"),i.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),u=void 0!==/()??/.exec("")[1];(c||u)&&(l=function(t){var e,n,r,o,l=this;return u&&(n=new RegExp("^"+l.source+"$(?!\\s)",a.call(l))),c&&(e=l.lastIndex),r=i.call(l,t),c&&r&&(l.lastIndex=l.global?r.index+r[0].length:e),u&&r&&r.length>1&&s.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),t.exports=l},function(t,e,n){"use strict";var r=n(81)(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},function(t,e,n){var r,o,a,i=n(18),s=n(116),l=n(74),c=n(70),u=n(1),d=u.process,f=u.setImmediate,p=u.clearImmediate,g=u.MessageChannel,h=u.Dispatch,m=0,v={},y=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},_=function(t){y.call(t.data)};f&&p||(f=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return v[++m]=function(){s("function"==typeof t?t:Function(t),e)},r(m),m},p=function(t){delete v[t]},"process"==n(24)(d)?r=function(t){d.nextTick(i(y,t,1))}:h&&h.now?r=function(t){h.now(i(y,t,1))}:g?(a=(o=new g).port2,o.port1.onmessage=_,r=i(a.postMessage,a,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(t){u.postMessage(t+"","*")},u.addEventListener("message",_,!1)):r="onreadystatechange"in c("script")?function(t){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),y.call(t)}}:function(t){setTimeout(i(y,t,1),0)}),t.exports={set:f,clear:p}},function(t,e,n){"use strict";var r=n(1),o=n(8),a=n(31),i=n(62),s=n(15),l=n(44),c=n(2),u=n(43),d=n(20),f=n(6),p=n(135),g=n(35).f,h=n(9).f,m=n(89),v=n(39),y=r.ArrayBuffer,_=r.DataView,b=r.Math,x=r.RangeError,w=r.Infinity,S=y,A=b.abs,j=b.pow,P=b.floor,E=b.log,L=b.LN2,M=o?"_b":"buffer",O=o?"_l":"byteLength",T=o?"_o":"byteOffset";function I(t,e,n){var r,o,a,i=new Array(n),s=8*n-e-1,l=(1<<s)-1,c=l>>1,u=23===e?j(2,-24)-j(2,-77):0,d=0,f=t<0||0===t&&1/t<0?1:0;for((t=A(t))!=t||t===w?(o=t!=t?1:0,r=l):(r=P(E(t)/L),t*(a=j(2,-r))<1&&(r--,a*=2),(t+=r+c>=1?u/a:u*j(2,1-c))*a>=2&&(r++,a/=2),r+c>=l?(o=0,r=l):r+c>=1?(o=(t*a-1)*j(2,e),r+=c):(o=t*j(2,c-1)*j(2,e),r=0));e>=8;i[d++]=255&o,o/=256,e-=8);for(r=r<<e|o,s+=e;s>0;i[d++]=255&r,r/=256,s-=8);return i[--d]|=128*f,i}function F(t,e,n){var r,o=8*n-e-1,a=(1<<o)-1,i=a>>1,s=o-7,l=n-1,c=t[l--],u=127&c;for(c>>=7;s>0;u=256*u+t[l],l--,s-=8);for(r=u&(1<<-s)-1,u>>=-s,s+=e;s>0;r=256*r+t[l],l--,s-=8);if(0===u)u=1-i;else{if(u===a)return r?NaN:c?-w:w;r+=j(2,e),u-=i}return(c?-1:1)*r*j(2,u-e)}function C(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function N(t){return[255&t]}function k(t){return[255&t,t>>8&255]}function R(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function D(t){return I(t,52,8)}function q(t){return I(t,23,4)}function z(t,e,n){h(t.prototype,e,{get:function(){return this[n]}})}function B(t,e,n,r){var o=p(+n);if(o+e>t[O])throw x("Wrong index!");var a=t[M]._b,i=o+t[T],s=a.slice(i,i+e);return r?s:s.reverse()}function H(t,e,n,r,o,a){var i=p(+n);if(i+e>t[O])throw x("Wrong index!");for(var s=t[M]._b,l=i+t[T],c=r(+o),u=0;u<e;u++)s[l+u]=c[a?u:e-u-1]}if(i.ABV){if(!c((function(){y(1)}))||!c((function(){new y(-1)}))||c((function(){return new y,new y(1.5),new y(NaN),"ArrayBuffer"!=y.name}))){for(var W,U=(y=function(t){return u(this,y),new S(p(t))}).prototype=S.prototype,V=g(S),G=0;V.length>G;)(W=V[G++])in y||s(y,W,S[W]);a||(U.constructor=y)}var Y=new _(new y(2)),X=_.prototype.setInt8;Y.setInt8(0,2147483648),Y.setInt8(1,2147483649),!Y.getInt8(0)&&Y.getInt8(1)||l(_.prototype,{setInt8:function(t,e){X.call(this,t,e<<24>>24)},setUint8:function(t,e){X.call(this,t,e<<24>>24)}},!0)}else y=function(t){u(this,y,"ArrayBuffer");var e=p(t);this._b=m.call(new Array(e),0),this[O]=e},_=function(t,e,n){u(this,_,"DataView"),u(t,y,"DataView");var r=t[O],o=d(e);if(o<0||o>r)throw x("Wrong offset!");if(o+(n=void 0===n?r-o:f(n))>r)throw x("Wrong length!");this[M]=t,this[T]=o,this[O]=n},o&&(z(y,"byteLength","_l"),z(_,"buffer","_b"),z(_,"byteLength","_l"),z(_,"byteOffset","_o")),l(_.prototype,{getInt8:function(t){return B(this,1,t)[0]<<24>>24},getUint8:function(t){return B(this,1,t)[0]},getInt16:function(t){var e=B(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=B(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return C(B(this,4,t,arguments[1]))},getUint32:function(t){return C(B(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return F(B(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return F(B(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){H(this,1,t,N,e)},setUint8:function(t,e){H(this,1,t,N,e)},setInt16:function(t,e){H(this,2,t,k,e,arguments[2])},setUint16:function(t,e){H(this,2,t,k,e,arguments[2])},setInt32:function(t,e){H(this,4,t,R,e,arguments[2])},setUint32:function(t,e){H(this,4,t,R,e,arguments[2])},setFloat32:function(t,e){H(this,4,t,q,e,arguments[2])},setFloat64:function(t,e){H(this,8,t,D,e,arguments[2])}});v(y,"ArrayBuffer"),v(_,"DataView"),s(_.prototype,i.VIEW,!0),e.ArrayBuffer=y,e.DataView=_},function(t,e,n){"use strict";var r=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),i=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},r=0;r<t.length;++r)void 0!==t[r]&&(n[r]=t[r]);return n};t.exports={arrayToObject:i,assign:function(t,e){return Object.keys(e).reduce((function(t,n){return t[n]=e[n],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r<e.length;++r)for(var a=e[r],i=a.obj[a.prop],s=Object.keys(i),l=0;l<s.length;++l){var c=s[l],u=i[c];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(e.push({obj:i,prop:c}),n.push(u))}return function(t){for(;t.length>1;){var e=t.pop(),n=e.obj[e.prop];if(o(n)){for(var r=[],a=0;a<n.length;++a)void 0!==n[a]&&r.push(n[a]);e.obj[e.prop]=r}}}(e),t},decode:function(t,e,n){var r=t.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(t){return r}},encode:function(t,e,n){if(0===t.length)return t;var r=t;if("symbol"==typeof t?r=Symbol.prototype.toString.call(t):"string"!=typeof t&&(r=String(t)),"iso-8859-1"===n)return escape(r).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var o="",i=0;i<r.length;++i){var s=r.charCodeAt(i);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122?o+=r.charAt(i):s<128?o+=a[s]:s<2048?o+=a[192|s>>6]+a[128|63&s]:s<55296||s>=57344?o+=a[224|s>>12]+a[128|s>>6&63]+a[128|63&s]:(i+=1,s=65536+((1023&s)<<10|1023&r.charCodeAt(i)),o+=a[240|s>>18]+a[128|s>>12&63]+a[128|s>>6&63]+a[128|63&s])}return o},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(o(t)){for(var n=[],r=0;r<t.length;r+=1)n.push(e(t[r]));return n}return e(t)},merge:function t(e,n,a){if(!n)return e;if("object"!=typeof n){if(o(e))e.push(n);else{if(!e||"object"!=typeof e)return[e,n];(a&&(a.plainObjects||a.allowPrototypes)||!r.call(Object.prototype,n))&&(e[n]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(n);var s=e;return o(e)&&!o(n)&&(s=i(e,a)),o(e)&&o(n)?(n.forEach((function(n,o){if(r.call(e,o)){var i=e[o];i&&"object"==typeof i&&n&&"object"==typeof n?e[o]=t(i,n,a):e.push(n)}else e[o]=n})),e):Object.keys(n).reduce((function(e,o){var i=n[o];return r.call(e,o)?e[o]=t(e[o],i,a):e[o]=i,e}),s)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.render=e.getOffset=e.almScroll=e.start=e.tracking=e.tab=e.reset=e.filter=void 0;var r=C(n(63)),o=C(n(158));n(159);var a=C(n(160)),i=C(n(102)),s=C(n(162)),l=C(n(163)),c=C(n(66)),u=C(n(103)),d=F(n(165)),f=F(n(104)),p=n(105),g=C(n(166)),h=C(n(167)),m=C(n(49)),v=C(n(168)),y=C(n(169)),_=C(n(50)),b=C(n(69)),x=C(n(171)),w=C(n(172)),S=C(n(173)),A=C(n(174)),j=C(n(67)),P=n(175),E=n(176),L=n(177),M=n(178),O=n(180),T=n(65),I=n(106);function F(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function C(t){return t&&t.__esModule?t:{default:t}}function N(t){return function(){var e=t.apply(this,arguments);return new Promise((function(t,n){return function r(o,a){try{var i=e[o](a),s=i.value}catch(t){return void n(t)}if(!i.done)return Promise.resolve(s).then((function(t){r("next",t)}),(function(t){r("throw",t)}));t(s)}("next")}))}}n(181),n(354),n(355);var k=n(356),R=n(68);o.default.polyfill();var D=!1;!function(){var t=function(t,e){alm_localize&&"true"===alm_localize.scrolltop&&window.scrollTo(0,0);var n=this;n.AjaxLoadMore={},n.addons={},n.extensions={},n.integration={},n.window=window,n.page=0,n.posts=0,n.totalposts=0,n.proceed=!1,n.disable_ajax=!1,n.init=!0,n.loading=!0,n.finished=!1,n.timer=null,n.ua=window.navigator.userAgent?window.navigator.userAgent:"",n.vendor=window.navigator.vendor?window.navigator.vendor:"",n.isSafari=/Safari/i.test(n.ua)&&/Apple Computer/.test(n.vendor)&&!/Mobi|Android/i.test(n.ua),n.main=t,n.master_id=t.dataset.id?"ajax-load-more-"+t.dataset.id:t.id,t.classList.add("alm-"+e),t.setAttribute("data-alm-id",e),n.master_id=n.master_id.replace(/-/g,"_"),n.localize=window[n.master_id+"_vars"],n.main=t,n.listing=t.querySelector(".alm-listing")||t.querySelector(".alm-comments"),n.content=n.listing,n.el=n.content,n.ajax=t.querySelector(".alm-ajax"),n.container_type=n.listing.dataset.containerType,n.canonical_url=t.dataset.canonicalUrl,n.nested=t.dataset.nested?t.dataset.nested:null,n.is_search=t.dataset.search,n.slug=t.dataset.slug,n.post_id=t.dataset.postId,n.id=t.dataset.id?t.dataset.id:"";var o=t.querySelector(".alm-no-results");if(n.no_results=o?o.innerHTML:"",n.repeater=n.listing.dataset.repeater,n.theme_repeater=n.listing.dataset.themeRepeater,n.post_type=n.listing.dataset.postType?n.listing.dataset.postType:"post",n.sticky_posts=n.listing.dataset.stickyPosts?n.listing.dataset.stickyPosts:null,n.btnWrap=t.querySelectorAll(".alm-btn-wrap"),n.btnWrap=Array.prototype.slice.call(n.btnWrap),n.btnWrap[n.btnWrap.length-1].style.visibility="visible",n.trigger=n.btnWrap[n.btnWrap.length-1],n.button=n.trigger.querySelector("button.alm-load-more-btn"),n.button_label=n.listing.dataset.buttonLabel,n.button_loading_label=n.listing.dataset.buttonLoadingLabel,n.button_done_label=n.listing.dataset.buttonDoneLabel,n.placeholder=n.main.querySelector(".alm-placeholder"),n.scroll_distance=n.listing.dataset.scrollDistance,n.scroll_distance=n.scroll_distance?n.scroll_distance:100,n.scroll_container=n.listing.dataset.scrollContainer,n.scroll_direction=n.listing.dataset.scrollDirection,n.max_pages=n.listing.dataset.maxPages?parseInt(n.listing.dataset.maxPages):0,n.pause_override=n.listing.dataset.pauseOverride,n.pause=!!n.listing.dataset.pause&&n.listing.dataset.pause,n.transition=n.listing.dataset.transition,n.transition_container=n.listing.dataset.transitionContainer,n.tcc=n.listing.dataset.transitionContainerClasses,n.speed=alm_localize.speed?parseInt(alm_localize.speed):200,n.images_loaded=!!n.listing.dataset.imagesLoaded&&n.listing.dataset.imagesLoaded,n.destroy_after=n.listing.dataset.destroyAfter?n.listing.dataset.destroyAfter:"",n.orginal_posts_per_page=parseInt(n.listing.dataset.postsPerPage),n.posts_per_page=n.listing.dataset.postsPerPage,n.offset=n.listing.dataset.offset?parseInt(n.listing.dataset.offset):0,n.integration.woocommerce=!!n.listing.dataset.woocommerce&&n.listing.dataset.woocommerce,n.integration.woocommerce="true"===n.integration.woocommerce,n.is_search=void 0!==n.is_search&&n.is_search,n.search_value="true"===n.is_search?n.slug:"",n.addons.elementor=!(!n.localize||!n.localize.elementor),n.addons.elementor&&(n.addons.elementor={},n.addons.elementor_type="posts",n.addons.elementor_target=n.localize.elementor.target,n.addons.elementor_target_element=n.addons.elementor_target?document.querySelector(".elementor-widget-wrap "+n.addons.elementor_target):"",n.addons.elementor_paged=n.localize.elementor.paged?parseInt(n.localize.elementor.paged):1,n.addons.elementor_container_class=n.localize.elementor.container_class,n.addons.elementor_item_class=n.localize.elementor.item_class,n.addons.elementor_pagination_class=n.localize.elementor.pagination_class,n.addons.elementor_pagination_item=n.localize.elementor.pagination_item,n.addons.elementor_pages=(0,O.elementorGetPages)(n.addons.elementor_pagination_class,n.addons.elementor_pagination_item,n.addons.elementor_target_element),n.page=parseInt(n.page)+n.addons.elementor_paged),n.addons.woocommerce=!(!n.listing.dataset.woo||"true"!==n.listing.dataset.woo),n.addons.woocommerce&&n.listing.dataset.wooSettings&&(n.addons.woocommerce_settings=JSON.parse(n.listing.dataset.wooSettings),n.addons.woocommerce_settings.results_text=document.querySelectorAll(n.addons.woocommerce_settings.results),n.page=parseInt(n.page)+parseInt(n.addons.woocommerce_settings.paged)),n.addons.cache=n.listing.dataset.cache,n.addons.cache=void 0!==n.addons.cache&&n.addons.cache,"true"===n.addons.cache&&(n.addons.cache_id=n.listing.dataset.cacheId,n.addons.cache_path=n.listing.dataset.cachePath,n.addons.cache_logged_in=n.listing.dataset.cacheLoggedIn,n.addons.cache_logged_in=void 0!==n.addons.cache_logged_in&&n.addons.cache_logged_in),n.addons.cta=!!n.listing.dataset.cta&&n.listing.dataset.cta,"true"===n.addons.cta&&(n.addons.cta_position=n.listing.dataset.ctaPosition,n.addons.cta_repeater=n.listing.dataset.ctaRepeater,n.addons.cta_theme_repeater=n.listing.dataset.ctaThemeRepeater),n.addons.nextpage=n.listing.dataset.nextpage,"true"===n.addons.nextpage&&(n.addons.nextpage_urls=n.listing.dataset.nextpageUrls,n.addons.nextpage_scroll=n.listing.dataset.nextpageScroll,n.addons.nextpage_pageviews=n.listing.dataset.nextpagePageviews,n.addons.nextpage_post_id=n.listing.dataset.nextpagePostId,n.addons.nextpage_startpage=n.listing.dataset.nextpageStartpage),n.addons.single_post=n.listing.dataset.singlePost,"true"===n.addons.single_post&&(n.addons.single_post_id=n.listing.dataset.singlePostId,n.addons.single_post_order=n.listing.dataset.singlePostOrder,n.addons.single_post_init_id=n.listing.dataset.singlePostId,n.addons.single_post_taxonomy=n.listing.dataset.singlePostTaxonomy,n.addons.single_post_excluded_terms=n.listing.dataset.singlePostExcludedTerms,n.addons.single_post_progress_bar=n.listing.dataset.singlePostProgressBar,n.addons.single_post_target=n.listing.dataset.singlePostTarget),n.addons.comments=!!n.listing.dataset.comments&&n.listing.dataset.comments,"true"===n.addons.comments&&(n.addons.comments_post_id=n.listing.dataset.comments_post_id,n.addons.comments_per_page=n.listing.dataset.comments_per_page,n.addons.comments_per_page=void 0===n.addons.comments_per_page?"5":n.addons.comments_per_page,n.addons.comments_type=n.listing.dataset.comments_type,n.addons.comments_style=n.listing.dataset.comments_style,n.addons.comments_template=n.listing.dataset.comments_template,n.addons.comments_callback=n.listing.dataset.comments_callback),n.addons.tabs=n.listing.dataset.tabs,n.addons.filters=n.listing.dataset.filters,n.addons.seo=n.listing.dataset.seo,n.addons.preloaded=n.listing.dataset.preloaded,n.addons.preloaded_amount=n.listing.dataset.preloadedAmount?n.listing.dataset.preloadedAmount:0,n.is_preloaded="true"===n.listing.dataset.isPreloaded,n.addons.users="true"===n.listing.dataset.users,n.addons.users&&(n.orginal_posts_per_page=n.listing.dataset.usersPerPage,n.posts_per_page=n.listing.dataset.usersPerPage),n.extensions.restapi=n.listing.dataset.restapi,n.extensions.restapi_base_url=n.listing.dataset.restapiBaseUrl,n.extensions.restapi_namespace=n.listing.dataset.restapiNamespace,n.extensions.restapi_endpoint=n.listing.dataset.restapiEndpoint,n.extensions.restapi_template_id=n.listing.dataset.restapiTemplateId,n.extensions.restapi_debug=n.listing.dataset.restapiDebug,n.extensions.acf=n.listing.dataset.acf,n.extensions.acf_field_type=n.listing.dataset.acfFieldType,n.extensions.acf_field_name=n.listing.dataset.acfFieldName,n.extensions.acf_parent_field_name=n.listing.dataset.acfParentFieldName,n.extensions.acf_post_id=n.listing.dataset.acfPostId,n.extensions.acf="true"===n.extensions.acf,void 0!==n.extensions.acf_field_type&&void 0!==n.extensions.acf_field_name&&void 0!==n.extensions.acf_post_id||(n.extensions.acf=!1),n.extensions.term_query=n.listing.dataset.termQuery,n.extensions.term_query_taxonomy=n.listing.dataset.termQueryTaxonomy,n.extensions.term_query_hide_empty=n.listing.dataset.termQueryHideEmpty,n.extensions.term_query_number=n.listing.dataset.termQueryNumber,n.extensions.term_query="true"===n.extensions.term_query,n.addons.paging=n.listing.dataset.paging,"true"===n.addons.paging?(n.addons.paging=!0,n.addons.paging_init=!0,n.addons.paging_controls="true"===n.listing.dataset.pagingControls,n.addons.paging_show_at_most=n.listing.dataset.pagingShowAtMost,n.addons.paging_classes=n.listing.dataset.pagingClasses,n.addons.paging_show_at_most=void 0===n.addons.paging_show_at_most?7:n.addons.paging_show_at_most,n.addons.paging_first_label=n.listing.dataset.pagingFirstLabel,n.addons.paging_previous_label=n.listing.dataset.pagingPreviousLabel,n.addons.paging_next_label=n.listing.dataset.pagingNextLabel,n.addons.paging_last_label=n.listing.dataset.pagingLastLabel,n.addons.paging_scroll=!!n.listing.dataset.pagingScroll&&n.listing.dataset.pagingScroll,n.addons.paging_scrolltop=n.listing.dataset.pagingScrolltop?parseInt(n.listing.dataset.pagingScrolltop):100,n.pause="true"===n.addons.preloaded||n.pause):n.addons.paging=!1,"true"===n.addons.filters){n.addons.filters=!0,n.addons.filters_url="true"===n.listing.dataset.filtersUrl,n.addons.filters_paging="true"===n.listing.dataset.filtersPaging,n.addons.filters_scroll="true"===n.listing.dataset.filtersScroll,n.addons.filters_scrolltop=n.listing.dataset.filtersScrolltop?n.listing.dataset.filtersScrolltop:"30",n.addons.filters_analtyics=n.listing.dataset.filtersAnalytics,n.addons.filters_debug=n.listing.dataset.filtersDebug,n.addons.filters_startpage=0;var x=(0,a.default)("pg");n.addons.filters_startpage=null!==x?parseInt(x):0,!n.addons.paging&&n.addons.filters_startpage>0&&(n.posts_per_page=n.posts_per_page*n.addons.filters_startpage,n.isPaged=n.addons.filters_startpage>0)}else n.addons.filters=!1;if("true"===n.addons.tabs){if(n.addons.tabs=!0,n.addons.tab_template=n.listing.dataset.tabTemplate?n.listing.dataset.tabTemplate:"",n.addons.tab_onload=n.listing.dataset.tabOnload?n.listing.dataset.tabOnload:"",n.addons.tabs_resturl=n.listing.dataset.tabsRestUrl?n.listing.dataset.tabsRestUrl:"",""!==n.addons.tab_onload){var F=document.querySelector(".alm-tab-nav li [data-tab-url="+n.addons.tab_onload+"]");if(n.addons.tab_template=F?F.dataset.tabTemplate:n.addons.tab_template,n.listing.dataset.tabOnload="",F){var C=document.querySelector(".alm-tab-nav li .active");C&&C.classList.remove("active")}}}else n.addons.tabs=!1;if("true"===n.extensions.restapi?(n.extensions.restapi=!0,n.extensions.restapi_debug=void 0!==n.extensions.restapi_debug&&n.extensions.restapi_debug,n.extensions.restapi=""!==n.extensions.restapi_template_id&&n.extensions.restapi):n.extensions.restapi=!1,"true"===n.addons.preloaded?(n.addons.preloaded_amount=void 0===n.addons.preloaded_amount?n.posts_per_page:n.addons.preloaded_amount,n.localize&&n.localize.total_posts&&parseInt(n.localize.total_posts)<=parseInt(n.addons.preloaded_amount)&&(n.addons.preloaded_total_posts=n.localize.total_posts,n.disable_ajax=!0)):n.addons.preloaded="false",n.addons.seo=void 0!==n.addons.seo&&n.addons.seo,n.addons.seo="true"===n.addons.seo||n.addons.seo,n.addons.seo&&(n.addons.seo_permalink=n.listing.dataset.seoPermalink,n.addons.seo_pageview=n.listing.dataset.seoPageview,n.addons.seo_trailing_slash="false"===n.listing.dataset.seoTrailingSlash?"":"/",n.addons.seo_leading_slash="true"===n.listing.dataset.seoLeadingSlash?"/":""),n.start_page=n.listing.dataset.seoStartPage,n.start_page?(n.addons.seo_scroll=n.listing.dataset.seoScroll,n.addons.seo_scrolltop=n.listing.dataset.seoScrolltop,n.addons.seo_controls=n.listing.dataset.seoControls,n.isPaged=!1,n.start_page>1&&(n.isPaged=!0,n.posts_per_page=n.start_page*n.posts_per_page),n.addons.paging&&(n.posts_per_page=n.orginal_posts_per_page)):n.start_page=1,"true"===n.addons.nextpage?(n.addons.nextpage=!0,n.posts_per_page=1,void 0===n.addons.nextpage_urls&&(n.addons.nextpage_urls="true"),void 0===n.addons.nextpage_scroll&&(n.addons.nextpage_scroll="false:30"),void 0===n.addons.nextpage_pageviews&&(n.addons.nextpage_pageviews="true"),void 0===n.addons.nextpage_post_id&&(n.addons.nextpage=!1,n.addons.nextpage_post_id=null),void 0===n.addons.nextpage_startpage&&(n.addons.nextpage_startpage=1),n.addons.nextpage_startpage>1&&(n.isPaged=!0)):n.addons.nextpage=!1,"true"===n.addons.single_post?(n.addons.single_post=!0,n.addons.single_post_permalink="",n.addons.single_post_title="",n.addons.single_post_slug="",n.addons.single_post_order=void 0===n.addons.single_post_order?"previous":n.addons.single_post_order,n.addons.single_post_taxonomy=void 0===n.addons.single_post_taxonomy?"":n.addons.single_post_taxonomy,n.addons.single_post_excluded_terms=void 0===n.addons.single_post_excluded_terms?"":n.addons.single_post_excluded_terms,n.addons.single_post_progress_bar=void 0===n.addons.single_post_progress_bar?"":n.addons.single_post_progress_bar,n.addons.single_post_target=void 0===n.addons.single_post_target?"":n.addons.single_post_target,n.addons.single_post_title_template=n.listing.dataset.singlePostTitleTemplate,n.addons.single_post_siteTitle=n.listing.dataset.singlePostSiteTitle,n.addons.single_post_siteTagline=n.listing.dataset.singlePostSiteTagline,n.addons.single_post_pageview=n.listing.dataset.singlePostPageview,n.addons.single_post_scroll=n.listing.dataset.singlePostScroll,n.addons.single_post_scroll_speed=n.listing.dataset.singlePostScrollSpeed,n.addons.single_post_scroll_top=n.listing.dataset.singlePostScrolltop,n.addons.single_post_controls=n.listing.dataset.singlePostControls):n.addons.single_post=!1,n.addons.single_post&&void 0===n.addons.single_post_id&&(n.addons.single_post_id="",n.addons.single_post_init_id=""),(void 0===n.pause||n.addons.seo&&n.start_page>1)&&(n.pause=!1),"true"===n.addons.preloaded&&n.addons.seo&&n.start_page>0&&(n.pause=!1),n.addons.filters&&n.addons.filters_startpage>0&&(n.pause=!1),"true"===n.addons.preloaded&&n.addons.paging&&(n.pause=!0),n.repeater=void 0===n.repeater?"default":n.repeater,n.theme_repeater=void 0!==n.theme_repeater&&n.theme_repeater,n.max_pages=void 0===n.max_pages||0===n.max_pages?1e4:n.max_pages,n.scroll_distance=void 0===n.scroll_distance?100:n.scroll_distance,n.scroll_distance_perc=!1,-1==n.scroll_distance.toString().indexOf("%")?n.scroll_distance=parseInt(n.scroll_distance):(n.scroll_distance_perc=!0,n.scroll_distance_orig=parseInt(n.scroll_distance),n.scroll_distance=(0,A.default)(n)),n.scroll_container=void 0===n.scroll_container?"":n.scroll_container,n.scroll_direction=void 0===n.scroll_direction?"vertical":n.scroll_direction,n.transition=void 0===n.transition?"fade":n.transition,n.tcc=void 0===n.tcc?"":n.tcc,n.is_masonry_preloaded=!1,"masonry"===n.transition&&(n.masonry_init=!0,n.msnry?n.msnry.destroy():n.msnry="",n.masonry_selector=n.listing.dataset.masonrySelector,n.masonry_columnwidth=n.listing.dataset.masonryColumnwidth,n.masonry_animation=n.listing.dataset.masonryAnimation,n.masonry_animation=void 0===n.masonry_animation?"standard":n.masonry_animation,n.masonry_horizontalorder=n.listing.dataset.masonryHorizontalorder,n.masonry_horizontalorder=void 0===n.masonry_horizontalorder?"true":n.masonry_horizontalorder,n.transition_container=!1,n.images_loaded=!1,n.is_masonry_preloaded="true"===n.addons.preloaded||n.is_masonry_preloaded),void 0===n.listing.dataset.scroll?n.scroll=!0:"false"===n.listing.dataset.scroll?n.scroll=!1:n.scroll=!0,n.transition_container=void 0===n.transition_container||"true"===n.transition_container,n.button_label=void 0===n.button_label?"Older Posts":n.button_label,n.button_loading_label=void 0!==n.button_loading_label&&n.button_loading_label,n.button_done_label=void 0!==n.button_done_label&&n.button_done_label,n.addons.paging)n.main.classList.add("loading");else{var q=t.childNodes;if(q){var z=Array.prototype.slice.call(q).filter((function(t){return!!t.classList&&t.classList.contains("alm-btn-wrap")}));n.button=z?z[0].querySelector(".alm-load-more-btn"):container.querySelector(".alm-btn-wrap .alm-load-more-btn")}else n.button=container.querySelector(".alm-btn-wrap .alm-load-more-btn");n.button.disabled=!1,n.button.style.display=""}if(n.integration.woocommerce?(n.resultsText=document.querySelectorAll(".woocommerce-result-count"),n.resultsText.length<1&&(n.resultsText=document.querySelectorAll(".alm-results-text"))):n.resultsText=document.querySelectorAll(".alm-results-text"),n.resultsText?n.resultsText.forEach((function(t){t.setAttribute("aria-live","polite"),t.setAttribute("aria-atomic","true")})):n.resultsText=!1,n.tableofcontents=document.querySelector(".alm-toc"),n.tableofcontents?(n.tableofcontents.setAttribute("aria-live","polite"),n.tableofcontents.setAttribute("aria-atomic","true")):n.tableofcontents=!1,n.AjaxLoadMore.loadPosts=function(){if("function"==typeof almOnChange&&window.almOnChange(n),(0,P.showPlaceholder)(n),!n.disable_ajax)if(n.addons.paging||(n.button.classList.add("loading"),!1!==n.button_loading_label&&(n.button.innerHTML=n.button_loading_label)),n.main.classList.add("alm-loading"),n.loading=!0,"true"!==n.addons.cache||n.addons.cache_logged_in)n.AjaxLoadMore.ajax("standard");else{var t=(0,l.default)(n);t?r.default.get(t).then((function(t){n.AjaxLoadMore.success(t.data,!0)})).catch((function(t){n.AjaxLoadMore.ajax("standard")})):n.AjaxLoadMore.ajax("standard")}},n.AjaxLoadMore.ajax=function(t){var e="alm_get_posts";n.acf_array="",n.extensions.acf&&("relationship"!==n.extensions.acf_field_type&&(e="alm_acf"),n.acf_array={acf:"true",post_id:n.extensions.acf_post_id,field_type:n.extensions.acf_field_type,field_name:n.extensions.acf_field_name,parent_field_name:n.extensions.acf_parent_field_name}),n.term_query_array="",n.extensions.term_query&&(e="alm_get_terms",n.term_query_array={term_query:"true",taxonomy:n.extensions.term_query_taxonomy,hide_empty:n.extensions.term_query_hide_empty,number:n.extensions.term_query_number}),n.nextpage_array="",n.addons.nextpage&&(e="alm_nextpage",n.nextpage_array={nextpage:"true",urls:n.addons.nextpage_urls,scroll:n.addons.nextpage_scroll,pageviews:n.addons.nextpage_pageviews,post_id:n.addons.nextpage_post_id,startpage:n.addons.nextpage_startpage}),n.single_post_array="",n.addons.single_post&&(n.single_post_array={single_post:"true",id:n.addons.single_post_id,slug:n.addons.single_post_slug}),n.comments_array="","true"===n.addons.comments&&(e="alm_comments",n.posts_per_page=n.addons.comments_per_page,n.comments_array={comments:"true",post_id:n.addons.comments_post_id,per_page:n.addons.comments_per_page,type:n.addons.comments_type,style:n.addons.comments_style,template:n.addons.comments_template,callback:n.addons.comments_callback}),n.users_array="",n.addons.users&&(e="alm_users",n.users_array={users:"true",role:n.listing.dataset.usersRole,include:n.listing.dataset.usersInclude,exclude:n.listing.dataset.usersExclude,per_page:n.posts_per_page,order:n.listing.dataset.usersOrder,orderby:n.listing.dataset.usersOrderby}),n.cta_array="","true"===n.addons.cta&&(n.cta_array={cta:"true",cta_position:n.addons.cta_position,cta_repeater:n.addons.cta_repeater,cta_theme_repeater:n.addons.cta_theme_repeater}),n.extensions.restapi?n.AjaxLoadMore.restapi(n,e,t):n.addons.tabs?n.AjaxLoadMore.tabs(n):n.AjaxLoadMore.adminajax(n,e,t)},n.AjaxLoadMore.adminajax=function(t,e,n){1==t.page||t.addons.paging||t.button.classList.add("loading"),r.default.interceptors.request.use((function(t){return t.paramsSerializer=function(t){return k.stringify(t,{arrayFormat:"brackets",encode:!1})},t}));var o=alm_localize.ajaxurl,a=d.almGetAjaxParams(t,e,n);t.addons.single_post&&t.addons.single_post_target&&(o=t.addons.single_post_permalink+"?id="+t.addons.single_post_id+"&alm_page="+(parseInt(t.page)+1),a=""),t.addons.woocommerce&&(o=(0,v.default)(t),a=""),t.addons.elementor&&t.addons.elementor_type&&"posts"===t.addons.elementor_type&&(o=(0,v.default)(t),a=""),r.default.get(o,{params:a}).then((function(e){var r="";t.addons.single_post&&t.addons.single_post_target?(r=(0,E.singlePostHTML)(e,t.addons.single_post_target),(0,L.createCacheFile)(t,r.html,"single")):t.addons.woocommerce?(r=(0,M.wooGetContent)(e,t),(0,L.createCacheFile)(t,r.html,"woocommerce")):t.addons.elementor?(r=(0,O.elementorGetContent)(e,t),(0,L.createCacheFile)(t,r.html,"elementor")):r=e.data,"standard"===n?t.AjaxLoadMore.success(r,!1):"totalpages"===n&&t.addons.paging&&t.addons.nextpage?"function"==typeof almBuildPagination&&window.almBuildPagination(r.totalpages,t):"totalposts"===n&&t.addons.paging&&"function"==typeof almBuildPagination&&window.almBuildPagination(r.totalposts,t)})).catch((function(e){t.AjaxLoadMore.error(e,"adminajax")}))},n.AjaxLoadMore.tabs=function(t){var e=t.addons.tabs_resturl+"ajaxloadmore/tab",n={post_id:t.post_id,template:t.addons.tab_template};r.default.interceptors.request.use((function(t){return t.paramsSerializer=function(t){return k.stringify(t,{arrayFormat:"brackets",encode:!1})},t})),r.default.get(e,{params:n}).then((function(e){var n={html:e.data.html,meta:{postcount:1,totalposts:1}};t.AjaxLoadMore.success(n,!1),"function"==typeof almTabLoaded&&window.almTabLoaded(t)})).catch((function(e){t.AjaxLoadMore.error(e,"restapi")}))},n.AjaxLoadMore.restapi=function(t,e,n){var o=wp.template(t.extensions.restapi_template_id),a=t.extensions.restapi_base_url+"/"+t.extensions.restapi_namespace+"/"+t.extensions.restapi_endpoint,i=d.almGetRestParams(t);r.default.interceptors.request.use((function(t){return t.paramsSerializer=function(t){return k.stringify(t,{arrayFormat:"brackets",encode:!1})},t})),r.default.get(a,{params:i}).then((function(e){for(var n=e.data,r="",a=n.html,i=n.meta,s=i.postcount,l=i.totalposts,c=0;c<a.length;c++){var u=a[c];"true"===t.restapi_debug&&console.log(u),r+=o(u)}var d={html:r,meta:{postcount:s,totalposts:l}};t.AjaxLoadMore.success(d,!1)})).catch((function(e){t.AjaxLoadMore.error(e,"restapi")}))},n.addons.paging&&(n.addons.nextpage?n.AjaxLoadMore.ajax("totalpages"):n.AjaxLoadMore.ajax("totalposts")),n.AjaxLoadMore.success=function(e,r){var o=this;n.addons.single_post&&n.AjaxLoadMore.getSinglePost();var a=!1,l="table"===n.container_type?document.createElement("tbody"):document.createElement("div");n.el=l,l.style.opacity=0,l.style.height=0,l.style.outline="none";var d,f,v,x=n.listing.querySelector(".alm-paging-content");if(r?d=e:(d=e.html,f=e.meta,n.posts=n.addons.paging?f.postcount:n.posts+f.postcount,v=f.postcount,n.totalposts=f.totalposts,n.totalposts="true"===n.addons.preloaded?n.totalposts-n.addons.preloaded_amount:n.totalposts,n.debug=f.debug?f.debug:""),n.html=d,v=r?(0,c.default)(d).length:v,n.init&&(f&&(n.main.dataset.totalPosts=f.totalposts?f.totalposts:0),n.addons.paging&&v>0&&n.AjaxLoadMore.pagingInit(d,"alm-reveal"),0===v&&(n.addons.paging&&"function"==typeof almPagingEmpty&&window.almPagingEmpty(n),"function"==typeof almEmpty&&window.almEmpty(n),n.no_results&&setTimeout((function(){(0,w.default)(n.content,n.no_results)}),n.speed+10)),n.isPaged&&(n.posts_per_page=n.addons.users?n.listing.dataset.usersPerPage:n.listing.dataset.postsPerPage,n.posts_per_page=n.addons.nextpage?1:n.posts_per_page,n.page=n.start_page?n.start_page-1:n.page,n.addons.filters&&n.addons.filters_startpage>0&&(n.page=n.addons.filters_startpage-1,n.posts_per_page=n.listing.dataset.postsPerPage))),(0,S.default)(n),N(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,g.default)(n);case 2:case"end":return t.stop()}}),t,o)})))(),v>0){if(n.addons.paging)n.init?setTimeout((function(){n.main.classList.remove("alm-loading"),n.AjaxLoadMore.triggerAddons(n)}),n.speed):x&&((0,b.default)(x,n.speed),x.style.outline="none",n.main.classList.remove("alm-loading"),setTimeout((function(){x.style.opacity=0,x.innerHTML=n.html,R(x,(function(){n.AjaxLoadMore.triggerAddons(n),(0,_.default)(x,n.speed),setTimeout((function(){x.style.opacity="",h.default.init(x)}),parseInt(n.speed)+10),"function"==typeof almOnPagingComplete&&window.almOnPagingComplete(n)}))}),parseInt(n.speed)+25));else{if(n.addons.single_post)l.setAttribute("class","alm-reveal alm-single-post post-"+n.addons.single_post_id+n.tcc),l.dataset.url=n.addons.single_post_permalink,l.dataset.page=n.page,l.dataset.id=n.addons.single_post_id,l.dataset.title=n.addons.single_post_title,l.innerHTML=n.html;else if(n.transition_container){var A=void 0,P=window.location.search,E=n.addons.seo?" alm-seo":"",L=n.addons.filters?" alm-filters":"",F=n.is_preloaded?" alm-preloaded":"";if(n.init&&(n.start_page>1||n.addons.filters_startpage>0)){var C=[],k=[],q=parseInt(n.posts_per_page),z=Math.ceil(v/q);a=!0,"true"===n.addons.cta&&(q+=1,z=Math.ceil(v/q),v=z+v);for(var B=(0,u.default)((0,c.default)(n.html,"text/html")),H=0;H<v;H+=q)C.push(B.slice(H,q+H));for(var W=0;W<C.length;W++){var U="true"===n.addons.preloaded?1:0,V=document.createElement("div");W>0||"true"===n.addons.preloaded?(A=W+1+U,n.addons.seo&&(V=(0,I.createSEOAttributes)(n,V,P,E,A)),n.addons.filters&&(V.setAttribute("class","alm-reveal"+L+n.tcc),V.dataset.url=n.canonical_url+(0,T.buildFilterURL)(n,P,A),V.dataset.page=A)):(n.addons.seo&&(V=(0,I.createSEOAttributes)(n,V,P,E,1)),n.addons.filters&&(V.setAttribute("class","alm-reveal"+L+F+n.tcc),V.dataset.url=n.canonical_url+(0,T.buildFilterURL)(n,P,0),V.dataset.page="1")),(0,i.default)(V,C[W]),(0,j.default)(V,n.ua),k.push(V)}n.listing.style.opacity=0,n.listing.style.height=0,(0,i.default)(n.listing,k),l=n.listing,n.el=l}else{if(n.addons.seo&&n.page>0||"true"===n.addons.preloaded){var G="true"===n.addons.preloaded?1:0;A=n.page+1+G,n.addons.seo?l=(0,I.createSEOAttributes)(n,l,P,E,A):n.addons.filters?(l.setAttribute("class","alm-reveal"+L+n.tcc),l.dataset.url=n.canonical_url+(0,T.buildFilterURL)(n,P,A),l.dataset.page=A):l.setAttribute("class","alm-reveal"+n.tcc)}else n.addons.filters?(l.setAttribute("class","alm-reveal"+L+n.tcc),l.dataset.url=n.canonical_url+(0,T.buildFilterURL)(n,P,parseInt(n.page)+1),l.dataset.page=parseInt(n.page)+1):n.addons.seo?l=(0,I.createSEOAttributes)(n,l,P,E,1):l.setAttribute("class","alm-reveal"+n.tcc);l.innerHTML=n.html}}else n.el=n.html,l="table"===n.container_type?(0,s.default)(n.html):(0,u.default)((0,c.default)(n.html,"text/html"));if(n.addons.woocommerce)return N(regeneratorRuntime.mark((function t(){var r,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,M.woocommerce)(l,n,e.pageTitle);case 2:r=n.page+2,n.button.dataset.page=r,o=n.addons.woocommerce_settings.paged_urls[r-1],n.button.dataset.url=o||"",n.AjaxLoadMore.transitionEnd(),"function"==typeof almComplete&&"masonry"!==n.transition&&window.almComplete(n),r>parseInt(n.addons.woocommerce_settings.pages)&&n.AjaxLoadMore.triggerDone();case 9:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log(t),console.log("There was an error loading woocommerce products")})),void(n.init=!1);if(n.addons.elementor)return N(regeneratorRuntime.mark((function t(){var r,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,O.elementor)(l,n,e.pageTitle);case 2:r=n.page+1,n.button.dataset.page=r,o=n.addons.elementor_pages[r-1],n.button.dataset.url=o||"",n.AjaxLoadMore.transitionEnd(),"function"==typeof almComplete&&"masonry"!==n.transition&&window.almComplete(n),r>parseInt(n.addons.elementor_pages.length)&&n.AjaxLoadMore.triggerDone();case 9:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log(t),console.log("There was an error loading Elementor Post Widget items")})),void(n.init=!1);("masonry"!==n.transition||n.init&&!n.is_masonry_preloaded)&&(a||(n.transition_container?n.listing.appendChild(l):"true"===n.images_loaded?R(l,(function(){(0,i.default)(n.listing,l),(0,j.default)(n.listing,n.ua)})):((0,i.default)(n.listing,l),(0,j.default)(n.listing,n.ua)))),"masonry"===n.transition?(n.el=n.listing,N(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,y.default)(n,n.init,D);case 2:n.masonry_init=!1,n.AjaxLoadMore.triggerWindowResize(),n.AjaxLoadMore.transitionEnd(),"function"==typeof almComplete&&window.almComplete(n);case 6:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log("There was an error with ALM Masonry")}))):"none"===n.transition?"true"===n.images_loaded?R(l,(function(){(0,_.default)(l,0),n.AjaxLoadMore.transitionEnd()})):((0,_.default)(l,0),n.AjaxLoadMore.transitionEnd()):"true"===n.images_loaded?R(l,(function(){n.transition_container&&(0,_.default)(l,n.speed),n.AjaxLoadMore.transitionEnd()})):(n.transition_container&&(0,_.default)(l,n.speed),n.AjaxLoadMore.transitionEnd()),n.addons.tabs&&"function"==typeof almTabsSetHeight&&R(l,(function(){(0,_.default)(n.listing,n.speed),setTimeout((function(){window.almTabsSetHeight(n)}),n.speed)}))}R(l,(function(){n.AjaxLoadMore.nested(l),h.default.init(n.el),"function"==typeof almComplete&&"masonry"!==n.transition&&window.almComplete(n),D&&n.addons.filters&&"function"==typeof almFiltersAddonComplete&&window.almFiltersAddonComplete(t),D=!1,n.addons.tabs&&"function"==typeof almTabsComplete&&window.almTabsComplete(),n.addons.cache?n.addons.nextpage&&n.localize?parseInt(n.localize.page)===parseInt(n.localize.total_posts)&&n.AjaxLoadMore.triggerDone():v<parseInt(n.posts_per_page)&&n.AjaxLoadMore.triggerDone():n.posts>=n.totalposts&&!n.addons.single_post&&n.AjaxLoadMore.triggerDone()})),"function"==typeof almFiltersOnload&&n.init&&window.almFiltersOnload(n)}else n.AjaxLoadMore.noresults();if(void 0!==n.destroy_after&&""!==n.destroy_after){var Y=n.page+1;(Y="true"===n.addons.preloaded?Y++:Y)==n.destroy_after&&n.AjaxLoadMore.destroyed()}(0,p.tableOfContents)(n,n.init),"masonry"!==n.transition&&(0,m.default)(n,l,v,D),n.main.classList.contains("alm-is-filtering")&&n.main.classList.remove("alm-is-filtering"),n.init=!1},n.AjaxLoadMore.noresults=function(){n.addons.paging||(setTimeout((function(){n.button.classList.remove("loading"),n.button.classList.add("done")}),n.speed),n.AjaxLoadMore.resetBtnText()),"function"==typeof almComplete&&"masonry"!==n.transition&&window.almComplete(n),D&&n.addons.filters&&("function"==typeof almFiltersAddonComplete&&almFiltersAddonComplete(t),D=!1),n.addons.tabs&&"function"==typeof almTabsComplete&&almTabsComplete(),n.AjaxLoadMore.triggerDone()},n.AjaxLoadMore.pagingPreloadedInit=function(t){t=null==t?"":t,n.AjaxLoadMore.pagingInit(t,"alm-reveal"),""===t&&("function"==typeof almPagingEmpty&&window.almPagingEmpty(n),"function"==typeof almEmpty&&window.almEmpty(n),n.no_results&&(0,w.default)(n.content,n.no_results))},n.AjaxLoadMore.pagingNextpageInit=function(t){t=null==t?"":t,n.AjaxLoadMore.pagingInit(t,"alm-reveal alm-nextpage"),"function"==typeof almSetNextPageVars&&window.almSetNextPageVars(n)},n.AjaxLoadMore.pagingInit=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"alm-reveal";t=null==t?"":t;var r=document.createElement("div");r.setAttribute("class",e);var o=document.createElement("div");o.setAttribute("class","alm-paging-content"+n.tcc),o.innerHTML=t,r.appendChild(o);var a=document.createElement("div");a.setAttribute("class","alm-paging-loading"),r.appendChild(a),n.listing.appendChild(r);var i=window.getComputedStyle(n.listing),s=parseInt(i.getPropertyValue("padding-top").replace("px","")),l=parseInt(i.getPropertyValue("padding-bottom").replace("px","")),c=r.offsetHeight;n.listing.style.height=c+s+l+"px",h.default.init(r),n.AjaxLoadMore.resetBtnText(),setTimeout((function(){"function"==typeof almFadePageControls&&window.almFadePageControls(n.btnWrap),"function"==typeof almOnWindowResize&&window.almOnWindowResize(n),n.main.classList.remove("loading")}),n.speed)},n.AjaxLoadMore.nested=function(t){if(!t||!n.transition_container)return!1;var e=t.querySelectorAll(".ajax-load-more-wrap");e&&e.forEach((function(t){window.almInit(t)}))},n.addons.single_post_id&&(n.fetchingPreviousPost=!1,n.addons.single_post_init=!0),n.AjaxLoadMore.getSinglePost=function(){if(n.fetchingPreviousPost)return!1;n.fetchingPreviousPost=!0;var t=alm_localize.ajaxurl,e={id:n.addons.single_post_id,initial_id:n.addons.single_post_init_id,order:n.addons.single_post_order,taxonomy:n.addons.single_post_taxonomy,excluded_terms:n.addons.single_post_excluded_terms,post_type:n.post_type,init:n.addons.single_post_init,action:"alm_get_single"};r.default.get(t,{params:e}).then((function(t){var e=t.data;e.has_previous_post?(n.listing.dataset.singlePostId=e.prev_id,n.addons.single_post_id=e.prev_id,n.addons.single_post_permalink=e.prev_permalink,n.addons.single_post_title=e.prev_title,n.addons.single_post_slug=e.prev_slug):e.has_previous_post||n.AjaxLoadMore.triggerDone(),"function"==typeof window.almSetSinglePost&&window.almSetSinglePost(n,e.current_id,e.permalink,e.title),n.fetchingPreviousPost=!1,n.addons.single_post_init=!1})).catch((function(t){n.AjaxLoadMore.error(t,"getSinglePost"),n.fetchingPreviousPost=!1}))},n.AjaxLoadMore.triggerAddons=function(t){"function"==typeof almSetNextPage&&window.almSetNextPage(t),"function"==typeof almSEO&&window.almSEO(t,!1),"function"==typeof almWooCommerce&&window.almWooCommerce(t)},n.AjaxLoadMore.triggerDone=function(){n.loading=!1,n.finished=!0,(0,P.hidePlaceholder)(n),n.addons.paging||(!1!==n.button_done_label&&setTimeout((function(){n.button.innerHTML=n.button_done_label}),75),n.button.classList.add("done"),n.button.disabled=!0),"function"==typeof almDone&&setTimeout((function(){window.almDone(n)}),n.speed+10)},n.AjaxLoadMore.resetBtnText=function(){!1===n.button_loading_label||n.addons.paging||(n.button.innerHTML=n.button_label)},n.AjaxLoadMore.error=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;n.loading=!1,n.addons.paging||(n.button.classList.remove("loading"),n.AjaxLoadMore.resetBtnText()),console.log("Error: ",t),t.response?console.log("Error Msg: ",t.message):t.request?console.log(t.request):console.log("Error Msg: ",t.message),e&&console.log("ALM Error started in "+e),t.config&&console.log("ALM Error Debug: ",t.config)},n.AjaxLoadMore.click=function(t){var e=t.target||t.currentTarget;"true"===n.pause&&(n.pause=!1,n.pause_override=!1,n.AjaxLoadMore.loadPosts()),n.loading||n.finished||e.classList.contains("done")||(n.loading=!0,n.page++,n.AjaxLoadMore.loadPosts()),e.blur()},n.addons.paging||n.fetchingPreviousPost||(n.button.onclick=n.AjaxLoadMore.click),n.addons.paging||n.addons.tabs||n.scroll_distance_perc||"horizontal"===n.scroll_direction){var B=void 0;n.window.onresize=function(){clearTimeout(B),B=setTimeout((function(t){n.addons.tabs&&"function"==typeof almOnTabsWindowResize&&window.almOnTabsWindowResize(n),n.addons.paging&&"function"==typeof almOnWindowResize&&window.almOnWindowResize(n),n.scroll_distance_perc&&(n.scroll_distance=(0,A.default)(n)),"horizontal"===n.scroll_direction&&n.AjaxLoadMore.horizontal()}),n.speed)}}n.AjaxLoadMore.isVisible=function(){return n.visible=n.main.clientWidth>0&&n.main.clientHeight>0,n.visible},n.AjaxLoadMore.triggerWindowResize=function(){if("function"==typeof Event)window.dispatchEvent(new Event("resize"));else{var t=window.document.createEvent("UIEvents");t.initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(t)}},n.AjaxLoadMore.scroll=function(){n.timer&&clearTimeout(n.timer),n.timer=setTimeout((function(){if(n.AjaxLoadMore.isVisible()&&!n.fetchingPreviousPost){var t=n.trigger.getBoundingClientRect(),e=Math.round(t.top-n.window.innerHeight)+n.scroll_distance<=0;if(n.window!==window){var r=n.main.offsetHeight,o=n.main.offsetWidth;"horizontal"===n.scroll_direction?(n.AjaxLoadMore.horizontal(),e=o<=Math.round(n.window.scrollLeft+n.window.offsetWidth-n.scroll_distance)):e=r<=Math.round(n.window.scrollTop+n.window.offsetHeight-n.scroll_distance)}(!n.loading&&!n.finished&&e&&n.page<n.max_pages-1&&n.proceed&&"true"===n.pause&&"true"===n.pause_override||!n.loading&&!n.finished&&e&&n.page<n.max_pages-1&&n.proceed&&"true"!==n.pause)&&n.button.click()}}),25)},n.AjaxLoadMore.scrollSetup=function(){n.scroll&&!n.addons.paging&&(""!==n.scroll_container&&(n.window=document.querySelector(n.scroll_container)?document.querySelector(n.scroll_container):n.window,n.AjaxLoadMore.horizontal()),n.window.addEventListener("scroll",n.AjaxLoadMore.scroll),n.window.addEventListener("touchstart",n.AjaxLoadMore.scroll),n.window.addEventListener("wheel",(function(t){Math.sign(t.deltaY)>0&&n.AjaxLoadMore.scroll()})),n.window.addEventListener("keyup",(function(t){switch(t.keyCode?t.keyCode:t.which){case 35:case 34:n.AjaxLoadMore.scroll()}})))},n.AjaxLoadMore.horizontal=function(){"horizontal"===n.scroll_direction&&(n.main.style.width=n.listing.offsetWidth+"px")},n.AjaxLoadMore.destroyed=function(){n.disable_ajax=!0,n.addons.paging||(n.button.style.display="none",n.AjaxLoadMore.triggerDone(),"function"==typeof almDestroyed&&window.almDestroyed(n))},n.AjaxLoadMore.transitionEnd=function(){setTimeout((function(){n.AjaxLoadMore.resetBtnText(),n.main.classList.remove("alm-loading"),n.button.classList.remove("loading"),n.AjaxLoadMore.triggerAddons(n),n.addons.paging||setTimeout((function(){n.loading=!1}),3*n.speed)}),50),(0,P.hidePlaceholder)(n)},n.AjaxLoadMore.setLocalizedVar=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";n.localize&&""!==t&&""!==e&&(n.localize[t]=e.toString(),window[n.master_id+"_vars"][t]=e.toString())},n.AjaxLoadMore.init=function(){if("true"===n.addons.preloaded&&1==n.destroy_after&&n.AjaxLoadMore.destroyed(),n.addons.paging||n.addons.single_post||(n.disable_ajax?(n.finished=!0,n.button.classList.add("done")):"true"===n.pause?(n.button.innerHTML=n.button_label,n.loading=!1):n.AjaxLoadMore.loadPosts()),n.addons.single_post&&(n.AjaxLoadMore.getSinglePost(),n.loading=!1,(0,p.tableOfContents)(n,!0,!0)),"true"===n.addons.preloaded&&n.addons.seo&&!n.addons.paging&&setTimeout((function(){"function"==typeof almSEO&&n.start_page<1&&window.almSEO(n,!0)}),n.speed),"true"!==n.addons.preloaded||n.addons.paging||setTimeout((function(){n.addons.preloaded_total_posts<=parseInt(n.addons.preloaded_amount)&&n.AjaxLoadMore.triggerDone(),0==n.addons.preloaded_total_posts&&("function"==typeof almEmpty&&window.almEmpty(n),n.no_results&&(0,w.default)(n.content,n.no_results))}),n.speed),"true"===n.addons.preloaded&&(n.resultsText&&f.almInitResultsText(n,"preloaded"),(0,p.tableOfContents)(n,n.init,!0)),n.addons.nextpage){if(n.listing.querySelector(".alm-nextpage")&&!n.addons.paging){var t=n.listing.querySelectorAll(".alm-nextpage");if(t){var e=t[0],r=n.localize.total_posts?parseInt(n.localize.total_posts):e.dataset.totalPosts;t.length!==r&&parseInt(e.dataset.id)!==r||n.AjaxLoadMore.triggerDone()}}n.resultsText&&f.almInitResultsText(n,"nextpage"),(0,p.tableOfContents)(n,n.init,!0)}n.addons.woocommerce&&((0,M.wooInit)(n),n.addons.woocommerce_settings.paged>=parseInt(n.addons.woocommerce_settings.pages)&&n.AjaxLoadMore.triggerDone()),n.addons.elementor&&n.addons.elementor_type&&"posts"===n.addons.elementor_type&&((0,O.elementorInit)(n),n.addons.elementor_paged>parseInt(n.addons.elementor_pages.length)&&n.AjaxLoadMore.triggerDone()),n.window.addEventListener("load",(function(){n.is_masonry_preloaded&&N(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,y.default)(n,!0,!1);case 2:n.masonry_init=!1;case 3:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log("There was an error with ALM Masonry")})),"function"==typeof almOnLoad&&window.almOnLoad(n)}))},setTimeout((function(){n.proceed=!0,n.AjaxLoadMore.scrollSetup()}),500),n.AjaxLoadMore.init(),window.almUpdateCurrentPage=function(t,e,n){n.page=t,n.page=n.addons.nextpage&&!n.addons.paging?n.page-1:n.page;var r="",o="";n.addons.paging_init&&"true"===n.addons.preloaded?((o=n.listing.querySelector(".alm-reveal")||n.listing.querySelector(".alm-nextpage"))&&(r=o.innerHTML,o.parentNode.removeChild(o),n.addons.preloaded_amount=0,n.AjaxLoadMore.pagingPreloadedInit(r)),n.addons.paging_init=!1,n.init=!1):n.addons.paging_init&&n.addons.nextpage?((o=n.listing.querySelector(".alm-reveal")||n.listing.querySelector(".alm-nextpage"))&&(r=o.innerHTML,o.parentNode.removeChild(o),n.AjaxLoadMore.pagingNextpageInit(r)),n.addons.paging_init=!1,n.init=!1):n.AjaxLoadMore.loadPosts()},window.almGetParentContainer=function(){return n.listing},window.almGetObj=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""!==t?n[t]:n},window.almTriggerClick=function(){n.button.click()}};window.almInit=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;new t(e,n)};var e=document.querySelectorAll(".ajax-load-more-wrap");e.length&&[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(e)).forEach((function(e,n){new t(e,n)}))}();e.filter=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"fade",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"200",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!t||!e||!n)return!1;D=!0,(0,x.default)(t,e,n,"filter")};e.reset=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={};D=!0,t&&t.target&&(e={target:target}),t&&"woocommerce"===t.type?N(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=document.querySelector('.ajax-load-more-wrap .alm-listing[data-woo="true"]'),t.next=3,(0,M.wooReset)();case 3:(r=t.sent)&&(n.dataset.wooSettings=r,(0,x.default)("fade","100",e,"filter"));case 5:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log("There was an resetting the Ajax Load More instance.")})):(0,x.default)("fade","200",e,"filter")};e.tab=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e="fade",n=alm_localize.speed?parseInt(alm_localize.speed):200;if(!t)return!1;D=!0,(0,x.default)(e,n,t,"tab")};e.tracking=function(t){"function"==typeof gtag&&(gtag("event","page_view",{page_path:t}),alm_localize.ga_debug&&console.log("Pageview sent to Google Analytics (gtag)")),"function"==typeof ga&&(ga("send","pageview",t),alm_localize.ga_debug&&console.log("Pageview sent to Google Analytics (ga)")),"function"==typeof __gaTracker&&(__gaTracker("send","pageview",t),alm_localize.ga_debug&&console.log("Pageview sent to Google Analytics (__gaTracker)")),"function"==typeof almAnalytics&&window.almAnalytics(t)};e.start=function(t){if(!t)return!1;window.almInit(t)};e.almScroll=function(t){if(!t)return!1;window.scrollTo({top:t,behavior:"smooth"})};e.getOffset=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!t)return!1;var e=t.getBoundingClientRect(),n=window.pageXOffset||document.documentElement.scrollLeft,r=window.pageYOffset||document.documentElement.scrollTop;return{top:e.top+r,left:e.left+n}};e.render=function(t){if(!t)return!1}},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},function(t,e,n){"use strict";var r=n(13),o=n(145),a=n(147),i=n(148),s=n(149),l=n(99);t.exports=function(t){return new Promise((function(e,c){var u=t.data,d=t.headers;r.isFormData(u)&&delete d["Content-Type"];var f=new XMLHttpRequest;if(t.auth){var p=t.auth.username||"",g=t.auth.password||"";d.Authorization="Basic "+btoa(p+":"+g)}if(f.open(t.method.toUpperCase(),a(t.url,t.params,t.paramsSerializer),!0),f.timeout=t.timeout,f.onreadystatechange=function(){if(f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in f?i(f.getAllResponseHeaders()):null,r={data:t.responseType&&"text"!==t.responseType?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:n,config:t,request:f};o(e,c,r),f=null}},f.onerror=function(){c(l("Network Error",t,null,f)),f=null},f.ontimeout=function(){c(l("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",f)),f=null},r.isStandardBrowserEnv()){var h=n(150),m=(t.withCredentials||s(t.url))&&t.xsrfCookieName?h.read(t.xsrfCookieName):void 0;m&&(d[t.xsrfHeaderName]=m)}if("setRequestHeader"in f&&r.forEach(d,(function(t,e){void 0===u&&"content-type"===e.toLowerCase()?delete d[e]:f.setRequestHeader(e,t)})),t.withCredentials&&(f.withCredentials=!0),t.responseType)try{f.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&f.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){f&&(f.abort(),c(t),f=null)})),void 0===u&&(u=null),f.send(u)}))}},function(t,e,n){"use strict";var r=n(146);t.exports=function(t,e,n,o,a){var i=new Error(t);return r(i,e,n,o,a)}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(161),a=(r=o)&&r.__esModule?r:{default:r};e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"fade";if(!t||!e)return!1;for(var r=0;r<e.length;r++){var o=e[r];(0,a.default)(t,o,n)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!t)return!1;var e=["#text","#comment"],n=t.filter((function(t){return-1===e.indexOf(t.nodeName.toLowerCase())}));return n}},function(t,e,n){"use strict";function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"standard";if(!t.resultsText||!t.localize||"true"===t.nested)return!1;var n=0,r=0,a=0,i=0,s="true"===t.addons.preloaded,l=!!t.addons.paging,c=t.orginal_posts_per_page;switch(e){case"nextpage":a=n=parseInt(t.localize.page),r=parseInt(t.localize.total_posts),i=parseInt(r),o(t.resultsText,n,r,a,i);break;case"woocommerce":break;default:n=parseInt(t.page)+1,r=Math.ceil(t.localize.total_posts/c),a=parseInt(t.localize.post_count),i=parseInt(t.localize.total_posts),s&&(n=l?t.page+1:n+1),o(t.resultsText,n,r,a,i)}}Object.defineProperty(e,"__esModule",{value:!0}),e.almResultsText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"standard";if(!t.resultsText||"true"===t.nested)return!1;var n="nextpage"===e||"woocommerce"===e?e:"standard";r(t,n)},e.almGetResultsText=r,e.almInitResultsText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"standard";if(!t.resultsText||!t.localize||"true"===t.nested)return!1;var n=0,r=Math.ceil(t.localize.total_posts/t.orginal_posts_per_page),a=parseInt(t.localize.post_count),i=parseInt(t.localize.total_posts);switch(e){case"nextpage":n=t.addons.nextpage_startpage,a=n,r=i,o(t.resultsText,n,i,a,i);break;case"preloaded":n=t.addons.paging&&t.addons.seo?parseInt(t.start_page)+1:parseInt(t.page)+1,o(t.resultsText,n,r,a,i);break;case"woocommerce":break;default:console.log("No results to set.")}};var o=function(t,e,n,r,o){t.forEach((function(t){var a=(n=parseInt(n))>0?alm_localize.results_text:alm_localize.no_results_text;n>0?(a=(a=(a=(a=(a=(a=a.replace("{num}",'<span class="alm-results-num">'+e+"</span>")).replace("{page}",'<span class="alm-results-page">'+e+"</span>")).replace("{total}",'<span class="alm-results-total">'+n+"</span>")).replace("{pages}",'<span class="alm-results-pages">'+n+"</span>")).replace("{post_count}",'<span class="alm-results-post_count">'+r+"</span>")).replace("{total_posts}",'<span class="alm-results-total_posts">'+o+"</span>"),t.innerHTML=a):t.innerHTML=a}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.tableOfContents=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.localize.post_count?parseInt(t.localize.post_count):0;if(0==r&&!t.addons.single_post)return!1;if(t&&t.tableofcontents&&t.transition_container&&"masonry"!==t.transition){var o=t.tableofcontents.dataset.offset?parseInt(t.tableofcontents.dataset.offset):30,a=t.start_page?parseInt(t.start_page):0,i=t.addons.filters_startpage?parseInt(t.addons.filters_startpage):0,l=t.addons.nextpage_startpage?parseInt(t.addons.nextpage_startpage):0,c=parseInt(t.page),u="true"===t.addons.preloaded;if(t.addons.paging||t.addons.nextpage)return!1;e?setTimeout((function(){if(t.addons.seo&&a>1||t.addons.filters&&i>1||t.addons.nextpage&&l>1){if(t.addons.seo&&a>1)for(var e=0;e<a;e++)s(t,e,o);if(t.addons.filters&&i>1)for(var r=0;r<i;r++)s(t,r,o);if(t.addons.nextpage&&l>1)for(var d=0;d<l;d++)s(t,d,o)}else!n&&u&&(c+=1),s(t,c,o)}),100):(u&&(t.addons.seo&&a>0||t.addons.filters&&i>0?c=c:c+=1),s(t,c,o))}},e.clearTOC=function(){var t=document.querySelector(".alm-toc");t&&(t.innerHTML="")};var r,o=n(96),a=n(49),i=(r=a)&&r.__esModule?r:{default:r};function s(t,e,n){if(!t.tableofcontents)return!1;var r=document.createElement("button");r.type="button",e=parseInt(e)+1,r.innerHTML=function(t,e){var n=e;if(t.addons.single_post){var r=document.querySelector('.alm-reveal.alm-single-post[data-page="'+(e-1)+'"]');n=r?r.dataset.title:n}var o="almTOCLabel_"+t.id;"function"==typeof window[o]&&(n=window[o](e,n));return n}(t,e),r.dataset.page=e,t.tableofcontents.appendChild(r),r.addEventListener("click",(function(e){var r=this.dataset.page,a=document.querySelector(".alm-reveal:nth-child("+r+")")||document.querySelector(".alm-nextpage:nth-child("+r+")");if(!a)return!1;var s="function"==typeof o.getOffset?(0,o.getOffset)(a).top:a.offsetTop;(0,o.almScroll)(s-n),setTimeout((function(){(0,i.default)(t,a,r,!1)}),1e3)}))}},function(t,e,n){"use strict";function r(t,e,n,r,o){return e.classList.add(r),e.dataset.page=o,"default"===t.addons.seo_permalink?e.dataset.url=o>1?t.canonical_url+n+"&paged="+o:t.canonical_url+n:e.dataset.url=o>1?t.canonical_url+t.addons.seo_leading_slash+"page/"+o+t.addons.seo_trailing_slash+n:t.canonical_url+n,e}Object.defineProperty(e,"__esModule",{value:!0}),e.createMasonrySEOPage=function(t,e){if(!t.addons.seo)return e;var n=window.location.search,o=t.page+1;return o="true"===t.addons.preloaded?o+1:o,e=r(t,e,n,"alm-seo",o)},e.createMasonrySEOPages=function(t,e){if(!t.addons.seo)return e;var n=1,o=t.page,a=window.location.search;if(t.start_page>1){for(var i=parseInt(t.posts_per_page),s=[],l=0;l<e.length;l+=i)s.push(e.slice(l,i+l));for(var c=0;c<s.length;c++){var u=c>0?c*i:0;n=c+1,e[u]&&(e[u]=r(t,e[u],a,"alm-seo",n))}}else n=o,e[0]=r(t,e[0],a,"alm-seo",n);return e},e.createSEOAttributes=function(t,e,n,r,o){e.setAttribute("class","alm-reveal"+r+t.tcc),e.dataset.page=o,"default"===t.addons.seo_permalink?e.dataset.url=o>1?t.canonical_url+n+"&paged="+o:t.canonical_url+n:e.dataset.url=o>1?t.canonical_url+t.addons.seo_leading_slash+"page/"+o+t.addons.seo_trailing_slash+n:t.canonical_url+n;return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(n(179)),o=a(n(49));function a(t){return t&&t.__esModule?t:{default:t}}function i(t){return function(){var e=t.apply(this,arguments);return new Promise((function(t,n){return function r(o,a){try{var i=e[o](a),s=i.value}catch(t){return void n(t)}if(!i.done)return Promise.resolve(s).then((function(t){r("next",t)}),(function(t){r("throw",t)}));t(s)}("next")}))}}e.default=function(t,e,n,a){var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:window.location,l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"";return new Promise((function(c){var u=e.length,d=0,f=1;!function p(){f<=u?i(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return e[d].style.opacity=0,1==f&&(e[d].classList.add(l),e[d].dataset.url=s,e[d].dataset.page=n.page+1,e[d].dataset.pageTitle=a),o.next=4,(0,r.default)(t,e[d],n.ua);case 4:f++,d++,p();case 7:case"end":return o.stop()}}),o,this)})))().catch((function(t){console.log("There was an error loading the items")})):(setTimeout((function(){e.map((function(t){t.style.opacity=1})),e[0]&&(0,o.default)(n,e[0],null,!1)}),50),c(!0))}()}))}},function(t,e,n){t.exports=!n(8)&&!n(2)((function(){return 7!=Object.defineProperty(n(70)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(1),o=n(7),a=n(31),i=n(71),s=n(9).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=a?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:i.f(t)})}},function(t,e,n){var r=n(14),o=n(16),a=n(52)(!1),i=n(72)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),l=0,c=[];for(n in s)n!=i&&r(s,n)&&c.push(n);for(;e.length>l;)r(s,n=e[l++])&&(~a(c,n)||c.push(n));return c}},function(t,e,n){var r=n(9),o=n(3),a=n(32);t.exports=n(8)?Object.defineProperties:function(t,e){o(t);for(var n,i=a(e),s=i.length,l=0;s>l;)r.f(t,n=i[l++],e[n]);return t}},function(t,e,n){var r=n(16),o=n(35).f,a={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return i&&"[object Window]"==a.call(t)?function(t){try{return o(t)}catch(t){return i.slice()}}(t):o(r(t))}},function(t,e,n){"use strict";var r=n(8),o=n(32),a=n(53),i=n(46),s=n(10),l=n(45),c=Object.assign;t.exports=!c||n(2)((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r}))?function(t,e){for(var n=s(t),c=arguments.length,u=1,d=a.f,f=i.f;c>u;)for(var p,g=l(arguments[u++]),h=d?o(g).concat(d(g)):o(g),m=h.length,v=0;m>v;)p=h[v++],r&&!f.call(g,p)||(n[p]=g[p]);return n}:c},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){"use strict";var r=n(19),o=n(4),a=n(116),i=[].slice,s={},l=function(t,e,n){if(!(e in s)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";s[e]=Function("F,a","return new F("+r.join(",")+")")}return s[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=i.call(arguments,1),s=function(){var r=n.concat(i.call(arguments));return this instanceof s?l(e,r.length,r):a(e,r,t)};return o(e.prototype)&&(s.prototype=e.prototype),s}},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(1).parseInt,o=n(40).trim,a=n(76),i=/^[-+]?0[xX]/;t.exports=8!==r(a+"08")||22!==r(a+"0x16")?function(t,e){var n=o(String(t),3);return r(n,e>>>0||(i.test(n)?16:10))}:r},function(t,e,n){var r=n(1).parseFloat,o=n(40).trim;t.exports=1/r(n(76)+"-0")!=-1/0?function(t){var e=o(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},function(t,e,n){var r=n(24);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},function(t,e,n){var r=n(4),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){"use strict";var r=n(34),o=n(29),a=n(39),i={};n(15)(i,n(5)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(i,{next:o(1,n)}),a(t,e+" Iterator")}},function(t,e,n){var r=n(3);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var a=t.return;throw void 0!==a&&r(a.call(t)),e}}},function(t,e,n){var r=n(275);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){var r=n(19),o=n(10),a=n(45),i=n(6);t.exports=function(t,e,n,s,l){r(e);var c=o(t),u=a(c),d=i(c.length),f=l?d-1:0,p=l?-1:1;if(n<2)for(;;){if(f in u){s=u[f],f+=p;break}if(f+=p,l?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;l?f>=0:d>f;f+=p)f in u&&(s=e(s,u[f],f,c));return s}},function(t,e,n){"use strict";var r=n(10),o=n(33),a=n(6);t.exports=[].copyWithin||function(t,e){var n=r(this),i=a(n.length),s=o(t,i),l=o(e,i),c=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===c?i:o(c,i))-l,i-s),d=1;for(l<s&&s<l+u&&(d=-1,l+=u-1,s+=u-1);u-- >0;)l in n?n[s]=n[l]:delete n[s],s+=d,l+=d;return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var r=n(91);n(0)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(t,e,n){n(8)&&"g"!=/./g.flags&&n(9).f(RegExp.prototype,"flags",{configurable:!0,get:n(56)})},function(t,e,n){"use strict";var r,o,a,i,s=n(31),l=n(1),c=n(18),u=n(47),d=n(0),f=n(4),p=n(19),g=n(43),h=n(59),m=n(48),v=n(93).set,y=n(295)(),_=n(131),b=n(296),x=n(60),w=n(132),S=l.TypeError,A=l.process,j=A&&A.versions,P=j&&j.v8||"",E=l.Promise,L="process"==u(A),M=function(){},O=o=_.f,T=!!function(){try{var t=E.resolve(1),e=(t.constructor={})[n(5)("species")]=function(t){t(M,M)};return(L||"function"==typeof PromiseRejectionEvent)&&t.then(M)instanceof e&&0!==P.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(t){}}(),I=function(t){var e;return!(!f(t)||"function"!=typeof(e=t.then))&&e},F=function(t,e){if(!t._n){t._n=!0;var n=t._c;y((function(){for(var r=t._v,o=1==t._s,a=0,i=function(e){var n,a,i,s=o?e.ok:e.fail,l=e.resolve,c=e.reject,u=e.domain;try{s?(o||(2==t._h&&k(t),t._h=1),!0===s?n=r:(u&&u.enter(),n=s(r),u&&(u.exit(),i=!0)),n===e.promise?c(S("Promise-chain cycle")):(a=I(n))?a.call(n,l,c):l(n)):c(r)}catch(t){u&&!i&&u.exit(),c(t)}};n.length>a;)i(n[a++]);t._c=[],t._n=!1,e&&!t._h&&C(t)}))}},C=function(t){v.call(l,(function(){var e,n,r,o=t._v,a=N(t);if(a&&(e=b((function(){L?A.emit("unhandledRejection",o,t):(n=l.onunhandledrejection)?n({promise:t,reason:o}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",o)})),t._h=L||N(t)?2:1),t._a=void 0,a&&e.e)throw e.v}))},N=function(t){return 1!==t._h&&0===(t._a||t._c).length},k=function(t){v.call(l,(function(){var e;L?A.emit("rejectionHandled",t):(e=l.onrejectionhandled)&&e({promise:t,reason:t._v})}))},R=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),F(e,!0))},D=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw S("Promise can't be resolved itself");(e=I(t))?y((function(){var r={_w:n,_d:!1};try{e.call(t,c(D,r,1),c(R,r,1))}catch(t){R.call(r,t)}})):(n._v=t,n._s=1,F(n,!1))}catch(t){R.call({_w:n,_d:!1},t)}}};T||(E=function(t){g(this,E,"Promise","_h"),p(t),r.call(this);try{t(c(D,this,1),c(R,this,1))}catch(t){R.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(44)(E.prototype,{then:function(t,e){var n=O(m(this,E));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=L?A.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&F(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),a=function(){var t=new r;this.promise=t,this.resolve=c(D,t,1),this.reject=c(R,t,1)},_.f=O=function(t){return t===E||t===i?new a(t):o(t)}),d(d.G+d.W+d.F*!T,{Promise:E}),n(39)(E,"Promise"),n(42)("Promise"),i=n(7).Promise,d(d.S+d.F*!T,"Promise",{reject:function(t){var e=O(this);return(0,e.reject)(t),e.promise}}),d(d.S+d.F*(s||!T),"Promise",{resolve:function(t){return w(s&&this===i?E:this,t)}}),d(d.S+d.F*!(T&&n(55)((function(t){E.all(t).catch(M)}))),"Promise",{all:function(t){var e=this,n=O(e),r=n.resolve,o=n.reject,a=b((function(){var n=[],a=0,i=1;h(t,!1,(function(t){var s=a++,l=!1;n.push(void 0),i++,e.resolve(t).then((function(t){l||(l=!0,n[s]=t,--i||r(n))}),o)})),--i||r(n)}));return a.e&&o(a.v),n.promise},race:function(t){var e=this,n=O(e),r=n.reject,o=b((function(){h(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}})},function(t,e,n){"use strict";var r=n(19);function o(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new o(t)}},function(t,e,n){var r=n(3),o=n(4),a=n(131);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=a.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var r=n(9).f,o=n(34),a=n(44),i=n(18),s=n(43),l=n(59),c=n(82),u=n(127),d=n(42),f=n(8),p=n(28).fastKey,g=n(38),h=f?"_s":"size",m=function(t,e){var n,r=p(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,c){var u=t((function(t,r){s(t,u,e,"_i"),t._t=e,t._i=o(null),t._f=void 0,t._l=void 0,t[h]=0,null!=r&&l(r,n,t[c],t)}));return a(u.prototype,{clear:function(){for(var t=g(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[h]=0},delete:function(t){var n=g(this,e),r=m(n,t);if(r){var o=r.n,a=r.p;delete n._i[r.i],r.r=!0,a&&(a.n=o),o&&(o.p=a),n._f==r&&(n._f=o),n._l==r&&(n._l=a),n[h]--}return!!r},forEach:function(t){g(this,e);for(var n,r=i(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!m(g(this,e),t)}}),f&&r(u.prototype,"size",{get:function(){return g(this,e)[h]}}),u},def:function(t,e,n){var r,o,a=m(t,e);return a?a.v=n:(t._l=a={i:o=p(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=a),r&&(r.n=a),t[h]++,"F"!==o&&(t._i[o]=a)),t},getEntry:m,setStrong:function(t,e,n){c(t,e,(function(t,n){this._t=g(t,e),this._k=n,this._l=void 0}),(function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?u(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,u(1))}),n?"entries":"values",!n,!0),d(e)}}},function(t,e,n){"use strict";var r=n(44),o=n(28).getWeak,a=n(3),i=n(4),s=n(43),l=n(59),c=n(23),u=n(14),d=n(38),f=c(5),p=c(6),g=0,h=function(t){return t._l||(t._l=new m)},m=function(){this.a=[]},v=function(t,e){return f(t.a,(function(t){return t[0]===e}))};m.prototype={get:function(t){var e=v(this,t);if(e)return e[1]},has:function(t){return!!v(this,t)},set:function(t,e){var n=v(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=p(this.a,(function(e){return e[0]===t}));return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,a){var c=t((function(t,r){s(t,c,e,"_i"),t._t=e,t._i=g++,t._l=void 0,null!=r&&l(r,n,t[a],t)}));return r(c.prototype,{delete:function(t){if(!i(t))return!1;var n=o(t);return!0===n?h(d(this,e)).delete(t):n&&u(n,this._i)&&delete n[this._i]},has:function(t){if(!i(t))return!1;var n=o(t);return!0===n?h(d(this,e)).has(t):n&&u(n,this._i)}}),c},def:function(t,e,n){var r=o(a(e),!0);return!0===r?h(t).set(e,n):r[t._i]=n,t},ufstore:h}},function(t,e,n){var r=n(20),o=n(6);t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=o(e);if(e!==n)throw RangeError("Wrong length!");return n}},function(t,e,n){var r=n(35),o=n(53),a=n(3),i=n(1).Reflect;t.exports=i&&i.ownKeys||function(t){var e=r.f(a(t)),n=o.f;return n?e.concat(n(t)):e}},function(t,e,n){var r=n(6),o=n(78),a=n(25);t.exports=function(t,e,n,i){var s=String(a(t)),l=s.length,c=void 0===n?" ":String(n),u=r(e);if(u<=l||""==c)return s;var d=u-l,f=o.call(c,Math.ceil(d/c.length));return f.length>d&&(f=f.slice(0,d)),i?f+s:s+f}},function(t,e,n){var r=n(8),o=n(32),a=n(16),i=n(46).f;t.exports=function(t){return function(e){for(var n,s=a(e),l=o(s),c=l.length,u=0,d=[];c>u;)n=l[u++],r&&!i.call(s,n)||d.push(t?[n,s[n]]:s[n]);return d}}},function(t,e,n){"use strict";var r=String.prototype.replace,o=/%20/g,a=n(95),i={RFC1738:"RFC1738",RFC3986:"RFC3986"};t.exports=a.assign({default:i.RFC3986,formatters:{RFC1738:function(t){return r.call(t,o,"+")},RFC3986:function(t){return String(t)}}},i)},function(t,e,n){"use strict";var r=n(13),o=n(97),a=n(142),i=n(64);function s(t){var e=new a(t),n=o(a.prototype.request,e);return r.extend(n,a.prototype,e),r.extend(n,e),n}var l=s(i);l.Axios=a,l.create=function(t){return s(r.merge(i,t))},l.Cancel=n(101),l.CancelToken=n(156),l.isCancel=n(100),l.all=function(t){return Promise.all(t)},l.spread=n(157),t.exports=l,t.exports.default=l},function(t,e){
7
  /*!
8
  * Determine if an object is a Buffer
9
  *
10
  * @author Feross Aboukhadijeh <https://feross.org>
11
  * @license MIT
12
  */
13
- t.exports=function(t){return null!=t&&null!=t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}},function(t,e,n){"use strict";var r=n(64),o=n(13),a=n(151),i=n(152);function s(t){this.defaults=t,this.interceptors={request:new a,response:new a}}s.prototype.request=function(t){"string"==typeof t&&(t=o.merge({url:arguments[0]},arguments[1])),(t=o.merge(r,{method:"get"},this.defaults,t)).method=t.method.toLowerCase();var e=[i,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));e.length;)n=n.then(e.shift(),e.shift());return n},o.forEach(["delete","get","head","options"],(function(t){s.prototype[t]=function(e,n){return this.request(o.merge(n||{},{method:t,url:e}))}})),o.forEach(["post","put","patch"],(function(t){s.prototype[t]=function(e,n,r){return this.request(o.merge(r||{},{method:t,url:e,data:n}))}})),t.exports=s},function(t,e){var n,r,o=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(t){n=a}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(t){r=i}}();var l,c=[],u=!1,d=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!u){var t=s(f);u=!0;for(var e=c.length;e;){for(l=c,c=[];++d<e;)l&&l[d].run();d=-1,e=c.length}l=null,u=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function g(t,e){this.fun=t,this.array=e}function h(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new g(t,e)),1!==c.length||u||s(p)},g.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,n){"use strict";var r=n(13);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},function(t,e,n){"use strict";var r=n(99);t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},function(t,e,n){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t}},function(t,e,n){"use strict";var r=n(13);function o(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var a;if(n)a=n(e);else if(r.isURLSearchParams(e))a=e.toString();else{var i=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),i.push(o(e)+"="+o(t))})))})),a=i.join("&")}return a&&(t+=(-1===t.indexOf("?")?"?":"&")+a),t}},function(t,e,n){"use strict";var r=n(13),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,a,i={};return t?(r.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=r.trim(t.substr(0,a)).toLowerCase(),n=r.trim(t.substr(a+1)),e){if(i[e]&&o.indexOf(e)>=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([n]):i[e]?i[e]+", "+n:n}})),i):i}},function(t,e,n){"use strict";var r=n(13);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var r=n(13);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,o,a,i){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var r=n(13);function o(){this.handlers=[]}o.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},function(t,e,n){"use strict";var r=n(13),o=n(153),a=n(100),i=n(64),s=n(154),l=n(155);function c(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return c(t),t.baseURL&&!s(t.url)&&(t.url=l(t.baseURL,t.url)),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||i.adapter)(t).then((function(e){return c(t),e.data=o(e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(c(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var r=n(13);t.exports=function(t,e,n){return r.forEach(n,(function(n){t=n(t,e)})),t}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(101);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){!function(){"use strict";t.exports={polyfill:function(){var t=window,e=document;if(!("scrollBehavior"in e.documentElement.style)||!0===t.__forceSmoothScrollPolyfill__){var n,r=t.HTMLElement||t.Element,o={scroll:t.scroll||t.scrollTo,scrollBy:t.scrollBy,elementScroll:r.prototype.scroll||s,scrollIntoView:r.prototype.scrollIntoView},a=t.performance&&t.performance.now?t.performance.now.bind(t.performance):Date.now,i=(n=t.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(n)?1:0);t.scroll=t.scrollTo=function(){void 0!==arguments[0]&&(!0!==l(arguments[0])?g.call(t,e.body,void 0!==arguments[0].left?~~arguments[0].left:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:t.scrollY||t.pageYOffset):o.scroll.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:t.scrollY||t.pageYOffset))},t.scrollBy=function(){void 0!==arguments[0]&&(l(arguments[0])?o.scrollBy.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):g.call(t,e.body,~~arguments[0].left+(t.scrollX||t.pageXOffset),~~arguments[0].top+(t.scrollY||t.pageYOffset)))},r.prototype.scroll=r.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==l(arguments[0])){var t=arguments[0].left,e=arguments[0].top;g.call(this,this,void 0===t?this.scrollLeft:~~t,void 0===e?this.scrollTop:~~e)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");o.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},r.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==l(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):o.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},r.prototype.scrollIntoView=function(){if(!0!==l(arguments[0])){var n=f(this),r=n.getBoundingClientRect(),a=this.getBoundingClientRect();n!==e.body?(g.call(this,n,n.scrollLeft+a.left-r.left,n.scrollTop+a.top-r.top),"fixed"!==t.getComputedStyle(n).position&&t.scrollBy({left:r.left,top:r.top,behavior:"smooth"})):t.scrollBy({left:a.left,top:a.top,behavior:"smooth"})}else o.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function s(t,e){this.scrollLeft=t,this.scrollTop=e}function l(t){if(null===t||"object"!=typeof t||void 0===t.behavior||"auto"===t.behavior||"instant"===t.behavior)return!0;if("object"==typeof t&&"smooth"===t.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+t.behavior+" is not a valid value for enumeration ScrollBehavior.")}function c(t,e){return"Y"===e?t.clientHeight+i<t.scrollHeight:"X"===e?t.clientWidth+i<t.scrollWidth:void 0}function u(e,n){var r=t.getComputedStyle(e,null)["overflow"+n];return"auto"===r||"scroll"===r}function d(t){var e=c(t,"Y")&&u(t,"Y"),n=c(t,"X")&&u(t,"X");return e||n}function f(t){for(;t!==e.body&&!1===d(t);)t=t.parentNode||t.host;return t}function p(e){var n,r,o,i,s=(a()-e.startTime)/468;i=s=s>1?1:s,n=.5*(1-Math.cos(Math.PI*i)),r=e.startX+(e.x-e.startX)*n,o=e.startY+(e.y-e.startY)*n,e.method.call(e.scrollable,r,o),r===e.x&&o===e.y||t.requestAnimationFrame(p.bind(t,e))}function g(n,r,i){var l,c,u,d,f=a();n===e.body?(l=t,c=t.scrollX||t.pageXOffset,u=t.scrollY||t.pageYOffset,d=o.scroll):(l=n,c=n.scrollLeft,u=n.scrollTop,d=s),p({scrollable:l,method:d,startTime:f,startX:c,startY:u,x:r,y:i})}}}}()},function(t,e,n){"use strict";var r,o,a,i;history,Object.entries||(Object.entries=function(t){for(var e=Object.keys(t),n=e.length,r=new Array(n);n--;)r[n]=[e[n],t[e[n]]];return r}),void 0===Array.isArray&&(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),Array.from||(Array.from=(r=Object.prototype.toString,o=function(t){return"function"==typeof t||"[object Function]"===r.call(t)},a=Math.pow(2,53)-1,i=function(t){var e=function(t){var e=Number(t);return isNaN(e)?0:0!==e&&isFinite(e)?(e>0?1:-1)*Math.floor(Math.abs(e)):e}(t);return Math.min(Math.max(e,0),a)},function(t){var e=this,n=Object(t);if(null==t)throw new TypeError("Array.from requires an array-like object - not null or undefined");var r,a=arguments.length>1?arguments[1]:void 0;if(void 0!==a){if(!o(a))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(r=arguments[2])}for(var s,l=i(n.length),c=o(e)?Object(new e(l)):new Array(l),u=0;u<l;)s=n[u],c[u]=a?void 0===r?a(s,u):a.call(r,s,u):s,u+=1;return c.length=l,c})),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(t,e){e=e||window;for(var n=0;n<this.length;n++)t.call(e,this[n],n,this)}),[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})}))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,e){e||(e=window.location.href),t=t.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)").exec(e);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=["#text","#comment"];e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"fade";if(!t||!e)return!1;-1===r.indexOf(e.nodeName.toLowerCase())&&("masonry"===n&&(e.style.opacity=0),t.appendChild(e))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!t)return!1;var e=document.createElement("tbody");e.innerHTML=t;var n=[e];return n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(65);e.default=function(t){if(!t)return!1;var e="",n=".html",o=t.addons.cache_path+t.addons.cache_id;if(t.init&&t.addons.seo&&t.isPaged)e=o+"/page-1-"+t.start_page+n;else if(t.addons.filters){var a=(0,r.parseQuerystring)(o);if(t.init&&t.isPaged)e=a+"/page-1-"+t.addons.filters_startpage+n;else{var i=t.page+1;"true"===t.addons.preloaded&&(i=t.page+2),e=a+"/page-"+i+n}}else if(t.addons.nextpage){var s=void 0;t.addons.paging?s=parseInt(t.page)+1:(s=parseInt(t.page)+2,t.isPaged&&(s=parseInt(t.page)+parseInt(t.addons.nextpage_startpage)+1)),e=o+"/page-"+s+n}else e=t.addons.single_post?o+"/"+t.addons.single_post_id+n:"true"===t.addons.comments&&"true"===t.addons.preloaded?o+"/page-"+(t.page+2)+n:o+"/page-"+(t.page+1)+n;return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){for(var e=window.location.search.substring(1).split("&"),n=0;n<e.length;n++){var r=e[n].split("=");if(decodeURIComponent(r[0])==t)return decodeURIComponent(r[1])}return!1}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.almGetAjaxParams=function(t,e,n){var r={id:t.id,post_id:t.post_id,slug:t.slug,canonical_url:encodeURIComponent(t.canonical_url),posts_per_page:t.posts_per_page,page:t.page,offset:t.offset,post_type:t.post_type,repeater:t.repeater,seo_start_page:t.start_page};t.theme_repeater&&(r.theme_repeater=t.theme_repeater);t.addons.filters&&(r.filters=t.addons.filters,r.filters_startpage=t.addons.filters_startpage);t.addons.paging&&(r.paging=t.addons.paging);t.addons.preloaded&&(r.preloaded=t.addons.preloaded,r.preloaded_amount=t.addons.preloaded_amount);"true"===t.addons.cache&&(r.cache_id=t.addons.cache_id,r.cache_logged_in=t.addons.cache_logged_in);t.acf_array&&(r.acf=t.acf_array);t.term_query_array&&(r.term_query=t.term_query_array);t.cta_array&&(r.cta=t.cta_array);t.comments_array&&(r.comments=t.comments_array);t.nextpage_array&&(r.nextpage=t.nextpage_array);t.single_post_array&&(r.single_post=t.single_post_array);t.users_array&&(r.users=t.users_array);t.listing.dataset.lang&&(r.lang=t.listing.dataset.lang);t.listing.dataset.stickyPosts&&(r.sticky_posts=t.listing.dataset.stickyPosts);t.listing.dataset.postFormat&&(r.post_format=t.listing.dataset.postFormat);t.listing.dataset.category&&(r.category=t.listing.dataset.category);t.listing.dataset.categoryAnd&&(r.category__and=t.listing.dataset.categoryAnd);t.listing.dataset.categoryNotIn&&(r.category__not_in=t.listing.dataset.categoryNotIn);t.listing.dataset.tag&&(r.tag=t.listing.dataset.tag);t.listing.dataset.tagAnd&&(r.tag__and=t.listing.dataset.tagAnd);t.listing.dataset.tagNotIn&&(r.tag__not_in=t.listing.dataset.tagNotIn);t.listing.dataset.taxonomy&&(r.taxonomy=t.listing.dataset.taxonomy);t.listing.dataset.taxonomyTerms&&(r.taxonomy_terms=t.listing.dataset.taxonomyTerms);t.listing.dataset.taxonomyOperator&&(r.taxonomy_operator=t.listing.dataset.taxonomyOperator);t.listing.dataset.taxonomyRelation&&(r.taxonomy_relation=t.listing.dataset.taxonomyRelation);t.listing.dataset.metaKey&&(r.meta_key=t.listing.dataset.metaKey);t.listing.dataset.metaValue&&(r.meta_value=t.listing.dataset.metaValue);t.listing.dataset.metaCompare&&(r.meta_compare=t.listing.dataset.metaCompare);t.listing.dataset.metaRelation&&(r.meta_relation=t.listing.dataset.metaRelation);t.listing.dataset.metaType&&(r.meta_type=t.listing.dataset.metaType);t.listing.dataset.author&&(r.author=t.listing.dataset.author);t.listing.dataset.year&&(r.year=t.listing.dataset.year);t.listing.dataset.month&&(r.month=t.listing.dataset.month);t.listing.dataset.day&&(r.day=t.listing.dataset.day);t.listing.dataset.order&&(r.order=t.listing.dataset.order);t.listing.dataset.orderby&&(r.orderby=t.listing.dataset.orderby);t.listing.dataset.postStatus&&(r.post_status=t.listing.dataset.postStatus);t.listing.dataset.postIn&&(r.post__in=t.listing.dataset.postIn);t.listing.dataset.postNotIn&&(r.post__not_in=t.listing.dataset.postNotIn);t.listing.dataset.exclude&&(r.exclude=t.listing.dataset.exclude);t.listing.dataset.search&&(r.search=t.listing.dataset.search);t.listing.dataset.s&&(r.search=t.listing.dataset.s);t.listing.dataset.customArgs&&(r.custom_args=t.listing.dataset.customArgs);return r.action=e,r.query_type=n,r},e.almGetRestParams=function(t){return{id:t.id,post_id:t.post_id,posts_per_page:t.posts_per_page,page:t.page,offset:t.offset,slug:t.slug,canonical_url:encodeURIComponent(t.canonical_url),post_type:t.post_type,post_format:t.listing.dataset.postFormat,category:t.listing.dataset.category,category__not_in:t.listing.dataset.categoryNotIn,tag:t.listing.dataset.tag,tag__not_in:t.listing.dataset.tagNotIn,taxonomy:t.listing.dataset.taxonomy,taxonomy_terms:t.listing.dataset.taxonomyTerms,taxonomy_operator:t.listing.dataset.taxonomyOperator,taxonomy_relation:t.listing.dataset.taxonomyRelation,meta_key:t.listing.dataset.metaKey,meta_value:t.listing.dataset.metaValue,meta_compare:t.listing.dataset.metaCompare,meta_relation:t.listing.dataset.metaRelation,meta_type:t.listing.dataset.metaType,author:t.listing.dataset.author,year:t.listing.dataset.year,month:t.listing.dataset.month,day:t.listing.dataset.day,post_status:t.listing.dataset.postStatus,order:t.listing.dataset.order,orderby:t.listing.dataset.orderby,post__in:t.listing.dataset.postIn,post__not_in:t.listing.dataset.postNotIn,search:t.listing.dataset.search,s:t.listing.dataset.s,custom_args:t.listing.dataset.customArgs,lang:t.lang,preloaded:t.addons.preloaded,preloaded_amount:t.addons.preloaded_amount,seo_start_page:t.start_page}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(104));e.default=function(t){return new Promise((function(e){var n="standard";t.addons.nextpage?(n="nextpage",t.addons.paging?t.AjaxLoadMore.setLocalizedVar("page",parseInt(t.page)+1):t.AjaxLoadMore.setLocalizedVar("page",parseInt(t.page)+parseInt(t.addons.nextpage_startpage)+1)):t.addons.woocommerce?(n="woocommerce",t.AjaxLoadMore.setLocalizedVar("page",parseInt(t.page)+1)):t.AjaxLoadMore.setLocalizedVar("page",parseInt(t.page)+1),"true"===t.addons.preloaded||t.addons.nextpage||t.addons.woocommerce||t.AjaxLoadMore.setLocalizedVar("total_posts",t.totalposts),t.AjaxLoadMore.setLocalizedVar("post_count",function(t){var e=parseInt(t.posts),n=parseInt(t.addons.preloaded_amount),r=e+n;return r=t.start_page>1?r-n:r,r=t.addons.filters_startpage>1?r-n:r,r=t.addons.single_post?r+1:r,r=t.addons.nextpage?r+1:r}(t)),r.almResultsText(t,n),e(!0)}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(66);(r=o)&&r.__esModule;var a={init:function(t){if(!0===this.isScript(t))t.parentNode.replaceChild(this.clone(t),t);else{var e=0,n=t.childNodes;if(void 0===n){var r=(new DOMParser).parseFromString(t,"text/html");r&&(n=r.body.childNodes)}for(;e<n.length;)this.replace(n[e++])}return t},replace:function(t){if(!0===this.isScript(t))t.parentNode.replaceChild(this.clone(t),t);else for(var e=0,n=t.childNodes;e<n.length;)this.replace(n[e++]);return t},isScript:function(t){return"SCRIPT"===t.tagName},clone:function(t){var e=document.createElement("script");e.text=t.innerHTML;for(var n=t.attributes.length-1;n>=0;n--)e.setAttribute(t.attributes[n].name,t.attributes[n].value);return e}};e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){if(!t||!t.trigger)return!1;var e=t.trigger.querySelector("button"),n=e?e.dataset.url:"";return n||""}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=d(n(50)),o=d(n(102)),a=d(n(66)),i=d(n(67)),s=d(n(103)),l=n(65),c=n(106),u=d(n(49));function d(t){return t&&t.__esModule?t:{default:t}}var f=n(68);e.default=function t(e,n,d){return new Promise((function(p){var g=e.listing,h=e.html,m=e.masonry_selector,v=e.masonry_columnwidth,y=e.masonry_animation,_=e.masonry_horizontalorder,b=e.speed,x=e.masonry_init,w=(b+100)/1e3+"s",S="scale(0.5)",A="scale(1)";if("zoom-out"===y&&(S="translateY(-20px) scale(1.25)",A="translateY(0) scale(1)"),"slide-up"===y&&(S="translateY(50px)",A="translateY(0)"),"slide-down"===y&&(S="translateY(-50px)",A="translateY(0)"),"none"===y&&(S="translateY(0)",A="translateY(0)"),v?isNaN(v)||(v=parseInt(v)):v=m,_="true"===_,d)g.parentNode.style.opacity=0,t(e,!0,!1),p(!0);else if(x&&n)(0,i.default)(g,e.ua),f(g,(function(){var t={itemSelector:m,transitionDuration:w,columnWidth:v,horizontalOrder:_,hiddenStyle:{transform:S,opacity:0},visibleStyle:{transform:A,opacity:1}},n=window.alm_masonry_vars;n&&Object.keys(n).forEach((function(e){t[e]=n[e]}));var o=g.querySelectorAll(m);e.addons.filters&&(o=(0,l.createMasonryFiltersPages)(e,Array.prototype.slice.call(o))),e.addons.seo&&(o=(0,c.createMasonrySEOPages)(e,Array.prototype.slice.call(o))),setTimeout((function(){e.msnry=new Masonry(g,t),(0,r.default)(g.parentNode,125),p(!0)}),1)}));else{var j=(0,s.default)((0,a.default)(h,"text/html"));j&&((0,o.default)(e.listing,j,"masonry"),(0,i.default)(g,e.ua),f(g,(function(){e.msnry.appended(j),(0,u.default)(e,j,j.length,!1),e.addons.filters&&(0,l.createMasonryFiltersPage)(e,j[0]),e.addons.seo&&(0,c.createMasonrySEOPage)(e,j[0]),p(!0)})))}}))}},function(t,e,n){var r,o;"undefined"!=typeof window&&window,void 0===(o="function"==typeof(r=function(){"use strict";function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var n=this._events=this._events||{},r=n[t]=n[t]||[];return-1==r.indexOf(e)&&r.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var n=this._onceEvents=this._onceEvents||{};return(n[t]=n[t]||{})[e]=!0,this}},e.off=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){var r=n.indexOf(e);return-1!=r&&n.splice(r,1),this}},e.emitEvent=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){n=n.slice(0),e=e||[];for(var r=this._onceEvents&&this._onceEvents[t],o=0;o<n.length;o++){var a=n[o];r&&r[a]&&(this.off(t,a),delete r[a]),a.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t})?r.call(e,n,e,t):r)||(t.exports=o)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);r=!0);}catch(t){o=!0,a=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=s(n(50)),a=s(n(69)),i=n(105);function s(t){return t&&t.__esModule?t:{default:t}}e.default=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"filter";if(n.target){var o=document.querySelectorAll('.ajax-load-more-wrap[data-id="'+n.target+'"]');o.forEach((function(o){l(t,e,n,o,r)}))}else{var a=document.querySelectorAll(".ajax-load-more-wrap");a.forEach((function(o){l(t,e,n,o,r)}))}(0,i.clearTOC)()};var l=function(t,e,n,r,o){if("fade"===t||"masonry"===t){switch(o){case"filter":r.classList.add("alm-is-filtering"),(0,a.default)(r,e);break;case"tab":r.classList.add("alm-loading");var i=r.querySelector(".alm-listing");r.style.height=i.offsetHeight+"px",(0,a.default)(i,e)}setTimeout((function(){c(e,n,r,o)}),e)}else r.classList.add("alm-is-filtering"),c(e,n,r,o)},c=function(t,e,n,r){var o=n.querySelector(".alm-btn-wrap"),a=n.querySelectorAll(".alm-listing");[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(a)).forEach((function(t){t.innerHTML=""}));var i=o.querySelector(".alm-load-more-btn");i&&i.classList.remove("done");var s=o.querySelector(".alm-paging");s&&(s.style.opacity=0),e.preloadedAmount=0,u(t,e,n,r)},u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,e=arguments[1],n=arguments[2],a=arguments[3],i=n.querySelector(".alm-listing")||n.querySelector(".alm-comments");if(!i)return!1;switch(a){case"filter":var s=!0,l=!1,c=void 0;try{for(var u,d=Object.entries(e)[Symbol.iterator]();!(s=(u=d.next()).done);s=!0){var f=u.value,p=r(f,2),g=p[0],h=p[1];g=g.replace(/\W+/g,"-").replace(/([a-z\d])([A-Z])/g,"$1-$2").toLowerCase(),i.setAttribute("data-"+g,h)}}catch(t){l=!0,c=t}finally{try{!s&&d.return&&d.return()}finally{if(l)throw c}}(0,o.default)(n,t);break;case"tab":i.setAttribute("data-preloaded","false"),i.setAttribute("data-pause","false"),i.setAttribute("data-tab-template",e.tabTemplate)}var m="";switch(e.target?(m=document.querySelector('.ajax-load-more-wrap[data-id="'+e.target+'"]'))&&window.almInit(m):(m=document.querySelector(".ajax-load-more-wrap"))&&window.almInit(m),a){case"filter":"function"==typeof almFilterComplete&&almFilterComplete();break;case"tab":"function"==typeof almTabsComplete&&almTabsComplete()}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(""===e)return!1;e=e.replace(/(<p><\/p>)+/g,""),t.innerHTML=e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){if(t&&t.debug){var e={query:t.debug,localize:t.localize};console.log("ALM Debug:",e)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){if(!t)return!1;var e=-1!==t.scroll_distance_orig.toString().indexOf("-"),n=t.scroll_distance_orig.toString().replace("-","").replace("%",""),r=t.window.innerHeight,o=Math.floor(r/100*parseInt(n));return parseInt(e?"-"+o:o)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.showPlaceholder=function(t){if(!t||!t.main||t.addons.paging)return!1;t.placeholder&&(t.placeholder.style.display="block",(0,r.default)(t.placeholder,75))},e.hidePlaceholder=function(t){if(!t||!t.main||t.addons.paging)return!1;t.placeholder&&((0,o.default)(t.placeholder,75),setTimeout((function(){t.placeholder.style.display="none"}),75))};var r=a(n(50)),o=a(n(69));function a(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){"use strict";function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={html:"",meta:{postcount:1,totalposts:1,debug:"Single Posts Query"}};if(200===t.status&&t.data&&e){var r=document.createElement("div");r.innerHTML=t.data;var o=r.querySelector(e);o&&(n.html=o.innerHTML)}return n}Object.defineProperty(e,"__esModule",{value:!0}),e.singlePostHTML=r,e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createCacheFile=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"standard";if("true"!==t.addons.cache||!e||""===e)return!1;var r="single"===n?t.addons.single_post_id:"page-"+(t.page+1),o=new FormData;o.append("action","alm_cache_from_html"),o.append("security",alm_localize.alm_nonce),o.append("cache_id",t.addons.cache_id),o.append("cache_logged_in",t.addons.cache_logged_in),o.append("canonical_url",t.canonical_url),o.append("name",r),o.append("html",e.trim()),a.default.post(alm_localize.ajaxurl,o).then((function(e){console.log("Cache created for: "+t.canonical_url)}))},e.wooCache=function(t,e){if("true"!==t.addons.cache||!e||""===e)return!1;var n=new FormData;n.append("action","alm_cache_from_html"),n.append("security",alm_localize.alm_nonce),n.append("cache_id",t.addons.cache_id),n.append("cache_logged_in",t.addons.cache_logged_in),n.append("canonical_url",t.canonical_url),n.append("name","page-"+t.page),n.append("html",e.trim()),a.default.post(alm_localize.ajaxurl,n).then((function(e){console.log("Cache created for post: "+t.canonical_url)}))};var r,o=n(63),a=(r=o)&&r.__esModule?r:{default:r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.wooInit=function(t){if(!t||!t.addons.woocommerce)return!1;t.button.dataset.page=t.addons.woocommerce_settings.paged+1;var e=t.addons.woocommerce_settings.paged_urls[t.addons.woocommerce_settings.paged];t.button.dataset.url=e||"";var n=document.querySelector(t.addons.woocommerce_settings.container);if(n){n.setAttribute("aria-live","polite"),n.setAttribute("aria-atomic","true"),t.listing.removeAttribute("aria-live"),t.listing.removeAttribute("aria-atomic");var r=n.querySelector(t.addons.woocommerce_settings.products);r&&(r.classList.add("alm-woocommerce"),r.dataset.url=t.addons.woocommerce_settings.paged_urls[t.addons.woocommerce_settings.paged-1],r.dataset.page=t.page,r.dataset.pageTitle=document.title),t.addons.woocommerce_settings.paged>1&&function(t){if(t&&t.addons.woocommerce_settings.results_text){var e=document.querySelectorAll(t.addons.woocommerce_settings.results);if(e.length<1)return!1;var n=t.addons.woocommerce_settings.settings.previous_page_link,r=t.addons.woocommerce_settings.settings.previous_page_label,o=t.addons.woocommerce_settings.settings.previous_page_sep;e.forEach((function(t){n&&r&&(t.innerHTML=s(t,n,r,o))}))}}(t)}},e.woocommerce=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document.title;if(!t||!e)return!1;return new Promise((function(r){var a=document.querySelector(e.addons.woocommerce_settings.container),s=t.querySelectorAll(e.addons.woocommerce_settings.products),l=e.addons.woocommerce_settings.paged_urls[e.page];a&&s&&l&&(s=Array.prototype.slice.call(s),i(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.default)(a,s,e,n,l,"alm-woocommerce");case 2:r(!0);case 3:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log(t,"There was an error with WooCommerce")})))}))},e.wooReset=function(){return new Promise((function(t){var e=window.location;r.default.get(e).then((function(e){if(200===e.status&&e.data){var n=document.createElement("div");n.innerHTML=e.data;var r=n.querySelector('.ajax-load-more-wrap .alm-listing[data-woo="true"]'),o=r?r.dataset.wooSettings:"";t(o)}else t(!1)})).catch((function(e){t(!1)}))}))},e.wooGetContent=function(t,e){var n={html:"",meta:{postcount:1,totalposts:e.localize.total_posts,debug:"WooCommerce Query"}};if(200===t.status&&t.data){var r=document.createElement("div");r.innerHTML=t.data;var o=r.querySelector("title").innerHTML;n.pageTitle=o;var a=r.querySelector(e.addons.woocommerce_settings.container);n.html=a?a.innerHTML:"",function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments[1];if(t&&e&&e.addons.woocommerce_settings.results_text){var n=t.querySelector(e.addons.woocommerce_settings.results),r=e.addons.woocommerce_settings.settings.previous_page_link,o=e.addons.woocommerce_settings.settings.previous_page_label,a=e.addons.woocommerce_settings.settings.previous_page_sep;e.addons.woocommerce_settings.results_text&&e.addons.woocommerce_settings.results_text.forEach((function(t){t.innerHTML=r&&o?s(n,r,o,a):n.innerHTML}))}}(r,e)}return n};var r=a(n(63)),o=a(n(107));function a(t){return t&&t.__esModule?t:{default:t}}function i(t){return function(){var e=t.apply(this,arguments);return new Promise((function(t,n){return function r(o,a){try{var i=e[o](a),s=i.value}catch(t){return void n(t)}if(!i.done)return Promise.resolve(s).then((function(t){r("next",t)}),(function(t){r("throw",t)}));t(s)}("next")}))}}function s(t,e,n,r){var o=" "+r+' <a href="'+e+'">'+n+"</a>";return t.innerHTML+o}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(67),a=(r=o)&&r.__esModule?r:{default:r};var i=n(68);e.default=function(t,e,n){return new Promise((function(r){i(e,(function(){e.style.transition="all 0.4s ease",t.appendChild(e),(0,a.default)(e,n),r(!0)}))}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.elementorInit=function(t){if(!t.addons.elementor||!t.addons.elementor_type||"posts"===!t.addons.elementor_type)return!1;var e=t.addons.elementor_target_element;if(e){t.button.dataset.page=t.addons.elementor_paged;var n=t.addons.elementor_pages[t.addons.elementor_paged-1];t.button.dataset.url=n||"",e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),t.listing.removeAttribute("aria-live"),t.listing.removeAttribute("aria-atomic");var r=e.querySelector("."+t.addons.elementor_item_class);r&&(r.classList.add("alm-elementor"),r.dataset.url=window.location,r.dataset.page=t.addons.elementor_paged,r.dataset.pageTitle=document.title),t.addons.elementor_paged}},e.elementor=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document.title;if(!t||!e)return!1;return new Promise((function(r){var o=e.addons.elementor_target_element.querySelector("."+e.addons.elementor_container_class),s=t.querySelectorAll("."+e.addons.elementor_item_class),l=e.addons.elementor_pages[e.page-1];o&&s&&l&&(s=Array.prototype.slice.call(s),i(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,a.default)(o,s,e,n,l,"alm-elementor");case 2:r(!0);case 3:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log(t,"There was an error with Elementor")})))}))},e.elementorGetContent=function(t,e){var n={html:"",meta:{postcount:1,totalposts:e.localize.total_posts,debug:"Elementor Query"}};if(200===t.status&&t.data){var r=document.createElement("div");r.innerHTML=t.data;var o=r.querySelector("title").innerHTML;n.pageTitle=o;var a=r.querySelector(e.addons.elementor_target+" ."+e.addons.elementor_container_class);n.html=a?a.innerHTML:""}return n},e.elementorGetPages=function(t,e,n){if(!n)return!1;var r=n.querySelector("."+t);if(!r)return 1;return r.querySelectorAll(e)};var r,o=n(107),a=(r=o)&&r.__esModule?r:{default:r};function i(t){return function(){var e=t.apply(this,arguments);return new Promise((function(t,n){return function r(o,a){try{var i=e[o](a),s=i.value}catch(t){return void n(t)}if(!i.done)return Promise.resolve(s).then((function(t){r("next",t)}),(function(t){r("throw",t)}));t(s)}("next")}))}}},function(t,e,n){n(182)},function(t,e,n){"use strict";n(183),n(326),n(328),n(331),n(333),n(335),n(337),n(339),n(341),n(343),n(345),n(347),n(349),n(353)},function(t,e,n){n(184),n(187),n(188),n(189),n(190),n(191),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(219),n(220),n(221),n(222),n(223),n(224),n(225),n(226),n(227),n(228),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(244),n(245),n(246),n(247),n(248),n(249),n(250),n(251),n(252),n(253),n(254),n(255),n(256),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(265),n(266),n(268),n(269),n(270),n(271),n(272),n(273),n(274),n(276),n(277),n(278),n(279),n(280),n(281),n(282),n(283),n(284),n(285),n(286),n(287),n(288),n(90),n(289),n(128),n(290),n(129),n(291),n(292),n(293),n(294),n(130),n(297),n(298),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),n(318),n(319),n(320),n(321),n(322),n(323),n(324),n(325),t.exports=n(7)},function(t,e,n){"use strict";var r=n(1),o=n(14),a=n(8),i=n(0),s=n(11),l=n(28).KEY,c=n(2),u=n(51),d=n(39),f=n(30),p=n(5),g=n(71),h=n(109),m=n(186),v=n(54),y=n(3),_=n(4),b=n(10),x=n(16),w=n(27),S=n(29),A=n(34),j=n(112),P=n(21),E=n(53),L=n(9),M=n(32),O=P.f,T=L.f,I=j.f,F=r.Symbol,C=r.JSON,N=C&&C.stringify,k=p("_hidden"),R=p("toPrimitive"),D={}.propertyIsEnumerable,q=u("symbol-registry"),z=u("symbols"),B=u("op-symbols"),H=Object.prototype,W="function"==typeof F&&!!E.f,U=r.QObject,V=!U||!U.prototype||!U.prototype.findChild,G=a&&c((function(){return 7!=A(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=O(H,e);r&&delete H[e],T(t,e,n),r&&t!==H&&T(H,e,r)}:T,Y=function(t){var e=z[t]=A(F.prototype);return e._k=t,e},X=W&&"symbol"==typeof F.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof F},Q=function(t,e,n){return t===H&&Q(B,e,n),y(t),e=w(e,!0),y(n),o(z,e)?(n.enumerable?(o(t,k)&&t[k][e]&&(t[k][e]=!1),n=A(n,{enumerable:S(0,!1)})):(o(t,k)||T(t,k,S(1,{})),t[k][e]=!0),G(t,e,n)):T(t,e,n)},$=function(t,e){y(t);for(var n,r=m(e=x(e)),o=0,a=r.length;a>o;)Q(t,n=r[o++],e[n]);return t},J=function(t){var e=D.call(this,t=w(t,!0));return!(this===H&&o(z,t)&&!o(B,t))&&(!(e||!o(this,t)||!o(z,t)||o(this,k)&&this[k][t])||e)},K=function(t,e){if(t=x(t),e=w(e,!0),t!==H||!o(z,e)||o(B,e)){var n=O(t,e);return!n||!o(z,e)||o(t,k)&&t[k][e]||(n.enumerable=!0),n}},Z=function(t){for(var e,n=I(x(t)),r=[],a=0;n.length>a;)o(z,e=n[a++])||e==k||e==l||r.push(e);return r},tt=function(t){for(var e,n=t===H,r=I(n?B:x(t)),a=[],i=0;r.length>i;)!o(z,e=r[i++])||n&&!o(H,e)||a.push(z[e]);return a};W||(s((F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor!");var t=f(arguments.length>0?arguments[0]:void 0),e=function(n){this===H&&e.call(B,n),o(this,k)&&o(this[k],t)&&(this[k][t]=!1),G(this,t,S(1,n))};return a&&V&&G(H,t,{configurable:!0,set:e}),Y(t)}).prototype,"toString",(function(){return this._k})),P.f=K,L.f=Q,n(35).f=j.f=Z,n(46).f=J,E.f=tt,a&&!n(31)&&s(H,"propertyIsEnumerable",J,!0),g.f=function(t){return Y(p(t))}),i(i.G+i.W+i.F*!W,{Symbol:F});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)p(et[nt++]);for(var rt=M(p.store),ot=0;rt.length>ot;)h(rt[ot++]);i(i.S+i.F*!W,"Symbol",{for:function(t){return o(q,t+="")?q[t]:q[t]=F(t)},keyFor:function(t){if(!X(t))throw TypeError(t+" is not a symbol!");for(var e in q)if(q[e]===t)return e},useSetter:function(){V=!0},useSimple:function(){V=!1}}),i(i.S+i.F*!W,"Object",{create:function(t,e){return void 0===e?A(t):$(A(t),e)},defineProperty:Q,defineProperties:$,getOwnPropertyDescriptor:K,getOwnPropertyNames:Z,getOwnPropertySymbols:tt});var at=c((function(){E.f(1)}));i(i.S+i.F*at,"Object",{getOwnPropertySymbols:function(t){return E.f(b(t))}}),C&&i(i.S+i.F*(!W||c((function(){var t=F();return"[null]"!=N([t])||"{}"!=N({a:t})||"{}"!=N(Object(t))}))),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(_(e)||void 0!==t)&&!X(t))return v(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!X(e))return e}),r[1]=e,N.apply(C,r)}}),F.prototype[R]||n(15)(F.prototype,R,F.prototype.valueOf),d(F,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(t,e,n){t.exports=n(51)("native-function-to-string",Function.toString)},function(t,e,n){var r=n(32),o=n(53),a=n(46);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var i,s=n(t),l=a.f,c=0;s.length>c;)l.call(t,i=s[c++])&&e.push(i);return e}},function(t,e,n){var r=n(0);r(r.S,"Object",{create:n(34)})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(8),"Object",{defineProperty:n(9).f})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(8),"Object",{defineProperties:n(111)})},function(t,e,n){var r=n(16),o=n(21).f;n(22)("getOwnPropertyDescriptor",(function(){return function(t,e){return o(r(t),e)}}))},function(t,e,n){var r=n(10),o=n(36);n(22)("getPrototypeOf",(function(){return function(t){return o(r(t))}}))},function(t,e,n){var r=n(10),o=n(32);n(22)("keys",(function(){return function(t){return o(r(t))}}))},function(t,e,n){n(22)("getOwnPropertyNames",(function(){return n(112).f}))},function(t,e,n){var r=n(4),o=n(28).onFreeze;n(22)("freeze",(function(t){return function(e){return t&&r(e)?t(o(e)):e}}))},function(t,e,n){var r=n(4),o=n(28).onFreeze;n(22)("seal",(function(t){return function(e){return t&&r(e)?t(o(e)):e}}))},function(t,e,n){var r=n(4),o=n(28).onFreeze;n(22)("preventExtensions",(function(t){return function(e){return t&&r(e)?t(o(e)):e}}))},function(t,e,n){var r=n(4);n(22)("isFrozen",(function(t){return function(e){return!r(e)||!!t&&t(e)}}))},function(t,e,n){var r=n(4);n(22)("isSealed",(function(t){return function(e){return!r(e)||!!t&&t(e)}}))},function(t,e,n){var r=n(4);n(22)("isExtensible",(function(t){return function(e){return!!r(e)&&(!t||t(e))}}))},function(t,e,n){var r=n(0);r(r.S+r.F,"Object",{assign:n(113)})},function(t,e,n){var r=n(0);r(r.S,"Object",{is:n(114)})},function(t,e,n){var r=n(0);r(r.S,"Object",{setPrototypeOf:n(75).set})},function(t,e,n){"use strict";var r=n(47),o={};o[n(5)("toStringTag")]="z",o+""!="[object z]"&&n(11)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},function(t,e,n){var r=n(0);r(r.P,"Function",{bind:n(115)})},function(t,e,n){var r=n(9).f,o=Function.prototype,a=/^\s*function ([^ (]*)/;"name"in o||n(8)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(a)[1]}catch(t){return""}}})},function(t,e,n){"use strict";var r=n(4),o=n(36),a=n(5)("hasInstance"),i=Function.prototype;a in i||n(9).f(i,a,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=o(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){var r=n(0),o=n(117);r(r.G+r.F*(parseInt!=o),{parseInt:o})},function(t,e,n){var r=n(0),o=n(118);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(t,e,n){"use strict";var r=n(1),o=n(14),a=n(24),i=n(77),s=n(27),l=n(2),c=n(35).f,u=n(21).f,d=n(9).f,f=n(40).trim,p=r.Number,g=p,h=p.prototype,m="Number"==a(n(34)(h)),v="trim"in String.prototype,y=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){var n,r,o,a=(e=v?e.trim():f(e,3)).charCodeAt(0);if(43===a||45===a){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===a){switch(e.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+e}for(var i,l=e.slice(2),c=0,u=l.length;c<u;c++)if((i=l.charCodeAt(c))<48||i>o)return NaN;return parseInt(l,r)}}return+e};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof p&&(m?l((function(){h.valueOf.call(n)})):"Number"!=a(n))?i(new g(y(e)),n,p):y(e)};for(var _,b=n(8)?c(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;b.length>x;x++)o(g,_=b[x])&&!o(p,_)&&d(p,_,u(g,_));p.prototype=h,h.constructor=p,n(11)(r,"Number",p)}},function(t,e,n){"use strict";var r=n(0),o=n(20),a=n(119),i=n(78),s=1..toFixed,l=Math.floor,c=[0,0,0,0,0,0],u="Number.toFixed: incorrect invocation!",d=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*c[n],c[n]=r%1e7,r=l(r/1e7)},f=function(t){for(var e=6,n=0;--e>=0;)n+=c[e],c[e]=l(n/t),n=n%t*1e7},p=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==c[t]){var n=String(c[t]);e=""===e?n:e+i.call("0",7-n.length)+n}return e},g=function(t,e,n){return 0===e?n:e%2==1?g(t,e-1,n*t):g(t*t,e/2,n)};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(2)((function(){s.call({})}))),"Number",{toFixed:function(t){var e,n,r,s,l=a(this,u),c=o(t),h="",m="0";if(c<0||c>20)throw RangeError(u);if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(h="-",l=-l),l>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(l*g(2,69,1))-69)<0?l*g(2,-e,1):l/g(2,e,1),n*=4503599627370496,(e=52-e)>0){for(d(0,n),r=c;r>=7;)d(1e7,0),r-=7;for(d(g(10,r,1),0),r=e-1;r>=23;)f(1<<23),r-=23;f(1<<r),d(1,1),f(2),m=p()}else d(0,n),d(1<<-e,0),m=p()+i.call("0",c);return m=c>0?h+((s=m.length)<=c?"0."+i.call("0",c-s)+m:m.slice(0,s-c)+"."+m.slice(s-c)):h+m}})},function(t,e,n){"use strict";var r=n(0),o=n(2),a=n(119),i=1..toPrecision;r(r.P+r.F*(o((function(){return"1"!==i.call(1,void 0)}))||!o((function(){i.call({})}))),"Number",{toPrecision:function(t){var e=a(this,"Number#toPrecision: incorrect invocation!");return void 0===t?i.call(e):i.call(e,t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var r=n(0),o=n(1).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&o(t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{isInteger:n(120)})},function(t,e,n){var r=n(0);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var r=n(0),o=n(120),a=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return o(t)&&a(t)<=9007199254740991}})},function(t,e,n){var r=n(0);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){var r=n(0);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var r=n(0),o=n(118);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(t,e,n){var r=n(0),o=n(117);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(t,e,n){var r=n(0),o=n(121),a=Math.sqrt,i=Math.acosh;r(r.S+r.F*!(i&&710==Math.floor(i(Number.MAX_VALUE))&&i(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:o(t-1+a(t-1)*a(t+1))}})},function(t,e,n){var r=n(0),o=Math.asinh;r(r.S+r.F*!(o&&1/o(0)>0),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},function(t,e,n){var r=n(0),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){var r=n(0),o=n(79);r(r.S,"Math",{cbrt:function(t){return o(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){var r=n(0),o=Math.exp;r(r.S,"Math",{cosh:function(t){return(o(t=+t)+o(-t))/2}})},function(t,e,n){var r=n(0),o=n(80);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},function(t,e,n){var r=n(0);r(r.S,"Math",{fround:n(229)})},function(t,e,n){var r=n(79),o=Math.pow,a=o(2,-52),i=o(2,-23),s=o(2,127)*(2-i),l=o(2,-126);t.exports=Math.fround||function(t){var e,n,o=Math.abs(t),c=r(t);return o<l?c*(o/l/i+1/a-1/a)*l*i:(n=(e=(1+i/a)*o)-(e-o))>s||n!=n?c*(1/0):c*n}},function(t,e,n){var r=n(0),o=Math.abs;r(r.S,"Math",{hypot:function(t,e){for(var n,r,a=0,i=0,s=arguments.length,l=0;i<s;)l<(n=o(arguments[i++]))?(a=a*(r=l/n)*r+1,l=n):a+=n>0?(r=n/l)*r:n;return l===1/0?1/0:l*Math.sqrt(a)}})},function(t,e,n){var r=n(0),o=Math.imul;r(r.S+r.F*n(2)((function(){return-5!=o(4294967295,5)||2!=o.length})),"Math",{imul:function(t,e){var n=+t,r=+e,o=65535&n,a=65535&r;return 0|o*a+((65535&n>>>16)*a+o*(65535&r>>>16)<<16>>>0)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log1p:n(121)})},function(t,e,n){var r=n(0);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var r=n(0);r(r.S,"Math",{sign:n(79)})},function(t,e,n){var r=n(0),o=n(80),a=Math.exp;r(r.S+r.F*n(2)((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(o(t)-o(-t))/2:(a(t-1)-a(-t-1))*(Math.E/2)}})},function(t,e,n){var r=n(0),o=n(80),a=Math.exp;r(r.S,"Math",{tanh:function(t){var e=o(t=+t),n=o(-t);return e==1/0?1:n==1/0?-1:(e-n)/(a(t)+a(-t))}})},function(t,e,n){var r=n(0);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){var r=n(0),o=n(33),a=String.fromCharCode,i=String.fromCodePoint;r(r.S+r.F*(!!i&&1!=i.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,i=0;r>i;){if(e=+arguments[i++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?a(e):a(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},function(t,e,n){var r=n(0),o=n(16),a=n(6);r(r.S,"String",{raw:function(t){for(var e=o(t.raw),n=a(e.length),r=arguments.length,i=[],s=0;n>s;)i.push(String(e[s++])),s<r&&i.push(String(arguments[s]));return i.join("")}})},function(t,e,n){"use strict";n(40)("trim",(function(t){return function(){return t(this,3)}}))},function(t,e,n){"use strict";var r=n(81)(!0);n(82)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},function(t,e,n){"use strict";var r=n(0),o=n(81)(!1);r(r.P,"String",{codePointAt:function(t){return o(this,t)}})},function(t,e,n){"use strict";var r=n(0),o=n(6),a=n(83),i="".endsWith;r(r.P+r.F*n(85)("endsWith"),"String",{endsWith:function(t){var e=a(this,t,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=o(e.length),s=void 0===n?r:Math.min(o(n),r),l=String(t);return i?i.call(e,l,s):e.slice(s-l.length,s)===l}})},function(t,e,n){"use strict";var r=n(0),o=n(83);r(r.P+r.F*n(85)("includes"),"String",{includes:function(t){return!!~o(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(0);r(r.P,"String",{repeat:n(78)})},function(t,e,n){"use strict";var r=n(0),o=n(6),a=n(83),i="".startsWith;r(r.P+r.F*n(85)("startsWith"),"String",{startsWith:function(t){var e=a(this,t,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return i?i.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){"use strict";n(12)("anchor",(function(t){return function(e){return t(this,"a","name",e)}}))},function(t,e,n){"use strict";n(12)("big",(function(t){return function(){return t(this,"big","","")}}))},function(t,e,n){"use strict";n(12)("blink",(function(t){return function(){return t(this,"blink","","")}}))},function(t,e,n){"use strict";n(12)("bold",(function(t){return function(){return t(this,"b","","")}}))},function(t,e,n){"use strict";n(12)("fixed",(function(t){return function(){return t(this,"tt","","")}}))},function(t,e,n){"use strict";n(12)("fontcolor",(function(t){return function(e){return t(this,"font","color",e)}}))},function(t,e,n){"use strict";n(12)("fontsize",(function(t){return function(e){return t(this,"font","size",e)}}))},function(t,e,n){"use strict";n(12)("italics",(function(t){return function(){return t(this,"i","","")}}))},function(t,e,n){"use strict";n(12)("link",(function(t){return function(e){return t(this,"a","href",e)}}))},function(t,e,n){"use strict";n(12)("small",(function(t){return function(){return t(this,"small","","")}}))},function(t,e,n){"use strict";n(12)("strike",(function(t){return function(){return t(this,"strike","","")}}))},function(t,e,n){"use strict";n(12)("sub",(function(t){return function(){return t(this,"sub","","")}}))},function(t,e,n){"use strict";n(12)("sup",(function(t){return function(){return t(this,"sup","","")}}))},function(t,e,n){var r=n(0);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,n){"use strict";var r=n(0),o=n(10),a=n(27);r(r.P+r.F*n(2)((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(t){var e=o(this),n=a(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var r=n(0),o=n(264);r(r.P+r.F*(Date.prototype.toISOString!==o),"Date",{toISOString:o})},function(t,e,n){"use strict";var r=n(2),o=Date.prototype.getTime,a=Date.prototype.toISOString,i=function(t){return t>9?t:"0"+t};t.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=a.call(new Date(-50000000000001))}))||!r((function(){a.call(new Date(NaN))}))?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+i(t.getUTCMonth()+1)+"-"+i(t.getUTCDate())+"T"+i(t.getUTCHours())+":"+i(t.getUTCMinutes())+":"+i(t.getUTCSeconds())+"."+(n>99?n:"0"+i(n))+"Z"}:a},function(t,e,n){var r=Date.prototype,o=r.toString,a=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(11)(r,"toString",(function(){var t=a.call(this);return t==t?o.call(this):"Invalid Date"}))},function(t,e,n){var r=n(5)("toPrimitive"),o=Date.prototype;r in o||n(15)(o,r,n(267))},function(t,e,n){"use strict";var r=n(3),o=n(27);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!=t)}},function(t,e,n){var r=n(0);r(r.S,"Array",{isArray:n(54)})},function(t,e,n){"use strict";var r=n(18),o=n(0),a=n(10),i=n(123),s=n(86),l=n(6),c=n(87),u=n(88);o(o.S+o.F*!n(55)((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,o,d,f=a(t),p="function"==typeof this?this:Array,g=arguments.length,h=g>1?arguments[1]:void 0,m=void 0!==h,v=0,y=u(f);if(m&&(h=r(h,g>2?arguments[2]:void 0,2)),null==y||p==Array&&s(y))for(n=new p(e=l(f.length));e>v;v++)c(n,v,m?h(f[v],v):f[v]);else for(d=y.call(f),n=new p;!(o=d.next()).done;v++)c(n,v,m?i(d,h,[o.value,v],!0):o.value);return n.length=v,n}})},function(t,e,n){"use strict";var r=n(0),o=n(87);r(r.S+r.F*n(2)((function(){function t(){}return!(Array.of.call(t)instanceof t)})),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)o(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){"use strict";var r=n(0),o=n(16),a=[].join;r(r.P+r.F*(n(45)!=Object||!n(17)(a)),"Array",{join:function(t){return a.call(o(this),void 0===t?",":t)}})},function(t,e,n){"use strict";var r=n(0),o=n(74),a=n(24),i=n(33),s=n(6),l=[].slice;r(r.P+r.F*n(2)((function(){o&&l.call(o)})),"Array",{slice:function(t,e){var n=s(this.length),r=a(this);if(e=void 0===e?n:e,"Array"==r)return l.call(this,t,e);for(var o=i(t,n),c=i(e,n),u=s(c-o),d=new Array(u),f=0;f<u;f++)d[f]="String"==r?this.charAt(o+f):this[o+f];return d}})},function(t,e,n){"use strict";var r=n(0),o=n(19),a=n(10),i=n(2),s=[].sort,l=[1,2,3];r(r.P+r.F*(i((function(){l.sort(void 0)}))||!i((function(){l.sort(null)}))||!n(17)(s)),"Array",{sort:function(t){return void 0===t?s.call(a(this)):s.call(a(this),o(t))}})},function(t,e,n){"use strict";var r=n(0),o=n(23)(0),a=n(17)([].forEach,!0);r(r.P+r.F*!a,"Array",{forEach:function(t){return o(this,t,arguments[1])}})},function(t,e,n){var r=n(4),o=n(54),a=n(5)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[a])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){"use strict";var r=n(0),o=n(23)(1);r(r.P+r.F*!n(17)([].map,!0),"Array",{map:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(23)(2);r(r.P+r.F*!n(17)([].filter,!0),"Array",{filter:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(23)(3);r(r.P+r.F*!n(17)([].some,!0),"Array",{some:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(23)(4);r(r.P+r.F*!n(17)([].every,!0),"Array",{every:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(125);r(r.P+r.F*!n(17)([].reduce,!0),"Array",{reduce:function(t){return o(this,t,arguments.length,arguments[1],!1)}})},function(t,e,n){"use strict";var r=n(0),o=n(125);r(r.P+r.F*!n(17)([].reduceRight,!0),"Array",{reduceRight:function(t){return o(this,t,arguments.length,arguments[1],!0)}})},function(t,e,n){"use strict";var r=n(0),o=n(52)(!1),a=[].indexOf,i=!!a&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(i||!n(17)(a)),"Array",{indexOf:function(t){return i?a.apply(this,arguments)||0:o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(16),a=n(20),i=n(6),s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(l||!n(17)(s)),"Array",{lastIndexOf:function(t){if(l)return s.apply(this,arguments)||0;var e=o(this),n=i(e.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,a(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},function(t,e,n){var r=n(0);r(r.P,"Array",{copyWithin:n(126)}),n(37)("copyWithin")},function(t,e,n){var r=n(0);r(r.P,"Array",{fill:n(89)}),n(37)("fill")},function(t,e,n){"use strict";var r=n(0),o=n(23)(5),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),r(r.P+r.F*a,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(37)("find")},function(t,e,n){"use strict";var r=n(0),o=n(23)(6),a="findIndex",i=!0;a in[]&&Array(1)[a]((function(){i=!1})),r(r.P+r.F*i,"Array",{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(37)(a)},function(t,e,n){n(42)("Array")},function(t,e,n){var r=n(1),o=n(77),a=n(9).f,i=n(35).f,s=n(84),l=n(56),c=r.RegExp,u=c,d=c.prototype,f=/a/g,p=/a/g,g=new c(f)!==f;if(n(8)&&(!g||n(2)((function(){return p[n(5)("match")]=!1,c(f)!=f||c(p)==p||"/a/i"!=c(f,"i")})))){c=function(t,e){var n=this instanceof c,r=s(t),a=void 0===e;return!n&&r&&t.constructor===c&&a?t:o(g?new u(r&&!a?t.source:t,e):u((r=t instanceof c)?t.source:t,r&&a?l.call(t):e),n?this:d,c)};for(var h=function(t){t in c||a(c,t,{configurable:!0,get:function(){return u[t]},set:function(e){u[t]=e}})},m=i(u),v=0;m.length>v;)h(m[v++]);d.constructor=c,c.prototype=d,n(11)(r,"RegExp",c)}n(42)("RegExp")},function(t,e,n){"use strict";n(129);var r=n(3),o=n(56),a=n(8),i=/./.toString,s=function(t){n(11)(RegExp.prototype,"toString",t,!0)};n(2)((function(){return"/a/b"!=i.call({source:"a",flags:"b"})}))?s((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!a&&t instanceof RegExp?o.call(t):void 0)})):"toString"!=i.name&&s((function(){return i.call(this)}))},function(t,e,n){"use strict";var r=n(3),o=n(6),a=n(92),i=n(57);n(58)("match",1,(function(t,e,n,s){return[function(n){var r=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=s(n,t,this);if(e.done)return e.value;var l=r(t),c=String(this);if(!l.global)return i(l,c);var u=l.unicode;l.lastIndex=0;for(var d,f=[],p=0;null!==(d=i(l,c));){var g=String(d[0]);f[p]=g,""===g&&(l.lastIndex=a(c,o(l.lastIndex),u)),p++}return 0===p?null:f}]}))},function(t,e,n){"use strict";var r=n(3),o=n(10),a=n(6),i=n(20),s=n(92),l=n(57),c=Math.max,u=Math.min,d=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g;n(58)("replace",2,(function(t,e,n,g){return[function(r,o){var a=t(this),i=null==r?void 0:r[e];return void 0!==i?i.call(r,a,o):n.call(String(a),r,o)},function(t,e){var o=g(n,t,this,e);if(o.done)return o.value;var d=r(t),f=String(this),p="function"==typeof e;p||(e=String(e));var m=d.global;if(m){var v=d.unicode;d.lastIndex=0}for(var y=[];;){var _=l(d,f);if(null===_)break;if(y.push(_),!m)break;""===String(_[0])&&(d.lastIndex=s(f,a(d.lastIndex),v))}for(var b,x="",w=0,S=0;S<y.length;S++){_=y[S];for(var A=String(_[0]),j=c(u(i(_.index),f.length),0),P=[],E=1;E<_.length;E++)P.push(void 0===(b=_[E])?b:String(b));var L=_.groups;if(p){var M=[A].concat(P,j,f);void 0!==L&&M.push(L);var O=String(e.apply(void 0,M))}else O=h(A,f,j,P,L,e);j>=w&&(x+=f.slice(w,j)+O,w=j+A.length)}return x+f.slice(w)}];function h(t,e,r,a,i,s){var l=r+t.length,c=a.length,u=p;return void 0!==i&&(i=o(i),u=f),n.call(s,u,(function(n,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(l);case"<":s=i[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>c){var f=d(u/10);return 0===f?n:f<=c?void 0===a[f-1]?o.charAt(1):a[f-1]+o.charAt(1):n}s=a[u-1]}return void 0===s?"":s}))}}))},function(t,e,n){"use strict";var r=n(3),o=n(114),a=n(57);n(58)("search",1,(function(t,e,n,i){return[function(n){var r=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=i(n,t,this);if(e.done)return e.value;var s=r(t),l=String(this),c=s.lastIndex;o(c,0)||(s.lastIndex=0);var u=a(s,l);return o(s.lastIndex,c)||(s.lastIndex=c),null===u?-1:u.index}]}))},function(t,e,n){"use strict";var r=n(84),o=n(3),a=n(48),i=n(92),s=n(6),l=n(57),c=n(91),u=n(2),d=Math.min,f=[].push,p="length",g=!u((function(){RegExp(4294967295,"y")}));n(58)("split",2,(function(t,e,n,u){var h;return h="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[p]||2!="ab".split(/(?:ab)*/)[p]||4!=".".split(/(.?)(.?)/)[p]||".".split(/()()/)[p]>1||"".split(/.?/)[p]?function(t,e){var o=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(o,t,e);for(var a,i,s,l=[],u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,g=void 0===e?4294967295:e>>>0,h=new RegExp(t.source,u+"g");(a=c.call(h,o))&&!((i=h.lastIndex)>d&&(l.push(o.slice(d,a.index)),a[p]>1&&a.index<o[p]&&f.apply(l,a.slice(1)),s=a[0][p],d=i,l[p]>=g));)h.lastIndex===a.index&&h.lastIndex++;return d===o[p]?!s&&h.test("")||l.push(""):l.push(o.slice(d)),l[p]>g?l.slice(0,g):l}:"0".split(void 0,0)[p]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var o=t(this),a=null==n?void 0:n[e];return void 0!==a?a.call(n,o,r):h.call(String(o),n,r)},function(t,e){var r=u(h,t,this,e,h!==n);if(r.done)return r.value;var c=o(t),f=String(this),p=a(c,RegExp),m=c.unicode,v=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(g?"y":"g"),y=new p(g?c:"^(?:"+c.source+")",v),_=void 0===e?4294967295:e>>>0;if(0===_)return[];if(0===f.length)return null===l(y,f)?[f]:[];for(var b=0,x=0,w=[];x<f.length;){y.lastIndex=g?x:0;var S,A=l(y,g?f:f.slice(x));if(null===A||(S=d(s(y.lastIndex+(g?0:x)),f.length))===b)x=i(f,x,m);else{if(w.push(f.slice(b,x)),w.length===_)return w;for(var j=1;j<=A.length-1;j++)if(w.push(A[j]),w.length===_)return w;x=b=S}}return w.push(f.slice(b)),w}]}))},function(t,e,n){var r=n(1),o=n(93).set,a=r.MutationObserver||r.WebKitMutationObserver,i=r.process,s=r.Promise,l="process"==n(24)(i);t.exports=function(){var t,e,n,c=function(){var r,o;for(l&&(r=i.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(l)n=function(){i.nextTick(c)};else if(!a||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);n=function(){u.then(c)}}else n=function(){o.call(r,c)};else{var d=!0,f=document.createTextNode("");new a(c).observe(f,{characterData:!0}),n=function(){f.data=d=!d}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){"use strict";var r=n(133),o=n(38);t.exports=n(61)("Map",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(t){var e=r.getEntry(o(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(o(this,"Map"),0===t?0:t,e)}},r,!0)},function(t,e,n){"use strict";var r=n(133),o=n(38);t.exports=n(61)("Set",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(o(this,"Set"),t=0===t?0:t,t)}},r)},function(t,e,n){"use strict";var r,o=n(1),a=n(23)(0),i=n(11),s=n(28),l=n(113),c=n(134),u=n(4),d=n(38),f=n(38),p=!o.ActiveXObject&&"ActiveXObject"in o,g=s.getWeak,h=Object.isExtensible,m=c.ufstore,v=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},y={get:function(t){if(u(t)){var e=g(t);return!0===e?m(d(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return c.def(d(this,"WeakMap"),t,e)}},_=t.exports=n(61)("WeakMap",v,y,c,!0,!0);f&&p&&(l((r=c.getConstructor(v,"WeakMap")).prototype,y),s.NEED=!0,a(["delete","has","get","set"],(function(t){var e=_.prototype,n=e[t];i(e,t,(function(e,o){if(u(e)&&!h(e)){this._f||(this._f=new r);var a=this._f[t](e,o);return"set"==t?this:a}return n.call(this,e,o)}))})))},function(t,e,n){"use strict";var r=n(134),o=n(38);n(61)("WeakSet",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(o(this,"WeakSet"),t,!0)}},r,!1,!0)},function(t,e,n){"use strict";var r=n(0),o=n(62),a=n(94),i=n(3),s=n(33),l=n(6),c=n(4),u=n(1).ArrayBuffer,d=n(48),f=a.ArrayBuffer,p=a.DataView,g=o.ABV&&u.isView,h=f.prototype.slice,m=o.VIEW;r(r.G+r.W+r.F*(u!==f),{ArrayBuffer:f}),r(r.S+r.F*!o.CONSTR,"ArrayBuffer",{isView:function(t){return g&&g(t)||c(t)&&m in t}}),r(r.P+r.U+r.F*n(2)((function(){return!new f(2).slice(1,void 0).byteLength})),"ArrayBuffer",{slice:function(t,e){if(void 0!==h&&void 0===e)return h.call(i(this),t);for(var n=i(this).byteLength,r=s(t,n),o=s(void 0===e?n:e,n),a=new(d(this,f))(l(o-r)),c=new p(this),u=new p(a),g=0;r<o;)u.setUint8(g++,c.getUint8(r++));return a}}),n(42)("ArrayBuffer")},function(t,e,n){var r=n(0);r(r.G+r.W+r.F*!n(62).ABV,{DataView:n(94).DataView})},function(t,e,n){n(26)("Int8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(26)("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(26)("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}),!0)},function(t,e,n){n(26)("Int16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(26)("Uint16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(26)("Int32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(26)("Uint32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(26)("Float32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(26)("Float64",8,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){var r=n(0),o=n(19),a=n(3),i=(n(1).Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!n(2)((function(){i((function(){}))})),"Reflect",{apply:function(t,e,n){var r=o(t),l=a(n);return i?i(r,e,l):s.call(r,e,l)}})},function(t,e,n){var r=n(0),o=n(34),a=n(19),i=n(3),s=n(4),l=n(2),c=n(115),u=(n(1).Reflect||{}).construct,d=l((function(){function t(){}return!(u((function(){}),[],t)instanceof t)})),f=!l((function(){u((function(){}))}));r(r.S+r.F*(d||f),"Reflect",{construct:function(t,e){a(t),i(e);var n=arguments.length<3?t:a(arguments[2]);if(f&&!d)return u(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(c.apply(t,r))}var l=n.prototype,p=o(s(l)?l:Object.prototype),g=Function.apply.call(t,p,e);return s(g)?g:p}})},function(t,e,n){var r=n(9),o=n(0),a=n(3),i=n(27);o(o.S+o.F*n(2)((function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(t,e,n){a(t),e=i(e,!0),a(n);try{return r.f(t,e,n),!0}catch(t){return!1}}})},function(t,e,n){var r=n(0),o=n(21).f,a=n(3);r(r.S,"Reflect",{deleteProperty:function(t,e){var n=o(a(t),e);return!(n&&!n.configurable)&&delete t[e]}})},function(t,e,n){"use strict";var r=n(0),o=n(3),a=function(t){this._t=o(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n(122)(a,"Object",(function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}})),r(r.S,"Reflect",{enumerate:function(t){return new a(t)}})},function(t,e,n){var r=n(21),o=n(36),a=n(14),i=n(0),s=n(4),l=n(3);i(i.S,"Reflect",{get:function t(e,n){var i,c,u=arguments.length<3?e:arguments[2];return l(e)===u?e[n]:(i=r.f(e,n))?a(i,"value")?i.value:void 0!==i.get?i.get.call(u):void 0:s(c=o(e))?t(c,n,u):void 0}})},function(t,e,n){var r=n(21),o=n(0),a=n(3);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(a(t),e)}})},function(t,e,n){var r=n(0),o=n(36),a=n(3);r(r.S,"Reflect",{getPrototypeOf:function(t){return o(a(t))}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var r=n(0),o=n(3),a=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return o(t),!a||a(t)}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{ownKeys:n(136)})},function(t,e,n){var r=n(0),o=n(3),a=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){o(t);try{return a&&a(t),!0}catch(t){return!1}}})},function(t,e,n){var r=n(9),o=n(21),a=n(36),i=n(14),s=n(0),l=n(29),c=n(3),u=n(4);s(s.S,"Reflect",{set:function t(e,n,s){var d,f,p=arguments.length<4?e:arguments[3],g=o.f(c(e),n);if(!g){if(u(f=a(e)))return t(f,n,s,p);g=l(0)}if(i(g,"value")){if(!1===g.writable||!u(p))return!1;if(d=o.f(p,n)){if(d.get||d.set||!1===d.writable)return!1;d.value=s,r.f(p,n,d)}else r.f(p,n,l(0,s));return!0}return void 0!==g.set&&(g.set.call(p,s),!0)}})},function(t,e,n){var r=n(0),o=n(75);o&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){o.check(t,e);try{return o.set(t,e),!0}catch(t){return!1}}})},function(t,e,n){n(327),t.exports=n(7).Array.includes},function(t,e,n){"use strict";var r=n(0),o=n(52)(!0);r(r.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(37)("includes")},function(t,e,n){n(329),t.exports=n(7).Array.flatMap},function(t,e,n){"use strict";var r=n(0),o=n(330),a=n(10),i=n(6),s=n(19),l=n(124);r(r.P,"Array",{flatMap:function(t){var e,n,r=a(this);return s(t),e=i(r.length),n=l(r,0),o(n,r,r,e,0,1,t,arguments[1]),n}}),n(37)("flatMap")},function(t,e,n){"use strict";var r=n(54),o=n(4),a=n(6),i=n(18),s=n(5)("isConcatSpreadable");t.exports=function t(e,n,l,c,u,d,f,p){for(var g,h,m=u,v=0,y=!!f&&i(f,p,3);v<c;){if(v in l){if(g=y?y(l[v],v,n):l[v],h=!1,o(g)&&(h=void 0!==(h=g[s])?!!h:r(g)),h&&d>0)m=t(e,n,g,a(g.length),m,d-1)-1;else{if(m>=9007199254740991)throw TypeError();e[m]=g}m++}v++}return m}},function(t,e,n){n(332),t.exports=n(7).String.padStart},function(t,e,n){"use strict";var r=n(0),o=n(137),a=n(60),i=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(a);r(r.P+r.F*i,"String",{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,e,n){n(334),t.exports=n(7).String.padEnd},function(t,e,n){"use strict";var r=n(0),o=n(137),a=n(60),i=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(a);r(r.P+r.F*i,"String",{padEnd:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,e,n){n(336),t.exports=n(7).String.trimLeft},function(t,e,n){"use strict";n(40)("trimLeft",(function(t){return function(){return t(this,1)}}),"trimStart")},function(t,e,n){n(338),t.exports=n(7).String.trimRight},function(t,e,n){"use strict";n(40)("trimRight",(function(t){return function(){return t(this,2)}}),"trimEnd")},function(t,e,n){n(340),t.exports=n(71).f("asyncIterator")},function(t,e,n){n(109)("asyncIterator")},function(t,e,n){n(342),t.exports=n(7).Object.getOwnPropertyDescriptors},function(t,e,n){var r=n(0),o=n(136),a=n(16),i=n(21),s=n(87);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,r=a(t),l=i.f,c=o(r),u={},d=0;c.length>d;)void 0!==(n=l(r,e=c[d++]))&&s(u,e,n);return u}})},function(t,e,n){n(344),t.exports=n(7).Object.values},function(t,e,n){var r=n(0),o=n(138)(!1);r(r.S,"Object",{values:function(t){return o(t)}})},function(t,e,n){n(346),t.exports=n(7).Object.entries},function(t,e,n){var r=n(0),o=n(138)(!0);r(r.S,"Object",{entries:function(t){return o(t)}})},function(t,e,n){"use strict";n(130),n(348),t.exports=n(7).Promise.finally},function(t,e,n){"use strict";var r=n(0),o=n(7),a=n(1),i=n(48),s=n(132);r(r.P+r.R,"Promise",{finally:function(t){var e=i(this,o.Promise||a.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}})},function(t,e,n){n(350),n(351),n(352),t.exports=n(7)},function(t,e,n){var r=n(1),o=n(0),a=n(60),i=[].slice,s=/MSIE .\./.test(a),l=function(t){return function(e,n){var r=arguments.length>2,o=!!r&&i.call(arguments,2);return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,o)}:e,n)}};o(o.G+o.B+o.F*s,{setTimeout:l(r.setTimeout),setInterval:l(r.setInterval)})},function(t,e,n){var r=n(0),o=n(93);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},function(t,e,n){for(var r=n(90),o=n(32),a=n(11),i=n(1),s=n(15),l=n(41),c=n(5),u=c("iterator"),d=c("toStringTag"),f=l.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},g=o(p),h=0;h<g.length;h++){var m,v=g[h],y=p[v],_=i[v],b=_&&_.prototype;if(b&&(b[u]||s(b,u,f),b[d]||s(b,d,v),l[v]=f,y))for(m in r)b[m]||a(b,m,r[m],!0)}},function(t,e,n){var r=function(t){"use strict";var e=Object.prototype,n=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",i=r.toStringTag||"@@toStringTag";function s(t,e,n,r){var o=e&&e.prototype instanceof u?e:u,a=Object.create(o.prototype),i=new w(r||[]);return a._invoke=function(t,e,n){var r="suspendedStart";return function(o,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw a;return A()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var s=_(i,n);if(s){if(s===c)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=l(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===c)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(t,n,i),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var c={};function u(){}function d(){}function f(){}var p={};p[o]=function(){return this};var g=Object.getPrototypeOf,h=g&&g(g(S([])));h&&h!==e&&n.call(h,o)&&(p=h);var m=f.prototype=u.prototype=Object.create(p);function v(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function y(t,e){var r;this._invoke=function(o,a){function i(){return new e((function(r,i){!function r(o,a,i,s){var c=l(t[o],t,a);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==typeof d&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){r("next",t,i,s)}),(function(t){r("throw",t,i,s)})):e.resolve(d).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,s)}))}s(c.arg)}(o,a,r,i)}))}return r=r?r.then(i,i):i()}}function _(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method))return c;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var r=l(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,c;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,c):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,c)}function b(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function w(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(b,this),this.reset(!0)}function S(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,a=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return a.next=a}}return{next:A}}function A(){return{value:void 0,done:!0}}return d.prototype=m.constructor=f,f.constructor=d,f[i]=d.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,i in t||(t[i]="GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},v(y.prototype),y.prototype[a]=function(){return this},t.AsyncIterator=y,t.async=function(e,n,r,o,a){void 0===a&&(a=Promise);var i=new y(s(e,n,r,o),a);return t.isGeneratorFunction(n)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},v(m),m[i]="Generator",m[o]=function(){return this},m.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=S,w.prototype={constructor:w,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return i.type="throw",i.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(s&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,c):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),c},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),x(n),c}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:S(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},function(t,e){!function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof HTMLElement){var t=!1;try{var e=document.createElement("div");e.addEventListener("focus",(function(t){t.preventDefault(),t.stopPropagation()}),!0),e.focus(Object.defineProperty({},"preventScroll",{get:function(){t=!0}}))}catch(t){}if(void 0===HTMLElement.prototype.nativeFocus&&!t){HTMLElement.prototype.nativeFocus=HTMLElement.prototype.focus;var n=function(t){for(var e=0;e<t.length;e++)t[e][0].scrollTop=t[e][1],t[e][0].scrollLeft=t[e][2];t=[]};HTMLElement.prototype.focus=function(t){if(t&&t.preventScroll){var e=function(t){for(var e=t.parentNode,n=[],r=document.scrollingElement||document.documentElement;e&&e!==r;)(e.offsetHeight<e.scrollHeight||e.offsetWidth<e.scrollWidth)&&n.push([e,e.scrollTop,e.scrollLeft]),e=e.parentNode;return e=r,n.push([e,e.scrollTop,e.scrollLeft]),n}(this);this.nativeFocus(),"function"==typeof setTimeout?setTimeout((function(){n(e)}),0):n(e)}else this.nativeFocus()}}}}()},function(t,e,n){"use strict";var r,o,a,i,s,l;if(Function.prototype.bind||(Function.prototype.bind=function(t){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var e=Array.prototype.slice.call(arguments,1),n=this,r=function(){},o=function(){return n.apply(this instanceof r&&t?this:t,e.concat(Array.prototype.slice.call(arguments)))};return r.prototype=this.prototype,o.prototype=new r,o}),r=Object.prototype,o=r.__defineGetter__,a=r.__defineSetter__,i=r.__lookupGetter__,s=r.__lookupSetter__,l=r.hasOwnProperty,o&&a&&i&&s&&(Object.defineProperty||(Object.defineProperty=function(t,e,n){if(arguments.length<3)throw new TypeError("Arguments not optional");if(e+="",l.call(n,"value")&&(i.call(t,e)||s.call(t,e)||(t[e]=n.value),l.call(n,"get")||l.call(n,"set")))throw new TypeError("Cannot specify an accessor and a value");if(!(n.writable&&n.enumerable&&n.configurable))throw new TypeError("This implementation of Object.defineProperty does not support false for configurable, enumerable, or writable.");return n.get&&o.call(t,e,n.get),n.set&&a.call(t,e,n.set),t}),Object.getOwnPropertyDescriptor||(Object.getOwnPropertyDescriptor=function(t,e){if(arguments.length<2)throw new TypeError("Arguments not optional.");e+="";var n={configurable:!0,enumerable:!0,writable:!0},r=i.call(t,e),o=s.call(t,e);return l.call(t,e)?r||o?(delete n.writable,n.get=n.set=void 0,r&&(n.get=r),o&&(n.set=o),n):(n.value=t[e],n):n}),Object.defineProperties||(Object.defineProperties=function(t,e){var n;for(n in e)l.call(e,n)&&Object.defineProperty(t,n,e[n])})),!(document.documentElement.dataset||Object.getOwnPropertyDescriptor(Element.prototype,"dataset")&&Object.getOwnPropertyDescriptor(Element.prototype,"dataset").get)){var c={enumerable:!0,get:function(){var t,e,n,r,o,a,i=this.attributes,s=i.length,l=function(t){return t.charAt(1).toUpperCase()},c=function(){return this},u=function(t,e){return void 0!==e?this.setAttribute(t,e):this.removeAttribute(t)};try{({}).__defineGetter__("test",(function(){})),e={}}catch(t){e=document.createElement("div")}for(t=0;t<s;t++)if((a=i[t])&&a.name&&/^data-\w[\w\-]*$/.test(a.name)){n=a.value,o=(r=a.name).substr(5).replace(/-./g,l);try{Object.defineProperty(e,o,{enumerable:this.enumerable,get:c.bind(n||""),set:u.bind(this,r)})}catch(t){e[o]=n}}return e}};try{Object.defineProperty(Element.prototype,"dataset",c)}catch(t){c.enumerable=!1,Object.defineProperty(Element.prototype,"dataset",c)}}},function(t,e,n){"use strict";var r=n(357),o=n(358),a=n(139);t.exports={formats:a,parse:o,stringify:r}},function(t,e,n){"use strict";var r=n(95),o=n(139),a=Object.prototype.hasOwnProperty,i={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},s=Array.isArray,l=Array.prototype.push,c=function(t,e){l.apply(t,s(e)?e:[e])},u=Date.prototype.toISOString,d=o.default,f={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:d,formatter:o.formatters[d],indices:!1,serializeDate:function(t){return u.call(t)},skipNulls:!1,strictNullHandling:!1},p=function t(e,n,o,a,i,l,u,d,p,g,h,m,v){var y,_=e;if("function"==typeof u?_=u(n,_):_ instanceof Date?_=g(_):"comma"===o&&s(_)&&(_=r.maybeMap(_,(function(t){return t instanceof Date?g(t):t})).join(",")),null===_){if(a)return l&&!m?l(n,f.encoder,v,"key"):n;_=""}if("string"==typeof(y=_)||"number"==typeof y||"boolean"==typeof y||"symbol"==typeof y||"bigint"==typeof y||r.isBuffer(_))return l?[h(m?n:l(n,f.encoder,v,"key"))+"="+h(l(_,f.encoder,v,"value"))]:[h(n)+"="+h(String(_))];var b,x=[];if(void 0===_)return x;if(s(u))b=u;else{var w=Object.keys(_);b=d?w.sort(d):w}for(var S=0;S<b.length;++S){var A=b[S],j=_[A];if(!i||null!==j){var P=s(_)?"function"==typeof o?o(n,A):n:n+(p?"."+A:"["+A+"]");c(x,t(j,P,o,a,i,l,u,d,p,g,h,m,v))}}return x};t.exports=function(t,e){var n,r=t,l=function(t){if(!t)return f;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||f.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==t.format){if(!a.call(o.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var r=o.formatters[n],i=f.filter;return("function"==typeof t.filter||s(t.filter))&&(i=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:f.addQueryPrefix,allowDots:void 0===t.allowDots?f.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:f.charsetSentinel,delimiter:void 0===t.delimiter?f.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:f.encode,encoder:"function"==typeof t.encoder?t.encoder:f.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:f.encodeValuesOnly,filter:i,formatter:r,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:f.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:f.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:f.strictNullHandling}}(e);"function"==typeof l.filter?r=(0,l.filter)("",r):s(l.filter)&&(n=l.filter);var u,d=[];if("object"!=typeof r||null===r)return"";u=e&&e.arrayFormat in i?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var g=i[u];n||(n=Object.keys(r)),l.sort&&n.sort(l.sort);for(var h=0;h<n.length;++h){var m=n[h];l.skipNulls&&null===r[m]||c(d,p(r[m],m,g,l.strictNullHandling,l.skipNulls,l.encode?l.encoder:null,l.filter,l.sort,l.allowDots,l.serializeDate,l.formatter,l.encodeValuesOnly,l.charset))}var v=d.join(l.delimiter),y=!0===l.addQueryPrefix?"?":"";return l.charsetSentinel&&("iso-8859-1"===l.charset?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),v.length>0?y+v:""}},function(t,e,n){"use strict";var r=n(95),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},l=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},c=function(t,e,n,r){if(t){var a=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(a),c=s?a.slice(0,s.index):a,u=[];if(c){if(!n.plainObjects&&o.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}for(var d=0;n.depth>0&&null!==(s=i.exec(a))&&d<n.depth;){if(d+=1,!n.plainObjects&&o.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(s[1])}return s&&u.push("["+a.slice(s.index)+"]"),function(t,e,n,r){for(var o=r?e:l(e,n),a=t.length-1;a>=0;--a){var i,s=t[a];if("[]"===s&&n.parseArrays)i=[].concat(o);else{i=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(c,10);n.parseArrays||""!==c?!isNaN(u)&&s!==c&&String(u)===c&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(i=[])[u]=o:i[c]=o:i={0:o}}o=i}return o}(u,e,n,r)}};t.exports=function(t,e){var n=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return n.plainObjects?Object.create(null):{};for(var u="string"==typeof t?function(t,e){var n,c={},u=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,d=e.parameterLimit===1/0?void 0:e.parameterLimit,f=u.split(e.delimiter,d),p=-1,g=e.charset;if(e.charsetSentinel)for(n=0;n<f.length;++n)0===f[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[n]?g="utf-8":"utf8=%26%2310003%3B"===f[n]&&(g="iso-8859-1"),p=n,n=f.length);for(n=0;n<f.length;++n)if(n!==p){var h,m,v=f[n],y=v.indexOf("]="),_=-1===y?v.indexOf("="):y+1;-1===_?(h=e.decoder(v,i.decoder,g,"key"),m=e.strictNullHandling?null:""):(h=e.decoder(v.slice(0,_),i.decoder,g,"key"),m=r.maybeMap(l(v.slice(_+1),e),(function(t){return e.decoder(t,i.decoder,g,"value")}))),m&&e.interpretNumericEntities&&"iso-8859-1"===g&&(m=s(m)),v.indexOf("[]=")>-1&&(m=a(m)?[m]:m),o.call(c,h)?c[h]=r.combine(c[h],m):c[h]=m}return c}(t,n):t,d=n.plainObjects?Object.create(null):{},f=Object.keys(u),p=0;p<f.length;++p){var g=f[p],h=c(g,u[g],n,"string"==typeof t);d=r.merge(d,h,n)}return r.compact(d)}}]);
1
+ var ajaxloadmore=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=96)}([function(t,e,n){var r=n(1),o=n(7),a=n(15),i=n(11),s=n(18),l=function(t,e,n){var c,u,d,f,p=t&l.F,g=t&l.G,h=t&l.S,m=t&l.P,v=t&l.B,y=g?r:h?r[e]||(r[e]={}):(r[e]||{}).prototype,_=g?o:o[e]||(o[e]={}),b=_.prototype||(_.prototype={});for(c in g&&(n=e),n)d=((u=!p&&y&&void 0!==y[c])?y:n)[c],f=v&&u?s(d,r):m&&"function"==typeof d?s(Function.call,d):d,y&&i(y,c,d,t&l.U),_[c]!=d&&a(_,c,f),m&&b[c]!=d&&(b[c]=d)};r.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(51)("wks"),o=n(30),a=n(1).Symbol,i="function"==typeof a;(t.exports=function(t){return r[t]||(r[t]=i&&a[t]||(i?a:o)("Symbol."+t))}).store=r},function(t,e,n){var r=n(20),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(t,e,n){t.exports=!n(2)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(3),o=n(108),a=n(27),i=Object.defineProperty;e.f=n(8)?Object.defineProperty:function(t,e,n){if(r(t),e=a(e,!0),r(n),o)try{return i(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(25);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(1),o=n(15),a=n(14),i=n(30)("src"),s=n(185),l=(""+s).split("toString");n(7).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var c="function"==typeof n;c&&(a(n,"name")||o(n,"name",e)),t[e]!==n&&(c&&(a(n,i)||o(n,i,t[e]?""+t[e]:l.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[i]||s.call(this)}))},function(t,e,n){var r=n(0),o=n(2),a=n(25),i=/"/g,s=function(t,e,n,r){var o=String(a(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(r).replace(i,"&quot;")+'"'),s+">"+o+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(s),r(r.P+r.F*o((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})),"String",n)}},function(t,e,n){"use strict";var r=n(97),o=n(141),a=Object.prototype.toString;function i(t){return"[object Array]"===a.call(t)}function s(t){return null!==t&&"object"==typeof t}function l(t){return"[object Function]"===a.call(t)}function c(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),i(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}t.exports={isArray:i,isArrayBuffer:function(t){return"[object ArrayBuffer]"===a.call(t)},isBuffer:o,isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:s,isUndefined:function(t){return void 0===t},isDate:function(t){return"[object Date]"===a.call(t)},isFile:function(t){return"[object File]"===a.call(t)},isBlob:function(t){return"[object Blob]"===a.call(t)},isFunction:l,isStream:function(t){return s(t)&&l(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:c,merge:function t(){var e={};function n(n,r){"object"==typeof e[r]&&"object"==typeof n?e[r]=t(e[r],n):e[r]=n}for(var r=0,o=arguments.length;r<o;r++)c(arguments[r],n);return e},extend:function(t,e,n){return c(e,(function(e,o){t[o]=n&&"function"==typeof e?r(e,n):e})),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(9),o=n(29);t.exports=n(8)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(45),o=n(25);t.exports=function(t){return r(o(t))}},function(t,e,n){"use strict";var r=n(2);t.exports=function(t,e){return!!t&&r((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},function(t,e,n){var r=n(19);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(46),o=n(29),a=n(16),i=n(27),s=n(14),l=n(108),c=Object.getOwnPropertyDescriptor;e.f=n(8)?c:function(t,e){if(t=a(t),e=i(e,!0),l)try{return c(t,e)}catch(t){}if(s(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(0),o=n(7),a=n(2);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],i={};i[t]=e(n),r(r.S+r.F*a((function(){n(1)})),"Object",i)}},function(t,e,n){var r=n(18),o=n(45),a=n(10),i=n(6),s=n(124);t.exports=function(t,e){var n=1==t,l=2==t,c=3==t,u=4==t,d=6==t,f=5==t||d,p=e||s;return function(e,s,g){for(var h,m,v=a(e),y=o(v),_=r(s,g,3),b=i(y.length),w=0,x=n?p(e,b):l?p(e,0):void 0;b>w;w++)if((f||w in y)&&(m=_(h=y[w],w,v),t))if(n)x[w]=m;else if(m)switch(t){case 3:return!0;case 5:return h;case 6:return w;case 2:x.push(h)}else if(u)return!1;return d?-1:c||u?u:x}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){"use strict";if(n(8)){var r=n(31),o=n(1),a=n(2),i=n(0),s=n(62),l=n(94),c=n(18),u=n(43),d=n(29),f=n(15),p=n(44),g=n(20),h=n(6),m=n(135),v=n(33),y=n(27),_=n(14),b=n(47),w=n(4),x=n(10),S=n(86),A=n(34),j=n(36),E=n(35).f,P=n(88),L=n(30),M=n(5),O=n(23),T=n(52),I=n(48),F=n(90),C=n(41),N=n(55),k=n(42),R=n(89),D=n(126),q=n(9),z=n(21),B=q.f,W=z.f,H=o.RangeError,U=o.TypeError,V=o.Uint8Array,G=Array.prototype,Y=l.ArrayBuffer,X=l.DataView,Q=O(0),$=O(2),J=O(3),K=O(4),Z=O(5),tt=O(6),et=T(!0),nt=T(!1),rt=F.values,ot=F.keys,at=F.entries,it=G.lastIndexOf,st=G.reduce,lt=G.reduceRight,ct=G.join,ut=G.sort,dt=G.slice,ft=G.toString,pt=G.toLocaleString,gt=M("iterator"),ht=M("toStringTag"),mt=L("typed_constructor"),vt=L("def_constructor"),yt=s.CONSTR,_t=s.TYPED,bt=s.VIEW,wt=O(1,(function(t,e){return Et(I(t,t[vt]),e)})),xt=a((function(){return 1===new V(new Uint16Array([1]).buffer)[0]})),St=!!V&&!!V.prototype.set&&a((function(){new V(1).set({})})),At=function(t,e){var n=g(t);if(n<0||n%e)throw H("Wrong offset!");return n},jt=function(t){if(w(t)&&_t in t)return t;throw U(t+" is not a typed array!")},Et=function(t,e){if(!w(t)||!(mt in t))throw U("It is not a typed array constructor!");return new t(e)},Pt=function(t,e){return Lt(I(t,t[vt]),e)},Lt=function(t,e){for(var n=0,r=e.length,o=Et(t,r);r>n;)o[n]=e[n++];return o},Mt=function(t,e,n){B(t,e,{get:function(){return this._d[n]}})},Ot=function(t){var e,n,r,o,a,i,s=x(t),l=arguments.length,u=l>1?arguments[1]:void 0,d=void 0!==u,f=P(s);if(null!=f&&!S(f)){for(i=f.call(s),r=[],e=0;!(a=i.next()).done;e++)r.push(a.value);s=r}for(d&&l>2&&(u=c(u,arguments[2],2)),e=0,n=h(s.length),o=Et(this,n);n>e;e++)o[e]=d?u(s[e],e):s[e];return o},Tt=function(){for(var t=0,e=arguments.length,n=Et(this,e);e>t;)n[t]=arguments[t++];return n},It=!!V&&a((function(){pt.call(new V(1))})),Ft=function(){return pt.apply(It?dt.call(jt(this)):jt(this),arguments)},Ct={copyWithin:function(t,e){return D.call(jt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return K(jt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return R.apply(jt(this),arguments)},filter:function(t){return Pt(this,$(jt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Z(jt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(jt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){Q(jt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(jt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(jt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ct.apply(jt(this),arguments)},lastIndexOf:function(t){return it.apply(jt(this),arguments)},map:function(t){return wt(jt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return st.apply(jt(this),arguments)},reduceRight:function(t){return lt.apply(jt(this),arguments)},reverse:function(){for(var t,e=jt(this).length,n=Math.floor(e/2),r=0;r<n;)t=this[r],this[r++]=this[--e],this[e]=t;return this},some:function(t){return J(jt(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return ut.call(jt(this),t)},subarray:function(t,e){var n=jt(this),r=n.length,o=v(t,r);return new(I(n,n[vt]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,h((void 0===e?r:v(e,r))-o))}},Nt=function(t,e){return Pt(this,dt.call(jt(this),t,e))},kt=function(t){jt(this);var e=At(arguments[1],1),n=this.length,r=x(t),o=h(r.length),a=0;if(o+e>n)throw H("Wrong length!");for(;a<o;)this[e+a]=r[a++]},Rt={entries:function(){return at.call(jt(this))},keys:function(){return ot.call(jt(this))},values:function(){return rt.call(jt(this))}},Dt=function(t,e){return w(t)&&t[_t]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},qt=function(t,e){return Dt(t,e=y(e,!0))?d(2,t[e]):W(t,e)},zt=function(t,e,n){return!(Dt(t,e=y(e,!0))&&w(n)&&_(n,"value"))||_(n,"get")||_(n,"set")||n.configurable||_(n,"writable")&&!n.writable||_(n,"enumerable")&&!n.enumerable?B(t,e,n):(t[e]=n.value,t)};yt||(z.f=qt,q.f=zt),i(i.S+i.F*!yt,"Object",{getOwnPropertyDescriptor:qt,defineProperty:zt}),a((function(){ft.call({})}))&&(ft=pt=function(){return ct.call(this)});var Bt=p({},Ct);p(Bt,Rt),f(Bt,gt,Rt.values),p(Bt,{slice:Nt,set:kt,constructor:function(){},toString:ft,toLocaleString:Ft}),Mt(Bt,"buffer","b"),Mt(Bt,"byteOffset","o"),Mt(Bt,"byteLength","l"),Mt(Bt,"length","e"),B(Bt,ht,{get:function(){return this[_t]}}),t.exports=function(t,e,n,l){var c=t+((l=!!l)?"Clamped":"")+"Array",d="get"+t,p="set"+t,g=o[c],v=g||{},y=g&&j(g),_=!g||!s.ABV,x={},S=g&&g.prototype,P=function(t,n){B(t,n,{get:function(){return function(t,n){var r=t._d;return r.v[d](n*e+r.o,xt)}(this,n)},set:function(t){return function(t,n,r){var o=t._d;l&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),o.v[p](n*e+o.o,r,xt)}(this,n,t)},enumerable:!0})};_?(g=n((function(t,n,r,o){u(t,g,c,"_d");var a,i,s,l,d=0,p=0;if(w(n)){if(!(n instanceof Y||"ArrayBuffer"==(l=b(n))||"SharedArrayBuffer"==l))return _t in n?Lt(g,n):Ot.call(g,n);a=n,p=At(r,e);var v=n.byteLength;if(void 0===o){if(v%e)throw H("Wrong length!");if((i=v-p)<0)throw H("Wrong length!")}else if((i=h(o)*e)+p>v)throw H("Wrong length!");s=i/e}else s=m(n),a=new Y(i=s*e);for(f(t,"_d",{b:a,o:p,l:i,e:s,v:new X(a)});d<s;)P(t,d++)})),S=g.prototype=A(Bt),f(S,"constructor",g)):a((function(){g(1)}))&&a((function(){new g(-1)}))&&N((function(t){new g,new g(null),new g(1.5),new g(t)}),!0)||(g=n((function(t,n,r,o){var a;return u(t,g,c),w(n)?n instanceof Y||"ArrayBuffer"==(a=b(n))||"SharedArrayBuffer"==a?void 0!==o?new v(n,At(r,e),o):void 0!==r?new v(n,At(r,e)):new v(n):_t in n?Lt(g,n):Ot.call(g,n):new v(m(n))})),Q(y!==Function.prototype?E(v).concat(E(y)):E(v),(function(t){t in g||f(g,t,v[t])})),g.prototype=S,r||(S.constructor=g));var L=S[gt],M=!!L&&("values"==L.name||null==L.name),O=Rt.values;f(g,mt,!0),f(S,_t,c),f(S,bt,!0),f(S,vt,g),(l?new g(1)[ht]==c:ht in S)||B(S,ht,{get:function(){return c}}),x[c]=g,i(i.G+i.W+i.F*(g!=v),x),i(i.S,c,{BYTES_PER_ELEMENT:e}),i(i.S+i.F*a((function(){v.of.call(g,1)})),c,{from:Ot,of:Tt}),"BYTES_PER_ELEMENT"in S||f(S,"BYTES_PER_ELEMENT",e),i(i.P,c,Ct),k(c),i(i.P+i.F*St,c,{set:kt}),i(i.P+i.F*!M,c,Rt),r||S.toString==ft||(S.toString=ft),i(i.P+i.F*a((function(){new g(1).slice()})),c,{slice:Nt}),i(i.P+i.F*(a((function(){return[1,2].toLocaleString()!=new g([1,2]).toLocaleString()}))||!a((function(){S.toLocaleString.call([1,2])}))),c,{toLocaleString:Ft}),C[c]=M?L:O,r||M||f(S,gt,O)}}else t.exports=function(){}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(30)("meta"),o=n(4),a=n(14),i=n(9).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(2)((function(){return l(Object.preventExtensions({}))})),u=function(t){i(t,r,{value:{i:"O"+ ++s,w:{}}})},d=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!a(t,r)){if(!l(t))return"F";if(!e)return"E";u(t)}return t[r].i},getWeak:function(t,e){if(!a(t,r)){if(!l(t))return!0;if(!e)return!1;u(t)}return t[r].w},onFreeze:function(t){return c&&d.NEED&&l(t)&&!a(t,r)&&u(t),t}}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports=!1},function(t,e,n){var r=n(110),o=n(73);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(20),o=Math.max,a=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):a(t,e)}},function(t,e,n){var r=n(3),o=n(111),a=n(73),i=n(72)("IE_PROTO"),s=function(){},l=function(){var t,e=n(70)("iframe"),r=a.length;for(e.style.display="none",n(74).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;r--;)delete l.prototype[a[r]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[i]=t):n=l(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(110),o=n(73).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(14),o=n(10),a=n(72)("IE_PROTO"),i=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?i:null}},function(t,e,n){var r=n(5)("unscopables"),o=Array.prototype;null==o[r]&&n(15)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){var r=n(9).f,o=n(14),a=n(5)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,a)&&r(t,a,{configurable:!0,value:e})}},function(t,e,n){var r=n(0),o=n(25),a=n(2),i=n(76),s="["+i+"]",l=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),u=function(t,e,n){var o={},s=a((function(){return!!i[t]()||"​…"!="​…"[t]()})),l=o[t]=s?e(d):i[t];n&&(o[n]=l),r(r.P+r.F*s,"String",o)},d=u.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(l,"")),2&e&&(t=t.replace(c,"")),t};t.exports=u},function(t,e){t.exports={}},function(t,e,n){"use strict";var r=n(1),o=n(9),a=n(8),i=n(5)("species");t.exports=function(t){var e=r[t];a&&e&&!e[i]&&o.f(e,i,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(11);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){var r=n(24);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(24),o=n(5)("toStringTag"),a="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:a?r(e):"Object"==(i=r(e))&&"function"==typeof e.callee?"Arguments":i}},function(t,e,n){var r=n(3),o=n(19),a=n(5)("species");t.exports=function(t,e){var n,i=r(t).constructor;return void 0===i||null==(n=r(i)[a])?e:o(n)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!alm_localize.a11y_focus)return!1;t.addons.woocommerce||t.addons.elementor?r(!1,!1,e,!1,t.isSafari):t.transition_container&&n>0?t.addons.paging?r(t.init,t.addons.preloaded,t.listing,o,t.isSafari):t.addons.single_post||t.addons.nextpage?r(!1,t.addons.preloaded,e,o,t.isSafari):r(t.init,t.addons.preloaded,e,o,t.isSafari):t.transition_container||r(t.init,t.addons.preloaded,e[0],o,t.isSafari)};var r=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"false",n=arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!r&&(t||!n)&&"true"!==e)return!1;n.setAttribute("tabIndex","-1"),n.style.outline="none";var o=n.classList.contains("alm-listing")?n:n.parentNode,a=o.dataset.scrollContainer;if(a){var i=document.querySelector(a);i&&setTimeout((function(){n.focus({preventScroll:!0})}),50)}else setTimeout((function(){n.focus({preventScroll:!0})}),50)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,e){if(0==e)t.style.opacity=1,t.style.height="auto";else{e/=10;var n=0,r=setInterval((function(){n>.9&&(t.style.opacity=1,clearInterval(r)),t.style.opacity=n,n+=.1}),e);t.style.height="auto"}}},function(t,e,n){var r=n(7),o=n(1),a=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(31)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(16),o=n(6),a=n(33);t.exports=function(t){return function(e,n,i){var s,l=r(e),c=o(l.length),u=a(i,c);if(t&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(24);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(5)("iterator"),o=!1;try{var a=[7][r]();a.return=function(){o=!0},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var a=[7],i=a[r]();i.next=function(){return{done:n=!0}},a[r]=function(){return i},t(a)}catch(t){}return n}},function(t,e,n){"use strict";var r=n(3);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){"use strict";var r=n(47),o=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var a=n.call(t,e);if("object"!=typeof a)throw new TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},function(t,e,n){"use strict";n(128);var r=n(11),o=n(15),a=n(2),i=n(25),s=n(5),l=n(91),c=s("species"),u=!a((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),d=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var f=s(t),p=!a((function(){var e={};return e[f]=function(){return 7},7!=""[t](e)})),g=p?!a((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[c]=function(){return n}),n[f](""),!e})):void 0;if(!p||!g||"replace"===t&&!u||"split"===t&&!d){var h=/./[f],m=n(i,f,""[t],(function(t,e,n,r,o){return e.exec===l?p&&!o?{done:!0,value:h.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),v=m[0],y=m[1];r(String.prototype,t,v),o(RegExp.prototype,f,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},function(t,e,n){var r=n(18),o=n(123),a=n(86),i=n(3),s=n(6),l=n(88),c={},u={};(e=t.exports=function(t,e,n,d,f){var p,g,h,m,v=f?function(){return t}:l(t),y=r(n,d,e?2:1),_=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(a(v)){for(p=s(t.length);p>_;_++)if((m=e?y(i(g=t[_])[0],g[1]):y(t[_]))===c||m===u)return m}else for(h=v.call(t);!(g=h.next()).done;)if((m=o(h,y,g.value,e))===c||m===u)return m}).BREAK=c,e.RETURN=u},function(t,e,n){var r=n(1).navigator;t.exports=r&&r.userAgent||""},function(t,e,n){"use strict";var r=n(1),o=n(0),a=n(11),i=n(44),s=n(28),l=n(59),c=n(43),u=n(4),d=n(2),f=n(55),p=n(39),g=n(77);t.exports=function(t,e,n,h,m,v){var y=r[t],_=y,b=m?"set":"add",w=_&&_.prototype,x={},S=function(t){var e=w[t];a(w,t,"delete"==t||"has"==t?function(t){return!(v&&!u(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return v&&!u(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof _&&(v||w.forEach&&!d((function(){(new _).entries().next()})))){var A=new _,j=A[b](v?{}:-0,1)!=A,E=d((function(){A.has(1)})),P=f((function(t){new _(t)})),L=!v&&d((function(){for(var t=new _,e=5;e--;)t[b](e,e);return!t.has(-0)}));P||((_=e((function(e,n){c(e,_,t);var r=g(new y,e,_);return null!=n&&l(n,m,r[b],r),r}))).prototype=w,w.constructor=_),(E||L)&&(S("delete"),S("has"),m&&S("get")),(L||j)&&S(b),v&&w.clear&&delete w.clear}else _=h.getConstructor(e,t,m,b),i(_.prototype,n),s.NEED=!0;return p(_,t),x[t]=_,o(o.G+o.W+o.F*(_!=y),x),v||h.setStrong(_,t,m),_}},function(t,e,n){for(var r,o=n(1),a=n(15),i=n(30),s=i("typed_array"),l=i("view"),c=!(!o.ArrayBuffer||!o.DataView),u=c,d=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");d<9;)(r=o[f[d++]])?(a(r.prototype,s,!0),a(r.prototype,l,!0)):u=!1;t.exports={ABV:c,CONSTR:u,TYPED:s,VIEW:l}},function(t,e,n){t.exports=n(140)},function(t,e,n){"use strict";(function(e){var r=n(13),o=n(144),a={"Content-Type":"application/x-www-form-urlencoded"};function i(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var s,l={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==e)&&(s=n(98)),s),transformRequest:[function(t,e){return o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(i(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(i(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(t){l.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){l.headers[t]=r.merge(a)})),t.exports=l}).call(this,n(143))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseQuerystring=function(t){var e=window.location.search.substring(1),n="",r="";e&&((n=JSON.parse('{"'+e.replace(/&/g,'","').replace(/=/g,'":"')+'"}',(function(t,e){return""===t?e:decodeURIComponent(e.replace(/\+/g,"-"))}))).pg&&delete n.pg,n.auto&&delete n.auto);n&&(r+="/",Object.keys(n).forEach((function(t,e){r+=e>0?"--":"",r+=t+"--"+n[t]})));return t+r},e.buildFilterURL=i,e.createMasonryFiltersPage=function(t,e){if(!t.addons.filters)return e;var n=window.location.search,r=t.page+1;return r="true"===t.addons.preloaded?r+1:r,e=s(t,e,n,r)},e.createMasonryFiltersPages=function(t,e){if(!t.addons.filters)return e;var n=1,r=t.page,o=window.location.search;if(t.addons.filters_startpage>1){for(var a=parseInt(t.posts_per_page),i=[],l=0;l<e.length;l+=a)i.push(e.slice(l,a+l));for(var c=0;c<i.length;c++){var u=c>0?c*a:0;n=c+1,e[u]&&(e[u]=s(t,e[u],o,n))}}else n=r,e[0]=s(t,e[0],o,n);return e};var r,o=n(164),a=(r=o)&&r.__esModule?r:{default:r};function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=e;return t.addons.filters_paging&&(r=n>1?r?(0,a.default)("pg")?e.replace(/(pg=)[^\&]+/,"$1"+n):e+"&pg="+n:"?pg="+n:"&"===(r="?"===(r=e.replace(/(pg=)[^\&]+/,""))?"":r)[r.length-1]?r.slice(0,-1):r),r}function s(t,e,n,r){if(e.classList.add("alm-filters"),e.dataset.page=r,r>1)e.dataset.url=t.canonical_url+i(t,n,r);else{var o=n.replace(/(pg=)[^\&]+/,"");o="?"===o?"":o,e.dataset.url=t.canonical_url+o}return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text/html";if(!t)return!1;var n=new DOMParser,r=n.parseFromString(t,e);return r?Array.prototype.slice.call(r.body.childNodes):r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!t)return!1;if(e.indexOf("Safari")>-1&&-1!=e.indexOf("Chrome")||e.indexOf("Firefox")>-1||e.indexOf("Windows")>-1)return!1;for(var n=t.querySelectorAll("img[srcset]:not(.alm-loaded)"),r=0;r<n.length;r++){var o=n[r];o.classList.add("alm-loaded"),o.outerHTML=o.outerHTML}}},function(t,e,n){var r,o;
2
  /*!
3
  * imagesLoaded v4.1.4
4
  * JavaScript is all like "You images are done yet or what?"
5
  * MIT License
6
+ */!function(a,i){"use strict";r=[n(170)],void 0===(o=function(t){return function(t,e){var n=t.jQuery,r=t.console;function o(t,e){for(var n in e)t[n]=e[n];return t}var a=Array.prototype.slice;function i(t,e,s){if(!(this instanceof i))return new i(t,e,s);var l,c=t;("string"==typeof t&&(c=document.querySelectorAll(t)),c)?(this.elements=(l=c,Array.isArray(l)?l:"object"==typeof l&&"number"==typeof l.length?a.call(l):[l]),this.options=o({},this.options),"function"==typeof e?s=e:o(this.options,e),s&&this.on("always",s),this.getImages(),n&&(this.jqDeferred=new n.Deferred),setTimeout(this.check.bind(this))):r.error("Bad element for imagesLoaded "+(c||t))}i.prototype=Object.create(e.prototype),i.prototype.options={},i.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},i.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&s[e]){for(var n=t.querySelectorAll("img"),r=0;r<n.length;r++){var o=n[r];this.addImage(o)}if("string"==typeof this.options.background){var a=t.querySelectorAll(this.options.background);for(r=0;r<a.length;r++){var i=a[r];this.addElementBackgroundImages(i)}}}};var s={1:!0,9:!0,11:!0};function l(t){this.img=t}function c(t,e){this.url=t,this.element=e,this.img=new Image}return i.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var n=/url\((['"])?(.*?)\1\)/gi,r=n.exec(e.backgroundImage);null!==r;){var o=r&&r[2];o&&this.addBackground(o,t),r=n.exec(e.backgroundImage)}},i.prototype.addImage=function(t){var e=new l(t);this.images.push(e)},i.prototype.addBackground=function(t,e){var n=new c(t,e);this.images.push(n)},i.prototype.check=function(){var t=this;function e(e,n,r){setTimeout((function(){t.progress(e,n,r)}))}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach((function(t){t.once("progress",e),t.check()})):this.complete()},i.prototype.progress=function(t,e,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&r&&r.log("progress: "+n,t,e)},i.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},l.prototype=Object.create(e.prototype),l.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},l.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},l.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},l.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},l.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},l.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype=Object.create(l.prototype),c.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},c.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},i.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((n=e).fn.imagesLoaded=function(t,e){return new i(this,t,e).jqDeferred.promise(n(this))})},i.makeJQueryPlugin(),i}(a,t)}.apply(e,r))||(t.exports=o)}("undefined"!=typeof window?window:this)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,e){e/=10,t.style.opacity=.5;var n=setInterval((function(){t.style.opacity<.1?clearInterval(n):t.style.opacity-=.1}),e)}},function(t,e,n){var r=n(4),o=n(1).document,a=r(o)&&r(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},function(t,e,n){e.f=n(5)},function(t,e,n){var r=n(51)("keys"),o=n(30);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(1).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(4),o=n(3),a=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(18)(Function.call,n(21).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return a(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:a}},function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(t,e,n){var r=n(4),o=n(75).set;t.exports=function(t,e,n){var a,i=e.constructor;return i!==n&&"function"==typeof i&&(a=i.prototype)!==n.prototype&&r(a)&&o&&o(t,a),t}},function(t,e,n){"use strict";var r=n(20),o=n(25);t.exports=function(t){var e=String(o(this)),n="",a=r(t);if(a<0||a==1/0)throw RangeError("Count can't be negative");for(;a>0;(a>>>=1)&&(e+=e))1&a&&(n+=e);return n}},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e,n){var r=n(20),o=n(25);t.exports=function(t){return function(e,n){var a,i,s=String(o(e)),l=r(n),c=s.length;return l<0||l>=c?t?"":void 0:(a=s.charCodeAt(l))<55296||a>56319||l+1===c||(i=s.charCodeAt(l+1))<56320||i>57343?t?s.charAt(l):a:t?s.slice(l,l+2):i-56320+(a-55296<<10)+65536}}},function(t,e,n){"use strict";var r=n(31),o=n(0),a=n(11),i=n(15),s=n(41),l=n(122),c=n(39),u=n(36),d=n(5)("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,n,g,h,m,v){l(n,e,g);var y,_,b,w=function(t){if(!f&&t in j)return j[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},x=e+" Iterator",S="values"==h,A=!1,j=t.prototype,E=j[d]||j["@@iterator"]||h&&j[h],P=E||w(h),L=h?S?w("entries"):P:void 0,M="Array"==e&&j.entries||E;if(M&&(b=u(M.call(new t)))!==Object.prototype&&b.next&&(c(b,x,!0),r||"function"==typeof b[d]||i(b,d,p)),S&&E&&"values"!==E.name&&(A=!0,P=function(){return E.call(this)}),r&&!v||!f&&!A&&j[d]||i(j,d,P),s[e]=P,s[x]=p,h)if(y={values:S?P:w("values"),keys:m?P:w("keys"),entries:L},v)for(_ in y)_ in j||a(j,_,y[_]);else o(o.P+o.F*(f||A),e,y);return y}},function(t,e,n){var r=n(84),o=n(25);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(t))}},function(t,e,n){var r=n(4),o=n(24),a=n(5)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[a])?!!e:"RegExp"==o(t))}},function(t,e,n){var r=n(5)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,n){var r=n(41),o=n(5)("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||a[o]===t)}},function(t,e,n){"use strict";var r=n(9),o=n(29);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(47),o=n(5)("iterator"),a=n(41);t.exports=n(7).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||a[r(t)]}},function(t,e,n){"use strict";var r=n(10),o=n(33),a=n(6);t.exports=function(t){for(var e=r(this),n=a(e.length),i=arguments.length,s=o(i>1?arguments[1]:void 0,n),l=i>2?arguments[2]:void 0,c=void 0===l?n:o(l,n);c>s;)e[s++]=t;return e}},function(t,e,n){"use strict";var r=n(37),o=n(127),a=n(41),i=n(16);t.exports=n(82)(Array,"Array",(function(t,e){this._t=i(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(t,e,n){"use strict";var r,o,a=n(56),i=RegExp.prototype.exec,s=String.prototype.replace,l=i,c=(r=/a/,o=/b*/g,i.call(r,"a"),i.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),u=void 0!==/()??/.exec("")[1];(c||u)&&(l=function(t){var e,n,r,o,l=this;return u&&(n=new RegExp("^"+l.source+"$(?!\\s)",a.call(l))),c&&(e=l.lastIndex),r=i.call(l,t),c&&r&&(l.lastIndex=l.global?r.index+r[0].length:e),u&&r&&r.length>1&&s.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),t.exports=l},function(t,e,n){"use strict";var r=n(81)(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},function(t,e,n){var r,o,a,i=n(18),s=n(116),l=n(74),c=n(70),u=n(1),d=u.process,f=u.setImmediate,p=u.clearImmediate,g=u.MessageChannel,h=u.Dispatch,m=0,v={},y=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},_=function(t){y.call(t.data)};f&&p||(f=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return v[++m]=function(){s("function"==typeof t?t:Function(t),e)},r(m),m},p=function(t){delete v[t]},"process"==n(24)(d)?r=function(t){d.nextTick(i(y,t,1))}:h&&h.now?r=function(t){h.now(i(y,t,1))}:g?(a=(o=new g).port2,o.port1.onmessage=_,r=i(a.postMessage,a,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(t){u.postMessage(t+"","*")},u.addEventListener("message",_,!1)):r="onreadystatechange"in c("script")?function(t){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),y.call(t)}}:function(t){setTimeout(i(y,t,1),0)}),t.exports={set:f,clear:p}},function(t,e,n){"use strict";var r=n(1),o=n(8),a=n(31),i=n(62),s=n(15),l=n(44),c=n(2),u=n(43),d=n(20),f=n(6),p=n(135),g=n(35).f,h=n(9).f,m=n(89),v=n(39),y=r.ArrayBuffer,_=r.DataView,b=r.Math,w=r.RangeError,x=r.Infinity,S=y,A=b.abs,j=b.pow,E=b.floor,P=b.log,L=b.LN2,M=o?"_b":"buffer",O=o?"_l":"byteLength",T=o?"_o":"byteOffset";function I(t,e,n){var r,o,a,i=new Array(n),s=8*n-e-1,l=(1<<s)-1,c=l>>1,u=23===e?j(2,-24)-j(2,-77):0,d=0,f=t<0||0===t&&1/t<0?1:0;for((t=A(t))!=t||t===x?(o=t!=t?1:0,r=l):(r=E(P(t)/L),t*(a=j(2,-r))<1&&(r--,a*=2),(t+=r+c>=1?u/a:u*j(2,1-c))*a>=2&&(r++,a/=2),r+c>=l?(o=0,r=l):r+c>=1?(o=(t*a-1)*j(2,e),r+=c):(o=t*j(2,c-1)*j(2,e),r=0));e>=8;i[d++]=255&o,o/=256,e-=8);for(r=r<<e|o,s+=e;s>0;i[d++]=255&r,r/=256,s-=8);return i[--d]|=128*f,i}function F(t,e,n){var r,o=8*n-e-1,a=(1<<o)-1,i=a>>1,s=o-7,l=n-1,c=t[l--],u=127&c;for(c>>=7;s>0;u=256*u+t[l],l--,s-=8);for(r=u&(1<<-s)-1,u>>=-s,s+=e;s>0;r=256*r+t[l],l--,s-=8);if(0===u)u=1-i;else{if(u===a)return r?NaN:c?-x:x;r+=j(2,e),u-=i}return(c?-1:1)*r*j(2,u-e)}function C(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function N(t){return[255&t]}function k(t){return[255&t,t>>8&255]}function R(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function D(t){return I(t,52,8)}function q(t){return I(t,23,4)}function z(t,e,n){h(t.prototype,e,{get:function(){return this[n]}})}function B(t,e,n,r){var o=p(+n);if(o+e>t[O])throw w("Wrong index!");var a=t[M]._b,i=o+t[T],s=a.slice(i,i+e);return r?s:s.reverse()}function W(t,e,n,r,o,a){var i=p(+n);if(i+e>t[O])throw w("Wrong index!");for(var s=t[M]._b,l=i+t[T],c=r(+o),u=0;u<e;u++)s[l+u]=c[a?u:e-u-1]}if(i.ABV){if(!c((function(){y(1)}))||!c((function(){new y(-1)}))||c((function(){return new y,new y(1.5),new y(NaN),"ArrayBuffer"!=y.name}))){for(var H,U=(y=function(t){return u(this,y),new S(p(t))}).prototype=S.prototype,V=g(S),G=0;V.length>G;)(H=V[G++])in y||s(y,H,S[H]);a||(U.constructor=y)}var Y=new _(new y(2)),X=_.prototype.setInt8;Y.setInt8(0,2147483648),Y.setInt8(1,2147483649),!Y.getInt8(0)&&Y.getInt8(1)||l(_.prototype,{setInt8:function(t,e){X.call(this,t,e<<24>>24)},setUint8:function(t,e){X.call(this,t,e<<24>>24)}},!0)}else y=function(t){u(this,y,"ArrayBuffer");var e=p(t);this._b=m.call(new Array(e),0),this[O]=e},_=function(t,e,n){u(this,_,"DataView"),u(t,y,"DataView");var r=t[O],o=d(e);if(o<0||o>r)throw w("Wrong offset!");if(o+(n=void 0===n?r-o:f(n))>r)throw w("Wrong length!");this[M]=t,this[T]=o,this[O]=n},o&&(z(y,"byteLength","_l"),z(_,"buffer","_b"),z(_,"byteLength","_l"),z(_,"byteOffset","_o")),l(_.prototype,{getInt8:function(t){return B(this,1,t)[0]<<24>>24},getUint8:function(t){return B(this,1,t)[0]},getInt16:function(t){var e=B(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=B(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return C(B(this,4,t,arguments[1]))},getUint32:function(t){return C(B(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return F(B(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return F(B(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){W(this,1,t,N,e)},setUint8:function(t,e){W(this,1,t,N,e)},setInt16:function(t,e){W(this,2,t,k,e,arguments[2])},setUint16:function(t,e){W(this,2,t,k,e,arguments[2])},setInt32:function(t,e){W(this,4,t,R,e,arguments[2])},setUint32:function(t,e){W(this,4,t,R,e,arguments[2])},setFloat32:function(t,e){W(this,4,t,q,e,arguments[2])},setFloat64:function(t,e){W(this,8,t,D,e,arguments[2])}});v(y,"ArrayBuffer"),v(_,"DataView"),s(_.prototype,i.VIEW,!0),e.ArrayBuffer=y,e.DataView=_},function(t,e,n){"use strict";var r=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),i=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},r=0;r<t.length;++r)void 0!==t[r]&&(n[r]=t[r]);return n};t.exports={arrayToObject:i,assign:function(t,e){return Object.keys(e).reduce((function(t,n){return t[n]=e[n],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r<e.length;++r)for(var a=e[r],i=a.obj[a.prop],s=Object.keys(i),l=0;l<s.length;++l){var c=s[l],u=i[c];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(e.push({obj:i,prop:c}),n.push(u))}return function(t){for(;t.length>1;){var e=t.pop(),n=e.obj[e.prop];if(o(n)){for(var r=[],a=0;a<n.length;++a)void 0!==n[a]&&r.push(n[a]);e.obj[e.prop]=r}}}(e),t},decode:function(t,e,n){var r=t.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(t){return r}},encode:function(t,e,n){if(0===t.length)return t;var r=t;if("symbol"==typeof t?r=Symbol.prototype.toString.call(t):"string"!=typeof t&&(r=String(t)),"iso-8859-1"===n)return escape(r).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var o="",i=0;i<r.length;++i){var s=r.charCodeAt(i);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122?o+=r.charAt(i):s<128?o+=a[s]:s<2048?o+=a[192|s>>6]+a[128|63&s]:s<55296||s>=57344?o+=a[224|s>>12]+a[128|s>>6&63]+a[128|63&s]:(i+=1,s=65536+((1023&s)<<10|1023&r.charCodeAt(i)),o+=a[240|s>>18]+a[128|s>>12&63]+a[128|s>>6&63]+a[128|63&s])}return o},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(o(t)){for(var n=[],r=0;r<t.length;r+=1)n.push(e(t[r]));return n}return e(t)},merge:function t(e,n,a){if(!n)return e;if("object"!=typeof n){if(o(e))e.push(n);else{if(!e||"object"!=typeof e)return[e,n];(a&&(a.plainObjects||a.allowPrototypes)||!r.call(Object.prototype,n))&&(e[n]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(n);var s=e;return o(e)&&!o(n)&&(s=i(e,a)),o(e)&&o(n)?(n.forEach((function(n,o){if(r.call(e,o)){var i=e[o];i&&"object"==typeof i&&n&&"object"==typeof n?e[o]=t(i,n,a):e.push(n)}else e[o]=n})),e):Object.keys(n).reduce((function(e,o){var i=n[o];return r.call(e,o)?e[o]=t(e[o],i,a):e[o]=i,e}),s)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.render=e.getOffset=e.almScroll=e.start=e.tracking=e.tab=e.reset=e.filter=void 0;var r=C(n(63)),o=C(n(158));n(159);var a=C(n(160)),i=C(n(102)),s=C(n(162)),l=C(n(163)),c=C(n(66)),u=C(n(103)),d=F(n(165)),f=F(n(104)),p=n(105),g=C(n(166)),h=C(n(167)),m=C(n(49)),v=C(n(168)),y=C(n(169)),_=C(n(50)),b=C(n(69)),w=C(n(171)),x=C(n(172)),S=C(n(173)),A=C(n(174)),j=C(n(67)),E=n(175),P=n(176),L=n(177),M=n(178),O=n(180),T=n(65),I=n(106);function F(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function C(t){return t&&t.__esModule?t:{default:t}}function N(t){return function(){var e=t.apply(this,arguments);return new Promise((function(t,n){return function r(o,a){try{var i=e[o](a),s=i.value}catch(t){return void n(t)}if(!i.done)return Promise.resolve(s).then((function(t){r("next",t)}),(function(t){r("throw",t)}));t(s)}("next")}))}}n(181),n(354),n(355);var k=n(356),R=n(68);o.default.polyfill();var D=!1;!function(){var t=function(t,e){alm_localize&&"true"===alm_localize.scrolltop&&window.scrollTo(0,0);var n=this;n.AjaxLoadMore={},n.addons={},n.extensions={},n.integration={},n.window=window,n.page=0,n.posts=0,n.totalposts=0,n.proceed=!1,n.disable_ajax=!1,n.init=!0,n.loading=!0,n.finished=!1,n.timer=null,n.ua=window.navigator.userAgent?window.navigator.userAgent:"",n.vendor=window.navigator.vendor?window.navigator.vendor:"",n.isSafari=/Safari/i.test(n.ua)&&/Apple Computer/.test(n.vendor)&&!/Mobi|Android/i.test(n.ua),n.main=t,n.master_id=t.dataset.id?"ajax-load-more-"+t.dataset.id:t.id,t.classList.add("alm-"+e),t.setAttribute("data-alm-id",e),n.master_id=n.master_id.replace(/-/g,"_"),n.localize=window[n.master_id+"_vars"],n.main=t,n.listing=t.querySelector(".alm-listing")||t.querySelector(".alm-comments"),n.content=n.listing,n.el=n.content,n.ajax=t.querySelector(".alm-ajax"),n.container_type=n.listing.dataset.containerType,n.canonical_url=t.dataset.canonicalUrl,n.nested=t.dataset.nested?t.dataset.nested:null,n.is_search=t.dataset.search,n.slug=t.dataset.slug,n.post_id=t.dataset.postId,n.id=t.dataset.id?t.dataset.id:"";var o=t.querySelector(".alm-no-results");if(n.no_results=o?o.innerHTML:"",n.repeater=n.listing.dataset.repeater,n.theme_repeater=n.listing.dataset.themeRepeater,n.post_type=n.listing.dataset.postType?n.listing.dataset.postType:"post",n.sticky_posts=n.listing.dataset.stickyPosts?n.listing.dataset.stickyPosts:null,n.btnWrap=t.querySelectorAll(".alm-btn-wrap"),n.btnWrap=Array.prototype.slice.call(n.btnWrap),n.btnWrap[n.btnWrap.length-1].style.visibility="visible",n.trigger=n.btnWrap[n.btnWrap.length-1],n.button=n.trigger.querySelector("button.alm-load-more-btn"),n.button_label=n.listing.dataset.buttonLabel,n.button_loading_label=n.listing.dataset.buttonLoadingLabel,n.button_done_label=n.listing.dataset.buttonDoneLabel,n.placeholder=n.main.querySelector(".alm-placeholder"),n.scroll_distance=n.listing.dataset.scrollDistance,n.scroll_distance=n.scroll_distance?n.scroll_distance:100,n.scroll_container=n.listing.dataset.scrollContainer,n.scroll_direction=n.listing.dataset.scrollDirection,n.max_pages=n.listing.dataset.maxPages?parseInt(n.listing.dataset.maxPages):0,n.pause_override=n.listing.dataset.pauseOverride,n.pause=!!n.listing.dataset.pause&&n.listing.dataset.pause,n.transition=n.listing.dataset.transition,n.transition_container=n.listing.dataset.transitionContainer,n.tcc=n.listing.dataset.transitionContainerClasses,n.speed=alm_localize.speed?parseInt(alm_localize.speed):200,n.images_loaded=!!n.listing.dataset.imagesLoaded&&n.listing.dataset.imagesLoaded,n.destroy_after=n.listing.dataset.destroyAfter?n.listing.dataset.destroyAfter:"",n.orginal_posts_per_page=parseInt(n.listing.dataset.postsPerPage),n.posts_per_page=n.listing.dataset.postsPerPage,n.offset=n.listing.dataset.offset?parseInt(n.listing.dataset.offset):0,n.integration.woocommerce=!!n.listing.dataset.woocommerce&&n.listing.dataset.woocommerce,n.integration.woocommerce="true"===n.integration.woocommerce,n.is_search=void 0!==n.is_search&&n.is_search,n.search_value="true"===n.is_search?n.slug:"",n.addons.elementor=!("posts"!==n.listing.dataset.elementor||!n.listing.dataset.elementorSettings),n.addons.elementor&&(n=(0,O.elementorCreateParams)(n)),n.addons.woocommerce=!(!n.listing.dataset.woo||"true"!==n.listing.dataset.woo),n.addons.woocommerce&&n.listing.dataset.wooSettings&&(n.addons.woocommerce_settings=JSON.parse(n.listing.dataset.wooSettings),n.addons.woocommerce_settings.results_text=document.querySelectorAll(n.addons.woocommerce_settings.results),n.page=parseInt(n.page)+parseInt(n.addons.woocommerce_settings.paged)),n.addons.cache=n.listing.dataset.cache,n.addons.cache=void 0!==n.addons.cache&&n.addons.cache,"true"===n.addons.cache&&(n.addons.cache_id=n.listing.dataset.cacheId,n.addons.cache_path=n.listing.dataset.cachePath,n.addons.cache_logged_in=n.listing.dataset.cacheLoggedIn,n.addons.cache_logged_in=void 0!==n.addons.cache_logged_in&&n.addons.cache_logged_in),n.addons.cta=!!n.listing.dataset.cta&&n.listing.dataset.cta,"true"===n.addons.cta&&(n.addons.cta_position=n.listing.dataset.ctaPosition,n.addons.cta_repeater=n.listing.dataset.ctaRepeater,n.addons.cta_theme_repeater=n.listing.dataset.ctaThemeRepeater),n.addons.nextpage=n.listing.dataset.nextpage,"true"===n.addons.nextpage&&(n.addons.nextpage_urls=n.listing.dataset.nextpageUrls,n.addons.nextpage_scroll=n.listing.dataset.nextpageScroll,n.addons.nextpage_pageviews=n.listing.dataset.nextpagePageviews,n.addons.nextpage_post_id=n.listing.dataset.nextpagePostId,n.addons.nextpage_startpage=n.listing.dataset.nextpageStartpage),n.addons.single_post=n.listing.dataset.singlePost,"true"===n.addons.single_post&&(n.addons.single_post_id=n.listing.dataset.singlePostId,n.addons.single_post_order=n.listing.dataset.singlePostOrder,n.addons.single_post_init_id=n.listing.dataset.singlePostId,n.addons.single_post_taxonomy=n.listing.dataset.singlePostTaxonomy,n.addons.single_post_excluded_terms=n.listing.dataset.singlePostExcludedTerms,n.addons.single_post_progress_bar=n.listing.dataset.singlePostProgressBar,n.addons.single_post_target=n.listing.dataset.singlePostTarget),n.addons.comments=!!n.listing.dataset.comments&&n.listing.dataset.comments,"true"===n.addons.comments&&(n.addons.comments_post_id=n.listing.dataset.comments_post_id,n.addons.comments_per_page=n.listing.dataset.comments_per_page,n.addons.comments_per_page=void 0===n.addons.comments_per_page?"5":n.addons.comments_per_page,n.addons.comments_type=n.listing.dataset.comments_type,n.addons.comments_style=n.listing.dataset.comments_style,n.addons.comments_template=n.listing.dataset.comments_template,n.addons.comments_callback=n.listing.dataset.comments_callback),n.addons.tabs=n.listing.dataset.tabs,n.addons.filters=n.listing.dataset.filters,n.addons.seo=n.listing.dataset.seo,n.addons.preloaded=n.listing.dataset.preloaded,n.addons.preloaded_amount=n.listing.dataset.preloadedAmount?n.listing.dataset.preloadedAmount:0,n.is_preloaded="true"===n.listing.dataset.isPreloaded,n.addons.users="true"===n.listing.dataset.users,n.addons.users&&(n.orginal_posts_per_page=n.listing.dataset.usersPerPage,n.posts_per_page=n.listing.dataset.usersPerPage),n.extensions.restapi=n.listing.dataset.restapi,n.extensions.restapi_base_url=n.listing.dataset.restapiBaseUrl,n.extensions.restapi_namespace=n.listing.dataset.restapiNamespace,n.extensions.restapi_endpoint=n.listing.dataset.restapiEndpoint,n.extensions.restapi_template_id=n.listing.dataset.restapiTemplateId,n.extensions.restapi_debug=n.listing.dataset.restapiDebug,n.extensions.acf=n.listing.dataset.acf,n.extensions.acf_field_type=n.listing.dataset.acfFieldType,n.extensions.acf_field_name=n.listing.dataset.acfFieldName,n.extensions.acf_parent_field_name=n.listing.dataset.acfParentFieldName,n.extensions.acf_post_id=n.listing.dataset.acfPostId,n.extensions.acf="true"===n.extensions.acf,void 0!==n.extensions.acf_field_type&&void 0!==n.extensions.acf_field_name&&void 0!==n.extensions.acf_post_id||(n.extensions.acf=!1),n.extensions.term_query=n.listing.dataset.termQuery,n.extensions.term_query_taxonomy=n.listing.dataset.termQueryTaxonomy,n.extensions.term_query_hide_empty=n.listing.dataset.termQueryHideEmpty,n.extensions.term_query_number=n.listing.dataset.termQueryNumber,n.extensions.term_query="true"===n.extensions.term_query,n.addons.paging=n.listing.dataset.paging,"true"===n.addons.paging?(n.addons.paging=!0,n.addons.paging_init=!0,n.addons.paging_controls="true"===n.listing.dataset.pagingControls,n.addons.paging_show_at_most=n.listing.dataset.pagingShowAtMost,n.addons.paging_classes=n.listing.dataset.pagingClasses,n.addons.paging_show_at_most=void 0===n.addons.paging_show_at_most?7:n.addons.paging_show_at_most,n.addons.paging_first_label=n.listing.dataset.pagingFirstLabel,n.addons.paging_previous_label=n.listing.dataset.pagingPreviousLabel,n.addons.paging_next_label=n.listing.dataset.pagingNextLabel,n.addons.paging_last_label=n.listing.dataset.pagingLastLabel,n.addons.paging_scroll=!!n.listing.dataset.pagingScroll&&n.listing.dataset.pagingScroll,n.addons.paging_scrolltop=n.listing.dataset.pagingScrolltop?parseInt(n.listing.dataset.pagingScrolltop):100,n.pause="true"===n.addons.preloaded||n.pause):n.addons.paging=!1,"true"===n.addons.filters){n.addons.filters=!0,n.addons.filters_url="true"===n.listing.dataset.filtersUrl,n.addons.filters_paging="true"===n.listing.dataset.filtersPaging,n.addons.filters_scroll="true"===n.listing.dataset.filtersScroll,n.addons.filters_scrolltop=n.listing.dataset.filtersScrolltop?n.listing.dataset.filtersScrolltop:"30",n.addons.filters_analtyics=n.listing.dataset.filtersAnalytics,n.addons.filters_debug=n.listing.dataset.filtersDebug,n.addons.filters_startpage=0;var w=(0,a.default)("pg");n.addons.filters_startpage=null!==w?parseInt(w):0,!n.addons.paging&&n.addons.filters_startpage>0&&(n.posts_per_page=n.posts_per_page*n.addons.filters_startpage,n.isPaged=n.addons.filters_startpage>0)}else n.addons.filters=!1;if("true"===n.addons.tabs){if(n.addons.tabs=!0,n.addons.tab_template=n.listing.dataset.tabTemplate?n.listing.dataset.tabTemplate:"",n.addons.tab_onload=n.listing.dataset.tabOnload?n.listing.dataset.tabOnload:"",n.addons.tabs_resturl=n.listing.dataset.tabsRestUrl?n.listing.dataset.tabsRestUrl:"",""!==n.addons.tab_onload){var F=document.querySelector(".alm-tab-nav li [data-tab-url="+n.addons.tab_onload+"]");if(n.addons.tab_template=F?F.dataset.tabTemplate:n.addons.tab_template,n.listing.dataset.tabOnload="",F){var C=document.querySelector(".alm-tab-nav li .active");C&&C.classList.remove("active")}}}else n.addons.tabs=!1;if("true"===n.extensions.restapi?(n.extensions.restapi=!0,n.extensions.restapi_debug=void 0!==n.extensions.restapi_debug&&n.extensions.restapi_debug,n.extensions.restapi=""!==n.extensions.restapi_template_id&&n.extensions.restapi):n.extensions.restapi=!1,"true"===n.addons.preloaded?(n.addons.preloaded_amount=void 0===n.addons.preloaded_amount?n.posts_per_page:n.addons.preloaded_amount,n.localize&&n.localize.total_posts&&parseInt(n.localize.total_posts)<=parseInt(n.addons.preloaded_amount)&&(n.addons.preloaded_total_posts=n.localize.total_posts,n.disable_ajax=!0)):n.addons.preloaded="false",n.addons.seo=void 0!==n.addons.seo&&n.addons.seo,n.addons.seo="true"===n.addons.seo||n.addons.seo,n.addons.seo&&(n.addons.seo_permalink=n.listing.dataset.seoPermalink,n.addons.seo_pageview=n.listing.dataset.seoPageview,n.addons.seo_trailing_slash="false"===n.listing.dataset.seoTrailingSlash?"":"/",n.addons.seo_leading_slash="true"===n.listing.dataset.seoLeadingSlash?"/":""),n.start_page=n.listing.dataset.seoStartPage,n.start_page?(n.addons.seo_scroll=n.listing.dataset.seoScroll,n.addons.seo_scrolltop=n.listing.dataset.seoScrolltop,n.addons.seo_controls=n.listing.dataset.seoControls,n.isPaged=!1,n.start_page>1&&(n.isPaged=!0,n.posts_per_page=n.start_page*n.posts_per_page),n.addons.paging&&(n.posts_per_page=n.orginal_posts_per_page)):n.start_page=1,"true"===n.addons.nextpage?(n.addons.nextpage=!0,n.posts_per_page=1,void 0===n.addons.nextpage_urls&&(n.addons.nextpage_urls="true"),void 0===n.addons.nextpage_scroll&&(n.addons.nextpage_scroll="false:30"),void 0===n.addons.nextpage_pageviews&&(n.addons.nextpage_pageviews="true"),void 0===n.addons.nextpage_post_id&&(n.addons.nextpage=!1,n.addons.nextpage_post_id=null),void 0===n.addons.nextpage_startpage&&(n.addons.nextpage_startpage=1),n.addons.nextpage_startpage>1&&(n.isPaged=!0)):n.addons.nextpage=!1,"true"===n.addons.single_post?(n.addons.single_post=!0,n.addons.single_post_permalink="",n.addons.single_post_title="",n.addons.single_post_slug="",n.addons.single_post_order=void 0===n.addons.single_post_order?"previous":n.addons.single_post_order,n.addons.single_post_taxonomy=void 0===n.addons.single_post_taxonomy?"":n.addons.single_post_taxonomy,n.addons.single_post_excluded_terms=void 0===n.addons.single_post_excluded_terms?"":n.addons.single_post_excluded_terms,n.addons.single_post_progress_bar=void 0===n.addons.single_post_progress_bar?"":n.addons.single_post_progress_bar,n.addons.single_post_target=void 0===n.addons.single_post_target?"":n.addons.single_post_target,n.addons.single_post_title_template=n.listing.dataset.singlePostTitleTemplate,n.addons.single_post_siteTitle=n.listing.dataset.singlePostSiteTitle,n.addons.single_post_siteTagline=n.listing.dataset.singlePostSiteTagline,n.addons.single_post_pageview=n.listing.dataset.singlePostPageview,n.addons.single_post_scroll=n.listing.dataset.singlePostScroll,n.addons.single_post_scroll_speed=n.listing.dataset.singlePostScrollSpeed,n.addons.single_post_scroll_top=n.listing.dataset.singlePostScrolltop,n.addons.single_post_controls=n.listing.dataset.singlePostControls):n.addons.single_post=!1,n.addons.single_post&&void 0===n.addons.single_post_id&&(n.addons.single_post_id="",n.addons.single_post_init_id=""),(void 0===n.pause||n.addons.seo&&n.start_page>1)&&(n.pause=!1),"true"===n.addons.preloaded&&n.addons.seo&&n.start_page>0&&(n.pause=!1),n.addons.filters&&n.addons.filters_startpage>0&&(n.pause=!1),"true"===n.addons.preloaded&&n.addons.paging&&(n.pause=!0),n.repeater=void 0===n.repeater?"default":n.repeater,n.theme_repeater=void 0!==n.theme_repeater&&n.theme_repeater,n.max_pages=void 0===n.max_pages||0===n.max_pages?1e4:n.max_pages,n.scroll_distance=void 0===n.scroll_distance?100:n.scroll_distance,n.scroll_distance_perc=!1,-1==n.scroll_distance.toString().indexOf("%")?n.scroll_distance=parseInt(n.scroll_distance):(n.scroll_distance_perc=!0,n.scroll_distance_orig=parseInt(n.scroll_distance),n.scroll_distance=(0,A.default)(n)),n.scroll_container=void 0===n.scroll_container?"":n.scroll_container,n.scroll_direction=void 0===n.scroll_direction?"vertical":n.scroll_direction,n.transition=void 0===n.transition?"fade":n.transition,n.tcc=void 0===n.tcc?"":n.tcc,n.is_masonry_preloaded=!1,"masonry"===n.transition&&(n.masonry_init=!0,n.msnry?n.msnry.destroy():n.msnry="",n.masonry_selector=n.listing.dataset.masonrySelector,n.masonry_columnwidth=n.listing.dataset.masonryColumnwidth,n.masonry_animation=n.listing.dataset.masonryAnimation,n.masonry_animation=void 0===n.masonry_animation?"standard":n.masonry_animation,n.masonry_horizontalorder=n.listing.dataset.masonryHorizontalorder,n.masonry_horizontalorder=void 0===n.masonry_horizontalorder?"true":n.masonry_horizontalorder,n.transition_container=!1,n.images_loaded=!1,n.is_masonry_preloaded="true"===n.addons.preloaded||n.is_masonry_preloaded),void 0===n.listing.dataset.scroll?n.scroll=!0:"false"===n.listing.dataset.scroll?n.scroll=!1:n.scroll=!0,n.transition_container=void 0===n.transition_container||"true"===n.transition_container,n.button_label=void 0===n.button_label?"Load More":n.button_label,n.button_loading_label=void 0!==n.button_loading_label&&n.button_loading_label,n.button_done_label=void 0!==n.button_done_label&&n.button_done_label,n.addons.paging)n.main.classList.add("loading");else{var q=t.childNodes;if(q){var z=Array.prototype.slice.call(q).filter((function(t){return!!t.classList&&t.classList.contains("alm-btn-wrap")}));n.button=z?z[0].querySelector(".alm-load-more-btn"):container.querySelector(".alm-btn-wrap .alm-load-more-btn")}else n.button=container.querySelector(".alm-btn-wrap .alm-load-more-btn");n.button.disabled=!1,n.button.style.display=""}if(n.integration.woocommerce?(n.resultsText=document.querySelectorAll(".woocommerce-result-count"),n.resultsText.length<1&&(n.resultsText=document.querySelectorAll(".alm-results-text"))):n.resultsText=document.querySelectorAll(".alm-results-text"),n.resultsText?n.resultsText.forEach((function(t){t.setAttribute("aria-live","polite"),t.setAttribute("aria-atomic","true")})):n.resultsText=!1,n.tableofcontents=document.querySelector(".alm-toc"),n.tableofcontents?(n.tableofcontents.setAttribute("aria-live","polite"),n.tableofcontents.setAttribute("aria-atomic","true")):n.tableofcontents=!1,n.AjaxLoadMore.loadPosts=function(){if("function"==typeof almOnChange&&window.almOnChange(n),(0,E.showPlaceholder)(n),!n.disable_ajax)if(n.addons.paging||(n.button.classList.add("loading"),!1!==n.button_loading_label&&(n.button.innerHTML=n.button_loading_label)),n.main.classList.add("alm-loading"),n.loading=!0,"true"!==n.addons.cache||n.addons.cache_logged_in)n.AjaxLoadMore.ajax("standard");else{var t=(0,l.default)(n);t?r.default.get(t).then((function(t){n.AjaxLoadMore.success(t.data,!0)})).catch((function(t){n.AjaxLoadMore.ajax("standard")})):n.AjaxLoadMore.ajax("standard")}},n.AjaxLoadMore.ajax=function(t){var e="alm_get_posts";n.acf_array="",n.extensions.acf&&("relationship"!==n.extensions.acf_field_type&&(e="alm_acf"),n.acf_array={acf:"true",post_id:n.extensions.acf_post_id,field_type:n.extensions.acf_field_type,field_name:n.extensions.acf_field_name,parent_field_name:n.extensions.acf_parent_field_name}),n.term_query_array="",n.extensions.term_query&&(e="alm_get_terms",n.term_query_array={term_query:"true",taxonomy:n.extensions.term_query_taxonomy,hide_empty:n.extensions.term_query_hide_empty,number:n.extensions.term_query_number}),n.nextpage_array="",n.addons.nextpage&&(e="alm_nextpage",n.nextpage_array={nextpage:"true",urls:n.addons.nextpage_urls,scroll:n.addons.nextpage_scroll,pageviews:n.addons.nextpage_pageviews,post_id:n.addons.nextpage_post_id,startpage:n.addons.nextpage_startpage}),n.single_post_array="",n.addons.single_post&&(n.single_post_array={single_post:"true",id:n.addons.single_post_id,slug:n.addons.single_post_slug}),n.comments_array="","true"===n.addons.comments&&(e="alm_comments",n.posts_per_page=n.addons.comments_per_page,n.comments_array={comments:"true",post_id:n.addons.comments_post_id,per_page:n.addons.comments_per_page,type:n.addons.comments_type,style:n.addons.comments_style,template:n.addons.comments_template,callback:n.addons.comments_callback}),n.users_array="",n.addons.users&&(e="alm_users",n.users_array={users:"true",role:n.listing.dataset.usersRole,include:n.listing.dataset.usersInclude,exclude:n.listing.dataset.usersExclude,per_page:n.posts_per_page,order:n.listing.dataset.usersOrder,orderby:n.listing.dataset.usersOrderby}),n.cta_array="","true"===n.addons.cta&&(n.cta_array={cta:"true",cta_position:n.addons.cta_position,cta_repeater:n.addons.cta_repeater,cta_theme_repeater:n.addons.cta_theme_repeater}),n.extensions.restapi?n.AjaxLoadMore.restapi(n,e,t):n.addons.tabs?n.AjaxLoadMore.tabs(n):n.AjaxLoadMore.adminajax(n,e,t)},n.AjaxLoadMore.adminajax=function(t,e,n){1==t.page||t.addons.paging||t.button.classList.add("loading"),r.default.interceptors.request.use((function(t){return t.paramsSerializer=function(t){return k.stringify(t,{arrayFormat:"brackets",encode:!1})},t}));var o=alm_localize.ajaxurl,a=d.almGetAjaxParams(t,e,n);t.addons.single_post&&t.addons.single_post_target&&(o=t.addons.single_post_permalink+"?id="+t.addons.single_post_id+"&alm_page="+(parseInt(t.page)+1),a=""),t.addons.woocommerce&&(o=(0,v.default)(t),a=""),t.addons.elementor&&t.addons.elementor_type&&"posts"===t.addons.elementor_type&&(o=(0,v.default)(t),a=""),r.default.get(o,{params:a}).then((function(e){var r="";t.addons.single_post&&t.addons.single_post_target?(r=(0,P.singlePostHTML)(e,t.addons.single_post_target),(0,L.createCacheFile)(t,r.html,"single")):t.addons.woocommerce?(r=(0,M.wooGetContent)(e,t),(0,L.createCacheFile)(t,r.html,"woocommerce")):t.addons.elementor?(r=(0,O.elementorGetContent)(e,t),(0,L.createCacheFile)(t,r.html,"elementor")):r=e.data,"standard"===n?t.AjaxLoadMore.success(r,!1):"totalpages"===n&&t.addons.paging&&t.addons.nextpage?"function"==typeof almBuildPagination&&window.almBuildPagination(r.totalpages,t):"totalposts"===n&&t.addons.paging&&"function"==typeof almBuildPagination&&window.almBuildPagination(r.totalposts,t)})).catch((function(e){t.AjaxLoadMore.error(e,"adminajax")}))},n.AjaxLoadMore.tabs=function(t){var e=t.addons.tabs_resturl+"ajaxloadmore/tab",n={post_id:t.post_id,template:t.addons.tab_template};r.default.interceptors.request.use((function(t){return t.paramsSerializer=function(t){return k.stringify(t,{arrayFormat:"brackets",encode:!1})},t})),r.default.get(e,{params:n}).then((function(e){var n={html:e.data.html,meta:{postcount:1,totalposts:1}};t.AjaxLoadMore.success(n,!1),"function"==typeof almTabLoaded&&window.almTabLoaded(t)})).catch((function(e){t.AjaxLoadMore.error(e,"restapi")}))},n.AjaxLoadMore.restapi=function(t,e,n){var o=wp.template(t.extensions.restapi_template_id),a=t.extensions.restapi_base_url+"/"+t.extensions.restapi_namespace+"/"+t.extensions.restapi_endpoint,i=d.almGetRestParams(t);r.default.interceptors.request.use((function(t){return t.paramsSerializer=function(t){return k.stringify(t,{arrayFormat:"brackets",encode:!1})},t})),r.default.get(a,{params:i}).then((function(e){for(var n=e.data,r="",a=n.html,i=n.meta,s=i.postcount,l=i.totalposts,c=0;c<a.length;c++){var u=a[c];"true"===t.restapi_debug&&console.log(u),r+=o(u)}var d={html:r,meta:{postcount:s,totalposts:l}};t.AjaxLoadMore.success(d,!1)})).catch((function(e){t.AjaxLoadMore.error(e,"restapi")}))},n.addons.paging&&(n.addons.nextpage?n.AjaxLoadMore.ajax("totalpages"):n.AjaxLoadMore.ajax("totalposts")),n.AjaxLoadMore.success=function(e,r){var o=this;n.addons.single_post&&n.AjaxLoadMore.getSinglePost();var a=!1,l="table"===n.container_type?document.createElement("tbody"):document.createElement("div");n.el=l,l.style.opacity=0,l.style.height=0,l.style.outline="none";var d,f,v,w=n.listing.querySelector(".alm-paging-content");if(r?d=e:(d=e.html,f=e.meta,n.posts=n.addons.paging?f.postcount:n.posts+f.postcount,v=f.postcount,n.totalposts=f.totalposts,n.totalposts="true"===n.addons.preloaded?n.totalposts-n.addons.preloaded_amount:n.totalposts,n.debug=f.debug?f.debug:""),n.html=d,v=r?(0,c.default)(d).length:v,n.init&&(f&&(n.main.dataset.totalPosts=f.totalposts?f.totalposts:0),n.addons.paging&&v>0&&n.AjaxLoadMore.pagingInit(d,"alm-reveal"),0===v&&(n.addons.paging&&"function"==typeof almPagingEmpty&&window.almPagingEmpty(n),"function"==typeof almEmpty&&window.almEmpty(n),n.no_results&&setTimeout((function(){(0,x.default)(n.content,n.no_results)}),n.speed+10)),n.isPaged&&(n.posts_per_page=n.addons.users?n.listing.dataset.usersPerPage:n.listing.dataset.postsPerPage,n.posts_per_page=n.addons.nextpage?1:n.posts_per_page,n.page=n.start_page?n.start_page-1:n.page,n.addons.filters&&n.addons.filters_startpage>0&&(n.page=n.addons.filters_startpage-1,n.posts_per_page=n.listing.dataset.postsPerPage))),(0,S.default)(n),N(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,g.default)(n);case 2:case"end":return t.stop()}}),t,o)})))(),v>0){if(n.addons.paging)n.init?setTimeout((function(){n.main.classList.remove("alm-loading"),n.AjaxLoadMore.triggerAddons(n)}),n.speed):w&&((0,b.default)(w,n.speed),w.style.outline="none",n.main.classList.remove("alm-loading"),setTimeout((function(){w.style.opacity=0,w.innerHTML=n.html,R(w,(function(){n.AjaxLoadMore.triggerAddons(n),(0,_.default)(w,n.speed),setTimeout((function(){w.style.opacity="",h.default.init(w)}),parseInt(n.speed)+10),"function"==typeof almOnPagingComplete&&window.almOnPagingComplete(n)}))}),parseInt(n.speed)+25));else{if(n.addons.single_post)l.setAttribute("class","alm-reveal alm-single-post post-"+n.addons.single_post_id+n.tcc),l.dataset.url=n.addons.single_post_permalink,l.dataset.page=n.page,l.dataset.id=n.addons.single_post_id,l.dataset.title=n.addons.single_post_title,l.innerHTML=n.html;else if(n.transition_container){var A=void 0,E=window.location.search,P=n.addons.seo?" alm-seo":"",L=n.addons.filters?" alm-filters":"",F=n.is_preloaded?" alm-preloaded":"";if(n.init&&(n.start_page>1||n.addons.filters_startpage>0)){var C=[],k=[],q=parseInt(n.posts_per_page),z=Math.ceil(v/q);a=!0,"true"===n.addons.cta&&(q+=1,z=Math.ceil(v/q),v=z+v);for(var B=(0,u.default)((0,c.default)(n.html,"text/html")),W=0;W<v;W+=q)C.push(B.slice(W,q+W));for(var H=0;H<C.length;H++){var U="true"===n.addons.preloaded?1:0,V=document.createElement("div");H>0||"true"===n.addons.preloaded?(A=H+1+U,n.addons.seo&&(V=(0,I.createSEOAttributes)(n,V,E,P,A)),n.addons.filters&&(V.setAttribute("class","alm-reveal"+L+n.tcc),V.dataset.url=n.canonical_url+(0,T.buildFilterURL)(n,E,A),V.dataset.page=A)):(n.addons.seo&&(V=(0,I.createSEOAttributes)(n,V,E,P,1)),n.addons.filters&&(V.setAttribute("class","alm-reveal"+L+F+n.tcc),V.dataset.url=n.canonical_url+(0,T.buildFilterURL)(n,E,0),V.dataset.page="1")),(0,i.default)(V,C[H]),(0,j.default)(V,n.ua),k.push(V)}n.listing.style.opacity=0,n.listing.style.height=0,(0,i.default)(n.listing,k),l=n.listing,n.el=l}else{if(n.addons.seo&&n.page>0||"true"===n.addons.preloaded){var G="true"===n.addons.preloaded?1:0;A=n.page+1+G,n.addons.seo?l=(0,I.createSEOAttributes)(n,l,E,P,A):n.addons.filters?(l.setAttribute("class","alm-reveal"+L+n.tcc),l.dataset.url=n.canonical_url+(0,T.buildFilterURL)(n,E,A),l.dataset.page=A):l.setAttribute("class","alm-reveal"+n.tcc)}else n.addons.filters?(l.setAttribute("class","alm-reveal"+L+n.tcc),l.dataset.url=n.canonical_url+(0,T.buildFilterURL)(n,E,parseInt(n.page)+1),l.dataset.page=parseInt(n.page)+1):n.addons.seo?l=(0,I.createSEOAttributes)(n,l,E,P,1):l.setAttribute("class","alm-reveal"+n.tcc);l.innerHTML=n.html}}else n.el=n.html,l="table"===n.container_type?(0,s.default)(n.html):(0,u.default)((0,c.default)(n.html,"text/html"));if(n.addons.woocommerce)return N(regeneratorRuntime.mark((function t(){var r,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,M.woocommerce)(l,n,e.pageTitle);case 2:r=n.page+2,n.button.dataset.page=r,o=n.addons.woocommerce_settings.paged_urls[r-1],n.button.dataset.url=o||"",n.AjaxLoadMore.transitionEnd(),"function"==typeof almComplete&&"masonry"!==n.transition&&window.almComplete(n),r>parseInt(n.addons.woocommerce_settings.pages)&&n.AjaxLoadMore.triggerDone();case 9:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log(t),console.log("There was an error loading woocommerce products")})),void(n.init=!1);if(n.addons.elementor)return N(regeneratorRuntime.mark((function t(){var r,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,O.elementor)(l,n,e.pageTitle);case 2:r=n.page+1,n.button.dataset.page=r,o=n.addons.elementor_pages[r-1],n.button.dataset.url=o||"",n.AjaxLoadMore.transitionEnd(),"function"==typeof almComplete&&"masonry"!==n.transition&&window.almComplete(n),r>parseInt(n.addons.elementor_pages.length)&&n.AjaxLoadMore.triggerDone();case 9:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log(t),console.log("There was an error loading Elementor Post Widget items")})),void(n.init=!1);("masonry"!==n.transition||n.init&&!n.is_masonry_preloaded)&&(a||(n.transition_container?n.listing.appendChild(l):"true"===n.images_loaded?R(l,(function(){(0,i.default)(n.listing,l),(0,j.default)(n.listing,n.ua)})):((0,i.default)(n.listing,l),(0,j.default)(n.listing,n.ua)))),"masonry"===n.transition?(n.el=n.listing,N(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,y.default)(n,n.init,D);case 2:n.masonry_init=!1,n.AjaxLoadMore.triggerWindowResize(),n.AjaxLoadMore.transitionEnd(),"function"==typeof almComplete&&window.almComplete(n);case 6:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log("There was an error with ALM Masonry")}))):"none"===n.transition?"true"===n.images_loaded?R(l,(function(){(0,_.default)(l,0),n.AjaxLoadMore.transitionEnd()})):((0,_.default)(l,0),n.AjaxLoadMore.transitionEnd()):"true"===n.images_loaded?R(l,(function(){n.transition_container&&(0,_.default)(l,n.speed),n.AjaxLoadMore.transitionEnd()})):(n.transition_container&&(0,_.default)(l,n.speed),n.AjaxLoadMore.transitionEnd()),n.addons.tabs&&"function"==typeof almTabsSetHeight&&R(l,(function(){(0,_.default)(n.listing,n.speed),setTimeout((function(){window.almTabsSetHeight(n)}),n.speed)}))}R(l,(function(){n.AjaxLoadMore.nested(l),h.default.init(n.el),"function"==typeof almComplete&&"masonry"!==n.transition&&window.almComplete(n),D&&n.addons.filters&&"function"==typeof almFiltersAddonComplete&&window.almFiltersAddonComplete(t),D=!1,n.addons.tabs&&"function"==typeof almTabsComplete&&window.almTabsComplete(),n.addons.cache?n.addons.nextpage&&n.localize?parseInt(n.localize.page)===parseInt(n.localize.total_posts)&&n.AjaxLoadMore.triggerDone():v<parseInt(n.posts_per_page)&&n.AjaxLoadMore.triggerDone():n.posts>=n.totalposts&&!n.addons.single_post&&n.AjaxLoadMore.triggerDone()})),"function"==typeof almFiltersOnload&&n.init&&window.almFiltersOnload(n)}else n.AjaxLoadMore.noresults();if(void 0!==n.destroy_after&&""!==n.destroy_after){var Y=n.page+1;(Y="true"===n.addons.preloaded?Y++:Y)==n.destroy_after&&n.AjaxLoadMore.destroyed()}(0,p.tableOfContents)(n,n.init),"masonry"!==n.transition&&(0,m.default)(n,l,v,D),n.main.classList.contains("alm-is-filtering")&&n.main.classList.remove("alm-is-filtering"),n.init=!1},n.AjaxLoadMore.noresults=function(){n.addons.paging||(setTimeout((function(){n.button.classList.remove("loading"),n.button.classList.add("done")}),n.speed),n.AjaxLoadMore.resetBtnText()),"function"==typeof almComplete&&"masonry"!==n.transition&&window.almComplete(n),D&&n.addons.filters&&("function"==typeof almFiltersAddonComplete&&almFiltersAddonComplete(t),D=!1),n.addons.tabs&&"function"==typeof almTabsComplete&&almTabsComplete(),n.AjaxLoadMore.triggerDone()},n.AjaxLoadMore.pagingPreloadedInit=function(t){t=null==t?"":t,n.AjaxLoadMore.pagingInit(t,"alm-reveal"),""===t&&("function"==typeof almPagingEmpty&&window.almPagingEmpty(n),"function"==typeof almEmpty&&window.almEmpty(n),n.no_results&&(0,x.default)(n.content,n.no_results))},n.AjaxLoadMore.pagingNextpageInit=function(t){t=null==t?"":t,n.AjaxLoadMore.pagingInit(t,"alm-reveal alm-nextpage"),"function"==typeof almSetNextPageVars&&window.almSetNextPageVars(n)},n.AjaxLoadMore.pagingInit=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"alm-reveal";t=null==t?"":t;var r=document.createElement("div");r.setAttribute("class",e);var o=document.createElement("div");o.setAttribute("class","alm-paging-content"+n.tcc),o.innerHTML=t,r.appendChild(o);var a=document.createElement("div");a.setAttribute("class","alm-paging-loading"),r.appendChild(a),n.listing.appendChild(r);var i=window.getComputedStyle(n.listing),s=parseInt(i.getPropertyValue("padding-top").replace("px","")),l=parseInt(i.getPropertyValue("padding-bottom").replace("px","")),c=r.offsetHeight;n.listing.style.height=c+s+l+"px",h.default.init(r),n.AjaxLoadMore.resetBtnText(),setTimeout((function(){"function"==typeof almFadePageControls&&window.almFadePageControls(n.btnWrap),"function"==typeof almOnWindowResize&&window.almOnWindowResize(n),n.main.classList.remove("loading")}),n.speed)},n.AjaxLoadMore.nested=function(t){if(!t||!n.transition_container)return!1;var e=t.querySelectorAll(".ajax-load-more-wrap");e&&e.forEach((function(t){window.almInit(t)}))},n.addons.single_post_id&&(n.fetchingPreviousPost=!1,n.addons.single_post_init=!0),n.AjaxLoadMore.getSinglePost=function(){if(n.fetchingPreviousPost)return!1;n.fetchingPreviousPost=!0;var t=alm_localize.ajaxurl,e={id:n.addons.single_post_id,initial_id:n.addons.single_post_init_id,order:n.addons.single_post_order,taxonomy:n.addons.single_post_taxonomy,excluded_terms:n.addons.single_post_excluded_terms,post_type:n.post_type,init:n.addons.single_post_init,action:"alm_get_single"};r.default.get(t,{params:e}).then((function(t){var e=t.data;e.has_previous_post?(n.listing.dataset.singlePostId=e.prev_id,n.addons.single_post_id=e.prev_id,n.addons.single_post_permalink=e.prev_permalink,n.addons.single_post_title=e.prev_title,n.addons.single_post_slug=e.prev_slug):e.has_previous_post||n.AjaxLoadMore.triggerDone(),"function"==typeof window.almSetSinglePost&&window.almSetSinglePost(n,e.current_id,e.permalink,e.title),n.fetchingPreviousPost=!1,n.addons.single_post_init=!1})).catch((function(t){n.AjaxLoadMore.error(t,"getSinglePost"),n.fetchingPreviousPost=!1}))},n.AjaxLoadMore.triggerAddons=function(t){"function"==typeof almSetNextPage&&window.almSetNextPage(t),"function"==typeof almSEO&&window.almSEO(t,!1),"function"==typeof almWooCommerce&&window.almWooCommerce(t),"function"==typeof almElementor&&window.almElementor(t)},n.AjaxLoadMore.triggerDone=function(){n.loading=!1,n.finished=!0,(0,E.hidePlaceholder)(n),n.addons.paging||(!1!==n.button_done_label&&setTimeout((function(){n.button.innerHTML=n.button_done_label}),75),n.button.classList.add("done"),n.button.disabled=!0),"function"==typeof almDone&&setTimeout((function(){window.almDone(n)}),n.speed+10)},n.AjaxLoadMore.resetBtnText=function(){!1===n.button_loading_label||n.addons.paging||(n.button.innerHTML=n.button_label)},n.AjaxLoadMore.error=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;n.loading=!1,n.addons.paging||(n.button.classList.remove("loading"),n.AjaxLoadMore.resetBtnText()),console.log("Error: ",t),t.response?console.log("Error Msg: ",t.message):t.request?console.log(t.request):console.log("Error Msg: ",t.message),e&&console.log("ALM Error started in "+e),t.config&&console.log("ALM Error Debug: ",t.config)},n.AjaxLoadMore.click=function(t){var e=t.target||t.currentTarget;"true"===n.pause&&(n.pause=!1,n.pause_override=!1,n.AjaxLoadMore.loadPosts()),n.loading||n.finished||e.classList.contains("done")||(n.loading=!0,n.page++,n.AjaxLoadMore.loadPosts()),e.blur()},n.addons.paging||n.fetchingPreviousPost||(n.button.onclick=n.AjaxLoadMore.click),n.addons.paging||n.addons.tabs||n.scroll_distance_perc||"horizontal"===n.scroll_direction){var B=void 0;n.window.onresize=function(){clearTimeout(B),B=setTimeout((function(t){n.addons.tabs&&"function"==typeof almOnTabsWindowResize&&window.almOnTabsWindowResize(n),n.addons.paging&&"function"==typeof almOnWindowResize&&window.almOnWindowResize(n),n.scroll_distance_perc&&(n.scroll_distance=(0,A.default)(n)),"horizontal"===n.scroll_direction&&n.AjaxLoadMore.horizontal()}),n.speed)}}n.AjaxLoadMore.isVisible=function(){return n.visible=n.main.clientWidth>0&&n.main.clientHeight>0,n.visible},n.AjaxLoadMore.triggerWindowResize=function(){if("function"==typeof Event)window.dispatchEvent(new Event("resize"));else{var t=window.document.createEvent("UIEvents");t.initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(t)}},n.AjaxLoadMore.scroll=function(){n.timer&&clearTimeout(n.timer),n.timer=setTimeout((function(){if(n.AjaxLoadMore.isVisible()&&!n.fetchingPreviousPost){var t=n.trigger.getBoundingClientRect(),e=Math.round(t.top-n.window.innerHeight)+n.scroll_distance<=0;if(n.window!==window){var r=n.main.offsetHeight,o=n.main.offsetWidth;"horizontal"===n.scroll_direction?(n.AjaxLoadMore.horizontal(),e=o<=Math.round(n.window.scrollLeft+n.window.offsetWidth-n.scroll_distance)):e=r<=Math.round(n.window.scrollTop+n.window.offsetHeight-n.scroll_distance)}(!n.loading&&!n.finished&&e&&n.page<n.max_pages-1&&n.proceed&&"true"===n.pause&&"true"===n.pause_override||!n.loading&&!n.finished&&e&&n.page<n.max_pages-1&&n.proceed&&"true"!==n.pause)&&n.button.click()}}),25)},n.AjaxLoadMore.scrollSetup=function(){n.scroll&&!n.addons.paging&&(""!==n.scroll_container&&(n.window=document.querySelector(n.scroll_container)?document.querySelector(n.scroll_container):n.window,n.AjaxLoadMore.horizontal()),n.window.addEventListener("scroll",n.AjaxLoadMore.scroll),n.window.addEventListener("touchstart",n.AjaxLoadMore.scroll),n.window.addEventListener("wheel",(function(t){Math.sign(t.deltaY)>0&&n.AjaxLoadMore.scroll()})),n.window.addEventListener("keyup",(function(t){switch(t.keyCode?t.keyCode:t.which){case 35:case 34:n.AjaxLoadMore.scroll()}})))},n.AjaxLoadMore.horizontal=function(){"horizontal"===n.scroll_direction&&(n.main.style.width=n.listing.offsetWidth+"px")},n.AjaxLoadMore.destroyed=function(){n.disable_ajax=!0,n.addons.paging||(n.button.style.display="none",n.AjaxLoadMore.triggerDone(),"function"==typeof almDestroyed&&window.almDestroyed(n))},n.AjaxLoadMore.transitionEnd=function(){setTimeout((function(){n.AjaxLoadMore.resetBtnText(),n.main.classList.remove("alm-loading"),n.button.classList.remove("loading"),n.AjaxLoadMore.triggerAddons(n),n.addons.paging||setTimeout((function(){n.loading=!1}),3*n.speed)}),50),(0,E.hidePlaceholder)(n)},n.AjaxLoadMore.setLocalizedVar=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";n.localize&&""!==t&&""!==e&&(n.localize[t]=e.toString(),window[n.master_id+"_vars"][t]=e.toString())},n.AjaxLoadMore.init=function(){if("true"===n.addons.preloaded&&1==n.destroy_after&&n.AjaxLoadMore.destroyed(),n.addons.paging||n.addons.single_post||(n.disable_ajax?(n.finished=!0,n.button.classList.add("done")):"true"===n.pause?(n.button.innerHTML=n.button_label,n.loading=!1):n.AjaxLoadMore.loadPosts()),n.addons.single_post&&(n.AjaxLoadMore.getSinglePost(),n.loading=!1,(0,p.tableOfContents)(n,!0,!0)),"true"===n.addons.preloaded&&n.addons.seo&&!n.addons.paging&&setTimeout((function(){"function"==typeof almSEO&&n.start_page<1&&window.almSEO(n,!0)}),n.speed),"true"!==n.addons.preloaded||n.addons.paging||setTimeout((function(){n.addons.preloaded_total_posts<=parseInt(n.addons.preloaded_amount)&&n.AjaxLoadMore.triggerDone(),0==n.addons.preloaded_total_posts&&("function"==typeof almEmpty&&window.almEmpty(n),n.no_results&&(0,x.default)(n.content,n.no_results))}),n.speed),"true"===n.addons.preloaded&&(n.resultsText&&f.almInitResultsText(n,"preloaded"),(0,p.tableOfContents)(n,n.init,!0)),n.addons.nextpage){if(n.listing.querySelector(".alm-nextpage")&&!n.addons.paging){var t=n.listing.querySelectorAll(".alm-nextpage");if(t){var e=t[0],r=n.localize.total_posts?parseInt(n.localize.total_posts):e.dataset.totalPosts;t.length!==r&&parseInt(e.dataset.id)!==r||n.AjaxLoadMore.triggerDone()}}n.resultsText&&f.almInitResultsText(n,"nextpage"),(0,p.tableOfContents)(n,n.init,!0)}n.addons.woocommerce&&((0,M.wooInit)(n),n.addons.woocommerce_settings.paged>=parseInt(n.addons.woocommerce_settings.pages)&&n.AjaxLoadMore.triggerDone()),n.addons.elementor&&n.addons.elementor_type&&"posts"===n.addons.elementor_type&&((0,O.elementorInit)(n),(n.addons.elementor_paged>parseInt(n.addons.elementor_pages.length)||!n.addons.elementor_pages)&&n.AjaxLoadMore.triggerDone()),n.window.addEventListener("load",(function(){n.is_masonry_preloaded&&N(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,y.default)(n,!0,!1);case 2:n.masonry_init=!1;case 3:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log("There was an error with ALM Masonry")})),"function"==typeof almOnLoad&&window.almOnLoad(n)}))},setTimeout((function(){n.proceed=!0,n.AjaxLoadMore.scrollSetup()}),500),n.AjaxLoadMore.init(),window.almUpdateCurrentPage=function(t,e,n){n.page=t,n.page=n.addons.nextpage&&!n.addons.paging?n.page-1:n.page;var r="",o="";n.addons.paging_init&&"true"===n.addons.preloaded?((o=n.listing.querySelector(".alm-reveal")||n.listing.querySelector(".alm-nextpage"))&&(r=o.innerHTML,o.parentNode.removeChild(o),n.addons.preloaded_amount=0,n.AjaxLoadMore.pagingPreloadedInit(r)),n.addons.paging_init=!1,n.init=!1):n.addons.paging_init&&n.addons.nextpage?((o=n.listing.querySelector(".alm-reveal")||n.listing.querySelector(".alm-nextpage"))&&(r=o.innerHTML,o.parentNode.removeChild(o),n.AjaxLoadMore.pagingNextpageInit(r)),n.addons.paging_init=!1,n.init=!1):n.AjaxLoadMore.loadPosts()},window.almGetParentContainer=function(){return n.listing},window.almGetObj=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""!==t?n[t]:n},window.almTriggerClick=function(){n.button.click()}};window.almInit=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;new t(e,n)};var e=document.querySelectorAll(".ajax-load-more-wrap");e.length&&[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(e)).forEach((function(e,n){new t(e,n)}))}();e.filter=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"fade",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"200",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!t||!e||!n)return!1;D=!0,(0,w.default)(t,e,n,"filter")};e.reset=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={};D=!0,t&&t.target&&(e={target:target}),t&&"woocommerce"===t.type?N(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=document.querySelector('.ajax-load-more-wrap .alm-listing[data-woo="true"]'),t.next=3,(0,M.wooReset)();case 3:(r=t.sent)&&(n.dataset.wooSettings=r,(0,w.default)("fade","100",e,"filter"));case 5:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log("There was an resetting the Ajax Load More instance.")})):(0,w.default)("fade","200",e,"filter")};e.tab=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e="fade",n=alm_localize.speed?parseInt(alm_localize.speed):200;if(!t)return!1;D=!0,(0,w.default)(e,n,t,"tab")};e.tracking=function(t){"function"==typeof gtag&&(gtag("event","page_view",{page_path:t}),alm_localize.ga_debug&&console.log("Pageview sent to Google Analytics (gtag)")),"function"==typeof ga&&(ga("send","pageview",t),alm_localize.ga_debug&&console.log("Pageview sent to Google Analytics (ga)")),"function"==typeof __gaTracker&&(__gaTracker("send","pageview",t),alm_localize.ga_debug&&console.log("Pageview sent to Google Analytics (__gaTracker)")),"function"==typeof almAnalytics&&window.almAnalytics(t)};e.start=function(t){if(!t)return!1;window.almInit(t)};e.almScroll=function(t){if(!t)return!1;window.scrollTo({top:t,behavior:"smooth"})};e.getOffset=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!t)return!1;var e=t.getBoundingClientRect(),n=window.pageXOffset||document.documentElement.scrollLeft,r=window.pageYOffset||document.documentElement.scrollTop;return{top:e.top+r,left:e.left+n}};e.render=function(t){if(!t)return!1}},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},function(t,e,n){"use strict";var r=n(13),o=n(145),a=n(147),i=n(148),s=n(149),l=n(99);t.exports=function(t){return new Promise((function(e,c){var u=t.data,d=t.headers;r.isFormData(u)&&delete d["Content-Type"];var f=new XMLHttpRequest;if(t.auth){var p=t.auth.username||"",g=t.auth.password||"";d.Authorization="Basic "+btoa(p+":"+g)}if(f.open(t.method.toUpperCase(),a(t.url,t.params,t.paramsSerializer),!0),f.timeout=t.timeout,f.onreadystatechange=function(){if(f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in f?i(f.getAllResponseHeaders()):null,r={data:t.responseType&&"text"!==t.responseType?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:n,config:t,request:f};o(e,c,r),f=null}},f.onerror=function(){c(l("Network Error",t,null,f)),f=null},f.ontimeout=function(){c(l("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",f)),f=null},r.isStandardBrowserEnv()){var h=n(150),m=(t.withCredentials||s(t.url))&&t.xsrfCookieName?h.read(t.xsrfCookieName):void 0;m&&(d[t.xsrfHeaderName]=m)}if("setRequestHeader"in f&&r.forEach(d,(function(t,e){void 0===u&&"content-type"===e.toLowerCase()?delete d[e]:f.setRequestHeader(e,t)})),t.withCredentials&&(f.withCredentials=!0),t.responseType)try{f.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&f.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){f&&(f.abort(),c(t),f=null)})),void 0===u&&(u=null),f.send(u)}))}},function(t,e,n){"use strict";var r=n(146);t.exports=function(t,e,n,o,a){var i=new Error(t);return r(i,e,n,o,a)}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(161),a=(r=o)&&r.__esModule?r:{default:r};e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"fade";if(!t||!e)return!1;for(var r=0;r<e.length;r++){var o=e[r];(0,a.default)(t,o,n)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!t)return!1;var e=["#text","#comment"],n=t.filter((function(t){return-1===e.indexOf(t.nodeName.toLowerCase())}));return n}},function(t,e,n){"use strict";function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"standard";if(!t.resultsText||!t.localize||"true"===t.nested)return!1;var n=0,r=0,a=0,i=0,s="true"===t.addons.preloaded,l=!!t.addons.paging,c=t.orginal_posts_per_page;switch(e){case"nextpage":a=n=parseInt(t.localize.page),r=parseInt(t.localize.total_posts),i=parseInt(r),o(t.resultsText,n,r,a,i);break;case"woocommerce":break;default:n=parseInt(t.page)+1,r=Math.ceil(t.localize.total_posts/c),a=parseInt(t.localize.post_count),i=parseInt(t.localize.total_posts),s&&(n=l?t.page+1:n+1),o(t.resultsText,n,r,a,i)}}Object.defineProperty(e,"__esModule",{value:!0}),e.almResultsText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"standard";if(!t.resultsText||"true"===t.nested)return!1;var n="nextpage"===e||"woocommerce"===e?e:"standard";r(t,n)},e.almGetResultsText=r,e.almInitResultsText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"standard";if(!t.resultsText||!t.localize||"true"===t.nested)return!1;var n=0,r=Math.ceil(t.localize.total_posts/t.orginal_posts_per_page),a=parseInt(t.localize.post_count),i=parseInt(t.localize.total_posts);switch(e){case"nextpage":n=t.addons.nextpage_startpage,a=n,r=i,o(t.resultsText,n,i,a,i);break;case"preloaded":n=t.addons.paging&&t.addons.seo?parseInt(t.start_page)+1:parseInt(t.page)+1,o(t.resultsText,n,r,a,i);break;case"woocommerce":break;default:console.log("No results to set.")}};var o=function(t,e,n,r,o){t.forEach((function(t){var a=(n=parseInt(n))>0?alm_localize.results_text:alm_localize.no_results_text;n>0?(a=(a=(a=(a=(a=(a=a.replace("{num}",'<span class="alm-results-num">'+e+"</span>")).replace("{page}",'<span class="alm-results-page">'+e+"</span>")).replace("{total}",'<span class="alm-results-total">'+n+"</span>")).replace("{pages}",'<span class="alm-results-pages">'+n+"</span>")).replace("{post_count}",'<span class="alm-results-post_count">'+r+"</span>")).replace("{total_posts}",'<span class="alm-results-total_posts">'+o+"</span>"),t.innerHTML=a):t.innerHTML=a}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.tableOfContents=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.localize.post_count?parseInt(t.localize.post_count):0;if(0==r&&!t.addons.single_post)return!1;if(t&&t.tableofcontents&&t.transition_container&&"masonry"!==t.transition){var o=t.tableofcontents.dataset.offset?parseInt(t.tableofcontents.dataset.offset):30,a=t.start_page?parseInt(t.start_page):0,i=t.addons.filters_startpage?parseInt(t.addons.filters_startpage):0,l=t.addons.nextpage_startpage?parseInt(t.addons.nextpage_startpage):0,c=parseInt(t.page),u="true"===t.addons.preloaded;if(t.addons.paging||t.addons.nextpage)return!1;e?setTimeout((function(){if(t.addons.seo&&a>1||t.addons.filters&&i>1||t.addons.nextpage&&l>1){if(t.addons.seo&&a>1)for(var e=0;e<a;e++)s(t,e,o);if(t.addons.filters&&i>1)for(var r=0;r<i;r++)s(t,r,o);if(t.addons.nextpage&&l>1)for(var d=0;d<l;d++)s(t,d,o)}else!n&&u&&(c+=1),s(t,c,o)}),100):(u&&(t.addons.seo&&a>0||t.addons.filters&&i>0?c=c:c+=1),s(t,c,o))}},e.clearTOC=function(){var t=document.querySelector(".alm-toc");t&&(t.innerHTML="")};var r,o=n(96),a=n(49),i=(r=a)&&r.__esModule?r:{default:r};function s(t,e,n){if(!t.tableofcontents)return!1;var r=document.createElement("button");r.type="button",e=parseInt(e)+1,r.innerHTML=function(t,e){var n=e;if(t.addons.single_post){var r=document.querySelector('.alm-reveal.alm-single-post[data-page="'+(e-1)+'"]');n=r?r.dataset.title:n}var o="almTOCLabel_"+t.id;"function"==typeof window[o]&&(n=window[o](e,n));return n}(t,e),r.dataset.page=e,t.tableofcontents.appendChild(r),r.addEventListener("click",(function(e){var r=this.dataset.page,a=document.querySelector(".alm-reveal:nth-child("+r+")")||document.querySelector(".alm-nextpage:nth-child("+r+")");if(!a)return!1;var s="function"==typeof o.getOffset?(0,o.getOffset)(a).top:a.offsetTop;(0,o.almScroll)(s-n),setTimeout((function(){(0,i.default)(t,a,r,!1)}),1e3)}))}},function(t,e,n){"use strict";function r(t,e,n,r,o){return e.classList.add(r),e.dataset.page=o,"default"===t.addons.seo_permalink?e.dataset.url=o>1?t.canonical_url+n+"&paged="+o:t.canonical_url+n:e.dataset.url=o>1?t.canonical_url+t.addons.seo_leading_slash+"page/"+o+t.addons.seo_trailing_slash+n:t.canonical_url+n,e}Object.defineProperty(e,"__esModule",{value:!0}),e.createMasonrySEOPage=function(t,e){if(!t.addons.seo)return e;var n=window.location.search,o=t.page+1;return o="true"===t.addons.preloaded?o+1:o,e=r(t,e,n,"alm-seo",o)},e.createMasonrySEOPages=function(t,e){if(!t.addons.seo)return e;var n=1,o=t.page,a=window.location.search;if(t.start_page>1){for(var i=parseInt(t.posts_per_page),s=[],l=0;l<e.length;l+=i)s.push(e.slice(l,i+l));for(var c=0;c<s.length;c++){var u=c>0?c*i:0;n=c+1,e[u]&&(e[u]=r(t,e[u],a,"alm-seo",n))}}else n=o,e[0]=r(t,e[0],a,"alm-seo",n);return e},e.createSEOAttributes=function(t,e,n,r,o){e.setAttribute("class","alm-reveal"+r+t.tcc),e.dataset.page=o,"default"===t.addons.seo_permalink?e.dataset.url=o>1?t.canonical_url+n+"&paged="+o:t.canonical_url+n:e.dataset.url=o>1?t.canonical_url+t.addons.seo_leading_slash+"page/"+o+t.addons.seo_trailing_slash+n:t.canonical_url+n;return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(n(179)),o=a(n(49));function a(t){return t&&t.__esModule?t:{default:t}}function i(t){return function(){var e=t.apply(this,arguments);return new Promise((function(t,n){return function r(o,a){try{var i=e[o](a),s=i.value}catch(t){return void n(t)}if(!i.done)return Promise.resolve(s).then((function(t){r("next",t)}),(function(t){r("throw",t)}));t(s)}("next")}))}}e.default=function(t,e,n,a){var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:window.location,l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"";return new Promise((function(c){var u=e.length,d=0,f=1;!function p(){f<=u?i(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return e[d].style.opacity=0,1==f&&(e[d].classList.add(l),e[d].dataset.url=s,e[d].dataset.page=n.page+1,e[d].dataset.pageTitle=a),o.next=4,(0,r.default)(t,e[d],n.ua);case 4:f++,d++,p();case 7:case"end":return o.stop()}}),o,this)})))().catch((function(t){console.log("There was an error loading the items")})):(setTimeout((function(){e.map((function(t){t.style.opacity=1})),e[0]&&(0,o.default)(n,e[0],null,!1)}),50),c(!0))}()}))}},function(t,e,n){t.exports=!n(8)&&!n(2)((function(){return 7!=Object.defineProperty(n(70)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(1),o=n(7),a=n(31),i=n(71),s=n(9).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=a?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:i.f(t)})}},function(t,e,n){var r=n(14),o=n(16),a=n(52)(!1),i=n(72)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),l=0,c=[];for(n in s)n!=i&&r(s,n)&&c.push(n);for(;e.length>l;)r(s,n=e[l++])&&(~a(c,n)||c.push(n));return c}},function(t,e,n){var r=n(9),o=n(3),a=n(32);t.exports=n(8)?Object.defineProperties:function(t,e){o(t);for(var n,i=a(e),s=i.length,l=0;s>l;)r.f(t,n=i[l++],e[n]);return t}},function(t,e,n){var r=n(16),o=n(35).f,a={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return i&&"[object Window]"==a.call(t)?function(t){try{return o(t)}catch(t){return i.slice()}}(t):o(r(t))}},function(t,e,n){"use strict";var r=n(8),o=n(32),a=n(53),i=n(46),s=n(10),l=n(45),c=Object.assign;t.exports=!c||n(2)((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r}))?function(t,e){for(var n=s(t),c=arguments.length,u=1,d=a.f,f=i.f;c>u;)for(var p,g=l(arguments[u++]),h=d?o(g).concat(d(g)):o(g),m=h.length,v=0;m>v;)p=h[v++],r&&!f.call(g,p)||(n[p]=g[p]);return n}:c},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){"use strict";var r=n(19),o=n(4),a=n(116),i=[].slice,s={},l=function(t,e,n){if(!(e in s)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";s[e]=Function("F,a","return new F("+r.join(",")+")")}return s[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=i.call(arguments,1),s=function(){var r=n.concat(i.call(arguments));return this instanceof s?l(e,r.length,r):a(e,r,t)};return o(e.prototype)&&(s.prototype=e.prototype),s}},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(1).parseInt,o=n(40).trim,a=n(76),i=/^[-+]?0[xX]/;t.exports=8!==r(a+"08")||22!==r(a+"0x16")?function(t,e){var n=o(String(t),3);return r(n,e>>>0||(i.test(n)?16:10))}:r},function(t,e,n){var r=n(1).parseFloat,o=n(40).trim;t.exports=1/r(n(76)+"-0")!=-1/0?function(t){var e=o(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},function(t,e,n){var r=n(24);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},function(t,e,n){var r=n(4),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){"use strict";var r=n(34),o=n(29),a=n(39),i={};n(15)(i,n(5)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(i,{next:o(1,n)}),a(t,e+" Iterator")}},function(t,e,n){var r=n(3);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var a=t.return;throw void 0!==a&&r(a.call(t)),e}}},function(t,e,n){var r=n(275);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){var r=n(19),o=n(10),a=n(45),i=n(6);t.exports=function(t,e,n,s,l){r(e);var c=o(t),u=a(c),d=i(c.length),f=l?d-1:0,p=l?-1:1;if(n<2)for(;;){if(f in u){s=u[f],f+=p;break}if(f+=p,l?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;l?f>=0:d>f;f+=p)f in u&&(s=e(s,u[f],f,c));return s}},function(t,e,n){"use strict";var r=n(10),o=n(33),a=n(6);t.exports=[].copyWithin||function(t,e){var n=r(this),i=a(n.length),s=o(t,i),l=o(e,i),c=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===c?i:o(c,i))-l,i-s),d=1;for(l<s&&s<l+u&&(d=-1,l+=u-1,s+=u-1);u-- >0;)l in n?n[s]=n[l]:delete n[s],s+=d,l+=d;return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var r=n(91);n(0)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(t,e,n){n(8)&&"g"!=/./g.flags&&n(9).f(RegExp.prototype,"flags",{configurable:!0,get:n(56)})},function(t,e,n){"use strict";var r,o,a,i,s=n(31),l=n(1),c=n(18),u=n(47),d=n(0),f=n(4),p=n(19),g=n(43),h=n(59),m=n(48),v=n(93).set,y=n(295)(),_=n(131),b=n(296),w=n(60),x=n(132),S=l.TypeError,A=l.process,j=A&&A.versions,E=j&&j.v8||"",P=l.Promise,L="process"==u(A),M=function(){},O=o=_.f,T=!!function(){try{var t=P.resolve(1),e=(t.constructor={})[n(5)("species")]=function(t){t(M,M)};return(L||"function"==typeof PromiseRejectionEvent)&&t.then(M)instanceof e&&0!==E.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),I=function(t){var e;return!(!f(t)||"function"!=typeof(e=t.then))&&e},F=function(t,e){if(!t._n){t._n=!0;var n=t._c;y((function(){for(var r=t._v,o=1==t._s,a=0,i=function(e){var n,a,i,s=o?e.ok:e.fail,l=e.resolve,c=e.reject,u=e.domain;try{s?(o||(2==t._h&&k(t),t._h=1),!0===s?n=r:(u&&u.enter(),n=s(r),u&&(u.exit(),i=!0)),n===e.promise?c(S("Promise-chain cycle")):(a=I(n))?a.call(n,l,c):l(n)):c(r)}catch(t){u&&!i&&u.exit(),c(t)}};n.length>a;)i(n[a++]);t._c=[],t._n=!1,e&&!t._h&&C(t)}))}},C=function(t){v.call(l,(function(){var e,n,r,o=t._v,a=N(t);if(a&&(e=b((function(){L?A.emit("unhandledRejection",o,t):(n=l.onunhandledrejection)?n({promise:t,reason:o}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",o)})),t._h=L||N(t)?2:1),t._a=void 0,a&&e.e)throw e.v}))},N=function(t){return 1!==t._h&&0===(t._a||t._c).length},k=function(t){v.call(l,(function(){var e;L?A.emit("rejectionHandled",t):(e=l.onrejectionhandled)&&e({promise:t,reason:t._v})}))},R=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),F(e,!0))},D=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw S("Promise can't be resolved itself");(e=I(t))?y((function(){var r={_w:n,_d:!1};try{e.call(t,c(D,r,1),c(R,r,1))}catch(t){R.call(r,t)}})):(n._v=t,n._s=1,F(n,!1))}catch(t){R.call({_w:n,_d:!1},t)}}};T||(P=function(t){g(this,P,"Promise","_h"),p(t),r.call(this);try{t(c(D,this,1),c(R,this,1))}catch(t){R.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(44)(P.prototype,{then:function(t,e){var n=O(m(this,P));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=L?A.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&F(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),a=function(){var t=new r;this.promise=t,this.resolve=c(D,t,1),this.reject=c(R,t,1)},_.f=O=function(t){return t===P||t===i?new a(t):o(t)}),d(d.G+d.W+d.F*!T,{Promise:P}),n(39)(P,"Promise"),n(42)("Promise"),i=n(7).Promise,d(d.S+d.F*!T,"Promise",{reject:function(t){var e=O(this);return(0,e.reject)(t),e.promise}}),d(d.S+d.F*(s||!T),"Promise",{resolve:function(t){return x(s&&this===i?P:this,t)}}),d(d.S+d.F*!(T&&n(55)((function(t){P.all(t).catch(M)}))),"Promise",{all:function(t){var e=this,n=O(e),r=n.resolve,o=n.reject,a=b((function(){var n=[],a=0,i=1;h(t,!1,(function(t){var s=a++,l=!1;n.push(void 0),i++,e.resolve(t).then((function(t){l||(l=!0,n[s]=t,--i||r(n))}),o)})),--i||r(n)}));return a.e&&o(a.v),n.promise},race:function(t){var e=this,n=O(e),r=n.reject,o=b((function(){h(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}})},function(t,e,n){"use strict";var r=n(19);function o(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new o(t)}},function(t,e,n){var r=n(3),o=n(4),a=n(131);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=a.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var r=n(9).f,o=n(34),a=n(44),i=n(18),s=n(43),l=n(59),c=n(82),u=n(127),d=n(42),f=n(8),p=n(28).fastKey,g=n(38),h=f?"_s":"size",m=function(t,e){var n,r=p(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,c){var u=t((function(t,r){s(t,u,e,"_i"),t._t=e,t._i=o(null),t._f=void 0,t._l=void 0,t[h]=0,null!=r&&l(r,n,t[c],t)}));return a(u.prototype,{clear:function(){for(var t=g(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[h]=0},delete:function(t){var n=g(this,e),r=m(n,t);if(r){var o=r.n,a=r.p;delete n._i[r.i],r.r=!0,a&&(a.n=o),o&&(o.p=a),n._f==r&&(n._f=o),n._l==r&&(n._l=a),n[h]--}return!!r},forEach:function(t){g(this,e);for(var n,r=i(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!m(g(this,e),t)}}),f&&r(u.prototype,"size",{get:function(){return g(this,e)[h]}}),u},def:function(t,e,n){var r,o,a=m(t,e);return a?a.v=n:(t._l=a={i:o=p(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=a),r&&(r.n=a),t[h]++,"F"!==o&&(t._i[o]=a)),t},getEntry:m,setStrong:function(t,e,n){c(t,e,(function(t,n){this._t=g(t,e),this._k=n,this._l=void 0}),(function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?u(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,u(1))}),n?"entries":"values",!n,!0),d(e)}}},function(t,e,n){"use strict";var r=n(44),o=n(28).getWeak,a=n(3),i=n(4),s=n(43),l=n(59),c=n(23),u=n(14),d=n(38),f=c(5),p=c(6),g=0,h=function(t){return t._l||(t._l=new m)},m=function(){this.a=[]},v=function(t,e){return f(t.a,(function(t){return t[0]===e}))};m.prototype={get:function(t){var e=v(this,t);if(e)return e[1]},has:function(t){return!!v(this,t)},set:function(t,e){var n=v(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=p(this.a,(function(e){return e[0]===t}));return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,a){var c=t((function(t,r){s(t,c,e,"_i"),t._t=e,t._i=g++,t._l=void 0,null!=r&&l(r,n,t[a],t)}));return r(c.prototype,{delete:function(t){if(!i(t))return!1;var n=o(t);return!0===n?h(d(this,e)).delete(t):n&&u(n,this._i)&&delete n[this._i]},has:function(t){if(!i(t))return!1;var n=o(t);return!0===n?h(d(this,e)).has(t):n&&u(n,this._i)}}),c},def:function(t,e,n){var r=o(a(e),!0);return!0===r?h(t).set(e,n):r[t._i]=n,t},ufstore:h}},function(t,e,n){var r=n(20),o=n(6);t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=o(e);if(e!==n)throw RangeError("Wrong length!");return n}},function(t,e,n){var r=n(35),o=n(53),a=n(3),i=n(1).Reflect;t.exports=i&&i.ownKeys||function(t){var e=r.f(a(t)),n=o.f;return n?e.concat(n(t)):e}},function(t,e,n){var r=n(6),o=n(78),a=n(25);t.exports=function(t,e,n,i){var s=String(a(t)),l=s.length,c=void 0===n?" ":String(n),u=r(e);if(u<=l||""==c)return s;var d=u-l,f=o.call(c,Math.ceil(d/c.length));return f.length>d&&(f=f.slice(0,d)),i?f+s:s+f}},function(t,e,n){var r=n(8),o=n(32),a=n(16),i=n(46).f;t.exports=function(t){return function(e){for(var n,s=a(e),l=o(s),c=l.length,u=0,d=[];c>u;)n=l[u++],r&&!i.call(s,n)||d.push(t?[n,s[n]]:s[n]);return d}}},function(t,e,n){"use strict";var r=String.prototype.replace,o=/%20/g,a=n(95),i={RFC1738:"RFC1738",RFC3986:"RFC3986"};t.exports=a.assign({default:i.RFC3986,formatters:{RFC1738:function(t){return r.call(t,o,"+")},RFC3986:function(t){return String(t)}}},i)},function(t,e,n){"use strict";var r=n(13),o=n(97),a=n(142),i=n(64);function s(t){var e=new a(t),n=o(a.prototype.request,e);return r.extend(n,a.prototype,e),r.extend(n,e),n}var l=s(i);l.Axios=a,l.create=function(t){return s(r.merge(i,t))},l.Cancel=n(101),l.CancelToken=n(156),l.isCancel=n(100),l.all=function(t){return Promise.all(t)},l.spread=n(157),t.exports=l,t.exports.default=l},function(t,e){
7
  /*!
8
  * Determine if an object is a Buffer
9
  *
10
  * @author Feross Aboukhadijeh <https://feross.org>
11
  * @license MIT
12
  */
13
+ t.exports=function(t){return null!=t&&null!=t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}},function(t,e,n){"use strict";var r=n(64),o=n(13),a=n(151),i=n(152);function s(t){this.defaults=t,this.interceptors={request:new a,response:new a}}s.prototype.request=function(t){"string"==typeof t&&(t=o.merge({url:arguments[0]},arguments[1])),(t=o.merge(r,{method:"get"},this.defaults,t)).method=t.method.toLowerCase();var e=[i,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));e.length;)n=n.then(e.shift(),e.shift());return n},o.forEach(["delete","get","head","options"],(function(t){s.prototype[t]=function(e,n){return this.request(o.merge(n||{},{method:t,url:e}))}})),o.forEach(["post","put","patch"],(function(t){s.prototype[t]=function(e,n,r){return this.request(o.merge(r||{},{method:t,url:e,data:n}))}})),t.exports=s},function(t,e){var n,r,o=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(t){n=a}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(t){r=i}}();var l,c=[],u=!1,d=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!u){var t=s(f);u=!0;for(var e=c.length;e;){for(l=c,c=[];++d<e;)l&&l[d].run();d=-1,e=c.length}l=null,u=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function g(t,e){this.fun=t,this.array=e}function h(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new g(t,e)),1!==c.length||u||s(p)},g.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,n){"use strict";var r=n(13);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},function(t,e,n){"use strict";var r=n(99);t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},function(t,e,n){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t}},function(t,e,n){"use strict";var r=n(13);function o(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var a;if(n)a=n(e);else if(r.isURLSearchParams(e))a=e.toString();else{var i=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),i.push(o(e)+"="+o(t))})))})),a=i.join("&")}return a&&(t+=(-1===t.indexOf("?")?"?":"&")+a),t}},function(t,e,n){"use strict";var r=n(13),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,a,i={};return t?(r.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=r.trim(t.substr(0,a)).toLowerCase(),n=r.trim(t.substr(a+1)),e){if(i[e]&&o.indexOf(e)>=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([n]):i[e]?i[e]+", "+n:n}})),i):i}},function(t,e,n){"use strict";var r=n(13);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var r=n(13);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,o,a,i){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var r=n(13);function o(){this.handlers=[]}o.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},function(t,e,n){"use strict";var r=n(13),o=n(153),a=n(100),i=n(64),s=n(154),l=n(155);function c(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return c(t),t.baseURL&&!s(t.url)&&(t.url=l(t.baseURL,t.url)),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||i.adapter)(t).then((function(e){return c(t),e.data=o(e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(c(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var r=n(13);t.exports=function(t,e,n){return r.forEach(n,(function(n){t=n(t,e)})),t}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(101);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){!function(){"use strict";t.exports={polyfill:function(){var t=window,e=document;if(!("scrollBehavior"in e.documentElement.style)||!0===t.__forceSmoothScrollPolyfill__){var n,r=t.HTMLElement||t.Element,o={scroll:t.scroll||t.scrollTo,scrollBy:t.scrollBy,elementScroll:r.prototype.scroll||s,scrollIntoView:r.prototype.scrollIntoView},a=t.performance&&t.performance.now?t.performance.now.bind(t.performance):Date.now,i=(n=t.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(n)?1:0);t.scroll=t.scrollTo=function(){void 0!==arguments[0]&&(!0!==l(arguments[0])?g.call(t,e.body,void 0!==arguments[0].left?~~arguments[0].left:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:t.scrollY||t.pageYOffset):o.scroll.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:t.scrollY||t.pageYOffset))},t.scrollBy=function(){void 0!==arguments[0]&&(l(arguments[0])?o.scrollBy.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):g.call(t,e.body,~~arguments[0].left+(t.scrollX||t.pageXOffset),~~arguments[0].top+(t.scrollY||t.pageYOffset)))},r.prototype.scroll=r.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==l(arguments[0])){var t=arguments[0].left,e=arguments[0].top;g.call(this,this,void 0===t?this.scrollLeft:~~t,void 0===e?this.scrollTop:~~e)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");o.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},r.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==l(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):o.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},r.prototype.scrollIntoView=function(){if(!0!==l(arguments[0])){var n=f(this),r=n.getBoundingClientRect(),a=this.getBoundingClientRect();n!==e.body?(g.call(this,n,n.scrollLeft+a.left-r.left,n.scrollTop+a.top-r.top),"fixed"!==t.getComputedStyle(n).position&&t.scrollBy({left:r.left,top:r.top,behavior:"smooth"})):t.scrollBy({left:a.left,top:a.top,behavior:"smooth"})}else o.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function s(t,e){this.scrollLeft=t,this.scrollTop=e}function l(t){if(null===t||"object"!=typeof t||void 0===t.behavior||"auto"===t.behavior||"instant"===t.behavior)return!0;if("object"==typeof t&&"smooth"===t.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+t.behavior+" is not a valid value for enumeration ScrollBehavior.")}function c(t,e){return"Y"===e?t.clientHeight+i<t.scrollHeight:"X"===e?t.clientWidth+i<t.scrollWidth:void 0}function u(e,n){var r=t.getComputedStyle(e,null)["overflow"+n];return"auto"===r||"scroll"===r}function d(t){var e=c(t,"Y")&&u(t,"Y"),n=c(t,"X")&&u(t,"X");return e||n}function f(t){for(;t!==e.body&&!1===d(t);)t=t.parentNode||t.host;return t}function p(e){var n,r,o,i,s=(a()-e.startTime)/468;i=s=s>1?1:s,n=.5*(1-Math.cos(Math.PI*i)),r=e.startX+(e.x-e.startX)*n,o=e.startY+(e.y-e.startY)*n,e.method.call(e.scrollable,r,o),r===e.x&&o===e.y||t.requestAnimationFrame(p.bind(t,e))}function g(n,r,i){var l,c,u,d,f=a();n===e.body?(l=t,c=t.scrollX||t.pageXOffset,u=t.scrollY||t.pageYOffset,d=o.scroll):(l=n,c=n.scrollLeft,u=n.scrollTop,d=s),p({scrollable:l,method:d,startTime:f,startX:c,startY:u,x:r,y:i})}}}}()},function(t,e,n){"use strict";var r,o,a,i;history,Object.entries||(Object.entries=function(t){for(var e=Object.keys(t),n=e.length,r=new Array(n);n--;)r[n]=[e[n],t[e[n]]];return r}),void 0===Array.isArray&&(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),Array.from||(Array.from=(r=Object.prototype.toString,o=function(t){return"function"==typeof t||"[object Function]"===r.call(t)},a=Math.pow(2,53)-1,i=function(t){var e=function(t){var e=Number(t);return isNaN(e)?0:0!==e&&isFinite(e)?(e>0?1:-1)*Math.floor(Math.abs(e)):e}(t);return Math.min(Math.max(e,0),a)},function(t){var e=this,n=Object(t);if(null==t)throw new TypeError("Array.from requires an array-like object - not null or undefined");var r,a=arguments.length>1?arguments[1]:void 0;if(void 0!==a){if(!o(a))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(r=arguments[2])}for(var s,l=i(n.length),c=o(e)?Object(new e(l)):new Array(l),u=0;u<l;)s=n[u],c[u]=a?void 0===r?a(s,u):a.call(r,s,u):s,u+=1;return c.length=l,c})),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(t,e){e=e||window;for(var n=0;n<this.length;n++)t.call(e,this[n],n,this)}),[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})}))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,e){e||(e=window.location.href),t=t.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)").exec(e);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=["#text","#comment"];e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"fade";if(!t||!e)return!1;-1===r.indexOf(e.nodeName.toLowerCase())&&("masonry"===n&&(e.style.opacity=0),t.appendChild(e))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!t)return!1;var e=document.createElement("tbody");e.innerHTML=t;var n=[e];return n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(65);e.default=function(t){if(!t)return!1;var e="",n=".html",o=t.addons.cache_path+t.addons.cache_id;if(t.init&&t.addons.seo&&t.isPaged)e=o+"/page-1-"+t.start_page+n;else if(t.addons.filters){var a=(0,r.parseQuerystring)(o);if(t.init&&t.isPaged)e=a+"/page-1-"+t.addons.filters_startpage+n;else{var i=t.page+1;"true"===t.addons.preloaded&&(i=t.page+2),e=a+"/page-"+i+n}}else if(t.addons.nextpage){var s=void 0;t.addons.paging?s=parseInt(t.page)+1:(s=parseInt(t.page)+2,t.isPaged&&(s=parseInt(t.page)+parseInt(t.addons.nextpage_startpage)+1)),e=o+"/page-"+s+n}else e=t.addons.single_post?o+"/"+t.addons.single_post_id+n:"true"===t.addons.comments&&"true"===t.addons.preloaded?o+"/page-"+(t.page+2)+n:o+"/page-"+(t.page+1)+n;return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){for(var e=window.location.search.substring(1).split("&"),n=0;n<e.length;n++){var r=e[n].split("=");if(decodeURIComponent(r[0])==t)return decodeURIComponent(r[1])}return!1}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.almGetAjaxParams=function(t,e,n){var r={id:t.id,post_id:t.post_id,slug:t.slug,canonical_url:encodeURIComponent(t.canonical_url),posts_per_page:t.posts_per_page,page:t.page,offset:t.offset,post_type:t.post_type,repeater:t.repeater,seo_start_page:t.start_page};t.theme_repeater&&(r.theme_repeater=t.theme_repeater);t.addons.filters&&(r.filters=t.addons.filters,r.filters_startpage=t.addons.filters_startpage);t.addons.paging&&(r.paging=t.addons.paging);t.addons.preloaded&&(r.preloaded=t.addons.preloaded,r.preloaded_amount=t.addons.preloaded_amount);"true"===t.addons.cache&&(r.cache_id=t.addons.cache_id,r.cache_logged_in=t.addons.cache_logged_in);t.acf_array&&(r.acf=t.acf_array);t.term_query_array&&(r.term_query=t.term_query_array);t.cta_array&&(r.cta=t.cta_array);t.comments_array&&(r.comments=t.comments_array);t.nextpage_array&&(r.nextpage=t.nextpage_array);t.single_post_array&&(r.single_post=t.single_post_array);t.users_array&&(r.users=t.users_array);t.listing.dataset.lang&&(r.lang=t.listing.dataset.lang);t.listing.dataset.stickyPosts&&(r.sticky_posts=t.listing.dataset.stickyPosts);t.listing.dataset.postFormat&&(r.post_format=t.listing.dataset.postFormat);t.listing.dataset.category&&(r.category=t.listing.dataset.category);t.listing.dataset.categoryAnd&&(r.category__and=t.listing.dataset.categoryAnd);t.listing.dataset.categoryNotIn&&(r.category__not_in=t.listing.dataset.categoryNotIn);t.listing.dataset.tag&&(r.tag=t.listing.dataset.tag);t.listing.dataset.tagAnd&&(r.tag__and=t.listing.dataset.tagAnd);t.listing.dataset.tagNotIn&&(r.tag__not_in=t.listing.dataset.tagNotIn);t.listing.dataset.taxonomy&&(r.taxonomy=t.listing.dataset.taxonomy);t.listing.dataset.taxonomyTerms&&(r.taxonomy_terms=t.listing.dataset.taxonomyTerms);t.listing.dataset.taxonomyOperator&&(r.taxonomy_operator=t.listing.dataset.taxonomyOperator);t.listing.dataset.taxonomyRelation&&(r.taxonomy_relation=t.listing.dataset.taxonomyRelation);t.listing.dataset.metaKey&&(r.meta_key=t.listing.dataset.metaKey);t.listing.dataset.metaValue&&(r.meta_value=t.listing.dataset.metaValue);t.listing.dataset.metaCompare&&(r.meta_compare=t.listing.dataset.metaCompare);t.listing.dataset.metaRelation&&(r.meta_relation=t.listing.dataset.metaRelation);t.listing.dataset.metaType&&(r.meta_type=t.listing.dataset.metaType);t.listing.dataset.author&&(r.author=t.listing.dataset.author);t.listing.dataset.year&&(r.year=t.listing.dataset.year);t.listing.dataset.month&&(r.month=t.listing.dataset.month);t.listing.dataset.day&&(r.day=t.listing.dataset.day);t.listing.dataset.order&&(r.order=t.listing.dataset.order);t.listing.dataset.orderby&&(r.orderby=t.listing.dataset.orderby);t.listing.dataset.postStatus&&(r.post_status=t.listing.dataset.postStatus);t.listing.dataset.postIn&&(r.post__in=t.listing.dataset.postIn);t.listing.dataset.postNotIn&&(r.post__not_in=t.listing.dataset.postNotIn);t.listing.dataset.exclude&&(r.exclude=t.listing.dataset.exclude);t.listing.dataset.search&&(r.search=t.listing.dataset.search);t.listing.dataset.s&&(r.search=t.listing.dataset.s);t.listing.dataset.customArgs&&(r.custom_args=t.listing.dataset.customArgs);return r.action=e,r.query_type=n,r},e.almGetRestParams=function(t){return{id:t.id,post_id:t.post_id,posts_per_page:t.posts_per_page,page:t.page,offset:t.offset,slug:t.slug,canonical_url:encodeURIComponent(t.canonical_url),post_type:t.post_type,post_format:t.listing.dataset.postFormat,category:t.listing.dataset.category,category__not_in:t.listing.dataset.categoryNotIn,tag:t.listing.dataset.tag,tag__not_in:t.listing.dataset.tagNotIn,taxonomy:t.listing.dataset.taxonomy,taxonomy_terms:t.listing.dataset.taxonomyTerms,taxonomy_operator:t.listing.dataset.taxonomyOperator,taxonomy_relation:t.listing.dataset.taxonomyRelation,meta_key:t.listing.dataset.metaKey,meta_value:t.listing.dataset.metaValue,meta_compare:t.listing.dataset.metaCompare,meta_relation:t.listing.dataset.metaRelation,meta_type:t.listing.dataset.metaType,author:t.listing.dataset.author,year:t.listing.dataset.year,month:t.listing.dataset.month,day:t.listing.dataset.day,post_status:t.listing.dataset.postStatus,order:t.listing.dataset.order,orderby:t.listing.dataset.orderby,post__in:t.listing.dataset.postIn,post__not_in:t.listing.dataset.postNotIn,search:t.listing.dataset.search,s:t.listing.dataset.s,custom_args:t.listing.dataset.customArgs,lang:t.lang,preloaded:t.addons.preloaded,preloaded_amount:t.addons.preloaded_amount,seo_start_page:t.start_page}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(104));e.default=function(t){return new Promise((function(e){var n="standard";t.addons.nextpage?(n="nextpage",t.addons.paging?t.AjaxLoadMore.setLocalizedVar("page",parseInt(t.page)+1):t.AjaxLoadMore.setLocalizedVar("page",parseInt(t.page)+parseInt(t.addons.nextpage_startpage)+1)):t.addons.woocommerce?(n="woocommerce",t.AjaxLoadMore.setLocalizedVar("page",parseInt(t.page)+1)):t.AjaxLoadMore.setLocalizedVar("page",parseInt(t.page)+1),"true"===t.addons.preloaded||t.addons.nextpage||t.addons.woocommerce||t.AjaxLoadMore.setLocalizedVar("total_posts",t.totalposts),t.AjaxLoadMore.setLocalizedVar("post_count",function(t){var e=parseInt(t.posts),n=parseInt(t.addons.preloaded_amount),r=e+n;return r=t.start_page>1?r-n:r,r=t.addons.filters_startpage>1?r-n:r,r=t.addons.single_post?r+1:r,r=t.addons.nextpage?r+1:r}(t)),r.almResultsText(t,n),e(!0)}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(66);(r=o)&&r.__esModule;var a={init:function(t){if(!0===this.isScript(t))t.parentNode.replaceChild(this.clone(t),t);else{var e=0,n=t.childNodes;if(void 0===n){var r=(new DOMParser).parseFromString(t,"text/html");r&&(n=r.body.childNodes)}for(;e<n.length;)this.replace(n[e++])}return t},replace:function(t){if(!0===this.isScript(t))t.parentNode.replaceChild(this.clone(t),t);else for(var e=0,n=t.childNodes;e<n.length;)this.replace(n[e++]);return t},isScript:function(t){return"SCRIPT"===t.tagName},clone:function(t){var e=document.createElement("script");e.text=t.innerHTML;for(var n=t.attributes.length-1;n>=0;n--)e.setAttribute(t.attributes[n].name,t.attributes[n].value);return e}};e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){if(!t||!t.trigger)return!1;var e=t.trigger.querySelector("button"),n=e?e.dataset.url:"";return n||""}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=d(n(50)),o=d(n(102)),a=d(n(66)),i=d(n(67)),s=d(n(103)),l=n(65),c=n(106),u=d(n(49));function d(t){return t&&t.__esModule?t:{default:t}}var f=n(68);e.default=function t(e,n,d){return new Promise((function(p){var g=e.listing,h=e.html,m=e.masonry_selector,v=e.masonry_columnwidth,y=e.masonry_animation,_=e.masonry_horizontalorder,b=e.speed,w=e.masonry_init,x=(b+100)/1e3+"s",S="scale(0.5)",A="scale(1)";if("zoom-out"===y&&(S="translateY(-20px) scale(1.25)",A="translateY(0) scale(1)"),"slide-up"===y&&(S="translateY(50px)",A="translateY(0)"),"slide-down"===y&&(S="translateY(-50px)",A="translateY(0)"),"none"===y&&(S="translateY(0)",A="translateY(0)"),v?isNaN(v)||(v=parseInt(v)):v=m,_="true"===_,d)g.parentNode.style.opacity=0,t(e,!0,!1),p(!0);else if(w&&n)(0,i.default)(g,e.ua),f(g,(function(){var t={itemSelector:m,transitionDuration:x,columnWidth:v,horizontalOrder:_,hiddenStyle:{transform:S,opacity:0},visibleStyle:{transform:A,opacity:1}},n=window.alm_masonry_vars;n&&Object.keys(n).forEach((function(e){t[e]=n[e]}));var o=g.querySelectorAll(m);e.addons.filters&&(o=(0,l.createMasonryFiltersPages)(e,Array.prototype.slice.call(o))),e.addons.seo&&(o=(0,c.createMasonrySEOPages)(e,Array.prototype.slice.call(o))),setTimeout((function(){e.msnry=new Masonry(g,t),(0,r.default)(g.parentNode,125),p(!0)}),1)}));else{var j=(0,s.default)((0,a.default)(h,"text/html"));j&&((0,o.default)(e.listing,j,"masonry"),(0,i.default)(g,e.ua),f(g,(function(){e.msnry.appended(j),(0,u.default)(e,j,j.length,!1),e.addons.filters&&(0,l.createMasonryFiltersPage)(e,j[0]),e.addons.seo&&(0,c.createMasonrySEOPage)(e,j[0]),p(!0)})))}}))}},function(t,e,n){var r,o;"undefined"!=typeof window&&window,void 0===(o="function"==typeof(r=function(){"use strict";function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var n=this._events=this._events||{},r=n[t]=n[t]||[];return-1==r.indexOf(e)&&r.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var n=this._onceEvents=this._onceEvents||{};return(n[t]=n[t]||{})[e]=!0,this}},e.off=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){var r=n.indexOf(e);return-1!=r&&n.splice(r,1),this}},e.emitEvent=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){n=n.slice(0),e=e||[];for(var r=this._onceEvents&&this._onceEvents[t],o=0;o<n.length;o++){var a=n[o];r&&r[a]&&(this.off(t,a),delete r[a]),a.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t})?r.call(e,n,e,t):r)||(t.exports=o)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);r=!0);}catch(t){o=!0,a=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=s(n(50)),a=s(n(69)),i=n(105);function s(t){return t&&t.__esModule?t:{default:t}}e.default=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"filter";if(n.target){var o=document.querySelectorAll('.ajax-load-more-wrap[data-id="'+n.target+'"]');o.forEach((function(o){l(t,e,n,o,r)}))}else{var a=document.querySelectorAll(".ajax-load-more-wrap");a.forEach((function(o){l(t,e,n,o,r)}))}(0,i.clearTOC)()};var l=function(t,e,n,r,o){if("fade"===t||"masonry"===t){switch(o){case"filter":r.classList.add("alm-is-filtering"),(0,a.default)(r,e);break;case"tab":r.classList.add("alm-loading");var i=r.querySelector(".alm-listing");r.style.height=i.offsetHeight+"px",(0,a.default)(i,e)}setTimeout((function(){c(e,n,r,o)}),e)}else r.classList.add("alm-is-filtering"),c(e,n,r,o)},c=function(t,e,n,r){var o=n.querySelector(".alm-btn-wrap"),a=n.querySelectorAll(".alm-listing");[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(a)).forEach((function(t){t.innerHTML=""}));var i=o.querySelector(".alm-load-more-btn");i&&i.classList.remove("done");var s=o.querySelector(".alm-paging");s&&(s.style.opacity=0),e.preloadedAmount=0,u(t,e,n,r)},u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,e=arguments[1],n=arguments[2],a=arguments[3],i=n.querySelector(".alm-listing")||n.querySelector(".alm-comments");if(!i)return!1;switch(a){case"filter":var s=!0,l=!1,c=void 0;try{for(var u,d=Object.entries(e)[Symbol.iterator]();!(s=(u=d.next()).done);s=!0){var f=u.value,p=r(f,2),g=p[0],h=p[1];g=g.replace(/\W+/g,"-").replace(/([a-z\d])([A-Z])/g,"$1-$2").toLowerCase(),i.setAttribute("data-"+g,h)}}catch(t){l=!0,c=t}finally{try{!s&&d.return&&d.return()}finally{if(l)throw c}}(0,o.default)(n,t);break;case"tab":i.setAttribute("data-preloaded","false"),i.setAttribute("data-pause","false"),i.setAttribute("data-tab-template",e.tabTemplate)}var m="";switch(e.target?(m=document.querySelector('.ajax-load-more-wrap[data-id="'+e.target+'"]'))&&window.almInit(m):(m=document.querySelector(".ajax-load-more-wrap"))&&window.almInit(m),a){case"filter":"function"==typeof almFilterComplete&&almFilterComplete();break;case"tab":"function"==typeof almTabsComplete&&almTabsComplete()}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(""===e)return!1;e=e.replace(/(<p><\/p>)+/g,""),t.innerHTML=e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){if(t&&t.debug){var e={query:t.debug,localize:t.localize};console.log("ALM Debug:",e)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){if(!t)return!1;var e=-1!==t.scroll_distance_orig.toString().indexOf("-"),n=t.scroll_distance_orig.toString().replace("-","").replace("%",""),r=t.window.innerHeight,o=Math.floor(r/100*parseInt(n));return parseInt(e?"-"+o:o)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.showPlaceholder=function(t){if(!t||!t.main||t.addons.paging)return!1;t.placeholder&&(t.placeholder.style.display="block",(0,r.default)(t.placeholder,75))},e.hidePlaceholder=function(t){if(!t||!t.main||t.addons.paging)return!1;t.placeholder&&((0,o.default)(t.placeholder,75),setTimeout((function(){t.placeholder.style.display="none"}),75))};var r=a(n(50)),o=a(n(69));function a(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){"use strict";function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={html:"",meta:{postcount:1,totalposts:1,debug:"Single Posts Query"}};if(200===t.status&&t.data&&e){var r=document.createElement("div");r.innerHTML=t.data;var o=r.querySelector(e);o&&(n.html=o.innerHTML)}return n}Object.defineProperty(e,"__esModule",{value:!0}),e.singlePostHTML=r,e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createCacheFile=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"standard";if("true"!==t.addons.cache||!e||""===e)return!1;var r="single"===n?t.addons.single_post_id:"page-"+(t.page+1),o=new FormData;o.append("action","alm_cache_from_html"),o.append("security",alm_localize.alm_nonce),o.append("cache_id",t.addons.cache_id),o.append("cache_logged_in",t.addons.cache_logged_in),o.append("canonical_url",t.canonical_url),o.append("name",r),o.append("html",e.trim()),a.default.post(alm_localize.ajaxurl,o).then((function(e){console.log("Cache created for: "+t.canonical_url)}))},e.wooCache=function(t,e){if("true"!==t.addons.cache||!e||""===e)return!1;var n=new FormData;n.append("action","alm_cache_from_html"),n.append("security",alm_localize.alm_nonce),n.append("cache_id",t.addons.cache_id),n.append("cache_logged_in",t.addons.cache_logged_in),n.append("canonical_url",t.canonical_url),n.append("name","page-"+t.page),n.append("html",e.trim()),a.default.post(alm_localize.ajaxurl,n).then((function(e){console.log("Cache created for post: "+t.canonical_url)}))};var r,o=n(63),a=(r=o)&&r.__esModule?r:{default:r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.wooInit=function(t){if(!t||!t.addons.woocommerce)return!1;t.button.dataset.page=t.addons.woocommerce_settings.paged+1;var e=t.addons.woocommerce_settings.paged_urls[t.addons.woocommerce_settings.paged];t.button.dataset.url=e||"";var n=document.querySelector(t.addons.woocommerce_settings.container);if(n){n.setAttribute("aria-live","polite"),n.setAttribute("aria-atomic","true"),t.listing.removeAttribute("aria-live"),t.listing.removeAttribute("aria-atomic");var r=n.querySelector(t.addons.woocommerce_settings.products);r&&(r.classList.add("alm-woocommerce"),r.dataset.url=t.addons.woocommerce_settings.paged_urls[t.addons.woocommerce_settings.paged-1],r.dataset.page=t.page,r.dataset.pageTitle=document.title),t.addons.woocommerce_settings.paged>1&&function(t){if(t&&t.addons.woocommerce_settings.results_text){var e=document.querySelectorAll(t.addons.woocommerce_settings.results);if(e.length<1)return!1;var n=t.addons.woocommerce_settings.settings.previous_page_link,r=t.addons.woocommerce_settings.settings.previous_page_label,o=t.addons.woocommerce_settings.settings.previous_page_sep;e.forEach((function(t){n&&r&&(t.innerHTML=s(t,n,r,o))}))}}(t)}},e.woocommerce=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document.title;if(!t||!e)return!1;return new Promise((function(r){var a=document.querySelector(e.addons.woocommerce_settings.container),s=t.querySelectorAll(e.addons.woocommerce_settings.products),l=e.addons.woocommerce_settings.paged_urls[e.page];a&&s&&l&&(s=Array.prototype.slice.call(s),i(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.default)(a,s,e,n,l,"alm-woocommerce");case 2:r(!0);case 3:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log(t,"There was an error with WooCommerce")})))}))},e.wooReset=function(){return new Promise((function(t){var e=window.location;r.default.get(e).then((function(e){if(200===e.status&&e.data){var n=document.createElement("div");n.innerHTML=e.data;var r=n.querySelector('.ajax-load-more-wrap .alm-listing[data-woo="true"]'),o=r?r.dataset.wooSettings:"";t(o)}else t(!1)})).catch((function(e){t(!1)}))}))},e.wooGetContent=function(t,e){var n={html:"",meta:{postcount:1,totalposts:e.localize.total_posts,debug:"WooCommerce Query"}};if(200===t.status&&t.data){var r=document.createElement("div");r.innerHTML=t.data;var o=r.querySelector("title").innerHTML;n.pageTitle=o;var a=r.querySelector(e.addons.woocommerce_settings.container);n.html=a?a.innerHTML:"",function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments[1];if(t&&e&&e.addons.woocommerce_settings.results_text){var n=t.querySelector(e.addons.woocommerce_settings.results),r=e.addons.woocommerce_settings.settings.previous_page_link,o=e.addons.woocommerce_settings.settings.previous_page_label,a=e.addons.woocommerce_settings.settings.previous_page_sep;e.addons.woocommerce_settings.results_text&&e.addons.woocommerce_settings.results_text.forEach((function(t){t.innerHTML=r&&o?s(n,r,o,a):n.innerHTML}))}}(r,e)}return n};var r=a(n(63)),o=a(n(107));function a(t){return t&&t.__esModule?t:{default:t}}function i(t){return function(){var e=t.apply(this,arguments);return new Promise((function(t,n){return function r(o,a){try{var i=e[o](a),s=i.value}catch(t){return void n(t)}if(!i.done)return Promise.resolve(s).then((function(t){r("next",t)}),(function(t){r("throw",t)}));t(s)}("next")}))}}function s(t,e,n,r){var o=" "+r+' <a href="'+e+'">'+n+"</a>";return t.innerHTML+o}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(67),a=(r=o)&&r.__esModule?r:{default:r};var i=n(68);e.default=function(t,e,n){return new Promise((function(r){i(e,(function(){e.style.transition="all 0.4s ease",t.appendChild(e),(0,a.default)(e,n),r(!0)}))}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.elementorInit=function(t){if(!t.addons.elementor||!t.addons.elementor_type||"posts"===!t.addons.elementor_type)return!1;var e=t.addons.elementor_target_element;if(e){t.button.dataset.page=t.addons.elementor_paged;var n=t.addons.elementor_pages[t.addons.elementor_paged-1];t.button.dataset.url=n||"",e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),t.listing.removeAttribute("aria-live"),t.listing.removeAttribute("aria-atomic");var r=e.querySelector("."+t.addons.elementor_item_class);if(r&&(r.classList.add("alm-elementor"),r.dataset.url=window.location,r.dataset.page=t.addons.elementor_paged,r.dataset.pageTitle=document.title),t.addons.elementor_paged,t.addons.elementor_masonry){var o=void 0;setTimeout((function(){window.addEventListener("resize",(function(){clearTimeout(o),o=setTimeout((function(){s(t,"."+t.addons.elementor_container_class,"."+t.addons.elementor_item_class)}),100)}))}),250)}}},e.elementor=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document.title;if(!t||!e)return!1;return new Promise((function(r){var o=e.addons.elementor_target_element.querySelector("."+e.addons.elementor_container_class),l=t.querySelectorAll("."+e.addons.elementor_item_class),c=e.addons.elementor_pages[e.page-1];o&&l&&c&&(l=Array.prototype.slice.call(l),i(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,a.default)(o,l,e,n,c,"alm-elementor");case 2:e.addons.elementor_masonry&&setTimeout((function(){s(e,"."+e.addons.elementor_container_class,"."+e.addons.elementor_item_class)}),125),r(!0);case 4:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log(t,"There was an error with Elementor")})))}))},e.elementorGetContent=function(t,e){var n={html:"",meta:{postcount:1,totalposts:e.localize.total_posts,debug:"Elementor Query"}};if(200===t.status&&t.data){var r=document.createElement("div");r.innerHTML=t.data;var o=r.querySelector("title").innerHTML;n.pageTitle=o;var a=r.querySelector(e.addons.elementor_target+" ."+e.addons.elementor_container_class);n.html=a?a.innerHTML:""}return n},e.elementorGetPages=l,e.elementorCreateParams=function(t){t.addons.elementor_settings=JSON.parse(t.listing.dataset.elementorSettings),t.addons.elementor_type="posts",t.addons.elementor_target=t.addons.elementor_settings.target,t.addons.elementor_target_element=t.addons.elementor_target?document.querySelector(".elementor-widget-wrap "+t.addons.elementor_target):"",t.addons.elementor_paged=t.addons.elementor_settings.paged?parseInt(t.addons.elementor_settings.paged):1,t.addons.elementor_container_class=t.addons.elementor_settings.container_class,t.addons.elementor_item_class=t.addons.elementor_settings.item_class,t.addons.elementor_pagination_class=t.addons.elementor_settings.pagination_class,t.addons.elementor_pagination_item=t.addons.elementor_settings.pagination_item,t.addons.elementor_controls=t.addons.elementor_settings.controls,t.addons.elementor_controls="true"===t.addons.elementor_controls,t.addons.elementor_scrolltop=parseInt(t.addons.elementor_settings.scrolltop),t.addons.elementor_pages=l(t.addons.elementor_pagination_class,t.addons.elementor_pagination_item,t.addons.elementor_target_element),t.page=parseInt(t.page)+t.addons.elementor_paged,(t=function(t){if(!t.addons.elementor_target_element)return t;var e=JSON.parse(t.addons.elementor_target_element.dataset.settings);if(!e)return t;t.addons.elementor_masonry=e.hasOwnProperty("cards_masonry")||e.hasOwnProperty("classic_masonry"),t.addons.elementor_masonry&&(t.addons.elementor_masonry_columns=parseInt(e.cards_columns)||parseInt(e.classic_columns),t.addons.elementor_masonry_columns_mobile=parseInt(e.cards_columns_mobile)||parseInt(e.classic_columns_mobile),t.addons.elementor_masonry_columns_tablet=parseInt(e.cards_columns_tablet)||parseInt(e.classic_columns_tablet),t.addons.elementor_masonry_gap=parseInt(e.cards_row_gap.size));return t}(t)).addons.elementor_target_element||console.warn("Ajax Load More: Unable to locate Elementor Posts Widget. Are you sure you've set up your target parameter correctly?");return t};var r,o=n(107),a=(r=o)&&r.__esModule?r:{default:r};function i(t){return function(){var e=t.apply(this,arguments);return new Promise((function(t,n){return function r(o,a){try{var i=e[o](a),s=i.value}catch(t){return void n(t)}if(!i.done)return Promise.resolve(s).then((function(t){r("next",t)}),(function(t){r("throw",t)}));t(s)}("next")}))}}function s(t,e,n){var r=[],o=t.addons.elementor_masonry_columns,a=t.addons.elementor_masonry_columns_tablet,i=t.addons.elementor_masonry_columns_mobile,s=t.addons.elementor_masonry_gap,l=o,c=window.elementorFrontendConfig&&window.elementorFrontendConfig.breakpoints?window.elementorFrontendConfig.breakpoints:0,u=window.innerWidth;l=u>c.lg?o:u>c.md?a:i;var d=document.querySelector(e);if(!d)return!1;var f=d.querySelectorAll(n);if(!f)return!1;f.forEach((function(t,e){var n=Math.floor(e/l),o=t.getBoundingClientRect().height+s;if(n){var a=jQuery(t).position(),i=e%l,c=Math.round(a.top)-r[i];c*=-1,t.style.marginTop=Math.round(c)+"px",r[i]+=o}else r.push(o)}))}function l(t,e,n){if(!n)return!1;var r=n.querySelector("."+t);return!!r&&r.querySelectorAll(e)}},function(t,e,n){n(182)},function(t,e,n){"use strict";n(183),n(326),n(328),n(331),n(333),n(335),n(337),n(339),n(341),n(343),n(345),n(347),n(349),n(353)},function(t,e,n){n(184),n(187),n(188),n(189),n(190),n(191),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(219),n(220),n(221),n(222),n(223),n(224),n(225),n(226),n(227),n(228),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(244),n(245),n(246),n(247),n(248),n(249),n(250),n(251),n(252),n(253),n(254),n(255),n(256),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(265),n(266),n(268),n(269),n(270),n(271),n(272),n(273),n(274),n(276),n(277),n(278),n(279),n(280),n(281),n(282),n(283),n(284),n(285),n(286),n(287),n(288),n(90),n(289),n(128),n(290),n(129),n(291),n(292),n(293),n(294),n(130),n(297),n(298),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),n(318),n(319),n(320),n(321),n(322),n(323),n(324),n(325),t.exports=n(7)},function(t,e,n){"use strict";var r=n(1),o=n(14),a=n(8),i=n(0),s=n(11),l=n(28).KEY,c=n(2),u=n(51),d=n(39),f=n(30),p=n(5),g=n(71),h=n(109),m=n(186),v=n(54),y=n(3),_=n(4),b=n(10),w=n(16),x=n(27),S=n(29),A=n(34),j=n(112),E=n(21),P=n(53),L=n(9),M=n(32),O=E.f,T=L.f,I=j.f,F=r.Symbol,C=r.JSON,N=C&&C.stringify,k=p("_hidden"),R=p("toPrimitive"),D={}.propertyIsEnumerable,q=u("symbol-registry"),z=u("symbols"),B=u("op-symbols"),W=Object.prototype,H="function"==typeof F&&!!P.f,U=r.QObject,V=!U||!U.prototype||!U.prototype.findChild,G=a&&c((function(){return 7!=A(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=O(W,e);r&&delete W[e],T(t,e,n),r&&t!==W&&T(W,e,r)}:T,Y=function(t){var e=z[t]=A(F.prototype);return e._k=t,e},X=H&&"symbol"==typeof F.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof F},Q=function(t,e,n){return t===W&&Q(B,e,n),y(t),e=x(e,!0),y(n),o(z,e)?(n.enumerable?(o(t,k)&&t[k][e]&&(t[k][e]=!1),n=A(n,{enumerable:S(0,!1)})):(o(t,k)||T(t,k,S(1,{})),t[k][e]=!0),G(t,e,n)):T(t,e,n)},$=function(t,e){y(t);for(var n,r=m(e=w(e)),o=0,a=r.length;a>o;)Q(t,n=r[o++],e[n]);return t},J=function(t){var e=D.call(this,t=x(t,!0));return!(this===W&&o(z,t)&&!o(B,t))&&(!(e||!o(this,t)||!o(z,t)||o(this,k)&&this[k][t])||e)},K=function(t,e){if(t=w(t),e=x(e,!0),t!==W||!o(z,e)||o(B,e)){var n=O(t,e);return!n||!o(z,e)||o(t,k)&&t[k][e]||(n.enumerable=!0),n}},Z=function(t){for(var e,n=I(w(t)),r=[],a=0;n.length>a;)o(z,e=n[a++])||e==k||e==l||r.push(e);return r},tt=function(t){for(var e,n=t===W,r=I(n?B:w(t)),a=[],i=0;r.length>i;)!o(z,e=r[i++])||n&&!o(W,e)||a.push(z[e]);return a};H||(s((F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor!");var t=f(arguments.length>0?arguments[0]:void 0),e=function(n){this===W&&e.call(B,n),o(this,k)&&o(this[k],t)&&(this[k][t]=!1),G(this,t,S(1,n))};return a&&V&&G(W,t,{configurable:!0,set:e}),Y(t)}).prototype,"toString",(function(){return this._k})),E.f=K,L.f=Q,n(35).f=j.f=Z,n(46).f=J,P.f=tt,a&&!n(31)&&s(W,"propertyIsEnumerable",J,!0),g.f=function(t){return Y(p(t))}),i(i.G+i.W+i.F*!H,{Symbol:F});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)p(et[nt++]);for(var rt=M(p.store),ot=0;rt.length>ot;)h(rt[ot++]);i(i.S+i.F*!H,"Symbol",{for:function(t){return o(q,t+="")?q[t]:q[t]=F(t)},keyFor:function(t){if(!X(t))throw TypeError(t+" is not a symbol!");for(var e in q)if(q[e]===t)return e},useSetter:function(){V=!0},useSimple:function(){V=!1}}),i(i.S+i.F*!H,"Object",{create:function(t,e){return void 0===e?A(t):$(A(t),e)},defineProperty:Q,defineProperties:$,getOwnPropertyDescriptor:K,getOwnPropertyNames:Z,getOwnPropertySymbols:tt});var at=c((function(){P.f(1)}));i(i.S+i.F*at,"Object",{getOwnPropertySymbols:function(t){return P.f(b(t))}}),C&&i(i.S+i.F*(!H||c((function(){var t=F();return"[null]"!=N([t])||"{}"!=N({a:t})||"{}"!=N(Object(t))}))),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(_(e)||void 0!==t)&&!X(t))return v(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!X(e))return e}),r[1]=e,N.apply(C,r)}}),F.prototype[R]||n(15)(F.prototype,R,F.prototype.valueOf),d(F,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(t,e,n){t.exports=n(51)("native-function-to-string",Function.toString)},function(t,e,n){var r=n(32),o=n(53),a=n(46);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var i,s=n(t),l=a.f,c=0;s.length>c;)l.call(t,i=s[c++])&&e.push(i);return e}},function(t,e,n){var r=n(0);r(r.S,"Object",{create:n(34)})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(8),"Object",{defineProperty:n(9).f})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(8),"Object",{defineProperties:n(111)})},function(t,e,n){var r=n(16),o=n(21).f;n(22)("getOwnPropertyDescriptor",(function(){return function(t,e){return o(r(t),e)}}))},function(t,e,n){var r=n(10),o=n(36);n(22)("getPrototypeOf",(function(){return function(t){return o(r(t))}}))},function(t,e,n){var r=n(10),o=n(32);n(22)("keys",(function(){return function(t){return o(r(t))}}))},function(t,e,n){n(22)("getOwnPropertyNames",(function(){return n(112).f}))},function(t,e,n){var r=n(4),o=n(28).onFreeze;n(22)("freeze",(function(t){return function(e){return t&&r(e)?t(o(e)):e}}))},function(t,e,n){var r=n(4),o=n(28).onFreeze;n(22)("seal",(function(t){return function(e){return t&&r(e)?t(o(e)):e}}))},function(t,e,n){var r=n(4),o=n(28).onFreeze;n(22)("preventExtensions",(function(t){return function(e){return t&&r(e)?t(o(e)):e}}))},function(t,e,n){var r=n(4);n(22)("isFrozen",(function(t){return function(e){return!r(e)||!!t&&t(e)}}))},function(t,e,n){var r=n(4);n(22)("isSealed",(function(t){return function(e){return!r(e)||!!t&&t(e)}}))},function(t,e,n){var r=n(4);n(22)("isExtensible",(function(t){return function(e){return!!r(e)&&(!t||t(e))}}))},function(t,e,n){var r=n(0);r(r.S+r.F,"Object",{assign:n(113)})},function(t,e,n){var r=n(0);r(r.S,"Object",{is:n(114)})},function(t,e,n){var r=n(0);r(r.S,"Object",{setPrototypeOf:n(75).set})},function(t,e,n){"use strict";var r=n(47),o={};o[n(5)("toStringTag")]="z",o+""!="[object z]"&&n(11)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},function(t,e,n){var r=n(0);r(r.P,"Function",{bind:n(115)})},function(t,e,n){var r=n(9).f,o=Function.prototype,a=/^\s*function ([^ (]*)/;"name"in o||n(8)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(a)[1]}catch(t){return""}}})},function(t,e,n){"use strict";var r=n(4),o=n(36),a=n(5)("hasInstance"),i=Function.prototype;a in i||n(9).f(i,a,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=o(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){var r=n(0),o=n(117);r(r.G+r.F*(parseInt!=o),{parseInt:o})},function(t,e,n){var r=n(0),o=n(118);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(t,e,n){"use strict";var r=n(1),o=n(14),a=n(24),i=n(77),s=n(27),l=n(2),c=n(35).f,u=n(21).f,d=n(9).f,f=n(40).trim,p=r.Number,g=p,h=p.prototype,m="Number"==a(n(34)(h)),v="trim"in String.prototype,y=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){var n,r,o,a=(e=v?e.trim():f(e,3)).charCodeAt(0);if(43===a||45===a){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===a){switch(e.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+e}for(var i,l=e.slice(2),c=0,u=l.length;c<u;c++)if((i=l.charCodeAt(c))<48||i>o)return NaN;return parseInt(l,r)}}return+e};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof p&&(m?l((function(){h.valueOf.call(n)})):"Number"!=a(n))?i(new g(y(e)),n,p):y(e)};for(var _,b=n(8)?c(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;b.length>w;w++)o(g,_=b[w])&&!o(p,_)&&d(p,_,u(g,_));p.prototype=h,h.constructor=p,n(11)(r,"Number",p)}},function(t,e,n){"use strict";var r=n(0),o=n(20),a=n(119),i=n(78),s=1..toFixed,l=Math.floor,c=[0,0,0,0,0,0],u="Number.toFixed: incorrect invocation!",d=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*c[n],c[n]=r%1e7,r=l(r/1e7)},f=function(t){for(var e=6,n=0;--e>=0;)n+=c[e],c[e]=l(n/t),n=n%t*1e7},p=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==c[t]){var n=String(c[t]);e=""===e?n:e+i.call("0",7-n.length)+n}return e},g=function(t,e,n){return 0===e?n:e%2==1?g(t,e-1,n*t):g(t*t,e/2,n)};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(2)((function(){s.call({})}))),"Number",{toFixed:function(t){var e,n,r,s,l=a(this,u),c=o(t),h="",m="0";if(c<0||c>20)throw RangeError(u);if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(h="-",l=-l),l>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(l*g(2,69,1))-69)<0?l*g(2,-e,1):l/g(2,e,1),n*=4503599627370496,(e=52-e)>0){for(d(0,n),r=c;r>=7;)d(1e7,0),r-=7;for(d(g(10,r,1),0),r=e-1;r>=23;)f(1<<23),r-=23;f(1<<r),d(1,1),f(2),m=p()}else d(0,n),d(1<<-e,0),m=p()+i.call("0",c);return m=c>0?h+((s=m.length)<=c?"0."+i.call("0",c-s)+m:m.slice(0,s-c)+"."+m.slice(s-c)):h+m}})},function(t,e,n){"use strict";var r=n(0),o=n(2),a=n(119),i=1..toPrecision;r(r.P+r.F*(o((function(){return"1"!==i.call(1,void 0)}))||!o((function(){i.call({})}))),"Number",{toPrecision:function(t){var e=a(this,"Number#toPrecision: incorrect invocation!");return void 0===t?i.call(e):i.call(e,t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var r=n(0),o=n(1).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&o(t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{isInteger:n(120)})},function(t,e,n){var r=n(0);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var r=n(0),o=n(120),a=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return o(t)&&a(t)<=9007199254740991}})},function(t,e,n){var r=n(0);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){var r=n(0);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var r=n(0),o=n(118);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(t,e,n){var r=n(0),o=n(117);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(t,e,n){var r=n(0),o=n(121),a=Math.sqrt,i=Math.acosh;r(r.S+r.F*!(i&&710==Math.floor(i(Number.MAX_VALUE))&&i(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:o(t-1+a(t-1)*a(t+1))}})},function(t,e,n){var r=n(0),o=Math.asinh;r(r.S+r.F*!(o&&1/o(0)>0),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},function(t,e,n){var r=n(0),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){var r=n(0),o=n(79);r(r.S,"Math",{cbrt:function(t){return o(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){var r=n(0),o=Math.exp;r(r.S,"Math",{cosh:function(t){return(o(t=+t)+o(-t))/2}})},function(t,e,n){var r=n(0),o=n(80);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},function(t,e,n){var r=n(0);r(r.S,"Math",{fround:n(229)})},function(t,e,n){var r=n(79),o=Math.pow,a=o(2,-52),i=o(2,-23),s=o(2,127)*(2-i),l=o(2,-126);t.exports=Math.fround||function(t){var e,n,o=Math.abs(t),c=r(t);return o<l?c*(o/l/i+1/a-1/a)*l*i:(n=(e=(1+i/a)*o)-(e-o))>s||n!=n?c*(1/0):c*n}},function(t,e,n){var r=n(0),o=Math.abs;r(r.S,"Math",{hypot:function(t,e){for(var n,r,a=0,i=0,s=arguments.length,l=0;i<s;)l<(n=o(arguments[i++]))?(a=a*(r=l/n)*r+1,l=n):a+=n>0?(r=n/l)*r:n;return l===1/0?1/0:l*Math.sqrt(a)}})},function(t,e,n){var r=n(0),o=Math.imul;r(r.S+r.F*n(2)((function(){return-5!=o(4294967295,5)||2!=o.length})),"Math",{imul:function(t,e){var n=+t,r=+e,o=65535&n,a=65535&r;return 0|o*a+((65535&n>>>16)*a+o*(65535&r>>>16)<<16>>>0)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log1p:n(121)})},function(t,e,n){var r=n(0);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var r=n(0);r(r.S,"Math",{sign:n(79)})},function(t,e,n){var r=n(0),o=n(80),a=Math.exp;r(r.S+r.F*n(2)((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(o(t)-o(-t))/2:(a(t-1)-a(-t-1))*(Math.E/2)}})},function(t,e,n){var r=n(0),o=n(80),a=Math.exp;r(r.S,"Math",{tanh:function(t){var e=o(t=+t),n=o(-t);return e==1/0?1:n==1/0?-1:(e-n)/(a(t)+a(-t))}})},function(t,e,n){var r=n(0);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){var r=n(0),o=n(33),a=String.fromCharCode,i=String.fromCodePoint;r(r.S+r.F*(!!i&&1!=i.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,i=0;r>i;){if(e=+arguments[i++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?a(e):a(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},function(t,e,n){var r=n(0),o=n(16),a=n(6);r(r.S,"String",{raw:function(t){for(var e=o(t.raw),n=a(e.length),r=arguments.length,i=[],s=0;n>s;)i.push(String(e[s++])),s<r&&i.push(String(arguments[s]));return i.join("")}})},function(t,e,n){"use strict";n(40)("trim",(function(t){return function(){return t(this,3)}}))},function(t,e,n){"use strict";var r=n(81)(!0);n(82)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},function(t,e,n){"use strict";var r=n(0),o=n(81)(!1);r(r.P,"String",{codePointAt:function(t){return o(this,t)}})},function(t,e,n){"use strict";var r=n(0),o=n(6),a=n(83),i="".endsWith;r(r.P+r.F*n(85)("endsWith"),"String",{endsWith:function(t){var e=a(this,t,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=o(e.length),s=void 0===n?r:Math.min(o(n),r),l=String(t);return i?i.call(e,l,s):e.slice(s-l.length,s)===l}})},function(t,e,n){"use strict";var r=n(0),o=n(83);r(r.P+r.F*n(85)("includes"),"String",{includes:function(t){return!!~o(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(0);r(r.P,"String",{repeat:n(78)})},function(t,e,n){"use strict";var r=n(0),o=n(6),a=n(83),i="".startsWith;r(r.P+r.F*n(85)("startsWith"),"String",{startsWith:function(t){var e=a(this,t,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return i?i.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){"use strict";n(12)("anchor",(function(t){return function(e){return t(this,"a","name",e)}}))},function(t,e,n){"use strict";n(12)("big",(function(t){return function(){return t(this,"big","","")}}))},function(t,e,n){"use strict";n(12)("blink",(function(t){return function(){return t(this,"blink","","")}}))},function(t,e,n){"use strict";n(12)("bold",(function(t){return function(){return t(this,"b","","")}}))},function(t,e,n){"use strict";n(12)("fixed",(function(t){return function(){return t(this,"tt","","")}}))},function(t,e,n){"use strict";n(12)("fontcolor",(function(t){return function(e){return t(this,"font","color",e)}}))},function(t,e,n){"use strict";n(12)("fontsize",(function(t){return function(e){return t(this,"font","size",e)}}))},function(t,e,n){"use strict";n(12)("italics",(function(t){return function(){return t(this,"i","","")}}))},function(t,e,n){"use strict";n(12)("link",(function(t){return function(e){return t(this,"a","href",e)}}))},function(t,e,n){"use strict";n(12)("small",(function(t){return function(){return t(this,"small","","")}}))},function(t,e,n){"use strict";n(12)("strike",(function(t){return function(){return t(this,"strike","","")}}))},function(t,e,n){"use strict";n(12)("sub",(function(t){return function(){return t(this,"sub","","")}}))},function(t,e,n){"use strict";n(12)("sup",(function(t){return function(){return t(this,"sup","","")}}))},function(t,e,n){var r=n(0);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,n){"use strict";var r=n(0),o=n(10),a=n(27);r(r.P+r.F*n(2)((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(t){var e=o(this),n=a(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var r=n(0),o=n(264);r(r.P+r.F*(Date.prototype.toISOString!==o),"Date",{toISOString:o})},function(t,e,n){"use strict";var r=n(2),o=Date.prototype.getTime,a=Date.prototype.toISOString,i=function(t){return t>9?t:"0"+t};t.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=a.call(new Date(-50000000000001))}))||!r((function(){a.call(new Date(NaN))}))?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+i(t.getUTCMonth()+1)+"-"+i(t.getUTCDate())+"T"+i(t.getUTCHours())+":"+i(t.getUTCMinutes())+":"+i(t.getUTCSeconds())+"."+(n>99?n:"0"+i(n))+"Z"}:a},function(t,e,n){var r=Date.prototype,o=r.toString,a=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(11)(r,"toString",(function(){var t=a.call(this);return t==t?o.call(this):"Invalid Date"}))},function(t,e,n){var r=n(5)("toPrimitive"),o=Date.prototype;r in o||n(15)(o,r,n(267))},function(t,e,n){"use strict";var r=n(3),o=n(27);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!=t)}},function(t,e,n){var r=n(0);r(r.S,"Array",{isArray:n(54)})},function(t,e,n){"use strict";var r=n(18),o=n(0),a=n(10),i=n(123),s=n(86),l=n(6),c=n(87),u=n(88);o(o.S+o.F*!n(55)((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,o,d,f=a(t),p="function"==typeof this?this:Array,g=arguments.length,h=g>1?arguments[1]:void 0,m=void 0!==h,v=0,y=u(f);if(m&&(h=r(h,g>2?arguments[2]:void 0,2)),null==y||p==Array&&s(y))for(n=new p(e=l(f.length));e>v;v++)c(n,v,m?h(f[v],v):f[v]);else for(d=y.call(f),n=new p;!(o=d.next()).done;v++)c(n,v,m?i(d,h,[o.value,v],!0):o.value);return n.length=v,n}})},function(t,e,n){"use strict";var r=n(0),o=n(87);r(r.S+r.F*n(2)((function(){function t(){}return!(Array.of.call(t)instanceof t)})),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)o(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){"use strict";var r=n(0),o=n(16),a=[].join;r(r.P+r.F*(n(45)!=Object||!n(17)(a)),"Array",{join:function(t){return a.call(o(this),void 0===t?",":t)}})},function(t,e,n){"use strict";var r=n(0),o=n(74),a=n(24),i=n(33),s=n(6),l=[].slice;r(r.P+r.F*n(2)((function(){o&&l.call(o)})),"Array",{slice:function(t,e){var n=s(this.length),r=a(this);if(e=void 0===e?n:e,"Array"==r)return l.call(this,t,e);for(var o=i(t,n),c=i(e,n),u=s(c-o),d=new Array(u),f=0;f<u;f++)d[f]="String"==r?this.charAt(o+f):this[o+f];return d}})},function(t,e,n){"use strict";var r=n(0),o=n(19),a=n(10),i=n(2),s=[].sort,l=[1,2,3];r(r.P+r.F*(i((function(){l.sort(void 0)}))||!i((function(){l.sort(null)}))||!n(17)(s)),"Array",{sort:function(t){return void 0===t?s.call(a(this)):s.call(a(this),o(t))}})},function(t,e,n){"use strict";var r=n(0),o=n(23)(0),a=n(17)([].forEach,!0);r(r.P+r.F*!a,"Array",{forEach:function(t){return o(this,t,arguments[1])}})},function(t,e,n){var r=n(4),o=n(54),a=n(5)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[a])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){"use strict";var r=n(0),o=n(23)(1);r(r.P+r.F*!n(17)([].map,!0),"Array",{map:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(23)(2);r(r.P+r.F*!n(17)([].filter,!0),"Array",{filter:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(23)(3);r(r.P+r.F*!n(17)([].some,!0),"Array",{some:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(23)(4);r(r.P+r.F*!n(17)([].every,!0),"Array",{every:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(125);r(r.P+r.F*!n(17)([].reduce,!0),"Array",{reduce:function(t){return o(this,t,arguments.length,arguments[1],!1)}})},function(t,e,n){"use strict";var r=n(0),o=n(125);r(r.P+r.F*!n(17)([].reduceRight,!0),"Array",{reduceRight:function(t){return o(this,t,arguments.length,arguments[1],!0)}})},function(t,e,n){"use strict";var r=n(0),o=n(52)(!1),a=[].indexOf,i=!!a&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(i||!n(17)(a)),"Array",{indexOf:function(t){return i?a.apply(this,arguments)||0:o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(16),a=n(20),i=n(6),s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(l||!n(17)(s)),"Array",{lastIndexOf:function(t){if(l)return s.apply(this,arguments)||0;var e=o(this),n=i(e.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,a(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},function(t,e,n){var r=n(0);r(r.P,"Array",{copyWithin:n(126)}),n(37)("copyWithin")},function(t,e,n){var r=n(0);r(r.P,"Array",{fill:n(89)}),n(37)("fill")},function(t,e,n){"use strict";var r=n(0),o=n(23)(5),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),r(r.P+r.F*a,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(37)("find")},function(t,e,n){"use strict";var r=n(0),o=n(23)(6),a="findIndex",i=!0;a in[]&&Array(1)[a]((function(){i=!1})),r(r.P+r.F*i,"Array",{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(37)(a)},function(t,e,n){n(42)("Array")},function(t,e,n){var r=n(1),o=n(77),a=n(9).f,i=n(35).f,s=n(84),l=n(56),c=r.RegExp,u=c,d=c.prototype,f=/a/g,p=/a/g,g=new c(f)!==f;if(n(8)&&(!g||n(2)((function(){return p[n(5)("match")]=!1,c(f)!=f||c(p)==p||"/a/i"!=c(f,"i")})))){c=function(t,e){var n=this instanceof c,r=s(t),a=void 0===e;return!n&&r&&t.constructor===c&&a?t:o(g?new u(r&&!a?t.source:t,e):u((r=t instanceof c)?t.source:t,r&&a?l.call(t):e),n?this:d,c)};for(var h=function(t){t in c||a(c,t,{configurable:!0,get:function(){return u[t]},set:function(e){u[t]=e}})},m=i(u),v=0;m.length>v;)h(m[v++]);d.constructor=c,c.prototype=d,n(11)(r,"RegExp",c)}n(42)("RegExp")},function(t,e,n){"use strict";n(129);var r=n(3),o=n(56),a=n(8),i=/./.toString,s=function(t){n(11)(RegExp.prototype,"toString",t,!0)};n(2)((function(){return"/a/b"!=i.call({source:"a",flags:"b"})}))?s((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!a&&t instanceof RegExp?o.call(t):void 0)})):"toString"!=i.name&&s((function(){return i.call(this)}))},function(t,e,n){"use strict";var r=n(3),o=n(6),a=n(92),i=n(57);n(58)("match",1,(function(t,e,n,s){return[function(n){var r=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=s(n,t,this);if(e.done)return e.value;var l=r(t),c=String(this);if(!l.global)return i(l,c);var u=l.unicode;l.lastIndex=0;for(var d,f=[],p=0;null!==(d=i(l,c));){var g=String(d[0]);f[p]=g,""===g&&(l.lastIndex=a(c,o(l.lastIndex),u)),p++}return 0===p?null:f}]}))},function(t,e,n){"use strict";var r=n(3),o=n(10),a=n(6),i=n(20),s=n(92),l=n(57),c=Math.max,u=Math.min,d=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g;n(58)("replace",2,(function(t,e,n,g){return[function(r,o){var a=t(this),i=null==r?void 0:r[e];return void 0!==i?i.call(r,a,o):n.call(String(a),r,o)},function(t,e){var o=g(n,t,this,e);if(o.done)return o.value;var d=r(t),f=String(this),p="function"==typeof e;p||(e=String(e));var m=d.global;if(m){var v=d.unicode;d.lastIndex=0}for(var y=[];;){var _=l(d,f);if(null===_)break;if(y.push(_),!m)break;""===String(_[0])&&(d.lastIndex=s(f,a(d.lastIndex),v))}for(var b,w="",x=0,S=0;S<y.length;S++){_=y[S];for(var A=String(_[0]),j=c(u(i(_.index),f.length),0),E=[],P=1;P<_.length;P++)E.push(void 0===(b=_[P])?b:String(b));var L=_.groups;if(p){var M=[A].concat(E,j,f);void 0!==L&&M.push(L);var O=String(e.apply(void 0,M))}else O=h(A,f,j,E,L,e);j>=x&&(w+=f.slice(x,j)+O,x=j+A.length)}return w+f.slice(x)}];function h(t,e,r,a,i,s){var l=r+t.length,c=a.length,u=p;return void 0!==i&&(i=o(i),u=f),n.call(s,u,(function(n,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(l);case"<":s=i[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>c){var f=d(u/10);return 0===f?n:f<=c?void 0===a[f-1]?o.charAt(1):a[f-1]+o.charAt(1):n}s=a[u-1]}return void 0===s?"":s}))}}))},function(t,e,n){"use strict";var r=n(3),o=n(114),a=n(57);n(58)("search",1,(function(t,e,n,i){return[function(n){var r=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=i(n,t,this);if(e.done)return e.value;var s=r(t),l=String(this),c=s.lastIndex;o(c,0)||(s.lastIndex=0);var u=a(s,l);return o(s.lastIndex,c)||(s.lastIndex=c),null===u?-1:u.index}]}))},function(t,e,n){"use strict";var r=n(84),o=n(3),a=n(48),i=n(92),s=n(6),l=n(57),c=n(91),u=n(2),d=Math.min,f=[].push,p="length",g=!u((function(){RegExp(4294967295,"y")}));n(58)("split",2,(function(t,e,n,u){var h;return h="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[p]||2!="ab".split(/(?:ab)*/)[p]||4!=".".split(/(.?)(.?)/)[p]||".".split(/()()/)[p]>1||"".split(/.?/)[p]?function(t,e){var o=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(o,t,e);for(var a,i,s,l=[],u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,g=void 0===e?4294967295:e>>>0,h=new RegExp(t.source,u+"g");(a=c.call(h,o))&&!((i=h.lastIndex)>d&&(l.push(o.slice(d,a.index)),a[p]>1&&a.index<o[p]&&f.apply(l,a.slice(1)),s=a[0][p],d=i,l[p]>=g));)h.lastIndex===a.index&&h.lastIndex++;return d===o[p]?!s&&h.test("")||l.push(""):l.push(o.slice(d)),l[p]>g?l.slice(0,g):l}:"0".split(void 0,0)[p]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var o=t(this),a=null==n?void 0:n[e];return void 0!==a?a.call(n,o,r):h.call(String(o),n,r)},function(t,e){var r=u(h,t,this,e,h!==n);if(r.done)return r.value;var c=o(t),f=String(this),p=a(c,RegExp),m=c.unicode,v=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(g?"y":"g"),y=new p(g?c:"^(?:"+c.source+")",v),_=void 0===e?4294967295:e>>>0;if(0===_)return[];if(0===f.length)return null===l(y,f)?[f]:[];for(var b=0,w=0,x=[];w<f.length;){y.lastIndex=g?w:0;var S,A=l(y,g?f:f.slice(w));if(null===A||(S=d(s(y.lastIndex+(g?0:w)),f.length))===b)w=i(f,w,m);else{if(x.push(f.slice(b,w)),x.length===_)return x;for(var j=1;j<=A.length-1;j++)if(x.push(A[j]),x.length===_)return x;w=b=S}}return x.push(f.slice(b)),x}]}))},function(t,e,n){var r=n(1),o=n(93).set,a=r.MutationObserver||r.WebKitMutationObserver,i=r.process,s=r.Promise,l="process"==n(24)(i);t.exports=function(){var t,e,n,c=function(){var r,o;for(l&&(r=i.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(l)n=function(){i.nextTick(c)};else if(!a||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);n=function(){u.then(c)}}else n=function(){o.call(r,c)};else{var d=!0,f=document.createTextNode("");new a(c).observe(f,{characterData:!0}),n=function(){f.data=d=!d}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){"use strict";var r=n(133),o=n(38);t.exports=n(61)("Map",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(t){var e=r.getEntry(o(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(o(this,"Map"),0===t?0:t,e)}},r,!0)},function(t,e,n){"use strict";var r=n(133),o=n(38);t.exports=n(61)("Set",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(o(this,"Set"),t=0===t?0:t,t)}},r)},function(t,e,n){"use strict";var r,o=n(1),a=n(23)(0),i=n(11),s=n(28),l=n(113),c=n(134),u=n(4),d=n(38),f=n(38),p=!o.ActiveXObject&&"ActiveXObject"in o,g=s.getWeak,h=Object.isExtensible,m=c.ufstore,v=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},y={get:function(t){if(u(t)){var e=g(t);return!0===e?m(d(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return c.def(d(this,"WeakMap"),t,e)}},_=t.exports=n(61)("WeakMap",v,y,c,!0,!0);f&&p&&(l((r=c.getConstructor(v,"WeakMap")).prototype,y),s.NEED=!0,a(["delete","has","get","set"],(function(t){var e=_.prototype,n=e[t];i(e,t,(function(e,o){if(u(e)&&!h(e)){this._f||(this._f=new r);var a=this._f[t](e,o);return"set"==t?this:a}return n.call(this,e,o)}))})))},function(t,e,n){"use strict";var r=n(134),o=n(38);n(61)("WeakSet",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(o(this,"WeakSet"),t,!0)}},r,!1,!0)},function(t,e,n){"use strict";var r=n(0),o=n(62),a=n(94),i=n(3),s=n(33),l=n(6),c=n(4),u=n(1).ArrayBuffer,d=n(48),f=a.ArrayBuffer,p=a.DataView,g=o.ABV&&u.isView,h=f.prototype.slice,m=o.VIEW;r(r.G+r.W+r.F*(u!==f),{ArrayBuffer:f}),r(r.S+r.F*!o.CONSTR,"ArrayBuffer",{isView:function(t){return g&&g(t)||c(t)&&m in t}}),r(r.P+r.U+r.F*n(2)((function(){return!new f(2).slice(1,void 0).byteLength})),"ArrayBuffer",{slice:function(t,e){if(void 0!==h&&void 0===e)return h.call(i(this),t);for(var n=i(this).byteLength,r=s(t,n),o=s(void 0===e?n:e,n),a=new(d(this,f))(l(o-r)),c=new p(this),u=new p(a),g=0;r<o;)u.setUint8(g++,c.getUint8(r++));return a}}),n(42)("ArrayBuffer")},function(t,e,n){var r=n(0);r(r.G+r.W+r.F*!n(62).ABV,{DataView:n(94).DataView})},function(t,e,n){n(26)("Int8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(26)("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(26)("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}),!0)},function(t,e,n){n(26)("Int16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(26)("Uint16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(26)("Int32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(26)("Uint32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(26)("Float32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(26)("Float64",8,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){var r=n(0),o=n(19),a=n(3),i=(n(1).Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!n(2)((function(){i((function(){}))})),"Reflect",{apply:function(t,e,n){var r=o(t),l=a(n);return i?i(r,e,l):s.call(r,e,l)}})},function(t,e,n){var r=n(0),o=n(34),a=n(19),i=n(3),s=n(4),l=n(2),c=n(115),u=(n(1).Reflect||{}).construct,d=l((function(){function t(){}return!(u((function(){}),[],t)instanceof t)})),f=!l((function(){u((function(){}))}));r(r.S+r.F*(d||f),"Reflect",{construct:function(t,e){a(t),i(e);var n=arguments.length<3?t:a(arguments[2]);if(f&&!d)return u(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(c.apply(t,r))}var l=n.prototype,p=o(s(l)?l:Object.prototype),g=Function.apply.call(t,p,e);return s(g)?g:p}})},function(t,e,n){var r=n(9),o=n(0),a=n(3),i=n(27);o(o.S+o.F*n(2)((function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(t,e,n){a(t),e=i(e,!0),a(n);try{return r.f(t,e,n),!0}catch(t){return!1}}})},function(t,e,n){var r=n(0),o=n(21).f,a=n(3);r(r.S,"Reflect",{deleteProperty:function(t,e){var n=o(a(t),e);return!(n&&!n.configurable)&&delete t[e]}})},function(t,e,n){"use strict";var r=n(0),o=n(3),a=function(t){this._t=o(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n(122)(a,"Object",(function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}})),r(r.S,"Reflect",{enumerate:function(t){return new a(t)}})},function(t,e,n){var r=n(21),o=n(36),a=n(14),i=n(0),s=n(4),l=n(3);i(i.S,"Reflect",{get:function t(e,n){var i,c,u=arguments.length<3?e:arguments[2];return l(e)===u?e[n]:(i=r.f(e,n))?a(i,"value")?i.value:void 0!==i.get?i.get.call(u):void 0:s(c=o(e))?t(c,n,u):void 0}})},function(t,e,n){var r=n(21),o=n(0),a=n(3);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(a(t),e)}})},function(t,e,n){var r=n(0),o=n(36),a=n(3);r(r.S,"Reflect",{getPrototypeOf:function(t){return o(a(t))}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var r=n(0),o=n(3),a=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return o(t),!a||a(t)}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{ownKeys:n(136)})},function(t,e,n){var r=n(0),o=n(3),a=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){o(t);try{return a&&a(t),!0}catch(t){return!1}}})},function(t,e,n){var r=n(9),o=n(21),a=n(36),i=n(14),s=n(0),l=n(29),c=n(3),u=n(4);s(s.S,"Reflect",{set:function t(e,n,s){var d,f,p=arguments.length<4?e:arguments[3],g=o.f(c(e),n);if(!g){if(u(f=a(e)))return t(f,n,s,p);g=l(0)}if(i(g,"value")){if(!1===g.writable||!u(p))return!1;if(d=o.f(p,n)){if(d.get||d.set||!1===d.writable)return!1;d.value=s,r.f(p,n,d)}else r.f(p,n,l(0,s));return!0}return void 0!==g.set&&(g.set.call(p,s),!0)}})},function(t,e,n){var r=n(0),o=n(75);o&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){o.check(t,e);try{return o.set(t,e),!0}catch(t){return!1}}})},function(t,e,n){n(327),t.exports=n(7).Array.includes},function(t,e,n){"use strict";var r=n(0),o=n(52)(!0);r(r.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(37)("includes")},function(t,e,n){n(329),t.exports=n(7).Array.flatMap},function(t,e,n){"use strict";var r=n(0),o=n(330),a=n(10),i=n(6),s=n(19),l=n(124);r(r.P,"Array",{flatMap:function(t){var e,n,r=a(this);return s(t),e=i(r.length),n=l(r,0),o(n,r,r,e,0,1,t,arguments[1]),n}}),n(37)("flatMap")},function(t,e,n){"use strict";var r=n(54),o=n(4),a=n(6),i=n(18),s=n(5)("isConcatSpreadable");t.exports=function t(e,n,l,c,u,d,f,p){for(var g,h,m=u,v=0,y=!!f&&i(f,p,3);v<c;){if(v in l){if(g=y?y(l[v],v,n):l[v],h=!1,o(g)&&(h=void 0!==(h=g[s])?!!h:r(g)),h&&d>0)m=t(e,n,g,a(g.length),m,d-1)-1;else{if(m>=9007199254740991)throw TypeError();e[m]=g}m++}v++}return m}},function(t,e,n){n(332),t.exports=n(7).String.padStart},function(t,e,n){"use strict";var r=n(0),o=n(137),a=n(60),i=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(a);r(r.P+r.F*i,"String",{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,e,n){n(334),t.exports=n(7).String.padEnd},function(t,e,n){"use strict";var r=n(0),o=n(137),a=n(60),i=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(a);r(r.P+r.F*i,"String",{padEnd:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,e,n){n(336),t.exports=n(7).String.trimLeft},function(t,e,n){"use strict";n(40)("trimLeft",(function(t){return function(){return t(this,1)}}),"trimStart")},function(t,e,n){n(338),t.exports=n(7).String.trimRight},function(t,e,n){"use strict";n(40)("trimRight",(function(t){return function(){return t(this,2)}}),"trimEnd")},function(t,e,n){n(340),t.exports=n(71).f("asyncIterator")},function(t,e,n){n(109)("asyncIterator")},function(t,e,n){n(342),t.exports=n(7).Object.getOwnPropertyDescriptors},function(t,e,n){var r=n(0),o=n(136),a=n(16),i=n(21),s=n(87);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,r=a(t),l=i.f,c=o(r),u={},d=0;c.length>d;)void 0!==(n=l(r,e=c[d++]))&&s(u,e,n);return u}})},function(t,e,n){n(344),t.exports=n(7).Object.values},function(t,e,n){var r=n(0),o=n(138)(!1);r(r.S,"Object",{values:function(t){return o(t)}})},function(t,e,n){n(346),t.exports=n(7).Object.entries},function(t,e,n){var r=n(0),o=n(138)(!0);r(r.S,"Object",{entries:function(t){return o(t)}})},function(t,e,n){"use strict";n(130),n(348),t.exports=n(7).Promise.finally},function(t,e,n){"use strict";var r=n(0),o=n(7),a=n(1),i=n(48),s=n(132);r(r.P+r.R,"Promise",{finally:function(t){var e=i(this,o.Promise||a.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}})},function(t,e,n){n(350),n(351),n(352),t.exports=n(7)},function(t,e,n){var r=n(1),o=n(0),a=n(60),i=[].slice,s=/MSIE .\./.test(a),l=function(t){return function(e,n){var r=arguments.length>2,o=!!r&&i.call(arguments,2);return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,o)}:e,n)}};o(o.G+o.B+o.F*s,{setTimeout:l(r.setTimeout),setInterval:l(r.setInterval)})},function(t,e,n){var r=n(0),o=n(93);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},function(t,e,n){for(var r=n(90),o=n(32),a=n(11),i=n(1),s=n(15),l=n(41),c=n(5),u=c("iterator"),d=c("toStringTag"),f=l.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},g=o(p),h=0;h<g.length;h++){var m,v=g[h],y=p[v],_=i[v],b=_&&_.prototype;if(b&&(b[u]||s(b,u,f),b[d]||s(b,d,v),l[v]=f,y))for(m in r)b[m]||a(b,m,r[m],!0)}},function(t,e,n){var r=function(t){"use strict";var e=Object.prototype,n=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",i=r.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var o=e&&e.prototype instanceof d?e:d,a=Object.create(o.prototype),i=new S(r||[]);return a._invoke=function(t,e,n){var r="suspendedStart";return function(o,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw a;return j()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var s=b(i,n);if(s){if(s===u)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=c(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(t,n,i),a}function c(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var u={};function d(){}function f(){}function p(){}var g={};g[o]=function(){return this};var h=Object.getPrototypeOf,m=h&&h(h(A([])));m&&m!==e&&n.call(m,o)&&(g=m);var v=p.prototype=d.prototype=Object.create(g);function y(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){var r;this._invoke=function(o,a){function i(){return new e((function(r,i){!function r(o,a,i,s){var l=c(t[o],t,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==typeof d&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){r("next",t,i,s)}),(function(t){r("throw",t,i,s)})):e.resolve(d).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,s)}))}s(l.arg)}(o,a,r,i)}))}return r=r?r.then(i,i):i()}}function b(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,b(t,e),"throw"===e.method))return u;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=c(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,u;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,u):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,u)}function w(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(w,this),this.reset(!0)}function A(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,a=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return a.next=a}}return{next:j}}function j(){return{value:void 0,done:!0}}return f.prototype=v.constructor=p,p.constructor=f,f.displayName=s(p,i,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,s(t,i,"GeneratorFunction")),t.prototype=Object.create(v),t},t.awrap=function(t){return{__await:t}},y(_.prototype),_.prototype[a]=function(){return this},t.AsyncIterator=_,t.async=function(e,n,r,o,a){void 0===a&&(a=Promise);var i=new _(l(e,n,r,o),a);return t.isGeneratorFunction(n)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},y(v),s(v,i,"Generator"),v[o]=function(){return this},v.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=A,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return i.type="throw",i.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(s&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),u},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),x(n),u}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:A(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},function(t,e){!function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof HTMLElement){var t=!1;try{var e=document.createElement("div");e.addEventListener("focus",(function(t){t.preventDefault(),t.stopPropagation()}),!0),e.focus(Object.defineProperty({},"preventScroll",{get:function(){if(navigator&&void 0!==navigator.userAgent&&navigator.userAgent&&navigator.userAgent.match(/Edge\/1[7-8]/))return t=!1;t=!0}}))}catch(t){}if(void 0===HTMLElement.prototype.nativeFocus&&!t){HTMLElement.prototype.nativeFocus=HTMLElement.prototype.focus;var n=function(t){for(var e=0;e<t.length;e++)t[e][0].scrollTop=t[e][1],t[e][0].scrollLeft=t[e][2];t=[]};HTMLElement.prototype.focus=function(t){if(t&&t.preventScroll){var e=function(t){for(var e=t.parentNode,n=[],r=document.scrollingElement||document.documentElement;e&&e!==r;)(e.offsetHeight<e.scrollHeight||e.offsetWidth<e.scrollWidth)&&n.push([e,e.scrollTop,e.scrollLeft]),e=e.parentNode;return e=r,n.push([e,e.scrollTop,e.scrollLeft]),n}(this);if("function"==typeof setTimeout){var r=this;setTimeout((function(){r.nativeFocus(),n(e)}),0)}else this.nativeFocus(),n(e)}else this.nativeFocus()}}}}()},function(t,e,n){"use strict";var r,o,a,i,s,l;if(Function.prototype.bind||(Function.prototype.bind=function(t){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var e=Array.prototype.slice.call(arguments,1),n=this,r=function(){},o=function(){return n.apply(this instanceof r&&t?this:t,e.concat(Array.prototype.slice.call(arguments)))};return r.prototype=this.prototype,o.prototype=new r,o}),r=Object.prototype,o=r.__defineGetter__,a=r.__defineSetter__,i=r.__lookupGetter__,s=r.__lookupSetter__,l=r.hasOwnProperty,o&&a&&i&&s&&(Object.defineProperty||(Object.defineProperty=function(t,e,n){if(arguments.length<3)throw new TypeError("Arguments not optional");if(e+="",l.call(n,"value")&&(i.call(t,e)||s.call(t,e)||(t[e]=n.value),l.call(n,"get")||l.call(n,"set")))throw new TypeError("Cannot specify an accessor and a value");if(!(n.writable&&n.enumerable&&n.configurable))throw new TypeError("This implementation of Object.defineProperty does not support false for configurable, enumerable, or writable.");return n.get&&o.call(t,e,n.get),n.set&&a.call(t,e,n.set),t}),Object.getOwnPropertyDescriptor||(Object.getOwnPropertyDescriptor=function(t,e){if(arguments.length<2)throw new TypeError("Arguments not optional.");e+="";var n={configurable:!0,enumerable:!0,writable:!0},r=i.call(t,e),o=s.call(t,e);return l.call(t,e)?r||o?(delete n.writable,n.get=n.set=void 0,r&&(n.get=r),o&&(n.set=o),n):(n.value=t[e],n):n}),Object.defineProperties||(Object.defineProperties=function(t,e){var n;for(n in e)l.call(e,n)&&Object.defineProperty(t,n,e[n])})),!(document.documentElement.dataset||Object.getOwnPropertyDescriptor(Element.prototype,"dataset")&&Object.getOwnPropertyDescriptor(Element.prototype,"dataset").get)){var c={enumerable:!0,get:function(){var t,e,n,r,o,a,i=this.attributes,s=i.length,l=function(t){return t.charAt(1).toUpperCase()},c=function(){return this},u=function(t,e){return void 0!==e?this.setAttribute(t,e):this.removeAttribute(t)};try{({}).__defineGetter__("test",(function(){})),e={}}catch(t){e=document.createElement("div")}for(t=0;t<s;t++)if((a=i[t])&&a.name&&/^data-\w[\w\-]*$/.test(a.name)){n=a.value,o=(r=a.name).substr(5).replace(/-./g,l);try{Object.defineProperty(e,o,{enumerable:this.enumerable,get:c.bind(n||""),set:u.bind(this,r)})}catch(t){e[o]=n}}return e}};try{Object.defineProperty(Element.prototype,"dataset",c)}catch(t){c.enumerable=!1,Object.defineProperty(Element.prototype,"dataset",c)}}},function(t,e,n){"use strict";var r=n(357),o=n(358),a=n(139);t.exports={formats:a,parse:o,stringify:r}},function(t,e,n){"use strict";var r=n(95),o=n(139),a=Object.prototype.hasOwnProperty,i={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},s=Array.isArray,l=Array.prototype.push,c=function(t,e){l.apply(t,s(e)?e:[e])},u=Date.prototype.toISOString,d=o.default,f={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:d,formatter:o.formatters[d],indices:!1,serializeDate:function(t){return u.call(t)},skipNulls:!1,strictNullHandling:!1},p=function t(e,n,o,a,i,l,u,d,p,g,h,m,v){var y,_=e;if("function"==typeof u?_=u(n,_):_ instanceof Date?_=g(_):"comma"===o&&s(_)&&(_=r.maybeMap(_,(function(t){return t instanceof Date?g(t):t})).join(",")),null===_){if(a)return l&&!m?l(n,f.encoder,v,"key"):n;_=""}if("string"==typeof(y=_)||"number"==typeof y||"boolean"==typeof y||"symbol"==typeof y||"bigint"==typeof y||r.isBuffer(_))return l?[h(m?n:l(n,f.encoder,v,"key"))+"="+h(l(_,f.encoder,v,"value"))]:[h(n)+"="+h(String(_))];var b,w=[];if(void 0===_)return w;if(s(u))b=u;else{var x=Object.keys(_);b=d?x.sort(d):x}for(var S=0;S<b.length;++S){var A=b[S],j=_[A];if(!i||null!==j){var E=s(_)?"function"==typeof o?o(n,A):n:n+(p?"."+A:"["+A+"]");c(w,t(j,E,o,a,i,l,u,d,p,g,h,m,v))}}return w};t.exports=function(t,e){var n,r=t,l=function(t){if(!t)return f;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||f.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==t.format){if(!a.call(o.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var r=o.formatters[n],i=f.filter;return("function"==typeof t.filter||s(t.filter))&&(i=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:f.addQueryPrefix,allowDots:void 0===t.allowDots?f.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:f.charsetSentinel,delimiter:void 0===t.delimiter?f.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:f.encode,encoder:"function"==typeof t.encoder?t.encoder:f.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:f.encodeValuesOnly,filter:i,formatter:r,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:f.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:f.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:f.strictNullHandling}}(e);"function"==typeof l.filter?r=(0,l.filter)("",r):s(l.filter)&&(n=l.filter);var u,d=[];if("object"!=typeof r||null===r)return"";u=e&&e.arrayFormat in i?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var g=i[u];n||(n=Object.keys(r)),l.sort&&n.sort(l.sort);for(var h=0;h<n.length;++h){var m=n[h];l.skipNulls&&null===r[m]||c(d,p(r[m],m,g,l.strictNullHandling,l.skipNulls,l.encode?l.encoder:null,l.filter,l.sort,l.allowDots,l.serializeDate,l.formatter,l.encodeValuesOnly,l.charset))}var v=d.join(l.delimiter),y=!0===l.addQueryPrefix?"?":"";return l.charsetSentinel&&("iso-8859-1"===l.charset?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),v.length>0?y+v:""}},function(t,e,n){"use strict";var r=n(95),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},l=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},c=function(t,e,n,r){if(t){var a=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(a),c=s?a.slice(0,s.index):a,u=[];if(c){if(!n.plainObjects&&o.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}for(var d=0;n.depth>0&&null!==(s=i.exec(a))&&d<n.depth;){if(d+=1,!n.plainObjects&&o.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(s[1])}return s&&u.push("["+a.slice(s.index)+"]"),function(t,e,n,r){for(var o=r?e:l(e,n),a=t.length-1;a>=0;--a){var i,s=t[a];if("[]"===s&&n.parseArrays)i=[].concat(o);else{i=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(c,10);n.parseArrays||""!==c?!isNaN(u)&&s!==c&&String(u)===c&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(i=[])[u]=o:i[c]=o:i={0:o}}o=i}return o}(u,e,n,r)}};t.exports=function(t,e){var n=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return n.plainObjects?Object.create(null):{};for(var u="string"==typeof t?function(t,e){var n,c={},u=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,d=e.parameterLimit===1/0?void 0:e.parameterLimit,f=u.split(e.delimiter,d),p=-1,g=e.charset;if(e.charsetSentinel)for(n=0;n<f.length;++n)0===f[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[n]?g="utf-8":"utf8=%26%2310003%3B"===f[n]&&(g="iso-8859-1"),p=n,n=f.length);for(n=0;n<f.length;++n)if(n!==p){var h,m,v=f[n],y=v.indexOf("]="),_=-1===y?v.indexOf("="):y+1;-1===_?(h=e.decoder(v,i.decoder,g,"key"),m=e.strictNullHandling?null:""):(h=e.decoder(v.slice(0,_),i.decoder,g,"key"),m=r.maybeMap(l(v.slice(_+1),e),(function(t){return e.decoder(t,i.decoder,g,"value")}))),m&&e.interpretNumericEntities&&"iso-8859-1"===g&&(m=s(m)),v.indexOf("[]=")>-1&&(m=a(m)?[m]:m),o.call(c,h)?c[h]=r.combine(c[h],m):c[h]=m}return c}(t,n):t,d=n.plainObjects?Object.create(null):{},f=Object.keys(u),p=0;p<f.length;++p){var g=f[p],h=c(g,u[g],n,"string"==typeof t);d=r.merge(d,h,n)}return r.compact(d)}}]);
core/functions.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
 
3
  /*
4
  * alm_get_pro_addon
@@ -106,6 +107,21 @@ function alm_get_addons(){
106
  'path' => $path_prefix .'repeaters-v2',
107
  'slug' => 'repeaters-v2'
108
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
  array(
110
  'name' => __('Filters', 'ajax-load-more'),
111
  'intro' => __('Create custom Ajax Load More filters in seconds.', 'ajax-load-more'),
@@ -372,7 +388,7 @@ function alm_do_inline_css($setting) {
372
  */
373
  function alm_loop($repeater, $type, $theme_repeater, $alm_found_posts = '', $alm_page = '', $alm_item = '', $alm_current = ''){
374
  ob_start();
375
-
376
  // Theme Repeater
377
  if($theme_repeater !== 'null' && has_filter('alm_get_theme_repeater')){
378
  do_action('alm_get_theme_repeater', $theme_repeater, $alm_found_posts, $alm_page, $alm_item, $alm_current); // Returns an include file
@@ -698,20 +714,20 @@ function alm_get_tax_query($post_format, $taxonomy, $taxonomy_terms, $taxonomy_o
698
  * @since 2.5.0
699
  */
700
  function alm_get_meta_query($meta_key, $meta_value, $meta_compare, $meta_type){
701
- if(!empty($meta_key)){
702
-
703
  // do_shortcode fixes (shortcode was rendering as HTML when using < OR <==)
704
- $meta_compare = ($meta_compare === 'lessthan') ? '<' : $meta_compare;
705
- $meta_compare = ($meta_compare === 'lessthanequalto') ? '<=' : $meta_compare;
706
-
707
  // Get optimized `meta_value` parameter
708
- $meta_values = alm_parse_meta_value($meta_value, $meta_compare);
709
-
710
  // Unset `$meta_values` if empty
711
- if($meta_values === ''){
712
  unset($meta_values);
713
- }
714
-
715
  if(isset($meta_values)){
716
  $return = array(
717
  'key' => $meta_key,
@@ -741,17 +757,17 @@ function alm_get_meta_query($meta_key, $meta_value, $meta_compare, $meta_type){
741
  * @return array;
742
  * @since 2.6.4
743
  */
744
- function alm_parse_meta_value($meta_value, $meta_compare){
745
-
746
  // Meta Query Docs (http://codex.wordpress.org/Class_Reference/WP_Meta_Query)
747
  $meta_array = array('IN', 'NOT IN', 'BETWEEN', 'NOT BETWEEN');
748
-
749
  if(in_array($meta_compare, $meta_array)){
750
  // Remove all whitespace for meta_value because it needs to be an exact match
751
  $mv_trimmed = preg_replace('/\s+/', ' ', $meta_value); // Trim whitespace
752
  $meta_values = str_replace(', ', ',', $mv_trimmed); // Replace [term, term] with [term,term]
753
  $meta_values = ($meta_values === '') ? '' : explode(",", $meta_values);
754
- }else{
755
  $meta_values = $meta_value;
756
  }
757
  return $meta_values;
1
  <?php
2
+ // @codingStandardsIgnoreStart
3
 
4
  /*
5
  * alm_get_pro_addon
107
  'path' => $path_prefix .'repeaters-v2',
108
  'slug' => 'repeaters-v2'
109
  ),
110
+ array(
111
+ 'name' => __('Elementor', 'ajax-load-more'),
112
+ 'intro' => __('Infinite scroll Elementor Posts Widget content with Ajax Load More.', 'ajax-load-more'),
113
+ 'desc' => __('The Elementor add-on provides functionality required for integrating with the Elementor Posts Widget.', 'ajax-load-more'),
114
+ 'action' => 'alm_elementor_installed',
115
+ 'key' => 'alm_elementor_license_key',
116
+ 'status' => 'alm_elementor_license_status',
117
+ 'settings_field' => 'alm_elementor_license',
118
+ 'img' => 'img/add-ons/elementor-add-on.jpg',
119
+ 'url' => $url_prefix .'elementor/',
120
+ 'item_id' => ALM_ELEMENTOR_ITEM_NAME,
121
+ 'version' => 'ALM_ELEMENTOR_VERSION',
122
+ 'path' => $path_prefix .'elementor',
123
+ 'slug' => 'elementor'
124
+ ),
125
  array(
126
  'name' => __('Filters', 'ajax-load-more'),
127
  'intro' => __('Create custom Ajax Load More filters in seconds.', 'ajax-load-more'),
388
  */
389
  function alm_loop($repeater, $type, $theme_repeater, $alm_found_posts = '', $alm_page = '', $alm_item = '', $alm_current = ''){
390
  ob_start();
391
+
392
  // Theme Repeater
393
  if($theme_repeater !== 'null' && has_filter('alm_get_theme_repeater')){
394
  do_action('alm_get_theme_repeater', $theme_repeater, $alm_found_posts, $alm_page, $alm_item, $alm_current); // Returns an include file
714
  * @since 2.5.0
715
  */
716
  function alm_get_meta_query($meta_key, $meta_value, $meta_compare, $meta_type){
717
+ if(!empty($meta_key)){
718
+
719
  // do_shortcode fixes (shortcode was rendering as HTML when using < OR <==)
720
+ $meta_compare = ($meta_compare === 'lessthan') ? '<' : $meta_compare;
721
+ $meta_compare = ($meta_compare === 'lessthanequalto') ? '<=' : $meta_compare;
722
+
723
  // Get optimized `meta_value` parameter
724
+ $meta_values = alm_parse_meta_value($meta_value, $meta_compare);
725
+
726
  // Unset `$meta_values` if empty
727
+ if($meta_values === ''){
728
  unset($meta_values);
729
+ }
730
+
731
  if(isset($meta_values)){
732
  $return = array(
733
  'key' => $meta_key,
757
  * @return array;
758
  * @since 2.6.4
759
  */
760
+ function alm_parse_meta_value($meta_value, $meta_compare){
761
+
762
  // Meta Query Docs (http://codex.wordpress.org/Class_Reference/WP_Meta_Query)
763
  $meta_array = array('IN', 'NOT IN', 'BETWEEN', 'NOT BETWEEN');
764
+
765
  if(in_array($meta_compare, $meta_array)){
766
  // Remove all whitespace for meta_value because it needs to be an exact match
767
  $mv_trimmed = preg_replace('/\s+/', ' ', $meta_value); // Trim whitespace
768
  $meta_values = str_replace(', ', ',', $mv_trimmed); // Replace [term, term] with [term,term]
769
  $meta_values = ($meta_values === '') ? '' : explode(",", $meta_values);
770
+ }else{
771
  $meta_values = $meta_value;
772
  }
773
  return $meta_values;
core/src/js/addons/elementor.js CHANGED
@@ -12,6 +12,7 @@ export function elementorInit(alm) {
12
  return false;
13
  }
14
  let target = alm.addons.elementor_target_element;
 
15
  if (target) {
16
  // Set button data attributes
17
  alm.button.dataset.page = alm.addons.elementor_paged;
@@ -40,12 +41,24 @@ export function elementorInit(alm) {
40
  // maybe soon
41
  //almElementorResultsTextInit(alm);
42
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  }
44
  }
45
 
46
  /**
47
- * elementor
48
- * Core ALM Elementor loader
49
  *
50
  * @param {HTMLElement} content
51
  * @param {object} alm
@@ -70,6 +83,12 @@ export function elementor(content, alm, pageTitle = document.title) {
70
  // Load the items
71
  (async function () {
72
  await loadItems(container, items, alm, pageTitle, url, 'alm-elementor');
 
 
 
 
 
 
73
  resolve(true);
74
  })().catch((e) => {
75
  console.log(e, 'There was an error with Elementor');
@@ -79,13 +98,71 @@ export function elementor(content, alm, pageTitle = document.title) {
79
  }
80
 
81
  /**
82
- * elementorGetContent
83
- * Get the content, title and results text from the Ajax response
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
  *
 
85
  * @param {object} alm
86
  * @since 5.4.0
87
  */
88
-
89
  export function elementorGetContent(response, alm) {
90
  let data = {
91
  html: '',
@@ -126,8 +203,70 @@ export function elementorGetPages(pagination_class, pagination_item, target) {
126
  }
127
  let pagination = target.querySelector(`.${pagination_class}`);
128
  if (!pagination) {
129
- return 1;
130
  }
131
  let pages = pagination.querySelectorAll(pagination_item);
132
  return pages;
133
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  return false;
13
  }
14
  let target = alm.addons.elementor_target_element;
15
+
16
  if (target) {
17
  // Set button data attributes
18
  alm.button.dataset.page = alm.addons.elementor_paged;
41
  // maybe soon
42
  //almElementorResultsTextInit(alm);
43
  }
44
+
45
+ // Masonry Window Resize. Delay for masonry to be added via Elementor.
46
+ if (alm.addons.elementor_masonry) {
47
+ let resizeTimeout;
48
+ setTimeout(function () {
49
+ window.addEventListener('resize', function () {
50
+ clearTimeout(resizeTimeout);
51
+ resizeTimeout = setTimeout(function () {
52
+ positionMasonryItems(alm, `.${alm.addons.elementor_container_class}`, `.${alm.addons.elementor_item_class}`);
53
+ }, 100);
54
+ });
55
+ }, 250);
56
+ }
57
  }
58
  }
59
 
60
  /**
61
+ * Core ALM Elementor loader.
 
62
  *
63
  * @param {HTMLElement} content
64
  * @param {object} alm
83
  // Load the items
84
  (async function () {
85
  await loadItems(container, items, alm, pageTitle, url, 'alm-elementor');
86
+ if (alm.addons.elementor_masonry) {
87
+ setTimeout(function () {
88
+ positionMasonryItems(alm, `.${alm.addons.elementor_container_class}`, `.${alm.addons.elementor_item_class}`);
89
+ }, 125);
90
+ }
91
+
92
  resolve(true);
93
  })().catch((e) => {
94
  console.log(e, 'There was an error with Elementor');
98
  }
99
 
100
  /**
101
+ * Position Elementor Masonry Items
102
+ *
103
+ * @param {*} alm
104
+ * @param {*} container_class
105
+ * @param {*} item_class
106
+ */
107
+ function positionMasonryItems(alm, container_class, item_class) {
108
+ let heights = [];
109
+
110
+ // Get Elementor Settings
111
+ const columnsCount = alm.addons.elementor_masonry_columns;
112
+ const columnsCountTablet = alm.addons.elementor_masonry_columns_tablet;
113
+ const columnsCountMobile = alm.addons.elementor_masonry_columns_mobile;
114
+ const verticalSpaceBetween = alm.addons.elementor_masonry_gap;
115
+ let columns = columnsCount;
116
+
117
+ // Get Elementor Breakpoints
118
+ const breakpoints = window.elementorFrontendConfig && window.elementorFrontendConfig.breakpoints ? window.elementorFrontendConfig.breakpoints : 0;
119
+ const windowW = window.innerWidth;
120
+
121
+ // Set Columns
122
+ if (windowW > breakpoints.lg) {
123
+ columns = columnsCount;
124
+ } else if (windowW > breakpoints.md) {
125
+ columns = columnsCountTablet;
126
+ } else {
127
+ columns = columnsCountMobile;
128
+ }
129
+
130
+ // Get Containers
131
+ const container = document.querySelector(container_class);
132
+ if (!container) {
133
+ return false;
134
+ }
135
+ const items = container.querySelectorAll(item_class);
136
+ if (!items) {
137
+ return false;
138
+ }
139
+
140
+ // Loop items
141
+ items.forEach((item, index) => {
142
+ let row = Math.floor(index / columns);
143
+ let itemHeight = item.getBoundingClientRect().height + verticalSpaceBetween;
144
+
145
+ if (row) {
146
+ let itemPosition = jQuery(item).position();
147
+ let indexAtRow = index % columns;
148
+ let pullHeight = Math.round(itemPosition.top) - heights[indexAtRow];
149
+
150
+ pullHeight *= -1;
151
+ item.style.marginTop = `${Math.round(pullHeight)}px`;
152
+ heights[indexAtRow] += itemHeight;
153
+ } else {
154
+ heights.push(itemHeight);
155
+ }
156
+ });
157
+ }
158
+
159
+ /**
160
+ * Get the content, title and results text from the Ajax response.
161
  *
162
+ * @param {*} response
163
  * @param {object} alm
164
  * @since 5.4.0
165
  */
 
166
  export function elementorGetContent(response, alm) {
167
  let data = {
168
  html: '',
203
  }
204
  let pagination = target.querySelector(`.${pagination_class}`);
205
  if (!pagination) {
206
+ return false;
207
  }
208
  let pages = pagination.querySelectorAll(pagination_item);
209
  return pages;
210
  }
211
+
212
+ /**
213
+ * Create Elementor Params for ALM.
214
+ *
215
+ * @param Object alm
216
+ * @return alm
217
+ */
218
+ export function elementorCreateParams(alm) {
219
+ alm.addons.elementor_settings = JSON.parse(alm.listing.dataset.elementorSettings);
220
+ alm.addons.elementor_type = 'posts';
221
+ alm.addons.elementor_target = alm.addons.elementor_settings.target;
222
+ alm.addons.elementor_target_element = alm.addons.elementor_target ? document.querySelector(`.elementor-widget-wrap ${alm.addons.elementor_target}`) : '';
223
+ alm.addons.elementor_paged = alm.addons.elementor_settings.paged ? parseInt(alm.addons.elementor_settings.paged) : 1;
224
+ alm.addons.elementor_container_class = alm.addons.elementor_settings.container_class;
225
+ alm.addons.elementor_item_class = alm.addons.elementor_settings.item_class;
226
+ alm.addons.elementor_pagination_class = alm.addons.elementor_settings.pagination_class;
227
+ alm.addons.elementor_pagination_item = alm.addons.elementor_settings.pagination_item;
228
+ alm.addons.elementor_controls = alm.addons.elementor_settings.controls;
229
+ alm.addons.elementor_controls = alm.addons.elementor_controls === 'true' ? true : false;
230
+ alm.addons.elementor_scrolltop = parseInt(alm.addons.elementor_settings.scrolltop);
231
+ alm.addons.elementor_pages = elementorGetPages(
232
+ alm.addons.elementor_pagination_class,
233
+ alm.addons.elementor_pagination_item,
234
+ alm.addons.elementor_target_element
235
+ );
236
+
237
+ alm.page = parseInt(alm.page) + alm.addons.elementor_paged;
238
+
239
+ // Masonry
240
+ alm = parseMasonryConfig(alm);
241
+
242
+ if (!alm.addons.elementor_target_element) {
243
+ console.warn("Ajax Load More: Unable to locate Elementor Posts Widget. Are you sure you've set up your target parameter correctly?");
244
+ }
245
+ return alm;
246
+ }
247
+
248
+ /**
249
+ * Parse Masonry Settings from Elementor Data atts
250
+ *
251
+ * @param {*} alm
252
+ */
253
+ function parseMasonryConfig(alm) {
254
+ if (!alm.addons.elementor_target_element) {
255
+ return alm; // Exit if not found.
256
+ }
257
+
258
+ const settings = JSON.parse(alm.addons.elementor_target_element.dataset.settings);
259
+ if (!settings) {
260
+ return alm; // Exit if not found.
261
+ }
262
+
263
+ alm.addons.elementor_masonry = settings.hasOwnProperty('cards_masonry') || settings.hasOwnProperty('classic_masonry');
264
+ if (alm.addons.elementor_masonry) {
265
+ alm.addons.elementor_masonry_columns = parseInt(settings.cards_columns) || parseInt(settings.classic_columns);
266
+ alm.addons.elementor_masonry_columns_mobile = parseInt(settings.cards_columns_mobile) || parseInt(settings.classic_columns_mobile);
267
+ alm.addons.elementor_masonry_columns_tablet = parseInt(settings.cards_columns_tablet) || parseInt(settings.classic_columns_tablet);
268
+ alm.addons.elementor_masonry_gap = parseInt(settings.cards_row_gap.size);
269
+ }
270
+
271
+ return alm;
272
+ }
core/src/js/addons/filters.js CHANGED
@@ -17,15 +17,10 @@ export function parseQuerystring(path) {
17
 
18
  // Parse querystring into object
19
  if (query) {
20
- obj = JSON.parse(
21
- '{"' + query.replace(/&/g, '","').replace(/=/g, '":"') + '"}',
22
- function (key, value) {
23
- // Replace + with - in URL
24
- return key === ''
25
- ? value
26
- : decodeURIComponent(value.replace(/\+/g, '-'));
27
- }
28
- );
29
 
30
  // Remove the following properties from the object as they should not be included in the cache ID
31
 
@@ -138,12 +133,7 @@ export function createMasonryFiltersPages(alm, elements) {
138
  pagenum = k + 1;
139
 
140
  if (elements[target]) {
141
- elements[target] = masonryFiltersAtts(
142
- alm,
143
- elements[target],
144
- querystring,
145
- pagenum
146
- );
147
  }
148
  }
149
  } else {
@@ -159,8 +149,7 @@ function masonryFiltersAtts(alm, element, querystring, pagenum) {
159
  element.classList.add(FILTERS_CLASSNAME);
160
  element.dataset.page = pagenum;
161
  if (pagenum > 1) {
162
- element.dataset.url =
163
- alm.canonical_url + buildFilterURL(alm, querystring, pagenum);
164
  } else {
165
  let updatedQS = querystring.replace(/(pg=)[^\&]+/, ''); // Remove `pg` from querysting
166
  updatedQS = updatedQS === '?' ? '' : updatedQS; // Remove empty querysting
17
 
18
  // Parse querystring into object
19
  if (query) {
20
+ obj = JSON.parse('{"' + query.replace(/&/g, '","').replace(/=/g, '":"') + '"}', function (key, value) {
21
+ // Replace + with - in URL
22
+ return key === '' ? value : decodeURIComponent(value.replace(/\+/g, '-'));
23
+ });
 
 
 
 
 
24
 
25
  // Remove the following properties from the object as they should not be included in the cache ID
26
 
133
  pagenum = k + 1;
134
 
135
  if (elements[target]) {
136
+ elements[target] = masonryFiltersAtts(alm, elements[target], querystring, pagenum);
 
 
 
 
 
137
  }
138
  }
139
  } else {
149
  element.classList.add(FILTERS_CLASSNAME);
150
  element.dataset.page = pagenum;
151
  if (pagenum > 1) {
152
+ element.dataset.url = alm.canonical_url + buildFilterURL(alm, querystring, pagenum);
 
153
  } else {
154
  let updatedQS = querystring.replace(/(pg=)[^\&]+/, ''); // Remove `pg` from querysting
155
  updatedQS = updatedQS === '?' ? '' : updatedQS; // Remove empty querysting
core/src/js/ajax-load-more.js CHANGED
@@ -46,7 +46,7 @@ import { showPlaceholder, hidePlaceholder } from './modules/placeholder';
46
  import { singlePostHTML } from './addons/singleposts';
47
  import { createCacheFile } from './addons/cache';
48
  import { wooInit, woocommerce, wooGetContent, wooReset } from './addons/woocommerce';
49
- import { elementorGetContent, elementorInit, elementor, elementorGetPages } from './addons/elementor';
50
  import { buildFilterURL } from './addons/filters';
51
  import { createSEOAttributes } from './addons/seo';
52
 
@@ -160,28 +160,12 @@ let alm_is_filtering = false;
160
  alm.is_search = alm.is_search === undefined ? false : alm.is_search;
161
  alm.search_value = alm.is_search === 'true' ? alm.slug : ''; // Convert to value of slug for appending to seo url
162
 
163
- // Addon Shortcode Params
164
 
165
  // Elementor add-on
166
- alm.addons.elementor = alm.localize && alm.localize.elementor ? true : false;
167
  if (alm.addons.elementor) {
168
- alm.addons.elementor = {};
169
- alm.addons.elementor_type = 'posts';
170
- alm.addons.elementor_target = alm.localize.elementor.target;
171
- alm.addons.elementor_target_element = alm.addons.elementor_target
172
- ? document.querySelector(`.elementor-widget-wrap ${alm.addons.elementor_target}`)
173
- : '';
174
- alm.addons.elementor_paged = alm.localize.elementor.paged ? parseInt(alm.localize.elementor.paged) : 1;
175
- alm.addons.elementor_container_class = alm.localize.elementor.container_class;
176
- alm.addons.elementor_item_class = alm.localize.elementor.item_class;
177
- alm.addons.elementor_pagination_class = alm.localize.elementor.pagination_class;
178
- alm.addons.elementor_pagination_item = alm.localize.elementor.pagination_item;
179
- alm.addons.elementor_pages = elementorGetPages(
180
- alm.addons.elementor_pagination_class,
181
- alm.addons.elementor_pagination_item,
182
- alm.addons.elementor_target_element
183
- );
184
- alm.page = parseInt(alm.page) + alm.addons.elementor_paged;
185
  }
186
 
187
  // WooCommerce add-on
@@ -560,7 +544,7 @@ let alm_is_filtering = false;
560
  alm.transition_container = alm.transition_container === undefined || alm.transition_container === 'true' ? true : false;
561
 
562
  /* Button Labels */
563
- alm.button_label = alm.button_label === undefined ? 'Older Posts' : alm.button_label;
564
  alm.button_loading_label = alm.button_loading_label === undefined ? false : alm.button_loading_label;
565
  alm.button_done_label = alm.button_done_label === undefined ? false : alm.button_done_label;
566
 
@@ -1817,6 +1801,10 @@ let alm_is_filtering = false;
1817
  // WooCommerce
1818
  window.almWooCommerce(alm);
1819
  }
 
 
 
 
1820
  };
1821
 
1822
  /**
@@ -2267,8 +2255,8 @@ let alm_is_filtering = false;
2267
  // Initiate Elementor
2268
  elementorInit(alm);
2269
 
2270
- // Trigger `Done` if `paged is less than `pages`
2271
- if (alm.addons.elementor_paged > parseInt(alm.addons.elementor_pages.length)) {
2272
  alm.AjaxLoadMore.triggerDone();
2273
  }
2274
  }
46
  import { singlePostHTML } from './addons/singleposts';
47
  import { createCacheFile } from './addons/cache';
48
  import { wooInit, woocommerce, wooGetContent, wooReset } from './addons/woocommerce';
49
+ import { elementorCreateParams, elementorGetContent, elementorInit, elementor, elementorGetPages } from './addons/elementor';
50
  import { buildFilterURL } from './addons/filters';
51
  import { createSEOAttributes } from './addons/seo';
52
 
160
  alm.is_search = alm.is_search === undefined ? false : alm.is_search;
161
  alm.search_value = alm.is_search === 'true' ? alm.slug : ''; // Convert to value of slug for appending to seo url
162
 
163
+ // Add-on Shortcode Params
164
 
165
  // Elementor add-on
166
+ alm.addons.elementor = alm.listing.dataset.elementor === 'posts' && alm.listing.dataset.elementorSettings ? true : false;
167
  if (alm.addons.elementor) {
168
+ alm = elementorCreateParams(alm);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
169
  }
170
 
171
  // WooCommerce add-on
544
  alm.transition_container = alm.transition_container === undefined || alm.transition_container === 'true' ? true : false;
545
 
546
  /* Button Labels */
547
+ alm.button_label = alm.button_label === undefined ? 'Load More' : alm.button_label;
548
  alm.button_loading_label = alm.button_loading_label === undefined ? false : alm.button_loading_label;
549
  alm.button_done_label = alm.button_done_label === undefined ? false : alm.button_done_label;
550
 
1801
  // WooCommerce
1802
  window.almWooCommerce(alm);
1803
  }
1804
+ if (typeof almElementor === 'function') {
1805
+ // Elementor
1806
+ window.almElementor(alm);
1807
+ }
1808
  };
1809
 
1810
  /**
2255
  // Initiate Elementor
2256
  elementorInit(alm);
2257
 
2258
+ // Trigger `Done` if `paged is less than `pages`, or pages do not exist
2259
+ if (alm.addons.elementor_paged > parseInt(alm.addons.elementor_pages.length) || !alm.addons.elementor_pages) {
2260
  alm.AjaxLoadMore.triggerDone();
2261
  }
2262
  }
core/src/js/helpers/getCacheUrl.js CHANGED
File without changes
core/src/js/helpers/queryParams.js CHANGED
File without changes
core/src/js/modules/filtering.js CHANGED
File without changes
core/src/js/modules/masonry.js CHANGED
File without changes
core/src/js/modules/setFocus.js CHANGED
File without changes
core/src/scss/_listing.scss CHANGED
@@ -1,7 +1,3 @@
1
- $sm: 480px;
2
- $md: 768px;
3
- $lg: 1024px;
4
-
5
  /**
6
  * Generic alm-listing Styles
7
  * @since 1.0.0
 
 
 
 
1
  /**
2
  * Generic alm-listing Styles
3
  * @since 1.0.0
core/src/scss/_loaders.scss CHANGED
@@ -1,7 +1,8 @@
1
  .alm-btn-wrap {
2
  display: block;
3
  text-align: center;
4
- padding: 10px 0 25px;
 
5
  position: relative;
6
  &:after {
7
  display: table;
@@ -83,6 +84,19 @@
83
  transition: width 0.5s ease-in-out;
84
  }
85
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
86
  }
87
 
88
  /* white */
1
  .alm-btn-wrap {
2
  display: block;
3
  text-align: center;
4
+ padding: 10px 0;
5
+ margin: 0 0 15px;
6
  position: relative;
7
  &:after {
8
  display: table;
84
  transition: width 0.5s ease-in-out;
85
  }
86
  }
87
+
88
+ .alm-elementor-link {
89
+ display: block;
90
+ font-size: 13px;
91
+ margin: 0 0 15px;
92
+ @media screen and (min-width: $md) {
93
+ position: absolute;
94
+ left: 0;
95
+ top: 50%;
96
+ transform: translateY(-50%);
97
+ margin: 0;
98
+ }
99
+ }
100
  }
101
 
102
  /* white */
core/src/scss/_variables.scss ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ $sm: 480px;
2
+ $md: 768px;
3
+ $lg: 1024px;
core/src/scss/ajax-load-more.scss CHANGED
@@ -12,6 +12,7 @@
12
  * Twitter: @connekthq
13
  */
14
 
 
15
  @import './loaders';
16
  @import './listing';
17
  @import './tableofcontents';
12
  * Twitter: @connekthq
13
  */
14
 
15
+ @import './variables';
16
  @import './loaders';
17
  @import './listing';
18
  @import './tableofcontents';
lang/ajax-load-more.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Ajax Load More\n"
5
- "POT-Creation-Date: 2020-07-31 09:01-0400\n"
6
  "PO-Revision-Date: 2018-06-20 13:05-0500\n"
7
  "Last-Translator: Darren Cooney <darren@connekthq.com>\n"
8
  "Language-Team: \n"
@@ -10,7 +10,7 @@ msgstr ""
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
- "X-Generator: Poedit 2.3.1\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
  "X-Poedit-KeywordsList: __;_e\n"
@@ -183,7 +183,7 @@ msgid ""
183
  "to read and write files within the /ajax-load-more/core/repeater directory."
184
  msgstr ""
185
 
186
- #: admin/admin.php:680 admin/admin.php:681 ajax-load-more.php:348
187
  msgid "Settings"
188
  msgstr ""
189
 
@@ -227,18 +227,18 @@ msgstr ""
227
 
228
  #: admin/admin.php:776 admin/admin.php:777
229
  #: admin/shortcode-builder/components/cache.php:3 admin/views/settings.php:35
230
- #: core/functions.php:50
231
  msgid "Cache"
232
  msgstr ""
233
 
234
  #: admin/admin.php:797 admin/admin.php:798
235
  #: admin/shortcode-builder/components/filters.php:3 admin/views/settings.php:37
236
- #: core/functions.php:110
237
  msgid "Filters"
238
  msgstr ""
239
 
240
  #: admin/admin.php:819 admin/admin.php:820
241
- #: admin/shortcode-builder/shortcode-builder.php:1379 core/functions.php:245
242
  msgid "WooCommerce"
243
  msgstr ""
244
 
@@ -380,8 +380,8 @@ msgstr ""
380
 
381
  #: admin/admin.php:1855 admin/shortcode-builder/shortcode-builder.php:112
382
  #: admin/shortcode-builder/shortcode-builder.php:350
383
- #: core/classes/class.alm-shortcode.php:217
384
- msgid "Older Posts"
385
  msgstr ""
386
 
387
  #: admin/admin.php:1878
@@ -446,7 +446,7 @@ msgid ""
446
  "href='%s' class='button'>No thanks</a> &nbsp; <a href='%s' class='button-"
447
  "no'>I've already done this</a></p><p style='padding: 10px 0 0; margin: "
448
  "0;'><small><a href='http://connekthq.com/plugins/' target='_blank'>Check out "
449
- "other <b>Connekt</b> WordPress plugins</a></small></p>"
450
  msgstr ""
451
 
452
  #: admin/editor/editor-build.php:45
@@ -745,9 +745,9 @@ msgstr ""
745
  #: admin/shortcode-builder/components/rest-api.php:30
746
  #: admin/shortcode-builder/components/rest-api.php:105
747
  #: admin/shortcode-builder/components/seo.php:15
748
- #: admin/shortcode-builder/components/single-post.php:15
749
- #: admin/shortcode-builder/components/single-post.php:146
750
- #: admin/shortcode-builder/components/single-post.php:168
751
  #: admin/shortcode-builder/components/term-query.php:15
752
  #: admin/shortcode-builder/components/term-query.php:79
753
  #: admin/shortcode-builder/components/users.php:14
@@ -758,10 +758,10 @@ msgstr ""
758
  #: admin/shortcode-builder/shortcode-builder.php:397
759
  #: admin/shortcode-builder/shortcode-builder.php:456
760
  #: admin/shortcode-builder/shortcode-builder.php:479
761
- #: admin/shortcode-builder/shortcode-builder.php:634
762
- #: admin/shortcode-builder/shortcode-builder.php:710
763
- #: admin/shortcode-builder/shortcode-builder.php:1362
764
- #: admin/shortcode-builder/shortcode-builder.php:1393
765
  msgid "True"
766
  msgstr ""
767
 
@@ -784,9 +784,9 @@ msgstr ""
784
  #: admin/shortcode-builder/components/rest-api.php:34
785
  #: admin/shortcode-builder/components/rest-api.php:109
786
  #: admin/shortcode-builder/components/seo.php:19
787
- #: admin/shortcode-builder/components/single-post.php:19
788
- #: admin/shortcode-builder/components/single-post.php:150
789
- #: admin/shortcode-builder/components/single-post.php:172
790
  #: admin/shortcode-builder/components/term-query.php:19
791
  #: admin/shortcode-builder/components/term-query.php:80
792
  #: admin/shortcode-builder/components/users.php:18
@@ -797,17 +797,17 @@ msgstr ""
797
  #: admin/shortcode-builder/shortcode-builder.php:401
798
  #: admin/shortcode-builder/shortcode-builder.php:460
799
  #: admin/shortcode-builder/shortcode-builder.php:483
800
- #: admin/shortcode-builder/shortcode-builder.php:638
801
- #: admin/shortcode-builder/shortcode-builder.php:714
802
- #: admin/shortcode-builder/shortcode-builder.php:1366
803
- #: admin/shortcode-builder/shortcode-builder.php:1397
804
  msgid "False"
805
  msgstr ""
806
 
807
  #: admin/shortcode-builder/components/acf.php:31
808
  #: admin/shortcode-builder/components/comments.php:30
809
  #: admin/shortcode-builder/components/nextpage.php:31
810
- #: admin/shortcode-builder/components/single-post.php:30
811
  msgid "Post ID"
812
  msgstr ""
813
 
@@ -901,7 +901,7 @@ msgstr ""
901
  msgid "Generate Cache ID"
902
  msgstr ""
903
 
904
- #: admin/shortcode-builder/components/comments.php:3 core/functions.php:80
905
  msgid "Comments"
906
  msgstr ""
907
 
@@ -910,7 +910,7 @@ msgid "Enable Ajax Load More to display blog comments."
910
  msgstr ""
911
 
912
  #: admin/shortcode-builder/components/comments.php:31
913
- #: admin/shortcode-builder/components/single-post.php:31
914
  msgid "The ID of the current single post."
915
  msgstr ""
916
 
@@ -978,8 +978,8 @@ msgid ""
978
  msgstr ""
979
 
980
  #: admin/shortcode-builder/components/comments.php:105
981
- #: admin/shortcode-builder/shortcode-builder.php:529
982
- #: admin/shortcode-builder/shortcode-builder.php:615
983
  msgid "None"
984
  msgstr ""
985
 
@@ -1018,15 +1018,15 @@ msgstr ""
1018
 
1019
  #: admin/shortcode-builder/components/comments.php:135
1020
  #: admin/shortcode-builder/components/nextpage.php:108
1021
- #: admin/shortcode-builder/components/single-post.php:58
1022
- #: admin/shortcode-builder/components/single-post.php:259
1023
- #: admin/shortcode-builder/shortcode-builder.php:647
1024
- #: admin/shortcode-builder/shortcode-builder.php:1355
1025
- #: admin/shortcode-builder/shortcode-builder.php:1385
1026
  msgid "View Docs"
1027
  msgstr ""
1028
 
1029
- #: admin/shortcode-builder/components/cta.php:3 core/functions.php:65
1030
  msgid "Call to Actions"
1031
  msgstr ""
1032
 
@@ -1090,7 +1090,7 @@ msgid "Enable filters with this Ajax Load More instance."
1090
  msgstr ""
1091
 
1092
  #: admin/shortcode-builder/components/filters.php:30
1093
- #: admin/shortcode-builder/components/single-post.php:42
1094
  msgid "Target"
1095
  msgstr ""
1096
 
@@ -1198,7 +1198,7 @@ msgid ""
1198
  msgstr ""
1199
 
1200
  #: admin/shortcode-builder/components/nextpage.php:3
1201
- #: admin/shortcode-builder/components/paging.php:147 core/functions.php:140
1202
  msgid "Next Page"
1203
  msgstr ""
1204
 
@@ -1268,7 +1268,7 @@ msgid ""
1268
  msgstr ""
1269
 
1270
  #: admin/shortcode-builder/components/paging.php:3 admin/views/settings.php:41
1271
- #: core/functions.php:155
1272
  msgid "Paging"
1273
  msgstr ""
1274
 
@@ -1347,7 +1347,7 @@ msgstr ""
1347
  msgid "Label for the <span>Next Page</span> button."
1348
  msgstr ""
1349
 
1350
- #: admin/shortcode-builder/components/preloaded.php:3 core/functions.php:170
1351
  msgid "Preloaded"
1352
  msgstr ""
1353
 
@@ -1428,13 +1428,13 @@ msgstr ""
1428
  #: admin/shortcode-builder/shortcode-builder.php:193
1429
  #: admin/shortcode-builder/shortcode-builder.php:207
1430
  #: admin/shortcode-builder/shortcode-builder.php:230
1431
- #: admin/shortcode-builder/shortcode-builder.php:703
1432
- #: admin/shortcode-builder/shortcode-builder.php:890
1433
- #: admin/shortcode-builder/shortcode-builder.php:984
1434
- #: admin/shortcode-builder/shortcode-builder.php:1127
1435
- #: admin/shortcode-builder/shortcode-builder.php:1165
1436
- #: admin/shortcode-builder/shortcode-builder.php:1194
1437
- #: admin/shortcode-builder/shortcode-builder.php:1225
1438
  msgid "View Example"
1439
  msgstr ""
1440
 
@@ -1460,187 +1460,208 @@ msgid ""
1460
  "Enable address bar URL rewrites as users page through ajax loaded content."
1461
  msgstr ""
1462
 
1463
- #: admin/shortcode-builder/components/single-post.php:3
1464
- #: admin/views/settings.php:47 core/functions.php:200
1465
  msgid "Single Posts"
1466
  msgstr ""
1467
 
1468
- #: admin/shortcode-builder/components/single-post.php:8
1469
  msgid "Enable the infinite scrolling of single posts."
1470
  msgstr ""
1471
 
1472
- #: admin/shortcode-builder/components/single-post.php:42
1473
  msgid ""
1474
  "Repeater Templates are not required when using the Target implementation."
1475
  msgstr ""
1476
 
1477
- #: admin/shortcode-builder/components/single-post.php:43
1478
  msgid ""
1479
  "Enter the ID or classname of HTML element that wraps your single post "
1480
  "content."
1481
  msgstr ""
1482
 
1483
- #: admin/shortcode-builder/components/single-post.php:45
1484
  msgid "View Guide"
1485
  msgstr ""
1486
 
1487
- #: admin/shortcode-builder/components/single-post.php:56
1488
  msgid "Post Ordering"
1489
  msgstr ""
1490
 
1491
- #: admin/shortcode-builder/components/single-post.php:56
1492
  msgid ""
1493
  "By default, the Single Posts add-on will use the core WordPress "
1494
- "`get_previous_post` function, but you can over ride that here."
1495
  msgstr ""
1496
 
1497
- #: admin/shortcode-builder/components/single-post.php:57
1498
- msgid "Select the load order of posts while infinite scrolling."
1499
  msgstr ""
1500
 
1501
- #: admin/shortcode-builder/components/single-post.php:63
1502
  msgid "Previous Post (by date DESC)"
1503
  msgstr ""
1504
 
1505
- #: admin/shortcode-builder/components/single-post.php:64
1506
- msgid "Latest (Start at most recent post)"
1507
  msgstr ""
1508
 
1509
- #: admin/shortcode-builder/components/single-post.php:65
1510
- msgid "Next Post (by date ASC)"
 
 
 
 
 
 
 
 
 
1511
  msgstr ""
1512
 
1513
- #: admin/shortcode-builder/components/single-post.php:66
1514
- #: admin/shortcode-builder/components/single-post.php:75
 
 
 
 
 
 
 
 
 
 
 
1515
  msgid "Post ID Array"
1516
  msgstr ""
1517
 
1518
- #: admin/shortcode-builder/components/single-post.php:76
1519
  msgid "A comma separated list of post ID's to query by order."
1520
  msgstr ""
1521
 
1522
- #: admin/shortcode-builder/components/single-post.php:89
1523
  #: admin/shortcode-builder/components/term-query.php:39
1524
- #: admin/shortcode-builder/shortcode-builder.php:1067
1525
  msgid "Taxonomy"
1526
  msgstr ""
1527
 
1528
- #: admin/shortcode-builder/components/single-post.php:89
1529
  msgid ""
1530
  "Selecting a taxonomy means only previous posts from the same taxonomy term "
1531
  "will be returned. If a post has multiple terms attached, each term will be "
1532
  "considered using an OR relationship query."
1533
  msgstr ""
1534
 
1535
- #: admin/shortcode-builder/components/single-post.php:90
1536
  msgid "Query previous posts from the same taxonomy term(s)."
1537
  msgstr ""
1538
 
1539
- #: admin/shortcode-builder/components/single-post.php:103
1540
  #: admin/shortcode-builder/includes/tax-query-options.php:5
1541
  #: admin/shortcode-builder/includes/tax-query-options.php:62
1542
  #: admin/shortcode-builder/includes/tax-query-options.php:105
1543
  msgid "Select Taxonomy"
1544
  msgstr ""
1545
 
1546
- #: admin/shortcode-builder/components/single-post.php:104
1547
  #: admin/shortcode-builder/components/term-query.php:45
1548
- #: admin/shortcode-builder/shortcode-builder.php:883
1549
  msgid "Category"
1550
  msgstr ""
1551
 
1552
- #: admin/shortcode-builder/components/single-post.php:105
1553
  #: admin/shortcode-builder/components/term-query.php:46
1554
- #: admin/shortcode-builder/shortcode-builder.php:976
1555
  msgid "Tag"
1556
  msgstr ""
1557
 
1558
- #: admin/shortcode-builder/components/single-post.php:121
1559
  msgid "Excluded Terms "
1560
  msgstr ""
1561
 
1562
- #: admin/shortcode-builder/components/single-post.php:121
1563
  msgid "A comma-separated list of excluded terms by ID."
1564
  msgstr ""
1565
 
1566
- #: admin/shortcode-builder/components/single-post.php:122
1567
  msgid "Exclude posts by term ID from the previous post query."
1568
  msgstr ""
1569
 
1570
- #: admin/shortcode-builder/components/single-post.php:137
 
1571
  msgid "Elementor"
1572
  msgstr ""
1573
 
1574
- #: admin/shortcode-builder/components/single-post.php:138
1575
  msgid ""
1576
  "Set Elementor <b>true</b> if you are using Elementor templates to build "
1577
  "single posts."
1578
  msgstr ""
1579
 
1580
- #: admin/shortcode-builder/components/single-post.php:139
1581
  msgid "View Blog Post"
1582
  msgstr ""
1583
 
1584
- #: admin/shortcode-builder/components/single-post.php:160
1585
  msgid "Reading Progress Bar "
1586
  msgstr ""
1587
 
1588
- #: admin/shortcode-builder/components/single-post.php:161
1589
  msgid ""
1590
  "Display a reading progress bar indicator at the top or bottom of the browser "
1591
  "window."
1592
  msgstr ""
1593
 
1594
- #: admin/shortcode-builder/components/single-post.php:188
1595
  msgid "Position"
1596
  msgstr ""
1597
 
1598
- #: admin/shortcode-builder/components/single-post.php:189
1599
  msgid "Select the window position of the progress bar."
1600
  msgstr ""
1601
 
1602
- #: admin/shortcode-builder/components/single-post.php:196
1603
  msgid "Top"
1604
  msgstr ""
1605
 
1606
- #: admin/shortcode-builder/components/single-post.php:200
1607
  msgid "Bottom"
1608
  msgstr ""
1609
 
1610
- #: admin/shortcode-builder/components/single-post.php:209
1611
  msgid "Height"
1612
  msgstr ""
1613
 
1614
- #: admin/shortcode-builder/components/single-post.php:210
1615
  msgid "Select the height of the progress bar in pixels."
1616
  msgstr ""
1617
 
1618
- #: admin/shortcode-builder/components/single-post.php:221
1619
  msgid "Colors"
1620
  msgstr ""
1621
 
1622
- #: admin/shortcode-builder/components/single-post.php:222
1623
  msgid "Enter the hex color values of the reading progress bar"
1624
  msgstr ""
1625
 
1626
- #: admin/shortcode-builder/components/single-post.php:223
1627
- #: admin/shortcode-builder/shortcode-builder.php:729
1628
  msgid "Default:"
1629
  msgstr ""
1630
 
1631
- #: admin/shortcode-builder/components/single-post.php:230
1632
  msgid "Foreground Color:"
1633
  msgstr ""
1634
 
1635
- #: admin/shortcode-builder/components/single-post.php:237
1636
  msgid "Background Color:"
1637
  msgstr ""
1638
 
1639
- #: admin/shortcode-builder/components/single-post.php:237
1640
  msgid "Leave empty for a transparent background"
1641
  msgstr ""
1642
 
1643
- #: admin/shortcode-builder/components/single-post.php:259
1644
  msgid ""
1645
  "You must add the Single Post shortcode directly to your single template file "
1646
  "using the <a href=\"https://developer.wordpress.org/reference/functions/"
@@ -1679,7 +1700,7 @@ msgstr ""
1679
  msgid "Whether to hide terms not assigned to any posts."
1680
  msgstr ""
1681
 
1682
- #: admin/shortcode-builder/components/users.php:3 core/functions.php:230
1683
  msgid "Users"
1684
  msgstr ""
1685
 
@@ -1700,9 +1721,9 @@ msgid "All Roles"
1700
  msgstr ""
1701
 
1702
  #: admin/shortcode-builder/components/users.php:56
1703
- #: admin/shortcode-builder/shortcode-builder.php:887
1704
- #: admin/shortcode-builder/shortcode-builder.php:980
1705
- #: admin/shortcode-builder/shortcode-builder.php:1212
1706
  msgid "Include"
1707
  msgstr ""
1708
 
@@ -1711,9 +1732,9 @@ msgid "A comma separated list of users to be included by ID"
1711
  msgstr ""
1712
 
1713
  #: admin/shortcode-builder/components/users.php:70
1714
- #: admin/shortcode-builder/shortcode-builder.php:934
1715
- #: admin/shortcode-builder/shortcode-builder.php:1029
1716
- #: admin/shortcode-builder/shortcode-builder.php:1223
1717
  msgid "Exclude"
1718
  msgstr ""
1719
 
@@ -1738,12 +1759,12 @@ msgid "Sort users by Order and Orderby parameters"
1738
  msgstr ""
1739
 
1740
  #: admin/shortcode-builder/components/users.php:102
1741
- #: admin/shortcode-builder/shortcode-builder.php:1268
1742
  msgid "Order"
1743
  msgstr ""
1744
 
1745
  #: admin/shortcode-builder/components/users.php:109
1746
- #: admin/shortcode-builder/shortcode-builder.php:1275
1747
  msgid "Order By"
1748
  msgstr ""
1749
 
@@ -1796,7 +1817,7 @@ msgid "Taxonomy Operator:"
1796
  msgstr ""
1797
 
1798
  #: admin/shortcode-builder/includes/tax-query-options.php:48
1799
- #: admin/shortcode-builder/shortcode-builder.php:1102
1800
  msgid "Relation:"
1801
  msgstr ""
1802
 
@@ -2098,428 +2119,446 @@ msgid ""
2098
  "scrolling container."
2099
  msgstr ""
2100
 
2101
- #: admin/shortcode-builder/shortcode-builder.php:516
2102
- msgid "Transition"
 
 
 
 
 
 
 
 
 
 
 
 
2103
  msgstr ""
2104
 
2105
  #: admin/shortcode-builder/shortcode-builder.php:521
 
 
 
 
 
 
 
 
2106
  msgid "Type"
2107
  msgstr ""
2108
 
2109
- #: admin/shortcode-builder/shortcode-builder.php:522
2110
  msgid "Select a loading transition style."
2111
  msgstr ""
2112
 
2113
- #: admin/shortcode-builder/shortcode-builder.php:527
2114
  msgid "Fade In"
2115
  msgstr ""
2116
 
2117
- #: admin/shortcode-builder/shortcode-builder.php:528
2118
  msgid "Masonry"
2119
  msgstr ""
2120
 
2121
- #: admin/shortcode-builder/shortcode-builder.php:542
2122
  msgid "Masonry Options"
2123
  msgstr ""
2124
 
2125
- #: admin/shortcode-builder/shortcode-builder.php:542
2126
  msgid "Ajax Load More does not support all available Masonry options"
2127
  msgstr ""
2128
 
2129
- #: admin/shortcode-builder/shortcode-builder.php:543
2130
  msgid ""
2131
  "The following Masonry <a href=\"https://masonry.desandro.com/options.html\" "
2132
  "target=\"_blank\">options</a> are supported by Ajax Load More."
2133
  msgstr ""
2134
 
2135
- #: admin/shortcode-builder/shortcode-builder.php:549
2136
  msgid "Item Selector"
2137
  msgstr ""
2138
 
2139
- #: admin/shortcode-builder/shortcode-builder.php:549
2140
  msgid ""
2141
  "Item Selector is required for Masonry to target each element loaded with "
2142
  "Ajax."
2143
  msgstr ""
2144
 
2145
- #: admin/shortcode-builder/shortcode-builder.php:550
2146
  msgid "Enter the target classname of each masonry item."
2147
  msgstr ""
2148
 
2149
- #: admin/shortcode-builder/shortcode-builder.php:564
2150
  msgid "Column Width"
2151
  msgstr ""
2152
 
2153
- #: admin/shortcode-builder/shortcode-builder.php:564
2154
  msgid ""
2155
  "If columnWidth is not set, Masonry will use the outer width of the first "
2156
  "Item Selector."
2157
  msgstr ""
2158
 
2159
- #: admin/shortcode-builder/shortcode-builder.php:565
2160
  msgid ""
2161
  "Enter the <a href=\"https://masonry.desandro.com/options.html#columnwidth\" "
2162
  "target=\"_blank\">columnWidth</a> of the masonry items."
2163
  msgstr ""
2164
 
2165
- #: admin/shortcode-builder/shortcode-builder.php:578
2166
  msgid "Animation Type"
2167
  msgstr ""
2168
 
2169
- #: admin/shortcode-builder/shortcode-builder.php:578
2170
  msgid "All Masonry animations include a fade-in effect as items are loaded."
2171
  msgstr ""
2172
 
2173
- #: admin/shortcode-builder/shortcode-builder.php:579
2174
  msgid "Select a loading transition for Masonry items."
2175
  msgstr ""
2176
 
2177
- #: admin/shortcode-builder/shortcode-builder.php:587
2178
  msgid "Default (Zoom)"
2179
  msgstr ""
2180
 
2181
- #: admin/shortcode-builder/shortcode-builder.php:588
2182
  msgid "Items scale up from 50% to 100% size on load."
2183
  msgstr ""
2184
 
2185
- #: admin/shortcode-builder/shortcode-builder.php:594
2186
  msgid "Zoom Out"
2187
  msgstr ""
2188
 
2189
- #: admin/shortcode-builder/shortcode-builder.php:595
2190
  msgid "Items scale down from 125% to 100% size on load."
2191
  msgstr ""
2192
 
2193
- #: admin/shortcode-builder/shortcode-builder.php:601
2194
  msgid "Slide Up"
2195
  msgstr ""
2196
 
2197
- #: admin/shortcode-builder/shortcode-builder.php:602
2198
  msgid "Items animate up as they are loaded into view."
2199
  msgstr ""
2200
 
2201
- #: admin/shortcode-builder/shortcode-builder.php:608
2202
  msgid "Slide Down"
2203
  msgstr ""
2204
 
2205
- #: admin/shortcode-builder/shortcode-builder.php:609
2206
  msgid "Items animate down when loaded into view."
2207
  msgstr ""
2208
 
2209
- #: admin/shortcode-builder/shortcode-builder.php:625
2210
  msgid "Horizontal Order"
2211
  msgstr ""
2212
 
2213
- #: admin/shortcode-builder/shortcode-builder.php:626
2214
  msgid "Lays out items to maintain left-to-right order."
2215
  msgstr ""
2216
 
2217
- #: admin/shortcode-builder/shortcode-builder.php:646
2218
  msgid ""
2219
  "Don't see your favorite Masonry option listed? You can always add your own!"
2220
  msgstr ""
2221
 
2222
- #: admin/shortcode-builder/shortcode-builder.php:661
2223
  msgid "Transition Container Classes"
2224
  msgstr ""
2225
 
2226
- #: admin/shortcode-builder/shortcode-builder.php:661
2227
  msgid "This setting is not available with the Single Post or Next Page add-ons"
2228
  msgstr ""
2229
 
2230
- #: admin/shortcode-builder/shortcode-builder.php:662
2231
  msgid "Add custom classes to the <span>.alm-reveal</span> loading container"
2232
  msgstr ""
2233
 
2234
- #: admin/shortcode-builder/shortcode-builder.php:674
2235
  msgid "Transition Container"
2236
  msgstr ""
2237
 
2238
- #: admin/shortcode-builder/shortcode-builder.php:674
2239
  msgid ""
2240
  "Removing the transition container may have undesired results and is not "
2241
  "recommended"
2242
  msgstr ""
2243
 
2244
- #: admin/shortcode-builder/shortcode-builder.php:675
2245
  msgid ""
2246
  "Remove the <span>.alm-reveal</span> loading container from Ajax Load More"
2247
  msgstr ""
2248
 
2249
- #: admin/shortcode-builder/shortcode-builder.php:682
2250
  msgid "Remove Container"
2251
  msgstr ""
2252
 
2253
- #: admin/shortcode-builder/shortcode-builder.php:698
2254
  msgid "Progress Bar"
2255
  msgstr ""
2256
 
2257
- #: admin/shortcode-builder/shortcode-builder.php:702
2258
  msgid ""
2259
  "Display progress bar indicator at the top of the window while loading Ajax "
2260
  "content."
2261
  msgstr ""
2262
 
2263
- #: admin/shortcode-builder/shortcode-builder.php:727
2264
  msgid "Color"
2265
  msgstr ""
2266
 
2267
- #: admin/shortcode-builder/shortcode-builder.php:728
2268
  msgid "Enter the hex color of the progress bar"
2269
  msgstr ""
2270
 
2271
- #: admin/shortcode-builder/shortcode-builder.php:755
2272
  msgid "Query Parameters"
2273
  msgstr ""
2274
 
2275
- #: admin/shortcode-builder/shortcode-builder.php:758
2276
  msgid ""
2277
  "Query Parameters allow you build a custom <b>WP_Query</b> based on Ajax Load "
2278
  "More shortcode values."
2279
  msgstr ""
2280
 
2281
- #: admin/shortcode-builder/shortcode-builder.php:758
2282
  msgid ""
2283
  "When using Ajax Load More add-ons or extensions not all Query Parameters "
2284
  "will be available in the query."
2285
  msgstr ""
2286
 
2287
- #: admin/shortcode-builder/shortcode-builder.php:762
2288
  msgid "Posts Per Page"
2289
  msgstr ""
2290
 
2291
- #: admin/shortcode-builder/shortcode-builder.php:766
2292
  msgid "Select the number of posts to load with each Ajax request."
2293
  msgstr ""
2294
 
2295
- #: admin/shortcode-builder/shortcode-builder.php:786
2296
  msgid "Post Type"
2297
  msgstr ""
2298
 
2299
- #: admin/shortcode-builder/shortcode-builder.php:791
2300
  msgid "Select the Post Types to include in this Ajax Load More query."
2301
  msgstr ""
2302
 
2303
- #: admin/shortcode-builder/shortcode-builder.php:805
2304
  msgid "Any"
2305
  msgstr ""
2306
 
2307
- #: admin/shortcode-builder/shortcode-builder.php:816
2308
  msgid "Sticky Posts"
2309
  msgstr ""
2310
 
2311
- #: admin/shortcode-builder/shortcode-builder.php:816
2312
  msgid "Sticky posts are only available for Posts"
2313
  msgstr ""
2314
 
2315
- #: admin/shortcode-builder/shortcode-builder.php:817
2316
  msgid ""
2317
  "Preserve the ordering of sticky posts by having them appear first in the "
2318
  "Ajax listing."
2319
  msgstr ""
2320
 
2321
- #: admin/shortcode-builder/shortcode-builder.php:824
2322
  msgid "Enable Sticky Posts"
2323
  msgstr ""
2324
 
2325
- #: admin/shortcode-builder/shortcode-builder.php:847
2326
  msgid "Post Format"
2327
  msgstr ""
2328
 
2329
- #: admin/shortcode-builder/shortcode-builder.php:851
2330
- msgid ""
2331
- "Select a <a href=\"http://codex.wordpress.org/Post_Formats\" target=\"_blank"
2332
- "\">Post Format</a> to query."
2333
  msgstr ""
2334
 
2335
- #: admin/shortcode-builder/shortcode-builder.php:854
2336
  msgid "Select Post Format"
2337
  msgstr ""
2338
 
2339
- #: admin/shortcode-builder/shortcode-builder.php:855
2340
  msgid "Standard"
2341
  msgstr ""
2342
 
2343
- #: admin/shortcode-builder/shortcode-builder.php:887
2344
  msgid "Get posts by category using a category_name or category__and query"
2345
  msgstr ""
2346
 
2347
- #: admin/shortcode-builder/shortcode-builder.php:888
2348
  msgid "Comma separated list of categories to include by"
2349
  msgstr ""
2350
 
2351
- #: admin/shortcode-builder/shortcode-builder.php:888
2352
- #: admin/shortcode-builder/shortcode-builder.php:981
2353
  msgid "slug"
2354
  msgstr ""
2355
 
2356
- #: admin/shortcode-builder/shortcode-builder.php:924
2357
- #: admin/shortcode-builder/shortcode-builder.php:1019
2358
  msgid "What's this"
2359
  msgstr ""
2360
 
2361
- #: admin/shortcode-builder/shortcode-builder.php:936
2362
  msgid "Comma separated list of categories to exclude by ID."
2363
  msgstr ""
2364
 
2365
- #: admin/shortcode-builder/shortcode-builder.php:980
2366
  msgid "Get posts by tags using a tag or tag__and query"
2367
  msgstr ""
2368
 
2369
- #: admin/shortcode-builder/shortcode-builder.php:981
2370
  msgid "Comma separated list of tags to include by"
2371
  msgstr ""
2372
 
2373
- #: admin/shortcode-builder/shortcode-builder.php:1031
2374
  msgid "Comma separated list of tags to exclude by ID"
2375
  msgstr ""
2376
 
2377
- #: admin/shortcode-builder/shortcode-builder.php:1071
2378
  msgid "Select a taxonomy then select the terms and an operator."
2379
  msgstr ""
2380
 
2381
- #: admin/shortcode-builder/shortcode-builder.php:1076
2382
- #: admin/shortcode-builder/shortcode-builder.php:1112
2383
  msgid "Add Another"
2384
  msgstr ""
2385
 
2386
- #: admin/shortcode-builder/shortcode-builder.php:1087
2387
  msgid "Custom Fields (Meta_Query)"
2388
  msgstr ""
2389
 
2390
- #: admin/shortcode-builder/shortcode-builder.php:1091
2391
  msgid ""
2392
- "Query for <a href=\"http://codex.wordpress.org/Class_Reference/WP_Meta_Query"
2393
- "\" target=\"_blank\">custom field</a> by entering a custom field key, value "
2394
- "and operator."
2395
  msgstr ""
2396
 
2397
- #: admin/shortcode-builder/shortcode-builder.php:1102
2398
  msgid ""
2399
  "The logical relationship between each custom field when there is more than "
2400
  "one"
2401
  msgstr ""
2402
 
2403
- #: admin/shortcode-builder/shortcode-builder.php:1122
2404
  msgid "Date"
2405
  msgstr ""
2406
 
2407
- #: admin/shortcode-builder/shortcode-builder.php:1126
2408
  msgid "Enter a year, month(number) and day to query by date archive."
2409
  msgstr ""
2410
 
2411
- #: admin/shortcode-builder/shortcode-builder.php:1133
2412
  msgid "Year:"
2413
  msgstr ""
2414
 
2415
- #: admin/shortcode-builder/shortcode-builder.php:1137
2416
  msgid "Month:"
2417
  msgstr ""
2418
 
2419
- #: admin/shortcode-builder/shortcode-builder.php:1141
2420
  msgid "Day:"
2421
  msgstr ""
2422
 
2423
- #: admin/shortcode-builder/shortcode-builder.php:1159
2424
  msgid "Author"
2425
  msgstr ""
2426
 
2427
- #: admin/shortcode-builder/shortcode-builder.php:1163
2428
  msgid "Select an Author to query(by ID)."
2429
  msgstr ""
2430
 
2431
- #: admin/shortcode-builder/shortcode-builder.php:1188
2432
  msgid "Search"
2433
  msgstr ""
2434
 
2435
- #: admin/shortcode-builder/shortcode-builder.php:1192
2436
  msgid "Enter a search term to query."
2437
  msgstr ""
2438
 
2439
- #: admin/shortcode-builder/shortcode-builder.php:1193
2440
  msgid ""
2441
  "Search uses the default WordPress search, however Ajax Load More does offer "
2442
  "integrations with SearchWP and Relevanssi."
2443
  msgstr ""
2444
 
2445
- #: admin/shortcode-builder/shortcode-builder.php:1198
2446
  msgid "Enter search term"
2447
  msgstr ""
2448
 
2449
- #: admin/shortcode-builder/shortcode-builder.php:1208
2450
  msgid "Post Parameters"
2451
  msgstr ""
2452
 
2453
- #: admin/shortcode-builder/shortcode-builder.php:1213
2454
  msgid "A comma separated list of post ID's to query."
2455
  msgstr ""
2456
 
2457
- #: admin/shortcode-builder/shortcode-builder.php:1217
2458
  msgid "225, 340, 818, etc..."
2459
  msgstr ""
2460
 
2461
- #: admin/shortcode-builder/shortcode-builder.php:1224
2462
  msgid "A comma separated list of post ID's to exclude from query."
2463
  msgstr ""
2464
 
2465
- #: admin/shortcode-builder/shortcode-builder.php:1235
2466
  msgid "Post Status"
2467
  msgstr ""
2468
 
2469
- #: admin/shortcode-builder/shortcode-builder.php:1235
2470
  msgid ""
2471
  "Post Status parameters are only available for logged in (admin) users. Non "
2472
  "logged in users will only have access to view content in a 'publish' or "
2473
  "'inherit' state."
2474
  msgstr ""
2475
 
2476
- #: admin/shortcode-builder/shortcode-builder.php:1236
2477
  msgid "Select status of the post."
2478
  msgstr ""
2479
 
2480
- #: admin/shortcode-builder/shortcode-builder.php:1241
2481
  msgid "Published"
2482
  msgstr ""
2483
 
2484
- #: admin/shortcode-builder/shortcode-builder.php:1259
2485
  msgid "Ordering"
2486
  msgstr ""
2487
 
2488
- #: admin/shortcode-builder/shortcode-builder.php:1263
2489
  msgid "Sort posts by Order and Orderby parameters."
2490
  msgstr ""
2491
 
2492
- #: admin/shortcode-builder/shortcode-builder.php:1298
2493
  msgid "Offset"
2494
  msgstr ""
2495
 
2496
- #: admin/shortcode-builder/shortcode-builder.php:1302
2497
  msgid "Offset the initial query by <em>'x'</em> number of posts"
2498
  msgstr ""
2499
 
2500
- #: admin/shortcode-builder/shortcode-builder.php:1316
2501
  msgid "Custom Arguments"
2502
  msgstr ""
2503
 
2504
- #: admin/shortcode-builder/shortcode-builder.php:1320
2505
  msgid "A semicolon separated list of custom value:pair arguments."
2506
  msgstr ""
2507
 
2508
- #: admin/shortcode-builder/shortcode-builder.php:1320
2509
  msgid ""
2510
  "Custom Arguments can be used to query by parameters not available in the "
2511
  "Shortcode Builder"
2512
  msgstr ""
2513
 
2514
- #: admin/shortcode-builder/shortcode-builder.php:1324
2515
  msgid "event_display:upcoming"
2516
  msgstr ""
2517
 
2518
- #: admin/shortcode-builder/shortcode-builder.php:1341
2519
  msgid "Integrations"
2520
  msgstr ""
2521
 
2522
- #: admin/shortcode-builder/shortcode-builder.php:1345
2523
  msgid ""
2524
  "Ajax Load More provides integration solutions for popular plugins and core "
2525
  "WP functionality - when selecting an integration, Ajax Load More will "
@@ -2527,23 +2566,23 @@ msgid ""
2527
  "experience for users based on the selected integration."
2528
  msgstr ""
2529
 
2530
- #: admin/shortcode-builder/shortcode-builder.php:1349
2531
  msgid "Archives"
2532
  msgstr ""
2533
 
2534
- #: admin/shortcode-builder/shortcode-builder.php:1353
2535
  msgid ""
2536
  "Ajax Load More will automatically create an archive query while viewing site "
2537
  "archives."
2538
  msgstr ""
2539
 
2540
- #: admin/shortcode-builder/shortcode-builder.php:1354
2541
  msgid ""
2542
  "Taxonomy, category, tag, date (year, month, day), post type and author "
2543
  "archives are currently supported."
2544
  msgstr ""
2545
 
2546
- #: admin/shortcode-builder/shortcode-builder.php:1372
2547
  msgid ""
2548
  "<b>Note</b>: Do not select Query Parameters other than <b>Posts Per Page</b> "
2549
  "and/or <b>Post Type</b> when using the Archives integration. Ajax Load More "
@@ -2551,12 +2590,12 @@ msgid ""
2551
  "archive page."
2552
  msgstr ""
2553
 
2554
- #: admin/shortcode-builder/shortcode-builder.php:1383
2555
  msgid ""
2556
  "Ajax Load More will automatically set WooCommerce configuration options."
2557
  msgstr ""
2558
 
2559
- #: admin/shortcode-builder/shortcode-builder.php:1384
2560
  msgid ""
2561
  "Post type, products per page, container classes, sort order and taxonomy/tag "
2562
  "archive queries will be set on the server side based on your sites "
@@ -2782,7 +2821,7 @@ msgid "The library of editable templates for use within your theme"
2782
  msgstr ""
2783
 
2784
  #: admin/views/repeater-templates.php:27 admin/views/settings.php:51
2785
- #: core/functions.php:215
2786
  msgid "Theme Repeaters"
2787
  msgstr ""
2788
 
@@ -2875,7 +2914,7 @@ msgstr ""
2875
  msgid "Admin"
2876
  msgstr ""
2877
 
2878
- #: admin/views/settings.php:39 core/functions.php:125
2879
  msgid "Layouts"
2880
  msgstr ""
2881
 
@@ -2915,15 +2954,11 @@ msgstr ""
2915
  msgid "Reset"
2916
  msgstr ""
2917
 
2918
- #: ajax-load-more.php:290
2919
- msgid "Error creating repeater template directory"
2920
- msgstr ""
2921
-
2922
- #: ajax-load-more.php:441
2923
  msgid "Viewing {post_count} of {total_posts} results."
2924
  msgstr ""
2925
 
2926
- #: ajax-load-more.php:442
2927
  msgid "No results found."
2928
  msgstr ""
2929
 
@@ -2931,164 +2966,174 @@ msgstr ""
2931
  msgid "Pages: "
2932
  msgstr ""
2933
 
2934
- #: core/functions.php:17
2935
  msgid "Ajax Load More Pro"
2936
  msgstr ""
2937
 
2938
- #: core/functions.php:18
2939
  msgid "Get instant access to all premium add-ons in a single installation."
2940
  msgstr ""
2941
 
2942
- #: core/functions.php:19
2943
  msgid ""
2944
  "The Pro bundle is installed as a single product with one license key and "
2945
  "contains immediate access all premium add-ons."
2946
  msgstr ""
2947
 
2948
- #: core/functions.php:51
2949
  msgid "Improve performance with the Ajax Load More caching engine."
2950
  msgstr ""
2951
 
2952
- #: core/functions.php:52
2953
  msgid ""
2954
  "The Cache add-on creates static HTML files of Ajax Load More requests then "
2955
  "delivers those static files to your visitors."
2956
  msgstr ""
2957
 
2958
- #: core/functions.php:66
2959
  msgid ""
2960
  "Ajax Load More extension for displaying advertisements and call to actions."
2961
  msgstr ""
2962
 
2963
- #: core/functions.php:67
2964
  msgid ""
2965
  "The Call to Actions add-on provides the ability to inject a custom CTA "
2966
  "template within each Ajax Load More loop."
2967
  msgstr ""
2968
 
2969
- #: core/functions.php:81
2970
  msgid "Load blog comments on demand with Ajax Load More."
2971
  msgstr ""
2972
 
2973
- #: core/functions.php:82
2974
  msgid ""
2975
  "The Comments add-on will display your blog comments with Ajax Load More's "
2976
  "infinite scroll functionality."
2977
  msgstr ""
2978
 
2979
- #: core/functions.php:95
2980
  msgid "Custom Repeaters"
2981
  msgstr ""
2982
 
2983
- #: core/functions.php:96
2984
  msgid "Extend Ajax Load More with unlimited repeater templates."
2985
  msgstr ""
2986
 
2987
- #: core/functions.php:97
2988
  msgid ""
2989
  "Create, delete and modify repeater templates as you need them with "
2990
  "absolutely zero restrictions."
2991
  msgstr ""
2992
 
2993
- #: core/functions.php:111
 
 
 
 
 
 
 
 
 
 
2994
  msgid "Create custom Ajax Load More filters in seconds."
2995
  msgstr ""
2996
 
2997
- #: core/functions.php:112
2998
  msgid ""
2999
  "The Filters add-on provides front-end and admin functionality for building "
3000
  "and managing Ajax filters."
3001
  msgstr ""
3002
 
3003
- #: core/functions.php:126
3004
  msgid "Predefined layouts for repeater templates."
3005
  msgstr ""
3006
 
3007
- #: core/functions.php:127
3008
  msgid ""
3009
  "The Layouts add-on provides a collection of unique, well designed and fully "
3010
  "responsive templates."
3011
  msgstr ""
3012
 
3013
- #: core/functions.php:141
3014
  msgid "Load and display multipage WordPress content."
3015
  msgstr ""
3016
 
3017
- #: core/functions.php:142
3018
  msgid ""
3019
  "The Next Page add-on provides functionality for infinite scrolling paginated "
3020
  "posts and pages."
3021
  msgstr ""
3022
 
3023
- #: core/functions.php:156
3024
  msgid "Extend Ajax Load More with a numbered navigation."
3025
  msgstr ""
3026
 
3027
- #: core/functions.php:157
3028
  msgid ""
3029
  "The Paging add-on will transform the default infinite scroll functionality "
3030
  "into a robust ajax powered navigation system."
3031
  msgstr ""
3032
 
3033
- #: core/functions.php:171
3034
  msgid "Load an initial set of posts before making Ajax requests to the server."
3035
  msgstr ""
3036
 
3037
- #: core/functions.php:172
3038
  msgid ""
3039
  "The Preloaded add-on will display content quicker and allow caching of the "
3040
  "initial query which can reduce stress on your server."
3041
  msgstr ""
3042
 
3043
- #: core/functions.php:185
3044
  msgid "Search Engine Optimization"
3045
  msgstr ""
3046
 
3047
- #: core/functions.php:186
3048
  msgid "Generate unique paging URLs with every Ajax Load More query."
3049
  msgstr ""
3050
 
3051
- #: core/functions.php:187
3052
  msgid ""
3053
  "The SEO add-on will optimize your ajax loaded content for search engines by "
3054
  "generating unique URLs with every query."
3055
  msgstr ""
3056
 
3057
- #: core/functions.php:201
3058
  msgid "An add-on to enable infinite scrolling of single posts."
3059
  msgstr ""
3060
 
3061
- #: core/functions.php:202
3062
  msgid ""
3063
  "The Single Posts add-on will load full posts as you scroll and update the "
3064
  "browser URL to the current post."
3065
  msgstr ""
3066
 
3067
- #: core/functions.php:216
3068
  msgid "Manage repeater templates within your current theme directory."
3069
  msgstr ""
3070
 
3071
- #: core/functions.php:217
3072
  msgid ""
3073
  "The Theme Repeater add-on will allow you load, edit and maintain templates "
3074
  "from your current theme directory."
3075
  msgstr ""
3076
 
3077
- #: core/functions.php:231
3078
  msgid "Enable infinite scrolling of WordPress users."
3079
  msgstr ""
3080
 
3081
- #: core/functions.php:232
3082
  msgid ""
3083
  "The Users add-on will allow lazy loading of users by role using a "
3084
  "WP_User_Query."
3085
  msgstr ""
3086
 
3087
- #: core/functions.php:246
3088
  msgid "Infinite scroll WooCommerce products with Ajax Load More."
3089
  msgstr ""
3090
 
3091
- #: core/functions.php:247
3092
  msgid ""
3093
  "The WooCommerce add-on automatically integrates infinite scrolling into your "
3094
  "existing shop templates."
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Ajax Load More\n"
5
+ "POT-Creation-Date: 2020-11-11 07:37-0500\n"
6
  "PO-Revision-Date: 2018-06-20 13:05-0500\n"
7
  "Last-Translator: Darren Cooney <darren@connekthq.com>\n"
8
  "Language-Team: \n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 2.4.1\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
  "X-Poedit-KeywordsList: __;_e\n"
183
  "to read and write files within the /ajax-load-more/core/repeater directory."
184
  msgstr ""
185
 
186
+ #: admin/admin.php:680 admin/admin.php:681 ajax-load-more.php:320
187
  msgid "Settings"
188
  msgstr ""
189
 
227
 
228
  #: admin/admin.php:776 admin/admin.php:777
229
  #: admin/shortcode-builder/components/cache.php:3 admin/views/settings.php:35
230
+ #: core/functions.php:51
231
  msgid "Cache"
232
  msgstr ""
233
 
234
  #: admin/admin.php:797 admin/admin.php:798
235
  #: admin/shortcode-builder/components/filters.php:3 admin/views/settings.php:37
236
+ #: core/functions.php:126
237
  msgid "Filters"
238
  msgstr ""
239
 
240
  #: admin/admin.php:819 admin/admin.php:820
241
+ #: admin/shortcode-builder/shortcode-builder.php:1399 core/functions.php:261
242
  msgid "WooCommerce"
243
  msgstr ""
244
 
380
 
381
  #: admin/admin.php:1855 admin/shortcode-builder/shortcode-builder.php:112
382
  #: admin/shortcode-builder/shortcode-builder.php:350
383
+ #: core/classes/class.alm-shortcode.php:206
384
+ msgid "Load More"
385
  msgstr ""
386
 
387
  #: admin/admin.php:1878
446
  "href='%s' class='button'>No thanks</a> &nbsp; <a href='%s' class='button-"
447
  "no'>I've already done this</a></p><p style='padding: 10px 0 0; margin: "
448
  "0;'><small><a href='http://connekthq.com/plugins/' target='_blank'>Check out "
449
+ "our other <b>Connekt</b> WordPress plugins</a></small></p>"
450
  msgstr ""
451
 
452
  #: admin/editor/editor-build.php:45
745
  #: admin/shortcode-builder/components/rest-api.php:30
746
  #: admin/shortcode-builder/components/rest-api.php:105
747
  #: admin/shortcode-builder/components/seo.php:15
748
+ #: admin/shortcode-builder/components/single-post.php:19
749
+ #: admin/shortcode-builder/components/single-post.php:164
750
+ #: admin/shortcode-builder/components/single-post.php:186
751
  #: admin/shortcode-builder/components/term-query.php:15
752
  #: admin/shortcode-builder/components/term-query.php:79
753
  #: admin/shortcode-builder/components/users.php:14
758
  #: admin/shortcode-builder/shortcode-builder.php:397
759
  #: admin/shortcode-builder/shortcode-builder.php:456
760
  #: admin/shortcode-builder/shortcode-builder.php:479
761
+ #: admin/shortcode-builder/shortcode-builder.php:654
762
+ #: admin/shortcode-builder/shortcode-builder.php:730
763
+ #: admin/shortcode-builder/shortcode-builder.php:1382
764
+ #: admin/shortcode-builder/shortcode-builder.php:1413
765
  msgid "True"
766
  msgstr ""
767
 
784
  #: admin/shortcode-builder/components/rest-api.php:34
785
  #: admin/shortcode-builder/components/rest-api.php:109
786
  #: admin/shortcode-builder/components/seo.php:19
787
+ #: admin/shortcode-builder/components/single-post.php:23
788
+ #: admin/shortcode-builder/components/single-post.php:168
789
+ #: admin/shortcode-builder/components/single-post.php:190
790
  #: admin/shortcode-builder/components/term-query.php:19
791
  #: admin/shortcode-builder/components/term-query.php:80
792
  #: admin/shortcode-builder/components/users.php:18
797
  #: admin/shortcode-builder/shortcode-builder.php:401
798
  #: admin/shortcode-builder/shortcode-builder.php:460
799
  #: admin/shortcode-builder/shortcode-builder.php:483
800
+ #: admin/shortcode-builder/shortcode-builder.php:658
801
+ #: admin/shortcode-builder/shortcode-builder.php:734
802
+ #: admin/shortcode-builder/shortcode-builder.php:1386
803
+ #: admin/shortcode-builder/shortcode-builder.php:1417
804
  msgid "False"
805
  msgstr ""
806
 
807
  #: admin/shortcode-builder/components/acf.php:31
808
  #: admin/shortcode-builder/components/comments.php:30
809
  #: admin/shortcode-builder/components/nextpage.php:31
810
+ #: admin/shortcode-builder/components/single-post.php:34
811
  msgid "Post ID"
812
  msgstr ""
813
 
901
  msgid "Generate Cache ID"
902
  msgstr ""
903
 
904
+ #: admin/shortcode-builder/components/comments.php:3 core/functions.php:81
905
  msgid "Comments"
906
  msgstr ""
907
 
910
  msgstr ""
911
 
912
  #: admin/shortcode-builder/components/comments.php:31
913
+ #: admin/shortcode-builder/components/single-post.php:35
914
  msgid "The ID of the current single post."
915
  msgstr ""
916
 
978
  msgstr ""
979
 
980
  #: admin/shortcode-builder/components/comments.php:105
981
+ #: admin/shortcode-builder/shortcode-builder.php:549
982
+ #: admin/shortcode-builder/shortcode-builder.php:635
983
  msgid "None"
984
  msgstr ""
985
 
1018
 
1019
  #: admin/shortcode-builder/components/comments.php:135
1020
  #: admin/shortcode-builder/components/nextpage.php:108
1021
+ #: admin/shortcode-builder/components/single-post.php:62
1022
+ #: admin/shortcode-builder/components/single-post.php:277
1023
+ #: admin/shortcode-builder/shortcode-builder.php:667
1024
+ #: admin/shortcode-builder/shortcode-builder.php:1375
1025
+ #: admin/shortcode-builder/shortcode-builder.php:1405
1026
  msgid "View Docs"
1027
  msgstr ""
1028
 
1029
+ #: admin/shortcode-builder/components/cta.php:3 core/functions.php:66
1030
  msgid "Call to Actions"
1031
  msgstr ""
1032
 
1090
  msgstr ""
1091
 
1092
  #: admin/shortcode-builder/components/filters.php:30
1093
+ #: admin/shortcode-builder/components/single-post.php:46
1094
  msgid "Target"
1095
  msgstr ""
1096
 
1198
  msgstr ""
1199
 
1200
  #: admin/shortcode-builder/components/nextpage.php:3
1201
+ #: admin/shortcode-builder/components/paging.php:147 core/functions.php:156
1202
  msgid "Next Page"
1203
  msgstr ""
1204
 
1268
  msgstr ""
1269
 
1270
  #: admin/shortcode-builder/components/paging.php:3 admin/views/settings.php:41
1271
+ #: core/functions.php:171
1272
  msgid "Paging"
1273
  msgstr ""
1274
 
1347
  msgid "Label for the <span>Next Page</span> button."
1348
  msgstr ""
1349
 
1350
+ #: admin/shortcode-builder/components/preloaded.php:3 core/functions.php:186
1351
  msgid "Preloaded"
1352
  msgstr ""
1353
 
1428
  #: admin/shortcode-builder/shortcode-builder.php:193
1429
  #: admin/shortcode-builder/shortcode-builder.php:207
1430
  #: admin/shortcode-builder/shortcode-builder.php:230
1431
+ #: admin/shortcode-builder/shortcode-builder.php:723
1432
+ #: admin/shortcode-builder/shortcode-builder.php:910
1433
+ #: admin/shortcode-builder/shortcode-builder.php:1004
1434
+ #: admin/shortcode-builder/shortcode-builder.php:1147
1435
+ #: admin/shortcode-builder/shortcode-builder.php:1185
1436
+ #: admin/shortcode-builder/shortcode-builder.php:1214
1437
+ #: admin/shortcode-builder/shortcode-builder.php:1245
1438
  msgid "View Example"
1439
  msgstr ""
1440
 
1460
  "Enable address bar URL rewrites as users page through ajax loaded content."
1461
  msgstr ""
1462
 
1463
+ #: admin/shortcode-builder/components/single-post.php:7
1464
+ #: admin/views/settings.php:47 core/functions.php:216
1465
  msgid "Single Posts"
1466
  msgstr ""
1467
 
1468
+ #: admin/shortcode-builder/components/single-post.php:12
1469
  msgid "Enable the infinite scrolling of single posts."
1470
  msgstr ""
1471
 
1472
+ #: admin/shortcode-builder/components/single-post.php:46
1473
  msgid ""
1474
  "Repeater Templates are not required when using the Target implementation."
1475
  msgstr ""
1476
 
1477
+ #: admin/shortcode-builder/components/single-post.php:47
1478
  msgid ""
1479
  "Enter the ID or classname of HTML element that wraps your single post "
1480
  "content."
1481
  msgstr ""
1482
 
1483
+ #: admin/shortcode-builder/components/single-post.php:49
1484
  msgid "View Guide"
1485
  msgstr ""
1486
 
1487
+ #: admin/shortcode-builder/components/single-post.php:60
1488
  msgid "Post Ordering"
1489
  msgstr ""
1490
 
1491
+ #: admin/shortcode-builder/components/single-post.php:60
1492
  msgid ""
1493
  "By default, the Single Posts add-on will use the core WordPress "
1494
+ "`get_previous_post` function, but you can adjust that here."
1495
  msgstr ""
1496
 
1497
+ #: admin/shortcode-builder/components/single-post.php:61
1498
+ msgid "Select the posts loading order."
1499
  msgstr ""
1500
 
1501
+ #: admin/shortcode-builder/components/single-post.php:67
1502
  msgid "Previous Post (by date DESC)"
1503
  msgstr ""
1504
 
1505
+ #: admin/shortcode-builder/components/single-post.php:68
1506
+ msgid "Next Post (by date ASC)"
1507
  msgstr ""
1508
 
1509
+ #: admin/shortcode-builder/components/single-post.php:69
1510
+ #: admin/shortcode-builder/components/single-post.php:86
1511
+ msgid "Latest Post (Start from most recent)"
1512
+ msgstr ""
1513
+
1514
+ #: admin/shortcode-builder/components/single-post.php:70
1515
+ msgid "Post IDs (Array)"
1516
+ msgstr ""
1517
+
1518
+ #: admin/shortcode-builder/components/single-post.php:71
1519
+ msgid "Custom Query"
1520
  msgstr ""
1521
 
1522
+ #: admin/shortcode-builder/components/single-post.php:80
1523
+ msgid "Custom Query Order"
1524
+ msgstr ""
1525
+
1526
+ #: admin/shortcode-builder/components/single-post.php:81
1527
+ msgid "Select the post ordering of the custom query."
1528
+ msgstr ""
1529
+
1530
+ #: admin/shortcode-builder/components/single-post.php:85
1531
+ msgid "Previous Post (Continue by date DESC)"
1532
+ msgstr ""
1533
+
1534
+ #: admin/shortcode-builder/components/single-post.php:95
1535
  msgid "Post ID Array"
1536
  msgstr ""
1537
 
1538
+ #: admin/shortcode-builder/components/single-post.php:96
1539
  msgid "A comma separated list of post ID's to query by order."
1540
  msgstr ""
1541
 
1542
+ #: admin/shortcode-builder/components/single-post.php:109
1543
  #: admin/shortcode-builder/components/term-query.php:39
1544
+ #: admin/shortcode-builder/shortcode-builder.php:1087
1545
  msgid "Taxonomy"
1546
  msgstr ""
1547
 
1548
+ #: admin/shortcode-builder/components/single-post.php:109
1549
  msgid ""
1550
  "Selecting a taxonomy means only previous posts from the same taxonomy term "
1551
  "will be returned. If a post has multiple terms attached, each term will be "
1552
  "considered using an OR relationship query."
1553
  msgstr ""
1554
 
1555
+ #: admin/shortcode-builder/components/single-post.php:110
1556
  msgid "Query previous posts from the same taxonomy term(s)."
1557
  msgstr ""
1558
 
1559
+ #: admin/shortcode-builder/components/single-post.php:123
1560
  #: admin/shortcode-builder/includes/tax-query-options.php:5
1561
  #: admin/shortcode-builder/includes/tax-query-options.php:62
1562
  #: admin/shortcode-builder/includes/tax-query-options.php:105
1563
  msgid "Select Taxonomy"
1564
  msgstr ""
1565
 
1566
+ #: admin/shortcode-builder/components/single-post.php:124
1567
  #: admin/shortcode-builder/components/term-query.php:45
1568
+ #: admin/shortcode-builder/shortcode-builder.php:903
1569
  msgid "Category"
1570
  msgstr ""
1571
 
1572
+ #: admin/shortcode-builder/components/single-post.php:125
1573
  #: admin/shortcode-builder/components/term-query.php:46
1574
+ #: admin/shortcode-builder/shortcode-builder.php:996
1575
  msgid "Tag"
1576
  msgstr ""
1577
 
1578
+ #: admin/shortcode-builder/components/single-post.php:139
1579
  msgid "Excluded Terms "
1580
  msgstr ""
1581
 
1582
+ #: admin/shortcode-builder/components/single-post.php:139
1583
  msgid "A comma-separated list of excluded terms by ID."
1584
  msgstr ""
1585
 
1586
+ #: admin/shortcode-builder/components/single-post.php:140
1587
  msgid "Exclude posts by term ID from the previous post query."
1588
  msgstr ""
1589
 
1590
+ #: admin/shortcode-builder/components/single-post.php:155
1591
+ #: core/functions.php:111
1592
  msgid "Elementor"
1593
  msgstr ""
1594
 
1595
+ #: admin/shortcode-builder/components/single-post.php:156
1596
  msgid ""
1597
  "Set Elementor <b>true</b> if you are using Elementor templates to build "
1598
  "single posts."
1599
  msgstr ""
1600
 
1601
+ #: admin/shortcode-builder/components/single-post.php:157
1602
  msgid "View Blog Post"
1603
  msgstr ""
1604
 
1605
+ #: admin/shortcode-builder/components/single-post.php:178
1606
  msgid "Reading Progress Bar "
1607
  msgstr ""
1608
 
1609
+ #: admin/shortcode-builder/components/single-post.php:179
1610
  msgid ""
1611
  "Display a reading progress bar indicator at the top or bottom of the browser "
1612
  "window."
1613
  msgstr ""
1614
 
1615
+ #: admin/shortcode-builder/components/single-post.php:206
1616
  msgid "Position"
1617
  msgstr ""
1618
 
1619
+ #: admin/shortcode-builder/components/single-post.php:207
1620
  msgid "Select the window position of the progress bar."
1621
  msgstr ""
1622
 
1623
+ #: admin/shortcode-builder/components/single-post.php:214
1624
  msgid "Top"
1625
  msgstr ""
1626
 
1627
+ #: admin/shortcode-builder/components/single-post.php:218
1628
  msgid "Bottom"
1629
  msgstr ""
1630
 
1631
+ #: admin/shortcode-builder/components/single-post.php:227
1632
  msgid "Height"
1633
  msgstr ""
1634
 
1635
+ #: admin/shortcode-builder/components/single-post.php:228
1636
  msgid "Select the height of the progress bar in pixels."
1637
  msgstr ""
1638
 
1639
+ #: admin/shortcode-builder/components/single-post.php:239
1640
  msgid "Colors"
1641
  msgstr ""
1642
 
1643
+ #: admin/shortcode-builder/components/single-post.php:240
1644
  msgid "Enter the hex color values of the reading progress bar"
1645
  msgstr ""
1646
 
1647
+ #: admin/shortcode-builder/components/single-post.php:241
1648
+ #: admin/shortcode-builder/shortcode-builder.php:749
1649
  msgid "Default:"
1650
  msgstr ""
1651
 
1652
+ #: admin/shortcode-builder/components/single-post.php:248
1653
  msgid "Foreground Color:"
1654
  msgstr ""
1655
 
1656
+ #: admin/shortcode-builder/components/single-post.php:255
1657
  msgid "Background Color:"
1658
  msgstr ""
1659
 
1660
+ #: admin/shortcode-builder/components/single-post.php:255
1661
  msgid "Leave empty for a transparent background"
1662
  msgstr ""
1663
 
1664
+ #: admin/shortcode-builder/components/single-post.php:277
1665
  msgid ""
1666
  "You must add the Single Post shortcode directly to your single template file "
1667
  "using the <a href=\"https://developer.wordpress.org/reference/functions/"
1700
  msgid "Whether to hide terms not assigned to any posts."
1701
  msgstr ""
1702
 
1703
+ #: admin/shortcode-builder/components/users.php:3 core/functions.php:246
1704
  msgid "Users"
1705
  msgstr ""
1706
 
1721
  msgstr ""
1722
 
1723
  #: admin/shortcode-builder/components/users.php:56
1724
+ #: admin/shortcode-builder/shortcode-builder.php:907
1725
+ #: admin/shortcode-builder/shortcode-builder.php:1000
1726
+ #: admin/shortcode-builder/shortcode-builder.php:1232
1727
  msgid "Include"
1728
  msgstr ""
1729
 
1732
  msgstr ""
1733
 
1734
  #: admin/shortcode-builder/components/users.php:70
1735
+ #: admin/shortcode-builder/shortcode-builder.php:954
1736
+ #: admin/shortcode-builder/shortcode-builder.php:1049
1737
+ #: admin/shortcode-builder/shortcode-builder.php:1243
1738
  msgid "Exclude"
1739
  msgstr ""
1740
 
1759
  msgstr ""
1760
 
1761
  #: admin/shortcode-builder/components/users.php:102
1762
+ #: admin/shortcode-builder/shortcode-builder.php:1288
1763
  msgid "Order"
1764
  msgstr ""
1765
 
1766
  #: admin/shortcode-builder/components/users.php:109
1767
+ #: admin/shortcode-builder/shortcode-builder.php:1295
1768
  msgid "Order By"
1769
  msgstr ""
1770
 
1817
  msgstr ""
1818
 
1819
  #: admin/shortcode-builder/includes/tax-query-options.php:48
1820
+ #: admin/shortcode-builder/shortcode-builder.php:1122
1821
  msgid "Relation:"
1822
  msgstr ""
1823
 
2119
  "scrolling container."
2120
  msgstr ""
2121
 
2122
+ #: admin/shortcode-builder/shortcode-builder.php:510
2123
+ msgid "Scroll Direction"
2124
+ msgstr ""
2125
+
2126
+ #: admin/shortcode-builder/shortcode-builder.php:510
2127
+ msgid "Scroll Direction only works when using a Scroll Container."
2128
+ msgstr ""
2129
+
2130
+ #: admin/shortcode-builder/shortcode-builder.php:511
2131
+ msgid "Select the direction Ajax Load More should scroll to load posts."
2132
+ msgstr ""
2133
+
2134
+ #: admin/shortcode-builder/shortcode-builder.php:517
2135
+ msgid "Vertical"
2136
  msgstr ""
2137
 
2138
  #: admin/shortcode-builder/shortcode-builder.php:521
2139
+ msgid "Horizontal"
2140
+ msgstr ""
2141
+
2142
+ #: admin/shortcode-builder/shortcode-builder.php:536
2143
+ msgid "Transition"
2144
+ msgstr ""
2145
+
2146
+ #: admin/shortcode-builder/shortcode-builder.php:541
2147
  msgid "Type"
2148
  msgstr ""
2149
 
2150
+ #: admin/shortcode-builder/shortcode-builder.php:542
2151
  msgid "Select a loading transition style."
2152
  msgstr ""
2153
 
2154
+ #: admin/shortcode-builder/shortcode-builder.php:547
2155
  msgid "Fade In"
2156
  msgstr ""
2157
 
2158
+ #: admin/shortcode-builder/shortcode-builder.php:548
2159
  msgid "Masonry"
2160
  msgstr ""
2161
 
2162
+ #: admin/shortcode-builder/shortcode-builder.php:562
2163
  msgid "Masonry Options"
2164
  msgstr ""
2165
 
2166
+ #: admin/shortcode-builder/shortcode-builder.php:562
2167
  msgid "Ajax Load More does not support all available Masonry options"
2168
  msgstr ""
2169
 
2170
+ #: admin/shortcode-builder/shortcode-builder.php:563
2171
  msgid ""
2172
  "The following Masonry <a href=\"https://masonry.desandro.com/options.html\" "
2173
  "target=\"_blank\">options</a> are supported by Ajax Load More."
2174
  msgstr ""
2175
 
2176
+ #: admin/shortcode-builder/shortcode-builder.php:569
2177
  msgid "Item Selector"
2178
  msgstr ""
2179
 
2180
+ #: admin/shortcode-builder/shortcode-builder.php:569
2181
  msgid ""
2182
  "Item Selector is required for Masonry to target each element loaded with "
2183
  "Ajax."
2184
  msgstr ""
2185
 
2186
+ #: admin/shortcode-builder/shortcode-builder.php:570
2187
  msgid "Enter the target classname of each masonry item."
2188
  msgstr ""
2189
 
2190
+ #: admin/shortcode-builder/shortcode-builder.php:584
2191
  msgid "Column Width"
2192
  msgstr ""
2193
 
2194
+ #: admin/shortcode-builder/shortcode-builder.php:584
2195
  msgid ""
2196
  "If columnWidth is not set, Masonry will use the outer width of the first "
2197
  "Item Selector."
2198
  msgstr ""
2199
 
2200
+ #: admin/shortcode-builder/shortcode-builder.php:585
2201
  msgid ""
2202
  "Enter the <a href=\"https://masonry.desandro.com/options.html#columnwidth\" "
2203
  "target=\"_blank\">columnWidth</a> of the masonry items."
2204
  msgstr ""
2205
 
2206
+ #: admin/shortcode-builder/shortcode-builder.php:598
2207
  msgid "Animation Type"
2208
  msgstr ""
2209
 
2210
+ #: admin/shortcode-builder/shortcode-builder.php:598
2211
  msgid "All Masonry animations include a fade-in effect as items are loaded."
2212
  msgstr ""
2213
 
2214
+ #: admin/shortcode-builder/shortcode-builder.php:599
2215
  msgid "Select a loading transition for Masonry items."
2216
  msgstr ""
2217
 
2218
+ #: admin/shortcode-builder/shortcode-builder.php:607
2219
  msgid "Default (Zoom)"
2220
  msgstr ""
2221
 
2222
+ #: admin/shortcode-builder/shortcode-builder.php:608
2223
  msgid "Items scale up from 50% to 100% size on load."
2224
  msgstr ""
2225
 
2226
+ #: admin/shortcode-builder/shortcode-builder.php:614
2227
  msgid "Zoom Out"
2228
  msgstr ""
2229
 
2230
+ #: admin/shortcode-builder/shortcode-builder.php:615
2231
  msgid "Items scale down from 125% to 100% size on load."
2232
  msgstr ""
2233
 
2234
+ #: admin/shortcode-builder/shortcode-builder.php:621
2235
  msgid "Slide Up"
2236
  msgstr ""
2237
 
2238
+ #: admin/shortcode-builder/shortcode-builder.php:622
2239
  msgid "Items animate up as they are loaded into view."
2240
  msgstr ""
2241
 
2242
+ #: admin/shortcode-builder/shortcode-builder.php:628
2243
  msgid "Slide Down"
2244
  msgstr ""
2245
 
2246
+ #: admin/shortcode-builder/shortcode-builder.php:629
2247
  msgid "Items animate down when loaded into view."
2248
  msgstr ""
2249
 
2250
+ #: admin/shortcode-builder/shortcode-builder.php:645
2251
  msgid "Horizontal Order"
2252
  msgstr ""
2253
 
2254
+ #: admin/shortcode-builder/shortcode-builder.php:646
2255
  msgid "Lays out items to maintain left-to-right order."
2256
  msgstr ""
2257
 
2258
+ #: admin/shortcode-builder/shortcode-builder.php:666
2259
  msgid ""
2260
  "Don't see your favorite Masonry option listed? You can always add your own!"
2261
  msgstr ""
2262
 
2263
+ #: admin/shortcode-builder/shortcode-builder.php:681
2264
  msgid "Transition Container Classes"
2265
  msgstr ""
2266
 
2267
+ #: admin/shortcode-builder/shortcode-builder.php:681
2268
  msgid "This setting is not available with the Single Post or Next Page add-ons"
2269
  msgstr ""
2270
 
2271
+ #: admin/shortcode-builder/shortcode-builder.php:682
2272
  msgid "Add custom classes to the <span>.alm-reveal</span> loading container"
2273
  msgstr ""
2274
 
2275
+ #: admin/shortcode-builder/shortcode-builder.php:694
2276
  msgid "Transition Container"
2277
  msgstr ""
2278
 
2279
+ #: admin/shortcode-builder/shortcode-builder.php:694
2280
  msgid ""
2281
  "Removing the transition container may have undesired results and is not "
2282
  "recommended"
2283
  msgstr ""
2284
 
2285
+ #: admin/shortcode-builder/shortcode-builder.php:695
2286
  msgid ""
2287
  "Remove the <span>.alm-reveal</span> loading container from Ajax Load More"
2288
  msgstr ""
2289
 
2290
+ #: admin/shortcode-builder/shortcode-builder.php:702
2291
  msgid "Remove Container"
2292
  msgstr ""
2293
 
2294
+ #: admin/shortcode-builder/shortcode-builder.php:718
2295
  msgid "Progress Bar"
2296
  msgstr ""
2297
 
2298
+ #: admin/shortcode-builder/shortcode-builder.php:722
2299
  msgid ""
2300
  "Display progress bar indicator at the top of the window while loading Ajax "
2301
  "content."
2302
  msgstr ""
2303
 
2304
+ #: admin/shortcode-builder/shortcode-builder.php:747
2305
  msgid "Color"
2306
  msgstr ""
2307
 
2308
+ #: admin/shortcode-builder/shortcode-builder.php:748
2309
  msgid "Enter the hex color of the progress bar"
2310
  msgstr ""
2311
 
2312
+ #: admin/shortcode-builder/shortcode-builder.php:775
2313
  msgid "Query Parameters"
2314
  msgstr ""
2315
 
2316
+ #: admin/shortcode-builder/shortcode-builder.php:778
2317
  msgid ""
2318
  "Query Parameters allow you build a custom <b>WP_Query</b> based on Ajax Load "
2319
  "More shortcode values."
2320
  msgstr ""
2321
 
2322
+ #: admin/shortcode-builder/shortcode-builder.php:778
2323
  msgid ""
2324
  "When using Ajax Load More add-ons or extensions not all Query Parameters "
2325
  "will be available in the query."
2326
  msgstr ""
2327
 
2328
+ #: admin/shortcode-builder/shortcode-builder.php:782
2329
  msgid "Posts Per Page"
2330
  msgstr ""
2331
 
2332
+ #: admin/shortcode-builder/shortcode-builder.php:786
2333
  msgid "Select the number of posts to load with each Ajax request."
2334
  msgstr ""
2335
 
2336
+ #: admin/shortcode-builder/shortcode-builder.php:806
2337
  msgid "Post Type"
2338
  msgstr ""
2339
 
2340
+ #: admin/shortcode-builder/shortcode-builder.php:811
2341
  msgid "Select the Post Types to include in this Ajax Load More query."
2342
  msgstr ""
2343
 
2344
+ #: admin/shortcode-builder/shortcode-builder.php:825
2345
  msgid "Any"
2346
  msgstr ""
2347
 
2348
+ #: admin/shortcode-builder/shortcode-builder.php:836
2349
  msgid "Sticky Posts"
2350
  msgstr ""
2351
 
2352
+ #: admin/shortcode-builder/shortcode-builder.php:836
2353
  msgid "Sticky posts are only available for Posts"
2354
  msgstr ""
2355
 
2356
+ #: admin/shortcode-builder/shortcode-builder.php:837
2357
  msgid ""
2358
  "Preserve the ordering of sticky posts by having them appear first in the "
2359
  "Ajax listing."
2360
  msgstr ""
2361
 
2362
+ #: admin/shortcode-builder/shortcode-builder.php:844
2363
  msgid "Enable Sticky Posts"
2364
  msgstr ""
2365
 
2366
+ #: admin/shortcode-builder/shortcode-builder.php:867
2367
  msgid "Post Format"
2368
  msgstr ""
2369
 
2370
+ #: admin/shortcode-builder/shortcode-builder.php:871
2371
+ msgid "Select a Post Format to query."
 
 
2372
  msgstr ""
2373
 
2374
+ #: admin/shortcode-builder/shortcode-builder.php:874
2375
  msgid "Select Post Format"
2376
  msgstr ""
2377
 
2378
+ #: admin/shortcode-builder/shortcode-builder.php:875
2379
  msgid "Standard"
2380
  msgstr ""
2381
 
2382
+ #: admin/shortcode-builder/shortcode-builder.php:907
2383
  msgid "Get posts by category using a category_name or category__and query"
2384
  msgstr ""
2385
 
2386
+ #: admin/shortcode-builder/shortcode-builder.php:908
2387
  msgid "Comma separated list of categories to include by"
2388
  msgstr ""
2389
 
2390
+ #: admin/shortcode-builder/shortcode-builder.php:908
2391
+ #: admin/shortcode-builder/shortcode-builder.php:1001
2392
  msgid "slug"
2393
  msgstr ""
2394
 
2395
+ #: admin/shortcode-builder/shortcode-builder.php:944
2396
+ #: admin/shortcode-builder/shortcode-builder.php:1039
2397
  msgid "What's this"
2398
  msgstr ""
2399
 
2400
+ #: admin/shortcode-builder/shortcode-builder.php:956
2401
  msgid "Comma separated list of categories to exclude by ID."
2402
  msgstr ""
2403
 
2404
+ #: admin/shortcode-builder/shortcode-builder.php:1000
2405
  msgid "Get posts by tags using a tag or tag__and query"
2406
  msgstr ""
2407
 
2408
+ #: admin/shortcode-builder/shortcode-builder.php:1001
2409
  msgid "Comma separated list of tags to include by"
2410
  msgstr ""
2411
 
2412
+ #: admin/shortcode-builder/shortcode-builder.php:1051
2413
  msgid "Comma separated list of tags to exclude by ID"
2414
  msgstr ""
2415
 
2416
+ #: admin/shortcode-builder/shortcode-builder.php:1091
2417
  msgid "Select a taxonomy then select the terms and an operator."
2418
  msgstr ""
2419
 
2420
+ #: admin/shortcode-builder/shortcode-builder.php:1096
2421
+ #: admin/shortcode-builder/shortcode-builder.php:1132
2422
  msgid "Add Another"
2423
  msgstr ""
2424
 
2425
+ #: admin/shortcode-builder/shortcode-builder.php:1107
2426
  msgid "Custom Fields (Meta_Query)"
2427
  msgstr ""
2428
 
2429
+ #: admin/shortcode-builder/shortcode-builder.php:1111
2430
  msgid ""
2431
+ "Query for <a href=\"https://developer.wordpress.org/reference/classes/"
2432
+ "wp_query/#custom-field-post-meta-parameters\" target=\"_blank\">custom "
2433
+ "field</a> by entering a custom field key, value and operator."
2434
  msgstr ""
2435
 
2436
+ #: admin/shortcode-builder/shortcode-builder.php:1122
2437
  msgid ""
2438
  "The logical relationship between each custom field when there is more than "
2439
  "one"
2440
  msgstr ""
2441
 
2442
+ #: admin/shortcode-builder/shortcode-builder.php:1142
2443
  msgid "Date"
2444
  msgstr ""
2445
 
2446
+ #: admin/shortcode-builder/shortcode-builder.php:1146
2447
  msgid "Enter a year, month(number) and day to query by date archive."
2448
  msgstr ""
2449
 
2450
+ #: admin/shortcode-builder/shortcode-builder.php:1153
2451
  msgid "Year:"
2452
  msgstr ""
2453
 
2454
+ #: admin/shortcode-builder/shortcode-builder.php:1157
2455
  msgid "Month:"
2456
  msgstr ""
2457
 
2458
+ #: admin/shortcode-builder/shortcode-builder.php:1161
2459
  msgid "Day:"
2460
  msgstr ""
2461
 
2462
+ #: admin/shortcode-builder/shortcode-builder.php:1179
2463
  msgid "Author"
2464
  msgstr ""
2465
 
2466
+ #: admin/shortcode-builder/shortcode-builder.php:1183
2467
  msgid "Select an Author to query(by ID)."
2468
  msgstr ""
2469
 
2470
+ #: admin/shortcode-builder/shortcode-builder.php:1208
2471
  msgid "Search"
2472
  msgstr ""
2473
 
2474
+ #: admin/shortcode-builder/shortcode-builder.php:1212
2475
  msgid "Enter a search term to query."
2476
  msgstr ""
2477
 
2478
+ #: admin/shortcode-builder/shortcode-builder.php:1213
2479
  msgid ""
2480
  "Search uses the default WordPress search, however Ajax Load More does offer "
2481
  "integrations with SearchWP and Relevanssi."
2482
  msgstr ""
2483
 
2484
+ #: admin/shortcode-builder/shortcode-builder.php:1218
2485
  msgid "Enter search term"
2486
  msgstr ""
2487
 
2488
+ #: admin/shortcode-builder/shortcode-builder.php:1228
2489
  msgid "Post Parameters"
2490
  msgstr ""
2491
 
2492
+ #: admin/shortcode-builder/shortcode-builder.php:1233
2493
  msgid "A comma separated list of post ID's to query."
2494
  msgstr ""
2495
 
2496
+ #: admin/shortcode-builder/shortcode-builder.php:1237
2497
  msgid "225, 340, 818, etc..."
2498
  msgstr ""
2499
 
2500
+ #: admin/shortcode-builder/shortcode-builder.php:1244
2501
  msgid "A comma separated list of post ID's to exclude from query."
2502
  msgstr ""
2503
 
2504
+ #: admin/shortcode-builder/shortcode-builder.php:1255
2505
  msgid "Post Status"
2506
  msgstr ""
2507
 
2508
+ #: admin/shortcode-builder/shortcode-builder.php:1255
2509
  msgid ""
2510
  "Post Status parameters are only available for logged in (admin) users. Non "
2511
  "logged in users will only have access to view content in a 'publish' or "
2512
  "'inherit' state."
2513
  msgstr ""
2514
 
2515
+ #: admin/shortcode-builder/shortcode-builder.php:1256
2516
  msgid "Select status of the post."
2517
  msgstr ""
2518
 
2519
+ #: admin/shortcode-builder/shortcode-builder.php:1261
2520
  msgid "Published"
2521
  msgstr ""
2522
 
2523
+ #: admin/shortcode-builder/shortcode-builder.php:1279
2524
  msgid "Ordering"
2525
  msgstr ""
2526
 
2527
+ #: admin/shortcode-builder/shortcode-builder.php:1283
2528
  msgid "Sort posts by Order and Orderby parameters."
2529
  msgstr ""
2530
 
2531
+ #: admin/shortcode-builder/shortcode-builder.php:1318
2532
  msgid "Offset"
2533
  msgstr ""
2534
 
2535
+ #: admin/shortcode-builder/shortcode-builder.php:1322
2536
  msgid "Offset the initial query by <em>'x'</em> number of posts"
2537
  msgstr ""
2538
 
2539
+ #: admin/shortcode-builder/shortcode-builder.php:1336
2540
  msgid "Custom Arguments"
2541
  msgstr ""
2542
 
2543
+ #: admin/shortcode-builder/shortcode-builder.php:1340
2544
  msgid "A semicolon separated list of custom value:pair arguments."
2545
  msgstr ""
2546
 
2547
+ #: admin/shortcode-builder/shortcode-builder.php:1340
2548
  msgid ""
2549
  "Custom Arguments can be used to query by parameters not available in the "
2550
  "Shortcode Builder"
2551
  msgstr ""
2552
 
2553
+ #: admin/shortcode-builder/shortcode-builder.php:1344
2554
  msgid "event_display:upcoming"
2555
  msgstr ""
2556
 
2557
+ #: admin/shortcode-builder/shortcode-builder.php:1361
2558
  msgid "Integrations"
2559
  msgstr ""
2560
 
2561
+ #: admin/shortcode-builder/shortcode-builder.php:1365
2562
  msgid ""
2563
  "Ajax Load More provides integration solutions for popular plugins and core "
2564
  "WP functionality - when selecting an integration, Ajax Load More will "
2566
  "experience for users based on the selected integration."
2567
  msgstr ""
2568
 
2569
+ #: admin/shortcode-builder/shortcode-builder.php:1369
2570
  msgid "Archives"
2571
  msgstr ""
2572
 
2573
+ #: admin/shortcode-builder/shortcode-builder.php:1373
2574
  msgid ""
2575
  "Ajax Load More will automatically create an archive query while viewing site "
2576
  "archives."
2577
  msgstr ""
2578
 
2579
+ #: admin/shortcode-builder/shortcode-builder.php:1374
2580
  msgid ""
2581
  "Taxonomy, category, tag, date (year, month, day), post type and author "
2582
  "archives are currently supported."
2583
  msgstr ""
2584
 
2585
+ #: admin/shortcode-builder/shortcode-builder.php:1392
2586
  msgid ""
2587
  "<b>Note</b>: Do not select Query Parameters other than <b>Posts Per Page</b> "
2588
  "and/or <b>Post Type</b> when using the Archives integration. Ajax Load More "
2590
  "archive page."
2591
  msgstr ""
2592
 
2593
+ #: admin/shortcode-builder/shortcode-builder.php:1403
2594
  msgid ""
2595
  "Ajax Load More will automatically set WooCommerce configuration options."
2596
  msgstr ""
2597
 
2598
+ #: admin/shortcode-builder/shortcode-builder.php:1404
2599
  msgid ""
2600
  "Post type, products per page, container classes, sort order and taxonomy/tag "
2601
  "archive queries will be set on the server side based on your sites "
2821
  msgstr ""
2822
 
2823
  #: admin/views/repeater-templates.php:27 admin/views/settings.php:51
2824
+ #: core/functions.php:231
2825
  msgid "Theme Repeaters"
2826
  msgstr ""
2827
 
2914
  msgid "Admin"
2915
  msgstr ""
2916
 
2917
+ #: admin/views/settings.php:39 core/functions.php:141
2918
  msgid "Layouts"
2919
  msgstr ""
2920
 
2954
  msgid "Reset"
2955
  msgstr ""
2956
 
2957
+ #: ajax-load-more.php:398
 
 
 
 
2958
  msgid "Viewing {post_count} of {total_posts} results."
2959
  msgstr ""
2960
 
2961
+ #: ajax-load-more.php:399
2962
  msgid "No results found."
2963
  msgstr ""
2964
 
2966
  msgid "Pages: "
2967
  msgstr ""
2968
 
2969
+ #: core/functions.php:18
2970
  msgid "Ajax Load More Pro"
2971
  msgstr ""
2972
 
2973
+ #: core/functions.php:19
2974
  msgid "Get instant access to all premium add-ons in a single installation."
2975
  msgstr ""
2976
 
2977
+ #: core/functions.php:20
2978
  msgid ""
2979
  "The Pro bundle is installed as a single product with one license key and "
2980
  "contains immediate access all premium add-ons."
2981
  msgstr ""
2982
 
2983
+ #: core/functions.php:52
2984
  msgid "Improve performance with the Ajax Load More caching engine."
2985
  msgstr ""
2986
 
2987
+ #: core/functions.php:53
2988
  msgid ""
2989
  "The Cache add-on creates static HTML files of Ajax Load More requests then "
2990
  "delivers those static files to your visitors."
2991
  msgstr ""
2992
 
2993
+ #: core/functions.php:67
2994
  msgid ""
2995
  "Ajax Load More extension for displaying advertisements and call to actions."
2996
  msgstr ""
2997
 
2998
+ #: core/functions.php:68
2999
  msgid ""
3000
  "The Call to Actions add-on provides the ability to inject a custom CTA "
3001
  "template within each Ajax Load More loop."
3002
  msgstr ""
3003
 
3004
+ #: core/functions.php:82
3005
  msgid "Load blog comments on demand with Ajax Load More."
3006
  msgstr ""
3007
 
3008
+ #: core/functions.php:83
3009
  msgid ""
3010
  "The Comments add-on will display your blog comments with Ajax Load More's "
3011
  "infinite scroll functionality."
3012
  msgstr ""
3013
 
3014
+ #: core/functions.php:96
3015
  msgid "Custom Repeaters"
3016
  msgstr ""
3017
 
3018
+ #: core/functions.php:97
3019
  msgid "Extend Ajax Load More with unlimited repeater templates."
3020
  msgstr ""
3021
 
3022
+ #: core/functions.php:98
3023
  msgid ""
3024
  "Create, delete and modify repeater templates as you need them with "
3025
  "absolutely zero restrictions."
3026
  msgstr ""
3027
 
3028
+ #: core/functions.php:112
3029
+ msgid "Infinite scroll Elementor Posts Widget content with Ajax Load More."
3030
+ msgstr ""
3031
+
3032
+ #: core/functions.php:113
3033
+ msgid ""
3034
+ "The Elementor add-on provides functionality required for integrating with "
3035
+ "the Elementor Posts Widget."
3036
+ msgstr ""
3037
+
3038
+ #: core/functions.php:127
3039
  msgid "Create custom Ajax Load More filters in seconds."
3040
  msgstr ""
3041
 
3042
+ #: core/functions.php:128
3043
  msgid ""
3044
  "The Filters add-on provides front-end and admin functionality for building "
3045
  "and managing Ajax filters."
3046
  msgstr ""
3047
 
3048
+ #: core/functions.php:142
3049
  msgid "Predefined layouts for repeater templates."
3050
  msgstr ""
3051
 
3052
+ #: core/functions.php:143
3053
  msgid ""
3054
  "The Layouts add-on provides a collection of unique, well designed and fully "
3055
  "responsive templates."
3056
  msgstr ""
3057
 
3058
+ #: core/functions.php:157
3059
  msgid "Load and display multipage WordPress content."
3060
  msgstr ""
3061
 
3062
+ #: core/functions.php:158
3063
  msgid ""
3064
  "The Next Page add-on provides functionality for infinite scrolling paginated "
3065
  "posts and pages."
3066
  msgstr ""
3067
 
3068
+ #: core/functions.php:172
3069
  msgid "Extend Ajax Load More with a numbered navigation."
3070
  msgstr ""
3071
 
3072
+ #: core/functions.php:173
3073
  msgid ""
3074
  "The Paging add-on will transform the default infinite scroll functionality "
3075
  "into a robust ajax powered navigation system."
3076
  msgstr ""
3077
 
3078
+ #: core/functions.php:187
3079
  msgid "Load an initial set of posts before making Ajax requests to the server."
3080
  msgstr ""
3081
 
3082
+ #: core/functions.php:188
3083
  msgid ""
3084
  "The Preloaded add-on will display content quicker and allow caching of the "
3085
  "initial query which can reduce stress on your server."
3086
  msgstr ""
3087
 
3088
+ #: core/functions.php:201
3089
  msgid "Search Engine Optimization"
3090
  msgstr ""
3091
 
3092
+ #: core/functions.php:202
3093
  msgid "Generate unique paging URLs with every Ajax Load More query."
3094
  msgstr ""
3095
 
3096
+ #: core/functions.php:203
3097
  msgid ""
3098
  "The SEO add-on will optimize your ajax loaded content for search engines by "
3099
  "generating unique URLs with every query."
3100
  msgstr ""
3101
 
3102
+ #: core/functions.php:217
3103
  msgid "An add-on to enable infinite scrolling of single posts."
3104
  msgstr ""
3105
 
3106
+ #: core/functions.php:218
3107
  msgid ""
3108
  "The Single Posts add-on will load full posts as you scroll and update the "
3109
  "browser URL to the current post."
3110
  msgstr ""
3111
 
3112
+ #: core/functions.php:232
3113
  msgid "Manage repeater templates within your current theme directory."
3114
  msgstr ""
3115
 
3116
+ #: core/functions.php:233
3117
  msgid ""
3118
  "The Theme Repeater add-on will allow you load, edit and maintain templates "
3119
  "from your current theme directory."
3120
  msgstr ""
3121
 
3122
+ #: core/functions.php:247
3123
  msgid "Enable infinite scrolling of WordPress users."
3124
  msgstr ""
3125
 
3126
+ #: core/functions.php:248
3127
  msgid ""
3128
  "The Users add-on will allow lazy loading of users by role using a "
3129
  "WP_User_Query."
3130
  msgstr ""
3131
 
3132
+ #: core/functions.php:262
3133
  msgid "Infinite scroll WooCommerce products with Ajax Load More."
3134
  msgstr ""
3135
 
3136
+ #: core/functions.php:263
3137
  msgid ""
3138
  "The WooCommerce add-on automatically integrates infinite scrolling into your "
3139
  "existing shop templates."
vendor/js/pace/pace.js CHANGED
@@ -245,7 +245,9 @@
245
  this.el = document.createElement('div');
246
  this.el.className = "pace pace-active";
247
  document.body.className = document.body.className.replace(/pace-done/g, '');
248
- document.body.className += ' pace-running';
 
 
249
  this.el.innerHTML = '<div class="pace-progress">\n <div class="pace-progress-inner"></div>\n</div>\n<div class="pace-activity"></div>';
250
  if (targetElement.firstChild != null) {
251
  targetElement.insertBefore(this.el, targetElement.firstChild);
@@ -356,9 +358,11 @@
356
  if ((to[key] == null) && typeof from[key] !== 'function') {
357
  if (typeof Object.defineProperty === 'function') {
358
  _results.push(Object.defineProperty(to, key, {
359
- get: function() {
360
- return from.prototype[key];
361
- },
 
 
362
  configurable: true,
363
  enumerable: true
364
  }));
245
  this.el = document.createElement('div');
246
  this.el.className = "pace pace-active";
247
  document.body.className = document.body.className.replace(/pace-done/g, '');
248
+ if (!/pace-running/.test(document.body.className)) {
249
+ document.body.className += ' pace-running';
250
+ }
251
  this.el.innerHTML = '<div class="pace-progress">\n <div class="pace-progress-inner"></div>\n</div>\n<div class="pace-activity"></div>';
252
  if (targetElement.firstChild != null) {
253
  targetElement.insertBefore(this.el, targetElement.firstChild);
358
  if ((to[key] == null) && typeof from[key] !== 'function') {
359
  if (typeof Object.defineProperty === 'function') {
360
  _results.push(Object.defineProperty(to, key, {
361
+ get: (function(key) {
362
+ return function() {
363
+ return from.prototype[key];
364
+ };
365
+ })(key),
366
  configurable: true,
367
  enumerable: true
368
  }));
vendor/js/pace/pace.min.js CHANGED
@@ -1,73 +1,2 @@
1
- (function(){var AjaxMonitor,Bar,DocumentMonitor,ElementMonitor,ElementTracker,EventLagMonitor,Evented,Events,NoTargetError,Pace,RequestIntercept,SOURCE_KEYS,Scaler,SocketRequestTracker,XHRRequestTracker,animation,avgAmplitude,bar,cancelAnimation,cancelAnimationFrame,defaultOptions,extend,extendNative,getFromDOM,getIntercept,handlePushState,ignoreStack,init,now,options,requestAnimationFrame,result,runAnimation,scalers,shouldIgnoreURL,shouldTrack,source,sources,uniScaler,_WebSocket,_XDomainRequest,_XMLHttpRequest,_i,_intercept,_len,_pushState,_ref,_ref1,_replaceState,__slice=[].slice,__hasProp={}.hasOwnProperty,__extends=function(child,parent){for(var key in parent){if(__hasProp.call(parent,key))child[key]=parent[key];}function ctor(){this.constructor=child;}ctor.prototype=parent.prototype;child.prototype=new ctor();child.__super__=parent.prototype;return child;},__indexOf=[].indexOf||function(item){for(var i=0,l=this.length;i<l;i++){if(i in this&&this[i]===item)return i;}return-1;};defaultOptions={catchupTime:100,initialRate:.03,minTime:250,ghostTime:100,maxProgressPerFrame:20,easeFactor:1.25,startOnPageLoad:true,restartOnPushState:true,restartOnRequestAfter:500,target:'body',elements:{checkInterval:100,selectors:['body']},eventLag:{minSamples:10,sampleCount:3,lagThreshold:3},ajax:{trackMethods:['GET'],trackWebSockets:true,ignoreURLs:[]}};now=function(){var _ref;return(_ref=typeof performance!=="undefined"&&performance!==null?typeof performance.now==="function"?performance.now():void 0:void 0)!=null?_ref:+(new Date);};requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame;cancelAnimationFrame=window.cancelAnimationFrame||window.mozCancelAnimationFrame;if(requestAnimationFrame==null){requestAnimationFrame=function(fn){return setTimeout(fn,50);};cancelAnimationFrame=function(id){return clearTimeout(id);};}
2
- runAnimation=function(fn){var last,tick;last=now();tick=function(){var diff;diff=now()-last;if(diff>=33){last=now();return fn(diff,function(){return requestAnimationFrame(tick);});}else{return setTimeout(tick,33-diff);}};return tick();};result=function(){var args,key,obj;obj=arguments[0],key=arguments[1],args=3<=arguments.length?__slice.call(arguments,2):[];if(typeof obj[key]==='function'){return obj[key].apply(obj,args);}else{return obj[key];}};extend=function(){var key,out,source,sources,val,_i,_len;out=arguments[0],sources=2<=arguments.length?__slice.call(arguments,1):[];for(_i=0,_len=sources.length;_i<_len;_i++){source=sources[_i];if(source){for(key in source){if(!__hasProp.call(source,key))continue;val=source[key];if((out[key]!=null)&&typeof out[key]==='object'&&(val!=null)&&typeof val==='object'){extend(out[key],val);}else{out[key]=val;}}}}
3
- return out;};avgAmplitude=function(arr){var count,sum,v,_i,_len;sum=count=0;for(_i=0,_len=arr.length;_i<_len;_i++){v=arr[_i];sum+=Math.abs(v);count++;}
4
- return sum/count;};getFromDOM=function(key,json){var data,e,el;if(key==null){key='options';}
5
- if(json==null){json=true;}
6
- el=document.querySelector("[data-pace-"+key+"]");if(!el){return;}
7
- data=el.getAttribute("data-pace-"+key);if(!json){return data;}
8
- try{return JSON.parse(data);}catch(_error){e=_error;return typeof console!=="undefined"&&console!==null?console.error("Error parsing inline pace options",e):void 0;}};Evented=(function(){function Evented(){}
9
- Evented.prototype.on=function(event,handler,ctx,once){var _base;if(once==null){once=false;}
10
- if(this.bindings==null){this.bindings={};}
11
- if((_base=this.bindings)[event]==null){_base[event]=[];}
12
- return this.bindings[event].push({handler:handler,ctx:ctx,once:once});};Evented.prototype.once=function(event,handler,ctx){return this.on(event,handler,ctx,true);};Evented.prototype.off=function(event,handler){var i,_ref,_results;if(((_ref=this.bindings)!=null?_ref[event]:void 0)==null){return;}
13
- if(handler==null){return delete this.bindings[event];}else{i=0;_results=[];while(i<this.bindings[event].length){if(this.bindings[event][i].handler===handler){_results.push(this.bindings[event].splice(i,1));}else{_results.push(i++);}}
14
- return _results;}};Evented.prototype.trigger=function(){var args,ctx,event,handler,i,once,_ref,_ref1,_results;event=arguments[0],args=2<=arguments.length?__slice.call(arguments,1):[];if((_ref=this.bindings)!=null?_ref[event]:void 0){i=0;_results=[];while(i<this.bindings[event].length){_ref1=this.bindings[event][i],handler=_ref1.handler,ctx=_ref1.ctx,once=_ref1.once;handler.apply(ctx!=null?ctx:this,args);if(once){_results.push(this.bindings[event].splice(i,1));}else{_results.push(i++);}}
15
- return _results;}};return Evented;})();Pace=window.Pace||{};window.Pace=Pace;extend(Pace,Evented.prototype);options=Pace.options=extend({},defaultOptions,window.paceOptions,getFromDOM());_ref=['ajax','document','eventLag','elements'];for(_i=0,_len=_ref.length;_i<_len;_i++){source=_ref[_i];if(options[source]===true){options[source]=defaultOptions[source];}}
16
- NoTargetError=(function(_super){__extends(NoTargetError,_super);function NoTargetError(){_ref1=NoTargetError.__super__.constructor.apply(this,arguments);return _ref1;}
17
- return NoTargetError;})(Error);Bar=(function(){function Bar(){this.progress=0;}
18
- Bar.prototype.getElement=function(){var targetElement;if(this.el==null){targetElement=document.querySelector(options.target);if(!targetElement){throw new NoTargetError;}
19
- this.el=document.createElement('div');this.el.className="pace pace-active";document.body.className=document.body.className.replace(/pace-done/g,'');document.body.className+=' pace-running';this.el.innerHTML='<div class="pace-progress">\n <div class="pace-progress-inner"></div>\n</div>\n<div class="pace-activity"></div>';if(targetElement.firstChild!=null){targetElement.insertBefore(this.el,targetElement.firstChild);}else{targetElement.appendChild(this.el);}}
20
- return this.el;};Bar.prototype.finish=function(){var el;el=this.getElement();el.className=el.className.replace('pace-active','');el.className+=' pace-inactive';document.body.className=document.body.className.replace('pace-running','');return document.body.className+=' pace-done';};Bar.prototype.update=function(prog){this.progress=prog;return this.render();};Bar.prototype.destroy=function(){try{this.getElement().parentNode.removeChild(this.getElement());}catch(_error){NoTargetError=_error;}
21
- return this.el=void 0;};Bar.prototype.render=function(){var el,key,progressStr,transform,_j,_len1,_ref2;if(document.querySelector(options.target)==null){return false;}
22
- el=this.getElement();transform="translate3d("+this.progress+"%, 0, 0)";_ref2=['webkitTransform','msTransform','transform'];for(_j=0,_len1=_ref2.length;_j<_len1;_j++){key=_ref2[_j];el.children[0].style[key]=transform;}
23
- if(!this.lastRenderedProgress||this.lastRenderedProgress|0!==this.progress|0){el.children[0].setAttribute('data-progress-text',""+(this.progress|0)+"%");if(this.progress>=100){progressStr='99';}else{progressStr=this.progress<10?"0":"";progressStr+=this.progress|0;}
24
- el.children[0].setAttribute('data-progress',""+progressStr);}
25
- return this.lastRenderedProgress=this.progress;};Bar.prototype.done=function(){return this.progress>=100;};return Bar;})();Events=(function(){function Events(){this.bindings={};}
26
- Events.prototype.trigger=function(name,val){var binding,_j,_len1,_ref2,_results;if(this.bindings[name]!=null){_ref2=this.bindings[name];_results=[];for(_j=0,_len1=_ref2.length;_j<_len1;_j++){binding=_ref2[_j];_results.push(binding.call(this,val));}
27
- return _results;}};Events.prototype.on=function(name,fn){var _base;if((_base=this.bindings)[name]==null){_base[name]=[];}
28
- return this.bindings[name].push(fn);};return Events;})();_XMLHttpRequest=window.XMLHttpRequest;_XDomainRequest=window.XDomainRequest;_WebSocket=window.WebSocket;extendNative=function(to,from){var e,key,_results;_results=[];for(key in from.prototype){try{if((to[key]==null)&&typeof from[key]!=='function'){if(typeof Object.defineProperty==='function'){_results.push(Object.defineProperty(to,key,{get:function(){return from.prototype[key];},configurable:true,enumerable:true}));}else{_results.push(to[key]=from.prototype[key]);}}else{_results.push(void 0);}}catch(_error){e=_error;}}
29
- return _results;};ignoreStack=[];Pace.ignore=function(){var args,fn,ret;fn=arguments[0],args=2<=arguments.length?__slice.call(arguments,1):[];ignoreStack.unshift('ignore');ret=fn.apply(null,args);ignoreStack.shift();return ret;};Pace.track=function(){var args,fn,ret;fn=arguments[0],args=2<=arguments.length?__slice.call(arguments,1):[];ignoreStack.unshift('track');ret=fn.apply(null,args);ignoreStack.shift();return ret;};shouldTrack=function(method){var _ref2;if(method==null){method='GET';}
30
- if(ignoreStack[0]==='track'){return'force';}
31
- if(!ignoreStack.length&&options.ajax){if(method==='socket'&&options.ajax.trackWebSockets){return true;}else if(_ref2=method.toUpperCase(),__indexOf.call(options.ajax.trackMethods,_ref2)>=0){return true;}}
32
- return false;};RequestIntercept=(function(_super){__extends(RequestIntercept,_super);function RequestIntercept(){var monitorXHR,_this=this;RequestIntercept.__super__.constructor.apply(this,arguments);monitorXHR=function(req){var _open;_open=req.open;return req.open=function(type,url,async){if(shouldTrack(type)){_this.trigger('request',{type:type,url:url,request:req});}
33
- return _open.apply(req,arguments);};};window.XMLHttpRequest=function(flags){var req;req=new _XMLHttpRequest(flags);monitorXHR(req);return req;};try{extendNative(window.XMLHttpRequest,_XMLHttpRequest);}catch(_error){}
34
- if(_XDomainRequest!=null){window.XDomainRequest=function(){var req;req=new _XDomainRequest;monitorXHR(req);return req;};try{extendNative(window.XDomainRequest,_XDomainRequest);}catch(_error){}}
35
- if((_WebSocket!=null)&&options.ajax.trackWebSockets){window.WebSocket=function(url,protocols){var req;if(protocols!=null){req=new _WebSocket(url,protocols);}else{req=new _WebSocket(url);}
36
- if(shouldTrack('socket')){_this.trigger('request',{type:'socket',url:url,protocols:protocols,request:req});}
37
- return req;};try{extendNative(window.WebSocket,_WebSocket);}catch(_error){}}}
38
- return RequestIntercept;})(Events);_intercept=null;getIntercept=function(){if(_intercept==null){_intercept=new RequestIntercept;}
39
- return _intercept;};shouldIgnoreURL=function(url){var pattern,_j,_len1,_ref2;_ref2=options.ajax.ignoreURLs;for(_j=0,_len1=_ref2.length;_j<_len1;_j++){pattern=_ref2[_j];if(typeof pattern==='string'){if(url.indexOf(pattern)!==-1){return true;}}else{if(pattern.test(url)){return true;}}}
40
- return false;};getIntercept().on('request',function(_arg){var after,args,request,type,url;type=_arg.type,request=_arg.request,url=_arg.url;if(shouldIgnoreURL(url)){return;}
41
- if(!Pace.running&&(options.restartOnRequestAfter!==false||shouldTrack(type)==='force')){args=arguments;after=options.restartOnRequestAfter||0;if(typeof after==='boolean'){after=0;}
42
- return setTimeout(function(){var stillActive,_j,_len1,_ref2,_ref3,_results;if(type==='socket'){stillActive=request.readyState<2;}else{stillActive=(0<(_ref2=request.readyState)&&_ref2<4);}
43
- if(stillActive){Pace.restart();_ref3=Pace.sources;_results=[];for(_j=0,_len1=_ref3.length;_j<_len1;_j++){source=_ref3[_j];if(source instanceof AjaxMonitor){source.watch.apply(source,args);break;}else{_results.push(void 0);}}
44
- return _results;}},after);}});AjaxMonitor=(function(){function AjaxMonitor(){var _this=this;this.elements=[];getIntercept().on('request',function(){return _this.watch.apply(_this,arguments);});}
45
- AjaxMonitor.prototype.watch=function(_arg){var request,tracker,type,url;type=_arg.type,request=_arg.request,url=_arg.url;if(shouldIgnoreURL(url)){return;}
46
- if(type==='socket'){tracker=new SocketRequestTracker(request);}else{tracker=new XHRRequestTracker(request);}
47
- return this.elements.push(tracker);};return AjaxMonitor;})();XHRRequestTracker=(function(){function XHRRequestTracker(request){var event,size,_j,_len1,_onreadystatechange,_ref2,_this=this;this.progress=0;if(window.ProgressEvent!=null){size=null;request.addEventListener('progress',function(evt){if(evt.lengthComputable){return _this.progress=100*evt.loaded/evt.total;}else{return _this.progress=_this.progress+(100-_this.progress)/2;}},false);_ref2=['load','abort','timeout','error'];for(_j=0,_len1=_ref2.length;_j<_len1;_j++){event=_ref2[_j];request.addEventListener(event,function(){return _this.progress=100;},false);}}else{_onreadystatechange=request.onreadystatechange;request.onreadystatechange=function(){var _ref3;if((_ref3=request.readyState)===0||_ref3===4){_this.progress=100;}else if(request.readyState===3){_this.progress=50;}
48
- return typeof _onreadystatechange==="function"?_onreadystatechange.apply(null,arguments):void 0;};}}
49
- return XHRRequestTracker;})();SocketRequestTracker=(function(){function SocketRequestTracker(request){var event,_j,_len1,_ref2,_this=this;this.progress=0;_ref2=['error','open'];for(_j=0,_len1=_ref2.length;_j<_len1;_j++){event=_ref2[_j];request.addEventListener(event,function(){return _this.progress=100;},false);}}
50
- return SocketRequestTracker;})();ElementMonitor=(function(){function ElementMonitor(options){var selector,_j,_len1,_ref2;if(options==null){options={};}
51
- this.elements=[];if(options.selectors==null){options.selectors=[];}
52
- _ref2=options.selectors;for(_j=0,_len1=_ref2.length;_j<_len1;_j++){selector=_ref2[_j];this.elements.push(new ElementTracker(selector));}}
53
- return ElementMonitor;})();ElementTracker=(function(){function ElementTracker(selector){this.selector=selector;this.progress=0;this.check();}
54
- ElementTracker.prototype.check=function(){var _this=this;if(document.querySelector(this.selector)){return this.done();}else{return setTimeout((function(){return _this.check();}),options.elements.checkInterval);}};ElementTracker.prototype.done=function(){return this.progress=100;};return ElementTracker;})();DocumentMonitor=(function(){DocumentMonitor.prototype.states={loading:0,interactive:50,complete:100};function DocumentMonitor(){var _onreadystatechange,_ref2,_this=this;this.progress=(_ref2=this.states[document.readyState])!=null?_ref2:100;_onreadystatechange=document.onreadystatechange;document.onreadystatechange=function(){if(_this.states[document.readyState]!=null){_this.progress=_this.states[document.readyState];}
55
- return typeof _onreadystatechange==="function"?_onreadystatechange.apply(null,arguments):void 0;};}
56
- return DocumentMonitor;})();EventLagMonitor=(function(){function EventLagMonitor(){var avg,interval,last,points,samples,_this=this;this.progress=0;avg=0;samples=[];points=0;last=now();interval=setInterval(function(){var diff;diff=now()-last-50;last=now();samples.push(diff);if(samples.length>options.eventLag.sampleCount){samples.shift();}
57
- avg=avgAmplitude(samples);if(++points>=options.eventLag.minSamples&&avg<options.eventLag.lagThreshold){_this.progress=100;return clearInterval(interval);}else{return _this.progress=100*(3/(avg+3));}},50);}
58
- return EventLagMonitor;})();Scaler=(function(){function Scaler(source){this.source=source;this.last=this.sinceLastUpdate=0;this.rate=options.initialRate;this.catchup=0;this.progress=this.lastProgress=0;if(this.source!=null){this.progress=result(this.source,'progress');}}
59
- Scaler.prototype.tick=function(frameTime,val){var scaling;if(val==null){val=result(this.source,'progress');}
60
- if(val>=100){this.done=true;}
61
- if(val===this.last){this.sinceLastUpdate+=frameTime;}else{if(this.sinceLastUpdate){this.rate=(val-this.last)/this.sinceLastUpdate;}
62
- this.catchup=(val-this.progress)/options.catchupTime;this.sinceLastUpdate=0;this.last=val;}
63
- if(val>this.progress){this.progress+=this.catchup*frameTime;}
64
- scaling=1-Math.pow(this.progress/100,options.easeFactor);this.progress+=scaling*this.rate*frameTime;this.progress=Math.min(this.lastProgress+options.maxProgressPerFrame,this.progress);this.progress=Math.max(0,this.progress);this.progress=Math.min(100,this.progress);this.lastProgress=this.progress;return this.progress;};return Scaler;})();sources=null;scalers=null;bar=null;uniScaler=null;animation=null;cancelAnimation=null;Pace.running=false;handlePushState=function(){if(options.restartOnPushState){return Pace.restart();}};if(window.history.pushState!=null){_pushState=window.history.pushState;window.history.pushState=function(){handlePushState();return _pushState.apply(window.history,arguments);};}
65
- if(window.history.replaceState!=null){_replaceState=window.history.replaceState;window.history.replaceState=function(){handlePushState();return _replaceState.apply(window.history,arguments);};}
66
- SOURCE_KEYS={ajax:AjaxMonitor,elements:ElementMonitor,document:DocumentMonitor,eventLag:EventLagMonitor};(init=function(){var type,_j,_k,_len1,_len2,_ref2,_ref3,_ref4;Pace.sources=sources=[];_ref2=['ajax','elements','document','eventLag'];for(_j=0,_len1=_ref2.length;_j<_len1;_j++){type=_ref2[_j];if(options[type]!==false){sources.push(new SOURCE_KEYS[type](options[type]));}}
67
- _ref4=(_ref3=options.extraSources)!=null?_ref3:[];for(_k=0,_len2=_ref4.length;_k<_len2;_k++){source=_ref4[_k];sources.push(new source(options));}
68
- Pace.bar=bar=new Bar;scalers=[];return uniScaler=new Scaler;})();Pace.stop=function(){Pace.trigger('stop');Pace.running=false;bar.destroy();cancelAnimation=true;if(animation!=null){if(typeof cancelAnimationFrame==="function"){cancelAnimationFrame(animation);}
69
- animation=null;}
70
- return init();};Pace.restart=function(){Pace.trigger('restart');Pace.stop();return Pace.start();};Pace.go=function(){var start;Pace.running=true;bar.render();start=now();cancelAnimation=false;return animation=runAnimation(function(frameTime,enqueueNextFrame){var avg,count,done,element,elements,i,j,remaining,scaler,scalerList,sum,_j,_k,_len1,_len2,_ref2;remaining=100-bar.progress;count=sum=0;done=true;for(i=_j=0,_len1=sources.length;_j<_len1;i=++_j){source=sources[i];scalerList=scalers[i]!=null?scalers[i]:scalers[i]=[];elements=(_ref2=source.elements)!=null?_ref2:[source];for(j=_k=0,_len2=elements.length;_k<_len2;j=++_k){element=elements[j];scaler=scalerList[j]!=null?scalerList[j]:scalerList[j]=new Scaler(element);done&=scaler.done;if(scaler.done){continue;}
71
- count++;sum+=scaler.tick(frameTime);}}
72
- avg=sum/count;bar.update(uniScaler.tick(frameTime,avg));if(bar.done()||done||cancelAnimation){bar.update(100);Pace.trigger('done');return setTimeout(function(){bar.finish();Pace.running=false;return Pace.trigger('hide');},Math.max(options.ghostTime,Math.max(options.minTime-(now()-start),0)));}else{return enqueueNextFrame();}});};Pace.start=function(_options){extend(options,_options);Pace.running=true;try{bar.render();}catch(_error){NoTargetError=_error;}
73
- if(!document.querySelector('.pace')){return setTimeout(Pace.start,50);}else{Pace.trigger('start');return Pace.go();}};if(typeof define==='function'&&define.amd){define(['pace'],function(){return Pace;});}else if(typeof exports==='object'){module.exports=Pace;}else{if(options.startOnPageLoad){Pace.start();}}}).call(this);
1
+ /*! pace-progress 1.0.2 */
2
+ (function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X=[].slice,Y={}.hasOwnProperty,Z=function(a,b){function c(){this.constructor=a}for(var d in b)Y.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a},$=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1};for(u={catchupTime:100,initialRate:.03,minTime:250,ghostTime:100,maxProgressPerFrame:20,easeFactor:1.25,startOnPageLoad:!0,restartOnPushState:!0,restartOnRequestAfter:500,target:"body",elements:{checkInterval:100,selectors:["body"]},eventLag:{minSamples:10,sampleCount:3,lagThreshold:3},ajax:{trackMethods:["GET"],trackWebSockets:!0,ignoreURLs:[]}},C=function(){var a;return null!=(a="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance.now():void 0)?a:+new Date},E=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,t=window.cancelAnimationFrame||window.mozCancelAnimationFrame,null==E&&(E=function(a){return setTimeout(a,50)},t=function(a){return clearTimeout(a)}),G=function(a){var b,c;return b=C(),(c=function(){var d;return d=C()-b,d>=33?(b=C(),a(d,function(){return E(c)})):setTimeout(c,33-d)})()},F=function(){var a,b,c;return c=arguments[0],b=arguments[1],a=3<=arguments.length?X.call(arguments,2):[],"function"==typeof c[b]?c[b].apply(c,a):c[b]},v=function(){var a,b,c,d,e,f,g;for(b=arguments[0],d=2<=arguments.length?X.call(arguments,1):[],f=0,g=d.length;g>f;f++)if(c=d[f])for(a in c)Y.call(c,a)&&(e=c[a],null!=b[a]&&"object"==typeof b[a]&&null!=e&&"object"==typeof e?v(b[a],e):b[a]=e);return b},q=function(a){var b,c,d,e,f;for(c=b=0,e=0,f=a.length;f>e;e++)d=a[e],c+=Math.abs(d),b++;return c/b},x=function(a,b){var c,d,e;if(null==a&&(a="options"),null==b&&(b=!0),e=document.querySelector("[data-pace-"+a+"]")){if(c=e.getAttribute("data-pace-"+a),!b)return c;try{return JSON.parse(c)}catch(f){return d=f,"undefined"!=typeof console&&null!==console?console.error("Error parsing inline pace options",d):void 0}}},g=function(){function a(){}return a.prototype.on=function(a,b,c,d){var e;return null==d&&(d=!1),null==this.bindings&&(this.bindings={}),null==(e=this.bindings)[a]&&(e[a]=[]),this.bindings[a].push({handler:b,ctx:c,once:d})},a.prototype.once=function(a,b,c){return this.on(a,b,c,!0)},a.prototype.off=function(a,b){var c,d,e;if(null!=(null!=(d=this.bindings)?d[a]:void 0)){if(null==b)return delete this.bindings[a];for(c=0,e=[];c<this.bindings[a].length;)this.bindings[a][c].handler===b?e.push(this.bindings[a].splice(c,1)):e.push(c++);return e}},a.prototype.trigger=function(){var a,b,c,d,e,f,g,h,i;if(c=arguments[0],a=2<=arguments.length?X.call(arguments,1):[],null!=(g=this.bindings)?g[c]:void 0){for(e=0,i=[];e<this.bindings[c].length;)h=this.bindings[c][e],d=h.handler,b=h.ctx,f=h.once,d.apply(null!=b?b:this,a),f?i.push(this.bindings[c].splice(e,1)):i.push(e++);return i}},a}(),j=window.Pace||{},window.Pace=j,v(j,g.prototype),D=j.options=v({},u,window.paceOptions,x()),U=["ajax","document","eventLag","elements"],Q=0,S=U.length;S>Q;Q++)K=U[Q],D[K]===!0&&(D[K]=u[K]);i=function(a){function b(){return V=b.__super__.constructor.apply(this,arguments)}return Z(b,a),b}(Error),b=function(){function a(){this.progress=0}return a.prototype.getElement=function(){var a;if(null==this.el){if(a=document.querySelector(D.target),!a)throw new i;this.el=document.createElement("div"),this.el.className="pace pace-active",document.body.className=document.body.className.replace(/pace-done/g,""),/pace-running/.test(document.body.className)||(document.body.className+=" pace-running"),this.el.innerHTML='<div class="pace-progress">\n <div class="pace-progress-inner"></div>\n</div>\n<div class="pace-activity"></div>',null!=a.firstChild?a.insertBefore(this.el,a.firstChild):a.appendChild(this.el)}return this.el},a.prototype.finish=function(){var a;return a=this.getElement(),a.className=a.className.replace("pace-active",""),a.className+=" pace-inactive",document.body.className=document.body.className.replace("pace-running",""),document.body.className+=" pace-done"},a.prototype.update=function(a){return this.progress=a,this.render()},a.prototype.destroy=function(){try{this.getElement().parentNode.removeChild(this.getElement())}catch(a){i=a}return this.el=void 0},a.prototype.render=function(){var a,b,c,d,e,f,g;if(null==document.querySelector(D.target))return!1;for(a=this.getElement(),d="translate3d("+this.progress+"%, 0, 0)",g=["webkitTransform","msTransform","transform"],e=0,f=g.length;f>e;e++)b=g[e],a.children[0].style[b]=d;return(!this.lastRenderedProgress||this.lastRenderedProgress|0!==this.progress|0)&&(a.children[0].setAttribute("data-progress-text",""+(0|this.progress)+"%"),this.progress>=100?c="99":(c=this.progress<10?"0":"",c+=0|this.progress),a.children[0].setAttribute("data-progress",""+c)),this.lastRenderedProgress=this.progress},a.prototype.done=function(){return this.progress>=100},a}(),h=function(){function a(){this.bindings={}}return a.prototype.trigger=function(a,b){var c,d,e,f,g;if(null!=this.bindings[a]){for(f=this.bindings[a],g=[],d=0,e=f.length;e>d;d++)c=f[d],g.push(c.call(this,b));return g}},a.prototype.on=function(a,b){var c;return null==(c=this.bindings)[a]&&(c[a]=[]),this.bindings[a].push(b)},a}(),P=window.XMLHttpRequest,O=window.XDomainRequest,N=window.WebSocket,w=function(a,b){var c,d,e;e=[];for(d in b.prototype)try{null==a[d]&&"function"!=typeof b[d]?"function"==typeof Object.defineProperty?e.push(Object.defineProperty(a,d,{get:function(a){return function(){return b.prototype[a]}}(d),configurable:!0,enumerable:!0})):e.push(a[d]=b.prototype[d]):e.push(void 0)}catch(f){c=f}return e},A=[],j.ignore=function(){var a,b,c;return b=arguments[0],a=2<=arguments.length?X.call(arguments,1):[],A.unshift("ignore"),c=b.apply(null,a),A.shift(),c},j.track=function(){var a,b,c;return b=arguments[0],a=2<=arguments.length?X.call(arguments,1):[],A.unshift("track"),c=b.apply(null,a),A.shift(),c},J=function(a){var b;if(null==a&&(a="GET"),"track"===A[0])return"force";if(!A.length&&D.ajax){if("socket"===a&&D.ajax.trackWebSockets)return!0;if(b=a.toUpperCase(),$.call(D.ajax.trackMethods,b)>=0)return!0}return!1},k=function(a){function b(){var a,c=this;b.__super__.constructor.apply(this,arguments),a=function(a){var b;return b=a.open,a.open=function(d,e,f){return J(d)&&c.trigger("request",{type:d,url:e,request:a}),b.apply(a,arguments)}},window.XMLHttpRequest=function(b){var c;return c=new P(b),a(c),c};try{w(window.XMLHttpRequest,P)}catch(d){}if(null!=O){window.XDomainRequest=function(){var b;return b=new O,a(b),b};try{w(window.XDomainRequest,O)}catch(d){}}if(null!=N&&D.ajax.trackWebSockets){window.WebSocket=function(a,b){var d;return d=null!=b?new N(a,b):new N(a),J("socket")&&c.trigger("request",{type:"socket",url:a,protocols:b,request:d}),d};try{w(window.WebSocket,N)}catch(d){}}}return Z(b,a),b}(h),R=null,y=function(){return null==R&&(R=new k),R},I=function(a){var b,c,d,e;for(e=D.ajax.ignoreURLs,c=0,d=e.length;d>c;c++)if(b=e[c],"string"==typeof b){if(-1!==a.indexOf(b))return!0}else if(b.test(a))return!0;return!1},y().on("request",function(b){var c,d,e,f,g;return f=b.type,e=b.request,g=b.url,I(g)?void 0:j.running||D.restartOnRequestAfter===!1&&"force"!==J(f)?void 0:(d=arguments,c=D.restartOnRequestAfter||0,"boolean"==typeof c&&(c=0),setTimeout(function(){var b,c,g,h,i,k;if(b="socket"===f?e.readyState<2:0<(h=e.readyState)&&4>h){for(j.restart(),i=j.sources,k=[],c=0,g=i.length;g>c;c++){if(K=i[c],K instanceof a){K.watch.apply(K,d);break}k.push(void 0)}return k}},c))}),a=function(){function a(){var a=this;this.elements=[],y().on("request",function(){return a.watch.apply(a,arguments)})}return a.prototype.watch=function(a){var b,c,d,e;return d=a.type,b=a.request,e=a.url,I(e)?void 0:(c="socket"===d?new n(b):new o(b),this.elements.push(c))},a}(),o=function(){function a(a){var b,c,d,e,f,g,h=this;if(this.progress=0,null!=window.ProgressEvent)for(c=null,a.addEventListener("progress",function(a){return a.lengthComputable?h.progress=100*a.loaded/a.total:h.progress=h.progress+(100-h.progress)/2},!1),g=["load","abort","timeout","error"],d=0,e=g.length;e>d;d++)b=g[d],a.addEventListener(b,function(){return h.progress=100},!1);else f=a.onreadystatechange,a.onreadystatechange=function(){var b;return 0===(b=a.readyState)||4===b?h.progress=100:3===a.readyState&&(h.progress=50),"function"==typeof f?f.apply(null,arguments):void 0}}return a}(),n=function(){function a(a){var b,c,d,e,f=this;for(this.progress=0,e=["error","open"],c=0,d=e.length;d>c;c++)b=e[c],a.addEventListener(b,function(){return f.progress=100},!1)}return a}(),d=function(){function a(a){var b,c,d,f;for(null==a&&(a={}),this.elements=[],null==a.selectors&&(a.selectors=[]),f=a.selectors,c=0,d=f.length;d>c;c++)b=f[c],this.elements.push(new e(b))}return a}(),e=function(){function a(a){this.selector=a,this.progress=0,this.check()}return a.prototype.check=function(){var a=this;return document.querySelector(this.selector)?this.done():setTimeout(function(){return a.check()},D.elements.checkInterval)},a.prototype.done=function(){return this.progress=100},a}(),c=function(){function a(){var a,b,c=this;this.progress=null!=(b=this.states[document.readyState])?b:100,a=document.onreadystatechange,document.onreadystatechange=function(){return null!=c.states[document.readyState]&&(c.progress=c.states[document.readyState]),"function"==typeof a?a.apply(null,arguments):void 0}}return a.prototype.states={loading:0,interactive:50,complete:100},a}(),f=function(){function a(){var a,b,c,d,e,f=this;this.progress=0,a=0,e=[],d=0,c=C(),b=setInterval(function(){var g;return g=C()-c-50,c=C(),e.push(g),e.length>D.eventLag.sampleCount&&e.shift(),a=q(e),++d>=D.eventLag.minSamples&&a<D.eventLag.lagThreshold?(f.progress=100,clearInterval(b)):f.progress=100*(3/(a+3))},50)}return a}(),m=function(){function a(a){this.source=a,this.last=this.sinceLastUpdate=0,this.rate=D.initialRate,this.catchup=0,this.progress=this.lastProgress=0,null!=this.source&&(this.progress=F(this.source,"progress"))}return a.prototype.tick=function(a,b){var c;return null==b&&(b=F(this.source,"progress")),b>=100&&(this.done=!0),b===this.last?this.sinceLastUpdate+=a:(this.sinceLastUpdate&&(this.rate=(b-this.last)/this.sinceLastUpdate),this.catchup=(b-this.progress)/D.catchupTime,this.sinceLastUpdate=0,this.last=b),b>this.progress&&(this.progress+=this.catchup*a),c=1-Math.pow(this.progress/100,D.easeFactor),this.progress+=c*this.rate*a,this.progress=Math.min(this.lastProgress+D.maxProgressPerFrame,this.progress),this.progress=Math.max(0,this.progress),this.progress=Math.min(100,this.progress),this.lastProgress=this.progress,this.progress},a}(),L=null,H=null,r=null,M=null,p=null,s=null,j.running=!1,z=function(){return D.restartOnPushState?j.restart():void 0},null!=window.history.pushState&&(T=window.history.pushState,window.history.pushState=function(){return z(),T.apply(window.history,arguments)}),null!=window.history.replaceState&&(W=window.history.replaceState,window.history.replaceState=function(){return z(),W.apply(window.history,arguments)}),l={ajax:a,elements:d,document:c,eventLag:f},(B=function(){var a,c,d,e,f,g,h,i;for(j.sources=L=[],g=["ajax","elements","document","eventLag"],c=0,e=g.length;e>c;c++)a=g[c],D[a]!==!1&&L.push(new l[a](D[a]));for(i=null!=(h=D.extraSources)?h:[],d=0,f=i.length;f>d;d++)K=i[d],L.push(new K(D));return j.bar=r=new b,H=[],M=new m})(),j.stop=function(){return j.trigger("stop"),j.running=!1,r.destroy(),s=!0,null!=p&&("function"==typeof t&&t(p),p=null),B()},j.restart=function(){return j.trigger("restart"),j.stop(),j.start()},j.go=function(){var a;return j.running=!0,r.render(),a=C(),s=!1,p=G(function(b,c){var d,e,f,g,h,i,k,l,n,o,p,q,t,u,v,w;for(l=100-r.progress,e=p=0,f=!0,i=q=0,u=L.length;u>q;i=++q)for(K=L[i],o=null!=H[i]?H[i]:H[i]=[],h=null!=(w=K.elements)?w:[K],k=t=0,v=h.length;v>t;k=++t)g=h[k],n=null!=o[k]?o[k]:o[k]=new m(g),f&=n.done,n.done||(e++,p+=n.tick(b));return d=p/e,r.update(M.tick(b,d)),r.done()||f||s?(r.update(100),j.trigger("done"),setTimeout(function(){return r.finish(),j.running=!1,j.trigger("hide")},Math.max(D.ghostTime,Math.max(D.minTime-(C()-a),0)))):c()})},j.start=function(a){v(D,a),j.running=!0;try{r.render()}catch(b){i=b}return document.querySelector(".pace")?(j.trigger("start"),j.go()):setTimeout(j.start,50)},"function"==typeof define&&define.amd?define(["pace"],function(){return j}):"object"==typeof exports?module.exports=j:D.startOnPageLoad&&j.start()}).call(this);