The Events Calendar - Version 5.3.1

Version Description

= [5.0] =

Please see the changelog for the complete list of changes in this release. Previous versions of The Events Calendar are not cross-compatible with 5.X add-ons. Remember to always make a backup of your database and files before updating!

Download this release

Release Info

Developer bordoni
Plugin Icon The Events Calendar
Version 5.3.1
Comparing to
See all releases

Code changes from version 5.3.0 to 5.3.1

Files changed (184) hide show
  1. common/lang/tribe-common.pot +12 -12
  2. common/src/Tribe/Admin/Notice/Marketing.php +7 -7
  3. common/src/Tribe/Cache.php +1 -1
  4. common/src/Tribe/Customizer.php +51 -9
  5. common/src/Tribe/Customizer/Control.php +2 -2
  6. common/src/Tribe/Customizer/Controls/Heading.php +5 -5
  7. common/src/Tribe/Dialog/View.php +12 -0
  8. common/src/Tribe/Editor.php +6 -4
  9. common/src/Tribe/Log/Service_Provider.php +28 -0
  10. common/src/Tribe/Main.php +1 -1
  11. common/src/Tribe/Utils/Array.php +6 -6
  12. common/src/Tribe/Utils/Paths.php +3 -3
  13. common/src/Tribe/Widget/Widget_Abstract.php +12 -12
  14. common/src/Tribe/Widget/Widget_Interface.php +3 -3
  15. common/src/admin-views/notices/tribe-bf-general.php +1 -1
  16. common/src/functions/template-tags/html.php +1 -1
  17. common/src/functions/utils.php +1 -1
  18. common/src/resources/js/admin-log-controls.js +3 -3
  19. common/src/resources/js/admin-log-controls.min.js +1 -1
  20. common/src/resources/js/admin/help-page.js +6 -3
  21. common/src/resources/js/dropdowns.js +2 -2
  22. common/src/resources/js/dropdowns.min.js +1 -1
  23. common/src/views/dialog/button.php +14 -4
  24. common/src/views/v2/components/icons/arrow-right.php +1 -1
  25. common/src/views/v2/components/icons/caret-down.php +1 -1
  26. common/src/views/v2/components/icons/close-alt.php +1 -1
  27. common/src/views/v2/components/icons/close.php +1 -1
  28. common/src/views/v2/components/icons/day.php +1 -1
  29. common/src/views/v2/components/icons/dot.php +1 -1
  30. common/src/views/v2/components/icons/error.php +1 -1
  31. common/src/views/v2/components/icons/featured.php +1 -1
  32. common/src/views/v2/components/icons/filter.php +1 -1
  33. common/src/views/v2/components/icons/list.php +1 -1
  34. common/src/views/v2/components/icons/location.php +1 -1
  35. common/src/views/v2/components/icons/mail.php +1 -1
  36. common/src/views/v2/components/icons/map-pin.php +1 -1
  37. common/src/views/v2/components/icons/map.php +1 -1
  38. common/src/views/v2/components/icons/messages-not-found.php +1 -1
  39. common/src/views/v2/components/icons/minus.php +1 -1
  40. common/src/views/v2/components/icons/month.php +1 -1
  41. common/src/views/v2/components/icons/no-map.php +1 -1
  42. common/src/views/v2/components/icons/phone.php +1 -1
  43. common/src/views/v2/components/icons/photo.php +1 -1
  44. common/src/views/v2/components/icons/play.php +1 -1
  45. common/src/views/v2/components/icons/plus.php +1 -1
  46. common/src/views/v2/components/icons/recurring.php +1 -1
  47. common/src/views/v2/components/icons/reset.php +1 -1
  48. common/src/views/v2/components/icons/search.php +1 -1
  49. common/src/views/v2/components/icons/video.php +1 -1
  50. common/src/views/v2/components/icons/virtual.php +1 -1
  51. common/src/views/v2/components/icons/website.php +1 -1
  52. common/src/views/v2/components/icons/week.php +1 -1
  53. common/vendor/autoload.php +1 -1
  54. common/vendor/autoload_52.php +1 -1
  55. common/vendor/composer/autoload_real.php +4 -4
  56. common/vendor/composer/autoload_real_52.php +3 -3
  57. common/vendor/composer/autoload_static.php +5 -5
  58. common/vendor/composer/installed.json +6 -6
  59. common/vendor/lucatume/di52/src/tad/DI52/Container.php +34 -15
  60. common/vendor/lucatume/di52/src/tad/DI52/closuresSupport.php +17 -10
  61. lang/the-events-calendar-de_DE.mo +0 -0
  62. lang/the-events-calendar-fi.mo +0 -0
  63. lang/the-events-calendar-it_IT.mo +0 -0
  64. lang/the-events-calendar-ro_RO.mo +0 -0
  65. lang/the-events-calendar-sv_SE.mo +0 -0
  66. lang/the-events-calendar.pot +110 -73
  67. readme.txt +20 -5
  68. src/Tribe/Admin_List.php +42 -0
  69. src/Tribe/Aggregator/Cron.php +3 -3
  70. src/Tribe/Aggregator/Processes/Batch_Imports.php +4 -4
  71. src/Tribe/Aggregator/Record/Abstract.php +50 -40
  72. src/Tribe/Aggregator/Record/Batch_Queue.php +26 -26
  73. src/Tribe/Aggregator/Record/List_Table.php +20 -6
  74. src/Tribe/Aggregator/Record/Queue_Cleaner.php +4 -4
  75. src/Tribe/Aggregator/Record/Queue_Interface.php +1 -1
  76. src/Tribe/Aggregator/Record/Queue_Processor.php +1 -1
  77. src/Tribe/Aggregator/Record/Queue_Realtime.php +2 -2
  78. src/Tribe/Aggregator/Service.php +1 -1
  79. src/Tribe/Customizer/Global_Elements.php +34 -411
  80. src/Tribe/Customizer/Single_Event.php +30 -13
  81. src/Tribe/Event_Cleaner.php +1 -1
  82. src/Tribe/Importer/File_Importer.php +2 -2
  83. src/Tribe/Importer/File_Importer_Events.php +1 -1
  84. src/Tribe/Importer/File_Importer_Organizers.php +3 -3
  85. src/Tribe/Importer/File_Importer_Venues.php +5 -7
  86. src/Tribe/Main.php +1 -1
  87. src/Tribe/Models/Post_Types/Organizer.php +4 -4
  88. src/Tribe/Organizer.php +3 -3
  89. src/Tribe/Views/V2/Assets.php +3 -3
  90. src/Tribe/Views/V2/Customizer.php +696 -0
  91. src/Tribe/Views/V2/Hooks.php +87 -0
  92. src/Tribe/Views/V2/Service_Provider.php +1 -0
  93. src/Tribe/Views/V2/Template/Event.php +36 -1
  94. src/Tribe/Views/V2/Url.php +9 -0
  95. src/Tribe/Views/V2/View.php +2 -2
  96. src/Tribe/Views/V2/Views/Latest_Past_View.php +1 -1
  97. src/Tribe/Views/V2/Views/Month_View.php +1 -1
  98. src/Tribe/Views/V2/Views/Widgets/Widget_List_View.php +3 -3
  99. src/Tribe/Views/V2/Views/Widgets/Widget_View.php +40 -5
  100. src/Tribe/Views/V2/Widgets/Admin_Template.php +3 -3
  101. src/Tribe/Views/V2/Widgets/Compatibility.php +7 -7
  102. src/Tribe/Views/V2/Widgets/Service_Provider.php +3 -3
  103. src/Tribe/Views/V2/Widgets/Widget_Abstract.php +13 -13
  104. src/Tribe/Views/V2/Widgets/Widget_List.php +5 -5
  105. src/admin-views/widgets/components/checkbox.php +1 -1
  106. src/admin-views/widgets/components/dropdown.php +1 -1
  107. src/admin-views/widgets/components/fieldset.php +1 -1
  108. src/admin-views/widgets/components/radio.php +1 -1
  109. src/admin-views/widgets/components/section.php +2 -2
  110. src/admin-views/widgets/components/text.php +1 -1
  111. src/admin-views/widgets/list.php +2 -2
  112. src/functions/template-tags/general.php +15 -7
  113. src/functions/template-tags/organizer.php +3 -3
  114. src/functions/views/provider.php +2 -2
  115. src/resources/css/app/event-links/frontend.min.css +1 -1
  116. src/resources/css/tribe-events-full.min.css +1 -1
  117. src/resources/css/views-full.min.css +1 -1
  118. src/resources/css/views-skeleton.min.css +1 -1
  119. src/resources/js/aggregator-fields.js +5 -5
  120. src/resources/js/aggregator-fields.min.js +1 -1
  121. src/resources/js/events-admin.js +12 -9
  122. src/resources/js/events-admin.min.js +1 -1
  123. src/resources/js/jquery-ecp-plugins.js +28 -19
  124. src/resources/js/jquery-ecp-plugins.min.js +1 -1
  125. src/resources/js/tribe-events-ajax-calendar.js +1 -1
  126. src/resources/js/tribe-events-ajax-calendar.min.js +1 -1
  127. src/resources/js/tribe-events-bar.js +61 -46
  128. src/resources/js/tribe-events-bar.min.js +1 -1
  129. src/resources/js/tribe-events.js +5 -5
  130. src/resources/js/tribe-events.min.js +1 -1
  131. src/views/v2/components/breadcrumbs/breadcrumb.php +1 -1
  132. src/views/v2/components/breadcrumbs/linked-breadcrumb.php +1 -1
  133. src/views/v2/components/events-bar/search-button.php +1 -1
  134. src/views/v2/components/events-bar/search/keyword.php +1 -1
  135. src/views/v2/components/events-bar/views.php +1 -1
  136. src/views/v2/components/events-bar/views/list/item.php +1 -1
  137. src/views/v2/components/ical-link.php +1 -1
  138. src/views/v2/components/messages.php +1 -1
  139. src/views/v2/components/messages/error-icon.php +1 -1
  140. src/views/v2/components/messages/notice-icon.php +1 -1
  141. src/views/v2/day/event/date/featured.php +1 -1
  142. src/views/v2/day/nav/next-disabled.php +1 -1
  143. src/views/v2/day/nav/next.php +1 -1
  144. src/views/v2/day/nav/prev-disabled.php +1 -1
  145. src/views/v2/day/nav/prev.php +1 -1
  146. src/views/v2/day/top-bar/datepicker.php +1 -1
  147. src/views/v2/day/top-bar/nav/next-disabled.php +1 -1
  148. src/views/v2/day/top-bar/nav/next.php +1 -1
  149. src/views/v2/day/top-bar/nav/prev-disabled.php +1 -1
  150. src/views/v2/day/top-bar/nav/prev.php +1 -1
  151. src/views/v2/latest-past/event/date.php +1 -1
  152. src/views/v2/latest-past/event/date/featured.php +1 -1
  153. src/views/v2/list/nav/next-disabled.php +1 -1
  154. src/views/v2/list/nav/next.php +1 -1
  155. src/views/v2/list/nav/prev-disabled.php +1 -1
  156. src/views/v2/list/nav/prev.php +1 -1
  157. src/views/v2/list/top-bar/datepicker.php +1 -1
  158. src/views/v2/list/top-bar/nav/next-disabled.php +1 -1
  159. src/views/v2/list/top-bar/nav/next.php +1 -1
  160. src/views/v2/list/top-bar/nav/prev-disabled.php +1 -1
  161. src/views/v2/list/top-bar/nav/prev.php +1 -1
  162. src/views/v2/month/calendar-body/day.php +1 -1
  163. src/views/v2/month/calendar-body/day/calendar-events/calendar-event/date/featured.php +1 -1
  164. src/views/v2/month/calendar-body/day/calendar-events/calendar-event/tooltip/date/featured.php +1 -1
  165. src/views/v2/month/calendar-body/day/multiday-events/multiday-event/bar/featured.php +1 -1
  166. src/views/v2/month/calendar-body/day/multiday-events/multiday-event/hidden/link/featured.php +1 -1
  167. src/views/v2/month/mobile-events/mobile-day/mobile-event/date/featured.php +1 -1
  168. src/views/v2/month/mobile-events/nav/next-disabled.php +1 -1
  169. src/views/v2/month/mobile-events/nav/next.php +1 -1
  170. src/views/v2/month/mobile-events/nav/prev-disabled.php +1 -1
  171. src/views/v2/month/mobile-events/nav/prev.php +1 -1
  172. src/views/v2/month/top-bar/datepicker.php +1 -1
  173. src/views/v2/month/top-bar/nav/next-disabled.php +1 -1
  174. src/views/v2/month/top-bar/nav/next.php +1 -1
  175. src/views/v2/month/top-bar/nav/prev-disabled.php +1 -1
  176. src/views/v2/month/top-bar/nav/prev.php +1 -1
  177. src/views/v2/widgets/widget-events-list.php +1 -1
  178. src/views/v2/widgets/widget-events-list/event/date.php +1 -1
  179. src/views/v2/widgets/widget-events-list/event/date/featured.php +1 -1
  180. the-events-calendar.php +1 -1
  181. vendor/autoload.php +1 -1
  182. vendor/composer/autoload_classmap.php +1 -0
  183. vendor/composer/autoload_real.php +4 -4
  184. vendor/composer/autoload_static.php +5 -4
common/lang/tribe-common.pot CHANGED
@@ -2,13 +2,13 @@
2
  # This file is distributed under the same license as the Tribe Common package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Tribe Common 4.12.14\n"
6
  "Report-Msgid-Bugs-To: http://m.tri.be/191x\n"
7
- "POT-Creation-Date: 2020-12-02 16:14:02+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2020-12-02 16:14\n"
12
  "Last-Translator: \n"
13
  "Language-Team: \n"
14
 
@@ -40,7 +40,7 @@ msgstr ""
40
  msgid "Press \"Cmd + C\" to copy"
41
  msgstr ""
42
 
43
- #: src/Tribe/Admin/Help_Page.php:79 src/Tribe/Customizer.php:583
44
  #: src/Tribe/Plugins_API.php:25
45
  msgid "The Events Calendar"
46
  msgstr ""
@@ -386,7 +386,7 @@ msgstr ""
386
  msgid "Rate %1$sEvent Tickets%2$s %3$s"
387
  msgstr ""
388
 
389
- #: src/Tribe/Customizer.php:584
390
  msgid ""
391
  "Use the following panel of your customizer to change the styling of your "
392
  "Calendar and Event pages."
@@ -430,31 +430,31 @@ msgstr ""
430
  msgid "Modern Tribe JSON-LD Data"
431
  msgstr ""
432
 
433
- #: src/Tribe/Dialog/View.php:153
434
  msgid "Open the modal window"
435
  msgstr ""
436
 
437
- #: src/Tribe/Dialog/View.php:154
438
  msgid "Close this modal window"
439
  msgstr ""
440
 
441
- #: src/Tribe/Dialog/View.php:222
442
  msgid "Cancel"
443
  msgstr ""
444
 
445
- #: src/Tribe/Dialog/View.php:223
446
  msgid "Confirm"
447
  msgstr ""
448
 
449
- #: src/Tribe/Dialog/View.php:288
450
  msgid "OK"
451
  msgstr ""
452
 
453
- #: src/Tribe/Dialog/View.php:355
454
  msgid "Open the dialog window"
455
  msgstr ""
456
 
457
- #: src/Tribe/Dialog/View.php:369
458
  msgid "Close this dialog window"
459
  msgstr ""
460
 
2
  # This file is distributed under the same license as the Tribe Common package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Tribe Common 4.12.15\n"
6
  "Report-Msgid-Bugs-To: http://m.tri.be/191x\n"
7
+ "POT-Creation-Date: 2020-12-11 06:24:08+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2020-12-11 06:24\n"
12
  "Last-Translator: \n"
13
  "Language-Team: \n"
14
 
40
  msgid "Press \"Cmd + C\" to copy"
41
  msgstr ""
42
 
43
+ #: src/Tribe/Admin/Help_Page.php:79 src/Tribe/Customizer.php:625
44
  #: src/Tribe/Plugins_API.php:25
45
  msgid "The Events Calendar"
46
  msgstr ""
386
  msgid "Rate %1$sEvent Tickets%2$s %3$s"
387
  msgstr ""
388
 
389
+ #: src/Tribe/Customizer.php:626
390
  msgid ""
391
  "Use the following panel of your customizer to change the styling of your "
392
  "Calendar and Event pages."
430
  msgid "Modern Tribe JSON-LD Data"
431
  msgstr ""
432
 
433
+ #: src/Tribe/Dialog/View.php:157
434
  msgid "Open the modal window"
435
  msgstr ""
436
 
437
+ #: src/Tribe/Dialog/View.php:158
438
  msgid "Close this modal window"
439
  msgstr ""
440
 
441
+ #: src/Tribe/Dialog/View.php:228
442
  msgid "Cancel"
443
  msgstr ""
444
 
445
+ #: src/Tribe/Dialog/View.php:229
446
  msgid "Confirm"
447
  msgstr ""
448
 
449
+ #: src/Tribe/Dialog/View.php:296
450
  msgid "OK"
451
  msgstr ""
452
 
453
+ #: src/Tribe/Dialog/View.php:366
454
  msgid "Open the dialog window"
455
  msgstr ""
456
 
457
+ #: src/Tribe/Dialog/View.php:381
458
  msgid "Close this dialog window"
459
  msgstr ""
460
 
common/src/Tribe/Admin/Notice/Marketing.php CHANGED
@@ -45,7 +45,7 @@ class Tribe__Admin__Notice__Marketing {
45
  /**
46
  * Register the Black Friday notice.
47
  *
48
- * @since TBD
49
  */
50
  public function black_friday_hook_notice() {
51
 
@@ -65,7 +65,7 @@ class Tribe__Admin__Notice__Marketing {
65
  /**
66
  * Unix time for Monday of Thanksgiving week @ 11am UTC. (11am UTC is 6am EST).
67
  *
68
- * @since TBD
69
  *
70
  * @return int
71
  */
@@ -79,7 +79,7 @@ class Tribe__Admin__Notice__Marketing {
79
  /**
80
  * Allow filtering of the Black Friday sale start date, mainly for testing purposes.
81
  *
82
- * @since TBD
83
  *
84
  * @param int $bf_start_date Unix time for the Monday of Thanksgiving week @ 6am UTC.
85
  */
@@ -89,7 +89,7 @@ class Tribe__Admin__Notice__Marketing {
89
  /**
90
  * Unix time for Dec 1 @ 5am UTC. (5am UTC is 12am EST).
91
  *
92
- * @since TBD
93
  *
94
  * @return int
95
  */
@@ -102,7 +102,7 @@ class Tribe__Admin__Notice__Marketing {
102
  /**
103
  * Allow filtering of the Black Friday sale end date, mainly for testing purposes.
104
  *
105
- * @since TBD
106
  *
107
  * @param int $bf_end_date Unix time for Dec 1 @ 6am UTC.
108
  */
@@ -114,7 +114,7 @@ class Tribe__Admin__Notice__Marketing {
114
  * Unix times for Monday of Thanksgiving week @ 6am UTC and Dec 1 2020 @ 6am UTC.
115
  * 6am UTC is midnight for TheEventsCalendar.com, which uses the America/Los_Angeles time zone.
116
  *
117
- * @since TBD
118
  *
119
  * @return boolean
120
  */
@@ -149,7 +149,7 @@ class Tribe__Admin__Notice__Marketing {
149
  /**
150
  * HTML for the Black Friday notice.
151
  *
152
- * @since TBD
153
  *
154
  * @return string
155
  */
45
  /**
46
  * Register the Black Friday notice.
47
  *
48
+ * @since 4.12.14
49
  */
50
  public function black_friday_hook_notice() {
51
 
65
  /**
66
  * Unix time for Monday of Thanksgiving week @ 11am UTC. (11am UTC is 6am EST).
67
  *
68
+ * @since 4.12.14
69
  *
70
  * @return int
71
  */
79
  /**
80
  * Allow filtering of the Black Friday sale start date, mainly for testing purposes.
81
  *
82
+ * @since 4.12.14
83
  *
84
  * @param int $bf_start_date Unix time for the Monday of Thanksgiving week @ 6am UTC.
85
  */
89
  /**
90
  * Unix time for Dec 1 @ 5am UTC. (5am UTC is 12am EST).
91
  *
92
+ * @since 4.12.14
93
  *
94
  * @return int
95
  */
102
  /**
103
  * Allow filtering of the Black Friday sale end date, mainly for testing purposes.
104
  *
105
+ * @since 4.12.14
106
  *
107
  * @param int $bf_end_date Unix time for Dec 1 @ 6am UTC.
108
  */
114
  * Unix times for Monday of Thanksgiving week @ 6am UTC and Dec 1 2020 @ 6am UTC.
115
  * 6am UTC is midnight for TheEventsCalendar.com, which uses the America/Los_Angeles time zone.
116
  *
117
+ * @since 4.12.14
118
  *
119
  * @return boolean
120
  */
149
  /**
150
  * HTML for the Black Friday notice.
151
  *
152
+ * @since 4.12.14
153
  *
154
  * @return string
155
  */
common/src/Tribe/Cache.php CHANGED
@@ -515,7 +515,7 @@ class Tribe__Cache implements ArrayAccess {
515
  * If NOT using an external object caching system, then check if the size, in bytes, of the data
516
  * to write to the database would fit into the `max_allowed_packet` setting or not.
517
  *
518
- * @since TBD
519
  *
520
  * @param string|array|object $value The value to check.
521
  *
515
  * If NOT using an external object caching system, then check if the size, in bytes, of the data
516
  * to write to the database would fit into the `max_allowed_packet` setting or not.
517
  *
518
+ * @since 4.12.14
519
  *
520
  * @param string|array|object $value The value to check.
521
  *
common/src/Tribe/Customizer.php CHANGED
@@ -115,11 +115,25 @@ final class Tribe__Customizer {
115
  add_action( 'wp_print_footer_scripts', [ $this, 'print_css_template' ], 15 );
116
 
117
  // front end styles from customizer
118
- add_action( 'wp_enqueue_scripts', [ $this, 'inline_style' ], 15 );
119
  add_action( 'tribe_events_pro_widget_render', [ $this, 'inline_style' ], 101 );
120
  add_action( 'wp_print_footer_scripts', [ $this, 'shortcode_inline_style' ], 5 );
121
  add_action( 'wp_print_footer_scripts', [ $this, 'widget_inline_style' ], 5 );
122
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
123
  add_filter( "default_option_{$this->ID}", [ $this, 'maybe_fallback_get_option' ] );
124
  }
125
 
@@ -397,13 +411,13 @@ final class Tribe__Customizer {
397
  /**
398
  * Print the CSS for the customizer for widgets.
399
  *
400
- * @since TBD
401
  */
402
  public function widget_inline_style() {
403
  /**
404
  * Whether customizer styles should print for widgets or not.
405
  *
406
- * @since TBD
407
  *
408
  * @param boolean $should_print Whether the inline styles should be printed on screen.
409
  */
@@ -419,11 +433,13 @@ final class Tribe__Customizer {
419
  /**
420
  * Print the CSS for the customizer using wp_add_inline_style
421
  *
422
- * @return void
 
 
423
  */
424
- public function inline_style() {
425
  // Only load once on front-end.
426
- if ( is_customize_preview() || is_admin() || $this->inline_style ) {
427
  return false;
428
  }
429
 
@@ -461,10 +477,34 @@ final class Tribe__Customizer {
461
  return false;
462
  }
463
 
464
- // add customizer styles inline with the latest stylesheet that is enqueued.
465
  foreach ( array_reverse( $sheets ) as $sheet ) {
466
  if ( wp_style_is( $sheet ) ) {
467
- wp_add_inline_style( $sheet, wp_strip_all_tags( $this->parse_css_template( $css_template ) ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
468
  $this->inline_style = true;
469
 
470
  break;
@@ -543,11 +583,13 @@ final class Tribe__Customizer {
543
  * Allows people to Register and de-register the method to register more Fields
544
  *
545
  * @since 4.4
 
546
  *
547
  * @param array $section
548
  * @param WP_Customize_Manager $manager
 
549
  */
550
- do_action( "tribe_customizer_register_{$id}_settings", $this->sections[ $id ], $this->manager );
551
  }
552
 
553
  /**
115
  add_action( 'wp_print_footer_scripts', [ $this, 'print_css_template' ], 15 );
116
 
117
  // front end styles from customizer
 
118
  add_action( 'tribe_events_pro_widget_render', [ $this, 'inline_style' ], 101 );
119
  add_action( 'wp_print_footer_scripts', [ $this, 'shortcode_inline_style' ], 5 );
120
  add_action( 'wp_print_footer_scripts', [ $this, 'widget_inline_style' ], 5 );
121
 
122
+ /**
123
+ * Allows filtering the action that will be used to trigger the printing of inline scripts.
124
+ *
125
+ * By default inline scripts will be printed on the `wp_enqueue_scripts` action, but other
126
+ * plugins or later iterations might require inline styles to be printed on other actions.
127
+ *
128
+ * @since 4.12.15
129
+ *
130
+ * @param string $inline_script_action_handle The handle of the action that will be used to try
131
+ * and attempt to print inline scripts.
132
+ */
133
+ $print_styles_action = apply_filters( 'tribe_customizer_print_styles_action', 'wp_enqueue_scripts' );
134
+
135
+ add_action( $print_styles_action, [ $this, 'inline_style' ], 15 );
136
+
137
  add_filter( "default_option_{$this->ID}", [ $this, 'maybe_fallback_get_option' ] );
138
  }
139
 
411
  /**
412
  * Print the CSS for the customizer for widgets.
413
  *
414
+ * @since 4.12.14
415
  */
416
  public function widget_inline_style() {
417
  /**
418
  * Whether customizer styles should print for widgets or not.
419
  *
420
+ * @since 4.12.14
421
  *
422
  * @param boolean $should_print Whether the inline styles should be printed on screen.
423
  */
433
  /**
434
  * Print the CSS for the customizer using wp_add_inline_style
435
  *
436
+ * @since 4.12.15 Added the `$force` parameter to force the print of the style inline.
437
+ *
438
+ * @param bool $force Whether to ignore the context to try and printe the style inline, or not.
439
  */
440
+ public function inline_style( $force = false ) {
441
  // Only load once on front-end.
442
+ if ( ! $force && ( is_customize_preview() || is_admin() || $this->inline_style ) ) {
443
  return false;
444
  }
445
 
477
  return false;
478
  }
479
 
480
+ // Add customizer styles inline with the latest stylesheet that is enqueued.
481
  foreach ( array_reverse( $sheets ) as $sheet ) {
482
  if ( wp_style_is( $sheet ) ) {
483
+ $inline_style = wp_strip_all_tags( $this->parse_css_template( $css_template ) );
484
+
485
+ /**
486
+ * Fires before a style is, possibly, printed inline depending on the stylesheet.
487
+ *
488
+ * @since 4.12.15
489
+ *
490
+ * @param string $sheet The handle of the stylesheet the style will be printed inline for.
491
+ * @param string $inline_style The inline style contents, as they will be printed on the page.
492
+ */
493
+ do_action( 'tribe_customizer_before_inline_style', $sheet, $inline_style );
494
+
495
+ // Just print styles if doing 'wp_print_footer_scripts' action.
496
+ $just_print = (bool) doing_action( 'wp_print_footer_scripts' );
497
+
498
+ if ( $just_print ) {
499
+ printf(
500
+ "<style id='%s-inline-css' type='text/css'>\n%s\n</style>\n",
501
+ esc_attr( $sheet ),
502
+ $inline_style
503
+ );
504
+ } else {
505
+ wp_add_inline_style( $sheet, $inline_style );
506
+ }
507
+
508
  $this->inline_style = true;
509
 
510
  break;
583
  * Allows people to Register and de-register the method to register more Fields
584
  *
585
  * @since 4.4
586
+ * @since 4.12.15 Add Customizer instance as a parameter.
587
  *
588
  * @param array $section
589
  * @param WP_Customize_Manager $manager
590
+ * @param Tribe__Customizer $customizer The current customizer instance.
591
  */
592
+ do_action( "tribe_customizer_register_{$id}_settings", $this->sections[ $id ], $this->manager, $this );
593
  }
594
 
595
  /**
common/src/Tribe/Customizer/Control.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * The base class for any custom Control.
4
  *
5
- * @since TBD
6
  *
7
  * @package Tribe\Customizer
8
  */
@@ -12,7 +12,7 @@ namespace Tribe\Customizer;
12
  /**
13
  * Class Control
14
  *
15
- * @since TBD
16
  *
17
  * @package Tribe\Customizer
18
  */
2
  /**
3
  * The base class for any custom Control.
4
  *
5
+ * @since 4.12.14
6
  *
7
  * @package Tribe\Customizer
8
  */
12
  /**
13
  * Class Control
14
  *
15
+ * @since 4.12.14
16
  *
17
  * @package Tribe\Customizer
18
  */
common/src/Tribe/Customizer/Controls/Heading.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Models a Customizer heading, a Control just in name, it does not control any setting.
4
  *
5
- * @since TBD
6
  *
7
  * @package Tribe\Customizer\Controls
8
  */
@@ -14,7 +14,7 @@ use Tribe\Customizer\Control;
14
  /**
15
  * Class Heading
16
  *
17
- * @since TBD
18
  *
19
  * @package Tribe\Customizer\Controls
20
  */
@@ -22,7 +22,7 @@ class Heading extends Control {
22
  /**
23
  * Anyone able to set theme options will be able to see the header.
24
  *
25
- * @since TBD
26
  *
27
  * @var string
28
  */
@@ -31,7 +31,7 @@ class Heading extends Control {
31
  /**
32
  * The heading does not control any setting.
33
  *
34
- * @since TBD
35
  *
36
  * @var array<string,mixed>
37
  */
@@ -40,7 +40,7 @@ class Heading extends Control {
40
  /**
41
  * Render the control's content
42
  *
43
- * @since TBD
44
  */
45
  public function render_content() {
46
  ?>
2
  /**
3
  * Models a Customizer heading, a Control just in name, it does not control any setting.
4
  *
5
+ * @since 4.12.14
6
  *
7
  * @package Tribe\Customizer\Controls
8
  */
14
  /**
15
  * Class Heading
16
  *
17
+ * @since 4.12.14
18
  *
19
  * @package Tribe\Customizer\Controls
20
  */
22
  /**
23
  * Anyone able to set theme options will be able to see the header.
24
  *
25
+ * @since 4.12.14
26
  *
27
  * @var string
28
  */
31
  /**
32
  * The heading does not control any setting.
33
  *
34
+ * @since 4.12.14
35
  *
36
  * @var array<string,mixed>
37
  */
40
  /**
41
  * Render the control's content
42
  *
43
+ * @since 4.12.14
44
  */
45
  public function render_content() {
46
  ?>
common/src/Tribe/Dialog/View.php CHANGED
@@ -45,10 +45,12 @@ class View extends \Tribe__Template {
45
  *
46
  * @type string $button_id The ID for the trigger button (optional).
47
  * @type array $button_classes Any desired classes for the trigger button (optional).
 
48
  * @type boolean $button_disabled Should the button be disabled (optional).
49
  * @type string $button_text The text for the dialog trigger button ("Open the dialog window").
50
  * @type string $button_type The type for the trigger button (optional).
51
  * @type string $button_value The value for the trigger button (optional).
 
52
  * @type string $close_event The dialog close event hook name (`tribe_dialog_close_dialog`).
53
  * @type string $content_classes The dialog content classes ("tribe-dialog__content").
54
  * @type array $context Any additional context data you need to expose to this file (optional).
@@ -113,10 +115,12 @@ class View extends \Tribe__Template {
113
  *
114
  * @type string $button_id The ID for the trigger button (optional).
115
  * @type array $button_classes Any desired classes for the trigger button (optional).
 
116
  * @type boolean $button_disabled Should the button be disabled (optional).
117
  * @type string $button_text The text for the dialog trigger button ("Open the modal window").
118
  * @type string $button_type The type for the trigger button (optional).
119
  * @type string $button_value The value for the trigger button (optional).
 
120
  * @type string $close_event The dialog close event hook name (`tribe_dialog_close_modal`).
121
  * @type string $content_classes The dialog content classes ("tribe-dialog__content tribe-modal__content").
122
  * @type string $title_classes The dialog title classes ("tribe-dialog__title tribe-modal__title").
@@ -182,10 +186,12 @@ class View extends \Tribe__Template {
182
  *
183
  * @type string $button_id The ID for the trigger button (optional).
184
  * @type array $button_classes Any desired classes for the trigger button (optional).
 
185
  * @type boolean $button_disabled Should the button be disabled (optional).
186
  * @type string $button_text The text for the dialog trigger button ("Open the dialog window").
187
  * @type string $button_type The type for the trigger button (optional).
188
  * @type string $button_value The value for the trigger button (optional).
 
189
  * @type string $cancel_button_text Text for the "Cancel" button ("Cancel").
190
  * @type string $content_classes The dialog content classes ("tribe-dialog__content tribe-confirm__content").
191
  * @type string $continue_button_text Text for the "Continue" button ("Confirm").
@@ -250,10 +256,12 @@ class View extends \Tribe__Template {
250
  * @type string $alert_button_text Text for the "OK" button ("OK").
251
  * @type string $button_id The ID for the trigger button (optional).
252
  * @type array $button_classes Any desired classes for the trigger button (optional).
 
253
  * @type boolean $button_disabled Should the button be disabled (optional).
254
  * @type string $button_text The text for the dialog trigger button ("Open the dialog window").
255
  * @type string $button_type The type for the trigger button (optional).
256
  * @type string $button_value The value for the trigger button (optional).
 
257
  * @type string $content_classes The dialog content classes ("tribe-dialog__content tribe-alert__content").
258
  * @type string $title_classes The dialog title classes ("tribe-dialog__title tribe-alert__title").
259
  * @type array $context Any additional context data you need to expose to this file (optional).
@@ -315,10 +323,12 @@ class View extends \Tribe__Template {
315
  *
316
  * @type string $button_id The ID for the trigger button (optional).
317
  * @type array $button_classes Any desired classes for the trigger button (optional).
 
318
  * @type boolean $button_disabled Should the button be disabled (optional).
319
  * @type string $button_text The text for the dialog trigger button ("Open the dialog window").
320
  * @type string $button_type The type for the trigger button (optional).
321
  * @type string $button_value The value for the trigger button (optional).
 
322
  * @type string $close_event The dialog event hook name (`tribe_dialog_close_dialog`).
323
  * @type string $content_classes The dialog content classes ("tribe-dialog__content").
324
  * @type string $title_classes The dialog title classes ("tribe-dialog__title").
@@ -349,12 +359,14 @@ class View extends \Tribe__Template {
349
  private function build_dialog( $content, $id, $args ) {
350
  $default_args = [
351
  'button_classes' => '',
 
352
  'button_disabled' => false,
353
  'button_id' => '',
354
  'button_name' => '',
355
  'button_text' => __( 'Open the dialog window', 'tribe-common' ),
356
  'button_type' => '',
357
  'button_value' => '',
 
358
  'close_event' => 'tribe_dialog_close_dialog',
359
  'content_classes' => 'tribe-dialog__content',
360
  'context' => '',
45
  *
46
  * @type string $button_id The ID for the trigger button (optional).
47
  * @type array $button_classes Any desired classes for the trigger button (optional).
48
+ * @type array $button_attributes Any desired attributes for the trigger button (optional).
49
  * @type boolean $button_disabled Should the button be disabled (optional).
50
  * @type string $button_text The text for the dialog trigger button ("Open the dialog window").
51
  * @type string $button_type The type for the trigger button (optional).
52
  * @type string $button_value The value for the trigger button (optional).
53
+ * @type boolean $button_display If the dialog button should be displayed or not (optional).
54
  * @type string $close_event The dialog close event hook name (`tribe_dialog_close_dialog`).
55
  * @type string $content_classes The dialog content classes ("tribe-dialog__content").
56
  * @type array $context Any additional context data you need to expose to this file (optional).
115
  *
116
  * @type string $button_id The ID for the trigger button (optional).
117
  * @type array $button_classes Any desired classes for the trigger button (optional).
118
+ * @type array $button_attributes Any desired attributes for the trigger button (optional).
119
  * @type boolean $button_disabled Should the button be disabled (optional).
120
  * @type string $button_text The text for the dialog trigger button ("Open the modal window").
121
  * @type string $button_type The type for the trigger button (optional).
122
  * @type string $button_value The value for the trigger button (optional).
123
+ * @type boolean $button_display If the dialog button should be displayed or not (optional).
124
  * @type string $close_event The dialog close event hook name (`tribe_dialog_close_modal`).
125
  * @type string $content_classes The dialog content classes ("tribe-dialog__content tribe-modal__content").
126
  * @type string $title_classes The dialog title classes ("tribe-dialog__title tribe-modal__title").
186
  *
187
  * @type string $button_id The ID for the trigger button (optional).
188
  * @type array $button_classes Any desired classes for the trigger button (optional).
189
+ * @type array $button_attributes Any desired attributes for the trigger button (optional).
190
  * @type boolean $button_disabled Should the button be disabled (optional).
191
  * @type string $button_text The text for the dialog trigger button ("Open the dialog window").
192
  * @type string $button_type The type for the trigger button (optional).
193
  * @type string $button_value The value for the trigger button (optional).
194
+ * @type boolean $button_display If the dialog button should be displayed or not (optional).
195
  * @type string $cancel_button_text Text for the "Cancel" button ("Cancel").
196
  * @type string $content_classes The dialog content classes ("tribe-dialog__content tribe-confirm__content").
197
  * @type string $continue_button_text Text for the "Continue" button ("Confirm").
256
  * @type string $alert_button_text Text for the "OK" button ("OK").
257
  * @type string $button_id The ID for the trigger button (optional).
258
  * @type array $button_classes Any desired classes for the trigger button (optional).
259
+ * @type array $button_attributes Any desired attributes for the trigger button (optional).
260
  * @type boolean $button_disabled Should the button be disabled (optional).
261
  * @type string $button_text The text for the dialog trigger button ("Open the dialog window").
262
  * @type string $button_type The type for the trigger button (optional).
263
  * @type string $button_value The value for the trigger button (optional).
264
+ * @type boolean $button_display If the dialog button should be displayed or not (optional).
265
  * @type string $content_classes The dialog content classes ("tribe-dialog__content tribe-alert__content").
266
  * @type string $title_classes The dialog title classes ("tribe-dialog__title tribe-alert__title").
267
  * @type array $context Any additional context data you need to expose to this file (optional).
323
  *
324
  * @type string $button_id The ID for the trigger button (optional).
325
  * @type array $button_classes Any desired classes for the trigger button (optional).
326
+ * @type array $button_attributes Any desired attributes for the trigger button (optional).
327
  * @type boolean $button_disabled Should the button be disabled (optional).
328
  * @type string $button_text The text for the dialog trigger button ("Open the dialog window").
329
  * @type string $button_type The type for the trigger button (optional).
330
  * @type string $button_value The value for the trigger button (optional).
331
+ * @type boolean $button_display If the dialog button should be displayed or not (optional).
332
  * @type string $close_event The dialog event hook name (`tribe_dialog_close_dialog`).
333
  * @type string $content_classes The dialog content classes ("tribe-dialog__content").
334
  * @type string $title_classes The dialog title classes ("tribe-dialog__title").
359
  private function build_dialog( $content, $id, $args ) {
360
  $default_args = [
361
  'button_classes' => '',
362
+ 'button_attributes' => [],
363
  'button_disabled' => false,
364
  'button_id' => '',
365
  'button_name' => '',
366
  'button_text' => __( 'Open the dialog window', 'tribe-common' ),
367
  'button_type' => '',
368
  'button_value' => '',
369
+ 'button_display' => true,
370
  'close_event' => 'tribe_dialog_close_dialog',
371
  'content_classes' => 'tribe-dialog__content',
372
  'context' => '',
common/src/Tribe/Editor.php CHANGED
@@ -202,22 +202,24 @@ class Tribe__Editor {
202
  }
203
 
204
  /**
205
- * Detect if is the classic editor is forced activated via plugin or if it comes from a request
206
  *
207
  * @since 4.8
208
  *
209
  * @return bool
210
  */
211
  public function is_classic_editor() {
212
- $disabled_by_plugin = $this->is_classic_plugin_active() && $this->is_classic_option_active();
 
213
  /**
214
- * Allow other addons to disabled classic editor based on options
215
  *
216
  * @since 4.8.5
217
  *
218
  * @param bool $classic_is_active Whether the classic editor should be used.
219
  */
220
- $disabled_by_filter = apply_filters( 'tribe_editor_classic_is_active', false );
 
221
  $is_classic_editor_request = tribe_get_request_var( 'classic-editor', null );
222
 
223
  return $is_classic_editor_request || $disabled_by_plugin || $disabled_by_filter;
202
  }
203
 
204
  /**
205
+ * Detect if the classic editor is force-activated via plugin or if it comes from a request.
206
  *
207
  * @since 4.8
208
  *
209
  * @return bool
210
  */
211
  public function is_classic_editor() {
212
+ $disabled_by_plugin = $this->is_classic_plugin_active() && $this->is_classic_option_active();
213
+
214
  /**
215
+ * Allow other addons to disable classic editor based on options.
216
  *
217
  * @since 4.8.5
218
  *
219
  * @param bool $classic_is_active Whether the classic editor should be used.
220
  */
221
+ $disabled_by_filter = apply_filters( 'tribe_editor_classic_is_active', false );
222
+
223
  $is_classic_editor_request = tribe_get_request_var( 'classic-editor', null );
224
 
225
  return $is_classic_editor_request || $disabled_by_plugin || $disabled_by_filter;
common/src/Tribe/Log/Service_Provider.php CHANGED
@@ -22,6 +22,8 @@ class Service_Provider extends \tad_DI52_ServiceProvider {
22
  * @since 4.9.16
23
  */
24
  public function register() {
 
 
25
  $this->container->singleton( Logger::class, [ $this, 'build_logger' ] );
26
  $this->container->singleton( 'monolog',
27
  function () {
@@ -145,4 +147,30 @@ class Service_Provider extends \tad_DI52_ServiceProvider {
145
 
146
  return $logging_engines;
147
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
148
  }
22
  * @since 4.9.16
23
  */
24
  public function register() {
25
+ $this->container->singleton( 'log', $this );
26
+ $this->container->singleton( static::class, $this );
27
  $this->container->singleton( Logger::class, [ $this, 'build_logger' ] );
28
  $this->container->singleton( 'monolog',
29
  function () {
147
 
148
  return $logging_engines;
149
  }
150
+
151
+ /**
152
+ * Enables logging in the service provider, if not already enabled.
153
+ *
154
+ * @since 4.12.15
155
+ */
156
+ public function enable() {
157
+ if ( has_action( 'tribe_log', [ $this, 'dispatch_log' ] ) ) {
158
+ return;
159
+ }
160
+
161
+ add_action( 'tribe_log', [ $this, 'dispatch_log' ] );
162
+ }
163
+
164
+ /**
165
+ * Disables the logging functions.
166
+ *
167
+ * @since 4.12.15
168
+ */
169
+ public function disable() {
170
+ if ( ! has_action( 'tribe_log', [ $this, 'dispatch_log' ] ) ) {
171
+ return;
172
+ }
173
+
174
+ remove_action( 'tribe_log', [ $this, 'dispatch_log' ] );
175
+ }
176
  }
common/src/Tribe/Main.php CHANGED
@@ -19,7 +19,7 @@ class Tribe__Main {
19
  const OPTIONNAME = 'tribe_events_calendar_options';
20
  const OPTIONNAMENETWORK = 'tribe_events_calendar_network_options';
21
 
22
- const VERSION = '4.12.14';
23
 
24
  const FEED_URL = 'https://theeventscalendar.com/feed/';
25
 
19
  const OPTIONNAME = 'tribe_events_calendar_options';
20
  const OPTIONNAMENETWORK = 'tribe_events_calendar_network_options';
21
 
22
+ const VERSION = '4.12.15';
23
 
24
  const FEED_URL = 'https://theeventscalendar.com/feed/';
25
 
common/src/Tribe/Utils/Array.php CHANGED
@@ -525,7 +525,7 @@ if ( ! class_exists( 'Tribe__Utils__Array' ) ) {
525
  /**
526
  * Stringifies the numeric keys of an array.
527
  *
528
- * @since TBD
529
  *
530
  * @param array<int|string,mixed> $input The input array whose keys should be stringified.
531
  * @param string|null $prefix The prefix that should be use to stringify the keys, if not provided
@@ -548,7 +548,7 @@ if ( ! class_exists( 'Tribe__Utils__Array' ) ) {
548
  * The inverse of the `stringify_keys` method, it will restore numeric keys for previously
549
  * stringified keys.
550
  *
551
- * @since TBD
552
  *
553
  * @param array<int|string,mixed> $input The input array whose stringified keys should be
554
  * destringified.
@@ -570,7 +570,7 @@ if ( ! class_exists( 'Tribe__Utils__Array' ) ) {
570
  * Recursively visits all elements of an array applying the specified callback to each element
571
  * key and value.
572
  *
573
- * @since TBD
574
  *
575
  * @param array $input The input array whose nodes should be visited.
576
  * @param callable $visitor A callback function that will be called on each array item; the callback will
@@ -609,7 +609,7 @@ if ( ! class_exists( 'Tribe__Utils__Array' ) ) {
609
  /**
610
  * Recursively remove associative, non numeric, keys from an array.
611
  *
612
- * @since TBD
613
  *
614
  * @param array<string|int,mixed> $input The input array.
615
  *
@@ -627,7 +627,7 @@ if ( ! class_exists( 'Tribe__Utils__Array' ) ) {
627
  /**
628
  * Recursively remove numeric keys from an array.
629
  *
630
- * @since TBD
631
  *
632
  * @param array<string|int,mixed> $input The input array.
633
  *
@@ -648,7 +648,7 @@ if ( ! class_exists( 'Tribe__Utils__Array' ) ) {
648
  * The method will recursively replace named keys and merge numeric keys. The method takes its name from its intended
649
  * primary use, but it's not limited to query arguments only.
650
  *
651
- * @since TBD
652
  *
653
  * @param array<string|int,mixed> ...$arrays A set of arrays to merge.
654
  *
525
  /**
526
  * Stringifies the numeric keys of an array.
527
  *
528
+ * @since 4.12.14
529
  *
530
  * @param array<int|string,mixed> $input The input array whose keys should be stringified.
531
  * @param string|null $prefix The prefix that should be use to stringify the keys, if not provided
548
  * The inverse of the `stringify_keys` method, it will restore numeric keys for previously
549
  * stringified keys.
550
  *
551
+ * @since 4.12.14
552
  *
553
  * @param array<int|string,mixed> $input The input array whose stringified keys should be
554
  * destringified.
570
  * Recursively visits all elements of an array applying the specified callback to each element
571
  * key and value.
572
  *
573
+ * @since 4.12.14
574
  *
575
  * @param array $input The input array whose nodes should be visited.
576
  * @param callable $visitor A callback function that will be called on each array item; the callback will
609
  /**
610
  * Recursively remove associative, non numeric, keys from an array.
611
  *
612
+ * @since 4.12.14
613
  *
614
  * @param array<string|int,mixed> $input The input array.
615
  *
627
  /**
628
  * Recursively remove numeric keys from an array.
629
  *
630
+ * @since 4.12.14
631
  *
632
  * @param array<string|int,mixed> $input The input array.
633
  *
648
  * The method will recursively replace named keys and merge numeric keys. The method takes its name from its intended
649
  * primary use, but it's not limited to query arguments only.
650
  *
651
+ * @since 4.12.14
652
  *
653
  * @param array<string|int,mixed> ...$arrays A set of arrays to merge.
654
  *
common/src/Tribe/Utils/Paths.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Utilities to manipulate file-system paths.
4
  *
5
- * @since TBD
6
  *
7
  * @package Tribe\Utils
8
  */
@@ -12,7 +12,7 @@ namespace Tribe\Utils;
12
  /**
13
  * Class Paths
14
  *
15
- * @since TBD
16
  *
17
  * @package Tribe\Utils
18
  */
@@ -24,7 +24,7 @@ class Paths {
24
  * The function will take care of merging the paths intersecting their common fragments.
25
  * E.g. `foo/bar/baz` and `bar/baz/test.php` will be merged int `foo/bar/baz/test.php`.
26
  *
27
- * @since TBD
28
  *
29
  * @param array<string<array<string>> ...$paths A set of paths to merge, each one either a string or an array
30
  * of path fragments.
2
  /**
3
  * Utilities to manipulate file-system paths.
4
  *
5
+ * @since 4.12.14
6
  *
7
  * @package Tribe\Utils
8
  */
12
  /**
13
  * Class Paths
14
  *
15
+ * @since 4.12.14
16
  *
17
  * @package Tribe\Utils
18
  */
24
  * The function will take care of merging the paths intersecting their common fragments.
25
  * E.g. `foo/bar/baz` and `bar/baz/test.php` will be merged int `foo/bar/baz/test.php`.
26
  *
27
+ * @since 4.12.14
28
  *
29
  * @param array<string<array<string>> ...$paths A set of paths to merge, each one either a string or an array
30
  * of path fragments.
common/src/Tribe/Widget/Widget_Abstract.php CHANGED
@@ -25,7 +25,7 @@ abstract class Widget_Abstract extends \WP_Widget implements Widget_Interface {
25
  /**
26
  * An instance of template.
27
  *
28
- * @since TBD
29
  *
30
  * @var \Tribe__Template
31
  */
@@ -34,7 +34,7 @@ abstract class Widget_Abstract extends \WP_Widget implements Widget_Interface {
34
  /**
35
  * The slug of the admin widget view.
36
  *
37
- * @since TBD
38
  *
39
  * @var string
40
  */
@@ -117,7 +117,7 @@ abstract class Widget_Abstract extends \WP_Widget implements Widget_Interface {
117
  /**
118
  * Setup the widget.
119
  *
120
- * @since TBD
121
  *
122
  * @param array<string,mixed> $arguments The widget arguments, as set by the user in the widget string.
123
  */
@@ -233,7 +233,7 @@ abstract class Widget_Abstract extends \WP_Widget implements Widget_Interface {
233
  /**
234
  * Sets up the widgets default admin fields.
235
  *
236
- * @since TBD
237
  *
238
  * @return array<string,mixed> The array of widget admin fields.
239
  */
@@ -253,7 +253,7 @@ abstract class Widget_Abstract extends \WP_Widget implements Widget_Interface {
253
  /**
254
  * Applies a filter to a widget's admin fields.
255
  *
256
- * @since TBD
257
  *
258
  * @param array<string,mixed> $admin_fields The array of widget admin fields.
259
  * @param static $instance The widget instance we are dealing with.
@@ -282,7 +282,7 @@ abstract class Widget_Abstract extends \WP_Widget implements Widget_Interface {
282
  /**
283
  * Applies a filter to updated instance of a widget.
284
  *
285
- * @since TBD
286
  *
287
  * @param array<string,mixed> $updated_instance The updated instance of the widget.
288
  * @param array<string,mixed> $new_instance The new values for the widget instance.
@@ -295,7 +295,7 @@ abstract class Widget_Abstract extends \WP_Widget implements Widget_Interface {
295
  /**
296
  * Applies a filter to updated instance of a widget arguments based on the registration slug of the widget.
297
  *
298
- * @since TBD
299
  *
300
  * @param array<string,mixed> $updated_instance The updated instance of the widget.
301
  * @param array<string,mixed> $new_instance The new values for the widget instance.
@@ -309,7 +309,7 @@ abstract class Widget_Abstract extends \WP_Widget implements Widget_Interface {
309
  /**
310
  * Sets up the widgets arguments, using saved values.
311
  *
312
- * @since TBD
313
  *
314
  * @param array<string,mixed> $instance Saved values for the widget instance.
315
  *
@@ -414,7 +414,7 @@ abstract class Widget_Abstract extends \WP_Widget implements Widget_Interface {
414
  /**
415
  * Sets up the widgets default arguments.
416
  *
417
- * @since TBD
418
  *
419
  * @return array<string,mixed> The default widget arguments.
420
  */
@@ -467,7 +467,7 @@ abstract class Widget_Abstract extends \WP_Widget implements Widget_Interface {
467
  /**
468
  * Sets the admin template.
469
  *
470
- * @since TBD
471
  *
472
  * @param \Tribe__Template $template The admin template to use.
473
  */
@@ -478,7 +478,7 @@ abstract class Widget_Abstract extends \WP_Widget implements Widget_Interface {
478
  /**
479
  * Returns the current admin template.
480
  *
481
- * @since TBD
482
  *
483
  * @return \Tribe__Template The current admin template.
484
  */
@@ -489,7 +489,7 @@ abstract class Widget_Abstract extends \WP_Widget implements Widget_Interface {
489
  /**
490
  * Get the admin html for the widget form.
491
  *
492
- * @since TBD
493
  *
494
  * @param array<string,mixed> $arguments Current set of arguments.
495
  */
25
  /**
26
  * An instance of template.
27
  *
28
+ * @since 4.12.14
29
  *
30
  * @var \Tribe__Template
31
  */
34
  /**
35
  * The slug of the admin widget view.
36
  *
37
+ * @since 4.12.14
38
  *
39
  * @var string
40
  */
117
  /**
118
  * Setup the widget.
119
  *
120
+ * @since 4.12.14
121
  *
122
  * @param array<string,mixed> $arguments The widget arguments, as set by the user in the widget string.
123
  */
233
  /**
234
  * Sets up the widgets default admin fields.
235
  *
236
+ * @since 4.12.14
237
  *
238
  * @return array<string,mixed> The array of widget admin fields.
239
  */
253
  /**
254
  * Applies a filter to a widget's admin fields.
255
  *
256
+ * @since 4.12.14
257
  *
258
  * @param array<string,mixed> $admin_fields The array of widget admin fields.
259
  * @param static $instance The widget instance we are dealing with.
282
  /**
283
  * Applies a filter to updated instance of a widget.
284
  *
285
+ * @since 4.12.14
286
  *
287
  * @param array<string,mixed> $updated_instance The updated instance of the widget.
288
  * @param array<string,mixed> $new_instance The new values for the widget instance.
295
  /**
296
  * Applies a filter to updated instance of a widget arguments based on the registration slug of the widget.
297
  *
298
+ * @since 4.12.14
299
  *
300
  * @param array<string,mixed> $updated_instance The updated instance of the widget.
301
  * @param array<string,mixed> $new_instance The new values for the widget instance.
309
  /**
310
  * Sets up the widgets arguments, using saved values.
311
  *
312
+ * @since 4.12.14
313
  *
314
  * @param array<string,mixed> $instance Saved values for the widget instance.
315
  *
414
  /**
415
  * Sets up the widgets default arguments.
416
  *
417
+ * @since 4.12.14
418
  *
419
  * @return array<string,mixed> The default widget arguments.
420
  */
467
  /**
468
  * Sets the admin template.
469
  *
470
+ * @since 4.12.14
471
  *
472
  * @param \Tribe__Template $template The admin template to use.
473
  */
478
  /**
479
  * Returns the current admin template.
480
  *
481
+ * @since 4.12.14
482
  *
483
  * @return \Tribe__Template The current admin template.
484
  */
489
  /**
490
  * Get the admin html for the widget form.
491
  *
492
+ * @since 4.12.14
493
  *
494
  * @param array<string,mixed> $arguments Current set of arguments.
495
  */
common/src/Tribe/Widget/Widget_Interface.php CHANGED
@@ -130,7 +130,7 @@ interface Widget_Interface {
130
  /**
131
  * Returns an array of admin fields for the widget.
132
  *
133
- * @since TBD
134
  *
135
  * @return array<string,mixed> The array of widget admin fields.
136
  */
@@ -139,7 +139,7 @@ interface Widget_Interface {
139
  /**
140
  * Filter a widget's admin fields.
141
  *
142
- * @since TBD
143
  *
144
  * @param array<string,mixed> $admin_fields The array of widget admin fields.
145
  *
@@ -150,7 +150,7 @@ interface Widget_Interface {
150
  /**
151
  * Filters a widget's updated instance.
152
  *
153
- * @since TBD
154
  *
155
  * @param array<string,mixed> $updated_instance The updated instance of the widget.
156
  * @param array<string,mixed> $new_instance The new values for the widget instance.
130
  /**
131
  * Returns an array of admin fields for the widget.
132
  *
133
+ * @since 4.12.14
134
  *
135
  * @return array<string,mixed> The array of widget admin fields.
136
  */
139
  /**
140
  * Filter a widget's admin fields.
141
  *
142
+ * @since 4.12.14
143
  *
144
  * @param array<string,mixed> $admin_fields The array of widget admin fields.
145
  *
150
  /**
151
  * Filters a widget's updated instance.
152
  *
153
+ * @since 4.12.14
154
  *
155
  * @param array<string,mixed> $updated_instance The updated instance of the widget.
156
  * @param array<string,mixed> $new_instance The new values for the widget instance.
common/src/admin-views/notices/tribe-bf-general.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * The Black Friday admin notice.
4
  *
5
- * @since TBD
6
  *
7
  * @var string $icon_url The local URL for the notice's image.
8
  * @var string $cta_url The short URL for black friday.
2
  /**
3
  * The Black Friday admin notice.
4
  *
5
+ * @since 4.12.14
6
  *
7
  * @var string $icon_url The local URL for the notice's image.
8
  * @var string $cta_url The short URL for black friday.
common/src/functions/template-tags/html.php CHANGED
@@ -136,7 +136,7 @@ function tribe_disabled( $disabled, $echo = true ) {
136
  /**
137
  * Generates a string for the tribe-dependency attributes.
138
  *
139
- * @since TBD
140
  *
141
  * @param array<string,mixed> $deps The passed array of dependencies.
142
  *
136
  /**
137
  * Generates a string for the tribe-dependency attributes.
138
  *
139
+ * @since 4.12.14
140
  *
141
  * @param array<string,mixed> $deps The passed array of dependencies.
142
  *
common/src/functions/utils.php CHANGED
@@ -810,7 +810,7 @@ if ( ! function_exists( 'tribe_get_greatest_version_ever_installed' ) ) {
810
  * use static mapping here, since generating a full instance will effectively
811
  * activate parts of the plugin behind the scenes.
812
  *
813
- * @since TBD
814
  *
815
  * @param string $class Which plugin main class we are looking for.
816
  *
810
  * use static mapping here, since generating a full instance will effectively
811
  * activate parts of the plugin behind the scenes.
812
  *
813
+ * @since 4.12.14
814
  *
815
  * @param string $class Which plugin main class we are looking for.
816
  *
common/src/resources/js/admin-log-controls.js CHANGED
@@ -59,7 +59,7 @@ var tribe_logger_data = tribe_logger_data || {};
59
  function on_success( data ) {
60
  unfreeze();
61
 
62
- if ( $.isArray( data.data.entries ) ) {
63
  $viewer.html( to_table( data.data.entries ) );
64
  update_download_link();
65
  }
@@ -100,7 +100,7 @@ var tribe_logger_data = tribe_logger_data || {};
100
  var matches = url.match(/&log=([a-z0-9\-]+)/i);
101
 
102
  // Update or add the log parameter
103
- if ( $.isArray( matches ) && 2 === matches.length ) {
104
  url = url.replace( matches[0], '&log=' + log );
105
  } else if ( url.indexOf( '?' ) ) {
106
  url = url + '&log=' + log;
@@ -172,5 +172,5 @@ var tribe_logger_data = tribe_logger_data || {};
172
  current_engine = get_current_engine();
173
 
174
  update_download_link();
175
- $options.change( update );
176
  } )( jQuery, tribe_logger_admin );
59
  function on_success( data ) {
60
  unfreeze();
61
 
62
+ if ( Array.isArray( data.data.entries ) ) {
63
  $viewer.html( to_table( data.data.entries ) );
64
  update_download_link();
65
  }
100
  var matches = url.match(/&log=([a-z0-9\-]+)/i);
101
 
102
  // Update or add the log parameter
103
+ if ( Array.isArray( matches ) && 2 === matches.length ) {
104
  url = url.replace( matches[0], '&log=' + log );
105
  } else if ( url.indexOf( '?' ) ) {
106
  url = url + '&log=' + log;
172
  current_engine = get_current_engine();
173
 
174
  update_download_link();
175
+ $options.on( 'change', update );
176
  } )( jQuery, tribe_logger_admin );
common/src/resources/js/admin-log-controls.min.js CHANGED
@@ -1 +1 @@
1
- var tribe_logger_admin=tribe_logger_admin||{},tribe_logger_data=tribe_logger_data||{};!function(e,t){var r=!1,n="",a="",o=!1,i=e("#tribe-log-controls"),l=i.find("select"),d=i.find(".working"),g=e("#tribe-log-viewer"),c=e("a.download_log");function s(t){v(),e.isArray(t.data.entries)&&(g.html(function(e){var t="<table>";for(var r in e){for(var n in t+="<tr>",e[r])t+="<td>"+e[r][n]+"</td>";t+="</tr>"}return t+"</table>"}(t.data.entries)),f())}function f(){if(!(1>c.length)){var t=c.attr("href"),r=encodeURI(_()),n=t.match(/&log=([a-z0-9\-]+)/i);t=e.isArray(n)&&2===n.length?t.replace(n[0],"&log="+r):t.indexOf("?")?t+"&log="+r:t+"?log="+r,c.attr("href",t)}}function u(){v()}function v(){r=!1,l.prop("disabled",!1),d.addClass("hidden")}function _(){return e("#log-selector").find(":selected").attr("name")}function b(){return e("#log-engine").find(":selected").attr("name")}n=_(),a=b(),f(),l.change(function(){var t,i;r||(t=_(),i=b(),t!==n||i!==a?(o=!0,n=t,a=i):o=!1,r=!0,l.prop("disabled",!0),d.removeClass("hidden"),g={action:"tribe_logging_controls",check:tribe_logger_data.check,"log-level":e("#log-level").find(":selected").attr("name"),"log-engine":e("#log-engine").find(":selected").attr("name")},o&&(g["log-view"]=n),e.ajax(ajaxurl,{method:"POST",success:s,error:u,dataType:"json",data:g}));var g})}(jQuery);
1
+ var tribe_logger_admin=tribe_logger_admin||{},tribe_logger_data=tribe_logger_data||{};!function(e,r){var t=!1,n="",a="",o=!1,i=e("#tribe-log-controls"),l=i.find("select"),d=i.find(".working"),g=e("#tribe-log-viewer"),c=e("a.download_log");function s(e){v(),Array.isArray(e.data.entries)&&(g.html(function(e){var r="<table>";for(var t in e){for(var n in r+="<tr>",e[t])r+="<td>"+e[t][n]+"</td>";r+="</tr>"}return r+"</table>"}(e.data.entries)),f())}function f(){if(!(1>c.length)){var e=c.attr("href"),r=encodeURI(_()),t=e.match(/&log=([a-z0-9\-]+)/i);e=Array.isArray(t)&&2===t.length?e.replace(t[0],"&log="+r):e.indexOf("?")?e+"&log="+r:e+"?log="+r,c.attr("href",e)}}function u(){v()}function v(){t=!1,l.prop("disabled",!1),d.addClass("hidden")}function _(){return e("#log-selector").find(":selected").attr("name")}function b(){return e("#log-engine").find(":selected").attr("name")}n=_(),a=b(),f(),l.on("change",function(){var r,i;t||(r=_(),i=b(),r!==n||i!==a?(o=!0,n=r,a=i):o=!1,t=!0,l.prop("disabled",!0),d.removeClass("hidden"),g={action:"tribe_logging_controls",check:tribe_logger_data.check,"log-level":e("#log-level").find(":selected").attr("name"),"log-engine":e("#log-engine").find(":selected").attr("name")},o&&(g["log-view"]=n),e.ajax(ajaxurl,{method:"POST",success:s,error:u,dataType:"json",data:g}));var g})}(jQuery);
common/src/resources/js/admin/help-page.js CHANGED
@@ -27,9 +27,12 @@ tribe.helpPage = tribe.helpPage || {};
27
  var button_text = tribe_system_info.clipboard_btn_text;
28
 
29
  //Prevent Button From Doing Anything Else
30
- $( '.system-info-copy-btn' ).click( function ( e ) {
31
- e.preventDefault();
32
- } );
 
 
 
33
 
34
  clipboard.on( 'success', function ( event ) {
35
  event.clearSelection();
27
  var button_text = tribe_system_info.clipboard_btn_text;
28
 
29
  //Prevent Button From Doing Anything Else
30
+ $( '.system-info-copy-btn' ).on(
31
+ 'click',
32
+ function ( e ) {
33
+ e.preventDefault();
34
+ }
35
+ );
36
 
37
  clipboard.on( 'success', function ( event ) {
38
  event.clearSelection();
common/src/resources/js/dropdowns.js CHANGED
@@ -153,7 +153,7 @@ var tribe_dropdowns = window.tribe_dropdowns || {};
153
  * @return {Object|boolean}
154
  */
155
  function find_item( description, haystack ) {
156
- if ( ! $.isArray( haystack ) ) {
157
  return false;
158
  }
159
 
@@ -168,7 +168,7 @@ var tribe_dropdowns = window.tribe_dropdowns || {};
168
  return possible_match;
169
  }
170
 
171
- if ( possible_match.hasOwnProperty( 'children' ) && $.isArray( possible_match.children ) ) {
172
  var subsearch = find_item( description, possible_match.children );
173
 
174
  if ( subsearch ) {
153
  * @return {Object|boolean}
154
  */
155
  function find_item( description, haystack ) {
156
+ if ( ! _.isArray( haystack ) ) {
157
  return false;
158
  }
159
 
168
  return possible_match;
169
  }
170
 
171
+ if ( possible_match.hasOwnProperty( 'children' ) && _.isArray( possible_match.children ) ) {
172
  var subsearch = find_item( description, possible_match.children );
173
 
174
  if ( subsearch ) {
common/src/resources/js/dropdowns.min.js CHANGED
@@ -1 +1 @@
1
- var tribe_dropdowns=window.tribe_dropdowns||{};!function(e,t,r){"use strict";t.selector={dropdown:".tribe-dropdown",created:".tribe-dropdown-created",searchField:".select2-search__field"},e.fn.tribe_dropdowns=function(){return t.dropdown(this,{}),this},t.freefrom_create_search_choice=function(t){var a=e.trim(t.term);if(""===a)return null;var o=this.options.options,s=o.$select;if(a.match(o.regexToken)&&(!s.is("[data-int]")||s.is("[data-int]")&&a.match(/\d+/))){var n={id:a,text:a,new:!0};return s.is("[data-create-choice-template]")&&(n.text=r.template(s.data("createChoiceTemplate"))({term:a})),n}return null},t.search_id=function(e){var t=void 0;return void 0!==e.id?t=e.id:void 0!==e.ID?t=e.ID:void 0!==e.value&&(t=e.value),void 0===e?void 0:t},t.matcher=function(a,o){if(""===e.trim(a.term))return o;if(void 0===o.text)return null;var s=e.trim(a.term),n=o.text,i=e(o.element).closest("select").data("dropdown"),d=-1!==n.toUpperCase().indexOf(s.toUpperCase());if(!d&&void 0!==i.tags){var c=r.where(i.tags,{text:n});if(i.tags.length>0&&r.isObject(c))d=-1!==t.search_id(c[0]).toUpperCase().indexOf(s.toUpperCase())}return d},t.init_selection=function(t,r){var a=t.is("[multiple]"),o=t.data("dropdown"),s=(t.data("isEmpty"),t.val().split(o.regexSplit)),n=[];if(e(s).each(function(r,a){var s=function t(r,a){if(!e.isArray(a))return!1;for(var o in a){var s=a[o];if(s.hasOwnProperty("id")&&s.id==r.id)return s;if(s.hasOwnProperty("text")&&s.text==r.text)return s;if(s.hasOwnProperty("children")&&e.isArray(s.children)){var n=t(r,s.children);if(n)return n}}return!1}({id:this,text:this},o.ajax?t.data("options"):o.data);s&&s.selected&&n.push(s)}),n.length&&a)r(n);else{if(!n.length)return void r(!1);r(n[0])}},t.getSelectClasses=function(e){var t=e.attr("class").split(/\s+/);return r.difference(t,["select2-hidden-accessible","hide-before-select2-init"])},t.element=function(a,o){var s,n=e(a);o=e.extend({},o);if(n.addClass(t.selector.created.className()),o.$select=n,o.dropdownAutoWidth=!0,o.width="resolve",o.containerCss={},n.is(":visible")&&(o.containerCss.display="inline-block",o.containerCss.position="relative"),o.dropdownCss={},o.dropdownCss.width="auto",n.is("[data-dropdown-css-width]")&&(o.dropdownCss.width=n.data("dropdown-css-width"),o.dropdownCss.width&&"false"!==o.dropdownCss.width||(delete o.dropdownCss.width,delete o.containerCss)),o.allowClear=!0,n.is("[data-prevent-clear]")&&(o.allowClear=!1),n.is("[data-searching-placeholder]")&&(o.formatSearching=n.data("searching-placeholder")),!n.is("[data-placeholder]")&&n.is("[placeholder]")&&(o.placeholder=n.attr("placeholder")),n.is("[data-options]")&&(o.data=n.data("options")),o.minimumResultsForSearch=10,n.is("[data-hide-search]")&&(o.minimumResultsForSearch=1/0),n.is("[data-force-search]")&&delete o.minimumResultsForSearch,n.is("[data-freeform]")&&(o.createTag=t.freefrom_create_search_choice,o.tags=!0,n.data("tags",!0)),n.is("[multiple]")&&(o.multiple=!0,n.is("[data-maximum-selection-size]")&&(o.maximumSelectionSize=n.data("maximum-selection-size")),n.is("data-separator")||n.data("separator",","),r.isArray(n.data("separator"))?o.tokenSeparators=n.data("separator"):o.tokenSeparators=[n.data("separator")],o.separator=n.data("separator"),o.regexSeparatorElements=["^("],o.regexSplitElements=["(?:"],e.each(o.tokenSeparators,function(e,t){o.regexSeparatorElements.push("[^"+t+"]+"),o.regexSplitElements.push("["+t+"]")}),o.regexSeparatorElements.push(")$"),o.regexSplitElements.push(")"),o.regexSeparatorString=o.regexSeparatorElements.join(""),o.regexSplitString=o.regexSplitElements.join(""),o.regexToken=new RegExp(o.regexSeparatorString,"ig"),o.regexSplit=new RegExp(o.regexSplitString,"ig")),n.is("[data-tags]")&&(o.tags=n.data("tags"),o.createSearchChoice=function(e,t){if(e.match(o.regexToken))return{id:e,text:e}},0===o.tags.length&&(o.formatNoMatches=function(){return n.attr("placeholder")})),n.is("[data-source]")){var i=n.data("source");o.data={results:[]},o.formatResult=function(t,r,a){return void 0!==t.breadcrumbs?e.merge(t.breadcrumbs,[t.text]).join(" &#187; "):t.text},o.ajax={dataType:"json",type:"POST",url:t.ajaxurl(),processResults:function(t,r,a){return e.isPlainObject(t)&&void 0!==t.success?e.isPlainObject(t.data)&&void 0!==t.data.results?t.success?t.data:("string"===e.type(t.data.message)?console.error(t.data.message):console.error("The Select2 search failed in some way... Verify the source."),{results:[]}):(console.error("We received a malformed results array, could not complete the Select2 Search."),{results:[]}):(console.error("We received a malformed Object, could not complete the Select2 Search."),{results:[]})}},o.ajax.data=function(e,t){return{action:"tribe_dropdown",source:i,search:e,page:t,args:n.data("source-args")}}}n.is("[data-attach-container]")&&(n.is("[multiple]")?(e.fn.select2.amd.define("AttachedDropdownAdapter",["select2/utils","select2/dropdown","select2/dropdown/attachContainer"],function(e,t,r){return e.Decorate(t,r)}),o.dropdownAdapter=e.fn.select2.amd.require("AttachedDropdownAdapter")):(e.fn.select2.amd.define("AttachedWithSearchDropdownAdapter",["select2/utils","select2/dropdown","select2/dropdown/search","select2/dropdown/minimumResultsForSearch","select2/dropdown/attachContainer"],function(e,t,r,a,o){var s=e.Decorate(t,o);return s=e.Decorate(s,r),s=e.Decorate(s,a)}),o.dropdownAdapter=e.fn.select2.amd.require("AttachedWithSearchDropdownAdapter"))),n.data("dropdown",o),(s=n.select2(o)).data("select2").$container.addClass(t.getSelectClasses(n).join(" ")),s.data("select2").$container.removeClass("hide-before-select2-init"),s.on("select2:open",t.action_select2_open)},t.ajaxurl=function(){return void 0!==window.ajaxurl?window.ajaxurl:"undefined"!=typeof TEC&&void 0!==TEC.ajaxurl?TEC.ajaxurl:void console.error("Dropdowns framework cannot properly do an AJAX request without the WordPress `ajaxurl` variable setup.")},t.action_select2_open=function(r){var a=e(this),o=(a.data("dropdown"),a.data("select2")),s=o.$dropdown.find(t.selector.searchField);o.$dropdown.addClass(t.selector.dropdown.className()),a.is("[data-search-placeholder]")&&s.attr("placeholder",a.data("searchPlaceholder"))},t.dropdown=function(e,r){var a=e.not(".select2-offscreen, .select2-container, "+t.selector.created.className());return 0===a.length?a:(r||(r={}),a.each(function(e,a){t.element(a,r)}),a)},e(function(){e(t.selector.dropdown).tribe_dropdowns()}),e(window).on("unload",function(){e(t.selector.dropdown).tribe_dropdowns()})}(jQuery,tribe_dropdowns,window.underscore||window._);
1
+ var tribe_dropdowns=window.tribe_dropdowns||{};!function(e,t,r){"use strict";t.selector={dropdown:".tribe-dropdown",created:".tribe-dropdown-created",searchField:".select2-search__field"},e.fn.tribe_dropdowns=function(){return t.dropdown(this,{}),this},t.freefrom_create_search_choice=function(t){var a=e.trim(t.term);if(""===a)return null;var o=this.options.options,s=o.$select;if(a.match(o.regexToken)&&(!s.is("[data-int]")||s.is("[data-int]")&&a.match(/\d+/))){var n={id:a,text:a,new:!0};return s.is("[data-create-choice-template]")&&(n.text=r.template(s.data("createChoiceTemplate"))({term:a})),n}return null},t.search_id=function(e){var t=void 0;return void 0!==e.id?t=e.id:void 0!==e.ID?t=e.ID:void 0!==e.value&&(t=e.value),void 0===e?void 0:t},t.matcher=function(a,o){if(""===e.trim(a.term))return o;if(void 0===o.text)return null;var s=e.trim(a.term),n=o.text,i=e(o.element).closest("select").data("dropdown"),d=-1!==n.toUpperCase().indexOf(s.toUpperCase());if(!d&&void 0!==i.tags){var c=r.where(i.tags,{text:n});if(i.tags.length>0&&r.isObject(c))d=-1!==t.search_id(c[0]).toUpperCase().indexOf(s.toUpperCase())}return d},t.init_selection=function(t,a){var o=t.is("[multiple]"),s=t.data("dropdown"),n=(t.data("isEmpty"),t.val().split(s.regexSplit)),i=[];if(e(n).each(function(e,a){var o=function e(t,a){if(!r.isArray(a))return!1;for(var o in a){var s=a[o];if(s.hasOwnProperty("id")&&s.id==t.id)return s;if(s.hasOwnProperty("text")&&s.text==t.text)return s;if(s.hasOwnProperty("children")&&r.isArray(s.children)){var n=e(t,s.children);if(n)return n}}return!1}({id:this,text:this},s.ajax?t.data("options"):s.data);o&&o.selected&&i.push(o)}),i.length&&o)a(i);else{if(!i.length)return void a(!1);a(i[0])}},t.getSelectClasses=function(e){var t=e.attr("class").split(/\s+/);return r.difference(t,["select2-hidden-accessible","hide-before-select2-init"])},t.element=function(a,o){var s,n=e(a);o=e.extend({},o);if(n.addClass(t.selector.created.className()),o.$select=n,o.dropdownAutoWidth=!0,o.width="resolve",o.containerCss={},n.is(":visible")&&(o.containerCss.display="inline-block",o.containerCss.position="relative"),o.dropdownCss={},o.dropdownCss.width="auto",n.is("[data-dropdown-css-width]")&&(o.dropdownCss.width=n.data("dropdown-css-width"),o.dropdownCss.width&&"false"!==o.dropdownCss.width||(delete o.dropdownCss.width,delete o.containerCss)),o.allowClear=!0,n.is("[data-prevent-clear]")&&(o.allowClear=!1),n.is("[data-searching-placeholder]")&&(o.formatSearching=n.data("searching-placeholder")),!n.is("[data-placeholder]")&&n.is("[placeholder]")&&(o.placeholder=n.attr("placeholder")),n.is("[data-options]")&&(o.data=n.data("options")),o.minimumResultsForSearch=10,n.is("[data-hide-search]")&&(o.minimumResultsForSearch=1/0),n.is("[data-force-search]")&&delete o.minimumResultsForSearch,n.is("[data-freeform]")&&(o.createTag=t.freefrom_create_search_choice,o.tags=!0,n.data("tags",!0)),n.is("[multiple]")&&(o.multiple=!0,n.is("[data-maximum-selection-size]")&&(o.maximumSelectionSize=n.data("maximum-selection-size")),n.is("data-separator")||n.data("separator",","),r.isArray(n.data("separator"))?o.tokenSeparators=n.data("separator"):o.tokenSeparators=[n.data("separator")],o.separator=n.data("separator"),o.regexSeparatorElements=["^("],o.regexSplitElements=["(?:"],e.each(o.tokenSeparators,function(e,t){o.regexSeparatorElements.push("[^"+t+"]+"),o.regexSplitElements.push("["+t+"]")}),o.regexSeparatorElements.push(")$"),o.regexSplitElements.push(")"),o.regexSeparatorString=o.regexSeparatorElements.join(""),o.regexSplitString=o.regexSplitElements.join(""),o.regexToken=new RegExp(o.regexSeparatorString,"ig"),o.regexSplit=new RegExp(o.regexSplitString,"ig")),n.is("[data-tags]")&&(o.tags=n.data("tags"),o.createSearchChoice=function(e,t){if(e.match(o.regexToken))return{id:e,text:e}},0===o.tags.length&&(o.formatNoMatches=function(){return n.attr("placeholder")})),n.is("[data-source]")){var i=n.data("source");o.data={results:[]},o.formatResult=function(t,r,a){return void 0!==t.breadcrumbs?e.merge(t.breadcrumbs,[t.text]).join(" &#187; "):t.text},o.ajax={dataType:"json",type:"POST",url:t.ajaxurl(),processResults:function(t,r,a){return e.isPlainObject(t)&&void 0!==t.success?e.isPlainObject(t.data)&&void 0!==t.data.results?t.success?t.data:("string"===e.type(t.data.message)?console.error(t.data.message):console.error("The Select2 search failed in some way... Verify the source."),{results:[]}):(console.error("We received a malformed results array, could not complete the Select2 Search."),{results:[]}):(console.error("We received a malformed Object, could not complete the Select2 Search."),{results:[]})}},o.ajax.data=function(e,t){return{action:"tribe_dropdown",source:i,search:e,page:t,args:n.data("source-args")}}}n.is("[data-attach-container]")&&(n.is("[multiple]")?(e.fn.select2.amd.define("AttachedDropdownAdapter",["select2/utils","select2/dropdown","select2/dropdown/attachContainer"],function(e,t,r){return e.Decorate(t,r)}),o.dropdownAdapter=e.fn.select2.amd.require("AttachedDropdownAdapter")):(e.fn.select2.amd.define("AttachedWithSearchDropdownAdapter",["select2/utils","select2/dropdown","select2/dropdown/search","select2/dropdown/minimumResultsForSearch","select2/dropdown/attachContainer"],function(e,t,r,a,o){var s=e.Decorate(t,o);return s=e.Decorate(s,r),s=e.Decorate(s,a)}),o.dropdownAdapter=e.fn.select2.amd.require("AttachedWithSearchDropdownAdapter"))),n.data("dropdown",o),(s=n.select2(o)).data("select2").$container.addClass(t.getSelectClasses(n).join(" ")),s.data("select2").$container.removeClass("hide-before-select2-init"),s.on("select2:open",t.action_select2_open)},t.ajaxurl=function(){return void 0!==window.ajaxurl?window.ajaxurl:"undefined"!=typeof TEC&&void 0!==TEC.ajaxurl?TEC.ajaxurl:void console.error("Dropdowns framework cannot properly do an AJAX request without the WordPress `ajaxurl` variable setup.")},t.action_select2_open=function(r){var a=e(this),o=(a.data("dropdown"),a.data("select2")),s=o.$dropdown.find(t.selector.searchField);o.$dropdown.addClass(t.selector.dropdown.className()),a.is("[data-search-placeholder]")&&s.attr("placeholder",a.data("searchPlaceholder"))},t.dropdown=function(e,r){var a=e.not(".select2-offscreen, .select2-container, "+t.selector.created.className());return 0===a.length?a:(r||(r={}),a.each(function(e,a){t.element(a,r)}),a)},e(function(){e(t.selector.dropdown).tribe_dropdowns()}),e(window).on("unload",function(){e(t.selector.dropdown).tribe_dropdowns()})}(jQuery,tribe_dropdowns,window.underscore||window._);
common/src/views/dialog/button.php CHANGED
@@ -3,18 +3,28 @@
3
  * Dialog Button Template
4
  * The button template for Tribe Dialog trigger.
5
  *
6
- * Override this template in your own theme by creating a file at [your-theme]/tribe/dialogs/buton.php
7
  *
8
  * @since 4.10.0
 
 
9
  *
10
  * @package Tribe
11
- * @version 4.10.0
12
  */
13
- $classes = $button_classes ?: 'tribe-button';
14
- $classes = implode( ' ' , (array) $classes );
 
 
 
 
 
 
 
15
  ?>
16
  <button
17
  class="<?php echo esc_attr( $classes ); ?>"
 
18
  data-content="<?php echo esc_attr( 'dialog-content-' . $id ); ?>"
19
  data-js="<?php echo esc_attr( 'trigger-dialog-' . $id ); ?>"
20
  <?php if ( ! empty( $button_id ) ) : ?>
3
  * Dialog Button Template
4
  * The button template for Tribe Dialog trigger.
5
  *
6
+ * Override this template in your own theme by creating a file at [your-theme]/tribe/dialogs/button.php
7
  *
8
  * @since 4.10.0
9
+ * @since 4.12.15 Add data attributes to the button.
10
+ * @since 4.12.15 Don't render template if `$button_display` is set to false.
11
  *
12
  * @package Tribe
13
+ * @version 4.12.15
14
  */
15
+
16
+ if ( empty( $button_display ) ) {
17
+ return;
18
+ }
19
+
20
+ $classes = $button_classes ?: 'tribe-button';
21
+ $classes = implode( ' ', (array) $classes );
22
+ $attributes = $button_attributes ?: [];
23
+
24
  ?>
25
  <button
26
  class="<?php echo esc_attr( $classes ); ?>"
27
+ <?php tribe_attributes( $attributes ); ?>
28
  data-content="<?php echo esc_attr( 'dialog-content-' . $id ); ?>"
29
  data-js="<?php echo esc_attr( 'trigger-dialog-' . $id ); ?>"
30
  <?php if ( ! empty( $button_id ) ) : ?>
common/src/views/v2/components/icons/arrow-right.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--arrow-right' ];
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--arrow-right' ];
common/src/views/v2/components/icons/caret-down.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--caret-down' ];
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--caret-down' ];
common/src/views/v2/components/icons/close-alt.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--close-alt' ];
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--close-alt' ];
common/src/views/v2/components/icons/close.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--close' ];
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--close' ];
common/src/views/v2/components/icons/day.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--day' ];
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--day' ];
common/src/views/v2/components/icons/dot.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--dot' ];
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--dot' ];
common/src/views/v2/components/icons/error.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--error' ];
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--error' ];
common/src/views/v2/components/icons/featured.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--featured' ];
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--featured' ];
common/src/views/v2/components/icons/filter.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--filter' ];
11
  *
12
  * @var array $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--filter' ];
common/src/views/v2/components/icons/list.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--list' ];
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--list' ];
common/src/views/v2/components/icons/location.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--location' ];
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--location' ];
common/src/views/v2/components/icons/mail.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--mail' ];
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--mail' ];
common/src/views/v2/components/icons/map-pin.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--map-pin' ];
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--map-pin' ];
common/src/views/v2/components/icons/map.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--map' ];
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--map' ];
common/src/views/v2/components/icons/messages-not-found.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--messages-not-found' ];
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--messages-not-found' ];
common/src/views/v2/components/icons/minus.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--minus' ];
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--minus' ];
common/src/views/v2/components/icons/month.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--month' ];
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--month' ];
common/src/views/v2/components/icons/no-map.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--no-map' ];
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--no-map' ];
common/src/views/v2/components/icons/phone.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--phone' ];
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--phone' ];
common/src/views/v2/components/icons/photo.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--photo' ];
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--photo' ];
common/src/views/v2/components/icons/play.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  *
14
  * @var array $classes Additional classes to add to the svg icon.
15
  */
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 4.12.14
13
  *
14
  * @var array $classes Additional classes to add to the svg icon.
15
  */
common/src/views/v2/components/icons/plus.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--plus' ];
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--plus' ];
common/src/views/v2/components/icons/recurring.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--recurring' ];
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--recurring' ];
common/src/views/v2/components/icons/reset.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--reset' ];
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--reset' ];
common/src/views/v2/components/icons/search.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--search' ];
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--search' ];
common/src/views/v2/components/icons/video.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  */
16
 
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--video' ];
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  */
16
 
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--video' ];
common/src/views/v2/components/icons/virtual.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  */
16
 
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--virtual' ];
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  */
16
 
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--virtual' ];
common/src/views/v2/components/icons/website.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--website' ];
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--website' ];
common/src/views/v2/components/icons/week.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--week' ];
11
  *
12
  * @var array<string> $classes Additional classes to add to the svg icon.
13
  *
14
+ * @version 4.12.14
15
  *
16
  */
17
  $svg_classes = [ 'tribe-common-c-svgicon', 'tribe-common-c-svgicon--week' ];
common/vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitf26b65606390dc46fe51c75130b4cc7f::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit48370f0fe89b1e557c9820d48a8acfb5::getLoader();
common/vendor/autoload_52.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
- return ComposerAutoloaderInit33bc3740837efe4265a500b2b67d148e::getLoader();
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
+ return ComposerAutoloaderInitd2d221ff3dfe1a28d0931651339e2260::getLoader();
common/vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitf26b65606390dc46fe51c75130b4cc7f
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInitf26b65606390dc46fe51c75130b4cc7f
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitf26b65606390dc46fe51c75130b4cc7f', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitf26b65606390dc46fe51c75130b4cc7f', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInitf26b65606390dc46fe51c75130b4cc7f::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit48370f0fe89b1e557c9820d48a8acfb5
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit48370f0fe89b1e557c9820d48a8acfb5', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit48370f0fe89b1e557c9820d48a8acfb5', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInit48370f0fe89b1e557c9820d48a8acfb5::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
common/vendor/composer/autoload_real_52.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
- class ComposerAutoloaderInit33bc3740837efe4265a500b2b67d148e {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit33bc3740837efe4265a500b2b67d148e {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit33bc3740837efe4265a500b2b67d148e', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit33bc3740837efe4265a500b2b67d148e', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
+ class ComposerAutoloaderInitd2d221ff3dfe1a28d0931651339e2260 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitd2d221ff3dfe1a28d0931651339e2260', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitd2d221ff3dfe1a28d0931651339e2260', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
common/vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitf26b65606390dc46fe51c75130b4cc7f
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
@@ -227,10 +227,10 @@ class ComposerStaticInitf26b65606390dc46fe51c75130b4cc7f
227
  public static function getInitializer(ClassLoader $loader)
228
  {
229
  return \Closure::bind(function () use ($loader) {
230
- $loader->prefixLengthsPsr4 = ComposerStaticInitf26b65606390dc46fe51c75130b4cc7f::$prefixLengthsPsr4;
231
- $loader->prefixDirsPsr4 = ComposerStaticInitf26b65606390dc46fe51c75130b4cc7f::$prefixDirsPsr4;
232
- $loader->prefixesPsr0 = ComposerStaticInitf26b65606390dc46fe51c75130b4cc7f::$prefixesPsr0;
233
- $loader->classMap = ComposerStaticInitf26b65606390dc46fe51c75130b4cc7f::$classMap;
234
 
235
  }, null, ClassLoader::class);
236
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit48370f0fe89b1e557c9820d48a8acfb5
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
227
  public static function getInitializer(ClassLoader $loader)
228
  {
229
  return \Closure::bind(function () use ($loader) {
230
+ $loader->prefixLengthsPsr4 = ComposerStaticInit48370f0fe89b1e557c9820d48a8acfb5::$prefixLengthsPsr4;
231
+ $loader->prefixDirsPsr4 = ComposerStaticInit48370f0fe89b1e557c9820d48a8acfb5::$prefixDirsPsr4;
232
+ $loader->prefixesPsr0 = ComposerStaticInit48370f0fe89b1e557c9820d48a8acfb5::$prefixesPsr0;
233
+ $loader->classMap = ComposerStaticInit48370f0fe89b1e557c9820d48a8acfb5::$classMap;
234
 
235
  }, null, ClassLoader::class);
236
  }
common/vendor/composer/installed.json CHANGED
@@ -61,17 +61,17 @@
61
  },
62
  {
63
  "name": "lucatume/di52",
64
- "version": "2.0.12",
65
- "version_normalized": "2.0.12.0",
66
  "source": {
67
  "type": "git",
68
  "url": "https://github.com/lucatume/di52.git",
69
- "reference": "b5ae39274b03c697f20d8d620e534539d6d8d27e"
70
  },
71
  "dist": {
72
  "type": "zip",
73
- "url": "https://api.github.com/repos/lucatume/di52/zipball/b5ae39274b03c697f20d8d620e534539d6d8d27e",
74
- "reference": "b5ae39274b03c697f20d8d620e534539d6d8d27e",
75
  "shasum": ""
76
  },
77
  "require": {
@@ -82,7 +82,7 @@
82
  "phpunit/phpunit-mock-objects-php52": "dev-1.1.0-php52",
83
  "phpunit/phpunit-php52": "dev-3.6.12-php52"
84
  },
85
- "time": "2019-10-14T08:27:38+00:00",
86
  "type": "library",
87
  "installation-source": "dist",
88
  "autoload": {
61
  },
62
  {
63
  "name": "lucatume/di52",
64
+ "version": "2.1.3",
65
+ "version_normalized": "2.1.3.0",
66
  "source": {
67
  "type": "git",
68
  "url": "https://github.com/lucatume/di52.git",
69
+ "reference": "d57c267abf32a1d0ffd97b401e755028a9e2bc78"
70
  },
71
  "dist": {
72
  "type": "zip",
73
+ "url": "https://api.github.com/repos/lucatume/di52/zipball/d57c267abf32a1d0ffd97b401e755028a9e2bc78",
74
+ "reference": "d57c267abf32a1d0ffd97b401e755028a9e2bc78",
75
  "shasum": ""
76
  },
77
  "require": {
82
  "phpunit/phpunit-mock-objects-php52": "dev-1.1.0-php52",
83
  "phpunit/phpunit-php52": "dev-3.6.12-php52"
84
  },
85
+ "time": "2020-11-02T11:14:57+00:00",
86
  "type": "library",
87
  "installation-source": "dist",
88
  "autoload": {
common/vendor/lucatume/di52/src/tad/DI52/Container.php CHANGED
@@ -296,6 +296,8 @@ class tad_DI52_Container implements ArrayAccess {
296
  *
297
  * @param string $classOrInterface
298
  *
 
 
299
  * @return array|mixed
300
  */
301
  protected function resolve($classOrInterface) {
@@ -315,6 +317,8 @@ class tad_DI52_Container implements ArrayAccess {
315
  } catch (Exception $e) {
316
  if ( $e instanceof ReflectionException ) {
317
  throw $e;
 
 
318
  }
319
 
320
  throw new RuntimeException("'{$classOrInterface}' is not a bound alias or an existing class.");
@@ -340,14 +344,14 @@ class tad_DI52_Container implements ArrayAccess {
340
  preg_match('/Error while making/', $e->getMessage(), $matches);
341
  if (count($matches)) {
342
  // @codeCoverageIgnoreStart
343
- $divider = "\n\t => ";
344
- $prefix = ' ';
345
  // @codeCoverageIgnoreEnd
346
  } else {
347
- $divider = ':';
348
- $prefix = 'Error while making ';
349
  }
350
- $message = "{$prefix} '{$classOrInterface}'{$divider} " . $e->getMessage();
351
 
352
  throw new RuntimeException($message);
353
  }
@@ -697,8 +701,19 @@ class tad_DI52_Container implements ArrayAccess {
697
  * an object or a closure.
698
  * @param array $afterBuildMethods An array of methods that should be called on the built implementation after
699
  * resolving it.
 
 
 
700
  */
701
- public function bind($classOrInterface, $implementation, array $afterBuildMethods = null) {
 
 
 
 
 
 
 
 
702
  $this->offsetUnset($classOrInterface);
703
 
704
  $this->bindings[$classOrInterface] = $classOrInterface;
@@ -729,7 +744,7 @@ class tad_DI52_Container implements ArrayAccess {
729
  * @param array $afterBuildMethods An array of methods that should be called on the built implementation after
730
  * resolving it.
731
  */
732
- public function singleton($classOrInterface, $implementation, array $afterBuildMethods = null) {
733
  $this->bind($classOrInterface, $implementation, $afterBuildMethods);
734
 
735
  $this->singletons[$classOrInterface] = $classOrInterface;
@@ -739,9 +754,9 @@ class tad_DI52_Container implements ArrayAccess {
739
  * Returns a lambda function suitable to use as a callback; when called the function will build the implementation
740
  * bound to `$classOrInterface` and return the value of a call to `$method` method with the call arguments.
741
  *
742
- * @param string $classOrInterface A class or interface fully qualified name or a string slug.
743
- * @param string $method The method that should be called on the resolved implementation with the
744
- * specified array arguments.
745
  *
746
  * @return mixed The called method return value.
747
  */
@@ -752,6 +767,14 @@ class tad_DI52_Container implements ArrayAccess {
752
  throw new RuntimeException('Callback method must be a string');
753
  }
754
 
 
 
 
 
 
 
 
 
755
  if ($this->useClosures) {
756
  $f = di52_callbackClosure($this, $classOrInterface, $method);
757
  } else {
@@ -776,11 +799,7 @@ class tad_DI52_Container implements ArrayAccess {
776
  // @codeCoverageIgnoreEnd
777
  }
778
 
779
- if (is_object($classOrInterface)) {
780
- $classOrInterface = get_class($classOrInterface);
781
- }
782
-
783
- $this->callbacks[$classOrInterface . '::' . $method] = $f;
784
 
785
  return $f;
786
  }
296
  *
297
  * @param string $classOrInterface
298
  *
299
+ * @throws RuntimeException|ReflectionException
300
+ *
301
  * @return array|mixed
302
  */
303
  protected function resolve($classOrInterface) {
317
  } catch (Exception $e) {
318
  if ( $e instanceof ReflectionException ) {
319
  throw $e;
320
+ } elseif ( $e instanceof RuntimeException ) {
321
+ throw $e;
322
  }
323
 
324
  throw new RuntimeException("'{$classOrInterface}' is not a bound alias or an existing class.");
344
  preg_match('/Error while making/', $e->getMessage(), $matches);
345
  if (count($matches)) {
346
  // @codeCoverageIgnoreStart
347
+ $separator = "\n\t =>";
348
+ $prefix = '';
349
  // @codeCoverageIgnoreEnd
350
  } else {
351
+ $separator = ':';
352
+ $prefix = 'Error while making ';
353
  }
354
+ $message = "{$prefix}'{$classOrInterface}'{$separator} " . $e->getMessage();
355
 
356
  throw new RuntimeException($message);
357
  }
701
  * an object or a closure.
702
  * @param array $afterBuildMethods An array of methods that should be called on the built implementation after
703
  * resolving it.
704
+ *
705
+ * @throws ReflectionException When binding a class that does not exist without defining an implementation.
706
+ * @throws InvalidArgumentException When binding a class that cannot be instantiated without defining an implementation.
707
  */
708
+ public function bind($classOrInterface, $implementation = null, array $afterBuildMethods = null) {
709
+ if (is_null($implementation)) {
710
+ $reflection = new ReflectionClass($classOrInterface);
711
+ if (!$reflection->isInstantiable()) {
712
+ throw new InvalidArgumentException( sprintf('To bind a class in the Container without defining an implementation, the class must be instantiable. %s is not instantiable.', $classOrInterface) );
713
+ }
714
+ $implementation = $classOrInterface;
715
+ }
716
+
717
  $this->offsetUnset($classOrInterface);
718
 
719
  $this->bindings[$classOrInterface] = $classOrInterface;
744
  * @param array $afterBuildMethods An array of methods that should be called on the built implementation after
745
  * resolving it.
746
  */
747
+ public function singleton($classOrInterface, $implementation = null, array $afterBuildMethods = null) {
748
  $this->bind($classOrInterface, $implementation, $afterBuildMethods);
749
 
750
  $this->singletons[$classOrInterface] = $classOrInterface;
754
  * Returns a lambda function suitable to use as a callback; when called the function will build the implementation
755
  * bound to `$classOrInterface` and return the value of a call to `$method` method with the call arguments.
756
  *
757
+ * @param string|object $classOrInterface A class or interface fully qualified name or a string slug.
758
+ * @param string $method The method that should be called on the resolved implementation with the
759
+ * specified array arguments.
760
  *
761
  * @return mixed The called method return value.
762
  */
767
  throw new RuntimeException('Callback method must be a string');
768
  }
769
 
770
+ $classOrInterfaceName = is_object($classOrInterface) ? spl_object_hash($classOrInterface) : $classOrInterface;
771
+ $cacheKey = $classOrInterfaceName . '::' . $method;
772
+
773
+ if ( isset( $this->callbacks[ $cacheKey ] ) ) {
774
+ // Only return the existing callback if $classOrInterface was not an object (so it remains unique).
775
+ return $this->callbacks[ $cacheKey ];
776
+ }
777
+
778
  if ($this->useClosures) {
779
  $f = di52_callbackClosure($this, $classOrInterface, $method);
780
  } else {
799
  // @codeCoverageIgnoreEnd
800
  }
801
 
802
+ $this->callbacks[ $cacheKey ] = $f;
 
 
 
 
803
 
804
  return $f;
805
  }
common/vendor/lucatume/di52/src/tad/DI52/closuresSupport.php CHANGED
@@ -4,24 +4,31 @@
4
  * method value.
5
  *
6
  * @param tad_DI52_Container $container
7
- * @param string $classOrInterface
8
- * @param string $method
9
  *
10
  * @return Closure
11
  */
12
  function di52_callbackClosure(tad_DI52_Container $container, $classOrInterface, $method) {
13
- $classOrInterfaceName = is_object($classOrInterface) ? get_class($classOrInterface) : $classOrInterface;
14
- if (is_object($classOrInterface)) {
15
- $objectId = uniqid(rand(1, 9999) . md5($classOrInterfaceName));
16
- $container->bind($objectId, $classOrInterface);
17
  } else {
18
  $objectId = $classOrInterface;
19
  }
20
 
21
- return function () use ($container, $objectId, $method) {
22
- $a = func_get_args();
23
- $i = $container->make($objectId);
24
- return call_user_func_array(array($i, $method), $a);
 
 
 
 
 
 
 
 
25
  };
26
  }
27
 
4
  * method value.
5
  *
6
  * @param tad_DI52_Container $container
7
+ * @param string|object $classOrInterface
8
+ * @param string $method
9
  *
10
  * @return Closure
11
  */
12
  function di52_callbackClosure(tad_DI52_Container $container, $classOrInterface, $method) {
13
+ if ( is_object( $classOrInterface ) ) {
14
+ $objectId = uniqid( spl_object_hash( $classOrInterface ), true );
15
+ $container->bind( $objectId, $classOrInterface );
 
16
  } else {
17
  $objectId = $classOrInterface;
18
  }
19
 
20
+ $isStatic = false;
21
+ try {
22
+ $reflectionMethod = new ReflectionMethod($classOrInterface, $method);
23
+ $isStatic = $reflectionMethod->isStatic();
24
+ } catch ( ReflectionException $e ) {
25
+ // no-op
26
+ }
27
+
28
+ return function () use ( $isStatic, $container, $objectId, $method ) {
29
+ return $isStatic ?
30
+ call_user_func_array( array( $objectId, $method ), func_get_args() )
31
+ : call_user_func_array( array( $container->make( $objectId ), $method ), func_get_args() );
32
  };
33
  }
34
 
lang/the-events-calendar-de_DE.mo CHANGED
Binary file
lang/the-events-calendar-fi.mo CHANGED
Binary file
lang/the-events-calendar-it_IT.mo CHANGED
Binary file
lang/the-events-calendar-ro_RO.mo CHANGED
Binary file
lang/the-events-calendar-sv_SE.mo CHANGED
Binary file
lang/the-events-calendar.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the same license as the The Events Calendar package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: The Events Calendar 5.3.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/the-events-"
7
  "calendar\n"
8
- "POT-Creation-Date: 2020-12-02 16:14:18+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "PO-Revision-Date: 2020-12-02 16:14\n"
13
  "Last-Translator: \n"
14
  "Language-Team: \n"
15
 
@@ -129,23 +129,23 @@ msgid ""
129
  "refresh and try again."
130
  msgstr ""
131
 
132
- #: src/Tribe/Admin_List.php:257 src/Tribe/Main.php:2194
133
  msgid "%s Categories"
134
  msgstr ""
135
 
136
- #: src/Tribe/Admin_List.php:263
137
  #: src/admin-views/aggregator/tabs/import-form.php:224
138
  #: src/admin-views/aggregator/tabs/import-form.php:236
139
  msgid "Start Date"
140
  msgstr ""
141
 
142
- #: src/Tribe/Admin_List.php:264
143
  #: src/admin-views/aggregator/tabs/import-form.php:226
144
  #: src/admin-views/aggregator/tabs/import-form.php:238
145
  msgid "End Date"
146
  msgstr ""
147
 
148
- #: src/Tribe/Admin_List.php:351
149
  msgctxt "%s Event count in admin list"
150
  msgid "All %s"
151
  msgstr ""
@@ -489,7 +489,7 @@ msgid ""
489
  msgstr ""
490
 
491
  #: src/Tribe/Aggregator/Page.php:121
492
- #: src/Tribe/Aggregator/Record/List_Table.php:523
493
  msgid "View Filters"
494
  msgstr ""
495
 
@@ -595,23 +595,23 @@ msgstr ""
595
  msgid "The new status message slug, to allow for localized messages."
596
  msgstr ""
597
 
598
- #: src/Tribe/Aggregator/Record/Abstract.php:354
599
  msgid "Something went wrong while inserting the record in the database."
600
  msgstr ""
601
 
602
- #: src/Tribe/Aggregator/Record/Abstract.php:489
603
  msgid "Record: "
604
  msgstr ""
605
 
606
- #: src/Tribe/Aggregator/Record/Abstract.php:1168
607
  msgid "Deleted Attachment: %d"
608
  msgstr ""
609
 
610
- #: src/Tribe/Aggregator/Record/Abstract.php:1183
611
  msgid " (opens in a new window)"
612
  msgstr ""
613
 
614
- #: src/Tribe/Aggregator/Record/Abstract.php:1225
615
  msgid ""
616
  "When this import was last scheduled to run, the daily limit for your Event "
617
  "Aggregator license had already been reached."
@@ -750,11 +750,15 @@ msgctxt "record via origin"
750
  msgid "via "
751
  msgstr ""
752
 
753
- #: src/Tribe/Aggregator/Record/List_Table.php:527
 
 
 
 
754
  msgid "Keywords:"
755
  msgstr ""
756
 
757
- #: src/Tribe/Aggregator/Record/List_Table.php:536
758
  #: src/deprecated/Tribe__Events__Advanced_Functions__Register_Meta.php:48
759
  #: src/deprecated/Tribe__Events__Advanced_Functions__Register_Meta.php:80
760
  #: src/views/blocks/parts/details.php:77 src/views/blocks/parts/details.php:103
@@ -762,103 +766,103 @@ msgstr ""
762
  msgid "Start:"
763
  msgstr ""
764
 
765
- #: src/Tribe/Aggregator/Record/List_Table.php:540
766
  msgid "Location:"
767
  msgstr ""
768
 
769
- #: src/Tribe/Aggregator/Record/List_Table.php:544
770
  msgid "Radius:"
771
  msgstr ""
772
 
773
- #: src/Tribe/Aggregator/Record/List_Table.php:583
774
  msgid "Unknown"
775
  msgstr ""
776
 
777
- #: src/Tribe/Aggregator/Record/List_Table.php:604 src/Tribe/Aggregator.php:602
778
  #: src/Tribe/Ignored_Events.php:371
779
  msgctxt "human readable time ago"
780
  msgid "about %s ago"
781
  msgstr ""
782
 
783
- #: src/Tribe/Aggregator/Record/List_Table.php:606 src/Tribe/Aggregator.php:604
784
  #: src/Tribe/Ignored_Events.php:373
785
  msgctxt "in human readable time"
786
  msgid "in about %s"
787
  msgstr ""
788
 
789
- #: src/Tribe/Aggregator/Record/List_Table.php:617
790
  msgctxt "in human readable time"
791
  msgid "retrying in about %s"
792
  msgstr ""
793
 
794
- #: src/Tribe/Aggregator/Record/List_Table.php:620
795
  msgctxt "when the retry will happen, a date"
796
  msgid "retrying at %s"
797
  msgstr ""
798
 
799
- #: src/Tribe/Aggregator/Record/List_Table.php:636
800
  msgid "Invalid Frequency"
801
  msgstr ""
802
 
803
- #: src/Tribe/Aggregator/Record/List_Table.php:639
804
  msgid "One Time"
805
  msgstr ""
806
 
807
- #: src/Tribe/Aggregator/Record/List_Table.php:665
808
  msgid "all time"
809
  msgstr ""
810
 
811
- #: src/Tribe/Aggregator/Record/List_Table.php:667
812
  msgid "Latest Import:"
813
  msgstr ""
814
 
815
- #: src/Tribe/Aggregator/Record/List_Table.php:670
816
- #: src/Tribe/Aggregator/Record/List_Table.php:678
817
- #: src/Tribe/Aggregator/Record/List_Table.php:686
818
  msgid "new"
819
  msgstr ""
820
 
821
- #: src/Tribe/Aggregator/Record/List_Table.php:672
822
- #: src/Tribe/Aggregator/Record/List_Table.php:681
823
- #: src/Tribe/Aggregator/Record/List_Table.php:689
824
  msgid "updated"
825
  msgstr ""
826
 
827
- #: src/Tribe/Aggregator/Record/List_Table.php:707
828
  msgid "Select %s"
829
  msgstr ""
830
 
831
  #. translators: %s: Number of items.
832
- #: src/Tribe/Aggregator/Record/List_Table.php:740
833
  msgid "%s item"
834
  msgid_plural "%s items"
835
  msgstr[0] ""
836
  msgstr[1] ""
837
 
838
- #: src/Tribe/Aggregator/Record/List_Table.php:776
839
  msgid "First page"
840
  msgstr ""
841
 
842
- #: src/Tribe/Aggregator/Record/List_Table.php:787
843
  msgid "Previous page"
844
  msgstr ""
845
 
846
- #: src/Tribe/Aggregator/Record/List_Table.php:794
847
- #: src/Tribe/Aggregator/Record/List_Table.php:798
848
  msgid "Current Page"
849
  msgstr ""
850
 
851
  #. translators: 1: Current page, 2: Total pages.
852
- #: src/Tribe/Aggregator/Record/List_Table.php:806
853
  msgctxt "paging"
854
  msgid "%1$s of %2$s"
855
  msgstr ""
856
 
857
- #: src/Tribe/Aggregator/Record/List_Table.php:817
858
  msgid "Next page"
859
  msgstr ""
860
 
861
- #: src/Tribe/Aggregator/Record/List_Table.php:828
862
  msgid "Last page"
863
  msgstr ""
864
 
@@ -1878,7 +1882,7 @@ msgstr ""
1878
 
1879
  #: src/Tribe/Customizer/Day_List_View.php:72
1880
  #: src/Tribe/Customizer/Month_Week_View.php:149
1881
- #: src/Tribe/Customizer/Single_Event.php:77 src/Tribe/Customizer/Widget.php:60
1882
  msgid ""
1883
  "Options selected here will override what was selected in the \"General Theme"
1884
  "\" and \"Global Elements\" sections."
@@ -1906,7 +1910,7 @@ msgid "Global configurations for the styling of The Events Calendar"
1906
  msgstr ""
1907
 
1908
  #: src/Tribe/Customizer/General_Theme.php:291
1909
- #: src/Tribe/Customizer/Global_Elements.php:591
1910
  msgid "Accent Color"
1911
  msgstr ""
1912
 
@@ -1953,50 +1957,51 @@ msgid "Sunshine"
1953
  msgstr ""
1954
 
1955
  #: src/Tribe/Customizer/General_Theme.php:402
 
1956
  msgid "Custom"
1957
  msgstr ""
1958
 
1959
- #: src/Tribe/Customizer/Global_Elements.php:502
1960
  msgid "General"
1961
  msgstr ""
1962
 
1963
- #: src/Tribe/Customizer/Global_Elements.php:502
1964
  msgid "Global Elements"
1965
  msgstr ""
1966
 
1967
- #: src/Tribe/Customizer/Global_Elements.php:503
1968
  msgid ""
1969
  "Options selected here will override what was selected in the \"General Theme"
1970
  "\" section."
1971
  msgstr ""
1972
 
1973
- #: src/Tribe/Customizer/Global_Elements.php:534
1974
- #: src/Tribe/Customizer/Single_Event.php:104
1975
  msgid "Set Font Colors"
1976
  msgstr ""
1977
 
1978
- #: src/Tribe/Customizer/Global_Elements.php:555
1979
  msgid "Links"
1980
  msgstr ""
1981
 
1982
- #: src/Tribe/Customizer/Global_Elements.php:556
1983
  msgid "For displayed URLs"
1984
  msgstr ""
1985
 
1986
- #: src/Tribe/Customizer/Global_Elements.php:570
1987
- #: src/Tribe/Customizer/Single_Event.php:140
1988
  msgid "Adjust Appearance"
1989
  msgstr ""
1990
 
1991
- #: src/Tribe/Customizer/Global_Elements.php:619
1992
  msgid "Filter Bar Color"
1993
  msgstr ""
1994
 
1995
- #: src/Tribe/Customizer/Global_Elements.php:641
1996
  msgid "Button Color"
1997
  msgstr ""
1998
 
1999
- #: src/Tribe/Customizer/Global_Elements.php:665
2000
  msgid "Map Pin"
2001
  msgstr ""
2002
 
@@ -2012,27 +2017,27 @@ msgstr ""
2012
  msgid "Calendar Highlight Color"
2013
  msgstr ""
2014
 
2015
- #: src/Tribe/Customizer/Single_Event.php:77
2016
  msgid "These settings control the appearance of the single event pages."
2017
  msgstr ""
2018
 
2019
- #: src/Tribe/Customizer/Single_Event.php:82
2020
  msgid "Single Event"
2021
  msgstr ""
2022
 
2023
- #: src/Tribe/Customizer/Single_Event.php:127
2024
  msgid "Event Title Color"
2025
  msgstr ""
2026
 
2027
- #: src/Tribe/Customizer/Single_Event.php:128
2028
  msgid "Post Title Color"
2029
  msgstr ""
2030
 
2031
- #: src/Tribe/Customizer/Single_Event.php:161
2032
  msgid "Event Details Background Color"
2033
  msgstr ""
2034
 
2035
- #: src/Tribe/Customizer/Single_Event.php:162
2036
  msgid "For classic editor"
2037
  msgstr ""
2038
 
@@ -2679,11 +2684,11 @@ msgstr ""
2679
  msgid "Upcoming Events"
2680
  msgstr ""
2681
 
2682
- #. #-#-#-#-# the-events-calendar.pot (The Events Calendar 5.3.0) #-#-#-#-#
2683
  #. Plugin Name of the plugin/theme
2684
  #: src/Tribe/Main.php:994 src/Tribe/Main.php:1496 src/Tribe/Privacy.php:29
2685
  #: src/admin-views/admin-welcome-message.php:29
2686
- #: src/functions/template-tags/general.php:1523 the-events-calendar.php:57
2687
  msgid "The Events Calendar"
2688
  msgstr ""
2689
 
@@ -4718,15 +4723,47 @@ msgstr ""
4718
  msgid "Unnamed Venue"
4719
  msgstr ""
4720
 
4721
- #: src/Tribe/Views/V2/Hooks.php:487
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4722
  msgid "We recommend a 16:9 aspect ratio for featured images."
4723
  msgstr ""
4724
 
4725
- #: src/Tribe/Views/V2/Hooks.php:564
4726
  msgid "Recommended for all sites using the updated calendar views."
4727
  msgstr ""
4728
 
4729
- #: src/Tribe/Views/V2/Hooks.php:579
4730
  msgid "The Events Calendar - View V2"
4731
  msgstr ""
4732
 
@@ -7412,36 +7449,36 @@ msgid "Category"
7412
  msgstr ""
7413
 
7414
  #. translators: %s is the singular translation of "Event"
7415
- #: src/functions/template-tags/general.php:503
7416
  msgctxt "category list label"
7417
  msgid "%s Category"
7418
  msgid_plural "%s Categories"
7419
  msgstr[0] ""
7420
  msgstr[1] ""
7421
 
7422
- #: src/functions/template-tags/general.php:542
7423
  msgid "Tags:"
7424
  msgstr ""
7425
 
7426
- #: src/functions/template-tags/general.php:654
7427
  msgid "Loading %s"
7428
  msgstr ""
7429
 
7430
- #: src/functions/template-tags/general.php:1270
7431
  #: src/views/v2/widgets/widget-events-list/event/date.php:26
7432
  msgctxt "All day label for event"
7433
  msgid "All day"
7434
  msgstr ""
7435
 
7436
- #: src/functions/template-tags/general.php:1397
7437
  msgid "Find out more »"
7438
  msgstr ""
7439
 
7440
- #: src/functions/template-tags/general.php:1398
7441
  msgid "%s for"
7442
  msgstr ""
7443
 
7444
- #: src/functions/template-tags/general.php:1523
7445
  msgid "Calendar powered by %s"
7446
  msgstr ""
7447
 
2
  # This file is distributed under the same license as the The Events Calendar package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: The Events Calendar 5.3.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/the-events-"
7
  "calendar\n"
8
+ "POT-Creation-Date: 2020-12-11 06:23:57+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2020-12-11 06:23\n"
13
  "Last-Translator: \n"
14
  "Language-Team: \n"
15
 
129
  "refresh and try again."
130
  msgstr ""
131
 
132
+ #: src/Tribe/Admin_List.php:299 src/Tribe/Main.php:2194
133
  msgid "%s Categories"
134
  msgstr ""
135
 
136
+ #: src/Tribe/Admin_List.php:305
137
  #: src/admin-views/aggregator/tabs/import-form.php:224
138
  #: src/admin-views/aggregator/tabs/import-form.php:236
139
  msgid "Start Date"
140
  msgstr ""
141
 
142
+ #: src/Tribe/Admin_List.php:306
143
  #: src/admin-views/aggregator/tabs/import-form.php:226
144
  #: src/admin-views/aggregator/tabs/import-form.php:238
145
  msgid "End Date"
146
  msgstr ""
147
 
148
+ #: src/Tribe/Admin_List.php:393
149
  msgctxt "%s Event count in admin list"
150
  msgid "All %s"
151
  msgstr ""
489
  msgstr ""
490
 
491
  #: src/Tribe/Aggregator/Page.php:121
492
+ #: src/Tribe/Aggregator/Record/List_Table.php:535
493
  msgid "View Filters"
494
  msgstr ""
495
 
595
  msgid "The new status message slug, to allow for localized messages."
596
  msgstr ""
597
 
598
+ #: src/Tribe/Aggregator/Record/Abstract.php:357
599
  msgid "Something went wrong while inserting the record in the database."
600
  msgstr ""
601
 
602
+ #: src/Tribe/Aggregator/Record/Abstract.php:492
603
  msgid "Record: "
604
  msgstr ""
605
 
606
+ #: src/Tribe/Aggregator/Record/Abstract.php:1185
607
  msgid "Deleted Attachment: %d"
608
  msgstr ""
609
 
610
+ #: src/Tribe/Aggregator/Record/Abstract.php:1200
611
  msgid " (opens in a new window)"
612
  msgstr ""
613
 
614
+ #: src/Tribe/Aggregator/Record/Abstract.php:1242
615
  msgid ""
616
  "When this import was last scheduled to run, the daily limit for your Event "
617
  "Aggregator license had already been reached."
750
  msgid "via "
751
  msgstr ""
752
 
753
+ #: src/Tribe/Aggregator/Record/List_Table.php:521
754
+ msgid "View Events"
755
+ msgstr ""
756
+
757
+ #: src/Tribe/Aggregator/Record/List_Table.php:539
758
  msgid "Keywords:"
759
  msgstr ""
760
 
761
+ #: src/Tribe/Aggregator/Record/List_Table.php:548
762
  #: src/deprecated/Tribe__Events__Advanced_Functions__Register_Meta.php:48
763
  #: src/deprecated/Tribe__Events__Advanced_Functions__Register_Meta.php:80
764
  #: src/views/blocks/parts/details.php:77 src/views/blocks/parts/details.php:103
766
  msgid "Start:"
767
  msgstr ""
768
 
769
+ #: src/Tribe/Aggregator/Record/List_Table.php:552
770
  msgid "Location:"
771
  msgstr ""
772
 
773
+ #: src/Tribe/Aggregator/Record/List_Table.php:556
774
  msgid "Radius:"
775
  msgstr ""
776
 
777
+ #: src/Tribe/Aggregator/Record/List_Table.php:597
778
  msgid "Unknown"
779
  msgstr ""
780
 
781
+ #: src/Tribe/Aggregator/Record/List_Table.php:618 src/Tribe/Aggregator.php:602
782
  #: src/Tribe/Ignored_Events.php:371
783
  msgctxt "human readable time ago"
784
  msgid "about %s ago"
785
  msgstr ""
786
 
787
+ #: src/Tribe/Aggregator/Record/List_Table.php:620 src/Tribe/Aggregator.php:604
788
  #: src/Tribe/Ignored_Events.php:373
789
  msgctxt "in human readable time"
790
  msgid "in about %s"
791
  msgstr ""
792
 
793
+ #: src/Tribe/Aggregator/Record/List_Table.php:631
794
  msgctxt "in human readable time"
795
  msgid "retrying in about %s"
796
  msgstr ""
797
 
798
+ #: src/Tribe/Aggregator/Record/List_Table.php:634
799
  msgctxt "when the retry will happen, a date"
800
  msgid "retrying at %s"
801
  msgstr ""
802
 
803
+ #: src/Tribe/Aggregator/Record/List_Table.php:650
804
  msgid "Invalid Frequency"
805
  msgstr ""
806
 
807
+ #: src/Tribe/Aggregator/Record/List_Table.php:653
808
  msgid "One Time"
809
  msgstr ""
810
 
811
+ #: src/Tribe/Aggregator/Record/List_Table.php:679
812
  msgid "all time"
813
  msgstr ""
814
 
815
+ #: src/Tribe/Aggregator/Record/List_Table.php:681
816
  msgid "Latest Import:"
817
  msgstr ""
818
 
819
+ #: src/Tribe/Aggregator/Record/List_Table.php:684
820
+ #: src/Tribe/Aggregator/Record/List_Table.php:692
821
+ #: src/Tribe/Aggregator/Record/List_Table.php:700
822
  msgid "new"
823
  msgstr ""
824
 
825
+ #: src/Tribe/Aggregator/Record/List_Table.php:686
826
+ #: src/Tribe/Aggregator/Record/List_Table.php:695
827
+ #: src/Tribe/Aggregator/Record/List_Table.php:703
828
  msgid "updated"
829
  msgstr ""
830
 
831
+ #: src/Tribe/Aggregator/Record/List_Table.php:721
832
  msgid "Select %s"
833
  msgstr ""
834
 
835
  #. translators: %s: Number of items.
836
+ #: src/Tribe/Aggregator/Record/List_Table.php:754
837
  msgid "%s item"
838
  msgid_plural "%s items"
839
  msgstr[0] ""
840
  msgstr[1] ""
841
 
842
+ #: src/Tribe/Aggregator/Record/List_Table.php:790
843
  msgid "First page"
844
  msgstr ""
845
 
846
+ #: src/Tribe/Aggregator/Record/List_Table.php:801
847
  msgid "Previous page"
848
  msgstr ""
849
 
850
+ #: src/Tribe/Aggregator/Record/List_Table.php:808
851
+ #: src/Tribe/Aggregator/Record/List_Table.php:812
852
  msgid "Current Page"
853
  msgstr ""
854
 
855
  #. translators: 1: Current page, 2: Total pages.
856
+ #: src/Tribe/Aggregator/Record/List_Table.php:820
857
  msgctxt "paging"
858
  msgid "%1$s of %2$s"
859
  msgstr ""
860
 
861
+ #: src/Tribe/Aggregator/Record/List_Table.php:831
862
  msgid "Next page"
863
  msgstr ""
864
 
865
+ #: src/Tribe/Aggregator/Record/List_Table.php:842
866
  msgid "Last page"
867
  msgstr ""
868
 
1882
 
1883
  #: src/Tribe/Customizer/Day_List_View.php:72
1884
  #: src/Tribe/Customizer/Month_Week_View.php:149
1885
+ #: src/Tribe/Customizer/Single_Event.php:92 src/Tribe/Customizer/Widget.php:60
1886
  msgid ""
1887
  "Options selected here will override what was selected in the \"General Theme"
1888
  "\" and \"Global Elements\" sections."
1910
  msgstr ""
1911
 
1912
  #: src/Tribe/Customizer/General_Theme.php:291
1913
+ #: src/Tribe/Customizer/Global_Elements.php:209
1914
  msgid "Accent Color"
1915
  msgstr ""
1916
 
1957
  msgstr ""
1958
 
1959
  #: src/Tribe/Customizer/General_Theme.php:402
1960
+ #: src/Tribe/Views/V2/Customizer.php:178
1961
  msgid "Custom"
1962
  msgstr ""
1963
 
1964
+ #: src/Tribe/Customizer/Global_Elements.php:128
1965
  msgid "General"
1966
  msgstr ""
1967
 
1968
+ #: src/Tribe/Customizer/Global_Elements.php:128
1969
  msgid "Global Elements"
1970
  msgstr ""
1971
 
1972
+ #: src/Tribe/Customizer/Global_Elements.php:129
1973
  msgid ""
1974
  "Options selected here will override what was selected in the \"General Theme"
1975
  "\" section."
1976
  msgstr ""
1977
 
1978
+ #: src/Tribe/Customizer/Global_Elements.php:160
1979
+ #: src/Tribe/Customizer/Single_Event.php:119
1980
  msgid "Set Font Colors"
1981
  msgstr ""
1982
 
1983
+ #: src/Tribe/Customizer/Global_Elements.php:182
1984
  msgid "Links"
1985
  msgstr ""
1986
 
1987
+ #: src/Tribe/Customizer/Global_Elements.php:183
1988
  msgid "For displayed URLs"
1989
  msgstr ""
1990
 
1991
+ #: src/Tribe/Customizer/Global_Elements.php:197
1992
+ #: src/Tribe/Customizer/Single_Event.php:156
1993
  msgid "Adjust Appearance"
1994
  msgstr ""
1995
 
1996
+ #: src/Tribe/Customizer/Global_Elements.php:239
1997
  msgid "Filter Bar Color"
1998
  msgstr ""
1999
 
2000
+ #: src/Tribe/Customizer/Global_Elements.php:262
2001
  msgid "Button Color"
2002
  msgstr ""
2003
 
2004
+ #: src/Tribe/Customizer/Global_Elements.php:287
2005
  msgid "Map Pin"
2006
  msgstr ""
2007
 
2017
  msgid "Calendar Highlight Color"
2018
  msgstr ""
2019
 
2020
+ #: src/Tribe/Customizer/Single_Event.php:91
2021
  msgid "These settings control the appearance of the single event pages."
2022
  msgstr ""
2023
 
2024
+ #: src/Tribe/Customizer/Single_Event.php:97
2025
  msgid "Single Event"
2026
  msgstr ""
2027
 
2028
+ #: src/Tribe/Customizer/Single_Event.php:143
2029
  msgid "Event Title Color"
2030
  msgstr ""
2031
 
2032
+ #: src/Tribe/Customizer/Single_Event.php:144
2033
  msgid "Post Title Color"
2034
  msgstr ""
2035
 
2036
+ #: src/Tribe/Customizer/Single_Event.php:178
2037
  msgid "Event Details Background Color"
2038
  msgstr ""
2039
 
2040
+ #: src/Tribe/Customizer/Single_Event.php:179
2041
  msgid "For classic editor"
2042
  msgstr ""
2043
 
2684
  msgid "Upcoming Events"
2685
  msgstr ""
2686
 
2687
+ #. #-#-#-#-# the-events-calendar.pot (The Events Calendar 5.3.1) #-#-#-#-#
2688
  #. Plugin Name of the plugin/theme
2689
  #: src/Tribe/Main.php:994 src/Tribe/Main.php:1496 src/Tribe/Privacy.php:29
2690
  #: src/admin-views/admin-welcome-message.php:29
2691
+ #: src/functions/template-tags/general.php:1531 the-events-calendar.php:57
2692
  msgid "The Events Calendar"
2693
  msgstr ""
2694
 
4723
  msgid "Unnamed Venue"
4724
  msgstr ""
4725
 
4726
+ #: src/Tribe/Views/V2/Customizer.php:48 src/Tribe/Views/V2/Customizer.php:172
4727
+ msgid "Event Title"
4728
+ msgstr ""
4729
+
4730
+ #: src/Tribe/Views/V2/Customizer.php:71
4731
+ msgid "Event Date and Time"
4732
+ msgstr ""
4733
+
4734
+ #: src/Tribe/Views/V2/Customizer.php:72
4735
+ msgid "Main date and time display on views and single event pages."
4736
+ msgstr ""
4737
+
4738
+ #: src/Tribe/Views/V2/Customizer.php:97
4739
+ msgid "All calendar and event pages."
4740
+ msgstr ""
4741
+
4742
+ #: src/Tribe/Views/V2/Customizer.php:101
4743
+ msgid "Transparent"
4744
+ msgstr ""
4745
+
4746
+ #: src/Tribe/Views/V2/Customizer.php:102
4747
+ msgid "Select Color"
4748
+ msgstr ""
4749
+
4750
+ #: src/Tribe/Views/V2/Customizer.php:177
4751
+ msgid "Use General"
4752
+ msgstr ""
4753
+
4754
+ #: src/Tribe/Views/V2/Customizer.php:199
4755
+ msgid "Custom Color"
4756
+ msgstr ""
4757
+
4758
+ #: src/Tribe/Views/V2/Hooks.php:498
4759
  msgid "We recommend a 16:9 aspect ratio for featured images."
4760
  msgstr ""
4761
 
4762
+ #: src/Tribe/Views/V2/Hooks.php:575
4763
  msgid "Recommended for all sites using the updated calendar views."
4764
  msgstr ""
4765
 
4766
+ #: src/Tribe/Views/V2/Hooks.php:590
4767
  msgid "The Events Calendar - View V2"
4768
  msgstr ""
4769
 
7449
  msgstr ""
7450
 
7451
  #. translators: %s is the singular translation of "Event"
7452
+ #: src/functions/template-tags/general.php:511
7453
  msgctxt "category list label"
7454
  msgid "%s Category"
7455
  msgid_plural "%s Categories"
7456
  msgstr[0] ""
7457
  msgstr[1] ""
7458
 
7459
+ #: src/functions/template-tags/general.php:550
7460
  msgid "Tags:"
7461
  msgstr ""
7462
 
7463
+ #: src/functions/template-tags/general.php:662
7464
  msgid "Loading %s"
7465
  msgstr ""
7466
 
7467
+ #: src/functions/template-tags/general.php:1278
7468
  #: src/views/v2/widgets/widget-events-list/event/date.php:26
7469
  msgctxt "All day label for event"
7470
  msgid "All day"
7471
  msgstr ""
7472
 
7473
+ #: src/functions/template-tags/general.php:1405
7474
  msgid "Find out more »"
7475
  msgstr ""
7476
 
7477
+ #: src/functions/template-tags/general.php:1406
7478
  msgid "%s for"
7479
  msgstr ""
7480
 
7481
+ #: src/functions/template-tags/general.php:1531
7482
  msgid "Calendar powered by %s"
7483
  msgstr ""
7484
 
readme.txt CHANGED
@@ -1,11 +1,11 @@
1
  === The Events Calendar ===
2
 
3
- Contributors: ModernTribe, borkweb,bordoni, brianjessee, aguseo, camwynsp, cliffpaulick, GeoffBel, geoffgraham, jentheo, leahkoerper, lucatume, neillmcshea, patriciahillebrandt, peterchester, paulskim, reid.peifer, shane.pearlman, vicskf, zbtirrell, juanfra
4
  Tags: events, calendar, event, venue, organizer, dates, date, google maps, conference, workshop, concert, meeting, seminar, summit, class, modern tribe, tribe, widget
5
  Donate link: https://m.tri.be/29
6
  Requires at least: 4.9.14
7
- Stable tag: 5.3.0
8
- Tested up to: 5.5.3
9
  Requires PHP: 5.6
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -26,7 +26,7 @@ See the calendar in action on our [demo experience](https://m.tri.be/1ajs). Just
26
 
27
  Looking for additional features like recurring events, ticket sales, user-submitted events, automatic imports, and more?
28
 
29
- <strong>Check out [Events Calendar Pro](https://m.tri.be/mj), [Event Aggregator](https://m.tri.be/197u), and [more add-ons](https://m.tri.be/2a)</strong>
30
 
31
  = 🔌🎨 Plug and Play or Customize =
32
 
@@ -222,6 +222,21 @@ Remember to always make a backup of your database and files before updating!
222
 
223
  == Changelog ==
224
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
225
  = [5.3.0] 2020-12-02 =
226
 
227
  * Feature - Event Aggregator - Search Box for Scheduled Imports. [TEC-3570]
@@ -235,7 +250,7 @@ Remember to always make a backup of your database and files before updating!
235
  * Tweak - Add the `tribe_get_organizer_object` function. [TEC-3645]
236
  * Tweak - Change the return value of the `tribe_get_event( $event_id )->organizers` from a collection of Organizer names to a collection of Organizer post objects. [TEC-3645s]
237
  * Tweak - Add the `tribe_get_event( $event_id )->organizer_names` method to return a collection of the Event Organizer names. [TEC-3645]
238
- * Tweak - ensure widgets don't get Filter Bar classes on their containers. [TBD]
239
  * Tweak - Switch the List View previous/next URL methods to use the slug rather than a hard-coded "list" so the class is more easily extendable. [TEC-3648]
240
  * Tweak - Add an option to trash events after 1 month (thanks @StefanSchroeder).
241
  * Tweak - Add the `tribe_events_views_v2_datepicker_no_conflict` filter (default `false`) to allow loading the Views v2 datepicker in no-conflict mode, when set to `true`, and avoid issues with other plugins that are loading the built-in WordPress `jquery-ui-datepicker` script. [TEC-3581]
1
  === The Events Calendar ===
2
 
3
+ Contributors: ModernTribe, borkweb, barry.hughes, bordoni, brianjessee, aguseo, camwynsp, courane01, faction23, GeoffBel, geoffgraham, jbrinley, jentheo, leahkoerper, lucatume, neillmcshea, nicosantos, patriciahillebrandt, peterchester, paulskim, reid.peifer, roblagatta, ryancurban, shane.pearlman, vicskf, zbtirrell, juanfra
4
  Tags: events, calendar, event, venue, organizer, dates, date, google maps, conference, workshop, concert, meeting, seminar, summit, class, modern tribe, tribe, widget
5
  Donate link: https://m.tri.be/29
6
  Requires at least: 4.9.14
7
+ Stable tag: 5.3.1
8
+ Tested up to: 5.6.0
9
  Requires PHP: 5.6
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
26
 
27
  Looking for additional features like recurring events, ticket sales, user-submitted events, automatic imports, and more?
28
 
29
+ <strong>Check out [Events Calendar Pro](https://m.tri.be/mj), [Event Aggregator](https://m.tri.be/197u), and [more add-ons](https://m.tri.be/2a)</strong> ...and all of them are on sale from November 23-30 during our annual 💰[Black Friday Sale](https://m.tri.be/1aod)💰
30
 
31
  = 🔌🎨 Plug and Play or Customize =
32
 
222
 
223
  == Changelog ==
224
 
225
+ = [5.3.1] 2020-12-15 =
226
+
227
+ * Feature - Event Aggregator - Filter Events by Aggregator/Import Record. [EA-130]
228
+ * Feature - V2 Customizer - Add background color css overrides. [TEC-3651]
229
+ * Feature - V2 Customizer - Add Event Title color css overrides. [TEC-3334]
230
+ * Feature - V2 Customizer - Add Event Date & Time color css overrides. [TEC-3675]
231
+ * Feature - V2 Customizer - Add controls for Background Color to general and single-event sections. [TEC-3683]
232
+ * Feature - V2 Customizer - Add controls for Event Title Color to general section. [TEC-3684]
233
+ * Feature - V2 Customizer - Add controls for Event Date & Time Color to general section. [TEC-3685]
234
+ * Tweak - Add opaque backgrounds for selected bordered elements. [TEC-3673]
235
+ * Tweak - Change Title/Date & Time font color defaults on the Event Single page. [TEC-3682]
236
+ * Fix - Fix an issue in csv venue imports where the address would not import. [TEC-3637]
237
+ * Fix - Compatibility for some theme menus that no longer displayed when an event is password protected. [TEC-2968]
238
+ * Language - 8 new strings added, 63 updated, 1 fuzzied, and 0 obsoleted
239
+
240
  = [5.3.0] 2020-12-02 =
241
 
242
  * Feature - Event Aggregator - Search Box for Scheduled Imports. [TEC-3570]
250
  * Tweak - Add the `tribe_get_organizer_object` function. [TEC-3645]
251
  * Tweak - Change the return value of the `tribe_get_event( $event_id )->organizers` from a collection of Organizer names to a collection of Organizer post objects. [TEC-3645s]
252
  * Tweak - Add the `tribe_get_event( $event_id )->organizer_names` method to return a collection of the Event Organizer names. [TEC-3645]
253
+ * Tweak - Ensure widgets don't get Filter Bar classes on their containers. [FBAR-202]
254
  * Tweak - Switch the List View previous/next URL methods to use the slug rather than a hard-coded "list" so the class is more easily extendable. [TEC-3648]
255
  * Tweak - Add an option to trash events after 1 month (thanks @StefanSchroeder).
256
  * Tweak - Add the `tribe_events_views_v2_datepicker_no_conflict` filter (default `false`) to allow loading the Views v2 datepicker in no-conflict mode, when set to `true`, and avoid issues with other plugins that are loading the built-in WordPress `jquery-ui-datepicker` script. [TEC-3581]
src/Tribe/Admin_List.php CHANGED
@@ -8,6 +8,8 @@ if ( ! defined( 'ABSPATH' ) ) {
8
  die( '-1' );
9
  }
10
 
 
 
11
  if ( ! class_exists( 'Tribe__Events__Admin_List' ) ) {
12
  class Tribe__Events__Admin_List {
13
  protected static $start_col_active = true;
@@ -21,6 +23,9 @@ if ( ! class_exists( 'Tribe__Events__Admin_List' ) ) {
21
  public static function init() {
22
  if ( is_admin() ) {
23
  if ( ! tribe( 'context' )->doing_ajax() ) {
 
 
 
24
  // Logic for sorting events by event category or tags
25
  add_filter( 'posts_clauses', [ __CLASS__, 'sort_by_tax' ], 10, 2 );
26
 
@@ -155,6 +160,43 @@ if ( ! class_exists( 'Tribe__Events__Admin_List' ) ) {
155
  return $clauses;
156
  }
157
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
158
  /**
159
  * Defines custom logic for sorting events table by category or tags
160
  *
8
  die( '-1' );
9
  }
10
 
11
+ use Tribe__Events__Main as TEC;
12
+
13
  if ( ! class_exists( 'Tribe__Events__Admin_List' ) ) {
14
  class Tribe__Events__Admin_List {
15
  protected static $start_col_active = true;
23
  public static function init() {
24
  if ( is_admin() ) {
25
  if ( ! tribe( 'context' )->doing_ajax() ) {
26
+ // Logic for filtering events by aggregator record.
27
+ add_filter( 'posts_clauses', [ __CLASS__, 'filter_by_aggregator_record' ], 9, 2 );
28
+
29
  // Logic for sorting events by event category or tags
30
  add_filter( 'posts_clauses', [ __CLASS__, 'sort_by_tax' ], 10, 2 );
31
 
160
  return $clauses;
161
  }
162
 
163
+ /**
164
+ * Defines custom logic for filtering events table by aggregator record.
165
+ *
166
+ * @param array<string> $clauses SQL clauses for fetching posts.
167
+ * @param WP_Query $wp_query A paginated query for items.
168
+ *
169
+ * @return array<string> Modified SQL clauses.
170
+ */
171
+ public static function filter_by_aggregator_record( array $clauses, WP_Query $wp_query ) {
172
+ // Check for event post type.
173
+ if ( $wp_query->get( 'post_type' ) !== TEC::POSTTYPE ) {
174
+ return $clauses;
175
+ }
176
+
177
+ // Check if filtering by aggregator record.
178
+ $parent_record_id = (int) tribe_get_request_var( 'aggregator_record', 0 );
179
+ if ( 0 >= $parent_record_id ) {
180
+ return $clauses;
181
+ }
182
+
183
+ global $wpdb;
184
+
185
+ $table_alias = 'ea_record_' . substr( uniqid( 'ea_record', true ), 0, 10 );
186
+ // Add the record meta query if it is missing.
187
+ if ( ! preg_match( '/\\s' . preg_quote( $table_alias, '/' ) . '\\s/', $clauses['join'] ) ) {
188
+ $clauses['join'] .= " LEFT JOIN {$wpdb->postmeta} AS {$table_alias} ON {$wpdb->posts}.ID = {$table_alias}.post_id AND {$table_alias}.meta_key = '_tribe_aggregator_record' ";
189
+ }
190
+
191
+ // Add the record meta filter if it is missing.
192
+ if ( ! preg_match( '/\\s' . preg_quote( $table_alias , '/' ) . '\\s/', $clauses['where'] ) ) {
193
+ $sub_query = $wpdb->prepare( "SELECT {$wpdb->posts}.ID FROM {$wpdb->posts} WHERE {$wpdb->posts}.post_parent = %d", $parent_record_id );
194
+ $clauses['where'] .= " AND {$table_alias}.meta_value IN ( {$sub_query} ) ";
195
+ }
196
+
197
+ return $clauses;
198
+ }
199
+
200
  /**
201
  * Defines custom logic for sorting events table by category or tags
202
  *
src/Tribe/Aggregator/Cron.php CHANGED
@@ -373,7 +373,7 @@ class Tribe__Events__Aggregator__Cron {
373
 
374
  $record->update_meta( 'last_import_status', 'success:queued' );
375
 
376
- $this->maybe_process_immediately( $record );
377
  } elseif ( is_numeric( $response ) ) {
378
  // it's the post ID of a rescheduled record
379
  tribe( 'logger' )->log_debug( sprintf( 'rescheduled — %s', $response ), 'EA Cron' );
@@ -403,7 +403,7 @@ class Tribe__Events__Aggregator__Cron {
403
  * Start the processing of the scheduled imports created with batch pushing the cron job would select and start
404
  * the beginning of the batch delivery.
405
  *
406
- * @since TBD
407
  */
408
  public function start_batch_pushing_records() {
409
  if ( ! tribe( 'events-aggregator.main' )->is_service_active() ) {
@@ -452,7 +452,7 @@ class Tribe__Events__Aggregator__Cron {
452
  /**
453
  * Get the first set of pending schedule records to be processed for batch pushing.
454
  *
455
- * @since TBD
456
  *
457
  * @return WP_Query The result of the Query.
458
  */
373
 
374
  $record->update_meta( 'last_import_status', 'success:queued' );
375
 
376
+ $this->maybe_process_immediately( $child );
377
  } elseif ( is_numeric( $response ) ) {
378
  // it's the post ID of a rescheduled record
379
  tribe( 'logger' )->log_debug( sprintf( 'rescheduled — %s', $response ), 'EA Cron' );
403
  * Start the processing of the scheduled imports created with batch pushing the cron job would select and start
404
  * the beginning of the batch delivery.
405
  *
406
+ * @since 5.3.0
407
  */
408
  public function start_batch_pushing_records() {
409
  if ( ! tribe( 'events-aggregator.main' )->is_service_active() ) {
452
  /**
453
  * Get the first set of pending schedule records to be processed for batch pushing.
454
  *
455
+ * @since 5.3.0
456
  *
457
  * @return WP_Query The result of the Query.
458
  */
src/Tribe/Aggregator/Processes/Batch_Imports.php CHANGED
@@ -11,7 +11,7 @@ use WP_Post;
11
  /**
12
  * Class Batch_Imports
13
  *
14
- * @since TBD
15
  */
16
 
17
  /**
@@ -19,7 +19,7 @@ use WP_Post;
19
  *
20
  * Add custom hooks in order to support batch pushing.
21
  *
22
- * @since TBD
23
  */
24
  class Batch_Imports {
25
  /**
@@ -45,7 +45,7 @@ class Batch_Imports {
45
  * before batch pushing are going to remaining using the old system and new imports are going to be considered as
46
  * batch pushing imports.
47
  *
48
- * @since TBD
49
  *
50
  * @param bool $service_supports_batch_push If the current import has support for batch pushing.
51
  * @param Record_Abstract $abstract
@@ -89,7 +89,7 @@ class Batch_Imports {
89
  *
90
  * TODO: Update EventBrite to use batch pushing to deliver events instead.
91
  *
92
- * @since TBD
93
  *
94
  * @param array<string, mixed> $args Arguments to queue the import.
95
  * @param Tribe__Events__Aggregator__Service $record Which record we are dealing with.
11
  /**
12
  * Class Batch_Imports
13
  *
14
+ * @since 5.3.0
15
  */
16
 
17
  /**
19
  *
20
  * Add custom hooks in order to support batch pushing.
21
  *
22
+ * @since 5.3.0
23
  */
24
  class Batch_Imports {
25
  /**
45
  * before batch pushing are going to remaining using the old system and new imports are going to be considered as
46
  * batch pushing imports.
47
  *
48
+ * @since 5.3.0
49
  *
50
  * @param bool $service_supports_batch_push If the current import has support for batch pushing.
51
  * @param Record_Abstract $abstract
89
  *
90
  * TODO: Update EventBrite to use batch pushing to deliver events instead.
91
  *
92
+ * @since 5.3.0
93
  *
94
  * @param array<string, mixed> $args Arguments to queue the import.
95
  * @param Tribe__Events__Aggregator__Service $record Which record we are dealing with.
src/Tribe/Aggregator/Record/Abstract.php CHANGED
@@ -4,6 +4,9 @@ use Tribe\Events\Aggregator\Record\Batch_Queue;
4
  // Don't load directly.
5
  defined( 'WPINC' ) || die;
6
 
 
 
 
7
  abstract class Tribe__Events__Aggregator__Record__Abstract {
8
 
9
  /**
@@ -139,7 +142,7 @@ abstract class Tribe__Events__Aggregator__Record__Abstract {
139
  return tribe_error( 'core:aggregator:invalid-record-object', [], [ $post ] );
140
  }
141
 
142
- if ( $post->post_type !== Tribe__Events__Aggregator__Records::$post_type ) {
143
  return tribe_error( 'core:aggregator:invalid-record-post_type', [], [ $post ] );
144
  }
145
 
@@ -388,7 +391,7 @@ abstract class Tribe__Events__Aggregator__Record__Abstract {
388
 
389
  $post = $this->prep_post_args( $meta['type'], $args, $meta );
390
  $post['ID'] = absint( $post_id );
391
- $post['post_status'] = Tribe__Events__Aggregator__Records::$status->schedule;
392
 
393
  add_filter( 'wp_insert_post_data', [ $this, 'dont_change_post_modified' ], 10, 2 );
394
  $result = wp_update_post( $post );
@@ -431,12 +434,12 @@ abstract class Tribe__Events__Aggregator__Record__Abstract {
431
  public function prep_post_args( $type, $args, $meta = [] ) {
432
  $post = [
433
  'post_title' => $this->generate_title( $type, $this->origin, $meta['frequency'], $args->parent ),
434
- 'post_type' => Tribe__Events__Aggregator__Records::$post_type,
435
  'ping_status' => $type,
436
  // The Mime Type needs to be on a %/% format to work on WordPress
437
  'post_mime_type' => 'ea/' . $this->origin,
438
  'post_date' => current_time( 'mysql' ),
439
- 'post_status' => Tribe__Events__Aggregator__Records::$status->draft,
440
  'post_parent' => $args->parent,
441
  'meta_input' => [],
442
  ];
@@ -501,7 +504,7 @@ abstract class Tribe__Events__Aggregator__Record__Abstract {
501
  'ping_status' => $this->post->ping_status,
502
  'post_mime_type' => $this->post->post_mime_type,
503
  'post_date' => current_time( 'mysql' ),
504
- 'post_status' => Tribe__Events__Aggregator__Records::$status->schedule,
505
  'post_parent' => 0,
506
  'meta_input' => [],
507
  ];
@@ -564,7 +567,7 @@ abstract class Tribe__Events__Aggregator__Record__Abstract {
564
 
565
  $this->post->post_parent = $schedule_id;
566
 
567
- return Tribe__Events__Aggregator__Records::instance()->get_by_post_id( $schedule_id );
568
  }
569
 
570
  /**
@@ -586,7 +589,7 @@ abstract class Tribe__Events__Aggregator__Record__Abstract {
586
  'ping_status' => $this->post->ping_status,
587
  'post_mime_type' => $this->post->post_mime_type,
588
  'post_date' => current_time( 'mysql' ),
589
- 'post_status' => Tribe__Events__Aggregator__Records::$status->draft,
590
  'post_parent' => $this->id,
591
  'post_author' => $this->post->post_author,
592
  'meta_input' => [],
@@ -632,7 +635,7 @@ abstract class Tribe__Events__Aggregator__Record__Abstract {
632
  // track the most recent child that was spawned
633
  $this->update_meta( 'recent_child', $child_id );
634
 
635
- return Tribe__Events__Aggregator__Records::instance()->get_by_post_id( $child_id );
636
  }
637
 
638
  /**
@@ -727,14 +730,14 @@ abstract class Tribe__Events__Aggregator__Record__Abstract {
727
 
728
  if ( ! empty( $args['start'] ) ) {
729
  $args['start'] = ! is_numeric( $args['start'] )
730
- ? Tribe__Date_Utils::maybe_format_from_datepicker( $args['start'] )
731
- : date( Tribe__Date_Utils::DBDATETIMEFORMAT, $args['start'] );
732
  }
733
 
734
  if ( ! empty( $args['end'] ) ) {
735
  $args['end'] = ! is_numeric( $args['end'] )
736
- ? Tribe__Date_Utils::maybe_format_from_datepicker( $args['end'] )
737
- : date( Tribe__Date_Utils::DBDATETIMEFORMAT, $args['end'] );
738
  }
739
 
740
  // Set site for origin(s) that need it for new token handling.
@@ -897,21 +900,35 @@ abstract class Tribe__Events__Aggregator__Record__Abstract {
897
  * @return int
898
  */
899
  public function set_status( $status ) {
900
- if ( ! isset( Tribe__Events__Aggregator__Records::$status->{$status} ) ) {
901
  return false;
902
  }
903
 
 
 
 
 
904
 
905
- $status = wp_update_post( [
906
- 'ID' => $this->id,
907
- 'post_status' => Tribe__Events__Aggregator__Records::$status->{$status},
908
- ] );
 
 
909
 
910
- if ( ! is_wp_error( $status ) && ! empty( $this->post->post_parent ) ) {
911
- $status = wp_update_post( [
912
- 'ID' => $this->post->post_parent,
913
- 'post_modified' => date( Tribe__Date_Utils::DBDATETIMEFORMAT, current_time( 'timestamp' ) ),
914
- ] );
 
 
 
 
 
 
 
 
915
  }
916
 
917
  return $status;
@@ -964,7 +981,7 @@ abstract class Tribe__Events__Aggregator__Record__Abstract {
964
  // Force the parent
965
  $args->post_parent = $this->id;
966
 
967
- return Tribe__Events__Aggregator__Records::instance()->query( $args );
968
  }
969
 
970
  /**
@@ -975,7 +992,7 @@ abstract class Tribe__Events__Aggregator__Record__Abstract {
975
  * @return WP_Query|WP_Error|bool
976
  */
977
  public function get_child_record_by_status( $status = 'success', $qty = -1, array $args = [] ) {
978
- $statuses = Tribe__Events__Aggregator__Records::$status;
979
 
980
  if ( ! isset( $statuses->{$status} ) && 'trash' !== $status ) {
981
  return false;
@@ -1062,7 +1079,7 @@ abstract class Tribe__Events__Aggregator__Record__Abstract {
1062
  }
1063
 
1064
  // If we are not dealing with the Record Schedule
1065
- if ( $this->post->post_status !== Tribe__Events__Aggregator__Records::$status->schedule ) {
1066
  return false;
1067
  }
1068
 
@@ -1136,7 +1153,7 @@ abstract class Tribe__Events__Aggregator__Record__Abstract {
1136
  */
1137
  public function has_passed_retention_time() {
1138
  // Bail if we are trying to prune a Schedule Record
1139
- if ( Tribe__Events__Aggregator__Records::$status->schedule === $this->post->post_status ) {
1140
  return false;
1141
  }
1142
 
@@ -1145,13 +1162,13 @@ abstract class Tribe__Events__Aggregator__Record__Abstract {
1145
 
1146
  // Prevents Pending that is younger than 1 hour to be pruned
1147
  if (
1148
- Tribe__Events__Aggregator__Records::$status->pending === $this->post->post_status
1149
  && $current < $created + HOUR_IN_SECONDS
1150
  ) {
1151
  return false;
1152
  }
1153
 
1154
- $prune = $created + Tribe__Events__Aggregator__Records::instance()->get_retention();
1155
 
1156
  return $current > $prune;
1157
  }
@@ -1245,7 +1262,7 @@ abstract class Tribe__Events__Aggregator__Record__Abstract {
1245
  return;
1246
  }
1247
 
1248
- $parent_record = Tribe__Events__Aggregator__Records::instance()->get_by_post_id( $this->post->post_parent );
1249
 
1250
  if ( tribe_is_error( $parent_record ) ) {
1251
  return;
@@ -1382,7 +1399,7 @@ abstract class Tribe__Events__Aggregator__Record__Abstract {
1382
  * @return Tribe__Events__Aggregator__Record__Activity The import activity record.
1383
  */
1384
  public function insert_posts( $items = [] ) {
1385
- add_filter( 'tribe-post-origin', [ Tribe__Events__Aggregator__Records::instance(), 'filter_post_origin' ], 10 );
1386
 
1387
  /**
1388
  * Fires before events and linked posts are inserted in the database.
@@ -1949,7 +1966,7 @@ abstract class Tribe__Events__Aggregator__Record__Abstract {
1949
  }
1950
  }
1951
 
1952
- Tribe__Events__Aggregator__Records::instance()->add_record_to_event( $event['ID'], $this->id, $this->origin );
1953
 
1954
  // Add post parent possibility
1955
  if ( empty( $event['parent_uid'] ) && ! empty( $unique_field ) && ! empty( $event[ $unique_field['target'] ] ) ) {
@@ -2053,14 +2070,7 @@ abstract class Tribe__Events__Aggregator__Record__Abstract {
2053
  do_action( 'tribe_aggregator_after_insert_post', $event, $item, $this );
2054
  }
2055
 
2056
- remove_filter(
2057
- 'tribe-post-origin',
2058
- [
2059
- Tribe__Events__Aggregator__Records::instance(),
2060
- 'filter_post_origin',
2061
- ],
2062
- 10
2063
- );
2064
 
2065
  /**
2066
  * Fires after events and linked posts have been inserted in the database.
@@ -2632,7 +2642,7 @@ abstract class Tribe__Events__Aggregator__Record__Abstract {
2632
  $last_child_post = $this->get_last_child_post();
2633
 
2634
  return $last_child_post && $last_child_post instanceof WP_Post
2635
- ? Tribe__Events__Aggregator__Records::instance()->get_by_post_id( $last_child_post->ID )
2636
  : $this;
2637
  }
2638
 
4
  // Don't load directly.
5
  defined( 'WPINC' ) || die;
6
 
7
+ use Tribe__Date_Utils as Dates;
8
+ use Tribe__Events__Aggregator__Records as Records;
9
+
10
  abstract class Tribe__Events__Aggregator__Record__Abstract {
11
 
12
  /**
142
  return tribe_error( 'core:aggregator:invalid-record-object', [], [ $post ] );
143
  }
144
 
145
+ if ( Records::$post_type !== $post->post_type ) {
146
  return tribe_error( 'core:aggregator:invalid-record-post_type', [], [ $post ] );
147
  }
148
 
391
 
392
  $post = $this->prep_post_args( $meta['type'], $args, $meta );
393
  $post['ID'] = absint( $post_id );
394
+ $post['post_status'] = Records::$status->schedule;
395
 
396
  add_filter( 'wp_insert_post_data', [ $this, 'dont_change_post_modified' ], 10, 2 );
397
  $result = wp_update_post( $post );
434
  public function prep_post_args( $type, $args, $meta = [] ) {
435
  $post = [
436
  'post_title' => $this->generate_title( $type, $this->origin, $meta['frequency'], $args->parent ),
437
+ 'post_type' => Records::$post_type,
438
  'ping_status' => $type,
439
  // The Mime Type needs to be on a %/% format to work on WordPress
440
  'post_mime_type' => 'ea/' . $this->origin,
441
  'post_date' => current_time( 'mysql' ),
442
+ 'post_status' => Records::$status->draft,
443
  'post_parent' => $args->parent,
444
  'meta_input' => [],
445
  ];
504
  'ping_status' => $this->post->ping_status,
505
  'post_mime_type' => $this->post->post_mime_type,
506
  'post_date' => current_time( 'mysql' ),
507
+ 'post_status' => Records::$status->schedule,
508
  'post_parent' => 0,
509
  'meta_input' => [],
510
  ];
567
 
568
  $this->post->post_parent = $schedule_id;
569
 
570
+ return Records::instance()->get_by_post_id( $schedule_id );
571
  }
572
 
573
  /**
589
  'ping_status' => $this->post->ping_status,
590
  'post_mime_type' => $this->post->post_mime_type,
591
  'post_date' => current_time( 'mysql' ),
592
+ 'post_status' => Records::$status->draft,
593
  'post_parent' => $this->id,
594
  'post_author' => $this->post->post_author,
595
  'meta_input' => [],
635
  // track the most recent child that was spawned
636
  $this->update_meta( 'recent_child', $child_id );
637
 
638
+ return Records::instance()->get_by_post_id( $child_id );
639
  }
640
 
641
  /**
730
 
731
  if ( ! empty( $args['start'] ) ) {
732
  $args['start'] = ! is_numeric( $args['start'] )
733
+ ? Dates::maybe_format_from_datepicker( $args['start'] )
734
+ : Dates::build_date_object( $args['start'] )->format( Dates::DBDATETIMEFORMAT );
735
  }
736
 
737
  if ( ! empty( $args['end'] ) ) {
738
  $args['end'] = ! is_numeric( $args['end'] )
739
+ ? Dates::maybe_format_from_datepicker( $args['end'] )
740
+ : Dates::build_date_object( $args['end'] )->format( Dates::DBDATETIMEFORMAT );
741
  }
742
 
743
  // Set site for origin(s) that need it for new token handling.
900
  * @return int
901
  */
902
  public function set_status( $status ) {
903
+ if ( ! isset( Records::$status->{$status} ) ) {
904
  return false;
905
  }
906
 
907
+ // Status of Scheduled Imports cannot change.
908
+ if ( $this->post instanceof WP_Post && Records::$status->schedule === $this->post->post_status ) {
909
+ return false;
910
+ }
911
 
912
+ $updated_id = wp_update_post(
913
+ [
914
+ 'ID' => $this->id,
915
+ 'post_status' => Records::$status->{$status},
916
+ ]
917
+ );
918
 
919
+ if ( $updated_id !== $this->id || ! is_wp_error( $updated_id ) ) {
920
+ // Reload the properties of the post if the status of the record was changed.
921
+ $this->load( $this->id );
922
+
923
+ // If a parent exists and an error occur register the last update time on the parent record.
924
+ if ( ! empty( $this->post->post_parent ) ) {
925
+ $status = wp_update_post(
926
+ [
927
+ 'ID' => $this->post->post_parent,
928
+ 'post_modified' => Dates::build_date_object()->format( Dates::DBDATETIMEFORMAT ),
929
+ ]
930
+ );
931
+ }
932
  }
933
 
934
  return $status;
981
  // Force the parent
982
  $args->post_parent = $this->id;
983
 
984
+ return Records::instance()->query( $args );
985
  }
986
 
987
  /**
992
  * @return WP_Query|WP_Error|bool
993
  */
994
  public function get_child_record_by_status( $status = 'success', $qty = -1, array $args = [] ) {
995
+ $statuses = Records::$status;
996
 
997
  if ( ! isset( $statuses->{$status} ) && 'trash' !== $status ) {
998
  return false;
1079
  }
1080
 
1081
  // If we are not dealing with the Record Schedule
1082
+ if ( Records::$status->schedule !== $this->post->post_status ) {
1083
  return false;
1084
  }
1085
 
1153
  */
1154
  public function has_passed_retention_time() {
1155
  // Bail if we are trying to prune a Schedule Record
1156
+ if ( Records::$status->schedule === $this->post->post_status ) {
1157
  return false;
1158
  }
1159
 
1162
 
1163
  // Prevents Pending that is younger than 1 hour to be pruned
1164
  if (
1165
+ Records::$status->pending === $this->post->post_status
1166
  && $current < $created + HOUR_IN_SECONDS
1167
  ) {
1168
  return false;
1169
  }
1170
 
1171
+ $prune = $created + Records::instance()->get_retention();
1172
 
1173
  return $current > $prune;
1174
  }
1262
  return;
1263
  }
1264
 
1265
+ $parent_record = Records::instance()->get_by_post_id( $this->post->post_parent );
1266
 
1267
  if ( tribe_is_error( $parent_record ) ) {
1268
  return;
1399
  * @return Tribe__Events__Aggregator__Record__Activity The import activity record.
1400
  */
1401
  public function insert_posts( $items = [] ) {
1402
+ add_filter( 'tribe-post-origin', [ Records::instance(), 'filter_post_origin' ], 10 );
1403
 
1404
  /**
1405
  * Fires before events and linked posts are inserted in the database.
1966
  }
1967
  }
1968
 
1969
+ Records::instance()->add_record_to_event( $event['ID'], $this->id, $this->origin );
1970
 
1971
  // Add post parent possibility
1972
  if ( empty( $event['parent_uid'] ) && ! empty( $unique_field ) && ! empty( $event[ $unique_field['target'] ] ) ) {
2070
  do_action( 'tribe_aggregator_after_insert_post', $event, $item, $this );
2071
  }
2072
 
2073
+ remove_filter( 'tribe-post-origin', [ Records::instance(), 'filter_post_origin' ], 10 );
 
 
 
 
 
 
 
2074
 
2075
  /**
2076
  * Fires after events and linked posts have been inserted in the database.
2642
  $last_child_post = $this->get_last_child_post();
2643
 
2644
  return $last_child_post && $last_child_post instanceof WP_Post
2645
+ ? Records::instance()->get_by_post_id( $last_child_post->ID )
2646
  : $this;
2647
  }
2648
 
src/Tribe/Aggregator/Record/Batch_Queue.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Create a new Queue to process Batch imports.
4
  *
5
- * @since TBD
6
  */
7
 
8
  namespace Tribe\Events\Aggregator\Record;
@@ -26,13 +26,13 @@ use WP_Post;
26
  * Class Tribe__Events__Aggregator__Record__Batch_Queue - New Queue system to process imports crated with the new
27
  * batch system.
28
  *
29
- * @since TBD
30
  */
31
  class Batch_Queue implements Tribe__Events__Aggregator__Record__Queue_Interface {
32
  /**
33
  * Set a name to identify the activity object.
34
  *
35
- * @since TBD
36
  *
37
  * @var string $activity_key Key to identify the activity object.
38
  */
@@ -41,7 +41,7 @@ class Batch_Queue implements Tribe__Events__Aggregator__Record__Queue_Interface
41
  /**
42
  * Access to the current record.
43
  *
44
- * @since TBD
45
  *
46
  * @var Tribe__Events__Aggregator__Record__Abstract $record The current record.
47
  */
@@ -55,7 +55,7 @@ class Batch_Queue implements Tribe__Events__Aggregator__Record__Queue_Interface
55
  /**
56
  * Whether any real processing should happen for the queue or not.
57
  *
58
- * @since TBD
59
  *
60
  * @var bool
61
  */
@@ -64,7 +64,7 @@ class Batch_Queue implements Tribe__Events__Aggregator__Record__Queue_Interface
64
  /**
65
  * Tribe__Events__Aggregator__Record__Queue constructor.
66
  *
67
- * @since TBD
68
  *
69
  * @param int|Tribe__Events__Aggregator__Record__Abstract $record The current record or record ID.
70
  * @param array|string|null $items The items to build the Queue.
@@ -97,7 +97,7 @@ class Batch_Queue implements Tribe__Events__Aggregator__Record__Queue_Interface
97
  /**
98
  * Get the activity if a call to a dynamic attribute is taking place in this case `$this->>activity`
99
  *
100
- * @since TBD
101
  *
102
  * @param string $key The dynamic key to be returned.
103
  *
@@ -114,7 +114,7 @@ class Batch_Queue implements Tribe__Events__Aggregator__Record__Queue_Interface
114
  /**
115
  * Returns the activity object for the processing of this Queue.
116
  *
117
- * @since TBD
118
  *
119
  * @return mixed|Tribe__Events__Aggregator__Record__Activity
120
  */
@@ -136,7 +136,7 @@ class Batch_Queue implements Tribe__Events__Aggregator__Record__Queue_Interface
136
  /**
137
  * Allows us to check if the Events Data has still pending
138
  *
139
- * @since TBD
140
  *
141
  * @return boolean
142
  */
@@ -147,7 +147,7 @@ class Batch_Queue implements Tribe__Events__Aggregator__Record__Queue_Interface
147
  /**
148
  * Shortcut to check how many items are going to be processed next.
149
  *
150
- * @since TBD
151
  *
152
  * @return int
153
  */
@@ -158,7 +158,7 @@ class Batch_Queue implements Tribe__Events__Aggregator__Record__Queue_Interface
158
  /**
159
  * Shortcut to check if this queue is empty or it has a null process.
160
  *
161
- * @since TBD
162
  *
163
  * @return boolean `true` if this queue instance has acquired the lock and
164
  * the count is 0, `false` otherwise.
@@ -174,7 +174,7 @@ class Batch_Queue implements Tribe__Events__Aggregator__Record__Queue_Interface
174
  /**
175
  * After the process has been completed make sure the `post_modified` and `post_status` are updated accordingly.
176
  *
177
- * @since TBD
178
  *
179
  * @return $this
180
  */
@@ -194,7 +194,7 @@ class Batch_Queue implements Tribe__Events__Aggregator__Record__Queue_Interface
194
  /**
195
  * Processes a batch for the queue
196
  *
197
- * @since TBD
198
  *
199
  * @throws Exception
200
  *
@@ -232,7 +232,7 @@ class Batch_Queue implements Tribe__Events__Aggregator__Record__Queue_Interface
232
  /**
233
  * Get the current date time using UTC as the time zone.
234
  *
235
- * @since TBD
236
  *
237
  * @return DateTime|false|\Tribe\Utils\Date_I18n
238
  */
@@ -243,7 +243,7 @@ class Batch_Queue implements Tribe__Events__Aggregator__Record__Queue_Interface
243
  /**
244
  * Create the initial request to the EA server requesting that the client is ready to start getting batches of events.
245
  *
246
- * @since TBD
247
  */
248
  public function start() {
249
  if (
@@ -297,7 +297,7 @@ class Batch_Queue implements Tribe__Events__Aggregator__Record__Queue_Interface
297
  /**
298
  * Return the number of events delivered per batch.
299
  *
300
- * @since TBD
301
  *
302
  * @return int
303
  */
@@ -308,7 +308,7 @@ class Batch_Queue implements Tribe__Events__Aggregator__Record__Queue_Interface
308
  /**
309
  * Return the interval in seconds of the delivery of each batch.
310
  *
311
- * @since TBD
312
  *
313
  * @return int
314
  */
@@ -319,7 +319,7 @@ class Batch_Queue implements Tribe__Events__Aggregator__Record__Queue_Interface
319
  /**
320
  * Returns the total progress made on processing the queue so far as a percentage.
321
  *
322
- * @since TBD
323
  *
324
  * @return int
325
  */
@@ -354,7 +354,7 @@ class Batch_Queue implements Tribe__Events__Aggregator__Record__Queue_Interface
354
  * The flag naturally expires after an hour to allow for recovery if for instance
355
  * execution hangs half way through the processing of a batch.
356
  *
357
- * @since TBD
358
  */
359
  public function set_in_progress_flag() {
360
  // No operation.
@@ -363,7 +363,7 @@ class Batch_Queue implements Tribe__Events__Aggregator__Record__Queue_Interface
363
  /**
364
  * Clears the in progress flag.
365
  *
366
- * @since TBD
367
  */
368
  public function clear_in_progress_flag() {
369
  // No operation.
@@ -372,7 +372,7 @@ class Batch_Queue implements Tribe__Events__Aggregator__Record__Queue_Interface
372
  /**
373
  * Indicates if the queue for the current event is actively being processed.
374
  *
375
- * @since TBD
376
  *
377
  * @return bool
378
  */
@@ -391,7 +391,7 @@ class Batch_Queue implements Tribe__Events__Aggregator__Record__Queue_Interface
391
  /**
392
  * Returns the primary post type the queue is processing
393
  *
394
- * @since TBD
395
  *
396
  * @return string
397
  */
@@ -408,7 +408,7 @@ class Batch_Queue implements Tribe__Events__Aggregator__Record__Queue_Interface
408
  /**
409
  * Whether the current queue process is stuck or not.
410
  *
411
- * @since TBD
412
  *
413
  * @return bool
414
  */
@@ -419,7 +419,7 @@ class Batch_Queue implements Tribe__Events__Aggregator__Record__Queue_Interface
419
  /**
420
  * Orderly closes the queue process.
421
  *
422
- * @since TBD
423
  *
424
  * @return bool
425
  */
@@ -430,7 +430,7 @@ class Batch_Queue implements Tribe__Events__Aggregator__Record__Queue_Interface
430
  /**
431
  * Whether the current queue process failed or not.
432
  *
433
- * @since TBD
434
  *
435
  * @return bool
436
  */
@@ -441,7 +441,7 @@ class Batch_Queue implements Tribe__Events__Aggregator__Record__Queue_Interface
441
  /**
442
  * Returns the queue error message.
443
  *
444
- * @since TBD
445
  *
446
  * @return string
447
  */
2
  /**
3
  * Create a new Queue to process Batch imports.
4
  *
5
+ * @since 5.3.0
6
  */
7
 
8
  namespace Tribe\Events\Aggregator\Record;
26
  * Class Tribe__Events__Aggregator__Record__Batch_Queue - New Queue system to process imports crated with the new
27
  * batch system.
28
  *
29
+ * @since 5.3.0
30
  */
31
  class Batch_Queue implements Tribe__Events__Aggregator__Record__Queue_Interface {
32
  /**
33
  * Set a name to identify the activity object.
34
  *
35
+ * @since 5.3.0
36
  *
37
  * @var string $activity_key Key to identify the activity object.
38
  */
41
  /**
42
  * Access to the current record.
43
  *
44
+ * @since 5.3.0
45
  *
46
  * @var Tribe__Events__Aggregator__Record__Abstract $record The current record.
47
  */
55
  /**
56
  * Whether any real processing should happen for the queue or not.
57
  *
58
+ * @since 5.3.0
59
  *
60
  * @var bool
61
  */
64
  /**
65
  * Tribe__Events__Aggregator__Record__Queue constructor.
66
  *
67
+ * @since 5.3.0
68
  *
69
  * @param int|Tribe__Events__Aggregator__Record__Abstract $record The current record or record ID.
70
  * @param array|string|null $items The items to build the Queue.
97
  /**
98
  * Get the activity if a call to a dynamic attribute is taking place in this case `$this->>activity`
99
  *
100
+ * @since 5.3.0
101
  *
102
  * @param string $key The dynamic key to be returned.
103
  *
114
  /**
115
  * Returns the activity object for the processing of this Queue.
116
  *
117
+ * @since 5.3.0
118
  *
119
  * @return mixed|Tribe__Events__Aggregator__Record__Activity
120
  */
136
  /**
137
  * Allows us to check if the Events Data has still pending
138
  *
139
+ * @since 5.3.0
140
  *
141
  * @return boolean
142
  */
147
  /**
148
  * Shortcut to check how many items are going to be processed next.
149
  *
150
+ * @since 5.3.0
151
  *
152
  * @return int
153
  */
158
  /**
159
  * Shortcut to check if this queue is empty or it has a null process.
160
  *
161
+ * @since 5.3.0
162
  *
163
  * @return boolean `true` if this queue instance has acquired the lock and
164
  * the count is 0, `false` otherwise.
174
  /**
175
  * After the process has been completed make sure the `post_modified` and `post_status` are updated accordingly.
176
  *
177
+ * @since 5.3.0
178
  *
179
  * @return $this
180
  */
194
  /**
195
  * Processes a batch for the queue
196
  *
197
+ * @since 5.3.0
198
  *
199
  * @throws Exception
200
  *
232
  /**
233
  * Get the current date time using UTC as the time zone.
234
  *
235
+ * @since 5.3.0
236
  *
237
  * @return DateTime|false|\Tribe\Utils\Date_I18n
238
  */
243
  /**
244
  * Create the initial request to the EA server requesting that the client is ready to start getting batches of events.
245
  *
246
+ * @since 5.3.0
247
  */
248
  public function start() {
249
  if (
297
  /**
298
  * Return the number of events delivered per batch.
299
  *
300
+ * @since 5.3.0
301
  *
302
  * @return int
303
  */
308
  /**
309
  * Return the interval in seconds of the delivery of each batch.
310
  *
311
+ * @since 5.3.0
312
  *
313
  * @return int
314
  */
319
  /**
320
  * Returns the total progress made on processing the queue so far as a percentage.
321
  *
322
+ * @since 5.3.0
323
  *
324
  * @return int
325
  */
354
  * The flag naturally expires after an hour to allow for recovery if for instance
355
  * execution hangs half way through the processing of a batch.
356
  *
357
+ * @since 5.3.0
358
  */
359
  public function set_in_progress_flag() {
360
  // No operation.
363
  /**
364
  * Clears the in progress flag.
365
  *
366
+ * @since 5.3.0
367
  */
368
  public function clear_in_progress_flag() {
369
  // No operation.
372
  /**
373
  * Indicates if the queue for the current event is actively being processed.
374
  *
375
+ * @since 5.3.0
376
  *
377
  * @return bool
378
  */
391
  /**
392
  * Returns the primary post type the queue is processing
393
  *
394
+ * @since 5.3.0
395
  *
396
  * @return string
397
  */
408
  /**
409
  * Whether the current queue process is stuck or not.
410
  *
411
+ * @since 5.3.0
412
  *
413
  * @return bool
414
  */
419
  /**
420
  * Orderly closes the queue process.
421
  *
422
+ * @since 5.3.0
423
  *
424
  * @return bool
425
  */
430
  /**
431
  * Whether the current queue process failed or not.
432
  *
433
+ * @since 5.3.0
434
  *
435
  * @return bool
436
  */
441
  /**
442
  * Returns the queue error message.
443
  *
444
+ * @since 5.3.0
445
  *
446
  * @return string
447
  */
src/Tribe/Aggregator/Record/List_Table.php CHANGED
@@ -101,8 +101,8 @@ class Tribe__Events__Aggregator__Record__List_Table extends WP_List_Table {
101
  // nonce check if search form submitted.
102
  $nonce = isset( $_POST['s'] ) && isset( $_POST['aggregator']['nonce'] ) ? sanitize_text_field( $_POST['aggregator']['nonce'] ) : '';
103
  if ( isset( $_GET['s'] ) || wp_verify_nonce( $nonce, 'aggregator_' . $this->tab->get_slug() . '_request' ) ) {
104
- $search_term = filter_var( $search_term, FILTER_VALIDATE_URL )
105
- ? esc_url_raw( $search_term )
106
  : sanitize_text_field( $search_term );
107
  $args['meta_query'] = [
108
  'relation' => 'OR',
@@ -513,6 +513,15 @@ class Tribe__Events__Aggregator__Record__List_Table extends WP_List_Table {
513
  }
514
 
515
  $html[] = '<p>' . esc_html_x( 'via ', 'record via origin', 'the-events-calendar' ) . '<strong>' . $source_info['via'] . '</strong></p>';
 
 
 
 
 
 
 
 
 
516
  if (
517
  ! empty( $record->meta['keywords'] )
518
  || ! empty( $record->meta['start'] )
@@ -520,6 +529,9 @@ class Tribe__Events__Aggregator__Record__List_Table extends WP_List_Table {
520
  || ! empty( $record->meta['radius'] )
521
  ) {
522
  $html[] = '<div class="tribe-view-filters-container">';
 
 
 
523
  $html[] = '<a href="" class="tribe-view-filters">' . esc_html__( 'View Filters', 'the-events-calendar' ) . '</a>';
524
  $html[] = '<dl class="tribe-filters">';
525
 
@@ -547,6 +559,8 @@ class Tribe__Events__Aggregator__Record__List_Table extends WP_List_Table {
547
  $html[] = '</dl></div>';
548
  }
549
 
 
 
550
  /**
551
  * Customize the Events > Import > History > Source column HTML.
552
  *
@@ -714,7 +728,7 @@ class Tribe__Events__Aggregator__Record__List_Table extends WP_List_Table {
714
  /**
715
  * Displays the pagination.
716
  *
717
- * @since TBD
718
  * @access protected
719
  *
720
  * @param string $which Equal to NULL, 'top' or 'bottom'.
@@ -751,8 +765,8 @@ class Tribe__Events__Aggregator__Record__List_Table extends WP_List_Table {
751
 
752
  $search_term = tribe_get_request_var( 's' );
753
  if ( ! empty( $search_term ) ) {
754
- $search_term = filter_var( $search_term, FILTER_VALIDATE_URL )
755
- ? esc_url_raw( $search_term )
756
  : sanitize_text_field( $search_term );
757
  $current_url = add_query_arg( 's', $search_term, $current_url );
758
  }
@@ -842,7 +856,7 @@ class Tribe__Events__Aggregator__Record__List_Table extends WP_List_Table {
842
  $page_class = ' no-pages';
843
  }
844
  ?>
845
- <div class='tablenav-pages<? echo esc_attr( $page_class ); ?>'>
846
  <?php echo $output; ?>
847
  </div>
848
  <?php
101
  // nonce check if search form submitted.
102
  $nonce = isset( $_POST['s'] ) && isset( $_POST['aggregator']['nonce'] ) ? sanitize_text_field( $_POST['aggregator']['nonce'] ) : '';
103
  if ( isset( $_GET['s'] ) || wp_verify_nonce( $nonce, 'aggregator_' . $this->tab->get_slug() . '_request' ) ) {
104
+ $search_term = filter_var( $search_term, FILTER_VALIDATE_URL )
105
+ ? esc_url_raw( $search_term )
106
  : sanitize_text_field( $search_term );
107
  $args['meta_query'] = [
108
  'relation' => 'OR',
513
  }
514
 
515
  $html[] = '<p>' . esc_html_x( 'via ', 'record via origin', 'the-events-calendar' ) . '<strong>' . $source_info['via'] . '</strong></p>';
516
+
517
+ $html[] = '<div class="tribe-view-links-container" style="display:flex; flex-direction:row">';
518
+ if ( 'scheduled' === $this->tab->get_slug() ) {
519
+ $filter_link = admin_url( "edit.php?post_type=tribe_events&aggregator_record={$record->id}" );
520
+ $html[] = '<div class="tribe-view-events-container">';
521
+ $html[] = '<a href="' . esc_url( $filter_link ) . '" class="tribe-view-events">' . esc_html__( 'View Events', 'the-events-calendar' ) . '</a>';
522
+ $html[] = '</div>';
523
+ }
524
+
525
  if (
526
  ! empty( $record->meta['keywords'] )
527
  || ! empty( $record->meta['start'] )
529
  || ! empty( $record->meta['radius'] )
530
  ) {
531
  $html[] = '<div class="tribe-view-filters-container">';
532
+ if ( 'scheduled' === $this->tab->get_slug() ) {
533
+ $html[] = '&nbsp;|&nbsp;';
534
+ }
535
  $html[] = '<a href="" class="tribe-view-filters">' . esc_html__( 'View Filters', 'the-events-calendar' ) . '</a>';
536
  $html[] = '<dl class="tribe-filters">';
537
 
559
  $html[] = '</dl></div>';
560
  }
561
 
562
+ $html[] = '</div>';
563
+
564
  /**
565
  * Customize the Events > Import > History > Source column HTML.
566
  *
728
  /**
729
  * Displays the pagination.
730
  *
731
+ * @since 5.3.0
732
  * @access protected
733
  *
734
  * @param string $which Equal to NULL, 'top' or 'bottom'.
765
 
766
  $search_term = tribe_get_request_var( 's' );
767
  if ( ! empty( $search_term ) ) {
768
+ $search_term = filter_var( $search_term, FILTER_VALIDATE_URL )
769
+ ? esc_url_raw( $search_term )
770
  : sanitize_text_field( $search_term );
771
  $current_url = add_query_arg( 's', $search_term, $current_url );
772
  }
856
  $page_class = ' no-pages';
857
  }
858
  ?>
859
+ <div class='tablenav-pages<?php echo esc_attr( $page_class ); ?>'>
860
  <?php echo $output; ?>
861
  </div>
862
  <?php
src/Tribe/Aggregator/Record/Queue_Cleaner.php CHANGED
@@ -131,7 +131,7 @@ class Tribe__Events__Aggregator__Record__Queue_Cleaner {
131
  /**
132
  * Allow external caller to define the amount of the time to live in seconds.
133
  *
134
- * @since TBD
135
  *
136
  * @param int $time_to_live Live time in seconds default to 12 hours.
137
  *
@@ -146,7 +146,7 @@ class Tribe__Events__Aggregator__Record__Queue_Cleaner {
146
  /**
147
  * Get the current value of time to live setting an integer in seconds, default to 12 hours.
148
  *
149
- * @since TBD
150
  *
151
  * @return int The number of time to consider a record alive.
152
  */
@@ -154,7 +154,7 @@ class Tribe__Events__Aggregator__Record__Queue_Cleaner {
154
  /**
155
  * Allow to define the number of seconds used to define if a record is alive or not.
156
  *
157
- * @since TBD
158
  *
159
  * @return int The number of time to consider a record alive.
160
  */
@@ -170,7 +170,7 @@ class Tribe__Events__Aggregator__Record__Queue_Cleaner {
170
  /**
171
  * Allow to define the number of seconds for a record to be considered stalled.
172
  *
173
- * @since TBD
174
  *
175
  * @return int The number in seconds for a record to be stalled
176
  */
131
  /**
132
  * Allow external caller to define the amount of the time to live in seconds.
133
  *
134
+ * @since 5.3.0
135
  *
136
  * @param int $time_to_live Live time in seconds default to 12 hours.
137
  *
146
  /**
147
  * Get the current value of time to live setting an integer in seconds, default to 12 hours.
148
  *
149
+ * @since 5.3.0
150
  *
151
  * @return int The number of time to consider a record alive.
152
  */
154
  /**
155
  * Allow to define the number of seconds used to define if a record is alive or not.
156
  *
157
+ * @since 5.3.0
158
  *
159
  * @return int The number of time to consider a record alive.
160
  */
170
  /**
171
  * Allow to define the number of seconds for a record to be considered stalled.
172
  *
173
+ * @since 5.3.0
174
  *
175
  * @return int The number in seconds for a record to be stalled
176
  */
src/Tribe/Aggregator/Record/Queue_Interface.php CHANGED
@@ -92,7 +92,7 @@ interface Tribe__Events__Aggregator__Record__Queue_Interface {
92
  /**
93
  * Whether the current queue is fetching values from a remote or external source.
94
  *
95
- * @since TBD
96
  *
97
  * @return bool
98
  */
92
  /**
93
  * Whether the current queue is fetching values from a remote or external source.
94
  *
95
+ * @since 5.3.0
96
  *
97
  * @return bool
98
  */
src/Tribe/Aggregator/Record/Queue_Processor.php CHANGED
@@ -182,7 +182,7 @@ class Tribe__Events__Aggregator__Record__Queue_Processor {
182
  *
183
  * If no records in need of further processing can be found it will return bool false.
184
  *
185
- * @since TBD Inclusion of a $cache param for performance purposes.
186
  *
187
  * @param boolean $interactive_only Whether or not we should look for imports that were kicked off interactively
188
  * @param boolean $cache When checking on every request we should utilize transient caching to prevent hitting the DB every time.
182
  *
183
  * If no records in need of further processing can be found it will return bool false.
184
  *
185
+ * @since 5.3.0 Inclusion of a $cache param for performance purposes.
186
  *
187
  * @param boolean $interactive_only Whether or not we should look for imports that were kicked off interactively
188
  * @param boolean $cache When checking on every request we should utilize transient caching to prevent hitting the DB every time.
src/Tribe/Aggregator/Record/Queue_Realtime.php CHANGED
@@ -225,7 +225,7 @@ class Tribe__Events__Aggregator__Record__Queue_Realtime {
225
  /**
226
  * Get the data that is used to construct the current status of the EA progress bar.
227
  *
228
- * @since TBD
229
  *
230
  * @return array<string, mixed> An array with the details of the progress bar.
231
  */
@@ -261,7 +261,7 @@ class Tribe__Events__Aggregator__Record__Queue_Realtime {
261
  /**
262
  * Get the current Queue status for EA to consume the status of the progress bar.
263
  *
264
- * @since TBD
265
  *
266
  * @param Tribe__Events__Aggregator__Record__Queue_Interface $queue The Queue being processed.
267
  * @param int $percentage The amount of the percentage.
225
  /**
226
  * Get the data that is used to construct the current status of the EA progress bar.
227
  *
228
+ * @since 5.3.0
229
  *
230
  * @return array<string, mixed> An array with the details of the progress bar.
231
  */
261
  /**
262
  * Get the current Queue status for EA to consume the status of the progress bar.
263
  *
264
+ * @since 5.3.0
265
  *
266
  * @param Tribe__Events__Aggregator__Record__Queue_Interface $queue The Queue being processed.
267
  * @param int $percentage The amount of the percentage.
src/Tribe/Aggregator/Service.php CHANGED
@@ -171,7 +171,7 @@ class Tribe__Events__Aggregator__Service {
171
  /**
172
  * Allow to change the constructed URL used for EA.
173
  *
174
- * @since TBD
175
  *
176
  * @param string $endpoint The path of the endpoint inside of the base url.
177
  * @param stdClass $api An object representing the properties of the API.
171
  /**
172
  * Allow to change the constructed URL used for EA.
173
  *
174
+ * @since 5.3.0
175
  *
176
  * @param string $endpoint The path of the endpoint inside of the base url.
177
  * @param stdClass $api An object representing the properties of the API.
src/Tribe/Customizer/Global_Elements.php CHANGED
@@ -33,392 +33,23 @@ final class Tribe__Events__Customizer__Global_Elements extends Tribe__Customizer
33
  */
34
  public function get_css_template( $template ) {
35
  $customizer = Tribe__Customizer::instance();
36
- $settings = $customizer->get_option( [ $this->ID ] );
37
 
38
- if ( tribe_events_views_v2_is_enabled() && $customizer->has_option( $this->ID, 'accent_color' ) ) {
 
 
 
 
 
 
 
 
 
39
 
40
- $accent_color = new Tribe__Utils__Color( $settings['accent_color'] );
41
- $accent_color_rgb = $accent_color::hexToRgb( $settings['accent_color'] );
42
- $accent_css_rgb = $accent_color_rgb['R'] . ',' . $accent_color_rgb['G'] . ',' . $accent_color_rgb['B'];
43
-
44
- $accent_color_hover = 'rgba(' . $accent_css_rgb . ',0.8)';
45
- $accent_color_active = 'rgba(' . $accent_css_rgb . ',0.9)';
46
- $accent_color_background = 'rgba(' . $accent_css_rgb . ',0.07)';
47
- $accent_color_multiday = 'rgba(' . $accent_css_rgb . ',0.24)';
48
- $accent_color_multiday_hover = 'rgba(' . $accent_css_rgb . ',0.34)';
49
- $color_background = '#ffffff';
50
-
51
- // overrides for common base/full/forms/_toggles.pcss.
52
- $template .= '
53
- .tribe-common .tribe-common-form-control-toggle__input:checked {
54
- background-color: <%= global_elements.accent_color %>;
55
- }
56
- ';
57
-
58
- // overrides for common base/full/typography/_ctas.pcss.
59
- $template .= '
60
- .tribe-common .tribe-common-cta--alt,
61
- .tribe-common .tribe-common-cta--alt:active,
62
- .tribe-common .tribe-common-cta--alt:hover,
63
- .tribe-common .tribe-common-cta--alt:focus,
64
- .tribe-common .tribe-common-cta--thin-alt,
65
- .tribe-common .tribe-common-cta--thin-alt:active,
66
- .tribe-common .tribe-common-cta--thin-alt:focus,
67
- .tribe-common .tribe-common-cta--thin-alt:hover {
68
- border-bottom-color: <%= global_elements.accent_color %>;
69
- }
70
- ';
71
-
72
- $template .= '
73
- .tribe-common .tribe-common-cta--alt:active,
74
- .tribe-common .tribe-common-cta--alt:hover,
75
- .tribe-common .tribe-common-cta--alt:focus,
76
- .tribe-common .tribe-common-cta--thin-alt:active,
77
- .tribe-common .tribe-common-cta--thin-alt:hover,
78
- .tribe-common .tribe-common-cta--thin-alt:focus,
79
- .tribe-theme-twentyseventeen .tribe-common .tribe-common-cta--alt:hover,
80
- .tribe-theme-twentyseventeen .tribe-common .tribe-common-cta--alt:focus,
81
- .tribe-theme-twentyseventeen .tribe-common .tribe-common-cta--thin-alt:hover,
82
- .tribe-theme-twentyseventeen .tribe-common .tribe-common-cta--thin-alt:focus {
83
- color: <%= global_elements.accent_color %>;
84
- }
85
- ';
86
-
87
- // Overrides for common components/full/buttons/_border.pcss.
88
- $template .= '
89
- .tribe-common .tribe-common-c-btn-border:not(.tribe-common-c-btn-border--secondary):not(.tribe-common-c-btn-border--alt),
90
- .tribe-common a.tribe-common-c-btn-border:not(.tribe-common-c-btn-border--secondary):not(.tribe-common-c-btn-border--alt) {
91
- border-color: <%= global_elements.accent_color %>;
92
- color: <%= global_elements.accent_color %>;
93
- }
94
- ';
95
-
96
- $template .= '
97
- .tribe-common .tribe-common-c-btn-border:not(.tribe-common-c-btn-border--secondary):not(.tribe-common-c-btn-border--alt):focus,
98
- .tribe-common .tribe-common-c-btn-border:not(.tribe-common-c-btn-border--secondary):not(.tribe-common-c-btn-border--alt):hover,
99
- .tribe-common a.tribe-common-c-btn-border:not(.tribe-common-c-btn-border--secondary):not(.tribe-common-c-btn-border--alt):focus,
100
- .tribe-common a.tribe-common-c-btn-border:not(.tribe-common-c-btn-border--secondary):not(.tribe-common-c-btn-border--alt):hover {
101
- color: ' . $color_background . ';
102
- background-color: <%= global_elements.accent_color %>;
103
- }
104
- ';
105
-
106
- $template .= '
107
- .tribe-theme-twentyseventeen .tribe-common .tribe-common-c-btn-border:not(.tribe-common-c-btn-border--secondary):not(.tribe-common-c-btn-border--alt):focus,
108
- .tribe-theme-twentyseventeen .tribe-common .tribe-common-c-btn-border:not(.tribe-common-c-btn-border--secondary):not(.tribe-common-c-btn-border--alt):hover,
109
- background-color: <%= global_elements.accent_color %>;
110
- }
111
- ';
112
-
113
- // overrides for common components/full/buttons/_solid.pcss.
114
- $template .= '
115
- .tribe-common .tribe-common-c-btn,
116
- .tribe-common a.tribe-common-c-btn {
117
- background-color: <%= global_elements.accent_color %>;
118
- }
119
- ';
120
-
121
- $template .= '
122
- .tribe-common .tribe-common-c-btn:focus,
123
- .tribe-common .tribe-common-c-btn:hover,
124
- .tribe-common a.tribe-common-c-btn:focus,
125
- .tribe-common a.tribe-common-c-btn:hover {
126
- background-color: ' . $accent_color_hover . ';
127
- }
128
- ';
129
-
130
- $template .= '
131
- .tribe-common .tribe-common-c-btn:active,
132
- .tribe-common a.tribe-common-c-btn:active {
133
- background-color: ' . $accent_color_active . ';
134
- }
135
- ';
136
-
137
- $template .= '
138
- .tribe-common .tribe-common-c-btn:disabled,
139
- .tribe-common a.tribe-common-c-btn:disabled {
140
- background-color: ' . $accent_color_background . ';
141
- }
142
- ';
143
-
144
- // Override svg icons color.
145
- $template .= '
146
- .tribe-common .tribe-common-c-svgicon {
147
- color: <%= global_elements.accent_color %>;
148
- }
149
- ';
150
-
151
- $template .= '
152
- .tribe-common .tribe-events-virtual-virtual-event__icon-svg {
153
- color: <%= global_elements.accent_color %>;
154
- }
155
- ';
156
-
157
- $template .= '
158
- .tribe-theme-twentytwenty .tribe-common .tribe-common-c-btn {
159
- background-color: <%= global_elements.accent_color %>;
160
- }
161
- ';
162
-
163
- $template .= '
164
- .tribe-theme-twentyseventeen .tribe-common .tribe-common-c-btn:hover,
165
- .tribe-theme-twentyseventeen .tribe-common .tribe-common-c-btn:focus,
166
- .tribe-theme-twentytwenty .tribe-common .tribe-common-c-btn:hover,
167
- .tribe-theme-twentytwenty .tribe-common .tribe-common-c-btn:focus {
168
- background-color: ' . $accent_color_hover . ';
169
- }
170
- ';
171
-
172
- // overrides for tec components/full/_datepicker.pcss.
173
- $template .= '
174
- .tribe-events .datepicker .day.current,
175
- .tribe-events .datepicker .month.current,
176
- .tribe-events .datepicker .year.current,
177
- .tribe-events .datepicker .day.current:hover,
178
- .tribe-events .datepicker .day.current:focus,
179
- .tribe-events .datepicker .day.current.focused,
180
- .tribe-events .datepicker .month.current:hover,
181
- .tribe-events .datepicker .month.current:focus,
182
- .tribe-events .datepicker .month.current.focused,
183
- .tribe-events .datepicker .year.current:hover,
184
- .tribe-events .datepicker .year.current:focus,
185
- .tribe-events .datepicker .year.current.focused {
186
- background: ' . $accent_color_background . ';
187
- }
188
- ';
189
-
190
- $template .= '
191
- .tribe-events .datepicker .day.active,
192
- .tribe-events .datepicker .month.active,
193
- .tribe-events .datepicker .year.active,
194
- .tribe-events .datepicker .day.active:hover,
195
- .tribe-events .datepicker .day.active:focus,
196
- .tribe-events .datepicker .day.active.focused,
197
- .tribe-events .datepicker .month.active:hover,
198
- .tribe-events .datepicker .month.active:focus,
199
- .tribe-events .datepicker .month.active.focused,
200
- .tribe-events .datepicker .year.active:hover,
201
- .tribe-events .datepicker .year.active:focus,
202
- .tribe-events .datepicker .year.active.focused {
203
- background: <%= global_elements.accent_color %>;
204
- }
205
- ';
206
-
207
- // overrides for tec components/full/_events-bar.pcss.
208
- $template .= '
209
- .tribe-events .tribe-events-c-events-bar__search-button:before {
210
- background-color: <%= global_elements.accent_color %>;
211
- }
212
- ';
213
-
214
- // overrides for tec components/full/_ical-link.pcss.
215
- $template .= '
216
- .tribe-events .tribe-events-c-ical__link {
217
- border-color: <%= global_elements.accent_color %>;
218
- color: <%= global_elements.accent_color %>;
219
- }
220
- ';
221
-
222
- $template .= '
223
- .tribe-events .tribe-events-c-ical__link:hover,
224
- .tribe-events .tribe-events-c-ical__link:focus,
225
- .tribe-events .tribe-events-c-ical__link:active {
226
- background-color: <%= global_elements.accent_color %>;
227
- }
228
- ';
229
-
230
- // overrides for tec components/full/_view-selector.pcss.
231
- $template .= '
232
- .tribe-events .tribe-events-c-view-selector__button:before {
233
- background-color: <%= global_elements.accent_color %>;
234
- }
235
- ';
236
-
237
- // overrides for tec views/full/list/_event.pcss.
238
- $template .= '
239
- .tribe-events .tribe-events-calendar-list__event-row--featured .tribe-events-calendar-list__event-date-tag-datetime:after {
240
- background-color: <%= global_elements.accent_color %>;
241
- }
242
- ';
243
-
244
- $template .= '
245
- .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-datetime-featured-text {
246
- color: <%= global_elements.accent_color %>;
247
- }
248
- ';
249
-
250
- // overrides for tec views/full/month/_calendar-event.pcss.
251
- $template .= '
252
- .tribe-events .tribe-events-calendar-month__calendar-event--featured:before {
253
- background-color: <%= global_elements.accent_color %>;
254
- }
255
- ';
256
-
257
- // overrides for tec views/full/month/_day.pcss.
258
- $template .= '
259
- .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date,
260
- .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link {
261
- color: <%= global_elements.accent_color %>;
262
- }
263
- ';
264
-
265
- $template .= '
266
- .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:hover,
267
- .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:focus {
268
- color: ' . $accent_color_hover . ';
269
- }
270
- ';
271
-
272
- $template .= '
273
- .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:active {
274
- color: ' . $accent_color_active . ';
275
- }
276
- ';
277
-
278
- $template .= '
279
- .tribe-events .tribe-events-calendar-month__day-cell--selected,
280
- .tribe-events .tribe-events-calendar-month__day-cell--selected:hover,
281
- .tribe-events .tribe-events-calendar-month__day-cell--selected:focus {
282
- background-color: <%= global_elements.accent_color %>;
283
- }
284
- ';
285
-
286
- $template .= '
287
- .tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__day-date {
288
- color: ' . $color_background . ';
289
- }
290
- ';
291
-
292
- $template .= '
293
- .tribe-events .tribe-events-calendar-month__mobile-events-icon--event {
294
- background-color: <%= global_elements.accent_color %>;
295
- }
296
- ';
297
-
298
- $template .= '
299
- .tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:hover,
300
- .tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:focus {
301
- color: ' . $accent_color_hover . ';
302
- }
303
- ';
304
-
305
- $template .= '
306
- .tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:active {
307
- color: ' . $accent_color_active . ';
308
- }
309
- ';
310
-
311
- $template .= '
312
- .tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day-cell--selected:hover,
313
- .tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day-cell--selected:focus {
314
- background-color: <%= global_elements.accent_color %>;
315
- }
316
- ';
317
-
318
- $template .= '
319
- .tribe-theme-twentytwenty .tribe-events .tribe-events-calendar-month__day-cell--selected {
320
- background-color: <%= global_elements.accent_color %>;
321
- }
322
- ';
323
-
324
- // overrides for tec views/full/month/_mobile-events.pcss.
325
- $template .= '
326
- .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime-featured-text {
327
- color: <%= global_elements.accent_color %>;
328
- }
329
- ';
330
-
331
- // overrides for tec views/full/month/_multiday-events.pcss.
332
- $template .= '
333
- .tribe-events .tribe-events-calendar-month__multiday-event-bar-inner {
334
- background-color: ' . $accent_color_multiday . ';
335
- }
336
- ';
337
-
338
- $template .= '
339
- .tribe-events .tribe-events-calendar-month__multiday-event-bar-inner--hover,
340
- .tribe-events .tribe-events-calendar-month__multiday-event-bar-inner--focus {
341
- background-color: ' . $accent_color_multiday_hover . ';
342
- }
343
- ';
344
-
345
- // overrides for tec views/full/day/_event.pcss.
346
- $template .= '
347
- .tribe-events .tribe-events-calendar-day__event--featured:after {
348
- background-color: <%= global_elements.accent_color %>;
349
- }
350
- ';
351
-
352
- $template .= '
353
- .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-datetime-featured-text {
354
- color: <%= global_elements.accent_color %>;
355
- }
356
- ';
357
-
358
- // overrides for tec widgets/full/_events-list.pcss.
359
- $template .= '
360
- .tribe-events-widget .tribe-events-widget-events-list__event-row--featured .tribe-events-widget-events-list__event-date-tag-datetime:after {
361
- background-color: <%= global_elements.accent_color %>;
362
- }
363
- ';
364
-
365
- $template .= '
366
- .tribe-events-widget .tribe-events-widget-events-list__view-more-link,
367
- .tribe-events-widget .tribe-events-widget-events-list__view-more-link:visited {
368
- color: <%= global_elements.accent_color %>;
369
- }
370
- ';
371
-
372
- $template .= '
373
- .tribe-events-widget .tribe-events-widget-events-list__view-more-link:active,
374
- .tribe-events-widget .tribe-events-widget-events-list__view-more-link:focus,
375
- .tribe-events-widget .tribe-events-widget-events-list__view-more-link:hover {
376
- color: <%= global_elements.accent_color %>;
377
- border-bottom-color: <%= global_elements.accent_color %>;
378
- }
379
- ';
380
-
381
- $template .= '
382
- .tribe-theme-twentyseventeen .tribe-events-widget .tribe-events-widget-events-list__view-more-link,
383
- .tribe-theme-twentyseventeen .tribe-events-widget .tribe-events-widget-events-list__view-more-link:hover,
384
- .tribe-theme-twentyseventeen .tribe-events-widget .tribe-events-widget-events-list__view-more-link:focus,
385
- .tribe-theme-twentyseventeen .site-footer .widget-area .tribe-events-widget .tribe-events-widget-events-list__view-more-link,
386
- .tribe-theme-twentyseventeen .site-footer .widget-area .tribe-events-widget .tribe-events-widget-events-list__view-more-link:hover,
387
- .tribe-theme-twentyseventeen .site-footer .widget-area .tribe-events-widget .tribe-events-widget-events-list__view-more-link:focus,
388
- .site-footer .widget-area .tribe-events-widget .tribe-events-widget-events-list__view-more-link,
389
- .site-footer .widget-area .tribe-events-widget .tribe-events-widget-events-list__view-more-link:hover,
390
- .site-footer .widget-area .tribe-events-widget .tribe-events-widget-events-list__view-more-link:focus,
391
- .tribe-theme-enfold .tribe-events-widget .tribe-events-widget-events-list__view-more-link,
392
- .tribe-theme-enfold .tribe-events-widget .tribe-events-widget-events-list__view-more-link:visited,
393
- .tribe-theme-enfold .tribe-events-widget .tribe-events-widget-events-list__view-more-link:hover,
394
- .tribe-theme-enfold .tribe-events-widget .tribe-events-widget-events-list__view-more-link:focus,
395
- .tribe-theme-enfold .tribe-events-widget .tribe-events-widget-events-list__view-more-link:active,
396
- .main_color .sidebar .tribe-events-widget .tribe-events-widget-events-list__view-more-link,
397
- .main_color .sidebar .tribe-events-widget .tribe-events-widget-events-list__view-more-link:visited,
398
- .main_color .sidebar .tribe-events-widget .tribe-events-widget-events-list__view-more-link:hover,
399
- .main_color .sidebar .tribe-events-widget .tribe-events-widget-events-list__view-more-link:focus,
400
- .main_color .sidebar .tribe-events-widget .tribe-events-widget-events-list__view-more-link:active {
401
- color: <%= global_elements.accent_color %>;
402
- }
403
- ';
404
  }
405
 
406
- if ( tribe_events_views_v2_is_enabled() && $customizer->has_option( $this->ID, 'link_color' ) ) {
407
- $template .= '
408
- .tribe-events-single-event-description a,
409
- .tribe-events-event-url a,
410
- .tribe-venue-url a,
411
- .tribe-organizer-url a,
412
-
413
- .tribe-events-pro .tribe-events-pro-organizer__meta-website a,
414
- .tribe-block__organizer__website a,
415
- .tribe-events-pro .tribe-events-pro-venue__meta-website a,
416
- .tribe-block__venue__website a,
417
- .tribe_events p a {
418
- color: <%= global_elements.link_color %>;
419
- }
420
- ';
421
- } elseif ( $customizer->has_option( $this->ID, 'link_color' ) ) {
422
  $template .= '
423
  #tribe-events-content a,
424
  .tribe-events-event-meta a {
@@ -427,11 +58,6 @@ final class Tribe__Events__Customizer__Global_Elements extends Tribe__Customizer
427
  ';
428
  }
429
 
430
-
431
- if ( tribe_events_views_v2_is_enabled() ) {
432
- return $template;
433
- }
434
-
435
  if ( $customizer->has_option( $this->ID, 'filterbar_color' ) ) {
436
  $template .= '
437
  #tribe-bar-form {
@@ -525,18 +151,19 @@ final class Tribe__Events__Customizer__Global_Elements extends Tribe__Customizer
525
  public function register_settings( WP_Customize_Section $section, WP_Customize_Manager $manager ) {
526
  $customizer = Tribe__Customizer::instance();
527
 
528
- // Add an heading that is a Control only in name: it does not, actulally, control or save any setting.
529
  $manager->add_control(
530
  new Heading(
531
  $manager,
532
- $customizer->get_setting_name( 'link_color_heading', $section ),
533
  [
534
- 'label' => esc_html__( 'Set Font Colors', 'the-events-calendar' ),
535
- 'section' => $section->id,
 
536
  ]
537
  )
538
  );
539
-
540
  $manager->add_setting(
541
  $customizer->get_setting_name( 'link_color', $section ),
542
  [
@@ -546,7 +173,7 @@ final class Tribe__Events__Customizer__Global_Elements extends Tribe__Customizer
546
  'sanitize_js_callback' => 'maybe_hash_hex_color',
547
  ]
548
  );
549
-
550
  $manager->add_control(
551
  new WP_Customize_Color_Control(
552
  $manager,
@@ -560,29 +187,20 @@ final class Tribe__Events__Customizer__Global_Elements extends Tribe__Customizer
560
  );
561
 
562
  $customizer->add_setting_name( $customizer->get_setting_name( 'link_color', $section ) );
563
-
564
- // Add an heading that is a Control only in name: it does not, actulally, control or save any setting.
565
  $manager->add_control(
566
  new Heading(
567
  $manager,
568
- $customizer->get_setting_name( 'accent_color_heading', $section ),
569
  [
570
- 'label' => esc_html__( 'Adjust Appearance', 'the-events-calendar' ),
571
- 'section' => $section->id,
 
572
  ]
573
  )
574
  );
575
-
576
- $manager->add_setting(
577
- $customizer->get_setting_name( 'accent_color', $section ),
578
- [
579
- 'default' => '#334AFF',
580
- 'type' => 'option',
581
- 'sanitize_callback' => 'sanitize_hex_color',
582
- 'sanitize_js_callback' => 'maybe_hash_hex_color',
583
- ]
584
- );
585
-
586
  $manager->add_control(
587
  new WP_Customize_Color_Control(
588
  $manager,
@@ -590,12 +208,14 @@ final class Tribe__Events__Customizer__Global_Elements extends Tribe__Customizer
590
  [
591
  'label' => esc_html__( 'Accent Color', 'the-events-calendar' ),
592
  'section' => $section->id,
 
593
  ]
594
  )
595
  );
596
 
597
  $customizer->add_setting_name( $customizer->get_setting_name( 'accent_color', $section ) );
598
 
 
599
  if ( tribe_events_views_v2_is_enabled() ) {
600
  return;
601
  }
@@ -616,8 +236,9 @@ final class Tribe__Events__Customizer__Global_Elements extends Tribe__Customizer
616
  $manager,
617
  $customizer->get_setting_name( 'filterbar_color', $section ),
618
  [
619
- 'label' => esc_html__( 'Filter Bar Color', 'the-events-calendar' ),
620
- 'section' => $section->id,
 
621
  ]
622
  )
623
  );
@@ -640,6 +261,7 @@ final class Tribe__Events__Customizer__Global_Elements extends Tribe__Customizer
640
  [
641
  'label' => esc_html__( 'Button Color', 'the-events-calendar' ),
642
  'section' => $section->id,
 
643
  ]
644
  )
645
  );
@@ -664,6 +286,7 @@ final class Tribe__Events__Customizer__Global_Elements extends Tribe__Customizer
664
  'default' => $this->get_default( 'button_color' ),
665
  'label' => esc_html__( 'Map Pin', 'the-events-calendar' ),
666
  'section' => $section->id,
 
667
  ]
668
  )
669
  );
33
  */
34
  public function get_css_template( $template ) {
35
  $customizer = Tribe__Customizer::instance();
 
36
 
37
+ /**
38
+ * Allows filtering the CSS template with full knowledge of the Global Elements section and the current Customizer instance.
39
+ *
40
+ * @since 5.3.1
41
+ *
42
+ * @param string $template The CSS template, as produced by the Global Elements.
43
+ * @param Tribe__Customizer__Section $this The Global Elements section.
44
+ * @param Tribe__Customizer $customizer The current Customizer instance.
45
+ */
46
+ $template = apply_filters( 'tribe_customizer_global_elements_css_template', $template, $this, $customizer );
47
 
48
+ if ( tribe_events_views_v2_is_enabled() ) {
49
+ return $template;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  }
51
 
52
+ if ( $customizer->has_option( $this->ID, 'link_color' ) ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  $template .= '
54
  #tribe-events-content a,
55
  .tribe-events-event-meta a {
58
  ';
59
  }
60
 
 
 
 
 
 
61
  if ( $customizer->has_option( $this->ID, 'filterbar_color' ) ) {
62
  $template .= '
63
  #tribe-bar-form {
151
  public function register_settings( WP_Customize_Section $section, WP_Customize_Manager $manager ) {
152
  $customizer = Tribe__Customizer::instance();
153
 
154
+ // Add an heading that is a Control only in name: it does not, actually, control or save any setting.
155
  $manager->add_control(
156
  new Heading(
157
  $manager,
158
+ $customizer->get_setting_name( 'font_color_heading', $section ),
159
  [
160
+ 'label' => esc_html__( 'Set Font Colors', 'the-events-calendar' ),
161
+ 'section' => $section->id,
162
+ 'priority' => 0,
163
  ]
164
  )
165
  );
166
+
167
  $manager->add_setting(
168
  $customizer->get_setting_name( 'link_color', $section ),
169
  [
173
  'sanitize_js_callback' => 'maybe_hash_hex_color',
174
  ]
175
  );
176
+
177
  $manager->add_control(
178
  new WP_Customize_Color_Control(
179
  $manager,
187
  );
188
 
189
  $customizer->add_setting_name( $customizer->get_setting_name( 'link_color', $section ) );
190
+
191
+ // Add an heading that is a Control only in name: it does not, actually, control or save any setting.
192
  $manager->add_control(
193
  new Heading(
194
  $manager,
195
+ $customizer->get_setting_name( 'adjust_appearance_heading', $section ),
196
  [
197
+ 'label' => esc_html__( 'Adjust Appearance', 'the-events-calendar' ),
198
+ 'section' => $section->id,
199
+ 'priority' => 10,
200
  ]
201
  )
202
  );
203
+
 
 
 
 
 
 
 
 
 
 
204
  $manager->add_control(
205
  new WP_Customize_Color_Control(
206
  $manager,
208
  [
209
  'label' => esc_html__( 'Accent Color', 'the-events-calendar' ),
210
  'section' => $section->id,
211
+ 'priority' => 15,
212
  ]
213
  )
214
  );
215
 
216
  $customizer->add_setting_name( $customizer->get_setting_name( 'accent_color', $section ) );
217
 
218
+ // Old stuff for backwards compatibility.
219
  if ( tribe_events_views_v2_is_enabled() ) {
220
  return;
221
  }
236
  $manager,
237
  $customizer->get_setting_name( 'filterbar_color', $section ),
238
  [
239
+ 'label' => esc_html__( 'Filter Bar Color', 'the-events-calendar' ),
240
+ 'section' => $section->id,
241
+ 'priority' => 20,
242
  ]
243
  )
244
  );
261
  [
262
  'label' => esc_html__( 'Button Color', 'the-events-calendar' ),
263
  'section' => $section->id,
264
+ 'priority' => 20,
265
  ]
266
  )
267
  );
286
  'default' => $this->get_default( 'button_color' ),
287
  'label' => esc_html__( 'Map Pin', 'the-events-calendar' ),
288
  'section' => $section->id,
289
+ 'priority' => 20,
290
  ]
291
  )
292
  );
src/Tribe/Customizer/Single_Event.php CHANGED
@@ -43,9 +43,22 @@ final class Tribe__Events__Customizer__Single_Event extends Tribe__Customizer__S
43
  ';
44
  }
45
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  if ( $customizer->has_option( $this->ID, 'post_title_color' ) ) {
47
  $template .= '
48
- .tribe-events-single-event-title {
49
  color: <%= single_event.post_title_color %>;
50
  }
51
  ';
@@ -69,12 +82,14 @@ final class Tribe__Events__Customizer__Single_Event extends Tribe__Customizer__S
69
  }
70
 
71
  public function setup() {
72
- $this->defaults = [
73
- 'post_title_color' => '#333',
74
  'details_bg_color' => '#e5e5e5',
75
- ];
76
 
77
- $description = tribe_events_views_v2_is_enabled() ? esc_html__( 'These settings control the appearance of the single event pages.', 'the-events-calendar' ) : esc_html__( 'Options selected here will override what was selected in the "General Theme" and "Global Elements" sections.', 'the-events-calendar' );
 
 
78
 
79
  $this->arguments = [
80
  'priority' => 60,
@@ -94,15 +109,16 @@ final class Tribe__Events__Customizer__Single_Event extends Tribe__Customizer__S
94
  */
95
  public function register_settings( WP_Customize_Section $section, WP_Customize_Manager $manager ) {
96
  $customizer = Tribe__Customizer::instance();
97
-
98
- // Add an heading that is a Control only in name: it does not, actulally, control or save any setting.
99
  $manager->add_control(
100
  new Heading(
101
  $manager,
102
  $customizer->get_setting_name( 'post_title_heading', $section ),
103
  [
104
- 'label' => esc_html__( 'Set Font Colors', 'the-events-calendar' ),
105
- 'section' => $section->id,
 
106
  ]
107
  )
108
  );
@@ -130,15 +146,16 @@ final class Tribe__Events__Customizer__Single_Event extends Tribe__Customizer__S
130
  ]
131
  )
132
  );
133
-
134
- // Add an heading that is a Control only in name: it does not, actulally, control or save any setting.
135
  $manager->add_control(
136
  new Heading(
137
  $manager,
138
  $customizer->get_setting_name( 'details_bg_color_heading', $section ),
139
  [
140
- 'label' => esc_html__( 'Adjust Appearance', 'the-events-calendar' ),
141
- 'section' => $section->id,
 
142
  ]
143
  )
144
  );
43
  ';
44
  }
45
 
46
+ if ( tribe_events_views_v2_is_enabled() ) {
47
+ /**
48
+ * Allows filtering the CSS template with full knowledge of the Single Event section and the current Customizer instance.
49
+ *
50
+ * @since 5.3.1
51
+ *
52
+ * @param string $template The CSS template, as produced by the Global Elements.
53
+ * @param Tribe__Customizer__Section $this The Single Event section.
54
+ * @param Tribe__Customizer $customizer The current Customizer instance.
55
+ */
56
+ return apply_filters( 'tribe_customizer_single_event_css_template', $template, $this, $customizer );
57
+ }
58
+
59
  if ( $customizer->has_option( $this->ID, 'post_title_color' ) ) {
60
  $template .= '
61
+ .single-tribe_events .tribe-events-single-event-title {
62
  color: <%= single_event.post_title_color %>;
63
  }
64
  ';
82
  }
83
 
84
  public function setup() {
85
+ $this->defaults = array(
86
+ 'post_title_color' => tribe_events_views_v2_is_enabled() ? '#141827' : '#333',
87
  'details_bg_color' => '#e5e5e5',
88
+ );
89
 
90
+ $description = tribe_events_views_v2_is_enabled()
91
+ ? esc_html__( 'These settings control the appearance of the single event pages.', 'the-events-calendar' )
92
+ : esc_html__( 'Options selected here will override what was selected in the "General Theme" and "Global Elements" sections.', 'the-events-calendar' );
93
 
94
  $this->arguments = [
95
  'priority' => 60,
109
  */
110
  public function register_settings( WP_Customize_Section $section, WP_Customize_Manager $manager ) {
111
  $customizer = Tribe__Customizer::instance();
112
+
113
+ // Add an heading that is a Control only in name: it does not, actually, control or save any setting.
114
  $manager->add_control(
115
  new Heading(
116
  $manager,
117
  $customizer->get_setting_name( 'post_title_heading', $section ),
118
  [
119
+ 'label' => esc_html__( 'Set Font Colors', 'the-events-calendar' ),
120
+ 'section' => $section->id,
121
+ 'priority' => 0,
122
  ]
123
  )
124
  );
146
  ]
147
  )
148
  );
149
+
150
+ // Add an heading that is a Control only in name: it does not, actually, control or save any setting.
151
  $manager->add_control(
152
  new Heading(
153
  $manager,
154
  $customizer->get_setting_name( 'details_bg_color_heading', $section ),
155
  [
156
+ 'label' => esc_html__( 'Adjust Appearance', 'the-events-calendar' ),
157
+ 'section' => $section->id,
158
+ 'priority' => 10,
159
  ]
160
  )
161
  );
src/Tribe/Event_Cleaner.php CHANGED
@@ -42,7 +42,7 @@ class Tribe__Events__Event_Cleaner {
42
  * @param array<string,mixed>|null $new_value The old value of the `tribe_events_calendar_options` option.
43
  *
44
  * @since 4.6.13
45
- * @since TBD Loosen the type-checking to avoid errors during option updates.
46
  */
47
  public function move_old_events_to_trash( $old_value = [], $new_value = [] ) {
48
  $old_value = (array) $old_value;
42
  * @param array<string,mixed>|null $new_value The old value of the `tribe_events_calendar_options` option.
43
  *
44
  * @since 4.6.13
45
+ * @since 5.3.0 Loosen the type-checking to avoid errors during option updates.
46
  */
47
  public function move_old_events_to_trash( $old_value = [], $new_value = [] ) {
48
  $old_value = (array) $old_value;
src/Tribe/Importer/File_Importer.php CHANGED
@@ -264,7 +264,7 @@ abstract class Tribe__Events__Importer__File_Importer {
264
  /**
265
  * Retrieves a value from the record.
266
  *
267
- * @since5.1.6 - modify to use has_value_by_key().
268
  *
269
  * @param array $record An event record from the import.
270
  * @param string $key The text of the key to find in the record array.
@@ -282,7 +282,7 @@ abstract class Tribe__Events__Importer__File_Importer {
282
  /**
283
  * Check if a key is found.
284
  *
285
- * @since5.1.6
286
  *
287
  * @param array $record An event record from the import.
288
  * @param string $key The text of the key to find in the record array.
264
  /**
265
  * Retrieves a value from the record.
266
  *
267
+ * @since 5.1.6 - modify to use has_value_by_key().
268
  *
269
  * @param array $record An event record from the import.
270
  * @param string $key The text of the key to find in the record array.
282
  /**
283
  * Check if a key is found.
284
  *
285
+ * @since 5.1.6
286
  *
287
  * @param array $record An event record from the import.
288
  * @param string $key The text of the key to find in the record array.
src/Tribe/Importer/File_Importer_Events.php CHANGED
@@ -445,7 +445,7 @@ class Tribe__Events__Importer__File_Importer_Events extends Tribe__Events__Impor
445
  /**
446
  * Get Post Text from Import or Existing Value using the provided field name and post field.
447
  *
448
- * @since5.1.6
449
  *
450
  * @param int $event_id The event id being updated by import.
451
  * @param array $record An event record from the import.
445
  /**
446
  * Get Post Text from Import or Existing Value using the provided field name and post field.
447
  *
448
+ * @since 5.1.6
449
  *
450
  * @param int $event_id The event id being updated by import.
451
  * @param array $record An event record from the import.
src/Tribe/Importer/File_Importer_Organizers.php CHANGED
@@ -40,7 +40,7 @@ class Tribe__Events__Importer__File_Importer_Organizers extends Tribe__Events__I
40
  * Build a organizer array for creation/update of the current imported organizer.
41
  *
42
  * @since 3.2
43
- * @since5.1.6 Adjust to prevent overwriting values that aren't mapped.
44
  *
45
  * @param int $organizer_id The ID of the organizer we're currently importing.
46
  * @param array $record An event record from the import.
@@ -70,7 +70,7 @@ class Tribe__Events__Importer__File_Importer_Organizers extends Tribe__Events__I
70
  * Allows filtering of main values before setting.
71
  * Return boolean false to prevent importing that value.
72
  *
73
- * @since5.1.6
74
  *
75
  * @param string $key The key for the value we'll be importing.
76
  * @param string $value The value we'll be importing.
@@ -122,7 +122,7 @@ class Tribe__Events__Importer__File_Importer_Organizers extends Tribe__Events__I
122
  /**
123
  * Allows filtering of record values before import.
124
  *
125
- * @since5.1.6
126
  *
127
  * @param array $organizer The array of organizer data we're modifying.
128
  * @param array $record The event record from the import.
40
  * Build a organizer array for creation/update of the current imported organizer.
41
  *
42
  * @since 3.2
43
+ * @since 5.1.6 Adjust to prevent overwriting values that aren't mapped.
44
  *
45
  * @param int $organizer_id The ID of the organizer we're currently importing.
46
  * @param array $record An event record from the import.
70
  * Allows filtering of main values before setting.
71
  * Return boolean false to prevent importing that value.
72
  *
73
+ * @since 5.1.6
74
  *
75
  * @param string $key The key for the value we'll be importing.
76
  * @param string $value The value we'll be importing.
122
  /**
123
  * Allows filtering of record values before import.
124
  *
125
+ * @since 5.1.6
126
  *
127
  * @param array $organizer The array of organizer data we're modifying.
128
  * @param array $record The event record from the import.
src/Tribe/Importer/File_Importer_Venues.php CHANGED
@@ -39,7 +39,7 @@ class Tribe__Events__Importer__File_Importer_Venues extends Tribe__Events__Impor
39
  * Build a venue array for creation/update of the current imported venue.
40
  *
41
  * @since 3.2
42
- * @since5.1.6 Adjust to prevent overwriting values that aren't mapped.
43
  *
44
  * @param int $venue_id The ID of the venue we're currently importing.
45
  * @param array <string,string> $record The event record from the import file. Only contains mapped values.
@@ -77,8 +77,6 @@ class Tribe__Events__Importer__File_Importer_Venues extends Tribe__Events__Impor
77
  $address_1 = trim( $this->get_value_by_key( $record, 'venue_address' ) );
78
  $address_2 = trim( $this->get_value_by_key( $record, 'venue_address2' ) );
79
  $value = ( empty( $address_2 ) ) ? $address_1 : $address_1 . ' ' . $address_2;
80
-
81
- continue;
82
  } else {
83
  $value = $this->get_value_by_key( $record, $key );
84
  }
@@ -87,7 +85,7 @@ class Tribe__Events__Importer__File_Importer_Venues extends Tribe__Events__Impor
87
  * Allows filtering of individual main values before setting.
88
  * Return boolean false to prevent importing that value.
89
 
90
- * @since5.1.6
91
  *
92
  * @param string $key The mapped key for the value we'll be importing.
93
  * From the $columns array above, this would be 'venue_name', for example.
@@ -123,7 +121,7 @@ class Tribe__Events__Importer__File_Importer_Venues extends Tribe__Events__Impor
123
  /**
124
  * Allows triggering using the default values set in the admin for imported venues.
125
  *
126
- * @since5.1.6
127
  * @param int $venue_id The ID of the venue we're currently importing.
128
  * @param array $venue The array of venue data we're modifying.
129
  * @param array <string,string> $record The event record from the import file. Only contains mapped values.
@@ -172,7 +170,7 @@ class Tribe__Events__Importer__File_Importer_Venues extends Tribe__Events__Impor
172
  * Note this will only set a value if it has been mapped, and it is empty.
173
  * If you are using the importer to erase values, you should NOT be triggering this!
174
  *
175
- * @since5.1.6
176
  *
177
  * @param array $venue The array of venue data we're modifying.
178
  * @param array <string,string> $record The event record from the import file. Only contains mapped values.
@@ -204,7 +202,7 @@ class Tribe__Events__Importer__File_Importer_Venues extends Tribe__Events__Impor
204
  * Also allows setting a value (specifically for imports) by filter
205
  * that is not set in the admin for manually-created venues.
206
  *
207
- * @since5.1.6
208
  *
209
  * @param string $value The default value as set in the admin "defaults" settings.
210
  * @param string $key The mapped key for the value we'll be importing.
39
  * Build a venue array for creation/update of the current imported venue.
40
  *
41
  * @since 3.2
42
+ * @since 5.1.6 Adjust to prevent overwriting values that aren't mapped.
43
  *
44
  * @param int $venue_id The ID of the venue we're currently importing.
45
  * @param array <string,string> $record The event record from the import file. Only contains mapped values.
77
  $address_1 = trim( $this->get_value_by_key( $record, 'venue_address' ) );
78
  $address_2 = trim( $this->get_value_by_key( $record, 'venue_address2' ) );
79
  $value = ( empty( $address_2 ) ) ? $address_1 : $address_1 . ' ' . $address_2;
 
 
80
  } else {
81
  $value = $this->get_value_by_key( $record, $key );
82
  }
85
  * Allows filtering of individual main values before setting.
86
  * Return boolean false to prevent importing that value.
87
 
88
+ * @since 5.1.6
89
  *
90
  * @param string $key The mapped key for the value we'll be importing.
91
  * From the $columns array above, this would be 'venue_name', for example.
121
  /**
122
  * Allows triggering using the default values set in the admin for imported venues.
123
  *
124
+ * @since 5.1.6
125
  * @param int $venue_id The ID of the venue we're currently importing.
126
  * @param array $venue The array of venue data we're modifying.
127
  * @param array <string,string> $record The event record from the import file. Only contains mapped values.
170
  * Note this will only set a value if it has been mapped, and it is empty.
171
  * If you are using the importer to erase values, you should NOT be triggering this!
172
  *
173
+ * @since 5.1.6
174
  *
175
  * @param array $venue The array of venue data we're modifying.
176
  * @param array <string,string> $record The event record from the import file. Only contains mapped values.
202
  * Also allows setting a value (specifically for imports) by filter
203
  * that is not set in the admin for manually-created venues.
204
  *
205
+ * @since 5.1.6
206
  *
207
  * @param string $value The default value as set in the admin "defaults" settings.
208
  * @param string $key The mapped key for the value we'll be importing.
src/Tribe/Main.php CHANGED
@@ -32,7 +32,7 @@ if ( ! class_exists( 'Tribe__Events__Main' ) ) {
32
  const VENUE_POST_TYPE = 'tribe_venue';
33
  const ORGANIZER_POST_TYPE = 'tribe_organizer';
34
 
35
- const VERSION = '5.3.0';
36
 
37
  /**
38
  * Min Pro Addon
32
  const VENUE_POST_TYPE = 'tribe_venue';
33
  const ORGANIZER_POST_TYPE = 'tribe_organizer';
34
 
35
+ const VERSION = '5.3.1';
36
 
37
  /**
38
  * Min Pro Addon
src/Tribe/Models/Post_Types/Organizer.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Models an Organizer.
4
  *
5
- * @since TBD
6
  *
7
  * @package Tribe\Events\Models\Post_Types
8
  */
@@ -14,7 +14,7 @@ use Tribe\Models\Post_Types\Base;
14
  /**
15
  * Class Organizer
16
  *
17
- * @since TBD
18
  *
19
  * @package Tribe\Events\Models\Post_Types
20
  */
@@ -23,7 +23,7 @@ class Organizer extends Base {
23
  /**
24
  * {@inheritDoc}
25
  *
26
- * @since TBD
27
  */
28
  protected function get_cache_slug() {
29
  return 'organizers';
@@ -32,7 +32,7 @@ class Organizer extends Base {
32
  /**
33
  * {@inheritDoc}
34
  *
35
- * @since TBD
36
  */
37
  protected function build_properties( $filter ) {
38
  try {
2
  /**
3
  * Models an Organizer.
4
  *
5
+ * @since 5.3.0
6
  *
7
  * @package Tribe\Events\Models\Post_Types
8
  */
14
  /**
15
  * Class Organizer
16
  *
17
+ * @since 5.3.0
18
  *
19
  * @package Tribe\Events\Models\Post_Types
20
  */
23
  /**
24
  * {@inheritDoc}
25
  *
26
+ * @since 5.3.0
27
  */
28
  protected function get_cache_slug() {
29
  return 'organizers';
32
  /**
33
  * {@inheritDoc}
34
  *
35
+ * @since 5.3.0
36
  */
37
  protected function build_properties( $filter ) {
38
  try {
src/Tribe/Organizer.php CHANGED
@@ -626,7 +626,7 @@ class Tribe__Events__Organizer extends Tribe__Events__Linked_Posts__Base {
626
  /**
627
  * {@inheritDoc}
628
  *
629
- * @since TBD Changed the method to return Organizer post objects, not just organizer names.
630
  */
631
  public static function get_fetch_callback( $event ) {
632
  $event = Tribe__Main::post_id_helper( $event );
@@ -636,7 +636,7 @@ class Tribe__Events__Organizer extends Tribe__Events__Linked_Posts__Base {
636
  *
637
  * Returning a non `null` value here will skip the default logic.
638
  *
639
- * @since TBD
640
  *
641
  * @param callable|null The fetch callback.
642
  * @param int $event The event post ID.
@@ -666,7 +666,7 @@ class Tribe__Events__Organizer extends Tribe__Events__Linked_Posts__Base {
666
  /**
667
  * Builds and returns a Closure to lazily fetch an event Organizer names.
668
  *
669
- * @since TBD Changed the name of this method from `get_fetch_callback` to `get_fetch_names_callback`.
670
  */
671
  public static function get_fetch_names_callback( $event ) {
672
  $event = Tribe__Main::post_id_helper( $event );
626
  /**
627
  * {@inheritDoc}
628
  *
629
+ * @since 5.3.0 Changed the method to return Organizer post objects, not just organizer names.
630
  */
631
  public static function get_fetch_callback( $event ) {
632
  $event = Tribe__Main::post_id_helper( $event );
636
  *
637
  * Returning a non `null` value here will skip the default logic.
638
  *
639
+ * @since 5.3.0
640
  *
641
  * @param callable|null The fetch callback.
642
  * @param int $event The event post ID.
666
  /**
667
  * Builds and returns a Closure to lazily fetch an event Organizer names.
668
  *
669
+ * @since 5.3.0 Changed the name of this method from `get_fetch_callback` to `get_fetch_names_callback`.
670
  */
671
  public static function get_fetch_names_callback( $event ) {
672
  $event = Tribe__Main::post_id_helper( $event );
src/Tribe/Views/V2/Assets.php CHANGED
@@ -35,7 +35,7 @@ class Assets extends \tad_DI52_ServiceProvider {
35
  /**
36
  * Key for the widget group of assets.
37
  *
38
- * @since TBD
39
  *
40
  * @var string
41
  */
@@ -57,7 +57,7 @@ class Assets extends \tad_DI52_ServiceProvider {
57
  * When loaded in no-conflict mode, then the jquery-ui-datepicker script bundled with WordPress will be
58
  * loaded before it.
59
  *
60
- * @since TBD
61
  *
62
  * @return bool Whether to load Views v2 datepicker in no conflict mode, loading the jquery-ui-datepicker
63
  * script before it, or not
@@ -69,7 +69,7 @@ class Assets extends \tad_DI52_ServiceProvider {
69
  * When loaded in no-conflict mode, then the jquery-ui-datepicker script bundled with WordPress will be
70
  * loaded before it.
71
  *
72
- * @since TBD
73
  *
74
  * @param bool $load_no_conflict_moode whether to load the Bootstrap datepicker in no-conflict mode in
75
  * the context of Views v2 or not.
35
  /**
36
  * Key for the widget group of assets.
37
  *
38
+ * @since 5.3.0
39
  *
40
  * @var string
41
  */
57
  * When loaded in no-conflict mode, then the jquery-ui-datepicker script bundled with WordPress will be
58
  * loaded before it.
59
  *
60
+ * @since 5.3.0
61
  *
62
  * @return bool Whether to load Views v2 datepicker in no conflict mode, loading the jquery-ui-datepicker
63
  * script before it, or not
69
  * When loaded in no-conflict mode, then the jquery-ui-datepicker script bundled with WordPress will be
70
  * loaded before it.
71
  *
72
+ * @since 5.3.0
73
  *
74
  * @param bool $load_no_conflict_moode whether to load the Bootstrap datepicker in no-conflict mode in
75
  * the context of Views v2 or not.
src/Tribe/Views/V2/Customizer.php ADDED
@@ -0,0 +1,696 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Handles Views v2 Customizer settings.
4
+ *
5
+ * @since 5.3.1
6
+ *
7
+ * @package Tribe\Events\Views\V2
8
+ */
9
+
10
+ namespace Tribe\Events\Views\V2;
11
+ use \WP_Customize_Control as Control;
12
+ use \WP_Customize_Color_Control as Color_Control;
13
+
14
+ /**
15
+ * Class Customizer
16
+ *
17
+ * @since 5.3.1
18
+ *
19
+ * @package Tribe\Events\Views\V2
20
+ */
21
+ class Customizer {
22
+ /**
23
+ * Adds new settings/controls to the Global Elements section via the hook in common.
24
+ *
25
+ * @since 5.3.1
26
+ *
27
+ * @param \Tribe__Customizer__Section $section The Global Elements Customizer section.
28
+ * @param WP_Customize_Manager $manager The settings manager.
29
+ * @param \Tribe__Customizer $customizer The Customizer object.
30
+ */
31
+ public function include_global_elements_settings( $section, $manager, $customizer ) {
32
+ // Event Title.
33
+ $manager->add_setting(
34
+ $customizer->get_setting_name( 'event_title_color', $section ),
35
+ [
36
+ 'default' => '#141827',
37
+ 'type' => 'option',
38
+ 'sanitize_callback' => 'sanitize_hex_color',
39
+ 'sanitize_js_callback' => 'maybe_hash_hex_color',
40
+ ]
41
+ );
42
+
43
+ $manager->add_control(
44
+ new Color_Control(
45
+ $manager,
46
+ $customizer->get_setting_name( 'event_title_color', $section ),
47
+ [
48
+ 'label' => esc_html__( 'Event Title', 'the-events-calendar' ),
49
+ 'section' => $section->id,
50
+ 'priority' => 8,
51
+ ]
52
+ )
53
+ );
54
+
55
+ // Event Date & Time.
56
+ $manager->add_setting(
57
+ $customizer->get_setting_name( 'event_date_time_color', $section ),
58
+ [
59
+ 'default' => '#141827',
60
+ 'type' => 'option',
61
+ 'sanitize_callback' => 'sanitize_hex_color',
62
+ 'sanitize_js_callback' => 'maybe_hash_hex_color',
63
+ ]
64
+ );
65
+
66
+ $manager->add_control(
67
+ new Color_Control(
68
+ $manager,
69
+ $customizer->get_setting_name( 'event_date_time_color', $section ),
70
+ [
71
+ 'label' => esc_html__( 'Event Date and Time', 'the-events-calendar' ),
72
+ 'description' => esc_html__( 'Main date and time display on views and single event pages.', 'the-events-calendar' ),
73
+ 'section' => $section->id,
74
+ 'priority' => 8,
75
+ ]
76
+ )
77
+ );
78
+
79
+ // Background Color.
80
+ $manager->add_setting(
81
+ $customizer->get_setting_name( 'background_color_choice', $section ),
82
+ [
83
+ 'default' => 'transparent',
84
+ 'type' => 'option',
85
+ 'sanitize_callback' => 'sanitize_key',
86
+ 'sanitize_js_callback' => 'sanitize_key',
87
+ ]
88
+ );
89
+
90
+ $manager->add_control(
91
+ new Control(
92
+ $manager,
93
+ $customizer->get_setting_name( 'background_color_choice', $section ),
94
+ [
95
+ 'label' => 'Background Color',
96
+ 'section' => $section->id,
97
+ 'description' => esc_html__( 'All calendar and event pages.', 'the-events-calendar' ),
98
+ 'type' => 'radio',
99
+ 'priority' => 12,
100
+ 'choices' => [
101
+ 'transparent' => esc_html__( 'Transparent', 'the-events-calendar' ),
102
+ 'custom' => esc_html__( 'Select Color', 'the-events-calendar' ),
103
+ ],
104
+ ]
105
+ )
106
+ );
107
+
108
+ $manager->add_setting(
109
+ $customizer->get_setting_name( 'background_color', $section ),
110
+ [
111
+ 'type' => 'option',
112
+ 'sanitize_callback' => 'sanitize_hex_color',
113
+ 'sanitize_js_callback' => 'maybe_hash_hex_color',
114
+ ]
115
+ );
116
+
117
+ $manager->add_control(
118
+ new Color_Control(
119
+ $manager,
120
+ $customizer->get_setting_name( 'background_color', $section ),
121
+ [
122
+ 'section' => $section->id,
123
+ 'priority' => 12,
124
+ 'active_callback' => function ( $control ) use ( $customizer, $section ) {
125
+ return 'custom' == $control->manager->get_setting( $customizer->get_setting_name( 'background_color_choice', $section ) )->value();
126
+ },
127
+ ]
128
+ )
129
+ );
130
+
131
+ // Accent Color.
132
+ $manager->add_setting(
133
+ $customizer->get_setting_name( 'accent_color', $section ),
134
+ [
135
+ 'type' => 'option',
136
+ 'sanitize_callback' => 'sanitize_hex_color',
137
+ 'sanitize_js_callback' => 'maybe_hash_hex_color',
138
+ ]
139
+ );
140
+ }
141
+
142
+ /**
143
+ * Adds new settings/controls to the Single Events section via the hook in common.
144
+ *
145
+ * @since 5.3.1
146
+ *
147
+ * @param \Tribe__Customizer__Section $section The Single Events Customizer section.
148
+ * @param WP_Customize_Manager $manager The settings manager.
149
+ * @param \Tribe__Customizer $customizer The Customizer object.
150
+ */
151
+ public function include_single_event_settings( $section, $manager, $customizer ) {
152
+ // Remove the old setting/control to refactor.
153
+ $manager->remove_setting( $customizer->get_setting_name( 'post_title_color', $section ) );
154
+ $manager->remove_control( $customizer->get_setting_name( 'post_title_color', $section ) );
155
+
156
+ // Register new control with option.
157
+ $manager->add_setting(
158
+ $customizer->get_setting_name( 'post_title_color_choice', $section ),
159
+ [
160
+ 'default' => 'general',
161
+ 'type' => 'option',
162
+ 'sanitize_callback' => 'sanitize_key',
163
+ 'sanitize_js_callback' => 'sanitize_key',
164
+ ]
165
+ );
166
+
167
+ $manager->add_control(
168
+ new Control(
169
+ $manager,
170
+ $customizer->get_setting_name( 'post_title_color_choice', $section ),
171
+ [
172
+ 'label' => esc_html__( 'Event Title', 'the-events-calendar' ),
173
+ 'section' => $section->id,
174
+ 'type' => 'radio',
175
+ 'priority' => 5,
176
+ 'choices' => [
177
+ 'general' => esc_html__( 'Use General', 'the-events-calendar' ),
178
+ 'custom' => esc_html__( 'Custom', 'the-events-calendar' ),
179
+ ],
180
+ ]
181
+ )
182
+ );
183
+
184
+ $manager->add_setting(
185
+ $customizer->get_setting_name( 'post_title_color', $section ),
186
+ [
187
+ 'default' => tribe_events_views_v2_is_enabled() ? '#141827' : '#333',
188
+ 'type' => 'option',
189
+ 'sanitize_callback' => 'sanitize_hex_color',
190
+ 'sanitize_js_callback' => 'maybe_hash_hex_color',
191
+ ]
192
+ );
193
+
194
+ $manager->add_control(
195
+ new Color_Control(
196
+ $manager,
197
+ $customizer->get_setting_name( 'post_title_color', $section ),
198
+ [
199
+ 'label' => esc_html__( 'Custom Color', 'the-events-calendar' ),
200
+ 'section' => $section->id,
201
+ 'priority' => 6,
202
+ 'active_callback' => function ( $control ) use ( $customizer, $section ) {
203
+ return 'custom' == $control->manager->get_setting( $customizer->get_setting_name( 'post_title_color_choice', $section ) )->value();
204
+ },
205
+ ]
206
+ )
207
+ );
208
+ }
209
+
210
+ /**
211
+ * Filters the Global Elements section CSS template to add Views v2 related style templates to it.
212
+ *
213
+ * @since 5.3.1
214
+ *
215
+ * @param string $css_template The CSS template, as produced by the Global Elements.
216
+ * @param \Tribe__Customizer__Section $section The Global Elements section.
217
+ * @param \Tribe__Customizer $customizer The current Customizer instance.
218
+ *
219
+ * @return string The filtered CSS template.
220
+ */
221
+ public function filter_global_elements_css_template( $css_template, $section, $customizer ) {
222
+ $settings = $customizer->get_option( [ $section->ID ] );
223
+
224
+ if ( $customizer->has_option( $section->ID, 'event_title_color' ) ) {
225
+ // Event Title overrides.
226
+ $css_template .= '
227
+ .single-tribe_events .tribe-events-single-event-title,
228
+ .tribe-events .tribe-events-calendar-list__event-title-link,
229
+ .tribe-events .tribe-events-calendar-list__event-title-link:active,
230
+ .tribe-events .tribe-events-calendar-list__event-title-link:visited,
231
+ .tribe-events .tribe-events-calendar-list__event-title-link:hover,
232
+ .tribe-events .tribe-events-calendar-list__event-title-link:focus,
233
+ .tribe-events .tribe-events-calendar-month__calendar-event-title-link,
234
+ .tribe-events .tribe-events-calendar-month__calendar-event-title-link:active,
235
+ .tribe-events .tribe-events-calendar-month__calendar-event-title-link:visited,
236
+ .tribe-events .tribe-events-calendar-month__calendar-event-title-link:hover,
237
+ .tribe-events .tribe-events-calendar-month__calendar-event-title-link:focus,
238
+ .tribe-events .tribe-events-calendar-month__multiday-event-bar-title,
239
+ .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-title-link,
240
+ .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-title-link:active,
241
+ .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-title-link:visited,
242
+ .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-title-link:hover,
243
+ .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-title-link:focus,
244
+ .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-title-link,
245
+ .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-title-link:active,
246
+ .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-title-link:visited,
247
+ .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-title-link:hover,
248
+ .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-title-link:focus,
249
+ .tribe-events .tribe-events-calendar-day__event-title-link,
250
+ .tribe-events .tribe-events-calendar-day__event-title-link:active,
251
+ .tribe-events .tribe-events-calendar-day__event-title-link:visited,
252
+ .tribe-events .tribe-events-calendar-day__event-title-link:hover,
253
+ .tribe-events .tribe-events-calendar-day__event-title-link:focus,
254
+ .tribe-events .tribe-events-calendar-latest-past__event-title-link,
255
+ .tribe-events .tribe-events-calendar-latest-past__event-title-link:active,
256
+ .tribe-events .tribe-events-calendar-latest-past__event-title-link:visited,
257
+ .tribe-events .tribe-events-calendar-latest-past__event-title-link:hover,
258
+ .tribe-events .tribe-events-calendar-latest-past__event-title-link:focus,
259
+ .tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-list__event-title-link:hover,
260
+ .tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-list__event-title-link:focus,
261
+ .tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__calendar-event-title-link:hover,
262
+ .tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__calendar-event-title-link:focus,
263
+ .tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-title-link:hover,
264
+ .tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-title-link:focus,
265
+ .tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-title-link:hover,
266
+ .tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-title-link:focus,
267
+ .tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-day__event-title-link:hover,
268
+ .tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-day__event-title-link:focus,
269
+ .tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-latest-past__event-title-link:hover,
270
+ .tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-latest-past__event-title-link:focus,
271
+ .tribe-theme-enfold#top .tribe-events .tribe-events-calendar-list__event-title-link,
272
+ .tribe-theme-enfold#top .tribe-events .tribe-events-calendar-month__calendar-event-title-link,
273
+ .tribe-theme-enfold#top .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-title-link,
274
+ .tribe-theme-enfold#top .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-title-link,
275
+ .tribe-theme-enfold#top .tribe-events .tribe-events-calendar-day__event-title-link,
276
+ .tribe-theme-enfold#top .tribe-events .tribe-events-calendar-latest-past__event-title-link {
277
+ color: <%= global_elements.event_title_color %>;
278
+ }
279
+
280
+ .tribe-events .tribe-events-calendar-list__event-title-link:active,
281
+ .tribe-events .tribe-events-calendar-list__event-title-link:hover,
282
+ .tribe-events .tribe-events-calendar-list__event-title-link:focus,
283
+ .tribe-events .tribe-events-calendar-month__calendar-event-title-link:active,
284
+ .tribe-events .tribe-events-calendar-month__calendar-event-title-link:hover,
285
+ .tribe-events .tribe-events-calendar-month__calendar-event-title-link:focus,
286
+ .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-title-link:active,
287
+ .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-title-link:hover,
288
+ .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-title-link:focus,
289
+ .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-title-link:active,
290
+ .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-title-link:hover,
291
+ .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-title-link:focus,
292
+ .tribe-events .tribe-events-calendar-day__event-title-link:active,
293
+ .tribe-events .tribe-events-calendar-day__event-title-link:hover,
294
+ .tribe-events .tribe-events-calendar-day__event-title-link:focus,
295
+ .tribe-events .tribe-events-calendar-latest-past__event-title-link:active,
296
+ .tribe-events .tribe-events-calendar-latest-past__event-title-link:hover,
297
+ .tribe-events .tribe-events-calendar-latest-past__event-title-link:focus {
298
+ border-color: <%= global_elements.event_title_color %>;
299
+ }
300
+ ';
301
+ }
302
+
303
+ if ( $customizer->has_option( $section->ID, 'event_date_time_color' ) ) {
304
+ // Event Date Time overrides.
305
+ $css_template .= '
306
+ .tribe-events-schedule h2,
307
+ .tribe-events .tribe-events-calendar-list__event-datetime,
308
+ .tribe-events .tribe-events-calendar-day__event-datetime,
309
+ .tribe-events .tribe-events-calendar-month__calendar-event-datetime,
310
+ .tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__calendar-event-datetime,
311
+ .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-datetime,
312
+ .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime,
313
+ .tribe-events .tribe-events-calendar-latest-past__event-datetime {
314
+ color: <%= global_elements.event_date_time_color %>;
315
+ }
316
+ ';
317
+ }
318
+
319
+ if ( $customizer->has_option( $section->ID, 'link_color' ) ) {
320
+ $css_template .= '
321
+ .tribe-events-single-event-description a,
322
+ .tribe-events-event-url a,
323
+ .tribe-venue-url a,
324
+ .tribe-organizer-url a,
325
+ .tribe-block__organizer__website a,
326
+ .tribe-block__venue__website a,
327
+ .tribe_events p a {
328
+ color: <%= global_elements.link_color %>;
329
+ }
330
+ ';
331
+ }
332
+
333
+ if (
334
+ $customizer->has_option( $section->ID, 'background_color_choice' )
335
+ && 'custom' === $customizer->get_option( [ $section->ID, 'background_color_choice' ] )
336
+ && $customizer->has_option( $section->ID, 'background_color' )
337
+ ) {
338
+ $css_template .= '
339
+ .tribe-events-view:not(.tribe-events-widget),
340
+ #tribe-events,
341
+ #tribe-events-pg-template {
342
+ background-color: <%= global_elements.background_color %>;
343
+ }
344
+ ';
345
+ }
346
+
347
+ if ( $customizer->has_option( $section->ID, 'accent_color' ) ) {
348
+ $accent_color = new \Tribe__Utils__Color( $settings['accent_color'] );
349
+ $accent_color_rgb = $accent_color::hexToRgb( $settings['accent_color'] );
350
+ $accent_css_rgb = $accent_color_rgb['R'] . ',' . $accent_color_rgb['G'] . ',' . $accent_color_rgb['B'];
351
+
352
+ $accent_color_hover = 'rgba(' . $accent_css_rgb . ',0.8)';
353
+ $accent_color_active = 'rgba(' . $accent_css_rgb . ',0.9)';
354
+ $accent_color_background = 'rgba(' . $accent_css_rgb . ',0.07)';
355
+ $accent_color_multiday = 'rgba(' . $accent_css_rgb . ',0.24)';
356
+ $accent_color_multiday_hover = 'rgba(' . $accent_css_rgb . ',0.34)';
357
+ $color_background = '#ffffff';
358
+
359
+ // overrides for common base/full/forms/_toggles.pcss.
360
+ $css_template .= '
361
+ .tribe-common .tribe-common-form-control-toggle__input:checked {
362
+ background-color: <%= global_elements.accent_color %>;
363
+ }
364
+ ';
365
+
366
+ // overrides for common base/full/typography/_ctas.pcss.
367
+ $css_template .= '
368
+ .tribe-common .tribe-common-cta--alt,
369
+ .tribe-common .tribe-common-cta--alt:active,
370
+ .tribe-common .tribe-common-cta--alt:hover,
371
+ .tribe-common .tribe-common-cta--alt:focus,
372
+ .tribe-common .tribe-common-cta--thin-alt,
373
+ .tribe-common .tribe-common-cta--thin-alt:active,
374
+ .tribe-common .tribe-common-cta--thin-alt:focus,
375
+ .tribe-common .tribe-common-cta--thin-alt:hover {
376
+ border-bottom-color: <%= global_elements.accent_color %>;
377
+ }
378
+ ';
379
+
380
+ $css_template .= '
381
+ .tribe-common .tribe-common-cta--alt:active,
382
+ .tribe-common .tribe-common-cta--alt:hover,
383
+ .tribe-common .tribe-common-cta--alt:focus,
384
+ .tribe-common .tribe-common-cta--thin-alt:active,
385
+ .tribe-common .tribe-common-cta--thin-alt:hover,
386
+ .tribe-common .tribe-common-cta--thin-alt:focus,
387
+ .tribe-theme-twentyseventeen .tribe-common .tribe-common-cta--alt:hover,
388
+ .tribe-theme-twentyseventeen .tribe-common .tribe-common-cta--alt:focus,
389
+ .tribe-theme-twentyseventeen .tribe-common .tribe-common-cta--thin-alt:hover,
390
+ .tribe-theme-twentyseventeen .tribe-common .tribe-common-cta--thin-alt:focus {
391
+ color: <%= global_elements.accent_color %>;
392
+ }
393
+ ';
394
+
395
+ // Overrides for common components/full/buttons/_border.pcss.
396
+ $css_template .= '
397
+ .tribe-common .tribe-common-c-btn-border:not(.tribe-common-c-btn-border--secondary):not(.tribe-common-c-btn-border--alt),
398
+ .tribe-common a.tribe-common-c-btn-border:not(.tribe-common-c-btn-border--secondary):not(.tribe-common-c-btn-border--alt) {
399
+ border-color: <%= global_elements.accent_color %>;
400
+ color: <%= global_elements.accent_color %>;
401
+ }
402
+ ';
403
+
404
+ $css_template .= '
405
+ .tribe-common .tribe-common-c-btn-border:not(.tribe-common-c-btn-border--secondary):not(.tribe-common-c-btn-border--alt):focus,
406
+ .tribe-common .tribe-common-c-btn-border:not(.tribe-common-c-btn-border--secondary):not(.tribe-common-c-btn-border--alt):hover,
407
+ .tribe-common a.tribe-common-c-btn-border:not(.tribe-common-c-btn-border--secondary):not(.tribe-common-c-btn-border--alt):focus,
408
+ .tribe-common a.tribe-common-c-btn-border:not(.tribe-common-c-btn-border--secondary):not(.tribe-common-c-btn-border--alt):hover {
409
+ color: ' . $color_background . ';
410
+ background-color: <%= global_elements.accent_color %>;
411
+ }
412
+ ';
413
+
414
+ $css_template .= '
415
+ .tribe-theme-twentyseventeen .tribe-common .tribe-common-c-btn-border:not(.tribe-common-c-btn-border--secondary):not(.tribe-common-c-btn-border--alt):focus,
416
+ .tribe-theme-twentyseventeen .tribe-common .tribe-common-c-btn-border:not(.tribe-common-c-btn-border--secondary):not(.tribe-common-c-btn-border--alt):hover,
417
+ background-color: <%= global_elements.accent_color %>;
418
+ }
419
+ ';
420
+
421
+ // overrides for common components/full/buttons/_solid.pcss.
422
+ $css_template .= '
423
+ .tribe-common .tribe-common-c-btn,
424
+ .tribe-common a.tribe-common-c-btn {
425
+ background-color: <%= global_elements.accent_color %>;
426
+ }
427
+ ';
428
+
429
+ $css_template .= '
430
+ .tribe-common .tribe-common-c-btn:focus,
431
+ .tribe-common .tribe-common-c-btn:hover,
432
+ .tribe-common a.tribe-common-c-btn:focus,
433
+ .tribe-common a.tribe-common-c-btn:hover {
434
+ background-color: ' . $accent_color_hover . ';
435
+ }
436
+ ';
437
+
438
+ $css_template .= '
439
+ .tribe-common .tribe-common-c-btn:active,
440
+ .tribe-common a.tribe-common-c-btn:active {
441
+ background-color: ' . $accent_color_active . ';
442
+ }
443
+ ';
444
+
445
+ $css_template .= '
446
+ .tribe-common .tribe-common-c-btn:disabled,
447
+ .tribe-common a.tribe-common-c-btn:disabled {
448
+ background-color: ' . $accent_color_background . ';
449
+ }
450
+ ';
451
+
452
+ // Override svg icons color.
453
+ $css_template .= '
454
+ .tribe-common .tribe-common-c-svgicon {
455
+ color: <%= global_elements.accent_color %>;
456
+ }
457
+ ';
458
+
459
+ $css_template .= '
460
+ .tribe-common .tribe-events-virtual-virtual-event__icon-svg {
461
+ color: <%= global_elements.accent_color %>;
462
+ }
463
+ ';
464
+
465
+ $css_template .= '
466
+ .tribe-theme-twentytwenty .tribe-common .tribe-common-c-btn {
467
+ background-color: <%= global_elements.accent_color %>;
468
+ }
469
+ ';
470
+
471
+ $css_template .= '
472
+ .tribe-theme-twentyseventeen .tribe-common .tribe-common-c-btn:hover,
473
+ .tribe-theme-twentyseventeen .tribe-common .tribe-common-c-btn:focus,
474
+ .tribe-theme-twentytwenty .tribe-common .tribe-common-c-btn:hover,
475
+ .tribe-theme-twentytwenty .tribe-common .tribe-common-c-btn:focus {
476
+ background-color: ' . $accent_color_hover . ';
477
+ }
478
+ ';
479
+
480
+ // overrides for tec components/full/_datepicker.pcss.
481
+ $css_template .= '
482
+ .tribe-events .datepicker .day.current,
483
+ .tribe-events .datepicker .month.current,
484
+ .tribe-events .datepicker .year.current,
485
+ .tribe-events .datepicker .day.current:hover,
486
+ .tribe-events .datepicker .day.current:focus,
487
+ .tribe-events .datepicker .day.current.focused,
488
+ .tribe-events .datepicker .month.current:hover,
489
+ .tribe-events .datepicker .month.current:focus,
490
+ .tribe-events .datepicker .month.current.focused,
491
+ .tribe-events .datepicker .year.current:hover,
492
+ .tribe-events .datepicker .year.current:focus,
493
+ .tribe-events .datepicker .year.current.focused {
494
+ background: ' . $accent_color_background . ';
495
+ }
496
+ ';
497
+
498
+ $css_template .= '
499
+ .tribe-events .datepicker .day.active,
500
+ .tribe-events .datepicker .month.active,
501
+ .tribe-events .datepicker .year.active,
502
+ .tribe-events .datepicker .day.active:hover,
503
+ .tribe-events .datepicker .day.active:focus,
504
+ .tribe-events .datepicker .day.active.focused,
505
+ .tribe-events .datepicker .month.active:hover,
506
+ .tribe-events .datepicker .month.active:focus,
507
+ .tribe-events .datepicker .month.active.focused,
508
+ .tribe-events .datepicker .year.active:hover,
509
+ .tribe-events .datepicker .year.active:focus,
510
+ .tribe-events .datepicker .year.active.focused {
511
+ background: <%= global_elements.accent_color %>;
512
+ }
513
+ ';
514
+
515
+ // overrides for tec components/full/_events-bar.pcss.
516
+ $css_template .= '
517
+ .tribe-events .tribe-events-c-events-bar__search-button:before {
518
+ background-color: <%= global_elements.accent_color %>;
519
+ }
520
+ ';
521
+
522
+ // overrides for tec components/full/_ical-link.pcss.
523
+ $css_template .= '
524
+ .tribe-events .tribe-events-c-ical__link {
525
+ border-color: <%= global_elements.accent_color %>;
526
+ color: <%= global_elements.accent_color %>;
527
+ }
528
+ ';
529
+
530
+ $css_template .= '
531
+ .tribe-events .tribe-events-c-ical__link:hover,
532
+ .tribe-events .tribe-events-c-ical__link:focus,
533
+ .tribe-events .tribe-events-c-ical__link:active {
534
+ background-color: <%= global_elements.accent_color %>;
535
+ }
536
+ ';
537
+
538
+ // overrides for tec components/full/_view-selector.pcss.
539
+ $css_template .= '
540
+ .tribe-events .tribe-events-c-view-selector__button:before {
541
+ background-color: <%= global_elements.accent_color %>;
542
+ }
543
+ ';
544
+
545
+ // overrides for tec views/full/list/_event.pcss.
546
+ $css_template .= '
547
+ .tribe-events .tribe-events-calendar-list__event-row--featured .tribe-events-calendar-list__event-date-tag-datetime:after {
548
+ background-color: <%= global_elements.accent_color %>;
549
+ }
550
+ ';
551
+
552
+ $css_template .= '
553
+ .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-datetime-featured-text {
554
+ color: <%= global_elements.accent_color %>;
555
+ }
556
+ ';
557
+
558
+ // overrides for tec views/full/month/_calendar-event.pcss.
559
+ $css_template .= '
560
+ .tribe-events .tribe-events-calendar-month__calendar-event--featured:before {
561
+ background-color: <%= global_elements.accent_color %>;
562
+ }
563
+ ';
564
+
565
+ // overrides for tec views/full/month/_day.pcss.
566
+ $css_template .= '
567
+ .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date,
568
+ .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link {
569
+ color: <%= global_elements.accent_color %>;
570
+ }
571
+ ';
572
+
573
+ $css_template .= '
574
+ .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:hover,
575
+ .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:focus {
576
+ color: ' . $accent_color_hover . ';
577
+ }
578
+ ';
579
+
580
+ $css_template .= '
581
+ .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:active {
582
+ color: ' . $accent_color_active . ';
583
+ }
584
+ ';
585
+
586
+ $css_template .= '
587
+ .tribe-events .tribe-events-calendar-month__day-cell--selected,
588
+ .tribe-events .tribe-events-calendar-month__day-cell--selected:hover,
589
+ .tribe-events .tribe-events-calendar-month__day-cell--selected:focus {
590
+ background-color: <%= global_elements.accent_color %>;
591
+ }
592
+ ';
593
+
594
+ $css_template .= '
595
+ .tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__day-date {
596
+ color: ' . $color_background . ';
597
+ }
598
+ ';
599
+
600
+ $css_template .= '
601
+ .tribe-events .tribe-events-calendar-month__mobile-events-icon--event {
602
+ background-color: <%= global_elements.accent_color %>;
603
+ }
604
+ ';
605
+
606
+ $css_template .= '
607
+ .tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:hover,
608
+ .tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:focus {
609
+ color: ' . $accent_color_hover . ';
610
+ }
611
+ ';
612
+
613
+ $css_template .= '
614
+ .tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:active {
615
+ color: ' . $accent_color_active . ';
616
+ }
617
+ ';
618
+
619
+ $css_template .= '
620
+ .tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day-cell--selected:hover,
621
+ .tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day-cell--selected:focus {
622
+ background-color: <%= global_elements.accent_color %>;
623
+ }
624
+ ';
625
+
626
+ $css_template .= '
627
+ .tribe-theme-twentytwenty .tribe-events .tribe-events-calendar-month__day-cell--selected {
628
+ background-color: <%= global_elements.accent_color %>;
629
+ }
630
+ ';
631
+
632
+ // overrides for tec views/full/month/_mobile-events.pcss.
633
+ $css_template .= '
634
+ .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime-featured-text {
635
+ color: <%= global_elements.accent_color %>;
636
+ }
637
+ ';
638
+
639
+ // overrides for tec views/full/month/_multiday-events.pcss.
640
+ $css_template .= '
641
+ .tribe-events .tribe-events-calendar-month__multiday-event-bar-inner {
642
+ background-color: ' . $accent_color_multiday . ';
643
+ }
644
+ ';
645
+
646
+ $css_template .= '
647
+ .tribe-events .tribe-events-calendar-month__multiday-event-bar-inner--hover,
648
+ .tribe-events .tribe-events-calendar-month__multiday-event-bar-inner--focus {
649
+ background-color: ' . $accent_color_multiday_hover . ';
650
+ }
651
+ ';
652
+
653
+ // overrides for tec views/full/day/_event.pcss.
654
+ $css_template .= '
655
+ .tribe-events .tribe-events-calendar-day__event--featured:after {
656
+ background-color: <%= global_elements.accent_color %>;
657
+ }
658
+ ';
659
+
660
+ $css_template .= '
661
+ .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-datetime-featured-text {
662
+ color: <%= global_elements.accent_color %>;
663
+ }
664
+ ';
665
+ }
666
+
667
+ return $css_template;
668
+ }
669
+
670
+ /**
671
+ * Filters the Single Event section CSS template to add Views v2 related style templates to it.
672
+ *
673
+ * @since 5.3.1
674
+ *
675
+ * @param string $css_template The CSS template, as produced by the Single Event.
676
+ * @param \Tribe__Customizer__Section $section The Single Event section.
677
+ * @param \Tribe__Customizer $customizer The current Customizer instance.
678
+ *
679
+ * @return string The filtered CSS template.
680
+ */
681
+ public function filter_single_event_css_template( $css_template, $section, $customizer ) {
682
+ if (
683
+ $customizer->has_option( $section->ID, 'post_title_color_choice' )
684
+ && 'custom' === $customizer->get_option( [ $section->ID, 'post_title_color_choice' ] )
685
+ && $customizer->has_option( $section->ID, 'post_title_color' )
686
+ ) {
687
+ $css_template .= '
688
+ .single-tribe_events .tribe-events-single-event-title {
689
+ color: <%= single_event.post_title_color %>;
690
+ }
691
+ ';
692
+ }
693
+
694
+ return $css_template;
695
+ }
696
+ }
src/Tribe/Views/V2/Hooks.php CHANGED
@@ -24,6 +24,7 @@ use Tribe\Events\Views\V2\Template\Featured_Title;
24
  use Tribe\Events\Views\V2\Template\Title;
25
  use Tribe\Events\Views\V2\Utils\View as View_Utils;
26
  use Tribe__Context as Context;
 
27
  use Tribe__Events__Main as TEC;
28
  use Tribe__Rewrite as TEC_Rewrite;
29
  use Tribe__Utils__Array as Arr;
@@ -65,6 +66,10 @@ class Hooks extends \tad_DI52_ServiceProvider {
65
  add_action( 'the_post', [ $this, 'manage_sensitive_info' ] );
66
  add_action( 'get_header', [ $this, 'print_single_json_ld' ] );
67
  add_action( 'tribe_template_after_include:events/v2/components/after', [ $this, 'action_add_promo_banner' ], 10, 3 );
 
 
 
 
68
  }
69
 
70
  /**
@@ -115,6 +120,12 @@ class Hooks extends \tad_DI52_ServiceProvider {
115
 
116
  add_filter( 'tribe_customizer_inline_stylesheets', [ $this, 'customizer_inline_stylesheets' ], 12, 2 );
117
  add_filter( 'tribe_events_views_v2_view_data', [ View_Utils::class, 'clean_data' ] );
 
 
 
 
 
 
118
  }
119
 
120
  /**
@@ -840,4 +851,80 @@ class Hooks extends \tad_DI52_ServiceProvider {
840
 
841
  return array_merge( $sheets, $v2_sheets );
842
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
843
  }
24
  use Tribe\Events\Views\V2\Template\Title;
25
  use Tribe\Events\Views\V2\Utils\View as View_Utils;
26
  use Tribe__Context as Context;
27
+ use Tribe__Customizer__Section as Customizer_Section;
28
  use Tribe__Events__Main as TEC;
29
  use Tribe__Rewrite as TEC_Rewrite;
30
  use Tribe__Utils__Array as Arr;
66
  add_action( 'the_post', [ $this, 'manage_sensitive_info' ] );
67
  add_action( 'get_header', [ $this, 'print_single_json_ld' ] );
68
  add_action( 'tribe_template_after_include:events/v2/components/after', [ $this, 'action_add_promo_banner' ], 10, 3 );
69
+
70
+ // Customizer.
71
+ add_action( 'tribe_customizer_register_global_elements_settings', [ $this, 'action_include_global_elements_settings' ], 10, 3 );
72
+ add_action( 'tribe_customizer_register_single_event_settings', [ $this, 'action_include_single_event_settings' ], 15, 3 );
73
  }
74
 
75
  /**
120
 
121
  add_filter( 'tribe_customizer_inline_stylesheets', [ $this, 'customizer_inline_stylesheets' ], 12, 2 );
122
  add_filter( 'tribe_events_views_v2_view_data', [ View_Utils::class, 'clean_data' ] );
123
+
124
+ // Customizer.
125
+ add_filter( 'tribe_customizer_print_styles_action', [ $this, 'print_inline_styles_in_footer' ] );
126
+ add_filter( 'tribe_customizer_global_elements_css_template', [ $this, 'filter_global_elements_css_template' ], 10, 3 );
127
+ add_filter( 'tribe_customizer_single_event_css_template', [ $this, 'filter_single_event_css_template' ], 10, 3 );
128
+
129
  }
130
 
131
  /**
851
 
852
  return array_merge( $sheets, $v2_sheets );
853
  }
854
+
855
+ /**
856
+ * Changes the action the Customizer should use to try and print inline styles to print the inline
857
+ * styles in the footer.
858
+ *
859
+ * @since 5.3.1
860
+ *
861
+ * @return string The action the Customizer should use to print inline styles.
862
+ */
863
+ public function print_inline_styles_in_footer() {
864
+ return 'wp_print_footer_scripts';
865
+ }
866
+
867
+ /**
868
+ * Adds new Global Elements settings via the hook in common.
869
+ *
870
+ * @since 5.3.1
871
+ *
872
+ * @param \Tribe__Customizer__Section $section The Global Elements Customizer section.
873
+ * @param WP_Customize_Manager $manager The settings manager.
874
+ * @param \Tribe__Customizer $customizer The Customizer object.
875
+ */
876
+ public function action_include_global_elements_settings( $section, $manager, $customizer ) {
877
+ $this->container->make( Customizer::class )->include_global_elements_settings( $section, $manager, $customizer );
878
+ }
879
+
880
+ /**
881
+ * Adds new Single Event settings via the hook in common.
882
+ *
883
+ * @since 5.3.1
884
+ *
885
+ * @param \Tribe__Customizer__Section $section The Single Event Customizer section.
886
+ * @param WP_Customize_Manager $manager The settings manager.
887
+ * @param \Tribe__Customizer $customizer The Customizer object.
888
+ */
889
+ public function action_include_single_event_settings( $section, $manager, $customizer ) {
890
+ $this->container->make( Customizer::class )->include_single_event_settings( $section, $manager, $customizer );
891
+ }
892
+
893
+ /**
894
+ * Filters the Global Elements section CSS template to add Views v2 related style templates to it.
895
+ *
896
+ * @since 5.3.1
897
+ *
898
+ * @param string $css_template The CSS template, as produced by the Global Elements.
899
+ * @param \Tribe__Customizer__Section $section The Global Elements section.
900
+ * @param \Tribe__Customizer $customizer The current Customizer instance.
901
+ *
902
+ * @return string The filtered CSS template.
903
+ */
904
+ public function filter_global_elements_css_template( $css_template, $section, $customizer ) {
905
+ if ( ! ( is_string( $css_template ) && $section instanceof Customizer_Section && $customizer instanceof \Tribe__Customizer ) ) {
906
+ return $css_template;
907
+ }
908
+
909
+ return $this->container->make( Customizer::class )->filter_global_elements_css_template( $css_template, $section, $customizer );
910
+ }
911
+
912
+ /**
913
+ * Filters the Single Event section CSS template to add Views v2 related style templates to it.
914
+ *
915
+ * @since 5.3.1
916
+ *
917
+ * @param string $css_template The CSS template, as produced by the Global Elements.
918
+ * @param \Tribe__Customizer__Section $section The Single Event section.
919
+ * @param \Tribe__Customizer $customizer The current Customizer instance.
920
+ *
921
+ * @return string The filtered CSS template.
922
+ */
923
+ public function filter_single_event_css_template( $css_template, $section, $customizer ) {
924
+ if ( ! ( is_string( $css_template ) && $section instanceof Customizer_Section && $customizer instanceof \Tribe__Customizer ) ) {
925
+ return $css_template;
926
+ }
927
+
928
+ return $this->container->make( Customizer::class )->filter_single_event_css_template( $css_template, $section, $customizer );
929
+ }
930
  }
src/Tribe/Views/V2/Service_Provider.php CHANGED
@@ -39,6 +39,7 @@ class Service_Provider extends \tad_DI52_ServiceProvider {
39
  $this->container->singleton( Rest_Endpoint::class, Rest_Endpoint::class );
40
  $this->container->singleton( Template\Settings\Advanced_Display::class, Template\Settings\Advanced_Display::class );
41
  $this->container->singleton( Template\JSON_LD::class, Template\JSON_LD::class );
 
42
 
43
  $this->register_hooks();
44
  $this->register_assets();
39
  $this->container->singleton( Rest_Endpoint::class, Rest_Endpoint::class );
40
  $this->container->singleton( Template\Settings\Advanced_Display::class, Template\Settings\Advanced_Display::class );
41
  $this->container->singleton( Template\JSON_LD::class, Template\JSON_LD::class );
42
+ $this->container->singleton( Customizer::class, Customizer::class );
43
 
44
  $this->register_hooks();
45
  $this->register_assets();
src/Tribe/Views/V2/Template/Event.php CHANGED
@@ -83,7 +83,7 @@ class Event {
83
  }
84
 
85
  if ( $this->template_bootstrap->is_single_event() ) {
86
- add_filter( 'the_title', '__return_empty_string' );
87
  add_filter( 'tribe_get_template_part_templates', '__return_empty_array' );
88
  }
89
 
@@ -182,4 +182,39 @@ class Event {
182
 
183
  return $event;
184
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
185
  }
83
  }
84
 
85
  if ( $this->template_bootstrap->is_single_event() ) {
86
+ add_filter( 'the_title', [ $this, 'filter_the_title_display' ], 10, 2 );
87
  add_filter( 'tribe_get_template_part_templates', '__return_empty_array' );
88
  }
89
 
182
 
183
  return $event;
184
  }
185
+
186
+ /**
187
+ * Filter the display of the_title for password protected events, venues, and organizers.
188
+ *
189
+ * @since 5.3.1
190
+ *
191
+ * @param string $title The post title.
192
+ * @param int|\WP_Post $post_id The post ID, or object, to apply the filter for.
193
+ *
194
+ * @return string The post title or empty string if password protected.
195
+ */
196
+ public function filter_the_title_display( $title, $post_id = 0 ) {
197
+ $post = get_post( $post_id );
198
+
199
+ if ( ! $post instanceof \WP_Post ) {
200
+ return $title;
201
+ }
202
+
203
+ if ( empty( $post->post_password ) ) {
204
+ return $title;
205
+ }
206
+
207
+ $post_type = get_post_type( $post_id );
208
+ $post_types = array(
209
+ \Tribe__Events__Main::POSTTYPE,
210
+ \Tribe__Events__Organizer::POSTTYPE,
211
+ \Tribe__Events__Venue::POSTTYPE,
212
+ );
213
+
214
+ if ( in_array( $post_type, $post_types, true ) ) {
215
+ return '';
216
+ }
217
+
218
+ return $title;
219
+ }
220
  }
src/Tribe/Views/V2/Url.php CHANGED
@@ -359,6 +359,15 @@ class Url {
359
  $a_args = array_diff_key( $a_args, array_combine( $ignore, $ignore ) );
360
  $b_args = array_diff_key( $b_args, array_combine( $ignore, $ignore ) );
361
 
 
 
 
 
 
 
 
 
 
362
  // Query vars might just be ordered differently, so we sort them.
363
  ksort( $a_args );
364
  ksort( $b_args );
359
  $a_args = array_diff_key( $a_args, array_combine( $ignore, $ignore ) );
360
  $b_args = array_diff_key( $b_args, array_combine( $ignore, $ignore ) );
361
 
362
+ // "Fix" the `eventDisplay` query argument transforming `default` to the actual default view slug.
363
+ $default_view_slug = tribe_get_option( 'viewOption', 'default' );
364
+ if ( isset( $a_args['eventDisplay'] ) && $a_args['eventDisplay'] === 'default' ) {
365
+ $a_args['eventDisplay'] = $default_view_slug;
366
+ }
367
+ if ( isset( $b_args['eventDisplay'] ) && $b_args['eventDisplay'] === 'default' ) {
368
+ $b_args['eventDisplay'] = 'list';
369
+ }
370
+
371
  // Query vars might just be ordered differently, so we sort them.
372
  ksort( $a_args );
373
  ksort( $b_args );
src/Tribe/Views/V2/View.php CHANGED
@@ -1166,7 +1166,7 @@ class View implements View_Interface {
1166
 
1167
  add_filter( 'tribe_repository_query_arg_offset_override', [ $this, 'filter_repository_query_arg_offset_override' ], 10, 2 );
1168
 
1169
- // Set's up category URL for all views.
1170
  if ( ! empty( $context_arr[ TEC::TAXONOMY ] ) ) {
1171
  $args[ TEC::TAXONOMY ] = $context_arr[ TEC::TAXONOMY ];
1172
  }
@@ -2309,7 +2309,7 @@ class View implements View_Interface {
2309
  * parse a View URL query arguments from its filtered URL. This will include all the modifications
2310
  * done to a View URL by other plugins and add-ons.
2311
  *
2312
- * @since TBD
2313
  *
2314
  * @return array<string,mixed> The current View URL args or an empty array if the View URL is empty
2315
  * or not valid..
1166
 
1167
  add_filter( 'tribe_repository_query_arg_offset_override', [ $this, 'filter_repository_query_arg_offset_override' ], 10, 2 );
1168
 
1169
+ // Sets up category URL for all views.
1170
  if ( ! empty( $context_arr[ TEC::TAXONOMY ] ) ) {
1171
  $args[ TEC::TAXONOMY ] = $context_arr[ TEC::TAXONOMY ];
1172
  }
2309
  * parse a View URL query arguments from its filtered URL. This will include all the modifications
2310
  * done to a View URL by other plugins and add-ons.
2311
  *
2312
+ * @since 5.3.0
2313
  *
2314
  * @return array<string,mixed> The current View URL args or an empty array if the View URL is empty
2315
  * or not valid..
src/Tribe/Views/V2/Views/Latest_Past_View.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * The Past Latest View.
4
  *
5
- * @since TBD
6
  * @package Tribe\Events\Views\V2\Views
7
  */
8
 
2
  /**
3
  * The Past Latest View.
4
  *
5
+ * @since 5.3.0
6
  * @package Tribe\Events\Views\V2\Views
7
  */
8
 
src/Tribe/Views/V2/Views/Month_View.php CHANGED
@@ -303,7 +303,7 @@ class Month_View extends By_Day_View {
303
  * The URL arguments will be used to build each day "View More" link URL and, while building each day URL,
304
  * the day date will be merged with these default arguments.
305
  *
306
- * @since TBD
307
  *
308
  * @param array<string,string|int|float> $default_day_url_args A default set of URL arguments that will be used to build
309
  * the View More link.
303
  * The URL arguments will be used to build each day "View More" link URL and, while building each day URL,
304
  * the day date will be merged with these default arguments.
305
  *
306
+ * @since 5.3.0
307
  *
308
  * @param array<string,string|int|float> $default_day_url_args A default set of URL arguments that will be used to build
309
  * the View More link.
src/Tribe/Views/V2/Views/Widgets/Widget_List_View.php CHANGED
@@ -32,7 +32,7 @@ class Widget_List_View extends Widget_View {
32
  /**
33
  * Sets up the View repository arguments from the View context or a provided Context object.
34
  *
35
- * @since TBD
36
  *
37
  * @param Context|null $context A context to use to setup the args, or `null` to use the View Context.
38
  *
@@ -50,7 +50,7 @@ class Widget_List_View extends Widget_View {
50
  /**
51
  * Overrides the base View method.
52
  *
53
- * @since TBD
54
  *
55
  * @return array<string,mixed> The Widget List View template vars, modified if required.
56
  */
@@ -87,7 +87,7 @@ class Widget_List_View extends Widget_View {
87
  /**
88
  * Overrides the base method to return an empty array, since the widget will not use breadcrubms.
89
  *
90
- * @since TBD
91
  *
92
  * @return array<array<string,string>> An empty array, the widget will not use breadcrumbs.
93
  */
32
  /**
33
  * Sets up the View repository arguments from the View context or a provided Context object.
34
  *
35
+ * @since 5.3.0
36
  *
37
  * @param Context|null $context A context to use to setup the args, or `null` to use the View Context.
38
  *
50
  /**
51
  * Overrides the base View method.
52
  *
53
+ * @since 5.3.0
54
  *
55
  * @return array<string,mixed> The Widget List View template vars, modified if required.
56
  */
87
  /**
88
  * Overrides the base method to return an empty array, since the widget will not use breadcrubms.
89
  *
90
+ * @since 5.3.0
91
  *
92
  * @return array<array<string,string>> An empty array, the widget will not use breadcrumbs.
93
  */
src/Tribe/Views/V2/Views/Widgets/Widget_View.php CHANGED
@@ -3,11 +3,12 @@
3
  * The Base Front End Widget View.
4
  *
5
  * @package Tribe\Events\Views\V2\Views\Widgets
6
- * @since TBD
7
  */
8
 
9
  namespace Tribe\Events\Views\V2\Views\Widgets;
10
 
 
11
  use Tribe\Events\Views\V2\View;
12
 
13
  /**
@@ -49,7 +50,7 @@ class Widget_View extends View {
49
  /**
50
  * Overrides the base View method.
51
  *
52
- * @since TBD
53
  *
54
  * @return array<string,mixed> The Widget View template vars, modified if required.
55
  */
@@ -61,6 +62,40 @@ class Widget_View extends View {
61
  return $template_vars;
62
  }
63
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  /**
65
  * {@inheritDoc}
66
  */
@@ -70,7 +105,7 @@ class Widget_View extends View {
70
  /**
71
  * Filters the HTML classes applied to a widget top-level container.
72
  *
73
- * @since TBD
74
  *
75
  * @param array $html_classes Array of classes used for this widget.
76
  * @param string $view_slug The current widget slug.
@@ -81,7 +116,7 @@ class Widget_View extends View {
81
  /**
82
  * Filters the HTML classes applied to a specific widget top-level container.
83
  *
84
- * @since TBD
85
  *
86
  * @param array $html_classes Array of classes used for this widget.
87
  * @param View $instance The current View object.
@@ -94,7 +129,7 @@ class Widget_View extends View {
94
  /**
95
  * Modify the setup the loop method to only set the repository arguments.
96
  *
97
- * @since TBD
98
  *
99
  * @param array|null $args An array of associative arguments used to setup the repository for the View.
100
  */
3
  * The Base Front End Widget View.
4
  *
5
  * @package Tribe\Events\Views\V2\Views\Widgets
6
+ * @since 5.3.0
7
  */
8
 
9
  namespace Tribe\Events\Views\V2\Views\Widgets;
10
 
11
+ use Tribe__Context as Context;
12
  use Tribe\Events\Views\V2\View;
13
 
14
  /**
50
  /**
51
  * Overrides the base View method.
52
  *
53
+ * @since 5.3.0
54
  *
55
  * @return array<string,mixed> The Widget View template vars, modified if required.
56
  */
62
  return $template_vars;
63
  }
64
 
65
+ /**
66
+ * Sets up the View repository arguments from the View context or a provided Context object.
67
+ *
68
+ * @since 4.9.3
69
+ *
70
+ * @param Context|null $context A context to use to setup the args, or `null` to use the View Context.
71
+ *
72
+ * @return array<string,mixed> The arguments, ready to be set on the View repository instance.
73
+ */
74
+ protected function setup_repository_args( Context $context = null ) {
75
+ $context = null !== $context ? $context : $this->context;
76
+ $args = parent::setup_repository_args( $context );
77
+
78
+ /**
79
+ * A widget-specific filter for repository args, based on widget slug.
80
+ * Allows other plugins to add/remove args for the repository pre-query.
81
+ *
82
+ * @param array<string,mixed> $args The arguments, ready to be set on the View repository instance.
83
+ * @param Tribe_Context $context The context to use to setup the args.
84
+ */
85
+ $args = apply_filters( "tribe_events_views_v2_widget_repository_args", $args, $context );
86
+
87
+ /**
88
+ * A widget-specific filter for repository args, based on widget slug.
89
+ * Allows other plugins to add/remove args for the repository pre-query.
90
+ *
91
+ * @param array<string,mixed> $args The arguments, ready to be set on the View repository instance.
92
+ * @param Tribe_Context $context The context to use to setup the args.
93
+ */
94
+ $args = apply_filters( "tribe_events_views_v2_{$this->get_slug()}_widget_repository_args", $args, $context );
95
+
96
+ return $args;
97
+ }
98
+
99
  /**
100
  * {@inheritDoc}
101
  */
105
  /**
106
  * Filters the HTML classes applied to a widget top-level container.
107
  *
108
+ * @since 5.3.0
109
  *
110
  * @param array $html_classes Array of classes used for this widget.
111
  * @param string $view_slug The current widget slug.
116
  /**
117
  * Filters the HTML classes applied to a specific widget top-level container.
118
  *
119
+ * @since 5.3.0
120
  *
121
  * @param array $html_classes Array of classes used for this widget.
122
  * @param View $instance The current View object.
129
  /**
130
  * Modify the setup the loop method to only set the repository arguments.
131
  *
132
+ * @since 5.3.0
133
  *
134
  * @param array|null $args An array of associative arguments used to setup the repository for the View.
135
  */
src/Tribe/Views/V2/Widgets/Admin_Template.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Widget Admin Template - handles the presentation on the widgets in the admin.
4
  *
5
- * @since TBD
6
  *
7
  * @package Tribe\Events\Views\V2\Widgets
8
  */
@@ -12,7 +12,7 @@ namespace Tribe\Events\Views\V2\Widgets;
12
  /**
13
  * Class Admin_Template
14
  *
15
- * @since TBD
16
  *
17
  * @package Tribe\Events\Views\V2\Widgets
18
  */
@@ -22,7 +22,7 @@ class Admin_Template extends \Tribe__Template {
22
  *
23
  * Sets the correct paths for templates in this plugin (as opposed to The Events Calendar).
24
  *
25
- * @since TBD
26
  */
27
  public function __construct() {
28
  $this->set_template_origin( tribe( 'tec.main' ) );
2
  /**
3
  * Widget Admin Template - handles the presentation on the widgets in the admin.
4
  *
5
+ * @since 5.3.0
6
  *
7
  * @package Tribe\Events\Views\V2\Widgets
8
  */
12
  /**
13
  * Class Admin_Template
14
  *
15
+ * @since 5.3.0
16
  *
17
  * @package Tribe\Events\Views\V2\Widgets
18
  */
22
  *
23
  * Sets the correct paths for templates in this plugin (as opposed to The Events Calendar).
24
  *
25
+ * @since 5.3.0
26
  */
27
  public function __construct() {
28
  $this->set_template_origin( tribe( 'tec.main' ) );
src/Tribe/Views/V2/Widgets/Compatibility.php CHANGED
@@ -9,7 +9,7 @@
9
  * * Pro Active V2 to V1 with constant ( Reverse )
10
  * * Pro Disabled V2 back to V1 with constant ( Default ) - not supported.
11
  *
12
- * @since TBD
13
  *
14
  * @package Tribe\Events\Pro\Views\V2\Widgets
15
  */
@@ -19,7 +19,7 @@ namespace Tribe\Events\Views\V2\Widgets;
19
  /**
20
  * Class Compatibility
21
  *
22
- * @since TBD
23
  *
24
  * @package Tribe\Events\Views\V2\Widgets
25
  */
@@ -46,7 +46,7 @@ class Compatibility {
46
  * This class lives here as it could support the v1 advanced list widget
47
  * turning back to the free widget.
48
  *
49
- * @since TBD
50
  */
51
  public function switch_compatibility() {
52
  if ( ! $this->is_v2_adv_list_widget() ) {
@@ -56,7 +56,7 @@ class Compatibility {
56
  /**
57
  * Allow filtering of whether the event list or the advanced event list widget should be primary.
58
  *
59
- * @since TBD
60
  *
61
  * @param bool $adv_primary Whether the advanced list widget is primary.
62
  */
@@ -76,7 +76,7 @@ class Compatibility {
76
  /**
77
  * Function that determines which version of the widget we should load based on the ECP version.
78
  *
79
- * @since TBD
80
  *
81
  * @return boolean
82
  */
@@ -91,7 +91,7 @@ class Compatibility {
91
  /**
92
  * Remap the widget id_base for the Pro Advanced List Widget.
93
  *
94
- * @since TBD
95
  *
96
  * @param array<string,mixed> $widget_areas An array of widgets areas with the saved widgets in each location.
97
  *
@@ -122,7 +122,7 @@ class Compatibility {
122
  /**
123
  * Merge the Event List and Advanced List Widget Options.
124
  *
125
- * @since TBD
126
  *
127
  * @param array<int,mixed> $widgets An array of saved widgets.
128
  *
9
  * * Pro Active V2 to V1 with constant ( Reverse )
10
  * * Pro Disabled V2 back to V1 with constant ( Default ) - not supported.
11
  *
12
+ * @since 5.3.0
13
  *
14
  * @package Tribe\Events\Pro\Views\V2\Widgets
15
  */
19
  /**
20
  * Class Compatibility
21
  *
22
+ * @since 5.3.0
23
  *
24
  * @package Tribe\Events\Views\V2\Widgets
25
  */
46
  * This class lives here as it could support the v1 advanced list widget
47
  * turning back to the free widget.
48
  *
49
+ * @since 5.3.0
50
  */
51
  public function switch_compatibility() {
52
  if ( ! $this->is_v2_adv_list_widget() ) {
56
  /**
57
  * Allow filtering of whether the event list or the advanced event list widget should be primary.
58
  *
59
+ * @since 5.3.0
60
  *
61
  * @param bool $adv_primary Whether the advanced list widget is primary.
62
  */
76
  /**
77
  * Function that determines which version of the widget we should load based on the ECP version.
78
  *
79
+ * @since 5.3.0
80
  *
81
  * @return boolean
82
  */
91
  /**
92
  * Remap the widget id_base for the Pro Advanced List Widget.
93
  *
94
+ * @since 5.3.0
95
  *
96
  * @param array<string,mixed> $widget_areas An array of widgets areas with the saved widgets in each location.
97
  *
122
  /**
123
  * Merge the Event List and Advanced List Widget Options.
124
  *
125
+ * @since 5.3.0
126
  *
127
  * @param array<int,mixed> $widgets An array of saved widgets.
128
  *
src/Tribe/Views/V2/Widgets/Service_Provider.php CHANGED
@@ -56,7 +56,7 @@ class Service_Provider extends \tad_DI52_ServiceProvider {
56
  /**
57
  * Registers the provider handling for compatibility hooks.
58
  *
59
- * @since TBD
60
  */
61
  protected function register_compatibility() {
62
  $compatiblity = new Compatibility();
@@ -112,7 +112,7 @@ class Service_Provider extends \tad_DI52_ServiceProvider {
112
  /**
113
  * Unregister the existing List Widget.
114
  *
115
- * @since TBD
116
  */
117
  public function unregister_list_widget() {
118
  unregister_widget( 'Tribe__Events__List_Widget' );
@@ -121,7 +121,7 @@ class Service_Provider extends \tad_DI52_ServiceProvider {
121
  /**
122
  * Filters the template vars for widget-specific items.
123
  *
124
- * @since TBD
125
  *
126
  * @param array<string,mixed> $template_vars The current template variables.
127
  *
56
  /**
57
  * Registers the provider handling for compatibility hooks.
58
  *
59
+ * @since 5.3.0
60
  */
61
  protected function register_compatibility() {
62
  $compatiblity = new Compatibility();
112
  /**
113
  * Unregister the existing List Widget.
114
  *
115
+ * @since 5.3.0
116
  */
117
  public function unregister_list_widget() {
118
  unregister_widget( 'Tribe__Events__List_Widget' );
121
  /**
122
  * Filters the template vars for widget-specific items.
123
  *
124
+ * @since 5.3.0
125
  *
126
  * @param array<string,mixed> $template_vars The current template variables.
127
  *
src/Tribe/Views/V2/Widgets/Widget_Abstract.php CHANGED
@@ -54,7 +54,7 @@ abstract class Widget_Abstract extends \Tribe\Widget\Widget_Abstract {
54
  * Setup the view for the widget.
55
  *
56
  * @since 5.2.1
57
- * @since TBD Correct asset enqueue method.
58
  *
59
  * @param array<string,mixed> $arguments The widget arguments, as set by the user in the widget string.
60
  */
@@ -95,7 +95,7 @@ abstract class Widget_Abstract extends \Tribe\Widget\Widget_Abstract {
95
  /**
96
  * Encapsulates and handles the logic for asset enqueues in it's own method.
97
  *
98
- * @since TBD
99
  *
100
  * @param \Tribe__Context $context Context we are using to build the view.
101
  * @param View_Interface $view Which view we are using the template on.
@@ -106,7 +106,7 @@ abstract class Widget_Abstract extends \Tribe\Widget\Widget_Abstract {
106
  /**
107
  * Run an action before we start enqueuing widget assets.
108
  *
109
- * @since TBD
110
  *
111
  * @param boolean $should_enqueue Whether assets are enqueued or not.
112
  * @param \Tribe__Context $context Context we are using to build the view.
@@ -122,7 +122,7 @@ abstract class Widget_Abstract extends \Tribe\Widget\Widget_Abstract {
122
  /**
123
  * Run an action for a specific widget before we start enqueuing widget assets.
124
  *
125
- * @since TBD
126
  *
127
  * @param boolean $should_enqueue Whether assets are enqueued or not.
128
  * @param \Tribe__Context $context Context we are using to build the view.
@@ -142,7 +142,7 @@ abstract class Widget_Abstract extends \Tribe\Widget\Widget_Abstract {
142
  /**
143
  * Run an action after we start enqueuing widget assets.
144
  *
145
- * @since TBD
146
  *
147
  * @param boolean $should_enqueue Whether assets are enqueued or not.
148
  * @param \Tribe__Context $context Context we are using to build the view.
@@ -158,7 +158,7 @@ abstract class Widget_Abstract extends \Tribe\Widget\Widget_Abstract {
158
  /**
159
  * Run an action for a specific widget after we start enqueuing widget assets.
160
  *
161
- * @since TBD
162
  *
163
  * @param boolean $should_enqueue Whether assets are enqueued or not.
164
  * @param \Tribe__Context $context Context we are using to build the view.
@@ -175,7 +175,7 @@ abstract class Widget_Abstract extends \Tribe\Widget\Widget_Abstract {
175
  /**
176
  * Enqueues the assets for widgets.
177
  *
178
- * @since TBD
179
  *
180
  * @param \Tribe__Context $context Context we are using to build the view.
181
  * @param View_Interface $view Which view we are using the template on.
@@ -188,7 +188,7 @@ abstract class Widget_Abstract extends \Tribe\Widget\Widget_Abstract {
188
  /**
189
  * Determines whether to enqueue assets for widgets.
190
  *
191
- * @since TBD
192
  *
193
  * @param \Tribe__Context $context Context we are using to build the view.
194
  * @param View_Interface $view Which view we are using the template on.
@@ -199,7 +199,7 @@ abstract class Widget_Abstract extends \Tribe\Widget\Widget_Abstract {
199
  /**
200
  * Allow other plugins to hook in here to alter the enqueue.
201
  *
202
- * @since TBD
203
  *
204
  * @param boolean $enqueue Should the widget assets be enqueued. Defaults to true.
205
  * @param \Tribe__Context $context Context we are using to build the view.
@@ -215,7 +215,7 @@ abstract class Widget_Abstract extends \Tribe\Widget\Widget_Abstract {
215
  /**
216
  * Allow other plugins to hook in here to alter the enqueue for a specific widget type.
217
  *
218
- * @since TBD
219
  *
220
  * @param boolean $enqueue Should the widget assets be enqueued.
221
  * @param \Tribe__Context $context Context we are using to build the view.
@@ -267,7 +267,7 @@ abstract class Widget_Abstract extends \Tribe\Widget\Widget_Abstract {
267
  /**
268
  * Returns the widget slug.
269
  *
270
- * @since TBD
271
  *
272
  * @return string The widget slug.
273
  */
@@ -328,7 +328,7 @@ abstract class Widget_Abstract extends \Tribe\Widget\Widget_Abstract {
328
  /**
329
  * Handles gathering the data for admin fields.
330
  *
331
- * @since TBD
332
  *
333
  * @param array<string,mixed> $arguments Current set of arguments.
334
  * @param int $field_name The ID of the field.
@@ -372,7 +372,7 @@ abstract class Widget_Abstract extends \Tribe\Widget\Widget_Abstract {
372
  /**
373
  * Massages the data before asking tribe_format_field_dependency() to create the dependency attributes.
374
  *
375
- * @since TBD
376
  *
377
  * @param array <string,mixed> $field The field info.
378
  *
54
  * Setup the view for the widget.
55
  *
56
  * @since 5.2.1
57
+ * @since 5.3.0 Correct asset enqueue method.
58
  *
59
  * @param array<string,mixed> $arguments The widget arguments, as set by the user in the widget string.
60
  */
95
  /**
96
  * Encapsulates and handles the logic for asset enqueues in it's own method.
97
  *
98
+ * @since 5.3.0
99
  *
100
  * @param \Tribe__Context $context Context we are using to build the view.
101
  * @param View_Interface $view Which view we are using the template on.
106
  /**
107
  * Run an action before we start enqueuing widget assets.
108
  *
109
+ * @since 5.3.0
110
  *
111
  * @param boolean $should_enqueue Whether assets are enqueued or not.
112
  * @param \Tribe__Context $context Context we are using to build the view.
122
  /**
123
  * Run an action for a specific widget before we start enqueuing widget assets.
124
  *
125
+ * @since 5.3.0
126
  *
127
  * @param boolean $should_enqueue Whether assets are enqueued or not.
128
  * @param \Tribe__Context $context Context we are using to build the view.
142
  /**
143
  * Run an action after we start enqueuing widget assets.
144
  *
145
+ * @since 5.3.0
146
  *
147
  * @param boolean $should_enqueue Whether assets are enqueued or not.
148
  * @param \Tribe__Context $context Context we are using to build the view.
158
  /**
159
  * Run an action for a specific widget after we start enqueuing widget assets.
160
  *
161
+ * @since 5.3.0
162
  *
163
  * @param boolean $should_enqueue Whether assets are enqueued or not.
164
  * @param \Tribe__Context $context Context we are using to build the view.
175
  /**
176
  * Enqueues the assets for widgets.
177
  *
178
+ * @since 5.3.0
179
  *
180
  * @param \Tribe__Context $context Context we are using to build the view.
181
  * @param View_Interface $view Which view we are using the template on.
188
  /**
189
  * Determines whether to enqueue assets for widgets.
190
  *
191
+ * @since 5.3.0
192
  *
193
  * @param \Tribe__Context $context Context we are using to build the view.
194
  * @param View_Interface $view Which view we are using the template on.
199
  /**
200
  * Allow other plugins to hook in here to alter the enqueue.
201
  *
202
+ * @since 5.3.0
203
  *
204
  * @param boolean $enqueue Should the widget assets be enqueued. Defaults to true.
205
  * @param \Tribe__Context $context Context we are using to build the view.
215
  /**
216
  * Allow other plugins to hook in here to alter the enqueue for a specific widget type.
217
  *
218
+ * @since 5.3.0
219
  *
220
  * @param boolean $enqueue Should the widget assets be enqueued.
221
  * @param \Tribe__Context $context Context we are using to build the view.
267
  /**
268
  * Returns the widget slug.
269
  *
270
+ * @since 5.3.0
271
  *
272
  * @return string The widget slug.
273
  */
328
  /**
329
  * Handles gathering the data for admin fields.
330
  *
331
+ * @since 5.3.0
332
  *
333
  * @param array<string,mixed> $arguments Current set of arguments.
334
  * @param int $field_name The ID of the field.
372
  /**
373
  * Massages the data before asking tribe_format_field_dependency() to create the dependency attributes.
374
  *
375
+ * @since 5.3.0
376
  *
377
  * @param array <string,mixed> $field The field info.
378
  *
src/Tribe/Views/V2/Widgets/Widget_List.php CHANGED
@@ -169,7 +169,7 @@ class Widget_List extends Widget_Abstract {
169
  /**
170
  * Get the options to use in a the limit dropdown.
171
  *
172
- * @since TBD
173
  *
174
  * @return array<string,mixed> An array of options with the text and value included.
175
  */
@@ -177,7 +177,7 @@ class Widget_List extends Widget_Abstract {
177
  /**
178
  * Filter the max limit of events to display in the List Widget.
179
  *
180
- * @since TBD
181
  *
182
  * @param int The max limit of events to display in the List Widget, default 10.
183
  */
@@ -218,7 +218,7 @@ class Widget_List extends Widget_Abstract {
218
  /**
219
  * Applies a filter to the args to context.
220
  *
221
- * @since TBD
222
  *
223
  * @param array<string,mixed> $alterations The alterations to make to the context.
224
  * @param array<string,mixed> $arguments Current set of arguments.
@@ -230,7 +230,7 @@ class Widget_List extends Widget_Abstract {
230
  * Empties the json_ld_data if jsonld_enable is false,
231
  * removing the need for additional checks in the template.
232
  *
233
- * @since TBD
234
  *
235
  * @param array<string,mixed> $template_vars The current template variables.
236
  *
@@ -250,7 +250,7 @@ class Widget_List extends Widget_Abstract {
250
  /**
251
  * Add full events list widget stylesheets to customizer styles array to check.
252
  *
253
- * @since TBD
254
  *
255
  * @param array<string> $sheets Array of sheets to search for.
256
  * @param string $css_template String containing the inline css to add.
169
  /**
170
  * Get the options to use in a the limit dropdown.
171
  *
172
+ * @since 5.3.0
173
  *
174
  * @return array<string,mixed> An array of options with the text and value included.
175
  */
177
  /**
178
  * Filter the max limit of events to display in the List Widget.
179
  *
180
+ * @since 5.3.0
181
  *
182
  * @param int The max limit of events to display in the List Widget, default 10.
183
  */
218
  /**
219
  * Applies a filter to the args to context.
220
  *
221
+ * @since 5.3.0
222
  *
223
  * @param array<string,mixed> $alterations The alterations to make to the context.
224
  * @param array<string,mixed> $arguments Current set of arguments.
230
  * Empties the json_ld_data if jsonld_enable is false,
231
  * removing the need for additional checks in the template.
232
  *
233
+ * @since 5.3.0
234
  *
235
  * @param array<string,mixed> $template_vars The current template variables.
236
  *
250
  /**
251
  * Add full events list widget stylesheets to customizer styles array to check.
252
  *
253
+ * @since 5.3.0
254
  *
255
  * @param array<string> $sheets Array of sheets to search for.
256
  * @param string $css_template String containing the inline css to add.
src/admin-views/widgets/components/checkbox.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  *
14
  * @var string $label Label for the checkbox.
15
  * @var string $value Value for the checkbox.
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  *
14
  * @var string $label Label for the checkbox.
15
  * @var string $value Value for the checkbox.
src/admin-views/widgets/components/dropdown.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  *
14
  * @var string $label Label for the dropdown.
15
  * @var string $value Value for the dropdown.
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  *
14
  * @var string $label Label for the dropdown.
15
  * @var string $value Value for the dropdown.
src/admin-views/widgets/components/fieldset.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @link http://m.tri.be/1aiy
13
  *
14
- * @version TBD
15
  *
16
  * @var string $label Title for the fieldset.
17
  * @var string $description Description for the fieldset.
11
  *
12
  * @link http://m.tri.be/1aiy
13
  *
14
+ * @version 5.3.0
15
  *
16
  * @var string $label Title for the fieldset.
17
  * @var string $description Description for the fieldset.
src/admin-views/widgets/components/radio.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  *
14
  * @var string $label Label for the radio group.
15
  * @var string $value Value for the radio group.
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  *
14
  * @var string $label Label for the radio group.
15
  * @var string $value Value for the radio group.
src/admin-views/widgets/components/section.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @link http://m.tri.be/1aiy
13
  *
14
- * @version TBD
15
  *
16
  * @var string $label Title for the section. (optional)
17
  * @var string $description Description for the section. (optional)
@@ -44,7 +44,7 @@ $section_classes = array_merge( [ 'tribe-widget-form-control', 'tribe-widget-for
44
  /**
45
  * Allows other plugins to hook in as needed to inject things that aren't necessarily an input.
46
  *
47
- * @since TBD
48
  *
49
  * @param array<array,mixed> $child The child "field" info.
50
  * @var Widget_Abstract $widget_obj An instance of the widget abstract.
11
  *
12
  * @link http://m.tri.be/1aiy
13
  *
14
+ * @version 5.3.0
15
  *
16
  * @var string $label Title for the section. (optional)
17
  * @var string $description Description for the section. (optional)
44
  /**
45
  * Allows other plugins to hook in as needed to inject things that aren't necessarily an input.
46
  *
47
+ * @since 5.3.0
48
  *
49
  * @param array<array,mixed> $child The child "field" info.
50
  * @var Widget_Abstract $widget_obj An instance of the widget abstract.
src/admin-views/widgets/components/text.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  *
14
  * @var string $label Label for the text input.
15
  * @var string $value Value for the text input.
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  *
14
  * @var string $label Label for the text input.
15
  * @var string $value Value for the text input.
src/admin-views/widgets/list.php CHANGED
@@ -12,7 +12,7 @@
12
  * @var Widget_Abstract $widget_obj An instance of the widget abstract.
13
  * @var array<array,mixed> $admin_fields An array of admin fields to display in the widget form.
14
  *
15
- * @version TBD
16
  */
17
 
18
  foreach ( $admin_fields as $field ) {
@@ -21,7 +21,7 @@ foreach ( $admin_fields as $field ) {
21
  /**
22
  * Allows other plugins to hook in as needed to inject things that aren't necessarily an input.
23
  *
24
- * @since TBD
25
  *
26
  * @param array<array,mixed> $field The "field" info.
27
  * @var Widget_Abstract $widget_obj An instance of the widget abstract.
12
  * @var Widget_Abstract $widget_obj An instance of the widget abstract.
13
  * @var array<array,mixed> $admin_fields An array of admin fields to display in the widget form.
14
  *
15
+ * @version 5.3.0
16
  */
17
 
18
  foreach ( $admin_fields as $field ) {
21
  /**
22
  * Allows other plugins to hook in as needed to inject things that aren't necessarily an input.
23
  *
24
+ * @since 5.3.0
25
  *
26
  * @param array<array,mixed> $field The "field" info.
27
  * @var Widget_Abstract $widget_obj An instance of the widget abstract.
src/functions/template-tags/general.php CHANGED
@@ -421,8 +421,9 @@ if ( class_exists( 'Tribe__Events__Main' ) ) {
421
  */
422
  function tribe_get_event_cat_ids( $post_id = 0 ) {
423
  $post_id = Tribe__Events__Main::postIdHelper( $post_id );
 
424
 
425
- return wp_list_pluck( (array) get_the_terms( $post_id, Tribe__Events__Main::TAXONOMY ), 'term_id' );
426
  }
427
 
428
  /**
@@ -435,7 +436,14 @@ if ( class_exists( 'Tribe__Events__Main' ) ) {
435
  */
436
  function tribe_get_event_cat_slugs( $post_id = 0 ) {
437
  $post_id = Tribe__Events__Main::postIdHelper( $post_id );
438
- $slugs = wp_list_pluck( (array) get_the_terms( $post_id, Tribe__Events__Main::TAXONOMY ), 'slug' );
 
 
 
 
 
 
 
439
 
440
  return apply_filters( 'tribe_get_event_cat_slugs', $slugs, $post_id );
441
  }
@@ -864,11 +872,11 @@ if ( class_exists( 'Tribe__Events__Main' ) ) {
864
 
865
  $event_origin = get_post_meta( get_the_ID(), '_EventOrigin', true );
866
  $show_cost = empty( $modules ) ||
867
- class_exists( 'Tribe__Events__Tickets__Eventbrite__Main' ) ||
868
- in_array(
869
- $event_origin,
870
- apply_filters( 'tribe_events_admin_show_cost_field_origin', [ 'community-events' ] )
871
- );
872
 
873
  return apply_filters( 'tribe_events_admin_show_cost_field', $show_cost, $modules );
874
  }
421
  */
422
  function tribe_get_event_cat_ids( $post_id = 0 ) {
423
  $post_id = Tribe__Events__Main::postIdHelper( $post_id );
424
+ $terms = array_filter( (array) get_the_terms( $post_id, Tribe__Events__Main::TAXONOMY ) );
425
 
426
+ return wp_list_pluck( $terms, 'term_id' );
427
  }
428
 
429
  /**
436
  */
437
  function tribe_get_event_cat_slugs( $post_id = 0 ) {
438
  $post_id = Tribe__Events__Main::postIdHelper( $post_id );
439
+ $terms = (array) get_the_terms( $post_id, Tribe__Events__Main::TAXONOMY );
440
+ $terms = array_filter(
441
+ $terms,
442
+ static function ( $term ) {
443
+ return $term instanceof WP_Term;
444
+ }
445
+ );
446
+ $slugs = wp_list_pluck( $terms, 'slug' );
447
 
448
  return apply_filters( 'tribe_get_event_cat_slugs', $slugs, $post_id );
449
  }
872
 
873
  $event_origin = get_post_meta( get_the_ID(), '_EventOrigin', true );
874
  $show_cost = empty( $modules ) ||
875
+ class_exists( 'Tribe__Events__Tickets__Eventbrite__Main' ) ||
876
+ in_array(
877
+ $event_origin,
878
+ apply_filters( 'tribe_events_admin_show_cost_field_origin', [ 'community-events' ] )
879
+ );
880
 
881
  return apply_filters( 'tribe_events_admin_show_cost_field', $show_cost, $modules );
882
  }
src/functions/template-tags/organizer.php CHANGED
@@ -548,7 +548,7 @@ if ( class_exists( 'Tribe__Events__Main' ) ) {
548
  /**
549
  * Fetches and returns a decorated post object representing a Organizer.
550
  *
551
- * @since TBD
552
  *
553
  * @param null|int|WP_Post $organizer The organizer ID or post object or `null` to use the global one.
554
  * @param string|null $output The required return type. One of `OBJECT`, `ARRAY_A`, or `ARRAY_N`, which
@@ -572,7 +572,7 @@ if ( class_exists( 'Tribe__Events__Main' ) ) {
572
  * Returning a non `null` value here will short-circuit the function and return the value.
573
  * Note: this value will not be cached and the caching of this value is a duty left to the filtering function.
574
  *
575
- * @since TBD
576
  *
577
  * @param mixed $return The organizer object to return.
578
  * @param mixed $organizer The organizer object to fetch.
@@ -609,7 +609,7 @@ if ( class_exists( 'Tribe__Events__Main' ) ) {
609
  * If you need to filter the output value on each call of this function then use the `tribe_get_organizer_object_before`
610
  * filter.
611
  *
612
- * @since TBD
613
  *
614
  * @param WP_Post $post The organizer post object, decorated with a set of custom properties.
615
  * @param string $output The output format to use.
548
  /**
549
  * Fetches and returns a decorated post object representing a Organizer.
550
  *
551
+ * @since 5.3.0
552
  *
553
  * @param null|int|WP_Post $organizer The organizer ID or post object or `null` to use the global one.
554
  * @param string|null $output The required return type. One of `OBJECT`, `ARRAY_A`, or `ARRAY_N`, which
572
  * Returning a non `null` value here will short-circuit the function and return the value.
573
  * Note: this value will not be cached and the caching of this value is a duty left to the filtering function.
574
  *
575
+ * @since 5.3.0
576
  *
577
  * @param mixed $return The organizer object to return.
578
  * @param mixed $organizer The organizer object to fetch.
609
  * If you need to filter the output value on each call of this function then use the `tribe_get_organizer_object_before`
610
  * filter.
611
  *
612
+ * @since 5.3.0
613
  *
614
  * @param WP_Post $post The organizer post object, decorated with a set of custom properties.
615
  * @param string $output The output format to use.
src/functions/views/provider.php CHANGED
@@ -121,7 +121,7 @@ function tribe_events_view_v2_use_period_repository() {
121
  * Note the internal logic is inverted, as the name of the function is "...is_enabled"
122
  * while the names of the constant/env_var are "...DISABLED".
123
  *
124
- * @since TBD
125
  *
126
  * @return bool Whether Widgets v2 should load.
127
  */
@@ -145,7 +145,7 @@ function tribe_events_widgets_v2_is_enabled() {
145
  /**
146
  * Allows toggling of the v2 widget views via a filter. Defaults to true.
147
  *
148
- * @since TBD
149
  *
150
  * @return boolean Do we enable the widget views?
151
  */
121
  * Note the internal logic is inverted, as the name of the function is "...is_enabled"
122
  * while the names of the constant/env_var are "...DISABLED".
123
  *
124
+ * @since 5.3.0
125
  *
126
  * @return bool Whether Widgets v2 should load.
127
  */
145
  /**
146
  * Allows toggling of the v2 widget views via a filter. Defaults to true.
147
  *
148
+ * @since 5.3.0
149
  *
150
  * @return boolean Do we enable the widget views?
151
  */
src/resources/css/app/event-links/frontend.min.css CHANGED
@@ -1 +1 @@
1
- .tribe-block__events-link{display:-webkit-box;display:flex;flex-wrap:wrap}.tribe-block__events-link .tribe-block__btn--link{background-color:transparent}.tribe-block__events-link .tribe-block__btn--link,.tribe-block__events-link .tribe-block__btn--link a{-webkit-box-align:center;align-items:center;display:-webkit-inline-box;display:inline-flex;-webkit-box-pack:center;justify-content:center}.tribe-block__events-link .tribe-block__btn--link a{border:1px solid #e1e3e6;color:#009fd4;font-weight:700;font-size:1rem;margin:10px 15px 10px 0;min-height:38px;padding:0 17px 0 14px}.tribe-block__events-link .tribe-block__btn--link img{-webkit-box-flex:0;flex:none;margin-right:7px;margin-bottom:2px}
1
+ .tribe-block__events-link{display:-webkit-box;display:flex;flex-wrap:wrap}.tribe-block__events-link .tribe-block__btn--link{background-color:transparent}.tribe-block__events-link .tribe-block__btn--link,.tribe-block__events-link .tribe-block__btn--link a{-webkit-box-align:center;align-items:center;display:-webkit-inline-box;display:inline-flex;-webkit-box-pack:center;justify-content:center}.tribe-block__events-link .tribe-block__btn--link a{background-color:#fff;border:1px solid #e1e3e6;color:#009fd4;font-weight:700;font-size:1rem;margin:10px 15px 10px 0;min-height:38px;padding:0 17px 0 14px}.tribe-block__events-link .tribe-block__btn--link img{-webkit-box-flex:0;flex:none;margin-right:7px;margin-bottom:2px}
src/resources/css/tribe-events-full.min.css CHANGED
@@ -1 +1 @@
1
- .tribe-events-event-cost{display:flex;align-items:center;float:none;margin:0 0 15px}.tribe-events-event-cost span{border:1px solid #ddd;display:block;font-style:normal;font-weight:700;line-height:1;padding:8px 12px;text-align:center;text-overflow:ellipsis}.tribe-events-event-cost .tribe-out-of-stock,.tribe-events-event-cost .tribe-tickets-left{background:#f0f0f0;border-left:none;color:#727272;font-style:italic;font-weight:400}.tribe-events-event-cost .tribe-ticket-cost{margin:0}.tribe-button,a.tribe-button,button.tribe-button,input.tribe-button{border-radius:3px;line-height:1;margin:10px;padding:9px 12px}.tribe-button.sold-out,a.tribe-button.sold-out,button.tribe-button.sold-out,input.tribe-button.sold-out{background:none;border:none;color:#a00}.tribe-button.sold-out:hover,a.tribe-button.sold-out:hover,button.tribe-button.sold-out:hover,input.tribe-button.sold-out:hover{cursor:default}#tribe-events-pg-template,.tribe-events-pg-template{margin:0 auto;max-width:1200px}.tribe-events-after-html{clear:both}#tribe-events .tribe-events-content p,.tribe-events-after-html p,.tribe-events-before-html p{line-height:1.7;margin:0 0 10px}#tribe-events-pg-template .tribe-events-content h1,#tribe-events-pg-template .tribe-events-content h2,#tribe-events-pg-template .tribe-events-content h3,#tribe-events-pg-template .tribe-events-content h4,#tribe-events-pg-template .tribe-events-content h5,#tribe-events-pg-template .tribe-events-content h6,.tribe-events-after-html h1,.tribe-events-after-html h2,.tribe-events-after-html h3,.tribe-events-after-html h4,.tribe-events-after-html h5,.tribe-events-after-html h6,.tribe-events-before-html h1,.tribe-events-before-html h2,.tribe-events-before-html h3,.tribe-events-before-html h4,.tribe-events-before-html h5,.tribe-events-before-html h6{line-height:1.7;margin:24px 0}#tribe-events-pg-template .tribe-events-content h1,.tribe-events-after-html h1,.tribe-events-before-html h1{font-size:21px;line-height:1.5}#tribe-events-pg-template .tribe-events-content h2,.tribe-events-after-html h2,.tribe-events-before-html h2{font-size:18px;line-height:1.6}#tribe-events-pg-template .tribe-events-content h3,.tribe-events-after-html h3,.tribe-events-before-html h3{font-size:16px;line-height:1.8}#tribe-events-pg-template .tribe-events-content h4,.tribe-events-after-html h4,.tribe-events-before-html h4{font-size:14px;line-height:1.8}#tribe-events-pg-template .tribe-events-content h5,.tribe-events-after-html h5,.tribe-events-before-html h5{font-size:13px;line-height:1.8}#tribe-events-pg-template .tribe-events-content h6,.tribe-events-after-html h6,.tribe-events-before-html h6{font-size:12px;line-height:1.8}#tribe-events-pg-template .tribe-events-content ul,.tribe-events-after-html ul,.tribe-events-before-html ul{list-style:disc outside}#tribe-events-pg-template .tribe-events-content ol,.tribe-events-after-html ol,.tribe-events-before-html ol{list-style:decimal outside}#tribe-events-pg-template .tribe-events-content ol li,#tribe-events-pg-template .tribe-events-content ul li,.tribe-events-after-html ol li,.tribe-events-after-html ul li,.tribe-events-before-html ol li,.tribe-events-before-html ul li{line-height:1.7;margin:0 0 20px}.tribe-events-back{margin:0 0 20px}.events-list .tribe-events-back.tribe-events-loop{margin:0 auto 20px}#tribe-events-content a,.tribe-events-adv-list-widget .tribe-events-widget-link a,.tribe-events-adv-list-widget .tribe-events-widget-link a:hover,.tribe-events-back a,.tribe-events-back a:hover,.tribe-events-event-meta a,.tribe-events-list-widget .tribe-events-widget-link a,.tribe-events-list-widget .tribe-events-widget-link a:hover,ul.tribe-events-sub-nav a,ul.tribe-events-sub-nav a:hover{text-decoration:none}#tribe-events .tribe-events-button,.tribe-events-button{*display:inline;background-color:#666;background-image:none;border-radius:3px;border:0;box-shadow:none;color:#fff;cursor:pointer;display:inline-block;font-size:11px;font-weight:700;letter-spacing:1px;line-height:normal;padding:6px 9px;text-align:center;text-decoration:none;text-transform:uppercase;vertical-align:middle;zoom:1}.tribe-events-button.tribe-active{background-color:#666;color:#fff}#tribe-events .tribe-events-button:hover,.tribe-events-button.tribe-active:hover,.tribe-events-button.tribe-inactive,.tribe-events-button:hover{background-color:#ddd;color:#444;text-decoration:none}a.tribe-events-gcal,a.tribe-events-ical{clear:both;color:#fff;float:right;font-size:10px;font-weight:400;line-height:18px;margin-top:21px;padding:0 6px;text-decoration:none}.tribe-events-gcal{margin-right:9px}.single-tribe_events a.tribe-events-gcal,.single-tribe_events a.tribe-events-ical{float:none}.tribe-events-event-meta-desc .tribe-events-gmap,.tribe-events-event-meta .tribe-events-gmap{white-space:nowrap}.event .entry-title{color:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;padding:inherit}.updated-info{height:0;text-indent:-9999px}.tribe-events-event-image{margin:0 0 20px;text-align:center}.tribe-events-event-image img{height:auto;max-width:100%}.tribe-events-schedule h2{display:inline-block;margin-bottom:0;font-size:1.2em;font-style:normal;font-weight:700;line-height:normal}.tribe-events-event-schedule-details{display:inline}.events-archive .entry-content,.events-archive .entry-header{width:98%}.events-archive footer.entry-header,.events-archive footer.entry-meta,.events-archive header.entry-header,.events-archive header.entry-meta,.events-archive span.edit-link,.single-tribe_events footer.entry-header,.single-tribe_events footer.entry-meta,.single-tribe_events header.entry-header,.single-tribe_events header.entry-meta,.single-tribe_organizer footer.entry-header,.single-tribe_organizer footer.entry-meta,.single-tribe_organizer header.entry-header,.single-tribe_organizer header.entry-meta,.single-tribe_venue footer.entry-header,.single-tribe_venue footer.entry-meta,.single-tribe_venue header.entry-header,.single-tribe_venue header.entry-meta{display:none}.tribe-events-notices{background:#d9edf7;border-radius:4px;border:1px solid #bce8f1;color:#3a87ad;margin:10px 0 18px;padding:8px 35px 8px 14px;text-shadow:0 1px 0 #fff}div.tribe-events-notices>ul,div.tribe-events-notices>ul>li{list-style:none;margin:0;padding:0}#tribe-events-content p.tribe-events-promo{color:#999;font-size:12px}#tribe-events-content p.tribe-events-promo a{color:#666}.clearfix,.tribe-clearfix{zoom:1}.clearfix:after,.clearfix:before,.tribe-clearfix:after,.tribe-clearfix:before{content:"";display:table}.clearfix:after,.tribe-clear,.tribe-clearfix:after{clear:both}.tribe-events-visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.tribe-hide-text{overflow:hidden;text-indent:100%;white-space:nowrap}.tribe-events-error{display:none}.tribe-events-multi-event-day{color:#0f81bb}#tribe-events-content .tribe-events-abbr{border-bottom:0;cursor:default}.tribe-events-spinner{height:32px;margin-left:-16px;width:32px}.tribe-events-spinner-medium{height:24px;width:24px}.tribe-events-spinner-small{height:16px;margin-left:-8px;width:16px}*+html .events-archive .tribe-events-page-title{padding-bottom:30px}*+html .events-archive .tribe-events-list .tribe-events-page-title{padding-bottom:0}*+html #tribe-events-header{margin-bottom:30px}.tribe-events-page-title{clear:none;font-size:24px;font-weight:400;margin-bottom:.5em;position:relative;text-align:center;z-index:0}.tribe-events-filter-view.events-list .tribe-events-page-title{width:100%;float:none}.tribe-events-page-title a{color:#000}.tribe-events-page-title a:focus,.tribe-events-page-title a:hover{color:#333;text-decoration:underline}#tribe-events-footer,#tribe-events-header{clear:both;margin-bottom:.5em}#tribe-events-footer .tribe-events-sub-nav,#tribe-events-header .tribe-events-sub-nav{line-height:normal;list-style-type:none;margin:0;overflow:hidden;padding:0;text-align:center}#tribe-events-footer .tribe-events-sub-nav li,#tribe-events-header .tribe-events-sub-nav li{*display:inline;display:inline-block;margin:0;vertical-align:middle;zoom:1}#tribe-events-footer .tribe-events-sub-nav .tribe-events-nav-previous,#tribe-events-footer .tribe-events-sub-nav li,#tribe-events-header .tribe-events-sub-nav .tribe-events-nav-previous,#tribe-events-header .tribe-events-sub-nav li{float:left;margin-right:5px;text-align:left}#tribe-events-footer .tribe-events-sub-nav .tribe-events-nav-next,#tribe-events-header .tribe-events-sub-nav .tribe-events-nav-next{float:right;margin-left:5px;text-align:right}#tribe-events-footer .tribe-events-sub-nav .tribe-events-nav-left,#tribe-events-header .tribe-events-sub-nav .tribe-events-nav-left{float:left;text-align:left}#tribe-events-footer .tribe-events-sub-nav .tribe-events-nav-right,#tribe-events-header .tribe-events-sub-nav .tribe-events-nav-right{float:right;text-align:right}.tribe-events-ajax-loading{background:#666;border-radius:5px;box-shadow:none;display:none;left:50%;margin-left:-27px;padding:15px;position:absolute;top:150px;z-index:10}.tribe-events-ajax-loading.tribe-events-active-spinner,.tribe-events-ajax-loading.tribe-events-active-spinner img,.tribe-events-loading .tribe-events-ajax-loading{display:block}#tribe-events-header{position:relative}#tribe-events-footer{margin-bottom:1em}.events-list #tribe-events-footer,.tribe-events-day #tribe-events-footer,.tribe-events-map #tribe-events-footer{clear:both;margin:1.25em 0 18px}.tribe-events-map #tribe-events-header{margin:1em 0}.single-tribe_events #tribe-events-header{margin:1em 0 20px}.single-tribe_events #tribe-events-footer li,.single-tribe_events #tribe-events-header li{width:48%}#tribe-events-content .tribe-events-nav-date{padding-top:16px}select.tribe-events-dropdown{font-size:11px;margin:33px 9px 0 0;width:auto}#tribe-events-events-picker,#tribe-events-picker{display:inline}#tribe-events-content{margin-bottom:48px;padding:2px 0;position:relative}#tribe-events-content.tribe-events-list{padding:0}.tribe-events-othermonth .tribe-events-month-event-title,.tribe-events-othermonth div[id*=tribe-events-daynum-]{-khtml-opacity:.4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";filter:alpha(opacity=40);opacity:.4}#tribe-events-content.tribe-events-list{margin-bottom:60px}.tribe-events-list .tribe-events-loop .tribe-event-featured{background:#0ea0d7;margin-bottom:2rem;padding:0 1.5rem 1rem}.tribe-events-list .tribe-events-loop .tribe-event-featured.tribe-events-first{padding-top:0}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-event-image{display:block;float:none;margin:0 -1.5rem;width:auto}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-list-event-title{display:inline-block;margin-top:1.5rem}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-list-event-title a{color:#fff}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-event-meta{background-color:transparent;color:hsla(0,0%,100%,.7);font-weight:400}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-content{color:hsla(0,0%,100%,.9)}.tribe-events-list .tribe-events-loop .tribe-event-featured a{color:hsla(0,0%,100%,.7)}.tribe-events-list .tribe-events-loop .tribe-event-featured a:active,.tribe-events-list .tribe-events-loop .tribe-event-featured a:hover{color:hsla(0,0%,100%,.9)}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-event-cost{display:flex;align-items:center;float:none;margin:30px 0}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-event-cost span{border:0;color:#fff;background:hsla(0,0%,100%,.1);display:block;font-style:normal;font-weight:700;line-height:1;padding:10px;text-align:center;text-overflow:ellipsis}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-event-cost .ticket-cost{background:hsla(0,0%,100%,.2)}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-event-cost .tribe-tickets-left{font-style:italic;font-weight:400;margin-left:1px}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-event-cost .tribe-out-of-stock{background:#f0f0f0;border-left:none;color:#727272;font-style:italic;font-weight:400}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-event-cost .tribe-ticket-cost{margin:0}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-event-cost .tribe-button{color:#000;font-weight:700}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-event-cost .tribe-button:hover{color:#0ea0d7}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-event-cost .tribe-button:active{color:#000}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-button{background:#fff;color:#0ea0d7}.tribe-events-list .tribe-events-loop .tribe-events-event-image{float:left;margin:0 3% 0 0;width:30%}.tribe-events-list .tribe-events-loop .tribe-events-content{width:100%}.tribe-events-list .tribe-events-list-event-title{border:none;display:inline-block;font-size:1.4em;letter-spacing:0;line-height:1.4em;margin:0;padding:0;text-transform:none}.tribe-events-list .type-tribe_events{border-bottom:1px solid #ddd;margin:0;padding:2.25em 0}.tribe-events-list .type-tribe_events.tribe-events-first{padding-top:0}.tribe-events-list .type-tribe_events.tribe-event-end-month{border-bottom:0;padding-bottom:0}.tribe-events-list .tribe-events-event-image{display:inline-block;float:left;margin:0 3% 0 0}.tribe-events-list .tribe-events-event-image img{height:auto;margin:0;padding:0;width:100%}.tribe-events-list .tribe-events-event-image+div.tribe-events-content{display:block;float:none;position:relative}.tribe-events-list .tribe-events-event-image+div.tribe-events-content.tribe-events-list-event-description{position:static}.tribe-events-list .tribe-events-loop .tribe-events-event-meta .recurringinfo{*display:inline;display:inline-block;zoom:1}.tribe-events-list .tribe-events-loop .tribe-events-event-meta .event-is-recurring{position:relative}.tribe-events-list .tribe-events-loop .tribe-events-event-meta .tribe-events-content{padding:0;width:100%}.tribe-events-list .time-details,.tribe-events-list .tribe-events-venue-details{display:block;line-height:1.2;margin:0}.tribe-events-list .time-details{margin:0 0 8px}.tribe-events-list .tribe-events-venue-details{margin:15px 0}.tribe-events-event-details .tribe-events-event-meta address.tribe-events-address{font-family:inherit;font-size:inherit;font-style:normal;line-height:inherit}.tribe-events-list-separator-year{color:#ccc;display:block;font-size:38px;font-weight:700;padding:1em 2.25em 0;text-align:center}.tribe-events-list-separator-month{background-color:#eee;display:block;font-size:14px;font-weight:700;margin:2.5em 0 0;padding:6px 10px;text-transform:uppercase}.tribe-events-list-separator-month+.type-tribe_events.tribe-events-first{padding-top:2.25em}.tribe-events-loop{clear:both}.tribe-events-loop .type-tribe_events.tribe-events-last{border-bottom:0}.tribe-events-loop .tribe-events-content{float:left;padding:0 5% 0 0;width:60%}.tribe-events-loop .tribe-events-event-meta{border:0;clear:both;float:none;font-size:14px;font-weight:700;line-height:1.5;margin:5px 0 15px;overflow:visible}.tribe-events-event-meta address.tribe-events-address{display:inline;font-family:inherit;font-size:inherit;font-style:normal;line-height:inherit;margin-right:10px}.single-tribe_venue .tribe-events-loop .tribe-events-content p{margin:0}.events-archive h3 .published,.single-tribe_venue h3 .published{font-size:18px;font-style:italic;margin-top:0;text-transform:none}.tribe-events-event-day,.tribe-events-event-meta-desc{color:#333}.venue-address{margin-top:1em}.venue-address>*{display:block;margin-top:.5em}.single-tribe_events .tribe-events-single-event-title{font-size:1.7em;line-height:1;margin:0;padding:0}.single-tribe_events .tribe-events-single-event-recurrence-description{align-items:center;display:flex;font-size:1em;margin:.5em 0 1.5em}.single-tribe_events .tribe-events-single-event-recurrence-description>img{height:1em}.single-tribe_events .tribe-events-single-event-recurrence-description>a{color:#009fd4;font-size:.8125em}.single-tribe_events .tribe-events-single-event-recurrence-description>*{margin-right:.4375em}#tribe-events-content .tribe-events-single-event-description .attachment-post-thumbnail{display:block;margin-left:auto;margin-right:auto;text-align:center}.tribe-events-meta-group .tribe-events-single-section-title{font-size:1.4em;font-weight:700;margin:20px 0 10px}.tribe-events-meta-group+.tribe-events-single-section-title{margin-top:0}.tribe-events-event-meta .tribe-events-meta-group address.tribe-events-address{display:block;margin:0}#eventbrite-embed{margin:24px 0;min-height:225px;width:100%}.eventbrite-ticket-embed{margin:0 0 30px}.tribe-events-schedule{margin:20px 0 0;vertical-align:middle}.single-tribe_events .tribe-events-schedule .recurringinfo,.single-tribe_events .tribe-events-schedule .tribe-events-cost,.single-tribe_events .tribe-events-schedule .tribe-events-divider{font-size:1.2em}.single-tribe_events .tribe-events-schedule h3{*display:inline;display:inline-block;font-size:1.2em;margin:0;padding:0;vertical-align:middle;white-space:nowrap;zoom:1}.single-tribe_events .tribe-events-schedule .tribe-events-cost{vertical-align:baseline}.single-tribe_events .tribe-events-event-image{clear:both;margin-bottom:30px;text-align:center}.single-tribe_events .tribe-events-cal-links{clear:both}.single-tribe_events .tribe-events-event-meta{background:#fafafa;border:1px solid #eee;margin:30px 0}.single-tribe_events .tribe-events-venue-map{background:#eee;border:1px solid #ddd;border-radius:3px;display:inline-block;float:right;margin:20px 4% 2% 0;padding:5px;vertical-align:top;width:90%;zoom:1}.single-tribe_events .tribe-events-meta-group+.tribe-events-meta-group+.tribe-events-meta-group-gmap{clear:both;display:block;float:none;width:auto}.single-tribe_events .tribe-events-meta-group+.tribe-events-meta-group+.tribe-events-meta-group-gmap .tribe-events-venue-map{float:none;width:100%}.single-tribe_events .secondary .tribe-events-venue-map{width:58%}.single-tribe_events .sidebar .secondary .tribe-events-venue-map{width:100%}.single-tribe_events .tribe-events-event-meta{font-size:13px}.single-tribe_events .tribe-events-event-meta dl{margin:0}.single-tribe_events #tribe-events-content .tribe-events-event-meta dt{clear:left;font-weight:700;line-height:1;list-style:none}.single-tribe_events #tribe-events-content .tribe-events-event-meta dd{float:none;line-height:1.5;list-style:none;margin:0 0 10px;padding:0}.tribe-events-event-meta .column,.tribe-events-event-meta .tribe-events-meta-group{box-sizing:border-box;display:inline-block;float:left;margin:0 0 20px;padding:0 4%;text-align:left;vertical-align:top;width:33.3333%;zoom:1}#tribe-events-content .tribe-events-event-meta dd span.adr{display:block}.single-tribe_events .tribe-events-content{max-width:100%;padding:0;width:100%}.sidebar.single-tribe_events .tribe-events-content{padding:0}.tribe-events-day .tribe-events-day-time-slot .tribe-events-day-time-slot-heading{background-color:#eee;font-size:14px;font-weight:700;margin:2.5em 0 0;padding:6px 10px;text-transform:uppercase}.tribe-events-day .tribe-events-day-time-slot .type-tribe_events{margin-left:5%}.tribe-events-day .tribe-event-featured{background:#0ea0d7;margin-bottom:2rem;padding:0 1.5rem 1rem}.tribe-events-day .tribe-event-featured .tribe-events-content{display:block;float:none;width:auto}.tribe-events-day .tribe-event-featured.tribe-events-first{padding-top:0}.tribe-events-day .tribe-event-featured .tribe-events-event-image{display:block;float:none;margin:0 -1.5rem;width:auto}.tribe-events-day .tribe-event-featured .tribe-events-list-event-title{display:inline-block;margin-top:1.5rem}.tribe-events-day .tribe-event-featured .tribe-events-list-event-title a{color:#fff}.tribe-events-day .tribe-event-featured .tribe-events-event-meta{background-color:transparent;color:hsla(0,0%,100%,.7);font-weight:400}.tribe-events-day .tribe-event-featured .tribe-events-content{color:hsla(0,0%,100%,.9)}.tribe-events-day .tribe-event-featured a{color:hsla(0,0%,100%,.7)}.tribe-events-day .tribe-event-featured a:active,.tribe-events-day .tribe-event-featured a:hover{color:hsla(0,0%,100%,.9)}.tribe-events-day .tribe-event-featured .tribe-events-event-cost{display:flex;align-items:center;float:none;margin:30px 0}.tribe-events-day .tribe-event-featured .tribe-events-event-cost span{border:0;color:#fff;background:hsla(0,0%,100%,.1);display:block;font-style:normal;font-weight:700;line-height:1;padding:10px;text-align:center;text-overflow:ellipsis}.tribe-events-day .tribe-event-featured .tribe-events-event-cost .ticket-cost{background:hsla(0,0%,100%,.2)}.tribe-events-day .tribe-event-featured .tribe-events-event-cost .tribe-tickets-left{font-style:italic;font-weight:400;margin-left:1px}.tribe-events-day .tribe-event-featured .tribe-events-event-cost .tribe-out-of-stock{background:#f0f0f0;border-left:none;color:#727272;font-style:italic;font-weight:400}.tribe-events-day .tribe-event-featured .tribe-events-event-cost .tribe-ticket-cost{margin:0}.tribe-events-day .tribe-event-featured .tribe-events-event-cost .tribe-button{color:#000;font-weight:700}.tribe-events-day .tribe-event-featured .tribe-events-event-cost .tribe-button:hover{color:#0ea0d7}.tribe-events-day .tribe-event-featured .tribe-events-event-cost .tribe-button:active{color:#000}.tribe-events-day .tribe-event-featured .tribe-button{background:#fff;color:#0ea0d7}.tribe-events-day .type-tribe_events{margin-left:0}.tribe-events-day .tribe-events-event-image{display:inline-block;float:left;margin:0 3% 0 0;width:30%}.tribe-events-day .tribe-events-content{display:inline-block;float:right;padding:0;width:67%}#tribe-events-content table.tribe-events-calendar{border-collapse:collapse;clear:both;font-size:12px;margin:12px 0 .6em;overflow:visible;table-layout:fixed;width:100%}#tribe-events-content table.tribe-events-calendar .type-tribe_events.tribe-event-featured{background:#0ea0d7;margin:0;padding:6px 14px;padding:6px calc(5% + 8px)}.events-archive.events-gridview #tribe-events-content table.tribe-events-calendar .type-tribe_events.tribe-event-featured{margin:0;padding:6px 14px;padding:6px calc(5% + 8px)}#tribe-events-content table.tribe-events-calendar .type-tribe_events.tribe-event-featured .tribe-events-month-event-title a{color:#fff}#tribe-events-content table.tribe-events-calendar .type-tribe_events.tribe-event-featured .tribe-events-month-event-title a:active,#tribe-events-content table.tribe-events-calendar .type-tribe_events.tribe-event-featured .tribe-events-month-event-title a:hover{color:#eee}#tribe-events-content .tribe-events-calendar td,#tribe-events-content table.tribe-events-calendar{border:1px solid #bbb}#tribe-events-content .tribe-events-calendar td{box-sizing:border-box;color:#114b7d;font-size:12px;height:145px;padding:0 0 .5em;vertical-align:top;width:14.28%}.tribe-events-calendar div[id*=tribe-events-daynum-],.tribe-events-calendar div[id*=tribe-events-daynum-] a{background-color:#f5f5f5;color:#333;font-size:11px;font-weight:700}.tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-],.tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-]>a{background-color:#666;color:#fff}.tribe-events-calendar td.tribe-events-past div[id*=tribe-events-daynum-],.tribe-events-calendar td.tribe-events-past div[id*=tribe-events-daynum-]>a{color:#999}.recurring-info-tooltip,.tribe-events-calendar .tribe-events-tooltip,.tribe-events-shortcode.view-week .tribe-events-tooltip,.tribe-events-week .tribe-events-tooltip{background-color:#f9f9f9;border:1px solid #666;bottom:30px;color:#333;display:none;left:3px;line-height:1.4;position:absolute;width:320px;z-index:1001}.tribe-events-tooltip .tribe-events-arrow{background-image:url(../images/tribe-tooltips.png);background-position:0 0;background-repeat:no-repeat;background-size:44px 19px;bottom:-11px;display:block;height:11px;left:20px;position:absolute;width:18px}.recurring-info-tooltip,.tribe-events-calendar .tribe-events-right .tribe-events-tooltip,.tribe-events-shortcode.view-week .tribe-events-right .tribe-events-tooltip,.tribe-events-week .tribe-events-right .tribe-events-tooltip{left:auto;right:3px}.tribe-events-right .tribe-events-tooltip .tribe-events-arrow{left:auto;right:30px}.tribe-events-tooltip ol,.tribe-events-tooltip ul{margin-left:1.6em}.tribe-events-tooltip .tribe-events-event-body .tribe-events-event-thumb img{max-height:150px;max-width:150px}.tribe-events-tooltip.tribe-events-tooltip-flipdown:before{border:10px solid transparent;border-bottom-color:#666;content:" ";display:block;height:0;left:17px;position:absolute;top:-21px;width:0;z-index:2}.tribe-events-tooltip.tribe-events-tooltip-flipdown .tribe-events-arrow{display:none}.tribe-events-right .tribe-events-tooltip.tribe-events-tooltip-flipdown:before{left:auto;right:43px}.recurringinfo{*display:inline;display:inline-block;position:relative;zoom:1}.event-is-recurring{color:rgba(0,0,0,.7);font-style:normal;font-weight:500;position:relative}.event-is-recurring:hover{color:#000}.tribe-event-featured .event-is-recurring{color:hsla(0,0%,100%,.7)}.tribe-event-featured .event-is-recurring:hover{color:#fff}.tribe-event-featured .event-is-recurring div{color:rgba(0,0,0,.7)}.recurring-info-tooltip.tribe-events-tooltip{left:10px;padding-bottom:.8em;width:200px}.events-archive.events-gridview #tribe-events-content table .type-tribe_events{border-bottom:1px solid #e7e7e7;margin:0 5%;padding:6px 8px}.events-archive.events-gridview #tribe-events-content table .tribe-events-last{border-bottom:0}.tribe-events-viewmore{border-top:1px solid #e7e7e7;font-weight:700;line-height:1;margin:0 5%;padding:9px 8px}.tribe-events-calendar td .tribe-events-viewmore a{font-size:90%;white-space:nowrap}.tribe-events-calendar td div[id*=tribe-events-daynum-]{line-height:1.2;padding:6px 9px}.tribe-events-calendar td a{font-size:91.7%}.tribe-events-calendar th{background-color:#ddd;color:#333;height:10px;letter-spacing:1px;padding:4px 0;text-align:center;text-transform:uppercase;width:14.28%}.tribe-events-calendar div[id*=tribe-events-daynum-],.tribe-events-calendar div[id*=tribe-events-event-]{margin:0;position:relative}.tribe-events-calendar div[id*=tribe-events-event-] h3.tribe-events-month-event-title a{font-size:100%}#tribe-events-content .tribe-events-calendar div[id*=tribe-events-event-] h3.tribe-events-month-event-title{font-family:sans-serif;font-size:98%;font-weight:400;line-height:1.25;margin:0;overflow:hidden;padding:3%;text-transform:none}#tribe-events-content .tribe-events-tooltip h4{background-color:#666;color:#fff;font-size:12px;font-weight:400;letter-spacing:1px;line-height:24px;margin:0;min-height:24px;padding:0 6px}.tribe-events-tooltip .tribe-events-event-body{font-size:11px;font-weight:400;padding:3px 6px 6px}.tribe-events-tooltip .duration{font-style:italic;margin:3px 0}.tribe-events-tooltip:not(.tribe-event-featured) .tribe-events-event-thumb{padding:5px 5px 5px 0}.tribe-events-tooltip.tribe-event-featured .tribe-events-event-thumb{padding:2px 0 8px}.tribe-events-tooltip .tribe-events-event-thumb{float:left}.tribe-events-tooltip .tribe-events-event-thumb img{box-shadow:none}.tribe-events-tooltip p.entry-summary{font-size:11px;line-height:1.5;padding:0}#tribe-mobile-container{display:none}.tribe-events-list-widget .tribe-list-widget{margin-left:0}.tribe-events-list-widget .tribe-events-list-widget-events{list-style:none;padding:0 1.5rem;margin-bottom:1.25rem}.tribe-events-list-widget .tribe-event-title{margin-bottom:.25rem;margin-top:0}.tribe-events-list-widget .duration{font-weight:700}.tribe-events-list-widget .tribe-event-featured{background:#0ea0d7;padding-bottom:.75rem}.tribe-events-list-widget .tribe-event-featured .tribe-event-title{margin-top:.75rem}.tribe-events-list-widget .tribe-event-featured .tribe-event-title a{color:#fff}.tribe-events-list-widget .tribe-event-featured .tribe-event-image{line-height:0;margin-left:-1.5rem;margin-right:-1.5rem;overflow:hidden}.tribe-events-list-widget .tribe-event-featured .tribe-event-duration{color:#fff}.datepicker table tr td span,.datepicker td{border-radius:0}.datepicker td{border-top:1px solid #ededed}.datepicker td,.datepicker th{word-break:normal}.datepicker table tr td.active.active,.datepicker table tr td span.active.active{background:#666}.datepicker table tr td.active.active:hover,.datepicker table tr td span.active.active:hover{background:#dadada;color:inherit}body.admin-bar .datepicker{margin-top:32px}#tribe-events-bar{clear:none;height:auto;margin-bottom:30px;min-width:220px;position:relative;width:100%}#tribe-events-bar *{box-sizing:border-box}#tribe-bar-form{background:#f5f5f5;margin:0;position:relative;width:100%}#tribe-bar-form input{font-size:15px;margin:0 4px 0 0}#tribe-bar-form input[type=text]{background:0;border:none;border-bottom:1px dashed #b9b9b9;border-radius:0;box-shadow:none;font-style:italic;font-weight:400;height:auto;line-height:1;padding:5px;width:100%}#tribe-bar-form input[type=text]:focus{border-bottom:none;outline:1px dashed #b9b9b9}#tribe-bar-form .tribe-bar-submit input[type=submit]{-webkit-appearance:button;background:#666;background-image:none;border:none;border-radius:0;color:#fff;font-size:13px;height:auto;letter-spacing:0;line-height:2;padding:10px;width:100%}#tribe-bar-form label{display:block;font-size:11px;font-weight:700;line-height:1;margin:0 0 5px;padding:0;text-transform:uppercase}#tribe-bar-form .tribe-bar-filters{float:left;margin:0;position:relative;width:100%}#tribe-bar-form .tribe-bar-filters-inner{margin:0}#tribe-bar-form .tribe-bar-views-inner label{padding:0 15px;text-align:left}#tribe-bar-filters-wrap{position:relative}input[name*=tribe-bar-]::-webkit-input-placeholder{color:#5f5f5f;font-style:italic;font-weight:400;line-height:1.3}input[name*=tribe-bar-]:-moz-placeholder{color:#5f5f5f;font-style:italic;font-weight:400;line-height:1.3}.tribe-event-placeholder{color:#5f5f5f;font-weight:400;font-style:italic;line-height:1.3}#tribe-bar-dates .select2-choice{border-bottom:1px dashed #b9b9b9}.tribe-bar-date-filter{float:left;margin-bottom:0;padding:15px;width:25%}.tribe-bar-search-filter{float:left;margin-bottom:0;padding:15px;width:33.3333%}.tribe-bar-submit{float:left;margin-bottom:0;margin-left:16.6667%;padding:15px;width:25%}.tribe-bar-submit input[type=submit]:hover{background:#999;color:#fff}.tribe-bar-views-inner{background:#e0e0e0;margin:0;padding:16px 0}#tribe-bar-views-toggle{border:0;background:transparent;color:#333;display:block;font-size:16px;font-family:inherit;font-weight:400;line-height:1;padding:6px 15px;position:relative;text-align:left;text-transform:none;width:100%}#tribe-bar-views-toggle:focus{outline:1px dotted}#tribe-bar-views-toggle:focus,#tribe-bar-views-toggle:hover{background:#cacaca}#tribe-bar-views-toggle:after{border:solid transparent;border-color:rgba(136,183,213,0);border-top-color:inherit;border-width:8px;content:" ";height:0;pointer-events:none;position:absolute;right:15px;top:10px;width:0}.tribe-bar-views-open #tribe-bar-views-toggle:after{border-bottom-color:inherit;border-top-color:transparent;top:0}.tribe-bar-collapse #tribe-bar-views-toggle{padding:10px 14px}.tribe-bar-collapse #tribe-bar-views-toggle:after{top:14px}#tribe-bar-views .tribe-bar-views-list{background:#e0e0e0;border-radius:0 0 3px 3px;display:none;left:0;margin:0;padding:5px 0 0;position:absolute;top:auto;width:100%;z-index:2}#tribe-bar-views .tribe-bar-views-option{display:block;color:#444;line-height:14px;margin:0;padding:6px 15px}#tribe-bar-views .tribe-bar-views-option:hover{cursor:pointer;background:#cacaca}#tribe-bar-views .tribe-bar-views-option:focus{outline:1px dotted}#tribe-bar-views .tribe-bar-views-option:last-child{border-radius:0 0 3px 3px}#tribe-bar-views .tribe-bar-views-option.tribe-bar-active{background:#cacaca}#tribe-bar-views .tribe-bar-settings{display:none}#tribe-bar-form.tribe-bar-mini *{font-size:12px}#tribe-bar-form.tribe-bar-mini label{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#tribe-bar-form.tribe-bar-mini .tribe-bar-submit input[type=submit]{-webkit-appearance:button;font-size:11px;padding:10px 5px}#tribe-bar-form.tribe-bar-mini .tribe-bar-date-filter,#tribe-bar-form.tribe-bar-mini .tribe-bar-search-filter,#tribe-bar-form.tribe-bar-mini .tribe-bar-submit{padding:10px}#tribe-bar-form.tribe-bar-mini .tribe-bar-views-list .tribe-bar-views-option a{padding:4px 15px}#tribe-bar-form.tribe-bar-mini .tribe-bar-views-inner{padding:12px 0}#tribe-bar-form.tribe-bar-mini .tribe-bar-views-inner label{padding:0 10px}#tribe-bar-form.tribe-bar-full.tribe-events-bar--has-views #tribe-bar-filters-wrap,#tribe-bar-form.tribe-bar-mini.tribe-events-bar--has-views #tribe-bar-filters-wrap{float:left;width:83.3333%}#tribe-bar-form.tribe-bar-full.tribe-events-bar--has-filters #tribe-bar-views,#tribe-bar-form.tribe-bar-mini.tribe-events-bar--has-filters #tribe-bar-views{position:relative;float:left;width:16.6667%}#tribe-bar-collapse-toggle{background:#f5f5f5;color:#333;display:none;width:100%;font-size:13px;font-weight:700;line-height:28px;padding:15px;position:relative;text-align:left;text-transform:uppercase;border:0}#tribe-bar-collapse-toggle:focus,#tribe-bar-collapse-toggle:hover{cursor:pointer;color:#fff;background:#666}#tribe-bar-collapse-toggle.tribe-bar-filters-open span.tribe-bar-toggle-arrow:after{border-bottom-color:inherit;border-top-color:transparent;top:0}#tribe-bar-collapse-toggle span.tribe-bar-toggle-arrow{display:inline-block;margin:0 4px;position:absolute;right:10px}#tribe-bar-collapse-toggle span.tribe-bar-toggle-arrow:after{border:solid transparent;border-color:rgba(136,183,213,0);border-top-color:inherit;border-width:8px;content:" ";height:0;pointer-events:none;position:absolute;right:0;top:10px;width:0}#tribe-bar-form.tribe-bar-collapse{background:transparent}#tribe-bar-form.tribe-bar-collapse #tribe-bar-collapse-toggle{display:block}#tribe-bar-form.tribe-bar-collapse .tribe-bar-filters{position:absolute;z-index:21;float:none;display:none;left:auto;padding-top:5px;overflow:hidden;right:auto;width:100%;background:#f5f5f5;box-shadow:0 0 5px rgba(0,0,0,.2)}#tribe-bar-form.tribe-bar-collapse .tribe-bar-filters-inner>div{width:100%}#tribe-bar-form.tribe-bar-collapse #tribe-bar-views{margin-top:10px}#tribe-bar-form.tribe-bar-collapse .tribe-bar-views-inner{padding:10px 0 0}.tribe-bar-disabled{float:right;position:relative;z-index:101}.tribe-bar-disabled .tribe-events-page-title{clear:none;line-height:45px;margin:0;text-align:left}.tribe-bar-disabled #tribe-events-bar{float:none;min-width:0;width:auto}.tribe-bar-disabled #tribe-bar-form{border-radius:3px;width:auto}.tribe-bar-disabled #tribe-bar-filters-wrap{float:left;min-width:120px;width:auto}.tribe-bar-disabled .tribe-bar-filters .tribe-bar-date-filter{padding:5px 10px}.tribe-bar-disabled #tribe-bar-form label{font-size:10px}.tribe-bar-disabled #tribe-bar-form .tribe-bar-filters input[type=text]{border:none;display:block;font-size:13px;line-height:1;margin:10px 0 0;padding:3px 0 0;width:100px}.tribe-bar-disabled #tribe-bar-form #tribe-bar-views{float:right;font-size:16px;left:50%;min-width:130px;padding:0;right:auto;width:50%}.tribe-bar-disabled .tribe-bar-views-inner{border-radius:0 3px 3px 0;min-width:100px;padding:5px 0 0;position:relative}.tribe-bar-disabled #tribe-bar-views .tribe-bar-views-list,.tribe-bar-disabled #tribe-bar-views .tribe-bar-views-list .tribe-bar-views-option{margin:0}.tribe-bar-disabled #tribe-bar-views .tribe-bar-views-list .tribe-bar-views-option a{margin:0;padding:4px 10px}.tribe-bar-disabled #tribe-bar-views .select2-container .select2-choice{font-size:13px;height:auto;line-height:18px}.tribe-bar-disabled .tribe-select2-results-views.select2-drop .select2-results li{padding:0 10px}.tribe-bar-disabled #tribe-bar-collapse-toggle,.tribe-bar-disabled .tribe-bar-submit{display:none}.tribe-bar-disabled .tribe-bar-date-filter,.tribe-events-uses-geolocation .tribe-bar-disabled .tribe-bar-date-filter{width:auto}.tribe-bar-views span[class^=tribe-icon-]{background-position:0 50%;background-repeat:no-repeat;display:inline-block;min-height:16px;padding-left:24px}.tribe-bar-views span.tribe-icon-month,.tribe-bar-views span[class^=tribe-icon-]{background-image:url(../images/events-bar/icon-month.png);background-size:15px 16px}.tribe-bar-views span.tribe-icon-list{background-image:url(../images/events-bar/icon-list.png);background-size:15px 10px}.tribe-bar-views span.tribe-icon-week{background-image:url(../images/events-bar/icon-week.png);background-size:15px 16px}.tribe-bar-views span.tribe-icon-day{background-image:url(../images/events-bar/icon-day.png);background-size:15px 16px}.tribe-bar-views span.tribe-icon-photo{background-image:url(../images/events-bar/icon-photo.png);background-size:15px 14px}.tribe-bar-views span.tribe-icon-map{background-image:url(../images/events-bar/icon-map.png);background-position:2px 50%;background-size:12px 16px}.tribe-events-week.tribe-theme-parent-twentyfourteen #masthead,.tribe-events-week.tribe-theme-twentyfourteen #masthead{z-index:1001}.tribe-theme-parent-twentyfourteen #tribe-events-pg-template #tribe-events,.tribe-theme-twentyfourteen #tribe-events-pg-template #tribe-events{padding:20px}.tribe-theme-parent-twentyfourteen #tribe-bar-views .tribe-bar-views-list,.tribe-theme-twentyfourteen #tribe-bar-views .tribe-bar-views-list{z-index:3}#tribe-events-content .tribe-updated{display:inherit}.tribe-theme-parent-twentyfifteen #tribe-events,.tribe-theme-twentyfifteen #tribe-events{background:#fff;margin:0 8.333%;padding-top:8.333%}.tribe-theme-parent-twentyfifteen .tribe-events-single-event-title,.tribe-theme-twentyfifteen .tribe-events-single-event-title{font-size:39px}.tribe-theme-parent-twentyfifteen.events-single.tribe-events-page-template #tribe-events-pg-template,.tribe-theme-twentyfifteen.events-single.tribe-events-page-template #tribe-events-pg-template{padding-top:8.3333%}.tribe-theme-parent-twentyfifteen.events-single.tribe-events-page-template #tribe-events-content,.tribe-theme-twentyfifteen.events-single.tribe-events-page-template #tribe-events-content{padding:8.3333% 10%}.tribe-theme-parent-twentyfifteen.single-tribe_events #tribe-events .tribe_events,.tribe-theme-twentyfifteen.single-tribe_events #tribe-events .tribe_events{box-shadow:none;margin-left:0;margin-right:0;padding-top:0}.tribe-theme-parent-twentyfifteen.single-tribe_events #tribe-events .tribe-events-schedule h2,.tribe-theme-twentyfifteen.single-tribe_events #tribe-events .tribe-events-schedule h2{display:inline-block;font-size:1.2em;margin:0}.tribe-theme-parent-twentyfifteen.single-tribe_events .tribe-events-single,.tribe-theme-twentyfifteen.single-tribe_events .tribe-events-single{box-shadow:none;margin:0}.tribe-theme-parent-twentyfifteen.tribe-events-week .tribe-events-grid .hentry,.tribe-theme-twentyfifteen.tribe-events-week .tribe-events-grid .hentry{margin-left:0;margin-right:0}.tribe-theme-parent-twentyfifteen .tribe-events-list-widget .type-tribe_events,.tribe-theme-twentyfifteen .tribe-events-list-widget .type-tribe_events{border-top:1px solid rgba(51,51,51,.1);box-shadow:none;margin-left:0;margin-right:0}.tribe-theme-parent-twentyfifteen .tribe-events-list-widget .entry-title,.tribe-theme-twentyfifteen .tribe-events-list-widget .entry-title{font-size:22px;line-height:1.4545}.tribe-theme-parent-twentyfifteen.tribe-events-page-template #tribe-events-content-wrapper,.tribe-theme-twentyfifteen.tribe-events-page-template #tribe-events-content-wrapper{padding:3.333%}.tribe-theme-parent-twentyfifteen .tribe-events-list .type-tribe_events,.tribe-theme-parent-twentyfifteen .tribe-events-list .type-tribe_events.tribe-events-first,.tribe-theme-twentyfifteen .tribe-events-list .type-tribe_events,.tribe-theme-twentyfifteen .tribe-events-list .type-tribe_events.tribe-events-first{padding:8.333% 10%}.tribe-theme-parent-twentyfifteen .tribe-events-list .time-details,.tribe-theme-parent-twentyfifteen .tribe-events-list .tribe-events-venue-details,.tribe-theme-twentyfifteen .tribe-events-list .time-details,.tribe-theme-twentyfifteen .tribe-events-list .tribe-events-venue-details{line-height:1.6}.tribe-theme-parent-twentyfifteen .tribe-events-day-time-slot .type-tribe_events,.tribe-theme-twentyfifteen .tribe-events-day-time-slot .type-tribe_events{margin-left:0}.tribe-theme-parent-twentyfifteen .type-tribe_events a.more-link,.tribe-theme-twentyfifteen .type-tribe_events a.more-link{display:none}.tribe-theme-parent-twentyfifteen .datepicker.dropdown-menu,.tribe-theme-twentyfifteen .datepicker.dropdown-menu{max-width:340px}.tribe-theme-parent-twentyfifteen .datepicker.dropdown-menu table,.tribe-theme-parent-twentyfifteen .datepicker.dropdown-menu table.table-condensed,.tribe-theme-twentyfifteen .datepicker.dropdown-menu table,.tribe-theme-twentyfifteen .datepicker.dropdown-menu table.table-condensed{border-left-width:0;border-top-width:0}.tribe-theme-parent-twentyfifteen .tribe-events-calendar td a,.tribe-theme-parent-twentyfifteen .tribe-events-nav-next a,.tribe-theme-parent-twentyfifteen .tribe-events-nav-previous a,.tribe-theme-parent-twentyfifteen ul.tribe-bar-views-list li a,.tribe-theme-twentyfifteen .tribe-events-calendar td a,.tribe-theme-twentyfifteen .tribe-events-nav-next a,.tribe-theme-twentyfifteen .tribe-events-nav-previous a,.tribe-theme-twentyfifteen ul.tribe-bar-views-list li a{border-bottom:none}.tribe-theme-parent-twentyfifteen.events-archive .entry-footer,.tribe-theme-parent-twentyfifteen.single-tribe_events .entry-footer,.tribe-theme-twentyfifteen.events-archive .entry-footer,.tribe-theme-twentyfifteen.single-tribe_events .entry-footer{display:none}.tribe-theme-parent-twentysixteen table.tribe-events-calendar,.tribe-theme-twentysixteen table.tribe-events-calendar{table-layout:auto}.tribe-theme-parent-twentysixteen .tribe-events-single-section-title:first-child,.tribe-theme-twentysixteen .tribe-events-single-section-title:first-child{margin-top:20px}.tribe-theme-parent-twentysixteen .tribe-events-content.entry-summary,.tribe-theme-twentysixteen .tribe-events-content.entry-summary{font-size:inherit;margin-bottom:0;margin-top:5px}.tribe-theme-parent-twentysixteen.events-archive .entry-content,.tribe-theme-parent-twentysixteen.events-archive .entry-header,.tribe-theme-twentysixteen.events-archive .entry-content,.tribe-theme-twentysixteen.events-archive .entry-header{width:auto}.tribe-theme-parent-twentysixteen .datepicker table,.tribe-theme-twentysixteen .datepicker table{border:0;width:auto}.tribe-theme-parent-twentysixteen .entry-content a,.tribe-theme-twentysixteen .entry-content a{box-shadow:none}.tribe-theme-parent-twentysixteen .tribe-events-list-event-title,.tribe-theme-twentysixteen .tribe-events-list-event-title{clear:none}.tribe-theme-twentyseventeen .entry-content a{box-shadow:none}.tribe-theme-twentyseventeen.single-tribe_events .single-featured-image-header{display:none}.tribe-theme-twentyseventeen.page-template-page-php.blog:not(.has-sidebar) #primary article{width:100%}.tribe-theme-twentynineteen .tribe-events-schedule h2:before,.tribe-theme-twentynineteen .tribe-events-tooltip h3.entry-title:before,.tribe-theme-twentynineteen h1.tribe-events-page-title:before,.tribe-theme-twentynineteen h2.tribe-events-day-time-slot-heading:before,.tribe-theme-twentynineteen h2.tribe-events-list-separator-month:before{content:none}.tribe-theme-twentynineteen #tribe-bar-form label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.tribe-theme-twentynineteen .tribe-bar-views-inner{padding:19px 0}.tribe-theme-twentynineteen #tribe-events .tribe-events-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.tribe-theme-twentynineteen.single-tribe_events .tribe-events-event-meta{background:none;border:0 none}.tribe-theme-twentynineteen.single-tribe_events .tribe-events-event-meta dt{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.tribe-theme-twentynineteen.single-tribe_events .tribe-events-event-meta .tribe-events-meta-group{padding-left:0}.tribe-theme-twentynineteen.single-tribe_events .tribe-events-event-meta .tribe-events-meta-group:last-of-type{padding-right:0}.tribe-theme-twentynineteen.single-tribe_events .tribe-events-event-meta .tribe-events-meta-group .tribe-events-single-section-title{font-size:1.7em}.tribe-theme-twentynineteen.single-tribe_events.tribe-events-page-template #tribe-events-content{padding-left:calc(10% + 60px);padding-right:calc(10% + 60px)}.tribe-theme-twentynineteen.single-tribe_events.tribe-events-page-template .entry{margin-top:2rem}.tribe-theme-twentynineteen .tribe-events-schedule{margin-bottom:.75em;margin-top:1.5em}.tribe-theme-twentynineteen .tribe-events-schedule h2{margin-top:0}.tribe-theme-twentynineteen .tribe-events-loop .tribe-events-event-meta{font-size:.9rem}.tribe-theme-twentynineteen #tribe-bar-views-toggle,.tribe-theme-twentynineteen .tribe-bar-views-option{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:.75rem}.tribe-theme-twentynineteen .tribe-events-tooltip .tribe-event-duration{font-family:NonBreakingSpaceOverride,Hoefler Text,Baskerville Old Face,Garamond,Times New Roman,serif;font-size:.85rem}.tribe-theme-twentynineteen .tribe-events-tooltip .tribe-event-description{font-family:NonBreakingSpaceOverride,Hoefler Text,Baskerville Old Face,Garamond,Times New Roman,serif;font-size:.65rem}.tribe-theme-twentynineteen .tribe-events-tooltip h3.entry-title{font-size:1rem}.tribe-theme-twentytwenty .tribe-events-tooltip h3.entry-title{font-size:2.4rem;margin:0}.screen-reader-text{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px;word-wrap:normal!important}@media screen and (max-width:767px){.single-tribe_events .secondary .tribe-events-venue-map{width:90%}.tribe-bar-submit{margin-left:0}}@media screen and (min-width:44.375em){.tribe-events-day .tribe-events-content{margin-left:0;margin-right:0}}@media screen{#tribe-events-content .tribe-events-tooltip ol,#tribe-events-content .tribe-events-tooltip ul{margin-left:1.6em}}@media screen and (max-width:782px){body.admin-bar .datepicker{margin-top:46px}}@media screen and (min-width:1000px){.tribe-theme-parent-twentyfourteen #tribe-events-pg-template,.tribe-theme-twentyfourteen #tribe-events-pg-template{padding-left:220px}}@media screen and (max-width:400px){.list-view.events-archive .site-content .type-page .entry-content{display:inline;display:initial}}@media (-o-min-device-pixel-ratio:2/1),(-webkit-min-device-pixel-ratio:2),(min--moz-device-pixel-ratio:2),(min-device-pixel-ratio:2){.tribe-events-tooltip .tribe-events-arrow{background-image:url(../images/tribe-tooltips@2x.png)}#tribe-bar-filters .tribe-bar-button-search .tribe-bar-btn-small{background-image:url(../images/events-bar/icon-search@2x.png)}#tribe-events-bar .tribe-bar-button-settings span{background-image:url(../images/events-bar/icon-gear@2x.png)}#tribe-events-bar [class^=tribe-bar-button-]:after{background-image:url(../../../common/vendor/tribe-select2/select2x2.png)}.tribe-bar-views span[class^=tribe-icon-]{background-image:url(../images/events-bar/icon-month@2x.png)}.tribe-bar-views span.tribe-icon-list{background-image:url(../images/events-bar/icon-list@2x.png)}.tribe-bar-views span.tribe-icon-month{background-image:url(../images/events-bar/icon-month@2x.png)}.tribe-bar-views span.tribe-icon-week{background-image:url(../images/events-bar/icon-week@2x.png)}.tribe-bar-views span.tribe-icon-day{background-image:url(../images/events-bar/icon-day@2x.png)}.tribe-bar-views span.tribe-icon-photo{background-image:url(../images/events-bar/icon-photo@2x.png)}.tribe-bar-views span.tribe-icon-map{background-image:url(../images/events-bar/icon-map@2x.png)}}
1
+ .tribe-events-event-cost{display:flex;align-items:center;float:none;margin:0 0 15px}.tribe-events-event-cost span{border:1px solid #ddd;display:block;font-style:normal;font-weight:700;line-height:1;padding:8px 12px;text-align:center;text-overflow:ellipsis}.tribe-events-event-cost .tribe-out-of-stock,.tribe-events-event-cost .tribe-tickets-left{background:#f0f0f0;border-left:none;color:#727272;font-style:italic;font-weight:400}.tribe-events-event-cost .tribe-ticket-cost{margin:0}.tribe-button,a.tribe-button,button.tribe-button,input.tribe-button{border-radius:3px;line-height:1;margin:10px;padding:9px 12px}.tribe-button.sold-out,a.tribe-button.sold-out,button.tribe-button.sold-out,input.tribe-button.sold-out{background:none;border:none;color:#a00}.tribe-button.sold-out:hover,a.tribe-button.sold-out:hover,button.tribe-button.sold-out:hover,input.tribe-button.sold-out:hover{cursor:default}#tribe-events,#tribe-events-pg-template,.tribe-events-pg-template{padding:40px 20px 20px}#tribe-events-pg-template,.tribe-events-pg-template{margin:0 auto;max-width:1200px}.tribe-events-after-html{clear:both}#tribe-events .tribe-events-content p,.tribe-events-after-html p,.tribe-events-before-html p{line-height:1.7;margin:0 0 10px}#tribe-events-pg-template .tribe-events-content h1,#tribe-events-pg-template .tribe-events-content h2,#tribe-events-pg-template .tribe-events-content h3,#tribe-events-pg-template .tribe-events-content h4,#tribe-events-pg-template .tribe-events-content h5,#tribe-events-pg-template .tribe-events-content h6,.tribe-events-after-html h1,.tribe-events-after-html h2,.tribe-events-after-html h3,.tribe-events-after-html h4,.tribe-events-after-html h5,.tribe-events-after-html h6,.tribe-events-before-html h1,.tribe-events-before-html h2,.tribe-events-before-html h3,.tribe-events-before-html h4,.tribe-events-before-html h5,.tribe-events-before-html h6{line-height:1.7;margin:24px 0}#tribe-events-pg-template .tribe-events-content h1,.tribe-events-after-html h1,.tribe-events-before-html h1{font-size:21px;line-height:1.5}#tribe-events-pg-template .tribe-events-content h2,.tribe-events-after-html h2,.tribe-events-before-html h2{font-size:18px;line-height:1.6}#tribe-events-pg-template .tribe-events-content h3,.tribe-events-after-html h3,.tribe-events-before-html h3{font-size:16px;line-height:1.8}#tribe-events-pg-template .tribe-events-content h4,.tribe-events-after-html h4,.tribe-events-before-html h4{font-size:14px;line-height:1.8}#tribe-events-pg-template .tribe-events-content h5,.tribe-events-after-html h5,.tribe-events-before-html h5{font-size:13px;line-height:1.8}#tribe-events-pg-template .tribe-events-content h6,.tribe-events-after-html h6,.tribe-events-before-html h6{font-size:12px;line-height:1.8}#tribe-events-pg-template .tribe-events-content ul,.tribe-events-after-html ul,.tribe-events-before-html ul{list-style:disc outside}#tribe-events-pg-template .tribe-events-content ol,.tribe-events-after-html ol,.tribe-events-before-html ol{list-style:decimal outside}#tribe-events-pg-template .tribe-events-content ol li,#tribe-events-pg-template .tribe-events-content ul li,.tribe-events-after-html ol li,.tribe-events-after-html ul li,.tribe-events-before-html ol li,.tribe-events-before-html ul li{line-height:1.7;margin:0 0 20px}.tribe-events-back{margin:0 0 20px}.events-list .tribe-events-back.tribe-events-loop{margin:0 auto 20px}#tribe-events-content a,.tribe-events-adv-list-widget .tribe-events-widget-link a,.tribe-events-adv-list-widget .tribe-events-widget-link a:hover,.tribe-events-back a,.tribe-events-back a:hover,.tribe-events-event-meta a,.tribe-events-list-widget .tribe-events-widget-link a,.tribe-events-list-widget .tribe-events-widget-link a:hover,ul.tribe-events-sub-nav a,ul.tribe-events-sub-nav a:hover{text-decoration:none}#tribe-events .tribe-events-button,.tribe-events-button{*display:inline;background-color:#666;background-image:none;border-radius:3px;border:0;box-shadow:none;color:#fff;cursor:pointer;display:inline-block;font-size:11px;font-weight:700;letter-spacing:1px;line-height:normal;padding:6px 9px;text-align:center;text-decoration:none;text-transform:uppercase;vertical-align:middle;zoom:1}.tribe-events-button.tribe-active{background-color:#666;color:#fff}#tribe-events .tribe-events-button:hover,.tribe-events-button.tribe-active:hover,.tribe-events-button.tribe-inactive,.tribe-events-button:hover{background-color:#ddd;color:#444;text-decoration:none}a.tribe-events-gcal,a.tribe-events-ical{clear:both;color:#fff;float:right;font-size:10px;font-weight:400;line-height:18px;margin-top:21px;padding:0 6px;text-decoration:none}.tribe-events-gcal{margin-right:9px}.single-tribe_events a.tribe-events-gcal,.single-tribe_events a.tribe-events-ical{float:none}.tribe-events-event-meta-desc .tribe-events-gmap,.tribe-events-event-meta .tribe-events-gmap{white-space:nowrap}.event .entry-title{color:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;padding:inherit}.updated-info{height:0;text-indent:-9999px}.tribe-events-event-image{margin:0 0 20px;text-align:center}.tribe-events-event-image img{height:auto;max-width:100%}.tribe-events-schedule h2{display:inline-block;margin-bottom:0;color:#141827;font-size:1.2em;font-style:normal;font-weight:700;line-height:normal}.tribe-events-event-schedule-details{display:inline}.events-archive .entry-content,.events-archive .entry-header{width:98%}.events-archive footer.entry-header,.events-archive footer.entry-meta,.events-archive header.entry-header,.events-archive header.entry-meta,.events-archive span.edit-link,.single-tribe_events footer.entry-header,.single-tribe_events footer.entry-meta,.single-tribe_events header.entry-header,.single-tribe_events header.entry-meta,.single-tribe_organizer footer.entry-header,.single-tribe_organizer footer.entry-meta,.single-tribe_organizer header.entry-header,.single-tribe_organizer header.entry-meta,.single-tribe_venue footer.entry-header,.single-tribe_venue footer.entry-meta,.single-tribe_venue header.entry-header,.single-tribe_venue header.entry-meta{display:none}.tribe-events-notices{background:#d9edf7;border-radius:4px;border:1px solid #bce8f1;color:#3a87ad;margin:10px 0 18px;padding:8px 35px 8px 14px;text-shadow:0 1px 0 #fff}div.tribe-events-notices>ul,div.tribe-events-notices>ul>li{list-style:none;margin:0;padding:0}#tribe-events-content p.tribe-events-promo{color:#999;font-size:12px}#tribe-events-content p.tribe-events-promo a{color:#666}.clearfix,.tribe-clearfix{zoom:1}.clearfix:after,.clearfix:before,.tribe-clearfix:after,.tribe-clearfix:before{content:"";display:table}.clearfix:after,.tribe-clear,.tribe-clearfix:after{clear:both}.tribe-events-visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.tribe-hide-text{overflow:hidden;text-indent:100%;white-space:nowrap}.tribe-events-error{display:none}.tribe-events-multi-event-day{color:#0f81bb}#tribe-events-content .tribe-events-abbr{border-bottom:0;cursor:default}.tribe-events-spinner{height:32px;margin-left:-16px;width:32px}.tribe-events-spinner-medium{height:24px;width:24px}.tribe-events-spinner-small{height:16px;margin-left:-8px;width:16px}*+html .events-archive .tribe-events-page-title{padding-bottom:30px}*+html .events-archive .tribe-events-list .tribe-events-page-title{padding-bottom:0}*+html #tribe-events-header{margin-bottom:30px}.tribe-events-page-title{clear:none;font-size:24px;font-weight:400;margin-bottom:.5em;position:relative;text-align:center;z-index:0}.tribe-events-filter-view.events-list .tribe-events-page-title{width:100%;float:none}.tribe-events-page-title a{color:#000}.tribe-events-page-title a:focus,.tribe-events-page-title a:hover{color:#333;text-decoration:underline}#tribe-events-footer,#tribe-events-header{clear:both;margin-bottom:.5em}#tribe-events-footer .tribe-events-sub-nav,#tribe-events-header .tribe-events-sub-nav{line-height:normal;list-style-type:none;margin:0;overflow:hidden;padding:0;text-align:center}#tribe-events-footer .tribe-events-sub-nav li,#tribe-events-header .tribe-events-sub-nav li{*display:inline;display:inline-block;margin:0;vertical-align:middle;zoom:1}#tribe-events-footer .tribe-events-sub-nav .tribe-events-nav-previous,#tribe-events-footer .tribe-events-sub-nav li,#tribe-events-header .tribe-events-sub-nav .tribe-events-nav-previous,#tribe-events-header .tribe-events-sub-nav li{float:left;margin-right:5px;text-align:left}#tribe-events-footer .tribe-events-sub-nav .tribe-events-nav-next,#tribe-events-header .tribe-events-sub-nav .tribe-events-nav-next{float:right;margin-left:5px;text-align:right}#tribe-events-footer .tribe-events-sub-nav .tribe-events-nav-left,#tribe-events-header .tribe-events-sub-nav .tribe-events-nav-left{float:left;text-align:left}#tribe-events-footer .tribe-events-sub-nav .tribe-events-nav-right,#tribe-events-header .tribe-events-sub-nav .tribe-events-nav-right{float:right;text-align:right}.tribe-events-ajax-loading{background:#666;border-radius:5px;box-shadow:none;display:none;left:50%;margin-left:-27px;padding:15px;position:absolute;top:150px;z-index:10}.tribe-events-ajax-loading.tribe-events-active-spinner,.tribe-events-ajax-loading.tribe-events-active-spinner img,.tribe-events-loading .tribe-events-ajax-loading{display:block}#tribe-events-header{position:relative}#tribe-events-footer{margin-bottom:1em}.events-list #tribe-events-footer,.tribe-events-day #tribe-events-footer,.tribe-events-map #tribe-events-footer{clear:both;margin:1.25em 0 18px}.tribe-events-map #tribe-events-header{margin:1em 0}.single-tribe_events #tribe-events-header{margin:1em 0 20px}.single-tribe_events #tribe-events-footer li,.single-tribe_events #tribe-events-header li{width:48%}#tribe-events-content .tribe-events-nav-date{padding-top:16px}select.tribe-events-dropdown{font-size:11px;margin:33px 9px 0 0;width:auto}#tribe-events-events-picker,#tribe-events-picker{display:inline}#tribe-events-content{margin-bottom:48px;padding:2px 0;position:relative}#tribe-events-content.tribe-events-list{padding:0}.tribe-events-othermonth .tribe-events-month-event-title,.tribe-events-othermonth div[id*=tribe-events-daynum-]{-khtml-opacity:.4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";filter:alpha(opacity=40);opacity:.4}#tribe-events-content.tribe-events-list{margin-bottom:60px}.tribe-events-list .tribe-events-loop .tribe-event-featured{background:#0ea0d7;margin-bottom:2rem;padding:0 1.5rem 1rem}.tribe-events-list .tribe-events-loop .tribe-event-featured.tribe-events-first{padding-top:0}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-event-image{display:block;float:none;margin:0 -1.5rem;width:auto}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-list-event-title{display:inline-block;margin-top:1.5rem}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-list-event-title a{color:#fff}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-event-meta{background-color:transparent;color:hsla(0,0%,100%,.7);font-weight:400}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-content{color:hsla(0,0%,100%,.9)}.tribe-events-list .tribe-events-loop .tribe-event-featured a{color:hsla(0,0%,100%,.7)}.tribe-events-list .tribe-events-loop .tribe-event-featured a:active,.tribe-events-list .tribe-events-loop .tribe-event-featured a:hover{color:hsla(0,0%,100%,.9)}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-event-cost{display:flex;align-items:center;float:none;margin:30px 0}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-event-cost span{border:0;color:#fff;background:hsla(0,0%,100%,.1);display:block;font-style:normal;font-weight:700;line-height:1;padding:10px;text-align:center;text-overflow:ellipsis}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-event-cost .ticket-cost{background:hsla(0,0%,100%,.2)}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-event-cost .tribe-tickets-left{font-style:italic;font-weight:400;margin-left:1px}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-event-cost .tribe-out-of-stock{background:#f0f0f0;border-left:none;color:#727272;font-style:italic;font-weight:400}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-event-cost .tribe-ticket-cost{margin:0}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-event-cost .tribe-button{color:#000;font-weight:700}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-event-cost .tribe-button:hover{color:#0ea0d7}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-event-cost .tribe-button:active{color:#000}.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-button{background:#fff;color:#0ea0d7}.tribe-events-list .tribe-events-loop .tribe-events-event-image{float:left;margin:0 3% 0 0;width:30%}.tribe-events-list .tribe-events-loop .tribe-events-content{width:100%}.tribe-events-list .tribe-events-list-event-title{border:none;display:inline-block;font-size:1.4em;letter-spacing:0;line-height:1.4em;margin:0;padding:0;text-transform:none}.tribe-events-list .type-tribe_events{border-bottom:1px solid #ddd;margin:0;padding:2.25em 0}.tribe-events-list .type-tribe_events.tribe-events-first{padding-top:0}.tribe-events-list .type-tribe_events.tribe-event-end-month{border-bottom:0;padding-bottom:0}.tribe-events-list .tribe-events-event-image{display:inline-block;float:left;margin:0 3% 0 0}.tribe-events-list .tribe-events-event-image img{height:auto;margin:0;padding:0;width:100%}.tribe-events-list .tribe-events-event-image+div.tribe-events-content{display:block;float:none;position:relative}.tribe-events-list .tribe-events-event-image+div.tribe-events-content.tribe-events-list-event-description{position:static}.tribe-events-list .tribe-events-loop .tribe-events-event-meta .recurringinfo{*display:inline;display:inline-block;zoom:1}.tribe-events-list .tribe-events-loop .tribe-events-event-meta .event-is-recurring{position:relative}.tribe-events-list .tribe-events-loop .tribe-events-event-meta .tribe-events-content{padding:0;width:100%}.tribe-events-list .time-details,.tribe-events-list .tribe-events-venue-details{display:block;line-height:1.2;margin:0}.tribe-events-list .time-details{margin:0 0 8px}.tribe-events-list .tribe-events-venue-details{margin:15px 0}.tribe-events-event-details .tribe-events-event-meta address.tribe-events-address{font-family:inherit;font-size:inherit;font-style:normal;line-height:inherit}.tribe-events-list-separator-year{color:#ccc;display:block;font-size:38px;font-weight:700;padding:1em 2.25em 0;text-align:center}.tribe-events-list-separator-month{background-color:#eee;display:block;font-size:14px;font-weight:700;margin:2.5em 0 0;padding:6px 10px;text-transform:uppercase}.tribe-events-list-separator-month+.type-tribe_events.tribe-events-first{padding-top:2.25em}.tribe-events-loop{clear:both}.tribe-events-loop .type-tribe_events.tribe-events-last{border-bottom:0}.tribe-events-loop .tribe-events-content{float:left;padding:0 5% 0 0;width:60%}.tribe-events-loop .tribe-events-event-meta{border:0;clear:both;float:none;font-size:14px;font-weight:700;line-height:1.5;margin:5px 0 15px;overflow:visible}.tribe-events-event-meta address.tribe-events-address{display:inline;font-family:inherit;font-size:inherit;font-style:normal;line-height:inherit;margin-right:10px}.single-tribe_venue .tribe-events-loop .tribe-events-content p{margin:0}.events-archive h3 .published,.single-tribe_venue h3 .published{font-size:18px;font-style:italic;margin-top:0;text-transform:none}.tribe-events-event-day,.tribe-events-event-meta-desc{color:#333}.venue-address{margin-top:1em}.venue-address>*{display:block;margin-top:.5em}.single-tribe_events .tribe-events-single-event-title{color:#141827;font-size:1.7em;line-height:1;margin:0;padding:0}.single-tribe_events .tribe-events-single-event-recurrence-description{align-items:center;display:flex;font-size:1em;margin:.5em 0 1.5em}.single-tribe_events .tribe-events-single-event-recurrence-description>img{height:1em}.single-tribe_events .tribe-events-single-event-recurrence-description>a{color:#009fd4;font-size:.8125em}.single-tribe_events .tribe-events-single-event-recurrence-description>*{margin-right:.4375em}#tribe-events-content .tribe-events-single-event-description .attachment-post-thumbnail{display:block;margin-left:auto;margin-right:auto;text-align:center}.tribe-events-meta-group .tribe-events-single-section-title{font-size:1.4em;font-weight:700;margin:20px 0 10px}.tribe-events-meta-group+.tribe-events-single-section-title{margin-top:0}.tribe-events-event-meta .tribe-events-meta-group address.tribe-events-address{display:block;margin:0}#eventbrite-embed{margin:24px 0;min-height:225px;width:100%}.eventbrite-ticket-embed{margin:0 0 30px}.tribe-events-schedule{margin:20px 0 0;vertical-align:middle}.single-tribe_events .tribe-events-schedule .recurringinfo,.single-tribe_events .tribe-events-schedule .tribe-events-cost,.single-tribe_events .tribe-events-schedule .tribe-events-divider{font-size:1.2em}.single-tribe_events .tribe-events-schedule h3{*display:inline;display:inline-block;font-size:1.2em;margin:0;padding:0;vertical-align:middle;white-space:nowrap;zoom:1}.single-tribe_events .tribe-events-schedule .tribe-events-cost{vertical-align:baseline}.single-tribe_events .tribe-events-event-image{clear:both;margin-bottom:30px;text-align:center}.single-tribe_events .tribe-events-cal-links{clear:both}.single-tribe_events .tribe-events-event-meta{background:#e5e5e5;border:1px solid #eee;margin:30px 0}.single-tribe_events .tribe-events-venue-map{background:#eee;border:1px solid #ddd;border-radius:3px;display:inline-block;float:right;margin:20px 4% 2% 0;padding:5px;vertical-align:top;width:90%;zoom:1}.single-tribe_events .tribe-events-meta-group+.tribe-events-meta-group+.tribe-events-meta-group-gmap{clear:both;display:block;float:none;width:auto}.single-tribe_events .tribe-events-meta-group+.tribe-events-meta-group+.tribe-events-meta-group-gmap .tribe-events-venue-map{float:none;width:100%}.single-tribe_events .secondary .tribe-events-venue-map{width:58%}.single-tribe_events .sidebar .secondary .tribe-events-venue-map{width:100%}.single-tribe_events .tribe-events-event-meta{font-size:13px}.single-tribe_events .tribe-events-event-meta dl{margin:0}.single-tribe_events #tribe-events-content .tribe-events-event-meta dt{clear:left;font-weight:700;line-height:1;list-style:none}.single-tribe_events #tribe-events-content .tribe-events-event-meta dd{float:none;line-height:1.5;list-style:none;margin:0 0 10px;padding:0}.tribe-events-event-meta .column,.tribe-events-event-meta .tribe-events-meta-group{box-sizing:border-box;display:inline-block;float:left;margin:0 0 20px;padding:0 4%;text-align:left;vertical-align:top;width:33.3333%;zoom:1}#tribe-events-content .tribe-events-event-meta dd span.adr{display:block}.single-tribe_events .tribe-events-content{max-width:100%;padding:0;width:100%}.sidebar.single-tribe_events .tribe-events-content{padding:0}.tribe-events-day .tribe-events-day-time-slot .tribe-events-day-time-slot-heading{background-color:#eee;font-size:14px;font-weight:700;margin:2.5em 0 0;padding:6px 10px;text-transform:uppercase}.tribe-events-day .tribe-events-day-time-slot .type-tribe_events{margin-left:5%}.tribe-events-day .tribe-event-featured{background:#0ea0d7;margin-bottom:2rem;padding:0 1.5rem 1rem}.tribe-events-day .tribe-event-featured .tribe-events-content{display:block;float:none;width:auto}.tribe-events-day .tribe-event-featured.tribe-events-first{padding-top:0}.tribe-events-day .tribe-event-featured .tribe-events-event-image{display:block;float:none;margin:0 -1.5rem;width:auto}.tribe-events-day .tribe-event-featured .tribe-events-list-event-title{display:inline-block;margin-top:1.5rem}.tribe-events-day .tribe-event-featured .tribe-events-list-event-title a{color:#fff}.tribe-events-day .tribe-event-featured .tribe-events-event-meta{background-color:transparent;color:hsla(0,0%,100%,.7);font-weight:400}.tribe-events-day .tribe-event-featured .tribe-events-content{color:hsla(0,0%,100%,.9)}.tribe-events-day .tribe-event-featured a{color:hsla(0,0%,100%,.7)}.tribe-events-day .tribe-event-featured a:active,.tribe-events-day .tribe-event-featured a:hover{color:hsla(0,0%,100%,.9)}.tribe-events-day .tribe-event-featured .tribe-events-event-cost{display:flex;align-items:center;float:none;margin:30px 0}.tribe-events-day .tribe-event-featured .tribe-events-event-cost span{border:0;color:#fff;background:hsla(0,0%,100%,.1);display:block;font-style:normal;font-weight:700;line-height:1;padding:10px;text-align:center;text-overflow:ellipsis}.tribe-events-day .tribe-event-featured .tribe-events-event-cost .ticket-cost{background:hsla(0,0%,100%,.2)}.tribe-events-day .tribe-event-featured .tribe-events-event-cost .tribe-tickets-left{font-style:italic;font-weight:400;margin-left:1px}.tribe-events-day .tribe-event-featured .tribe-events-event-cost .tribe-out-of-stock{background:#f0f0f0;border-left:none;color:#727272;font-style:italic;font-weight:400}.tribe-events-day .tribe-event-featured .tribe-events-event-cost .tribe-ticket-cost{margin:0}.tribe-events-day .tribe-event-featured .tribe-events-event-cost .tribe-button{color:#000;font-weight:700}.tribe-events-day .tribe-event-featured .tribe-events-event-cost .tribe-button:hover{color:#0ea0d7}.tribe-events-day .tribe-event-featured .tribe-events-event-cost .tribe-button:active{color:#000}.tribe-events-day .tribe-event-featured .tribe-button{background:#fff;color:#0ea0d7}.tribe-events-day .type-tribe_events{margin-left:0}.tribe-events-day .tribe-events-event-image{display:inline-block;float:left;margin:0 3% 0 0;width:30%}.tribe-events-day .tribe-events-content{display:inline-block;float:right;padding:0;width:67%}#tribe-events-content table.tribe-events-calendar{border-collapse:collapse;clear:both;font-size:12px;margin:12px 0 .6em;overflow:visible;table-layout:fixed;width:100%}#tribe-events-content table.tribe-events-calendar .type-tribe_events.tribe-event-featured{background:#0ea0d7;margin:0;padding:6px 14px;padding:6px calc(5% + 8px)}.events-archive.events-gridview #tribe-events-content table.tribe-events-calendar .type-tribe_events.tribe-event-featured{margin:0;padding:6px 14px;padding:6px calc(5% + 8px)}#tribe-events-content table.tribe-events-calendar .type-tribe_events.tribe-event-featured .tribe-events-month-event-title a{color:#fff}#tribe-events-content table.tribe-events-calendar .type-tribe_events.tribe-event-featured .tribe-events-month-event-title a:active,#tribe-events-content table.tribe-events-calendar .type-tribe_events.tribe-event-featured .tribe-events-month-event-title a:hover{color:#eee}#tribe-events-content .tribe-events-calendar td,#tribe-events-content table.tribe-events-calendar{border:1px solid #bbb}#tribe-events-content .tribe-events-calendar td{box-sizing:border-box;color:#114b7d;font-size:12px;height:145px;padding:0 0 .5em;vertical-align:top;width:14.28%}.tribe-events-calendar div[id*=tribe-events-daynum-],.tribe-events-calendar div[id*=tribe-events-daynum-] a{background-color:#f5f5f5;color:#333;font-size:11px;font-weight:700}.tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-],.tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-]>a{background-color:#666;color:#fff}.tribe-events-calendar td.tribe-events-past div[id*=tribe-events-daynum-],.tribe-events-calendar td.tribe-events-past div[id*=tribe-events-daynum-]>a{color:#999}.recurring-info-tooltip,.tribe-events-calendar .tribe-events-tooltip,.tribe-events-shortcode.view-week .tribe-events-tooltip,.tribe-events-week .tribe-events-tooltip{background-color:#f9f9f9;border:1px solid #666;bottom:30px;color:#333;display:none;left:3px;line-height:1.4;position:absolute;width:320px;z-index:1001}.tribe-events-tooltip .tribe-events-arrow{background-image:url(../images/tribe-tooltips.png);background-position:0 0;background-repeat:no-repeat;background-size:44px 19px;bottom:-11px;display:block;height:11px;left:20px;position:absolute;width:18px}.recurring-info-tooltip,.tribe-events-calendar .tribe-events-right .tribe-events-tooltip,.tribe-events-shortcode.view-week .tribe-events-right .tribe-events-tooltip,.tribe-events-week .tribe-events-right .tribe-events-tooltip{left:auto;right:3px}.tribe-events-right .tribe-events-tooltip .tribe-events-arrow{left:auto;right:30px}.tribe-events-tooltip ol,.tribe-events-tooltip ul{margin-left:1.6em}.tribe-events-tooltip .tribe-events-event-body .tribe-events-event-thumb img{max-height:150px;max-width:150px}.tribe-events-tooltip.tribe-events-tooltip-flipdown:before{border:10px solid transparent;border-bottom-color:#666;content:" ";display:block;height:0;left:17px;position:absolute;top:-21px;width:0;z-index:2}.tribe-events-tooltip.tribe-events-tooltip-flipdown .tribe-events-arrow{display:none}.tribe-events-right .tribe-events-tooltip.tribe-events-tooltip-flipdown:before{left:auto;right:43px}.recurringinfo{*display:inline;display:inline-block;position:relative;zoom:1}.event-is-recurring{color:rgba(0,0,0,.7);font-style:normal;font-weight:500;position:relative}.event-is-recurring:hover{color:#000}.tribe-event-featured .event-is-recurring{color:hsla(0,0%,100%,.7)}.tribe-event-featured .event-is-recurring:hover{color:#fff}.tribe-event-featured .event-is-recurring div{color:rgba(0,0,0,.7)}.recurring-info-tooltip.tribe-events-tooltip{left:10px;padding-bottom:.8em;width:200px}.events-archive.events-gridview #tribe-events-content table .type-tribe_events{border-bottom:1px solid #e7e7e7;margin:0 5%;padding:6px 8px}.events-archive.events-gridview #tribe-events-content table .tribe-events-last{border-bottom:0}.tribe-events-viewmore{border-top:1px solid #e7e7e7;font-weight:700;line-height:1;margin:0 5%;padding:9px 8px}.tribe-events-calendar td .tribe-events-viewmore a{font-size:90%;white-space:nowrap}.tribe-events-calendar td div[id*=tribe-events-daynum-]{line-height:1.2;padding:6px 9px}.tribe-events-calendar td a{font-size:91.7%}.tribe-events-calendar th{background-color:#ddd;color:#333;height:10px;letter-spacing:1px;padding:4px 0;text-align:center;text-transform:uppercase;width:14.28%}.tribe-events-calendar div[id*=tribe-events-daynum-],.tribe-events-calendar div[id*=tribe-events-event-]{margin:0;position:relative}.tribe-events-calendar div[id*=tribe-events-event-] h3.tribe-events-month-event-title a{font-size:100%}#tribe-events-content .tribe-events-calendar div[id*=tribe-events-event-] h3.tribe-events-month-event-title{font-family:sans-serif;font-size:98%;font-weight:400;line-height:1.25;margin:0;overflow:hidden;padding:3%;text-transform:none}#tribe-events-content .tribe-events-tooltip h4{background-color:#666;color:#fff;font-size:12px;font-weight:400;letter-spacing:1px;line-height:24px;margin:0;min-height:24px;padding:0 6px}.tribe-events-tooltip .tribe-events-event-body{font-size:11px;font-weight:400;padding:3px 6px 6px}.tribe-events-tooltip .duration{font-style:italic;margin:3px 0}.tribe-events-tooltip:not(.tribe-event-featured) .tribe-events-event-thumb{padding:5px 5px 5px 0}.tribe-events-tooltip.tribe-event-featured .tribe-events-event-thumb{padding:2px 0 8px}.tribe-events-tooltip .tribe-events-event-thumb{float:left}.tribe-events-tooltip .tribe-events-event-thumb img{box-shadow:none}.tribe-events-tooltip p.entry-summary{font-size:11px;line-height:1.5;padding:0}#tribe-mobile-container{display:none}.tribe-events-list-widget .tribe-list-widget{margin-left:0}.tribe-events-list-widget .tribe-events-list-widget-events{list-style:none;padding:0 1.5rem;margin-bottom:1.25rem}.tribe-events-list-widget .tribe-event-title{margin-bottom:.25rem;margin-top:0}.tribe-events-list-widget .duration{font-weight:700}.tribe-events-list-widget .tribe-event-featured{background:#0ea0d7;padding-bottom:.75rem}.tribe-events-list-widget .tribe-event-featured .tribe-event-title{margin-top:.75rem}.tribe-events-list-widget .tribe-event-featured .tribe-event-title a{color:#fff}.tribe-events-list-widget .tribe-event-featured .tribe-event-image{line-height:0;margin-left:-1.5rem;margin-right:-1.5rem;overflow:hidden}.tribe-events-list-widget .tribe-event-featured .tribe-event-duration{color:#fff}.datepicker table tr td span,.datepicker td{border-radius:0}.datepicker td{border-top:1px solid #ededed}.datepicker td,.datepicker th{word-break:normal}.datepicker table tr td.active.active,.datepicker table tr td span.active.active{background:#666}.datepicker table tr td.active.active:hover,.datepicker table tr td span.active.active:hover{background:#dadada;color:inherit}body.admin-bar .datepicker{margin-top:32px}#tribe-events-bar{clear:none;height:auto;margin-bottom:30px;min-width:220px;position:relative;width:100%}#tribe-events-bar *{box-sizing:border-box}#tribe-bar-form{background:#f5f5f5;margin:0;position:relative;width:100%}#tribe-bar-form input{font-size:15px;margin:0 4px 0 0}#tribe-bar-form input[type=text]{background:0;border:none;border-bottom:1px dashed #b9b9b9;border-radius:0;box-shadow:none;font-style:italic;font-weight:400;height:auto;line-height:1;padding:5px;width:100%}#tribe-bar-form input[type=text]:focus{border-bottom:none;outline:1px dashed #b9b9b9}#tribe-bar-form .tribe-bar-submit input[type=submit]{-webkit-appearance:button;background:#666;background-image:none;border:none;border-radius:0;color:#fff;font-size:13px;height:auto;letter-spacing:0;line-height:2;padding:10px;width:100%}#tribe-bar-form label{display:block;font-size:11px;font-weight:700;line-height:1;margin:0 0 5px;padding:0;text-transform:uppercase}#tribe-bar-form .tribe-bar-filters{float:left;margin:0;position:relative;width:100%}#tribe-bar-form .tribe-bar-filters-inner{margin:0}#tribe-bar-form .tribe-bar-views-inner label{padding:0 15px;text-align:left}#tribe-bar-filters-wrap{position:relative}input[name*=tribe-bar-]::-webkit-input-placeholder{color:#5f5f5f;font-style:italic;font-weight:400;line-height:1.3}input[name*=tribe-bar-]:-moz-placeholder{color:#5f5f5f;font-style:italic;font-weight:400;line-height:1.3}.tribe-event-placeholder{color:#5f5f5f;font-weight:400;font-style:italic;line-height:1.3}#tribe-bar-dates .select2-choice{border-bottom:1px dashed #b9b9b9}.tribe-bar-date-filter{float:left;margin-bottom:0;padding:15px;width:25%}.tribe-bar-search-filter{float:left;margin-bottom:0;padding:15px;width:33.3333%}.tribe-bar-submit{float:left;margin-bottom:0;margin-left:16.6667%;padding:15px;width:25%}.tribe-bar-submit input[type=submit]:hover{background:#999;color:#fff}.tribe-bar-views-inner{background:#e0e0e0;margin:0;padding:16px 0}#tribe-bar-views-toggle{border:0;background:transparent;color:#333;display:block;font-size:16px;font-family:inherit;font-weight:400;line-height:1;padding:6px 15px;position:relative;text-align:left;text-transform:none;width:100%}#tribe-bar-views-toggle:focus{outline:1px dotted}#tribe-bar-views-toggle:focus,#tribe-bar-views-toggle:hover{background:#cacaca}#tribe-bar-views-toggle:after{border:solid transparent;border-color:rgba(136,183,213,0);border-top-color:inherit;border-width:8px;content:" ";height:0;pointer-events:none;position:absolute;right:15px;top:10px;width:0}.tribe-bar-views-open #tribe-bar-views-toggle:after{border-bottom-color:inherit;border-top-color:transparent;top:0}.tribe-bar-collapse #tribe-bar-views-toggle{padding:10px 14px}.tribe-bar-collapse #tribe-bar-views-toggle:after{top:14px}#tribe-bar-views .tribe-bar-views-list{background:#e0e0e0;border-radius:0 0 3px 3px;display:none;left:0;margin:0;padding:5px 0 0;position:absolute;top:auto;width:100%;z-index:2}#tribe-bar-views .tribe-bar-views-option{display:block;color:#444;line-height:14px;margin:0;padding:6px 15px}#tribe-bar-views .tribe-bar-views-option:hover{cursor:pointer;background:#cacaca}#tribe-bar-views .tribe-bar-views-option:focus{outline:1px dotted}#tribe-bar-views .tribe-bar-views-option:last-child{border-radius:0 0 3px 3px}#tribe-bar-views .tribe-bar-views-option.tribe-bar-active{background:#cacaca}#tribe-bar-views .tribe-bar-settings{display:none}#tribe-bar-form.tribe-bar-mini *{font-size:12px}#tribe-bar-form.tribe-bar-mini label{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#tribe-bar-form.tribe-bar-mini .tribe-bar-submit input[type=submit]{-webkit-appearance:button;font-size:11px;padding:10px 5px}#tribe-bar-form.tribe-bar-mini .tribe-bar-date-filter,#tribe-bar-form.tribe-bar-mini .tribe-bar-search-filter,#tribe-bar-form.tribe-bar-mini .tribe-bar-submit{padding:10px}#tribe-bar-form.tribe-bar-mini .tribe-bar-views-list .tribe-bar-views-option a{padding:4px 15px}#tribe-bar-form.tribe-bar-mini .tribe-bar-views-inner{padding:12px 0}#tribe-bar-form.tribe-bar-mini .tribe-bar-views-inner label{padding:0 10px}#tribe-bar-form.tribe-bar-full.tribe-events-bar--has-views #tribe-bar-filters-wrap,#tribe-bar-form.tribe-bar-mini.tribe-events-bar--has-views #tribe-bar-filters-wrap{float:left;width:83.3333%}#tribe-bar-form.tribe-bar-full.tribe-events-bar--has-filters #tribe-bar-views,#tribe-bar-form.tribe-bar-mini.tribe-events-bar--has-filters #tribe-bar-views{position:relative;float:left;width:16.6667%}#tribe-bar-collapse-toggle{background:#f5f5f5;color:#333;display:none;width:100%;font-size:13px;font-weight:700;line-height:28px;padding:15px;position:relative;text-align:left;text-transform:uppercase;border:0}#tribe-bar-collapse-toggle:focus,#tribe-bar-collapse-toggle:hover{cursor:pointer;color:#fff;background:#666}#tribe-bar-collapse-toggle.tribe-bar-filters-open span.tribe-bar-toggle-arrow:after{border-bottom-color:inherit;border-top-color:transparent;top:0}#tribe-bar-collapse-toggle span.tribe-bar-toggle-arrow{display:inline-block;margin:0 4px;position:absolute;right:10px}#tribe-bar-collapse-toggle span.tribe-bar-toggle-arrow:after{border:solid transparent;border-color:rgba(136,183,213,0);border-top-color:inherit;border-width:8px;content:" ";height:0;pointer-events:none;position:absolute;right:0;top:10px;width:0}#tribe-bar-form.tribe-bar-collapse{background:transparent}#tribe-bar-form.tribe-bar-collapse #tribe-bar-collapse-toggle{display:block}#tribe-bar-form.tribe-bar-collapse .tribe-bar-filters{position:absolute;z-index:21;float:none;display:none;left:auto;padding-top:5px;overflow:hidden;right:auto;width:100%;background:#f5f5f5;box-shadow:0 0 5px rgba(0,0,0,.2)}#tribe-bar-form.tribe-bar-collapse .tribe-bar-filters-inner>div{width:100%}#tribe-bar-form.tribe-bar-collapse #tribe-bar-views{margin-top:10px}#tribe-bar-form.tribe-bar-collapse .tribe-bar-views-inner{padding:10px 0 0}.tribe-bar-disabled{float:right;position:relative;z-index:101}.tribe-bar-disabled .tribe-events-page-title{clear:none;line-height:45px;margin:0;text-align:left}.tribe-bar-disabled #tribe-events-bar{float:none;min-width:0;width:auto}.tribe-bar-disabled #tribe-bar-form{border-radius:3px;width:auto}.tribe-bar-disabled #tribe-bar-filters-wrap{float:left;min-width:120px;width:auto}.tribe-bar-disabled .tribe-bar-filters .tribe-bar-date-filter{padding:5px 10px}.tribe-bar-disabled #tribe-bar-form label{font-size:10px}.tribe-bar-disabled #tribe-bar-form .tribe-bar-filters input[type=text]{border:none;display:block;font-size:13px;line-height:1;margin:10px 0 0;padding:3px 0 0;width:100px}.tribe-bar-disabled #tribe-bar-form #tribe-bar-views{float:right;font-size:16px;left:50%;min-width:130px;padding:0;right:auto;width:50%}.tribe-bar-disabled .tribe-bar-views-inner{border-radius:0 3px 3px 0;min-width:100px;padding:5px 0 0;position:relative}.tribe-bar-disabled #tribe-bar-views .tribe-bar-views-list,.tribe-bar-disabled #tribe-bar-views .tribe-bar-views-list .tribe-bar-views-option{margin:0}.tribe-bar-disabled #tribe-bar-views .tribe-bar-views-list .tribe-bar-views-option a{margin:0;padding:4px 10px}.tribe-bar-disabled #tribe-bar-views .select2-container .select2-choice{font-size:13px;height:auto;line-height:18px}.tribe-bar-disabled .tribe-select2-results-views.select2-drop .select2-results li{padding:0 10px}.tribe-bar-disabled #tribe-bar-collapse-toggle,.tribe-bar-disabled .tribe-bar-submit{display:none}.tribe-bar-disabled .tribe-bar-date-filter,.tribe-events-uses-geolocation .tribe-bar-disabled .tribe-bar-date-filter{width:auto}.tribe-bar-views span[class^=tribe-icon-]{background-position:0 50%;background-repeat:no-repeat;display:inline-block;min-height:16px;padding-left:24px}.tribe-bar-views span.tribe-icon-month,.tribe-bar-views span[class^=tribe-icon-]{background-image:url(../images/events-bar/icon-month.png);background-size:15px 16px}.tribe-bar-views span.tribe-icon-list{background-image:url(../images/events-bar/icon-list.png);background-size:15px 10px}.tribe-bar-views span.tribe-icon-week{background-image:url(../images/events-bar/icon-week.png);background-size:15px 16px}.tribe-bar-views span.tribe-icon-day{background-image:url(../images/events-bar/icon-day.png);background-size:15px 16px}.tribe-bar-views span.tribe-icon-photo{background-image:url(../images/events-bar/icon-photo.png);background-size:15px 14px}.tribe-bar-views span.tribe-icon-map{background-image:url(../images/events-bar/icon-map.png);background-position:2px 50%;background-size:12px 16px}.tribe-events-week.tribe-theme-parent-twentyfourteen #masthead,.tribe-events-week.tribe-theme-twentyfourteen #masthead{z-index:1001}.tribe-theme-parent-twentyfourteen #tribe-events-pg-template #tribe-events,.tribe-theme-twentyfourteen #tribe-events-pg-template #tribe-events{padding:20px}.tribe-theme-parent-twentyfourteen #tribe-bar-views .tribe-bar-views-list,.tribe-theme-twentyfourteen #tribe-bar-views .tribe-bar-views-list{z-index:3}#tribe-events-content .tribe-updated{display:inherit}.tribe-theme-parent-twentyfifteen #tribe-events,.tribe-theme-twentyfifteen #tribe-events{background:#fff;margin:0 8.333%;padding-top:8.333%}.tribe-theme-parent-twentyfifteen .tribe-events-single-event-title,.tribe-theme-twentyfifteen .tribe-events-single-event-title{font-size:39px}.tribe-theme-parent-twentyfifteen.events-single.tribe-events-page-template #tribe-events-pg-template,.tribe-theme-twentyfifteen.events-single.tribe-events-page-template #tribe-events-pg-template{padding-top:8.3333%}.tribe-theme-parent-twentyfifteen.events-single.tribe-events-page-template #tribe-events-content,.tribe-theme-twentyfifteen.events-single.tribe-events-page-template #tribe-events-content{padding:8.3333% 10%}.tribe-theme-parent-twentyfifteen.single-tribe_events #tribe-events .tribe_events,.tribe-theme-twentyfifteen.single-tribe_events #tribe-events .tribe_events{box-shadow:none;margin-left:0;margin-right:0;padding-top:0}.tribe-theme-parent-twentyfifteen.single-tribe_events #tribe-events .tribe-events-schedule h2,.tribe-theme-twentyfifteen.single-tribe_events #tribe-events .tribe-events-schedule h2{display:inline-block;font-size:1.2em;margin:0}.tribe-theme-parent-twentyfifteen.single-tribe_events .tribe-events-single,.tribe-theme-twentyfifteen.single-tribe_events .tribe-events-single{box-shadow:none;margin:0}.tribe-theme-parent-twentyfifteen.tribe-events-week .tribe-events-grid .hentry,.tribe-theme-twentyfifteen.tribe-events-week .tribe-events-grid .hentry{margin-left:0;margin-right:0}.tribe-theme-parent-twentyfifteen .tribe-events-list-widget .type-tribe_events,.tribe-theme-twentyfifteen .tribe-events-list-widget .type-tribe_events{border-top:1px solid rgba(51,51,51,.1);box-shadow:none;margin-left:0;margin-right:0}.tribe-theme-parent-twentyfifteen .tribe-events-list-widget .entry-title,.tribe-theme-twentyfifteen .tribe-events-list-widget .entry-title{font-size:22px;line-height:1.4545}.tribe-theme-parent-twentyfifteen.tribe-events-page-template #tribe-events-content-wrapper,.tribe-theme-twentyfifteen.tribe-events-page-template #tribe-events-content-wrapper{padding:3.333%}.tribe-theme-parent-twentyfifteen .tribe-events-list .type-tribe_events,.tribe-theme-parent-twentyfifteen .tribe-events-list .type-tribe_events.tribe-events-first,.tribe-theme-twentyfifteen .tribe-events-list .type-tribe_events,.tribe-theme-twentyfifteen .tribe-events-list .type-tribe_events.tribe-events-first{padding:8.333% 10%}.tribe-theme-parent-twentyfifteen .tribe-events-list .time-details,.tribe-theme-parent-twentyfifteen .tribe-events-list .tribe-events-venue-details,.tribe-theme-twentyfifteen .tribe-events-list .time-details,.tribe-theme-twentyfifteen .tribe-events-list .tribe-events-venue-details{line-height:1.6}.tribe-theme-parent-twentyfifteen .tribe-events-day-time-slot .type-tribe_events,.tribe-theme-twentyfifteen .tribe-events-day-time-slot .type-tribe_events{margin-left:0}.tribe-theme-parent-twentyfifteen .type-tribe_events a.more-link,.tribe-theme-twentyfifteen .type-tribe_events a.more-link{display:none}.tribe-theme-parent-twentyfifteen .datepicker.dropdown-menu,.tribe-theme-twentyfifteen .datepicker.dropdown-menu{max-width:340px}.tribe-theme-parent-twentyfifteen .datepicker.dropdown-menu table,.tribe-theme-parent-twentyfifteen .datepicker.dropdown-menu table.table-condensed,.tribe-theme-twentyfifteen .datepicker.dropdown-menu table,.tribe-theme-twentyfifteen .datepicker.dropdown-menu table.table-condensed{border-left-width:0;border-top-width:0}.tribe-theme-parent-twentyfifteen .tribe-events-calendar td a,.tribe-theme-parent-twentyfifteen .tribe-events-nav-next a,.tribe-theme-parent-twentyfifteen .tribe-events-nav-previous a,.tribe-theme-parent-twentyfifteen ul.tribe-bar-views-list li a,.tribe-theme-twentyfifteen .tribe-events-calendar td a,.tribe-theme-twentyfifteen .tribe-events-nav-next a,.tribe-theme-twentyfifteen .tribe-events-nav-previous a,.tribe-theme-twentyfifteen ul.tribe-bar-views-list li a{border-bottom:none}.tribe-theme-parent-twentyfifteen.events-archive .entry-footer,.tribe-theme-parent-twentyfifteen.single-tribe_events .entry-footer,.tribe-theme-twentyfifteen.events-archive .entry-footer,.tribe-theme-twentyfifteen.single-tribe_events .entry-footer{display:none}.tribe-theme-parent-twentysixteen table.tribe-events-calendar,.tribe-theme-twentysixteen table.tribe-events-calendar{table-layout:auto}.tribe-theme-parent-twentysixteen .tribe-events-single-section-title:first-child,.tribe-theme-twentysixteen .tribe-events-single-section-title:first-child{margin-top:20px}.tribe-theme-parent-twentysixteen .tribe-events-content.entry-summary,.tribe-theme-twentysixteen .tribe-events-content.entry-summary{font-size:inherit;margin-bottom:0;margin-top:5px}.tribe-theme-parent-twentysixteen.events-archive .entry-content,.tribe-theme-parent-twentysixteen.events-archive .entry-header,.tribe-theme-twentysixteen.events-archive .entry-content,.tribe-theme-twentysixteen.events-archive .entry-header{width:auto}.tribe-theme-parent-twentysixteen .datepicker table,.tribe-theme-twentysixteen .datepicker table{border:0;width:auto}.tribe-theme-parent-twentysixteen .entry-content a,.tribe-theme-twentysixteen .entry-content a{box-shadow:none}.tribe-theme-parent-twentysixteen .tribe-events-list-event-title,.tribe-theme-twentysixteen .tribe-events-list-event-title{clear:none}.tribe-theme-twentyseventeen .entry-content a{box-shadow:none}.tribe-theme-twentyseventeen.single-tribe_events .single-featured-image-header{display:none}.tribe-theme-twentyseventeen.page-template-page-php.blog:not(.has-sidebar) #primary article{width:100%}.tribe-theme-twentynineteen .tribe-events-schedule h2:before,.tribe-theme-twentynineteen .tribe-events-tooltip h3.entry-title:before,.tribe-theme-twentynineteen h1.tribe-events-page-title:before,.tribe-theme-twentynineteen h2.tribe-events-day-time-slot-heading:before,.tribe-theme-twentynineteen h2.tribe-events-list-separator-month:before{content:none}.tribe-theme-twentynineteen #tribe-bar-form label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.tribe-theme-twentynineteen .tribe-bar-views-inner{padding:19px 0}.tribe-theme-twentynineteen #tribe-events .tribe-events-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.tribe-theme-twentynineteen.single-tribe_events .tribe-events-event-meta{background:none;border:0 none}.tribe-theme-twentynineteen.single-tribe_events .tribe-events-event-meta dt{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.tribe-theme-twentynineteen.single-tribe_events .tribe-events-event-meta .tribe-events-meta-group{padding-left:0}.tribe-theme-twentynineteen.single-tribe_events .tribe-events-event-meta .tribe-events-meta-group:last-of-type{padding-right:0}.tribe-theme-twentynineteen.single-tribe_events .tribe-events-event-meta .tribe-events-meta-group .tribe-events-single-section-title{font-size:1.7em}.tribe-theme-twentynineteen.single-tribe_events.tribe-events-page-template #tribe-events-content{padding-left:calc(10% + 60px);padding-right:calc(10% + 60px)}.tribe-theme-twentynineteen.single-tribe_events.tribe-events-page-template .entry{margin-top:2rem}.tribe-theme-twentynineteen .tribe-events-schedule{margin-bottom:.75em;margin-top:1.5em}.tribe-theme-twentynineteen .tribe-events-schedule h2{margin-top:0}.tribe-theme-twentynineteen .tribe-events-loop .tribe-events-event-meta{font-size:.9rem}.tribe-theme-twentynineteen #tribe-bar-views-toggle,.tribe-theme-twentynineteen .tribe-bar-views-option{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:.75rem}.tribe-theme-twentynineteen .tribe-events-tooltip .tribe-event-duration{font-family:NonBreakingSpaceOverride,Hoefler Text,Baskerville Old Face,Garamond,Times New Roman,serif;font-size:.85rem}.tribe-theme-twentynineteen .tribe-events-tooltip .tribe-event-description{font-family:NonBreakingSpaceOverride,Hoefler Text,Baskerville Old Face,Garamond,Times New Roman,serif;font-size:.65rem}.tribe-theme-twentynineteen .tribe-events-tooltip h3.entry-title{font-size:1rem}.tribe-theme-twentytwenty .tribe-events-tooltip h3.entry-title{font-size:2.4rem;margin:0}.screen-reader-text{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px;word-wrap:normal!important}@media screen and (max-width:767px){.single-tribe_events .secondary .tribe-events-venue-map{width:90%}.tribe-bar-submit{margin-left:0}}@media screen and (min-width:44.375em){.tribe-events-day .tribe-events-content{margin-left:0;margin-right:0}}@media screen{#tribe-events-content .tribe-events-tooltip ol,#tribe-events-content .tribe-events-tooltip ul{margin-left:1.6em}}@media screen and (max-width:782px){body.admin-bar .datepicker{margin-top:46px}}@media screen and (min-width:1000px){.tribe-theme-parent-twentyfourteen #tribe-events-pg-template,.tribe-theme-twentyfourteen #tribe-events-pg-template{padding-left:220px}}@media screen and (max-width:400px){.list-view.events-archive .site-content .type-page .entry-content{display:inline;display:initial}}@media (-o-min-device-pixel-ratio:2/1),(-webkit-min-device-pixel-ratio:2),(min--moz-device-pixel-ratio:2),(min-device-pixel-ratio:2){.tribe-events-tooltip .tribe-events-arrow{background-image:url(../images/tribe-tooltips@2x.png)}#tribe-bar-filters .tribe-bar-button-search .tribe-bar-btn-small{background-image:url(../images/events-bar/icon-search@2x.png)}#tribe-events-bar .tribe-bar-button-settings span{background-image:url(../images/events-bar/icon-gear@2x.png)}#tribe-events-bar [class^=tribe-bar-button-]:after{background-image:url(../../../common/vendor/tribe-select2/select2x2.png)}.tribe-bar-views span[class^=tribe-icon-]{background-image:url(../images/events-bar/icon-month@2x.png)}.tribe-bar-views span.tribe-icon-list{background-image:url(../images/events-bar/icon-list@2x.png)}.tribe-bar-views span.tribe-icon-month{background-image:url(../images/events-bar/icon-month@2x.png)}.tribe-bar-views span.tribe-icon-week{background-image:url(../images/events-bar/icon-week@2x.png)}.tribe-bar-views span.tribe-icon-day{background-image:url(../images/events-bar/icon-day@2x.png)}.tribe-bar-views span.tribe-icon-photo{background-image:url(../images/events-bar/icon-photo@2x.png)}.tribe-bar-views span.tribe-icon-map{background-image:url(../images/events-bar/icon-map@2x.png)}}
src/resources/css/views-full.min.css CHANGED
@@ -1 +1 @@
1
- .tribe-events .tribe-events-c-breadcrumbs__list{font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:24px;line-height:1.42}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-breadcrumbs__list{font-size:42px;line-height:1.38}.tribe-events .tribe-events-c-breadcrumbs__list-item-link{color:#5d5d5d;transition:color .2s ease}.tribe-events .tribe-events-c-breadcrumbs__list-item-link:visited{color:#5d5d5d}.tribe-events .tribe-events-c-breadcrumbs__list-item-link:focus,.tribe-events .tribe-events-c-breadcrumbs__list-item-link:hover{color:#141827}.tribe-events .tribe-events-c-breadcrumbs__list-item-icon-svg path{fill:#5d5d5d}.tribe-events .datepicker{background-color:#fff;border:1px solid #d5d5d5;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,.14)}.tribe-events .datepicker:after,.tribe-events .datepicker:before{content:none}.tribe-events .datepicker .datepicker-switch:active,.tribe-events .datepicker .datepicker-switch:focus,.tribe-events .datepicker .datepicker-switch:hover,.tribe-events .datepicker .next:active,.tribe-events .datepicker .next:focus,.tribe-events .datepicker .next:hover,.tribe-events .datepicker .prev:active,.tribe-events .datepicker .prev:focus,.tribe-events .datepicker .prev:hover{background-color:#fff}.tribe-events .datepicker .datepicker-switch{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:16px;line-height:1.62;font-weight:400}.tribe-events .datepicker .datepicker-switch:focus,.tribe-events .datepicker .datepicker-switch:hover{color:rgba(20,24,39,.8)}.tribe-events .datepicker .datepicker-switch:active{color:rgba(20,24,39,.9)}.tribe-events .datepicker .next:active .tribe-events-c-top-bar__datepicker-nav-icon-svg path,.tribe-events .datepicker .next:focus .tribe-events-c-top-bar__datepicker-nav-icon-svg path,.tribe-events .datepicker .next:hover .tribe-events-c-top-bar__datepicker-nav-icon-svg path,.tribe-events .datepicker .prev:active .tribe-events-c-top-bar__datepicker-nav-icon-svg path,.tribe-events .datepicker .prev:focus .tribe-events-c-top-bar__datepicker-nav-icon-svg path,.tribe-events .datepicker .prev:hover .tribe-events-c-top-bar__datepicker-nav-icon-svg path{fill:#141827}.tribe-events .datepicker .next .tribe-events-c-top-bar__datepicker-nav-icon-svg path,.tribe-events .datepicker .prev .tribe-events-c-top-bar__datepicker-nav-icon-svg path{fill:#bababa}.tribe-events .datepicker .dow{font-size:11px;line-height:1.5}.tribe-events .datepicker .day,.tribe-events .datepicker .dow{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-weight:400}.tribe-events .datepicker .day{font-size:16px;line-height:1.62}.tribe-events .datepicker .month,.tribe-events .datepicker .year{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:12px;line-height:1.38;font-weight:400}.tribe-events .datepicker .past{color:rgba(20,24,39,.62)}.tribe-events .datepicker .day,.tribe-events .datepicker .month,.tribe-events .datepicker .year{border-radius:4px}.tribe-events .datepicker .day.focused,.tribe-events .datepicker .day:focus,.tribe-events .datepicker .day:hover,.tribe-events .datepicker .month.focused,.tribe-events .datepicker .month:focus,.tribe-events .datepicker .month:hover,.tribe-events .datepicker .year.focused,.tribe-events .datepicker .year:focus,.tribe-events .datepicker .year:hover{background:#f7f6f6}.tribe-events .datepicker .day.current,.tribe-events .datepicker .day.current.focused,.tribe-events .datepicker .day.current:focus,.tribe-events .datepicker .day.current:hover,.tribe-events .datepicker .month.current,.tribe-events .datepicker .month.current.focused,.tribe-events .datepicker .month.current:focus,.tribe-events .datepicker .month.current:hover,.tribe-events .datepicker .year.current,.tribe-events .datepicker .year.current.focused,.tribe-events .datepicker .year.current:focus,.tribe-events .datepicker .year.current:hover{background:rgba(51,74,255,.07)}.tribe-events .datepicker .day.active,.tribe-events .datepicker .day.active.focused,.tribe-events .datepicker .day.active:focus,.tribe-events .datepicker .day.active:hover,.tribe-events .datepicker .month.active,.tribe-events .datepicker .month.active.focused,.tribe-events .datepicker .month.active:focus,.tribe-events .datepicker .month.active:hover,.tribe-events .datepicker .year.active,.tribe-events .datepicker .year.active.focused,.tribe-events .datepicker .year.active:focus,.tribe-events .datepicker .year.active:hover{color:#fff;background:#334aff;text-shadow:none}.admin-bar .tribe-events .datepicker{margin-top:8px}.admin-bar .tribe-events.tribe-common--breakpoint-medium .datepicker{margin-top:16px}.tribe-theme-enfold .tribe-events .datepicker{border:1px solid #d5d5d5;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,.14)}.tribe-theme-enfold .tribe-events .datepicker table,.tribe-theme-enfold .tribe-events .datepicker td,.tribe-theme-enfold .tribe-events .datepicker th,.tribe-theme-enfold .tribe-events .datepicker tr{background:transparent}.tribe-theme-enfold .tribe-events .datepicker .datepicker-switch{color:#141827!important}.tribe-theme-enfold .tribe-events .datepicker .datepicker-switch:focus,.tribe-theme-enfold .tribe-events .datepicker .datepicker-switch:hover{color:rgba(20,24,39,.8)!important}.tribe-theme-enfold .tribe-events .datepicker .datepicker-switch:active{color:rgba(20,24,39,.9)!important}.tribe-theme-enfold .tribe-events .datepicker .day{background-color:#fff}.tribe-theme-enfold .tribe-events .datepicker .day.new,.tribe-theme-enfold .tribe-events .datepicker .day.old{opacity:1}.tribe-theme-enfold .tribe-events .datepicker .day,.tribe-theme-enfold .tribe-events .datepicker .month,.tribe-theme-enfold .tribe-events .datepicker .year{color:#141827;background-color:#fff}.tribe-theme-enfold .tribe-events .datepicker .day.focused,.tribe-theme-enfold .tribe-events .datepicker .day:focus,.tribe-theme-enfold .tribe-events .datepicker .day:hover,.tribe-theme-enfold .tribe-events .datepicker .month.focused,.tribe-theme-enfold .tribe-events .datepicker .month:focus,.tribe-theme-enfold .tribe-events .datepicker .month:hover,.tribe-theme-enfold .tribe-events .datepicker .year.focused,.tribe-theme-enfold .tribe-events .datepicker .year:focus,.tribe-theme-enfold .tribe-events .datepicker .year:hover{background:#f7f6f6}.tribe-theme-enfold .tribe-events .datepicker .day.past,.tribe-theme-enfold .tribe-events .datepicker .month.past,.tribe-theme-enfold .tribe-events .datepicker .year.past{color:rgba(20,24,39,.62)}.tribe-theme-enfold .tribe-events .datepicker .day.current,.tribe-theme-enfold .tribe-events .datepicker .day.current.focused,.tribe-theme-enfold .tribe-events .datepicker .day.current:focus,.tribe-theme-enfold .tribe-events .datepicker .day.current:hover,.tribe-theme-enfold .tribe-events .datepicker .month.current,.tribe-theme-enfold .tribe-events .datepicker .month.current.focused,.tribe-theme-enfold .tribe-events .datepicker .month.current:focus,.tribe-theme-enfold .tribe-events .datepicker .month.current:hover,.tribe-theme-enfold .tribe-events .datepicker .year.current,.tribe-theme-enfold .tribe-events .datepicker .year.current.focused,.tribe-theme-enfold .tribe-events .datepicker .year.current:focus,.tribe-theme-enfold .tribe-events .datepicker .year.current:hover{background:rgba(51,74,255,.07)}.tribe-theme-enfold .tribe-events .datepicker .day.active,.tribe-theme-enfold .tribe-events .datepicker .day.active.focused,.tribe-theme-enfold .tribe-events .datepicker .day.active:focus,.tribe-theme-enfold .tribe-events .datepicker .day.active:hover,.tribe-theme-enfold .tribe-events .datepicker .month.active,.tribe-theme-enfold .tribe-events .datepicker .month.active.focused,.tribe-theme-enfold .tribe-events .datepicker .month.active:focus,.tribe-theme-enfold .tribe-events .datepicker .month.active:hover,.tribe-theme-enfold .tribe-events .datepicker .year.active,.tribe-theme-enfold .tribe-events .datepicker .year.active.focused,.tribe-theme-enfold .tribe-events .datepicker .year.active:focus,.tribe-theme-enfold .tribe-events .datepicker .year.active:hover{color:#fff;background:#334aff}.tribe-theme-avada .tribe-events .datepicker{border:1px solid #d5d5d5;border-radius:4px}.tribe-theme-avada .tribe-events .datepicker tbody td{border:0}.tribe-theme-avada .tribe-events .datepicker .datepicker-switch,.tribe-theme-avada .tribe-events .datepicker .datepicker-switch:hover,.tribe-theme-avada .tribe-events .datepicker .next,.tribe-theme-avada .tribe-events .datepicker .next:hover,.tribe-theme-avada .tribe-events .datepicker .prev,.tribe-theme-avada .tribe-events .datepicker .prev:hover{background-color:#fff}.tribe-theme-avada .tribe-events .datepicker .day.new,.tribe-theme-avada .tribe-events .datepicker .day.old{background-color:transparent!important;color:#141827!important}.tribe-theme-avada .tribe-events .datepicker .day.new.focused,.tribe-theme-avada .tribe-events .datepicker .day.new:focus,.tribe-theme-avada .tribe-events .datepicker .day.new:hover,.tribe-theme-avada .tribe-events .datepicker .day.old.focused,.tribe-theme-avada .tribe-events .datepicker .day.old:focus,.tribe-theme-avada .tribe-events .datepicker .day.old:hover{background:#f7f6f6!important}.tribe-theme-avada .tribe-events .datepicker .day,.tribe-theme-avada .tribe-events .datepicker .month{background-color:transparent;color:#141827}.tribe-theme-avada .tribe-events .datepicker .day.focused,.tribe-theme-avada .tribe-events .datepicker .day:focus,.tribe-theme-avada .tribe-events .datepicker .day:hover,.tribe-theme-avada .tribe-events .datepicker .month.focused,.tribe-theme-avada .tribe-events .datepicker .month:focus,.tribe-theme-avada .tribe-events .datepicker .month:hover{background:#f7f6f6}.tribe-theme-avada .tribe-events .datepicker .day.past,.tribe-theme-avada .tribe-events .datepicker .month.past{color:rgba(20,24,39,.62)!important}.tribe-theme-avada .tribe-events .datepicker .day.current,.tribe-theme-avada .tribe-events .datepicker .day.current.focused,.tribe-theme-avada .tribe-events .datepicker .day.current:focus,.tribe-theme-avada .tribe-events .datepicker .day.current:hover,.tribe-theme-avada .tribe-events .datepicker .month.current,.tribe-theme-avada .tribe-events .datepicker .month.current.focused,.tribe-theme-avada .tribe-events .datepicker .month.current:focus,.tribe-theme-avada .tribe-events .datepicker .month.current:hover{background:rgba(51,74,255,.07)}.tribe-theme-avada .tribe-events .datepicker .day.active,.tribe-theme-avada .tribe-events .datepicker .day.active.focused,.tribe-theme-avada .tribe-events .datepicker .day.active:focus,.tribe-theme-avada .tribe-events .datepicker .day.active:hover,.tribe-theme-avada .tribe-events .datepicker .month.active,.tribe-theme-avada .tribe-events .datepicker .month.active.focused,.tribe-theme-avada .tribe-events .datepicker .month.active:focus,.tribe-theme-avada .tribe-events .datepicker .month.active:hover{color:#fff!important;background:#334aff!important}.tribe-events .tribe-events-c-day-marker:after{background-color:#d5d5d5;content:"";display:block;flex:auto;height:1px;margin-left:20px}.tribe-events .tribe-events-c-events-bar{background-color:#fff}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-events-bar--border{border:1px solid #e4e4e4}.tribe-events .tribe-events-c-events-bar__search-button:focus,.tribe-events .tribe-events-c-events-bar__search-button:hover{opacity:.8}.tribe-events .tribe-events-c-events-bar__search-button:active{opacity:.9}.tribe-events .tribe-events-c-events-bar__search-button:before{background-color:#334aff;content:"";display:none;height:2px;pointer-events:none;position:absolute;top:100%;transform:translateY(4px);width:calc(100% - 8px)}.tribe-events .tribe-events-c-events-bar__search-button--active:before{display:block}.tribe-events .tribe-events-c-events-bar__search-button-icon-svg path{fill:#141827}.tribe-events .tribe-events-c-ical__link{border:1px solid #334aff;border-radius:4px;color:#334aff;font-weight:700}.tribe-events .tribe-events-c-ical__link:active,.tribe-events .tribe-events-c-ical__link:focus,.tribe-events .tribe-events-c-ical__link:hover{color:#fff;background-color:#334aff}.tribe-events .tribe-events-c-ical__link:active .tribe-events-c-ical__link-icon-svg path,.tribe-events .tribe-events-c-ical__link:focus .tribe-events-c-ical__link-icon-svg path,.tribe-events .tribe-events-c-ical__link:hover .tribe-events-c-ical__link-icon-svg path{stroke:#fff}.tribe-events .tribe-events-c-ical__link-icon-svg{display:block;flex:none;margin-right:8px;width:10px}.tribe-events .tribe-events-c-ical__link-icon-svg path{stroke:currentColor}.tribe-theme-twentyseventeen .tribe-events .tribe-events-c-ical__link:active,.tribe-theme-twentyseventeen .tribe-events .tribe-events-c-ical__link:focus,.tribe-theme-twentyseventeen .tribe-events .tribe-events-c-ical__link:hover{color:#fff}.tribe-events .tribe-events-c-messages__message{background-color:rgba(20,24,39,.07);border-radius:4px}.tribe-events .tribe-events-c-messages__message--notice .tribe-events-c-messages__message-icon-svg{display:inline-block;margin-right:12px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-messages__message-list{text-align:center}.tribe-events .tribe-events-c-messages__message-list-item-link{font-weight:700}.tribe-events .tribe-events-c-nav{border-top:1px solid #d5d5d5}.tribe-events .tribe-events-c-nav__list{list-style:none}.tribe-events .tribe-events-c-nav__next-label-plural,.tribe-events .tribe-events-c-nav__prev-label-plural{white-space:pre}.tribe-events .tribe-events-c-nav__today:focus,.tribe-events .tribe-events-c-nav__today:hover{color:rgba(20,24,39,.8)}.tribe-events .tribe-events-c-nav__today:active{color:#141827}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__next,.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__prev{color:#5d5d5d}.tribe-events .tribe-events-c-nav__next:focus,.tribe-events .tribe-events-c-nav__next:hover,.tribe-events .tribe-events-c-nav__prev:focus,.tribe-events .tribe-events-c-nav__prev:hover{color:rgba(20,24,39,.8)}.tribe-events .tribe-events-c-nav__next:active,.tribe-events .tribe-events-c-nav__prev:active{color:#141827}.tribe-events .tribe-events-c-nav__next:disabled,.tribe-events .tribe-events-c-nav__prev:disabled{background-color:transparent;color:#d5d5d5}.tribe-events .tribe-events-c-nav__prev:focus .tribe-events-c-nav__prev-icon-svg,.tribe-events .tribe-events-c-nav__prev:hover .tribe-events-c-nav__prev-icon-svg{opacity:.8}.tribe-events .tribe-events-c-nav__prev:focus .tribe-events-c-nav__prev-icon-svg path,.tribe-events .tribe-events-c-nav__prev:hover .tribe-events-c-nav__prev-icon-svg path{fill:#141827}.tribe-events .tribe-events-c-nav__prev:active:before{opacity:1}.tribe-events .tribe-events-c-nav__prev:disabled .tribe-events-c-nav__prev-icon-svg path{fill:#d5d5d5}.tribe-events .tribe-events-c-nav__prev-icon-svg{display:block;margin-right:8px;width:7px}.tribe-events .tribe-events-c-nav__prev-icon-svg path{fill:#141827}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__prev-icon-svg{margin-right:15px;width:9px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__prev-icon-svg path{fill:#5d5d5d}.tribe-events .tribe-events-c-nav__next:focus .tribe-events-c-nav__next-icon-svg,.tribe-events .tribe-events-c-nav__next:hover .tribe-events-c-nav__next-icon-svg{opacity:.8}.tribe-events .tribe-events-c-nav__next:focus .tribe-events-c-nav__next-icon-svg path,.tribe-events .tribe-events-c-nav__next:hover .tribe-events-c-nav__next-icon-svg path{fill:#141827}.tribe-events .tribe-events-c-nav__next:active:after{opacity:1}.tribe-events .tribe-events-c-nav__next:disabled .tribe-events-c-nav__next-icon-svg path{fill:#d5d5d5}.tribe-events .tribe-events-c-nav__next-icon-svg{display:block;margin-left:8px;width:7px}.tribe-events .tribe-events-c-nav__next-icon-svg path{fill:#141827}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__next-icon-svg{margin-left:15px;width:9px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__next-icon-svg path{fill:#5d5d5d}.tribe-events .tribe-events-c-small-cta__stock{color:#5d5d5d}.tribe-events .tribe-events-c-search__input-control{position:relative}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search__input-control{border-right:1px solid #e4e4e4}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search__input-control:last-child{border-right:0}.tribe-events .tribe-events-c-search__input-control-icon-svg{position:absolute;top:50%;right:0;display:block;transform:translateY(-50%)}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search__input-control-icon-svg{right:auto;left:16px}.tribe-events .tribe-events-c-search__input-control-icon-svg path{fill:#5d5d5d}.tribe-events .tribe-events-c-search__input-control--keyword-focus .tribe-events-c-search__input~.tribe-events-c-search__input-control-icon-svg path,.tribe-events .tribe-events-c-search__input-control--keyword .tribe-events-c-search__input:focus~.tribe-events-c-search__input-control-icon-svg path,.tribe-events .tribe-events-c-search__input-control--location-focus .tribe-events-c-search__input~.tribe-events-c-search__input-control-icon-svg path,.tribe-events .tribe-events-c-search__input-control--location .tribe-events-c-search__input:focus~.tribe-events-c-search__input-control-icon-svg path{fill:currentColor}.tooltipster-base.tribe-events-tooltip-theme{background-color:#fff;border:1px solid #d5d5d5;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,.14)}.tooltipster-base.tribe-events-tooltip-theme .tooltipster-box{background-color:transparent;border:0;border-radius:0;box-shadow:none}.tooltipster-base.tribe-events-tooltip-theme .tooltipster-box .tooltipster-content{color:#141827;overflow:inherit}.tribe-events .tribe-events-c-top-bar__datepicker-button{transition:opacity .2s ease}.tribe-events .tribe-events-c-top-bar__datepicker-button:focus,.tribe-events .tribe-events-c-top-bar__datepicker-button:hover{opacity:.8}.tribe-events .tribe-events-c-top-bar__datepicker-button:active{opacity:.9}.tribe-events .tribe-events-c-top-bar__datepicker-button-icon-svg{display:block;margin-left:8px;height:6px;width:9px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-top-bar__datepicker-button-icon-svg{height:8px;width:11px}.tribe-events .tribe-events-c-top-bar__datepicker-button--open .tribe-events-c-top-bar__datepicker-button-icon-svg{transform:rotate(180deg)}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--labels .tribe-events-c-view-selector__button:before{content:none}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--labels .tribe-events-c-view-selector__button-icon-caret-svg{display:block;flex:none;height:6px;margin-left:8px;width:10px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--labels .tribe-events-c-view-selector__button--active .tribe-events-c-view-selector__button-icon-caret-svg{transform:rotate(180deg)}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--labels .tribe-events-c-view-selector__button-text{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:14px;line-height:1.62;font-weight:400;font-weight:700}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--labels .tribe-events-c-view-selector__content{box-shadow:0 2px 5px 0 rgba(0,0,0,.14)}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__content{border:0;border-radius:0;box-shadow:none}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link{background-color:transparent}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link:after{background-color:#141827;bottom:-1px;content:"";display:block;height:2px;position:absolute;width:100%}.tribe-events .tribe-events-c-view-selector__button{text-align:left}.tribe-events .tribe-events-c-view-selector__button:focus,.tribe-events .tribe-events-c-view-selector__button:hover{opacity:.8}.tribe-events .tribe-events-c-view-selector__button:active{opacity:.9}.tribe-events .tribe-events-c-view-selector__button:before{background-color:#334aff;content:"";display:none;height:2px;pointer-events:none;position:absolute;top:100%;transform:translateY(4px);width:calc(100% - 8px)}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector__button:before{width:calc(100% - 16px);transform:none}.tribe-events .tribe-events-c-view-selector__button--active:before{display:block}.tribe-events .tribe-events-c-view-selector__content{border:1px solid #e4e4e4;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,.14)}.tribe-events .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link{background-color:#f7f6f6}.tribe-events .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-text{font-weight:700}.tribe-events .tribe-events-c-view-selector__list-item-link{border-radius:4px}.tribe-events .tribe-events-c-view-selector__list-item-link:focus .tribe-events-c-view-selector__list-item-icon,.tribe-events .tribe-events-c-view-selector__list-item-link:hover .tribe-events-c-view-selector__list-item-icon{opacity:.8}.tribe-events .tribe-events-c-view-selector__list-item-link:focus .tribe-events-c-view-selector__list-item-text,.tribe-events .tribe-events-c-view-selector__list-item-link:hover .tribe-events-c-view-selector__list-item-text{color:rgba(20,24,39,.8)}.tribe-events .tribe-events-c-view-selector__list-item-text{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:14px;line-height:1.62;font-weight:400}.tribe-events .tribe-events-calendar-list__event-row--featured .tribe-events-calendar-list__event-date-tag-datetime:after{background-color:#334aff;content:"";height:100%;right:calc(100% - 3px);position:absolute;width:3px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-row--featured .tribe-events-calendar-list__event-date-tag-datetime:after{right:-1px;width:4px}.tribe-events .tribe-events-calendar-list__event-venue{font-style:normal}.tribe-events .tribe-events-calendar-list__event-date-tag-weekday{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:11px;font-weight:400;line-height:1.5;color:#5d5d5d;text-transform:uppercase}.tribe-events .tribe-events-calendar-list__event-featured-image-link{transition:opacity .2s ease}.tribe-events .tribe-events-calendar-list__event-featured-image-link:focus,.tribe-events .tribe-events-calendar-list__event-featured-image-link:hover{opacity:.8}.tribe-events .tribe-events-calendar-list__event-featured-image-link:active{opacity:.9}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-datetime-featured-text{color:#334aff;font-weight:700}.tribe-events .tribe-events-calendar-list__month-separator:after{background-color:#d5d5d5;content:"";display:block;flex:auto;height:1px;margin-left:20px}.tribe-events .tribe-events-calendar-list-nav{border-top:1px solid #d5d5d5}.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__calendar-event{opacity:.64}.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__calendar-event-datetime{color:#141827;opacity:.94}.tribe-events .tribe-events-calendar-month__calendar-event-featured-image-link{transition:opacity .2s ease}.tribe-events .tribe-events-calendar-month__calendar-event-featured-image-link:focus,.tribe-events .tribe-events-calendar-month__calendar-event-featured-image-link:hover{opacity:.8}.tribe-events .tribe-events-calendar-month__calendar-event-featured-image-link:active{opacity:.9}.tribe-events .tribe-events-calendar-month__calendar-event-datetime{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:11px;font-weight:400;line-height:1.5;color:#5d5d5d}.tribe-events .tribe-events-calendar-month__calendar-event--featured:before{background-color:#334aff;content:"";height:100%;left:7px;position:absolute;width:2px}.tribe-events .tribe-events-calendar-month__calendar-event--featured:last-child:before{height:calc(100% - 16px)}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image-link{transition:opacity .2s ease}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image-link:focus,.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image-link:hover{opacity:.8}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image-link:active{opacity:.9}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-datetime{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:11px;font-weight:400;line-height:1.5}.tribe-events .tribe-events-calendar-month__header-column{text-transform:uppercase}.tribe-events .tribe-events-calendar-month__header-column-title{color:#5d5d5d;text-align:center}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__header-column-title{text-align:left}.tribe-events .tribe-events-calendar-month__day{border-radius:4px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day{border-radius:0}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day:after{background-color:transparent;bottom:0;content:"";display:block;height:2px;left:-1px;position:absolute;transition:background-color .2s ease;width:calc(100% + 2px)}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day:hover:after{background-color:#141827}.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date,.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link{color:#334aff;font-weight:700}.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:focus,.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:hover{color:rgba(51,74,255,.8)}.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:active{color:rgba(51,74,255,.9)}.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__day-date{opacity:.6}.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__mobile-events-icon--event{background-color:#141827;opacity:.6}.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__mobile-events-icon--featured{opacity:.6}.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__mobile-events-icon--featured .tribe-events-calendar-month__mobile-events-icon-svg path{fill:#141827}.tribe-events .tribe-events-calendar-month__day-cell--mobile:focus,.tribe-events .tribe-events-calendar-month__day-cell--mobile:hover{background-color:#f7f6f6}.tribe-events .tribe-events-calendar-month__day-cell--selected,.tribe-events .tribe-events-calendar-month__day-cell--selected:focus,.tribe-events .tribe-events-calendar-month__day-cell--selected:hover{background-color:#334aff}.tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__day-date{color:#fff;opacity:1}.tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__mobile-events-icon--event{background-color:#fff;opacity:1}.tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__mobile-events-icon--featured{opacity:1}.tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__mobile-events-icon--featured .tribe-events-calendar-month__mobile-events-icon-svg path{fill:#fff}.tribe-events .tribe-events-calendar-month__day-date-link{color:#141827;transition:color .2s ease}.tribe-events .tribe-events-calendar-month__day-date-link:focus,.tribe-events .tribe-events-calendar-month__day-date-link:hover{color:rgba(20,24,39,.8)}.tribe-events .tribe-events-calendar-month__day-date-link:active{color:rgba(20,24,39,.9)}.tribe-events .tribe-events-calendar-month__mobile-events-icon--event{background-color:#334aff}.tribe-events .tribe-events-calendar-month__mobile-events-icon--featured .tribe-events-calendar-month__mobile-events-icon-svg path{fill:currentColor}.tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:focus,.tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:hover{color:rgba(51,74,255,.8)}.tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:active{color:rgba(51,74,255,.9)}.tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day-cell--selected:focus,.tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day-cell--selected:hover{background-color:#334aff}.tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day-date-link:focus,.tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day-date-link:hover{color:rgba(20,24,39,.8)}.tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day-date-link:active{color:rgba(20,24,39,.9)}.tribe-theme-twentytwenty .tribe-events .tribe-events-calendar-month__day-cell--selected{background-color:#334aff}.tribe-theme-avada #main .tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__day-date{color:#fff}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event+.tribe-events-calendar-month-mobile-events__mobile-event{border-top:1px solid #d5d5d5}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime{color:#5d5d5d}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime-featured-text{color:#334aff;font-weight:700}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime-recurring-link:focus .tribe-events-calendar-month-mobile-events__mobile-event-datetime-recurring-icon-svg path,.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime-recurring-link:hover .tribe-events-calendar-month-mobile-events__mobile-event-datetime-recurring-icon-svg path{fill:currentColor;stroke:currentColor}.tribe-events .tribe-events-calendar-month__more-events{border-top:1px solid #e4e4e4}.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__more-events-link{opacity:.5}.tribe-events .tribe-events-calendar-month__multiday-event--start .tribe-events-calendar-month__multiday-event-bar{border-top-left-radius:9.5px;border-bottom-left-radius:9.5px}.tribe-events .tribe-events-calendar-month__multiday-event--end .tribe-events-calendar-month__multiday-event-bar{border-top-right-radius:9.5px;border-bottom-right-radius:9.5px}.tribe-events .tribe-events-calendar-month__multiday-event-bar-inner{background-color:rgba(51,74,255,.24);transition:background-color .2s ease}.tribe-events .tribe-events-calendar-month__multiday-event-bar-inner--focus,.tribe-events .tribe-events-calendar-month__multiday-event-bar-inner--hover,.tribe-events .tribe-events-calendar-month__multiday-event-bar-inner:focus,.tribe-events .tribe-events-calendar-month__multiday-event-bar-inner:hover{background-color:rgba(51,74,255,.34)}.tribe-events .tribe-events-calendar-month__multiday-event--past .tribe-events-calendar-month__multiday-event-bar-inner{background-color:#f7f6f6}.tribe-events .tribe-events-calendar-month__multiday-event--past .tribe-events-calendar-month__multiday-event-bar-inner--focus,.tribe-events .tribe-events-calendar-month__multiday-event--past .tribe-events-calendar-month__multiday-event-bar-inner--hover,.tribe-events .tribe-events-calendar-month__multiday-event--past .tribe-events-calendar-month__multiday-event-bar-inner:focus,.tribe-events .tribe-events-calendar-month__multiday-event--past .tribe-events-calendar-month__multiday-event-bar-inner:hover{background-color:#f0eeee}.tribe-events .tribe-events-calendar-month__multiday-event--past .tribe-events-calendar-month__multiday-event-bar-featured-icon,.tribe-events .tribe-events-calendar-month__multiday-event--past .tribe-events-calendar-month__multiday-event-bar-title{opacity:.64}.tribe-events .tribe-events-calendar-month__multiday-event-bar-title{font-weight:400;text-overflow:ellipsis}.tribe-theme-avada #main .tribe-events .tribe-events-calendar-month__multiday-event-bar-title{font-weight:400}.tribe-events .tribe-events-calendar-day__event--featured{position:relative}.tribe-events .tribe-events-calendar-day__event--featured:after{background-color:#334aff;content:"";height:100%;left:21px;position:absolute;width:3px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event--featured:after{left:calc(11.111% - 24px);width:4px}.tribe-events .tribe-events-calendar-day__event-venue{font-style:normal}.tribe-events .tribe-events-calendar-day__event-featured-image-link{transition:opacity .2s ease}.tribe-events .tribe-events-calendar-day__event-featured-image-link:focus,.tribe-events .tribe-events-calendar-day__event-featured-image-link:hover{opacity:.8}.tribe-events .tribe-events-calendar-day__event-featured-image-link:active{opacity:.9}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-datetime-featured-text{color:#334aff;font-weight:700}.tribe-events .tribe-events-calendar-day-nav{border-top:1px solid #d5d5d5}.tribe-events .tribe-events-calendar-day__time-separator:after,.tribe-events .tribe-events-calendar-day__type-separator:after{background-color:#d5d5d5;content:"";display:block;flex:auto;height:1px;margin-left:20px}.tribe-events .tribe-events-calendar-latest-past__event-row--featured .tribe-events-calendar-latest-past__event-date-tag-datetime:after{background-color:#334aff;content:"";height:100%;right:calc(100% - 3px);position:absolute;width:3px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-row--featured .tribe-events-calendar-latest-past__event-date-tag-datetime:after{right:-1px;width:4px}.tribe-events .tribe-events-calendar-latest-past__event-venue{font-style:normal}.tribe-events .tribe-events-calendar-latest-past__event-date-tag-month,.tribe-events .tribe-events-calendar-latest-past__event-date-tag-year{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:11px;font-weight:400;line-height:1.5}.tribe-events .tribe-events-calendar-latest-past__event-date-tag-month{color:#5d5d5d;text-transform:uppercase}.tribe-events .tribe-events-calendar-latest-past__event-featured-image-link{transition:opacity .2s ease}.tribe-events .tribe-events-calendar-latest-past__event-featured-image-link:focus,.tribe-events .tribe-events-calendar-latest-past__event-featured-image-link:hover{opacity:.8}.tribe-events .tribe-events-calendar-latest-past__event-featured-image-link:active{opacity:.9}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-datetime-featured-text{color:#334aff;font-weight:700}
1
+ .tribe-events .tribe-events-c-breadcrumbs__list{font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:24px;line-height:1.42}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-breadcrumbs__list{font-size:42px;line-height:1.38}.tribe-events .tribe-events-c-breadcrumbs__list-item-link{color:#5d5d5d;transition:color .2s ease}.tribe-events .tribe-events-c-breadcrumbs__list-item-link:visited{color:#5d5d5d}.tribe-events .tribe-events-c-breadcrumbs__list-item-link:focus,.tribe-events .tribe-events-c-breadcrumbs__list-item-link:hover{color:#141827}.tribe-events .tribe-events-c-breadcrumbs__list-item-icon-svg path{fill:#5d5d5d}.tribe-events .datepicker{background-color:#fff;border:1px solid #d5d5d5;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,.14)}.tribe-events .datepicker:after,.tribe-events .datepicker:before{content:none}.tribe-events .datepicker .datepicker-switch:active,.tribe-events .datepicker .datepicker-switch:focus,.tribe-events .datepicker .datepicker-switch:hover,.tribe-events .datepicker .next:active,.tribe-events .datepicker .next:focus,.tribe-events .datepicker .next:hover,.tribe-events .datepicker .prev:active,.tribe-events .datepicker .prev:focus,.tribe-events .datepicker .prev:hover{background-color:#fff}.tribe-events .datepicker .datepicker-switch{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:16px;line-height:1.62;font-weight:400}.tribe-events .datepicker .datepicker-switch:focus,.tribe-events .datepicker .datepicker-switch:hover{color:rgba(20,24,39,.8)}.tribe-events .datepicker .datepicker-switch:active{color:rgba(20,24,39,.9)}.tribe-events .datepicker .next:active .tribe-events-c-top-bar__datepicker-nav-icon-svg path,.tribe-events .datepicker .next:focus .tribe-events-c-top-bar__datepicker-nav-icon-svg path,.tribe-events .datepicker .next:hover .tribe-events-c-top-bar__datepicker-nav-icon-svg path,.tribe-events .datepicker .prev:active .tribe-events-c-top-bar__datepicker-nav-icon-svg path,.tribe-events .datepicker .prev:focus .tribe-events-c-top-bar__datepicker-nav-icon-svg path,.tribe-events .datepicker .prev:hover .tribe-events-c-top-bar__datepicker-nav-icon-svg path{fill:#141827}.tribe-events .datepicker .next .tribe-events-c-top-bar__datepicker-nav-icon-svg path,.tribe-events .datepicker .prev .tribe-events-c-top-bar__datepicker-nav-icon-svg path{fill:#bababa}.tribe-events .datepicker .dow{font-size:11px;line-height:1.5}.tribe-events .datepicker .day,.tribe-events .datepicker .dow{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-weight:400}.tribe-events .datepicker .day{font-size:16px;line-height:1.62}.tribe-events .datepicker .month,.tribe-events .datepicker .year{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:12px;line-height:1.38;font-weight:400}.tribe-events .datepicker .past{color:rgba(20,24,39,.62)}.tribe-events .datepicker .day,.tribe-events .datepicker .month,.tribe-events .datepicker .year{border-radius:4px}.tribe-events .datepicker .day.focused,.tribe-events .datepicker .day:focus,.tribe-events .datepicker .day:hover,.tribe-events .datepicker .month.focused,.tribe-events .datepicker .month:focus,.tribe-events .datepicker .month:hover,.tribe-events .datepicker .year.focused,.tribe-events .datepicker .year:focus,.tribe-events .datepicker .year:hover{background:#f7f6f6}.tribe-events .datepicker .day.current,.tribe-events .datepicker .day.current.focused,.tribe-events .datepicker .day.current:focus,.tribe-events .datepicker .day.current:hover,.tribe-events .datepicker .month.current,.tribe-events .datepicker .month.current.focused,.tribe-events .datepicker .month.current:focus,.tribe-events .datepicker .month.current:hover,.tribe-events .datepicker .year.current,.tribe-events .datepicker .year.current.focused,.tribe-events .datepicker .year.current:focus,.tribe-events .datepicker .year.current:hover{background:rgba(51,74,255,.07)}.tribe-events .datepicker .day.active,.tribe-events .datepicker .day.active.focused,.tribe-events .datepicker .day.active:focus,.tribe-events .datepicker .day.active:hover,.tribe-events .datepicker .month.active,.tribe-events .datepicker .month.active.focused,.tribe-events .datepicker .month.active:focus,.tribe-events .datepicker .month.active:hover,.tribe-events .datepicker .year.active,.tribe-events .datepicker .year.active.focused,.tribe-events .datepicker .year.active:focus,.tribe-events .datepicker .year.active:hover{color:#fff;background:#334aff;text-shadow:none}.admin-bar .tribe-events .datepicker{margin-top:8px}.admin-bar .tribe-events.tribe-common--breakpoint-medium .datepicker{margin-top:16px}.tribe-theme-enfold .tribe-events .datepicker{border:1px solid #d5d5d5;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,.14)}.tribe-theme-enfold .tribe-events .datepicker table,.tribe-theme-enfold .tribe-events .datepicker td,.tribe-theme-enfold .tribe-events .datepicker th,.tribe-theme-enfold .tribe-events .datepicker tr{background:transparent}.tribe-theme-enfold .tribe-events .datepicker .datepicker-switch{color:#141827!important}.tribe-theme-enfold .tribe-events .datepicker .datepicker-switch:focus,.tribe-theme-enfold .tribe-events .datepicker .datepicker-switch:hover{color:rgba(20,24,39,.8)!important}.tribe-theme-enfold .tribe-events .datepicker .datepicker-switch:active{color:rgba(20,24,39,.9)!important}.tribe-theme-enfold .tribe-events .datepicker .day{background-color:#fff}.tribe-theme-enfold .tribe-events .datepicker .day.new,.tribe-theme-enfold .tribe-events .datepicker .day.old{opacity:1}.tribe-theme-enfold .tribe-events .datepicker .day,.tribe-theme-enfold .tribe-events .datepicker .month,.tribe-theme-enfold .tribe-events .datepicker .year{color:#141827;background-color:#fff}.tribe-theme-enfold .tribe-events .datepicker .day.focused,.tribe-theme-enfold .tribe-events .datepicker .day:focus,.tribe-theme-enfold .tribe-events .datepicker .day:hover,.tribe-theme-enfold .tribe-events .datepicker .month.focused,.tribe-theme-enfold .tribe-events .datepicker .month:focus,.tribe-theme-enfold .tribe-events .datepicker .month:hover,.tribe-theme-enfold .tribe-events .datepicker .year.focused,.tribe-theme-enfold .tribe-events .datepicker .year:focus,.tribe-theme-enfold .tribe-events .datepicker .year:hover{background:#f7f6f6}.tribe-theme-enfold .tribe-events .datepicker .day.past,.tribe-theme-enfold .tribe-events .datepicker .month.past,.tribe-theme-enfold .tribe-events .datepicker .year.past{color:rgba(20,24,39,.62)}.tribe-theme-enfold .tribe-events .datepicker .day.current,.tribe-theme-enfold .tribe-events .datepicker .day.current.focused,.tribe-theme-enfold .tribe-events .datepicker .day.current:focus,.tribe-theme-enfold .tribe-events .datepicker .day.current:hover,.tribe-theme-enfold .tribe-events .datepicker .month.current,.tribe-theme-enfold .tribe-events .datepicker .month.current.focused,.tribe-theme-enfold .tribe-events .datepicker .month.current:focus,.tribe-theme-enfold .tribe-events .datepicker .month.current:hover,.tribe-theme-enfold .tribe-events .datepicker .year.current,.tribe-theme-enfold .tribe-events .datepicker .year.current.focused,.tribe-theme-enfold .tribe-events .datepicker .year.current:focus,.tribe-theme-enfold .tribe-events .datepicker .year.current:hover{background:rgba(51,74,255,.07)}.tribe-theme-enfold .tribe-events .datepicker .day.active,.tribe-theme-enfold .tribe-events .datepicker .day.active.focused,.tribe-theme-enfold .tribe-events .datepicker .day.active:focus,.tribe-theme-enfold .tribe-events .datepicker .day.active:hover,.tribe-theme-enfold .tribe-events .datepicker .month.active,.tribe-theme-enfold .tribe-events .datepicker .month.active.focused,.tribe-theme-enfold .tribe-events .datepicker .month.active:focus,.tribe-theme-enfold .tribe-events .datepicker .month.active:hover,.tribe-theme-enfold .tribe-events .datepicker .year.active,.tribe-theme-enfold .tribe-events .datepicker .year.active.focused,.tribe-theme-enfold .tribe-events .datepicker .year.active:focus,.tribe-theme-enfold .tribe-events .datepicker .year.active:hover{color:#fff;background:#334aff}.tribe-theme-avada .tribe-events .datepicker{border:1px solid #d5d5d5;border-radius:4px}.tribe-theme-avada .tribe-events .datepicker tbody td{border:0}.tribe-theme-avada .tribe-events .datepicker .datepicker-switch,.tribe-theme-avada .tribe-events .datepicker .datepicker-switch:hover,.tribe-theme-avada .tribe-events .datepicker .next,.tribe-theme-avada .tribe-events .datepicker .next:hover,.tribe-theme-avada .tribe-events .datepicker .prev,.tribe-theme-avada .tribe-events .datepicker .prev:hover{background-color:#fff}.tribe-theme-avada .tribe-events .datepicker .day.new,.tribe-theme-avada .tribe-events .datepicker .day.old{background-color:transparent!important;color:#141827!important}.tribe-theme-avada .tribe-events .datepicker .day.new.focused,.tribe-theme-avada .tribe-events .datepicker .day.new:focus,.tribe-theme-avada .tribe-events .datepicker .day.new:hover,.tribe-theme-avada .tribe-events .datepicker .day.old.focused,.tribe-theme-avada .tribe-events .datepicker .day.old:focus,.tribe-theme-avada .tribe-events .datepicker .day.old:hover{background:#f7f6f6!important}.tribe-theme-avada .tribe-events .datepicker .day,.tribe-theme-avada .tribe-events .datepicker .month{background-color:transparent;color:#141827}.tribe-theme-avada .tribe-events .datepicker .day.focused,.tribe-theme-avada .tribe-events .datepicker .day:focus,.tribe-theme-avada .tribe-events .datepicker .day:hover,.tribe-theme-avada .tribe-events .datepicker .month.focused,.tribe-theme-avada .tribe-events .datepicker .month:focus,.tribe-theme-avada .tribe-events .datepicker .month:hover{background:#f7f6f6}.tribe-theme-avada .tribe-events .datepicker .day.past,.tribe-theme-avada .tribe-events .datepicker .month.past{color:rgba(20,24,39,.62)!important}.tribe-theme-avada .tribe-events .datepicker .day.current,.tribe-theme-avada .tribe-events .datepicker .day.current.focused,.tribe-theme-avada .tribe-events .datepicker .day.current:focus,.tribe-theme-avada .tribe-events .datepicker .day.current:hover,.tribe-theme-avada .tribe-events .datepicker .month.current,.tribe-theme-avada .tribe-events .datepicker .month.current.focused,.tribe-theme-avada .tribe-events .datepicker .month.current:focus,.tribe-theme-avada .tribe-events .datepicker .month.current:hover{background:rgba(51,74,255,.07)}.tribe-theme-avada .tribe-events .datepicker .day.active,.tribe-theme-avada .tribe-events .datepicker .day.active.focused,.tribe-theme-avada .tribe-events .datepicker .day.active:focus,.tribe-theme-avada .tribe-events .datepicker .day.active:hover,.tribe-theme-avada .tribe-events .datepicker .month.active,.tribe-theme-avada .tribe-events .datepicker .month.active.focused,.tribe-theme-avada .tribe-events .datepicker .month.active:focus,.tribe-theme-avada .tribe-events .datepicker .month.active:hover{color:#fff!important;background:#334aff!important}.tribe-events .tribe-events-c-day-marker:after{background-color:#d5d5d5;content:"";display:block;flex:auto;height:1px;margin-left:20px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-header--has-event-search .tribe-events-c-events-bar{background-color:#fff}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-events-bar--border{border:1px solid #e4e4e4}.tribe-events .tribe-events-c-events-bar__search-button{display:flex}.tribe-events .tribe-events-c-events-bar__search-button:focus,.tribe-events .tribe-events-c-events-bar__search-button:hover{opacity:.8}.tribe-events .tribe-events-c-events-bar__search-button:active{opacity:.9}.tribe-events .tribe-events-c-events-bar__search-button:before{background-color:#334aff;content:"";display:none;height:2px;pointer-events:none;position:absolute;top:100%;transform:translateY(4px);width:calc(100% - 8px)}.tribe-events .tribe-events-c-events-bar__search-button--active:before{display:block}.tribe-events .tribe-events-c-events-bar__search-button-icon-svg path{fill:#141827}.tribe-theme-twentyseventeen.colors-dark .tribe-events .tribe-events-c-events-bar__search-button,.tribe-theme-twentyseventeen.colors-dark .tribe-events .tribe-events-c-events-bar__search-button:focus,.tribe-theme-twentyseventeen.colors-dark .tribe-events .tribe-events-c-events-bar__search-button:hover{background-color:transparent}.tribe-events .tribe-events-c-ical__link{align-items:center;background-color:#fff;border:1px solid #334aff;border-radius:4px;color:#334aff;font-weight:700}.tribe-events .tribe-events-c-ical__link:active,.tribe-events .tribe-events-c-ical__link:focus,.tribe-events .tribe-events-c-ical__link:hover{color:#fff;background-color:#334aff}.tribe-events .tribe-events-c-ical__link:active .tribe-events-c-ical__link-icon-svg path,.tribe-events .tribe-events-c-ical__link:focus .tribe-events-c-ical__link-icon-svg path,.tribe-events .tribe-events-c-ical__link:hover .tribe-events-c-ical__link-icon-svg path{stroke:#fff}.tribe-events .tribe-events-c-ical__link-icon-svg{display:block;flex:none;margin-right:8px;width:10px}.tribe-events .tribe-events-c-ical__link-icon-svg path{stroke:currentColor}.tribe-theme-twentyseventeen .tribe-events .tribe-events-c-ical__link:active,.tribe-theme-twentyseventeen .tribe-events .tribe-events-c-ical__link:focus,.tribe-theme-twentyseventeen .tribe-events .tribe-events-c-ical__link:hover{color:#fff}.tribe-events .tribe-events-c-messages__message{background-color:rgba(20,24,39,.07);border-radius:4px}.tribe-events .tribe-events-c-messages__message--notice .tribe-events-c-messages__message-icon-svg{display:inline-block;margin-right:12px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-messages__message-list{text-align:center}.tribe-events .tribe-events-c-messages__message-list-item-link{font-weight:700}.tribe-events .tribe-events-c-nav{border-top:1px solid #d5d5d5}.tribe-events .tribe-events-c-nav__list{list-style:none}.tribe-events .tribe-events-c-nav__next-label-plural,.tribe-events .tribe-events-c-nav__prev-label-plural{white-space:pre}.tribe-events .tribe-events-c-nav__today:focus,.tribe-events .tribe-events-c-nav__today:hover{color:rgba(20,24,39,.8)}.tribe-events .tribe-events-c-nav__today:active{color:#141827}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__next,.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__prev{color:#5d5d5d}.tribe-events .tribe-events-c-nav__next:focus,.tribe-events .tribe-events-c-nav__next:hover,.tribe-events .tribe-events-c-nav__prev:focus,.tribe-events .tribe-events-c-nav__prev:hover{color:rgba(20,24,39,.8)}.tribe-events .tribe-events-c-nav__next:active,.tribe-events .tribe-events-c-nav__prev:active{color:#141827}.tribe-events .tribe-events-c-nav__next:disabled,.tribe-events .tribe-events-c-nav__prev:disabled{background-color:transparent;color:#d5d5d5}.tribe-events .tribe-events-c-nav__prev:focus .tribe-events-c-nav__prev-icon-svg,.tribe-events .tribe-events-c-nav__prev:hover .tribe-events-c-nav__prev-icon-svg{opacity:.8}.tribe-events .tribe-events-c-nav__prev:focus .tribe-events-c-nav__prev-icon-svg path,.tribe-events .tribe-events-c-nav__prev:hover .tribe-events-c-nav__prev-icon-svg path{fill:#141827}.tribe-events .tribe-events-c-nav__prev:active:before{opacity:1}.tribe-events .tribe-events-c-nav__prev:disabled .tribe-events-c-nav__prev-icon-svg path{fill:#d5d5d5}.tribe-events .tribe-events-c-nav__prev-icon-svg{display:block;margin-right:8px;width:7px}.tribe-events .tribe-events-c-nav__prev-icon-svg path{fill:#141827}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__prev-icon-svg{margin-right:15px;width:9px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__prev-icon-svg path{fill:#5d5d5d}.tribe-events .tribe-events-c-nav__next:focus .tribe-events-c-nav__next-icon-svg,.tribe-events .tribe-events-c-nav__next:hover .tribe-events-c-nav__next-icon-svg{opacity:.8}.tribe-events .tribe-events-c-nav__next:focus .tribe-events-c-nav__next-icon-svg path,.tribe-events .tribe-events-c-nav__next:hover .tribe-events-c-nav__next-icon-svg path{fill:#141827}.tribe-events .tribe-events-c-nav__next:active:after{opacity:1}.tribe-events .tribe-events-c-nav__next:disabled .tribe-events-c-nav__next-icon-svg path{fill:#d5d5d5}.tribe-events .tribe-events-c-nav__next-icon-svg{display:block;margin-left:8px;width:7px}.tribe-events .tribe-events-c-nav__next-icon-svg path{fill:#141827}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__next-icon-svg{margin-left:15px;width:9px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__next-icon-svg path{fill:#5d5d5d}.tribe-events .tribe-events-c-small-cta__stock{color:#5d5d5d}.tribe-events .tribe-events-c-search__input-control{position:relative}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search__input-control{border-right:1px solid #e4e4e4}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search__input-control:last-child{border-right:0}.tribe-events .tribe-events-c-search__input-control-icon-svg{position:absolute;top:50%;right:0;display:block;transform:translateY(-50%)}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search__input-control-icon-svg{right:auto;left:16px}.tribe-events .tribe-events-c-search__input-control-icon-svg path{fill:#5d5d5d}.tribe-events .tribe-events-c-search__input-control--keyword-focus .tribe-events-c-search__input~.tribe-events-c-search__input-control-icon-svg path,.tribe-events .tribe-events-c-search__input-control--keyword .tribe-events-c-search__input:focus~.tribe-events-c-search__input-control-icon-svg path,.tribe-events .tribe-events-c-search__input-control--location-focus .tribe-events-c-search__input~.tribe-events-c-search__input-control-icon-svg path,.tribe-events .tribe-events-c-search__input-control--location .tribe-events-c-search__input:focus~.tribe-events-c-search__input-control-icon-svg path{fill:currentColor}.tribe-theme-twentyseventeen.colors-dark .tribe-events .tribe-events-c-search__input{background:var(--background-color)}.tooltipster-base.tribe-events-tooltip-theme{background-color:#fff;border:1px solid #d5d5d5;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,.14)}.tooltipster-base.tribe-events-tooltip-theme .tooltipster-box{background-color:transparent;border:0;border-radius:0;box-shadow:none}.tooltipster-base.tribe-events-tooltip-theme .tooltipster-box .tooltipster-content{color:#141827;overflow:inherit}.tribe-events .tribe-events-c-top-bar__datepicker-button{transition:opacity .2s ease}.tribe-events .tribe-events-c-top-bar__datepicker-button:focus,.tribe-events .tribe-events-c-top-bar__datepicker-button:hover{opacity:.8}.tribe-events .tribe-events-c-top-bar__datepicker-button:active{opacity:.9}.tribe-events .tribe-events-c-top-bar__datepicker-button-icon-svg{display:block;margin-left:8px;height:6px;width:9px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-top-bar__datepicker-button-icon-svg{height:8px;width:11px}.tribe-events .tribe-events-c-top-bar__datepicker-button--open .tribe-events-c-top-bar__datepicker-button-icon-svg{transform:rotate(180deg)}.tribe-theme-genesis .tribe-events .tribe-events-c-top-bar__nav-link:disabled,.tribe-theme-genesis .tribe-events .tribe-events-c-top-bar__nav-link:focus,.tribe-theme-genesis .tribe-events .tribe-events-c-top-bar__nav-link:hover,.tribe-theme-twentyseventeen.colors-dark .tribe-events .tribe-events-c-top-bar__datepicker-button,.tribe-theme-twentyseventeen.colors-dark .tribe-events .tribe-events-c-top-bar__nav-link{background-color:transparent}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--labels .tribe-events-c-view-selector__button:before{content:none}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--labels .tribe-events-c-view-selector__button-icon-caret-svg{display:block;flex:none;height:6px;margin-left:8px;width:10px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--labels .tribe-events-c-view-selector__button--active .tribe-events-c-view-selector__button-icon-caret-svg{transform:rotate(180deg)}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--labels .tribe-events-c-view-selector__button-text{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:14px;line-height:1.62;font-weight:400;font-weight:700}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--labels .tribe-events-c-view-selector__content{box-shadow:0 2px 5px 0 rgba(0,0,0,.14)}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__content{border:0;border-radius:0;box-shadow:none}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link{background-color:transparent}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link:after{background-color:#141827;bottom:-1px;content:"";display:block;height:2px;position:absolute;width:100%}.tribe-events .tribe-events-c-view-selector__button{text-align:left}.tribe-events .tribe-events-c-view-selector__button:focus,.tribe-events .tribe-events-c-view-selector__button:hover{opacity:.8}.tribe-events .tribe-events-c-view-selector__button:active{opacity:.9}.tribe-events .tribe-events-c-view-selector__button:before{background-color:#334aff;content:"";display:none;height:2px;pointer-events:none;position:absolute;top:100%;transform:translateY(4px);width:calc(100% - 8px)}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector__button:before{width:calc(100% - 16px);transform:none}.tribe-events .tribe-events-c-view-selector__button--active:before{display:block}.tribe-events .tribe-events-c-view-selector__content{border:1px solid #e4e4e4;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,.14)}.tribe-events .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link{background-color:#f7f6f6}.tribe-events .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-text{font-weight:700}.tribe-events .tribe-events-c-view-selector__list-item-link{border-radius:4px}.tribe-events .tribe-events-c-view-selector__list-item-link:focus .tribe-events-c-view-selector__list-item-icon,.tribe-events .tribe-events-c-view-selector__list-item-link:hover .tribe-events-c-view-selector__list-item-icon{opacity:.8}.tribe-events .tribe-events-c-view-selector__list-item-link:focus .tribe-events-c-view-selector__list-item-text,.tribe-events .tribe-events-c-view-selector__list-item-link:hover .tribe-events-c-view-selector__list-item-text{color:rgba(20,24,39,.8)}.tribe-events .tribe-events-c-view-selector__list-item-text{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:14px;line-height:1.62;font-weight:400}.tribe-theme-twentyseventeen.colors-dark .tribe-events .tribe-events-c-view-selector__button,.tribe-theme-twentyseventeen.colors-dark .tribe-events .tribe-events-c-view-selector__button:focus,.tribe-theme-twentyseventeen.colors-dark .tribe-events .tribe-events-c-view-selector__button:hover{background-color:transparent}.tribe-events .tribe-events-calendar-list__event-row--featured .tribe-events-calendar-list__event-date-tag-datetime:after{background-color:#334aff;content:"";height:100%;right:calc(100% - 3px);position:absolute;width:3px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-row--featured .tribe-events-calendar-list__event-date-tag-datetime:after{right:-1px;width:4px}.tribe-events .tribe-events-calendar-list__event-venue{font-style:normal}.tribe-events .tribe-events-calendar-list__event-date-tag-weekday{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:11px;font-weight:400;line-height:1.5;color:#5d5d5d;text-transform:uppercase}.tribe-events .tribe-events-calendar-list__event-featured-image-link{transition:opacity .2s ease}.tribe-events .tribe-events-calendar-list__event-featured-image-link:focus,.tribe-events .tribe-events-calendar-list__event-featured-image-link:hover{opacity:.8}.tribe-events .tribe-events-calendar-list__event-featured-image-link:active{opacity:.9}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-datetime-featured-text{color:#334aff;font-weight:700}.tribe-events .tribe-events-calendar-list__month-separator:after{background-color:#d5d5d5;content:"";display:block;flex:auto;height:1px;margin-left:20px}.tribe-events .tribe-events-calendar-list-nav{border-top:1px solid #d5d5d5}.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__calendar-event{opacity:.64}.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__calendar-event-datetime{color:#141827;opacity:.94}.tribe-events .tribe-events-calendar-month__calendar-event-featured-image-link{transition:opacity .2s ease}.tribe-events .tribe-events-calendar-month__calendar-event-featured-image-link:focus,.tribe-events .tribe-events-calendar-month__calendar-event-featured-image-link:hover{opacity:.8}.tribe-events .tribe-events-calendar-month__calendar-event-featured-image-link:active{opacity:.9}.tribe-events .tribe-events-calendar-month__calendar-event-datetime{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:11px;font-weight:400;line-height:1.5;color:#5d5d5d}.tribe-events .tribe-events-calendar-month__calendar-event--featured:before{background-color:#334aff;content:"";height:100%;left:7px;position:absolute;width:2px}.tribe-events .tribe-events-calendar-month__calendar-event--featured:last-child:before{height:calc(100% - 16px)}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image-link{transition:opacity .2s ease}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image-link:focus,.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image-link:hover{opacity:.8}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image-link:active{opacity:.9}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-datetime{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:11px;font-weight:400;line-height:1.5}.tribe-events .tribe-events-calendar-month__header-column{text-transform:uppercase}.tribe-events .tribe-events-calendar-month__header-column-title{color:#5d5d5d;text-align:center}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__header-column-title{text-align:left}.tribe-events .tribe-events-calendar-month__day{border-radius:4px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day{border-radius:0}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day:after{background-color:transparent;bottom:0;content:"";display:block;height:2px;left:-1px;position:absolute;transition:background-color .2s ease;width:calc(100% + 2px)}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day:hover:after{background-color:#141827}.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date,.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link{color:#334aff;font-weight:700}.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:focus,.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:hover{color:rgba(51,74,255,.8)}.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:active{color:rgba(51,74,255,.9)}.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__day-date{opacity:.6}.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__mobile-events-icon--event{background-color:#141827;opacity:.6}.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__mobile-events-icon--featured{opacity:.6}.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__mobile-events-icon--featured .tribe-events-calendar-month__mobile-events-icon-svg path{fill:#141827}.tribe-events .tribe-events-calendar-month__day-cell--mobile:focus,.tribe-events .tribe-events-calendar-month__day-cell--mobile:hover{background-color:#f7f6f6}.tribe-events .tribe-events-calendar-month__day-cell--selected,.tribe-events .tribe-events-calendar-month__day-cell--selected:focus,.tribe-events .tribe-events-calendar-month__day-cell--selected:hover{background-color:#334aff}.tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__day-date{color:#fff;opacity:1}.tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__mobile-events-icon--event{background-color:#fff;opacity:1}.tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__mobile-events-icon--featured{opacity:1}.tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__mobile-events-icon--featured .tribe-events-calendar-month__mobile-events-icon-svg path{fill:#fff}.tribe-events .tribe-events-calendar-month__day-date-link{color:#141827;transition:color .2s ease}.tribe-events .tribe-events-calendar-month__day-date-link:focus,.tribe-events .tribe-events-calendar-month__day-date-link:hover{color:rgba(20,24,39,.8)}.tribe-events .tribe-events-calendar-month__day-date-link:active{color:rgba(20,24,39,.9)}.tribe-events .tribe-events-calendar-month__mobile-events-icon--event{background-color:#334aff}.tribe-events .tribe-events-calendar-month__mobile-events-icon--featured .tribe-events-calendar-month__mobile-events-icon-svg path{fill:currentColor}.tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:focus,.tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:hover{color:rgba(51,74,255,.8)}.tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:active{color:rgba(51,74,255,.9)}.tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day-cell--selected:focus,.tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day-cell--selected:hover{background-color:#334aff}.tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day-date-link:focus,.tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day-date-link:hover{color:rgba(20,24,39,.8)}.tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day-date-link:active{color:rgba(20,24,39,.9)}.tribe-theme-twentytwenty .tribe-events .tribe-events-calendar-month__day-cell--selected{background-color:#334aff}.tribe-theme-avada #main .tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__day-date{color:#fff}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event+.tribe-events-calendar-month-mobile-events__mobile-event{border-top:1px solid #d5d5d5}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime{color:#5d5d5d}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime-featured-text{color:#334aff;font-weight:700}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime-recurring-link:focus .tribe-events-calendar-month-mobile-events__mobile-event-datetime-recurring-icon-svg path,.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime-recurring-link:hover .tribe-events-calendar-month-mobile-events__mobile-event-datetime-recurring-icon-svg path{fill:currentColor;stroke:currentColor}.tribe-events .tribe-events-calendar-month__more-events{border-top:1px solid #e4e4e4}.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__more-events-link{opacity:.5}.tribe-events .tribe-events-calendar-month__multiday-event--start .tribe-events-calendar-month__multiday-event-bar{border-top-left-radius:9.5px;border-bottom-left-radius:9.5px}.tribe-events .tribe-events-calendar-month__multiday-event--end .tribe-events-calendar-month__multiday-event-bar{border-top-right-radius:9.5px;border-bottom-right-radius:9.5px}.tribe-events .tribe-events-calendar-month__multiday-event-bar-inner{background-color:rgba(51,74,255,.24);transition:background-color .2s ease}.tribe-events .tribe-events-calendar-month__multiday-event-bar-inner--focus,.tribe-events .tribe-events-calendar-month__multiday-event-bar-inner--hover,.tribe-events .tribe-events-calendar-month__multiday-event-bar-inner:focus,.tribe-events .tribe-events-calendar-month__multiday-event-bar-inner:hover{background-color:rgba(51,74,255,.34)}.tribe-events .tribe-events-calendar-month__multiday-event--past .tribe-events-calendar-month__multiday-event-bar-inner{background-color:#f7f6f6}.tribe-events .tribe-events-calendar-month__multiday-event--past .tribe-events-calendar-month__multiday-event-bar-inner--focus,.tribe-events .tribe-events-calendar-month__multiday-event--past .tribe-events-calendar-month__multiday-event-bar-inner--hover,.tribe-events .tribe-events-calendar-month__multiday-event--past .tribe-events-calendar-month__multiday-event-bar-inner:focus,.tribe-events .tribe-events-calendar-month__multiday-event--past .tribe-events-calendar-month__multiday-event-bar-inner:hover{background-color:#f0eeee}.tribe-events .tribe-events-calendar-month__multiday-event--past .tribe-events-calendar-month__multiday-event-bar-featured-icon,.tribe-events .tribe-events-calendar-month__multiday-event--past .tribe-events-calendar-month__multiday-event-bar-title{opacity:.64}.tribe-events .tribe-events-calendar-month__multiday-event-bar-title{font-weight:400;text-overflow:ellipsis}.tribe-theme-avada #main .tribe-events .tribe-events-calendar-month__multiday-event-bar-title{font-weight:400}.tribe-events .tribe-events-calendar-day__event--featured{position:relative}.tribe-events .tribe-events-calendar-day__event--featured:after{background-color:#334aff;content:"";height:100%;left:21px;position:absolute;width:3px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event--featured:after{left:calc(11.111% - 24px);width:4px}.tribe-events .tribe-events-calendar-day__event-venue{font-style:normal}.tribe-events .tribe-events-calendar-day__event-featured-image-link{transition:opacity .2s ease}.tribe-events .tribe-events-calendar-day__event-featured-image-link:focus,.tribe-events .tribe-events-calendar-day__event-featured-image-link:hover{opacity:.8}.tribe-events .tribe-events-calendar-day__event-featured-image-link:active{opacity:.9}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-datetime-featured-text{color:#334aff;font-weight:700}.tribe-events .tribe-events-calendar-day-nav{border-top:1px solid #d5d5d5}.tribe-events .tribe-events-calendar-day__time-separator:after,.tribe-events .tribe-events-calendar-day__type-separator:after{background-color:#d5d5d5;content:"";display:block;flex:auto;height:1px;margin-left:20px}.tribe-events .tribe-events-calendar-latest-past__event-row--featured .tribe-events-calendar-latest-past__event-date-tag-datetime:after{background-color:#334aff;content:"";height:100%;right:calc(100% - 3px);position:absolute;width:3px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-row--featured .tribe-events-calendar-latest-past__event-date-tag-datetime:after{right:-1px;width:4px}.tribe-events .tribe-events-calendar-latest-past__event-venue{font-style:normal}.tribe-events .tribe-events-calendar-latest-past__event-date-tag-month,.tribe-events .tribe-events-calendar-latest-past__event-date-tag-year{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:11px;font-weight:400;line-height:1.5}.tribe-events .tribe-events-calendar-latest-past__event-date-tag-month{color:#5d5d5d;text-transform:uppercase}.tribe-events .tribe-events-calendar-latest-past__event-featured-image-link{transition:opacity .2s ease}.tribe-events .tribe-events-calendar-latest-past__event-featured-image-link:focus,.tribe-events .tribe-events-calendar-latest-past__event-featured-image-link:hover{opacity:.8}.tribe-events .tribe-events-calendar-latest-past__event-featured-image-link:active{opacity:.9}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-datetime-featured-text{color:#334aff;font-weight:700}
src/resources/css/views-skeleton.min.css CHANGED
@@ -1 +1 @@
1
- .tribe-events-view{position:relative}.tribe-events .tribe-events-l-container{padding-bottom:80px;padding-top:64px;min-height:600px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container{padding-bottom:160px;padding-top:96px;min-height:700px}.tribe-events .tribe-events-c-breadcrumbs{margin-bottom:24px;width:100%}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-breadcrumbs{margin-bottom:48px}.tribe-events .tribe-events-c-breadcrumbs__list{display:flex;flex-wrap:wrap}.tribe-events .tribe-events-c-breadcrumbs__list-item{display:inline-flex;align-items:center}.tribe-events .tribe-events-c-breadcrumbs__list-item:last-child .tribe-events-c-breadcrumbs__list-item-icon-svg{display:none}.tribe-events .tribe-events-c-breadcrumbs__list-item-icon-svg{display:inline-block;height:14px;width:6px;margin:0 6px}.tribe-events .tribe-events-c-breadcrumbs__list-item-icon-svg path{fill:currentColor}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-breadcrumbs__list-item-icon-svg{height:16px;width:10px;margin:0 10px}.tribe-events .datepicker{margin-top:8px;padding:0 16px 16px}.tribe-common--breakpoint-medium.tribe-events .datepicker{margin-top:16px}.tribe-events .datepicker table{border-collapse:collapse;table-layout:fixed}.tribe-events .datepicker .datepicker-switch,.tribe-events .datepicker .next,.tribe-events .datepicker .prev{padding:20px 0;vertical-align:middle}.tribe-events .datepicker .next .tribe-events-c-top-bar__datepicker-nav-icon-svg,.tribe-events .datepicker .prev .tribe-events-c-top-bar__datepicker-nav-icon-svg{margin-right:auto;height:15px;width:9px}.tribe-events .datepicker .next .tribe-events-c-top-bar__datepicker-nav-icon-svg path,.tribe-events .datepicker .prev .tribe-events-c-top-bar__datepicker-nav-icon-svg path{fill:currentColor}.tribe-events .datepicker .next .tribe-events-c-top-bar__datepicker-nav-icon-svg{margin-left:auto;margin-right:0}.tribe-events .datepicker .datepicker-months td,.tribe-events .datepicker .datepicker-months th,.tribe-events .datepicker .datepicker-years td,.tribe-events .datepicker .datepicker-years th{padding:0}.tribe-events .datepicker .datepicker-months .datepicker-switch,.tribe-events .datepicker .datepicker-months .next,.tribe-events .datepicker .datepicker-months .prev,.tribe-events .datepicker .datepicker-years .datepicker-switch,.tribe-events .datepicker .datepicker-years .next,.tribe-events .datepicker .datepicker-years .prev{padding:20px 0 8px}.tribe-events .datepicker .dow{padding:0;width:14.285%}.tribe-events .datepicker .day{padding:11px 0;width:48px}.tribe-events .datepicker .month,.tribe-events .datepicker .year{height:auto;margin:0;padding:15px 0;width:25%}.admin-bar .tribe-events .datepicker{margin-top:8px}.admin-bar .tribe-events.tribe-common--breakpoint-medium .datepicker{margin-top:16px}.tribe-theme-divi #content-area .tribe-events .datepicker .datepicker-switch,.tribe-theme-divi #content-area .tribe-events .datepicker .next,.tribe-theme-divi #content-area .tribe-events .datepicker .prev{padding:20px 0}.tribe-theme-divi #content-area .tribe-events .datepicker .datepicker-months .datepicker-switch,.tribe-theme-divi #content-area .tribe-events .datepicker .datepicker-months .next,.tribe-theme-divi #content-area .tribe-events .datepicker .datepicker-months .prev,.tribe-theme-divi #content-area .tribe-events .datepicker .datepicker-years .datepicker-switch,.tribe-theme-divi #content-area .tribe-events .datepicker .datepicker-years .next,.tribe-theme-divi #content-area .tribe-events .datepicker .datepicker-years .prev{padding:20px 0 8px}.tribe-theme-divi #content-area .tribe-events .datepicker .dow{padding:0}.tribe-theme-divi #content-area .tribe-events .datepicker .day{padding:11px 0}.tribe-theme-enfold .tribe-events .datepicker{min-width:0;padding:0 16px 16px}.tribe-theme-enfold .tribe-events .datepicker .datepicker-switch{cursor:pointer!important}.tribe-theme-avada .tribe-events .datepicker{padding:0 16px 16px}.tribe-theme-avada .tribe-events .datepicker .datepicker-months td{padding:0}.tribe-events .tribe-events-c-day-marker{align-items:center;display:flex}.tribe-events .tribe-events-c-day-marker__date{flex:none}.tribe-events .tribe-events-c-events-bar{display:flex}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-events-bar{flex-direction:row}.tribe-events .tribe-events-c-events-bar__views{display:flex;flex:none;justify-content:center}.tribe-events .tribe-events-c-events-bar__search-container{background-color:#fff;display:none;left:0;padding:8px 21px 12px;position:absolute;right:0;top:calc(100% - 8px);z-index:30}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-events-bar__search-container{align-items:center;display:flex;flex:auto;padding:0;position:static;z-index:auto}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-events-bar__search{display:flex;flex:auto}.tribe-events .tribe-events-c-events-bar__search-form{width:100%}.tribe-events .tribe-events-c-events-bar__search-button{display:inline-block;margin-right:8px;padding:4px;position:relative}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-events-bar__search-button{display:none!important;visibility:hidden}.tribe-events .tribe-events-c-events-bar__search-button-icon-svg{width:21px}.tribe-events .tribe-events-c-events-bar__search-button-icon-svg path{fill:currentColor}.tribe-events .tribe-events-c-ical{margin-top:20px;text-align:right}.tribe-events .tribe-events-c-ical__link{align-items:center;display:inline-flex;justify-content:center;padding:12px;width:100%}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-ical__link{width:auto}.tribe-events .tribe-events-c-ical__link-icon-svg{display:none}.tribe-events .tribe-events-view-loader{align-items:flex-start;justify-content:center;display:flex;position:absolute;top:0;right:0;bottom:0;left:0;z-index:100;background-color:hsla(0,0%,100%,.6)}.tribe-events .tribe-events-c-messages{display:flex;flex-direction:column}.tribe-events .tribe-events-c-messages__message{align-items:center;display:flex;padding:12px;width:100%}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-messages__message{justify-content:center;padding:16px}.tribe-events .tribe-events-c-nav{padding-top:20px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav{padding-top:28px}.tribe-events .tribe-events-c-nav__list{display:flex;width:100%;flex-wrap:wrap;justify-content:space-between}.tribe-events .tribe-events-c-nav__list-item{display:flex;width:33.33%}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__list-item{width:50%}.tribe-events .tribe-events-c-nav__list-item--prev{justify-content:flex-start}.tribe-events .tribe-events-c-nav__list-item--next{justify-content:flex-end}.tribe-events .tribe-events-c-nav__list-item--today{justify-content:center}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__list-item--today{display:none!important;visibility:hidden}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__next-label-plural,.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__prev-label-plural{clip:auto;height:auto;margin:0;position:static;width:auto}.tribe-events .tribe-events-c-nav__next,.tribe-events .tribe-events-c-nav__prev{align-items:center;display:flex;flex:none;flex-wrap:wrap;justify-content:center}.tribe-events .tribe-events-c-nav__next-icon-svg,.tribe-events .tribe-events-c-nav__prev-icon-svg{display:none}.tribe-events .tribe-events-c-promo{margin-top:20px}.tribe-events .tribe-events-c-read-more{margin-top:12px}.tribe-events .tribe-events-c-small-cta>*{margin-left:8px}.tribe-events .tribe-events-c-small-cta>:first-child{margin-left:0}.tribe-events .tribe-events-c-small-cta__link{cursor:pointer}.tribe-events .tribe-events-c-small-cta__stock{margin-left:4px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search{display:flex;align-items:center}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search__input-group{align-items:center;display:flex;flex:auto}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search__input-control{flex:auto;margin:12px 0}.tribe-events .tribe-events-c-search__input-control-icon-svg{display:none}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search__input{margin:-12px 0}.tribe-events .tribe-events-c-search__button{margin-top:24px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search__button{flex:none;margin-top:0}#top .main_color .tribe-events.tribe-common--breakpoint-medium .tribe-events-c-search__input,#top.tribe-theme-enfold .tribe-events.tribe-common--breakpoint-medium .tribe-events-c-search__input,.tribe-theme-avada .tribe-events.tribe-common--breakpoint-medium .tribe-events-c-search__input{margin:-12px 0}.tooltipster-base.tribe-events-tooltip-theme{height:auto!important;padding:24px;max-width:254px}.tooltipster-base.tribe-events-tooltip-theme .tooltipster-box{margin:0}.tooltipster-base.tribe-events-tooltip-theme .tooltipster-box .tooltipster-content{padding:0;word-break:break-word}.tooltipster-base.tribe-events-tooltip-theme .tooltipster-arrow{display:none}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-top-bar{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-top-bar__nav{display:block!important;flex:none;visibility:visible}.tribe-events .tribe-events-c-top-bar__nav-list{display:flex}.tribe-events .tribe-events-c-top-bar__nav-list-item{flex:none;padding-right:15px}.tribe-events .tribe-events-c-top-bar__nav-list-item>*{vertical-align:middle}.tribe-events .tribe-events-c-top-bar__nav-link{display:block}.tribe-events .tribe-events-c-top-bar__nav-link-icon-svg{height:19px;width:11px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-top-bar__today-button{display:block!important;flex:none;margin-right:15px;visibility:visible}.tribe-events .tribe-events-c-top-bar__datepicker{flex:auto;position:relative}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-top-bar__datepicker{margin:0;padding:0}.tribe-events .tribe-events-c-top-bar__datepicker-separator{white-space:pre}.tribe-common--breakpoint-full.tribe-events .tribe-events-c-top-bar__datepicker-mobile{display:none!important;visibility:hidden}.tribe-common--breakpoint-full.tribe-events .tribe-events-c-top-bar__datepicker-desktop{display:block!important;visibility:visible}.tribe-events .tribe-events-c-top-bar__datepicker-button{align-items:center;display:flex;flex:none}.tribe-events .tribe-events-c-top-bar__datepicker-button-icon-svg{display:none}.tribe-events .tribe-events-c-top-bar__datepicker-container{bottom:0;left:0;max-width:calc(100% + 29px);position:absolute;width:363px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-top-bar__datepicker-container{max-width:none;min-width:363px}.tribe-events .tribe-events-header--has-event-search .tribe-events-c-top-bar__datepicker-container{max-width:calc(100% + 66px)}.tribe-common--breakpoint-medium.tribe-events .tribe-events-header--has-event-search .tribe-events-c-top-bar__datepicker-container{max-width:none}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-top-bar__actions{display:block!important;flex:none;margin-left:auto;visibility:visible}#top .main_color .tribe-events .tribe-events-c-top-bar__datepicker-input,#top.tribe-theme-enfold .tribe-events .tribe-events-c-top-bar__datepicker-input{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.entry-content-wrapper .tribe-events .tribe-events-c-top-bar__nav-list-item{padding-right:15px}.tribe-theme-avada .tribe-events .tribe-events-c-top-bar__datepicker-input{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.tribe-events .tribe-events-c-view-selector{position:relative;width:29px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector{width:auto}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--labels .tribe-events-c-view-selector__button{height:100%;padding:20px 24px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--labels .tribe-events-c-view-selector__button-icon{display:none!important;visibility:hidden}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--labels .tribe-events-c-view-selector__button-text{clip:auto;height:auto;margin:0;position:static;width:auto;flex:auto}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--labels .tribe-events-c-view-selector__content{left:0;padding:8px;right:auto;transform:translateY(8px);width:auto}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--labels .tribe-events-c-view-selector__list-item-link{padding:4px 32px 4px 16px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--labels .tribe-events-c-view-selector__list-item-icon,.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__button{display:none!important;visibility:hidden}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__content{display:block;height:100%;padding:0 12px;position:static;transform:none}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list{display:flex;height:100%}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item{margin:0 12px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item-link{height:100%;padding:20px 0;position:relative}.tribe-events .tribe-events-c-view-selector__button{align-items:center;display:flex;padding:4px;position:relative;width:100%}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector__button{padding:8px}.tribe-events .tribe-events-c-view-selector__button-icon{display:block;height:21px;width:21px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector__button-icon{height:23px;width:23px}.tribe-events .tribe-events-c-view-selector__button-icon-caret-svg{display:none}.tribe-events .tribe-events-c-view-selector__content{display:none;background-color:#fff;padding:12px 6px;position:absolute;right:0;top:100%;transform:translateY(16px);z-index:30}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector__content{transform:translateY(12px)}.tribe-events .tribe-events-c-view-selector__list-item-link{align-items:center;display:flex;padding:8px 24px 8px 12px}.tribe-events .tribe-events-c-view-selector__list-item-icon{flex:none;height:18px;margin-right:12px;width:18px}.tribe-events .tribe-events-c-view-selector__list-item-text{flex:auto}.tribe-events .tribe-events-header{align-items:center;background-color:#fff;display:flex;flex-direction:row-reverse;flex-wrap:wrap;justify-content:space-between;margin:0 -19.5px;padding:0 19.5px 16px;position:relative}.tribe-common--breakpoint-medium.tribe-events .tribe-events-header{margin:0;padding:0}.tribe-common--breakpoint-medium.tribe-events .tribe-events-header--has-event-search{background-color:transparent;flex-direction:row}.tribe-common--breakpoint-medium.tribe-events .tribe-events-header--has-event-search .tribe-events-header__events-bar{margin-left:0;width:100%}.tribe-common--breakpoint-medium.tribe-events .tribe-events-header--has-event-search .tribe-events-header__top-bar{width:100%}.tribe-events .tribe-events-header__messages{margin-bottom:16px;width:100%}.tribe-common--breakpoint-medium.tribe-events .tribe-events-header__messages{margin-bottom:32px;order:1}.tribe-events .tribe-events-header__events-bar{flex:none}.tribe-common--breakpoint-medium.tribe-events .tribe-events-header__events-bar{margin-bottom:32px;margin-left:16px}.tribe-events .tribe-events-header__top-bar{flex:auto}.tribe-common--breakpoint-medium.tribe-events .tribe-events-header__top-bar{margin-bottom:32px}.tribe-events .tribe-events-calendar-list__event-row{flex-wrap:nowrap;margin-bottom:24px;margin-top:32px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-row{margin:48px -24px 40px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-row>.tribe-common-g-col{padding-left:24px;padding-right:24px}.tribe-events .tribe-events-calendar-list__event-row:last-child{margin-bottom:40px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-row:last-child{margin-bottom:64px}.tribe-events .tribe-events-calendar-list__month-separator+.tribe-events-calendar-list__event-row{margin-top:20px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__month-separator+.tribe-events-calendar-list__event-row{margin-top:40px}.tribe-events .tribe-events-calendar-list__event-date-tag{flex:none;width:54px;position:relative}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-date-tag{min-width:90px;width:11.111%}.tribe-events .tribe-events-calendar-list__event-date-tag-datetime{display:flex;flex-direction:column;height:100%;text-align:center}.tribe-events .tribe-events-calendar-list__event-date-tag-weekday{margin-bottom:-4px}.tribe-events .tribe-events-calendar-list__event-wrapper{flex:1;width:calc(75% + 21px)}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-wrapper{flex:1 1 88.888%}.tribe-events .tribe-events-calendar-list__event{flex-direction:column}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event{flex-direction:row-reverse;justify-content:flex-end}.tribe-events .tribe-events-calendar-list__event-featured-image-wrapper{flex:none;margin-bottom:16px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-featured-image-wrapper{margin-bottom:0;width:37.5%}.tribe-events .tribe-events-calendar-list__event-featured-image,.tribe-events .tribe-events-calendar-list__event-featured-image-link{display:block}.tribe-events .tribe-events-calendar-list__event-details{flex:none}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-details{width:62.5%}.tribe-events .tribe-events-calendar-list__event-header>:last-child{margin-bottom:0}.tribe-events .tribe-events-calendar-list__event-datetime-wrapper,.tribe-events .tribe-events-calendar-list__event-title{margin:0 0 8px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-datetime-wrapper,.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-title{margin:0 0 16px}.tribe-events .tribe-events-calendar-list__event-datetime-wrapper:last-child,.tribe-events .tribe-events-calendar-list__event-title:last-child{margin-bottom:0}.tribe-events .tribe-events-calendar-list__event-datetime-featured-icon{display:inline-block;margin-right:4px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-datetime-featured-text{clip:auto;height:auto;margin:0;position:static;width:auto;margin-right:8px}.tribe-events .tribe-events-calendar-list__event-venue{margin-bottom:8px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-venue{margin-bottom:16px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-description{display:block!important;margin-top:16px;visibility:visible}.tribe-events .tribe-events-calendar-list__event-cost{margin-top:12px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-cost{margin-top:16px}.tribe-events .tribe-events-calendar-list__month-separator{display:flex;align-items:center}.tribe-events .tribe-events-calendar-list__month-separator-text{flex:none}.tribe-events .tribe-events-calendar-list-nav{padding-top:24px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list-nav{padding-top:32px}.tribe-events .tribe-events-calendar-month{margin-bottom:8px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month{margin:0}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__body{border-top:1px solid #e4e4e4}.tribe-events .tribe-events-calendar-month__week{display:flex}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__week{border-left:1px solid #e4e4e4}.tribe-events .tribe-events-calendar-month__calendar-event{margin:8px 0;padding:0 16px;position:relative}.tribe-events .tribe-events-calendar-month__calendar-event:first-child{margin-top:0}.tribe-events .tribe-events-calendar-month__calendar-event:last-child{margin-bottom:0;padding-bottom:16px}.tribe-events .tribe-events-calendar-month__multiday-event-wrapper+.tribe-events-calendar-month__calendar-event{margin-top:0}.tribe-events .tribe-events-calendar-month__multiday-event-wrapper+.tribe-events-calendar-month__calendar-event--featured{margin-top:8px}.tribe-events .tribe-events-calendar-month__calendar-event-datetime-featured-icon{display:inline-block;line-height:0;margin-right:4px}.tribe-events .tribe-events-calendar-month__calendar-event-featured-image-wrapper{margin-bottom:4px}.tribe-events .tribe-events-calendar-month__calendar-event-featured-image,.tribe-events .tribe-events-calendar-month__calendar-event-featured-image-link{display:block}.tribe-events .tribe-events-calendar-month__calendar-event-datetime>*{vertical-align:middle}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image-wrapper{margin-bottom:12px;width:206px}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image-wrapper:last-child{margin-bottom:0}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image,.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image-link{display:block}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-datetime{margin-bottom:4px}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-datetime>*{vertical-align:middle}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-datetime-featured-icon{display:inline-block;line-height:0;margin-right:4px}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-title{margin-bottom:4px}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-description{margin-bottom:8px}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-description:last-child{margin-bottom:0}.tribe-events .tribe-events-calendar-month__calendar-event-title{margin:0}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-cost{margin-top:16px}.tribe-theme-twentynineteen .entry .tribe-events .tribe-events-calendar-month__calendar-event,.tribe-theme-twentynineteen .tribe-events .tribe-events-calendar-month__calendar-event{margin:8px 0;padding:0 16px;position:relative}.tribe-theme-twentynineteen .entry .tribe-events .tribe-events-calendar-month__calendar-event:first-child,.tribe-theme-twentynineteen .tribe-events .tribe-events-calendar-month__calendar-event:first-child{margin-top:0}.tribe-theme-twentynineteen .entry .tribe-events .tribe-events-calendar-month__calendar-event:last-child,.tribe-theme-twentynineteen .tribe-events .tribe-events-calendar-month__calendar-event:last-child{margin-bottom:0;padding-bottom:16px}.tribe-events .tribe-events-calendar-month__header-row{display:flex}.tribe-events .tribe-events-calendar-month__header-column{width:14.285%;padding-bottom:16px}.tribe-events .tribe-events-calendar-month__header-column-title{margin:0}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__header-column-title-mobile{display:none!important;visibility:hidden}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__header-column-title-desktop{display:block!important;visibility:visible}.tribe-events .tribe-events-calendar-month__day{height:48px;overflow:hidden;position:relative;width:14.285%}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day{border-color:#e4e4e4;border-style:solid;border-width:0 1px 1px 0;height:auto;min-height:168px;overflow:visible}.tribe-events .tribe-events-calendar-month__day-cell{height:100%;width:100%}.tribe-events .tribe-events-calendar-month__day-cell--mobile{align-items:center;display:flex;flex-direction:column;text-align:center}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day-cell--mobile{display:none!important;visibility:hidden}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day-cell--desktop{display:flex!important;flex-direction:column;visibility:visible}.tribe-events .tribe-events-calendar-month__day-date{margin:0}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day-date{flex:none;padding:8px 16px}.tribe-events .tribe-events-calendar-month__events{flex:auto}.tribe-events .tribe-events-calendar-month__mobile-events-icon--event{background-color:currentColor;border-radius:50%;height:8px;width:8px}.tribe-events .tribe-events-calendar-month__mobile-events-icon--featured{line-height:0;width:8px}.tribe-events .tribe-events-calendar-month__mobile-events-icon--featured .tribe-events-calendar-month__mobile-events-icon-svg path{fill:currentColor}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month-mobile-events{display:none!important;visibility:hidden}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-day{display:none}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-day--show{display:block}.tribe-events .tribe-events-calendar-month-mobile-events__day-marker{padding-top:16px}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event{padding:12px 0}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event--featured{padding-bottom:20px}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-featured-image-wrapper{margin-bottom:12px}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime{margin-bottom:4px}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime>*{vertical-align:middle}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime-featured-icon{display:inline-block;line-height:0;margin-right:4px}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime-featured-text{margin-right:8px}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-title{margin:0}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-cost{margin-top:8px}.tribe-events .tribe-events-calendar-month-mobile-events__more-events{padding:4px 0 20px}.tribe-events .tribe-events-calendar-month__more-events{display:flex;flex:none;margin:0 16px;padding:8px 0 16px}.tribe-events .tribe-events-calendar-month__more-events-link{flex:none}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__multiday-event-wrapper{height:19px;margin-bottom:4px;position:relative}.tribe-events .tribe-events-calendar-month__multiday-event--width-2 .tribe-events-calendar-month__multiday-event-bar{width:calc(200% + 1px)}.tribe-events .tribe-events-calendar-month__multiday-event--width-3 .tribe-events-calendar-month__multiday-event-bar{width:calc(300% + 2px)}.tribe-events .tribe-events-calendar-month__multiday-event--width-4 .tribe-events-calendar-month__multiday-event-bar{width:calc(400% + 3px)}.tribe-events .tribe-events-calendar-month__multiday-event--width-5 .tribe-events-calendar-month__multiday-event-bar{width:calc(500% + 4px)}.tribe-events .tribe-events-calendar-month__multiday-event--width-6 .tribe-events-calendar-month__multiday-event-bar{width:calc(600% + 5px)}.tribe-events .tribe-events-calendar-month__multiday-event--width-7 .tribe-events-calendar-month__multiday-event-bar{width:calc(700% + 6px)}.tribe-events .tribe-events-calendar-month__multiday-event-hidden{height:100%;opacity:0;position:absolute;width:100%;z-index:5}.tribe-events .tribe-events-calendar-month__multiday-event-hidden-title{margin:0;overflow:hidden;white-space:nowrap}.tribe-events .tribe-events-calendar-month__multiday-event-hidden-link{display:block;height:100%}.tribe-events .tribe-events-calendar-month__multiday-event-bar{background-color:#fff;overflow:hidden;position:relative;width:100%;z-index:2}.tribe-events .tribe-events-calendar-month__multiday-event-bar-inner{align-items:center;cursor:pointer;display:flex;flex-wrap:nowrap;padding:1px 16px}.tribe-events .tribe-events-calendar-month__multiday-event-bar-featured-icon{flex:none;line-height:0;margin-right:5px}.tribe-events .tribe-events-calendar-month__multiday-event-bar-title{flex:none;margin:0;max-width:100%;overflow:hidden;white-space:nowrap}.tribe-events .tribe-events-calendar-month-nav{padding-top:20px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month-nav{display:none!important;visibility:hidden}.tribe-events .tribe-events-calendar-day__event{margin-bottom:24px;margin-top:32px;padding-left:54px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event{margin-bottom:40px;margin-top:48px;padding-left:0}.tribe-events .tribe-events-calendar-day__event:last-child{margin-bottom:40px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event:last-child{margin-bottom:64px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event:before{content:"";min-width:90px;width:11.111%}.tribe-events .tribe-events-calendar-day__time-separator+.tribe-events-calendar-day__event,.tribe-events .tribe-events-calendar-day__type-separator+.tribe-events-calendar-day__event{margin-top:20px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__time-separator+.tribe-events-calendar-day__event,.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__type-separator+.tribe-events-calendar-day__event{margin-top:40px}.tribe-events .tribe-events-calendar-day__event-content{flex:none}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-content{display:flex;flex-direction:row-reverse;justify-content:flex-end;flex:1 1 88.888%;margin-left:-24px;margin-right:-24px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-content>*{padding-left:24px;padding-right:24px}.tribe-events .tribe-events-calendar-day__event-featured-image-wrapper{margin-bottom:16px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-featured-image-wrapper{flex:none;margin-bottom:0;width:37.5%}.tribe-events .tribe-events-calendar-day__event-featured-image-link,.tribe-events .tribe-events-calendar-list__event-featured-image{display:block}.tribe-events .tribe-events-calendar-day__event-details{position:relative}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-details{flex:none;width:62.5%}.tribe-events .tribe-events-calendar-day__event-header>:last-child{margin-bottom:0}.tribe-events .tribe-events-calendar-day__event-datetime-wrapper,.tribe-events .tribe-events-calendar-day__event-title{margin:0 0 8px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-datetime-wrapper,.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-title{margin:0 0 16px}.tribe-events .tribe-events-calendar-day__event-datetime-wrapper:last-child,.tribe-events .tribe-events-calendar-day__event-title:last-child{margin-bottom:0}.tribe-events .tribe-events-calendar-day__event-datetime-featured-icon{display:inline-block;margin-right:4px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-datetime-featured-text{clip:auto;height:auto;margin:0;position:static;width:auto;margin-right:8px}.tribe-events .tribe-events-calendar-day__event-venue{margin-bottom:8px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-venue{margin-bottom:16px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-description{display:block!important;margin-top:16px;visibility:visible}.tribe-events .tribe-events-calendar-day__event-cost{margin-top:12px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-cost{margin-top:16px}.tribe-theme-twentynineteen .tribe-events .entry.tribe-events-calendar-day__event{margin-bottom:24px;margin-top:32px;padding-left:54px}.tribe-theme-twentynineteen .tribe-events .entry.tribe-events-calendar-day__event:last-child{margin-bottom:40px}.tribe-theme-twentynineteen .tribe-events.tribe-common--breakpoint-medium .entry.tribe-events-calendar-day__event{margin-bottom:40px;margin-top:48px;padding-left:0}.tribe-theme-twentynineteen .tribe-events.tribe-common--breakpoint-medium .entry.tribe-events-calendar-day__event:last-child{margin-bottom:64px}.tribe-theme-twentynineteen .tribe-events .tribe-events-calendar-day__time-separator+.entry.tribe-events-calendar-day__event,.tribe-theme-twentynineteen .tribe-events .tribe-events-calendar-day__type-separator+.entry.tribe-events-calendar-day__event{margin-top:20px}.tribe-theme-twentynineteen .tribe-events.tribe-common--breakpoint-medium .tribe-events-calendar-day__time-separator+.entry.tribe-events-calendar-day__event,.tribe-theme-twentynineteen .tribe-events.tribe-common--breakpoint-medium .tribe-events-calendar-day__type-separator+.entry.tribe-events-calendar-day__event{margin-top:40px}.tribe-events .tribe-events-calendar-day-nav{padding-top:24px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day-nav{padding-top:32px}.tribe-events .tribe-events-calendar-day__time-separator{display:flex;align-items:center}.tribe-events .tribe-events-calendar-day__time-separator-text{flex:none}.tribe-events .tribe-events-calendar-day__type-separator{display:flex;align-items:center}.tribe-events .tribe-events-calendar-day__type-separator-text{flex:none}.tribe-events .tribe-events-calendar-latest-past__event-row{flex-wrap:nowrap;margin-bottom:24px;margin-top:32px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-row{margin:48px -24px 40px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-row>.tribe-common-g-col{padding-left:24px;padding-right:24px}.tribe-events .tribe-events-calendar-latest-past__event-row:last-child{margin-bottom:40px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-row:last-child{margin-bottom:64px}.tribe-events .tribe-events-calendar-latest-past__event-date-tag{flex:none;width:54px;position:relative}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-date-tag{min-width:90px;width:11.111%}.tribe-events .tribe-events-calendar-latest-past__event-date-tag-datetime{display:flex;flex-direction:column;height:100%;text-align:center}.tribe-events .tribe-events-calendar-latest-past__event-date-tag-daynum,.tribe-events .tribe-events-calendar-latest-past__event-date-tag-month{margin-bottom:-4px}.tribe-events .tribe-events-calendar-latest-past__event-wrapper{flex:1;width:calc(75% + 21px)}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-wrapper{flex:1 1 88.888%}.tribe-events .tribe-events-calendar-latest-past__event{flex-direction:column}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event{flex-direction:row-reverse;justify-content:flex-end}.tribe-events .tribe-events-calendar-latest-past__event-featured-image-wrapper{flex:none;margin-bottom:16px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-featured-image-wrapper{margin-bottom:0;width:37.5%}.tribe-events .tribe-events-calendar-latest-past__event-featured-image,.tribe-events .tribe-events-calendar-latest-past__event-featured-image-link{display:block}.tribe-events .tribe-events-calendar-latest-past__event-details{flex:none}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-details{width:62.5%}.tribe-events .tribe-events-calendar-latest-past__event-header>:last-child{margin-bottom:0}.tribe-events .tribe-events-calendar-latest-past__event-datetime-wrapper,.tribe-events .tribe-events-calendar-latest-past__event-title{margin:0 0 8px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-datetime-wrapper,.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-title{margin:0 0 16px}.tribe-events .tribe-events-calendar-latest-past__event-datetime-wrapper:last-child,.tribe-events .tribe-events-calendar-latest-past__event-title:last-child{margin-bottom:0}.tribe-events .tribe-events-calendar-latest-past__event-datetime-featured-icon{display:inline-block;margin-right:4px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-datetime-featured-text{clip:auto;height:auto;margin:0;position:static;width:auto;margin-right:8px}.tribe-events .tribe-events-calendar-latest-past__event-venue{margin-bottom:8px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-venue{margin-bottom:16px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-description{display:block!important;margin-top:16px;visibility:visible}.tribe-events .tribe-events-calendar-latest-past__event-cost{margin-top:12px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-cost{margin-top:16px}
1
+ .tribe-events-view{position:relative}.tribe-events .tribe-events-l-container{padding-bottom:80px;padding-top:64px;min-height:600px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container{padding-bottom:160px;padding-top:96px;min-height:700px}.tribe-events .tribe-events-c-breadcrumbs{margin-bottom:24px;width:100%}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-breadcrumbs{margin-bottom:48px}.tribe-events .tribe-events-c-breadcrumbs__list{display:flex;flex-wrap:wrap}.tribe-events .tribe-events-c-breadcrumbs__list-item{display:inline-flex;align-items:center}.tribe-events .tribe-events-c-breadcrumbs__list-item:last-child .tribe-events-c-breadcrumbs__list-item-icon-svg{display:none}.tribe-events .tribe-events-c-breadcrumbs__list-item-icon-svg{display:inline-block;height:14px;width:6px;margin:0 6px}.tribe-events .tribe-events-c-breadcrumbs__list-item-icon-svg path{fill:currentColor}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-breadcrumbs__list-item-icon-svg{height:16px;width:10px;margin:0 10px}.tribe-events .datepicker{margin-top:8px;padding:0 16px 16px}.tribe-common--breakpoint-medium.tribe-events .datepicker{margin-top:16px}.tribe-events .datepicker table{border-collapse:collapse;table-layout:fixed}.tribe-events .datepicker .datepicker-switch,.tribe-events .datepicker .next,.tribe-events .datepicker .prev{padding:20px 0;vertical-align:middle}.tribe-events .datepicker .next .tribe-events-c-top-bar__datepicker-nav-icon-svg,.tribe-events .datepicker .prev .tribe-events-c-top-bar__datepicker-nav-icon-svg{margin-right:auto;height:15px;width:9px}.tribe-events .datepicker .next .tribe-events-c-top-bar__datepicker-nav-icon-svg path,.tribe-events .datepicker .prev .tribe-events-c-top-bar__datepicker-nav-icon-svg path{fill:currentColor}.tribe-events .datepicker .next .tribe-events-c-top-bar__datepicker-nav-icon-svg{margin-left:auto;margin-right:0}.tribe-events .datepicker .datepicker-months td,.tribe-events .datepicker .datepicker-months th,.tribe-events .datepicker .datepicker-years td,.tribe-events .datepicker .datepicker-years th{padding:0}.tribe-events .datepicker .datepicker-months .datepicker-switch,.tribe-events .datepicker .datepicker-months .next,.tribe-events .datepicker .datepicker-months .prev,.tribe-events .datepicker .datepicker-years .datepicker-switch,.tribe-events .datepicker .datepicker-years .next,.tribe-events .datepicker .datepicker-years .prev{padding:20px 0 8px}.tribe-events .datepicker .dow{padding:0;width:14.285%}.tribe-events .datepicker .day{padding:11px 0;width:48px}.tribe-events .datepicker .month,.tribe-events .datepicker .year{height:auto;margin:0;padding:15px 0;width:25%}.admin-bar .tribe-events .datepicker{margin-top:8px}.admin-bar .tribe-events.tribe-common--breakpoint-medium .datepicker{margin-top:16px}.tribe-theme-divi #content-area .tribe-events .datepicker .datepicker-switch,.tribe-theme-divi #content-area .tribe-events .datepicker .next,.tribe-theme-divi #content-area .tribe-events .datepicker .prev{padding:20px 0}.tribe-theme-divi #content-area .tribe-events .datepicker .datepicker-months .datepicker-switch,.tribe-theme-divi #content-area .tribe-events .datepicker .datepicker-months .next,.tribe-theme-divi #content-area .tribe-events .datepicker .datepicker-months .prev,.tribe-theme-divi #content-area .tribe-events .datepicker .datepicker-years .datepicker-switch,.tribe-theme-divi #content-area .tribe-events .datepicker .datepicker-years .next,.tribe-theme-divi #content-area .tribe-events .datepicker .datepicker-years .prev{padding:20px 0 8px}.tribe-theme-divi #content-area .tribe-events .datepicker .dow{padding:0}.tribe-theme-divi #content-area .tribe-events .datepicker .day{padding:11px 0}.tribe-theme-enfold .tribe-events .datepicker{min-width:0;padding:0 16px 16px}.tribe-theme-enfold .tribe-events .datepicker .datepicker-switch{cursor:pointer!important}.tribe-theme-avada .tribe-events .datepicker{padding:0 16px 16px}.tribe-theme-avada .tribe-events .datepicker .datepicker-months td{padding:0}.tribe-events .tribe-events-c-day-marker{align-items:center;display:flex}.tribe-events .tribe-events-c-day-marker__date{flex:none}.tribe-events .tribe-events-c-events-bar{display:flex}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-events-bar{flex-direction:row}.tribe-events .tribe-events-c-events-bar__views{display:flex;flex:none;justify-content:center}.tribe-events .tribe-events-c-events-bar__search-container{background-color:#fff;display:none;left:0;padding:8px 21px 12px;position:absolute;right:0;top:calc(100% - 8px);z-index:30}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-events-bar__search-container{align-items:center;display:flex;flex:auto;padding:0;position:static;z-index:auto}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-events-bar__search{display:flex;flex:auto}.tribe-events .tribe-events-c-events-bar__search-form{width:100%}.tribe-events .tribe-events-c-events-bar__search-button{display:inline-block;margin-right:8px;padding:4px;position:relative}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-events-bar__search-button{display:none!important;visibility:hidden}.tribe-events .tribe-events-c-events-bar__search-button-icon-svg{width:21px}.tribe-events .tribe-events-c-events-bar__search-button-icon-svg path{fill:currentColor}.tribe-events .tribe-events-c-ical{margin-top:20px;text-align:right}.tribe-events .tribe-events-c-ical__link{align-items:center;display:inline-flex;justify-content:center;padding:12px;width:100%}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-ical__link{width:auto}.tribe-events .tribe-events-c-ical__link-icon-svg{display:none}.tribe-events .tribe-events-view-loader{align-items:flex-start;justify-content:center;display:flex;position:absolute;top:0;right:0;bottom:0;left:0;z-index:100;background-color:hsla(0,0%,100%,.6)}.tribe-events .tribe-events-c-messages{display:flex;flex-direction:column}.tribe-events .tribe-events-c-messages__message{align-items:center;display:flex;padding:12px;width:100%}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-messages__message{justify-content:center;padding:16px}.tribe-events .tribe-events-c-nav{padding-top:20px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav{padding-top:28px}.tribe-events .tribe-events-c-nav__list{display:flex;width:100%;flex-wrap:wrap;justify-content:space-between}.tribe-events .tribe-events-c-nav__list-item{display:flex;width:33.33%}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__list-item{width:50%}.tribe-events .tribe-events-c-nav__list-item--prev{justify-content:flex-start}.tribe-events .tribe-events-c-nav__list-item--next{justify-content:flex-end}.tribe-events .tribe-events-c-nav__list-item--today{justify-content:center}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__list-item--today{display:none!important;visibility:hidden}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__next-label-plural,.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__prev-label-plural{clip:auto;height:auto;margin:0;position:static;width:auto}.tribe-events .tribe-events-c-nav__next,.tribe-events .tribe-events-c-nav__prev{align-items:center;display:flex;flex:none;flex-wrap:wrap;justify-content:center}.tribe-events .tribe-events-c-nav__next-icon-svg,.tribe-events .tribe-events-c-nav__prev-icon-svg{display:none}.tribe-events .tribe-events-c-promo{margin-top:20px}.tribe-events .tribe-events-c-read-more{margin-top:12px}.tribe-events .tribe-events-c-small-cta>*{margin-left:8px}.tribe-events .tribe-events-c-small-cta>:first-child{margin-left:0}.tribe-events .tribe-events-c-small-cta__link{cursor:pointer}.tribe-events .tribe-events-c-small-cta__stock{margin-left:4px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search{display:flex;align-items:center}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search__input-group{align-items:center;display:flex;flex:auto}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search__input-control{flex:auto;margin:12px 0}.tribe-events .tribe-events-c-search__input-control-icon-svg{display:none}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search__input{margin:-12px 0}.tribe-events .tribe-events-c-search__button{margin-top:24px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search__button{flex:none;margin-top:0}#top .main_color .tribe-events.tribe-common--breakpoint-medium .tribe-events-c-search__input,#top.tribe-theme-enfold .tribe-events.tribe-common--breakpoint-medium .tribe-events-c-search__input,.tribe-theme-avada .tribe-events.tribe-common--breakpoint-medium .tribe-events-c-search__input{margin:-12px 0}.tooltipster-base.tribe-events-tooltip-theme{height:auto!important;padding:24px;max-width:254px}.tooltipster-base.tribe-events-tooltip-theme .tooltipster-box{margin:0}.tooltipster-base.tribe-events-tooltip-theme .tooltipster-box .tooltipster-content{padding:0;word-break:break-word}.tooltipster-base.tribe-events-tooltip-theme .tooltipster-arrow{display:none}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-top-bar{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-top-bar__nav{display:block!important;flex:none;visibility:visible}.tribe-events .tribe-events-c-top-bar__nav-list{display:flex}.tribe-events .tribe-events-c-top-bar__nav-list-item{flex:none;padding-right:15px}.tribe-events .tribe-events-c-top-bar__nav-list-item>*{vertical-align:middle}.tribe-events .tribe-events-c-top-bar__nav-link{display:block;line-height:0}.tribe-events .tribe-events-c-top-bar__nav-link-icon-svg{height:19px;width:11px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-top-bar__today-button{display:block!important;flex:none;margin-right:15px;visibility:visible}.tribe-events .tribe-events-c-top-bar__datepicker{flex:auto;position:relative}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-top-bar__datepicker{margin:0;padding:0}.tribe-events .tribe-events-c-top-bar__datepicker-separator{white-space:pre}.tribe-common--breakpoint-full.tribe-events .tribe-events-c-top-bar__datepicker-mobile{display:none!important;visibility:hidden}.tribe-common--breakpoint-full.tribe-events .tribe-events-c-top-bar__datepicker-desktop{display:block!important;visibility:visible}.tribe-events .tribe-events-c-top-bar__datepicker-button{align-items:center;display:flex;flex:none}.tribe-events .tribe-events-c-top-bar__datepicker-button-icon-svg{display:none}.tribe-events .tribe-events-c-top-bar__datepicker-container{bottom:0;left:0;max-width:calc(100% + 29px);position:absolute;width:363px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-top-bar__datepicker-container{max-width:none;min-width:363px}.tribe-events .tribe-events-header--has-event-search .tribe-events-c-top-bar__datepicker-container{max-width:calc(100% + 66px)}.tribe-common--breakpoint-medium.tribe-events .tribe-events-header--has-event-search .tribe-events-c-top-bar__datepicker-container{max-width:none}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-top-bar__actions{display:block!important;flex:none;margin-left:auto;visibility:visible}#top .main_color .tribe-events .tribe-events-c-top-bar__datepicker-input,#top.tribe-theme-enfold .tribe-events .tribe-events-c-top-bar__datepicker-input{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.entry-content-wrapper .tribe-events .tribe-events-c-top-bar__nav-list-item{padding-right:15px}.tribe-theme-avada .tribe-events .tribe-events-c-top-bar__datepicker-input{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.tribe-events .tribe-events-c-view-selector{position:relative;width:29px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector{width:auto}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--labels .tribe-events-c-view-selector__button{height:100%;padding:20px 24px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--labels .tribe-events-c-view-selector__button-icon{display:none!important;visibility:hidden}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--labels .tribe-events-c-view-selector__button-text{clip:auto;height:auto;margin:0;position:static;width:auto;flex:auto}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--labels .tribe-events-c-view-selector__content{left:0;padding:8px;right:auto;transform:translateY(8px);width:auto}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--labels .tribe-events-c-view-selector__list-item-link{padding:4px 32px 4px 16px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--labels .tribe-events-c-view-selector__list-item-icon,.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__button{display:none!important;visibility:hidden}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__content{display:block;height:100%;padding:0 12px;position:static;transform:none}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list{display:flex;height:100%}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item{margin:0 12px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item-link{height:100%;padding:20px 0;position:relative}.tribe-events .tribe-events-c-view-selector__button{align-items:center;display:flex;padding:4px;position:relative;width:100%}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector__button{padding:8px}.tribe-events .tribe-events-c-view-selector__button-icon{display:block;height:21px;width:21px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector__button-icon{height:23px;width:23px}.tribe-events .tribe-events-c-view-selector__button-icon-caret-svg{display:none}.tribe-events .tribe-events-c-view-selector__content{display:none;background-color:#fff;padding:12px 6px;position:absolute;right:0;top:100%;transform:translateY(16px);z-index:30}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector__content{transform:translateY(12px)}.tribe-events .tribe-events-c-view-selector__list-item-link{align-items:center;display:flex;padding:8px 24px 8px 12px}.tribe-events .tribe-events-c-view-selector__list-item-icon{flex:none;height:18px;margin-right:12px;width:18px}.tribe-events .tribe-events-c-view-selector__list-item-text{flex:auto}.tribe-events .tribe-events-header{align-items:center;display:flex;flex-direction:row-reverse;flex-wrap:wrap;justify-content:space-between;margin:0 -19.5px;padding:0 19.5px 16px;position:relative}.tribe-common--breakpoint-medium.tribe-events .tribe-events-header{margin:0;padding:0}.tribe-common--breakpoint-medium.tribe-events .tribe-events-header--has-event-search{background-color:transparent;flex-direction:row}.tribe-common--breakpoint-medium.tribe-events .tribe-events-header--has-event-search .tribe-events-header__events-bar{margin-left:0;width:100%}.tribe-common--breakpoint-medium.tribe-events .tribe-events-header--has-event-search .tribe-events-header__top-bar{width:100%}.tribe-events .tribe-events-header__messages{margin-bottom:16px;width:100%}.tribe-common--breakpoint-medium.tribe-events .tribe-events-header__messages{margin-bottom:32px;order:1}.tribe-events .tribe-events-header__events-bar{flex:none}.tribe-common--breakpoint-medium.tribe-events .tribe-events-header__events-bar{margin-bottom:32px;margin-left:16px}.tribe-events .tribe-events-header__top-bar{flex:auto}.tribe-common--breakpoint-medium.tribe-events .tribe-events-header__top-bar{margin-bottom:32px}.tribe-events .tribe-events-calendar-list__event-row{flex-wrap:nowrap;margin-bottom:24px;margin-top:32px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-row{margin:48px -24px 40px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-row>.tribe-common-g-col{padding-left:24px;padding-right:24px}.tribe-events .tribe-events-calendar-list__event-row:last-child{margin-bottom:40px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-row:last-child{margin-bottom:64px}.tribe-events .tribe-events-calendar-list__month-separator+.tribe-events-calendar-list__event-row{margin-top:20px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__month-separator+.tribe-events-calendar-list__event-row{margin-top:40px}.tribe-events .tribe-events-calendar-list__event-date-tag{flex:none;width:54px;position:relative}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-date-tag{min-width:90px;width:11.111%}.tribe-events .tribe-events-calendar-list__event-date-tag-datetime{display:flex;flex-direction:column;height:100%;text-align:center}.tribe-events .tribe-events-calendar-list__event-date-tag-weekday{margin-bottom:-4px}.tribe-events .tribe-events-calendar-list__event-wrapper{flex:1;width:calc(75% + 21px)}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-wrapper{flex:1 1 88.888%}.tribe-events .tribe-events-calendar-list__event{flex-direction:column}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event{flex-direction:row-reverse;justify-content:flex-end}.tribe-events .tribe-events-calendar-list__event-featured-image-wrapper{flex:none;margin-bottom:16px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-featured-image-wrapper{margin-bottom:0;width:37.5%}.tribe-events .tribe-events-calendar-list__event-featured-image,.tribe-events .tribe-events-calendar-list__event-featured-image-link{display:block}.tribe-events .tribe-events-calendar-list__event-details{flex:none}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-details{width:62.5%}.tribe-events .tribe-events-calendar-list__event-header>:last-child{margin-bottom:0}.tribe-events .tribe-events-calendar-list__event-datetime-wrapper,.tribe-events .tribe-events-calendar-list__event-title{margin:0 0 8px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-datetime-wrapper,.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-title{margin:0 0 16px}.tribe-events .tribe-events-calendar-list__event-datetime-wrapper:last-child,.tribe-events .tribe-events-calendar-list__event-title:last-child{margin-bottom:0}.tribe-events .tribe-events-calendar-list__event-datetime-featured-icon{display:inline-block;margin-right:4px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-datetime-featured-text{clip:auto;height:auto;margin:0;position:static;width:auto;margin-right:8px}.tribe-events .tribe-events-calendar-list__event-venue{margin-bottom:8px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-venue{margin-bottom:16px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-description{display:block!important;margin-top:16px;visibility:visible}.tribe-events .tribe-events-calendar-list__event-cost{margin-top:12px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-cost{margin-top:16px}.tribe-events .tribe-events-calendar-list__month-separator{display:flex;align-items:center}.tribe-events .tribe-events-calendar-list__month-separator-text{flex:none}.tribe-events .tribe-events-calendar-list-nav{padding-top:24px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list-nav{padding-top:32px}.tribe-events .tribe-events-calendar-month{margin-bottom:8px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month{margin:0}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__body{border-top:1px solid #e4e4e4}.tribe-events .tribe-events-calendar-month__week{display:flex}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__week{border-left:1px solid #e4e4e4}.tribe-events .tribe-events-calendar-month__calendar-event{margin:8px 0;padding:0 16px;position:relative}.tribe-events .tribe-events-calendar-month__calendar-event:first-child{margin-top:0}.tribe-events .tribe-events-calendar-month__calendar-event:last-child{margin-bottom:0;padding-bottom:16px}.tribe-events .tribe-events-calendar-month__multiday-event-wrapper+.tribe-events-calendar-month__calendar-event{margin-top:0}.tribe-events .tribe-events-calendar-month__multiday-event-wrapper+.tribe-events-calendar-month__calendar-event--featured{margin-top:8px}.tribe-events .tribe-events-calendar-month__calendar-event-datetime-featured-icon{display:inline-block;line-height:0;margin-right:4px}.tribe-events .tribe-events-calendar-month__calendar-event-featured-image-wrapper{margin-bottom:4px}.tribe-events .tribe-events-calendar-month__calendar-event-featured-image,.tribe-events .tribe-events-calendar-month__calendar-event-featured-image-link{display:block}.tribe-events .tribe-events-calendar-month__calendar-event-datetime>*{vertical-align:middle}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image-wrapper{margin-bottom:12px;width:206px}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image-wrapper:last-child{margin-bottom:0}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image,.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image-link{display:block}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-datetime{margin-bottom:4px}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-datetime>*{vertical-align:middle}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-datetime-featured-icon{display:inline-block;line-height:0;margin-right:4px}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-title{margin-bottom:4px}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-description{margin-bottom:8px}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-description:last-child{margin-bottom:0}.tribe-events .tribe-events-calendar-month__calendar-event-title{margin:0}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-cost{margin-top:16px}.tribe-theme-twentynineteen .entry .tribe-events .tribe-events-calendar-month__calendar-event,.tribe-theme-twentynineteen .tribe-events .tribe-events-calendar-month__calendar-event{margin:8px 0;padding:0 16px;position:relative}.tribe-theme-twentynineteen .entry .tribe-events .tribe-events-calendar-month__calendar-event:first-child,.tribe-theme-twentynineteen .tribe-events .tribe-events-calendar-month__calendar-event:first-child{margin-top:0}.tribe-theme-twentynineteen .entry .tribe-events .tribe-events-calendar-month__calendar-event:last-child,.tribe-theme-twentynineteen .tribe-events .tribe-events-calendar-month__calendar-event:last-child{margin-bottom:0;padding-bottom:16px}.tribe-events .tribe-events-calendar-month__header-row{display:flex}.tribe-events .tribe-events-calendar-month__header-column{width:14.285%;padding-bottom:16px}.tribe-events .tribe-events-calendar-month__header-column-title{margin:0}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__header-column-title-mobile{display:none!important;visibility:hidden}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__header-column-title-desktop{display:block!important;visibility:visible}.tribe-events .tribe-events-calendar-month__day{height:48px;overflow:hidden;position:relative;width:14.285%}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day{border-color:#e4e4e4;border-style:solid;border-width:0 1px 1px 0;height:auto;min-height:168px;overflow:visible}.tribe-events .tribe-events-calendar-month__day-cell{height:100%;width:100%}.tribe-events .tribe-events-calendar-month__day-cell--mobile{align-items:center;display:flex;flex-direction:column;text-align:center}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day-cell--mobile{display:none!important;visibility:hidden}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day-cell--desktop{display:flex!important;flex-direction:column;visibility:visible}.tribe-events .tribe-events-calendar-month__day-date{margin:0}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day-date{flex:none;padding:8px 16px}.tribe-events .tribe-events-calendar-month__events{flex:auto}.tribe-events .tribe-events-calendar-month__mobile-events-icon--event{background-color:currentColor;border-radius:50%;height:8px;width:8px}.tribe-events .tribe-events-calendar-month__mobile-events-icon--featured{line-height:0;width:8px}.tribe-events .tribe-events-calendar-month__mobile-events-icon--featured .tribe-events-calendar-month__mobile-events-icon-svg path{fill:currentColor}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month-mobile-events{display:none!important;visibility:hidden}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-day{display:none}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-day--show{display:block}.tribe-events .tribe-events-calendar-month-mobile-events__day-marker{padding-top:16px}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event{padding:12px 0}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event--featured{padding-bottom:20px}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-featured-image-wrapper{margin-bottom:12px}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime{margin-bottom:4px}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime>*{vertical-align:middle}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime-featured-icon{display:inline-block;line-height:0;margin-right:4px}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime-featured-text{margin-right:8px}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-title{margin:0}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-cost{margin-top:8px}.tribe-events .tribe-events-calendar-month-mobile-events__more-events{padding:4px 0 20px}.tribe-events .tribe-events-calendar-month__more-events{display:flex;flex:none;margin:0 16px;padding:8px 0 16px}.tribe-events .tribe-events-calendar-month__more-events-link{flex:none}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__multiday-event-wrapper{height:19px;margin-bottom:4px;position:relative}.tribe-events .tribe-events-calendar-month__multiday-event--width-2 .tribe-events-calendar-month__multiday-event-bar{width:calc(200% + 1px)}.tribe-events .tribe-events-calendar-month__multiday-event--width-3 .tribe-events-calendar-month__multiday-event-bar{width:calc(300% + 2px)}.tribe-events .tribe-events-calendar-month__multiday-event--width-4 .tribe-events-calendar-month__multiday-event-bar{width:calc(400% + 3px)}.tribe-events .tribe-events-calendar-month__multiday-event--width-5 .tribe-events-calendar-month__multiday-event-bar{width:calc(500% + 4px)}.tribe-events .tribe-events-calendar-month__multiday-event--width-6 .tribe-events-calendar-month__multiday-event-bar{width:calc(600% + 5px)}.tribe-events .tribe-events-calendar-month__multiday-event--width-7 .tribe-events-calendar-month__multiday-event-bar{width:calc(700% + 6px)}.tribe-events .tribe-events-calendar-month__multiday-event-hidden{height:100%;opacity:0;position:absolute;width:100%;z-index:5}.tribe-events .tribe-events-calendar-month__multiday-event-hidden-title{margin:0;overflow:hidden;white-space:nowrap}.tribe-events .tribe-events-calendar-month__multiday-event-hidden-link{display:block;height:100%}.tribe-events .tribe-events-calendar-month__multiday-event-bar{background-color:#fff;overflow:hidden;position:relative;width:100%;z-index:2}.tribe-events .tribe-events-calendar-month__multiday-event-bar-inner{align-items:center;cursor:pointer;display:flex;flex-wrap:nowrap;padding:1px 16px}.tribe-events .tribe-events-calendar-month__multiday-event-bar-featured-icon{flex:none;line-height:0;margin-right:5px}.tribe-events .tribe-events-calendar-month__multiday-event-bar-title{flex:none;margin:0;max-width:100%;overflow:hidden;white-space:nowrap}.tribe-events .tribe-events-calendar-month-nav{padding-top:20px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month-nav{display:none!important;visibility:hidden}.tribe-events .tribe-events-calendar-day__event{margin-bottom:24px;margin-top:32px;padding-left:54px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event{margin-bottom:40px;margin-top:48px;padding-left:0}.tribe-events .tribe-events-calendar-day__event:last-child{margin-bottom:40px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event:last-child{margin-bottom:64px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event:before{content:"";min-width:90px;width:11.111%}.tribe-events .tribe-events-calendar-day__time-separator+.tribe-events-calendar-day__event,.tribe-events .tribe-events-calendar-day__type-separator+.tribe-events-calendar-day__event{margin-top:20px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__time-separator+.tribe-events-calendar-day__event,.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__type-separator+.tribe-events-calendar-day__event{margin-top:40px}.tribe-events .tribe-events-calendar-day__event-content{flex:none}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-content{display:flex;flex-direction:row-reverse;justify-content:flex-end;flex:1 1 88.888%;margin-left:-24px;margin-right:-24px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-content>*{padding-left:24px;padding-right:24px}.tribe-events .tribe-events-calendar-day__event-featured-image-wrapper{margin-bottom:16px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-featured-image-wrapper{flex:none;margin-bottom:0;width:37.5%}.tribe-events .tribe-events-calendar-day__event-featured-image-link,.tribe-events .tribe-events-calendar-list__event-featured-image{display:block}.tribe-events .tribe-events-calendar-day__event-details{position:relative}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-details{flex:none;width:62.5%}.tribe-events .tribe-events-calendar-day__event-header>:last-child{margin-bottom:0}.tribe-events .tribe-events-calendar-day__event-datetime-wrapper,.tribe-events .tribe-events-calendar-day__event-title{margin:0 0 8px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-datetime-wrapper,.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-title{margin:0 0 16px}.tribe-events .tribe-events-calendar-day__event-datetime-wrapper:last-child,.tribe-events .tribe-events-calendar-day__event-title:last-child{margin-bottom:0}.tribe-events .tribe-events-calendar-day__event-datetime-featured-icon{display:inline-block;margin-right:4px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-datetime-featured-text{clip:auto;height:auto;margin:0;position:static;width:auto;margin-right:8px}.tribe-events .tribe-events-calendar-day__event-venue{margin-bottom:8px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-venue{margin-bottom:16px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-description{display:block!important;margin-top:16px;visibility:visible}.tribe-events .tribe-events-calendar-day__event-cost{margin-top:12px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-cost{margin-top:16px}.tribe-theme-twentynineteen .tribe-events .entry.tribe-events-calendar-day__event{margin-bottom:24px;margin-top:32px;padding-left:54px}.tribe-theme-twentynineteen .tribe-events .entry.tribe-events-calendar-day__event:last-child{margin-bottom:40px}.tribe-theme-twentynineteen .tribe-events.tribe-common--breakpoint-medium .entry.tribe-events-calendar-day__event{margin-bottom:40px;margin-top:48px;padding-left:0}.tribe-theme-twentynineteen .tribe-events.tribe-common--breakpoint-medium .entry.tribe-events-calendar-day__event:last-child{margin-bottom:64px}.tribe-theme-twentynineteen .tribe-events .tribe-events-calendar-day__time-separator+.entry.tribe-events-calendar-day__event,.tribe-theme-twentynineteen .tribe-events .tribe-events-calendar-day__type-separator+.entry.tribe-events-calendar-day__event{margin-top:20px}.tribe-theme-twentynineteen .tribe-events.tribe-common--breakpoint-medium .tribe-events-calendar-day__time-separator+.entry.tribe-events-calendar-day__event,.tribe-theme-twentynineteen .tribe-events.tribe-common--breakpoint-medium .tribe-events-calendar-day__type-separator+.entry.tribe-events-calendar-day__event{margin-top:40px}.tribe-events .tribe-events-calendar-day-nav{padding-top:24px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day-nav{padding-top:32px}.tribe-events .tribe-events-calendar-day__time-separator{display:flex;align-items:center}.tribe-events .tribe-events-calendar-day__time-separator-text{flex:none}.tribe-events .tribe-events-calendar-day__type-separator{display:flex;align-items:center}.tribe-events .tribe-events-calendar-day__type-separator-text{flex:none}.tribe-events .tribe-events-calendar-latest-past__event-row{flex-wrap:nowrap;margin-bottom:24px;margin-top:32px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-row{margin:48px -24px 40px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-row>.tribe-common-g-col{padding-left:24px;padding-right:24px}.tribe-events .tribe-events-calendar-latest-past__event-row:last-child{margin-bottom:40px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-row:last-child{margin-bottom:64px}.tribe-events .tribe-events-calendar-latest-past__event-date-tag{flex:none;width:54px;position:relative}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-date-tag{min-width:90px;width:11.111%}.tribe-events .tribe-events-calendar-latest-past__event-date-tag-datetime{display:flex;flex-direction:column;height:100%;text-align:center}.tribe-events .tribe-events-calendar-latest-past__event-date-tag-daynum,.tribe-events .tribe-events-calendar-latest-past__event-date-tag-month{margin-bottom:-4px}.tribe-events .tribe-events-calendar-latest-past__event-wrapper{flex:1;width:calc(75% + 21px)}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-wrapper{flex:1 1 88.888%}.tribe-events .tribe-events-calendar-latest-past__event{flex-direction:column}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event{flex-direction:row-reverse;justify-content:flex-end}.tribe-events .tribe-events-calendar-latest-past__event-featured-image-wrapper{flex:none;margin-bottom:16px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-featured-image-wrapper{margin-bottom:0;width:37.5%}.tribe-events .tribe-events-calendar-latest-past__event-featured-image,.tribe-events .tribe-events-calendar-latest-past__event-featured-image-link{display:block}.tribe-events .tribe-events-calendar-latest-past__event-details{flex:none}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-details{width:62.5%}.tribe-events .tribe-events-calendar-latest-past__event-header>:last-child{margin-bottom:0}.tribe-events .tribe-events-calendar-latest-past__event-datetime-wrapper,.tribe-events .tribe-events-calendar-latest-past__event-title{margin:0 0 8px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-datetime-wrapper,.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-title{margin:0 0 16px}.tribe-events .tribe-events-calendar-latest-past__event-datetime-wrapper:last-child,.tribe-events .tribe-events-calendar-latest-past__event-title:last-child{margin-bottom:0}.tribe-events .tribe-events-calendar-latest-past__event-datetime-featured-icon{display:inline-block;margin-right:4px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-datetime-featured-text{clip:auto;height:auto;margin:0;position:static;width:auto;margin-right:8px}.tribe-events .tribe-events-calendar-latest-past__event-venue{margin-bottom:8px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-venue{margin-bottom:16px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-description{display:block!important;margin-top:16px;visibility:visible}.tribe-events .tribe-events-calendar-latest-past__event-cost{margin-top:12px}.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-cost{margin-top:16px}
src/resources/js/aggregator-fields.js CHANGED
@@ -158,7 +158,7 @@ tribe_aggregator.fields = {
158
 
159
  var importType = $this.val();
160
 
161
- $frequency.val( ( 'schedule' === importType ? 'daily' : '' ) ).change();
162
 
163
  // set a data attribute on the form indicating the schedule type
164
  obj.$.form.attr( 'data-type', importType );
@@ -266,7 +266,7 @@ tribe_aggregator.fields = {
266
  $( '#tribe-ea-field-' + origin + '_source' ).val( value ).trigger( 'change' );
267
  } );
268
 
269
- $( '.tribe-dependency' ).change();
270
 
271
  // Configure TimePickers
272
  tribe_timepickers.setup_timepickers( $( tribe_timepickers.selector.timepicker ) );
@@ -806,7 +806,7 @@ tribe_aggregator.fields = {
806
  jqxhr.done( function( response ) {
807
  if ( response.success ) {
808
  $credentials_form.addClass( 'credentials-entered' );
809
- $credentials_form.find( '[name="has-credentials"]' ).val( 1 ).change();
810
  }
811
  } );
812
  };
@@ -958,7 +958,7 @@ tribe_aggregator.fields = {
958
  selection.each( function( attachment ) {
959
  $field.data( { id: attachment.attributes.id, text: attachment.attributes.title } );
960
  $field.val( attachment.attributes.id );
961
- $field.change();
962
  $name.html( attachment.attributes.filename );
963
  $name.attr( 'title', attachment.attributes.filename );
964
  } );
@@ -991,7 +991,7 @@ tribe_aggregator.fields = {
991
  * Triggers a change event on the given field
992
  */
993
  obj.events.trigger_field_change = function() {
994
- $( this ).change();
995
  };
996
 
997
  /**
158
 
159
  var importType = $this.val();
160
 
161
+ $frequency.val( ( 'schedule' === importType ? 'daily' : '' ) ).trigger( 'change' );
162
 
163
  // set a data attribute on the form indicating the schedule type
164
  obj.$.form.attr( 'data-type', importType );
266
  $( '#tribe-ea-field-' + origin + '_source' ).val( value ).trigger( 'change' );
267
  } );
268
 
269
+ $( '.tribe-dependency' ).trigger( 'change' );
270
 
271
  // Configure TimePickers
272
  tribe_timepickers.setup_timepickers( $( tribe_timepickers.selector.timepicker ) );
806
  jqxhr.done( function( response ) {
807
  if ( response.success ) {
808
  $credentials_form.addClass( 'credentials-entered' );
809
+ $credentials_form.find( '[name="has-credentials"]' ).val( 1 ).trigger( 'change' );
810
  }
811
  } );
812
  };
958
  selection.each( function( attachment ) {
959
  $field.data( { id: attachment.attributes.id, text: attachment.attributes.title } );
960
  $field.val( attachment.attributes.id );
961
+ $field.trigger( 'change' );
962
  $name.html( attachment.attributes.filename );
963
  $name.attr( 'title', attachment.attributes.filename );
964
  } );
991
  * Triggers a change event on the given field
992
  */
993
  obj.events.trigger_field_change = function() {
994
+ $( this ).trigger( 'change' );
995
  };
996
 
997
  /**
src/resources/js/aggregator-fields.min.js CHANGED
@@ -1 +1 @@
1
- var tribe_aggregator=tribe_aggregator||{};tribe_aggregator.fields={selector:{container:".tribe-ea",form:".tribe-ea-form",help:".tribe-ea-help",fields:".tribe-ea-field",dropdown:".tribe-ea-dropdown",origin_field:"#tribe-ea-field-origin",field_url_source:"#tribe-ea-field-url_source",eventbrite_url_source:"#tribe-ea-field-eventbrite_source",post_status:".tribe-ea-field-post_status",import_type_field:".tribe-import-type",media_button:".tribe-ea-media_button",datepicker:".tribe-datepicker",save_credentials_button:".enter-credentials .tribe-save",preview_container:".tribe-preview-container",preview_button:".tribe-preview:visible",refine_filters:".tribe-refine-filters",clear_filters_button:".tribe-clear-filters",finalize_button:".tribe-finalize",cancel_button:".tribe-cancel",schedule_delete_link:".tribe-ea-tab-scheduled a.submitdelete",tab_new:".tribe-ea-tab-new",action:"#tribe-action",view_filters:".tribe-view-filters"},media:{},$:{},construct:{},events:{},import_id:null,result_fetch_count:0,max_result_fetch_count:15,polling_frequency_index:0,polling_frequencies:[500,1e3,5e3,2e4],progress:{},eventbrite:{refineControls:".tribe-refine-filters.eventbrite, .tribe-refine-filters.eventbrite .tribe-refine",refineControlsHideMap:{event:"tr.tribe-refine-filters",organizer:""},detect_type:function(e){if(!tribe_aggregator.source_origin_regexp.eventbrite)return null;var t=tribe_aggregator.source_origin_regexp.eventbrite,r={event:t+"e/[A-z0-9_-]+",organizer:t+"o/[A-z0-9_-]+"},i=void 0;return _.each(r,function(t,r){null!==new RegExp(t,"g").exec(e)&&(i=r)}),i}}},function(e,t,r,i){"use strict";r.init=function(){r.$.container=e(r.selector.container),r.$.form=e(r.selector.form),r.$.action=e(r.selector.action),r.$.fields=r.$.container.find(r.selector.fields),r.$.preview_container=e(r.selector.preview_container),r.origin=e("#tribe-ea-field-origin"),r.importType=e("#tribe-ea-field-url_import_type"),r.urlImport={startDate:e("#tribe-ea-field-url_start"),originalMinDate:e("#tribe-ea-field-url_start").datepicker("option","minDate")||""},e.each(r.construct,function(e,t){t(r.$.fields)});var a=e(document.getElementById("eventDetails"));a.data("datepicker_format")&&(tribe_ev.state.datepicker_format=a.data("datepicker_format")),e(document).on("keypress",r.selector.fields,r.events.trigger_field_change).on("click",r.selector.save_credentials_button,r.events.trigger_save_credentials).on("click",r.selector.clear_filters_button,r.clear_filters).on("click",r.selector.finalize_button,r.finalize_manual_import).on("click",r.selector.preview_button,r.preview_import).on("click",r.selector.cancel_button,r.events.cancel_edit).on("click",r.selector.schedule_delete_link,r.events.verify_schedule_delete).on("click",r.selector.view_filters,r.events.toggle_view_filters).on("blur",r.selector.datepicker,r.date_helper).on("submit",r.selector.tab_new,r.events.suppress_submission).on("change",r.selector.import_type_field,function(){r.reset_preview();var t=e(this),i=e(this).next(r.selector.fields),a=t.val();i.val("schedule"===a?"daily":"").change(),r.$.form.attr("data-type",a),r.maybeLimitUrlStartDate()}).on("change",r.selector.origin_field,function(){var t=e(this),a=(e(this).data("select2"),t.val());r.$.form.attr("data-origin",a),r.reset_preview(),e(".tribe-bumpdown-active").removeClass("tribe-bumpdown-active"),e(".tribe-bumpdown:visible").hide(),"redirect"===e(this).val()&&(window.open("https://theeventscalendar.com/wordpress-event-aggregator/?utm_source=importoptions&utm_medium=plugin-tec&utm_campaign=in-app","_blank"),location.reload()),""!==a&&e(r.selector.post_status).val(i.default_settings[a].post_status).trigger("change"),r.maybeLimitUrlStartDate()}).on("change",r.selector.eventbrite_url_source,function(t){e(r.eventbrite.refineControls).show();var i=r.eventbrite.detect_type(e("#tribe-ea-field-eventbrite_source").val());if(i){var a=r.eventbrite.refineControlsHideMap[i];a&&e(a).hide()}}).on("change",r.selector.field_url_source,function(a){var n=e(this),s=(e(this).data("select2"),n.val()),o=null;if(s&&(t.each(i.source_origin_regexp,function(e,t){null!==new RegExp(e,"g").exec(s)&&(o=t)}),null!=o)){var l=e(r.selector.origin_field);if(l.find('option[value="'+o+'"]').length){var c=e("#tribe-ea-field-url_import_type"),d=c.val(),_=null;"schedule"===d&&(_=e("#tribe-ea-field-url_import_frequency").val()),c.val(""),l.val(o).trigger("change"),e("#tribe-ea-field-"+o+"_import_type").val(d).trigger("change"),"schedule"===d&&e("#tribe-ea-field-"+o+"_import_frequency").val(_).trigger("change"),"eventbrite"===o&&(e("#tribe-ea-field-"+o+"_source_type_url").trigger("click"),e("#tribe-ea-field-"+o+"_import_source").val("source_type_url").trigger("change")),e("#tribe-ea-field-"+o+"_source").val(s).trigger("change")}}}),e(".tribe-dependency").change(),tribe_timepickers.setup_timepickers(e(tribe_timepickers.selector.timepicker)),"edit"===r.$.action.val()&&(r.$.form.addClass("edit-form"),e(r.selector.finalize_button).html(i.l10n.edit_save)),"object"==typeof tribe_aggregator_save&&r.progress.init()},r.preview_import=function(t){t.preventDefault();var i=e(".tribe-ea-form.tribe-validation");if(r.reset_post_status(),i.trigger("validation.tribe"),!tribe.validation.hasErrors(i)){r.reset_polling_counter();e(".tribe-fetch-warning-message").html("");var a=e("#tribe-post_id");a.data("value",a.val()),a.val("");var n=e("#tribe-import_id");n.data("value",n.val()),n.val("");var s=e(r.selector.preview_button),o=(i=s.closest("form")).serialize();a.val(a.data("value")),n.val(a.data("value")),r.$.preview_container.addClass("tribe-fetching").removeClass("tribe-fetch-error"),r.$.form.removeClass("show-data"),s.prop("disabled",!0);var l=e(".dataTable").data("table");void 0!==l&&l.clear().draw(),"edit"===r.$.action.val()?r.preview_save_import(o):r.create_import(o)}},r.reset_post_status=function(){var t=e(r.selector.origin_field),a=0===t.length?"":t.val();""!==a&&e(r.selector.post_status).val(i.default_settings[a].post_status).trigger("change")},r.reset_polling_counter=function(){r.polling_frequency_index=0,r.result_fetch_count=0},r.reset_form=function(){r.$.fields.val("").trigger("change"),e('[id$="import_frequency"]').val("daily").trigger("change"),r.$.form.removeClass("show-data")},r.reset_preview=function(){r.$.form.removeClass("show-data"),e(".tribe-fetched, .tribe-fetching, .tribe-fetch-error").removeClass("tribe-fetched tribe-fetching tribe-fetch-error")},r.clear_filters=function(){e(r.selector.refine_filters).find("input, select").val("").trigger("change")},r.preview_save_import=function(t){e.ajax({type:"POST",url:ajaxurl+"?action=tribe_aggregator_preview_import",data:t,dataType:"json"}).done(r.handle_preview_create_results)},r.create_import=function(t){e.ajax({type:"POST",url:ajaxurl+"?action=tribe_aggregator_create_import",data:t,dataType:"json"}).done(r.handle_preview_create_results)},r.handle_preview_create_results=function(a){if(!a.success){var n=a.data;return t.isString(n)||(n=n.message),void r.display_fetch_error(["<b>",i.l10n.preview_fetch_error_prefix,"</b>"," "+n].join(" "))}if(r.import_id=a.data.data.import_id,e("#tribe-import_id").val(r.import_id),void 0!==a.data.data.items)return r.init_datatable(a.data.data),void r.$.preview_container.removeClass("tribe-fetching").addClass("tribe-fetched");r.$.container.find(".spinner-message").html(i.l10n.preview_polling[0]),setTimeout(r.poll_for_results,r.polling_frequencies[r.polling_frequency_index])},r.poll_for_results=function(){r.result_fetch_count++,e.ajax({type:"GET",url:ajaxurl+"?action=tribe_aggregator_fetch_import&import_id="+r.import_id,dataType:"json"}).done(function(t){if(void 0!==t.data.warning&&t.data.warning){var a=t.data.warning;r.display_fetch_warning(["<b>",i.l10n.preview_fetch_warning_prefix,"</b>"," "+a].join(" "))}var n;if(!t.success)return void 0!==t.data.message?n=t.data.message:void 0!==t.data[0].message&&(n=t.data[0].message),void r.display_fetch_error(["<b>",i.l10n.preview_fetch_error_prefix,"</b>"," "+n].join(" "));"error"===t.data.status?r.display_fetch_error(t.data.message):"success"!==t.data.status?(r.result_fetch_count>r.max_result_fetch_count&&(r.polling_frequency_index++,r.$.container.find(".spinner-message").html(i.l10n.preview_polling[r.polling_frequency_index]),r.result_fetch_count=0),void 0===r.polling_frequencies[r.polling_frequency_index]?r.display_fetch_error(i.l10n.preview_timeout):setTimeout(r.poll_for_results,r.polling_frequencies[r.polling_frequency_index])):(t.data.data.items=t.data.data.events,r.init_datatable(t.data.data),r.$.preview_container.removeClass("tribe-fetching").addClass("tribe-fetched"),e(r.selector.preview_button).prop("disabled",!1))})},r.init_datatable=function(t){var a=!1,n="csv"===(x=e(r.selector.origin_field).val()),s=e('[id$="import_type"]:visible'),o="manual";if(void 0!==i.default_settings[x])for(var l in i.default_settings[x]){if(i.default_settings[x].hasOwnProperty(l))e("#tribe-ea-field-"+l).val(i.default_settings[x][l]).trigger("change")}if(s.length&&(o=e("#"+s.first().attr("id").replace("s2id_","")).val()),"manual"!==o||t.items.length){s.length&&"manual"!==o||(a=!0);var c=r.$.preview_container.find(".data-container table"),d=[];for(var _ in t.items){var p=t.items[_];p.checkbox=a?'<input type="checkbox">':"",p.all_day?p.start_time=i.l10n.all_day:(void 0!==p.start_meridian&&p.start_meridian||(parseInt(p.start_hour,10)>11?p.start_meridian=i.l10n.pm:p.start_meridian=i.l10n.am),p.start_hour>12&&(p.start_hour=p.start_hour-12),p.start_time=(0===parseInt(p.start_hour,10)?12:p.start_hour)+":"+("00"+p.start_minute).slice(-2),p.start_time+=" "+p.start_meridian),d.push(p)}a&&!n?c.addClass("display-checkboxes"):c.removeClass("display-checkboxes"),r.$.form.addClass("show-data");var u,f={lengthMenu:[[5,10,25,50,-1],[5,10,25,50,tribe_l10n_datatables.pagination.all]],order:[[1,"asc"]],columnDefs:[{cellType:"th",className:"check-column",orderable:!1,targets:0}],data:d};if(void 0!==t.columns){f.columns=[{data:"checkbox"}];var g=c.find("thead tr"),v=c.find("tfoot tr"),m=e({}),b="",h="";if(g.find("th:first").nextAll().remove(),v.find("th:first").nextAll().remove(),n){var w=c.closest(".data-container");c.closest(".data-container").addClass("csv-data"),w.find(".tribe-preview-message .tribe-csv-filename").html(e("#tribe-ea-field-csv_file_name").text()),g.closest("thead").prepend('<tr class="tribe-column-map"><th scope="row" class="check-column column-cb"></th></tr>'),m=e(".tribe-column-map"),h=(h=e("#tribe-ea-field-csv_content_type").val()).replace("tribe_",""),b=e("#tribe-csv-column-map-"+h).html()}var y=0;for(_ in t.columns){if(f.columns.push({data:t.columns[_]}),g.append('<th scope="col">'+t.columns[_]+"</th>"),v.append('<th scope="col">'+t.columns[_]+"</th>"),n){var $=t.columns[_].toLowerCase().replace(/^\s+|\s+$/g,"").replace(/\s/g,"_").replace(/[^a-z0-9_]/g,"");m.append('<th scope="col">'+b.replace('name="column_map[]"','name="aggregator[column_map]['+y+']" id="column-'+y+'"')+"</th>");var k=m.find("#column-"+y);void 0!==i.csv_column_mapping[h][y]&&($=i.csv_column_mapping[h][y]),k.find('option[value="'+$+'"]').prop("selected",!0)}y++}f.scrollX=!0}else f.columns=[{data:"checkbox"},{data:"start_date"},{data:"start_time"},{data:"end_date"},{data:"title"}],f.autoWidth=!1;c.tribeDataTable(f),r.wrap_cell_content(),c.on("select.dt",r.events.twiddle_finalize_button_text).on("deselect.dt",r.events.twiddle_finalize_button_text).on("draw.dt",r.wrap_cell_content),"new"===r.$.action.val()&&(u="manual"===o&&n?i.l10n.import_all_no_number:"manual"===o?i.l10n.import_all.replace("%d",d.length):i.l10n.create_schedule),e(r.selector.finalize_button).html(u)}else{var x=t.origin,C=void 0!==i.l10n[x]&&void 0!==i.l10n[x].no_results?i.l10n[x].no_results:i.l10n.no_results;r.display_fetch_error(C)}},r.wrap_cell_content=function(){e(".dataTable").find("tbody td").each(function(){var t=e(this);t.html('<div class="tribe-td-height-limit">'+t.html()+"</div>")})},r.display_fetch_error=function(t){var i=e(".tribe-fetch-error-message");r.$.preview_container.removeClass("tribe-fetching").addClass("tribe-fetch-error"),i.html(""),r.display_error(i,t),e(r.selector.preview_button).prop("disabled",!1)},r.display_fetch_warning=function(t){var i=e(".tribe-fetch-warning-message");r.$.preview_container.removeClass("tribe-fetching").addClass("tribe-fetch-warning"),i.html(""),r.display_warning(i,t)},r.display_error=function(e,t){e.prepend(['<div class="notice notice-error">',"<p>",t,"</p>","</div>"].join(""))},r.display_warning=function(e,t){e.prepend(['<div class="notice notice-warning">',"<p>",t,"</p>","</div>"].join(""))},r.display_success=function(e,t){e.prepend(['<div class="notice notice-success">',"<p>",t,"</p>","</div>"].join(""))},r.save_credentials=function(t){var r=t.find(".tribe-fieldset").find("input").serialize(),i=ajaxurl+"?action=tribe_aggregator_save_credentials";e.post(i,r).done(function(e){e.success&&(t.addClass("credentials-entered"),t.find('[name="has-credentials"]').val(1).change())})},r.finalize_manual_import=function(){var t=e("#tribe-ea-field-origin").val(),a=e(".dataTable"),n=window.tribe_data_table;if(a.hasClass("display-checkboxes")){var s=n.rows({selected:!0});if(s[0].length||(s=n.rows()),!s[0].length)return void r.display_error(e(".tribe-finalize-container"),i.l10n.events_required_for_manual_submit);var o=s.data(),l=[],c=null;if("meetup"===t?c="meetup_id":"eventbrite"===t?c="eventbrite_id":"ical"===t||"ics"===t||"gcal"===t?c="uid":"url"===t&&(c="id"),null!==c){for(var d in o)isNaN(d)||void 0!==o[d][c]&&l.push(o[d][c]);e("#tribe-selected-rows").text(JSON.stringify(l))}else e("#tribe-selected-rows").text("all")}else e("#tribe-selected-rows").text("all");e(".dataTables_scrollBody").find('[name^="aggregator[column_map]"]').remove(),r.$.form.submit()},r.search_id=function(e){var t=null;return void 0!==e.id?t=e.id:void 0!==e.ID?t=e.ID:void 0!==e.value&&(t=e.value),null==e?null:t},r.construct.dropdown=function(t){var r=function(t){var r=e(t.element);return"string"==typeof r.data("subtitle")&&(t.text=t.text+'<br><span class="tribe-dropdown-subtitle">'+r.data("subtitle")+"</span>"),t.text},i={formatResult:r,formatSelection:r};return tribe_dropdowns.dropdown(t.filter(".tribe-ea-dropdown"),i),t},r.construct.media_button=function(t){var i=t.filter(r.selector.media_button);return"undefined"!=typeof wp&&wp.media&&wp.media.editor?(i.each(function(){var t=e(this),i=t.data("input"),a=e("#"+i),n=e("#"+i+"_name"),s=r.media[i]=wp.media({title:t.data("mediaTitle"),library:{type:t.data("mimeType")},multiple:!1});s.on("select",function(){var e=s.state().get("selection");e&&e.each(function(e){a.data({id:e.attributes.id,text:e.attributes.title}),a.val(e.attributes.id),a.change(),n.html(e.attributes.filename),n.attr("title",e.attributes.filename)})})}),r.$.container.on("click",r.selector.media_button,function(t){if(t.preventDefault(),e(this).is(":visible")){var i=e(this).data("input");return r.media[i].open(i),!1}}),i):i},r.events.trigger_field_change=function(){e(this).change()},r.events.trigger_save_credentials=function(){r.save_credentials(e(this).closest(".enter-credentials"))},r.events.suppress_submission=function(t){e("#tribe-ea-field-origin").val();if(e("#tribe-selected-rows").val().length)return!0;t.preventDefault()},r.events.twiddle_finalize_button_text=function(t,a){if("new"===r.$.action.val()){var n=a.rows({selected:!0})[0].length,s=i.l10n.import_checked;n||(s=i.l10n.import_all,n=a.rows()[0].length),s=s.replace("%d",n),e(r.selector.finalize_button).html(s)}},r.events.cancel_edit=function(e){e.preventDefault();var t=window.location.href;t=(t=t.replace("tab=edit","tab=scheduled")).replace(/id=\d+/,""),window.location.href=t},r.events.verify_schedule_delete=function(){return confirm(i.l10n.verify_schedule_delete)},r.events.toggle_view_filters=function(t){t.preventDefault();var r=e(this);r.toggleClass("tribe-active"),r.is(".tribe-active")?r.html(i.l10n.hide_filters):r.html(i.l10n.view_filters)},r.progress.init=function(){r.progress.data={},r.progress.$={},r.progress.$.notice=e(".tribe-notice-aggregator-update-msg"),r.progress.$.spinner=r.progress.$.notice.find("img"),r.progress.$.progress=r.progress.$.notice.find(".progress"),r.progress.$.tracker=r.progress.$.notice.find(".tracker"),r.progress.$.created=r.progress.$.tracker.find(".track-created .value"),r.progress.$.updated=r.progress.$.tracker.find(".track-updated .value"),r.progress.$.skipped=r.progress.$.tracker.find(".track-skipped .value"),r.progress.$.remaining=r.progress.$.tracker.find(".track-remaining .value"),r.progress.$.bar=r.progress.$.notice.find(".bar"),r.progress.data.time=Date.now(),r.progress.hasHeartBeat="undefined"!=typeof wp&&wp.heartbeat,r.progress.hasHeartBeat&&wp.heartbeat.interval(15),setTimeout(r.progress.start)},r.progress.start=function(){r.progress.update(tribe_aggregator_save.progress,tribe_aggregator_save.progressText),r.progress.hasHeartBeat||r.progress.send_request()},r.progress.continue=!0,e(document).on("heartbeat-send",function(e,t){r.progress.continue&&(t.ea_record=tribe_aggregator_save.record_id)}),e(document).on("heartbeat-tick",function(e,t){t.ea_progress&&r.progress.handle_response(t.ea_progress)}),r.progress.handle_response=function(e){e.html&&r.progress.data.notice.html(e.html),isNaN(parseInt(e.progress,10))||r.progress.update(e),r.progress.continue=e.continue,e.continue&&!r.progress.hasHeartBeat&&setTimeout(r.progress.send_request,15e3),e.error?(r.progress.$.notice.find(".tribe-message").html(e.error_text),r.progress.$.tracker.remove(),r.progress.$.notice.find(".progress-container").remove(),r.progress.$.notice.removeClass("warning").addClass("error")):e.complete&&(r.progress.$.notice.find(".tribe-message").html(e.complete_text),r.progress.$.tracker.remove(),r.progress.$.notice.find(".progress-container").remove(),r.progress.$.notice.removeClass("warning").addClass("completed"))},r.progress.send_request=function(){var t={record:tribe_aggregator_save.record_id,check:tribe_aggregator_save.check,action:"tribe_aggregator_realtime_update"};e.post(ajaxurl,t,r.progress.handle_response,"json")},r.progress.update=function(e){var t=parseInt(e.progress,10);if(!(t<0||t>100)&&void 0!==e.counts){var i=["created","updated","skipped"];for(var a in i)if(e.counts[i[a]]){var n=e.counts[i[a]],s=r.progress.$[i[a]];if("updated"===i[a]||"skipped"===i[a])n>(s?s.html():0)&&s.html(n);else s.html(n);r.progress.$.tracker.hasClass("has-"+i[a])||r.progress.$.tracker.addClass("has-"+i[a])}r.progress.$.bar.css("width",t+"%"),r.progress.$.progress.attr("title",e.progress_text)}},r.progress.remove_notice=function(){r.progress.$.notice.animate({opacity:0,height:"toggle"},1e3,function(){r.progress.$.notice.remove()})},r.date_helper=function(){var t;if((t=e(this)).hasClass("tribe-datepicker")){var r=t.val();if(""!==r&&null!==r){var i=t.attr("id").match("tribe-ea-field-(.*)_start")[1];""!==i&&null!==i&&jQuery("#tribe-date-helper-date-"+i).html(r)}}},r.maybeLimitUrlStartDate=function(){"url"===r.origin.val()&&("schedule"!==r.importType.val()?r.urlImport.startDate.data("datepicker-min-date",null):r.urlImport.startDate.data("datepicker-min-date","today"))},e(document).ready(r.init)}(jQuery,_,tribe_aggregator.fields,tribe_aggregator);
1
+ var tribe_aggregator=tribe_aggregator||{};tribe_aggregator.fields={selector:{container:".tribe-ea",form:".tribe-ea-form",help:".tribe-ea-help",fields:".tribe-ea-field",dropdown:".tribe-ea-dropdown",origin_field:"#tribe-ea-field-origin",field_url_source:"#tribe-ea-field-url_source",eventbrite_url_source:"#tribe-ea-field-eventbrite_source",post_status:".tribe-ea-field-post_status",import_type_field:".tribe-import-type",media_button:".tribe-ea-media_button",datepicker:".tribe-datepicker",save_credentials_button:".enter-credentials .tribe-save",preview_container:".tribe-preview-container",preview_button:".tribe-preview:visible",refine_filters:".tribe-refine-filters",clear_filters_button:".tribe-clear-filters",finalize_button:".tribe-finalize",cancel_button:".tribe-cancel",schedule_delete_link:".tribe-ea-tab-scheduled a.submitdelete",tab_new:".tribe-ea-tab-new",action:"#tribe-action",view_filters:".tribe-view-filters"},media:{},$:{},construct:{},events:{},import_id:null,result_fetch_count:0,max_result_fetch_count:15,polling_frequency_index:0,polling_frequencies:[500,1e3,5e3,2e4],progress:{},eventbrite:{refineControls:".tribe-refine-filters.eventbrite, .tribe-refine-filters.eventbrite .tribe-refine",refineControlsHideMap:{event:"tr.tribe-refine-filters",organizer:""},detect_type:function(e){if(!tribe_aggregator.source_origin_regexp.eventbrite)return null;var t=tribe_aggregator.source_origin_regexp.eventbrite,r={event:t+"e/[A-z0-9_-]+",organizer:t+"o/[A-z0-9_-]+"},i=void 0;return _.each(r,function(t,r){null!==new RegExp(t,"g").exec(e)&&(i=r)}),i}}},function(e,t,r,i){"use strict";r.init=function(){r.$.container=e(r.selector.container),r.$.form=e(r.selector.form),r.$.action=e(r.selector.action),r.$.fields=r.$.container.find(r.selector.fields),r.$.preview_container=e(r.selector.preview_container),r.origin=e("#tribe-ea-field-origin"),r.importType=e("#tribe-ea-field-url_import_type"),r.urlImport={startDate:e("#tribe-ea-field-url_start"),originalMinDate:e("#tribe-ea-field-url_start").datepicker("option","minDate")||""},e.each(r.construct,function(e,t){t(r.$.fields)});var a=e(document.getElementById("eventDetails"));a.data("datepicker_format")&&(tribe_ev.state.datepicker_format=a.data("datepicker_format")),e(document).on("keypress",r.selector.fields,r.events.trigger_field_change).on("click",r.selector.save_credentials_button,r.events.trigger_save_credentials).on("click",r.selector.clear_filters_button,r.clear_filters).on("click",r.selector.finalize_button,r.finalize_manual_import).on("click",r.selector.preview_button,r.preview_import).on("click",r.selector.cancel_button,r.events.cancel_edit).on("click",r.selector.schedule_delete_link,r.events.verify_schedule_delete).on("click",r.selector.view_filters,r.events.toggle_view_filters).on("blur",r.selector.datepicker,r.date_helper).on("submit",r.selector.tab_new,r.events.suppress_submission).on("change",r.selector.import_type_field,function(){r.reset_preview();var t=e(this),i=e(this).next(r.selector.fields),a=t.val();i.val("schedule"===a?"daily":"").trigger("change"),r.$.form.attr("data-type",a),r.maybeLimitUrlStartDate()}).on("change",r.selector.origin_field,function(){var t=e(this),a=(e(this).data("select2"),t.val());r.$.form.attr("data-origin",a),r.reset_preview(),e(".tribe-bumpdown-active").removeClass("tribe-bumpdown-active"),e(".tribe-bumpdown:visible").hide(),"redirect"===e(this).val()&&(window.open("https://theeventscalendar.com/wordpress-event-aggregator/?utm_source=importoptions&utm_medium=plugin-tec&utm_campaign=in-app","_blank"),location.reload()),""!==a&&e(r.selector.post_status).val(i.default_settings[a].post_status).trigger("change"),r.maybeLimitUrlStartDate()}).on("change",r.selector.eventbrite_url_source,function(t){e(r.eventbrite.refineControls).show();var i=r.eventbrite.detect_type(e("#tribe-ea-field-eventbrite_source").val());if(i){var a=r.eventbrite.refineControlsHideMap[i];a&&e(a).hide()}}).on("change",r.selector.field_url_source,function(a){var n=e(this),s=(e(this).data("select2"),n.val()),o=null;if(s&&(t.each(i.source_origin_regexp,function(e,t){null!==new RegExp(e,"g").exec(s)&&(o=t)}),null!=o)){var l=e(r.selector.origin_field);if(l.find('option[value="'+o+'"]').length){var c=e("#tribe-ea-field-url_import_type"),d=c.val(),_=null;"schedule"===d&&(_=e("#tribe-ea-field-url_import_frequency").val()),c.val(""),l.val(o).trigger("change"),e("#tribe-ea-field-"+o+"_import_type").val(d).trigger("change"),"schedule"===d&&e("#tribe-ea-field-"+o+"_import_frequency").val(_).trigger("change"),"eventbrite"===o&&(e("#tribe-ea-field-"+o+"_source_type_url").trigger("click"),e("#tribe-ea-field-"+o+"_import_source").val("source_type_url").trigger("change")),e("#tribe-ea-field-"+o+"_source").val(s).trigger("change")}}}),e(".tribe-dependency").trigger("change"),tribe_timepickers.setup_timepickers(e(tribe_timepickers.selector.timepicker)),"edit"===r.$.action.val()&&(r.$.form.addClass("edit-form"),e(r.selector.finalize_button).html(i.l10n.edit_save)),"object"==typeof tribe_aggregator_save&&r.progress.init()},r.preview_import=function(t){t.preventDefault();var i=e(".tribe-ea-form.tribe-validation");if(r.reset_post_status(),i.trigger("validation.tribe"),!tribe.validation.hasErrors(i)){r.reset_polling_counter();e(".tribe-fetch-warning-message").html("");var a=e("#tribe-post_id");a.data("value",a.val()),a.val("");var n=e("#tribe-import_id");n.data("value",n.val()),n.val("");var s=e(r.selector.preview_button),o=(i=s.closest("form")).serialize();a.val(a.data("value")),n.val(a.data("value")),r.$.preview_container.addClass("tribe-fetching").removeClass("tribe-fetch-error"),r.$.form.removeClass("show-data"),s.prop("disabled",!0);var l=e(".dataTable").data("table");void 0!==l&&l.clear().draw(),"edit"===r.$.action.val()?r.preview_save_import(o):r.create_import(o)}},r.reset_post_status=function(){var t=e(r.selector.origin_field),a=0===t.length?"":t.val();""!==a&&e(r.selector.post_status).val(i.default_settings[a].post_status).trigger("change")},r.reset_polling_counter=function(){r.polling_frequency_index=0,r.result_fetch_count=0},r.reset_form=function(){r.$.fields.val("").trigger("change"),e('[id$="import_frequency"]').val("daily").trigger("change"),r.$.form.removeClass("show-data")},r.reset_preview=function(){r.$.form.removeClass("show-data"),e(".tribe-fetched, .tribe-fetching, .tribe-fetch-error").removeClass("tribe-fetched tribe-fetching tribe-fetch-error")},r.clear_filters=function(){e(r.selector.refine_filters).find("input, select").val("").trigger("change")},r.preview_save_import=function(t){e.ajax({type:"POST",url:ajaxurl+"?action=tribe_aggregator_preview_import",data:t,dataType:"json"}).done(r.handle_preview_create_results)},r.create_import=function(t){e.ajax({type:"POST",url:ajaxurl+"?action=tribe_aggregator_create_import",data:t,dataType:"json"}).done(r.handle_preview_create_results)},r.handle_preview_create_results=function(a){if(!a.success){var n=a.data;return t.isString(n)||(n=n.message),void r.display_fetch_error(["<b>",i.l10n.preview_fetch_error_prefix,"</b>"," "+n].join(" "))}if(r.import_id=a.data.data.import_id,e("#tribe-import_id").val(r.import_id),void 0!==a.data.data.items)return r.init_datatable(a.data.data),void r.$.preview_container.removeClass("tribe-fetching").addClass("tribe-fetched");r.$.container.find(".spinner-message").html(i.l10n.preview_polling[0]),setTimeout(r.poll_for_results,r.polling_frequencies[r.polling_frequency_index])},r.poll_for_results=function(){r.result_fetch_count++,e.ajax({type:"GET",url:ajaxurl+"?action=tribe_aggregator_fetch_import&import_id="+r.import_id,dataType:"json"}).done(function(t){if(void 0!==t.data.warning&&t.data.warning){var a=t.data.warning;r.display_fetch_warning(["<b>",i.l10n.preview_fetch_warning_prefix,"</b>"," "+a].join(" "))}var n;if(!t.success)return void 0!==t.data.message?n=t.data.message:void 0!==t.data[0].message&&(n=t.data[0].message),void r.display_fetch_error(["<b>",i.l10n.preview_fetch_error_prefix,"</b>"," "+n].join(" "));"error"===t.data.status?r.display_fetch_error(t.data.message):"success"!==t.data.status?(r.result_fetch_count>r.max_result_fetch_count&&(r.polling_frequency_index++,r.$.container.find(".spinner-message").html(i.l10n.preview_polling[r.polling_frequency_index]),r.result_fetch_count=0),void 0===r.polling_frequencies[r.polling_frequency_index]?r.display_fetch_error(i.l10n.preview_timeout):setTimeout(r.poll_for_results,r.polling_frequencies[r.polling_frequency_index])):(t.data.data.items=t.data.data.events,r.init_datatable(t.data.data),r.$.preview_container.removeClass("tribe-fetching").addClass("tribe-fetched"),e(r.selector.preview_button).prop("disabled",!1))})},r.init_datatable=function(t){var a=!1,n="csv"===(x=e(r.selector.origin_field).val()),s=e('[id$="import_type"]:visible'),o="manual";if(void 0!==i.default_settings[x])for(var l in i.default_settings[x]){if(i.default_settings[x].hasOwnProperty(l))e("#tribe-ea-field-"+l).val(i.default_settings[x][l]).trigger("change")}if(s.length&&(o=e("#"+s.first().attr("id").replace("s2id_","")).val()),"manual"!==o||t.items.length){s.length&&"manual"!==o||(a=!0);var c=r.$.preview_container.find(".data-container table"),d=[];for(var _ in t.items){var p=t.items[_];p.checkbox=a?'<input type="checkbox">':"",p.all_day?p.start_time=i.l10n.all_day:(void 0!==p.start_meridian&&p.start_meridian||(parseInt(p.start_hour,10)>11?p.start_meridian=i.l10n.pm:p.start_meridian=i.l10n.am),p.start_hour>12&&(p.start_hour=p.start_hour-12),p.start_time=(0===parseInt(p.start_hour,10)?12:p.start_hour)+":"+("00"+p.start_minute).slice(-2),p.start_time+=" "+p.start_meridian),d.push(p)}a&&!n?c.addClass("display-checkboxes"):c.removeClass("display-checkboxes"),r.$.form.addClass("show-data");var u,g={lengthMenu:[[5,10,25,50,-1],[5,10,25,50,tribe_l10n_datatables.pagination.all]],order:[[1,"asc"]],columnDefs:[{cellType:"th",className:"check-column",orderable:!1,targets:0}],data:d};if(void 0!==t.columns){g.columns=[{data:"checkbox"}];var f=c.find("thead tr"),v=c.find("tfoot tr"),m=e({}),b="",h="";if(f.find("th:first").nextAll().remove(),v.find("th:first").nextAll().remove(),n){var w=c.closest(".data-container");c.closest(".data-container").addClass("csv-data"),w.find(".tribe-preview-message .tribe-csv-filename").html(e("#tribe-ea-field-csv_file_name").text()),f.closest("thead").prepend('<tr class="tribe-column-map"><th scope="row" class="check-column column-cb"></th></tr>'),m=e(".tribe-column-map"),h=(h=e("#tribe-ea-field-csv_content_type").val()).replace("tribe_",""),b=e("#tribe-csv-column-map-"+h).html()}var y=0;for(_ in t.columns){if(g.columns.push({data:t.columns[_]}),f.append('<th scope="col">'+t.columns[_]+"</th>"),v.append('<th scope="col">'+t.columns[_]+"</th>"),n){var $=t.columns[_].toLowerCase().replace(/^\s+|\s+$/g,"").replace(/\s/g,"_").replace(/[^a-z0-9_]/g,"");m.append('<th scope="col">'+b.replace('name="column_map[]"','name="aggregator[column_map]['+y+']" id="column-'+y+'"')+"</th>");var k=m.find("#column-"+y);void 0!==i.csv_column_mapping[h][y]&&($=i.csv_column_mapping[h][y]),k.find('option[value="'+$+'"]').prop("selected",!0)}y++}g.scrollX=!0}else g.columns=[{data:"checkbox"},{data:"start_date"},{data:"start_time"},{data:"end_date"},{data:"title"}],g.autoWidth=!1;c.tribeDataTable(g),r.wrap_cell_content(),c.on("select.dt",r.events.twiddle_finalize_button_text).on("deselect.dt",r.events.twiddle_finalize_button_text).on("draw.dt",r.wrap_cell_content),"new"===r.$.action.val()&&(u="manual"===o&&n?i.l10n.import_all_no_number:"manual"===o?i.l10n.import_all.replace("%d",d.length):i.l10n.create_schedule),e(r.selector.finalize_button).html(u)}else{var x=t.origin,C=void 0!==i.l10n[x]&&void 0!==i.l10n[x].no_results?i.l10n[x].no_results:i.l10n.no_results;r.display_fetch_error(C)}},r.wrap_cell_content=function(){e(".dataTable").find("tbody td").each(function(){var t=e(this);t.html('<div class="tribe-td-height-limit">'+t.html()+"</div>")})},r.display_fetch_error=function(t){var i=e(".tribe-fetch-error-message");r.$.preview_container.removeClass("tribe-fetching").addClass("tribe-fetch-error"),i.html(""),r.display_error(i,t),e(r.selector.preview_button).prop("disabled",!1)},r.display_fetch_warning=function(t){var i=e(".tribe-fetch-warning-message");r.$.preview_container.removeClass("tribe-fetching").addClass("tribe-fetch-warning"),i.html(""),r.display_warning(i,t)},r.display_error=function(e,t){e.prepend(['<div class="notice notice-error">',"<p>",t,"</p>","</div>"].join(""))},r.display_warning=function(e,t){e.prepend(['<div class="notice notice-warning">',"<p>",t,"</p>","</div>"].join(""))},r.display_success=function(e,t){e.prepend(['<div class="notice notice-success">',"<p>",t,"</p>","</div>"].join(""))},r.save_credentials=function(t){var r=t.find(".tribe-fieldset").find("input").serialize(),i=ajaxurl+"?action=tribe_aggregator_save_credentials";e.post(i,r).done(function(e){e.success&&(t.addClass("credentials-entered"),t.find('[name="has-credentials"]').val(1).trigger("change"))})},r.finalize_manual_import=function(){var t=e("#tribe-ea-field-origin").val(),a=e(".dataTable"),n=window.tribe_data_table;if(a.hasClass("display-checkboxes")){var s=n.rows({selected:!0});if(s[0].length||(s=n.rows()),!s[0].length)return void r.display_error(e(".tribe-finalize-container"),i.l10n.events_required_for_manual_submit);var o=s.data(),l=[],c=null;if("meetup"===t?c="meetup_id":"eventbrite"===t?c="eventbrite_id":"ical"===t||"ics"===t||"gcal"===t?c="uid":"url"===t&&(c="id"),null!==c){for(var d in o)isNaN(d)||void 0!==o[d][c]&&l.push(o[d][c]);e("#tribe-selected-rows").text(JSON.stringify(l))}else e("#tribe-selected-rows").text("all")}else e("#tribe-selected-rows").text("all");e(".dataTables_scrollBody").find('[name^="aggregator[column_map]"]').remove(),r.$.form.submit()},r.search_id=function(e){var t=null;return void 0!==e.id?t=e.id:void 0!==e.ID?t=e.ID:void 0!==e.value&&(t=e.value),null==e?null:t},r.construct.dropdown=function(t){var r=function(t){var r=e(t.element);return"string"==typeof r.data("subtitle")&&(t.text=t.text+'<br><span class="tribe-dropdown-subtitle">'+r.data("subtitle")+"</span>"),t.text},i={formatResult:r,formatSelection:r};return tribe_dropdowns.dropdown(t.filter(".tribe-ea-dropdown"),i),t},r.construct.media_button=function(t){var i=t.filter(r.selector.media_button);return"undefined"!=typeof wp&&wp.media&&wp.media.editor?(i.each(function(){var t=e(this),i=t.data("input"),a=e("#"+i),n=e("#"+i+"_name"),s=r.media[i]=wp.media({title:t.data("mediaTitle"),library:{type:t.data("mimeType")},multiple:!1});s.on("select",function(){var e=s.state().get("selection");e&&e.each(function(e){a.data({id:e.attributes.id,text:e.attributes.title}),a.val(e.attributes.id),a.trigger("change"),n.html(e.attributes.filename),n.attr("title",e.attributes.filename)})})}),r.$.container.on("click",r.selector.media_button,function(t){if(t.preventDefault(),e(this).is(":visible")){var i=e(this).data("input");return r.media[i].open(i),!1}}),i):i},r.events.trigger_field_change=function(){e(this).trigger("change")},r.events.trigger_save_credentials=function(){r.save_credentials(e(this).closest(".enter-credentials"))},r.events.suppress_submission=function(t){e("#tribe-ea-field-origin").val();if(e("#tribe-selected-rows").val().length)return!0;t.preventDefault()},r.events.twiddle_finalize_button_text=function(t,a){if("new"===r.$.action.val()){var n=a.rows({selected:!0})[0].length,s=i.l10n.import_checked;n||(s=i.l10n.import_all,n=a.rows()[0].length),s=s.replace("%d",n),e(r.selector.finalize_button).html(s)}},r.events.cancel_edit=function(e){e.preventDefault();var t=window.location.href;t=(t=t.replace("tab=edit","tab=scheduled")).replace(/id=\d+/,""),window.location.href=t},r.events.verify_schedule_delete=function(){return confirm(i.l10n.verify_schedule_delete)},r.events.toggle_view_filters=function(t){t.preventDefault();var r=e(this);r.toggleClass("tribe-active"),r.is(".tribe-active")?r.html(i.l10n.hide_filters):r.html(i.l10n.view_filters)},r.progress.init=function(){r.progress.data={},r.progress.$={},r.progress.$.notice=e(".tribe-notice-aggregator-update-msg"),r.progress.$.spinner=r.progress.$.notice.find("img"),r.progress.$.progress=r.progress.$.notice.find(".progress"),r.progress.$.tracker=r.progress.$.notice.find(".tracker"),r.progress.$.created=r.progress.$.tracker.find(".track-created .value"),r.progress.$.updated=r.progress.$.tracker.find(".track-updated .value"),r.progress.$.skipped=r.progress.$.tracker.find(".track-skipped .value"),r.progress.$.remaining=r.progress.$.tracker.find(".track-remaining .value"),r.progress.$.bar=r.progress.$.notice.find(".bar"),r.progress.data.time=Date.now(),r.progress.hasHeartBeat="undefined"!=typeof wp&&wp.heartbeat,r.progress.hasHeartBeat&&wp.heartbeat.interval(15),setTimeout(r.progress.start)},r.progress.start=function(){r.progress.update(tribe_aggregator_save.progress,tribe_aggregator_save.progressText),r.progress.hasHeartBeat||r.progress.send_request()},r.progress.continue=!0,e(document).on("heartbeat-send",function(e,t){r.progress.continue&&(t.ea_record=tribe_aggregator_save.record_id)}),e(document).on("heartbeat-tick",function(e,t){t.ea_progress&&r.progress.handle_response(t.ea_progress)}),r.progress.handle_response=function(e){e.html&&r.progress.data.notice.html(e.html),isNaN(parseInt(e.progress,10))||r.progress.update(e),r.progress.continue=e.continue,e.continue&&!r.progress.hasHeartBeat&&setTimeout(r.progress.send_request,15e3),e.error?(r.progress.$.notice.find(".tribe-message").html(e.error_text),r.progress.$.tracker.remove(),r.progress.$.notice.find(".progress-container").remove(),r.progress.$.notice.removeClass("warning").addClass("error")):e.complete&&(r.progress.$.notice.find(".tribe-message").html(e.complete_text),r.progress.$.tracker.remove(),r.progress.$.notice.find(".progress-container").remove(),r.progress.$.notice.removeClass("warning").addClass("completed"))},r.progress.send_request=function(){var t={record:tribe_aggregator_save.record_id,check:tribe_aggregator_save.check,action:"tribe_aggregator_realtime_update"};e.post(ajaxurl,t,r.progress.handle_response,"json")},r.progress.update=function(e){var t=parseInt(e.progress,10);if(!(t<0||t>100)&&void 0!==e.counts){var i=["created","updated","skipped"];for(var a in i)if(e.counts[i[a]]){var n=e.counts[i[a]],s=r.progress.$[i[a]];if("updated"===i[a]||"skipped"===i[a])n>(s?s.html():0)&&s.html(n);else s.html(n);r.progress.$.tracker.hasClass("has-"+i[a])||r.progress.$.tracker.addClass("has-"+i[a])}r.progress.$.bar.css("width",t+"%"),r.progress.$.progress.attr("title",e.progress_text)}},r.progress.remove_notice=function(){r.progress.$.notice.animate({opacity:0,height:"toggle"},1e3,function(){r.progress.$.notice.remove()})},r.date_helper=function(){var t;if((t=e(this)).hasClass("tribe-datepicker")){var r=t.val();if(""!==r&&null!==r){var i=t.attr("id").match("tribe-ea-field-(.*)_start")[1];""!==i&&null!==i&&jQuery("#tribe-date-helper-date-"+i).html(r)}}},r.maybeLimitUrlStartDate=function(){"url"===r.origin.val()&&("schedule"!==r.importType.val()?r.urlImport.startDate.data("datepicker-min-date",null):r.urlImport.startDate.data("datepicker-min-date","today"))},e(document).ready(r.init)}(jQuery,_,tribe_aggregator.fields,tribe_aggregator);
src/resources/js/events-admin.js CHANGED
@@ -264,7 +264,7 @@ jQuery( document ).ready( function( $ ) {
264
  */
265
  function add_sticky_linked_post_data( post_type, container, fields ) {
266
  // Bail if expected global sticky data array is not set
267
- if ( 'undefined' === typeof window['tribe_sticky_' + post_type + '_fields'] || ! $.isArray( window['tribe_sticky_' + post_type + '_fields'] ) ) {
268
  return;
269
  }
270
 
@@ -513,8 +513,8 @@ jQuery( document ).ready( function( $ ) {
513
  }
514
 
515
  // fire the change and blur handlers on the field
516
- $( this ).change();
517
- $( this ).blur();
518
  }
519
  };
520
 
@@ -591,14 +591,14 @@ jQuery( document ).ready( function( $ ) {
591
  }
592
  } );
593
 
594
- $start_end_month.change();
595
 
596
  $( 'select[name="EventStartYear"]' ).change( function() {
597
- $start_month.change();
598
  } );
599
 
600
  $( 'select[name="EventEndYear"]' ).change( function() {
601
- $end_month.change();
602
  } );
603
 
604
  for ( var i in tribe_events_linked_posts.post_types ) {
@@ -654,9 +654,12 @@ jQuery( document ).ready( function( $ ) {
654
 
655
  var eventSubmitButton = $( '.wp-admin.events-cal #post #publishing-action input[type="submit"]' );
656
 
657
- eventSubmitButton.click( function() {
658
- $( this ).data( 'clicked', true );
659
- } );
 
 
 
660
 
661
  // Workaround for venue & organizer post types when editing or adding
662
  // so events parent menu stays open and active
264
  */
265
  function add_sticky_linked_post_data( post_type, container, fields ) {
266
  // Bail if expected global sticky data array is not set
267
+ if ( 'undefined' === typeof window['tribe_sticky_' + post_type + '_fields'] || ! Array.isArray( window['tribe_sticky_' + post_type + '_fields'] ) ) {
268
  return;
269
  }
270
 
513
  }
514
 
515
  // fire the change and blur handlers on the field
516
+ $( this ).trigger( 'change' );
517
+ $( this ).trigger( 'blur' );
518
  }
519
  };
520
 
591
  }
592
  } );
593
 
594
+ $start_end_month.trigger( 'change' );
595
 
596
  $( 'select[name="EventStartYear"]' ).change( function() {
597
+ $start_month.trigger( 'change' );
598
  } );
599
 
600
  $( 'select[name="EventEndYear"]' ).change( function() {
601
+ $end_month.trigger( 'change' );
602
  } );
603
 
604
  for ( var i in tribe_events_linked_posts.post_types ) {
654
 
655
  var eventSubmitButton = $( '.wp-admin.events-cal #post #publishing-action input[type="submit"]' );
656
 
657
+ eventSubmitButton.on(
658
+ 'click',
659
+ function() {
660
+ $( this ).data( 'clicked', true );
661
+ }
662
+ );
663
 
664
  // Workaround for venue & organizer post types when editing or adding
665
  // so events parent menu stays open and active
src/resources/js/events-admin.min.js CHANGED
@@ -1 +1 @@
1
- var tribeDateFormat=function(){var e=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,t=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,n=/[^-+\dA-Z]/g,a=function(e,t){for(e=String(e),t=t||2;e.length<t;)e="0"+e;return e};return function(i,d,r){var o=tribeDateFormat;if(1!=arguments.length||"[object String]"!=Object.prototype.toString.call(i)||/\d/.test(i)||(d=i,i=void 0),"string"==typeof i&&(i=i.replace(/-/g,"/")),i=i?new Date(i):new Date,!isNaN(i)){"UTC:"==(d=String(o.masks[d]||d||o.masks.default)).slice(0,4)&&(d=d.slice(4),r=!0);var s=r?"getUTC":"get",l=i[s+"Date"](),c=i[s+"Day"](),m=i[s+"Month"](),p=i[s+"FullYear"](),y=i[s+"Hours"](),u=i[s+"Minutes"](),v=i[s+"Seconds"](),f=i[s+"Milliseconds"](),h=r?0:i.getTimezoneOffset(),b={d:l,dd:a(l),ddd:o.i18n.dayNames[c],dddd:o.i18n.dayNames[c+7],m:m+1,mm:a(m+1),mmm:o.i18n.monthNames[m],mmmm:o.i18n.monthNames[m+12],yy:String(p).slice(2),yyyy:p,h:y%12||12,hh:a(y%12||12),H:y,HH:a(y),M:u,MM:a(u),s:v,ss:a(v),l:a(f,3),L:a(f>99?Math.round(f/10):f),t:y<12?"a":"p",tt:y<12?"am":"pm",T:y<12?"A":"P",TT:y<12?"AM":"PM",Z:r?"UTC":(String(i).match(t)||[""]).pop().replace(n,""),o:(h>0?"-":"+")+a(100*Math.floor(Math.abs(h)/60)+Math.abs(h)%60,4),S:["th","st","nd","rd"][l%10>3?0:(l%100-l%10!=10)*l%10]};return d.replace(e,function(e){return e in b?b[e]:e.slice(1,e.length-1)})}}}();tribeDateFormat.masks={default:"ddd mmm dd yyyy HH:MM:ss",tribeQuery:"yyyy-mm-dd",tribeMonthQuery:"yyyy-mm",0:"yyyy-mm-dd",1:"m/d/yyyy",2:"mm/dd/yyyy",3:"d/m/yyyy",4:"dd/mm/yyyy",5:"m-d-yyyy",6:"mm-dd-yyyy",7:"d-m-yyyy",8:"dd-mm-yyyy",9:"yyyy.mm.dd",10:"mm.dd.yyyy",11:"dd.mm.yyyy",m0:"yyyy-mm",m1:"m/yyyy",m2:"mm/yyyy",m3:"m/yyyy",m4:"mm/yyyy",m5:"m-yyyy",m6:"mm-yyyy",m7:"m-yyyy",m8:"mm-yyyy"},tribeDateFormat.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]},Date.prototype.format=function(e,t){return tribeDateFormat(this,e,t)};var tribe_datepicker_opts={};jQuery(document).ready(function(e){e(".bumpdown-trigger").bumpdown();var t=e("[data-datepicker_format]"),n=(e(".tribe-field-dropdown_select2 select"),e(document.getElementById("view-calendar-link-div")).html()),a=(e('select[name="tribeEventsTemplate"]'),e(document.getElementById("tribe-event-datepickers"))),i=e("body").is(".tribe_community_edit"),d=0;function r(){var t=e(window).width();return t<800?1:t<=1100?2:3}e('[data-wp-lists="list:tribe_events_cat"]').each(function(){var t=e(this),n=t.find(":checkbox:checked").first();if(n.length){var a=t.find(":checkbox").position().top,i=n.position().top;t.closest(".tabs-panel").scrollTop(i-a+5)}}),e(n).insertAfter(".edit-php.post-type-tribe_events #wpbody-content .wrap h2:eq(0) a");var o=function(t){var n=e(document.getElementById("tmpl-tribe-select-"+t)).length?wp.template("tribe-select-"+t):null,a=e(document.getElementById("tmpl-tribe-create-"+t)).length?wp.template("tribe-create-"+t):null,i=e(document.getElementById("event_"+t)),d=i.find(".saved-linked-post");function r(t,n,a){if(void 0!==window["tribe_sticky_"+t+"_fields"]&&e.isArray(window["tribe_sticky_"+t+"_fields"])){var i=e(a),d=i.filter("tr.linked-post."+n);if(0!==d.length){var r=window["tribe_sticky_"+t+"_fields"].shift(),o=!1;if("object"==typeof r)for(var s in r){var l=i.find('input[name="'+n+"["+s+'][]"]');l.length&&!_.isEmpty(r[s])&&(l.val(r[s]),o=!0)}o&&d.show()}}}i.on("click",".tribe-add-post",function(d){d.preventDefault();var r=e({}),o=e({});if(n&&(r=e(n({}))),r.find(".nosaved").length){var s=r.find("label");s.text(s.data("l10n-create-"+t)),r.find(".nosaved").remove()}a&&(o=e(a({}))),i.find("tfoot").before(o),o.prepend(r),i.find("tbody").length>1?i.find(".move-linked-post-group").show():i.find(".move-linked-post-group").hide(),o.find(".tribe-dropdown").tribe_dropdowns()}),i.on("change",".linked-post-dropdown",s),d.each(function(){var t,n=e(this),i=n.closest("tbody");t=a?e(a({})).find("tr"):i.find("tr").slice(2);var d=n.find(".linked-post-dropdown");if(d.length){var o=d.val();0!==parseInt(o,10)&&t.not(".remain-visible").hide()}else if(n.find(".nosaved").length){var s=n.find("label");s.text(s.data("l10n-create-"+l)),n.find(".nosaved").remove()}for(var l in tribe_events_linked_posts.post_types)tribe_events_linked_posts.post_types.hasOwnProperty(l)&&r(l,tribe_events_linked_posts.post_types[l],t);t.find(".tribe-dropdown").tribe_dropdowns(),i.append(t)}),i.on("click",".tribe-delete-this",function(t){t.preventDefault();var n=e(this).closest("tbody");n.parents(".tribe-section").removeClass("tribe-is-creating-linked-post"),n.fadeOut(500,function(){e(this).remove()})});var o="> tbody";e("body").hasClass("wp-admin")||(o="table "+o),i.sortable({items:o,handle:".move-linked-post-group",containment:"parent",axis:"y",delay:100}),i.find("tbody").length>1?i.find(".move-linked-post-group").show():i.find(".move-linked-post-group").hide()},s=function(t){const n=e(this),a=n.closest("tbody"),i=a.find(".edit-linked-post-link a"),d=n.val(),r=n.find(":selected");let o="",s=!1;r.val()===d&&(o=r.data("editLink"),s=!!r.data("existingPost")),i.hide(),!s&&"-1"!==d&&r.length?(a.find(".linked-post-name").val(d).parents(".linked-post").eq(0).attr("data-hidden",!0),n.val("-1"),a.find(".linked-post").not("[data-hidden]").show().find(".tribe-dropdown"),a.parents(".tribe-section").addClass("tribe-is-creating-linked-post")):(a.find(".linked-post").hide().find("input, select").val(""),a.parents(".tribe-section").removeClass("tribe-is-creating-linked-post"),_.isEmpty(o)||i.attr("href",o).show())};if(e(".hide-if-js").hide(),void 0!==tribe_l10n_datatables.datepicker){var l=864e5,c="yy-mm-dd";t.length&&t.attr("data-datepicker_format").length>=1&&(c=["yy-mm-dd","m/d/yy","mm/dd/yy","d/m/yy","dd/mm/yy","m-d-yy","mm-dd-yy","d-m-yy","dd-mm-yy","yy.mm.dd","mm.dd.yy","dd.mm.yy"][d=t.attr("data-datepicker_format")]);a.length&&a.data("startofweek");var m=e(document.getElementById("EventStartDate")),p=e(document.getElementById("EventEndDate")),y=e(document.getElementById("tribe_events_event_details"));tribe_datepicker_opts={dateFormat:c,showAnim:"fadeIn",changeMonth:!0,changeYear:!0,numberOfMonths:r(),showButtonPanel:!1,beforeShow:function(t,n){n.input.datepicker("option","numberOfMonths",r()),n.input.data("prevDate",n.input.datepicker("getDate")),void 0!==n.input.data("datepicker-min-date")&&n.input.datepicker("option","minDate",n.input.data("datepicker-min-date")),void 0!==n.input.data("datepicker-max-date")&&n.input.datepicker("option","maxDate",n.input.data("datepicker-max-date")),$dpDiv=e(n.dpDiv),$dpDiv.addClass("tribe-ui-datepicker"),y.trigger("tribe.ui-datepicker-div-beforeshow",[n]),$dpDiv.attrchange({trackValues:!0,callback:function(e){(e.newValue.indexOf("display: none")>=0||e.newValue.indexOf("display:none")>=0)&&($dpDiv.removeClass("tribe-ui-datepicker"),y.trigger("tribe.ui-datepicker-div-closed",[n]))}})},onSelect:function(t,n){var a,i,d,r,o=e(this).data("datepicker"),s=e.datepicker.parseDate(o.settings.dateFormat||e.datepicker._defaults.dateFormat,t,o.settings);if("EventStartDate"===this.id){var c=e(document.getElementById("EventStartDate")).data("prevDate"),y=null==c?0:(a=c,i=p.datepicker("getDate"),d=Date.UTC(a.getFullYear(),a.getMonth(),a.getDate()),r=Date.UTC(i.getFullYear(),i.getMonth(),i.getDate()),Math.floor((r-d)/l)),u=new Date(s.setDate(s.getDate()+y));p.datepicker("option","minDate",m.datepicker("getDate")).datepicker("setDate",u).datepicker_format}e(this).change(),e(this).blur()}},e.extend(tribe_datepicker_opts,tribe_l10n_datatables.datepicker);e(".tribe-datepicker").datepicker(tribe_datepicker_opts);var u,v=e('select[name="EventStartMonth"], select[name="EventEndMonth"]'),f=e('select[name="EventStartMonth"]'),h=e('select[name="EventEndMonth"]');if(i){var b={start:a.find("#EventStartDate"),end:a.next("tr").find("#EventEndDate")};e.each(b,function(t,n){var a=e(n);""!==a.val()&&a.val(tribeDateFormat(a.val(),d))})}var g=[29,31,28,31,30,31,30,31,31,30,31,30,31],k=[e(document.getElementById("28StartDays")),e(document.getElementById("29StartDays")),e(document.getElementById("30StartDays")),e(document.getElementById("31StartDays"))],w=[e(document.getElementById("28EndDays")),e(document.getElementById("29EndDays")),e(document.getElementById("30EndDays")),e(document.getElementById("31EndDays"))];for(var D in v.change(function(){var t=e(this),n=t.attr("name");n="EventStartMonth"==n?"Start":"End";var a=t.attr("value");"0"==a.charAt(0)&&(a=a.replace("0",""));var i=e('select[name="Event'+n+'Year"]').attr("value")%4;2==a&&0==i&&(a=0);var d=e('select[name="Event'+n+'Day"]');e(".event"+n+"DateField").remove(),"Start"==n?((u=k[g[a]-28]).val(d.val()),f.after(u)):((u=w[g[a]-28]).val(d.val()),h.after(u))}),v.change(),e('select[name="EventStartYear"]').change(function(){f.change()}),e('select[name="EventEndYear"]').change(function(){h.change()}),tribe_events_linked_posts.post_types)tribe_events_linked_posts.post_types.hasOwnProperty(D)&&o(D)}e("body").on("change","#EventCountry",function(){var t=e(this).parents("div.eventForm").eq(0),n=t.find("#StateProvinceSelect"),a=n.next(".select2-container"),i=t.find("#StateProvinceText"),d=e(this).val();"US"==d||"United States"==d?(i.hide(),n.hide(),a.show()):(i.show(),n.hide(),a.hide())}).find("#EventCountry").trigger("change");var E={$container:e(document.getElementById("overwrite_coordinates"))};E.$lat=E.$container.find("#VenueLatitude"),E.$lng=E.$container.find("#VenueLongitude"),E.$fields=e("").add(E.$lat).add(E.$lng),E.$toggle=E.$container.find("#VenueOverwriteCoords").on("change",function(e){E.$toggle.is(":checked")?E.$fields.prop("disabled",!1).removeClass("hidden"):E.$fields.prop("disabled",!0).addClass("hidden")}),E.$toggle.trigger("change"),e("#EventInfo input, #EventInfo select").change(function(){e(".rec-error").hide()}),e('.wp-admin.events-cal #post #publishing-action input[type="submit"]').click(function(){e(this).data("clicked",!0)}),e("body").hasClass("post-type-tribe_venue")&&e("#menu-posts-tribe_events, #menu-posts-tribe_events a.wp-has-submenu").addClass("wp-menu-open wp-has-current-submenu wp-has-submenu").removeClass("wp-not-current-submenu").find("li a[href='edit.php?post_type=tribe_venue']").parent().addClass("current"),e("body").hasClass("post-type-tribe_organizer")&&e("#menu-posts-tribe_events, #menu-posts-tribe_events a.wp-has-submenu").addClass("wp-menu-open wp-has-current-submenu wp-has-submenu").removeClass("wp-not-current-submenu").find("li a[href='edit.php?post_type=tribe_organizer']").parent().addClass("current");var S=e(document.getElementById("tribe-field-tribeEnableViews"));if(S.length){var M=e('select[name="viewOption"]'),C=e('select[name="mobile_default_view"]'),I=S.find("input:checkbox"),x=e("#tribe-field-tribeEnableViews .tribe-field-wrap p.description"),$={};M.find("option").each(function(){var t=e(this);$[t.attr("value")]=t.text()}),C.find("option").each(function(){var t=e(this);$[t.attr("value")]=t.text()}),S.on("change","input:checkbox",function(){var t=e(this);e('[name="tribeEnableViews[]"]:checked').length<1?(t.attr("checked",!0),x.css("color","red")):x.removeAttr("style"),function(t){var n=M.find("option:selected").first().val(),a=C.find("option:selected").first().val();M.find("option").remove(),C.find("option").remove(),I.each(function(){var t=e(this);if(t.is(":checked")){var n=t.val(),a=n.substr(0,1).toUpperCase()+n.substr(1);M.append('<option value="'+n+'">'+a+"</option>"),C.append('<option value="'+n+'">'+a+"</option>")}});var i=M.find("option[value='"+n+"']"),d=C.find("option[value='"+a+"']");if(i.val()==t.val())i.attr("selected","selected");else{var r=S.find("checkbox:checked").first().val();M.find("option").find("option[value='"+r+"']").attr("selected","selected")}d.val()==t.val()?d.attr("selected","selected"):(r=S.find("checkbox:checked").first().val(),C.find("option").find("option[value='"+r+"']").attr("selected","selected"));M.select2("destroy").select2({width:"auto"}),C.select2("destroy").select2({width:"auto"})}(t)})}e("#tribe-community-events.form form").on("submit",function(){var t={start:a.find("#EventStartDate"),end:a.next("tr").find("#EventEndDate")};t.start.val(tribeDateFormat(t.start.datepicker("getDate"),"tribeQuery")),t.end.val(tribeDateFormat(t.end.datepicker("getDate"),"tribeQuery")),a.parent().find(".tribe-no-end-date-update").each(function(){$el=e(this),$el.is(":visible")&&$el.val(tribeDateFormat($el.datepicker("getDate"),"tribeQuery"))})})});
1
+ var tribeDateFormat=function(){var e=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,t=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,n=/[^-+\dA-Z]/g,a=function(e,t){for(e=String(e),t=t||2;e.length<t;)e="0"+e;return e};return function(i,d,r){var o=tribeDateFormat;if(1!=arguments.length||"[object String]"!=Object.prototype.toString.call(i)||/\d/.test(i)||(d=i,i=void 0),"string"==typeof i&&(i=i.replace(/-/g,"/")),i=i?new Date(i):new Date,!isNaN(i)){"UTC:"==(d=String(o.masks[d]||d||o.masks.default)).slice(0,4)&&(d=d.slice(4),r=!0);var s=r?"getUTC":"get",l=i[s+"Date"](),c=i[s+"Day"](),m=i[s+"Month"](),p=i[s+"FullYear"](),y=i[s+"Hours"](),u=i[s+"Minutes"](),v=i[s+"Seconds"](),f=i[s+"Milliseconds"](),h=r?0:i.getTimezoneOffset(),b={d:l,dd:a(l),ddd:o.i18n.dayNames[c],dddd:o.i18n.dayNames[c+7],m:m+1,mm:a(m+1),mmm:o.i18n.monthNames[m],mmmm:o.i18n.monthNames[m+12],yy:String(p).slice(2),yyyy:p,h:y%12||12,hh:a(y%12||12),H:y,HH:a(y),M:u,MM:a(u),s:v,ss:a(v),l:a(f,3),L:a(f>99?Math.round(f/10):f),t:y<12?"a":"p",tt:y<12?"am":"pm",T:y<12?"A":"P",TT:y<12?"AM":"PM",Z:r?"UTC":(String(i).match(t)||[""]).pop().replace(n,""),o:(h>0?"-":"+")+a(100*Math.floor(Math.abs(h)/60)+Math.abs(h)%60,4),S:["th","st","nd","rd"][l%10>3?0:(l%100-l%10!=10)*l%10]};return d.replace(e,function(e){return e in b?b[e]:e.slice(1,e.length-1)})}}}();tribeDateFormat.masks={default:"ddd mmm dd yyyy HH:MM:ss",tribeQuery:"yyyy-mm-dd",tribeMonthQuery:"yyyy-mm",0:"yyyy-mm-dd",1:"m/d/yyyy",2:"mm/dd/yyyy",3:"d/m/yyyy",4:"dd/mm/yyyy",5:"m-d-yyyy",6:"mm-dd-yyyy",7:"d-m-yyyy",8:"dd-mm-yyyy",9:"yyyy.mm.dd",10:"mm.dd.yyyy",11:"dd.mm.yyyy",m0:"yyyy-mm",m1:"m/yyyy",m2:"mm/yyyy",m3:"m/yyyy",m4:"mm/yyyy",m5:"m-yyyy",m6:"mm-yyyy",m7:"m-yyyy",m8:"mm-yyyy"},tribeDateFormat.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]},Date.prototype.format=function(e,t){return tribeDateFormat(this,e,t)};var tribe_datepicker_opts={};jQuery(document).ready(function(e){e(".bumpdown-trigger").bumpdown();var t=e("[data-datepicker_format]"),n=(e(".tribe-field-dropdown_select2 select"),e(document.getElementById("view-calendar-link-div")).html()),a=(e('select[name="tribeEventsTemplate"]'),e(document.getElementById("tribe-event-datepickers"))),i=e("body").is(".tribe_community_edit"),d=0;function r(){var t=e(window).width();return t<800?1:t<=1100?2:3}e('[data-wp-lists="list:tribe_events_cat"]').each(function(){var t=e(this),n=t.find(":checkbox:checked").first();if(n.length){var a=t.find(":checkbox").position().top,i=n.position().top;t.closest(".tabs-panel").scrollTop(i-a+5)}}),e(n).insertAfter(".edit-php.post-type-tribe_events #wpbody-content .wrap h2:eq(0) a");var o=function(t){var n=e(document.getElementById("tmpl-tribe-select-"+t)).length?wp.template("tribe-select-"+t):null,a=e(document.getElementById("tmpl-tribe-create-"+t)).length?wp.template("tribe-create-"+t):null,i=e(document.getElementById("event_"+t)),d=i.find(".saved-linked-post");function r(t,n,a){if(void 0!==window["tribe_sticky_"+t+"_fields"]&&Array.isArray(window["tribe_sticky_"+t+"_fields"])){var i=e(a),d=i.filter("tr.linked-post."+n);if(0!==d.length){var r=window["tribe_sticky_"+t+"_fields"].shift(),o=!1;if("object"==typeof r)for(var s in r){var l=i.find('input[name="'+n+"["+s+'][]"]');l.length&&!_.isEmpty(r[s])&&(l.val(r[s]),o=!0)}o&&d.show()}}}i.on("click",".tribe-add-post",function(d){d.preventDefault();var r=e({}),o=e({});if(n&&(r=e(n({}))),r.find(".nosaved").length){var s=r.find("label");s.text(s.data("l10n-create-"+t)),r.find(".nosaved").remove()}a&&(o=e(a({}))),i.find("tfoot").before(o),o.prepend(r),i.find("tbody").length>1?i.find(".move-linked-post-group").show():i.find(".move-linked-post-group").hide(),o.find(".tribe-dropdown").tribe_dropdowns()}),i.on("change",".linked-post-dropdown",s),d.each(function(){var t,n=e(this),i=n.closest("tbody");t=a?e(a({})).find("tr"):i.find("tr").slice(2);var d=n.find(".linked-post-dropdown");if(d.length){var o=d.val();0!==parseInt(o,10)&&t.not(".remain-visible").hide()}else if(n.find(".nosaved").length){var s=n.find("label");s.text(s.data("l10n-create-"+l)),n.find(".nosaved").remove()}for(var l in tribe_events_linked_posts.post_types)tribe_events_linked_posts.post_types.hasOwnProperty(l)&&r(l,tribe_events_linked_posts.post_types[l],t);t.find(".tribe-dropdown").tribe_dropdowns(),i.append(t)}),i.on("click",".tribe-delete-this",function(t){t.preventDefault();var n=e(this).closest("tbody");n.parents(".tribe-section").removeClass("tribe-is-creating-linked-post"),n.fadeOut(500,function(){e(this).remove()})});var o="> tbody";e("body").hasClass("wp-admin")||(o="table "+o),i.sortable({items:o,handle:".move-linked-post-group",containment:"parent",axis:"y",delay:100}),i.find("tbody").length>1?i.find(".move-linked-post-group").show():i.find(".move-linked-post-group").hide()},s=function(t){const n=e(this),a=n.closest("tbody"),i=a.find(".edit-linked-post-link a"),d=n.val(),r=n.find(":selected");let o="",s=!1;r.val()===d&&(o=r.data("editLink"),s=!!r.data("existingPost")),i.hide(),!s&&"-1"!==d&&r.length?(a.find(".linked-post-name").val(d).parents(".linked-post").eq(0).attr("data-hidden",!0),n.val("-1"),a.find(".linked-post").not("[data-hidden]").show().find(".tribe-dropdown"),a.parents(".tribe-section").addClass("tribe-is-creating-linked-post")):(a.find(".linked-post").hide().find("input, select").val(""),a.parents(".tribe-section").removeClass("tribe-is-creating-linked-post"),_.isEmpty(o)||i.attr("href",o).show())};if(e(".hide-if-js").hide(),void 0!==tribe_l10n_datatables.datepicker){var l=864e5,c="yy-mm-dd";t.length&&t.attr("data-datepicker_format").length>=1&&(c=["yy-mm-dd","m/d/yy","mm/dd/yy","d/m/yy","dd/mm/yy","m-d-yy","mm-dd-yy","d-m-yy","dd-mm-yy","yy.mm.dd","mm.dd.yy","dd.mm.yy"][d=t.attr("data-datepicker_format")]);a.length&&a.data("startofweek");var m=e(document.getElementById("EventStartDate")),p=e(document.getElementById("EventEndDate")),y=e(document.getElementById("tribe_events_event_details"));tribe_datepicker_opts={dateFormat:c,showAnim:"fadeIn",changeMonth:!0,changeYear:!0,numberOfMonths:r(),showButtonPanel:!1,beforeShow:function(t,n){n.input.datepicker("option","numberOfMonths",r()),n.input.data("prevDate",n.input.datepicker("getDate")),void 0!==n.input.data("datepicker-min-date")&&n.input.datepicker("option","minDate",n.input.data("datepicker-min-date")),void 0!==n.input.data("datepicker-max-date")&&n.input.datepicker("option","maxDate",n.input.data("datepicker-max-date")),$dpDiv=e(n.dpDiv),$dpDiv.addClass("tribe-ui-datepicker"),y.trigger("tribe.ui-datepicker-div-beforeshow",[n]),$dpDiv.attrchange({trackValues:!0,callback:function(e){(e.newValue.indexOf("display: none")>=0||e.newValue.indexOf("display:none")>=0)&&($dpDiv.removeClass("tribe-ui-datepicker"),y.trigger("tribe.ui-datepicker-div-closed",[n]))}})},onSelect:function(t,n){var a,i,d,r,o=e(this).data("datepicker"),s=e.datepicker.parseDate(o.settings.dateFormat||e.datepicker._defaults.dateFormat,t,o.settings);if("EventStartDate"===this.id){var c=e(document.getElementById("EventStartDate")).data("prevDate"),y=null==c?0:(a=c,i=p.datepicker("getDate"),d=Date.UTC(a.getFullYear(),a.getMonth(),a.getDate()),r=Date.UTC(i.getFullYear(),i.getMonth(),i.getDate()),Math.floor((r-d)/l)),u=new Date(s.setDate(s.getDate()+y));p.datepicker("option","minDate",m.datepicker("getDate")).datepicker("setDate",u).datepicker_format}e(this).trigger("change"),e(this).trigger("blur")}},e.extend(tribe_datepicker_opts,tribe_l10n_datatables.datepicker);e(".tribe-datepicker").datepicker(tribe_datepicker_opts);var u,v=e('select[name="EventStartMonth"], select[name="EventEndMonth"]'),f=e('select[name="EventStartMonth"]'),h=e('select[name="EventEndMonth"]');if(i){var b={start:a.find("#EventStartDate"),end:a.next("tr").find("#EventEndDate")};e.each(b,function(t,n){var a=e(n);""!==a.val()&&a.val(tribeDateFormat(a.val(),d))})}var g=[29,31,28,31,30,31,30,31,31,30,31,30,31],k=[e(document.getElementById("28StartDays")),e(document.getElementById("29StartDays")),e(document.getElementById("30StartDays")),e(document.getElementById("31StartDays"))],w=[e(document.getElementById("28EndDays")),e(document.getElementById("29EndDays")),e(document.getElementById("30EndDays")),e(document.getElementById("31EndDays"))];for(var D in v.change(function(){var t=e(this),n=t.attr("name");n="EventStartMonth"==n?"Start":"End";var a=t.attr("value");"0"==a.charAt(0)&&(a=a.replace("0",""));var i=e('select[name="Event'+n+'Year"]').attr("value")%4;2==a&&0==i&&(a=0);var d=e('select[name="Event'+n+'Day"]');e(".event"+n+"DateField").remove(),"Start"==n?((u=k[g[a]-28]).val(d.val()),f.after(u)):((u=w[g[a]-28]).val(d.val()),h.after(u))}),v.trigger("change"),e('select[name="EventStartYear"]').change(function(){f.trigger("change")}),e('select[name="EventEndYear"]').change(function(){h.trigger("change")}),tribe_events_linked_posts.post_types)tribe_events_linked_posts.post_types.hasOwnProperty(D)&&o(D)}e("body").on("change","#EventCountry",function(){var t=e(this).parents("div.eventForm").eq(0),n=t.find("#StateProvinceSelect"),a=n.next(".select2-container"),i=t.find("#StateProvinceText"),d=e(this).val();"US"==d||"United States"==d?(i.hide(),n.hide(),a.show()):(i.show(),n.hide(),a.hide())}).find("#EventCountry").trigger("change");var E={$container:e(document.getElementById("overwrite_coordinates"))};E.$lat=E.$container.find("#VenueLatitude"),E.$lng=E.$container.find("#VenueLongitude"),E.$fields=e("").add(E.$lat).add(E.$lng),E.$toggle=E.$container.find("#VenueOverwriteCoords").on("change",function(e){E.$toggle.is(":checked")?E.$fields.prop("disabled",!1).removeClass("hidden"):E.$fields.prop("disabled",!0).addClass("hidden")}),E.$toggle.trigger("change"),e("#EventInfo input, #EventInfo select").change(function(){e(".rec-error").hide()}),e('.wp-admin.events-cal #post #publishing-action input[type="submit"]').on("click",function(){e(this).data("clicked",!0)}),e("body").hasClass("post-type-tribe_venue")&&e("#menu-posts-tribe_events, #menu-posts-tribe_events a.wp-has-submenu").addClass("wp-menu-open wp-has-current-submenu wp-has-submenu").removeClass("wp-not-current-submenu").find("li a[href='edit.php?post_type=tribe_venue']").parent().addClass("current"),e("body").hasClass("post-type-tribe_organizer")&&e("#menu-posts-tribe_events, #menu-posts-tribe_events a.wp-has-submenu").addClass("wp-menu-open wp-has-current-submenu wp-has-submenu").removeClass("wp-not-current-submenu").find("li a[href='edit.php?post_type=tribe_organizer']").parent().addClass("current");var S=e(document.getElementById("tribe-field-tribeEnableViews"));if(S.length){var M=e('select[name="viewOption"]'),C=e('select[name="mobile_default_view"]'),I=S.find("input:checkbox"),x=e("#tribe-field-tribeEnableViews .tribe-field-wrap p.description"),$={};M.find("option").each(function(){var t=e(this);$[t.attr("value")]=t.text()}),C.find("option").each(function(){var t=e(this);$[t.attr("value")]=t.text()}),S.on("change","input:checkbox",function(){var t=e(this);e('[name="tribeEnableViews[]"]:checked').length<1?(t.attr("checked",!0),x.css("color","red")):x.removeAttr("style"),function(t){var n=M.find("option:selected").first().val(),a=C.find("option:selected").first().val();M.find("option").remove(),C.find("option").remove(),I.each(function(){var t=e(this);if(t.is(":checked")){var n=t.val(),a=n.substr(0,1).toUpperCase()+n.substr(1);M.append('<option value="'+n+'">'+a+"</option>"),C.append('<option value="'+n+'">'+a+"</option>")}});var i=M.find("option[value='"+n+"']"),d=C.find("option[value='"+a+"']");if(i.val()==t.val())i.attr("selected","selected");else{var r=S.find("checkbox:checked").first().val();M.find("option").find("option[value='"+r+"']").attr("selected","selected")}d.val()==t.val()?d.attr("selected","selected"):(r=S.find("checkbox:checked").first().val(),C.find("option").find("option[value='"+r+"']").attr("selected","selected"));M.select2("destroy").select2({width:"auto"}),C.select2("destroy").select2({width:"auto"})}(t)})}e("#tribe-community-events.form form").on("submit",function(){var t={start:a.find("#EventStartDate"),end:a.next("tr").find("#EventEndDate")};t.start.val(tribeDateFormat(t.start.datepicker("getDate"),"tribeQuery")),t.end.val(tribeDateFormat(t.end.datepicker("getDate"),"tribeQuery")),a.parent().find(".tribe-no-end-date-update").each(function(){$el=e(this),$el.is(":visible")&&$el.val(tribeDateFormat($el.datepicker("getDate"),"tribeQuery"))})})});
src/resources/js/jquery-ecp-plugins.js CHANGED
@@ -1,26 +1,35 @@
1
  jQuery( document ).ready( function( $ ) {
2
  // placeholders
3
  if ( ! supports_input_placeholder() ) {
4
- $( '[placeholder]' ).focus(function() {
5
- var input = $( this );
6
- if ( input.val() == input.attr( 'placeholder' ) ) {
7
- input.val( '' );
8
- input.removeClass( 'placeholder' );
9
- }
10
- } ).blur(function() {
11
- var input = $( this );
12
- if ( input.val() == '' || input.val() == input.attr( 'placeholder' ) ) {
13
- input.addClass( 'placeholder' );
14
- input.val( input.attr( 'placeholder' ) );
15
- }
16
- } ).blur().parents( 'form' ).submit( function() {
17
- $( this ).find( '[placeholder]' ).each( function() {
18
- var input = $( this );
19
- if ( input.val() == input.attr( 'placeholder' ) ) {
20
- input.val( '' );
21
- }
22
  } )
23
- } );
 
 
 
 
 
 
 
 
 
 
 
24
  }
25
 
26
  function supports_input_placeholder() {
1
  jQuery( document ).ready( function( $ ) {
2
  // placeholders
3
  if ( ! supports_input_placeholder() ) {
4
+ $( '[placeholder]' )
5
+ .on( {
6
+ 'focus': function() {
7
+ var input = $( this );
8
+ if ( input.val() == input.attr( 'placeholder' ) ) {
9
+ input.val( '' );
10
+ input.removeClass( 'placeholder' );
11
+ }
12
+ },
13
+ 'blur': function() {
14
+ var input = $( this );
15
+ if ( input.val() == '' || input.val() == input.attr( 'placeholder' ) ) {
16
+ input.addClass( 'placeholder' );
17
+ input.val( input.attr( 'placeholder' ) );
18
+ }
19
+ },
 
 
20
  } )
21
+ .trigger( 'blur' )
22
+ .parents( 'form' ).on(
23
+ 'submit',
24
+ function() {
25
+ $( this ).find( '[placeholder]' ).each( function() {
26
+ var input = $( this );
27
+ if ( input.val() == input.attr( 'placeholder' ) ) {
28
+ input.val( '' );
29
+ }
30
+ } );
31
+ }
32
+ );
33
  }
34
 
35
  function supports_input_placeholder() {
src/resources/js/jquery-ecp-plugins.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function(a){"placeholder"in document.createElement("input")||a("[placeholder]").focus(function(){var e=a(this);e.val()==e.attr("placeholder")&&(e.val(""),e.removeClass("placeholder"))}).blur(function(){var e=a(this);""!=e.val()&&e.val()!=e.attr("placeholder")||(e.addClass("placeholder"),e.val(e.attr("placeholder")))}).blur().parents("form").submit(function(){a(this).find("[placeholder]").each(function(){var e=a(this);e.val()==e.attr("placeholder")&&e.val("")})})});
1
+ jQuery(document).ready(function(e){"placeholder"in document.createElement("input")||e("[placeholder]").on({focus:function(){var a=e(this);a.val()==a.attr("placeholder")&&(a.val(""),a.removeClass("placeholder"))},blur:function(){var a=e(this);""!=a.val()&&a.val()!=a.attr("placeholder")||(a.addClass("placeholder"),a.val(a.attr("placeholder")))}}).trigger("blur").parents("form").on("submit",function(){e(this).find("[placeholder]").each(function(){var a=e(this);a.val()==a.attr("placeholder")&&a.val("")})})});
src/resources/js/tribe-events-ajax-calendar.js CHANGED
@@ -543,7 +543,7 @@
543
  // @endif
544
 
545
  var $theContent = '';
546
- if ( $.isFunction( $.fn.parseHTML ) ) {
547
  $theContent = $.parseHTML( response.html );
548
  } else {
549
  $theContent = response.html;
543
  // @endif
544
 
545
  var $theContent = '';
546
+ if ( 'function' === typeof $.fn.parseHTML ) {
547
  $theContent = $.parseHTML( response.html );
548
  } else {
549
  $theContent = response.html;
src/resources/js/tribe-events-ajax-calendar.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t,a,r,i,n,s,l,o,d){a(t).ready(function(){var _=a("body"),u=a('[class^="tribe-events-nav-"] a'),b=a(t.getElementById("tribe-events")),c=a(t.getElementById("tribe-bar-date")),p=!1,v="m"+s.datepicker_format.toString(),m=tribeDateFormat.masks[v]||"yyyy-mm";let g=tribeUtils.getInitialDateInfo(v,m,!0);if(!(1>b.length||_.hasClass("single-tribe_events"))){var f="/";if(void 0!==o.events_base?f=a(t.getElementById("tribe-events-header")).data("baseurl"):u.length&&(f=u.first().attr("href").slice(0,-8)),r.default_permalinks&&(f=f.split("?")[0]),a(".tribe-events-calendar").length&&a(t.getElementById("tribe-events-bar")).length&&(a(t.getElementById("tribe-bar-date-day")).val(g.defaultFormattedDate),c.val(g.formattedDate)),r.datepicker_opts={format:m,minViewMode:"months",autoclose:!0},tribe_ev.fn.ensure_datepicker_i18n(),c.bootstrapDatepicker(r.datepicker_opts).on("changeDate",function(e){s.mdate=e.date;var i=e.date.getFullYear(),o=("0"+(e.date.getMonth()+1)).slice(-2),d=("0"+e.date.getDate()).slice(-2);if(p=!0,s.date=function(e){if(!e)return e;var t=new Date,a=e.substr(5,2),r=("0"+(t.getMonth()+1)).substr(-2),i=("0"+t.getDate()).substr(-2);a===r?e=e.length<=7?e+"-"+i:e.substr(0,8)+i:e.length<=7?e+="-01":e=e.substr(0,8)+"01";return e}(i+"-"+o+"-"+d),l.no_bar()||l.live_ajax()&&l.pushstate){if(s.ajax_running||s.updating_picker)return;s.filter_cats?r.cur_url=a(t.getElementById("tribe-events-header")).data("baseurl")+s.date+"/":r.default_permalinks?r.cur_url=f:r.cur_url=f+s.date+"/",s.popping=!1,n.pre_ajax(function(){k()})}}),j(!0),a(i).on("tribe_ev_resizeComplete",function(){j(!0)}),l.pushstate&&!l.map_view()){var h="action=tribe_calendar&eventDate="+a("#tribe-events-header").data("date");r.params.length&&(h=h+"&"+r.params),s.category&&(h=h+"&tribe_event_category="+s.category),n.is_featured()&&(h+="&featured=1"),a(t.getElementById("tribe-events")).is(".tribe-events-shortcode")&&!1===o.update_urls.shortcode.month||history.replaceState({tribe_params:h},s.page_title,location.href),a(e).on("popstate",function(e){var t=e.originalEvent.state;t&&(s.do_string=!1,s.pushstate=!1,s.popping=!0,s.params=t.tribe_params,n.pre_ajax(function(){k()}),n.set_form(s.params))})}a(t.getElementById("tribe-events")).on("click",".tribe-events-nav-previous, .tribe-events-nav-next",function(e){if(e.preventDefault(),!s.ajax_running){var t,i=a(this).find("a");s.date=i.data("month"),s.mdate=s.date+"-01","0"!==s.datepicker_format?n.update_picker(s.mdate):n.update_picker(s.date),t=s.filter_cats?a("#tribe-events-header").data("baseurl"):i.attr("href"),r.default_permalinks&&(t=r.cur_url.split("?")[0]),b.is(".tribe-events-shortcode")&&r.default_permalinks&&(t=n.get_base_url()),n.update_base_url(t),s.popping=!1,n.pre_ajax(function(){k()})}}).on("click","td.tribe-events-thismonth a",function(e){e.stopPropagation()}).on("click",'[id*="tribe-events-daynum-"] a',function(e){_.is(".tribe-mobile")&&(e.preventDefault(),y(a(this).closest(".mobile-trigger")))}).on("click",".mobile-trigger",function(e){_.is(".tribe-mobile")&&(e.preventDefault(),e.stopPropagation(),y(a(this)))}),n.snap("#tribe-bar-form","body","#tribe-events-footer .tribe-events-nav-previous, #tribe-events-footer .tribe-events-nav-next"),a("form#tribe-bar-form").on("submit",function(e){!function(e){if("change_view"!=tribe_events_bar_action){if(e.preventDefault(),s.ajax_running)return;if(void 0!==c.val()&&c.val().length)if("0"!==s.datepicker_format){let e=s.datepicker_format.toString();s.date=tribeUtils.formatDateWithMoment(c.bootstrapDatepicker("getDate"),"tribeMonthQuery",e)}else s.date=c.val();else p||(s.date=r.cur_date.slice(0,-3));s.filter_cats?r.cur_url=a("#tribe-events-header").data("baseurl")+s.date+"/":r.default_permalinks?r.cur_url=f:r.cur_url=f+s.date+"/",s.popping=!1,n.pre_ajax(function(){k()})}}(e)}),a(i).on("tribe_ev_runAjax",function(){k()}),a(i).on("tribe_ev_updatingRecurrence",function(){s.date=a("#tribe-events-header").data("date"),s.filter_cats?r.cur_url=a("#tribe-events-header").data("baseurl")+s.date+"/":r.default_permalinks?r.cur_url=f:r.cur_url=f+s.date+"/",s.popping=!1}),d&&tec_debug.info("TEC Debug: tribe-events-ajax-calendar.js successfully loaded, Tribe Events Init finished"),d&&tec_debug.timeEnd("Tribe JS Init Timer")}function y(e){var r=e.data("tribejson");if(void 0!==e.attr("data-day")){r.date=e.attr("data-day");var i,n,s,l,o,d=e.parents(".tribe-events-calendar"),_=d.next(t.getElementById("tribe-mobile-container")),u=_.find(".tribe-mobile-day"),b=d.find(".mobile-trigger"),c='[data-day="'+r.date+'"]',p=u.filter(c);r.has_events=e.hasClass("tribe-events-has-events"),b.removeClass("mobile-active").filter(c).addClass("mobile-active"),u.hide(),p.length?p.show():(_.append(tribe_tmpl("tribe_tmpl_month_mobile_day_header",r)),i=r.date,n=a('.tribe-mobile-day[data-day="'+i+'"]'),s=a('.tribe-events-calendar td[data-day="'+i+'"]'),l=s.find(".tribe-events-viewmore"),(o=s.find(".type-tribe_events")).length&&(o.each(function(){var e=a(this);if(e.tribe_has_attr("data-tribejson")){var t=e.data("tribejson");if("string"==typeof t)try{t=JSON.parse(t)}catch(e){t={}}t&&"eventId"in t&&n.append(tribe_tmpl("tribe_tmpl_month_mobile",t))}}),l.length&&n.append(l.clone())))}}function x(){b.find(".tribe-events-calendar th").each(function(){var e=a(this),t=e.attr("data-day-abbr"),r=e.attr("title");_.is(".tribe-mobile")?e.text(t):e.text(r)})}function j(e){_.is(".tribe-mobile")?(x(),function(){var e=b.find(".mobile-active"),r=b.find(".mobile-trigger"),i=b.find(t.getElementById("tribe-events-content")).find(".tribe-events-calendar");e.length||(e=b.find(".tribe-events-present"));a(t.getElementById("tribe-mobile-container")).length||a('<div id="tribe-mobile-container" />').insertAfter(i),e.length&&e.is(".tribe-events-thismonth")?y(e):y(r.filter(".tribe-events-thismonth").first())}()):e&&x()}function k(){n.invalid_date(s.date)||(a(".tribe-events-calendar").tribe_spin(),s.pushcount=0,s.ajax_running=!0,s.popping||(s.params={action:"tribe_calendar",eventDate:s.date,featured:n.is_featured()},s.url_params={},s.category&&(s.params.tribe_event_category=s.category,s.url_params.tribe_events_cat=s.category),r.default_permalinks&&(b.is(".tribe-events-shortcode")||(s.url_params.hasOwnProperty("post_type")||(s.url_params.post_type=o.events_post_type),s.url_params.hasOwnProperty("eventDisplay")||(s.url_params.eventDisplay=s.view))),a(i).trigger("tribe_ev_serializeBar"),s.params=a.param(s.params),s.url_params=a.param(s.url_params),a(i).trigger("tribe_ev_collectParams"),s.pushcount>0||s.filters||r.default_permalinks||s.category?(s.do_string=!0,s.pushstate=!1):(s.do_string=!1,s.pushstate=!0)),l.pushstate&&!s.filter_cats?(d&&tec_debug.time("Month View Ajax Timer"),a(i).trigger("tribe_ev_ajaxStart").trigger("tribe_ev_monthView_AjaxStart"),a.post(TribeCalendar.ajaxurl,s.params,function(e){if(s.initial_load=!1,n.enable_inputs("#tribe_events_filters_form","input, select"),e.success){s.ajax_running=!1,r.ajax_response={total_count:"",view:e.view,max_pages:"",tribe_paged:"",timestamp:(new Date).getTime()},d&&0===e.html&&tec_debug.warn("Month view ajax had an error in the query and returned 0.");var l="";l=a.isFunction(a.fn.parseHTML)?a.parseHTML(e.html):e.html,r.cur_url=n.get_base_url(),a("#tribe-events-content").replaceWith(l),j(!0),s.page_title=a("#tribe-events-header").data("title"),s.view_title=a("#tribe-events-header").data("viewtitle"),t.title=s.page_title,a(".tribe-events-page-title").html(s.view_title),(a("#tribe-events.tribe-events-shortcode").length||s.do_string)&&(r.default_permalinks?r.cur_url=r.cur_url+"&"+s.url_params:(-1!==r.cur_url.indexOf("?")&&(r.cur_url=r.cur_url.split("?")[0]),r.cur_url=r.cur_url+"?"+s.url_params));var _=!a(t.getElementById("tribe-events")).is(".tribe-events-shortcode")||!1!==o.update_urls.shortcode.month;s.do_string&&_&&history.pushState({tribe_date:s.date,tribe_params:s.params},s.page_title,r.cur_url),s.pushstate&&_&&history.pushState({tribe_date:s.date,tribe_params:s.params},s.page_title,r.cur_url),a(i).trigger("tribe_ev_ajaxSuccess").trigger("tribe_ev_monthView_ajaxSuccess"),a(i).trigger("ajax-success.tribe").trigger("tribe_ev_monthView_ajaxSuccess"),d&&tec_debug.timeEnd("Month View Ajax Timer")}})):s.url_params.length?e.location=r.cur_url+"?"+s.url_params:e.location=r.cur_url)}})}(window,document,jQuery,tribe_ev.data,tribe_ev.events,tribe_ev.fn,tribe_ev.state,tribe_ev.tests,tribe_js_config,tribe_debug);
1
+ !function(e,t,a,r,i,n,s,l,o,d){a(t).ready(function(){var _=a("body"),u=a('[class^="tribe-events-nav-"] a'),b=a(t.getElementById("tribe-events")),c=a(t.getElementById("tribe-bar-date")),p=!1,v="m"+s.datepicker_format.toString(),m=tribeDateFormat.masks[v]||"yyyy-mm";let g=tribeUtils.getInitialDateInfo(v,m,!0);if(!(1>b.length||_.hasClass("single-tribe_events"))){var f="/";if(void 0!==o.events_base?f=a(t.getElementById("tribe-events-header")).data("baseurl"):u.length&&(f=u.first().attr("href").slice(0,-8)),r.default_permalinks&&(f=f.split("?")[0]),a(".tribe-events-calendar").length&&a(t.getElementById("tribe-events-bar")).length&&(a(t.getElementById("tribe-bar-date-day")).val(g.defaultFormattedDate),c.val(g.formattedDate)),r.datepicker_opts={format:m,minViewMode:"months",autoclose:!0},tribe_ev.fn.ensure_datepicker_i18n(),c.bootstrapDatepicker(r.datepicker_opts).on("changeDate",function(e){s.mdate=e.date;var i=e.date.getFullYear(),o=("0"+(e.date.getMonth()+1)).slice(-2),d=("0"+e.date.getDate()).slice(-2);if(p=!0,s.date=function(e){if(!e)return e;var t=new Date,a=e.substr(5,2),r=("0"+(t.getMonth()+1)).substr(-2),i=("0"+t.getDate()).substr(-2);a===r?e=e.length<=7?e+"-"+i:e.substr(0,8)+i:e.length<=7?e+="-01":e=e.substr(0,8)+"01";return e}(i+"-"+o+"-"+d),l.no_bar()||l.live_ajax()&&l.pushstate){if(s.ajax_running||s.updating_picker)return;s.filter_cats?r.cur_url=a(t.getElementById("tribe-events-header")).data("baseurl")+s.date+"/":r.default_permalinks?r.cur_url=f:r.cur_url=f+s.date+"/",s.popping=!1,n.pre_ajax(function(){k()})}}),j(!0),a(i).on("tribe_ev_resizeComplete",function(){j(!0)}),l.pushstate&&!l.map_view()){var h="action=tribe_calendar&eventDate="+a("#tribe-events-header").data("date");r.params.length&&(h=h+"&"+r.params),s.category&&(h=h+"&tribe_event_category="+s.category),n.is_featured()&&(h+="&featured=1"),a(t.getElementById("tribe-events")).is(".tribe-events-shortcode")&&!1===o.update_urls.shortcode.month||history.replaceState({tribe_params:h},s.page_title,location.href),a(e).on("popstate",function(e){var t=e.originalEvent.state;t&&(s.do_string=!1,s.pushstate=!1,s.popping=!0,s.params=t.tribe_params,n.pre_ajax(function(){k()}),n.set_form(s.params))})}a(t.getElementById("tribe-events")).on("click",".tribe-events-nav-previous, .tribe-events-nav-next",function(e){if(e.preventDefault(),!s.ajax_running){var t,i=a(this).find("a");s.date=i.data("month"),s.mdate=s.date+"-01","0"!==s.datepicker_format?n.update_picker(s.mdate):n.update_picker(s.date),t=s.filter_cats?a("#tribe-events-header").data("baseurl"):i.attr("href"),r.default_permalinks&&(t=r.cur_url.split("?")[0]),b.is(".tribe-events-shortcode")&&r.default_permalinks&&(t=n.get_base_url()),n.update_base_url(t),s.popping=!1,n.pre_ajax(function(){k()})}}).on("click","td.tribe-events-thismonth a",function(e){e.stopPropagation()}).on("click",'[id*="tribe-events-daynum-"] a',function(e){_.is(".tribe-mobile")&&(e.preventDefault(),y(a(this).closest(".mobile-trigger")))}).on("click",".mobile-trigger",function(e){_.is(".tribe-mobile")&&(e.preventDefault(),e.stopPropagation(),y(a(this)))}),n.snap("#tribe-bar-form","body","#tribe-events-footer .tribe-events-nav-previous, #tribe-events-footer .tribe-events-nav-next"),a("form#tribe-bar-form").on("submit",function(e){!function(e){if("change_view"!=tribe_events_bar_action){if(e.preventDefault(),s.ajax_running)return;if(void 0!==c.val()&&c.val().length)if("0"!==s.datepicker_format){let e=s.datepicker_format.toString();s.date=tribeUtils.formatDateWithMoment(c.bootstrapDatepicker("getDate"),"tribeMonthQuery",e)}else s.date=c.val();else p||(s.date=r.cur_date.slice(0,-3));s.filter_cats?r.cur_url=a("#tribe-events-header").data("baseurl")+s.date+"/":r.default_permalinks?r.cur_url=f:r.cur_url=f+s.date+"/",s.popping=!1,n.pre_ajax(function(){k()})}}(e)}),a(i).on("tribe_ev_runAjax",function(){k()}),a(i).on("tribe_ev_updatingRecurrence",function(){s.date=a("#tribe-events-header").data("date"),s.filter_cats?r.cur_url=a("#tribe-events-header").data("baseurl")+s.date+"/":r.default_permalinks?r.cur_url=f:r.cur_url=f+s.date+"/",s.popping=!1}),d&&tec_debug.info("TEC Debug: tribe-events-ajax-calendar.js successfully loaded, Tribe Events Init finished"),d&&tec_debug.timeEnd("Tribe JS Init Timer")}function y(e){var r=e.data("tribejson");if(void 0!==e.attr("data-day")){r.date=e.attr("data-day");var i,n,s,l,o,d=e.parents(".tribe-events-calendar"),_=d.next(t.getElementById("tribe-mobile-container")),u=_.find(".tribe-mobile-day"),b=d.find(".mobile-trigger"),c='[data-day="'+r.date+'"]',p=u.filter(c);r.has_events=e.hasClass("tribe-events-has-events"),b.removeClass("mobile-active").filter(c).addClass("mobile-active"),u.hide(),p.length?p.show():(_.append(tribe_tmpl("tribe_tmpl_month_mobile_day_header",r)),i=r.date,n=a('.tribe-mobile-day[data-day="'+i+'"]'),s=a('.tribe-events-calendar td[data-day="'+i+'"]'),l=s.find(".tribe-events-viewmore"),(o=s.find(".type-tribe_events")).length&&(o.each(function(){var e=a(this);if(e.tribe_has_attr("data-tribejson")){var t=e.data("tribejson");if("string"==typeof t)try{t=JSON.parse(t)}catch(e){t={}}t&&"eventId"in t&&n.append(tribe_tmpl("tribe_tmpl_month_mobile",t))}}),l.length&&n.append(l.clone())))}}function x(){b.find(".tribe-events-calendar th").each(function(){var e=a(this),t=e.attr("data-day-abbr"),r=e.attr("title");_.is(".tribe-mobile")?e.text(t):e.text(r)})}function j(e){_.is(".tribe-mobile")?(x(),function(){var e=b.find(".mobile-active"),r=b.find(".mobile-trigger"),i=b.find(t.getElementById("tribe-events-content")).find(".tribe-events-calendar");e.length||(e=b.find(".tribe-events-present"));a(t.getElementById("tribe-mobile-container")).length||a('<div id="tribe-mobile-container" />').insertAfter(i),e.length&&e.is(".tribe-events-thismonth")?y(e):y(r.filter(".tribe-events-thismonth").first())}()):e&&x()}function k(){n.invalid_date(s.date)||(a(".tribe-events-calendar").tribe_spin(),s.pushcount=0,s.ajax_running=!0,s.popping||(s.params={action:"tribe_calendar",eventDate:s.date,featured:n.is_featured()},s.url_params={},s.category&&(s.params.tribe_event_category=s.category,s.url_params.tribe_events_cat=s.category),r.default_permalinks&&(b.is(".tribe-events-shortcode")||(s.url_params.hasOwnProperty("post_type")||(s.url_params.post_type=o.events_post_type),s.url_params.hasOwnProperty("eventDisplay")||(s.url_params.eventDisplay=s.view))),a(i).trigger("tribe_ev_serializeBar"),s.params=a.param(s.params),s.url_params=a.param(s.url_params),a(i).trigger("tribe_ev_collectParams"),s.pushcount>0||s.filters||r.default_permalinks||s.category?(s.do_string=!0,s.pushstate=!1):(s.do_string=!1,s.pushstate=!0)),l.pushstate&&!s.filter_cats?(d&&tec_debug.time("Month View Ajax Timer"),a(i).trigger("tribe_ev_ajaxStart").trigger("tribe_ev_monthView_AjaxStart"),a.post(TribeCalendar.ajaxurl,s.params,function(e){if(s.initial_load=!1,n.enable_inputs("#tribe_events_filters_form","input, select"),e.success){s.ajax_running=!1,r.ajax_response={total_count:"",view:e.view,max_pages:"",tribe_paged:"",timestamp:(new Date).getTime()},d&&0===e.html&&tec_debug.warn("Month view ajax had an error in the query and returned 0.");var l="";l="function"==typeof a.fn.parseHTML?a.parseHTML(e.html):e.html,r.cur_url=n.get_base_url(),a("#tribe-events-content").replaceWith(l),j(!0),s.page_title=a("#tribe-events-header").data("title"),s.view_title=a("#tribe-events-header").data("viewtitle"),t.title=s.page_title,a(".tribe-events-page-title").html(s.view_title),(a("#tribe-events.tribe-events-shortcode").length||s.do_string)&&(r.default_permalinks?r.cur_url=r.cur_url+"&"+s.url_params:(-1!==r.cur_url.indexOf("?")&&(r.cur_url=r.cur_url.split("?")[0]),r.cur_url=r.cur_url+"?"+s.url_params));var _=!a(t.getElementById("tribe-events")).is(".tribe-events-shortcode")||!1!==o.update_urls.shortcode.month;s.do_string&&_&&history.pushState({tribe_date:s.date,tribe_params:s.params},s.page_title,r.cur_url),s.pushstate&&_&&history.pushState({tribe_date:s.date,tribe_params:s.params},s.page_title,r.cur_url),a(i).trigger("tribe_ev_ajaxSuccess").trigger("tribe_ev_monthView_ajaxSuccess"),a(i).trigger("ajax-success.tribe").trigger("tribe_ev_monthView_ajaxSuccess"),d&&tec_debug.timeEnd("Month View Ajax Timer")}})):s.url_params.length?e.location=r.cur_url+"?"+s.url_params:e.location=r.cur_url)}})}(window,document,jQuery,tribe_ev.data,tribe_ev.events,tribe_ev.fn,tribe_ev.state,tribe_ev.tests,tribe_js_config,tribe_debug);
src/resources/js/tribe-events-bar.js CHANGED
@@ -77,9 +77,12 @@ var tribe_events_bar_action;
77
 
78
  eventsBarWidth( $tribebar );
79
 
80
- $tribebar.resize( function() {
81
- eventsBarWidth( $tribebar );
82
- } );
 
 
 
83
 
84
  if ( ! $( '.tribe-events-week-grid' ).length ) {
85
 
@@ -111,17 +114,20 @@ var tribe_events_bar_action;
111
  }
112
  }
113
 
114
- $tribedate.blur( function() {
115
- if ( $tribedate.val() === '' && $( '.datepicker.dropdown-menu' ).is( ':hidden' ) && tt.live_ajax() && tt.pushstate ) {
116
- ts.date = td.cur_date;
117
- td.cur_url = td.base_url;
118
- /**
119
- * DEPRECATED: tribe_ev_runAjax has been deprecated in 4.0. Use run-ajax.tribe instead
120
- */
121
- $( te ).trigger( 'tribe_ev_runAjax' );
122
- $( te ).trigger( 'run-ajax.tribe' );
 
 
 
123
  }
124
- } );
125
 
126
  // Add some classes
127
  if ( $( '.tribe-bar-settings' ).length ) {
@@ -186,7 +192,7 @@ var tribe_events_bar_action;
186
  $tribebarviews
187
  .slideDown( 'fast' )
188
  .attr( 'aria-activedescendant', $currentli.attr( 'id' ) )
189
- .focus();
190
  $tribebar.addClass( 'tribe-bar-views-open' );
191
  $tribebarviewstoggle.attr( 'aria-expanded', 'true' );
192
  }
@@ -209,13 +215,13 @@ var tribe_events_bar_action;
209
 
210
  // If the new selection is the same as the current view, just close the drop-down and bail.
211
  if ( $this.data( 'view' ) === $tribebarviewstoggle.data( 'view' ) ) {
212
- $tribebarviewstoggle.focus();
213
  closeViewsToggle();
214
  return;
215
  }
216
 
217
  // Otherwise, update the page with the selected view and trigger the change
218
- $tribebarviewstoggle.html( $this.html() ).focus();
219
  closeViewsToggle();
220
 
221
  ts.cur_url = $( 'option[data-view=' + $this.data( 'view' ) + ']' ).val();
@@ -270,7 +276,7 @@ var tribe_events_bar_action;
270
  if ( $newView.length ) {
271
  $tribebarviews.attr( 'aria-activedescendant', $newView.attr( 'id' ) );
272
  $oldView.removeClass( 'tribe-bar-active' );
273
- $newView.addClass( 'tribe-bar-active' ).focus();
274
  }
275
  } );
276
 
@@ -359,14 +365,14 @@ var tribe_events_bar_action;
359
  var $filters_toggle = $( '#tribe-bar-collapse-toggle' );
360
  if ( $tribebar.hasClass( 'tribe-bar-collapse' ) && $filters_toggle.hasClass( 'tribe-bar-filters-open' ) ) {
361
  closeFiltersToggle( $filters_toggle );
362
- $filters_toggle.focus();
363
  }
364
 
365
  // Close Event Views is open and escaped
366
  var $views_toggle = $( '#tribe-bar-views-toggle' );
367
  if ( $tribebar.hasClass( 'tribe-bar-views-open' ) ) {
368
  closeViewsToggle();
369
- $views_toggle.focus();
370
  }
371
  } );
372
 
@@ -376,7 +382,7 @@ var tribe_events_bar_action;
376
  var $filters_toggle = $( '#tribe-bar-collapse-toggle' );
377
  if ( $tribebar.hasClass( 'tribe-bar-collapse' ) && $filters_toggle.hasClass( 'tribe-bar-filters-open' ) ) {
378
  closeFiltersToggle( $filters_toggle );
379
- $filters_toggle.focus();
380
  }
381
 
382
  $( 'form#tribe-bar-form input, form#tribe-bar-form select, #tribeHideRecurrence' ).each( function() {
@@ -524,37 +530,46 @@ var tribe_events_bar_action;
524
  var $tribeDropToggle = $( '#tribe-events-bar [class^="tribe-bar-button-"]' );
525
  var $tribeDropToggleEl = $tribeDropToggle.next( '.tribe-bar-drop-content' );
526
 
527
- $tribeDropToggle.click( function() {
528
- var $this = $( this );
529
- $this.toggleClass( 'open' );
530
- $this.next( '.tribe-bar-drop-content' ).toggle();
531
- return false
532
- } );
 
 
 
 
 
 
 
 
 
 
 
 
533
 
534
- $( document ).click( function( e ) {
535
- // Close the Event Views if open
536
- if ( $tribebar.hasClass( 'tribe-bar-views-open' ) && ! $.contains( document.getElementById( 'tribe-bar-views' ), e.target ) ) {
537
- closeViewsToggle();
538
- $tribebarviewstoggle.focus();
539
- }
540
 
541
- // Close the Event Filters if open
542
- var $filters_toggle = $( '#tribe-bar-collapse-toggle' );
543
- if ( $tribebar.hasClass( 'tribe-bar-collapse' ) && $filters_toggle.hasClass( 'tribe-bar-filters-open' ) && ! $.contains( document.getElementById( 'tribe-bar-filters-wrap' ), e.target ) ) {
544
- closeFiltersToggle( $filters_toggle );
545
- $filters_toggle.focus();
546
- }
547
 
548
- if ( $tribeDropToggle.hasClass( 'open' ) ) {
549
- $tribeDropToggle.removeClass( 'open' );
550
- $tribeDropToggleEl.hide();
551
  }
 
552
 
553
- } );
554
-
555
- $tribeDropToggleEl.click( function( e ) {
556
- e.stopPropagation();
557
- } );
 
558
 
559
  // @ifdef DEBUG
560
  dbug && tec_debug.info( 'TEC Debug: tribe-events-bar.js successfully loaded' );
77
 
78
  eventsBarWidth( $tribebar );
79
 
80
+ $tribebar.on(
81
+ 'resize',
82
+ function() {
83
+ eventsBarWidth( $tribebar );
84
+ }
85
+ );
86
 
87
  if ( ! $( '.tribe-events-week-grid' ).length ) {
88
 
114
  }
115
  }
116
 
117
+ $tribedate.on(
118
+ 'blur',
119
+ function() {
120
+ if ( $tribedate.val() === '' && $( '.datepicker.dropdown-menu' ).is( ':hidden' ) && tt.live_ajax() && tt.pushstate ) {
121
+ ts.date = td.cur_date;
122
+ td.cur_url = td.base_url;
123
+ /**
124
+ * DEPRECATED: tribe_ev_runAjax has been deprecated in 4.0. Use run-ajax.tribe instead
125
+ */
126
+ $( te ).trigger( 'tribe_ev_runAjax' );
127
+ $( te ).trigger( 'run-ajax.tribe' );
128
+ }
129
  }
130
+ );
131
 
132
  // Add some classes
133
  if ( $( '.tribe-bar-settings' ).length ) {
192
  $tribebarviews
193
  .slideDown( 'fast' )
194
  .attr( 'aria-activedescendant', $currentli.attr( 'id' ) )
195
+ .trigger( 'focus' );
196
  $tribebar.addClass( 'tribe-bar-views-open' );
197
  $tribebarviewstoggle.attr( 'aria-expanded', 'true' );
198
  }
215
 
216
  // If the new selection is the same as the current view, just close the drop-down and bail.
217
  if ( $this.data( 'view' ) === $tribebarviewstoggle.data( 'view' ) ) {
218
+ $tribebarviewstoggle.trigger( 'focus' );
219
  closeViewsToggle();
220
  return;
221
  }
222
 
223
  // Otherwise, update the page with the selected view and trigger the change
224
+ $tribebarviewstoggle.html( $this.html() ).trigger( 'focus' );
225
  closeViewsToggle();
226
 
227
  ts.cur_url = $( 'option[data-view=' + $this.data( 'view' ) + ']' ).val();
276
  if ( $newView.length ) {
277
  $tribebarviews.attr( 'aria-activedescendant', $newView.attr( 'id' ) );
278
  $oldView.removeClass( 'tribe-bar-active' );
279
+ $newView.addClass( 'tribe-bar-active' ).trigger( 'focus' );
280
  }
281
  } );
282
 
365
  var $filters_toggle = $( '#tribe-bar-collapse-toggle' );
366
  if ( $tribebar.hasClass( 'tribe-bar-collapse' ) && $filters_toggle.hasClass( 'tribe-bar-filters-open' ) ) {
367
  closeFiltersToggle( $filters_toggle );
368
+ $filters_toggle.trigger( 'focus' );
369
  }
370
 
371
  // Close Event Views is open and escaped
372
  var $views_toggle = $( '#tribe-bar-views-toggle' );
373
  if ( $tribebar.hasClass( 'tribe-bar-views-open' ) ) {
374
  closeViewsToggle();
375
+ $views_toggle.trigger( 'focus' );
376
  }
377
  } );
378
 
382
  var $filters_toggle = $( '#tribe-bar-collapse-toggle' );
383
  if ( $tribebar.hasClass( 'tribe-bar-collapse' ) && $filters_toggle.hasClass( 'tribe-bar-filters-open' ) ) {
384
  closeFiltersToggle( $filters_toggle );
385
+ $filters_toggle.trigger( 'focus' );
386
  }
387
 
388
  $( 'form#tribe-bar-form input, form#tribe-bar-form select, #tribeHideRecurrence' ).each( function() {
530
  var $tribeDropToggle = $( '#tribe-events-bar [class^="tribe-bar-button-"]' );
531
  var $tribeDropToggleEl = $tribeDropToggle.next( '.tribe-bar-drop-content' );
532
 
533
+ $tribeDropToggle.on(
534
+ 'click',
535
+ function() {
536
+ var $this = $( this );
537
+ $this.toggleClass( 'open' );
538
+ $this.next( '.tribe-bar-drop-content' ).toggle();
539
+ return false;
540
+ }
541
+ );
542
+
543
+ $( document ).on(
544
+ 'click',
545
+ function( e ) {
546
+ // Close the Event Views if open
547
+ if ( $tribebar.hasClass( 'tribe-bar-views-open' ) && ! $.contains( document.getElementById( 'tribe-bar-views' ), e.target ) ) {
548
+ closeViewsToggle();
549
+ $tribebarviewstoggle.trigger( 'focus' );
550
+ }
551
 
552
+ // Close the Event Filters if open
553
+ var $filters_toggle = $( '#tribe-bar-collapse-toggle' );
554
+ if ( $tribebar.hasClass( 'tribe-bar-collapse' ) && $filters_toggle.hasClass( 'tribe-bar-filters-open' ) && ! $.contains( document.getElementById( 'tribe-bar-filters-wrap' ), e.target ) ) {
555
+ closeFiltersToggle( $filters_toggle );
556
+ $filters_toggle.trigger( 'focus' );
557
+ }
558
 
559
+ if ( $tribeDropToggle.hasClass( 'open' ) ) {
560
+ $tribeDropToggle.removeClass( 'open' );
561
+ $tribeDropToggleEl.hide();
562
+ }
 
 
563
 
 
 
 
564
  }
565
+ );
566
 
567
+ $tribeDropToggleEl.on(
568
+ 'click',
569
+ function( e ) {
570
+ e.stopPropagation();
571
+ }
572
+ );
573
 
574
  // @ifdef DEBUG
575
  dbug && tec_debug.info( 'TEC Debug: tribe-events-bar.js successfully loaded' );
src/resources/js/tribe-events-bar.min.js CHANGED
@@ -1 +1 @@
1
- var tribe_events_bar_action;!function(e,t,a,r,i,s,n,b,l){a(t).ready(function(){l&&(a().bootstrapDatepicker||tec_debug.warn("TEC Debug: vendor bootstrapDatepicker was not loaded before its dependant file tribe-events-bar.js"),a().placeholder||tec_debug.warn("TEC Debug: vendor placeholder was not loaded before its dependant file tribe-events-bar.js"));var o=a(t.getElementById("tribe-bar-form")),d=a(t.getElementById("tribe-bar-date")),c=(a(t.getElementById("tribe-events")),a(t.getElementById("tribe-events-header"))),v=0,p=a("select[name=tribe-bar-view]");function m(e){if(!e.parents(".tribe-bar-disabled").length){var t=e.width();t>800?e.removeClass("tribe-bar-mini tribe-bar-collapse").addClass("tribe-bar-full"):e.removeClass("tribe-bar-full").addClass("tribe-bar-mini"),t<728?(e.removeClass("tribe-bar-mini").addClass("tribe-bar-collapse"),y(a("#tribe-bar-collapse-toggle"))):(e.removeClass("tribe-bar-collapse"),C(a("#tribe-bar-collapse-toggle")))}}if(c.length&&(v=c.data("startofweek")),m(o),o.resize(function(){m(o)}),!a(".tribe-events-week-grid").length&&"month"!==n.view){let e=n.datepicker_format.toString(),i=tribeDateFormat.masks[e]||"yyyy-mm-dd",s=tribeUtils.getInitialDateInfo(e,i);a(t.getElementById("tribe-bar-date-day")).val(tribeUtils.formatMoment(s.dateMoment,"tribeQuery")),d.val(s.formattedDate),l&&tec_debug.info('TEC Debug: bootstrapDatepicker was just initialized in "tribe-events-bar.js" on:',d),r.datepicker_opts={weekStart:v,format:i,autoclose:!0},tribe_ev.fn.ensure_datepicker_i18n(),d.bootstrapDatepicker(r.datepicker_opts)}d.blur(function(){""===d.val()&&a(".datepicker.dropdown-menu").is(":hidden")&&b.live_ajax()&&b.pushstate&&(n.date=r.cur_date,r.cur_url=r.base_url,a(i).trigger("tribe_ev_runAjax"),a(i).trigger("run-ajax.tribe"))}),a(".tribe-bar-settings").length&&a(t.getElementById("tribe-events-bar")).addClass("tribe-has-settings"),a("#tribe-events-bar .hasDatepicker").length&&a(t.getElementById("tribe-events-bar")).addClass("tribe-has-datepicker"),a('input[name*="tribe-bar-"]').placeholder(),a('<ul class="tribe-bar-views-list" tabindex="-1" role="listbox" aria-labelledby="tribe-bar-views-label" />').insertAfter(p);var u=a(".tribe-bar-views-list");function f(){return u.find("li[data-view="+p.find(":selected").data("view")+"]")}p.find("option").each(function(e){var t=a(this);displaying=t.data("view");var r="tribe-bar-views-option-"+t.data("view");a("<li></li>",{id:r,class:"tribe-bar-views-option",role:"option",tabindex:"-1","data-tribe-bar-order":e,"data-view":displaying,"aria-labelledby":"tribe-bar-views-label "+r}).html('<span class="tribe-icon-'+displaying+'" aria-hidden="true" role="none"></span>'+t.text()).appendTo(".tribe-bar-views-list")});var h=f();h.addClass("tribe-bar-active");var g=a("<button>",{id:"tribe-bar-views-toggle",class:"tribe-bar-views-toggle","data-view":h.data("view"),"aria-haspopup":"listbox","aria-labelledby":"tribe-bar-views-label tribe-bar-views-toggle"});function w(){var e=f();g.removeAttr("aria-expanded"),o.removeClass("tribe-bar-views-open"),u.slideUp("fast").removeAttr("aria-activedescendant").find(".tribe-bar-views-option").removeClass("tribe-bar-active"),e.addClass("tribe-bar-active")}function _(e,t){e.preventDefault();var r=a(t);if(r.data("view")===g.data("view"))return g.focus(),void w();g.html(r.html()).focus(),w(),n.cur_url=a("option[data-view="+r.data("view")+"]").val(),n.view_target=a('select[name=tribe-bar-view] option[value="'+n.cur_url+'"]').data("view"),tribe_events_bar_action="change_view",k()}function C(e){var t=e.attr("data-label-shown");e.attr("aria-expanded","true"),e.find(".tribe-bar-toggle-text").html(t),e.addClass("tribe-bar-filters-open"),a(".tribe-bar-filters").slideDown("fast").attr("aria-hidden","false")}function y(e){var t=e.attr("data-label-hidden");a(".tribe-bar-filters").slideUp("fast").attr("aria-hidden","true"),e.removeClass("tribe-bar-filters-open"),e.find(".tribe-bar-toggle-text").html(t),e.attr("aria-expanded","false")}function k(){tribe_events_bar_action="change_view",n.url_params={},a(i).trigger("tribe_ev_preCollectBarParams"),a(i).trigger("pre-collect-bar-params.tribe");var s=a(t.getElementById("tribe-bar-form")).add(t.getElementById("tribe_events_filters_wrapper")).find("input, select");let l=n.datepicker_format.toString();s.each(function(){var e=a(this);e.val()&&e.val().length&&!e.hasClass("tribe-no-param")&&("month"!==n.view&&"0"!==n.datepicker_format&&e.is(d)?n.url_params[e.attr("name")]=tribeUtils.formatDateWithMoment(e.bootstrapDatepicker("getDate"),"tribeQuery",l):e.is(":checkbox")?e.is(":checked")&&(void 0===n.url_params[e.attr("name")]&&(n.url_params[e.attr("name")]=[]),n.url_params[e.attr("name")].push(e.val())):"radio"===e.attr("type")?e.is(":checked")&&(n.url_params[e.attr("name")]=e.val()):void 0!==e.attr("name")&&(n.url_params[e.attr("name")]=e.val()))});var o=a("#tribe-bar-views-option-"+r.default_mobile_view).data("redirected");if((r.redirected_view||o)&&(n.url_params.tribe_redirected=!0),"month"===n.view&&d.length){const e="m"+n.datepicker_format.toString(),t=d.val()||d.bootstrapDatepicker("getDate"),a=tribeUtils.maybeAlterMonthViewDate(t,e);n.url_params["tribe-bar-date"]=tribeUtils.formatDateWithMoment(a,"tribeQuery")}n.url_params=a.param(n.url_params),a(i).trigger("tribe_ev_postCollectBarParams"),a(i).trigger("post-collect-bar-params.tribe"),n.url_params.length&&(n.cur_url+=b.starting_delim()+n.url_params),e.location.href=n.cur_url}g.html(h.html()).insertBefore(u),p.hide(),o.on("click","#tribe-bar-views-toggle",function(e){var t;e.preventDefault(),o.hasClass("tribe-bar-views-open")?w():(t=f(),u.slideDown("fast").attr("aria-activedescendant",t.attr("id")).focus(),o.addClass("tribe-bar-views-open"),g.attr("aria-expanded","true"))}),o.on("click",".tribe-bar-views-option",function(e){_(e,this)}),a(t).on("keydown",function(e){if((38===e.which||40===e.which)&&o.hasClass("tribe-bar-views-open")){e.preventDefault();var t=e.which,a=null,r=u.find("li.tribe-bar-active");38===t&&r.prev(".tribe-bar-views-option")&&(a=r.prev(".tribe-bar-views-option")),40===t&&r.next(".tribe-bar-views-option")&&(a=r.next(".tribe-bar-views-option")),a.length&&(u.attr("aria-activedescendant",a.attr("id")),r.removeClass("tribe-bar-active"),a.addClass("tribe-bar-active").focus())}}),o.on("keyup",".tribe-bar-views-option",function(e){13===e.which&&o.hasClass("tribe-bar-views-open")&&_(e,this)}),o.on("change",".tribe-bar-views-select",function(e){e.preventDefault();var t=a("option:selected",this).data("view");n.cur_url=a("option[data-view="+t+"]").val(),n.view_target=a('select[name=tribe-bar-view] option[value="'+n.cur_url+'"]').data("view"),tribe_events_bar_action="change_view",k()}),s.maybe_default_view_change(),o.on("click","#tribe-bar-collapse-toggle",function(e){e.preventDefault();var t=a(this);t.hasClass("tribe-bar-filters-open")?y(t):C(t)}),a(t).on("keyup",function(e){if(9===e.which){var r=a("#tribe-bar-collapse-toggle");o.hasClass("tribe-bar-collapse")&&r.hasClass("tribe-bar-filters-open")&&!a.contains(t.getElementById("tribe-bar-filters-wrap"),e.target)&&y(r);var i=a("#tribe-bar-views-toggle");o.hasClass("tribe-bar-views-open")&&i.not(":focus")&&w()}}),a(t).on("keyup",function(e){if(27===e.which){var t=a("#tribe-bar-collapse-toggle");o.hasClass("tribe-bar-collapse")&&t.hasClass("tribe-bar-filters-open")&&(y(t),t.focus());var r=a("#tribe-bar-views-toggle");o.hasClass("tribe-bar-views-open")&&(w(),r.focus())}}),a(i).on("tribe_ev_serializeBar",function(){var e=a("#tribe-bar-collapse-toggle");o.hasClass("tribe-bar-collapse")&&e.hasClass("tribe-bar-filters-open")&&(y(e),e.focus()),a("form#tribe-bar-form input, form#tribe-bar-form select, #tribeHideRecurrence").each(function(){var e=a(this);if(e.is("#tribe-bar-date")){let t=e.val(),a=n.datepicker_format.toString();t.length?"month"===n.view?(a="m"+a,n.params[e.attr("name")]=tribeUtils.formatDateWithMoment(n.mdate,"tribeMonthQuery",a),n.url_params[e.attr("name")]=tribeUtils.formatDateWithMoment(n.mdate,"tribeMonthQuery",a)):t.match(/^[0-9]+[\-\.\/][0-9]+$/)?n.params[e.attr("name")]=n.url_params[e.attr("name")]=tribeUtils.formatDateWithMoment(t,"tribeQuery",a):(n.params[e.attr("name")]=tribeUtils.formatDateWithMoment(e.bootstrapDatepicker("getDate"),"tribeQuery",a),n.url_params[e.attr("name")]=tribeUtils.formatDateWithMoment(e.bootstrapDatepicker("getDate"),"tribeQuery",a)):e.is(".placeholder")&&e.is(".bd-updated")?n.url_params[e.attr("name")]=e.attr("data-oldDate"):n.date=r.cur_date}!e.val().length||e.hasClass("tribe-no-param")||e.is("#tribe-bar-date")||(e.is(":checkbox")?e.is(":checked")&&(n.params[e.attr("name")]=e.val(),"map"!==n.view&&(n.url_params[e.attr("name")]=e.val()),("month"===n.view||"day"===n.view||"week"===n.view||n.recurrence)&&n.pushcount++):(n.params[e.attr("name")]=e.val(),"map"!==n.view&&(n.url_params[e.attr("name")]=e.val()),"month"!==n.view&&"day"!==n.view&&"week"!==n.view||n.pushcount++))})});var D=a('#tribe-events-bar [class^="tribe-bar-button-"]'),x=D.next(".tribe-bar-drop-content");D.click(function(){var e=a(this);return e.toggleClass("open"),e.next(".tribe-bar-drop-content").toggle(),!1}),a(t).click(function(e){o.hasClass("tribe-bar-views-open")&&!a.contains(t.getElementById("tribe-bar-views"),e.target)&&(w(),g.focus());var r=a("#tribe-bar-collapse-toggle");o.hasClass("tribe-bar-collapse")&&r.hasClass("tribe-bar-filters-open")&&!a.contains(t.getElementById("tribe-bar-filters-wrap"),e.target)&&(y(r),r.focus()),D.hasClass("open")&&(D.removeClass("open"),x.hide())}),x.click(function(e){e.stopPropagation()}),l&&tec_debug.info("TEC Debug: tribe-events-bar.js successfully loaded")})}(window,document,jQuery,tribe_ev.data,tribe_ev.events,tribe_ev.fn,tribe_ev.state,tribe_ev.tests,tribe_debug);
1
+ var tribe_events_bar_action;!function(e,t,a,r,i,s,n,b,l){a(t).ready(function(){l&&(a().bootstrapDatepicker||tec_debug.warn("TEC Debug: vendor bootstrapDatepicker was not loaded before its dependant file tribe-events-bar.js"),a().placeholder||tec_debug.warn("TEC Debug: vendor placeholder was not loaded before its dependant file tribe-events-bar.js"));var o=a(t.getElementById("tribe-bar-form")),d=a(t.getElementById("tribe-bar-date")),c=(a(t.getElementById("tribe-events")),a(t.getElementById("tribe-events-header"))),v=0,p=a("select[name=tribe-bar-view]");function m(e){if(!e.parents(".tribe-bar-disabled").length){var t=e.width();t>800?e.removeClass("tribe-bar-mini tribe-bar-collapse").addClass("tribe-bar-full"):e.removeClass("tribe-bar-full").addClass("tribe-bar-mini"),t<728?(e.removeClass("tribe-bar-mini").addClass("tribe-bar-collapse"),y(a("#tribe-bar-collapse-toggle"))):(e.removeClass("tribe-bar-collapse"),C(a("#tribe-bar-collapse-toggle")))}}if(c.length&&(v=c.data("startofweek")),m(o),o.on("resize",function(){m(o)}),!a(".tribe-events-week-grid").length&&"month"!==n.view){let e=n.datepicker_format.toString(),i=tribeDateFormat.masks[e]||"yyyy-mm-dd",s=tribeUtils.getInitialDateInfo(e,i);a(t.getElementById("tribe-bar-date-day")).val(tribeUtils.formatMoment(s.dateMoment,"tribeQuery")),d.val(s.formattedDate),l&&tec_debug.info('TEC Debug: bootstrapDatepicker was just initialized in "tribe-events-bar.js" on:',d),r.datepicker_opts={weekStart:v,format:i,autoclose:!0},tribe_ev.fn.ensure_datepicker_i18n(),d.bootstrapDatepicker(r.datepicker_opts)}d.on("blur",function(){""===d.val()&&a(".datepicker.dropdown-menu").is(":hidden")&&b.live_ajax()&&b.pushstate&&(n.date=r.cur_date,r.cur_url=r.base_url,a(i).trigger("tribe_ev_runAjax"),a(i).trigger("run-ajax.tribe"))}),a(".tribe-bar-settings").length&&a(t.getElementById("tribe-events-bar")).addClass("tribe-has-settings"),a("#tribe-events-bar .hasDatepicker").length&&a(t.getElementById("tribe-events-bar")).addClass("tribe-has-datepicker"),a('input[name*="tribe-bar-"]').placeholder(),a('<ul class="tribe-bar-views-list" tabindex="-1" role="listbox" aria-labelledby="tribe-bar-views-label" />').insertAfter(p);var u=a(".tribe-bar-views-list");function g(){return u.find("li[data-view="+p.find(":selected").data("view")+"]")}p.find("option").each(function(e){var t=a(this);displaying=t.data("view");var r="tribe-bar-views-option-"+t.data("view");a("<li></li>",{id:r,class:"tribe-bar-views-option",role:"option",tabindex:"-1","data-tribe-bar-order":e,"data-view":displaying,"aria-labelledby":"tribe-bar-views-label "+r}).html('<span class="tribe-icon-'+displaying+'" aria-hidden="true" role="none"></span>'+t.text()).appendTo(".tribe-bar-views-list")});var f=g();f.addClass("tribe-bar-active");var h=a("<button>",{id:"tribe-bar-views-toggle",class:"tribe-bar-views-toggle","data-view":f.data("view"),"aria-haspopup":"listbox","aria-labelledby":"tribe-bar-views-label tribe-bar-views-toggle"});function w(){var e=g();h.removeAttr("aria-expanded"),o.removeClass("tribe-bar-views-open"),u.slideUp("fast").removeAttr("aria-activedescendant").find(".tribe-bar-views-option").removeClass("tribe-bar-active"),e.addClass("tribe-bar-active")}function _(e,t){e.preventDefault();var r=a(t);if(r.data("view")===h.data("view"))return h.trigger("focus"),void w();h.html(r.html()).trigger("focus"),w(),n.cur_url=a("option[data-view="+r.data("view")+"]").val(),n.view_target=a('select[name=tribe-bar-view] option[value="'+n.cur_url+'"]').data("view"),tribe_events_bar_action="change_view",k()}function C(e){var t=e.attr("data-label-shown");e.attr("aria-expanded","true"),e.find(".tribe-bar-toggle-text").html(t),e.addClass("tribe-bar-filters-open"),a(".tribe-bar-filters").slideDown("fast").attr("aria-hidden","false")}function y(e){var t=e.attr("data-label-hidden");a(".tribe-bar-filters").slideUp("fast").attr("aria-hidden","true"),e.removeClass("tribe-bar-filters-open"),e.find(".tribe-bar-toggle-text").html(t),e.attr("aria-expanded","false")}function k(){tribe_events_bar_action="change_view",n.url_params={},a(i).trigger("tribe_ev_preCollectBarParams"),a(i).trigger("pre-collect-bar-params.tribe");var s=a(t.getElementById("tribe-bar-form")).add(t.getElementById("tribe_events_filters_wrapper")).find("input, select");let l=n.datepicker_format.toString();s.each(function(){var e=a(this);e.val()&&e.val().length&&!e.hasClass("tribe-no-param")&&("month"!==n.view&&"0"!==n.datepicker_format&&e.is(d)?n.url_params[e.attr("name")]=tribeUtils.formatDateWithMoment(e.bootstrapDatepicker("getDate"),"tribeQuery",l):e.is(":checkbox")?e.is(":checked")&&(void 0===n.url_params[e.attr("name")]&&(n.url_params[e.attr("name")]=[]),n.url_params[e.attr("name")].push(e.val())):"radio"===e.attr("type")?e.is(":checked")&&(n.url_params[e.attr("name")]=e.val()):void 0!==e.attr("name")&&(n.url_params[e.attr("name")]=e.val()))});var o=a("#tribe-bar-views-option-"+r.default_mobile_view).data("redirected");if((r.redirected_view||o)&&(n.url_params.tribe_redirected=!0),"month"===n.view&&d.length){const e="m"+n.datepicker_format.toString(),t=d.val()||d.bootstrapDatepicker("getDate"),a=tribeUtils.maybeAlterMonthViewDate(t,e);n.url_params["tribe-bar-date"]=tribeUtils.formatDateWithMoment(a,"tribeQuery")}n.url_params=a.param(n.url_params),a(i).trigger("tribe_ev_postCollectBarParams"),a(i).trigger("post-collect-bar-params.tribe"),n.url_params.length&&(n.cur_url+=b.starting_delim()+n.url_params),e.location.href=n.cur_url}h.html(f.html()).insertBefore(u),p.hide(),o.on("click","#tribe-bar-views-toggle",function(e){var t;e.preventDefault(),o.hasClass("tribe-bar-views-open")?w():(t=g(),u.slideDown("fast").attr("aria-activedescendant",t.attr("id")).trigger("focus"),o.addClass("tribe-bar-views-open"),h.attr("aria-expanded","true"))}),o.on("click",".tribe-bar-views-option",function(e){_(e,this)}),a(t).on("keydown",function(e){if((38===e.which||40===e.which)&&o.hasClass("tribe-bar-views-open")){e.preventDefault();var t=e.which,a=null,r=u.find("li.tribe-bar-active");38===t&&r.prev(".tribe-bar-views-option")&&(a=r.prev(".tribe-bar-views-option")),40===t&&r.next(".tribe-bar-views-option")&&(a=r.next(".tribe-bar-views-option")),a.length&&(u.attr("aria-activedescendant",a.attr("id")),r.removeClass("tribe-bar-active"),a.addClass("tribe-bar-active").trigger("focus"))}}),o.on("keyup",".tribe-bar-views-option",function(e){13===e.which&&o.hasClass("tribe-bar-views-open")&&_(e,this)}),o.on("change",".tribe-bar-views-select",function(e){e.preventDefault();var t=a("option:selected",this).data("view");n.cur_url=a("option[data-view="+t+"]").val(),n.view_target=a('select[name=tribe-bar-view] option[value="'+n.cur_url+'"]').data("view"),tribe_events_bar_action="change_view",k()}),s.maybe_default_view_change(),o.on("click","#tribe-bar-collapse-toggle",function(e){e.preventDefault();var t=a(this);t.hasClass("tribe-bar-filters-open")?y(t):C(t)}),a(t).on("keyup",function(e){if(9===e.which){var r=a("#tribe-bar-collapse-toggle");o.hasClass("tribe-bar-collapse")&&r.hasClass("tribe-bar-filters-open")&&!a.contains(t.getElementById("tribe-bar-filters-wrap"),e.target)&&y(r);var i=a("#tribe-bar-views-toggle");o.hasClass("tribe-bar-views-open")&&i.not(":focus")&&w()}}),a(t).on("keyup",function(e){if(27===e.which){var t=a("#tribe-bar-collapse-toggle");o.hasClass("tribe-bar-collapse")&&t.hasClass("tribe-bar-filters-open")&&(y(t),t.trigger("focus"));var r=a("#tribe-bar-views-toggle");o.hasClass("tribe-bar-views-open")&&(w(),r.trigger("focus"))}}),a(i).on("tribe_ev_serializeBar",function(){var e=a("#tribe-bar-collapse-toggle");o.hasClass("tribe-bar-collapse")&&e.hasClass("tribe-bar-filters-open")&&(y(e),e.trigger("focus")),a("form#tribe-bar-form input, form#tribe-bar-form select, #tribeHideRecurrence").each(function(){var e=a(this);if(e.is("#tribe-bar-date")){let t=e.val(),a=n.datepicker_format.toString();t.length?"month"===n.view?(a="m"+a,n.params[e.attr("name")]=tribeUtils.formatDateWithMoment(n.mdate,"tribeMonthQuery",a),n.url_params[e.attr("name")]=tribeUtils.formatDateWithMoment(n.mdate,"tribeMonthQuery",a)):t.match(/^[0-9]+[\-\.\/][0-9]+$/)?n.params[e.attr("name")]=n.url_params[e.attr("name")]=tribeUtils.formatDateWithMoment(t,"tribeQuery",a):(n.params[e.attr("name")]=tribeUtils.formatDateWithMoment(e.bootstrapDatepicker("getDate"),"tribeQuery",a),n.url_params[e.attr("name")]=tribeUtils.formatDateWithMoment(e.bootstrapDatepicker("getDate"),"tribeQuery",a)):e.is(".placeholder")&&e.is(".bd-updated")?n.url_params[e.attr("name")]=e.attr("data-oldDate"):n.date=r.cur_date}!e.val().length||e.hasClass("tribe-no-param")||e.is("#tribe-bar-date")||(e.is(":checkbox")?e.is(":checked")&&(n.params[e.attr("name")]=e.val(),"map"!==n.view&&(n.url_params[e.attr("name")]=e.val()),("month"===n.view||"day"===n.view||"week"===n.view||n.recurrence)&&n.pushcount++):(n.params[e.attr("name")]=e.val(),"map"!==n.view&&(n.url_params[e.attr("name")]=e.val()),"month"!==n.view&&"day"!==n.view&&"week"!==n.view||n.pushcount++))})});var D=a('#tribe-events-bar [class^="tribe-bar-button-"]'),x=D.next(".tribe-bar-drop-content");D.on("click",function(){var e=a(this);return e.toggleClass("open"),e.next(".tribe-bar-drop-content").toggle(),!1}),a(t).on("click",function(e){o.hasClass("tribe-bar-views-open")&&!a.contains(t.getElementById("tribe-bar-views"),e.target)&&(w(),h.trigger("focus"));var r=a("#tribe-bar-collapse-toggle");o.hasClass("tribe-bar-collapse")&&r.hasClass("tribe-bar-filters-open")&&!a.contains(t.getElementById("tribe-bar-filters-wrap"),e.target)&&(y(r),r.trigger("focus")),D.hasClass("open")&&(D.removeClass("open"),x.hide())}),x.on("click",function(e){e.stopPropagation()}),l&&tec_debug.info("TEC Debug: tribe-events-bar.js successfully loaded")})}(window,document,jQuery,tribe_ev.data,tribe_ev.events,tribe_ev.fn,tribe_ev.state,tribe_ev.tests,tribe_debug);
src/resources/js/tribe-events.js CHANGED
@@ -1711,13 +1711,13 @@ Date.prototype.format = function( mask, utc ) {
1711
 
1712
  tribe_ical_url();
1713
 
1714
- $( window )
1715
- .resize( function() {
1716
-
1717
  clearTimeout( resize_timer );
1718
  resize_timer = setTimeout( tf.execute_resize, 200 );
1719
-
1720
- } );
1721
 
1722
  // @ifdef DEBUG
1723
  if ( dbug ) {
1711
 
1712
  tribe_ical_url();
1713
 
1714
+ $( window ).on(
1715
+ 'resize',
1716
+ function() {
1717
  clearTimeout( resize_timer );
1718
  resize_timer = setTimeout( tf.execute_resize, 200 );
1719
+ }
1720
+ );
1721
 
1722
  // @ifdef DEBUG
1723
  if ( dbug ) {
src/resources/js/tribe-events.min.js CHANGED
@@ -1 +1 @@
1
- var tribe_storage,t_fail,t_uid,tribe_ev=window.tribe_ev||{},tribe_debug=tribe_js_config.debug;window.tec_debug=function(){for(var e,t,a=this,r=Array.prototype.slice,i=a.console,n={},o=9,s=["error","warn","info","debug","log"],d="assert clear count dir dirxml exception group groupCollapsed groupEnd profile profileEnd table time timeEnd trace".split(" "),l=d.length,m=[];--l>=0;)!function(e){n[e]=function(){0!==o&&i&&i[e]&&i[e].apply(i,arguments)}}(d[l]);for(l=s.length;--l>=0;)!function(e,t){n[t]=function(){var n=r.call(arguments),o=[t].concat(n);m.push(o),c(o),i&&b(e)&&(i.firebug?i[t].apply(a,n):i[t]?i[t](n):i.log(n))}}(l,s[l]);function c(r){!e||!t&&i&&i.log||e.apply(a,r)}function b(e){return o>0?o>e:s.length+o<=e}return n.setLevel=function(e){o="number"==typeof e?e:9},n.setCallback=function(){var a=r.call(arguments),i=m.length,n=i;for(e=a.shift()||null,t="boolean"==typeof a[0]&&a.shift(),n-="number"==typeof a[0]?a.shift():i;n<i;)c(m[n++])},n}(),Object.prototype.hasOwnProperty.call(window,"tribe_ev")&&(tribe_ev.diagnostics={init:[]});try{t_uid=new Date,(tribe_storage=window.localStorage).setItem(t_uid,t_uid),t_fail=tribe_storage.getItem(t_uid)!=t_uid,tribe_storage.removeItem(t_uid),t_fail&&(tribe_storage=!1)}catch(e){tribe_storage=!1}var tribeDateFormat=function(){var e=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,t=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,a=/[^-+\dA-Z]/g,r=function(e,t){for(e=String(e),t=t||2;e.length<t;)e="0"+e;return e};return function(i,n,o){var s=tribeDateFormat;1!=arguments.length||"[object String]"!=Object.prototype.toString.call(i)||/\d/.test(i)||(n=i,i=void 0);let d=0;"string"==typeof i&&(d=(i.replace(/\//g,"-").match(/[\.\-\/]/g)||[]).length),n=n||"0";let l=tribeDateFormat.masks[n]||"yyyy-mm-dd";if(theMoment=i?moment(i,l.toUpperCase()):moment(),nowMoment=moment(),2>d&&(theMoment.month()===nowMoment.month()?theMoment=theMoment.date(nowMoment.date()):theMoment=theMoment.date(1)),i=theMoment.toDate(),!isNaN(i)){"UTC:"==(n=String(s.masks[n]||n||s.masks.default)).slice(0,4)&&(n=n.slice(4),o=!0);var m=o?"getUTC":"get",c=i[m+"Date"](),b=i[m+"Day"](),u=i[m+"Month"](),y=i[m+"FullYear"](),_=i[m+"Hours"](),v=i[m+"Minutes"](),p=i[m+"Seconds"](),f=i[m+"Milliseconds"](),h=o?0:i.getTimezoneOffset(),g={d:c,dd:r(c),ddd:s.i18n.dayNames[b],dddd:s.i18n.dayNames[b+7],m:u+1,mm:r(u+1),mmm:s.i18n.monthNames[u],mmmm:s.i18n.monthNames[u+12],yy:String(y).slice(2),yyyy:y,h:_%12||12,hh:r(_%12||12),H:_,HH:r(_),M:v,MM:r(v),s:p,ss:r(p),l:r(f,3),L:r(f>99?Math.round(f/10):f),t:_<12?"a":"p",tt:_<12?"am":"pm",T:_<12?"A":"P",TT:_<12?"AM":"PM",Z:o?"UTC":(String(i).match(t)||[""]).pop().replace(a,""),o:(h>0?"-":"+")+r(100*Math.floor(Math.abs(h)/60)+Math.abs(h)%60,4),S:["th","st","nd","rd"][c%10>3?0:(c%100-c%10!=10)*c%10]};return n.replace(e,function(e){return e in g?g[e]:e.slice(1,e.length-1)})}}}();tribeDateFormat.masks={default:"ddd mmm dd yyyy HH:MM:ss",tribeQuery:"yyyy-mm-dd",tribeMonthQuery:"yyyy-mm",0:"yyyy-mm-dd",1:"m/d/yyyy",2:"mm/dd/yyyy",3:"d/m/yyyy",4:"dd/mm/yyyy",5:"m-d-yyyy",6:"mm-dd-yyyy",7:"d-m-yyyy",8:"dd-mm-yyyy",9:"yyyy.mm.dd",10:"mm.dd.yyyy",11:"dd.mm.yyyy",m0:"yyyy-mm",m1:"m/yyyy",m2:"mm/yyyy",m3:"m/yyyy",m4:"mm/yyyy",m5:"m-yyyy",m6:"mm-yyyy",m7:"m-yyyy",m8:"mm-yyyy",m9:"yyyy.mm",m10:"mm.yyyy",m11:"mm.yyyy"},tribeDateFormat.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};var tribeUtils={getQueryVars:function(e){var t={};return(e=e||location).search.substr(1).split("&").forEach(function(e){t[e.split("=")[0]]=e.split("=")[1]}),t},getMomentFromDate:function(e,t){return"function"==typeof e.isMoment?e:"function"==typeof e.getMonth?moment(e):void 0===tribeDateFormat.masks[t]?moment(e):e?moment(e,tribeDateFormat.masks[t].toUpperCase()):moment()},formatMoment:function(e,t){return void 0===tribeDateFormat.masks[t]?e.format(tribeDateFormat.masks[0]):e.format(tribeDateFormat.masks[t].toUpperCase())},formatDateWithMoment:function(e,t,a){return"function"!=typeof e.isMoment&&(e=void 0!==a?tribeUtils.getMomentFromDate(e,a):tribeUtils.getMomentFromDate(e)),tribeUtils.formatMoment(e,t)},maybeAlterMonthViewDate:function(e,t){let a=0;"string"==typeof e&&(a=(e.replace(/[\/\.]/g,"-").match(/[\.\-\/]/g)||[]).length);let r=tribeUtils.getMomentFromDate(e,t),i=moment();return 2>a&&(r=r.month()===i.month()?r.date(i.date()):r.date(1)),r},getInitialDateInfo:function(e,t,a){let r=tribe_ev.fn.get_url_param("tribe-bar-date")||jQuery(document.getElementById("tribe-bar-date-day")).val(),i=null;void 0!==r&&r?i=tribeUtils.getMomentFromDate(r):(r=jQuery(document.getElementById("tribe-bar-date")).val()||moment().format(t.toUpperCase()),i=tribeUtils.getMomentFromDate(r,e)),!0===a&&(i=tribeUtils.maybeAlterMonthViewDate(i));let n=tribeUtils.formatMoment(i,e);return{formatMaskKey:e,initialDate:r,dateMoment:i,dateFormat:t,defaultFormattedDate:tribeUtils.formatMoment(i,"tribeQuery"),formattedDate:n}}};Date.prototype.format=function(e,t){return tribeDateFormat(this,e,t)},function(){function e(e,t){var a,r,i,n,o,s,d,l=arguments.callee;return l.cache[e]||(l.cache[e]=(a=e,r=/^[\w\-]+$/.test(e)?l.get(e):(a="template(string)",e),i=1,n=("try { "+(l.variable?"var "+l.variable+" = this.stash;":"with (this.stash) { ")+"this.ret += '"+r.replace(/\[\[/g,"").replace(/\]\]/g,"").replace(/'(?![^\x11\x13]+?\x13)/g,"\\x27").replace(/^\s*|\s*$/g,"").replace(/\n/g,function(){return"';\nthis.line = "+ ++i+"; this.ret += '\\n"}).replace(/\x11=raw(.+?)\x13/g,"' + ($1) + '").replace(/\x11=(.+?)\x13/g,"' + this.escapeHTML($1) + '").replace(/\x11(.+?)\x13/g,"'; $1; this.ret += '")+"'; "+(l.variable?"":"}")+"return this.ret;} catch (e) { throw 'TemplateError: ' + e + ' (on "+a+"' + ' line ' + this.line + ')'; } //@ sourceURL="+a+"\n").replace(/this\.ret \+= '';/g,""),o=new Function(n),s={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&#x22;","'":"&#x27;"},d=function(e){return(""+e).replace(/[&<>\'\"]/g,function(e){return s[e]})},function(e){return o.call(l.context={escapeHTML:d,line:1,ret:"",stash:e})})),t?l.cache[e](t):l.cache[e]}function t(t,a){var r=function(a){return a.include=function(t,a){var r={};for(var i in e.context.stash)e.context.stash.hasOwnProperty(i)&&(r[i]=e.context.stash[i]);if(a)for(var i in a)a.hasOwnProperty(i)&&(r[i]=a[i]);var n=e.context;n.ret+=e(t,r),e.context=n},a.wrapper=function(t,a){var r=e.context.ret;e.context.ret="",a.apply(e.context);var i=e.context.ret,n=e.context.stash.content;e.context.stash.content=i,e.context.ret=r+e(t,e.context.stash),e.context.stash.content=n},e(t,a)};return a?r(a):r}e.cache={},e.get=function(e){return document.getElementById(e).innerHTML},e.get=function(e){var a=t.get;return a?a(e):document.getElementById(e).innerHTML},this.tribe_tmpl=e,this.tribe_tmpl_extended=t}(),function(e,t){if(e.fn.tribe_clear_form=function(){return this.each(function(){var t=this.type,a=this.tagName.toLowerCase();if("form"==a)return e(":input",this).tribe_clear_form();"text"==t||"password"==t||"textarea"==a?this.value="":"checkbox"==t||"radio"==t?this.checked=!1:"select"==a&&(this.selectedIndex=0)})},e.fn.tribe_has_attr=function(e){return void 0!==this.attr(e)},e.fn.tribe_spin=function(){e(".tribe-events-ajax-loading:first").clone().addClass("tribe-events-active-spinner").prependTo(document.getElementById("tribe-events-content")),e(this).addClass("tribe-events-loading").css("opacity",.25)},void 0!==e.fn.datepicker&&void 0!==e.fn.datepicker.noConflict){var a=e.fn.datepicker.noConflict();e.fn.bootstrapDatepicker=a}"undefined"!=typeof tribe_bootstrap_datepicker_strings&&null!=tribe_bootstrap_datepicker_strings.dates&&(e.fn.bootstrapDatepicker.dates.en=tribe_bootstrap_datepicker_strings.dates)}(jQuery),function(e,t,a,r,i,n){tribe_ev.fn={current_date:function(){var e=new Date,t=e.getDate(),a=e.getMonth()+1;return t<10&&(t="0"+t),a<10&&(a="0"+a),e.getFullYear()+"-"+a+"-"+t},disable_inputs:function(e,t){a(e).find(t).prop("disabled",!0),a(e).find(".select2-container").length&&a(e).find(".select2-container").each(function(){var e=a(this).attr("id");a("#"+e).select2("disable")})},disable_empty:function(e,t){a(e).find(t).each(function(){""===a(this).val()&&a(this).prop("disabled",!0)})},enable_inputs:function(e,t){a(e).find(t).prop("disabled",!1),a(e).find(".select2-container").length&&a(e).find(".select2-container").each(function(){var e=a(this).attr("id");a("#"+e).select2("enable")})},ensure_datepicker_i18n:function(){if(void 0!==a.fn.bootstrapDatepicker){var t=(e.tribe_l10n_datatables||{}).datepicker||{};a.fn.bootstrapDatepicker.dates.en.days=t.dayNames,a.fn.bootstrapDatepicker.dates.en.daysShort=t.dayNamesShort,a.fn.bootstrapDatepicker.dates.en.daysMin=t.dayNamesMin,a.fn.bootstrapDatepicker.dates.en.months=t.monthNames,t.monthNamesMin&&(a.fn.bootstrapDatepicker.dates.en.monthsShort=t.monthNamesMin),a.fn.bootstrapDatepicker.dates.en.today=t.today,a.fn.bootstrapDatepicker.dates.en.clear=t.clear}},execute_resize:function(){var e=tribe_ev.data.v_width;tribe_ev.fn.update_viewport_variables(),e!==tribe_ev.data.v_width&&(tribe_ev.fn.mobile_class(),a(tribe_ev.events).trigger("tribe_ev_resizeComplete"),a(tribe_ev.events).trigger("resize-complete.tribe"))},get_base_url:function(){var r=a(t.getElementById("tribe-events-header")),i=a('link[rel="canonical"]');return i.length?i.attr("href"):r.length?r.data("baseurl"):e.location.origin+e.location.path},update_base_url:function(e){var r=a(t.getElementById("tribe-events-header")),i=a('link[rel="canonical"]');i.length?i.attr("href",e):r.length&&r.data("baseurl",e).attr("data-baseurl",e)},get_category:function(){return tribe_ev.fn.is_category()?a(t.getElementById("tribe-events")).data("category"):""},get_day:function(){var e="";return a(t.getElementById("tribe-bar-date")).length&&(e=a(t.getElementById("tribe-bar-date-day")).val()),r&&tec_debug.info('TEC Debug: tribe_ev.fn.get_day returned this date: "'+e+'".'),e},get_params:function(){return location.search.substr(1)},get_url_param:function(e){return decodeURIComponent((new RegExp("[?|&]"+e+"=([^&;]+?)(&|#|;|$)").exec(location.search)||[,""])[1].replace(/\+/g,"%20"))||null},in_params:function(e,t){return e.toLowerCase().indexOf(t)},invalid_date:function(e){return e=new Date(e),isNaN(e)},invalid_date_in_params:function(e){if(e.hasOwnProperty("tribe-bar-date")){var t=new Date(e["tribe-bar-date"]);return isNaN(t)}return!1},is_category:function(){var e=a(t.getElementById("tribe-events"));return!(!e.length||!e.tribe_has_attr("data-category")||""===e.data("category"))},is_featured:function(){return"1"==a(t.getElementById("tribe-events")).data("featured")},mobile_class:function(){var e=a("body");tribe_ev.data.v_width<=tribe_ev.data.mobile_break?e.addClass("tribe-mobile"):e.removeClass("tribe-mobile")},maybe_default_view_change:function(){if(tribe_ev.data.redirected_view||!tribe_ev.data.default_view||!tribe_ev.data.default_mobile_view||tribe_ev.data.default_view==tribe_ev.data.default_mobile_view||!tribe_ev.state.view||tribe_ev.data.default_mobile_view==tribe_ev.state.view)return!1;if(!a("body").hasClass("tribe-mobile"))return!1;var e=a(".tribe-bar-views-option"),t="#tribe-bar-views-option-"+tribe_ev.data.default_mobile_view,r=e.filter(t);a(t).data("redirected",!0),r.trigger("click")},parse_string:function(e){var t={};return e.replace(/([^&=]+)=?([^&]*)(?:&+|$)/g,function(e,a,r){(t[a]=t[a]||[]).push(r)}),r&&tec_debug.info("TEC Debug: tribe_ev.fn.parse_string returned this map:",t),t},pre_ajax:function(e){e&&"function"==typeof e&&e()},scroll_to:function(e,t,r){a("html, body").stop().animate({scrollTop:a(e).offset().top-t},{duration:r})},serialize:function(e,t){tribe_ev.fn.enable_inputs(e,t),tribe_ev.fn.disable_empty(e,t);var i=a(e).serialize();return tribe_ev.fn.disable_inputs(e,t),r&&i&&tec_debug.info('TEC Debug: tribe_ev.fn.serialize returned these params: "'+i),i},set_form:function(e){var i=a("body"),n=a(t.getElementById("tribe-bar-form"));i.addClass("tribe-reset-on"),n.length&&n.tribe_clear_form(),e=tribe_ev.fn.parse_string(e),a.each(e,function(e,t){if("action"!==e){var r=decodeURIComponent(e),i="";if(1===t.length)Array.isArray(t)&&(t=t[0]),t=decodeURIComponent(t.replace(/\+/g,"%20")),a('[name="'+r+'"]').is('input[type="text"], input[type="hidden"]')?a('[name="'+r+'"]').val(t):a('[name="'+r+'"][value="'+t+'"]').is(":checkbox, :radio")?a('[name="'+r+'"][value="'+t+'"]').prop("checked",!0):a('[name="'+r+'"]').is("select")&&a('select[name="'+r+'"] option[value="'+t+'"]').attr("selected",!0);else for(var n=0;n<t.length;n++)(i=a('[name="'+r+'"][value="'+t[n]+'"]')).is(":checkbox, :radio")?i.prop("checked",!0):a('select[name="'+r+'"] option[value="'+t[n]+'"]').attr("selected",!0)}}),i.removeClass("tribe-reset-on"),r&&tec_debug.info('TEC Debug: tribe_ev.fn.set_form fired these params: "'+e)},setup_ajax_timer:function(e){clearTimeout(tribe_ev.state.ajax_timer),tribe_ev.tests.reset_on()||(tribe_ev.state.ajax_timer=setTimeout(function(){e()},500),r&&tec_debug.info('TEC Debug: tribe_ev.fn.setup_ajax_timer fired with a timeout of "500" ms'))},snap:function(e,t,r){a(t).on("click",r,function(t){t.preventDefault(),a("html, body").animate({scrollTop:a(e).offset().top-120},{duration:0})})},tooltips:function(){var r=a(t.getElementById("tribe-events")),i=a("body"),n=r.hasClass("tribe-events-shortcode"),o=r.hasClass("view-month")||i.hasClass("events-gridview"),s=r.hasClass("view-week")||i.hasClass("tribe-events-week"),d=r.hasClass("view-photo")||i.hasClass("tribe-events-photo"),l=r.hasClass("view-day")||i.hasClass("tribe-events-day"),m=r.hasClass("view-list")||i.hasClass("events-list"),c=(r.hasClass("view-map")||i.hasClass("tribe-events-map"),i.hasClass("single-tribe_events"));r.on("mouseenter",'div[id*="tribe-events-event-"], div.event-is-recurring',function(){var t,r=0,i=a(this);if(o?r=i.find("a").outerHeight()+16:c||l||m?r=i.outerHeight()+12:d&&(r=i.outerHeight()+10),i.parents(".tribe-events-calendar-widget").length&&(r=i.outerHeight()-6),!s||n)if(o||n){if(!(t=i.find(".tribe-events-tooltip")).length){var b=i.data("tribejson");"string"==typeof b&&(b=a.parseJSON(b));var u=i.hasClass("tribe-event-featured")?"tribe_tmpl_tooltip_featured":"tribe_tmpl_tooltip";i.append(tribe_tmpl(u,b)),t=i.find(".tribe-events-tooltip")}var y=i.offset().top-(a(e).scrollTop()+50),_=t.outerHeight();y<_&&(r=-_,t.addClass("tribe-events-tooltip-flipdown")),t.css("bottom",r).stop(!0,!1).show()}else i.find(".tribe-events-tooltip").css("bottom",r).stop(!0,!1).show()}).on("mouseleave",'div[id*="tribe-events-event-"], div[id*="tribe-events-daynum-"]:has(a), div.event-is-recurring',function(){var e=a(this).find(".tribe-events-tooltip");e.stop(!0,!1).fadeOut(500,function(){e.removeClass("tribe-events-tooltip-flipdown")})})},update_picker:function(i){var n=a("#tribe-bar-date");a().bootstrapDatepicker&&n.length?(tribe_ev.state.updating_picker=!0,e.attachEvent&&!e.addEventListener&&(n.bootstrapDatepicker("remove"),n.val(""),n.bootstrapDatepicker(tribe_ev.data.datepicker_opts)),n.bootstrapDatepicker("setDate",moment(i).toDate()),a(t.getElementById("tribe-bar-date-day")).val(tribeUtils.formatDateWithMoment(i,"tribeQuery")),tribe_ev.state.updating_picker=!1,r&&tec_debug.info('TEC Debug: tribe_ev.fn.update_picker sent "'+i+'" to the boostrapDatepicker')):n.length?(n.val(i),r&&tec_debug.warn('TEC Debug: tribe_ev.fn.update_picker sent "'+i+'" to '+n)):r&&tec_debug.warn('TEC Debug: tribe_ev.fn.update_picker couldnt send "'+i+'" to any object.')},update_viewport_variables:function(){tribe_ev.data.v_height=a(e).height(),tribe_ev.data.v_width=a(e).width()},url_path:function(e){return e.split("?")[0]},equal_height:function(e){var t=0;e.css("height","auto"),e.each(function(){var e=a(this).outerHeight();e>t&&(t=e)}),setTimeout(function(){e.css("height",t)},100)}},tribe_ev.tests={live_ajax:function(){var e=a(t.getElementById("tribe-events"));return!(!e.length||!e.tribe_has_attr("data-live_ajax")||"1"!=e.data("live_ajax"))},map_view:function(){return"undefined"!=typeof GeoLoc&&GeoLoc.map_view},no_bar:function(){return a("body").is(".tribe-bar-is-disabled")},pushstate:!(!e.history||!history.pushState),reset_on:function(){return a("body").is(".tribe-reset-on")},starting_delim:function(){return-1!=tribe_ev.state.cur_url.indexOf("?")?"&":"?"},webkit:"WebkitAppearance"in t.documentElement.style},tribe_ev.data={ajax_response:{},base_url:"",cur_url:tribe_ev.fn.url_path(t.URL),cur_date:tribe_ev.fn.current_date(),datepicker_formats:{main:["yyyy-mm-dd","m/d/yyyy","mm/dd/yyyy","d/m/yyyy","dd/mm/yyyy","m-d-yyyy","mm-dd-yyyy","d-m-yyyy","dd-mm-yyyy","yyyy.mm.dd","mm.dd.yyyy","dd.mm.yyyy"],month:["yyyy-mm","m/yyyy","mm/yyyy","m/yyyy","mm/yyyy","m-yyyy","mm-yyyy","m-yyyy","mm-yyyy","yyyy.mm","mm.yyyy","mm.yyyy"]},datepicker_opts:{},default_permalinks:!i.permalink_settings.length,initial_url:tribe_ev.fn.url_path(t.URL),mobile_break:768,default_mobile_view:null,redirected_view:null,default_view:null,params:tribe_ev.fn.get_params(),v_height:0,v_width:0},tribe_ev.events={},tribe_ev.state={ajax_running:!1,ajax_timer:0,ajax_trigger:"",category:"",date:"",datepicker_format:"0",do_string:!1,featured:!1,filters:!1,filter_cats:!1,initial_load:!0,mdate:"",paged:1,page_title:"",params:{},popping:!1,pushstate:!0,pushcount:0,recurrence:!1,updating_picker:!1,url_params:{},view:"",view_target:""}}(window,document,jQuery,tribe_debug,tribe_js_config),function(e,t,a,r,i,n,o,s,d){a(t).ready(function(){d&&tec_debug.info("TEC Debug: Tribe Events JS init, Init Timer started from tribe-events.js."),n.update_viewport_variables();var l,m=a("body"),c=a(t.getElementById("tribe-events")),b=(a(t.getElementById("tribe-events-content")),a(t.getElementById("tribe-events-header")));c.removeClass("tribe-no-js"),o.category=n.get_category(),r.base_url=n.get_base_url(),o.page_title=t.title;var u=n.get_url_param("tribe_event_display");if(u?o.view=u:b.length&&b.tribe_has_attr("data-view")&&(o.view=b.data("view")),c.tribe_has_attr("data-datepicker_format")&&c.attr("data-datepicker_format").length>=1&&(o.datepicker_format=c.attr("data-datepicker_format")),o.view&&d&&tec_debug.time("Tribe JS Init Timer"),a(i).on("tribe_ev_collectParams",function(){if(void 0!==tribe_ev.state&&void 0!==tribe_ev.state.params&&(-1!==tribe_ev.fn.in_params(tribe_ev.state.params,"eventdate")||-1!==tribe_ev.fn.in_params(tribe_ev.state.params,"tribe_event_display"))&&a(t.getElementById("tribe-events")).is(".tribe-events-shortcode")){var i=a(t.getElementById("tribe-events-header")),n=a('link[rel="canonical"]'),s=null;if(s=n.length?n.attr("href"):i.length?i.data("baseurl"):e.location.origin+e.location.path,tribe_ev.state.params+="&baseurl="+s,i.length){var d=/tribe_events_cat=([^&]*)/gi.exec(i.data("baseurl"));if(d=d&&void 0!==d[1]?d[1]:null){var l=new RegExp("tribe_event_category="+d);tribe_ev.state.params.match(l)||(tribe_ev.state.params+="&tribe_event_category="+d),"string"!=typeof tribe_ev.state.url_params||tribe_ev.state.url_params.match(l)||(tribe_ev.state.url_params+="&tribe_event_category="+d)}}"month"!==o.view||a("#tribe-events-bar").length||(r.default_permalinks?tribe_ev.state.url_params+="tribe-bar-date="+tribeDateFormat(o.mdate,"tribeMonthQuery"):o.url_params="tribe-bar-date="+tribeDateFormat(o.mdate,"tribeMonthQuery"))}}),c.length){var y=c.tribe_has_attr("data-mobilebreak");(y=!1===y?c.find("[data-mobilebreak]").eq(0):c).length&&(r.mobile_break=parseInt(y.data("mobilebreak"),10));var _=c.tribe_has_attr("data-default-mobile-view");(_=!1===_?c.find("[data-default-mobile-view]").eq(0):c).length&&(r.default_mobile_view=_.data("defaultMobileView"),r.default_view=_.data("defaultView"),r.redirected_view=_.data("redirectedView"))}function v(){a(".tribe-events-list").length&&a(".tribe-events-list-separator-month").prev(".vevent").addClass("tribe-event-end-month")}function p(){var e=!0;if(void 0!==tribe_js_config.force_filtered_ical_link&&(e=!tribe_js_config.force_filtered_ical_link),e){var r=t.URL,i="?";r.indexOf("?")>0&&(i="&");var n=r+i+"ical=1&tribe_display="+o.view;a("a.tribe-events-ical").attr("href",n)}}c.length&&r.mobile_break>0&&m.addClass("tribe-is-responsive"),a(".tribe-events-calendar-widget").not(":eq(0)").hide(),n.tooltips(),n.mobile_class(),v(),a(".tribe-events-list .tribe-events-notices").length&&a("#tribe-events-header .tribe-events-sub-nav").empty(),a(".tribe-events-list").length&&a(".tribe-events-list-separator-month").prev(".vevent").addClass("tribe-event-end-month"),a(i).on("tribe_ev_ajaxSuccess",function(){a(".tribe-events-active-spinner").remove(),v()}),a(i).on("tribe_ev_ajaxSuccess",function(){p()}),p(),a(e).resize(function(){clearTimeout(l),l=setTimeout(n.execute_resize,200)}),d&&(tec_debug.groupCollapsed("TEC Debug: Browser and events settings information:"),tec_debug.log('User agent reported as: "'+navigator.userAgent),tec_debug.log('Live ajax returned its state as: "'+s.live_ajax()),o.view&&tec_debug.log('Tribe js detected the view to be: "'+o.view),tec_debug.log('Supports pushstate: "'+s.pushstate),tec_debug.groupEnd(),tec_debug.info("TEC Debug: tribe-events.js successfully loaded"))})}(window,document,jQuery,tribe_ev.data,tribe_ev.events,tribe_ev.fn,tribe_ev.state,tribe_ev.tests,tribe_debug);
1
+ var tribe_storage,t_fail,t_uid,tribe_ev=window.tribe_ev||{},tribe_debug=tribe_js_config.debug;window.tec_debug=function(){for(var e,t,a=this,r=Array.prototype.slice,i=a.console,n={},o=9,s=["error","warn","info","debug","log"],d="assert clear count dir dirxml exception group groupCollapsed groupEnd profile profileEnd table time timeEnd trace".split(" "),l=d.length,m=[];--l>=0;)!function(e){n[e]=function(){0!==o&&i&&i[e]&&i[e].apply(i,arguments)}}(d[l]);for(l=s.length;--l>=0;)!function(e,t){n[t]=function(){var n=r.call(arguments),o=[t].concat(n);m.push(o),c(o),i&&b(e)&&(i.firebug?i[t].apply(a,n):i[t]?i[t](n):i.log(n))}}(l,s[l]);function c(r){!e||!t&&i&&i.log||e.apply(a,r)}function b(e){return o>0?o>e:s.length+o<=e}return n.setLevel=function(e){o="number"==typeof e?e:9},n.setCallback=function(){var a=r.call(arguments),i=m.length,n=i;for(e=a.shift()||null,t="boolean"==typeof a[0]&&a.shift(),n-="number"==typeof a[0]?a.shift():i;n<i;)c(m[n++])},n}(),Object.prototype.hasOwnProperty.call(window,"tribe_ev")&&(tribe_ev.diagnostics={init:[]});try{t_uid=new Date,(tribe_storage=window.localStorage).setItem(t_uid,t_uid),t_fail=tribe_storage.getItem(t_uid)!=t_uid,tribe_storage.removeItem(t_uid),t_fail&&(tribe_storage=!1)}catch(e){tribe_storage=!1}var tribeDateFormat=function(){var e=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,t=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,a=/[^-+\dA-Z]/g,r=function(e,t){for(e=String(e),t=t||2;e.length<t;)e="0"+e;return e};return function(i,n,o){var s=tribeDateFormat;1!=arguments.length||"[object String]"!=Object.prototype.toString.call(i)||/\d/.test(i)||(n=i,i=void 0);let d=0;"string"==typeof i&&(d=(i.replace(/\//g,"-").match(/[\.\-\/]/g)||[]).length),n=n||"0";let l=tribeDateFormat.masks[n]||"yyyy-mm-dd";if(theMoment=i?moment(i,l.toUpperCase()):moment(),nowMoment=moment(),2>d&&(theMoment.month()===nowMoment.month()?theMoment=theMoment.date(nowMoment.date()):theMoment=theMoment.date(1)),i=theMoment.toDate(),!isNaN(i)){"UTC:"==(n=String(s.masks[n]||n||s.masks.default)).slice(0,4)&&(n=n.slice(4),o=!0);var m=o?"getUTC":"get",c=i[m+"Date"](),b=i[m+"Day"](),u=i[m+"Month"](),y=i[m+"FullYear"](),_=i[m+"Hours"](),v=i[m+"Minutes"](),p=i[m+"Seconds"](),f=i[m+"Milliseconds"](),h=o?0:i.getTimezoneOffset(),g={d:c,dd:r(c),ddd:s.i18n.dayNames[b],dddd:s.i18n.dayNames[b+7],m:u+1,mm:r(u+1),mmm:s.i18n.monthNames[u],mmmm:s.i18n.monthNames[u+12],yy:String(y).slice(2),yyyy:y,h:_%12||12,hh:r(_%12||12),H:_,HH:r(_),M:v,MM:r(v),s:p,ss:r(p),l:r(f,3),L:r(f>99?Math.round(f/10):f),t:_<12?"a":"p",tt:_<12?"am":"pm",T:_<12?"A":"P",TT:_<12?"AM":"PM",Z:o?"UTC":(String(i).match(t)||[""]).pop().replace(a,""),o:(h>0?"-":"+")+r(100*Math.floor(Math.abs(h)/60)+Math.abs(h)%60,4),S:["th","st","nd","rd"][c%10>3?0:(c%100-c%10!=10)*c%10]};return n.replace(e,function(e){return e in g?g[e]:e.slice(1,e.length-1)})}}}();tribeDateFormat.masks={default:"ddd mmm dd yyyy HH:MM:ss",tribeQuery:"yyyy-mm-dd",tribeMonthQuery:"yyyy-mm",0:"yyyy-mm-dd",1:"m/d/yyyy",2:"mm/dd/yyyy",3:"d/m/yyyy",4:"dd/mm/yyyy",5:"m-d-yyyy",6:"mm-dd-yyyy",7:"d-m-yyyy",8:"dd-mm-yyyy",9:"yyyy.mm.dd",10:"mm.dd.yyyy",11:"dd.mm.yyyy",m0:"yyyy-mm",m1:"m/yyyy",m2:"mm/yyyy",m3:"m/yyyy",m4:"mm/yyyy",m5:"m-yyyy",m6:"mm-yyyy",m7:"m-yyyy",m8:"mm-yyyy",m9:"yyyy.mm",m10:"mm.yyyy",m11:"mm.yyyy"},tribeDateFormat.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};var tribeUtils={getQueryVars:function(e){var t={};return(e=e||location).search.substr(1).split("&").forEach(function(e){t[e.split("=")[0]]=e.split("=")[1]}),t},getMomentFromDate:function(e,t){return"function"==typeof e.isMoment?e:"function"==typeof e.getMonth?moment(e):void 0===tribeDateFormat.masks[t]?moment(e):e?moment(e,tribeDateFormat.masks[t].toUpperCase()):moment()},formatMoment:function(e,t){return void 0===tribeDateFormat.masks[t]?e.format(tribeDateFormat.masks[0]):e.format(tribeDateFormat.masks[t].toUpperCase())},formatDateWithMoment:function(e,t,a){return"function"!=typeof e.isMoment&&(e=void 0!==a?tribeUtils.getMomentFromDate(e,a):tribeUtils.getMomentFromDate(e)),tribeUtils.formatMoment(e,t)},maybeAlterMonthViewDate:function(e,t){let a=0;"string"==typeof e&&(a=(e.replace(/[\/\.]/g,"-").match(/[\.\-\/]/g)||[]).length);let r=tribeUtils.getMomentFromDate(e,t),i=moment();return 2>a&&(r=r.month()===i.month()?r.date(i.date()):r.date(1)),r},getInitialDateInfo:function(e,t,a){let r=tribe_ev.fn.get_url_param("tribe-bar-date")||jQuery(document.getElementById("tribe-bar-date-day")).val(),i=null;void 0!==r&&r?i=tribeUtils.getMomentFromDate(r):(r=jQuery(document.getElementById("tribe-bar-date")).val()||moment().format(t.toUpperCase()),i=tribeUtils.getMomentFromDate(r,e)),!0===a&&(i=tribeUtils.maybeAlterMonthViewDate(i));let n=tribeUtils.formatMoment(i,e);return{formatMaskKey:e,initialDate:r,dateMoment:i,dateFormat:t,defaultFormattedDate:tribeUtils.formatMoment(i,"tribeQuery"),formattedDate:n}}};Date.prototype.format=function(e,t){return tribeDateFormat(this,e,t)},function(){function e(e,t){var a,r,i,n,o,s,d,l=arguments.callee;return l.cache[e]||(l.cache[e]=(a=e,r=/^[\w\-]+$/.test(e)?l.get(e):(a="template(string)",e),i=1,n=("try { "+(l.variable?"var "+l.variable+" = this.stash;":"with (this.stash) { ")+"this.ret += '"+r.replace(/\[\[/g,"").replace(/\]\]/g,"").replace(/'(?![^\x11\x13]+?\x13)/g,"\\x27").replace(/^\s*|\s*$/g,"").replace(/\n/g,function(){return"';\nthis.line = "+ ++i+"; this.ret += '\\n"}).replace(/\x11=raw(.+?)\x13/g,"' + ($1) + '").replace(/\x11=(.+?)\x13/g,"' + this.escapeHTML($1) + '").replace(/\x11(.+?)\x13/g,"'; $1; this.ret += '")+"'; "+(l.variable?"":"}")+"return this.ret;} catch (e) { throw 'TemplateError: ' + e + ' (on "+a+"' + ' line ' + this.line + ')'; } //@ sourceURL="+a+"\n").replace(/this\.ret \+= '';/g,""),o=new Function(n),s={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&#x22;","'":"&#x27;"},d=function(e){return(""+e).replace(/[&<>\'\"]/g,function(e){return s[e]})},function(e){return o.call(l.context={escapeHTML:d,line:1,ret:"",stash:e})})),t?l.cache[e](t):l.cache[e]}function t(t,a){var r=function(a){return a.include=function(t,a){var r={};for(var i in e.context.stash)e.context.stash.hasOwnProperty(i)&&(r[i]=e.context.stash[i]);if(a)for(var i in a)a.hasOwnProperty(i)&&(r[i]=a[i]);var n=e.context;n.ret+=e(t,r),e.context=n},a.wrapper=function(t,a){var r=e.context.ret;e.context.ret="",a.apply(e.context);var i=e.context.ret,n=e.context.stash.content;e.context.stash.content=i,e.context.ret=r+e(t,e.context.stash),e.context.stash.content=n},e(t,a)};return a?r(a):r}e.cache={},e.get=function(e){return document.getElementById(e).innerHTML},e.get=function(e){var a=t.get;return a?a(e):document.getElementById(e).innerHTML},this.tribe_tmpl=e,this.tribe_tmpl_extended=t}(),function(e,t){if(e.fn.tribe_clear_form=function(){return this.each(function(){var t=this.type,a=this.tagName.toLowerCase();if("form"==a)return e(":input",this).tribe_clear_form();"text"==t||"password"==t||"textarea"==a?this.value="":"checkbox"==t||"radio"==t?this.checked=!1:"select"==a&&(this.selectedIndex=0)})},e.fn.tribe_has_attr=function(e){return void 0!==this.attr(e)},e.fn.tribe_spin=function(){e(".tribe-events-ajax-loading:first").clone().addClass("tribe-events-active-spinner").prependTo(document.getElementById("tribe-events-content")),e(this).addClass("tribe-events-loading").css("opacity",.25)},void 0!==e.fn.datepicker&&void 0!==e.fn.datepicker.noConflict){var a=e.fn.datepicker.noConflict();e.fn.bootstrapDatepicker=a}"undefined"!=typeof tribe_bootstrap_datepicker_strings&&null!=tribe_bootstrap_datepicker_strings.dates&&(e.fn.bootstrapDatepicker.dates.en=tribe_bootstrap_datepicker_strings.dates)}(jQuery),function(e,t,a,r,i,n){tribe_ev.fn={current_date:function(){var e=new Date,t=e.getDate(),a=e.getMonth()+1;return t<10&&(t="0"+t),a<10&&(a="0"+a),e.getFullYear()+"-"+a+"-"+t},disable_inputs:function(e,t){a(e).find(t).prop("disabled",!0),a(e).find(".select2-container").length&&a(e).find(".select2-container").each(function(){var e=a(this).attr("id");a("#"+e).select2("disable")})},disable_empty:function(e,t){a(e).find(t).each(function(){""===a(this).val()&&a(this).prop("disabled",!0)})},enable_inputs:function(e,t){a(e).find(t).prop("disabled",!1),a(e).find(".select2-container").length&&a(e).find(".select2-container").each(function(){var e=a(this).attr("id");a("#"+e).select2("enable")})},ensure_datepicker_i18n:function(){if(void 0!==a.fn.bootstrapDatepicker){var t=(e.tribe_l10n_datatables||{}).datepicker||{};a.fn.bootstrapDatepicker.dates.en.days=t.dayNames,a.fn.bootstrapDatepicker.dates.en.daysShort=t.dayNamesShort,a.fn.bootstrapDatepicker.dates.en.daysMin=t.dayNamesMin,a.fn.bootstrapDatepicker.dates.en.months=t.monthNames,t.monthNamesMin&&(a.fn.bootstrapDatepicker.dates.en.monthsShort=t.monthNamesMin),a.fn.bootstrapDatepicker.dates.en.today=t.today,a.fn.bootstrapDatepicker.dates.en.clear=t.clear}},execute_resize:function(){var e=tribe_ev.data.v_width;tribe_ev.fn.update_viewport_variables(),e!==tribe_ev.data.v_width&&(tribe_ev.fn.mobile_class(),a(tribe_ev.events).trigger("tribe_ev_resizeComplete"),a(tribe_ev.events).trigger("resize-complete.tribe"))},get_base_url:function(){var r=a(t.getElementById("tribe-events-header")),i=a('link[rel="canonical"]');return i.length?i.attr("href"):r.length?r.data("baseurl"):e.location.origin+e.location.path},update_base_url:function(e){var r=a(t.getElementById("tribe-events-header")),i=a('link[rel="canonical"]');i.length?i.attr("href",e):r.length&&r.data("baseurl",e).attr("data-baseurl",e)},get_category:function(){return tribe_ev.fn.is_category()?a(t.getElementById("tribe-events")).data("category"):""},get_day:function(){var e="";return a(t.getElementById("tribe-bar-date")).length&&(e=a(t.getElementById("tribe-bar-date-day")).val()),r&&tec_debug.info('TEC Debug: tribe_ev.fn.get_day returned this date: "'+e+'".'),e},get_params:function(){return location.search.substr(1)},get_url_param:function(e){return decodeURIComponent((new RegExp("[?|&]"+e+"=([^&;]+?)(&|#|;|$)").exec(location.search)||[,""])[1].replace(/\+/g,"%20"))||null},in_params:function(e,t){return e.toLowerCase().indexOf(t)},invalid_date:function(e){return e=new Date(e),isNaN(e)},invalid_date_in_params:function(e){if(e.hasOwnProperty("tribe-bar-date")){var t=new Date(e["tribe-bar-date"]);return isNaN(t)}return!1},is_category:function(){var e=a(t.getElementById("tribe-events"));return!(!e.length||!e.tribe_has_attr("data-category")||""===e.data("category"))},is_featured:function(){return"1"==a(t.getElementById("tribe-events")).data("featured")},mobile_class:function(){var e=a("body");tribe_ev.data.v_width<=tribe_ev.data.mobile_break?e.addClass("tribe-mobile"):e.removeClass("tribe-mobile")},maybe_default_view_change:function(){if(tribe_ev.data.redirected_view||!tribe_ev.data.default_view||!tribe_ev.data.default_mobile_view||tribe_ev.data.default_view==tribe_ev.data.default_mobile_view||!tribe_ev.state.view||tribe_ev.data.default_mobile_view==tribe_ev.state.view)return!1;if(!a("body").hasClass("tribe-mobile"))return!1;var e=a(".tribe-bar-views-option"),t="#tribe-bar-views-option-"+tribe_ev.data.default_mobile_view,r=e.filter(t);a(t).data("redirected",!0),r.trigger("click")},parse_string:function(e){var t={};return e.replace(/([^&=]+)=?([^&]*)(?:&+|$)/g,function(e,a,r){(t[a]=t[a]||[]).push(r)}),r&&tec_debug.info("TEC Debug: tribe_ev.fn.parse_string returned this map:",t),t},pre_ajax:function(e){e&&"function"==typeof e&&e()},scroll_to:function(e,t,r){a("html, body").stop().animate({scrollTop:a(e).offset().top-t},{duration:r})},serialize:function(e,t){tribe_ev.fn.enable_inputs(e,t),tribe_ev.fn.disable_empty(e,t);var i=a(e).serialize();return tribe_ev.fn.disable_inputs(e,t),r&&i&&tec_debug.info('TEC Debug: tribe_ev.fn.serialize returned these params: "'+i),i},set_form:function(e){var i=a("body"),n=a(t.getElementById("tribe-bar-form"));i.addClass("tribe-reset-on"),n.length&&n.tribe_clear_form(),e=tribe_ev.fn.parse_string(e),a.each(e,function(e,t){if("action"!==e){var r=decodeURIComponent(e),i="";if(1===t.length)Array.isArray(t)&&(t=t[0]),t=decodeURIComponent(t.replace(/\+/g,"%20")),a('[name="'+r+'"]').is('input[type="text"], input[type="hidden"]')?a('[name="'+r+'"]').val(t):a('[name="'+r+'"][value="'+t+'"]').is(":checkbox, :radio")?a('[name="'+r+'"][value="'+t+'"]').prop("checked",!0):a('[name="'+r+'"]').is("select")&&a('select[name="'+r+'"] option[value="'+t+'"]').attr("selected",!0);else for(var n=0;n<t.length;n++)(i=a('[name="'+r+'"][value="'+t[n]+'"]')).is(":checkbox, :radio")?i.prop("checked",!0):a('select[name="'+r+'"] option[value="'+t[n]+'"]').attr("selected",!0)}}),i.removeClass("tribe-reset-on"),r&&tec_debug.info('TEC Debug: tribe_ev.fn.set_form fired these params: "'+e)},setup_ajax_timer:function(e){clearTimeout(tribe_ev.state.ajax_timer),tribe_ev.tests.reset_on()||(tribe_ev.state.ajax_timer=setTimeout(function(){e()},500),r&&tec_debug.info('TEC Debug: tribe_ev.fn.setup_ajax_timer fired with a timeout of "500" ms'))},snap:function(e,t,r){a(t).on("click",r,function(t){t.preventDefault(),a("html, body").animate({scrollTop:a(e).offset().top-120},{duration:0})})},tooltips:function(){var r=a(t.getElementById("tribe-events")),i=a("body"),n=r.hasClass("tribe-events-shortcode"),o=r.hasClass("view-month")||i.hasClass("events-gridview"),s=r.hasClass("view-week")||i.hasClass("tribe-events-week"),d=r.hasClass("view-photo")||i.hasClass("tribe-events-photo"),l=r.hasClass("view-day")||i.hasClass("tribe-events-day"),m=r.hasClass("view-list")||i.hasClass("events-list"),c=(r.hasClass("view-map")||i.hasClass("tribe-events-map"),i.hasClass("single-tribe_events"));r.on("mouseenter",'div[id*="tribe-events-event-"], div.event-is-recurring',function(){var t,r=0,i=a(this);if(o?r=i.find("a").outerHeight()+16:c||l||m?r=i.outerHeight()+12:d&&(r=i.outerHeight()+10),i.parents(".tribe-events-calendar-widget").length&&(r=i.outerHeight()-6),!s||n)if(o||n){if(!(t=i.find(".tribe-events-tooltip")).length){var b=i.data("tribejson");"string"==typeof b&&(b=a.parseJSON(b));var u=i.hasClass("tribe-event-featured")?"tribe_tmpl_tooltip_featured":"tribe_tmpl_tooltip";i.append(tribe_tmpl(u,b)),t=i.find(".tribe-events-tooltip")}var y=i.offset().top-(a(e).scrollTop()+50),_=t.outerHeight();y<_&&(r=-_,t.addClass("tribe-events-tooltip-flipdown")),t.css("bottom",r).stop(!0,!1).show()}else i.find(".tribe-events-tooltip").css("bottom",r).stop(!0,!1).show()}).on("mouseleave",'div[id*="tribe-events-event-"], div[id*="tribe-events-daynum-"]:has(a), div.event-is-recurring',function(){var e=a(this).find(".tribe-events-tooltip");e.stop(!0,!1).fadeOut(500,function(){e.removeClass("tribe-events-tooltip-flipdown")})})},update_picker:function(i){var n=a("#tribe-bar-date");a().bootstrapDatepicker&&n.length?(tribe_ev.state.updating_picker=!0,e.attachEvent&&!e.addEventListener&&(n.bootstrapDatepicker("remove"),n.val(""),n.bootstrapDatepicker(tribe_ev.data.datepicker_opts)),n.bootstrapDatepicker("setDate",moment(i).toDate()),a(t.getElementById("tribe-bar-date-day")).val(tribeUtils.formatDateWithMoment(i,"tribeQuery")),tribe_ev.state.updating_picker=!1,r&&tec_debug.info('TEC Debug: tribe_ev.fn.update_picker sent "'+i+'" to the boostrapDatepicker')):n.length?(n.val(i),r&&tec_debug.warn('TEC Debug: tribe_ev.fn.update_picker sent "'+i+'" to '+n)):r&&tec_debug.warn('TEC Debug: tribe_ev.fn.update_picker couldnt send "'+i+'" to any object.')},update_viewport_variables:function(){tribe_ev.data.v_height=a(e).height(),tribe_ev.data.v_width=a(e).width()},url_path:function(e){return e.split("?")[0]},equal_height:function(e){var t=0;e.css("height","auto"),e.each(function(){var e=a(this).outerHeight();e>t&&(t=e)}),setTimeout(function(){e.css("height",t)},100)}},tribe_ev.tests={live_ajax:function(){var e=a(t.getElementById("tribe-events"));return!(!e.length||!e.tribe_has_attr("data-live_ajax")||"1"!=e.data("live_ajax"))},map_view:function(){return"undefined"!=typeof GeoLoc&&GeoLoc.map_view},no_bar:function(){return a("body").is(".tribe-bar-is-disabled")},pushstate:!(!e.history||!history.pushState),reset_on:function(){return a("body").is(".tribe-reset-on")},starting_delim:function(){return-1!=tribe_ev.state.cur_url.indexOf("?")?"&":"?"},webkit:"WebkitAppearance"in t.documentElement.style},tribe_ev.data={ajax_response:{},base_url:"",cur_url:tribe_ev.fn.url_path(t.URL),cur_date:tribe_ev.fn.current_date(),datepicker_formats:{main:["yyyy-mm-dd","m/d/yyyy","mm/dd/yyyy","d/m/yyyy","dd/mm/yyyy","m-d-yyyy","mm-dd-yyyy","d-m-yyyy","dd-mm-yyyy","yyyy.mm.dd","mm.dd.yyyy","dd.mm.yyyy"],month:["yyyy-mm","m/yyyy","mm/yyyy","m/yyyy","mm/yyyy","m-yyyy","mm-yyyy","m-yyyy","mm-yyyy","yyyy.mm","mm.yyyy","mm.yyyy"]},datepicker_opts:{},default_permalinks:!i.permalink_settings.length,initial_url:tribe_ev.fn.url_path(t.URL),mobile_break:768,default_mobile_view:null,redirected_view:null,default_view:null,params:tribe_ev.fn.get_params(),v_height:0,v_width:0},tribe_ev.events={},tribe_ev.state={ajax_running:!1,ajax_timer:0,ajax_trigger:"",category:"",date:"",datepicker_format:"0",do_string:!1,featured:!1,filters:!1,filter_cats:!1,initial_load:!0,mdate:"",paged:1,page_title:"",params:{},popping:!1,pushstate:!0,pushcount:0,recurrence:!1,updating_picker:!1,url_params:{},view:"",view_target:""}}(window,document,jQuery,tribe_debug,tribe_js_config),function(e,t,a,r,i,n,o,s,d){a(t).ready(function(){d&&tec_debug.info("TEC Debug: Tribe Events JS init, Init Timer started from tribe-events.js."),n.update_viewport_variables();var l,m=a("body"),c=a(t.getElementById("tribe-events")),b=(a(t.getElementById("tribe-events-content")),a(t.getElementById("tribe-events-header")));c.removeClass("tribe-no-js"),o.category=n.get_category(),r.base_url=n.get_base_url(),o.page_title=t.title;var u=n.get_url_param("tribe_event_display");if(u?o.view=u:b.length&&b.tribe_has_attr("data-view")&&(o.view=b.data("view")),c.tribe_has_attr("data-datepicker_format")&&c.attr("data-datepicker_format").length>=1&&(o.datepicker_format=c.attr("data-datepicker_format")),o.view&&d&&tec_debug.time("Tribe JS Init Timer"),a(i).on("tribe_ev_collectParams",function(){if(void 0!==tribe_ev.state&&void 0!==tribe_ev.state.params&&(-1!==tribe_ev.fn.in_params(tribe_ev.state.params,"eventdate")||-1!==tribe_ev.fn.in_params(tribe_ev.state.params,"tribe_event_display"))&&a(t.getElementById("tribe-events")).is(".tribe-events-shortcode")){var i=a(t.getElementById("tribe-events-header")),n=a('link[rel="canonical"]'),s=null;if(s=n.length?n.attr("href"):i.length?i.data("baseurl"):e.location.origin+e.location.path,tribe_ev.state.params+="&baseurl="+s,i.length){var d=/tribe_events_cat=([^&]*)/gi.exec(i.data("baseurl"));if(d=d&&void 0!==d[1]?d[1]:null){var l=new RegExp("tribe_event_category="+d);tribe_ev.state.params.match(l)||(tribe_ev.state.params+="&tribe_event_category="+d),"string"!=typeof tribe_ev.state.url_params||tribe_ev.state.url_params.match(l)||(tribe_ev.state.url_params+="&tribe_event_category="+d)}}"month"!==o.view||a("#tribe-events-bar").length||(r.default_permalinks?tribe_ev.state.url_params+="tribe-bar-date="+tribeDateFormat(o.mdate,"tribeMonthQuery"):o.url_params="tribe-bar-date="+tribeDateFormat(o.mdate,"tribeMonthQuery"))}}),c.length){var y=c.tribe_has_attr("data-mobilebreak");(y=!1===y?c.find("[data-mobilebreak]").eq(0):c).length&&(r.mobile_break=parseInt(y.data("mobilebreak"),10));var _=c.tribe_has_attr("data-default-mobile-view");(_=!1===_?c.find("[data-default-mobile-view]").eq(0):c).length&&(r.default_mobile_view=_.data("defaultMobileView"),r.default_view=_.data("defaultView"),r.redirected_view=_.data("redirectedView"))}function v(){a(".tribe-events-list").length&&a(".tribe-events-list-separator-month").prev(".vevent").addClass("tribe-event-end-month")}function p(){var e=!0;if(void 0!==tribe_js_config.force_filtered_ical_link&&(e=!tribe_js_config.force_filtered_ical_link),e){var r=t.URL,i="?";r.indexOf("?")>0&&(i="&");var n=r+i+"ical=1&tribe_display="+o.view;a("a.tribe-events-ical").attr("href",n)}}c.length&&r.mobile_break>0&&m.addClass("tribe-is-responsive"),a(".tribe-events-calendar-widget").not(":eq(0)").hide(),n.tooltips(),n.mobile_class(),v(),a(".tribe-events-list .tribe-events-notices").length&&a("#tribe-events-header .tribe-events-sub-nav").empty(),a(".tribe-events-list").length&&a(".tribe-events-list-separator-month").prev(".vevent").addClass("tribe-event-end-month"),a(i).on("tribe_ev_ajaxSuccess",function(){a(".tribe-events-active-spinner").remove(),v()}),a(i).on("tribe_ev_ajaxSuccess",function(){p()}),p(),a(e).on("resize",function(){clearTimeout(l),l=setTimeout(n.execute_resize,200)}),d&&(tec_debug.groupCollapsed("TEC Debug: Browser and events settings information:"),tec_debug.log('User agent reported as: "'+navigator.userAgent),tec_debug.log('Live ajax returned its state as: "'+s.live_ajax()),o.view&&tec_debug.log('Tribe js detected the view to be: "'+o.view),tec_debug.log('Supports pushstate: "'+s.pushstate),tec_debug.groupEnd(),tec_debug.info("TEC Debug: tribe-events.js successfully loaded"))})}(window,document,jQuery,tribe_ev.data,tribe_ev.events,tribe_ev.fn,tribe_ev.state,tribe_ev.tests,tribe_debug);
src/views/v2/components/breadcrumbs/breadcrumb.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  *
14
  * @var array $breadcrumb Data for breadcrumb.
15
  */
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  *
14
  * @var array $breadcrumb Data for breadcrumb.
15
  */
src/views/v2/components/breadcrumbs/linked-breadcrumb.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  *
14
  * @var array $breadcrumb Data for breadcrumb.
15
  */
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  *
14
  * @var array $breadcrumb Data for breadcrumb.
15
  */
src/views/v2/components/events-bar/search-button.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  *
14
  */
15
  ?>
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  *
14
  */
15
  ?>
src/views/v2/components/events-bar/search/keyword.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var array $bar The search bar contents.
13
  *
14
- * @version TBD
15
  *
16
  */
17
 
11
  *
12
  * @var array $bar The search bar contents.
13
  *
14
+ * @version 5.3.0
15
  *
16
  */
17
 
src/views/v2/components/events-bar/views.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  *
14
  * @var string $view_slug Slug of the current view.
15
  * @var string $view_label Label of the current view.
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  *
14
  * @var string $view_slug Slug of the current view.
15
  * @var string $view_label Label of the current view.
src/views/v2/components/events-bar/views/list/item.php CHANGED
@@ -13,7 +13,7 @@
13
  * @var string $public_view_slug Slug of the view currently being listed.
14
  * @var object $public_view_data Data of the view currently being listed.
15
  *
16
- * @version TBD
17
  */
18
 
19
  $list_item_classes = [ 'tribe-events-c-view-selector__list-item', "tribe-events-c-view-selector__list-item--$public_view_slug" ];
13
  * @var string $public_view_slug Slug of the view currently being listed.
14
  * @var object $public_view_data Data of the view currently being listed.
15
  *
16
+ * @version 5.3.0
17
  */
18
 
19
  $list_item_classes = [ 'tribe-events-c-view-selector__list-item', "tribe-events-c-view-selector__list-item--$public_view_slug" ];
src/views/v2/components/ical-link.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  *
14
  * @var object $ical Object containing iCal data
15
  */
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  *
14
  * @var object $ical Object containing iCal data
15
  */
src/views/v2/components/messages.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  *
14
  * @var array $messges An array of user-facing messages, managed by the View.
15
  * @var string $wp_version Global WP version.
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  *
14
  * @var array $messges An array of user-facing messages, managed by the View.
15
  * @var string $wp_version Global WP version.
src/views/v2/components/messages/error-icon.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  */
14
 
15
  $this->template( 'components/icons/error', [ 'classes' => [ 'tribe-events-c-messages__message-icon-svg' ] ] );
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  */
14
 
15
  $this->template( 'components/icons/error', [ 'classes' => [ 'tribe-events-c-messages__message-icon-svg' ] ] );
src/views/v2/components/messages/notice-icon.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  */
14
 
15
  $this->template( 'components/icons/messages-not-found', [ 'classes' => [ 'tribe-events-c-messages__message-icon-svg' ] ] );
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  */
14
 
15
  $this->template( 'components/icons/messages-not-found', [ 'classes' => [ 'tribe-events-c-messages__message-icon-svg' ] ] );
src/views/v2/day/event/date/featured.php CHANGED
@@ -15,7 +15,7 @@
15
  *
16
  * @see tribe_get_event() For the format of the event object.
17
  *
18
- * @version TBD
19
  */
20
 
21
  if ( empty( $event->featured ) ) {
15
  *
16
  * @see tribe_get_event() For the format of the event object.
17
  *
18
+ * @version 5.3.0
19
  */
20
 
21
  if ( empty( $event->featured ) ) {
src/views/v2/day/nav/next-disabled.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  *
14
  */
15
  ?>
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  *
14
  */
15
  ?>
src/views/v2/day/nav/next.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var string $link The URL to the next page.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  ?>
11
  *
12
  * @var string $link The URL to the next page.
13
  *
14
+ * @version 5.3.0
15
  *
16
  */
17
  ?>
src/views/v2/day/nav/prev-disabled.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  *
14
  */
15
  ?>
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  *
14
  */
15
  ?>
src/views/v2/day/nav/prev.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var string $link The URL to the previous page.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  ?>
11
  *
12
  * @var string $link The URL to the previous page.
13
  *
14
+ * @version 5.3.0
15
  *
16
  */
17
  ?>
src/views/v2/day/top-bar/datepicker.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  *
14
  * @var string $now The current date and time in the `Y-m-d H:i:s` format.
15
  * @var object $date_formats Object containing the date formats.
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  *
14
  * @var string $now The current date and time in the `Y-m-d H:i:s` format.
15
  * @var object $date_formats Object containing the date formats.
src/views/v2/day/top-bar/nav/next-disabled.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  *
14
  */
15
  ?>
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  *
14
  */
15
  ?>
src/views/v2/day/top-bar/nav/next.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var string $next_url The URL to the next page, if any, or an empty string.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  ?>
11
  *
12
  * @var string $next_url The URL to the next page, if any, or an empty string.
13
  *
14
+ * @version 5.3.0
15
  *
16
  */
17
  ?>
src/views/v2/day/top-bar/nav/prev-disabled.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  *
14
  */
15
  ?>
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  *
14
  */
15
  ?>
src/views/v2/day/top-bar/nav/prev.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var string $prev_url The URL to the previous page, if any, or an empty string.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  ?>
11
  *
12
  * @var string $prev_url The URL to the previous page, if any, or an empty string.
13
  *
14
+ * @version 5.3.0
15
  *
16
  */
17
  ?>
src/views/v2/latest-past/event/date.php CHANGED
@@ -16,7 +16,7 @@
16
  *
17
  * @see tribe_get_event() For the format of the event object.
18
  *
19
- * @version TBD
20
  */
21
  use Tribe__Date_Utils as Dates;
22
 
16
  *
17
  * @see tribe_get_event() For the format of the event object.
18
  *
19
+ * @version 5.3.0
20
  */
21
  use Tribe__Date_Utils as Dates;
22
 
src/views/v2/latest-past/event/date/featured.php CHANGED
@@ -15,7 +15,7 @@
15
  *
16
  * @see tribe_get_event() For the format of the event object.
17
  *
18
- * @version TBD
19
  */
20
 
21
  if ( empty( $event->featured ) ) {
15
  *
16
  * @see tribe_get_event() For the format of the event object.
17
  *
18
+ * @version 5.3.0
19
  */
20
 
21
  if ( empty( $event->featured ) ) {
src/views/v2/list/nav/next-disabled.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  *
14
  */
15
 
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  *
14
  */
15
 
src/views/v2/list/nav/next.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var string $link The URL to the next page.
13
  *
14
- * @version TBD
15
  *
16
  */
17
 
11
  *
12
  * @var string $link The URL to the next page.
13
  *
14
+ * @version 5.3.0
15
  *
16
  */
17
 
src/views/v2/list/nav/prev-disabled.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  */
14
 
15
  /* translators: %s: Event (plural or singular). */
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  */
14
 
15
  /* translators: %s: Event (plural or singular). */
src/views/v2/list/nav/prev.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var string $link The URL to the previous page.
13
  *
14
- * @version TBD
15
  *
16
  */
17
 
11
  *
12
  * @var string $link The URL to the previous page.
13
  *
14
+ * @version 5.3.0
15
  *
16
  */
17
 
src/views/v2/list/top-bar/datepicker.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  *
14
  * @var bool $is_now Whether the date selected in the datepicker is "now" or not.
15
  * @var bool $show_now Whether to show the "Now" label as range start or not.
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  *
14
  * @var bool $is_now Whether the date selected in the datepicker is "now" or not.
15
  * @var bool $show_now Whether to show the "Now" label as range start or not.
src/views/v2/list/top-bar/nav/next-disabled.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  *
14
  */
15
  $label = sprintf( __( 'Next %1$s', 'the-events-calendar' ), tribe_get_event_label_plural() );
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  *
14
  */
15
  $label = sprintf( __( 'Next %1$s', 'the-events-calendar' ), tribe_get_event_label_plural() );
src/views/v2/list/top-bar/nav/next.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var string $next_url The URL to the next page, if any, or an empty string.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $label = sprintf( __( 'Next %1$s', 'the-events-calendar' ), tribe_get_event_label_plural() );
11
  *
12
  * @var string $next_url The URL to the next page, if any, or an empty string.
13
  *
14
+ * @version 5.3.0
15
  *
16
  */
17
  $label = sprintf( __( 'Next %1$s', 'the-events-calendar' ), tribe_get_event_label_plural() );
src/views/v2/list/top-bar/nav/prev-disabled.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  *
14
  */
15
  $label = sprintf( __( 'Previous %1$s', 'the-events-calendar' ), tribe_get_event_label_plural() );
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  *
14
  */
15
  $label = sprintf( __( 'Previous %1$s', 'the-events-calendar' ), tribe_get_event_label_plural() );
src/views/v2/list/top-bar/nav/prev.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var string $prev_url The URL to the previous page, if any, or an empty string.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  $label = sprintf( __( 'Previous %1$s', 'the-events-calendar' ), tribe_get_event_label_plural() );
11
  *
12
  * @var string $prev_url The URL to the previous page, if any, or an empty string.
13
  *
14
+ * @version 5.3.0
15
  *
16
  */
17
  $label = sprintf( __( 'Previous %1$s', 'the-events-calendar' ), tribe_get_event_label_plural() );
src/views/v2/month/calendar-body/day.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  *
14
  * @var string $today_date Today's date in the `Y-m-d` format.
15
  * @var string $day_date The current day date, in the `Y-m-d` format.
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  *
14
  * @var string $today_date Today's date in the `Y-m-d` format.
15
  * @var string $day_date The current day date, in the `Y-m-d` format.
src/views/v2/month/calendar-body/day/calendar-events/calendar-event/date/featured.php CHANGED
@@ -15,7 +15,7 @@
15
  *
16
  * @see tribe_get_event() For the format of the event object.
17
  *
18
- * @version TBD
19
  */
20
 
21
  if ( empty( $event->featured ) ) {
15
  *
16
  * @see tribe_get_event() For the format of the event object.
17
  *
18
+ * @version 5.3.0
19
  */
20
 
21
  if ( empty( $event->featured ) ) {
src/views/v2/month/calendar-body/day/calendar-events/calendar-event/tooltip/date/featured.php CHANGED
@@ -15,7 +15,7 @@
15
  *
16
  * @see tribe_get_event() For the format of the event object.
17
  *
18
- * @version TBD
19
  */
20
 
21
  if ( empty( $event->featured ) ) {
15
  *
16
  * @see tribe_get_event() For the format of the event object.
17
  *
18
+ * @version 5.3.0
19
  */
20
 
21
  if ( empty( $event->featured ) ) {
src/views/v2/month/calendar-body/day/multiday-events/multiday-event/bar/featured.php CHANGED
@@ -15,7 +15,7 @@
15
  *
16
  * @see tribe_get_event() For the format of the event object.
17
  *
18
- * @version TBD
19
  */
20
 
21
  if ( empty( $event->featured ) ) {
15
  *
16
  * @see tribe_get_event() For the format of the event object.
17
  *
18
+ * @version 5.3.0
19
  */
20
 
21
  if ( empty( $event->featured ) ) {
src/views/v2/month/calendar-body/day/multiday-events/multiday-event/hidden/link/featured.php CHANGED
@@ -15,7 +15,7 @@
15
  *
16
  * @see tribe_get_event() For the format of the event object.
17
  *
18
- * @version TBD
19
  */
20
 
21
  if ( empty( $event->featured ) ) {
15
  *
16
  * @see tribe_get_event() For the format of the event object.
17
  *
18
+ * @version 5.3.0
19
  */
20
 
21
  if ( empty( $event->featured ) ) {
src/views/v2/month/mobile-events/mobile-day/mobile-event/date/featured.php CHANGED
@@ -15,7 +15,7 @@
15
  *
16
  * @see tribe_get_event() For the format of the event object.
17
  *
18
- * @version TBD
19
  */
20
 
21
  if ( empty( $event->featured ) ) {
15
  *
16
  * @see tribe_get_event() For the format of the event object.
17
  *
18
+ * @version 5.3.0
19
  */
20
 
21
  if ( empty( $event->featured ) ) {
src/views/v2/month/mobile-events/nav/next-disabled.php CHANGED
@@ -12,7 +12,7 @@
12
  * @var string $link The URL to the next page, if any, or an empty string.
13
  * @var string $label The label for the next link.
14
  *
15
- * @version TBD
16
  *
17
  */
18
  ?>
12
  * @var string $link The URL to the next page, if any, or an empty string.
13
  * @var string $label The label for the next link.
14
  *
15
+ * @version 5.3.0
16
  *
17
  */
18
  ?>
src/views/v2/month/mobile-events/nav/next.php CHANGED
@@ -12,7 +12,7 @@
12
  * @var string $link The URL to the next page, if any, or an empty string.
13
  * @var string $label The label for the next link.
14
  *
15
- * @version TBD
16
  *
17
  */
18
  ?>
12
  * @var string $link The URL to the next page, if any, or an empty string.
13
  * @var string $label The label for the next link.
14
  *
15
+ * @version 5.3.0
16
  *
17
  */
18
  ?>
src/views/v2/month/mobile-events/nav/prev-disabled.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var string $label The label for the previous link.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  ?>
11
  *
12
  * @var string $label The label for the previous link.
13
  *
14
+ * @version 5.3.0
15
  *
16
  */
17
  ?>
src/views/v2/month/mobile-events/nav/prev.php CHANGED
@@ -12,7 +12,7 @@
12
  * @var string $link The URL to the previous page, if any, or an empty string.
13
  * @var string $label The label for the previous link.
14
  *
15
- * @version TBD
16
  *
17
  */
18
  ?>
12
  * @var string $link The URL to the previous page, if any, or an empty string.
13
  * @var string $label The label for the previous link.
14
  *
15
+ * @version 5.3.0
16
  *
17
  */
18
  ?>
src/views/v2/month/top-bar/datepicker.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  *
14
  * @var string $now The current date and time in the `Y-m-d H:i:s` format.
15
  * @var string $grid_date The current calendar grid date in the `Y-m-d` format.
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  *
14
  * @var string $now The current date and time in the `Y-m-d H:i:s` format.
15
  * @var string $grid_date The current calendar grid date in the `Y-m-d` format.
src/views/v2/month/top-bar/nav/next-disabled.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  *
14
  */
15
  ?>
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  *
14
  */
15
  ?>
src/views/v2/month/top-bar/nav/next.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var string $next_url The URL to the next page, if any, or an empty string.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  ?>
11
  *
12
  * @var string $next_url The URL to the next page, if any, or an empty string.
13
  *
14
+ * @version 5.3.0
15
  *
16
  */
17
  ?>
src/views/v2/month/top-bar/nav/prev-disabled.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  *
14
  */
15
  ?>
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  *
14
  */
15
  ?>
src/views/v2/month/top-bar/nav/prev.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @var string $prev_url The URL to the previous page, if any, or an empty string.
13
  *
14
- * @version TBD
15
  *
16
  */
17
  ?>
11
  *
12
  * @var string $prev_url The URL to the previous page, if any, or an empty string.
13
  *
14
+ * @version 5.3.0
15
  *
16
  */
17
  ?>
src/views/v2/widgets/widget-events-list.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  *
14
  * @var array<\WP_Post> $events The array containing the events.
15
  * @var string $rest_url The REST URL.
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  *
14
  * @var array<\WP_Post> $events The array containing the events.
15
  * @var string $rest_url The REST URL.
src/views/v2/widgets/widget-events-list/event/date.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  *
14
  * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
  *
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  *
14
  * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
  *
src/views/v2/widgets/widget-events-list/event/date/featured.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
- * @version TBD
13
  *
14
  * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
  *
9
  *
10
  * @link http://m.tri.be/1aiy
11
  *
12
+ * @version 5.3.0
13
  *
14
  * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
  *
the-events-calendar.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: The Events Calendar
4
  * Description: The Events Calendar is a carefully crafted, extensible plugin that lets you easily share your events. Beautiful. Solid. Awesome.
5
- * Version: 5.3.0
6
  * Author: Modern Tribe, Inc.
7
  * Author URI: http://m.tri.be/1x
8
  * Text Domain: the-events-calendar
2
  /**
3
  * Plugin Name: The Events Calendar
4
  * Description: The Events Calendar is a carefully crafted, extensible plugin that lets you easily share your events. Beautiful. Solid. Awesome.
5
+ * Version: 5.3.1
6
  * Author: Modern Tribe, Inc.
7
  * Author URI: http://m.tri.be/1x
8
  * Text Domain: the-events-calendar
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit383abe9362883f9e267d3a6c5c03e607::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInite6a07ae9caa1f04b1a42e48744b91d34::getLoader();
vendor/composer/autoload_classmap.php CHANGED
@@ -21,6 +21,7 @@ return array(
21
  'Tribe\\Events\\Service_Providers\\Context' => $baseDir . '/src/Tribe/Service_Providers/Context.php',
22
  'Tribe\\Events\\Service_Providers\\First_Boot' => $baseDir . '/src/Tribe/Service_Providers/First_Boot.php',
23
  'Tribe\\Events\\Views\\V2\\Assets' => $baseDir . '/src/Tribe/Views/V2/Assets.php',
 
24
  'Tribe\\Events\\Views\\V2\\Hooks' => $baseDir . '/src/Tribe/Views/V2/Hooks.php',
25
  'Tribe\\Events\\Views\\V2\\Implementation_Error' => $baseDir . '/src/Tribe/Views/V2/Implementation_Error.php',
26
  'Tribe\\Events\\Views\\V2\\Index' => $baseDir . '/src/Tribe/Views/V2/Index.php',
21
  'Tribe\\Events\\Service_Providers\\Context' => $baseDir . '/src/Tribe/Service_Providers/Context.php',
22
  'Tribe\\Events\\Service_Providers\\First_Boot' => $baseDir . '/src/Tribe/Service_Providers/First_Boot.php',
23
  'Tribe\\Events\\Views\\V2\\Assets' => $baseDir . '/src/Tribe/Views/V2/Assets.php',
24
+ 'Tribe\\Events\\Views\\V2\\Customizer' => $baseDir . '/src/Tribe/Views/V2/Customizer.php',
25
  'Tribe\\Events\\Views\\V2\\Hooks' => $baseDir . '/src/Tribe/Views/V2/Hooks.php',
26
  'Tribe\\Events\\Views\\V2\\Implementation_Error' => $baseDir . '/src/Tribe/Views/V2/Implementation_Error.php',
27
  'Tribe\\Events\\Views\\V2\\Index' => $baseDir . '/src/Tribe/Views/V2/Index.php',
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit383abe9362883f9e267d3a6c5c03e607
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit383abe9362883f9e267d3a6c5c03e607
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit383abe9362883f9e267d3a6c5c03e607', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit383abe9362883f9e267d3a6c5c03e607', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInit383abe9362883f9e267d3a6c5c03e607::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInite6a07ae9caa1f04b1a42e48744b91d34
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInite6a07ae9caa1f04b1a42e48744b91d34', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInite6a07ae9caa1f04b1a42e48744b91d34', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInite6a07ae9caa1f04b1a42e48744b91d34::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit383abe9362883f9e267d3a6c5c03e607
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
@@ -36,6 +36,7 @@ class ComposerStaticInit383abe9362883f9e267d3a6c5c03e607
36
  'Tribe\\Events\\Service_Providers\\Context' => __DIR__ . '/../..' . '/src/Tribe/Service_Providers/Context.php',
37
  'Tribe\\Events\\Service_Providers\\First_Boot' => __DIR__ . '/../..' . '/src/Tribe/Service_Providers/First_Boot.php',
38
  'Tribe\\Events\\Views\\V2\\Assets' => __DIR__ . '/../..' . '/src/Tribe/Views/V2/Assets.php',
 
39
  'Tribe\\Events\\Views\\V2\\Hooks' => __DIR__ . '/../..' . '/src/Tribe/Views/V2/Hooks.php',
40
  'Tribe\\Events\\Views\\V2\\Implementation_Error' => __DIR__ . '/../..' . '/src/Tribe/Views/V2/Implementation_Error.php',
41
  'Tribe\\Events\\Views\\V2\\Index' => __DIR__ . '/../..' . '/src/Tribe/Views/V2/Index.php',
@@ -95,9 +96,9 @@ class ComposerStaticInit383abe9362883f9e267d3a6c5c03e607
95
  public static function getInitializer(ClassLoader $loader)
96
  {
97
  return \Closure::bind(function () use ($loader) {
98
- $loader->prefixLengthsPsr4 = ComposerStaticInit383abe9362883f9e267d3a6c5c03e607::$prefixLengthsPsr4;
99
- $loader->prefixDirsPsr4 = ComposerStaticInit383abe9362883f9e267d3a6c5c03e607::$prefixDirsPsr4;
100
- $loader->classMap = ComposerStaticInit383abe9362883f9e267d3a6c5c03e607::$classMap;
101
 
102
  }, null, ClassLoader::class);
103
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInite6a07ae9caa1f04b1a42e48744b91d34
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
36
  'Tribe\\Events\\Service_Providers\\Context' => __DIR__ . '/../..' . '/src/Tribe/Service_Providers/Context.php',
37
  'Tribe\\Events\\Service_Providers\\First_Boot' => __DIR__ . '/../..' . '/src/Tribe/Service_Providers/First_Boot.php',
38
  'Tribe\\Events\\Views\\V2\\Assets' => __DIR__ . '/../..' . '/src/Tribe/Views/V2/Assets.php',
39
+ 'Tribe\\Events\\Views\\V2\\Customizer' => __DIR__ . '/../..' . '/src/Tribe/Views/V2/Customizer.php',
40
  'Tribe\\Events\\Views\\V2\\Hooks' => __DIR__ . '/../..' . '/src/Tribe/Views/V2/Hooks.php',
41
  'Tribe\\Events\\Views\\V2\\Implementation_Error' => __DIR__ . '/../..' . '/src/Tribe/Views/V2/Implementation_Error.php',
42
  'Tribe\\Events\\Views\\V2\\Index' => __DIR__ . '/../..' . '/src/Tribe/Views/V2/Index.php',
96
  public static function getInitializer(ClassLoader $loader)
97
  {
98
  return \Closure::bind(function () use ($loader) {
99
+ $loader->prefixLengthsPsr4 = ComposerStaticInite6a07ae9caa1f04b1a42e48744b91d34::$prefixLengthsPsr4;
100
+ $loader->prefixDirsPsr4 = ComposerStaticInite6a07ae9caa1f04b1a42e48744b91d34::$prefixDirsPsr4;
101
+ $loader->classMap = ComposerStaticInite6a07ae9caa1f04b1a42e48744b91d34::$classMap;
102
 
103
  }, null, ClassLoader::class);
104
  }