Event Organiser - Version 3.7.3

Version Description

  • 13th July 2018 =
  • bugfix: Fix Google Maps API key notice appearing when Open Street Maps is selected
  • bugfix: Corrected spelling error in venue arguments ("longtitude" corrected to "longitude")
Download this release

Release Info

Developer jenkinspress
Plugin Icon 128x128 Event Organiser
Version 3.7.3
Comparing to
See all releases

Code changes from version 3.7.2 to 3.7.3

Files changed (106) hide show
  1. event-organiser-edit.php +29 -29
  2. event-organiser-venues.php +60 -60
  3. event-organiser.php +2 -2
  4. includes/class-eo-ical-parser.php +205 -203
  5. includes/class-event-organiser-im-export.php +2 -2
  6. includes/event-organiser-venue-functions.php +115 -104
  7. js/admin-calendar.min.js +1 -1
  8. js/edit-event-controller.min.js +1 -1
  9. js/event-manager.min.js +1 -1
  10. js/event.min.js +1 -1
  11. js/frontend.min.js +1 -1
  12. js/fullcalendar.min.js +1 -1
  13. js/jquery-ui-eo-timepicker.min.js +1 -1
  14. js/maps/googlemaps-adapter.js +2 -2
  15. js/maps/openstreetmap-adapter.js +2 -2
  16. js/moment.min.js +1 -1
  17. js/time-picker.min.js +1 -1
  18. js/venue-admin.js +1 -1
  19. js/venue-admin.min.js +1 -1
  20. js/venue-util.min.js +1 -1
  21. languages/eventorganiser-af.mo +0 -0
  22. languages/eventorganiser-af.po +11 -11
  23. languages/eventorganiser-ar.mo +0 -0
  24. languages/eventorganiser-ar.po +11 -11
  25. languages/eventorganiser-bg_BG.mo +0 -0
  26. languages/eventorganiser-bg_BG.po +11 -11
  27. languages/eventorganiser-ca.mo +0 -0
  28. languages/eventorganiser-ca.po +11 -11
  29. languages/eventorganiser-cs_CZ.mo +0 -0
  30. languages/eventorganiser-cs_CZ.po +11 -11
  31. languages/eventorganiser-da_DK.mo +0 -0
  32. languages/eventorganiser-da_DK.po +11 -11
  33. languages/eventorganiser-de_DE.mo +0 -0
  34. languages/eventorganiser-de_DE.po +11 -11
  35. languages/eventorganiser-el.mo +0 -0
  36. languages/eventorganiser-el.po +11 -11
  37. languages/eventorganiser-en_CA.mo +0 -0
  38. languages/eventorganiser-en_CA.po +11 -11
  39. languages/eventorganiser-en_GB.mo +0 -0
  40. languages/eventorganiser-en_GB.po +11 -11
  41. languages/eventorganiser-es_ES.mo +0 -0
  42. languages/eventorganiser-es_ES.po +11 -11
  43. languages/eventorganiser-es_PE.mo +0 -0
  44. languages/eventorganiser-es_PE.po +11 -11
  45. languages/eventorganiser-et.mo +0 -0
  46. languages/eventorganiser-et.po +11 -11
  47. languages/eventorganiser-fa_IR.mo +0 -0
  48. languages/eventorganiser-fa_IR.po +11 -11
  49. languages/eventorganiser-fi.mo +0 -0
  50. languages/eventorganiser-fi.po +11 -11
  51. languages/eventorganiser-fr_FR.mo +0 -0
  52. languages/eventorganiser-fr_FR.po +11 -11
  53. languages/eventorganiser-he_IL.mo +0 -0
  54. languages/eventorganiser-he_IL.po +11 -11
  55. languages/eventorganiser-hi_IN.mo +0 -0
  56. languages/eventorganiser-hi_IN.po +11 -11
  57. languages/eventorganiser-hr.mo +0 -0
  58. languages/eventorganiser-hr.po +11 -11
  59. languages/eventorganiser-hu_HU.mo +0 -0
  60. languages/eventorganiser-hu_HU.po +11 -11
  61. languages/eventorganiser-id_ID.mo +0 -0
  62. languages/eventorganiser-id_ID.po +11 -11
  63. languages/eventorganiser-is_IS.mo +0 -0
  64. languages/eventorganiser-is_IS.po +11 -11
  65. languages/eventorganiser-it_IT.mo +0 -0
  66. languages/eventorganiser-it_IT.po +11 -11
  67. languages/eventorganiser-ja.mo +0 -0
  68. languages/eventorganiser-ja.po +11 -11
  69. languages/eventorganiser-lt_LT.mo +0 -0
  70. languages/eventorganiser-lt_LT.po +11 -11
  71. languages/eventorganiser-lv.mo +0 -0
  72. languages/eventorganiser-lv.po +11 -11
  73. languages/eventorganiser-mk_MK.mo +0 -0
  74. languages/eventorganiser-mk_MK.po +11 -11
  75. languages/eventorganiser-nb_NO.mo +0 -0
  76. languages/eventorganiser-nb_NO.po +11 -11
  77. languages/eventorganiser-nl_NL.mo +0 -0
  78. languages/eventorganiser-nl_NL.po +11 -11
  79. languages/eventorganiser-nn_NO.mo +0 -0
  80. languages/eventorganiser-nn_NO.po +11 -11
  81. languages/eventorganiser-pl_PL.mo +0 -0
  82. languages/eventorganiser-pl_PL.po +11 -11
  83. languages/eventorganiser-pt_BR.mo +0 -0
  84. languages/eventorganiser-pt_BR.po +11 -11
  85. languages/eventorganiser-pt_PT.mo +0 -0
  86. languages/eventorganiser-pt_PT.po +11 -11
  87. languages/eventorganiser-ro_RO.mo +0 -0
  88. languages/eventorganiser-ro_RO.po +11 -11
  89. languages/eventorganiser-ru_RU.mo +0 -0
  90. languages/eventorganiser-ru_RU.po +11 -11
  91. languages/eventorganiser-sk_SK.mo +0 -0
  92. languages/eventorganiser-sk_SK.po +11 -11
  93. languages/eventorganiser-sl_SI.mo +0 -0
  94. languages/eventorganiser-sl_SI.po +11 -11
  95. languages/eventorganiser-sv_SE.mo +0 -0
  96. languages/eventorganiser-sv_SE.po +11 -11
  97. languages/eventorganiser-th.mo +0 -0
  98. languages/eventorganiser-th.po +11 -11
  99. languages/eventorganiser-uk.mo +0 -0
  100. languages/eventorganiser-uk.po +11 -11
  101. languages/eventorganiser-zh_CN.mo +0 -0
  102. languages/eventorganiser-zh_CN.po +11 -11
  103. languages/eventorganiser-zh_HK.mo +0 -0
  104. languages/eventorganiser-zh_HK.po +11 -11
  105. languages/eventorganiser.pot +11 -11
  106. readme.txt +9 -5
event-organiser-edit.php CHANGED
@@ -100,19 +100,19 @@ function _eventorganiser_details_metabox( $post ) {
100
  $time_desc = $is24 ? __( 'Enter time in 24-hour hh colon mm format', 'eventorganiser' ) : __( 'Enter time in 12-hour hh colon mm am or pm format', 'eventorganiser' );
101
  ?>
102
  <div class="eo-grid <?php echo ( $sche_once ? 'onetime': 'reoccurence' );?>">
103
-
104
  <div class="eo-grid-row">
105
  <div class="eo-grid-4">
106
  <span class="eo-label" id="eo-start-datetime-label">
107
- <?php esc_html_e( 'Start Date/Time:', 'eventorganiser' ); ?>
108
  </span>
109
  </div>
110
  <div class="eo-grid-8 event-date" role="group" aria-labelledby="eo-start-datetime-label">
111
-
112
  <label for="eo-start-date" class="screen-reader-text"><?php esc_html_e( 'Start Date', 'eventorganiser' ); ?></label>
113
  <input type="text" id="eo-start-date" aria-describedby="eo-start-date-desc" class="ui-widget-content ui-corner-all" name="eo_input[StartDate]" size="10" maxlength="10" value="<?php echo $start->format( $php_format ); ?>"/>
114
  <span id="eo-start-date-desc" class="screen-reader-text"><?php echo esc_html( $date_desc );?></span>
115
-
116
  <label for="eo-start-time" class="screen-reader-text"><?php esc_html_e( 'Start Time', 'eventorganiser' ); ?></label>
117
  <?php
118
  printf(
@@ -123,15 +123,15 @@ function _eventorganiser_details_metabox( $post ) {
123
  <span id="eo-start-time-desc" class="screen-reader-text"><?php echo esc_html( $time_desc );?></span>
124
  </div>
125
  </div>
126
-
127
  <div class="eo-grid-row">
128
  <div class="eo-grid-4">
129
  <span class="eo-label" id="eo-end-datetime-label">
130
- <?php esc_html_e( 'End Date/Time:', 'eventorganiser' ); ?>
131
  </span>
132
  </div>
133
  <div class="eo-grid-8 event-date" role="group" aria-labelledby="eo-end-datetime-label">
134
-
135
  <label for="eo-end-date" class="screen-reader-text"><?php esc_html_e( 'End Date', 'eventorganiser' ); ?></label>
136
  <input type="text" id="eo-end-date" aria-describedby="eo-end-date-desc" class="ui-widget-content ui-corner-all" name="eo_input[EndDate]" size="10" maxlength="10" value="<?php echo $end->format( $php_format ); ?>"/>
137
 
@@ -154,7 +154,7 @@ function _eventorganiser_details_metabox( $post ) {
154
 
155
  </div>
156
  </div>
157
-
158
  <div class="eo-grid-row event-date">
159
  <div class="eo-grid-4">
160
  <label for="eo-event-recurrence"><?php esc_html_e( 'Recurrence:', 'eventorganiser' ); ?> </label>
@@ -173,22 +173,22 @@ function _eventorganiser_details_metabox( $post ) {
173
  </select>
174
  </div>
175
  </div>
176
-
177
  <div class="eo-grid-row event-date reocurrence_row">
178
  <div class="eo-grid-4"></div>
179
  <div class="eo-grid-8 event-date">
180
  <div id="eo-recurrence-frequency-wrapper">
181
  <?php esc_html_e( 'Repeat every', 'eventorganiser' );?>
182
- <label for="eo-recurrence-frequency" class="screen-reader-text"><?php esc_html_e( 'Recurrence frequency', 'eventorganiser' );?></label>
183
- <input type="number" id="eo-recurrence-frequency" class="ui-widget-content ui-corner-all" name="eo_input[event_frequency]" min="1" max="365" maxlength="4" size="4" value="<?php echo intval( $frequency );?>" />
184
  <span id="eo-recurrence-schedule-label"></span>
185
  </div>
186
 
187
  <div id="eo-day-of-week-repeat">
188
-
189
  <span id="eo-days-of-week-label" class="screen-reader-text"><?php esc_html_e( 'Repeat on days of week:', 'eventorganiser' );?></span>
190
  <span class="eo-days-of-week-text"><?php esc_html_e( 'on', 'eventorganiser' );?></span>
191
- <ul class="eo-days-of-week" role="group" aria-labelledby="eo-days-of-week-label">
192
  <?php
193
  for ( $i = 0; $i <= 6; $i++ ) :
194
  $d = ($start_day + $i) % 7;
@@ -209,9 +209,9 @@ function _eventorganiser_details_metabox( $post ) {
209
 
210
  <div id="eo-day-of-month-repeat">
211
  <span id="eo-days-of-month-label" class="screen-reader-text"><?php esc_html_e( 'Select whether to repeat monthly by date or day:', 'eventorganiser' );?></span>
212
- <div class="eo-days-of-month" role="group" aria-labelledby="eo-days-of-month-label">
213
  <label for="eo-by-month-day" >
214
- <input type="radio" id="eo-by-month-day" name="eo_input[schedule_meta]" <?php checked( $occurs_by, 'BYMONTHDAY' ); ?> value="BYMONTHDAY=" />
215
  <?php esc_html_e( 'date of month', 'eventorganiser' );?>
216
  </label>
217
  <label for="eo-by-day" >
@@ -223,12 +223,12 @@ function _eventorganiser_details_metabox( $post ) {
223
 
224
  <div id="eo-schedule-last-date-wrapper" class="reoccurrence_label">
225
  <?php esc_html_e( 'until', 'eventorganiser' );?>
226
- <label id="eo-repeat-until-label" for="eo-schedule-last-date" class="screen-reader-text"><?php esc_html_e( 'Repeat this event until:', 'eventorganiser' );?></label>
227
  <input class="ui-widget-content ui-corner-all" name="eo_input[schedule_end]" id="eo-schedule-last-date" size="10" maxlength="10" value="<?php echo $until->format( $php_format ); ?>"/>
228
  </div>
229
 
230
  <p id="eo-event-summary" role="status" aria-live="polite"></p>
231
-
232
  </div>
233
  </div>
234
 
@@ -238,7 +238,7 @@ function _eventorganiser_details_metabox( $post ) {
238
  </div>
239
  <div class="eo-grid-8 event-date">
240
  <?php submit_button( __( 'Show dates', 'eventorganiser' ), 'hide-if-no-js eo_occurrence_toggle button small', 'eo_date_toggle', false ); ?>
241
-
242
  <div id="eo-occurrence-datepicker"></div>
243
  <?php
244
  if ( ! empty( $include ) ) {
@@ -257,14 +257,14 @@ function _eventorganiser_details_metabox( $post ) {
257
  $exclude_str = '';
258
  }?>
259
  <input type="hidden" name="eo_input[exclude]" id="eo-occurrence-excludes" value="<?php echo $exclude_str; ?>"/>
260
-
261
  </div>
262
  </div>
263
 
264
  <?php
265
  $tax = get_taxonomy( 'event-venue' );
266
- if ( taxonomy_exists( 'event-venue' ) ) : ?>
267
-
268
  <div class="eo-grid-row eo-venue-combobox-select">
269
  <div class="eo-grid-4">
270
  <label for="venue_select"><?php echo esc_html( $tax->labels->singular_name_colon ); ?></label>
@@ -278,16 +278,16 @@ function _eventorganiser_details_metabox( $post ) {
278
  </select>
279
  </div>
280
  </div>
281
-
282
- <!-- Add New Venue -->
283
  <div class="eo-grid-row eo-add-new-venue">
284
  <div class="eo-grid-4">
285
  <label for="eo_venue_name"><?php esc_html_e( 'Venue Name', 'eventorganiser' ); ?></label>
286
  </div>
287
  <div class="eo-grid-8">
288
  <input type="text" name="eo_venue[name]" id="eo_venue_name" value=""/>
289
- </div>
290
-
291
  <?php
292
  $address_fields = _eventorganiser_get_venue_address_fields();
293
  foreach ( $address_fields as $key => $label ) {
@@ -303,19 +303,19 @@ function _eventorganiser_details_metabox( $post ) {
303
  );
304
  }
305
  ?>
306
-
307
  <div class="eo-grid-4"></div>
308
  <div class="eo-grid-8 event-date">
309
  <a class="button eo-add-new-venue-cancel" href="#"><?php esc_html_e( 'Cancel','eventorganiser' );?> </a>
310
  </div>
311
  </div>
312
-
313
  <div class="eo-grid-row venue_row <?php if ( ! $venue_id ) { echo 'novenue'; }?>">
314
  <div class="eo-grid-4"></div>
315
  <div class="eo-grid-8">
316
 
317
  <?php
318
- if ( ! defined( 'EVENTORGANISER_GOOGLE_MAPS_API_KEY' ) && ! eventorganiser_get_google_maps_api_key() ) {
319
  printf(
320
  '<p>' . esc_html__( 'Google Maps now requires you register for an API key. If you wish to use maps on your site, %1$splease enter your key%2$s.', 'eventorganiser' ) . '</p>',
321
  sprintf( '<a href="%s">', esc_url( admin_url( 'options-general.php?page=event-settings' ) . '#google_api_key' ) ),
@@ -326,7 +326,7 @@ function _eventorganiser_details_metabox( $post ) {
326
 
327
  <div id="eventorganiser_venue_meta" style="display:none;">
328
  <input type="hidden" id="eo_venue_Lat" name="eo_venue[latitude]" value="<?php esc_attr( eo_venue_lat( $venue_id ) );?>" />
329
- <input type="hidden" id="eo_venue_Lng" name="eo_venue[longtitude]" value="<?php esc_attr( eo_venue_lng( $venue_id ) ); ?>" />
330
  </div>
331
 
332
  <div id="venuemap" class="ui-widget-content ui-corner-all gmap3"></div>
100
  $time_desc = $is24 ? __( 'Enter time in 24-hour hh colon mm format', 'eventorganiser' ) : __( 'Enter time in 12-hour hh colon mm am or pm format', 'eventorganiser' );
101
  ?>
102
  <div class="eo-grid <?php echo ( $sche_once ? 'onetime': 'reoccurence' );?>">
103
+
104
  <div class="eo-grid-row">
105
  <div class="eo-grid-4">
106
  <span class="eo-label" id="eo-start-datetime-label">
107
+ <?php esc_html_e( 'Start Date/Time:', 'eventorganiser' ); ?>
108
  </span>
109
  </div>
110
  <div class="eo-grid-8 event-date" role="group" aria-labelledby="eo-start-datetime-label">
111
+
112
  <label for="eo-start-date" class="screen-reader-text"><?php esc_html_e( 'Start Date', 'eventorganiser' ); ?></label>
113
  <input type="text" id="eo-start-date" aria-describedby="eo-start-date-desc" class="ui-widget-content ui-corner-all" name="eo_input[StartDate]" size="10" maxlength="10" value="<?php echo $start->format( $php_format ); ?>"/>
114
  <span id="eo-start-date-desc" class="screen-reader-text"><?php echo esc_html( $date_desc );?></span>
115
+
116
  <label for="eo-start-time" class="screen-reader-text"><?php esc_html_e( 'Start Time', 'eventorganiser' ); ?></label>
117
  <?php
118
  printf(
123
  <span id="eo-start-time-desc" class="screen-reader-text"><?php echo esc_html( $time_desc );?></span>
124
  </div>
125
  </div>
126
+
127
  <div class="eo-grid-row">
128
  <div class="eo-grid-4">
129
  <span class="eo-label" id="eo-end-datetime-label">
130
+ <?php esc_html_e( 'End Date/Time:', 'eventorganiser' ); ?>
131
  </span>
132
  </div>
133
  <div class="eo-grid-8 event-date" role="group" aria-labelledby="eo-end-datetime-label">
134
+
135
  <label for="eo-end-date" class="screen-reader-text"><?php esc_html_e( 'End Date', 'eventorganiser' ); ?></label>
136
  <input type="text" id="eo-end-date" aria-describedby="eo-end-date-desc" class="ui-widget-content ui-corner-all" name="eo_input[EndDate]" size="10" maxlength="10" value="<?php echo $end->format( $php_format ); ?>"/>
137
 
154
 
155
  </div>
156
  </div>
157
+
158
  <div class="eo-grid-row event-date">
159
  <div class="eo-grid-4">
160
  <label for="eo-event-recurrence"><?php esc_html_e( 'Recurrence:', 'eventorganiser' ); ?> </label>
173
  </select>
174
  </div>
175
  </div>
176
+
177
  <div class="eo-grid-row event-date reocurrence_row">
178
  <div class="eo-grid-4"></div>
179
  <div class="eo-grid-8 event-date">
180
  <div id="eo-recurrence-frequency-wrapper">
181
  <?php esc_html_e( 'Repeat every', 'eventorganiser' );?>
182
+ <label for="eo-recurrence-frequency" class="screen-reader-text"><?php esc_html_e( 'Recurrence frequency', 'eventorganiser' );?></label>
183
+ <input type="number" id="eo-recurrence-frequency" class="ui-widget-content ui-corner-all" name="eo_input[event_frequency]" min="1" max="365" maxlength="4" size="4" value="<?php echo intval( $frequency );?>" />
184
  <span id="eo-recurrence-schedule-label"></span>
185
  </div>
186
 
187
  <div id="eo-day-of-week-repeat">
188
+
189
  <span id="eo-days-of-week-label" class="screen-reader-text"><?php esc_html_e( 'Repeat on days of week:', 'eventorganiser' );?></span>
190
  <span class="eo-days-of-week-text"><?php esc_html_e( 'on', 'eventorganiser' );?></span>
191
+ <ul class="eo-days-of-week" role="group" aria-labelledby="eo-days-of-week-label">
192
  <?php
193
  for ( $i = 0; $i <= 6; $i++ ) :
194
  $d = ($start_day + $i) % 7;
209
 
210
  <div id="eo-day-of-month-repeat">
211
  <span id="eo-days-of-month-label" class="screen-reader-text"><?php esc_html_e( 'Select whether to repeat monthly by date or day:', 'eventorganiser' );?></span>
212
+ <div class="eo-days-of-month" role="group" aria-labelledby="eo-days-of-month-label">
213
  <label for="eo-by-month-day" >
214
+ <input type="radio" id="eo-by-month-day" name="eo_input[schedule_meta]" <?php checked( $occurs_by, 'BYMONTHDAY' ); ?> value="BYMONTHDAY=" />
215
  <?php esc_html_e( 'date of month', 'eventorganiser' );?>
216
  </label>
217
  <label for="eo-by-day" >
223
 
224
  <div id="eo-schedule-last-date-wrapper" class="reoccurrence_label">
225
  <?php esc_html_e( 'until', 'eventorganiser' );?>
226
+ <label id="eo-repeat-until-label" for="eo-schedule-last-date" class="screen-reader-text"><?php esc_html_e( 'Repeat this event until:', 'eventorganiser' );?></label>
227
  <input class="ui-widget-content ui-corner-all" name="eo_input[schedule_end]" id="eo-schedule-last-date" size="10" maxlength="10" value="<?php echo $until->format( $php_format ); ?>"/>
228
  </div>
229
 
230
  <p id="eo-event-summary" role="status" aria-live="polite"></p>
231
+
232
  </div>
233
  </div>
234
 
238
  </div>
239
  <div class="eo-grid-8 event-date">
240
  <?php submit_button( __( 'Show dates', 'eventorganiser' ), 'hide-if-no-js eo_occurrence_toggle button small', 'eo_date_toggle', false ); ?>
241
+
242
  <div id="eo-occurrence-datepicker"></div>
243
  <?php
244
  if ( ! empty( $include ) ) {
257
  $exclude_str = '';
258
  }?>
259
  <input type="hidden" name="eo_input[exclude]" id="eo-occurrence-excludes" value="<?php echo $exclude_str; ?>"/>
260
+
261
  </div>
262
  </div>
263
 
264
  <?php
265
  $tax = get_taxonomy( 'event-venue' );
266
+ if ( taxonomy_exists( 'event-venue' ) ) : ?>
267
+
268
  <div class="eo-grid-row eo-venue-combobox-select">
269
  <div class="eo-grid-4">
270
  <label for="venue_select"><?php echo esc_html( $tax->labels->singular_name_colon ); ?></label>
278
  </select>
279
  </div>
280
  </div>
281
+
282
+ <!-- Add New Venue -->
283
  <div class="eo-grid-row eo-add-new-venue">
284
  <div class="eo-grid-4">
285
  <label for="eo_venue_name"><?php esc_html_e( 'Venue Name', 'eventorganiser' ); ?></label>
286
  </div>
287
  <div class="eo-grid-8">
288
  <input type="text" name="eo_venue[name]" id="eo_venue_name" value=""/>
289
+ </div>
290
+
291
  <?php
292
  $address_fields = _eventorganiser_get_venue_address_fields();
293
  foreach ( $address_fields as $key => $label ) {
303
  );
304
  }
305
  ?>
306
+
307
  <div class="eo-grid-4"></div>
308
  <div class="eo-grid-8 event-date">
309
  <a class="button eo-add-new-venue-cancel" href="#"><?php esc_html_e( 'Cancel','eventorganiser' );?> </a>
310
  </div>
311
  </div>
312
+
313
  <div class="eo-grid-row venue_row <?php if ( ! $venue_id ) { echo 'novenue'; }?>">
314
  <div class="eo-grid-4"></div>
315
  <div class="eo-grid-8">
316
 
317
  <?php
318
+ if ( 'googlemaps' === eventorganiser_get_option( 'map_provider' ) && ! defined( 'EVENTORGANISER_GOOGLE_MAPS_API_KEY' ) && ! eventorganiser_get_google_maps_api_key() ) {
319
  printf(
320
  '<p>' . esc_html__( 'Google Maps now requires you register for an API key. If you wish to use maps on your site, %1$splease enter your key%2$s.', 'eventorganiser' ) . '</p>',
321
  sprintf( '<a href="%s">', esc_url( admin_url( 'options-general.php?page=event-settings' ) . '#google_api_key' ) ),
326
 
327
  <div id="eventorganiser_venue_meta" style="display:none;">
328
  <input type="hidden" id="eo_venue_Lat" name="eo_venue[latitude]" value="<?php esc_attr( eo_venue_lat( $venue_id ) );?>" />
329
+ <input type="hidden" id="eo_venue_Lng" name="eo_venue[longitude]" value="<?php esc_attr( eo_venue_lng( $venue_id ) ); ?>" />
330
  </div>
331
 
332
  <div id="venuemap" class="ui-widget-content ui-corner-all gmap3"></div>
event-organiser-venues.php CHANGED
@@ -8,9 +8,9 @@ if ( !class_exists( 'EventOrganiser_Admin_Page' ) ){
8
  * @ignore
9
  */
10
  class EventOrganiser_Venues_Page extends EventOrganiser_Admin_Page{
11
-
12
  function set_constants(){
13
-
14
  $tax = get_taxonomy( 'event-venue' );
15
  if( $tax ){
16
  $this->hook = 'edit.php?post_type=event';
@@ -20,7 +20,7 @@ class EventOrganiser_Venues_Page extends EventOrganiser_Admin_Page{
20
  $this->slug = 'venues';
21
  }
22
  }
23
-
24
  function hooks_init(){
25
  if( taxonomy_exists( 'event-venue' ) ){
26
  add_action( 'admin_menu', array( $this, 'add_page' ) );
@@ -60,14 +60,14 @@ class EventOrganiser_Venues_Page extends EventOrganiser_Admin_Page{
60
  } else{
61
  $term_id = (int) $return['term_id'];
62
  $venue = get_term( $term_id, 'event-venue' );
63
- $url = add_query_arg(
64
  array(
65
  'page' => 'venues',
66
  'action' => 'edit',
67
  'event-venue' => $venue->slug,
68
  'message' => 2,
69
- ),
70
- admin_url( 'edit.php?post_type=event' )
71
  );
72
 
73
  wp_redirect( esc_url_raw( $url ) );
@@ -82,7 +82,7 @@ class EventOrganiser_Venues_Page extends EventOrganiser_Admin_Page{
82
 
83
  $args = $_POST['eo_venue'];
84
  $name = isset( $args['name'] ) ? $args['name'] : '';
85
-
86
  //Venue may already exist in database since it may have been added via ajax (by pro plug-in);
87
  if ( !empty( $args['venue_id'] ) && $_venue = eo_get_venue_by( 'id', $args['venue_id'] ) ){
88
  //Since we're updating, need to explicitly provide slug to update it. Slug will be 'new-venue'.
@@ -105,15 +105,15 @@ class EventOrganiser_Venues_Page extends EventOrganiser_Admin_Page{
105
  'action' => 'edit',
106
  'event-venue' => $venue->slug,
107
  'message' => 1,
108
- ),
109
- admin_url( 'edit.php?post_type=event' )
110
  );
111
 
112
  wp_redirect( esc_url_raw( $url ) );
113
  exit();
114
  }
115
  break;
116
-
117
 
118
  case 'delete':
119
  if ( is_array( $request['event-venue'] ) ) {
@@ -139,14 +139,14 @@ class EventOrganiser_Venues_Page extends EventOrganiser_Admin_Page{
139
  $deleted++;
140
  }
141
  endforeach;
142
-
143
  if ( $deleted > 0 ){
144
  $url = add_query_arg(
145
  array(
146
  'page' => 'venues',
147
  'message' => 3,
148
- ),
149
- admin_url( 'edit.php?post_type=event' )
150
  );
151
  wp_redirect( esc_url_raw( $url ) );
152
  exit();
@@ -162,21 +162,21 @@ class EventOrganiser_Venues_Page extends EventOrganiser_Admin_Page{
162
  if ( in_array( $action, array( 'edit', 'update', 'create' ) ) ){
163
  $venue = ( isset( $request['event-venue'] ) ? $request['event-venue'] : false );
164
 
165
- //Venued edit page
166
  add_meta_box( 'submitdiv', __( 'Save', 'eventorganiser' ), 'eventorganiser_venue_submit', 'event_page_venues', 'side', 'high' );
167
-
168
  /**
169
  * Fires after all built-in meta boxes for venues have been added.
170
  *
171
  * @param Object $venue Venue (term object)
172
  */
173
  do_action( 'add_meta_boxes_event_page_venues', $venue );
174
-
175
  /**
176
  * @ignore
177
  */
178
  do_action( 'add_meta_boxes', 'event_page_venues', $venue );
179
-
180
  add_screen_option( 'layout_columns', array( 'max' => 2, 'default' => 2 ) );
181
  } else{
182
  //Venue admin list
@@ -209,48 +209,48 @@ class EventOrganiser_Venues_Page extends EventOrganiser_Admin_Page{
209
  wp_localize_script( 'eo-venue-admin', 'EO_Venue', array( 'location' => get_option( 'timezone_string' ), 'draggable' => true, 'screen_id' => $screen->id) );
210
  wp_enqueue_style( 'eventorganiser-style' );
211
  wp_enqueue_script( 'media-upload' );
212
- wp_enqueue_script( 'postbox' );
213
- add_thickbox();
214
  endif;
215
  }
216
 
217
  function display(){
218
-
219
  $tax = get_taxonomy( 'event-venue' );
220
  $action = $this->current_action();
221
  $venue = ( isset( $_GET['event-venue'] ) ? $_GET['event-venue'] : false );
222
  ?>
223
  <div class="wrap">
224
 
225
- <?php
226
  if ( ( ( $action == 'edit' || $action == 'update' ) && $venue ) || $action == 'create' ):
227
  $this->edit_form( $venue );
228
-
229
- else:
230
 
231
- //Else we are not creating or editing. Display table
 
 
232
  $venue_table = new EO_Venue_List_Table();
233
- $venue_table->prepare_items();
234
-
235
  //Check if we have searched the venues
236
  $search_term = ( isset( $_GET['s'] ) ? esc_attr( $_GET['s'] ) : '' );?>
237
 
238
  <h2>
239
  <?php ?>
240
  <?php echo esc_html( $tax->labels->name ) ?>
241
- <a href="edit.php?post_type=event&page=venues&action=create" class="add-new-h2"><?php echo esc_html( $tax->labels->add_new_item ); ?></a>
242
  <?php
243
  if ( $search_term ){
244
  printf( '<span class="subtitle">' . __( 'Search results for &#8220;%s&#8221;' ) . '</span>', $search_term );
245
- }
246
  ?>
247
  </h2>
248
-
249
  <form id="eo-venue-table" method="get">
250
  <!-- Ensure that the form posts back to our current page -->
251
  <input type="hidden" name="page" value="venues" />
252
  <input type="hidden" name="post_type" value="event" />
253
-
254
  <!-- Now we can render the completed list table -->
255
  <?php $venue_table->search_box( $tax->labels->search_items, 's' ); ?>
256
  <?php $venue_table->display(); ?>
@@ -268,7 +268,7 @@ class EventOrganiser_Venues_Page extends EventOrganiser_Admin_Page{
268
  */
269
  function edit_form( $venue = false ){
270
 
271
- $tax = get_taxonomy( 'event-venue' );
272
  $venue = get_term_by( 'slug', $venue, 'event-venue' );
273
  $term_id = isset( $venue->term_id ) ? (int) $venue->term_id : 0;
274
  $do = ( $this->current_action() == 'edit' ? 'update' : 'add' );
@@ -281,20 +281,20 @@ class EventOrganiser_Venues_Page extends EventOrganiser_Admin_Page{
281
  </h2>
282
  <?php else: ?>
283
  <h2>
284
- <?php echo esc_html( $tax->labels->add_new_item ); ?>
285
  </h2>
286
  <?php endif; ?>
287
 
288
  <form name="venuedetails" id="eo_venue_form" method="post" action="<?php echo admin_url( 'edit.php?post_type=event&page=venues' ); ?>" <?php do_action( 'eventorganiser_venue_edit_form_tag', $venue ); ?> >
289
- <input type="hidden" name="action" value="<?php echo $do; ?>">
290
- <input type="hidden" id="eo_venue_id" name="eo_venue[venue_id]" value="<?php echo $term_id;?>">
291
- <input type="hidden" name="event-venue" value="<?php echo ( isset( $venue->slug ) ? $venue->slug : '' ) ;?>">
292
 
293
  <?php wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?>
294
  <?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>
295
  <?php wp_nonce_field( $nonce ); ?>
296
 
297
- <?php
298
  $columns = (1 == get_current_screen()->get_columns() ? '1' : '2' );
299
  ?>
300
  <div id="poststuff">
@@ -318,7 +318,7 @@ class EventOrganiser_Venues_Page extends EventOrganiser_Admin_Page{
318
 
319
  <div id="postbox-container-1" class="postbox-container">
320
  <?php do_meta_boxes( '', 'side', $venue ); ?>
321
- </div>
322
 
323
  <div id="postbox-container-2" class="postbox-container">
324
  <?php do_meta_boxes( '', 'normal', $venue ); ?>
@@ -326,10 +326,10 @@ class EventOrganiser_Venues_Page extends EventOrganiser_Admin_Page{
326
  </div>
327
 
328
  </div><!-- #post-body -->
329
- <br class="clear">
330
 
331
  </div><!-- #poststuff -->
332
- </form>
333
  <?php
334
  }
335
  }
@@ -353,7 +353,7 @@ function eo_get_venue_permastructure(){
353
 
354
  //Submit metabox
355
  function eventorganiser_venue_submit( $venue ){
356
-
357
  $tax = get_taxonomy( 'event-venue' );
358
  $value = $venue ? $tax->labels->update_item : $tax->labels->add_new_item ?>
359
 
@@ -361,7 +361,7 @@ function eventorganiser_venue_submit( $venue ){
361
  <div id="save-action">
362
  <p>
363
  <input type="submit" class="button button-primary" id="save-venue" name="eo_venue[Submit]" value="<?php echo esc_attr( $value ); ?>" />
364
- </p>
365
  </div>
366
  <div class="clear"></div>
367
  </div>
@@ -369,13 +369,13 @@ function eventorganiser_venue_submit( $venue ){
369
  <?php
370
  }
371
 
372
- //Location metabox - called directly. Is not movable.
373
  function eventorganiser_venue_location( $venue ){
374
  $term_id = isset( $venue->term_id ) ? (int) $venue->term_id : 0;
375
  $address = eo_get_venue_address( $term_id );?>
376
 
377
  <div class="address-fields">
378
-
379
  <table>
380
  <tbody>
381
  <?php
@@ -396,30 +396,30 @@ function eventorganiser_venue_location( $venue ){
396
  ?>
397
  </tbody>
398
  </table>
399
-
400
  <?php $latlng = eo_get_venue_latlng( $term_id ); ?>
401
  <small>
402
  <?php esc_html_e( 'Latitude/Longitude:', 'eventorganiser' ); ?>
403
- <span id="eo-venue-latllng-text"
404
- data-eo-lat="<?php echo esc_attr( $latlng['lat'] );?>"
405
- data-eo-lng="<?php echo esc_attr( $latlng['lng'] );?>"
406
  contenteditable="true">
407
  <?php echo esc_html( implode( ',', $latlng ) );?>
408
  </span>
409
  </small>
410
-
411
  </div>
412
-
413
  <div id="venuemap"></div>
414
-
415
  <div class="clear"></div>
416
 
417
  <input type="hidden" name="eo_venue[latitude]" id="eo_venue_Lat" value="<?php echo esc_attr( eo_get_venue_lat( $term_id ) ); ?>"/>
418
- <input type="hidden" name="eo_venue[longtitude]" id="eo_venue_Lng" value="<?php echo esc_attr( eo_get_venue_lng( $term_id ) ); ?>"/>
419
  <?php
420
  }
421
 
422
- //Venue title input
423
  function eventorganiser_venue_title( $venue ){
424
 
425
  $tax = get_taxonomy( 'event-venue' );
@@ -433,16 +433,16 @@ function eventorganiser_venue_title( $venue ){
433
  <div class="inside">
434
  <div id="edit-slug-box">
435
  <?php if ( $venue ): ?>
436
- <strong><?php _e( 'Permalink:' );?></strong>
437
  <span id="sample-permalink">
438
  <?php echo eo_get_venue_permastructure();?>
439
  <input type="text" name="eo_venue[slug]"value="<?php echo ( isset( $venue->slug ) ? esc_attr( $venue->slug ) : '' ) ;?>" id="<?php echo $term_id; ?>-slug">
440
- </span>
441
-
442
  <input type="hidden" value="<?php echo get_term_link( $venue, 'event-venue' ); ?>" id="shortlink">
443
- <a onclick="prompt( 'URL:', jQuery( '#shortlink' ).val() ); return false;" class="button" href=""><?php _e( 'Get Link', 'eventorganiser' );?></a>
444
  <span id='view-post-btn'><a href="<?php echo get_term_link( $venue, 'event-venue' ); ?>" class='button' target='_blank'><?php echo esc_html( $tax->labels->view_item );?></a></span>
445
- <?php endif;?>
446
  </div><!-- #edit-slug-box -->
447
  </div> <!-- .inside -->
448
  <?php
@@ -450,9 +450,9 @@ function eventorganiser_venue_title( $venue ){
450
 
451
 
452
  function eventorganiser_venue_admin_columns( $columns ){
453
-
454
  $tax = get_taxonomy( 'event-venue' );
455
-
456
  $columns = array(
457
  'cb' => '<input type="checkbox" />', //Render a checkbox instead of text
458
  'name' => esc_html( $tax->labels->singular_name ),
@@ -466,5 +466,5 @@ function eventorganiser_venue_admin_columns( $columns ){
466
  'posts' => __( 'Events', 'eventorganiser' ),
467
  );
468
 
469
- return $columns;
470
  }
8
  * @ignore
9
  */
10
  class EventOrganiser_Venues_Page extends EventOrganiser_Admin_Page{
11
+
12
  function set_constants(){
13
+
14
  $tax = get_taxonomy( 'event-venue' );
15
  if( $tax ){
16
  $this->hook = 'edit.php?post_type=event';
20
  $this->slug = 'venues';
21
  }
22
  }
23
+
24
  function hooks_init(){
25
  if( taxonomy_exists( 'event-venue' ) ){
26
  add_action( 'admin_menu', array( $this, 'add_page' ) );
60
  } else{
61
  $term_id = (int) $return['term_id'];
62
  $venue = get_term( $term_id, 'event-venue' );
63
+ $url = add_query_arg(
64
  array(
65
  'page' => 'venues',
66
  'action' => 'edit',
67
  'event-venue' => $venue->slug,
68
  'message' => 2,
69
+ ),
70
+ admin_url( 'edit.php?post_type=event' )
71
  );
72
 
73
  wp_redirect( esc_url_raw( $url ) );
82
 
83
  $args = $_POST['eo_venue'];
84
  $name = isset( $args['name'] ) ? $args['name'] : '';
85
+
86
  //Venue may already exist in database since it may have been added via ajax (by pro plug-in);
87
  if ( !empty( $args['venue_id'] ) && $_venue = eo_get_venue_by( 'id', $args['venue_id'] ) ){
88
  //Since we're updating, need to explicitly provide slug to update it. Slug will be 'new-venue'.
105
  'action' => 'edit',
106
  'event-venue' => $venue->slug,
107
  'message' => 1,
108
+ ),
109
+ admin_url( 'edit.php?post_type=event' )
110
  );
111
 
112
  wp_redirect( esc_url_raw( $url ) );
113
  exit();
114
  }
115
  break;
116
+
117
 
118
  case 'delete':
119
  if ( is_array( $request['event-venue'] ) ) {
139
  $deleted++;
140
  }
141
  endforeach;
142
+
143
  if ( $deleted > 0 ){
144
  $url = add_query_arg(
145
  array(
146
  'page' => 'venues',
147
  'message' => 3,
148
+ ),
149
+ admin_url( 'edit.php?post_type=event' )
150
  );
151
  wp_redirect( esc_url_raw( $url ) );
152
  exit();
162
  if ( in_array( $action, array( 'edit', 'update', 'create' ) ) ){
163
  $venue = ( isset( $request['event-venue'] ) ? $request['event-venue'] : false );
164
 
165
+ //Venued edit page
166
  add_meta_box( 'submitdiv', __( 'Save', 'eventorganiser' ), 'eventorganiser_venue_submit', 'event_page_venues', 'side', 'high' );
167
+
168
  /**
169
  * Fires after all built-in meta boxes for venues have been added.
170
  *
171
  * @param Object $venue Venue (term object)
172
  */
173
  do_action( 'add_meta_boxes_event_page_venues', $venue );
174
+
175
  /**
176
  * @ignore
177
  */
178
  do_action( 'add_meta_boxes', 'event_page_venues', $venue );
179
+
180
  add_screen_option( 'layout_columns', array( 'max' => 2, 'default' => 2 ) );
181
  } else{
182
  //Venue admin list
209
  wp_localize_script( 'eo-venue-admin', 'EO_Venue', array( 'location' => get_option( 'timezone_string' ), 'draggable' => true, 'screen_id' => $screen->id) );
210
  wp_enqueue_style( 'eventorganiser-style' );
211
  wp_enqueue_script( 'media-upload' );
212
+ wp_enqueue_script( 'postbox' );
213
+ add_thickbox();
214
  endif;
215
  }
216
 
217
  function display(){
218
+
219
  $tax = get_taxonomy( 'event-venue' );
220
  $action = $this->current_action();
221
  $venue = ( isset( $_GET['event-venue'] ) ? $_GET['event-venue'] : false );
222
  ?>
223
  <div class="wrap">
224
 
225
+ <?php
226
  if ( ( ( $action == 'edit' || $action == 'update' ) && $venue ) || $action == 'create' ):
227
  $this->edit_form( $venue );
 
 
228
 
229
+ else:
230
+
231
+ //Else we are not creating or editing. Display table
232
  $venue_table = new EO_Venue_List_Table();
233
+ $venue_table->prepare_items();
234
+
235
  //Check if we have searched the venues
236
  $search_term = ( isset( $_GET['s'] ) ? esc_attr( $_GET['s'] ) : '' );?>
237
 
238
  <h2>
239
  <?php ?>
240
  <?php echo esc_html( $tax->labels->name ) ?>
241
+ <a href="edit.php?post_type=event&page=venues&action=create" class="add-new-h2"><?php echo esc_html( $tax->labels->add_new_item ); ?></a>
242
  <?php
243
  if ( $search_term ){
244
  printf( '<span class="subtitle">' . __( 'Search results for &#8220;%s&#8221;' ) . '</span>', $search_term );
245
+ }
246
  ?>
247
  </h2>
248
+
249
  <form id="eo-venue-table" method="get">
250
  <!-- Ensure that the form posts back to our current page -->
251
  <input type="hidden" name="page" value="venues" />
252
  <input type="hidden" name="post_type" value="event" />
253
+
254
  <!-- Now we can render the completed list table -->
255
  <?php $venue_table->search_box( $tax->labels->search_items, 's' ); ?>
256
  <?php $venue_table->display(); ?>
268
  */
269
  function edit_form( $venue = false ){
270
 
271
+ $tax = get_taxonomy( 'event-venue' );
272
  $venue = get_term_by( 'slug', $venue, 'event-venue' );
273
  $term_id = isset( $venue->term_id ) ? (int) $venue->term_id : 0;
274
  $do = ( $this->current_action() == 'edit' ? 'update' : 'add' );
281
  </h2>
282
  <?php else: ?>
283
  <h2>
284
+ <?php echo esc_html( $tax->labels->add_new_item ); ?>
285
  </h2>
286
  <?php endif; ?>
287
 
288
  <form name="venuedetails" id="eo_venue_form" method="post" action="<?php echo admin_url( 'edit.php?post_type=event&page=venues' ); ?>" <?php do_action( 'eventorganiser_venue_edit_form_tag', $venue ); ?> >
289
+ <input type="hidden" name="action" value="<?php echo $do; ?>">
290
+ <input type="hidden" id="eo_venue_id" name="eo_venue[venue_id]" value="<?php echo $term_id;?>">
291
+ <input type="hidden" name="event-venue" value="<?php echo ( isset( $venue->slug ) ? $venue->slug : '' ) ;?>">
292
 
293
  <?php wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?>
294
  <?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>
295
  <?php wp_nonce_field( $nonce ); ?>
296
 
297
+ <?php
298
  $columns = (1 == get_current_screen()->get_columns() ? '1' : '2' );
299
  ?>
300
  <div id="poststuff">
318
 
319
  <div id="postbox-container-1" class="postbox-container">
320
  <?php do_meta_boxes( '', 'side', $venue ); ?>
321
+ </div>
322
 
323
  <div id="postbox-container-2" class="postbox-container">
324
  <?php do_meta_boxes( '', 'normal', $venue ); ?>
326
  </div>
327
 
328
  </div><!-- #post-body -->
329
+ <br class="clear">
330
 
331
  </div><!-- #poststuff -->
332
+ </form>
333
  <?php
334
  }
335
  }
353
 
354
  //Submit metabox
355
  function eventorganiser_venue_submit( $venue ){
356
+
357
  $tax = get_taxonomy( 'event-venue' );
358
  $value = $venue ? $tax->labels->update_item : $tax->labels->add_new_item ?>
359
 
361
  <div id="save-action">
362
  <p>
363
  <input type="submit" class="button button-primary" id="save-venue" name="eo_venue[Submit]" value="<?php echo esc_attr( $value ); ?>" />
364
+ </p>
365
  </div>
366
  <div class="clear"></div>
367
  </div>
369
  <?php
370
  }
371
 
372
+ //Location metabox - called directly. Is not movable.
373
  function eventorganiser_venue_location( $venue ){
374
  $term_id = isset( $venue->term_id ) ? (int) $venue->term_id : 0;
375
  $address = eo_get_venue_address( $term_id );?>
376
 
377
  <div class="address-fields">
378
+
379
  <table>
380
  <tbody>
381
  <?php
396
  ?>
397
  </tbody>
398
  </table>
399
+
400
  <?php $latlng = eo_get_venue_latlng( $term_id ); ?>
401
  <small>
402
  <?php esc_html_e( 'Latitude/Longitude:', 'eventorganiser' ); ?>
403
+ <span id="eo-venue-latllng-text"
404
+ data-eo-lat="<?php echo esc_attr( $latlng['lat'] );?>"
405
+ data-eo-lng="<?php echo esc_attr( $latlng['lng'] );?>"
406
  contenteditable="true">
407
  <?php echo esc_html( implode( ',', $latlng ) );?>
408
  </span>
409
  </small>
410
+
411
  </div>
412
+
413
  <div id="venuemap"></div>
414
+
415
  <div class="clear"></div>
416
 
417
  <input type="hidden" name="eo_venue[latitude]" id="eo_venue_Lat" value="<?php echo esc_attr( eo_get_venue_lat( $term_id ) ); ?>"/>
418
+ <input type="hidden" name="eo_venue[longitude]" id="eo_venue_Lng" value="<?php echo esc_attr( eo_get_venue_lng( $term_id ) ); ?>"/>
419
  <?php
420
  }
421
 
422
+ //Venue title input
423
  function eventorganiser_venue_title( $venue ){
424
 
425
  $tax = get_taxonomy( 'event-venue' );
433
  <div class="inside">
434
  <div id="edit-slug-box">
435
  <?php if ( $venue ): ?>
436
+ <strong><?php _e( 'Permalink:' );?></strong>
437
  <span id="sample-permalink">
438
  <?php echo eo_get_venue_permastructure();?>
439
  <input type="text" name="eo_venue[slug]"value="<?php echo ( isset( $venue->slug ) ? esc_attr( $venue->slug ) : '' ) ;?>" id="<?php echo $term_id; ?>-slug">
440
+ </span>
441
+
442
  <input type="hidden" value="<?php echo get_term_link( $venue, 'event-venue' ); ?>" id="shortlink">
443
+ <a onclick="prompt( 'URL:', jQuery( '#shortlink' ).val() ); return false;" class="button" href=""><?php _e( 'Get Link', 'eventorganiser' );?></a>
444
  <span id='view-post-btn'><a href="<?php echo get_term_link( $venue, 'event-venue' ); ?>" class='button' target='_blank'><?php echo esc_html( $tax->labels->view_item );?></a></span>
445
+ <?php endif;?>
446
  </div><!-- #edit-slug-box -->
447
  </div> <!-- .inside -->
448
  <?php
450
 
451
 
452
  function eventorganiser_venue_admin_columns( $columns ){
453
+
454
  $tax = get_taxonomy( 'event-venue' );
455
+
456
  $columns = array(
457
  'cb' => '<input type="checkbox" />', //Render a checkbox instead of text
458
  'name' => esc_html( $tax->labels->singular_name ),
466
  'posts' => __( 'Events', 'eventorganiser' ),
467
  );
468
 
469
+ return $columns;
470
  }
event-organiser.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Event Organiser
4
  Plugin URI: http://www.wp-event-organiser.com
5
- Version: 3.7.2
6
  Description: Creates a custom post type 'events' with features such as recurring events, venues, Google Maps, calendar views and events and venue pages
7
  Author: Stephen Harris
8
  Author URI: http://www.stephenharris.info
@@ -38,7 +38,7 @@ Domain Path: /languages
38
  /**
39
  * Set the plug-in database version
40
  */
41
- define( 'EVENT_ORGANISER_VER', '3.7.2' );
42
 
43
  add_action( 'after_setup_theme', '_eventorganiser_set_constants' );
44
  function _eventorganiser_set_constants() {
2
  /*
3
  Plugin Name: Event Organiser
4
  Plugin URI: http://www.wp-event-organiser.com
5
+ Version: 3.7.3
6
  Description: Creates a custom post type 'events' with features such as recurring events, venues, Google Maps, calendar views and events and venue pages
7
  Author: Stephen Harris
8
  Author URI: http://www.stephenharris.info
38
  /**
39
  * Set the plug-in database version
40
  */
41
+ define( 'EVENT_ORGANISER_VER', '3.7.3' );
42
 
43
  add_action( 'after_setup_theme', '_eventorganiser_set_constants' );
44
  function _eventorganiser_set_constants() {
includes/class-eo-ical-parser.php CHANGED
@@ -5,29 +5,29 @@
5
 
6
  /**
7
  * Parses a local or remote ICAL file
8
- *
9
  * Example usage
10
  * <code>
11
  * $ical = new EO_ICAL_Parser();
12
  * $ical->parse( 'http://www.dol.govt.nz/er/holidaysandleave/publicholidays/publicholidaydates/ical/auckland.ics' );
13
- *
14
  * $ical->events; //Array of events
15
  * $ical->venues; //Array of venue names
16
  * $ical->categories; //Array of category names
17
  * $ical->errors; //Array of WP_Error errors
18
  * $ical->warnings; //Array of WP_Error 'warnings'. This are "non-fatal" errors (e.g. warnings about timezone 'guessing').
19
  * </code>
20
- *
21
  * You can configire default settings by passing an array to the class constructor.
22
  * <code>
23
  * $ical = new EO_ICAL_Parser( array( ..., 'default_status' => 'published', ... ) );
24
  * </code>
25
  * Available settings include:
26
- *
27
  * * **status_map** - How to interpret the ICAL STATUS property.
28
  * * **default_status** - Default status of posts (unless otherwise specified by STATUS). Default is 'draft'
29
- *
30
- * @link http://www.ietf.org/rfc/rfc2445.txt ICAL Specification
31
  * @link http://www.kanzaki.com/docs/ical/ ICAL Specification excerpts
32
  * @author stephen
33
  * @package ical-functions
@@ -40,93 +40,93 @@ class EO_ICAL_Parser{
40
  * @var array
41
  */
42
  var $events = array();
43
-
44
  /**
45
  * Array of venues present in the feed
46
  * @var array
47
  */
48
  var $venues = array();
49
-
50
  /**
51
  * Array of venue metadata present in the feed
52
  * @var array
53
  */
54
  var $venue_meta = array();
55
-
56
  /**
57
  * Array of categories present in the feed
58
  * @var array
59
  */
60
  var $categories = array();
61
-
62
  /**
63
  * Number of events parsed.
64
  * @var int
65
  */
66
  var $events_parsed = 0;
67
-
68
  /**
69
  * Number of venues parsed.
70
  * @var int
71
  */
72
  var $venue_parsed = 0;
73
-
74
  /**
75
  * Number of categories parsed.
76
  * @var int
77
  */
78
  var $categories_parsed = 0;
79
-
80
  /**
81
  * Timeout for remote fetching (in seconds)
82
- * @var int
83
  */
84
  var $remote_timeout = 10;
85
-
86
 
87
  /**
88
  * Array of WP_Error objects. These are errors which abort the parsing.
89
  * @var array
90
  */
91
  var $errors = array();
92
-
93
  /**
94
  * Array of WP_Error objects. These are soft-errors which the parser tries to deal with
95
  * @var array
96
  */
97
  var $warnings = array();
98
 
99
-
100
  /**
101
  * The current event being parsed. Stores data retrieved so far in the parsing.
102
  * @var array
103
  */
104
  var $current_event = array();
105
-
106
  /**
107
  * Indicates which line in the feed we are at
108
  * @var int
109
  */
110
  var $line = 0; //Current line being parsed
111
-
112
  /**
113
  * Keeps track of where we are in the feed.
114
  * @var string
115
  */
116
  var $state = "NONE";
117
-
118
-
119
  /**
120
  * Option to toggle whether a HTML description should be used (if present).
121
  * @var bool
122
  */
123
  var $parse_html = true; //If description is given in HTML, try to use that.
124
 
125
-
126
  /**
127
  * Constructor with settings passed as arguments
128
  * Available options include 'status_map' and 'default_status'.
129
- *
130
  * @param array $args
131
  */
132
  function __construct( $args = array() ){
@@ -140,12 +140,12 @@ class EO_ICAL_Parser{
140
  'default_status' => 'draft',
141
  'parse_html' => true,
142
  ), $args );
143
-
144
  /**
145
  * Filters the options for the iCal parser class
146
- *
147
  * `$args` is an array with keys:
148
- *
149
  * - `status_map` - mapping iCal status to WordPress status. By default
150
  * <pre><code>
151
  * array(
@@ -155,19 +155,19 @@ class EO_ICAL_Parser{
155
  * );
156
  * </code></pre>
157
  * - `default_status` - the status to use for the event if the iCal feed does not provide a status#
158
- * - `parse_html` - whether to parse a HTML version of event descriptions if provided
159
  *
160
  * @param array $args Options for the iCal Parser
161
  * @param EO_ICAL_Parser $ical_parser The iCal parser object
162
  */
163
  $args = apply_filters_ref_array( 'eventorganiser_ical_parser_args', array( $args, &$this ) );
164
-
165
  $this->calendar_timezone = eo_get_blog_timezone();
166
-
167
  $this->default_status = $args['default_status'];
168
  $this->status_map = $args['status_map'];
169
  $this->parse_html = $args['parse_html'];
170
-
171
  }
172
 
173
 
@@ -186,7 +186,7 @@ class EO_ICAL_Parser{
186
  //Local file
187
  } elseif ( @is_file( $file ) && @file_exists( $file ) ) {
188
  $this->ical_array = $this->file_to_array( $file );
189
-
190
  } else {
191
  $this->ical_array = new WP_Error(
192
  'invalid-ical-source',
@@ -196,32 +196,32 @@ class EO_ICAL_Parser{
196
 
197
  if( is_wp_error( $this->ical_array ) )
198
  return $this->ical_array;
199
-
200
  if( empty( $this->ical_array ) ){
201
  return new WP_Error( 'unable-to-read', __( 'Unable to read iCal file', 'eventorganiser' ) );
202
  }
203
 
204
  //Go through array and parse events
205
  $result = $this->parse_ical_array();
206
-
207
  if( "NONE" == $this->state ){
208
  return new WP_Error( 'unable-to-fetch', __( 'Feed not found', 'eventorganiser' ) );
209
  }
210
-
211
  if( !empty( $this->errors ) ){
212
  return $this->errors[0];
213
  }
214
-
215
  $this->events_parsed = count( $this->events );
216
  $this->venue_parsed = count( $this->venues );
217
  $this->categories_parsed = count( $this->categories );
218
-
219
  /**
220
  * Filter the feed class by reference.
221
- *
222
  * This filter allows you to view and modify all events, venues and categories from
223
  * a parsed iCal feed. The example below adds all events to the category 'imported'
224
- *
225
  * <pre><code>
226
  * add_action( 'eventorganiser_ical_feed_parsed', 'my_auto_assign_event_cat_to_feed' );
227
  * function my_auto_assign_event_cat_to_feed( $ical_parser ){
@@ -232,18 +232,18 @@ class EO_ICAL_Parser{
232
  * }
233
  * }
234
  * </code></pre>
235
- *
236
  * @since 2.7
237
  * @param EO_ICAL_Parser $EO_ICAL_Parser The feed parser object containing parsed events/venues/categories.
238
  */
239
  do_action_ref_array( 'eventorganiser_ical_feed_parsed', array( &$this ) );
240
-
241
  return true;
242
  }
243
 
244
  /**
245
  * Fetches ICAL calendar from a feed url and returns its contents as an array.
246
- *
247
  * @ignore
248
  * @param sring $url The url of the ICAL feed
249
  * @return array|bool Array of line in ICAL feed, false on error
@@ -260,7 +260,7 @@ class EO_ICAL_Parser{
260
 
261
  if( is_wp_error( $response ) )
262
  return $response;
263
-
264
  if( $response_code != 200 ){
265
  return new WP_Error( 'unable-to-fetch',
266
  sprintf(
@@ -269,13 +269,13 @@ class EO_ICAL_Parser{
269
  $response_code
270
  ));
271
  }
272
-
273
  if( $contents )
274
  return explode( "\n", $contents );
275
-
276
-
277
- return new WP_Error( 'unable-to-fetch',
278
- sprintf(
279
  __( 'There was an error fetching the feed. Response code: %s.', 'eventorganiser' ),
280
  $response_code
281
  ));
@@ -294,8 +294,8 @@ class EO_ICAL_Parser{
294
  $lines = array();
295
 
296
  if( !$file_handle )
297
- return new WP_Error(
298
- 'unable-to-open',
299
  __( 'There was an error opening the ICAL file.', 'eventorganiser' )
300
  );
301
 
@@ -311,34 +311,34 @@ class EO_ICAL_Parser{
311
  }
312
 
313
  /**
314
- * Modifies the ical_array to unfold multi-line entries into a single line.
315
  * Preserves the original line numbering so that line numbers in error messages
316
- * match up with the line numbers when viewing the (unfolded) iCal file in a
317
- * text editor.
318
  */
319
  function unfold_lines( $lines ) {
320
-
321
  $unfolded_lines = array();
322
 
323
  $i = 0;
324
-
325
  while( $i < count ( $lines ) ) {
326
-
327
  $unfolded_lines[$i] = rtrim( $lines[$i], "\n\r" );
328
-
329
  $j = $i+1;
330
-
331
  while( isset( $lines[$j] ) && strlen( $lines[$j] ) > 0 && ( $lines[$j]{0} == ' ' || $lines[$j]{0} == "\t" )) {
332
  $unfolded_lines[$i] .= rtrim( substr( $lines[$j], 1 ), "\n\r" );
333
  $j++;
334
  }
335
-
336
  $i = ($j-1) + 1;
337
  }
338
-
339
  return $unfolded_lines;
340
  }
341
-
342
 
343
  /**
344
  * Parses through an array of lines (of an ICAL file)
@@ -347,16 +347,16 @@ class EO_ICAL_Parser{
347
  protected function parse_ical_array(){
348
 
349
  $this->ical_array = $this->unfold_lines( $this->ical_array );
350
-
351
  $this->state = "NONE";//Initial state
352
  $this->line = 1;
353
 
354
  //Read through each line
355
  foreach ( $this->ical_array as $index => $line_content ):
356
-
357
  if( !empty( $this->errors ) )
358
  break;
359
-
360
  $this->line = $index + 1;
361
  $buff = trim( $line_content );
362
 
@@ -370,48 +370,48 @@ class EO_ICAL_Parser{
370
 
371
  //If we are in EVENT state
372
  if ( $this->state == "VEVENT" ) {
373
-
374
  if( $property == "BEGIN" && $value == 'VALARM' ){
375
  //In state VEVENT > VALARM
376
  $this->state = "VEVENT:VALARM";
377
-
378
-
379
  //If END:VEVENT, add event to parsed events and clear $event
380
  }elseif( $property == 'END' && $value =='VEVENT' ){
381
  $this->state = "VCALENDAR";
382
-
383
  $this->current_event['_lines']['end'] = $this->line;
384
-
385
  //If not dtend was given, set it appropriately
386
  //@see https://github.com/stephenharris/Event-Organiser/issues/292
387
  if ( ! isset( $this->current_event['end'] ) && isset( $this->current_event['start'] ) ) {
388
-
389
  $end = clone $this->current_event['start'];
390
  if ( ! empty( $this->current_event['duration'] ) ) {
391
-
392
  $end->modify( $this->current_event['duration'] );
393
  unset( $this->current_event['duration'] );
394
-
395
  } else if ( ! empty( $this->current_event['all_day'] ) ) {
396
  //event is assumed to have a duration of 1 day, for us that means
397
  //same date as start date, but with a time of 23:59
398
  $end->setTime( 23, 59 );
399
  }
400
  $this->current_event['end'] = $end;
401
-
402
  }
403
-
404
  //If importing indefinately recurring: recurr up to some large point in time.
405
  if ( array_key_exists( 'until', $this->current_event ) && is_null( $this->current_event['until'] ) && empty( $this->current_event['number_occurrences'] ) ) {
406
-
407
  $until = new DateTime( '2038-01-19 00:00:00', eo_get_blog_timezone() );
408
-
409
  /**
410
  * When parsing an iCal feed the 'until' date to assign to indefinitely recurrring events
411
  * Event Organiser doesn't support indefinitely recurring events. When it encounters them
412
  * in an iCal feed it assigns them an arbitrary date in the future. This filter allows
413
  * you to change that date
414
- *
415
  * @since 3.1.0
416
  * @param DateTime $until Occurrences will be created for this event up until this date
417
  * @param array $event The event as imported from the iCal feed
@@ -424,62 +424,64 @@ class EO_ICAL_Parser{
424
  $this->report_warning(
425
  $this->line,
426
  'indefinitely-recurring-event',
427
- sprintf(
428
  __( 'Feed contains an indefinitely recurring event. This event will recurr until %s.', 'eventorganiser' ),
429
  $this->current_event['until']->format( get_option( 'date_format' ) )
430
  )
431
  );
432
  }
433
-
434
  //Now we've finished passing the event, move venue data to $this->venue_meta
435
  if( isset( $this->current_event['geo'] ) && !empty( $this->current_event['event-venue'] ) ){
436
  $venue = $this->current_event['event-venue'];
437
  $this->venue_meta[$venue]['latitude'] = $this->current_event['geo']['lat'];
 
 
438
  $this->venue_meta[$venue]['longtitude'] = $this->current_event['geo']['lng'];
439
  unset( $this->current_event['geo'] );
440
  }
441
-
442
  if( empty( $this->current_event['uid'] ) ){
443
- $this->report_warning(
444
- $this->current_event['_lines'],
445
  'event-no-uid',
446
  "Event does not have a unique identifier (UID) property."
447
  );
448
  }
449
-
450
  if( empty( $this->current_event['sequence'] ) ){
451
  $this->current_event['sequence'] = 0;
452
  }
453
-
454
- //Check to see if an event has already been parsed with this UID
455
  $index = isset( $this->current_event['uid'] ) ? 'uid:'.$this->current_event['uid'] : count( $this->events );
456
  if( isset( $this->events[$index] ) ){
457
-
458
  if( $this->current_event['sequence'] > $this->events[$index]['sequence'] ){
459
  $this->events[$index] = $this->current_event;
460
-
461
  }elseif( isset( $this->events[$index]['recurrence-id'] ) ){
462
  //This event has recurrence ID - replace it.
463
  $this->events[$index] = $this->current_event;
464
-
465
  }elseif( isset( $this->current_event['recurrence-id'] ) ){
466
  //Ignore this event - keep existing
467
-
468
  }elseif( $this->current_event['sequence'] == $this->events[$index]['sequence'] ){
469
- $this->report_warning(
470
- $this->current_event['_lines'],
471
  'duplicate-id',
472
- sprintf(
473
  "Duplicate UID (%s) found in feed. UIDs must be unique.",
474
  $this->current_event['uid']
475
  )
476
  );
477
  }
478
-
479
  }else{
480
  $this->events[$index] = $this->current_event;
481
  }
482
-
483
  $this->current_event = array();
484
 
485
  //Otherwise, parse event property
@@ -490,7 +492,7 @@ class EO_ICAL_Parser{
490
  $value .= substr( $this->ical_array[$this->line-1], 1 );
491
  $this->line++;
492
  }
493
-
494
  $this->parse_event_property( $property, $value, $modifiers );
495
 
496
  }catch( Exception $e ){
@@ -499,15 +501,15 @@ class EO_ICAL_Parser{
499
  }
500
  }
501
 
502
-
503
  //We are in a VEVENT > VALARM stte
504
  }elseif( $this->state == "VEVENT:VALARM" ){
505
-
506
  //We ignore VALARMs...
507
  if ( $property=='END' && $value=='VALARM')
508
  $this->state = "VEVENT";
509
-
510
-
511
  // If we are in CALENDAR state
512
  }elseif ($this->state == "VCALENDAR") {
513
 
@@ -518,7 +520,7 @@ class EO_ICAL_Parser{
518
 
519
  }elseif ( $property=='END' && $value=='VCALENDAR'){
520
  $this->state = "ENDCALENDAR";
521
-
522
  }elseif($property=='X-WR-TIMEZONE'){
523
  $this->calendar_timezone = $this->parse_timezone($value);
524
  }
@@ -529,7 +531,7 @@ class EO_ICAL_Parser{
529
  }
530
  endif; //If line is not empty
531
  endforeach; //For each line
532
-
533
  $this->events = array_values( $this->events );
534
  }
535
 
@@ -549,7 +551,7 @@ class EO_ICAL_Parser{
549
  sprintf( __( '[Lines %1$d-%2$d]', 'eventorganiser' ), $line['start'], $line['end'] ).' '.$message,
550
  array( 'line' => $line )
551
  );
552
-
553
  }else{
554
  $this->errors[] = new WP_Error(
555
  $type,
@@ -558,7 +560,7 @@ class EO_ICAL_Parser{
558
  );
559
  }
560
  }
561
-
562
  /**
563
  * Report an warnings with an iCal file
564
  * @ignore
@@ -567,14 +569,14 @@ class EO_ICAL_Parser{
567
  * @param string $message Verbose error message
568
  */
569
  protected function report_warning( $line, $type, $message ){
570
-
571
  if( is_array( $line ) ){
572
  $this->warnings[] = new WP_Error(
573
  $type,
574
  sprintf( __( '[Lines %1$d-%2$d]', 'eventorganiser' ), $line['start'], $line['end'] ).' '.$message,
575
  array( 'line' => $line )
576
  );
577
-
578
  }else{
579
  $this->warnings[] = new WP_Error(
580
  $type,
@@ -593,7 +595,7 @@ class EO_ICAL_Parser{
593
  if( !empty( $modifiers ) ):
594
  foreach( $modifiers as $modifier ):
595
  if ( stristr( $modifier, 'TZID' ) ){
596
-
597
  $date_tz = $this->parse_timezone( substr( $modifier, 5 ) );
598
 
599
  }elseif( stristr( $modifier, 'VALUE' ) ){
@@ -612,21 +614,21 @@ class EO_ICAL_Parser{
612
  /**
613
  * Action before iCal property has been parsed. It also allows you to prevent
614
  * the default parsing of the property value.
615
- *
616
  * More details can bee found on the docs for `eventorganiser_ical_property_{property}` hook
617
- *
618
  * <pre><code>
619
  * add_filter( 'eventorganiser_pre_ical_property_summary', 'my_alter_parsed_title', 10, 5 );
620
  * function my_alter_parsed_title( $skip, $title, $modifiers, $ical_parser, $property ){
621
- *
622
  * //Prepend "imported: " to title
623
  * $ical_parser->current_event['post_title'] = "imported: " . $ical_parser->parse_ical_text( $title );
624
- *
625
  * //Stop default behaviour
626
  * return true;
627
  * }
628
  * </code></pre>
629
- *
630
  * @since 2.10
631
  * @param bool $skip Whether to skip default parsing of property.
632
  * @param string $value The raw value parsed from the iCal feed
@@ -635,23 +637,23 @@ class EO_ICAL_Parser{
635
  * @param string $propery The property name
636
  */
637
  $skip = apply_filters( 'eventorganiser_pre_ical_property_'. $property_lowercase, $skip, $value, $modifiers, $this, $property );
638
-
639
  if( !$skip ){
640
  switch( $property ):
641
  case 'UID':
642
  $this->current_event['uid'] = $value;
643
  break;
644
-
645
  case 'SEQUENCE':
646
- $this->current_event['sequence'] = $value;
647
  break;
648
-
649
  case 'RECURRENCE-ID':
650
  //This is not properly implemented yet but is used to detect
651
  //when feed entries may share a UID.
652
  $this->current_event['recurrence-id'] = $value;
653
  break;
654
-
655
  case 'CREATED':
656
  case 'DTSTART':
657
  case 'DTEND':
@@ -663,7 +665,7 @@ class EO_ICAL_Parser{
663
  $date = $this->parse_ical_datetime( $value, $date_tz );
664
  $allday = 0;
665
  } catch ( Exception $datetime_exception ) {
666
-
667
  try{
668
  $date = $this->parse_ical_date( $value );
669
  $allday = 1;
@@ -671,7 +673,7 @@ class EO_ICAL_Parser{
671
  throw $datetime_exception;
672
  }
673
  }
674
-
675
  endif;
676
 
677
  if( empty( $date ) )
@@ -696,7 +698,7 @@ class EO_ICAL_Parser{
696
 
697
  endswitch;
698
  break;
699
-
700
  case 'DURATION':
701
  $this->current_event['duration'] = $this->parse_duration( $value );
702
  break;
@@ -708,14 +710,14 @@ class EO_ICAL_Parser{
708
 
709
  //Note, we only consider the Date part and ignore the time
710
  foreach( $value_array as $date ):
711
-
712
  if( isset( $meta ) && 'DATE' == $meta ){
713
  $date = $this->parse_ical_date( $date );
714
  }else{
715
  try{
716
  $date = $this->parse_ical_datetime( $date, $date_tz );
717
  } catch ( Exception $datetime_exception ) {
718
-
719
  try{
720
  $date = $this->parse_ical_date( $date );
721
  } catch ( Exception $date_exception ) {
@@ -723,7 +725,7 @@ class EO_ICAL_Parser{
723
  }
724
  }
725
  }
726
-
727
  if( 'EXDATE' == $property ){
728
  $this->current_event['exclude'][] = $date;
729
  }else{
@@ -748,14 +750,14 @@ class EO_ICAL_Parser{
748
  $this->current_event['post_content'] = $this->parse_ical_text( $value );
749
  }
750
  break;
751
-
752
  //Description, in alternative format
753
  case 'X-ALT-DESC':
754
  if( $this->parse_html && !empty( $modifiers[0] ) && in_array( $modifiers[0], array( "FMTTYPE=text/html", "ALTREP=text/html" ) ) ){
755
- $this->current_event['post_content'] = $this->parse_ical_html( $value );
756
- }
757
  break;
758
-
759
  //Event venues, assign to existing venue - or if set, create new one
760
  case 'LOCATION':
761
  if( !empty( $value ) ):
@@ -768,17 +770,17 @@ class EO_ICAL_Parser{
768
 
769
  case 'CATEGORIES':
770
  $cats = explode( ',', $value );
771
-
772
  if( !empty( $cats ) ):
773
  foreach ($cats as $cat_name):
774
  $cat_name = trim($cat_name);
775
 
776
  if( !isset( $this->categories[$cat_name] ) )
777
  $this->categories[$cat_name] = $cat_name;
778
-
779
  if( !isset($this->current_event['event-category']) || !in_array( $cat_name, $this->current_event['event-category']) )
780
  $this->current_event['event-category'][] = $cat_name;
781
-
782
  endforeach;
783
  endif;
784
  break;
@@ -796,35 +798,35 @@ class EO_ICAL_Parser{
796
  $this->current_event['geo'] = array_combine( $keys, $lat_lng );
797
  }
798
  break;
799
-
800
  //An url associated with the event
801
  case 'URL':
802
  $this->current_event['url'] = $value;
803
  break;
804
-
805
  endswitch;
806
  }
807
  /**
808
  * Action after iCal property has been parsed.
809
- *
810
- * This hook is of the form `eventorganiser_ical_property_{property}`, where
811
  * `{property}` should be replaced by the lower-cased property name being
812
- * targed. For example. after "DTSTART" for an event is parsed,
813
- * `eventorganiser_ical_property_dtstart` is triggered.
814
- *
815
- * Note that the value is 'raw' in that it is exactly as it appears in the feed. You may
816
  * need to 'unescape' and 'unfold' the text. {@see EO_ICAL_Parser::parse_ical_text}
817
- *
818
  * <pre><code>
819
  * add_action( 'eventorganiser_ical_property_summary', 'my_alter_parsed_title', 10, 3 );
820
  * function my_alter_parsed_title( $title, $modifiers, $ical_parser ){
821
- *
822
  * //Prepend "imported: " to title
823
  * $ical_parser->current_event['post_title'] = "imported: " . $ical_parser->parse_ical_text( $title );
824
- *
825
  * }
826
  * </code></pre>
827
- *
828
  * @since 2.10
829
  * @param string $value The raw value parsed from the iCal feed
830
  * @param string $modifiers Array of modifiers of the property (e.g. VALUE or TZID)
@@ -835,19 +837,19 @@ class EO_ICAL_Parser{
835
  }
836
 
837
  protected function parse_ical_html( $text ){
838
-
839
  $text = $this->parse_ical_text( $text );
840
-
841
  if( preg_match( "/<body>(.+)<\/body>/i", $text, $matches ) ){
842
  $text = $matches[1];
843
  }
844
-
845
  return $text;
846
  }
847
 
848
  /**
849
  * Takes escaped text and returns the text unescaped.
850
- *
851
  * @see https://github.com/fruux/sabre-vobject/blob/219935b414c24ce89acd32d509966d44f04f4012/lib/Parser/MimeDir.php#L469:L513
852
  * @ignore
853
  * @param string $text - the escaped test
@@ -862,12 +864,12 @@ class EO_ICAL_Parser{
862
  //Replace any intended new lines with PHP_EOL
863
  //$text = str_replace( '\n', "<br>", $text );
864
  $text = nl2br( $text );
865
-
866
  $regex = '# (?: (\\\\ (?: \\\\ | N | n | ; | , ) ) ) #x';
867
  $matches = preg_split( $regex, $text, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY );
868
 
869
  $result = '';
870
-
871
  foreach( $matches as $match ) {
872
 
873
  switch ( $match ) {
@@ -902,43 +904,43 @@ class EO_ICAL_Parser{
902
  * @return DateTimeZone - the timezone with the given identifier or false if it isn't recognised
903
  */
904
  public function parse_timezone( $tzid ){
905
-
906
  $tzid = str_replace( '-', '/', $tzid );
907
  $tzid = trim( $tzid, '\'"' );
908
 
909
  if( 'GMT' == $tzid ){
910
  $tzid = 'UTC';
911
  }
912
-
913
  //Try just using the passed timezone ID
914
  try{
915
  $tz = new DateTimeZone( $tzid );
916
  }catch( exception $e ){
917
  $tz = null;
918
  }
919
-
920
  $trigger_warning = false; //Set this to true if we make a 'guess'.
921
 
922
  //If we have something like (GMT+01.00) Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna lets try the cities
923
  if( is_null( $tz ) && preg_match( '/GMT(?P<offset>.+)\)(?P<cities>.+)?/', $tzid, $matches ) ){
924
-
925
  if( !empty( $matches['cities'] ) ){
926
  $parts = explode( '/', $matches['cities'] );
927
  $tz_cities = array_map( 'trim', $parts );
928
  $identifiers = timezone_identifiers_list();
929
-
930
  foreach( $tz_cities as $tz_city ){
931
-
932
  $tz_city = ucfirst( strtolower( $tz_city ) );
933
-
934
  foreach( $identifiers as $identifier ){
935
-
936
  $parts = explode('/', $identifier );
937
  $city = array_pop( $parts );
938
-
939
  if( $city != $tz_city )
940
  continue;
941
-
942
  try{
943
  $tz = new DateTimeZone( $identifier );
944
  break 2;
@@ -948,11 +950,11 @@ class EO_ICAL_Parser{
948
  }
949
  }
950
  }
951
-
952
  if( $tz == null && $matches['offset'] ){
953
-
954
  $offset = (int) str_replace( '/', '-', trim( $matches['offset'] ) );
955
-
956
  if( 0 == $offset ){
957
  $tz = new DateTimeZone( 'UTC' );
958
 
@@ -962,10 +964,10 @@ class EO_ICAL_Parser{
962
  //@see http://us.php.net/manual/en/timezones.others.php
963
  $offset_string = $offset > 0 ? "-$offset" : '+'.absint( $offset );
964
  $tz = new DateTimeZone( 'Etc/GMT'.$offset_string );
965
-
966
  }else{
967
  $trigger_warning = true; //We're guessing based on timezone offset.
968
-
969
  $offset *= 3600; // convert hour offset to seconds
970
  $allowed_zones = timezone_abbreviations_list();
971
 
@@ -983,8 +985,8 @@ class EO_ICAL_Parser{
983
  endforeach;
984
  }
985
  }
986
- }
987
-
988
  //If we have something like /mozilla.org/20070129_1/Europe/Berlin
989
  if( is_null( $tz ) && preg_match( '#(/?)mozilla.org/([\d_]+)/(?P<tzid>.+)#', $tzid, $matches ) ){
990
  try{
@@ -997,33 +999,33 @@ class EO_ICAL_Parser{
997
  //Let plugins over-ride this
998
  /**
999
  * Filters the DateTimeZone object parsed from a timezone ID in an iCal feed.
1000
- *
1001
  * @param DateTimeZone $tz The timezone interpreted from a given string ID
1002
  * @param string $tzid The give timezone ID
1003
  */
1004
  $tz = apply_filters( 'eventorganiser_ical_timezone', $tz, $tzid );
1005
-
1006
  if ( ! ($tz instanceof DateTimeZone ) ) {
1007
  $tz = eo_get_blog_timezone();
1008
  $trigger_warning = true;
1009
  }
1010
-
1011
  if( $tz->getName() != $tzid && $trigger_warning ){
1012
- $this->report_warning(
1013
- $this->line,
1014
- 'timezone-parser-warning',
1015
  sprintf( 'Unknown timezone "%s" interpreted as "%s".', $tzid, $tz->getName() )
1016
  );
1017
  }
1018
-
1019
  return $tz;
1020
  }
1021
 
1022
 
1023
-
1024
  /**
1025
  * Takes a date in ICAL and returns a datetime object
1026
- *
1027
  * Expects date in yyyymmdd format
1028
  * @ignore
1029
  * @param string $ical_date - date in ICAL format
@@ -1049,20 +1051,20 @@ class EO_ICAL_Parser{
1049
 
1050
  /**
1051
  * Takes a date-time in ICAL and returns a datetime object
1052
- *
1053
- * It returns the datetime in the specified
1054
- *
1055
  * Expects
1056
  * * utc: YYYYMMDDTHHiissZ
1057
  * * local: YYYYMMDDTHHiiss
1058
- *
1059
  * @ignores
1060
  * @param string $ical_date - date-time in ICAL format
1061
  * @param DateTimeZone $tz - Timezone 'local' is interpreted as
1062
  * @return DateTime - the $ical_date as DateTime object
1063
  */
1064
  public function parse_ical_datetime( $ical_date, $tz ){
1065
-
1066
  preg_match('/^((\d{8}T\d{6})(Z)?)/', $ical_date, $matches);
1067
 
1068
  if( count( $matches ) == 3 ){
@@ -1084,29 +1086,29 @@ class EO_ICAL_Parser{
1084
 
1085
  return $datetime;
1086
  }
1087
-
1088
  public function parse_duration( $duration_str ) {
1089
-
1090
  preg_match(
1091
- "/(?<sign>\+|-)?P(?:(?<weeks>\d+)W)?(?:(?<days>\d+)D)?(?:T(?:(?:(?<hours>\d+)H)?(?:(?<minutes>\d+)M)?(?:(?<seconds>\d+)S)?))?/",
1092
  $duration_str, $matches );
1093
-
1094
  if ( ! $matches ) {
1095
  throw new Exception( 'Invalid duration: "' . $duration_str . '"' );
1096
  }
1097
-
1098
  $keys = array( 'weeks', 'days', 'hours', 'minutes', 'seconds' );
1099
-
1100
  $duration_array = array_filter( array_intersect_key( $matches, array_flip( $keys ) ) );
1101
  $sign = $matches['sign'] ? $matches['sign'] : '+';
1102
-
1103
  $duration_str = '';
1104
  foreach( $duration_array as $period => $length ) {
1105
  $duration_str .= "{$sign}{$length} {$period} ";
1106
  }
1107
-
1108
  return trim( $duration_str );
1109
-
1110
  }
1111
 
1112
  /**
@@ -1163,7 +1165,7 @@ class EO_ICAL_Parser{
1163
  case 'BYMONTHDAY':
1164
  $bymonthday = $value;
1165
  break;
1166
-
1167
  //Not supported with warning
1168
  case 'BYSECOND':
1169
  case 'BYMINUTE':
@@ -1176,41 +1178,41 @@ class EO_ICAL_Parser{
1176
  'unsupported-recurrence-rule',
1177
  sprintf(
1178
  'Feed contains unrecognised recurrence rule: "%s" and may have not been imported correctly.',
1179
- $property
1180
  )
1181
  );
1182
  break;
1183
-
1184
  //Not supported without warning
1185
  case 'WKST':
1186
  break;
1187
-
1188
  endswitch;
1189
  endforeach;
1190
 
1191
  //Meta-data for Weekly and Monthly schedules
1192
  if( 'monthly' == $rule_array['schedule'] ){
1193
-
1194
  if( isset( $byday ) ){
1195
  preg_match_all( '/(-?\d+)([a-zA-Z]+)/', $byday, $matches );
1196
-
1197
  if ( count( $matches[0] ) > 1 ){
1198
  $this->report_warning(
1199
  $this->line,
1200
  'unsupported-recurrence-rule',
1201
  sprintf(
1202
  'Feed contains unsupported value for "%s" and may have not been imported correctly.',
1203
- $property
1204
  )
1205
  );
1206
  }
1207
-
1208
  $rule_array['schedule_meta'] ='BYDAY='.$matches[0][0];
1209
 
1210
  }elseif( isset( $bymonthday ) ){
1211
-
1212
  $days = explode( ',', $bymonthday );
1213
-
1214
  if ( count( $days ) > 1 ){
1215
  $this->report_warning(
1216
  $this->line,
@@ -1221,14 +1223,14 @@ class EO_ICAL_Parser{
1221
  )
1222
  );
1223
  }
1224
-
1225
  $rule_array['schedule_meta'] ='BYMONTHDAY='.$days[0];
1226
 
1227
  }else{
1228
  throw new Exception( 'Incomplete scheduling information' );
1229
  }
1230
  }elseif( 'weekly' == $rule_array['schedule'] ){
1231
-
1232
  if( isset( $byday ) ){
1233
  preg_match( '/([a-zA-Z,]+)/', $byday, $matches );
1234
  $rule_array['schedule_meta'] = explode( ',', $matches[1] );
@@ -1246,16 +1248,16 @@ class EO_ICAL_Parser{
1246
 
1247
  /**
1248
  * Responsible for splitting an iCal line into Property and Value
1249
- *
1250
  * E.g. `BEGIN:VEVENT` to `BEGIN` and `VEVENT`. Special care needs to be taken
1251
  * when dealing with values such as `DTSTART;TZID="(GMT +01:00)":20140712T100000`
1252
- *
1253
  * @see http://wp-event-organiser.com/forums/topic/error-while-sync-ical-feed/#post-11087
1254
  * @param string $line A line in an iCal feed
1255
  * @return array Array containing the property part and value part of $line
1256
  */
1257
  function _split_line( $line ){
1258
-
1259
  //"Escape" colons in quotation marks
1260
  $escaped_line = preg_replace( '/"([^"]+)(:)([^"]+)"/', '"$1{{colon}}$3"', $line );
1261
  $line_parts = explode( ':', $escaped_line );
@@ -1278,6 +1280,6 @@ class EO_ICAL_Parser{
1278
  * - Importing blog has New York Time Zone (UTC -4/5).
1279
  * - Then event recurs every month on the **1st** at 22:00 (10pm) New York Time
1280
  * - The **2nd** is not corrected to **1st**.
1281
- *
1282
  * * Known issue (2): cannot import events with a recurrence schedule EO doesn't understand.
1283
- */
5
 
6
  /**
7
  * Parses a local or remote ICAL file
8
+ *
9
  * Example usage
10
  * <code>
11
  * $ical = new EO_ICAL_Parser();
12
  * $ical->parse( 'http://www.dol.govt.nz/er/holidaysandleave/publicholidays/publicholidaydates/ical/auckland.ics' );
13
+ *
14
  * $ical->events; //Array of events
15
  * $ical->venues; //Array of venue names
16
  * $ical->categories; //Array of category names
17
  * $ical->errors; //Array of WP_Error errors
18
  * $ical->warnings; //Array of WP_Error 'warnings'. This are "non-fatal" errors (e.g. warnings about timezone 'guessing').
19
  * </code>
20
+ *
21
  * You can configire default settings by passing an array to the class constructor.
22
  * <code>
23
  * $ical = new EO_ICAL_Parser( array( ..., 'default_status' => 'published', ... ) );
24
  * </code>
25
  * Available settings include:
26
+ *
27
  * * **status_map** - How to interpret the ICAL STATUS property.
28
  * * **default_status** - Default status of posts (unless otherwise specified by STATUS). Default is 'draft'
29
+ *
30
+ * @link http://www.ietf.org/rfc/rfc2445.txt ICAL Specification
31
  * @link http://www.kanzaki.com/docs/ical/ ICAL Specification excerpts
32
  * @author stephen
33
  * @package ical-functions
40
  * @var array
41
  */
42
  var $events = array();
43
+
44
  /**
45
  * Array of venues present in the feed
46
  * @var array
47
  */
48
  var $venues = array();
49
+
50
  /**
51
  * Array of venue metadata present in the feed
52
  * @var array
53
  */
54
  var $venue_meta = array();
55
+
56
  /**
57
  * Array of categories present in the feed
58
  * @var array
59
  */
60
  var $categories = array();
61
+
62
  /**
63
  * Number of events parsed.
64
  * @var int
65
  */
66
  var $events_parsed = 0;
67
+
68
  /**
69
  * Number of venues parsed.
70
  * @var int
71
  */
72
  var $venue_parsed = 0;
73
+
74
  /**
75
  * Number of categories parsed.
76
  * @var int
77
  */
78
  var $categories_parsed = 0;
79
+
80
  /**
81
  * Timeout for remote fetching (in seconds)
82
+ * @var int
83
  */
84
  var $remote_timeout = 10;
85
+
86
 
87
  /**
88
  * Array of WP_Error objects. These are errors which abort the parsing.
89
  * @var array
90
  */
91
  var $errors = array();
92
+
93
  /**
94
  * Array of WP_Error objects. These are soft-errors which the parser tries to deal with
95
  * @var array
96
  */
97
  var $warnings = array();
98
 
99
+
100
  /**
101
  * The current event being parsed. Stores data retrieved so far in the parsing.
102
  * @var array
103
  */
104
  var $current_event = array();
105
+
106
  /**
107
  * Indicates which line in the feed we are at
108
  * @var int
109
  */
110
  var $line = 0; //Current line being parsed
111
+
112
  /**
113
  * Keeps track of where we are in the feed.
114
  * @var string
115
  */
116
  var $state = "NONE";
117
+
118
+
119
  /**
120
  * Option to toggle whether a HTML description should be used (if present).
121
  * @var bool
122
  */
123
  var $parse_html = true; //If description is given in HTML, try to use that.
124
 
125
+
126
  /**
127
  * Constructor with settings passed as arguments
128
  * Available options include 'status_map' and 'default_status'.
129
+ *
130
  * @param array $args
131
  */
132
  function __construct( $args = array() ){
140
  'default_status' => 'draft',
141
  'parse_html' => true,
142
  ), $args );
143
+
144
  /**
145
  * Filters the options for the iCal parser class
146
+ *
147
  * `$args` is an array with keys:
148
+ *
149
  * - `status_map` - mapping iCal status to WordPress status. By default
150
  * <pre><code>
151
  * array(
155
  * );
156
  * </code></pre>
157
  * - `default_status` - the status to use for the event if the iCal feed does not provide a status#
158
+ * - `parse_html` - whether to parse a HTML version of event descriptions if provided
159
  *
160
  * @param array $args Options for the iCal Parser
161
  * @param EO_ICAL_Parser $ical_parser The iCal parser object
162
  */
163
  $args = apply_filters_ref_array( 'eventorganiser_ical_parser_args', array( $args, &$this ) );
164
+
165
  $this->calendar_timezone = eo_get_blog_timezone();
166
+
167
  $this->default_status = $args['default_status'];
168
  $this->status_map = $args['status_map'];
169
  $this->parse_html = $args['parse_html'];
170
+
171
  }
172
 
173
 
186
  //Local file
187
  } elseif ( @is_file( $file ) && @file_exists( $file ) ) {
188
  $this->ical_array = $this->file_to_array( $file );
189
+
190
  } else {
191
  $this->ical_array = new WP_Error(
192
  'invalid-ical-source',
196
 
197
  if( is_wp_error( $this->ical_array ) )
198
  return $this->ical_array;
199
+
200
  if( empty( $this->ical_array ) ){
201
  return new WP_Error( 'unable-to-read', __( 'Unable to read iCal file', 'eventorganiser' ) );
202
  }
203
 
204
  //Go through array and parse events
205
  $result = $this->parse_ical_array();
206
+
207
  if( "NONE" == $this->state ){
208
  return new WP_Error( 'unable-to-fetch', __( 'Feed not found', 'eventorganiser' ) );
209
  }
210
+
211
  if( !empty( $this->errors ) ){
212
  return $this->errors[0];
213
  }
214
+
215
  $this->events_parsed = count( $this->events );
216
  $this->venue_parsed = count( $this->venues );
217
  $this->categories_parsed = count( $this->categories );
218
+
219
  /**
220
  * Filter the feed class by reference.
221
+ *
222
  * This filter allows you to view and modify all events, venues and categories from
223
  * a parsed iCal feed. The example below adds all events to the category 'imported'
224
+ *
225
  * <pre><code>
226
  * add_action( 'eventorganiser_ical_feed_parsed', 'my_auto_assign_event_cat_to_feed' );
227
  * function my_auto_assign_event_cat_to_feed( $ical_parser ){
232
  * }
233
  * }
234
  * </code></pre>
235
+ *
236
  * @since 2.7
237
  * @param EO_ICAL_Parser $EO_ICAL_Parser The feed parser object containing parsed events/venues/categories.
238
  */
239
  do_action_ref_array( 'eventorganiser_ical_feed_parsed', array( &$this ) );
240
+
241
  return true;
242
  }
243
 
244
  /**
245
  * Fetches ICAL calendar from a feed url and returns its contents as an array.
246
+ *
247
  * @ignore
248
  * @param sring $url The url of the ICAL feed
249
  * @return array|bool Array of line in ICAL feed, false on error
260
 
261
  if( is_wp_error( $response ) )
262
  return $response;
263
+
264
  if( $response_code != 200 ){
265
  return new WP_Error( 'unable-to-fetch',
266
  sprintf(
269
  $response_code
270
  ));
271
  }
272
+
273
  if( $contents )
274
  return explode( "\n", $contents );
275
+
276
+
277
+ return new WP_Error( 'unable-to-fetch',
278
+ sprintf(
279
  __( 'There was an error fetching the feed. Response code: %s.', 'eventorganiser' ),
280
  $response_code
281
  ));
294
  $lines = array();
295
 
296
  if( !$file_handle )
297
+ return new WP_Error(
298
+ 'unable-to-open',
299
  __( 'There was an error opening the ICAL file.', 'eventorganiser' )
300
  );
301
 
311
  }
312
 
313
  /**
314
+ * Modifies the ical_array to unfold multi-line entries into a single line.
315
  * Preserves the original line numbering so that line numbers in error messages
316
+ * match up with the line numbers when viewing the (unfolded) iCal file in a
317
+ * text editor.
318
  */
319
  function unfold_lines( $lines ) {
320
+
321
  $unfolded_lines = array();
322
 
323
  $i = 0;
324
+
325
  while( $i < count ( $lines ) ) {
326
+
327
  $unfolded_lines[$i] = rtrim( $lines[$i], "\n\r" );
328
+
329
  $j = $i+1;
330
+
331
  while( isset( $lines[$j] ) && strlen( $lines[$j] ) > 0 && ( $lines[$j]{0} == ' ' || $lines[$j]{0} == "\t" )) {
332
  $unfolded_lines[$i] .= rtrim( substr( $lines[$j], 1 ), "\n\r" );
333
  $j++;
334
  }
335
+
336
  $i = ($j-1) + 1;
337
  }
338
+
339
  return $unfolded_lines;
340
  }
341
+
342
 
343
  /**
344
  * Parses through an array of lines (of an ICAL file)
347
  protected function parse_ical_array(){
348
 
349
  $this->ical_array = $this->unfold_lines( $this->ical_array );
350
+
351
  $this->state = "NONE";//Initial state
352
  $this->line = 1;
353
 
354
  //Read through each line
355
  foreach ( $this->ical_array as $index => $line_content ):
356
+
357
  if( !empty( $this->errors ) )
358
  break;
359
+
360
  $this->line = $index + 1;
361
  $buff = trim( $line_content );
362
 
370
 
371
  //If we are in EVENT state
372
  if ( $this->state == "VEVENT" ) {
373
+
374
  if( $property == "BEGIN" && $value == 'VALARM' ){
375
  //In state VEVENT > VALARM
376
  $this->state = "VEVENT:VALARM";
377
+
378
+
379
  //If END:VEVENT, add event to parsed events and clear $event
380
  }elseif( $property == 'END' && $value =='VEVENT' ){
381
  $this->state = "VCALENDAR";
382
+
383
  $this->current_event['_lines']['end'] = $this->line;
384
+
385
  //If not dtend was given, set it appropriately
386
  //@see https://github.com/stephenharris/Event-Organiser/issues/292
387
  if ( ! isset( $this->current_event['end'] ) && isset( $this->current_event['start'] ) ) {
388
+
389
  $end = clone $this->current_event['start'];
390
  if ( ! empty( $this->current_event['duration'] ) ) {
391
+
392
  $end->modify( $this->current_event['duration'] );
393
  unset( $this->current_event['duration'] );
394
+
395
  } else if ( ! empty( $this->current_event['all_day'] ) ) {
396
  //event is assumed to have a duration of 1 day, for us that means
397
  //same date as start date, but with a time of 23:59
398
  $end->setTime( 23, 59 );
399
  }
400
  $this->current_event['end'] = $end;
401
+
402
  }
403
+
404
  //If importing indefinately recurring: recurr up to some large point in time.
405
  if ( array_key_exists( 'until', $this->current_event ) && is_null( $this->current_event['until'] ) && empty( $this->current_event['number_occurrences'] ) ) {
406
+
407
  $until = new DateTime( '2038-01-19 00:00:00', eo_get_blog_timezone() );
408
+
409
  /**
410
  * When parsing an iCal feed the 'until' date to assign to indefinitely recurrring events
411
  * Event Organiser doesn't support indefinitely recurring events. When it encounters them
412
  * in an iCal feed it assigns them an arbitrary date in the future. This filter allows
413
  * you to change that date
414
+ *
415
  * @since 3.1.0
416
  * @param DateTime $until Occurrences will be created for this event up until this date
417
  * @param array $event The event as imported from the iCal feed
424
  $this->report_warning(
425
  $this->line,
426
  'indefinitely-recurring-event',
427
+ sprintf(
428
  __( 'Feed contains an indefinitely recurring event. This event will recurr until %s.', 'eventorganiser' ),
429
  $this->current_event['until']->format( get_option( 'date_format' ) )
430
  )
431
  );
432
  }
433
+
434
  //Now we've finished passing the event, move venue data to $this->venue_meta
435
  if( isset( $this->current_event['geo'] ) && !empty( $this->current_event['event-venue'] ) ){
436
  $venue = $this->current_event['event-venue'];
437
  $this->venue_meta[$venue]['latitude'] = $this->current_event['geo']['lat'];
438
+ $this->venue_meta[$venue]['longitude'] = $this->current_event['geo']['lng'];
439
+ //backwards compatability 3.7.2 and earlier
440
  $this->venue_meta[$venue]['longtitude'] = $this->current_event['geo']['lng'];
441
  unset( $this->current_event['geo'] );
442
  }
443
+
444
  if( empty( $this->current_event['uid'] ) ){
445
+ $this->report_warning(
446
+ $this->current_event['_lines'],
447
  'event-no-uid',
448
  "Event does not have a unique identifier (UID) property."
449
  );
450
  }
451
+
452
  if( empty( $this->current_event['sequence'] ) ){
453
  $this->current_event['sequence'] = 0;
454
  }
455
+
456
+ //Check to see if an event has already been parsed with this UID
457
  $index = isset( $this->current_event['uid'] ) ? 'uid:'.$this->current_event['uid'] : count( $this->events );
458
  if( isset( $this->events[$index] ) ){
459
+
460
  if( $this->current_event['sequence'] > $this->events[$index]['sequence'] ){
461
  $this->events[$index] = $this->current_event;
462
+
463
  }elseif( isset( $this->events[$index]['recurrence-id'] ) ){
464
  //This event has recurrence ID - replace it.
465
  $this->events[$index] = $this->current_event;
466
+
467
  }elseif( isset( $this->current_event['recurrence-id'] ) ){
468
  //Ignore this event - keep existing
469
+
470
  }elseif( $this->current_event['sequence'] == $this->events[$index]['sequence'] ){
471
+ $this->report_warning(
472
+ $this->current_event['_lines'],
473
  'duplicate-id',
474
+ sprintf(
475
  "Duplicate UID (%s) found in feed. UIDs must be unique.",
476
  $this->current_event['uid']
477
  )
478
  );
479
  }
480
+
481
  }else{
482
  $this->events[$index] = $this->current_event;
483
  }
484
+
485
  $this->current_event = array();
486
 
487
  //Otherwise, parse event property
492
  $value .= substr( $this->ical_array[$this->line-1], 1 );
493
  $this->line++;
494
  }
495
+
496
  $this->parse_event_property( $property, $value, $modifiers );
497
 
498
  }catch( Exception $e ){
501
  }
502
  }
503
 
504
+
505
  //We are in a VEVENT > VALARM stte
506
  }elseif( $this->state == "VEVENT:VALARM" ){
507
+
508
  //We ignore VALARMs...
509
  if ( $property=='END' && $value=='VALARM')
510
  $this->state = "VEVENT";
511
+
512
+
513
  // If we are in CALENDAR state
514
  }elseif ($this->state == "VCALENDAR") {
515
 
520
 
521
  }elseif ( $property=='END' && $value=='VCALENDAR'){
522
  $this->state = "ENDCALENDAR";
523
+
524
  }elseif($property=='X-WR-TIMEZONE'){
525
  $this->calendar_timezone = $this->parse_timezone($value);
526
  }
531
  }
532
  endif; //If line is not empty
533
  endforeach; //For each line
534
+
535
  $this->events = array_values( $this->events );
536
  }
537
 
551
  sprintf( __( '[Lines %1$d-%2$d]', 'eventorganiser' ), $line['start'], $line['end'] ).' '.$message,
552
  array( 'line' => $line )
553
  );
554
+
555
  }else{
556
  $this->errors[] = new WP_Error(
557
  $type,
560
  );
561
  }
562
  }
563
+
564
  /**
565
  * Report an warnings with an iCal file
566
  * @ignore
569
  * @param string $message Verbose error message
570
  */
571
  protected function report_warning( $line, $type, $message ){
572
+
573
  if( is_array( $line ) ){
574
  $this->warnings[] = new WP_Error(
575
  $type,
576
  sprintf( __( '[Lines %1$d-%2$d]', 'eventorganiser' ), $line['start'], $line['end'] ).' '.$message,
577
  array( 'line' => $line )
578
  );
579
+
580
  }else{
581
  $this->warnings[] = new WP_Error(
582
  $type,
595
  if( !empty( $modifiers ) ):
596
  foreach( $modifiers as $modifier ):
597
  if ( stristr( $modifier, 'TZID' ) ){
598
+
599
  $date_tz = $this->parse_timezone( substr( $modifier, 5 ) );
600
 
601
  }elseif( stristr( $modifier, 'VALUE' ) ){
614
  /**
615
  * Action before iCal property has been parsed. It also allows you to prevent
616
  * the default parsing of the property value.
617
+ *
618
  * More details can bee found on the docs for `eventorganiser_ical_property_{property}` hook
619
+ *
620
  * <pre><code>
621
  * add_filter( 'eventorganiser_pre_ical_property_summary', 'my_alter_parsed_title', 10, 5 );
622
  * function my_alter_parsed_title( $skip, $title, $modifiers, $ical_parser, $property ){
623
+ *
624
  * //Prepend "imported: " to title
625
  * $ical_parser->current_event['post_title'] = "imported: " . $ical_parser->parse_ical_text( $title );
626
+ *
627
  * //Stop default behaviour
628
  * return true;
629
  * }
630
  * </code></pre>
631
+ *
632
  * @since 2.10
633
  * @param bool $skip Whether to skip default parsing of property.
634
  * @param string $value The raw value parsed from the iCal feed
637
  * @param string $propery The property name
638
  */
639
  $skip = apply_filters( 'eventorganiser_pre_ical_property_'. $property_lowercase, $skip, $value, $modifiers, $this, $property );
640
+
641
  if( !$skip ){
642
  switch( $property ):
643
  case 'UID':
644
  $this->current_event['uid'] = $value;
645
  break;
646
+
647
  case 'SEQUENCE':
648
+ $this->current_event['sequence'] = $value;
649
  break;
650
+
651
  case 'RECURRENCE-ID':
652
  //This is not properly implemented yet but is used to detect
653
  //when feed entries may share a UID.
654
  $this->current_event['recurrence-id'] = $value;
655
  break;
656
+
657
  case 'CREATED':
658
  case 'DTSTART':
659
  case 'DTEND':
665
  $date = $this->parse_ical_datetime( $value, $date_tz );
666
  $allday = 0;
667
  } catch ( Exception $datetime_exception ) {
668
+
669
  try{
670
  $date = $this->parse_ical_date( $value );
671
  $allday = 1;
673
  throw $datetime_exception;
674
  }
675
  }
676
+
677
  endif;
678
 
679
  if( empty( $date ) )
698
 
699
  endswitch;
700
  break;
701
+
702
  case 'DURATION':
703
  $this->current_event['duration'] = $this->parse_duration( $value );
704
  break;
710
 
711
  //Note, we only consider the Date part and ignore the time
712
  foreach( $value_array as $date ):
713
+
714
  if( isset( $meta ) && 'DATE' == $meta ){
715
  $date = $this->parse_ical_date( $date );
716
  }else{
717
  try{
718
  $date = $this->parse_ical_datetime( $date, $date_tz );
719
  } catch ( Exception $datetime_exception ) {
720
+
721
  try{
722
  $date = $this->parse_ical_date( $date );
723
  } catch ( Exception $date_exception ) {
725
  }
726
  }
727
  }
728
+
729
  if( 'EXDATE' == $property ){
730
  $this->current_event['exclude'][] = $date;
731
  }else{
750
  $this->current_event['post_content'] = $this->parse_ical_text( $value );
751
  }
752
  break;
753
+
754
  //Description, in alternative format
755
  case 'X-ALT-DESC':
756
  if( $this->parse_html && !empty( $modifiers[0] ) && in_array( $modifiers[0], array( "FMTTYPE=text/html", "ALTREP=text/html" ) ) ){
757
+ $this->current_event['post_content'] = $this->parse_ical_html( $value );
758
+ }
759
  break;
760
+
761
  //Event venues, assign to existing venue - or if set, create new one
762
  case 'LOCATION':
763
  if( !empty( $value ) ):
770
 
771
  case 'CATEGORIES':
772
  $cats = explode( ',', $value );
773
+
774
  if( !empty( $cats ) ):
775
  foreach ($cats as $cat_name):
776
  $cat_name = trim($cat_name);
777
 
778
  if( !isset( $this->categories[$cat_name] ) )
779
  $this->categories[$cat_name] = $cat_name;
780
+
781
  if( !isset($this->current_event['event-category']) || !in_array( $cat_name, $this->current_event['event-category']) )
782
  $this->current_event['event-category'][] = $cat_name;
783
+
784
  endforeach;
785
  endif;
786
  break;
798
  $this->current_event['geo'] = array_combine( $keys, $lat_lng );
799
  }
800
  break;
801
+
802
  //An url associated with the event
803
  case 'URL':
804
  $this->current_event['url'] = $value;
805
  break;
806
+
807
  endswitch;
808
  }
809
  /**
810
  * Action after iCal property has been parsed.
811
+ *
812
+ * This hook is of the form `eventorganiser_ical_property_{property}`, where
813
  * `{property}` should be replaced by the lower-cased property name being
814
+ * targed. For example. after "DTSTART" for an event is parsed,
815
+ * `eventorganiser_ical_property_dtstart` is triggered.
816
+ *
817
+ * Note that the value is 'raw' in that it is exactly as it appears in the feed. You may
818
  * need to 'unescape' and 'unfold' the text. {@see EO_ICAL_Parser::parse_ical_text}
819
+ *
820
  * <pre><code>
821
  * add_action( 'eventorganiser_ical_property_summary', 'my_alter_parsed_title', 10, 3 );
822
  * function my_alter_parsed_title( $title, $modifiers, $ical_parser ){
823
+ *
824
  * //Prepend "imported: " to title
825
  * $ical_parser->current_event['post_title'] = "imported: " . $ical_parser->parse_ical_text( $title );
826
+ *
827
  * }
828
  * </code></pre>
829
+ *
830
  * @since 2.10
831
  * @param string $value The raw value parsed from the iCal feed
832
  * @param string $modifiers Array of modifiers of the property (e.g. VALUE or TZID)
837
  }
838
 
839
  protected function parse_ical_html( $text ){
840
+
841
  $text = $this->parse_ical_text( $text );
842
+
843
  if( preg_match( "/<body>(.+)<\/body>/i", $text, $matches ) ){
844
  $text = $matches[1];
845
  }
846
+
847
  return $text;
848
  }
849
 
850
  /**
851
  * Takes escaped text and returns the text unescaped.
852
+ *
853
  * @see https://github.com/fruux/sabre-vobject/blob/219935b414c24ce89acd32d509966d44f04f4012/lib/Parser/MimeDir.php#L469:L513
854
  * @ignore
855
  * @param string $text - the escaped test
864
  //Replace any intended new lines with PHP_EOL
865
  //$text = str_replace( '\n', "<br>", $text );
866
  $text = nl2br( $text );
867
+
868
  $regex = '# (?: (\\\\ (?: \\\\ | N | n | ; | , ) ) ) #x';
869
  $matches = preg_split( $regex, $text, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY );
870
 
871
  $result = '';
872
+
873
  foreach( $matches as $match ) {
874
 
875
  switch ( $match ) {
904
  * @return DateTimeZone - the timezone with the given identifier or false if it isn't recognised
905
  */
906
  public function parse_timezone( $tzid ){
907
+
908
  $tzid = str_replace( '-', '/', $tzid );
909
  $tzid = trim( $tzid, '\'"' );
910
 
911
  if( 'GMT' == $tzid ){
912
  $tzid = 'UTC';
913
  }
914
+
915
  //Try just using the passed timezone ID
916
  try{
917
  $tz = new DateTimeZone( $tzid );
918
  }catch( exception $e ){
919
  $tz = null;
920
  }
921
+
922
  $trigger_warning = false; //Set this to true if we make a 'guess'.
923
 
924
  //If we have something like (GMT+01.00) Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna lets try the cities
925
  if( is_null( $tz ) && preg_match( '/GMT(?P<offset>.+)\)(?P<cities>.+)?/', $tzid, $matches ) ){
926
+
927
  if( !empty( $matches['cities'] ) ){
928
  $parts = explode( '/', $matches['cities'] );
929
  $tz_cities = array_map( 'trim', $parts );
930
  $identifiers = timezone_identifiers_list();
931
+
932
  foreach( $tz_cities as $tz_city ){
933
+
934
  $tz_city = ucfirst( strtolower( $tz_city ) );
935
+
936
  foreach( $identifiers as $identifier ){
937
+
938
  $parts = explode('/', $identifier );
939
  $city = array_pop( $parts );
940
+
941
  if( $city != $tz_city )
942
  continue;
943
+
944
  try{
945
  $tz = new DateTimeZone( $identifier );
946
  break 2;
950
  }
951
  }
952
  }
953
+
954
  if( $tz == null && $matches['offset'] ){
955
+
956
  $offset = (int) str_replace( '/', '-', trim( $matches['offset'] ) );
957
+
958
  if( 0 == $offset ){
959
  $tz = new DateTimeZone( 'UTC' );
960
 
964
  //@see http://us.php.net/manual/en/timezones.others.php
965
  $offset_string = $offset > 0 ? "-$offset" : '+'.absint( $offset );
966
  $tz = new DateTimeZone( 'Etc/GMT'.$offset_string );
967
+
968
  }else{
969
  $trigger_warning = true; //We're guessing based on timezone offset.
970
+
971
  $offset *= 3600; // convert hour offset to seconds
972
  $allowed_zones = timezone_abbreviations_list();
973
 
985
  endforeach;
986
  }
987
  }
988
+ }
989
+
990
  //If we have something like /mozilla.org/20070129_1/Europe/Berlin
991
  if( is_null( $tz ) && preg_match( '#(/?)mozilla.org/([\d_]+)/(?P<tzid>.+)#', $tzid, $matches ) ){
992
  try{
999
  //Let plugins over-ride this
1000
  /**
1001
  * Filters the DateTimeZone object parsed from a timezone ID in an iCal feed.
1002
+ *
1003
  * @param DateTimeZone $tz The timezone interpreted from a given string ID
1004
  * @param string $tzid The give timezone ID
1005
  */
1006
  $tz = apply_filters( 'eventorganiser_ical_timezone', $tz, $tzid );
1007
+
1008
  if ( ! ($tz instanceof DateTimeZone ) ) {
1009
  $tz = eo_get_blog_timezone();
1010
  $trigger_warning = true;
1011
  }
1012
+
1013
  if( $tz->getName() != $tzid && $trigger_warning ){
1014
+ $this->report_warning(
1015
+ $this->line,
1016
+ 'timezone-parser-warning',
1017
  sprintf( 'Unknown timezone "%s" interpreted as "%s".', $tzid, $tz->getName() )
1018
  );
1019
  }
1020
+
1021
  return $tz;
1022
  }
1023
 
1024
 
1025
+
1026
  /**
1027
  * Takes a date in ICAL and returns a datetime object
1028
+ *
1029
  * Expects date in yyyymmdd format
1030
  * @ignore
1031
  * @param string $ical_date - date in ICAL format
1051
 
1052
  /**
1053
  * Takes a date-time in ICAL and returns a datetime object
1054
+ *
1055
+ * It returns the datetime in the specified
1056
+ *
1057
  * Expects
1058
  * * utc: YYYYMMDDTHHiissZ
1059
  * * local: YYYYMMDDTHHiiss
1060
+ *
1061
  * @ignores
1062
  * @param string $ical_date - date-time in ICAL format
1063
  * @param DateTimeZone $tz - Timezone 'local' is interpreted as
1064
  * @return DateTime - the $ical_date as DateTime object
1065
  */
1066
  public function parse_ical_datetime( $ical_date, $tz ){
1067
+
1068
  preg_match('/^((\d{8}T\d{6})(Z)?)/', $ical_date, $matches);
1069
 
1070
  if( count( $matches ) == 3 ){
1086
 
1087
  return $datetime;
1088
  }
1089
+
1090
  public function parse_duration( $duration_str ) {
1091
+
1092
  preg_match(
1093
+ "/(?<sign>\+|-)?P(?:(?<weeks>\d+)W)?(?:(?<days>\d+)D)?(?:T(?:(?:(?<hours>\d+)H)?(?:(?<minutes>\d+)M)?(?:(?<seconds>\d+)S)?))?/",
1094
  $duration_str, $matches );
1095
+
1096
  if ( ! $matches ) {
1097
  throw new Exception( 'Invalid duration: "' . $duration_str . '"' );
1098
  }
1099
+
1100
  $keys = array( 'weeks', 'days', 'hours', 'minutes', 'seconds' );
1101
+
1102
  $duration_array = array_filter( array_intersect_key( $matches, array_flip( $keys ) ) );
1103
  $sign = $matches['sign'] ? $matches['sign'] : '+';
1104
+
1105
  $duration_str = '';
1106
  foreach( $duration_array as $period => $length ) {
1107
  $duration_str .= "{$sign}{$length} {$period} ";
1108
  }
1109
+
1110
  return trim( $duration_str );
1111
+
1112
  }
1113
 
1114
  /**
1165
  case 'BYMONTHDAY':
1166
  $bymonthday = $value;
1167
  break;
1168
+
1169
  //Not supported with warning
1170
  case 'BYSECOND':
1171
  case 'BYMINUTE':
1178
  'unsupported-recurrence-rule',
1179
  sprintf(
1180
  'Feed contains unrecognised recurrence rule: "%s" and may have not been imported correctly.',
1181
+ $property
1182
  )
1183
  );
1184
  break;
1185
+
1186
  //Not supported without warning
1187
  case 'WKST':
1188
  break;
1189
+
1190
  endswitch;
1191
  endforeach;
1192
 
1193
  //Meta-data for Weekly and Monthly schedules
1194
  if( 'monthly' == $rule_array['schedule'] ){
1195
+
1196
  if( isset( $byday ) ){
1197
  preg_match_all( '/(-?\d+)([a-zA-Z]+)/', $byday, $matches );
1198
+
1199
  if ( count( $matches[0] ) > 1 ){
1200
  $this->report_warning(
1201
  $this->line,
1202
  'unsupported-recurrence-rule',
1203
  sprintf(
1204
  'Feed contains unsupported value for "%s" and may have not been imported correctly.',
1205
+ $property
1206
  )
1207
  );
1208
  }
1209
+
1210
  $rule_array['schedule_meta'] ='BYDAY='.$matches[0][0];
1211
 
1212
  }elseif( isset( $bymonthday ) ){
1213
+
1214
  $days = explode( ',', $bymonthday );
1215
+
1216
  if ( count( $days ) > 1 ){
1217
  $this->report_warning(
1218
  $this->line,
1223
  )
1224
  );
1225
  }
1226
+
1227
  $rule_array['schedule_meta'] ='BYMONTHDAY='.$days[0];
1228
 
1229
  }else{
1230
  throw new Exception( 'Incomplete scheduling information' );
1231
  }
1232
  }elseif( 'weekly' == $rule_array['schedule'] ){
1233
+
1234
  if( isset( $byday ) ){
1235
  preg_match( '/([a-zA-Z,]+)/', $byday, $matches );
1236
  $rule_array['schedule_meta'] = explode( ',', $matches[1] );
1248
 
1249
  /**
1250
  * Responsible for splitting an iCal line into Property and Value
1251
+ *
1252
  * E.g. `BEGIN:VEVENT` to `BEGIN` and `VEVENT`. Special care needs to be taken
1253
  * when dealing with values such as `DTSTART;TZID="(GMT +01:00)":20140712T100000`
1254
+ *
1255
  * @see http://wp-event-organiser.com/forums/topic/error-while-sync-ical-feed/#post-11087
1256
  * @param string $line A line in an iCal feed
1257
  * @return array Array containing the property part and value part of $line
1258
  */
1259
  function _split_line( $line ){
1260
+
1261
  //"Escape" colons in quotation marks
1262
  $escaped_line = preg_replace( '/"([^"]+)(:)([^"]+)"/', '"$1{{colon}}$3"', $line );
1263
  $line_parts = explode( ':', $escaped_line );
1280
  * - Importing blog has New York Time Zone (UTC -4/5).
1281
  * - Then event recurs every month on the **1st** at 22:00 (10pm) New York Time
1282
  * - The **2nd** is not corrected to **1st**.
1283
+ *
1284
  * * Known issue (2): cannot import events with a recurrence schedule EO doesn't understand.
1285
+ */
includes/class-event-organiser-im-export.php CHANGED
@@ -179,9 +179,9 @@ class Event_Organiser_Im_Export {
179
  $args = array();
180
 
181
  //If lat/lng meta data is set, include that
182
- if( isset( $ical->venue_meta[$venue]['latitude'] ) && isset( $ical->venue_meta[$venue]['longtitude'] ) ){
183
  $args['latitude'] = $ical->venue_meta[$venue]['latitude'];
184
- $args['longtitude'] = $ical->venue_meta[$venue]['longtitude'];
185
  }
186
 
187
  $new_venue = eo_insert_venue( $venue, $args );
179
  $args = array();
180
 
181
  //If lat/lng meta data is set, include that
182
+ if( isset( $ical->venue_meta[$venue]['latitude'] ) && isset( $ical->venue_meta[$venue]['longitude'] ) ){
183
  $args['latitude'] = $ical->venue_meta[$venue]['latitude'];
184
+ $args['longitude'] = $ical->venue_meta[$venue]['longitude'];
185
  }
186
 
187
  $new_venue = eo_insert_venue( $venue, $args );
includes/event-organiser-venue-functions.php CHANGED
@@ -14,7 +14,7 @@
14
  * This function can be used inside the Loop to return the venue ID of the current event
15
  * <code>
16
  * $current_events_venue_id = eo_get_venue();
17
- * </code>
18
  * To obtain the venue ID of event 23:
19
  * <code>
20
  * $venue_id = eo_get_venue(23);
@@ -43,7 +43,7 @@ function eo_get_venue($event_id=''){
43
 
44
  $venue = array_pop($venue);
45
 
46
- return (int) $venue->term_id;
47
  }
48
 
49
 
@@ -52,17 +52,17 @@ function eo_get_venue($event_id=''){
52
  *
53
  * When used without an argument it uses the event specified in the global $post (e.g. current event in the loop).
54
  * Can be used inside the loop to output the venue id of the current event.
55
- *
56
  * ### Examples
57
  * Inside the loop, you can output the current event's venue
58
  * <code>
59
- * <?php echo eo_get_venue_slug(); ?>
60
- * </code>
61
  * Get the last start date of event with id 7
62
  * <code>
63
  * <?php $venue_slug = eo_get_venue_slug(7); ?>
64
  * </code>
65
- *
66
  * @since 1.0.0
67
  * @param int $post_id The event (post) ID. Uses current event if empty.
68
  * @return int The corresponding venue (event-venue term) slug
@@ -112,7 +112,7 @@ function eo_get_venue_id_by_slugorid($venue_slug_or_id=''){
112
 
113
  if( $venue )
114
  return (int) $venue->term_id;
115
-
116
  return false;
117
  }
118
 
@@ -121,13 +121,13 @@ function eo_get_venue_id_by_slugorid($venue_slug_or_id=''){
121
  * Get all venue data from database by venue field and data. This acts as a simple wrapper for {@see `get_term_by()`}
122
  *
123
  * Warning: `$value` is not escaped for 'name' `$field`. You must do it yourself, if required.
124
- *
125
  * If `$value` does not exist for that `$field`, the return value will be false other the term will be returned.
126
  *
127
  * ###Example
128
  * Get the venue ID by slug (A better way is to use {@see `eo_get_venue_id_by_slugorid()`}
129
  * <code>
130
- * $venue = eo_get_venue_by('slug','my-venue-slug');
131
  * if( $venue )
132
  * $venue_id = (int) $venue->term_id;
133
  *</code>
@@ -158,12 +158,12 @@ function eo_get_venue_by($field,$value,$output = OBJECT, $filter = 'raw' ){
158
  * Inside the loop, you can output the current event's venue
159
  * <code>
160
  * <?php echo eo_get_venue_name(); ?>
161
- * </code>
162
  * To get the name of event with id 7, you can use `eo_get_venue` to obtain the venue ID of the event.
163
  * <code>
164
- * <?php
165
- * $venue_id = eo_get_venue(7);
166
- * $venue_name = eo_get_venue_name(%venue_id);
167
  * ?>
168
  * </code>
169
  * @since 1.0.0
@@ -173,7 +173,7 @@ function eo_get_venue_by($field,$value,$output = OBJECT, $filter = 'raw' ){
173
  function eo_get_venue_name($venue_slug_or_id=''){
174
  $venue_id = eo_get_venue_id_by_slugorid($venue_slug_or_id);
175
  $venue = get_term($venue_id,'event-venue');
176
-
177
  if ( empty($venue) || is_wp_error( $venue ) )
178
  return false;
179
 
@@ -197,19 +197,19 @@ function eo_venue_name($venue_slug_or_id=''){
197
  * Returns the description of the description of an event.
198
  * If used with any arguments uses the venue of the current event.
199
  *
200
- * Returns the description of a venue specified by it's slug or ID. When used without an argument it uses the event specified in the `global $post` (i.e. the current event in the Loop). If specifying the
201
  * venue by ID, **the ID must be an integer**.
202
  *
203
  * ###Example
204
  * <code>
205
- * <?php
206
  * $event_id = 7;
207
  * $venue_id = eo_get_venue( $event_id );
208
  * echo eo_get_venue_description( $venue_id );
209
- *
210
  * //The following displays the description for the venue with **ID** '12'
211
  * echo eo_get_venue_description( 12 );
212
- *
213
  * //The following displays the description for the venue with **slug** '12'
214
  * echo eo_get_venue_description( '12' );
215
  * ?>
@@ -232,7 +232,7 @@ function eo_get_venue_description($venue_slug_or_id=''){
232
 
233
  /**
234
  * Prints the name of the description of an event.
235
- * Can be used inside the loop to output the
236
  * venue id of the current event.
237
  * @since 1.0.0
238
  * @uses eo_get_venue_description()
@@ -254,7 +254,7 @@ function eo_get_venue_excerpt( $venue_slug_or_id='', $excerpt_length = 55 ){
254
 
255
  $excerpt_length = apply_filters( 'excerpt_length', $excerpt_length );
256
  $excerpt_more = apply_filters( 'excerpt_more', ' ' . '[&hellip;]' );
257
-
258
  $text = wp_trim_words( $text, $excerpt_length, $excerpt_more );
259
 
260
  return apply_filters( 'eventorganiser_venue_excerpt', $text, $venue_id );
@@ -264,19 +264,19 @@ function eo_get_venue_excerpt( $venue_slug_or_id='', $excerpt_length = 55 ){
264
 
265
 
266
  /**
267
- * Returns an latitude-longtitude array (keys 'lat', 'lng')
268
  * If used with any arguments uses the venue of the current event.
269
  *
270
- * Returns a latitude-longitude array of a venue specified by it's slug or ID. When used without an argument it uses the event specified in the `global $post` (i.e. the current event in the Loop). If
271
  * specifying the venue by ID, **the ID must be an integer**.
272
  * @since 1.0.0
273
  *
274
  * @param int|string $venue_slug_or_id The venue ID (as an integer) or slug (as a string). Uses venue of current event if empty.
275
  * @return array Array with keys 'lat' and 'lng' with corresponding float values.
276
  */
277
- function eo_get_venue_latlng($venue_slug_or_id=''){
278
  $lat = eo_get_venue_lat($venue_slug_or_id);
279
- $lng = eo_get_venue_lng($venue_slug_or_id);
280
  return array('lat'=>$lat,'lng'=>$lng);
281
  }
282
 
@@ -284,7 +284,7 @@ function eo_get_venue_latlng($venue_slug_or_id=''){
284
  * Returns the latitude co-ordinate of a venue.
285
  * If used with any arguments uses the venue of the current event.
286
  *
287
- * Returns the latitude of a venue specified by it's slug or ID. When used without an argument it uses the event specified in the `global $post` (i.e. the current event in the Loop). If specifying the
288
  * specifying the venue by ID, **the ID must be an integer**.
289
  * @since 1.0.0
290
  *
@@ -299,15 +299,15 @@ function eo_get_venue_lat($venue_slug_or_id=''){
299
  }
300
 
301
  /**
302
- * Returns the longtitude co-ordinate of a venue.
303
  * If used with any arguments uses the venue of the current event.
304
  *
305
- * Returns the longtitude of a venue specified by it's slug or ID. When used without an argument it uses the event specified in the `global $post` (i.e. the current event in the Loop). If specifying the
306
  * specifying the venue by ID, **the ID must be an integer**.
307
  * @since 1.0.0
308
  *
309
  * @param int|string $venue_slug_or_id The venue ID (as an integer) or slug (as a string). Uses venue of current event if empty.
310
- * @return float The longtitude of the venue as a float. 0 If it doesn't exist.
311
  */
312
  function eo_get_venue_lng($venue_slug_or_id=''){
313
  $venue_id = eo_get_venue_id_by_slugorid($venue_slug_or_id);
@@ -331,7 +331,7 @@ function eo_venue_lat($venue_slug_or_id=''){
331
 
332
 
333
  /**
334
- * Prints the longtitude co-ordinate of a venue.
335
  * If used with any arguments uses the venue of the current event.
336
  * @uses eo_get_venue_lng()
337
  * @since 1.0.0
@@ -396,30 +396,30 @@ function eo_venue_link($venue_slug_or_id=''){
396
  * * 'country'
397
  *
398
  * If used without any arguments uses the venue of the current event.
399
- *
400
  * ### Examples
401
  * Return the details of venue 16. **(Please note when using the ID it must be an integer - that is 16 not '16').**
402
  * <code>
403
- * $address_details = eo_get_venue_address(16);
404
  * //$address_details = eo_get_venue_address('16'); This method is incorrect.
405
- * </code>
406
  * Print the post-code of venue 'my-venue-slug'
407
  * <code>
408
- * $address_details = eo_get_venue_address('my-venue-slug');
409
- * echo "The post code of 'my-venue-slug' is: ".$address_details['postcode'];
410
- * </code>
411
  * Return the details of the venue of event 23 we can use `{@see eo_get_venue()}` to obtain the venue ID.
412
  * <code>
413
- * $venue_id = eo_get_venue(23);
414
- * $address_details = eo_get_venue_address($venue_id);
415
- * </code>
416
- *
417
  * @since 1.0.0
418
  * @param int|string $venue_slug_or_id The venue ID (as an integer) or slug (as a string). Uses venue of current event if empty.
419
  * @return array Array of venue address details
420
  */
421
  function eo_get_venue_address($venue_slug_or_id=''){
422
- $address=array();
423
  $venue_id = eo_get_venue_id_by_slugorid($venue_slug_or_id);
424
  $address_keys = array_keys(_eventorganiser_get_venue_address_fields());
425
  foreach( $address_keys as $meta_key ){
@@ -435,7 +435,7 @@ function eo_get_venue_address($venue_slug_or_id=''){
435
  *
436
  * The list of arguments that `$args` can contain, which will overwrite the defaults:
437
  *
438
- * * **orderby** - Default is 'name'. Can be name, count, slug, city, state, country, postcode, address
439
  * or distance (when used with a {@link http://wp-event-organiser.com/pro-features/event-venue-queries/ proximity-query})
440
  * * **order** - ASC|DESC Default is ASC.
441
  * * **hide_empty** - Default is 0 (false)
@@ -454,17 +454,17 @@ function eo_get_venue_address($venue_slug_or_id=''){
454
  *
455
  * ###Example
456
  * <code>
457
- * $venues = eo_get_venues();
458
- *
459
  * if( $venues ){
460
- * echo '<ul>';
461
- * foreach($venues as $venue):
462
  * $venue_id = (int) $venue->term_id;
463
  * printf('<li> <a href="%s">%s</a>', eo_get_venue_link($venue_id), esc_html($venue->name));
464
- * endforeach;
465
  * echo '</ul>';
466
  * }
467
- * </code>
468
  * The retreive all venues within 10 miles of Windsor Castle
469
  * <code>
470
  * $meta_query = array(
@@ -473,12 +473,12 @@ function eo_get_venue_address($venue_slug_or_id=''){
473
  * 'distance' => 10,
474
  * 'unit' => 'miles',
475
  * 'compare' => '<='
476
- * ),
477
  * );
478
  *
479
  * $venues = eo_get_venues( array( 'meta_query' => $meta_query ) );
480
  * </code>
481
- * See {@link http://wp-event-organiser.com/pro-features/event-venue-queries/ documentation on venue meta queries}.
482
  *
483
  * @uses get_terms()
484
  * @see eo_remote_geocode()
@@ -498,12 +498,12 @@ function eo_get_venues($args=array()){
498
 
499
 
500
  /**
501
- * Updates new venue in the database.
502
  *
503
  * Calls {@see `wp_insert_term()`} to update the taxonomy term
504
  * Updates venue meta data to database (for 'core' meta keys)
505
  * The $args is an array - the same as that accepted by {@link https://codex.wordpress.org/Function_Reference/wp_update_term wp_update_term()}
506
- * The $args array can also accept the following keys:
507
  *
508
  * * description
509
  * * address
@@ -512,7 +512,7 @@ function eo_get_venues($args=array()){
512
  * * postcode
513
  * * country
514
  * * latitude
515
- * * longtitude
516
  *
517
  * @since 1.4.0
518
  *
@@ -525,8 +525,13 @@ function eo_get_venues($args=array()){
525
  */
526
  function eo_update_venue($venue_id, $args=array()){
527
 
 
 
 
 
 
528
  $term_args = array_intersect_key($args, array('name'=>'','term_id'=>'','term_group'=>'','term_taxonomy_id'=>'','alias_of'=>'','parent'=>0,'slug'=>'','count'=>''));
529
- $meta_args = array_intersect_key($args, array('description'=>'','address'=>'','postcode'=>'','city'=>'','state'=>'','country'=>'','latitude'=>'','longtitude'=>''));
530
  $venue_id = (int) $venue_id;
531
 
532
 
@@ -544,7 +549,7 @@ function eo_get_venues($args=array()){
544
  case 'latitude':
545
  $meta_key = '_lat';
546
  break;
547
- case 'longtitude':
548
  $meta_key = '_lng';
549
  break;
550
  default:
@@ -554,11 +559,11 @@ function eo_get_venues($args=array()){
554
 
555
  $validated_value = eventorganiser_sanitize_meta($meta_key, $value);
556
 
557
- update_metadata('eo_venue', $venue_id, $meta_key, $validated_value);
558
  }
559
  /**
560
  * Triggered when a venue is created / updated.
561
- *
562
  * @param int $venue_id The (term) ID of the venue.
563
  */
564
  do_action('eventorganiser_save_venue',$venue_id);
@@ -568,13 +573,13 @@ function eo_get_venues($args=array()){
568
 
569
 
570
  /**
571
- * Adds a new venue to the database.
572
  *
573
  * Calls {@see `wp_insert_term()`} to create the taxonomy term
574
  * Adds venue meta data to database (for 'core' meta keys)
575
  *
576
  * The $args is an array - the same as that accepted by {@link https://codex.wordpresss.org/Function_Reference/wp_update_term wp_update_term()}
577
- * The $args array can also accept the following keys:
578
  *
579
  * * description
580
  * * address
@@ -583,7 +588,7 @@ function eo_get_venues($args=array()){
583
  * * postcode
584
  * * country
585
  * * latitude
586
- * * longtitude
587
  *
588
  * @since 1.4.0
589
  *
@@ -597,9 +602,15 @@ function eo_get_venues($args=array()){
597
  * @return array|WP_Error Array of term ID and term-taxonomy ID or a WP_Error on error
598
  */
599
  function eo_insert_venue($name, $args=array()){
 
 
 
 
 
 
600
  $term_args = array_intersect_key($args, array('name'=>'','term_id'=>'','term_group'=>'','term_taxonomy_id'=>'','alias_of'=>'','parent'=>0,'slug'=>'','count'=>''));
601
- $meta_args = array_intersect_key($args, array('description'=>'','address'=>'','postcode'=>'','city'=>'','state'=>'','country'=>'','latitude'=>'','longtitude'=>''));
602
-
603
  $resp = wp_insert_term($name,'event-venue',$term_args);
604
 
605
  if(is_wp_error($resp)){
@@ -613,7 +624,7 @@ function eo_get_venues($args=array()){
613
  case 'latitude':
614
  $meta_key = '_lat';
615
  break;
616
- case 'longtitude':
617
  $meta_key = '_lng';
618
  break;
619
  default:
@@ -624,16 +635,16 @@ function eo_get_venues($args=array()){
624
  $validated_value = eventorganiser_sanitize_meta($meta_key, $value);
625
 
626
  if( !empty($validated_value) )
627
- add_metadata('eo_venue', $venue_id, $meta_key, $validated_value, true);
628
  }
629
-
630
  /**
631
  * Triggered when a venue is created.
632
  *
633
  * @param int $venue_id The (term) ID of the venue.
634
  */
635
  do_action('eventorganiser_insert_venue',$venue_id);
636
-
637
  /**
638
  * Triggered when a venue is created / updated.
639
  *
@@ -645,11 +656,11 @@ function eo_get_venues($args=array()){
645
  }
646
 
647
  /**
648
- * Deletes a venue in the database.
649
  *
650
  * Calls {@see `wp_delete_term()`} to delete the taxonomy term
651
- * Deletes all the venue's meta
652
- *
653
  * @since 1.4.0
654
  *
655
  * @uses wp_delete_term to delete venue (taxonomy) term
@@ -670,13 +681,13 @@ function eo_get_venues($args=array()){
670
  $in_venue_meta_ids = "'" . implode("', '", $venue_meta_ids) . "'";
671
  $wpdb->query( "DELETE FROM $wpdb->eo_venuemeta WHERE meta_id IN($in_venue_meta_ids)" );
672
  }
673
-
674
  /**
675
- * @ignore
676
  * This should probably be triggered *before* venue is deleted.
677
  */
678
  do_action('eventorganiser_delete_venue',$venue_id);
679
-
680
  /**
681
  * Triggered when a venue is deleted
682
  *
@@ -690,10 +701,10 @@ function eo_get_venues($args=array()){
690
  /**
691
  * Returns the mark-up for a Google map of the venue (and enqueues scripts).
692
  * Accepts an arguments array corresponding to the attributes supported by the shortcode.
693
- *
694
  * ### Examples
695
  * <code>
696
- * // Display map of two venues
697
  * <?php echo eo_get_venue_map(array('london-eye','edinburgh-castle')); ?>
698
  * </code>
699
  * @since 1.6
@@ -719,7 +730,7 @@ function eo_get_venue_map( $venue_slug_or_id = '', $args = array() ){
719
 
720
  //Map properties
721
  $args = shortcode_atts( array(
722
- 'zoom' => 15, 'minzoom' => 0, 'maxzoom' => null, 'zoomcontrol' => true,
723
  'scrollwheel' => true, 'rotatecontrol' => true, 'maptypecontrol' => true,
724
  'pancontrol' => true, 'overviewmapcontrol' => true, 'streetviewcontrol' => true,
725
  'draggable' => true, 'maptypeid' => 'ROADMAP',
@@ -728,8 +739,8 @@ function eo_get_venue_map( $venue_slug_or_id = '', $args = array() ){
728
  ), $args );
729
 
730
  //Cast zoom as integer
731
- $args['zoom'] = (int) $args['zoom'];
732
-
733
  //Escape attributes
734
  $width = esc_attr($args['width']);
735
  $height = esc_attr($args['height']);
@@ -750,7 +761,7 @@ function eo_get_venue_map( $venue_slug_or_id = '', $args = array() ){
750
 
751
  if( empty($venue_ids) )
752
  return false;
753
-
754
  //Set up venue locations for map
755
  foreach( $venue_ids as $venue_id ){
756
 
@@ -762,26 +773,26 @@ function eo_get_venue_map( $venue_slug_or_id = '', $args = array() ){
762
  $address = array_filter(eo_get_venue_address($venue_id));
763
  if( !empty($address) )
764
  $tooltip_content .='<br />'.implode(', ',$address);
765
-
766
  /**
767
  * Filters the tooltip content for a venue.
768
- *
769
  * ### Example
770
- *
771
  * //Adds a link to the venue page to the tooltip
772
  * add_filter( 'eventorganiser_venue_tooltip', 'my_venue_tooltip_content_link_to_venue', 10, 2 );
773
  * function my_venue_tooltip_content_link_to_venue( $description, $venue_id ){
774
  * $description .= sprintf('<p><a href="%s"> Visit the venue page! </a> </p>', eo_get_venue_link($venue_id));
775
  * return $description;
776
  * }
777
- *
778
- * @link https://gist.github.com/stephenharris/4988307 Add upcoming events to the the tooltip
779
  * @param string $tooltip_content The HTML content for the venue tooltip.
780
  * @param int $venue_id The ID of the venue.
781
  * @param array $args An array of map options. See documentation for `eo_get_venue_map()`.
782
  */
783
  $tooltip_content = apply_filters( 'eventorganiser_venue_tooltip', $tooltip_content, $venue_id, $args );
784
-
785
  /**
786
  * Filters the url of the venue map marker. Set to `null` for default.
787
  *
@@ -791,35 +802,35 @@ function eo_get_venue_map( $venue_slug_or_id = '', $args = array() ){
791
  * @param array $args An array of map options. See documentation for `eo_get_venue_map()`.
792
  */
793
  $icon = apply_filters( 'eventorganiser_venue_marker', null, $venue_id, $args );
794
-
795
- $locations[] =array(
796
  'venue_id' => $venue_id,
797
- 'lat'=>$latlng['lat'],
798
- 'lng'=>$latlng['lng'],
799
- 'tooltipContent'=>$tooltip_content,
800
  'icon' => $icon );
801
  }
802
 
803
  $map = array_merge($args, array('locations'=>$locations) );
804
-
805
  /**
806
  * Filters the tooltip content for a venue.
807
- *
808
  * ### Example
809
- *
810
  * //Styles your google map
811
  * add_filter( 'eventorganiser_venue_map_options', 'style_my_google_map', 10 );
812
  * function style_my_google_map( $map_args ){
813
  * $map_args['styles'] = {set styles};;
814
  * return $map_args;
815
  * }
816
- *
817
  * @link https://developers.google.com/maps/documentation/javascript/styling#styling_the_default_map
818
- * @param array $map Array of map properties, including the key 'location' (array of locations)
819
  * height, width, zoom and styles.
820
  */
821
  $map = apply_filters( 'eventorganiser_venue_map_options', $map );
822
-
823
  //This could be improved
824
  EventOrganiser_Shortcodes::$map[] = $map;
825
  EventOrganiser_Shortcodes::$add_script = true;
@@ -850,8 +861,8 @@ function eo_get_venue_map( $venue_slug_or_id = '', $args = array() ){
850
  * @return mixed Will be an array if $single is false. Will be value of meta data field if $single
851
  * is true.
852
  */
853
- function eo_get_venue_meta($venue_id, $key ='', $single=true){
854
- return get_metadata('eo_venue', $venue_id, $key, $single);
855
  }
856
 
857
 
@@ -866,8 +877,8 @@ function eo_get_venue_meta($venue_id, $key ='', $single=true){
866
  * * _state
867
  * * _postcode
868
  * * _country
869
- * * _latitude
870
- * * _longtitude
871
  *
872
  * It is **strongly** recommended that you prefix your keys with and underscore.
873
  *
@@ -900,8 +911,8 @@ function eo_add_venue_meta($venue_id, $key, $value, $unique = false ){
900
  * * _state
901
  * * _postcode
902
  * * _country
903
- * * _latitude
904
- * * _longtitude
905
  *
906
  * It is **strongly** recommended that you prefix your keys with and underscore.
907
  *
@@ -939,7 +950,7 @@ function eo_delete_venue_meta($venue_id, $key, $value = '', $delete_all = false
939
 
940
  /**
941
  * Sanitizes (or validates) the metadata (expects raw) before being inserted into the databse.
942
- *
943
  * @since 1.4.0
944
  * @access private
945
  * @ignore
@@ -986,11 +997,11 @@ function _eventorganiser_get_venue_address_fields(){
986
 
987
  /**
988
  * Filters fields used for the address of a venue.
989
- *
990
  * This filter allows you to remove address components you don't need or add-ones
991
  * you do. The array is indexed by meta-key which **must** be prefixed by an
992
  * underscore (`_`), The value is the label of the address component.
993
- *
994
  * Added fields will appear in the address metabox on the admin venue screen.
995
  *
996
  * @param array $address_fields An array of address components
@@ -1006,7 +1017,7 @@ function _eventorganiser_get_venue_address_fields(){
1006
  */
1007
  function eventorganiser_venue_dropdown($post_id=0,$args){
1008
  $venues = get_terms('event-venue', array('hide_empty'=>false));
1009
- $current = (int) eo_get_venue($post_id);
1010
 
1011
  $id = (!empty($args['id']) ? 'id="'.esc_attr($args['id']).'"' : '');
1012
  $name = (!empty($args['name']) ? 'name="'.esc_attr($args['name']).'"' : '');
14
  * This function can be used inside the Loop to return the venue ID of the current event
15
  * <code>
16
  * $current_events_venue_id = eo_get_venue();
17
+ * </code>
18
  * To obtain the venue ID of event 23:
19
  * <code>
20
  * $venue_id = eo_get_venue(23);
43
 
44
  $venue = array_pop($venue);
45
 
46
+ return (int) $venue->term_id;
47
  }
48
 
49
 
52
  *
53
  * When used without an argument it uses the event specified in the global $post (e.g. current event in the loop).
54
  * Can be used inside the loop to output the venue id of the current event.
55
+ *
56
  * ### Examples
57
  * Inside the loop, you can output the current event's venue
58
  * <code>
59
+ * <?php echo eo_get_venue_slug(); ?>
60
+ * </code>
61
  * Get the last start date of event with id 7
62
  * <code>
63
  * <?php $venue_slug = eo_get_venue_slug(7); ?>
64
  * </code>
65
+ *
66
  * @since 1.0.0
67
  * @param int $post_id The event (post) ID. Uses current event if empty.
68
  * @return int The corresponding venue (event-venue term) slug
112
 
113
  if( $venue )
114
  return (int) $venue->term_id;
115
+
116
  return false;
117
  }
118
 
121
  * Get all venue data from database by venue field and data. This acts as a simple wrapper for {@see `get_term_by()`}
122
  *
123
  * Warning: `$value` is not escaped for 'name' `$field`. You must do it yourself, if required.
124
+ *
125
  * If `$value` does not exist for that `$field`, the return value will be false other the term will be returned.
126
  *
127
  * ###Example
128
  * Get the venue ID by slug (A better way is to use {@see `eo_get_venue_id_by_slugorid()`}
129
  * <code>
130
+ * $venue = eo_get_venue_by('slug','my-venue-slug');
131
  * if( $venue )
132
  * $venue_id = (int) $venue->term_id;
133
  *</code>
158
  * Inside the loop, you can output the current event's venue
159
  * <code>
160
  * <?php echo eo_get_venue_name(); ?>
161
+ * </code>
162
  * To get the name of event with id 7, you can use `eo_get_venue` to obtain the venue ID of the event.
163
  * <code>
164
+ * <?php
165
+ * $venue_id = eo_get_venue(7);
166
+ * $venue_name = eo_get_venue_name(%venue_id);
167
  * ?>
168
  * </code>
169
  * @since 1.0.0
173
  function eo_get_venue_name($venue_slug_or_id=''){
174
  $venue_id = eo_get_venue_id_by_slugorid($venue_slug_or_id);
175
  $venue = get_term($venue_id,'event-venue');
176
+
177
  if ( empty($venue) || is_wp_error( $venue ) )
178
  return false;
179
 
197
  * Returns the description of the description of an event.
198
  * If used with any arguments uses the venue of the current event.
199
  *
200
+ * Returns the description of a venue specified by it's slug or ID. When used without an argument it uses the event specified in the `global $post` (i.e. the current event in the Loop). If specifying the
201
  * venue by ID, **the ID must be an integer**.
202
  *
203
  * ###Example
204
  * <code>
205
+ * <?php
206
  * $event_id = 7;
207
  * $venue_id = eo_get_venue( $event_id );
208
  * echo eo_get_venue_description( $venue_id );
209
+ *
210
  * //The following displays the description for the venue with **ID** '12'
211
  * echo eo_get_venue_description( 12 );
212
+ *
213
  * //The following displays the description for the venue with **slug** '12'
214
  * echo eo_get_venue_description( '12' );
215
  * ?>
232
 
233
  /**
234
  * Prints the name of the description of an event.
235
+ * Can be used inside the loop to output the
236
  * venue id of the current event.
237
  * @since 1.0.0
238
  * @uses eo_get_venue_description()
254
 
255
  $excerpt_length = apply_filters( 'excerpt_length', $excerpt_length );
256
  $excerpt_more = apply_filters( 'excerpt_more', ' ' . '[&hellip;]' );
257
+
258
  $text = wp_trim_words( $text, $excerpt_length, $excerpt_more );
259
 
260
  return apply_filters( 'eventorganiser_venue_excerpt', $text, $venue_id );
264
 
265
 
266
  /**
267
+ * Returns an latitude-longitude array (keys 'lat', 'lng')
268
  * If used with any arguments uses the venue of the current event.
269
  *
270
+ * Returns a latitude-longitude array of a venue specified by it's slug or ID. When used without an argument it uses the event specified in the `global $post` (i.e. the current event in the Loop). If
271
  * specifying the venue by ID, **the ID must be an integer**.
272
  * @since 1.0.0
273
  *
274
  * @param int|string $venue_slug_or_id The venue ID (as an integer) or slug (as a string). Uses venue of current event if empty.
275
  * @return array Array with keys 'lat' and 'lng' with corresponding float values.
276
  */
277
+ function eo_get_venue_latlng($venue_slug_or_id=''){
278
  $lat = eo_get_venue_lat($venue_slug_or_id);
279
+ $lng = eo_get_venue_lng($venue_slug_or_id);
280
  return array('lat'=>$lat,'lng'=>$lng);
281
  }
282
 
284
  * Returns the latitude co-ordinate of a venue.
285
  * If used with any arguments uses the venue of the current event.
286
  *
287
+ * Returns the latitude of a venue specified by it's slug or ID. When used without an argument it uses the event specified in the `global $post` (i.e. the current event in the Loop). If specifying the
288
  * specifying the venue by ID, **the ID must be an integer**.
289
  * @since 1.0.0
290
  *
299
  }
300
 
301
  /**
302
+ * Returns the longitude co-ordinate of a venue.
303
  * If used with any arguments uses the venue of the current event.
304
  *
305
+ * Returns the longitude of a venue specified by it's slug or ID. When used without an argument it uses the event specified in the `global $post` (i.e. the current event in the Loop). If specifying the
306
  * specifying the venue by ID, **the ID must be an integer**.
307
  * @since 1.0.0
308
  *
309
  * @param int|string $venue_slug_or_id The venue ID (as an integer) or slug (as a string). Uses venue of current event if empty.
310
+ * @return float The longitude of the venue as a float. 0 If it doesn't exist.
311
  */
312
  function eo_get_venue_lng($venue_slug_or_id=''){
313
  $venue_id = eo_get_venue_id_by_slugorid($venue_slug_or_id);
331
 
332
 
333
  /**
334
+ * Prints the longitude co-ordinate of a venue.
335
  * If used with any arguments uses the venue of the current event.
336
  * @uses eo_get_venue_lng()
337
  * @since 1.0.0
396
  * * 'country'
397
  *
398
  * If used without any arguments uses the venue of the current event.
399
+ *
400
  * ### Examples
401
  * Return the details of venue 16. **(Please note when using the ID it must be an integer - that is 16 not '16').**
402
  * <code>
403
+ * $address_details = eo_get_venue_address(16);
404
  * //$address_details = eo_get_venue_address('16'); This method is incorrect.
405
+ * </code>
406
  * Print the post-code of venue 'my-venue-slug'
407
  * <code>
408
+ * $address_details = eo_get_venue_address('my-venue-slug');
409
+ * echo "The post code of 'my-venue-slug' is: ".$address_details['postcode'];
410
+ * </code>
411
  * Return the details of the venue of event 23 we can use `{@see eo_get_venue()}` to obtain the venue ID.
412
  * <code>
413
+ * $venue_id = eo_get_venue(23);
414
+ * $address_details = eo_get_venue_address($venue_id);
415
+ * </code>
416
+ *
417
  * @since 1.0.0
418
  * @param int|string $venue_slug_or_id The venue ID (as an integer) or slug (as a string). Uses venue of current event if empty.
419
  * @return array Array of venue address details
420
  */
421
  function eo_get_venue_address($venue_slug_or_id=''){
422
+ $address=array();
423
  $venue_id = eo_get_venue_id_by_slugorid($venue_slug_or_id);
424
  $address_keys = array_keys(_eventorganiser_get_venue_address_fields());
425
  foreach( $address_keys as $meta_key ){
435
  *
436
  * The list of arguments that `$args` can contain, which will overwrite the defaults:
437
  *
438
+ * * **orderby** - Default is 'name'. Can be name, count, slug, city, state, country, postcode, address
439
  * or distance (when used with a {@link http://wp-event-organiser.com/pro-features/event-venue-queries/ proximity-query})
440
  * * **order** - ASC|DESC Default is ASC.
441
  * * **hide_empty** - Default is 0 (false)
454
  *
455
  * ###Example
456
  * <code>
457
+ * $venues = eo_get_venues();
458
+ *
459
  * if( $venues ){
460
+ * echo '<ul>';
461
+ * foreach($venues as $venue):
462
  * $venue_id = (int) $venue->term_id;
463
  * printf('<li> <a href="%s">%s</a>', eo_get_venue_link($venue_id), esc_html($venue->name));
464
+ * endforeach;
465
  * echo '</ul>';
466
  * }
467
+ * </code>
468
  * The retreive all venues within 10 miles of Windsor Castle
469
  * <code>
470
  * $meta_query = array(
473
  * 'distance' => 10,
474
  * 'unit' => 'miles',
475
  * 'compare' => '<='
476
+ * ),
477
  * );
478
  *
479
  * $venues = eo_get_venues( array( 'meta_query' => $meta_query ) );
480
  * </code>
481
+ * See {@link http://wp-event-organiser.com/pro-features/event-venue-queries/ documentation on venue meta queries}.
482
  *
483
  * @uses get_terms()
484
  * @see eo_remote_geocode()
498
 
499
 
500
  /**
501
+ * Updates new venue in the database.
502
  *
503
  * Calls {@see `wp_insert_term()`} to update the taxonomy term
504
  * Updates venue meta data to database (for 'core' meta keys)
505
  * The $args is an array - the same as that accepted by {@link https://codex.wordpress.org/Function_Reference/wp_update_term wp_update_term()}
506
+ * The $args array can also accept the following keys:
507
  *
508
  * * description
509
  * * address
512
  * * postcode
513
  * * country
514
  * * latitude
515
+ * * longitude
516
  *
517
  * @since 1.4.0
518
  *
525
  */
526
  function eo_update_venue($venue_id, $args=array()){
527
 
528
+ //Backwards compatability for 3.7.2 and earlier
529
+ if(isset($args['longtitude']) && !isset($args['longitude'])) {
530
+ $args['longitude'] = $args['longtitude'];
531
+ }
532
+
533
  $term_args = array_intersect_key($args, array('name'=>'','term_id'=>'','term_group'=>'','term_taxonomy_id'=>'','alias_of'=>'','parent'=>0,'slug'=>'','count'=>''));
534
+ $meta_args = array_intersect_key($args, array('description'=>'','address'=>'','postcode'=>'','city'=>'','state'=>'','country'=>'','latitude'=>'','longitude'=>''));
535
  $venue_id = (int) $venue_id;
536
 
537
 
549
  case 'latitude':
550
  $meta_key = '_lat';
551
  break;
552
+ case 'longitude':
553
  $meta_key = '_lng';
554
  break;
555
  default:
559
 
560
  $validated_value = eventorganiser_sanitize_meta($meta_key, $value);
561
 
562
+ update_metadata('eo_venue', $venue_id, $meta_key, $validated_value);
563
  }
564
  /**
565
  * Triggered when a venue is created / updated.
566
+ *
567
  * @param int $venue_id The (term) ID of the venue.
568
  */
569
  do_action('eventorganiser_save_venue',$venue_id);
573
 
574
 
575
  /**
576
+ * Adds a new venue to the database.
577
  *
578
  * Calls {@see `wp_insert_term()`} to create the taxonomy term
579
  * Adds venue meta data to database (for 'core' meta keys)
580
  *
581
  * The $args is an array - the same as that accepted by {@link https://codex.wordpresss.org/Function_Reference/wp_update_term wp_update_term()}
582
+ * The $args array can also accept the following keys:
583
  *
584
  * * description
585
  * * address
588
  * * postcode
589
  * * country
590
  * * latitude
591
+ * * longitude
592
  *
593
  * @since 1.4.0
594
  *
602
  * @return array|WP_Error Array of term ID and term-taxonomy ID or a WP_Error on error
603
  */
604
  function eo_insert_venue($name, $args=array()){
605
+
606
+ //Backwards compatability for 3.7.2 and earlier
607
+ if(isset($args['longtitude']) && !isset($args['longitude'])) {
608
+ $args['longitude'] = $args['longtitude'];
609
+ }
610
+
611
  $term_args = array_intersect_key($args, array('name'=>'','term_id'=>'','term_group'=>'','term_taxonomy_id'=>'','alias_of'=>'','parent'=>0,'slug'=>'','count'=>''));
612
+ $meta_args = array_intersect_key($args, array('description'=>'','address'=>'','postcode'=>'','city'=>'','state'=>'','country'=>'','latitude'=>'','longitude'=>''));
613
+
614
  $resp = wp_insert_term($name,'event-venue',$term_args);
615
 
616
  if(is_wp_error($resp)){
624
  case 'latitude':
625
  $meta_key = '_lat';
626
  break;
627
+ case 'longitude':
628
  $meta_key = '_lng';
629
  break;
630
  default:
635
  $validated_value = eventorganiser_sanitize_meta($meta_key, $value);
636
 
637
  if( !empty($validated_value) )
638
+ add_metadata('eo_venue', $venue_id, $meta_key, $validated_value, true);
639
  }
640
+
641
  /**
642
  * Triggered when a venue is created.
643
  *
644
  * @param int $venue_id The (term) ID of the venue.
645
  */
646
  do_action('eventorganiser_insert_venue',$venue_id);
647
+
648
  /**
649
  * Triggered when a venue is created / updated.
650
  *
656
  }
657
 
658
  /**
659
+ * Deletes a venue in the database.
660
  *
661
  * Calls {@see `wp_delete_term()`} to delete the taxonomy term
662
+ * Deletes all the venue's meta
663
+ *
664
  * @since 1.4.0
665
  *
666
  * @uses wp_delete_term to delete venue (taxonomy) term
681
  $in_venue_meta_ids = "'" . implode("', '", $venue_meta_ids) . "'";
682
  $wpdb->query( "DELETE FROM $wpdb->eo_venuemeta WHERE meta_id IN($in_venue_meta_ids)" );
683
  }
684
+
685
  /**
686
+ * @ignore
687
  * This should probably be triggered *before* venue is deleted.
688
  */
689
  do_action('eventorganiser_delete_venue',$venue_id);
690
+
691
  /**
692
  * Triggered when a venue is deleted
693
  *
701
  /**
702
  * Returns the mark-up for a Google map of the venue (and enqueues scripts).
703
  * Accepts an arguments array corresponding to the attributes supported by the shortcode.
704
+ *
705
  * ### Examples
706
  * <code>
707
+ * // Display map of two venues
708
  * <?php echo eo_get_venue_map(array('london-eye','edinburgh-castle')); ?>
709
  * </code>
710
  * @since 1.6
730
 
731
  //Map properties
732
  $args = shortcode_atts( array(
733
+ 'zoom' => 15, 'minzoom' => 0, 'maxzoom' => null, 'zoomcontrol' => true,
734
  'scrollwheel' => true, 'rotatecontrol' => true, 'maptypecontrol' => true,
735
  'pancontrol' => true, 'overviewmapcontrol' => true, 'streetviewcontrol' => true,
736
  'draggable' => true, 'maptypeid' => 'ROADMAP',
739
  ), $args );
740
 
741
  //Cast zoom as integer
742
+ $args['zoom'] = (int) $args['zoom'];
743
+
744
  //Escape attributes
745
  $width = esc_attr($args['width']);
746
  $height = esc_attr($args['height']);
761
 
762
  if( empty($venue_ids) )
763
  return false;
764
+
765
  //Set up venue locations for map
766
  foreach( $venue_ids as $venue_id ){
767
 
773
  $address = array_filter(eo_get_venue_address($venue_id));
774
  if( !empty($address) )
775
  $tooltip_content .='<br />'.implode(', ',$address);
776
+
777
  /**
778
  * Filters the tooltip content for a venue.
779
+ *
780
  * ### Example
781
+ *
782
  * //Adds a link to the venue page to the tooltip
783
  * add_filter( 'eventorganiser_venue_tooltip', 'my_venue_tooltip_content_link_to_venue', 10, 2 );
784
  * function my_venue_tooltip_content_link_to_venue( $description, $venue_id ){
785
  * $description .= sprintf('<p><a href="%s"> Visit the venue page! </a> </p>', eo_get_venue_link($venue_id));
786
  * return $description;
787
  * }
788
+ *
789
+ * @link https://gist.github.com/stephenharris/4988307 Add upcoming events to the the tooltip
790
  * @param string $tooltip_content The HTML content for the venue tooltip.
791
  * @param int $venue_id The ID of the venue.
792
  * @param array $args An array of map options. See documentation for `eo_get_venue_map()`.
793
  */
794
  $tooltip_content = apply_filters( 'eventorganiser_venue_tooltip', $tooltip_content, $venue_id, $args );
795
+
796
  /**
797
  * Filters the url of the venue map marker. Set to `null` for default.
798
  *
802
  * @param array $args An array of map options. See documentation for `eo_get_venue_map()`.
803
  */
804
  $icon = apply_filters( 'eventorganiser_venue_marker', null, $venue_id, $args );
805
+
806
+ $locations[] =array(
807
  'venue_id' => $venue_id,
808
+ 'lat'=>$latlng['lat'],
809
+ 'lng'=>$latlng['lng'],
810
+ 'tooltipContent'=>$tooltip_content,
811
  'icon' => $icon );
812
  }
813
 
814
  $map = array_merge($args, array('locations'=>$locations) );
815
+
816
  /**
817
  * Filters the tooltip content for a venue.
818
+ *
819
  * ### Example
820
+ *
821
  * //Styles your google map
822
  * add_filter( 'eventorganiser_venue_map_options', 'style_my_google_map', 10 );
823
  * function style_my_google_map( $map_args ){
824
  * $map_args['styles'] = {set styles};;
825
  * return $map_args;
826
  * }
827
+ *
828
  * @link https://developers.google.com/maps/documentation/javascript/styling#styling_the_default_map
829
+ * @param array $map Array of map properties, including the key 'location' (array of locations)
830
  * height, width, zoom and styles.
831
  */
832
  $map = apply_filters( 'eventorganiser_venue_map_options', $map );
833
+
834
  //This could be improved
835
  EventOrganiser_Shortcodes::$map[] = $map;
836
  EventOrganiser_Shortcodes::$add_script = true;
861
  * @return mixed Will be an array if $single is false. Will be value of meta data field if $single
862
  * is true.
863
  */
864
+ function eo_get_venue_meta($venue_id, $key ='', $single=true){
865
+ return get_metadata('eo_venue', $venue_id, $key, $single);
866
  }
867
 
868
 
877
  * * _state
878
  * * _postcode
879
  * * _country
880
+ * * _lat
881
+ * * _lng
882
  *
883
  * It is **strongly** recommended that you prefix your keys with and underscore.
884
  *
911
  * * _state
912
  * * _postcode
913
  * * _country
914
+ * * _lat
915
+ * * _lng
916
  *
917
  * It is **strongly** recommended that you prefix your keys with and underscore.
918
  *
950
 
951
  /**
952
  * Sanitizes (or validates) the metadata (expects raw) before being inserted into the databse.
953
+ *
954
  * @since 1.4.0
955
  * @access private
956
  * @ignore
997
 
998
  /**
999
  * Filters fields used for the address of a venue.
1000
+ *
1001
  * This filter allows you to remove address components you don't need or add-ones
1002
  * you do. The array is indexed by meta-key which **must** be prefixed by an
1003
  * underscore (`_`), The value is the label of the address component.
1004
+ *
1005
  * Added fields will appear in the address metabox on the admin venue screen.
1006
  *
1007
  * @param array $address_fields An array of address components
1017
  */
1018
  function eventorganiser_venue_dropdown($post_id=0,$args){
1019
  $venues = get_terms('event-venue', array('hide_empty'=>false));
1020
+ $current = (int) eo_get_venue($post_id);
1021
 
1022
  $id = (!empty($args['id']) ? 'id="'.esc_attr($args['id']).'"' : '');
1023
  $name = (!empty($args['name']) ? 'name="'.esc_attr($args['name']).'"' : '');
js/admin-calendar.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! event-organiser 3.7.2-0-g63f114d 2018-06-08 18:44 */
2
  var eventorganiser=eventorganiser||{};eventorganiser.versionCompare=function(a,b){if(typeof a+typeof b!="stringstring")return!1;for(var c=a.split("."),d=b.split("."),e=0,f=Math.max(c.length,d.length);f>e;e++){if(c[e]&&!d[e]&&parseInt(c[e],10)>0||parseInt(c[e],10)>parseInt(d[e],10))return 1;if(d[e]&&!c[e]&&parseInt(d[e],10)>0||parseInt(c[e],10)<parseInt(d[e],10))return-1}return 0},function(a){a(document).ready(function(){function b(){var b=a("<span class='fc-header-goto'><input type='hidden' id='miniCalendar'/></span>");return b}function c(b){a(".view-button").removeClass("nav-tab-active"),g.fullCalendar("changeView",b),a("#"+b).addClass("nav-tab-active")}function d(b){var c=b.categories;if(c){var d="<select class='eo-cal-filter' id='eo-event-cat'>";d+="<option value=''>"+b.buttonText.cat+"</option>";for(var e=0;e<c.length;e++)d+="<option class='cat-slug-"+c[e].slug+" cat' value='"+c[e].slug+"'>"+c[e].name+"</option>";return d+="</select>",a("<span class='fc-header-dropdown filter-category'></span>").append(d)}}function e(b){var c=b.venues;if(c){var d="<select class='eo-cal-filter' id='eo-event-venue'>";d+="<option value=''>"+b.buttonText.venue+"</option>";for(var e=0;e<c.length;e++)d+="<option value='"+c[e].term_id+"'>"+c[e].name+"</option>";return d+="</select>",a("<span class='fc-header-dropdown filter-venue'></span>").append(d)}}a("#eo-dialog-tabs").tabs(),a(".eo-dialog").dialog({autoOpen:!1,dialogClass:"eo-admin-calendar-dialog",width:527,modal:!0,closeText:"Close modal",draggable:!1,open:function(b,c){a(this).parent(".eo-admin-calendar-dialog").focus()}}),a(".eo-dialog").parent().find(".ui-dialog-titlebar-close").addClass("eo-ui-button"),a("#events-meta").parent().find(".ui-dialog-titlebar-close").appendTo(".ui-tabs-nav").closest(".ui-dialog").children(".ui-dialog-titlebar").remove();var f=a("#eofc_time_format").is(":checked")?"HH:mm":"h:mma",g=jQuery("#eo_admin_calendar").fullCalendar({firstDay:parseInt(EO_Ajax.startday,10),defaultDate:moment(a.cookie("eo_admin_cal_last_viewed_date")),defaultView:a.cookie("eo_admin_cal_last_view")?a.cookie("eo_admin_cal_last_view"):"month",editable:EO_Ajax.perm_edit,eventDurationEditable:!1,eventStartEditable:EO_Ajax.edit_time,durationEditable:!1,snapDuration:"00:05:00",slotDuration:"00:15:00",eventDrop:function(b,c,d,e,f,g){return b.end?void a.ajax({type:"POST",url:EO_Ajax.ajaxurl,data:{action:"eofc-edit-date",start:b.start.format("YYYY-MM-DD HH:mm:ss"),end:b.end.format("YYYY-MM-DD HH:mm:ss"),event_id:b.event_id,occurrence_id:b.occurrence_id,_wpnonce:EO_Ajax.edit_nonce},dataType:"json"}).done(function(a){a.success!==!0&&(alert(a.data.message),d())}).fail(function(a,b,c){alert("Error: "+c),d()}):(alert("Changing the event duration is not supported"),void d())},lazyFetching:"true",eventColor:"#21759B",theme:!1,customButtons:{category:d,venue:""!==EO_Ajax.venues?e:null,"goto":b},buttonText:{today:EO_Ajax.locale.today,month:EO_Ajax.locale.month,week:EO_Ajax.locale.week,day:EO_Ajax.locale.day,cat:EO_Ajax.locale.cat,venue:EO_Ajax.locale.venue,prev:"<",next:">"},monthNames:EO_Ajax.locale.monthNames,monthNamesShort:EO_Ajax.locale.monthAbbrev,dayNames:EO_Ajax.locale.dayNames,dayNamesShort:EO_Ajax.locale.dayAbbrev,isRTL:EO_Ajax.locale.isrtl,header:{left:"title",center:"category venue",right:"prev goto today next"},buttonIcons:!1,buttonui:!0,events:function(a,b,c,d){jQuery.ajax({url:EO_Ajax.ajaxurl+"?action=event-admin-cal",dataType:"JSON",data:{start:a.format("YYYY-MM-DD"),end:b.format("YYYY-MM-DD")},success:d})},categories:EO_Ajax.categories,venues:EO_Ajax.venues,selectable:!0,selectHelper:!0,eventRender:function(a,b){var c=jQuery(".filter-category .eo-cal-filter").val(),d=jQuery(".filter-venue .eo-cal-filter").val();return"undefined"!=typeof c&&""!==c&&jQuery.inArray(c,a.category)<0?"<div></div>":"undefined"!=typeof d&&""!==d&&d!=a.venue?"<div></div>":void 0},viewRender:function(b,c){var d=b.intervalStart.format("YYYY-MM-DD"),e=new Date;e=new Date(e.getTime()+6e5),a.cookie("eo_admin_cal_last_viewed_date",d,{expires:e}),a.cookie("eo_admin_cal_last_view",b.name,{expires:e})},weekMode:"variable",loading:function(a){a?jQuery("#loading").show():jQuery("#loading").hide()},timeFormat:f,axisFormat:f,eventClick:function(b,c,d){c.preventDefault(),a("#eo-dialog-tabs ul li").each(function(){var c=a(this).attr("id").substring(14);a("#eo-dialog-tabs #"+a(this).attr("id")+"-content").html(b[c])}),a("#events-meta").dialog("open")},select:function(b,c,d,e){if(EO_Ajax.perm_edit){d.preventDefault();var g=(jQuery(this)[0].calendar.options,b.format("YYYY-MM-DD")),h=b.format("HH:mm");b.hasTime()?(f="ddd, Do MMMM h:mma",allDay=0):(c.subtract(1,"minute"),f="ddd, Do MMMM",allDay=1);var i=c.format("YYYY-MM-DD"),j=c.format("HH:mm"),k=a.fullCalendar.formatRange(b,c,f);a("#eo_event_create_cal input[name='eo_event[event_title]']").val(""),a("#eo_event_create_cal input.ui-autocomplete-input").val(""),a("#eo_event_create_cal textarea[name='eo_event[event_content]']").val(""),a("#eo_event_create_cal input[name='eo_event[StartDate]']").val(g),a("#eo_event_create_cal input[name='eo_event[StartTime]']").val(h),a("#eo_event_create_cal input[name='eo_event[EndDate]']").val(i),a("#eo_event_create_cal input[name='eo_event[FinishTime]']").val(j),a("#eo_event_create_cal input[name='eo_event[allday]']").val(allDay),a("#eo_event_create_cal td#date").html(k),a("#eo_event_create_cal").dialog("open"),a("form.eo_cal input[type='submit']").removeAttr("disabled"),a("form.eo_cal input#reset").click(function(b){a("#eo_event_create_cal").dialog("close")})}}});a("#eofc_time_format").change(function(){f=a("#eofc_time_format").is(":checked")?"HH:mm":"h:mmtt",g.fullCalendar("option","timeFormat",f),a.post(ajaxurl,{action:"eofc-format-time",is24:a("#eofc_time_format").is(":checked")})}),a(".view-button").click(function(b){b.preventDefault(),c(a(this).attr("id"))}),a(window).on("keypress",function(b){if(!(a(b.target).closest(".ui-dialog").length>0)){switch(b.which){case 49:case 109:case 77:c("month");break;case 50:case 119:case 87:c("agendaWeek");break;case 51:case 100:case 68:c("agendaDay");break;case 116:case 84:g.fullCalendar("today");break;case 103:case 71:break;case 110:case 78:case 106:case 74:g.fullCalendar("next");break;case 107:case 75:case 112:case 80:g.fullCalendar("prev");break;case 63:a("#eo-keyboard-shortcuts").dialog("open");break;default:return}b.preventDefault()}}),a("#eo-keyboard-shortcuts").dialog({autoOpen:!1,dialogClass:"eo-admin-calendar-dialog",title:"Keyboard shortcuts",closeText:"Close modal",draggable:!1,modal:!0,open:function(b,c){a(this).parent(".eo-admin-calendar-dialog").focus()}}),a("#eo-keyboard-sr-shortcut").on("click",function(b){b.preventDefault(),a("#eo-keyboard-shortcuts").dialog("open")});var h=a("#adminmenumain .screen-reader-shortcut");h.length>0&&a("#eo-keyboard-sr-shortcut").insertAfter(h.last()),a("#miniCalendar").datepicker({dateFormat:"DD, d MM, yy",firstDay:parseInt(EO_Ajax.startday,10),changeMonth:!0,monthNamesShort:EO_Ajax.locale.monthAbbrev,dayNamesMin:EO_Ajax.locale.dayAbbrev,changeYear:!0,showOn:"button",buttonText:EO_Ajax.locale.gotodate,onSelect:function(a,b){g.fullCalendar("gotoDate",new Date(Date.parse(a)))}}),a("button.ui-datepicker-trigger").button().addClass("fc-button"),a.widget("ui.combobox",{_create:function(){var b=this.element.hide(),c=b.attr("id"),d=b.children(":selected"),e=d.val()?d.text():"",f=a("<span>").addClass("ui-combobox eo-venue-input").insertAfter(b),g=a('<input type="hidden" name="'+b.attr("name")+'" value="'+e+'"/>'),h=a("<input>").attr("id",c).appendTo(f).val(e).addClass("ui-combobox-input"),i={delay:0,minLength:0,source:function(b,c){h.addClass("eo-waiting"),a.getJSON(EO_Ajax.ajaxurl+"?action=eo-search-venue",b,function(b){var d=a.map(b,function(a){return a.label=a.name,a});c(d),h.removeClass("eo-waiting")})},select:function(a,b){g.val(b.item.term_id)}};h.autocomplete(i).addClass("ui-widget-content ui-corner-left"),this.element.replaceWith(g);var j=a.ui?a.ui.version||0:-1,k=eventorganiser.versionCompare(j,"1.10")>=0?"ui-autocomplete":"autocomplete";h.data(k)._renderItem=function(b,c){if(0===c.term_id)return a("<li></li>").data(k+"-item",c).append("<a>"+c.label+"</a>").appendTo(b);var d=[c.venue_address,c.venue_city,c.venue_state,c.venue_postcode,c.venue_country],e=a.grep(d,function(a){return a}).join(", "),f=eventorganiser.versionCompare(j,"1.10")>=0?"ui-autocomplete-item":"item.autocomplete";return a("<li></li>").data(f,c).append("<a>"+c.label+"</br> <span style='font-size: 0.8em'><em>"+e+"</span></em></a>").appendTo(b)};var l=a("<span>").addClass("eo-venue-combobox-buttons").appendTo(f);a("<a href='#' style='vertical-align: top;margin: 0px -1px;padding: 0px;height:26px;'>").attr("title","Show All Venues").appendTo(l).button({icons:{primary:"ui-icon-triangle-1-s"},text:!1}).removeClass("ui-corner-all").addClass("eo-ui-button ui-corner-right ui-combobox-toggle ui-combobox-button").mousedown(function(){wasOpen=h.autocomplete("widget").is(":visible")}).click(function(b){b.preventDefault(),wasOpen||(a(this).blur(),h.autocomplete("search","").focus())})}}),a("#venue_select").combobox(),a(".eo-cal-filter").change(function(){g.fullCalendar("rerenderEvents")}),a(".filter-venue .eo-cal-filter").selectmenu({wrapperElement:"<span class='fc-header-filter'></span>"}),a(".filter-category .eo-cal-filter").selectmenu({wrapperElement:"<span class='fc-header-filter'></span>",icons:[{find:".cat"}]});var i=a("#eo-event-venue-button").width()+30;a("#eo-event-venue-button").width(i+"px"),a("#eo-event-venue-menu").width(i+"px");var j=a("#eo-event-cat-button").width()+30;a("#eo-event-cat-button").width(j+"px"),a("#eo-event-cat-menu").width(j+"px")})}(jQuery),function(a){a.widget("ui.selectmenu",{options:{appendTo:"body",typeAhead:1e3,style:"dropdown",positionOptions:null,width:null,menuWidth:null,handleWidth:26,maxHeight:null,icons:null,format:null,escapeHtml:!1,bgImage:function(){}},_create:function(){var b=this,c=this.options,d=a.ui?a.ui.version||0:-1,e=eventorganiser.versionCompare(d,"1.9")>=0?this.element.uniqueId().attr("id"):this.element.attr("id")||"ui-selectmenu-"+Math.random().toString(16).slice(2,10);this.ids=[e,e+"-button",e+"-menu"],this._safemouseup=!0,this.isOpen=!1,this.newelement=a("<a />",{"class":"ui-selectmenu ui-widget ui-state-default ui-corner-all",id:this.ids[1],role:"button",href:"#nogo",tabindex:this.element.attr("disabled")?1:0,"aria-haspopup":!0,"aria-owns":this.ids[2]}),this.newelementWrap=a("<span />").append(this.newelement).insertAfter(this.element);var f=this.element.attr("tabindex");f&&this.newelement.attr("tabindex",f),this.newelement.data("selectelement",this.element),this.selectmenuIcon=a('<span class="ui-selectmenu-icon ui-icon"></span>').prependTo(this.newelement),this.newelement.prepend('<span class="ui-selectmenu-status" />'),this.element.bind({"click.selectmenu":function(a){b.newelement.focus(),a.preventDefault()}}),this.newelement.bind("mousedown.selectmenu",function(a){b._toggle(a,!0),"popup"==c.style&&(b._safemouseup=!1,setTimeout(function(){b._safemouseup=!0},300)),a.preventDefault()}).bind("click.selectmenu",function(a){a.preventDefault()}).bind("keydown.selectmenu",function(c){var d=!1;switch(c.keyCode){case a.ui.keyCode.ENTER:d=!0;break;case a.ui.keyCode.SPACE:b._toggle(c);break;case a.ui.keyCode.UP:c.altKey?b.open(c):b._moveSelection(-1);break;case a.ui.keyCode.DOWN:c.altKey?b.open(c):b._moveSelection(1);break;case a.ui.keyCode.LEFT:b._moveSelection(-1);break;case a.ui.keyCode.RIGHT:b._moveSelection(1);break;case a.ui.keyCode.TAB:d=!0;break;case a.ui.keyCode.PAGE_UP:case a.ui.keyCode.HOME:b.index(0);break;case a.ui.keyCode.PAGE_DOWN:case a.ui.keyCode.END:b.index(b._optionLis.length);break;default:d=!0}return d}).bind("keypress.selectmenu",function(a){return a.which>0&&b._typeAhead(a.which,"mouseup"),!0}).bind("mouseover.selectmenu",function(){c.disabled||a(this).addClass("ui-state-hover")}).bind("mouseout.selectmenu",function(){c.disabled||a(this).removeClass("ui-state-hover")}).bind("focus.selectmenu",function(){c.disabled||a(this).addClass("ui-state-focus")}).bind("blur.selectmenu",function(){c.disabled||a(this).removeClass("ui-state-focus")}),a(document).bind("mousedown.selectmenu-"+this.ids[0],function(c){b.isOpen&&!a(c.target).closest("#"+b.ids[1]).length&&b.close(c)}),this.element.bind("click.selectmenu",function(){b._refreshValue()}).bind("focus.selectmenu",function(){b.newelement&&b.newelement[0].focus()}),c.width||(c.width=this.element.outerWidth()),this.newelement.width(c.width),this.element.hide(),this.list=a("<ul />",{"class":"ui-widget ui-widget-content","aria-hidden":!0,role:"listbox","aria-labelledby":this.ids[1],id:this.ids[2]}),this.listWrap=a("<div />",{"class":"ui-selectmenu-menu"}).append(this.list).appendTo(c.appendTo),this.list.bind("keydown.selectmenu",function(c){var d=!1;switch(c.keyCode){case a.ui.keyCode.UP:c.altKey?b.close(c,!0):b._moveFocus(-1);break;case a.ui.keyCode.DOWN:c.altKey?b.close(c,!0):b._moveFocus(1);break;case a.ui.keyCode.LEFT:b._moveFocus(-1);break;case a.ui.keyCode.RIGHT:b._moveFocus(1);break;case a.ui.keyCode.HOME:b._moveFocus(":first");break;case a.ui.keyCode.PAGE_UP:b._scrollPage("up");break;case a.ui.keyCode.PAGE_DOWN:b._scrollPage("down");break;case a.ui.keyCode.END:b._moveFocus(":last");break;case a.ui.keyCode.ENTER:case a.ui.keyCode.SPACE:b.close(c,!0),a(c.target).parents("li:eq(0)").trigger("mouseup");break;case a.ui.keyCode.TAB:d=!0,b.close(c,!0),a(c.target).parents("li:eq(0)").trigger("mouseup");break;case a.ui.keyCode.ESCAPE:b.close(c,!0);break;default:d=!0}return d}).bind("keypress.selectmenu",function(a){return a.which>0&&b._typeAhead(a.which,"focus"),!0}).bind("mousedown.selectmenu mouseup.selectmenu",function(){return!1}),a(window).bind("resize.selectmenu-"+this.ids[0],a.proxy(b.close,this))},_init:function(){var b=this,c=this.options,d=[];this.element.find("option").each(function(){var e=a(this);d.push({value:e.attr("value"),text:b._formatText(e.text(),e),selected:e.attr("selected"),disabled:e.attr("disabled"),classes:e.attr("class"),typeahead:e.attr("typeahead"),parentOptGroup:e.parent("optgroup"),bgImage:c.bgImage.call(e)})});var e="popup"==b.options.style?" ui-state-active":"";if(this.list.html(""),d.length)for(var f=0;f<d.length;f++){var g={role:"presentation"};d[f].disabled&&(g["class"]="ui-state-disabled");var h={html:d[f].text||"&nbsp;",href:"#nogo",tabindex:-1,role:"option","aria-selected":!1};d[f].disabled&&(h["aria-disabled"]=d[f].disabled),d[f].typeahead&&(h.typeahead=d[f].typeahead);var i=a("<a/>",h).bind("focus.selectmenu",function(){a(this).parent().mouseover()}).bind("blur.selectmenu",function(){a(this).parent().mouseout()}),j=a("<li/>",g).append(i).data("index",f).addClass(d[f].classes).data("optionClasses",d[f].classes||"").bind("mouseup.selectmenu",function(c){return!b._safemouseup||b._disabled(c.currentTarget)||b._disabled(a(c.currentTarget).parents("ul > li.ui-selectmenu-group "))||(b.index(a(this).data("index")),b.select(c),b.close(c,!0)),!1}).bind("click.selectmenu",function(){return!1}).bind("mouseover.selectmenu",function(c){a(this).hasClass("ui-state-disabled")||a(this).parent("ul").parent("li").hasClass("ui-state-disabled")||(c.optionValue=b.element[0].options[a(this).data("index")].value,b._trigger("hover",c,b._uiHash()),b._selectedOptionLi().addClass(e),b._focusedOptionLi().removeClass("ui-selectmenu-item-focus ui-state-hover"),a(this).removeClass("ui-state-active").addClass("ui-selectmenu-item-focus ui-state-hover"))}).bind("mouseout.selectmenu",function(c){a(this).is(b._selectedOptionLi())&&a(this).addClass(e),c.optionValue=b.element[0].options[a(this).data("index")].value,b._trigger("blur",c,b._uiHash()),a(this).removeClass("ui-selectmenu-item-focus ui-state-hover")});if(d[f].parentOptGroup.length){var k="ui-selectmenu-group-"+this.element.find("optgroup").index(d[f].parentOptGroup);this.list.find("li."+k).length?this.list.find("li."+k+":last ul").append(j):a('<li role="presentation" class="ui-selectmenu-group '+k+(d[f].parentOptGroup.attr("disabled")?' ui-state-disabled" aria-disabled="true"':'"')+'><span class="ui-selectmenu-group-label">'+d[f].parentOptGroup.attr("label")+"</span><ul></ul></li>").appendTo(this.list).find("ul").append(j)}else j.appendTo(this.list);if(c.icons)for(var l in c.icons)if(j.is(c.icons[l].find)){j.data("optionClasses",d[f].classes+" ui-selectmenu-hasIcon").addClass("ui-selectmenu-hasIcon");var m=c.icons[l].icon||"";j.find("a:eq(0)").prepend('<span class="ui-selectmenu-item-icon ui-icon '+m+'"></span>'),d[f].bgImage&&j.find("span").css("background-image",d[f].bgImage)}}else a(' <li role="presentation"><a href="#nogo" tabindex="-1" role="option"></a></li>').appendTo(this.list);var n="dropdown"==c.style;this.newelement.toggleClass("ui-selectmenu-dropdown",n).toggleClass("ui-selectmenu-popup",!n),this.list.toggleClass("ui-selectmenu-menu-dropdown ui-corner-bottom",n).toggleClass("ui-selectmenu-menu-popup ui-corner-all",!n).find("li:first").toggleClass("ui-corner-top",!n).end().find("li:last").addClass("ui-corner-bottom"),this.selectmenuIcon.toggleClass("ui-icon-triangle-1-s",n).toggleClass("ui-icon-triangle-2-n-s",!n),"dropdown"==c.style?this.list.width(c.menuWidth?c.menuWidth:c.width):this.list.width(c.menuWidth?c.menuWidth:c.width-c.handleWidth),this.list.css("height","auto");var o=this.listWrap.height(),p=a(window).height(),q=c.maxHeight?Math.min(c.maxHeight,p):p/3;o>q&&this.list.height(q),this._optionLis=this.list.find("li:not(.ui-selectmenu-group)"),this.element.attr("disabled")?this.disable():this.enable(),this._refreshValue(),this._selectedOptionLi().addClass("ui-selectmenu-item-focus"),clearTimeout(this.refreshTimeout),this.refreshTimeout=window.setTimeout(function(){b._refreshPosition()},200)},destroy:function(){this.element.removeData(this.widgetName).removeClass("ui-selectmenu-disabled ui-state-disabled").removeAttr("aria-disabled").unbind(".selectmenu"),a(window).unbind(".selectmenu-"+this.ids[0]),a(document).unbind(".selectmenu-"+this.ids[0]),this.newelementWrap.remove(),this.listWrap.remove(),this.element.unbind(".selectmenu").show(),a.Widget.prototype.destroy.apply(this,arguments)},_typeAhead:function(a,b){var c=this,d=String.fromCharCode(a).toLowerCase(),e=null,f=null;c._typeAhead_timer&&(window.clearTimeout(c._typeAhead_timer),c._typeAhead_timer=void 0),c._typeAhead_chars=(void 0===c._typeAhead_chars?"":c._typeAhead_chars).concat(d),c._typeAhead_chars.length<2||c._typeAhead_chars.substr(-2,1)===d&&c._typeAhead_cycling?(c._typeAhead_cycling=!0,e=d):(c._typeAhead_cycling=!1,e=c._typeAhead_chars);for(var g=("focus"!==b?this._selectedOptionLi().data("index"):this._focusedOptionLi().data("index"))||0,h=0;h<this._optionLis.length;h++){var i=this._optionLis.eq(h).text().substr(0,e.length).toLowerCase();if(i===e)if(c._typeAhead_cycling){if(null===f&&(f=h),h>g){f=h;break}}else f=h}null!==f&&this._optionLis.eq(f).find("a").trigger(b),c._typeAhead_timer=window.setTimeout(function(){c._typeAhead_timer=void 0,c._typeAhead_chars=void 0,c._typeAhead_cycling=void 0},c.options.typeAhead)},_uiHash:function(){var b=this.index();return{index:b,option:a("option",this.element).get(b),value:this.element[0].value}},open:function(a){if("true"!=this.newelement.attr("aria-disabled")){var b=this,c=this.options,d=this._selectedOptionLi(),e=d.find("a");b._closeOthers(a),b.newelement.addClass("ui-state-active"),b.list.attr("aria-hidden",!1),b.listWrap.addClass("ui-selectmenu-open"),"dropdown"==c.style?b.newelement.removeClass("ui-corner-all").addClass("ui-corner-top"):this.list.css("left",-5e3).scrollTop(this.list.scrollTop()+d.position().top-this.list.outerHeight()/2+d.outerHeight()/2).css("left","auto"),b._refreshPosition(),e.length&&e[0].focus(),b.isOpen=!0,b._trigger("open",a,b._uiHash())}},close:function(a,b){this.newelement.is(".ui-state-active")&&(this.newelement.removeClass("ui-state-active"),this.listWrap.removeClass("ui-selectmenu-open"),this.list.attr("aria-hidden",!0),"dropdown"==this.options.style&&this.newelement.removeClass("ui-corner-top").addClass("ui-corner-all"),b&&this.newelement.focus(),this.isOpen=!1,this._trigger("close",a,this._uiHash()))},change:function(a){this.element.trigger("change"),this._trigger("change",a,this._uiHash())},select:function(a){return this._disabled(a.currentTarget)?!1:void this._trigger("select",a,this._uiHash())},widget:function(){return this.listWrap.add(this.newelementWrap)},_closeOthers:function(b){a(".ui-selectmenu.ui-state-active").not(this.newelement).each(function(){a(this).data("selectelement").selectmenu("close",b)}),a(".ui-selectmenu.ui-state-hover").trigger("mouseout")},_toggle:function(a,b){this.isOpen?this.close(a,b):this.open(a)},_formatText:function(b,c){return this.options.format?b=this.options.format(b,c):this.options.escapeHtml&&(b=a("<div />").text(b).html()),b},_selectedIndex:function(){return this.element[0].selectedIndex},_selectedOptionLi:function(){return this._optionLis.eq(this._selectedIndex())},_focusedOptionLi:function(){return this.list.find(".ui-selectmenu-item-focus")},_moveSelection:function(a,b){if(!this.options.disabled){var c=parseInt(this._selectedOptionLi().data("index")||0,10),d=c+a;if(0>d&&(d=0),d>this._optionLis.size()-1&&(d=this._optionLis.size()-1),d===b)return!1;this._optionLis.eq(d).hasClass("ui-state-disabled")?(a>0?++a:--a,this._moveSelection(a,d)):this._optionLis.eq(d).trigger("mouseover").trigger("mouseup")}},_moveFocus:function(a,b){var c;if(isNaN(a))c=parseInt(this._optionLis.filter(a).data("index"),10);else{var d=parseInt(this._focusedOptionLi().data("index")||0,10);c=d+a}if(0>c&&(c=0),c>this._optionLis.size()-1&&(c=this._optionLis.size()-1),c===b)return!1;var e="ui-selectmenu-item-"+Math.round(1e3*Math.random());this._focusedOptionLi().find("a:eq(0)").attr("id",""),this._optionLis.eq(c).hasClass("ui-state-disabled")?(a>0?++a:--a,this._moveFocus(a,c)):this._optionLis.eq(c).find("a:eq(0)").attr("id",e).focus(),this.list.attr("aria-activedescendant",e)},_scrollPage:function(a){var b=Math.floor(this.list.outerHeight()/this._optionLis.first().outerHeight());b="up"==a?-b:b,this._moveFocus(b)},_setOption:function(a,b){this.options[a]=b,"disabled"==a&&(b&&this.close(),this.element.add(this.newelement).add(this.list)[b?"addClass":"removeClass"]("ui-selectmenu-disabled ui-state-disabled").attr("aria-disabled",b))},disable:function(a,b){"undefined"==typeof a?this._setOption("disabled",!0):"optgroup"==b?this._toggleOptgroup(a,!1):this._toggleOption(a,!1)},enable:function(a,b){"undefined"==typeof a?this._setOption("disabled",!1):"optgroup"==b?this._toggleOptgroup(a,!0):this._toggleOption(a,!0)},_disabled:function(b){return a(b).hasClass("ui-state-disabled")},_toggleOption:function(a,b){var c=this._optionLis.eq(a);c&&(c.toggleClass("ui-state-disabled",b).find("a").attr("aria-disabled",!b),b?this.element.find("option").eq(a).attr("disabled","disabled"):this.element.find("option").eq(a).removeAttr("disabled"))},_toggleOptgroup:function(a,b){var c=this.list.find("li.ui-selectmenu-group-"+a);c&&(c.toggleClass("ui-state-disabled",b).attr("aria-disabled",!b),b?this.element.find("optgroup").eq(a).attr("disabled","disabled"):this.element.find("optgroup").eq(a).removeAttr("disabled"))},index:function(b){return arguments.length?this._disabled(a(this._optionLis[b]))||b==this._selectedIndex()?!1:(this.element[0].selectedIndex=b,this._refreshValue(),this.change(),void 0):this._selectedIndex()},value:function(a){return arguments.length&&a!=this.element[0].value?(this.element[0].value=a,this._refreshValue(),this.change(),void 0):this.element[0].value},_refreshValue:function(){var a="popup"==this.options.style?" ui-state-active":"",b="ui-selectmenu-item-"+Math.round(1e3*Math.random());this.list.find(".ui-selectmenu-item-selected").removeClass("ui-selectmenu-item-selected"+a).find("a").attr("aria-selected","false").attr("id",""),this._selectedOptionLi().addClass("ui-selectmenu-item-selected"+a).find("a").attr("aria-selected","true").attr("id",b);var c=this.newelement.data("optionClasses")?this.newelement.data("optionClasses"):"",d=this._selectedOptionLi().data("optionClasses")?this._selectedOptionLi().data("optionClasses"):"";this.newelement.removeClass(c).data("optionClasses",d).addClass(d).find(".ui-selectmenu-status").html(this._selectedOptionLi().find("a:eq(0)").html()),this.list.attr("aria-activedescendant",b)},_refreshPosition:function(){var b=this.options,c={of:this.newelement,my:"left top",at:"left bottom",collision:"flip"};if("popup"==b.style){var d=this._selectedOptionLi();c.my="left top"+(this.list.offset().top-d.offset().top-(this.newelement.outerHeight()+d.outerHeight())/2),c.collision="fit"}this.listWrap.removeAttr("style").zIndex(this.element.zIndex()+2).position(a.extend(c,b.positionOptions))}})}(jQuery),function(a){var b;"function"==typeof b&&b.amd?b(["jquery"],a):a(jQuery)}(function(a){function b(a){return a}function c(a){return decodeURIComponent(a.replace(e," "))}function d(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return f.json?JSON.parse(a):a}catch(b){}}var e=/\+/g,f=a.cookie=function(e,g,h){if(void 0!==g){if(h=a.extend({},f.defaults,h),"number"==typeof h.expires){var i=h.expires,j=h.expires=new Date;j.setDate(j.getDate()+i)}return g=f.json?JSON.stringify(g):String(g),document.cookie=[f.raw?e:encodeURIComponent(e),"=",f.raw?g:encodeURIComponent(g),h.expires?"; expires="+h.expires.toUTCString():"",h.path?"; path="+h.path:"",h.domain?"; domain="+h.domain:"",h.secure?"; secure":""].join(""),document}for(var k=f.raw?b:c,l=document.cookie.split("; "),m=e?void 0:{},n=0,o=l.length;o>n;n++){var p=l[n].split("="),q=k(p.shift()),r=k(p.join("="));if(e&&e===q){m=d(r);break}e||(m[q]=d(r))}return m};f.defaults={},a.removeCookie=function(b,c){return void 0!==a.cookie(b)?(a.cookie(b,"",a.extend({},c,{expires:-1})),!0):!1}});
1
+ /*! event-organiser 3.7.3-0-geffd108 2018-07-13 20:28 */
2
  var eventorganiser=eventorganiser||{};eventorganiser.versionCompare=function(a,b){if(typeof a+typeof b!="stringstring")return!1;for(var c=a.split("."),d=b.split("."),e=0,f=Math.max(c.length,d.length);f>e;e++){if(c[e]&&!d[e]&&parseInt(c[e],10)>0||parseInt(c[e],10)>parseInt(d[e],10))return 1;if(d[e]&&!c[e]&&parseInt(d[e],10)>0||parseInt(c[e],10)<parseInt(d[e],10))return-1}return 0},function(a){a(document).ready(function(){function b(){var b=a("<span class='fc-header-goto'><input type='hidden' id='miniCalendar'/></span>");return b}function c(b){a(".view-button").removeClass("nav-tab-active"),g.fullCalendar("changeView",b),a("#"+b).addClass("nav-tab-active")}function d(b){var c=b.categories;if(c){var d="<select class='eo-cal-filter' id='eo-event-cat'>";d+="<option value=''>"+b.buttonText.cat+"</option>";for(var e=0;e<c.length;e++)d+="<option class='cat-slug-"+c[e].slug+" cat' value='"+c[e].slug+"'>"+c[e].name+"</option>";return d+="</select>",a("<span class='fc-header-dropdown filter-category'></span>").append(d)}}function e(b){var c=b.venues;if(c){var d="<select class='eo-cal-filter' id='eo-event-venue'>";d+="<option value=''>"+b.buttonText.venue+"</option>";for(var e=0;e<c.length;e++)d+="<option value='"+c[e].term_id+"'>"+c[e].name+"</option>";return d+="</select>",a("<span class='fc-header-dropdown filter-venue'></span>").append(d)}}a("#eo-dialog-tabs").tabs(),a(".eo-dialog").dialog({autoOpen:!1,dialogClass:"eo-admin-calendar-dialog",width:527,modal:!0,closeText:"Close modal",draggable:!1,open:function(b,c){a(this).parent(".eo-admin-calendar-dialog").focus()}}),a(".eo-dialog").parent().find(".ui-dialog-titlebar-close").addClass("eo-ui-button"),a("#events-meta").parent().find(".ui-dialog-titlebar-close").appendTo(".ui-tabs-nav").closest(".ui-dialog").children(".ui-dialog-titlebar").remove();var f=a("#eofc_time_format").is(":checked")?"HH:mm":"h:mma",g=jQuery("#eo_admin_calendar").fullCalendar({firstDay:parseInt(EO_Ajax.startday,10),defaultDate:moment(a.cookie("eo_admin_cal_last_viewed_date")),defaultView:a.cookie("eo_admin_cal_last_view")?a.cookie("eo_admin_cal_last_view"):"month",editable:EO_Ajax.perm_edit,eventDurationEditable:!1,eventStartEditable:EO_Ajax.edit_time,durationEditable:!1,snapDuration:"00:05:00",slotDuration:"00:15:00",eventDrop:function(b,c,d,e,f,g){return b.end?void a.ajax({type:"POST",url:EO_Ajax.ajaxurl,data:{action:"eofc-edit-date",start:b.start.format("YYYY-MM-DD HH:mm:ss"),end:b.end.format("YYYY-MM-DD HH:mm:ss"),event_id:b.event_id,occurrence_id:b.occurrence_id,_wpnonce:EO_Ajax.edit_nonce},dataType:"json"}).done(function(a){a.success!==!0&&(alert(a.data.message),d())}).fail(function(a,b,c){alert("Error: "+c),d()}):(alert("Changing the event duration is not supported"),void d())},lazyFetching:"true",eventColor:"#21759B",theme:!1,customButtons:{category:d,venue:""!==EO_Ajax.venues?e:null,"goto":b},buttonText:{today:EO_Ajax.locale.today,month:EO_Ajax.locale.month,week:EO_Ajax.locale.week,day:EO_Ajax.locale.day,cat:EO_Ajax.locale.cat,venue:EO_Ajax.locale.venue,prev:"<",next:">"},monthNames:EO_Ajax.locale.monthNames,monthNamesShort:EO_Ajax.locale.monthAbbrev,dayNames:EO_Ajax.locale.dayNames,dayNamesShort:EO_Ajax.locale.dayAbbrev,isRTL:EO_Ajax.locale.isrtl,header:{left:"title",center:"category venue",right:"prev goto today next"},buttonIcons:!1,buttonui:!0,events:function(a,b,c,d){jQuery.ajax({url:EO_Ajax.ajaxurl+"?action=event-admin-cal",dataType:"JSON",data:{start:a.format("YYYY-MM-DD"),end:b.format("YYYY-MM-DD")},success:d})},categories:EO_Ajax.categories,venues:EO_Ajax.venues,selectable:!0,selectHelper:!0,eventRender:function(a,b){var c=jQuery(".filter-category .eo-cal-filter").val(),d=jQuery(".filter-venue .eo-cal-filter").val();return"undefined"!=typeof c&&""!==c&&jQuery.inArray(c,a.category)<0?"<div></div>":"undefined"!=typeof d&&""!==d&&d!=a.venue?"<div></div>":void 0},viewRender:function(b,c){var d=b.intervalStart.format("YYYY-MM-DD"),e=new Date;e=new Date(e.getTime()+6e5),a.cookie("eo_admin_cal_last_viewed_date",d,{expires:e}),a.cookie("eo_admin_cal_last_view",b.name,{expires:e})},weekMode:"variable",loading:function(a){a?jQuery("#loading").show():jQuery("#loading").hide()},timeFormat:f,axisFormat:f,eventClick:function(b,c,d){c.preventDefault(),a("#eo-dialog-tabs ul li").each(function(){var c=a(this).attr("id").substring(14);a("#eo-dialog-tabs #"+a(this).attr("id")+"-content").html(b[c])}),a("#events-meta").dialog("open")},select:function(b,c,d,e){if(EO_Ajax.perm_edit){d.preventDefault();var g=(jQuery(this)[0].calendar.options,b.format("YYYY-MM-DD")),h=b.format("HH:mm");b.hasTime()?(f="ddd, Do MMMM h:mma",allDay=0):(c.subtract(1,"minute"),f="ddd, Do MMMM",allDay=1);var i=c.format("YYYY-MM-DD"),j=c.format("HH:mm"),k=a.fullCalendar.formatRange(b,c,f);a("#eo_event_create_cal input[name='eo_event[event_title]']").val(""),a("#eo_event_create_cal input.ui-autocomplete-input").val(""),a("#eo_event_create_cal textarea[name='eo_event[event_content]']").val(""),a("#eo_event_create_cal input[name='eo_event[StartDate]']").val(g),a("#eo_event_create_cal input[name='eo_event[StartTime]']").val(h),a("#eo_event_create_cal input[name='eo_event[EndDate]']").val(i),a("#eo_event_create_cal input[name='eo_event[FinishTime]']").val(j),a("#eo_event_create_cal input[name='eo_event[allday]']").val(allDay),a("#eo_event_create_cal td#date").html(k),a("#eo_event_create_cal").dialog("open"),a("form.eo_cal input[type='submit']").removeAttr("disabled"),a("form.eo_cal input#reset").click(function(b){a("#eo_event_create_cal").dialog("close")})}}});a("#eofc_time_format").change(function(){f=a("#eofc_time_format").is(":checked")?"HH:mm":"h:mmtt",g.fullCalendar("option","timeFormat",f),a.post(ajaxurl,{action:"eofc-format-time",is24:a("#eofc_time_format").is(":checked")})}),a(".view-button").click(function(b){b.preventDefault(),c(a(this).attr("id"))}),a(window).on("keypress",function(b){if(!(a(b.target).closest(".ui-dialog").length>0)){switch(b.which){case 49:case 109:case 77:c("month");break;case 50:case 119:case 87:c("agendaWeek");break;case 51:case 100:case 68:c("agendaDay");break;case 116:case 84:g.fullCalendar("today");break;case 103:case 71:break;case 110:case 78:case 106:case 74:g.fullCalendar("next");break;case 107:case 75:case 112:case 80:g.fullCalendar("prev");break;case 63:a("#eo-keyboard-shortcuts").dialog("open");break;default:return}b.preventDefault()}}),a("#eo-keyboard-shortcuts").dialog({autoOpen:!1,dialogClass:"eo-admin-calendar-dialog",title:"Keyboard shortcuts",closeText:"Close modal",draggable:!1,modal:!0,open:function(b,c){a(this).parent(".eo-admin-calendar-dialog").focus()}}),a("#eo-keyboard-sr-shortcut").on("click",function(b){b.preventDefault(),a("#eo-keyboard-shortcuts").dialog("open")});var h=a("#adminmenumain .screen-reader-shortcut");h.length>0&&a("#eo-keyboard-sr-shortcut").insertAfter(h.last()),a("#miniCalendar").datepicker({dateFormat:"DD, d MM, yy",firstDay:parseInt(EO_Ajax.startday,10),changeMonth:!0,monthNamesShort:EO_Ajax.locale.monthAbbrev,dayNamesMin:EO_Ajax.locale.dayAbbrev,changeYear:!0,showOn:"button",buttonText:EO_Ajax.locale.gotodate,onSelect:function(a,b){g.fullCalendar("gotoDate",new Date(Date.parse(a)))}}),a("button.ui-datepicker-trigger").button().addClass("fc-button"),a.widget("ui.combobox",{_create:function(){var b=this.element.hide(),c=b.attr("id"),d=b.children(":selected"),e=d.val()?d.text():"",f=a("<span>").addClass("ui-combobox eo-venue-input").insertAfter(b),g=a('<input type="hidden" name="'+b.attr("name")+'" value="'+e+'"/>'),h=a("<input>").attr("id",c).appendTo(f).val(e).addClass("ui-combobox-input"),i={delay:0,minLength:0,source:function(b,c){h.addClass("eo-waiting"),a.getJSON(EO_Ajax.ajaxurl+"?action=eo-search-venue",b,function(b){var d=a.map(b,function(a){return a.label=a.name,a});c(d),h.removeClass("eo-waiting")})},select:function(a,b){g.val(b.item.term_id)}};h.autocomplete(i).addClass("ui-widget-content ui-corner-left"),this.element.replaceWith(g);var j=a.ui?a.ui.version||0:-1,k=eventorganiser.versionCompare(j,"1.10")>=0?"ui-autocomplete":"autocomplete";h.data(k)._renderItem=function(b,c){if(0===c.term_id)return a("<li></li>").data(k+"-item",c).append("<a>"+c.label+"</a>").appendTo(b);var d=[c.venue_address,c.venue_city,c.venue_state,c.venue_postcode,c.venue_country],e=a.grep(d,function(a){return a}).join(", "),f=eventorganiser.versionCompare(j,"1.10")>=0?"ui-autocomplete-item":"item.autocomplete";return a("<li></li>").data(f,c).append("<a>"+c.label+"</br> <span style='font-size: 0.8em'><em>"+e+"</span></em></a>").appendTo(b)};var l=a("<span>").addClass("eo-venue-combobox-buttons").appendTo(f);a("<a href='#' style='vertical-align: top;margin: 0px -1px;padding: 0px;height:26px;'>").attr("title","Show All Venues").appendTo(l).button({icons:{primary:"ui-icon-triangle-1-s"},text:!1}).removeClass("ui-corner-all").addClass("eo-ui-button ui-corner-right ui-combobox-toggle ui-combobox-button").mousedown(function(){wasOpen=h.autocomplete("widget").is(":visible")}).click(function(b){b.preventDefault(),wasOpen||(a(this).blur(),h.autocomplete("search","").focus())})}}),a("#venue_select").combobox(),a(".eo-cal-filter").change(function(){g.fullCalendar("rerenderEvents")}),a(".filter-venue .eo-cal-filter").selectmenu({wrapperElement:"<span class='fc-header-filter'></span>"}),a(".filter-category .eo-cal-filter").selectmenu({wrapperElement:"<span class='fc-header-filter'></span>",icons:[{find:".cat"}]});var i=a("#eo-event-venue-button").width()+30;a("#eo-event-venue-button").width(i+"px"),a("#eo-event-venue-menu").width(i+"px");var j=a("#eo-event-cat-button").width()+30;a("#eo-event-cat-button").width(j+"px"),a("#eo-event-cat-menu").width(j+"px")})}(jQuery),function(a){a.widget("ui.selectmenu",{options:{appendTo:"body",typeAhead:1e3,style:"dropdown",positionOptions:null,width:null,menuWidth:null,handleWidth:26,maxHeight:null,icons:null,format:null,escapeHtml:!1,bgImage:function(){}},_create:function(){var b=this,c=this.options,d=a.ui?a.ui.version||0:-1,e=eventorganiser.versionCompare(d,"1.9")>=0?this.element.uniqueId().attr("id"):this.element.attr("id")||"ui-selectmenu-"+Math.random().toString(16).slice(2,10);this.ids=[e,e+"-button",e+"-menu"],this._safemouseup=!0,this.isOpen=!1,this.newelement=a("<a />",{"class":"ui-selectmenu ui-widget ui-state-default ui-corner-all",id:this.ids[1],role:"button",href:"#nogo",tabindex:this.element.attr("disabled")?1:0,"aria-haspopup":!0,"aria-owns":this.ids[2]}),this.newelementWrap=a("<span />").append(this.newelement).insertAfter(this.element);var f=this.element.attr("tabindex");f&&this.newelement.attr("tabindex",f),this.newelement.data("selectelement",this.element),this.selectmenuIcon=a('<span class="ui-selectmenu-icon ui-icon"></span>').prependTo(this.newelement),this.newelement.prepend('<span class="ui-selectmenu-status" />'),this.element.bind({"click.selectmenu":function(a){b.newelement.focus(),a.preventDefault()}}),this.newelement.bind("mousedown.selectmenu",function(a){b._toggle(a,!0),"popup"==c.style&&(b._safemouseup=!1,setTimeout(function(){b._safemouseup=!0},300)),a.preventDefault()}).bind("click.selectmenu",function(a){a.preventDefault()}).bind("keydown.selectmenu",function(c){var d=!1;switch(c.keyCode){case a.ui.keyCode.ENTER:d=!0;break;case a.ui.keyCode.SPACE:b._toggle(c);break;case a.ui.keyCode.UP:c.altKey?b.open(c):b._moveSelection(-1);break;case a.ui.keyCode.DOWN:c.altKey?b.open(c):b._moveSelection(1);break;case a.ui.keyCode.LEFT:b._moveSelection(-1);break;case a.ui.keyCode.RIGHT:b._moveSelection(1);break;case a.ui.keyCode.TAB:d=!0;break;case a.ui.keyCode.PAGE_UP:case a.ui.keyCode.HOME:b.index(0);break;case a.ui.keyCode.PAGE_DOWN:case a.ui.keyCode.END:b.index(b._optionLis.length);break;default:d=!0}return d}).bind("keypress.selectmenu",function(a){return a.which>0&&b._typeAhead(a.which,"mouseup"),!0}).bind("mouseover.selectmenu",function(){c.disabled||a(this).addClass("ui-state-hover")}).bind("mouseout.selectmenu",function(){c.disabled||a(this).removeClass("ui-state-hover")}).bind("focus.selectmenu",function(){c.disabled||a(this).addClass("ui-state-focus")}).bind("blur.selectmenu",function(){c.disabled||a(this).removeClass("ui-state-focus")}),a(document).bind("mousedown.selectmenu-"+this.ids[0],function(c){b.isOpen&&!a(c.target).closest("#"+b.ids[1]).length&&b.close(c)}),this.element.bind("click.selectmenu",function(){b._refreshValue()}).bind("focus.selectmenu",function(){b.newelement&&b.newelement[0].focus()}),c.width||(c.width=this.element.outerWidth()),this.newelement.width(c.width),this.element.hide(),this.list=a("<ul />",{"class":"ui-widget ui-widget-content","aria-hidden":!0,role:"listbox","aria-labelledby":this.ids[1],id:this.ids[2]}),this.listWrap=a("<div />",{"class":"ui-selectmenu-menu"}).append(this.list).appendTo(c.appendTo),this.list.bind("keydown.selectmenu",function(c){var d=!1;switch(c.keyCode){case a.ui.keyCode.UP:c.altKey?b.close(c,!0):b._moveFocus(-1);break;case a.ui.keyCode.DOWN:c.altKey?b.close(c,!0):b._moveFocus(1);break;case a.ui.keyCode.LEFT:b._moveFocus(-1);break;case a.ui.keyCode.RIGHT:b._moveFocus(1);break;case a.ui.keyCode.HOME:b._moveFocus(":first");break;case a.ui.keyCode.PAGE_UP:b._scrollPage("up");break;case a.ui.keyCode.PAGE_DOWN:b._scrollPage("down");break;case a.ui.keyCode.END:b._moveFocus(":last");break;case a.ui.keyCode.ENTER:case a.ui.keyCode.SPACE:b.close(c,!0),a(c.target).parents("li:eq(0)").trigger("mouseup");break;case a.ui.keyCode.TAB:d=!0,b.close(c,!0),a(c.target).parents("li:eq(0)").trigger("mouseup");break;case a.ui.keyCode.ESCAPE:b.close(c,!0);break;default:d=!0}return d}).bind("keypress.selectmenu",function(a){return a.which>0&&b._typeAhead(a.which,"focus"),!0}).bind("mousedown.selectmenu mouseup.selectmenu",function(){return!1}),a(window).bind("resize.selectmenu-"+this.ids[0],a.proxy(b.close,this))},_init:function(){var b=this,c=this.options,d=[];this.element.find("option").each(function(){var e=a(this);d.push({value:e.attr("value"),text:b._formatText(e.text(),e),selected:e.attr("selected"),disabled:e.attr("disabled"),classes:e.attr("class"),typeahead:e.attr("typeahead"),parentOptGroup:e.parent("optgroup"),bgImage:c.bgImage.call(e)})});var e="popup"==b.options.style?" ui-state-active":"";if(this.list.html(""),d.length)for(var f=0;f<d.length;f++){var g={role:"presentation"};d[f].disabled&&(g["class"]="ui-state-disabled");var h={html:d[f].text||"&nbsp;",href:"#nogo",tabindex:-1,role:"option","aria-selected":!1};d[f].disabled&&(h["aria-disabled"]=d[f].disabled),d[f].typeahead&&(h.typeahead=d[f].typeahead);var i=a("<a/>",h).bind("focus.selectmenu",function(){a(this).parent().mouseover()}).bind("blur.selectmenu",function(){a(this).parent().mouseout()}),j=a("<li/>",g).append(i).data("index",f).addClass(d[f].classes).data("optionClasses",d[f].classes||"").bind("mouseup.selectmenu",function(c){return!b._safemouseup||b._disabled(c.currentTarget)||b._disabled(a(c.currentTarget).parents("ul > li.ui-selectmenu-group "))||(b.index(a(this).data("index")),b.select(c),b.close(c,!0)),!1}).bind("click.selectmenu",function(){return!1}).bind("mouseover.selectmenu",function(c){a(this).hasClass("ui-state-disabled")||a(this).parent("ul").parent("li").hasClass("ui-state-disabled")||(c.optionValue=b.element[0].options[a(this).data("index")].value,b._trigger("hover",c,b._uiHash()),b._selectedOptionLi().addClass(e),b._focusedOptionLi().removeClass("ui-selectmenu-item-focus ui-state-hover"),a(this).removeClass("ui-state-active").addClass("ui-selectmenu-item-focus ui-state-hover"))}).bind("mouseout.selectmenu",function(c){a(this).is(b._selectedOptionLi())&&a(this).addClass(e),c.optionValue=b.element[0].options[a(this).data("index")].value,b._trigger("blur",c,b._uiHash()),a(this).removeClass("ui-selectmenu-item-focus ui-state-hover")});if(d[f].parentOptGroup.length){var k="ui-selectmenu-group-"+this.element.find("optgroup").index(d[f].parentOptGroup);this.list.find("li."+k).length?this.list.find("li."+k+":last ul").append(j):a('<li role="presentation" class="ui-selectmenu-group '+k+(d[f].parentOptGroup.attr("disabled")?' ui-state-disabled" aria-disabled="true"':'"')+'><span class="ui-selectmenu-group-label">'+d[f].parentOptGroup.attr("label")+"</span><ul></ul></li>").appendTo(this.list).find("ul").append(j)}else j.appendTo(this.list);if(c.icons)for(var l in c.icons)if(j.is(c.icons[l].find)){j.data("optionClasses",d[f].classes+" ui-selectmenu-hasIcon").addClass("ui-selectmenu-hasIcon");var m=c.icons[l].icon||"";j.find("a:eq(0)").prepend('<span class="ui-selectmenu-item-icon ui-icon '+m+'"></span>'),d[f].bgImage&&j.find("span").css("background-image",d[f].bgImage)}}else a(' <li role="presentation"><a href="#nogo" tabindex="-1" role="option"></a></li>').appendTo(this.list);var n="dropdown"==c.style;this.newelement.toggleClass("ui-selectmenu-dropdown",n).toggleClass("ui-selectmenu-popup",!n),this.list.toggleClass("ui-selectmenu-menu-dropdown ui-corner-bottom",n).toggleClass("ui-selectmenu-menu-popup ui-corner-all",!n).find("li:first").toggleClass("ui-corner-top",!n).end().find("li:last").addClass("ui-corner-bottom"),this.selectmenuIcon.toggleClass("ui-icon-triangle-1-s",n).toggleClass("ui-icon-triangle-2-n-s",!n),"dropdown"==c.style?this.list.width(c.menuWidth?c.menuWidth:c.width):this.list.width(c.menuWidth?c.menuWidth:c.width-c.handleWidth),this.list.css("height","auto");var o=this.listWrap.height(),p=a(window).height(),q=c.maxHeight?Math.min(c.maxHeight,p):p/3;o>q&&this.list.height(q),this._optionLis=this.list.find("li:not(.ui-selectmenu-group)"),this.element.attr("disabled")?this.disable():this.enable(),this._refreshValue(),this._selectedOptionLi().addClass("ui-selectmenu-item-focus"),clearTimeout(this.refreshTimeout),this.refreshTimeout=window.setTimeout(function(){b._refreshPosition()},200)},destroy:function(){this.element.removeData(this.widgetName).removeClass("ui-selectmenu-disabled ui-state-disabled").removeAttr("aria-disabled").unbind(".selectmenu"),a(window).unbind(".selectmenu-"+this.ids[0]),a(document).unbind(".selectmenu-"+this.ids[0]),this.newelementWrap.remove(),this.listWrap.remove(),this.element.unbind(".selectmenu").show(),a.Widget.prototype.destroy.apply(this,arguments)},_typeAhead:function(a,b){var c=this,d=String.fromCharCode(a).toLowerCase(),e=null,f=null;c._typeAhead_timer&&(window.clearTimeout(c._typeAhead_timer),c._typeAhead_timer=void 0),c._typeAhead_chars=(void 0===c._typeAhead_chars?"":c._typeAhead_chars).concat(d),c._typeAhead_chars.length<2||c._typeAhead_chars.substr(-2,1)===d&&c._typeAhead_cycling?(c._typeAhead_cycling=!0,e=d):(c._typeAhead_cycling=!1,e=c._typeAhead_chars);for(var g=("focus"!==b?this._selectedOptionLi().data("index"):this._focusedOptionLi().data("index"))||0,h=0;h<this._optionLis.length;h++){var i=this._optionLis.eq(h).text().substr(0,e.length).toLowerCase();if(i===e)if(c._typeAhead_cycling){if(null===f&&(f=h),h>g){f=h;break}}else f=h}null!==f&&this._optionLis.eq(f).find("a").trigger(b),c._typeAhead_timer=window.setTimeout(function(){c._typeAhead_timer=void 0,c._typeAhead_chars=void 0,c._typeAhead_cycling=void 0},c.options.typeAhead)},_uiHash:function(){var b=this.index();return{index:b,option:a("option",this.element).get(b),value:this.element[0].value}},open:function(a){if("true"!=this.newelement.attr("aria-disabled")){var b=this,c=this.options,d=this._selectedOptionLi(),e=d.find("a");b._closeOthers(a),b.newelement.addClass("ui-state-active"),b.list.attr("aria-hidden",!1),b.listWrap.addClass("ui-selectmenu-open"),"dropdown"==c.style?b.newelement.removeClass("ui-corner-all").addClass("ui-corner-top"):this.list.css("left",-5e3).scrollTop(this.list.scrollTop()+d.position().top-this.list.outerHeight()/2+d.outerHeight()/2).css("left","auto"),b._refreshPosition(),e.length&&e[0].focus(),b.isOpen=!0,b._trigger("open",a,b._uiHash())}},close:function(a,b){this.newelement.is(".ui-state-active")&&(this.newelement.removeClass("ui-state-active"),this.listWrap.removeClass("ui-selectmenu-open"),this.list.attr("aria-hidden",!0),"dropdown"==this.options.style&&this.newelement.removeClass("ui-corner-top").addClass("ui-corner-all"),b&&this.newelement.focus(),this.isOpen=!1,this._trigger("close",a,this._uiHash()))},change:function(a){this.element.trigger("change"),this._trigger("change",a,this._uiHash())},select:function(a){return this._disabled(a.currentTarget)?!1:void this._trigger("select",a,this._uiHash())},widget:function(){return this.listWrap.add(this.newelementWrap)},_closeOthers:function(b){a(".ui-selectmenu.ui-state-active").not(this.newelement).each(function(){a(this).data("selectelement").selectmenu("close",b)}),a(".ui-selectmenu.ui-state-hover").trigger("mouseout")},_toggle:function(a,b){this.isOpen?this.close(a,b):this.open(a)},_formatText:function(b,c){return this.options.format?b=this.options.format(b,c):this.options.escapeHtml&&(b=a("<div />").text(b).html()),b},_selectedIndex:function(){return this.element[0].selectedIndex},_selectedOptionLi:function(){return this._optionLis.eq(this._selectedIndex())},_focusedOptionLi:function(){return this.list.find(".ui-selectmenu-item-focus")},_moveSelection:function(a,b){if(!this.options.disabled){var c=parseInt(this._selectedOptionLi().data("index")||0,10),d=c+a;if(0>d&&(d=0),d>this._optionLis.size()-1&&(d=this._optionLis.size()-1),d===b)return!1;this._optionLis.eq(d).hasClass("ui-state-disabled")?(a>0?++a:--a,this._moveSelection(a,d)):this._optionLis.eq(d).trigger("mouseover").trigger("mouseup")}},_moveFocus:function(a,b){var c;if(isNaN(a))c=parseInt(this._optionLis.filter(a).data("index"),10);else{var d=parseInt(this._focusedOptionLi().data("index")||0,10);c=d+a}if(0>c&&(c=0),c>this._optionLis.size()-1&&(c=this._optionLis.size()-1),c===b)return!1;var e="ui-selectmenu-item-"+Math.round(1e3*Math.random());this._focusedOptionLi().find("a:eq(0)").attr("id",""),this._optionLis.eq(c).hasClass("ui-state-disabled")?(a>0?++a:--a,this._moveFocus(a,c)):this._optionLis.eq(c).find("a:eq(0)").attr("id",e).focus(),this.list.attr("aria-activedescendant",e)},_scrollPage:function(a){var b=Math.floor(this.list.outerHeight()/this._optionLis.first().outerHeight());b="up"==a?-b:b,this._moveFocus(b)},_setOption:function(a,b){this.options[a]=b,"disabled"==a&&(b&&this.close(),this.element.add(this.newelement).add(this.list)[b?"addClass":"removeClass"]("ui-selectmenu-disabled ui-state-disabled").attr("aria-disabled",b))},disable:function(a,b){"undefined"==typeof a?this._setOption("disabled",!0):"optgroup"==b?this._toggleOptgroup(a,!1):this._toggleOption(a,!1)},enable:function(a,b){"undefined"==typeof a?this._setOption("disabled",!1):"optgroup"==b?this._toggleOptgroup(a,!0):this._toggleOption(a,!0)},_disabled:function(b){return a(b).hasClass("ui-state-disabled")},_toggleOption:function(a,b){var c=this._optionLis.eq(a);c&&(c.toggleClass("ui-state-disabled",b).find("a").attr("aria-disabled",!b),b?this.element.find("option").eq(a).attr("disabled","disabled"):this.element.find("option").eq(a).removeAttr("disabled"))},_toggleOptgroup:function(a,b){var c=this.list.find("li.ui-selectmenu-group-"+a);c&&(c.toggleClass("ui-state-disabled",b).attr("aria-disabled",!b),b?this.element.find("optgroup").eq(a).attr("disabled","disabled"):this.element.find("optgroup").eq(a).removeAttr("disabled"))},index:function(b){return arguments.length?this._disabled(a(this._optionLis[b]))||b==this._selectedIndex()?!1:(this.element[0].selectedIndex=b,this._refreshValue(),this.change(),void 0):this._selectedIndex()},value:function(a){return arguments.length&&a!=this.element[0].value?(this.element[0].value=a,this._refreshValue(),this.change(),void 0):this.element[0].value},_refreshValue:function(){var a="popup"==this.options.style?" ui-state-active":"",b="ui-selectmenu-item-"+Math.round(1e3*Math.random());this.list.find(".ui-selectmenu-item-selected").removeClass("ui-selectmenu-item-selected"+a).find("a").attr("aria-selected","false").attr("id",""),this._selectedOptionLi().addClass("ui-selectmenu-item-selected"+a).find("a").attr("aria-selected","true").attr("id",b);var c=this.newelement.data("optionClasses")?this.newelement.data("optionClasses"):"",d=this._selectedOptionLi().data("optionClasses")?this._selectedOptionLi().data("optionClasses"):"";this.newelement.removeClass(c).data("optionClasses",d).addClass(d).find(".ui-selectmenu-status").html(this._selectedOptionLi().find("a:eq(0)").html()),this.list.attr("aria-activedescendant",b)},_refreshPosition:function(){var b=this.options,c={of:this.newelement,my:"left top",at:"left bottom",collision:"flip"};if("popup"==b.style){var d=this._selectedOptionLi();c.my="left top"+(this.list.offset().top-d.offset().top-(this.newelement.outerHeight()+d.outerHeight())/2),c.collision="fit"}this.listWrap.removeAttr("style").zIndex(this.element.zIndex()+2).position(a.extend(c,b.positionOptions))}})}(jQuery),function(a){var b;"function"==typeof b&&b.amd?b(["jquery"],a):a(jQuery)}(function(a){function b(a){return a}function c(a){return decodeURIComponent(a.replace(e," "))}function d(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return f.json?JSON.parse(a):a}catch(b){}}var e=/\+/g,f=a.cookie=function(e,g,h){if(void 0!==g){if(h=a.extend({},f.defaults,h),"number"==typeof h.expires){var i=h.expires,j=h.expires=new Date;j.setDate(j.getDate()+i)}return g=f.json?JSON.stringify(g):String(g),document.cookie=[f.raw?e:encodeURIComponent(e),"=",f.raw?g:encodeURIComponent(g),h.expires?"; expires="+h.expires.toUTCString():"",h.path?"; path="+h.path:"",h.domain?"; domain="+h.domain:"",h.secure?"; secure":""].join(""),document}for(var k=f.raw?b:c,l=document.cookie.split("; "),m=e?void 0:{},n=0,o=l.length;o>n;n++){var p=l[n].split("="),q=k(p.shift()),r=k(p.join("="));if(e&&e===q){m=d(r);break}e||(m[q]=d(r))}return m};f.defaults={},a.removeCookie=function(b,c){return void 0!==a.cookie(b)?(a.cookie(b,"",a.extend({},c,{expires:-1})),!0):!1}});
js/edit-event-controller.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! event-organiser 3.7.2-0-g63f114d 2018-06-08 18:44 */
2
  var eventorganiser=eventorganiser||{};eventorganiser.versionCompare=function(a,b){if(typeof a+typeof b!="stringstring")return!1;for(var c=a.split("."),d=b.split("."),e=Math.max(c.length,d.length),f=0;e>f;f++){if(c[f]&&!d[f]&&parseInt(c[f],10)>0||parseInt(c[f],10)>parseInt(d[f],10))return 1;if(d[f]&&!c[f]&&parseInt(d[f],10)>0||parseInt(c[f],10)<parseInt(d[f],10))return-1}return 0},jQuery(document).ready(function(a){var b;eventOrganiserSchedulePicker.init({views:{start_date:"#eo-start-date",start_time:"#eo-start-time",end_date:"#eo-end-date",end_time:"#eo-end-time",occurrence_picker:"#eo-occurrence-datepicker",occurrence_picker_toggle:".eo_occurrence_toggle",schedule_last_date:"#eo-schedule-last-date",schedule:"#eo-event-recurrence",is_all_day:"#eo-all-day",frequency:"#eo-recurrence-frequency",week_repeat:"#eo-day-of-week-repeat",month_repeat:"#eo-day-of-month-repeat",recurrence_section:".reocurrence_row",include:"#eo-occurrence-includes",exclude:"#eo-occurrence-excludes",schedule_span:"#eo-recurrence-schedule-label",summary:"#eo-event-summary"},format:EO_Ajax_Event.format,is24hour:Boolean(EO_Ajax_Event.is24hour),startday:EO_Ajax_Event.startday,schedule:window.eventOrganiserSchedule,locale:EO_Ajax_Event.locale,editable:"once"==a("#eo-event-recurrence").val()}),a("#eo-event-recurrring-notice").click(function(){window.eventOrganiserSchedulePicker.options.editable=a("#eo-event-recurrring-notice").is(":checked"),window.eventOrganiserSchedulePicker.update_form()}),eovenue.init_map("venuemap",{lat:a("#eo_venue_Lat").val(),lng:a("#eo_venue_Lng").val(),draggable:!1,onPositionchanged:function(a){a.target.latlng.lat+", "+a.target.latlng.lng;jQuery("#eo_venue_Lat").val(a.target.latlng.lat),jQuery("#eo_venue_Lng").val(a.target.latlng.lng),a.target.map.setCenter(a.target.latlng),a.target.map.setZoom(15)}}),a.widget("ui.combobox",{_create:function(){var c=this.element.hide(),d=c.attr("id"),e=c.children(":selected"),f=e.val()?e.text():"",g=a("<span>").addClass("ui-combobox eo-venue-input").insertAfter(c),h=a('<input type="hidden" name="'+c.attr("name")+'" value="'+e.val()+'"/>'),i=a("<input>").attr("id",d).appendTo(g).val(f).addClass("ui-combobox-input"),j={delay:0,minLength:0,source:function(b,c){i.addClass("eo-waiting"),a.getJSON(EO_Ajax_Event.ajaxurl+"?action=eo-search-venue",b,function(b){var d=a.map(b,function(a){return a.label=a.name,a});c(d),i.removeClass("eo-waiting")})},select:function(b,c){a(".venue_row").length>0&&(0===parseInt(c.item.term_id,10)?(a(".venue_row").hide(),a("#eventorganiser_detail .eo-add-new-venue").hide()):(a(".venue_row").show(),a("#eventorganiser_detail .eo-add-new-venue").hide()),eovenue.get_map("venuemap").marker[0].setPosition({lat:c.item.venue_lat,lng:c.item.venue_lng})),h.val(c.item.term_id)}};i.autocomplete(j).addClass("ui-widget-content ui-corner-left"),this.element.replaceWith(h);var k=a.ui?a.ui.version||0:-1,l=eventorganiser.versionCompare(k,"1.10")>=0?"ui-autocomplete":"autocomplete";i.data(l)._renderItem=function(b,c){if(0===parseInt(c.term_id,10))return a("<li></li>").data(l+"-item",c).append("<a>"+c.label+"</a>").appendTo(b);var d=[c.venue_address,c.venue_city,c.venue_state,c.venue_postcode,c.venue_country],e=a.grep(d,function(a){return a}).join(", "),f=eventorganiser.versionCompare(k,"1.10")>=0?"ui-autocomplete-item":"item.autocomplete";return a("<li></li>").data(f,c).append("<a>"+c.label+"</br> <span style='font-size: 0.8em'><em>"+e+"</span></em></a>").appendTo(b)};var m=a("<span>").addClass("eo-venue-combobox-buttons").appendTo(g);a("<a href='#' style='vertical-align: top;margin: 0px -1px;padding: 0px;height:27px;'>").attr("title","Show All Venues").appendTo(m).button({icons:{primary:"ui-icon-triangle-1-s"},text:!1}).removeClass("ui-corner-all").addClass("eo-ui-button ui-corner-right ui-combobox-toggle ui-combobox-button").mousedown(function(){wasOpen=i.autocomplete("widget").is(":visible")}).click(function(b){b.preventDefault(),wasOpen||(a(this).blur(),i.autocomplete("search","").focus())}),EO_Ajax_Event.current_user_can.manage_venues&&a("<a href='#' style='vertical-align: top;margin: 0px -1px;padding: 0px;height:27px;'>").attr("title","Create New Venue").appendTo(m).button({icons:{primary:"ui-icon-plus"},text:!1}).removeClass("ui-corner-all").addClass("eo-ui-button ui-corner-right add-new-venue ui-combobox-button").click(function(c){c.preventDefault(),a("#eventorganiser_detail .eo-add-new-venue").show(),a(".venue_row").show(),b={id:a("[name='eo_input[event-venue]']").val(),label:a(".eo-venue-input input").val(),lat:a("#eo_venue_Lat").val(),lng:a("#eo_venue_Lng").val()},a("[name='eo_input[event-venue]']").val(0),a(".eo-venue-combobox-select").hide(),a(".eo-venue-input input").val("");var d=EO_Ajax_Event.location;d?(d=d.split("/"),eovenue.geocode({city:d[d.length-1]},function(a){a&&eovenue.get_map("venuemap").marker[0].setPosition(a)})):(eovenue.get_map("venuemap").marker[0].setPosition({lat:0,lng:0}),eovenue.get_map("venuemap").map.setZoom(1)),a("#eventorganiser_detail .eo-add-new-venue input").first().focus()})}}),a("#venue_select").combobox(),a(".eo_addressInput").change(function(){var b={};a(".eo_addressInput").each(function(){var c=a(this).attr("id").replace("eo_venue_add-","");b[c]=a(this).val()}),eovenue.geocode(b,function(a){a&&eovenue.get_map("venuemap").marker[0].setPosition(a)})}),a(".eo-add-new-venue-cancel").click(function(c){c.preventDefault(),a(".eo-venue-combobox-select").show().find("input:visible").first().focus(),a(".eo-add-new-venue input").val(""),eovenue.get_map("venuemap").marker[0].setPosition({lat:b.lat,lng:b.lng}),a("[name='eo_input[event-venue]']").val(b.id),a(".eo-venue-input input").val(b.label),a("#eventorganiser_detail .eo-add-new-venue").hide()})});
1
+ /*! event-organiser 3.7.3-0-geffd108 2018-07-13 20:28 */
2
  var eventorganiser=eventorganiser||{};eventorganiser.versionCompare=function(a,b){if(typeof a+typeof b!="stringstring")return!1;for(var c=a.split("."),d=b.split("."),e=Math.max(c.length,d.length),f=0;e>f;f++){if(c[f]&&!d[f]&&parseInt(c[f],10)>0||parseInt(c[f],10)>parseInt(d[f],10))return 1;if(d[f]&&!c[f]&&parseInt(d[f],10)>0||parseInt(c[f],10)<parseInt(d[f],10))return-1}return 0},jQuery(document).ready(function(a){var b;eventOrganiserSchedulePicker.init({views:{start_date:"#eo-start-date",start_time:"#eo-start-time",end_date:"#eo-end-date",end_time:"#eo-end-time",occurrence_picker:"#eo-occurrence-datepicker",occurrence_picker_toggle:".eo_occurrence_toggle",schedule_last_date:"#eo-schedule-last-date",schedule:"#eo-event-recurrence",is_all_day:"#eo-all-day",frequency:"#eo-recurrence-frequency",week_repeat:"#eo-day-of-week-repeat",month_repeat:"#eo-day-of-month-repeat",recurrence_section:".reocurrence_row",include:"#eo-occurrence-includes",exclude:"#eo-occurrence-excludes",schedule_span:"#eo-recurrence-schedule-label",summary:"#eo-event-summary"},format:EO_Ajax_Event.format,is24hour:Boolean(EO_Ajax_Event.is24hour),startday:EO_Ajax_Event.startday,schedule:window.eventOrganiserSchedule,locale:EO_Ajax_Event.locale,editable:"once"==a("#eo-event-recurrence").val()}),a("#eo-event-recurrring-notice").click(function(){window.eventOrganiserSchedulePicker.options.editable=a("#eo-event-recurrring-notice").is(":checked"),window.eventOrganiserSchedulePicker.update_form()}),eovenue.init_map("venuemap",{lat:a("#eo_venue_Lat").val(),lng:a("#eo_venue_Lng").val(),draggable:!1,onPositionchanged:function(a){a.target.latlng.lat+", "+a.target.latlng.lng;jQuery("#eo_venue_Lat").val(a.target.latlng.lat),jQuery("#eo_venue_Lng").val(a.target.latlng.lng),a.target.map.setCenter(a.target.latlng),a.target.map.setZoom(15)}}),a.widget("ui.combobox",{_create:function(){var c=this.element.hide(),d=c.attr("id"),e=c.children(":selected"),f=e.val()?e.text():"",g=a("<span>").addClass("ui-combobox eo-venue-input").insertAfter(c),h=a('<input type="hidden" name="'+c.attr("name")+'" value="'+e.val()+'"/>'),i=a("<input>").attr("id",d).appendTo(g).val(f).addClass("ui-combobox-input"),j={delay:0,minLength:0,source:function(b,c){i.addClass("eo-waiting"),a.getJSON(EO_Ajax_Event.ajaxurl+"?action=eo-search-venue",b,function(b){var d=a.map(b,function(a){return a.label=a.name,a});c(d),i.removeClass("eo-waiting")})},select:function(b,c){a(".venue_row").length>0&&(0===parseInt(c.item.term_id,10)?(a(".venue_row").hide(),a("#eventorganiser_detail .eo-add-new-venue").hide()):(a(".venue_row").show(),a("#eventorganiser_detail .eo-add-new-venue").hide()),eovenue.get_map("venuemap").marker[0].setPosition({lat:c.item.venue_lat,lng:c.item.venue_lng})),h.val(c.item.term_id)}};i.autocomplete(j).addClass("ui-widget-content ui-corner-left"),this.element.replaceWith(h);var k=a.ui?a.ui.version||0:-1,l=eventorganiser.versionCompare(k,"1.10")>=0?"ui-autocomplete":"autocomplete";i.data(l)._renderItem=function(b,c){if(0===parseInt(c.term_id,10))return a("<li></li>").data(l+"-item",c).append("<a>"+c.label+"</a>").appendTo(b);var d=[c.venue_address,c.venue_city,c.venue_state,c.venue_postcode,c.venue_country],e=a.grep(d,function(a){return a}).join(", "),f=eventorganiser.versionCompare(k,"1.10")>=0?"ui-autocomplete-item":"item.autocomplete";return a("<li></li>").data(f,c).append("<a>"+c.label+"</br> <span style='font-size: 0.8em'><em>"+e+"</span></em></a>").appendTo(b)};var m=a("<span>").addClass("eo-venue-combobox-buttons").appendTo(g);a("<a href='#' style='vertical-align: top;margin: 0px -1px;padding: 0px;height:27px;'>").attr("title","Show All Venues").appendTo(m).button({icons:{primary:"ui-icon-triangle-1-s"},text:!1}).removeClass("ui-corner-all").addClass("eo-ui-button ui-corner-right ui-combobox-toggle ui-combobox-button").mousedown(function(){wasOpen=i.autocomplete("widget").is(":visible")}).click(function(b){b.preventDefault(),wasOpen||(a(this).blur(),i.autocomplete("search","").focus())}),EO_Ajax_Event.current_user_can.manage_venues&&a("<a href='#' style='vertical-align: top;margin: 0px -1px;padding: 0px;height:27px;'>").attr("title","Create New Venue").appendTo(m).button({icons:{primary:"ui-icon-plus"},text:!1}).removeClass("ui-corner-all").addClass("eo-ui-button ui-corner-right add-new-venue ui-combobox-button").click(function(c){c.preventDefault(),a("#eventorganiser_detail .eo-add-new-venue").show(),a(".venue_row").show(),b={id:a("[name='eo_input[event-venue]']").val(),label:a(".eo-venue-input input").val(),lat:a("#eo_venue_Lat").val(),lng:a("#eo_venue_Lng").val()},a("[name='eo_input[event-venue]']").val(0),a(".eo-venue-combobox-select").hide(),a(".eo-venue-input input").val("");var d=EO_Ajax_Event.location;d?(d=d.split("/"),eovenue.geocode({city:d[d.length-1]},function(a){a&&eovenue.get_map("venuemap").marker[0].setPosition(a)})):(eovenue.get_map("venuemap").marker[0].setPosition({lat:0,lng:0}),eovenue.get_map("venuemap").map.setZoom(1)),a("#eventorganiser_detail .eo-add-new-venue input").first().focus()})}}),a("#venue_select").combobox(),a(".eo_addressInput").change(function(){var b={};a(".eo_addressInput").each(function(){var c=a(this).attr("id").replace("eo_venue_add-","");b[c]=a(this).val()}),eovenue.geocode(b,function(a){a&&eovenue.get_map("venuemap").marker[0].setPosition(a)})}),a(".eo-add-new-venue-cancel").click(function(c){c.preventDefault(),a(".eo-venue-combobox-select").show().find("input:visible").first().focus(),a(".eo-add-new-venue input").val(""),eovenue.get_map("venuemap").marker[0].setPosition({lat:b.lat,lng:b.lng}),a("[name='eo_input[event-venue]']").val(b.id),a(".eo-venue-input input").val(b.label),a("#eventorganiser_detail .eo-add-new-venue").hide()})});
js/event-manager.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! event-organiser 3.7.2-0-g63f114d 2018-06-08 18:44 */
2
  !function(a,b){"use strict";if("undefined"==typeof a.wp||"undefined"==typeof a.wp.hooks){var c=function(){function a(a,b,c,d){return"string"==typeof a&&"function"==typeof b&&(c=parseInt(c||10,10),h("actions",a,b,c,d)),k}function b(){var a=Array.prototype.slice.call(arguments),b=a.shift();return"string"==typeof b&&j("actions",b,a),k}function c(a,b){return"string"==typeof a&&g("actions",a,b),k}function d(a,b,c,d){return"string"==typeof a&&"function"==typeof b&&(c=parseInt(c||10,10),h("filters",a,b,c)),k}function e(){var a=Array.prototype.slice.call(arguments),b=a.shift();return"string"==typeof b?j("filters",b,a):k}function f(a,b){return"string"==typeof a&&g("filters",a,b),k}function g(a,b,c,d){if(l[a][b])if(c){var e,f=l[a][b];if(d)for(e=f.length;e--;){var g=f[e];g.callback===c&&g.context===d&&f.splice(e,1)}else for(e=f.length;e--;)f[e].callback===c&&f.splice(e,1)}else l[a][b]=[]}function h(a,b,c,d,e){var f={callback:c,priority:d,context:e},g=l[a][b];g?(g.push(f),g=i(g)):g=[f],l[a][b]=g}function i(a){for(var b,c,d,e=1,f=a.length;f>e;e++){for(b=a[e],c=e;(d=a[c-1])&&d.priority>b.priority;)a[c]=a[c-1],--c;a[c]=b}return a}function j(a,b,c){var d=l[a][b];if(!d)return"filters"===a?c[0]:!1;var e=0,f=d.length;if("filters"===a)for(;f>e;e++)c[0]=d[e].callback.apply(d[e].context,c);else for(;f>e;e++)d[e].callback.apply(d[e].context,c);return"filters"===a?c[0]:!0}var k={removeFilter:f,applyFilters:e,applyFilter:e,addFilter:d,removeAction:c,doAction:b,addAction:a},l={actions:{},filters:{}};return k};a.wp=a.wp||{},a.wp.hooks=new c}}(window);
1
+ /*! event-organiser 3.7.3-0-geffd108 2018-07-13 20:28 */
2
  !function(a,b){"use strict";if("undefined"==typeof a.wp||"undefined"==typeof a.wp.hooks){var c=function(){function a(a,b,c,d){return"string"==typeof a&&"function"==typeof b&&(c=parseInt(c||10,10),h("actions",a,b,c,d)),k}function b(){var a=Array.prototype.slice.call(arguments),b=a.shift();return"string"==typeof b&&j("actions",b,a),k}function c(a,b){return"string"==typeof a&&g("actions",a,b),k}function d(a,b,c,d){return"string"==typeof a&&"function"==typeof b&&(c=parseInt(c||10,10),h("filters",a,b,c)),k}function e(){var a=Array.prototype.slice.call(arguments),b=a.shift();return"string"==typeof b?j("filters",b,a):k}function f(a,b){return"string"==typeof a&&g("filters",a,b),k}function g(a,b,c,d){if(l[a][b])if(c){var e,f=l[a][b];if(d)for(e=f.length;e--;){var g=f[e];g.callback===c&&g.context===d&&f.splice(e,1)}else for(e=f.length;e--;)f[e].callback===c&&f.splice(e,1)}else l[a][b]=[]}function h(a,b,c,d,e){var f={callback:c,priority:d,context:e},g=l[a][b];g?(g.push(f),g=i(g)):g=[f],l[a][b]=g}function i(a){for(var b,c,d,e=1,f=a.length;f>e;e++){for(b=a[e],c=e;(d=a[c-1])&&d.priority>b.priority;)a[c]=a[c-1],--c;a[c]=b}return a}function j(a,b,c){var d=l[a][b];if(!d)return"filters"===a?c[0]:!1;var e=0,f=d.length;if("filters"===a)for(;f>e;e++)c[0]=d[e].callback.apply(d[e].context,c);else for(;f>e;e++)d[e].callback.apply(d[e].context,c);return"filters"===a?c[0]:!0}var k={removeFilter:f,applyFilters:e,applyFilter:e,addFilter:d,removeAction:c,doAction:b,addAction:a},l={actions:{},filters:{}};return k};a.wp=a.wp||{},a.wp.hooks=new c}}(window);
js/event.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! event-organiser 3.7.2-0-g63f114d 2018-06-08 18:44 */
2
  var eo_include_dates,eo_exclude_dates,eo_viewing_month;!function(a){function b(b,c,d){var e,f=new Array("SU","MO","TU","WE","TH","FR","SA"),g=[],h=!1;switch(b.schedule){case"once":case"custom":var i=a.datepicker.formatDate("yy-mm-dd",b.start);return g.push(i),g;case"daily":b.start<c?(e=Math.abs((c-b.start)/864e5)-1,e%=b.frequency):e=parseInt(b.start.getDate(),10);var j=b.frequency,k=[],l=new Date(c);l.setDate(c.getDate()+(e-1)),k.push(l);break;case"weekly":var m=c.getDay();k=[],a.each(b.schedule_meta,function(a,d){a=f.indexOf(d),l=new Date(b.start),l.setDate(b.start.getDate()+(a-b.start.getDay()+7)%7),c>l&&(e=Math.abs((c-b.start)/864e5),e-=e%(7*b.frequency),l.setDate(l.getDate()+e)),k.push(l)}),j=7*b.frequency;break;case"monthly":var n=12*(c.getFullYear()-b.start.getFullYear())+(c.getMonth()-b.start.getMonth());if(n%b.frequency!==0)return;if(b.schedule_meta.match(/BYMONTHDAY=(\d+)/)){var o=b.start.getDate(),p=d.getDate();p>=o&&(h=new Date(c.getFullYear(),c.getMonth(),o))}else{var q,r=b.schedule_meta.match(/BYDAY=(\d+)(MO|TU|WE|TH|FR|SA|SU)/),s=parseInt(r[1],10)-1,t=b.start.getDay();if(s>=4){var u=d.getDay();q=d.getDate()+(t-u-7)%7}else{m=c.getDay();var v=(t-m+7)%7;q=v+7*s+1}h=new Date(c),h.setDate(q)}return h&&h<=b.schedule_last&&(i=a.datepicker.formatDate("yy-mm-dd",h),g.push(i)),g;case"yearly":var w=c.getFullYear()-b.start.getFullYear();if(w%b.frequency!==0)return g;var x=new Date(c.getFullYear(),b.start.getMonth(),b.start.getDate());return c.getMonth()==b.start.getMonth()&&x.getMonth()==b.start.getMonth()&&(h=new Date(b.start),h.setYear(c.getFullYear()),h<=b.schedule_last&&(i=a.datepicker.formatDate("yy-mm-dd",h),g.push(i))),g;default:return g}for(var y in k)for(h=new Date(k[y]);d>=h&&h<=b.schedule_last;)i=a.datepicker.formatDate("yy-mm-dd",h),g.push(i),h.setDate(h.getDate()+j);return g}Array.prototype.indexOf||(Array.prototype.indexOf=function(a){var b=this.length,c=Number(arguments[1])||0;for(c=0>c?Math.ceil(c):Math.floor(c),0>c&&(c+=b);b>c;c++)if(c in this&&this[c]===a)return c;return-1}),Date.prototype.eoGetOrdinal=function(){var a=this.getDate();switch(a){case 1:case 21:case 31:return"st";case 2:case 22:return"nd";case 3:case 23:return"rd";default:return"th"}},window.eventOrganiserSchedulePicker={init:function(b){var c=this;this.options=b,this.schedule=b.schedule,this.set_up_datepickers(),this.set_up_timepickers(),a(".event-date :input, .eo-all-day-toggle").change(function(b){c.update_schedule(),c.update_form(),a(this).hasClass("eo-all-day-toggle")||c.update_occurrencepicker_rules()}),this.update_schedule(),this.update_form();var d=new Date;eo_viewing_month=[d.getFullYear(),d.getMonth()+1],this.schedule.generate_dates_by_rule(d.getFullYear(),d.getMonth()+1,{})},set_up_datepickers:function(){var b=this,c=this.options.views,d=this.options.locale;a(c.start_date).data("eo-datepicker","start"),a(c.end_date).data("eo-datepicker","end");if(a(c.is_all_day).addClass("eo-all-day-toggle"),a(c.schedule_last_date))var e=a(c.schedule_last_date).datepicker({nextText:">",prevText:"<",dateFormat:this.options.format,changeMonth:!0,changeYear:!0,monthNamesShort:d.monthAbbrev,dayNamesMin:d.dayAbbrev,isRTL:d.isrtl,firstDay:parseInt(this.options.startday,10),beforeShow:function(b,c){c.hasOwnProperty("dpDiv")?c.dpDiv.addClass("eo-datepicker"):a("#ui-datepicker-div").addClass("eo-datepicker")}}).data("eo-datepicker","schedule_last");var f=a(c.start_date+", "+c.end_date).datepicker({dateFormat:this.options.format,nextText:">",prevText:"<",changeMonth:!0,changeYear:!0,monthNamesShort:d.monthAbbrev,dayNamesMin:d.dayAbbrev,firstDay:parseInt(this.options.startday,10),onSelect:function(d){var g="start"==a(this).data("eo-datepicker")?"minDate":"maxDate",h=a(this).data("datepicker"),i=a.datepicker.parseDate(h.settings.dateFormat||a.datepicker._defaults.dateFormat,d,h.settings);f.not(this).datepicker("option",g,i),"from_date"==this.id&&e.datepicker("option","minDate",i);var j=a(c.start_date).datepicker("getDate"),k=a(c.end_date).datepicker("getDate");if(j.getTime()!=k.getTime()){var l={hour:null,minute:null};a(c.start_time+", "+c.end_time).eotimepicker("option",{maxTime:l,minTime:l})}b.update_schedule(),b.update_occurrencepicker_rules(),b.update_form()},beforeShow:function(b,c){c.hasOwnProperty("dpDiv")?c.dpDiv.addClass("eo-datepicker"):a("#ui-datepicker-div").addClass("eo-datepicker")}}),g=a(c.occurrence_picker);g.length>0&&(g.datepicker({dateFormat:"yy-mm-dd",nextText:">",prevText:"<",changeMonth:!0,changeYear:!0,monthNamesShort:d.monthAbbrev,dayNamesMin:d.dayAbbrev,firstDay:parseInt(this.options.startday,10),onSelect:function(b){eventOrganiserSchedule.add_or_remove_date(b),a(eventOrganiserSchedulePicker.options.views.include).val(eventOrganiserSchedule.include.join(",\r\n")),a(eventOrganiserSchedulePicker.options.views.exclude).val(eventOrganiserSchedule.exclude.join(",\r\n"))},beforeShowDay:function(b){var c=a.datepicker.formatDate("yy-mm-dd",b),d=eventOrganiserSchedule.is_date_eventful(c);return d[0]?[!0,"eo-op-date-selected",""]:[!0,"eo-op-date-not-selected",""]},beforeShow:function(b,c){c.hasOwnProperty("dpDiv")?c.dpDiv.addClass("eo-datepicker"):a("#ui-datepicker-div").addClass("eo-datepicker")},onChangeMonthYear:eventOrganiserSchedule.generate_dates_by_rule}).hide().find(".ui-datepicker-inline").click(function(a){a||(a=window.event),a.cancelBubble=!0,a.stopPropagation&&a.stopPropagation()}),a("html").click(function(){g.hide(),a(c.occurrence_picker_toggle).val(d.showDates)})),a(c.occurrence_picker_toggle).click(function(b){b.preventDefault(),b.stopPropagation(),g.toggle(),g.is(":visible")?(a(this).val(d.hideDates),a(c.occurrence_picker).datepicker("refresh")):a(this).val(d.showDates)})},update_occurrencepicker_rules:function(){eo_exclude_dates=[],eo_include_dates=[],this.schedule.generate_dates_by_rule(eo_viewing_month[0],eo_viewing_month[1],{}),a(this.options.views.occurrence_picker).datepicker("refresh")},set_up_timepickers:function(){var b=this.options,c=this.options.views;a(c.start_time).data("eo-event-data","start-time"),a(c.end_time).data("eo-event-data","end-time"),a(c.start_time+", "+c.end_time).eotimepicker({showPeriodLabels:!b.is24hour,showPeriod:!this.options.is24hour,showLeadingZero:b.is24hour,periodSeparator:"",amPmText:b.locale.meridian,hourText:b.locale.hour,minuteText:b.locale.minute,isRTL:b.locale.isrtl,onSelect:function(b,d){var e=a(c.start_date).datepicker("getDate"),f=a(c.end_date).datepicker("getDate");if(e.getTime()==f.getTime()){var g={hour:d.hours,minute:d.minutes};"start-time"==a(d.input).data("eo-event-data")?a(c.end_time).eotimepicker("option",{minTime:g}):a(c.start_time).eotimepicker("option",{maxTime:g})}}}).addClass("eo-time-picker")},update_schedule:function(){var b=new Array("SU","MO","TU","WE","TH","FR","SA"),c=this.options.views,d={schedule:a(c.schedule).val(),frequency:parseInt(a(c.frequency).val(),10),schedule_last:a(c.schedule_last_date).datepicker("getDate"),start:a(c.start_date).datepicker("getDate"),end:a(c.end_date).datepicker("getDate"),is_all_day:a(c.is_all_day).attr("checked"),include:a(c.include).length>0?a(c.include).val().split(","):[],exclude:a(c.exclude).length>0?a(c.exclude).val().split(","):[]};if("weekly"==d.schedule){if(d.schedule_meta=[],0===a(c.week_repeat+" :checkbox:checked").length){var e=d.start.getDay();a(c.week_repeat+" :checkbox[value='"+b[e]+"']").attr("checked",!0)}a(c.week_repeat+" :checkbox:checked").each(function(){d.schedule_meta.push(a(this).val())})}else if("monthly"==d.schedule)if("BYMONTHDAY="==a(c.month_repeat+" :radio:checked").val())d.schedule_meta="BYMONTHDAY="+d.start.getDate();else{var f=d.start.getDay()%7,g=parseInt(Math.floor((d.start.getDate()-1)/7),10);d.schedule_meta="BYDAY="+(g+1)+b[f]}this.schedule=eventOrganiserSchedule.init(d),eo_exclude_dates=d.exclude,eo_include_dates=d.include},update_form:function(){var b=this.options.views,c=this.options.locale,d=this.schedule,e=700;switch(a(".event-date :input").attr("disabled",!this.options.editable).toggleClass("ui-state-disabled",!this.options.editable),a("label[for=eo-all-day]").toggleClass("ui-state-disabled",!this.options.editable),this.options.editable&&a(b.start_time+", "+b.end_time).attr("disabled",d.is_all_day).toggleClass("ui-state-disabled",d.is_all_day),"once"==d.schedule||"custom"==d.schedule?(a(b.recurrence_section+" :input").attr("disabled",!0),a(b.recurrence_section).hide()):(a(b.recurrence_section+" :input").attr("disabled",!1),a(b.recurrence_section).fadeIn(e)),d.schedule){case"once":case"custom":a(d.frequency).val("1"),a(b.month_repeat+", "+b.week_repeat).show();break;case"weekly":d.frequency>1?a(b.schedule_span).text(c.weeks):a(b.schedule_span).text(c.week),a(b.week_repeat).fadeIn(e),a(b.week_repeat+" :input").attr("disabled",!1),a(b.month_repeat).hide(),a(b.month_repeat+" :input").attr("disabled",!0);break;case"monthly":d.frequency>1?a(b.schedule_span).text(c.months):a(b.schedule_span).text(c.month),a(b.month_repeat).fadeIn(e),a(b.month_repeat+" :input").attr("disabled",!1),a(b.week_repeat).hide(),a(b.week_repeat+" :input").attr("disabled",!0);break;case"daily":d.frequency>1?a(b.schedule_span).text(c.days):a(b.schedule_span).text(c.day),a(b.week_repeat+", "+b.month_repeat).hide(),a(b.week_repeat+" :input, "+b.month_repeat+" :input").attr("disabled",!0);break;case"yearly":d.frequency>1?a(b.schedule_span).text(c.years):a(b.schedule_span).text(c.year),a(b.week_repeat+", "+b.month_repeat).hide(),a(b.week_repeat+" :input, "+b.month_repeat+" :input").attr("disabled",!0)}null===a("#venue_select").val()&&a(".venue_row").hide(),a(b.summary).html(d.generate_summary(c))}},eventOrganiserSchedule={self:this,init:function(b){var c={schedule:"once",frequency:1,schedule_last:new Date,start:new Date,end:new Date,is_all_day:!1,dates_by_rule:[]};b=a.extend({},c,b);for(var d in b)this[d]=b[d];return this},generate_dates_by_rule:function(a,c,d){var e=new Date(a,c-1,1),f=new Date(a,c,1),g=new Date(f-1);eventOrganiserSchedule.schedule_last<e||eventOrganiserSchedule.start>g||(eventOrganiserSchedule.dates_by_rule=b(eventOrganiserSchedule,e,g))},generate_summary:function(b){var c=b.weekDay,d=b.summary+" ",e={monthNamesShort:b.monthAbbrev,dayNamesMin:b.dayAbbrev,monthNames:b.monthNames},f=this.schedule,g=new Array("SU","MO","TU","WE","TH","FR","SA");switch(f){case"once":return"This event will be a one-time event";case"custom":case"daily":d+=this.frequency>1?sprintf(b.dayPlural,this.frequency):b.daySingle;break;case"weekly":d+=this.frequency>1?sprintf(b.weekPlural,this.frequency):b.weekSingle;var h=a.map(this.schedule_meta,function(a,b){return c[g.indexOf(a)]});d+=" "+h.join(", ");break;case"monthly":if(d+=this.frequency>1?sprintf(b.monthPlural,this.frequency):b.monthSingle,this.schedule_meta.match(/BYMONTHDAY=(\d+)/))d=d+" "+this.start.getDate()+this.start.eoGetOrdinal();else{var i=this.schedule_meta.match(/BYDAY=(\d+)(MO|TU|WE|TH|FR|SA|SU)/),j=parseInt(i[1],10)-1;d=d+" "+b.occurrence[j]+" "+c[g.indexOf(i[2])]}break;case"yearly":d+=this.frequency>1?sprintf(b.yearPlural,this.frequency):b.yearSingle;var k;k=b.isUsingOrdinal?a.datepicker.formatDate("MM d",this.start,e)+this.start.eoGetOrdinal():a.datepicker.formatDate("MM d",this.start,e),d=d+" "+k}if(null!==this.schedule_last){var l;l=b.isUsingOrdinal?a.datepicker.formatDate("MM d'"+this.schedule_last.eoGetOrdinal()+"' yy",this.schedule_last,e):a.datepicker.formatDate("MM d yy",this.schedule_last,e),d=d+" "+b.until+" "+l}return d},is_date_eventful:function(b){var c=a.inArray(b,eventOrganiserSchedule.dates_by_rule),d=a.inArray(b,eventOrganiserSchedule.exclude),e=a.inArray(b,eventOrganiserSchedule.include);return c>-1?d>-1&&-1==e?[!1,d]:d>-1&&e>-1?[!0,e]:[!0,-1]:e>-1?[!0,e]:[!1,-1]},add_or_remove_date:function(b,c){var d,e=eventOrganiserSchedule.is_date_eventful(b);e[0]?(d=e[1],d>-1?eventOrganiserSchedule.include.splice(d,1):a.inArray(b,eventOrganiserSchedule.exclude)<0&&eventOrganiserSchedule.exclude.push(b)):(d=e[1],d>-1?eventOrganiserSchedule.exclude.splice(d,1):a.inArray(b,eventOrganiserSchedule.include)<0&&eventOrganiserSchedule.include.push(b)),eo_exclude_dates=eventOrganiserSchedule.exclude,eo_include_dates=eventOrganiserSchedule.include}}}(jQuery),function(a){function b(a){return Object.prototype.toString.call(a).slice(8,-1).toLowerCase()}function c(a,b){for(var c=[];b>0;c[--b]=a);return c.join("")}var d=function(){return d.cache.hasOwnProperty(arguments[0])||(d.cache[arguments[0]]=d.parse(arguments[0])),d.format.call(null,d.cache[arguments[0]],arguments)};d.format=function(a,e){var f,g,h,i,j,k,l,m=1,n=a.length,o="",p=[];for(g=0;n>g;g++)if(o=b(a[g]),"string"===o)p.push(a[g]);else if("array"===o){if(i=a[g],i[2])for(f=e[m],h=0;h<i[2].length;h++){if(!f.hasOwnProperty(i[2][h]))throw d('[sprintf] property "%s" does not exist',i[2][h]);f=f[i[2][h]]}else f=i[1]?e[i[1]]:e[m++];if(/[^s]/.test(i[8])&&"number"!=b(f))throw d("[sprintf] expecting number but found %s",b(f));switch(i[8]){case"b":f=f.toString(2);break;case"c":f=String.fromCharCode(f);break;case"d":f=parseInt(f,10);break;case"e":f=i[7]?f.toExponential(i[7]):f.toExponential();break;case"f":f=i[7]?parseFloat(f).toFixed(i[7]):parseFloat(f);break;case"o":f=f.toString(8);break;case"s":f=(f=String(f))&&i[7]?f.substring(0,i[7]):f;break;case"u":f>>>=0;break;case"x":f=f.toString(16);break;case"X":f=f.toString(16).toUpperCase()}f=/[def]/.test(i[8])&&i[3]&&f>=0?"+"+f:f,k=i[4]?"0"==i[4]?"0":i[4].charAt(1):" ",l=i[6]-String(f).length,j=i[6]?c(k,l):"",p.push(i[5]?f+j:j+f)}return p.join("")},d.cache={},d.parse=function(a){for(var b=a,c=[],d=[],e=0;b;){if(null!==(c=/^[^\x25]+/.exec(b)))d.push(c[0]);else if(null!==(c=/^\x25{2}/.exec(b)))d.push("%");else{if(null===(c=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(b)))throw"[sprintf] huh?";if(c[2]){e|=1;var f=[],g=c[2],h=[];if(null===(h=/^([a-z_][a-z_\d]*)/i.exec(g)))throw"[sprintf] huh?";for(f.push(h[1]);""!==(g=g.substring(h[0].length));)if(null!==(h=/^\.([a-z_][a-z_\d]*)/i.exec(g)))f.push(h[1]);else{if(null===(h=/^\[(\d+)\]/.exec(g)))throw"[sprintf] huh?";f.push(h[1])}c[2]=f}else e|=2;if(3===e)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";d.push(c)}b=b.substring(c[0].length)}return d};var e=function(a,b,c){return c=b.slice(0),c.splice(0,0,a),d.apply(null,c)};a.sprintf=d,a.vsprintf=e}("undefined"!=typeof exports?exports:window);
1
+ /*! event-organiser 3.7.3-0-geffd108 2018-07-13 20:28 */
2
  var eo_include_dates,eo_exclude_dates,eo_viewing_month;!function(a){function b(b,c,d){var e,f=new Array("SU","MO","TU","WE","TH","FR","SA"),g=[],h=!1;switch(b.schedule){case"once":case"custom":var i=a.datepicker.formatDate("yy-mm-dd",b.start);return g.push(i),g;case"daily":b.start<c?(e=Math.abs((c-b.start)/864e5)-1,e%=b.frequency):e=parseInt(b.start.getDate(),10);var j=b.frequency,k=[],l=new Date(c);l.setDate(c.getDate()+(e-1)),k.push(l);break;case"weekly":var m=c.getDay();k=[],a.each(b.schedule_meta,function(a,d){a=f.indexOf(d),l=new Date(b.start),l.setDate(b.start.getDate()+(a-b.start.getDay()+7)%7),c>l&&(e=Math.abs((c-b.start)/864e5),e-=e%(7*b.frequency),l.setDate(l.getDate()+e)),k.push(l)}),j=7*b.frequency;break;case"monthly":var n=12*(c.getFullYear()-b.start.getFullYear())+(c.getMonth()-b.start.getMonth());if(n%b.frequency!==0)return;if(b.schedule_meta.match(/BYMONTHDAY=(\d+)/)){var o=b.start.getDate(),p=d.getDate();p>=o&&(h=new Date(c.getFullYear(),c.getMonth(),o))}else{var q,r=b.schedule_meta.match(/BYDAY=(\d+)(MO|TU|WE|TH|FR|SA|SU)/),s=parseInt(r[1],10)-1,t=b.start.getDay();if(s>=4){var u=d.getDay();q=d.getDate()+(t-u-7)%7}else{m=c.getDay();var v=(t-m+7)%7;q=v+7*s+1}h=new Date(c),h.setDate(q)}return h&&h<=b.schedule_last&&(i=a.datepicker.formatDate("yy-mm-dd",h),g.push(i)),g;case"yearly":var w=c.getFullYear()-b.start.getFullYear();if(w%b.frequency!==0)return g;var x=new Date(c.getFullYear(),b.start.getMonth(),b.start.getDate());return c.getMonth()==b.start.getMonth()&&x.getMonth()==b.start.getMonth()&&(h=new Date(b.start),h.setYear(c.getFullYear()),h<=b.schedule_last&&(i=a.datepicker.formatDate("yy-mm-dd",h),g.push(i))),g;default:return g}for(var y in k)for(h=new Date(k[y]);d>=h&&h<=b.schedule_last;)i=a.datepicker.formatDate("yy-mm-dd",h),g.push(i),h.setDate(h.getDate()+j);return g}Array.prototype.indexOf||(Array.prototype.indexOf=function(a){var b=this.length,c=Number(arguments[1])||0;for(c=0>c?Math.ceil(c):Math.floor(c),0>c&&(c+=b);b>c;c++)if(c in this&&this[c]===a)return c;return-1}),Date.prototype.eoGetOrdinal=function(){var a=this.getDate();switch(a){case 1:case 21:case 31:return"st";case 2:case 22:return"nd";case 3:case 23:return"rd";default:return"th"}},window.eventOrganiserSchedulePicker={init:function(b){var c=this;this.options=b,this.schedule=b.schedule,this.set_up_datepickers(),this.set_up_timepickers(),a(".event-date :input, .eo-all-day-toggle").change(function(b){c.update_schedule(),c.update_form(),a(this).hasClass("eo-all-day-toggle")||c.update_occurrencepicker_rules()}),this.update_schedule(),this.update_form();var d=new Date;eo_viewing_month=[d.getFullYear(),d.getMonth()+1],this.schedule.generate_dates_by_rule(d.getFullYear(),d.getMonth()+1,{})},set_up_datepickers:function(){var b=this,c=this.options.views,d=this.options.locale;a(c.start_date).data("eo-datepicker","start"),a(c.end_date).data("eo-datepicker","end");if(a(c.is_all_day).addClass("eo-all-day-toggle"),a(c.schedule_last_date))var e=a(c.schedule_last_date).datepicker({nextText:">",prevText:"<",dateFormat:this.options.format,changeMonth:!0,changeYear:!0,monthNamesShort:d.monthAbbrev,dayNamesMin:d.dayAbbrev,isRTL:d.isrtl,firstDay:parseInt(this.options.startday,10),beforeShow:function(b,c){c.hasOwnProperty("dpDiv")?c.dpDiv.addClass("eo-datepicker"):a("#ui-datepicker-div").addClass("eo-datepicker")}}).data("eo-datepicker","schedule_last");var f=a(c.start_date+", "+c.end_date).datepicker({dateFormat:this.options.format,nextText:">",prevText:"<",changeMonth:!0,changeYear:!0,monthNamesShort:d.monthAbbrev,dayNamesMin:d.dayAbbrev,firstDay:parseInt(this.options.startday,10),onSelect:function(d){var g="start"==a(this).data("eo-datepicker")?"minDate":"maxDate",h=a(this).data("datepicker"),i=a.datepicker.parseDate(h.settings.dateFormat||a.datepicker._defaults.dateFormat,d,h.settings);f.not(this).datepicker("option",g,i),"from_date"==this.id&&e.datepicker("option","minDate",i);var j=a(c.start_date).datepicker("getDate"),k=a(c.end_date).datepicker("getDate");if(j.getTime()!=k.getTime()){var l={hour:null,minute:null};a(c.start_time+", "+c.end_time).eotimepicker("option",{maxTime:l,minTime:l})}b.update_schedule(),b.update_occurrencepicker_rules(),b.update_form()},beforeShow:function(b,c){c.hasOwnProperty("dpDiv")?c.dpDiv.addClass("eo-datepicker"):a("#ui-datepicker-div").addClass("eo-datepicker")}}),g=a(c.occurrence_picker);g.length>0&&(g.datepicker({dateFormat:"yy-mm-dd",nextText:">",prevText:"<",changeMonth:!0,changeYear:!0,monthNamesShort:d.monthAbbrev,dayNamesMin:d.dayAbbrev,firstDay:parseInt(this.options.startday,10),onSelect:function(b){eventOrganiserSchedule.add_or_remove_date(b),a(eventOrganiserSchedulePicker.options.views.include).val(eventOrganiserSchedule.include.join(",\r\n")),a(eventOrganiserSchedulePicker.options.views.exclude).val(eventOrganiserSchedule.exclude.join(",\r\n"))},beforeShowDay:function(b){var c=a.datepicker.formatDate("yy-mm-dd",b),d=eventOrganiserSchedule.is_date_eventful(c);return d[0]?[!0,"eo-op-date-selected",""]:[!0,"eo-op-date-not-selected",""]},beforeShow:function(b,c){c.hasOwnProperty("dpDiv")?c.dpDiv.addClass("eo-datepicker"):a("#ui-datepicker-div").addClass("eo-datepicker")},onChangeMonthYear:eventOrganiserSchedule.generate_dates_by_rule}).hide().find(".ui-datepicker-inline").click(function(a){a||(a=window.event),a.cancelBubble=!0,a.stopPropagation&&a.stopPropagation()}),a("html").click(function(){g.hide(),a(c.occurrence_picker_toggle).val(d.showDates)})),a(c.occurrence_picker_toggle).click(function(b){b.preventDefault(),b.stopPropagation(),g.toggle(),g.is(":visible")?(a(this).val(d.hideDates),a(c.occurrence_picker).datepicker("refresh")):a(this).val(d.showDates)})},update_occurrencepicker_rules:function(){eo_exclude_dates=[],eo_include_dates=[],this.schedule.generate_dates_by_rule(eo_viewing_month[0],eo_viewing_month[1],{}),a(this.options.views.occurrence_picker).datepicker("refresh")},set_up_timepickers:function(){var b=this.options,c=this.options.views;a(c.start_time).data("eo-event-data","start-time"),a(c.end_time).data("eo-event-data","end-time"),a(c.start_time+", "+c.end_time).eotimepicker({showPeriodLabels:!b.is24hour,showPeriod:!this.options.is24hour,showLeadingZero:b.is24hour,periodSeparator:"",amPmText:b.locale.meridian,hourText:b.locale.hour,minuteText:b.locale.minute,isRTL:b.locale.isrtl,onSelect:function(b,d){var e=a(c.start_date).datepicker("getDate"),f=a(c.end_date).datepicker("getDate");if(e.getTime()==f.getTime()){var g={hour:d.hours,minute:d.minutes};"start-time"==a(d.input).data("eo-event-data")?a(c.end_time).eotimepicker("option",{minTime:g}):a(c.start_time).eotimepicker("option",{maxTime:g})}}}).addClass("eo-time-picker")},update_schedule:function(){var b=new Array("SU","MO","TU","WE","TH","FR","SA"),c=this.options.views,d={schedule:a(c.schedule).val(),frequency:parseInt(a(c.frequency).val(),10),schedule_last:a(c.schedule_last_date).datepicker("getDate"),start:a(c.start_date).datepicker("getDate"),end:a(c.end_date).datepicker("getDate"),is_all_day:a(c.is_all_day).attr("checked"),include:a(c.include).length>0?a(c.include).val().split(","):[],exclude:a(c.exclude).length>0?a(c.exclude).val().split(","):[]};if("weekly"==d.schedule){if(d.schedule_meta=[],0===a(c.week_repeat+" :checkbox:checked").length){var e=d.start.getDay();a(c.week_repeat+" :checkbox[value='"+b[e]+"']").attr("checked",!0)}a(c.week_repeat+" :checkbox:checked").each(function(){d.schedule_meta.push(a(this).val())})}else if("monthly"==d.schedule)if("BYMONTHDAY="==a(c.month_repeat+" :radio:checked").val())d.schedule_meta="BYMONTHDAY="+d.start.getDate();else{var f=d.start.getDay()%7,g=parseInt(Math.floor((d.start.getDate()-1)/7),10);d.schedule_meta="BYDAY="+(g+1)+b[f]}this.schedule=eventOrganiserSchedule.init(d),eo_exclude_dates=d.exclude,eo_include_dates=d.include},update_form:function(){var b=this.options.views,c=this.options.locale,d=this.schedule,e=700;switch(a(".event-date :input").attr("disabled",!this.options.editable).toggleClass("ui-state-disabled",!this.options.editable),a("label[for=eo-all-day]").toggleClass("ui-state-disabled",!this.options.editable),this.options.editable&&a(b.start_time+", "+b.end_time).attr("disabled",d.is_all_day).toggleClass("ui-state-disabled",d.is_all_day),"once"==d.schedule||"custom"==d.schedule?(a(b.recurrence_section+" :input").attr("disabled",!0),a(b.recurrence_section).hide()):(a(b.recurrence_section+" :input").attr("disabled",!1),a(b.recurrence_section).fadeIn(e)),d.schedule){case"once":case"custom":a(d.frequency).val("1"),a(b.month_repeat+", "+b.week_repeat).show();break;case"weekly":d.frequency>1?a(b.schedule_span).text(c.weeks):a(b.schedule_span).text(c.week),a(b.week_repeat).fadeIn(e),a(b.week_repeat+" :input").attr("disabled",!1),a(b.month_repeat).hide(),a(b.month_repeat+" :input").attr("disabled",!0);break;case"monthly":d.frequency>1?a(b.schedule_span).text(c.months):a(b.schedule_span).text(c.month),a(b.month_repeat).fadeIn(e),a(b.month_repeat+" :input").attr("disabled",!1),a(b.week_repeat).hide(),a(b.week_repeat+" :input").attr("disabled",!0);break;case"daily":d.frequency>1?a(b.schedule_span).text(c.days):a(b.schedule_span).text(c.day),a(b.week_repeat+", "+b.month_repeat).hide(),a(b.week_repeat+" :input, "+b.month_repeat+" :input").attr("disabled",!0);break;case"yearly":d.frequency>1?a(b.schedule_span).text(c.years):a(b.schedule_span).text(c.year),a(b.week_repeat+", "+b.month_repeat).hide(),a(b.week_repeat+" :input, "+b.month_repeat+" :input").attr("disabled",!0)}null===a("#venue_select").val()&&a(".venue_row").hide(),a(b.summary).html(d.generate_summary(c))}},eventOrganiserSchedule={self:this,init:function(b){var c={schedule:"once",frequency:1,schedule_last:new Date,start:new Date,end:new Date,is_all_day:!1,dates_by_rule:[]};b=a.extend({},c,b);for(var d in b)this[d]=b[d];return this},generate_dates_by_rule:function(a,c,d){var e=new Date(a,c-1,1),f=new Date(a,c,1),g=new Date(f-1);eventOrganiserSchedule.schedule_last<e||eventOrganiserSchedule.start>g||(eventOrganiserSchedule.dates_by_rule=b(eventOrganiserSchedule,e,g))},generate_summary:function(b){var c=b.weekDay,d=b.summary+" ",e={monthNamesShort:b.monthAbbrev,dayNamesMin:b.dayAbbrev,monthNames:b.monthNames},f=this.schedule,g=new Array("SU","MO","TU","WE","TH","FR","SA");switch(f){case"once":return"This event will be a one-time event";case"custom":case"daily":d+=this.frequency>1?sprintf(b.dayPlural,this.frequency):b.daySingle;break;case"weekly":d+=this.frequency>1?sprintf(b.weekPlural,this.frequency):b.weekSingle;var h=a.map(this.schedule_meta,function(a,b){return c[g.indexOf(a)]});d+=" "+h.join(", ");break;case"monthly":if(d+=this.frequency>1?sprintf(b.monthPlural,this.frequency):b.monthSingle,this.schedule_meta.match(/BYMONTHDAY=(\d+)/))d=d+" "+this.start.getDate()+this.start.eoGetOrdinal();else{var i=this.schedule_meta.match(/BYDAY=(\d+)(MO|TU|WE|TH|FR|SA|SU)/),j=parseInt(i[1],10)-1;d=d+" "+b.occurrence[j]+" "+c[g.indexOf(i[2])]}break;case"yearly":d+=this.frequency>1?sprintf(b.yearPlural,this.frequency):b.yearSingle;var k;k=b.isUsingOrdinal?a.datepicker.formatDate("MM d",this.start,e)+this.start.eoGetOrdinal():a.datepicker.formatDate("MM d",this.start,e),d=d+" "+k}if(null!==this.schedule_last){var l;l=b.isUsingOrdinal?a.datepicker.formatDate("MM d'"+this.schedule_last.eoGetOrdinal()+"' yy",this.schedule_last,e):a.datepicker.formatDate("MM d yy",this.schedule_last,e),d=d+" "+b.until+" "+l}return d},is_date_eventful:function(b){var c=a.inArray(b,eventOrganiserSchedule.dates_by_rule),d=a.inArray(b,eventOrganiserSchedule.exclude),e=a.inArray(b,eventOrganiserSchedule.include);return c>-1?d>-1&&-1==e?[!1,d]:d>-1&&e>-1?[!0,e]:[!0,-1]:e>-1?[!0,e]:[!1,-1]},add_or_remove_date:function(b,c){var d,e=eventOrganiserSchedule.is_date_eventful(b);e[0]?(d=e[1],d>-1?eventOrganiserSchedule.include.splice(d,1):a.inArray(b,eventOrganiserSchedule.exclude)<0&&eventOrganiserSchedule.exclude.push(b)):(d=e[1],d>-1?eventOrganiserSchedule.exclude.splice(d,1):a.inArray(b,eventOrganiserSchedule.include)<0&&eventOrganiserSchedule.include.push(b)),eo_exclude_dates=eventOrganiserSchedule.exclude,eo_include_dates=eventOrganiserSchedule.include}}}(jQuery),function(a){function b(a){return Object.prototype.toString.call(a).slice(8,-1).toLowerCase()}function c(a,b){for(var c=[];b>0;c[--b]=a);return c.join("")}var d=function(){return d.cache.hasOwnProperty(arguments[0])||(d.cache[arguments[0]]=d.parse(arguments[0])),d.format.call(null,d.cache[arguments[0]],arguments)};d.format=function(a,e){var f,g,h,i,j,k,l,m=1,n=a.length,o="",p=[];for(g=0;n>g;g++)if(o=b(a[g]),"string"===o)p.push(a[g]);else if("array"===o){if(i=a[g],i[2])for(f=e[m],h=0;h<i[2].length;h++){if(!f.hasOwnProperty(i[2][h]))throw d('[sprintf] property "%s" does not exist',i[2][h]);f=f[i[2][h]]}else f=i[1]?e[i[1]]:e[m++];if(/[^s]/.test(i[8])&&"number"!=b(f))throw d("[sprintf] expecting number but found %s",b(f));switch(i[8]){case"b":f=f.toString(2);break;case"c":f=String.fromCharCode(f);break;case"d":f=parseInt(f,10);break;case"e":f=i[7]?f.toExponential(i[7]):f.toExponential();break;case"f":f=i[7]?parseFloat(f).toFixed(i[7]):parseFloat(f);break;case"o":f=f.toString(8);break;case"s":f=(f=String(f))&&i[7]?f.substring(0,i[7]):f;break;case"u":f>>>=0;break;case"x":f=f.toString(16);break;case"X":f=f.toString(16).toUpperCase()}f=/[def]/.test(i[8])&&i[3]&&f>=0?"+"+f:f,k=i[4]?"0"==i[4]?"0":i[4].charAt(1):" ",l=i[6]-String(f).length,j=i[6]?c(k,l):"",p.push(i[5]?f+j:j+f)}return p.join("")},d.cache={},d.parse=function(a){for(var b=a,c=[],d=[],e=0;b;){if(null!==(c=/^[^\x25]+/.exec(b)))d.push(c[0]);else if(null!==(c=/^\x25{2}/.exec(b)))d.push("%");else{if(null===(c=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(b)))throw"[sprintf] huh?";if(c[2]){e|=1;var f=[],g=c[2],h=[];if(null===(h=/^([a-z_][a-z_\d]*)/i.exec(g)))throw"[sprintf] huh?";for(f.push(h[1]);""!==(g=g.substring(h[0].length));)if(null!==(h=/^\.([a-z_][a-z_\d]*)/i.exec(g)))f.push(h[1]);else{if(null===(h=/^\[(\d+)\]/.exec(g)))throw"[sprintf] huh?";f.push(h[1])}c[2]=f}else e|=2;if(3===e)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";d.push(c)}b=b.substring(c[0].length)}return d};var e=function(a,b,c){return c=b.slice(0),c.splice(0,0,a),d.apply(null,c)};a.sprintf=d,a.vsprintf=e}("undefined"!=typeof exports?exports:window);
js/frontend.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! event-organiser 3.7.2-0-g63f114d 2018-06-08 18:44 */
2
  function eveorg_getParameterByName(a,b){a=a.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var c="[\\?&]"+a+"=([^&#]*)",d=new RegExp(c),e=d.exec(b);return null===e?"":decodeURIComponent(e[1].replace(/\+/g," "))}var eventorganiser=eventorganiser||{};!function(a){jQuery(document).ready(function(){function b(a,b,c){var d;for(d in a)if(a[b]==c)return d;return!1}function c(c){var d="undefined"!=typeof c.whitelist&&c.whitelist?c.whitelist.split(","):!1,e="<select class='eo-fc-filter eo-fc-filter-"+c.type+"' data-filter-type='"+c.type+"'>";e+="<option value=''>"+c.select_none+"</option>";var f;for(var g in c.terms){if(f=c.terms[g],d){var h=!1;-1!==a.inArray(f.slug,d)&&(h=!0);for(var i=f;!h&&i.parent>0;)i=b(c.terms,"term_id",i.parent),-1!==a.inArray(i.slug,d)&&(h=!0);if(!h)continue}e+="<option value='"+f.slug+"'>"+f.name+"</option>"}e+="</select>";var j=a("<span class='fc-header-dropdown filter-"+c.type+"'></span>");return j.append(e),j}function d(b){var c="undefined"!=typeof b.whitelist&&b.whitelist.length>0?b.whitelist:!1,d="<select class='eo-fc-filter eo-fc-filter-organiser' data-filter-type='organiser'>";d+="<option value=''>"+b.select_none+"</option>";var e;for(var f in b.users)e=b.users[f],c&&-1==a.inArray(parseInt(f,10),c)||(d+="<option value='"+f+"'>"+e+"</option>");d+="</select>";var g=a("<span class='fc-header-dropdown filter-organiser'></span>");return g.append(d),g}function e(){return a("<span class='fc-header-goto'><input type='hidden' class='eo-mini-calendar'/></span>")}if(a(".eo-fullcalendar").on("change",".eo-fc-filter",function(){a(".eo-fullcalendar").fullCalendar("rerenderEvents")}),a(".eo-fullcalendar").length>0){var f,g,h=eventorganiser.calendars;g={agendaDay:"listDay",basicDay:"listDay",listDay:"listDay",agendaWeek:"listWeek",basicWeek:"listWeek",listWeek:"listWeek",month:"listMonth",listMonth:"listMonth"};for(var i=0;i<h.length;i++){var j="#eo_fullcalendar_"+(i+1);"undefined"==typeof h[i].category&&(h[i].category=""),"undefined"==typeof h[i].venue&&(h[i].venue="");var k={id:j,defaultDate:h[i].defaultdate?h[i].defaultdate:void 0,category:h[i].event_category,venue:h[i].event_venue,tag:h[i].event_tag,organiser:h[i].event_organiser,event_series:h[i].event_series,customButtons:{category:function(){return c({terms:eventorganiser.fullcal.categories,select_none:EOAjaxFront.locale.cat,whitelist:h[i].event_category,type:"category"})},venue:function(){return c({terms:eventorganiser.fullcal.venues,select_none:EOAjaxFront.locale.venue,whitelist:h[i].event_venue,type:"venue"})},tag:function(){return c({terms:eventorganiser.fullcal.tags,select_none:EOAjaxFront.locale.tag,whitelist:"",type:"tag"})},organiser:function(){return d({users:eventorganiser.fullcal.users,select_none:EOAjaxFront.locale.view_all_organisers,whitelist:h[i].event_organiser})},"goto":e},theme:h[i].theme,isRTL:h[i].isrtl,editable:!1,selectable:!1,weekMode:"variable",tooltip:h[i].tooltip,firstDay:parseInt(eventorganiser.fullcal.firstDay,10),weekends:h[i].weekends,hiddenDays:h[i].hiddendays,slotDuration:h[i].slotduration,allDaySlot:h[i].alldayslot,allDayText:h[i].alldaytext,axisFormat:h[i].axisformat,minTime:h[i].mintime,maxTime:h[i].maxtime,weekNumbers:h[i].weeknumbers,weekNumbersWithinDays:h[i].weeknumberswithindays,eventColor:"#1e8cbe",timeFormatphp:h[i].timeformatphp,timeFormat:h[i].timeformat,columnFormat:{month:h[i].columnformatmonth,week:h[i].columnformatweek,day:h[i].columnformatday},titleFormat:{month:h[i].titleformatmonth,week:h[i].titleformatweek,day:h[i].titleformatday},header:{left:h[i].headerleft,center:h[i].headercenter,right:h[i].headerright},eventRender:function(b,c,d){var e=a(d.calendar.options.id).find(".eo-fc-filter-category").val(),f=a(d.calendar.options.id).find(".eo-fc-filter-venue").val(),g=a(d.calendar.options.id).find(".eo-fc-filter-tag").val(),h=a(d.calendar.options.id).find(".eo-fc-filter-organiser").val(),i=!0;return"undefined"!=typeof e&&""!==e&&a.inArray(e,b.category)<0&&(i=!1),"undefined"!=typeof f&&""!==f&&f!==b.venue_slug&&(i=!1),"undefined"!=typeof g&&""!==g&&a.inArray(g,b.tags)<0&&(i=!1),"undefined"!=typeof h&&""!==h&&parseInt(h,10)!==b.organiser&&(i=!1),(i=wp.hooks.applyFilters("eventorganiser.fullcalendar_render_event",i,b,c,d))?void(d.calendar.options.tooltip&&a(c).qtip({content:{text:b.description,button:!1,title:b.title},position:{my:"top center",at:"bottom center",viewport:a(window),adjust:{method:"shift none"}},hide:{fixed:!0,delay:500,effect:function(b){a(this).fadeOut("50")}},border:{radius:4,width:3},style:{classes:"eo-event-toolip qtip-eo",tip:"topMiddle"}})):!1},buttonText:{today:EOAjaxFront.locale.today,month:EOAjaxFront.locale.month,week:EOAjaxFront.locale.week,day:EOAjaxFront.locale.day},monthNames:EOAjaxFront.locale.monthNames,monthNamesShort:EOAjaxFront.locale.monthAbbrev,dayNames:EOAjaxFront.locale.dayNames,dayNamesShort:EOAjaxFront.locale.dayAbbrev,height:h[i].aspectratio?!1:"auto",aspectRatio:h[i].aspectratio?h[i].aspectratio:!1,responsive:h[i].responsive,responsiveBreakpoint:h[i].responsivebreakpoint,defaultView:a(window).width()<h[i].responsivebreakpoint&&h[i].responsive?g[h[i].defaultview]:h[i].defaultview,previousView:h[i].defaultview,nextDayThreshold:h[i].nextdaythreshold,windowResize:function(b){b.calendar.options.responsive&&a(window).width()<b.calendar.options.responsiveBreakpoint?a(this).fullCalendar("changeView",g[b.calendar.options.previousView]):a(this).fullCalendar("changeView",b.calendar.options.previousView)},lazyFetching:"true",events:function(b,c,d,e){var f=this.options,g={start:b.format("YYYY-MM-DD"),end:c.format("YYYY-MM-DD"),timeformat:f.timeFormatphp,users_events:0};"undefined"!=typeof f.category&&""!==f.category&&(g.category=f.category),"undefined"!=typeof f.venue&&""!==f.venue&&(g.venue=f.venue),"undefined"!=typeof f.tag&&""!==f.tag&&(g.tag=f.tag),"undefined"!=typeof f.organiser&&0!==f.organiser&&(g.organiser=f.organiser),f.event_series&&(g.event_series=f.event_series),g=wp.hooks.applyFilters("eventorganiser.fullcalendar_request",g,b,c,d,f),a.ajax({url:eventorganiser.ajaxurl+"?action=eventorganiser-fullcal",dataType:"JSON",data:g,complete:function(a,b){},success:e})},loading:function(b){var c=a("#"+a(this).attr("id")+"_loading");b?(window.clearTimeout(f),f=window.setTimeout(function(){c.show()},1e3)):(window.clearTimeout(f),c.hide())}};k=wp.hooks.applyFilters("eventorganiser.fullcalendar_options",k,h[i]),a(j).fullCalendar(k)}}"undefined"!=typeof eventorganiser.fullcal&&a(".eo-mini-calendar").datepicker({dateFormat:"DD, d MM, yy",changeMonth:!0,changeYear:!0,firstDay:parseInt(eventorganiser.fullcal.firstDay,10),buttonText:EOAjaxFront.locale.gotodate,monthNamesShort:EOAjaxFront.locale.monthAbbrev,dayNamesMin:EOAjaxFront.locale.dayAbbrev,nextText:EOAjaxFront.locale.nextText,prevText:EOAjaxFront.locale.prevText,showOn:"button",beforeShow:function(b,c){c.hasOwnProperty("dpDiv")?c.dpDiv.addClass("eo-datepicker eo-fc-mini-calendar eo-fc-datepicker"):a("#ui-datepicker-div").addClass("eo-datepicker eo-fc-mini-calendar eo-fc-datepicker")},onSelect:function(b,c){var d=a(this).parents("div.eo-fullcalendar").attr("id");a("#"+d).fullCalendar("gotoDate",new Date(Date.parse(b)))}}),a("#eo-upcoming-dates, .eo-upcoming-dates").each(function(b,c){var d={el:a(this)};if(d.el.find("li:gt(4)").length>0){var e=5,f={more:EOAjaxFront.locale.ShowMore,less:EOAjaxFront.locale.ShowLess};d.less=a('<a class="eo-upcoming-dates-show-less" href="#"></a>').text(f.less),d.pipe=a('<span class="eo-upcoming-dates-pipe">|</span>'),d.more=a('<a class="eo-upcoming-dates-show-more" href="#"></a>').text(f.more),d.el.find("li:gt("+(e-1)+")").hide().end().after(d.less,d.pipe,d.more),d.pipe.hide(),d.less.hide().click(function(a){a.preventDefault();var b=Math.floor((d.el.find("li:visible").length-1)/e)*e-1;d.el.find("li:gt("+b+")").hide(),d.more.show(),d.pipe.show(),d.el.find("li:visible").length<=e&&(d.less.hide(),d.pipe.hide())}),d.more.click(function(b){b.preventDefault(),d.less.show(),d.pipe.show(),d.el.find("li:hidden:lt("+e+")").show();var c=d.pipe.offset();a("html, body").animate({scrollTop:Math.max(c.top+40-a(window).height(),a(window).scrollTop())}),0===d.el.find("li:hidden").length&&(d.more.hide(),d.pipe.hide())})}}),a(".eo-widget-cal-wrap").length>0&&a(".eo-widget-cal-wrap").on("click","tfoot a",function(b){if(b.preventDefault(),!a(this).data("eo-widget-cal-disabled")){var c=a(this).closest(".eo-widget-cal-wrap"),d=c.data("eo-widget-cal-id");c.find("tfoot a").data("eo-widget-cal-disabled",1);var e={showpastevents:1,"show-long":0,"link-to-single":0};"undefined"!=typeof eventorganiser.widget_calendars&&"undefined"!=typeof eventorganiser.widget_calendars[d]&&(e=eventorganiser.widget_calendars[d]),"undefined"!=typeof eo_widget_cal&&"undefined"!=typeof eo_widget_cal[d]&&(e=eo_widget_cal[d]),e.eo_month=eveorg_getParameterByName("eo_month",a(this).attr("href")),c.addClass("eo-widget-cal-loading"),a("#"+d+"_overlay").remove(),a("#"+d+"_content").prepend('<div class="eo-widget-cal-overlay" id="'+d+'_overlay"><div class="eo-widget-cal-spinner"/></div>'),a.getJSON(eventorganiser.add_query_arg("action","eo_widget_cal",EOAjaxFront.adminajax),e,function(b){a("#"+d+"_content").html(b),c.removeClass("eo-widget-cal-loading")})}})}),eventorganiser.add_query_arg=function(a,b,c){var d=new RegExp("([?&])"+a+"=.*?(&|$)","i"),e=-1!==c.indexOf("?")?"&":"?";return c.match(d)?c.replace(d,"$1"+a+"="+b+"$2"):c+e+a+"="+b},eventorganiser.template=function(b,c,d){var e=/\\|'|\r|\n|\t|\u2028|\u2029/g;d="undefined"!=typeof d?d:{},d=a.extend(!0,{evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g},d);var f,g={"'":"'","\\":"\\","\r":"r","\n":"n"," ":"t","\u2028":"u2028","\u2029":"u2029"},h=new RegExp([d.escape.source,d.interpolate.source,d.evaluate.source].join("|")+"|$","g"),i=0,j="__p+='";b.replace(h,function(a,c,d,f,h){return j+=b.slice(i,h).replace(e,function(a){return"\\"+g[a]}),c&&(j+="'+\n((__t=("+c+"))==null?'':_.escape(__t))+\n'"),d&&(j+="'+\n((__t=("+d+"))==null?'':__t)+\n'"),f&&(j+="';\n"+f+"\n__p+='"),i=h+a.length,a}),j+="';\n",d.variable||(j="with(obj||{}){\n"+j+"}\n"),j="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+j+"return __p;\n";try{f=new Function(d.variable||"obj","_",j)}catch(k){throw k.source=j,k}if(c)return f(c);var l=function(a){return f.call(this,a)};return l},eventorganiser.agenda_widget=function(b){this.param=b,moment.locale(EOAjaxFront.locale.locale,{months:EOAjaxFront.locale.monthNames,monthsShort:EOAjaxFront.locale.monthAbbrev,weekdays:EOAjaxFront.locale.dayNames,weekdaysShort:EOAjaxFront.locale.dayAbbrev,weekdaysMin:EOAjaxFront.locale.dayInitial}),this.start=moment().add(-1,"days"),this.end=moment().add(-1,"days"),this.$el=a("#"+this.param.id+"_container"),this.direction=1,this.eventTemplate=eventorganiser.template(a("#eo-tmpl-agenda-widget-item").html(),null,{variable:"event"}),this.groupTemplate=eventorganiser.template(a("#eo-tmpl-agenda-widget-group").html(),null,{variable:"group"})},eventorganiser.agenda_widget.prototype.group_change=function(a,b){return a===!1?!0:"day"!==this.param.mode?!1:a.format("YYYY-MM-DD")!==b.format("YYYY-MM-DD")},eventorganiser.agenda_widget.prototype.init=function(){this.$el.html(eventorganiser.template(a("#eo-tmpl-agenda-widget").html(),{},{variable:"data"})),this.$datesEl=this.$el.find(".dates"),this.load_events(),this.param.add_to_google&&this.$el.on("click",".event",function(){a(this).find(".meta").toggle("400")});var b=this;this.$el.on("click",".eo-agenda-widget-nav-prev,.eo-agenda-widget-nav-next",function(){a(this).hasClass("eo-agenda-widget-nav-prev")?b.direction=-1:b.direction=1,b.load_events()})},eventorganiser.agenda_widget.prototype.load_events=function(){var b=this;a.ajax({url:EOAjaxFront.adminajax,dataType:"JSON",data:{action:"eo_widget_agenda",instance_number:this.param.number,direction:this.direction,start:this.start.format("YYYY-MM-DD"),end:this.end.format("YYYY-MM-DD")},success:function(a){var c=a.length;if(0!==c){for(var d=0;c>d;d++)a[d].start=moment(a[d].start),a[d].end=moment(a[d].end);b.start=a[0].start,b.end=a[c-1].start,b.insert_events(a)}}})},eventorganiser.agenda_widget.prototype.insert_events=function(b){this.$datesEl.html("");for(var c=b.length,d=!1,e=!1,f=!1,g=0;c>g;g++){if(this.group_change(d,b[g].start)){this.$datesEl.append(e);var h={start:b[g].start};e=a(this.groupTemplate(h)),f=e.find(".a-date")}f.append(this.eventTemplate(b[g])),d=b[g].start}this.$datesEl.append(e)},jQuery(document).ready(function(a){if(a(".eo-agenda-widget").length>0)for(var b in eo_widget_agenda)agendaWidget=new eventorganiser.agenda_widget(eo_widget_agenda[b]),agendaWidget.init()})}(jQuery),jQuery(document).ready(function(){if("map"in eventorganiser)for(var a=eventorganiser.map,b=0;b<a.length;b++)if(null!==document.getElementById("eo_venue_map-"+(b+1)))for(var c=a[b],d=new eventorganiserMapsAdapter.provider.map("eo_venue_map-"+(b+1),c),e=0;e<c.locations.length;e++)c.locations[e].position={lat:c.locations[e].lat,lng:c.locations[e].lng},d.addMarker(c.locations[e])});
1
+ /*! event-organiser 3.7.3-0-geffd108 2018-07-13 20:28 */
2
  function eveorg_getParameterByName(a,b){a=a.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var c="[\\?&]"+a+"=([^&#]*)",d=new RegExp(c),e=d.exec(b);return null===e?"":decodeURIComponent(e[1].replace(/\+/g," "))}var eventorganiser=eventorganiser||{};!function(a){jQuery(document).ready(function(){function b(a,b,c){var d;for(d in a)if(a[b]==c)return d;return!1}function c(c){var d="undefined"!=typeof c.whitelist&&c.whitelist?c.whitelist.split(","):!1,e="<select class='eo-fc-filter eo-fc-filter-"+c.type+"' data-filter-type='"+c.type+"'>";e+="<option value=''>"+c.select_none+"</option>";var f;for(var g in c.terms){if(f=c.terms[g],d){var h=!1;-1!==a.inArray(f.slug,d)&&(h=!0);for(var i=f;!h&&i.parent>0;)i=b(c.terms,"term_id",i.parent),-1!==a.inArray(i.slug,d)&&(h=!0);if(!h)continue}e+="<option value='"+f.slug+"'>"+f.name+"</option>"}e+="</select>";var j=a("<span class='fc-header-dropdown filter-"+c.type+"'></span>");return j.append(e),j}function d(b){var c="undefined"!=typeof b.whitelist&&b.whitelist.length>0?b.whitelist:!1,d="<select class='eo-fc-filter eo-fc-filter-organiser' data-filter-type='organiser'>";d+="<option value=''>"+b.select_none+"</option>";var e;for(var f in b.users)e=b.users[f],c&&-1==a.inArray(parseInt(f,10),c)||(d+="<option value='"+f+"'>"+e+"</option>");d+="</select>";var g=a("<span class='fc-header-dropdown filter-organiser'></span>");return g.append(d),g}function e(){return a("<span class='fc-header-goto'><input type='hidden' class='eo-mini-calendar'/></span>")}if(a(".eo-fullcalendar").on("change",".eo-fc-filter",function(){a(".eo-fullcalendar").fullCalendar("rerenderEvents")}),a(".eo-fullcalendar").length>0){var f,g,h=eventorganiser.calendars;g={agendaDay:"listDay",basicDay:"listDay",listDay:"listDay",agendaWeek:"listWeek",basicWeek:"listWeek",listWeek:"listWeek",month:"listMonth",listMonth:"listMonth"};for(var i=0;i<h.length;i++){var j="#eo_fullcalendar_"+(i+1);"undefined"==typeof h[i].category&&(h[i].category=""),"undefined"==typeof h[i].venue&&(h[i].venue="");var k={id:j,defaultDate:h[i].defaultdate?h[i].defaultdate:void 0,category:h[i].event_category,venue:h[i].event_venue,tag:h[i].event_tag,organiser:h[i].event_organiser,event_series:h[i].event_series,customButtons:{category:function(){return c({terms:eventorganiser.fullcal.categories,select_none:EOAjaxFront.locale.cat,whitelist:h[i].event_category,type:"category"})},venue:function(){return c({terms:eventorganiser.fullcal.venues,select_none:EOAjaxFront.locale.venue,whitelist:h[i].event_venue,type:"venue"})},tag:function(){return c({terms:eventorganiser.fullcal.tags,select_none:EOAjaxFront.locale.tag,whitelist:"",type:"tag"})},organiser:function(){return d({users:eventorganiser.fullcal.users,select_none:EOAjaxFront.locale.view_all_organisers,whitelist:h[i].event_organiser})},"goto":e},theme:h[i].theme,isRTL:h[i].isrtl,editable:!1,selectable:!1,weekMode:"variable",tooltip:h[i].tooltip,firstDay:parseInt(eventorganiser.fullcal.firstDay,10),weekends:h[i].weekends,hiddenDays:h[i].hiddendays,slotDuration:h[i].slotduration,allDaySlot:h[i].alldayslot,allDayText:h[i].alldaytext,axisFormat:h[i].axisformat,minTime:h[i].mintime,maxTime:h[i].maxtime,weekNumbers:h[i].weeknumbers,weekNumbersWithinDays:h[i].weeknumberswithindays,eventColor:"#1e8cbe",timeFormatphp:h[i].timeformatphp,timeFormat:h[i].timeformat,columnFormat:{month:h[i].columnformatmonth,week:h[i].columnformatweek,day:h[i].columnformatday},titleFormat:{month:h[i].titleformatmonth,week:h[i].titleformatweek,day:h[i].titleformatday},header:{left:h[i].headerleft,center:h[i].headercenter,right:h[i].headerright},eventRender:function(b,c,d){var e=a(d.calendar.options.id).find(".eo-fc-filter-category").val(),f=a(d.calendar.options.id).find(".eo-fc-filter-venue").val(),g=a(d.calendar.options.id).find(".eo-fc-filter-tag").val(),h=a(d.calendar.options.id).find(".eo-fc-filter-organiser").val(),i=!0;return"undefined"!=typeof e&&""!==e&&a.inArray(e,b.category)<0&&(i=!1),"undefined"!=typeof f&&""!==f&&f!==b.venue_slug&&(i=!1),"undefined"!=typeof g&&""!==g&&a.inArray(g,b.tags)<0&&(i=!1),"undefined"!=typeof h&&""!==h&&parseInt(h,10)!==b.organiser&&(i=!1),(i=wp.hooks.applyFilters("eventorganiser.fullcalendar_render_event",i,b,c,d))?void(d.calendar.options.tooltip&&a(c).qtip({content:{text:b.description,button:!1,title:b.title},position:{my:"top center",at:"bottom center",viewport:a(window),adjust:{method:"shift none"}},hide:{fixed:!0,delay:500,effect:function(b){a(this).fadeOut("50")}},border:{radius:4,width:3},style:{classes:"eo-event-toolip qtip-eo",tip:"topMiddle"}})):!1},buttonText:{today:EOAjaxFront.locale.today,month:EOAjaxFront.locale.month,week:EOAjaxFront.locale.week,day:EOAjaxFront.locale.day},monthNames:EOAjaxFront.locale.monthNames,monthNamesShort:EOAjaxFront.locale.monthAbbrev,dayNames:EOAjaxFront.locale.dayNames,dayNamesShort:EOAjaxFront.locale.dayAbbrev,height:h[i].aspectratio?!1:"auto",aspectRatio:h[i].aspectratio?h[i].aspectratio:!1,responsive:h[i].responsive,responsiveBreakpoint:h[i].responsivebreakpoint,defaultView:a(window).width()<h[i].responsivebreakpoint&&h[i].responsive?g[h[i].defaultview]:h[i].defaultview,previousView:h[i].defaultview,nextDayThreshold:h[i].nextdaythreshold,windowResize:function(b){b.calendar.options.responsive&&a(window).width()<b.calendar.options.responsiveBreakpoint?a(this).fullCalendar("changeView",g[b.calendar.options.previousView]):a(this).fullCalendar("changeView",b.calendar.options.previousView)},lazyFetching:"true",events:function(b,c,d,e){var f=this.options,g={start:b.format("YYYY-MM-DD"),end:c.format("YYYY-MM-DD"),timeformat:f.timeFormatphp,users_events:0};"undefined"!=typeof f.category&&""!==f.category&&(g.category=f.category),"undefined"!=typeof f.venue&&""!==f.venue&&(g.venue=f.venue),"undefined"!=typeof f.tag&&""!==f.tag&&(g.tag=f.tag),"undefined"!=typeof f.organiser&&0!==f.organiser&&(g.organiser=f.organiser),f.event_series&&(g.event_series=f.event_series),g=wp.hooks.applyFilters("eventorganiser.fullcalendar_request",g,b,c,d,f),a.ajax({url:eventorganiser.ajaxurl+"?action=eventorganiser-fullcal",dataType:"JSON",data:g,complete:function(a,b){},success:e})},loading:function(b){var c=a("#"+a(this).attr("id")+"_loading");b?(window.clearTimeout(f),f=window.setTimeout(function(){c.show()},1e3)):(window.clearTimeout(f),c.hide())}};k=wp.hooks.applyFilters("eventorganiser.fullcalendar_options",k,h[i]),a(j).fullCalendar(k)}}"undefined"!=typeof eventorganiser.fullcal&&a(".eo-mini-calendar").datepicker({dateFormat:"DD, d MM, yy",changeMonth:!0,changeYear:!0,firstDay:parseInt(eventorganiser.fullcal.firstDay,10),buttonText:EOAjaxFront.locale.gotodate,monthNamesShort:EOAjaxFront.locale.monthAbbrev,dayNamesMin:EOAjaxFront.locale.dayAbbrev,nextText:EOAjaxFront.locale.nextText,prevText:EOAjaxFront.locale.prevText,showOn:"button",beforeShow:function(b,c){c.hasOwnProperty("dpDiv")?c.dpDiv.addClass("eo-datepicker eo-fc-mini-calendar eo-fc-datepicker"):a("#ui-datepicker-div").addClass("eo-datepicker eo-fc-mini-calendar eo-fc-datepicker")},onSelect:function(b,c){var d=a(this).parents("div.eo-fullcalendar").attr("id");a("#"+d).fullCalendar("gotoDate",new Date(Date.parse(b)))}}),a("#eo-upcoming-dates, .eo-upcoming-dates").each(function(b,c){var d={el:a(this)};if(d.el.find("li:gt(4)").length>0){var e=5,f={more:EOAjaxFront.locale.ShowMore,less:EOAjaxFront.locale.ShowLess};d.less=a('<a class="eo-upcoming-dates-show-less" href="#"></a>').text(f.less),d.pipe=a('<span class="eo-upcoming-dates-pipe">|</span>'),d.more=a('<a class="eo-upcoming-dates-show-more" href="#"></a>').text(f.more),d.el.find("li:gt("+(e-1)+")").hide().end().after(d.less,d.pipe,d.more),d.pipe.hide(),d.less.hide().click(function(a){a.preventDefault();var b=Math.floor((d.el.find("li:visible").length-1)/e)*e-1;d.el.find("li:gt("+b+")").hide(),d.more.show(),d.pipe.show(),d.el.find("li:visible").length<=e&&(d.less.hide(),d.pipe.hide())}),d.more.click(function(b){b.preventDefault(),d.less.show(),d.pipe.show(),d.el.find("li:hidden:lt("+e+")").show();var c=d.pipe.offset();a("html, body").animate({scrollTop:Math.max(c.top+40-a(window).height(),a(window).scrollTop())}),0===d.el.find("li:hidden").length&&(d.more.hide(),d.pipe.hide())})}}),a(".eo-widget-cal-wrap").length>0&&a(".eo-widget-cal-wrap").on("click","tfoot a",function(b){if(b.preventDefault(),!a(this).data("eo-widget-cal-disabled")){var c=a(this).closest(".eo-widget-cal-wrap"),d=c.data("eo-widget-cal-id");c.find("tfoot a").data("eo-widget-cal-disabled",1);var e={showpastevents:1,"show-long":0,"link-to-single":0};"undefined"!=typeof eventorganiser.widget_calendars&&"undefined"!=typeof eventorganiser.widget_calendars[d]&&(e=eventorganiser.widget_calendars[d]),"undefined"!=typeof eo_widget_cal&&"undefined"!=typeof eo_widget_cal[d]&&(e=eo_widget_cal[d]),e.eo_month=eveorg_getParameterByName("eo_month",a(this).attr("href")),c.addClass("eo-widget-cal-loading"),a("#"+d+"_overlay").remove(),a("#"+d+"_content").prepend('<div class="eo-widget-cal-overlay" id="'+d+'_overlay"><div class="eo-widget-cal-spinner"/></div>'),a.getJSON(eventorganiser.add_query_arg("action","eo_widget_cal",EOAjaxFront.adminajax),e,function(b){a("#"+d+"_content").html(b),c.removeClass("eo-widget-cal-loading")})}})}),eventorganiser.add_query_arg=function(a,b,c){var d=new RegExp("([?&])"+a+"=.*?(&|$)","i"),e=-1!==c.indexOf("?")?"&":"?";return c.match(d)?c.replace(d,"$1"+a+"="+b+"$2"):c+e+a+"="+b},eventorganiser.template=function(b,c,d){var e=/\\|'|\r|\n|\t|\u2028|\u2029/g;d="undefined"!=typeof d?d:{},d=a.extend(!0,{evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g},d);var f,g={"'":"'","\\":"\\","\r":"r","\n":"n"," ":"t","\u2028":"u2028","\u2029":"u2029"},h=new RegExp([d.escape.source,d.interpolate.source,d.evaluate.source].join("|")+"|$","g"),i=0,j="__p+='";b.replace(h,function(a,c,d,f,h){return j+=b.slice(i,h).replace(e,function(a){return"\\"+g[a]}),c&&(j+="'+\n((__t=("+c+"))==null?'':_.escape(__t))+\n'"),d&&(j+="'+\n((__t=("+d+"))==null?'':__t)+\n'"),f&&(j+="';\n"+f+"\n__p+='"),i=h+a.length,a}),j+="';\n",d.variable||(j="with(obj||{}){\n"+j+"}\n"),j="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+j+"return __p;\n";try{f=new Function(d.variable||"obj","_",j)}catch(k){throw k.source=j,k}if(c)return f(c);var l=function(a){return f.call(this,a)};return l},eventorganiser.agenda_widget=function(b){this.param=b,moment.locale(EOAjaxFront.locale.locale,{months:EOAjaxFront.locale.monthNames,monthsShort:EOAjaxFront.locale.monthAbbrev,weekdays:EOAjaxFront.locale.dayNames,weekdaysShort:EOAjaxFront.locale.dayAbbrev,weekdaysMin:EOAjaxFront.locale.dayInitial}),this.start=moment().add(-1,"days"),this.end=moment().add(-1,"days"),this.$el=a("#"+this.param.id+"_container"),this.direction=1,this.eventTemplate=eventorganiser.template(a("#eo-tmpl-agenda-widget-item").html(),null,{variable:"event"}),this.groupTemplate=eventorganiser.template(a("#eo-tmpl-agenda-widget-group").html(),null,{variable:"group"})},eventorganiser.agenda_widget.prototype.group_change=function(a,b){return a===!1?!0:"day"!==this.param.mode?!1:a.format("YYYY-MM-DD")!==b.format("YYYY-MM-DD")},eventorganiser.agenda_widget.prototype.init=function(){this.$el.html(eventorganiser.template(a("#eo-tmpl-agenda-widget").html(),{},{variable:"data"})),this.$datesEl=this.$el.find(".dates"),this.load_events(),this.param.add_to_google&&this.$el.on("click",".event",function(){a(this).find(".meta").toggle("400")});var b=this;this.$el.on("click",".eo-agenda-widget-nav-prev,.eo-agenda-widget-nav-next",function(){a(this).hasClass("eo-agenda-widget-nav-prev")?b.direction=-1:b.direction=1,b.load_events()})},eventorganiser.agenda_widget.prototype.load_events=function(){var b=this;a.ajax({url:EOAjaxFront.adminajax,dataType:"JSON",data:{action:"eo_widget_agenda",instance_number:this.param.number,direction:this.direction,start:this.start.format("YYYY-MM-DD"),end:this.end.format("YYYY-MM-DD")},success:function(a){var c=a.length;if(0!==c){for(var d=0;c>d;d++)a[d].start=moment(a[d].start),a[d].end=moment(a[d].end);b.start=a[0].start,b.end=a[c-1].start,b.insert_events(a)}}})},eventorganiser.agenda_widget.prototype.insert_events=function(b){this.$datesEl.html("");for(var c=b.length,d=!1,e=!1,f=!1,g=0;c>g;g++){if(this.group_change(d,b[g].start)){this.$datesEl.append(e);var h={start:b[g].start};e=a(this.groupTemplate(h)),f=e.find(".a-date")}f.append(this.eventTemplate(b[g])),d=b[g].start}this.$datesEl.append(e)},jQuery(document).ready(function(a){if(a(".eo-agenda-widget").length>0)for(var b in eo_widget_agenda)agendaWidget=new eventorganiser.agenda_widget(eo_widget_agenda[b]),agendaWidget.init()})}(jQuery),jQuery(document).ready(function(){if("map"in eventorganiser)for(var a=eventorganiser.map,b=0;b<a.length;b++)if(null!==document.getElementById("eo_venue_map-"+(b+1)))for(var c=a[b],d=new eventorganiserMapsAdapter.provider.map("eo_venue_map-"+(b+1),c),e=0;e<c.locations.length;e++)c.locations[e].position={lat:c.locations[e].lat,lng:c.locations[e].lng},d.addMarker(c.locations[e])});
js/fullcalendar.min.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! event-organiser 3.7.2-0-g63f114d 2018-06-08 18:44 */
2
  !function(a){"function"==typeof define&&define.amd?define(["jquery","moment"],a):a(jQuery,moment)}(function(a,b){function c(a){d(za,a)}function d(b){function c(c,f){a.isPlainObject(f)&&a.isPlainObject(b[c])&&!e(c)?b[c]=d({},b[c],f):void 0!==f&&(b[c]=f)}for(var f=1;f<arguments.length;f++)a.each(arguments[f],c);return b}function e(a){return/(Time|Duration)$/.test(a)}function f(a){var c=b.localeData||b.langData;return c.call(b,a)||c.call(b,"en")}function g(a,b){b.left&&a.css({"border-left-width":1,"margin-left":b.left-1}),b.right&&a.css({"border-right-width":1,"margin-right":b.right-1})}function h(a){a.css({"margin-left":"","margin-right":"","border-left-width":"","border-right-width":""})}function i(){a("body").addClass("fc-not-allowed")}function j(){a("body").removeClass("fc-not-allowed")}function k(a){return"pointerdown"==a.type||"pointerup"==a.type||"pointermove"==a.type?"touch"===a.originalEvent.pointerType?!0:!1:"touchstart"==a.type||"touchmove"==a.type||"touchend"==a.type||"touchcancel"==a.type?!0:!1}function l(a){var b={x:0,y:0};if("pointerdown"==a.type||"pointerup"==a.type||"pointermove"==a.type||"mousedown"==a.type||"mouseup"==a.type||"mousemove"==a.type||"mouseover"==a.type||"mouseout"==a.type||"mouseenter"==a.type||"mouseleave"==a.type)b.x=a.pageX,b.y=a.pageY;else if(k(a)){var c=a.originalEvent.touches[0]||a.originalEvent.changedTouches[0];b.x=c.pageX,b.y=c.pageY}return b}function m(){return window.navigator.msPointerEnabled?"pointerdown":!Ka&&"ontouchstart"in document.documentElement?"touchstart":"mousedown"}function n(){return window.navigator.msPointerEnabled?"pointerup":!Ka&&"ontouchstart"in document.documentElement?"touchend":"mouseup"}function o(){return window.navigator.msPointerEnabled?"pointermove":!Ka&&"ontouchstart"in document.documentElement?"touchmove":"mousemove"}function p(b,c,d){var e=Math.floor(c/b.length),f=Math.floor(c-e*(b.length-1)),g=[],h=[],i=[],j=0;q(b),b.each(function(c,d){var k=c===b.length-1?f:e,l=a(d).outerHeight(!0);k>l?(g.push(d),h.push(l),i.push(a(d).height())):j+=l}),d&&(c-=j,e=Math.floor(c/g.length),f=Math.floor(c-e*(g.length-1))),a(g).each(function(b,c){var d=b===g.length-1?f:e,j=h[b],k=i[b],l=d-(j-k);d>j&&a(c).height(l)})}function q(a){a.height("")}function r(b){var c=0;return b.find("> *").each(function(b,d){var e=a(d).outerWidth();e>c&&(c=e)}),c++,b.width(c),c}function s(a,b){return a.height(b).addClass("fc-scroller"),a[0].scrollHeight-1>a[0].clientHeight?!0:(t(a),!1)}function t(a){a.height("").removeClass("fc-scroller")}function u(b){var c=b.css("position"),d=b.parents().filter(function(){var b=a(this);return/(auto|scroll)/.test(b.css("overflow")+b.css("overflow-y")+b.css("overflow-x"))}).eq(0);return"fixed"!==c&&d.length?d:a(b[0].ownerDocument||document)}function v(a){var b=a.offset().left,c=b+a.width(),d=a.children(),e=d.offset().left,f=e+d.outerWidth();return{left:e-b,right:c-f}}function w(a){return k(a)?!0:1==a.which&&!a.ctrlKey}function x(a,b){var c,d,e,f,g=a.start,h=a.end,i=b.start,j=b.end;return h>i&&j>g?(g>=i?(c=g.clone(),e=!0):(c=i.clone(),e=!1),j>=h?(d=h.clone(),f=!0):(d=j.clone(),f=!1),{start:c,end:d,isStart:e,isEnd:f}):void 0}function y(a,b){if(a=a||{},void 0!==a[b])return a[b];for(var c,d=b.split(/(?=[A-Z])/),e=d.length-1;e>=0;e--)if(c=a[d[e].toLowerCase()],void 0!==c)return c;return a["default"]}function z(a,c){return b.duration({days:a.clone().stripTime().diff(c.clone().stripTime(),"days"),ms:a.time()-c.time()})}function A(a,c){return b.duration({days:a.clone().stripTime().diff(c.clone().stripTime(),"days")})}function B(a,b){var c,d,e;for(c=0;c<Na.length&&(d=Na[c],e=C(d,a,b),!(e>=1&&P(e)));c++);return d}function C(a,c,d){return null!=d?d.diff(c,a,!0):b.isDuration(c)?c.as(a):c.end.diff(c.start,a,!0)}function D(a){return"[object Date]"===Object.prototype.toString.call(a)||a instanceof Date}function E(a){return/^\d+\:\d+(?:\:\d+\.?(?:\d{3})?)?$/.test(a)}function F(a){var b=function(){};return b.prototype=a,new b}function G(a,b){for(var c in a)H(a,c)&&(b[c]=a[c])}function H(a,b){return Oa.call(a,b)}function I(b){return/undefined|null|boolean|number|string/.test(a.type(b))}function J(b,c,d){if(a.isFunction(b)&&(b=[b]),b){var e,f;for(e=0;e<b.length;e++)f=b[e].apply(c,d)||f;return f}}function K(){for(var a=0;a<arguments.length;a++)if(void 0!==arguments[a])return arguments[a]}function L(a){return(a+"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&#039;").replace(/"/g,"&quot;").replace(/\n/g,"<br />")}function M(a){return a.replace(/&.*?;/g,"")}function N(a){return a.charAt(0).toUpperCase()+a.slice(1)}function O(a,b){return a-b}function P(a){return a%1===0}function Q(a,b){var c,d,e,f,g=function(){var h=+new Date-f;b>h&&h>0?c=setTimeout(g,b-h):(c=null,a.apply(e,d),c||(e=d=null))};return function(){e=this,d=arguments,f=+new Date,c||(c=setTimeout(g,b))}}function R(c,d,e){var f,g,h,i,j=c[0],k=1==c.length&&"string"==typeof j;return b.isMoment(j)?(i=b.apply(null,c),T(j,i)):D(j)||void 0===j?i=b.apply(null,c):(f=!1,g=!1,k?Pa.test(j)?(j+="-01",c=[j],f=!0,g=!0):(h=Qa.exec(j))&&(f=!h[5],g=!0):a.isArray(j)&&(g=!0),i=d||f?b.utc.apply(b,c):b.apply(null,c),f?(i._ambigTime=!0,i._ambigZone=!0):e&&(g?i._ambigZone=!0:k&&i.zone(j))),i._fullCalendar=!0,i}function S(a,c){var d,e,f=!1,g=!1,h=a.length,i=[];for(d=0;h>d;d++)e=a[d],b.isMoment(e)||(e=Ca.moment.parseZone(e)),f=f||e._ambigTime,g=g||e._ambigZone,i.push(e);for(d=0;h>d;d++)e=i[d],c||!f||e._ambigTime?g&&!e._ambigZone&&(i[d]=e.clone().stripZone()):i[d]=e.clone().stripTime();return i}function T(a,b){a._ambigTime?b._ambigTime=!0:b._ambigTime&&(b._ambigTime=!1),a._ambigZone?b._ambigZone=!0:b._ambigZone&&(b._ambigZone=!1)}function U(a,b){a.year(b[0]||0).month(b[1]||0).date(b[2]||0).hours(b[3]||0).minutes(b[4]||0).seconds(b[5]||0).milliseconds(b[6]||0)}function V(a,b){return Sa.format.call(a,b)}function W(a,b){return X(a,aa(b))}function X(a,b){var c,d="";for(c=0;c<b.length;c++)d+=Y(a,b[c]);return d}function Y(a,b){var c,d;return"string"==typeof b?b:(c=b.token)?Ta[c]?Ta[c](a):V(a,c):b.maybe&&(d=X(a,b.maybe),d.match(/[1-9]/))?d:""}function Z(a,b,c,d,e){var f;return a=Ca.moment.parseZone(a),b=Ca.moment.parseZone(b),f=(a.localeData||a.lang).call(a),c=f.longDateFormat(c)||c,d=d||" - ",$(a,b,aa(c),d,e)}function $(a,b,c,d,e){var f,g,h,i,j="",k="",l="",m="",n="";for(g=0;g<c.length&&(f=_(a,b,c[g]),f!==!1);g++)j+=f;for(h=c.length-1;h>g&&(f=_(a,b,c[h]),f!==!1);h--)k=f+k;for(i=g;h>=i;i++)l+=Y(a,c[i]),m+=Y(b,c[i]);return(l||m)&&(n=e?m+d+l:l+d+m),j+n+k}function _(a,b,c){var d,e;return"string"==typeof c?c:(d=c.token)&&(e=Ua[d.charAt(0)],e&&a.isSame(b,e))?V(a,d):!1}function aa(a){return a in Va?Va[a]:Va[a]=ba(a)}function ba(a){for(var b,c=[],d=/\[([^\]]*)\]|\(([^\)]*)\)|(LT|(\w)\4*o?)|([^\w\[\(]+)/g;b=d.exec(a);)b[1]?c.push(b[1]):b[2]?c.push({maybe:ba(b[2])}):b[3]?c.push({token:b[3]}):b[5]&&c.push(b[5]);return c}function ca(){}function da(a,b){return a||b?a&&b?a.grid===b.grid&&a.row===b.row&&a.col===b.col:!1:!0}function ea(a){var b=ga(a);return"background"===b||"inverse-background"===b}function fa(a){return"inverse-background"===ga(a)}function ga(a){return K((a.source||{}).rendering,a.rendering)}function ha(a){var b,c,d={};for(b=0;b<a.length;b++)c=a[b],(d[c._id]||(d[c._id]=[])).push(c);return d}function ia(a,b){return a.eventStartMS-b.eventStartMS}function ja(a,b){return a.eventStartMS-b.eventStartMS||b.eventDurationMS-a.eventDurationMS||b.event.allDay-a.event.allDay||(a.event.title||"").localeCompare(b.event.title)}function ka(c){var d,e,f,g,h=Ca.dataAttrPrefix;return h&&(h+="-"),d=c.data(h+"event")||null,d&&(d="object"==typeof d?a.extend({},d):{},e=d.start,null==e&&(e=d.time),f=d.duration,g=d.stick,delete d.start,delete d.time,delete d.duration,delete d.stick),null==e&&(e=c.data(h+"start")),null==e&&(e=c.data(h+"time")),null==f&&(f=c.data(h+"duration")),null==g&&(g=c.data(h+"stick")),e=null!=e?b.duration(e):null,f=null!=f?b.duration(f):null,g=Boolean(g),{eventProps:d,startTime:e,duration:f,stick:g}}function la(a,b){var c,d;for(c=0;c<b.length;c++)if(d=b[c],d.leftCol<=a.rightCol&&d.rightCol>=a.leftCol)return!0;return!1}function ma(a,b){return a.leftCol-b.leftCol}function na(a){var b,c,d;if(a.sort(ja),b=oa(a),pa(b),c=b[0]){for(d=0;d<c.length;d++)qa(c[d]);for(d=0;d<c.length;d++)ra(c[d],0,0)}}function oa(a){var b,c,d,e=[];for(b=0;b<a.length;b++){for(c=a[b],d=0;d<e.length&&sa(c,e[d]).length;d++);c.level=d,(e[d]||(e[d]=[])).push(c)}return e}function pa(a){var b,c,d,e,f;for(b=0;b<a.length;b++)for(c=a[b],d=0;d<c.length;d++)for(e=c[d],e.forwardSegs=[],f=b+1;f<a.length;f++)sa(e,a[f],e.forwardSegs)}function qa(a){var b,c,d=a.forwardSegs,e=0;if(void 0===a.forwardPressure){for(b=0;b<d.length;b++)c=d[b],qa(c),e=Math.max(e,1+c.forwardPressure);a.forwardPressure=e}}function ra(a,b,c){var d,e=a.forwardSegs;if(void 0===a.forwardCoord)for(e.length?(e.sort(ua),ra(e[0],b+1,c),a.forwardCoord=e[0].backwardCoord):a.forwardCoord=1,a.backwardCoord=a.forwardCoord-(a.forwardCoord-c)/(b+1),d=0;d<e.length;d++)ra(e[d],0,a.forwardCoord)}function sa(a,b,c){c=c||[];for(var d=0;d<b.length;d++)ta(a,b[d])&&c.push(b[d]);return c}function ta(a,b){return a.bottom>b.top&&a.top<b.bottom}function ua(a,b){return b.forwardPressure-a.forwardPressure||(a.backwardCoord||0)-(b.backwardCoord||0)||ja(a,b)}function va(c,e){function g(a){return(a.locale||a.lang).call(a,$.lang).humanize()}function h(a){da?k()&&(r(),l(a)):i()}function i(){ea=$.theme?"ui":"fc",c.addClass("fc"),$.isRTL?c.addClass("fc-rtl"):c.addClass("fc-ltr"),$.theme?c.addClass("ui-widget"):c.addClass("fc-unthemed"),da=a("<div class='fc-view-container'/>").prependTo(c),ba=new wa(Y,$),ca=ba.render(),ca&&c.prepend(ca),l($.defaultView),$.handleWindowResize&&(ha=Q(t,$.windowResizeDelay),a(window).resize(ha))}function j(){fa&&fa.destroyView(),ba.destroy(),da.remove(),c.removeClass("fc fc-ltr fc-rtl fc-unthemed ui-widget"),a(window).unbind("resize",ha)}function k(){return c.is(":visible")}function l(b){na++,fa&&b&&fa.type!==b&&(ba.deactivateButton(fa.type),S(),fa.start&&fa.destroyView(),fa.el.remove(),fa=null),!fa&&b&&(fa=m(b),fa.el=a("<div class='fc-view fc-"+b+"-view' />").appendTo(da),ba.activateButton(b)),fa&&(ia=fa.massageCurrentDate(ia),fa.start&&ia.isWithin(fa.intervalStart,fa.intervalEnd)||k()&&(S(),fa.start&&fa.destroyView(),fa.setDate(ia),fa.renderView(),T(),C(),D(),x())),T(),na--}function m(a){var b=n(a);return new b["class"](Y,b.options,a)}function n(c){function d(b){"function"==typeof b?f=b:"object"==typeof b&&a.extend(e,b)}var e,f,h,i,j,k=$.defaultButtonText||{},l=$.buttonText||{},m=$.views||{},n=c,o=[],p=!1;if(ma[c])return ma[c];for(;n&&!f;)e={},d(Da[n]),d(m[n]),o.unshift(e),n=e.type;return o.unshift({}),e=a.extend.apply(a,o),f?(h=e.duration||f.duration,h&&(h=b.duration(h),i=B(h),p=1===h.as(i)),p&&m[i]&&(e=a.extend({},m[i],e)),j=l[c]||(p?l[i]:null)||k[c]||(p?k[i]:null)||e.buttonText||f.buttonText||(h?g(h):null)||c,ma[c]={"class":f,options:e,buttonText:j}):void 0}function o(a){return Boolean(n(a))}function p(a){var b=n(a);return b?b.buttonText:void 0}function q(a){return k()?(a&&s(),na++,fa.updateSize(!0),na--,!0):void 0}function r(){k()&&s()}function s(){ga="number"==typeof $.contentHeight?$.contentHeight:"number"==typeof $.height?$.height-(ca?ca.outerHeight(!0):0):"undefined"!=typeof $.height&&"parent"===$.height?a(la).parent().height()-(ca?ca.outerHeight(!0):0):Math.round(da.width()/Math.max($.aspectRatio,.5))}function t(a){!na&&a.target===window&&fa.start&&q(!0)&&fa.trigger("windowResize",la)}function u(){w(),y()}function v(){k()&&(S(),fa.destroyViewEvents(),fa.renderViewEvents(oa),T())}function w(){S(),fa.destroyViewEvents(),T()}function x(){!$.lazyFetching||ja(fa.start,fa.end)?y():v()}function y(){ka(fa.start,fa.end)}function z(a){oa=a,v()}function A(){v()}function C(){ba.updateTitle(fa.title)}function D(){var a=Y.getNow();a.isWithin(fa.intervalStart,fa.intervalEnd)?ba.disableButton("today"):ba.enableButton("today")}function E(a,b){a=Y.moment(a),b=b?Y.moment(b):a.hasTime()?a.clone().add(Y.defaultTimedEventDuration):a.clone().add(Y.defaultAllDayEventDuration),fa.select({start:a,end:b})}function G(){fa&&fa.unselect()}function H(){ia=fa.computePrevDate(ia),l()}function I(){ia=fa.computeNextDate(ia),l()}function J(){ia.add(-1,"years"),l()}function K(){ia.add(1,"years"),l()}function L(){ia=Y.getNow(),l()}function M(a){ia=Y.moment(a),l()}function O(a){ia.add(b.duration(a)),l()}function P(a,b){var c,d;b&&o(b)||(b=b||"day",c=ba.getViewsWithButtons().join(" "),d=c.match(new RegExp("\\w+"+N(b))),d||(d=c.match(/\w+Day/)),b=d?d[0]:"agendaDay"),ia=a,l(b)}function R(){return ia.clone()}function S(){da.css({width:"100%",height:da.height(),overflow:"hidden"})}function T(){da.css({width:"",height:"",overflow:""})}function U(){return Y}function V(){return fa}function W(a,b){return void 0===b?$[a]:void(("height"==a||"contentHeight"==a||"aspectRatio"==a)&&($[a]=b,q(!0)))}function X(a,b){return $[a]?$[a].apply(b||la,Array.prototype.slice.call(arguments,2)):void 0}var Y=this;e=e||{};var Z,$=d({},za,e);Z=$.lang in Ea?Ea[$.lang]:Ea[za.lang],Z&&($=d({},za,Z,e)),$.isRTL&&($=d({},za,Ba,Z||{},e)),Y.options=$,Y.render=h,Y.destroy=j,Y.refetchEvents=u,Y.reportEvents=z,Y.reportEventChange=A,Y.rerenderEvents=v,Y.changeView=l,Y.select=E,Y.unselect=G,Y.prev=H,Y.next=I,Y.prevYear=J,Y.nextYear=K,Y.today=L,Y.gotoDate=M,Y.incrementDate=O,Y.zoomTo=P,Y.getDate=R,Y.getCalendar=U,Y.getView=V,Y.option=W,Y.trigger=X,Y.isValidViewType=o,Y.getViewButtonText=p;var _=F(f($.lang));if($.monthNames&&(_._months=$.monthNames),$.monthNamesShort&&(_._monthsShort=$.monthNamesShort),$.dayNames&&(_._weekdays=$.dayNames),$.dayNamesShort&&(_._weekdaysShort=$.dayNamesShort),null!=$.firstDay){var aa=F(_._week);aa.dow=$.firstDay,_._week=aa}Y.defaultAllDayEventDuration=b.duration($.defaultAllDayEventDuration),Y.defaultTimedEventDuration=b.duration($.defaultTimedEventDuration),Y.moment=function(){var a;return"local"===$.timezone?(a=Ca.moment.apply(null,arguments),a.hasTime()&&a.local()):a="UTC"===$.timezone?Ca.moment.utc.apply(null,arguments):Ca.moment.parseZone.apply(null,arguments),"_locale"in a?a._locale=_:a._lang=_,a},Y.getIsAmbigTimezone=function(){return"local"!==$.timezone&&"UTC"!==$.timezone},Y.rezoneDate=function(a){return Y.moment(a.toArray())},Y.getNow=function(){var a=$.now;return"function"==typeof a&&(a=a()),Y.moment(a)},Y.calculateWeekNumber=function(a){var b=$.weekNumberCalculation;return"function"==typeof b?b(a):"local"===b?a.week():"ISO"===b.toUpperCase()?a.isoWeek():void 0},Y.getEventEnd=function(a){return a.end?a.end.clone():Y.getDefaultEventEnd(a.allDay,a.start)},Y.getDefaultEventEnd=function(a,b){var c=b.clone();return a?c.stripTime().add(Y.defaultAllDayEventDuration):c.add(Y.defaultTimedEventDuration),Y.getIsAmbigTimezone()&&c.stripZone(),c},xa.call(Y,$);var ba,ca,da,ea,fa,ga,ha,ia,ja=Y.isFetchNeeded,ka=Y.fetchEvents,la=c[0],ma={},na=0,oa=[];ia=null!=$.defaultDate?Y.moment($.defaultDate):Y.getNow(),Y.getSuggestedViewHeight=function(){return void 0===ga&&r(),ga},Y.isHeightAuto=function(){return"auto"===$.contentHeight||"auto"===$.height}}function wa(b,c){function d(){var b=c.header;return n=c.theme?"ui":"fc",b?o=a("<div class='fc-toolbar'/>").append(f("left")).append(f("right")).append(f("center")).append('<div class="fc-clear"/>'):void 0}function e(){o.remove()}function f(d){var e=a('<div class="fc-'+d+'"/>'),f=c.header[d];return f&&a.each(f.split(" "),function(d){var f,g=a(),h=!0;a.each(this.split(","),function(d,e){var f,i,j,k,l,m,o,q,r;if("title"==e)g=g.add(a('<h2 aria-live="polite">&nbsp;</h2>')),h=!1;else if(a.isFunction(c.customButtons[e])){var s=a(c.customButtons[e](c));g=g.add(s)}else b[e]?f=function(){b[e]()}:b.isValidViewType(e)&&(f=function(){b.changeView(e)},p.push(e),l=b.getViewButtonText(e)),f&&(i=y(c.themeButtonIcons,e),j=y(c.buttonIcons,e),k=y(c.defaultButtonText,e),m=y(c.buttonText,e),o=l||m?L(l||m):i&&c.theme?"<span class='ui-icon ui-icon-"+i+"'></span>":j&&!c.theme?"<span class='fc-icon fc-icon-"+j+"'></span>":L(k||e),q=["fc-"+e+"-button",n+"-button",n+"-state-default"],r=a('<button type="button" class="'+q.join(" ")+'">'+o+"</button>").click(function(){r.hasClass(n+"-state-disabled")||(f(),(r.hasClass(n+"-state-active")||r.hasClass(n+"-state-disabled"))&&r.removeClass(n+"-state-hover"))}).mousedown(function(){r.not("."+n+"-state-active").not("."+n+"-state-disabled").addClass(n+"-state-down")}).mouseup(function(){r.removeClass(n+"-state-down")}).hover(function(){r.not("."+n+"-state-active").not("."+n+"-state-disabled").addClass(n+"-state-hover")},function(){r.removeClass(n+"-state-hover").removeClass(n+"-state-down")}),g=g.add(r))}),h&&g.first().addClass(n+"-corner-left").end().last().addClass(n+"-corner-right").end(),g.length>1||h?(f=a("<div/>"),h&&f.addClass("fc-button-group"),f.append(g),e.append(f)):e.append(g)}),e}function g(a){o.find("h2").text(a)}function h(a){o.find(".fc-"+a+"-button").addClass(n+"-state-active")}function i(a){o.find(".fc-"+a+"-button").removeClass(n+"-state-active")}function j(a){o.find(".fc-"+a+"-button").attr("disabled","disabled").addClass(n+"-state-disabled")}function k(a){o.find(".fc-"+a+"-button").removeAttr("disabled").removeClass(n+"-state-disabled")}function l(){return p}var m=this;m.render=d,m.destroy=e,m.updateTitle=g,m.activateButton=h,m.deactivateButton=i,m.disableButton=j,m.enableButton=k,m.getViewsWithButtons=l;var n,o=a(),p=[]}function xa(c){function d(a,b){return!Q||a.clone().stripZone()<Q.clone().stripZone()||b.clone().stripZone()>R.clone().stripZone()}function e(a,b){Q=a,R=b,$=[];var c=++X,d=W.length;Y=d;for(var e=0;d>e;e++)f(W[e],c)}function f(b,c){g(b,function(d){var e,f,g,h=a.isArray(b.events);if(c==X){if(d)for(e=0;e<d.length;e++)f=d[e],g=h?f:u(f,b),g&&$.push.apply($,y(g));Y--,Y||U($)}})}function g(b,d){var e,f,h=Ca.sourceFetchers;for(e=0;e<h.length;e++){if(f=h[e].call(P,b,Q.clone(),R.clone(),c.timezone,d),f===!0)return;if("object"==typeof f)return void g(f,d)}var i=b.events;if(i)a.isFunction(i)?(s(),i.call(P,Q.clone(),R.clone(),c.timezone,function(a){d(a),t()})):a.isArray(i)?d(i):d();else{var j=b.url;if(j){var k,l=b.success,m=b.error,n=b.complete;k=a.isFunction(b.data)?b.data():b.data;var o=a.extend({},k||{}),p=K(b.startParam,c.startParam),q=K(b.endParam,c.endParam),r=K(b.timezoneParam,c.timezoneParam);p&&(o[p]=Q.format()),q&&(o[q]=R.format()),c.timezone&&"local"!=c.timezone&&(o[r]=c.timezone),s(),a.ajax(a.extend({},eb,b,{data:o,success:function(b){b=b||[];var c=J(l,this,arguments);a.isArray(c)&&(b=c),d(b)},error:function(){J(m,this,arguments),d()},complete:function(){J(n,this,arguments),t()}}))}else d()}}function h(a){var b=i(a);b&&(W.push(b),Y++,f(b,X))}function i(b){var c,d,e=Ca.sourceNormalizers;if(a.isFunction(b)||a.isArray(b)?c={events:b}:"string"==typeof b?c={url:b}:"object"==typeof b&&(c=a.extend({},b)),c){for(c.className?"string"==typeof c.className&&(c.className=c.className.split(/\s+/)):c.className=[],a.isArray(c.events)&&(c.origArray=c.events,c.events=a.map(c.events,function(a){return u(a,c)})),d=0;d<e.length;d++)e[d].call(P,c);return c}}function j(b){W=a.grep(W,function(a){return!k(a,b)}),$=a.grep($,function(a){return!k(a.source,b)}),U($)}function k(a,b){return a&&b&&l(a)==l(b)}function l(a){return("object"==typeof a?a.origArray||a.googleCalendarId||a.url||a.events:null)||a}function m(a){a.start=P.moment(a.start),a.end?a.end=P.moment(a.end):a.end=null,B(a,n(a)),U($)}function n(b){var c={};return a.each(b,function(a,b){o(a)&&void 0!==b&&I(b)&&(c[a]=b)}),c}function o(a){return!/^_|^(id|allDay|start|end)$/.test(a)}function p(a,b){var c,d,e,f=u(a);if(f){for(c=y(f),d=0;d<c.length;d++)e=c[d],e.source||(b&&(V.events.push(e),e.source=V),$.push(e));return U($),c}return[]}function q(b){var c,d;for(null==b?b=function(){return!0}:a.isFunction(b)||(c=b+"",b=function(a){return a._id==c}),$=a.grep($,b,!0),d=0;d<W.length;d++)a.isArray(W[d].events)&&(W[d].events=a.grep(W[d].events,b,!0));U($)}function r(b){return a.isFunction(b)?a.grep($,b):null!=b?(b+="",a.grep($,function(a){return a._id==b})):$}function s(){Z++||S("loading",null,!0,T())}function t(){--Z||S("loading",null,!1,T())}function u(d,e){var f,g,h,i={};if(c.eventDataTransform&&(d=c.eventDataTransform(d)),e&&e.eventDataTransform&&(d=e.eventDataTransform(d)),a.extend(i,d),e&&(i.source=e),i._id=d._id||(void 0===d.id?"_fc"+fb++:d.id+""),d.className?"string"==typeof d.className?i.className=d.className.split(/\s+/):i.className=d.className:i.className=[],f=d.start||d.date,g=d.end,E(f)&&(f=b.duration(f)),E(g)&&(g=b.duration(g)),d.dow||b.isDuration(f)||b.isDuration(g))i.start=f?b.duration(f):null,i.end=g?b.duration(g):null,i._recurring=!0;else{if(f&&(f=P.moment(f),!f.isValid()))return!1;g&&(g=P.moment(g),g.isValid()||(g=null)),h=d.allDay,void 0===h&&(h=K(e?e.allDayDefault:void 0,c.allDayDefault)),v(f,g,h,i)}return i}function v(a,b,c,d){d.start=a,d.end=b,d.allDay=c,w(d),ya(d)}function w(a){null==a.allDay&&(a.allDay=!(a.start.hasTime()||a.end&&a.end.hasTime())),a.allDay?(a.start.stripTime(),a.end&&a.end.stripTime()):(a.start.hasTime()||(a.start=P.rezoneDate(a.start)),a.end&&!a.end.hasTime()&&(a.end=P.rezoneDate(a.end))),a.end&&!a.end.isAfter(a.start)&&(a.end=null),a.end||(c.forceEventDuration?a.end=P.getDefaultEventEnd(a.allDay,a.start):a.end=null)}function x(a){var b;return a.end||(b=a.allDay,null==b&&(b=!a.start.hasTime()),a={start:a.start,end:P.getDefaultEventEnd(b,a.start)}),a}function y(b,c,d){var e,f,g,h,i,j,k,l,m,n=[];if(c=c||Q,d=d||R,b)if(b._recurring){if(f=b.dow)for(e={},g=0;g<f.length;g++)e[f[g]]=!0;for(h=c.clone().stripTime();h.isBefore(d);)(!e||e[h.day()])&&(i=b.start,j=b.end,k=h.clone(),l=null,i&&(k=k.time(i)),j&&(l=h.clone().time(j)),m=a.extend({},b),v(k,l,!i&&!j,m),n.push(m)),h.add(1,"days")}else n.push(b);return n}function B(b,c){var d,e,f,g,h={};return c=c||{},c.start||(c.start=b.start.clone()),void 0===c.end&&(c.end=b.end?b.end.clone():null),null==c.allDay&&(c.allDay=b.allDay),w(c),d=null!==b._end&&null===c.end,e=c.allDay?A(c.start,b._start):z(c.start,b._start),!d&&c.end&&(f=z(c.end,c.start).subtract(z(b._end||P.getDefaultEventEnd(b._allDay,b._start),b._start))),a.each(c,function(a,b){o(a)&&void 0!==b&&(h[a]=b)}),g=C(r(b._id),d,c.allDay,e,f,h),{dateDelta:e,durationDelta:f,undo:g}}function C(b,c,d,e,f,g){var h=P.getIsAmbigTimezone(),i=[];return e&&!e.valueOf()&&(e=null),f&&!f.valueOf()&&(f=null),a.each(b,function(b,j){var k,l;k={start:j.start.clone(),end:j.end?j.end.clone():null,allDay:j.allDay},a.each(g,function(a){k[a]=j[a]}),l={start:j._start,end:j._end,allDay:j._allDay},c&&(l.end=null),l.allDay=d,w(l),e&&(l.start.add(e),l.end&&l.end.add(e)),f&&(l.end||(l.end=P.getDefaultEventEnd(l.allDay,l.start)),l.end.add(f)),h&&!l.allDay&&(e||f)&&(l.start.stripZone(),l.end&&l.end.stripZone()),a.extend(j,g,l),ya(j),i.push(function(){a.extend(j,k),ya(j)})}),function(){for(var a=0;a<i.length;a++)i[a]()}}function D(){var b,d=c.businessHours,e={className:"fc-nonbusiness",start:"09:00",end:"17:00",dow:[1,2,3,4,5],rendering:"inverse-background"},f=P.getView();return d&&(b="object"==typeof d?a.extend({},e,d):e),b?y(u(b),f.start,f.end):[]}function F(a,b){var d=b.source||{},e=K(b.constraint,d.constraint,c.eventConstraint),f=K(b.overlap,d.overlap,c.eventOverlap);return a=x(a),L(a,e,f,b)}function G(a){return L(a,c.selectConstraint,c.selectOverlap)}function H(b,c){var d,e;return c&&(d=a.extend({},c,b),e=y(u(d))[0]),e?F(b,e):(b=x(b),G(b))}function L(a,b,c,d){var e,f,g,h,i;if(a={start:a.start.clone().stripZone(),end:a.end.clone().stripZone()},null!=b){for(e=M(b),f=!1,g=0;g<e.length;g++)if(N(e[g],a)){f=!0;break}if(!f)return!1}for(g=0;g<$.length;g++)if(h=$[g],(!d||d._id!==h._id)&&O(h,a)){if(c===!1)return!1;if("function"==typeof c&&!c(h,d))return!1;if(d){if(i=K(h.overlap,(h.source||{}).overlap),i===!1)return!1;if("function"==typeof i&&!i(d,h))return!1}}return!0}function M(a){return"businessHours"===a?D():"object"==typeof a?y(u(a)):r(a)}function N(a,b){var c=a.start.clone().stripZone(),d=P.getEventEnd(a).stripZone();return b.start>=c&&b.end<=d}function O(a,b){var c=a.start.clone().stripZone(),d=P.getEventEnd(a).stripZone();return b.start<d&&b.end>c}var P=this;P.isFetchNeeded=d,P.fetchEvents=e,P.addEventSource=h,P.removeEventSource=j,P.updateEvent=m,P.renderEvent=p,P.removeEvents=q,P.clientEvents=r,P.mutateEvent=B,P.normalizeEventDateProps=w,P.ensureVisibleEventRange=x;var Q,R,S=P.trigger,T=P.getView,U=P.reportEvents,V={events:[]},W=[V],X=0,Y=0,Z=0,$=[];a.each((c.events?[c.events]:[]).concat(c.eventSources||[]),function(a,b){var c=i(b);c&&W.push(c)}),P.getBusinessHoursEvents=D,P.isEventRangeAllowed=F,P.isSelectionRangeAllowed=G,P.isExternalDropRangeAllowed=H}function ya(a){a._allDay=a.allDay,a._start=a.start.clone(),a._end=a.end?a.end.clone():null}var za={titleRangeSeparator:" — ",monthYearFormat:"MMMM YYYY",defaultTimedEventDuration:"02:00:00",defaultAllDayEventDuration:{days:1},forceEventDuration:!1,nextDayThreshold:"09:00:00",defaultView:"month",aspectRatio:1.35,header:{left:"title",center:"",right:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberTitle:"W",weekNumberCalculation:"local",lazyFetching:!0,startParam:"start",endParam:"end",timezoneParam:"timezone",timezone:!1,isRTL:!1,defaultButtonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",today:"today",month:"month",week:"week",day:"day"},buttonIcons:{prev:"left-single-arrow",next:"right-single-arrow",prevYear:"left-double-arrow",nextYear:"right-double-arrow"},theme:!1,themeButtonIcons:{prev:"circle-triangle-w",next:"circle-triangle-e",prevYear:"seek-prev",nextYear:"seek-next"},dragOpacity:.75,dragRevertDuration:500,dragScroll:!0,unselectAuto:!0,dropAccept:"*",eventLimit:!1,eventLimitText:"more",eventLimitClick:"popover",dayPopoverFormat:"LL",handleWindowResize:!0,windowResizeDelay:200},Aa={dayPopoverFormat:"dddd, MMMM D"},Ba={header:{left:"next,prev today",center:"",right:"title"},buttonIcons:{prev:"right-single-arrow",next:"left-single-arrow",prevYear:"right-double-arrow",nextYear:"left-double-arrow"},themeButtonIcons:{prev:"circle-triangle-e",next:"circle-triangle-w",nextYear:"seek-prev",prevYear:"seek-next"}},Ca=a.fullCalendar={version:"2.2.7"},Da=Ca.views={};a.fn.fullCalendar=function(b){var c=Array.prototype.slice.call(arguments,1),d=this;return this.each(function(e,f){var g,h=a(f),i=h.data("fullCalendar");"string"==typeof b?i&&a.isFunction(i[b])&&(g=i[b].apply(i,c),e||(d=g),"destroy"===b&&h.removeData("fullCalendar")):i||(i=new va(h,b),h.data("fullCalendar",i),i.render())}),d};var Ea=Ca.langs={};Ca.datepickerLang=function(b,c,d){var e=Ea[b]||(Ea[b]={});e.isRTL=d.isRTL,e.weekNumberTitle=d.weekHeader,a.each(Fa,function(a,b){e[a]=b(d)}),a.datepicker&&(a.datepicker.regional[c]=a.datepicker.regional[b]=d,a.datepicker.regional.en=a.datepicker.regional[""],a.datepicker.setDefaults(d))},Ca.lang=function(b,c){var e,g;e=Ea[b]||(Ea[b]={}),c&&d(e,c),g=f(b),a.each(Ga,function(a,b){void 0===e[a]&&(e[a]=b(g,e))}),za.lang=b};var Fa={defaultButtonText:function(a){return{prev:M(a.prevText),next:M(a.nextText),today:M(a.currentText)}},monthYearFormat:function(a){return a.showMonthAfterYear?"YYYY["+a.yearSuffix+"] MMMM":"MMMM YYYY["+a.yearSuffix+"]"}},Ga={dayOfMonthFormat:function(a,b){var c=a.longDateFormat("l");return c=c.replace(/^Y+[^\w\s]*|[^\w\s]*Y+$/g,""),b.isRTL?c+=" ddd":c="ddd "+c,c},smallTimeFormat:function(a){return a.longDateFormat("LT").replace(":mm","(:mm)").replace(/(\Wmm)$/,"($1)").replace(/\s*a$/i,"a")},extraSmallTimeFormat:function(a){return a.longDateFormat("LT").replace(":mm","(:mm)").replace(/(\Wmm)$/,"($1)").replace(/\s*a$/i,"t")},noMeridiemTimeFormat:function(a){return a.longDateFormat("LT").replace(/\s*a$/i,"")}};Ca.lang("en",Aa),Ca.intersectionToSeg=x,Ca.applyAll=J,Ca.debounce=Q;var Ha,Ia,Ja,Ka=-1!==navigator.userAgent.toLowerCase().indexOf("phantom"),La=!1,Ma=["sun","mon","tue","wed","thu","fri","sat"],Na=["year","month","week","day","hour","minute","second","millisecond"],Oa={}.hasOwnProperty,Pa=/^\s*\d{4}-\d\d$/,Qa=/^\s*\d{4}-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?)?$/,Ra=b.fn,Sa=a.extend({},Ra);Ca.moment=function(){return R(arguments)},Ca.moment.utc=function(){var a=R(arguments,!0);return a.hasTime()&&a.utc(),a},Ca.moment.parseZone=function(){return R(arguments,!0,!0)},Ra.clone=function(){var a=Sa.clone.apply(this,arguments);return T(this,a),this._fullCalendar&&(a._fullCalendar=!0),a},Ra.time=function(a){if(!this._fullCalendar)return Sa.time.apply(this,arguments);if(null==a)return b.duration({hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()});this._ambigTime=!1,b.isDuration(a)||b.isMoment(a)||(a=b.duration(a));var c=0;return b.isDuration(a)&&(c=24*Math.floor(a.asDays())),this.hours(c+a.hours()).minutes(a.minutes()).seconds(a.seconds()).milliseconds(a.milliseconds())},Ra.stripTime=function(){var a;return this._ambigTime||(a=this.toArray(),this.utc(),Ia(this,a.slice(0,3)),this._ambigTime=!0,this._ambigZone=!0),this},Ra.hasTime=function(){return!this._ambigTime},Ra.stripZone=function(){var a,b;return this._ambigZone||(a=this.toArray(),b=this._ambigTime,this.utc(),Ia(this,a),this._ambigTime=b||!1,this._ambigZone=!0),this},Ra.hasZone=function(){return!this._ambigZone},Ra.local=function(){var a=this.toArray(),b=this._ambigZone;return Sa.local.apply(this,arguments),this._ambigTime=!1,this._ambigZone=!1,b&&Ja(this,a),this},Ra.utc=function(){return Sa.utc.apply(this,arguments),this._ambigTime=!1,this._ambigZone=!1,this},a.each(["zone","utcOffset"],function(a,b){Sa[b]&&(Ra[b]=function(a){return null!=a&&(this._ambigTime=!1,this._ambigZone=!1),Sa[b].apply(this,arguments)})}),Ra.format=function(){return this._fullCalendar&&arguments[0]?W(this,arguments[0]):this._ambigTime?V(this,"YYYY-MM-DD"):this._ambigZone?V(this,"YYYY-MM-DD[T]HH:mm:ss"):Sa.format.apply(this,arguments)},Ra.toISOString=function(){return this._ambigTime?V(this,"YYYY-MM-DD"):this._ambigZone?V(this,"YYYY-MM-DD[T]HH:mm:ss"):Sa.toISOString.apply(this,arguments)},Ra.isWithin=function(a,b){var c=S([this,a,b]);return c[0]>=c[1]&&c[0]<c[2]},Ra.isSame=function(a,b){var c;return this._fullCalendar?b?(c=S([this,a],!0),Sa.isSame.call(c[0],c[1],b)):(a=Ca.moment.parseZone(a),Sa.isSame.call(this,a)&&Boolean(this._ambigTime)===Boolean(a._ambigTime)&&Boolean(this._ambigZone)===Boolean(a._ambigZone)):Sa.isSame.apply(this,arguments)},a.each(["isBefore","isAfter"],function(a,b){Ra[b]=function(a,c){var d;return this._fullCalendar?(d=S([this,a]),Sa[b].call(d[0],d[1],c)):Sa[b].apply(this,arguments)}}),Ha="_d"in b()&&"updateOffset"in b,Ia=Ha?function(a,c){a._d.setTime(Date.UTC.apply(Date,c)),b.updateOffset(a,!1)}:U,Ja=Ha?function(a,c){a._d.setTime(+new Date(c[0]||0,c[1]||0,c[2]||0,c[3]||0,c[4]||0,c[5]||0,c[6]||0)),b.updateOffset(a,!1)}:U;var Ta={t:function(a){return V(a,"a").charAt(0)},T:function(a){return V(a,"A").charAt(0)}};Ca.formatRange=Z;var Ua={Y:"year",M:"month",D:"day",d:"day",A:"second",a:"second",T:"second",t:"second",H:"second",h:"second",m:"second",s:"second"},Va={};Ca.Class=ca,ca.extend=function(a){var b,c=this;return a=a||{},H(a,"constructor")&&(b=a.constructor),"function"!=typeof b&&(b=a.constructor=function(){c.apply(this,arguments)}),b.prototype=F(c.prototype),G(a,b.prototype),G(c,b),b},ca.mixin=function(a){G(a.prototype||a,this.prototype)};var Wa=ca.extend({isHidden:!0,options:null,el:null,documentMousedownProxy:null,margin:10,constructor:function(a){this.options=a||{}},show:function(){this.isHidden&&(this.el||this.render(),this.el.show(),this.position(),this.isHidden=!1,this.trigger("show"))},hide:function(){this.isHidden||(this.el.hide(),this.isHidden=!0,this.trigger("hide"))},render:function(){var b=this,c=this.options;this.el=a('<div class="fc-popover"/>').addClass(c.className||"").css({top:0,left:0}).append(c.content).appendTo(c.parentEl),this.el.on("click",".fc-close",function(){b.hide()}),c.autoHide&&a(document).on(m(),this.documentMousedownProxy=a.proxy(this,"documentMousedown"))},documentMousedown:function(b){this.el&&!a(b.target).closest(this.el).length&&(this.hide(),b.stopPropagation())},destroy:function(){this.hide(),this.el&&(this.el.remove(),this.el=null),
3
  a(document).off(m(),this.documentMousedownProxy)},position:function(){var b,c,d,e,f,g=this.options,h=this.el.offsetParent().offset(),i=this.el.outerWidth(),j=this.el.outerHeight(),k=a(window),l=u(this.el);e=g.top||0,f=void 0!==g.left?g.left:void 0!==g.right?g.right-i:0,l.is(window)||l.is(document)?(l=k,b=0,c=0):(d=l.offset(),b=d.top,c=d.left),b+=k.scrollTop(),c+=k.scrollLeft(),g.viewportConstrain!==!1&&(e=Math.min(e,b+l.outerHeight()-j-this.margin),e=Math.max(e,b+this.margin),f=Math.min(f,c+l.outerWidth()-i-this.margin),f=Math.max(f,c+this.margin)),this.el.css({top:e-h.top,left:f-h.left})},trigger:function(a){this.options[a]&&this.options[a].apply(this,Array.prototype.slice.call(arguments,1))}}),Xa=ca.extend({grid:null,rowCoords:null,colCoords:null,containerEl:null,minX:null,maxX:null,minY:null,maxY:null,constructor:function(a){this.grid=a},build:function(){this.rowCoords=this.grid.computeRowCoords(),this.colCoords=this.grid.computeColCoords(),this.computeBounds()},clear:function(){this.rowCoords=null,this.colCoords=null},getCell:function(a,b){var c,d,e,f=this.rowCoords,g=this.colCoords,h=null,i=null;if(this.inBounds(a,b)){for(c=0;c<f.length;c++)if(d=f[c],b>=d.top&&b<d.bottom){h=c;break}for(c=0;c<g.length;c++)if(d=g[c],a>=d.left&&a<d.right){i=c;break}if(null!==h&&null!==i)return e=this.grid.getCell(h,i),e.grid=this.grid,e}return null},computeBounds:function(){var a;this.containerEl&&(a=this.containerEl.offset(),this.minX=a.left,this.maxX=a.left+this.containerEl.outerWidth(),this.minY=a.top,this.maxY=a.top+this.containerEl.outerHeight())},inBounds:function(a,b){return this.containerEl?a>=this.minX&&a<this.maxX&&b>=this.minY&&b<this.maxY:!0}}),Ya=ca.extend({coordMaps:null,constructor:function(a){this.coordMaps=a},build:function(){var a,b=this.coordMaps;for(a=0;a<b.length;a++)b[a].build()},getCell:function(a,b){var c,d=this.coordMaps,e=null;for(c=0;c<d.length&&!e;c++)e=d[c].getCell(a,b);return e},clear:function(){var a,b=this.coordMaps;for(a=0;a<b.length;a++)b[a].clear()}}),Za=ca.extend({coordMap:null,options:null,isListening:!1,isDragging:!1,origCell:null,cell:null,mouseX0:null,mouseY0:null,mousemoveProxy:null,mouseupProxy:null,scrollEl:null,scrollBounds:null,scrollTopVel:null,scrollLeftVel:null,scrollIntervalId:null,scrollHandlerProxy:null,scrollSensitivity:30,scrollSpeed:200,scrollIntervalMs:50,constructor:function(a,b){this.coordMap=a,this.options=b||{}},mousedown:function(a){w(a)&&(k(a)||a.preventDefault(),this.startListening(a),this.options.distance||this.startDrag(a))},startListening:function(b){var c,d;this.isListening||(b&&this.options.scroll&&(c=u(a(b.target)),c.is(window)||c.is(document)||(this.scrollEl=c,this.scrollHandlerProxy=Q(a.proxy(this,"scrollHandler"),100),this.scrollEl.on("scroll",this.scrollHandlerProxy))),this.computeCoords(),b&&(d=this.getCell(b),this.origCell=d,this.mouseX0=l(b).x,this.mouseY0=l(b).y),a(document).on(o(),this.mousemoveProxy=a.proxy(this,"mousemove")).on(n(),this.mouseupProxy=a.proxy(this,"mouseup")).on("selectstart",this.preventDefault),this.isListening=!0,this.trigger("listenStart",b))},computeCoords:function(){this.coordMap.build(),this.computeScrollBounds()},mousemove:function(a){var b,c;this.isDragging||(b=this.options.distance||1,c=Math.pow(l(a).x-this.mouseX0,2)+Math.pow(l(a).y-this.mouseY0,2),c>=b*b&&this.startDrag(a)),this.isDragging&&this.drag(a)},startDrag:function(a){var b;this.isListening||this.startListening(),this.isDragging||(this.isDragging=!0,this.trigger("dragStart",a),b=this.getCell(a),b&&this.cellOver(b))},drag:function(a){var b;this.isDragging&&(b=this.getCell(a),da(b,this.cell)||(this.cell&&this.cellOut(),!b||k(a)&&!La||this.cellOver(b)),this.dragScroll(a))},cellOver:function(a){this.cell=a,this.trigger("cellOver",a,da(a,this.origCell))},cellOut:function(){this.cell&&(this.trigger("cellOut",this.cell),this.cell=null)},mouseup:function(a){this.stopDrag(a),this.stopListening(a)},stopDrag:function(a){this.isDragging&&(this.stopScrolling(),this.trigger("dragStop",a),this.isDragging=!1)},stopListening:function(b){this.isListening&&(this.scrollEl&&(this.scrollEl.off("scroll",this.scrollHandlerProxy),this.scrollHandlerProxy=null),a(document).off(o(),this.mousemoveProxy).off(n(),this.mouseupProxy).off("selectstart",this.preventDefault),this.mousemoveProxy=null,this.mouseupProxy=null,this.isListening=!1,this.trigger("listenStop",b),this.origCell=this.cell=null,this.coordMap.clear())},getCell:function(a){return this.coordMap.getCell(l(a).x,l(a).y)},trigger:function(a){this.options[a]&&this.options[a].apply(this,Array.prototype.slice.call(arguments,1))},preventDefault:function(a){a.preventDefault()},computeScrollBounds:function(){var a,b=this.scrollEl;b&&(a=b.offset(),this.scrollBounds={top:a.top,left:a.left,bottom:a.top+b.outerHeight(),right:a.left+b.outerWidth()})},dragScroll:function(a){var b,c,d,e,f=this.scrollSensitivity,g=this.scrollBounds,h=0,i=0;g&&(b=(f-(l(a).y-g.top))/f,c=(f-(g.bottom-l(a).y))/f,d=(f-(l(a).x-g.left))/f,e=(f-(g.right-l(a).x))/f,b>=0&&1>=b?h=b*this.scrollSpeed*-1:c>=0&&1>=c&&(h=c*this.scrollSpeed),d>=0&&1>=d?i=d*this.scrollSpeed*-1:e>=0&&1>=e&&(i=e*this.scrollSpeed)),this.setScrollVel(h,i)},setScrollVel:function(b,c){this.scrollTopVel=b,this.scrollLeftVel=c,this.constrainScrollVel(),!this.scrollTopVel&&!this.scrollLeftVel||this.scrollIntervalId||(this.scrollIntervalId=setInterval(a.proxy(this,"scrollIntervalFunc"),this.scrollIntervalMs))},constrainScrollVel:function(){var a=this.scrollEl;this.scrollTopVel<0?a.scrollTop()<=0&&(this.scrollTopVel=0):this.scrollTopVel>0&&a.scrollTop()+a[0].clientHeight>=a[0].scrollHeight&&(this.scrollTopVel=0),this.scrollLeftVel<0?a.scrollLeft()<=0&&(this.scrollLeftVel=0):this.scrollLeftVel>0&&a.scrollLeft()+a[0].clientWidth>=a[0].scrollWidth&&(this.scrollLeftVel=0)},scrollIntervalFunc:function(){var a=this.scrollEl,b=this.scrollIntervalMs/1e3;this.scrollTopVel&&a.scrollTop(a.scrollTop()+this.scrollTopVel*b),this.scrollLeftVel&&a.scrollLeft(a.scrollLeft()+this.scrollLeftVel*b),this.constrainScrollVel(),this.scrollTopVel||this.scrollLeftVel||this.stopScrolling()},stopScrolling:function(){this.scrollIntervalId&&(clearInterval(this.scrollIntervalId),this.scrollIntervalId=null,this.computeCoords())},scrollHandler:function(){this.scrollIntervalId||this.computeCoords()}}),$a=ca.extend({options:null,sourceEl:null,el:null,parentEl:null,top0:null,left0:null,mouseY0:null,mouseX0:null,topDelta:null,leftDelta:null,mousemoveProxy:null,isFollowing:!1,isHidden:!1,isAnimating:!1,constructor:function(b,c){this.options=c=c||{},this.sourceEl=b,this.parentEl=c.parentEl?a(c.parentEl):b.parent()},start:function(b){this.isFollowing||(this.isFollowing=!0,this.mouseY0=l(b).y,this.mouseX0=l(b).x,this.topDelta=0,this.leftDelta=0,this.isHidden||this.updatePosition(),a(document).on(o(),this.mousemoveProxy=a.proxy(this,"mousemove")))},stop:function(b,c){function d(){this.isAnimating=!1,e.destroyEl(),this.top0=this.left0=null,c&&c()}var e=this,f=this.options.revertDuration;this.isFollowing&&!this.isAnimating&&(this.isFollowing=!1,a(document).off(o(),this.mousemoveProxy),b&&f&&!this.isHidden?(this.isAnimating=!0,this.el.animate({top:this.top0,left:this.left0},{duration:f,complete:d})):d())},getEl:function(){var a=this.el;return a||(this.sourceEl.width(),a=this.el=this.sourceEl.clone().css({position:"absolute",visibility:"",display:this.isHidden?"none":"",margin:0,right:"auto",bottom:"auto",width:this.sourceEl.width(),height:this.sourceEl.height(),opacity:this.options.opacity||"",zIndex:this.options.zIndex}).appendTo(this.parentEl)),a},destroyEl:function(){this.el&&(this.el.remove(),this.el=null)},updatePosition:function(){var a,b;this.getEl(),null===this.top0&&(this.sourceEl.width(),a=this.sourceEl.offset(),b=this.el.offsetParent().offset(),this.top0=a.top-b.top,this.left0=a.left-b.left),this.el.css({top:this.top0+this.topDelta,left:this.left0+this.leftDelta})},mousemove:function(a){this.topDelta=l(a).y-this.mouseY0,this.leftDelta=l(a).x-this.mouseX0,this.isHidden||this.updatePosition()},hide:function(){this.isHidden||(this.isHidden=!0,this.el&&this.el.hide())},show:function(){this.isHidden&&(this.isHidden=!1,this.updatePosition(),this.getEl().show())}}),_a=ca.extend({view:null,isRTL:null,cellHtml:"<td/>",constructor:function(a){this.view=a,this.isRTL=a.opt("isRTL")},rowHtml:function(a,b){var c,d,e=this.getHtmlRenderer("cell",a),f="";for(b=b||0,c=0;c<this.colCnt;c++)d=this.getCell(b,c),f+=e(d);return f=this.bookendCells(f,a,b),"<tr>"+f+"</tr>"},bookendCells:function(a,b,c){var d=this.getHtmlRenderer("intro",b)(c||0),e=this.getHtmlRenderer("outro",b)(c||0),f=this.isRTL?e:d,g=this.isRTL?d:e;return"string"==typeof a?f+a+g:a.prepend(f).append(g)},getHtmlRenderer:function(a,b){var c,d,e,f,g=this.view;return c=a+"Html",b&&(d=b+N(a)+"Html"),d&&(f=g[d])?e=g:d&&(f=this[d])?e=this:(f=g[c])?e=g:(f=this[c])&&(e=this),"function"==typeof f?function(){return f.apply(e,arguments)||""}:function(){return f||""}}}),ab=Ca.Grid=_a.extend({start:null,end:null,rowCnt:0,colCnt:0,rowData:null,colData:null,el:null,coordMap:null,elsByFill:null,documentDragStartProxy:null,colHeadFormat:null,eventTimeFormat:null,displayEventEnd:null,constructor:function(){_a.apply(this,arguments),this.coordMap=new Xa(this),this.elsByFill={},this.documentDragStartProxy=a.proxy(this,"documentDragStart")},render:function(){this.bindHandlers()},destroy:function(){this.unbindHandlers()},computeColHeadFormat:function(){},computeEventTimeFormat:function(){return this.view.opt("smallTimeFormat")},computeDisplayEventEnd:function(){return!1},setRange:function(a){var b=this.view;this.start=a.start.clone(),this.end=a.end.clone(),this.rowData=[],this.colData=[],this.updateCells(),this.colHeadFormat=b.opt("columnFormat")||this.computeColHeadFormat(),this.eventTimeFormat=b.opt("timeFormat")||this.computeEventTimeFormat(),this.displayEventEnd=b.opt("displayEventEnd"),null==this.displayEventEnd&&(this.displayEventEnd=this.computeDisplayEventEnd())},updateCells:function(){},rangeToSegs:function(a){},getCell:function(b,c){var d;return null==c&&("number"==typeof b?(c=b%this.colCnt,b=Math.floor(b/this.colCnt)):(c=b.col,b=b.row)),d={row:b,col:c},a.extend(d,this.getRowData(b),this.getColData(c)),a.extend(d,this.computeCellRange(d)),d},computeCellRange:function(a){},getRowData:function(a){return this.rowData[a]||{}},getColData:function(a){return this.colData[a]||{}},getRowEl:function(a){},getColEl:function(a){},getCellDayEl:function(a){return this.getColEl(a.col)||this.getRowEl(a.row)},computeRowCoords:function(){var a,b,c,d=[];for(a=0;a<this.rowCnt;a++)b=this.getRowEl(a),c={top:b.offset().top},a>0&&(d[a-1].bottom=c.top),d.push(c);return c.bottom=c.top+b.outerHeight(),d},computeColCoords:function(){var a,b,c,d=[];for(a=0;a<this.colCnt;a++)b=this.getColEl(a),c={left:b.offset().left},a>0&&(d[a-1].right=c.left),d.push(c);return c.right=c.left+b.outerWidth(),d},bindHandlers:function(){var b=this;this.el.on(m(),function(c){a(c.target).is(".fc-event-container *, .fc-more")||b.view.el.find(".fc-popover").length||a(c.target).closest(".fc-popover").length||b.dayMousedown(c)}),this.bindSegHandlers(),a(document).on("dragstart",this.documentDragStartProxy)},unbindHandlers:function(){a(document).off("dragstart",this.documentDragStartProxy)},dayMousedown:function(a){var b,c,d=this,e=this.view,f=e.opt("selectable"),g=new Za(this.coordMap,{scroll:e.opt("dragScroll"),dragStart:function(){e.unselect()},cellOver:function(a,e){var h=g.origCell;h&&(b=e?a:null,f&&(c=d.computeSelection(h,a),c?d.renderSelection(c):i()))},cellOut:function(a){b=null,c=null,d.destroySelection(),j()},listenStop:function(a){b&&(a.preventDefault(),e.trigger("dayClick",d.getCellDayEl(b),b.start,a)),c&&e.reportSelection(c,a),j()}});g.mousedown(a)},renderRangeHelper:function(a,b){var c;c=b?F(b.event):{},c.start=a.start.clone(),c.end=a.end?a.end.clone():null,c.allDay=null,this.view.calendar.normalizeEventDateProps(c),c.className=(c.className||[]).concat("fc-helper"),b||(c.editable=!1),this.renderHelper(c,b)},renderHelper:function(a,b){},destroyHelper:function(){},renderSelection:function(a){this.renderHighlight(a)},destroySelection:function(){this.destroyHighlight()},computeSelection:function(a,b){var c,d=[a.start,a.end,b.start,b.end];return d.sort(O),c={start:d[0].clone(),end:d[3].clone()},this.view.calendar.isSelectionRangeAllowed(c)?c:null},renderHighlight:function(a){this.renderFill("highlight",this.rangeToSegs(a))},destroyHighlight:function(){this.destroyFill("highlight")},highlightSegClasses:function(){return["fc-highlight"]},renderFill:function(a,b){},destroyFill:function(a){var b=this.elsByFill[a];b&&(b.remove(),delete this.elsByFill[a])},renderFillSegEls:function(b,c){var d,e=this,f=this[b+"SegEl"],g="",h=[];if(c.length){for(d=0;d<c.length;d++)g+=this.fillSegHtml(b,c[d]);a(g).each(function(b,d){var g=c[b],i=a(d);f&&(i=f.call(e,g,i)),i&&(i=a(i),i.is(e.fillSegTag)&&(g.el=i,h.push(g)))})}return h},fillSegTag:"div",fillSegHtml:function(a,b){var c=this[a+"SegClasses"],d=this[a+"SegStyles"],e=c?c.call(this,b):[],f=d?d.call(this,b):"";return"<"+this.fillSegTag+(e.length?' class="'+e.join(" ")+'"':"")+(f?' style="'+f+'"':"")+" />"},headHtml:function(){return'<div class="fc-row '+this.view.widgetHeaderClass+'"><table><thead>'+this.rowHtml("head")+"</thead></table></div>"},headCellHtml:function(a){var b=this.view,c=a.start;return'<th class="fc-day-header '+b.widgetHeaderClass+" fc-"+Ma[c.day()]+'">'+L(c.format(this.colHeadFormat))+"</th>"},bgCellHtml:function(a){var b=this.view,c=a.start,d=this.getDayClasses(c);return d.unshift("fc-day",b.widgetContentClass),'<td class="'+d.join(" ")+'" data-date="'+c.format("YYYY-MM-DD")+'"></td>'},getDayClasses:function(a){var b=this.view,c=b.calendar.getNow().stripTime(),d=["fc-"+Ma[a.day()]];return"month"===b.name&&a.month()!=b.intervalStart.month()&&d.push("fc-other-month"),a.isSame(c,"day")?d.push("fc-today",b.highlightStateClass):c>a?d.push("fc-past"):d.push("fc-future"),d}});ab.mixin({mousedOverSeg:null,isDraggingSeg:!1,isResizingSeg:!1,segs:null,renderEvents:function(a){var b,c,d=this.eventsToSegs(a),e=[],f=[];for(b=0;b<d.length;b++)c=d[b],ea(c.event)?e.push(c):f.push(c);e=this.renderBgSegs(e)||e,f=this.renderFgSegs(f)||f,this.segs=e.concat(f)},destroyEvents:function(){this.triggerSegMouseout(),this.destroyFgSegs(),this.destroyBgSegs(),this.segs=null},getEventSegs:function(){return this.segs||[]},renderFgSegs:function(a){},destroyFgSegs:function(){},renderFgSegEls:function(b,c){var d,e=this.view,f="",g=[];if(b.length){for(d=0;d<b.length;d++)f+=this.fgSegHtml(b[d],c);a(f).each(function(c,d){var f=b[c],h=e.resolveEventEl(f.event,a(d));h&&(h.data("fc-seg",f),f.el=h,g.push(f))})}return g},fgSegHtml:function(a,b){},renderBgSegs:function(a){return this.renderFill("bgEvent",a)},destroyBgSegs:function(){this.destroyFill("bgEvent")},bgEventSegEl:function(a,b){return this.view.resolveEventEl(a.event,b)},bgEventSegClasses:function(a){var b=a.event,c=b.source||{};return["fc-bgevent"].concat(b.className,c.className||[])},bgEventSegStyles:function(a){var b=this.view,c=a.event,d=c.source||{},e=c.color,f=d.color,g=b.opt("eventColor"),h=c.backgroundColor||e||d.backgroundColor||f||b.opt("eventBackgroundColor")||g;return h?"background-color:"+h:""},businessHoursSegClasses:function(a){return["fc-nonbusiness","fc-bgevent"]},bindSegHandlers:function(){var b=this,c=this.view,d={};d.mouseenter=function(a,c){b.triggerSegMouseover(a,c)},d.mouseleave=function(a,c){b.triggerSegMouseout(a,c)},d.click=function(a,b){return c.trigger("eventClick",this,a.event,b)},d[m()]=function(d,e){a(e.target).is(".fc-resizer")&&c.isEventResizable(d.event)?b.segResizeMousedown(d,e):!c.isEventDraggable(d.event)||k(e)&&!La||b.segDragMousedown(d,e)},a.each(d,function(c,d){b.el.on(c,".fc-event-container > *",function(c){var e=a(this).data("fc-seg");return!e||b.isDraggingSeg||b.isResizingSeg?void 0:d.call(this,e,c)})})},triggerSegMouseover:function(a,b){this.mousedOverSeg||(this.mousedOverSeg=a,this.view.trigger("eventMouseover",a.el[0],a.event,b))},triggerSegMouseout:function(a,b){b=b||{},this.mousedOverSeg&&(a=a||this.mousedOverSeg,this.mousedOverSeg=null,this.view.trigger("eventMouseout",a.el[0],a.event,b))},segDragMousedown:function(a,b){var c,d=this,e=this.view,f=a.el,g=a.event,h=new $a(a.el,{parentEl:e.el,opacity:e.opt("dragOpacity"),revertDuration:e.opt("dragRevertDuration"),zIndex:2}),k=new Za(e.coordMap,{distance:5,scroll:e.opt("dragScroll"),listenStart:function(a){h.hide(),h.start(a)},dragStart:function(b){d.triggerSegMouseout(a,b),d.isDraggingSeg=!0,e.hideEvent(g),e.trigger("eventDragStart",f[0],g,b,{})},cellOver:function(b,f){var j=a.cell||k.origCell;c=d.computeEventDrop(j,b,g),c?(e.renderDrag(c,a)?h.hide():h.show(),f&&(c=null)):(h.show(),i())},cellOut:function(){c=null,e.destroyDrag(),h.show(),j()},dragStop:function(a){h.stop(!c,function(){d.isDraggingSeg=!1,e.destroyDrag(),e.showEvent(g),e.trigger("eventDragStop",f[0],g,a,{}),c&&e.reportEventDrop(g,c,f,a)}),j()},listenStop:function(){h.stop()}});k.mousedown(b)},computeEventDrop:function(a,b,c){var d,e,f,g,h,i=a.start,j=b.start;return i.hasTime()===j.hasTime()?(d=z(j,i),e=c.start.clone().add(d),f=null===c.end?null:c.end.clone().add(d),g=c.allDay):(e=j.clone(),f=null,g=!j.hasTime()),h={start:e,end:f,allDay:g},this.view.calendar.isEventRangeAllowed(h,c)?h:null},documentDragStart:function(b,c){var d,e,f=this.view;f.opt("droppable")&&(d=a(b.target),e=f.opt("dropAccept"),(a.isFunction(e)?e.call(d[0],d):d.is(e))&&this.startExternalDrag(d,b,c))},startExternalDrag:function(b,c,d){var e,f,g=this,h=ka(b);e=new Za(this.coordMap,{cellOver:function(a){f=g.computeExternalDrop(a,h),f?g.renderDrag(f):i()},cellOut:function(){f=null,g.destroyDrag(),j()}}),a(document).one("dragstop",function(a,c){g.destroyDrag(),j(),f&&g.view.reportExternalDrop(h,f,b,a,c)}),e.startDrag(c)},computeExternalDrop:function(a,b){var c={start:a.start.clone(),end:null};return b.startTime&&!c.start.hasTime()&&c.start.time(b.startTime),b.duration&&(c.end=c.start.clone().add(b.duration)),this.view.calendar.isExternalDropRangeAllowed(c,b.eventProps)?c:null},renderDrag:function(a,b){},destroyDrag:function(){},segResizeMousedown:function(a,b){function c(){f.destroyEventResize(),g.showEvent(l),j()}var d,e,f=this,g=this.view,h=g.calendar,k=a.el,l=a.event,m=l.start,n=h.getEventEnd(l);e=new Za(this.coordMap,{distance:5,scroll:g.opt("dragScroll"),dragStart:function(b){f.triggerSegMouseout(a,b),f.isResizingSeg=!0,g.trigger("eventResizeStart",k[0],l,b,{})},cellOver:function(b){d=b.end,d.isAfter(m)||(d=m.clone().add(z(b.end,b.start))),d.isSame(n)?d=null:h.isEventRangeAllowed({start:m,end:d},l)?(f.renderEventResize({start:m,end:d},a),g.hideEvent(l)):(d=null,i())},cellOut:function(){d=null,c()},dragStop:function(a){f.isResizingSeg=!1,c(),g.trigger("eventResizeStop",k[0],l,a,{}),d&&g.reportEventResize(l,d,k,a)}}),e.mousedown(b)},renderEventResize:function(a,b){},destroyEventResize:function(){},getEventTimeText:function(a,b){return b=b||this.eventTimeFormat,a.end&&this.displayEventEnd?this.view.formatRange(a,b):a.start.format(b)},getSegClasses:function(a,b,c){var d=a.event,e=["fc-event",a.isStart?"fc-start":"fc-not-start",a.isEnd?"fc-end":"fc-not-end"].concat(d.className,d.source?d.source.className:[]);return b&&e.push("fc-draggable"),c&&e.push("fc-resizable"),e},getEventSkinCss:function(a){var b=this.view,c=a.source||{},d=a.color,e=c.color,f=b.opt("eventColor"),g=a.backgroundColor||d||c.backgroundColor||e||b.opt("eventBackgroundColor")||f,h=a.borderColor||d||c.borderColor||e||b.opt("eventBorderColor")||f,i=a.textColor||c.textColor||b.opt("eventTextColor"),j=[];return g&&j.push("background-color:"+g),h&&j.push("border-color:"+h),i&&j.push("color:"+i),j.join(";")},eventsToSegs:function(a,b){var c,d=this.eventsToRanges(a),e=[];for(c=0;c<d.length;c++)e.push.apply(e,this.eventRangeToSegs(d[c],b));return e},eventsToRanges:function(b){var c=this,d=ha(b),e=[];return a.each(d,function(a,b){b.length&&e.push.apply(e,fa(b[0])?c.eventsToInverseRanges(b):c.eventsToNormalRanges(b))}),e},eventsToNormalRanges:function(a){var b,c,d,e,f=this.view.calendar,g=[];for(b=0;b<a.length;b++)c=a[b],d=c.start.clone().stripZone(),e=f.getEventEnd(c).stripZone(),g.push({event:c,start:d,end:e,eventStartMS:+d,eventDurationMS:e-d});return g},eventsToInverseRanges:function(a){var b,c,d=this.view,e=d.start.clone().stripZone(),f=d.end.clone().stripZone(),g=this.eventsToNormalRanges(a),h=[],i=a[0],j=e;for(g.sort(ia),b=0;b<g.length;b++)c=g[b],c.start>j&&h.push({event:i,start:j,end:c.start}),j=c.end;return f>j&&h.push({event:i,start:j,end:f}),h},eventRangeToSegs:function(a,b){var c,d,e;for(c=b?b(a):this.rangeToSegs(a),d=0;d<c.length;d++)e=c[d],e.event=a.event,e.eventStartMS=a.eventStartMS,e.eventDurationMS=a.eventDurationMS;return c}}),Ca.compareSegs=ja,Ca.dataAttrPrefix="";var bb=ab.extend({numbersVisible:!1,bottomCoordPadding:0,breakOnWeeks:null,cellDates:null,dayToCellOffsets:null,rowEls:null,dayEls:null,helperEls:null,render:function(a){var b,c,d,e=this.view,f=this.rowCnt,g=this.colCnt,h=f*g,i="";for(b=0;f>b;b++)i+=this.dayRowHtml(b,a);for(this.el.html(i),this.rowEls=this.el.find(".fc-row"),this.dayEls=this.el.find(".fc-day"),c=0;h>c;c++)d=this.getCell(c),e.trigger("dayRender",null,d.start,this.dayEls.eq(c));ab.prototype.render.call(this)},destroy:function(){this.destroySegPopover(),ab.prototype.destroy.call(this)},dayRowHtml:function(a,b){var c=this.view,d=["fc-row","fc-week",c.widgetContentClass];return b&&d.push("fc-rigid"),'<div class="'+d.join(" ")+'"><div class="fc-bg"><table>'+this.rowHtml("day",a)+'</table></div><div class="fc-content-skeleton"><table>'+(this.numbersVisible?"<thead>"+this.rowHtml("number",a)+"</thead>":"")+"</table></div></div>"},dayCellHtml:function(a){return this.bgCellHtml(a)},computeColHeadFormat:function(){return this.rowCnt>1?"ddd":this.colCnt>1?this.view.opt("dayOfMonthFormat"):"dddd"},computeEventTimeFormat:function(){return this.view.opt("extraSmallTimeFormat")},computeDisplayEventEnd:function(){return 1==this.colCnt},updateCells:function(){var a,b,c,d;if(this.updateCellDates(),a=this.cellDates,this.breakOnWeeks){for(b=a[0].day(),d=1;d<a.length&&a[d].day()!=b;d++);c=Math.ceil(a.length/d)}else c=1,d=a.length;this.rowCnt=c,this.colCnt=d},updateCellDates:function(){for(var a=this.view,b=this.start.clone(),c=[],d=-1,e=[];b.isBefore(this.end);)a.isHiddenDay(b)?e.push(d+.5):(d++,e.push(d),c.push(b.clone())),b.add(1,"days");this.cellDates=c,this.dayToCellOffsets=e},computeCellRange:function(a){var b=this.colCnt,c=a.row*b+(this.isRTL?b-a.col-1:a.col),d=this.cellDates[c].clone(),e=d.clone().add(1,"day");return{start:d,end:e}},getRowEl:function(a){return this.rowEls.eq(a)},getColEl:function(a){return this.dayEls.eq(a)},getCellDayEl:function(a){return this.dayEls.eq(a.row*this.colCnt+a.col)},computeRowCoords:function(){var a=ab.prototype.computeRowCoords.call(this);return a[a.length-1].bottom+=this.bottomCoordPadding,a},rangeToSegs:function(a){var b,c,d,e,f,g,h,i,j,k,l=this.isRTL,m=this.rowCnt,n=this.colCnt,o=[];for(a=this.view.computeDayRange(a),b=this.dateToCellOffset(a.start),c=this.dateToCellOffset(a.end.subtract(1,"days")),d=0;m>d;d++)e=d*n,f=e+n-1,i=Math.max(e,b),j=Math.min(f,c),i=Math.ceil(i),j=Math.floor(j),j>=i&&(g=i===b,h=j===c,i-=e,j-=e,k={row:d,isStart:g,isEnd:h},l?(k.leftCol=n-j-1,k.rightCol=n-i-1):(k.leftCol=i,k.rightCol=j),o.push(k));return o},dateToCellOffset:function(a){var b=this.dayToCellOffsets,c=a.diff(this.start,"days");return 0>c?b[0]-1:c>=b.length?b[b.length-1]+1:b[c]},renderDrag:function(a,b){var c;return this.renderHighlight(this.view.calendar.ensureVisibleEventRange(a)),b&&!b.el.closest(this.el).length?(this.renderRangeHelper(a,b),c=this.view.opt("dragOpacity"),void 0!==c&&this.helperEls.css("opacity",c),!0):void 0},destroyDrag:function(){this.destroyHighlight(),this.destroyHelper()},renderEventResize:function(a,b){this.renderHighlight(a),this.renderRangeHelper(a,b)},destroyEventResize:function(){this.destroyHighlight(),this.destroyHelper()},renderHelper:function(b,c){var d,e=[],f=this.eventsToSegs([b]);f=this.renderFgSegEls(f),d=this.renderSegRows(f),this.rowEls.each(function(b,f){var g,h=a(f),i=a('<div class="fc-helper-skeleton"><table/></div>');g=c&&c.row===b?c.el.position().top:h.find(".fc-content-skeleton tbody").position().top,i.css("top",g).find("table").append(d[b].tbodyEl),h.append(i),e.push(i[0])}),this.helperEls=a(e)},destroyHelper:function(){this.helperEls&&(this.helperEls.remove(),this.helperEls=null)},fillSegTag:"td",renderFill:function(b,c){var d,e,f,g=[];for(c=this.renderFillSegEls(b,c),d=0;d<c.length;d++)e=c[d],f=this.renderFillRow(b,e),this.rowEls.eq(e.row).append(f),g.push(f[0]);return this.elsByFill[b]=a(g),c},renderFillRow:function(b,c){var d,e,f=this.colCnt,g=c.leftCol,h=c.rightCol+1;return d=a('<div class="fc-'+b.toLowerCase()+'-skeleton"><table><tr/></table></div>'),e=d.find("tr"),g>0&&e.append('<td colspan="'+g+'"/>'),e.append(c.el.attr("colspan",h-g)),f>h&&e.append('<td colspan="'+(f-h)+'"/>'),this.bookendCells(e,b),d}});bb.mixin({rowStructs:null,destroyEvents:function(){this.destroySegPopover(),ab.prototype.destroyEvents.apply(this,arguments)},getEventSegs:function(){return ab.prototype.getEventSegs.call(this).concat(this.popoverSegs||[])},renderBgSegs:function(b){var c=a.grep(b,function(a){return a.event.allDay});return ab.prototype.renderBgSegs.call(this,c)},renderFgSegs:function(b){var c;return b=this.renderFgSegEls(b),c=this.rowStructs=this.renderSegRows(b),this.rowEls.each(function(b,d){a(d).find(".fc-content-skeleton > table").append(c[b].tbodyEl)}),b},destroyFgSegs:function(){for(var a,b=this.rowStructs||[];a=b.pop();)a.tbodyEl.remove();this.rowStructs=null},renderSegRows:function(a){var b,c,d=[];for(b=this.groupSegRows(a),c=0;c<b.length;c++)d.push(this.renderSegRow(c,b[c]));return d},fgSegHtml:function(a,b){var c,d=this.view,e=a.event,f=d.isEventDraggable(e),g=!b&&e.allDay&&a.isEnd&&d.isEventResizable(e),h=this.getSegClasses(a,f,g),i=this.getEventSkinCss(e),j="";h.unshift("fc-day-grid-event"),!e.allDay&&a.isStart&&(j='<span class="fc-time">'+L(this.getEventTimeText(e))+"</span>");var k='<span class="eo-fullcalendar-screen-reader-text screen-reader-text"> '+L(this.getEventTimeText(e,"dddd, MMMM Do YYYY"))+" </span>";return c='<span class="fc-title">'+(L(e.title||"")||"&nbsp;")+"</span>",'<a class="'+h.join(" ")+'"'+(e.url?' href="'+L(e.url)+'"':"")+(i?' style="'+i+'"':"")+'><div class="fc-content">'+(this.isRTL?c+" "+j+k:k+j+" "+c)+"</div>"+(g?'<div class="fc-resizer"/>':"")+"</a>"},renderSegRow:function(b,c){function d(b){for(;b>g;)k=(r[e-1]||[])[g],k?k.attr("rowspan",parseInt(k.attr("rowspan")||1,10)+1):(k=a("<td/>"),h.append(k)),q[e][g]=k,r[e][g]=k,g++}var e,f,g,h,i,j,k,l=this.colCnt,m=this.buildSegLevels(c),n=Math.max(1,m.length),o=a("<tbody/>"),p=[],q=[],r=[];for(e=0;n>e;e++){if(f=m[e],g=0,h=a("<tr/>"),p.push([]),q.push([]),r.push([]),f)for(i=0;i<f.length;i++){for(j=f[i],d(j.leftCol),k=a('<td class="fc-event-container"/>').append(j.el),j.leftCol!=j.rightCol?k.attr("colspan",j.rightCol-j.leftCol+1):r[e][g]=k;g<=j.rightCol;)q[e][g]=k,p[e][g]=j,g++;h.append(k)}d(l),this.bookendCells(h,"eventSkeleton"),o.append(h)}return{row:b,tbodyEl:o,cellMatrix:q,segMatrix:p,segLevels:m,segs:c}},buildSegLevels:function(a){var b,c,d,e=[];for(a.sort(ja),b=0;b<a.length;b++){for(c=a[b],d=0;d<e.length&&la(c,e[d]);d++);c.level=d,(e[d]||(e[d]=[])).push(c)}for(d=0;d<e.length;d++)e[d].sort(ma);return e},groupSegRows:function(a){var b,c=[];for(b=0;b<this.rowCnt;b++)c.push([]);for(b=0;b<a.length;b++)c[a[b].row].push(a[b]);return c}}),bb.mixin({segPopover:null,popoverSegs:null,destroySegPopover:function(){this.segPopover&&this.segPopover.hide()},limitRows:function(a){var b,c,d=this.rowStructs||[];for(b=0;b<d.length;b++)this.unlimitRow(b),c=a?"number"==typeof a?a:this.computeRowLevelLimit(b):!1,c!==!1&&this.limitRow(b,c)},computeRowLevelLimit:function(a){var b,c,d=this.rowEls.eq(a),e=d.height(),f=this.rowStructs[a].tbodyEl.children();for(b=0;b<f.length;b++)if(c=f.eq(b).removeClass("fc-limited"),c.position().top+c.outerHeight()>e)return b;return!1},limitRow:function(b,c){function d(d){for(;d>x;)e=u.getCell(b,x),k=u.getCellSegs(e,c),k.length&&(n=g[c-1][x],t=u.renderMoreLink(e,k),s=a("<div/>").append(t),n.append(s),w.push(s[0])),x++}var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u=this,v=this.rowStructs[b],w=[],x=0;if(c&&c<v.segLevels.length){for(f=v.segLevels[c-1],g=v.cellMatrix,h=v.tbodyEl.children().slice(c).addClass("fc-limited").get(),i=0;i<f.length;i++){for(j=f[i],d(j.leftCol),m=[],l=0;x<=j.rightCol;)e=this.getCell(b,x),k=this.getCellSegs(e,c),m.push(k),l+=k.length,x++;if(l){for(n=g[c-1][j.leftCol],o=n.attr("rowspan")||1,p=[],q=0;q<m.length;q++)r=a('<td class="fc-more-cell"/>').attr("rowspan",o),k=m[q],e=this.getCell(b,j.leftCol+q),t=this.renderMoreLink(e,[j].concat(k)),s=a("<div/>").append(t),r.append(s),p.push(r[0]),w.push(r[0]);n.addClass("fc-limited").after(a(p)),h.push(n[0])}}d(this.colCnt),v.moreEls=a(w),v.limitedEls=a(h)}},unlimitRow:function(a){var b=this.rowStructs[a];b.moreEls&&(b.moreEls.remove(),b.moreEls=null),b.limitedEls&&(b.limitedEls.removeClass("fc-limited"),b.limitedEls=null)},renderMoreLink:function(b,c){var d=this,e=this.view;return a('<a class="fc-more"/>').text(this.getMoreLinkText(c.length)).on("click",function(f){var g=e.opt("eventLimitClick"),h=b.start,i=a(this),j=d.getCellDayEl(b),k=d.getCellSegs(b),l=d.resliceDaySegs(k,h),m=d.resliceDaySegs(c,h);"function"==typeof g&&(g=e.trigger("eventLimitClick",null,{date:h,dayEl:j,moreEl:i,segs:l,hiddenSegs:m},f)),"popover"===g?d.showSegPopover(b,i,l):"string"==typeof g&&e.calendar.zoomTo(h,g)})},showSegPopover:function(a,b,c){var d,e,f=this,g=this.view,h=b.parent();d=1==this.rowCnt?g.el:this.rowEls.eq(a.row),e={className:"fc-more-popover",content:this.renderSegPopoverContent(a,c),parentEl:this.el,top:d.offset().top,autoHide:!0,viewportConstrain:g.opt("popoverViewportConstrain"),hide:function(){f.segPopover.destroy(),f.segPopover=null,f.popoverSegs=null}},this.isRTL?e.right=h.offset().left+h.outerWidth()+1:e.left=h.offset().left-1,this.segPopover=new Wa(e),this.segPopover.show()},renderSegPopoverContent:function(b,c){var d,e=this.view,f=e.opt("theme"),g=b.start.format(e.opt("dayPopoverFormat")),h=a('<div class="fc-header '+e.widgetHeaderClass+'"><span class="fc-close '+(f?"ui-icon ui-icon-closethick":"fc-icon fc-icon-x")+'"></span><span class="fc-title">'+L(g)+'</span><div class="fc-clear"/></div><div class="fc-body '+e.widgetContentClass+'"><div class="fc-event-container"></div></div>'),i=h.find(".fc-event-container");for(c=this.renderFgSegEls(c,!0),this.popoverSegs=c,d=0;d<c.length;d++)c[d].cell=b,i.append(c[d].el);return h},resliceDaySegs:function(b,c){var d=a.map(b,function(a){return a.event}),e=c.clone().stripTime(),f=e.clone().add(1,"days"),g={start:e,end:f};return this.eventsToSegs(d,function(a){var b=x(a,g);return b?[b]:[]})},getMoreLinkText:function(a){var b=this.view.opt("eventLimitText");return"function"==typeof b?b(a):"+"+a+" "+b},getCellSegs:function(a,b){for(var c,d=this.rowStructs[a.row].segMatrix,e=b||0,f=[];e<d.length;)c=d[e][a.col],c&&f.push(c),e++;return f}});var cb=ab.extend({slotDuration:null,snapDuration:null,minTime:null,maxTime:null,axisFormat:null,dayEls:null,slatEls:null,slatTops:null,helperEl:null,businessHourSegs:null,constructor:function(){ab.apply(this,arguments),this.processOptions()},render:function(){this.el.html(this.renderHtml()),this.dayEls=this.el.find(".fc-day"),this.slatEls=this.el.find(".fc-slats tr"),this.computeSlatTops(),this.renderBusinessHours(),ab.prototype.render.call(this)},renderBusinessHours:function(){var a=this.view.calendar.getBusinessHoursEvents();this.businessHourSegs=this.renderFill("businessHours",this.eventsToSegs(a),"bgevent")},renderHtml:function(){return'<div class="fc-bg"><table>'+this.rowHtml("slotBg")+'</table></div><div class="fc-slats"><table>'+this.slatRowHtml()+"</table></div>"},slotBgCellHtml:function(a){return this.bgCellHtml(a)},slatRowHtml:function(){for(var a,c,d,e=this.view,f=this.isRTL,g="",h=this.slotDuration.asMinutes()%15===0,i=b.duration(+this.minTime);i<this.maxTime;)a=this.start.clone().time(i),
4
  c=a.minutes(),d='<td class="fc-axis fc-time '+e.widgetContentClass+'" '+e.axisStyleAttr()+">"+(h&&c?"":"<span>"+L(a.format(this.axisFormat))+"</span>")+"</td>",g+="<tr "+(c?'class="fc-minor"':"")+">"+(f?"":d)+'<td class="'+e.widgetContentClass+'"/>'+(f?d:"")+"</tr>",i.add(this.slotDuration);return g},processOptions:function(){var a=this.view,c=a.opt("slotDuration"),d=a.opt("snapDuration");c=b.duration(c),d=d?b.duration(d):c,this.slotDuration=c,this.snapDuration=d,this.minTime=b.duration(a.opt("minTime")),this.maxTime=b.duration(a.opt("maxTime")),this.axisFormat=a.opt("axisFormat")||a.opt("smallTimeFormat")},computeColHeadFormat:function(){return this.colCnt>1?this.view.opt("dayOfMonthFormat"):"dddd"},computeEventTimeFormat:function(){return this.view.opt("noMeridiemTimeFormat")},computeDisplayEventEnd:function(){return!0},updateCells:function(){var a,b=this.view,c=[];for(a=this.start.clone();a.isBefore(this.end);)c.push({day:a.clone()}),a.add(1,"day"),a=b.skipHiddenDays(a);this.isRTL&&c.reverse(),this.colData=c,this.colCnt=c.length,this.rowCnt=Math.ceil((this.maxTime-this.minTime)/this.snapDuration)},computeCellRange:function(a){var b=this.computeSnapTime(a.row),c=this.view.calendar.rezoneDate(a.day).time(b),d=c.clone().add(this.snapDuration);return{start:c,end:d}},getColEl:function(a){return this.dayEls.eq(a)},computeSnapTime:function(a){return b.duration(this.minTime+this.snapDuration*a)},rangeToSegs:function(a){var b,c,d,e,f=this.colCnt,g=[];for(a={start:a.start.clone().stripZone(),end:a.end.clone().stripZone()},c=0;f>c;c++)d=this.colData[c].day,e={start:d.clone().time(this.minTime),end:d.clone().time(this.maxTime)},b=x(a,e),b&&(b.col=c,g.push(b));return g},resize:function(){this.computeSlatTops(),this.updateSegVerticals()},computeRowCoords:function(){var a,b,c=this.el.offset().top,d=[];for(a=0;a<this.rowCnt;a++)b={top:c+this.computeTimeTop(this.computeSnapTime(a))},a>0&&(d[a-1].bottom=b.top),d.push(b);return b.bottom=b.top+this.computeTimeTop(this.computeSnapTime(a)),d},computeDateTop:function(a,c){return this.computeTimeTop(b.duration(a.clone().stripZone()-c.clone().stripTime()))},computeTimeTop:function(a){var b,c,d,e,f=(a-this.minTime)/this.slotDuration;return f=Math.max(0,f),f=Math.min(this.slatEls.length,f),b=Math.floor(f),c=f-b,d=this.slatTops[b],c?(e=this.slatTops[b+1],d+(e-d)*c):d},computeSlatTops:function(){var b,c=[];this.slatEls.each(function(d,e){b=a(e).position().top,c.push(b)}),c.push(b+this.slatEls.last().outerHeight()),this.slatTops=c},renderDrag:function(a,b){var c;return b?(this.renderRangeHelper(a,b),c=this.view.opt("dragOpacity"),void 0!==c&&this.helperEl.css("opacity",c),!0):void this.renderHighlight(this.view.calendar.ensureVisibleEventRange(a))},destroyDrag:function(){this.destroyHelper(),this.destroyHighlight()},renderEventResize:function(a,b){this.renderRangeHelper(a,b)},destroyEventResize:function(){this.destroyHelper()},renderHelper:function(b,c){var d,e,f,g,h=this.eventsToSegs([b]);for(h=this.renderFgSegEls(h),d=this.renderSegTable(h),e=0;e<h.length;e++)f=h[e],c&&c.col===f.col&&(g=c.el,f.el.css({left:g.css("left"),right:g.css("right"),"margin-left":g.css("margin-left"),"margin-right":g.css("margin-right")}));this.helperEl=a('<div class="fc-helper-skeleton"/>').append(d).appendTo(this.el)},destroyHelper:function(){this.helperEl&&(this.helperEl.remove(),this.helperEl=null)},renderSelection:function(a){this.view.opt("selectHelper")?this.renderRangeHelper(a):this.renderHighlight(a)},destroySelection:function(){this.destroyHelper(),this.destroyHighlight()},renderFill:function(b,c,d){var e,f,g,h,i,j,k,l,m,n;if(c.length){for(c=this.renderFillSegEls(b,c),e=this.groupSegCols(c),d=d||b.toLowerCase(),f=a('<div class="fc-'+d+'-skeleton"><table><tr/></table></div>'),g=f.find("tr"),h=0;h<e.length;h++)if(i=e[h],j=a("<td/>").appendTo(g),i.length)for(k=a('<div class="fc-'+d+'-container"/>').appendTo(j),l=this.colData[h].day,m=0;m<i.length;m++)n=i[m],k.append(n.el.css({top:this.computeDateTop(n.start,l),bottom:-this.computeDateTop(n.end,l)}));this.bookendCells(g,b),this.el.append(f),this.elsByFill[b]=f}return c}});cb.mixin({eventSkeletonEl:null,renderFgSegs:function(b){return b=this.renderFgSegEls(b),this.el.append(this.eventSkeletonEl=a('<div class="fc-content-skeleton"/>').append(this.renderSegTable(b))),b},destroyFgSegs:function(a){this.eventSkeletonEl&&(this.eventSkeletonEl.remove(),this.eventSkeletonEl=null)},renderSegTable:function(b){var c,d,e,f,g,h,i=a("<table><tr/></table>"),j=i.find("tr");for(c=this.groupSegCols(b),this.computeSegVerticals(b),f=0;f<c.length;f++){for(g=c[f],na(g),h=a('<div class="fc-event-container"/>'),d=0;d<g.length;d++)e=g[d],e.el.css(this.generateSegPositionCss(e)),e.bottom-e.top<30&&e.el.addClass("fc-short"),h.append(e.el);j.append(a("<td/>").append(h))}return this.bookendCells(j,"eventSkeleton"),i},updateSegVerticals:function(){var a,b=(this.segs||[]).concat(this.businessHourSegs||[]);for(this.computeSegVerticals(b),a=0;a<b.length;a++)b[a].el.css(this.generateSegVerticalCss(b[a]))},computeSegVerticals:function(a){var b,c;for(b=0;b<a.length;b++)c=a[b],c.top=this.computeDateTop(c.start,c.start),c.bottom=this.computeDateTop(c.end,c.start)},fgSegHtml:function(a,b){var c,d,e,f=this.view,g=a.event,h=f.isEventDraggable(g),i=!b&&a.isEnd&&f.isEventResizable(g),j=this.getSegClasses(a,h,i),k=this.getEventSkinCss(g);return j.unshift("fc-time-grid-event"),f.isMultiDayEvent(g)?(a.isStart||a.isEnd)&&(c=this.getEventTimeText(a),d=this.getEventTimeText(a,"LT"),e=this.getEventTimeText({start:a.start})):(c=this.getEventTimeText(g),d=this.getEventTimeText(g,"LT"),e=this.getEventTimeText({start:g.start})),'<a class="'+j.join(" ")+'"'+(g.url?' href="'+L(g.url)+'"':"")+(k?' style="'+k+'"':"")+'><div class="fc-content">'+(c?'<div class="fc-time" data-start="'+L(e)+'" data-full="'+L(d)+'"><span>'+L(c)+"</span></div>":"")+(g.title?'<div class="fc-title">'+L(g.title)+"</div>":"")+'</div><div class="fc-bg"/>'+(i?'<div class="fc-resizer"/>':"")+"</a>"},generateSegPositionCss:function(a){var b,c,d=this.view.opt("slotEventOverlap"),e=a.backwardCoord,f=a.forwardCoord,g=this.generateSegVerticalCss(a);return d&&(f=Math.min(1,e+2*(f-e))),this.isRTL?(b=1-f,c=e):(b=e,c=1-f),g.zIndex=a.level+1,g.left=100*b+"%",g.right=100*c+"%",d&&a.forwardPressure&&(g[this.isRTL?"marginLeft":"marginRight"]=20),g},generateSegVerticalCss:function(a){return{top:a.top,bottom:-a.bottom}},groupSegCols:function(a){var b,c=[];for(b=0;b<this.colCnt;b++)c.push([]);for(b=0;b<a.length;b++)c[a[b].col].push(a[b]);return c}});var db=Ca.View=ca.extend({type:null,name:null,title:null,calendar:null,options:null,coordMap:null,el:null,start:null,end:null,intervalStart:null,intervalEnd:null,intervalDuration:null,intervalUnit:null,isSelected:!1,scrollerEl:null,scrollTop:null,widgetHeaderClass:null,widgetContentClass:null,highlightStateClass:null,nextDayThreshold:null,isHiddenDayHash:null,documentMousedownProxy:null,constructor:function(c,d,e){this.calendar=c,this.options=d,this.type=this.name=e,this.nextDayThreshold=b.duration(this.opt("nextDayThreshold")),this.initTheming(),this.initHiddenDays(),this.documentMousedownProxy=a.proxy(this,"documentMousedown"),this.initialize()},initialize:function(){},opt:function(b){var c;return c=this.options[b],void 0!==c?c:(c=this.calendar.options[b],a.isPlainObject(c)&&!e(b)?y(c,this.type):c)},trigger:function(a,b){var c=this.calendar;return c.trigger.apply(c,[a,b||this].concat(Array.prototype.slice.call(arguments,2),[this]))},setDate:function(a){this.setRange(this.computeRange(a))},setRange:function(b){a.extend(this,b),this.updateTitle()},computeRange:function(a){var c,d,e=b.duration(this.opt("duration")||this.constructor.duration||{days:1}),f=B(e),g=a.clone().startOf(f),h=g.clone().add(e);return/year|month|week|day/.test(f)?(g.stripTime(),h.stripTime()):(g.hasTime()||(g=this.calendar.rezoneDate(g)),h.hasTime()||(h=this.calendar.rezoneDate(h))),c=g.clone(),c=this.skipHiddenDays(c),d=h.clone(),d=this.skipHiddenDays(d,-1,!0),{intervalDuration:e,intervalUnit:f,intervalStart:g,intervalEnd:h,start:c,end:d}},computePrevDate:function(a){return this.massageCurrentDate(a.clone().startOf(this.intervalUnit).subtract(this.intervalDuration),-1)},computeNextDate:function(a){return this.massageCurrentDate(a.clone().startOf(this.intervalUnit).add(this.intervalDuration))},massageCurrentDate:function(a,c){return this.intervalDuration<=b.duration({days:1})&&this.isHiddenDay(a)&&(a=this.skipHiddenDays(a,c),a.startOf("day")),a},updateTitle:function(){this.title=this.computeTitle()},computeTitle:function(){return this.formatRange({start:this.intervalStart,end:this.intervalEnd},this.opt("titleFormat")||this.computeTitleFormat(),this.opt("titleRangeSeparator"))},computeTitleFormat:function(){return"year"==this.intervalUnit?"YYYY":"month"==this.intervalUnit?this.opt("monthYearFormat"):this.intervalDuration.as("days")>1?"ll":"LL"},formatRange:function(a,b,c){var d=a.end;return d.hasTime()||(d=d.clone().subtract(1)),Z(a.start,d,b,c,this.opt("isRTL"))},renderView:function(){this.render(),this.updateSize(),this.initializeScroll(),this.trigger("viewRender",this,this,this.el),a(document).on(m(),this.documentMousedownProxy)},render:function(){},destroyView:function(){this.unselect(),this.destroyViewEvents(),this.destroy(),this.trigger("viewDestroy",this,this,this.el),a(document).off(m(),this.documentMousedownProxy)},destroy:function(){this.el.empty()},initTheming:function(){var a=this.opt("theme")?"ui":"fc";this.widgetHeaderClass=a+"-widget-header",this.widgetContentClass=a+"-widget-content",this.highlightStateClass=a+"-state-highlight"},updateSize:function(a){a&&this.recordScroll(),this.updateHeight(),this.updateWidth()},updateWidth:function(){},updateHeight:function(){var a=this.calendar;this.setHeight(a.getSuggestedViewHeight(),a.isHeightAuto())},setHeight:function(a,b){},computeScrollerHeight:function(a,b){var c,d;return b=b||this.scrollerEl,c=this.el.add(b),c.css({position:"relative",left:-1}),d=this.el.outerHeight()-b.height(),c.css({position:"",left:""}),a-d},initializeScroll:function(){},recordScroll:function(){this.scrollerEl&&(this.scrollTop=this.scrollerEl.scrollTop())},restoreScroll:function(){null!==this.scrollTop&&this.scrollerEl.scrollTop(this.scrollTop)},renderViewEvents:function(a){this.renderEvents(a),this.eventSegEach(function(a){this.trigger("eventAfterRender",a.event,a.event,a.el)}),this.trigger("eventAfterAllRender")},renderEvents:function(){},destroyViewEvents:function(){this.eventSegEach(function(a){this.trigger("eventDestroy",a.event,a.event,a.el)}),this.destroyEvents()},destroyEvents:function(){},resolveEventEl:function(b,c){var d=this.trigger("eventRender",b,b,c);return d===!1?c=null:d&&d!==!0&&(c=a(d)),c},showEvent:function(a){this.eventSegEach(function(a){a.el.css("visibility","")},a)},hideEvent:function(a){this.eventSegEach(function(a){a.el.css("visibility","hidden")},a)},eventSegEach:function(a,b){var c,d=this.getEventSegs();for(c=0;c<d.length;c++)b&&d[c].event._id!==b._id||a.call(this,d[c])},getEventSegs:function(){return[]},isEventDraggable:function(a){var b=a.source||{};return K(a.startEditable,b.startEditable,this.opt("eventStartEditable"),a.editable,b.editable,this.opt("editable"))},reportEventDrop:function(a,b,c,d){var e=this.calendar,f=e.mutateEvent(a,b),g=function(){f.undo(),e.reportEventChange()};this.triggerEventDrop(a,f.dateDelta,g,c,d),e.reportEventChange()},triggerEventDrop:function(a,b,c,d,e){this.trigger("eventDrop",d[0],a,b,c,e,{})},reportExternalDrop:function(b,c,d,e,f){var g,h,i=b.eventProps;i&&(g=a.extend({},i,c),h=this.calendar.renderEvent(g,b.stick)[0]),this.triggerExternalDrop(h,c,d,e,f)},triggerExternalDrop:function(a,b,c,d,e){this.trigger("drop",c[0],b.start,d,e),a&&this.trigger("eventReceive",null,a)},renderDrag:function(a,b){},destroyDrag:function(){},isEventResizable:function(a){var b=a.source||{};return K(a.durationEditable,b.durationEditable,this.opt("eventDurationEditable"),a.editable,b.editable,this.opt("editable"))},reportEventResize:function(a,b,c,d){var e=this.calendar,f=e.mutateEvent(a,{end:b}),g=function(){f.undo(),e.reportEventChange()};this.triggerEventResize(a,f.durationDelta,g,c,d),e.reportEventChange()},triggerEventResize:function(a,b,c,d,e){this.trigger("eventResize",d[0],a,b,c,e,{})},select:function(a,b){this.unselect(b),this.renderSelection(a),this.reportSelection(a,b)},renderSelection:function(a){},reportSelection:function(a,b){this.isSelected=!0,this.trigger("select",null,a.start,a.end,b)},unselect:function(a){this.isSelected&&(this.isSelected=!1,this.destroySelection(),this.trigger("unselect",null,a))},destroySelection:function(){},documentMousedown:function(b){var c;this.isSelected&&this.opt("unselectAuto")&&w(b)&&(c=this.opt("unselectCancel"),c&&a(b.target).closest(c).length||this.unselect(b))},initHiddenDays:function(){var b,c=this.opt("hiddenDays")||[],d=[],e=0;for(this.opt("weekends")===!1&&c.push(0,6),b=0;7>b;b++)(d[b]=-1!==a.inArray(b,c))||e++;if(!e)throw"invalid hiddenDays";this.isHiddenDayHash=d},isHiddenDay:function(a){return b.isMoment(a)&&(a=a.day()),this.isHiddenDayHash[a]},skipHiddenDays:function(a,b,c){var d=a.clone();for(b=b||1;this.isHiddenDayHash[(d.day()+(c?b:0)+7)%7];)d.add(b,"days");return d},computeDayRange:function(a){var b,c=a.start.clone().stripTime(),d=a.end,e=null;return d&&(e=d.clone().stripTime(),b=+d.time(),b&&b>=this.nextDayThreshold&&e.add(1,"days")),(!d||c>=e)&&(e=c.clone().add(1,"days")),{start:c,end:e}},isMultiDayEvent:function(a){var b=this.computeDayRange(a);return b.end.diff(b.start,"days")>1}});Ca.sourceNormalizers=[],Ca.sourceFetchers=[];var eb={dataType:"json",cache:!1},fb=1,gb=Da.basic=db.extend({dayGrid:null,dayNumbersVisible:!1,weekNumbersVisible:!1,weekNumberWidth:null,headRowEl:null,initialize:function(){this.dayGrid=new bb(this),this.coordMap=this.dayGrid.coordMap},setRange:function(a){db.prototype.setRange.call(this,a),this.dayGrid.breakOnWeeks=/year|month|week/.test(this.intervalUnit),this.dayGrid.setRange(a)},computeRange:function(a){var b=db.prototype.computeRange.call(this,a);return/year|month/.test(b.intervalUnit)&&(b.start.startOf("week"),b.start=this.skipHiddenDays(b.start),b.end.weekday()&&(b.end.add(1,"week").startOf("week"),b.end=this.skipHiddenDays(b.end,-1,!0))),b},render:function(){this.dayNumbersVisible=this.dayGrid.rowCnt>1,this.weekNumbersVisible=this.opt("weekNumbers"),this.dayGrid.numbersVisible=this.dayNumbersVisible||this.weekNumbersVisible,this.el.addClass("fc-basic-view").html(this.renderHtml()),this.headRowEl=this.el.find("thead .fc-row"),this.scrollerEl=this.el.find(".fc-day-grid-container"),this.dayGrid.coordMap.containerEl=this.scrollerEl,this.dayGrid.el=this.el.find(".fc-day-grid"),this.dayGrid.render(this.hasRigidRows())},destroy:function(){this.dayGrid.destroy(),db.prototype.destroy.call(this)},renderHtml:function(){return'<table><thead><tr><td class="'+this.widgetHeaderClass+'">'+this.dayGrid.headHtml()+'</td></tr></thead><tbody><tr><td class="'+this.widgetContentClass+'"><div class="fc-day-grid-container"><div class="fc-day-grid"/></div></td></tr></tbody></table>'},headIntroHtml:function(){return this.weekNumbersVisible?'<th class="fc-week-number '+this.widgetHeaderClass+'" '+this.weekNumberStyleAttr()+"><span>"+L(this.opt("weekNumberTitle"))+"</span></th>":void 0},numberIntroHtml:function(a){return this.weekNumbersVisible?'<td class="fc-week-number" '+this.weekNumberStyleAttr()+"><span>"+this.calendar.calculateWeekNumber(this.dayGrid.getCell(a,0).start)+"</span></td>":void 0},dayIntroHtml:function(){return this.weekNumbersVisible?'<td class="fc-week-number '+this.widgetContentClass+'" '+this.weekNumberStyleAttr()+"></td>":void 0},introHtml:function(){return this.weekNumbersVisible?'<td class="fc-week-number" '+this.weekNumberStyleAttr()+"></td>":void 0},numberCellHtml:function(a){var b,c=a.start;return this.dayNumbersVisible?(b=this.dayGrid.getDayClasses(c),b.unshift("fc-day-number"),'<td class="'+b.join(" ")+'" data-date="'+c.format()+'">'+c.date()+"</td>"):"<td/>"},weekNumberStyleAttr:function(){return null!==this.weekNumberWidth?'style="width:'+this.weekNumberWidth+'px"':""},hasRigidRows:function(){var a=this.opt("eventLimit");return a&&"number"!=typeof a},updateWidth:function(){this.weekNumbersVisible&&(this.weekNumberWidth=r(this.el.find(".fc-week-number")))},setHeight:function(a,b){var c,d=this.opt("eventLimit");t(this.scrollerEl),h(this.headRowEl),this.dayGrid.destroySegPopover(),d&&"number"==typeof d&&this.dayGrid.limitRows(d),c=this.computeScrollerHeight(a),this.setGridHeight(c,b),d&&"number"!=typeof d&&this.dayGrid.limitRows(d),!b&&s(this.scrollerEl,c)&&(g(this.headRowEl,v(this.scrollerEl)),c=this.computeScrollerHeight(a),this.scrollerEl.height(c),this.restoreScroll())},setGridHeight:function(a,b){b?q(this.dayGrid.rowEls):p(this.dayGrid.rowEls,a,!0)},renderEvents:function(a){this.dayGrid.renderEvents(a),this.updateHeight()},getEventSegs:function(){return this.dayGrid.getEventSegs()},destroyEvents:function(){this.recordScroll(),this.dayGrid.destroyEvents()},renderDrag:function(a,b){return this.dayGrid.renderDrag(a,b)},destroyDrag:function(){this.dayGrid.destroyDrag()},renderSelection:function(a){this.dayGrid.renderSelection(a)},destroySelection:function(){this.dayGrid.destroySelection()}});c({fixedWeekCount:!0});var hb=Da.month=gb.extend({computeRange:function(a){var b,c=gb.prototype.computeRange.call(this,a);return this.isFixedWeeks()&&(b=Math.ceil(c.end.diff(c.start,"weeks",!0)),c.end.add(6-b,"weeks")),c},setGridHeight:function(a,b){b=b||"variable"===this.opt("weekMode"),b&&(a*=this.rowCnt/6),p(this.dayGrid.rowEls,a,!b)},isFixedWeeks:function(){var a=this.opt("weekMode");return a?"fixed"===a:this.opt("fixedWeekCount")}});hb.duration={months:1},Da.basicWeek={type:"basic",duration:{weeks:1}},Da.basicDay={type:"basic",duration:{days:1}},c({allDaySlot:!0,allDayText:"all-day",scrollTime:"06:00:00",slotDuration:"00:30:00",minTime:"00:00:00",maxTime:"24:00:00",slotEventOverlap:!0});var ib=5;Da.agenda=db.extend({timeGrid:null,dayGrid:null,axisWidth:null,noScrollRowEls:null,bottomRuleEl:null,bottomRuleHeight:null,initialize:function(){this.timeGrid=new cb(this),this.opt("allDaySlot")?(this.dayGrid=new bb(this),this.coordMap=new Ya([this.dayGrid.coordMap,this.timeGrid.coordMap])):this.coordMap=this.timeGrid.coordMap},setRange:function(a){db.prototype.setRange.call(this,a),this.timeGrid.setRange(a),this.dayGrid&&this.dayGrid.setRange(a)},render:function(){this.el.addClass("fc-agenda-view").html(this.renderHtml()),this.scrollerEl=this.el.find(".fc-time-grid-container"),this.timeGrid.coordMap.containerEl=this.scrollerEl,this.timeGrid.el=this.el.find(".fc-time-grid"),this.timeGrid.render(),this.bottomRuleEl=a('<hr class="'+this.widgetHeaderClass+'"/>').appendTo(this.timeGrid.el),this.dayGrid&&(this.dayGrid.el=this.el.find(".fc-day-grid"),this.dayGrid.render(),this.dayGrid.bottomCoordPadding=this.dayGrid.el.next("hr").outerHeight()),this.noScrollRowEls=this.el.find(".fc-row:not(.fc-scroller *)")},destroy:function(){this.timeGrid.destroy(),this.dayGrid&&this.dayGrid.destroy(),db.prototype.destroy.call(this)},renderHtml:function(){return'<table><thead><tr><td class="'+this.widgetHeaderClass+'">'+this.timeGrid.headHtml()+'</td></tr></thead><tbody><tr><td class="'+this.widgetContentClass+'">'+(this.dayGrid?'<div class="fc-day-grid"/><hr class="'+this.widgetHeaderClass+'"/>':"")+'<div class="fc-time-grid-container"><div class="fc-time-grid"/></div></td></tr></tbody></table>'},headIntroHtml:function(){var a,b,c,d;return this.opt("weekNumbers")?(a=this.timeGrid.getCell(0).start,b=this.calendar.calculateWeekNumber(a),c=this.opt("weekNumberTitle"),d=this.opt("isRTL")?b+c:c+b,'<th class="fc-axis fc-week-number '+this.widgetHeaderClass+'" '+this.axisStyleAttr()+"><span>"+L(d)+"</span></th>"):'<th class="fc-axis '+this.widgetHeaderClass+'" '+this.axisStyleAttr()+"></th>"},dayIntroHtml:function(){return'<td class="fc-axis '+this.widgetContentClass+'" '+this.axisStyleAttr()+"><span>"+(this.opt("allDayHtml")||L(this.opt("allDayText")))+"</span></td>"},slotBgIntroHtml:function(){return'<td class="fc-axis '+this.widgetContentClass+'" '+this.axisStyleAttr()+"></td>"},introHtml:function(){return'<td class="fc-axis" '+this.axisStyleAttr()+"></td>"},axisStyleAttr:function(){return null!==this.axisWidth?'style="width:'+this.axisWidth+'px"':""},updateSize:function(a){a&&this.timeGrid.resize(),db.prototype.updateSize.call(this,a)},updateWidth:function(){this.axisWidth=r(this.el.find(".fc-axis"))},setHeight:function(a,b){var c,d;null===this.bottomRuleHeight&&(this.bottomRuleHeight=this.bottomRuleEl.outerHeight()),this.bottomRuleEl.hide(),this.scrollerEl.css("overflow",""),t(this.scrollerEl),h(this.noScrollRowEls),this.dayGrid&&(this.dayGrid.destroySegPopover(),c=this.opt("eventLimit"),c&&"number"!=typeof c&&(c=ib),c&&this.dayGrid.limitRows(c)),b||(d=this.computeScrollerHeight(a),s(this.scrollerEl,d)?(g(this.noScrollRowEls,v(this.scrollerEl)),d=this.computeScrollerHeight(a),this.scrollerEl.height(d),this.restoreScroll()):(this.scrollerEl.height(d).css("overflow","hidden"),this.bottomRuleEl.show()))},initializeScroll:function(){function a(){c.scrollerEl.scrollTop(e)}var c=this,d=b.duration(this.opt("scrollTime")),e=this.timeGrid.computeTimeTop(d);e=Math.ceil(e),e&&e++,a(),setTimeout(a,0)},renderEvents:function(a){var b,c,d=[],e=[],f=[];for(c=0;c<a.length;c++)a[c].allDay?d.push(a[c]):e.push(a[c]);b=this.timeGrid.renderEvents(e),this.dayGrid&&(f=this.dayGrid.renderEvents(d)),this.updateHeight()},getEventSegs:function(){return this.timeGrid.getEventSegs().concat(this.dayGrid?this.dayGrid.getEventSegs():[])},destroyEvents:function(){this.recordScroll(),this.timeGrid.destroyEvents(),this.dayGrid&&this.dayGrid.destroyEvents()},renderDrag:function(a,b){return a.start.hasTime()?this.timeGrid.renderDrag(a,b):this.dayGrid?this.dayGrid.renderDrag(a,b):void 0},destroyDrag:function(){this.timeGrid.destroyDrag(),this.dayGrid&&this.dayGrid.destroyDrag()},renderSelection:function(a){a.start.hasTime()||a.end.hasTime()?this.timeGrid.renderSelection(a):this.dayGrid&&this.dayGrid.renderSelection(a)},destroySelection:function(){this.timeGrid.destroySelection(),this.dayGrid&&this.dayGrid.destroySelection()}}),Da.agendaWeek={type:"agenda",duration:{weeks:1}},Da.agendaDay={type:"agenda",duration:{days:1}};var jb=Da.list=db.extend({dayGrid:null,weekNumberWidth:null,headRowEl:null,defultEventLimit:5,viewDateOnLeft:!1,initialize:function(){this.dayGrid=new bb(this),this.coordMap=this.dayGrid.coordMap},setRange:function(a){db.prototype.setRange.call(this,a),this.dayGrid.breakOnWeeks=/year|month|week/.test(this.intervalUnit),this.dayGrid.setRange(a)},render:function(){this.dayGrid.colCnt=1,this.dayGrid.rowCnt=this.dayGrid.cellDates.length,this.dayGrid.numbersVisible=!0,this.opt("viewDateOnLeft")?(this.viewDateOnLeft=this.opt("viewDateOnLeft"),this.el.removeClass("fc-display-date-above")):this.el.addClass("fc-display-date-above"),this.el.addClass("fc-basic-view").html(this.renderHtml()),this.headRowEl=this.el.find("thead .fc-row"),this.scrollerEl=this.el.find(".fc-day-grid-container"),this.dayGrid.coordMap.containerEl=this.scrollerEl,this.dayGrid.el=this.el.find(".fc-day-grid"),this.dayGrid.render(this.hasRigidRows()),db.prototype.render.call(this)},destroy:function(){this.dayGrid.destroy(),db.prototype.destroy.call(this)},renderHtml:function(){return'<table><tbody><tr><td class="'+this.widgetContentClass+'"><div class="fc-day-grid-container"><div class="fc-day-grid"/></div></td></tr></tbody></table>'},headIntroHtml:function(){return this.viewDateOnLeft===!0?'<th class="fc-week-number '+this.widgetHeaderClass+'" '+this.weekNumberStyleAttr()+"><span></span></th>":""},numberIntroHtml:function(a){return this.viewDateOnLeft===!0?'<td class="fc-week-number" '+this.weekNumberStyleAttr()+"><span>"+this.dayGrid.getCell(a,0).start.format("ddd MMM D, YYYY")+"</span></td>":""},dayIntroHtml:function(){return this.viewDateOnLeft===!0?'<td class="fc-week-number '+this.widgetContentClass+'" '+this.weekNumberStyleAttr()+"></td>":""},introHtml:function(){return this.viewDateOnLeft===!0?'<td class="fc-week-number" '+this.weekNumberStyleAttr()+"></td>":""},numberCellHtml:function(a){if(this.viewDateOnLeft===!0)return"<td/>";var b,c=a.start;return b=this.dayGrid.getDayClasses(c),b.unshift("fc-day-number"),'<td class="'+b.join(" ")+'" data-date="'+c.format()+'"><span class="fc-list-header-left">'+c.format("dddd")+'</span><span class="fc-list-header-right">'+c.format("MMM D")+"</span></td>"},weekNumberStyleAttr:function(){return null!==this.weekNumberWidth?'style="width:'+this.weekNumberWidth+'px"':""},hasRigidRows:function(){var a=this.opt("eventLimit");return a===!0&&(a=this.defultEventLimit),a&&"number"!=typeof a},updateWidth:function(){this.weekNumberWidth=r(this.el.find(".fc-week-number"))},setHeight:function(a,b){var c=this.opt("eventLimit");c===!0&&(c=this.defultEventLimit);var d;t(this.scrollerEl),h(this.headRowEl),this.dayGrid.destroySegPopover(),c&&"number"==typeof c&&this.dayGrid.limitRows(c),d=this.computeScrollerHeight(a),this.setGridHeight(d,b),c&&"number"!=typeof c&&this.dayGrid.limitRows(c),!b&&s(this.scrollerEl,d)&&(g(this.headRowEl,v(this.scrollerEl)),d=this.computeScrollerHeight(a),this.scrollerEl.height(d),this.restoreScroll())},setGridHeight:function(a,b){b?q(this.dayGrid.rowEls):p(this.dayGrid.rowEls,a,!0)},renderEvents:function(a){this.dayGrid.renderEvents(a),this.updateHeight(),db.prototype.renderEvents.call(this,a)},getSegs:function(){return this.dayGrid.getSegs()},destroyEvents:function(){db.prototype.destroyEvents.call(this),this.recordScroll(),this.dayGrid.destroyEvents()},renderDrag:function(a,b,c){return this.dayGrid.renderDrag(a,b,c)},destroyDrag:function(){this.dayGrid.destroyDrag()},renderSelection:function(a,b){this.dayGrid.renderSelection(a,b)},destroySelection:function(){this.dayGrid.destroySelection()}});jb.duration={months:1},Da.listMonth={type:"list",duration:{months:1}},Da.listWeek={type:"list",duration:{weeks:1}},Da.listDay={type:"list",duration:{days:1}}});
1
+ /*! event-organiser 3.7.3-0-geffd108 2018-07-13 20:28 */
2
  !function(a){"function"==typeof define&&define.amd?define(["jquery","moment"],a):a(jQuery,moment)}(function(a,b){function c(a){d(za,a)}function d(b){function c(c,f){a.isPlainObject(f)&&a.isPlainObject(b[c])&&!e(c)?b[c]=d({},b[c],f):void 0!==f&&(b[c]=f)}for(var f=1;f<arguments.length;f++)a.each(arguments[f],c);return b}function e(a){return/(Time|Duration)$/.test(a)}function f(a){var c=b.localeData||b.langData;return c.call(b,a)||c.call(b,"en")}function g(a,b){b.left&&a.css({"border-left-width":1,"margin-left":b.left-1}),b.right&&a.css({"border-right-width":1,"margin-right":b.right-1})}function h(a){a.css({"margin-left":"","margin-right":"","border-left-width":"","border-right-width":""})}function i(){a("body").addClass("fc-not-allowed")}function j(){a("body").removeClass("fc-not-allowed")}function k(a){return"pointerdown"==a.type||"pointerup"==a.type||"pointermove"==a.type?"touch"===a.originalEvent.pointerType?!0:!1:"touchstart"==a.type||"touchmove"==a.type||"touchend"==a.type||"touchcancel"==a.type?!0:!1}function l(a){var b={x:0,y:0};if("pointerdown"==a.type||"pointerup"==a.type||"pointermove"==a.type||"mousedown"==a.type||"mouseup"==a.type||"mousemove"==a.type||"mouseover"==a.type||"mouseout"==a.type||"mouseenter"==a.type||"mouseleave"==a.type)b.x=a.pageX,b.y=a.pageY;else if(k(a)){var c=a.originalEvent.touches[0]||a.originalEvent.changedTouches[0];b.x=c.pageX,b.y=c.pageY}return b}function m(){return window.navigator.msPointerEnabled?"pointerdown":!Ka&&"ontouchstart"in document.documentElement?"touchstart":"mousedown"}function n(){return window.navigator.msPointerEnabled?"pointerup":!Ka&&"ontouchstart"in document.documentElement?"touchend":"mouseup"}function o(){return window.navigator.msPointerEnabled?"pointermove":!Ka&&"ontouchstart"in document.documentElement?"touchmove":"mousemove"}function p(b,c,d){var e=Math.floor(c/b.length),f=Math.floor(c-e*(b.length-1)),g=[],h=[],i=[],j=0;q(b),b.each(function(c,d){var k=c===b.length-1?f:e,l=a(d).outerHeight(!0);k>l?(g.push(d),h.push(l),i.push(a(d).height())):j+=l}),d&&(c-=j,e=Math.floor(c/g.length),f=Math.floor(c-e*(g.length-1))),a(g).each(function(b,c){var d=b===g.length-1?f:e,j=h[b],k=i[b],l=d-(j-k);d>j&&a(c).height(l)})}function q(a){a.height("")}function r(b){var c=0;return b.find("> *").each(function(b,d){var e=a(d).outerWidth();e>c&&(c=e)}),c++,b.width(c),c}function s(a,b){return a.height(b).addClass("fc-scroller"),a[0].scrollHeight-1>a[0].clientHeight?!0:(t(a),!1)}function t(a){a.height("").removeClass("fc-scroller")}function u(b){var c=b.css("position"),d=b.parents().filter(function(){var b=a(this);return/(auto|scroll)/.test(b.css("overflow")+b.css("overflow-y")+b.css("overflow-x"))}).eq(0);return"fixed"!==c&&d.length?d:a(b[0].ownerDocument||document)}function v(a){var b=a.offset().left,c=b+a.width(),d=a.children(),e=d.offset().left,f=e+d.outerWidth();return{left:e-b,right:c-f}}function w(a){return k(a)?!0:1==a.which&&!a.ctrlKey}function x(a,b){var c,d,e,f,g=a.start,h=a.end,i=b.start,j=b.end;return h>i&&j>g?(g>=i?(c=g.clone(),e=!0):(c=i.clone(),e=!1),j>=h?(d=h.clone(),f=!0):(d=j.clone(),f=!1),{start:c,end:d,isStart:e,isEnd:f}):void 0}function y(a,b){if(a=a||{},void 0!==a[b])return a[b];for(var c,d=b.split(/(?=[A-Z])/),e=d.length-1;e>=0;e--)if(c=a[d[e].toLowerCase()],void 0!==c)return c;return a["default"]}function z(a,c){return b.duration({days:a.clone().stripTime().diff(c.clone().stripTime(),"days"),ms:a.time()-c.time()})}function A(a,c){return b.duration({days:a.clone().stripTime().diff(c.clone().stripTime(),"days")})}function B(a,b){var c,d,e;for(c=0;c<Na.length&&(d=Na[c],e=C(d,a,b),!(e>=1&&P(e)));c++);return d}function C(a,c,d){return null!=d?d.diff(c,a,!0):b.isDuration(c)?c.as(a):c.end.diff(c.start,a,!0)}function D(a){return"[object Date]"===Object.prototype.toString.call(a)||a instanceof Date}function E(a){return/^\d+\:\d+(?:\:\d+\.?(?:\d{3})?)?$/.test(a)}function F(a){var b=function(){};return b.prototype=a,new b}function G(a,b){for(var c in a)H(a,c)&&(b[c]=a[c])}function H(a,b){return Oa.call(a,b)}function I(b){return/undefined|null|boolean|number|string/.test(a.type(b))}function J(b,c,d){if(a.isFunction(b)&&(b=[b]),b){var e,f;for(e=0;e<b.length;e++)f=b[e].apply(c,d)||f;return f}}function K(){for(var a=0;a<arguments.length;a++)if(void 0!==arguments[a])return arguments[a]}function L(a){return(a+"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&#039;").replace(/"/g,"&quot;").replace(/\n/g,"<br />")}function M(a){return a.replace(/&.*?;/g,"")}function N(a){return a.charAt(0).toUpperCase()+a.slice(1)}function O(a,b){return a-b}function P(a){return a%1===0}function Q(a,b){var c,d,e,f,g=function(){var h=+new Date-f;b>h&&h>0?c=setTimeout(g,b-h):(c=null,a.apply(e,d),c||(e=d=null))};return function(){e=this,d=arguments,f=+new Date,c||(c=setTimeout(g,b))}}function R(c,d,e){var f,g,h,i,j=c[0],k=1==c.length&&"string"==typeof j;return b.isMoment(j)?(i=b.apply(null,c),T(j,i)):D(j)||void 0===j?i=b.apply(null,c):(f=!1,g=!1,k?Pa.test(j)?(j+="-01",c=[j],f=!0,g=!0):(h=Qa.exec(j))&&(f=!h[5],g=!0):a.isArray(j)&&(g=!0),i=d||f?b.utc.apply(b,c):b.apply(null,c),f?(i._ambigTime=!0,i._ambigZone=!0):e&&(g?i._ambigZone=!0:k&&i.zone(j))),i._fullCalendar=!0,i}function S(a,c){var d,e,f=!1,g=!1,h=a.length,i=[];for(d=0;h>d;d++)e=a[d],b.isMoment(e)||(e=Ca.moment.parseZone(e)),f=f||e._ambigTime,g=g||e._ambigZone,i.push(e);for(d=0;h>d;d++)e=i[d],c||!f||e._ambigTime?g&&!e._ambigZone&&(i[d]=e.clone().stripZone()):i[d]=e.clone().stripTime();return i}function T(a,b){a._ambigTime?b._ambigTime=!0:b._ambigTime&&(b._ambigTime=!1),a._ambigZone?b._ambigZone=!0:b._ambigZone&&(b._ambigZone=!1)}function U(a,b){a.year(b[0]||0).month(b[1]||0).date(b[2]||0).hours(b[3]||0).minutes(b[4]||0).seconds(b[5]||0).milliseconds(b[6]||0)}function V(a,b){return Sa.format.call(a,b)}function W(a,b){return X(a,aa(b))}function X(a,b){var c,d="";for(c=0;c<b.length;c++)d+=Y(a,b[c]);return d}function Y(a,b){var c,d;return"string"==typeof b?b:(c=b.token)?Ta[c]?Ta[c](a):V(a,c):b.maybe&&(d=X(a,b.maybe),d.match(/[1-9]/))?d:""}function Z(a,b,c,d,e){var f;return a=Ca.moment.parseZone(a),b=Ca.moment.parseZone(b),f=(a.localeData||a.lang).call(a),c=f.longDateFormat(c)||c,d=d||" - ",$(a,b,aa(c),d,e)}function $(a,b,c,d,e){var f,g,h,i,j="",k="",l="",m="",n="";for(g=0;g<c.length&&(f=_(a,b,c[g]),f!==!1);g++)j+=f;for(h=c.length-1;h>g&&(f=_(a,b,c[h]),f!==!1);h--)k=f+k;for(i=g;h>=i;i++)l+=Y(a,c[i]),m+=Y(b,c[i]);return(l||m)&&(n=e?m+d+l:l+d+m),j+n+k}function _(a,b,c){var d,e;return"string"==typeof c?c:(d=c.token)&&(e=Ua[d.charAt(0)],e&&a.isSame(b,e))?V(a,d):!1}function aa(a){return a in Va?Va[a]:Va[a]=ba(a)}function ba(a){for(var b,c=[],d=/\[([^\]]*)\]|\(([^\)]*)\)|(LT|(\w)\4*o?)|([^\w\[\(]+)/g;b=d.exec(a);)b[1]?c.push(b[1]):b[2]?c.push({maybe:ba(b[2])}):b[3]?c.push({token:b[3]}):b[5]&&c.push(b[5]);return c}function ca(){}function da(a,b){return a||b?a&&b?a.grid===b.grid&&a.row===b.row&&a.col===b.col:!1:!0}function ea(a){var b=ga(a);return"background"===b||"inverse-background"===b}function fa(a){return"inverse-background"===ga(a)}function ga(a){return K((a.source||{}).rendering,a.rendering)}function ha(a){var b,c,d={};for(b=0;b<a.length;b++)c=a[b],(d[c._id]||(d[c._id]=[])).push(c);return d}function ia(a,b){return a.eventStartMS-b.eventStartMS}function ja(a,b){return a.eventStartMS-b.eventStartMS||b.eventDurationMS-a.eventDurationMS||b.event.allDay-a.event.allDay||(a.event.title||"").localeCompare(b.event.title)}function ka(c){var d,e,f,g,h=Ca.dataAttrPrefix;return h&&(h+="-"),d=c.data(h+"event")||null,d&&(d="object"==typeof d?a.extend({},d):{},e=d.start,null==e&&(e=d.time),f=d.duration,g=d.stick,delete d.start,delete d.time,delete d.duration,delete d.stick),null==e&&(e=c.data(h+"start")),null==e&&(e=c.data(h+"time")),null==f&&(f=c.data(h+"duration")),null==g&&(g=c.data(h+"stick")),e=null!=e?b.duration(e):null,f=null!=f?b.duration(f):null,g=Boolean(g),{eventProps:d,startTime:e,duration:f,stick:g}}function la(a,b){var c,d;for(c=0;c<b.length;c++)if(d=b[c],d.leftCol<=a.rightCol&&d.rightCol>=a.leftCol)return!0;return!1}function ma(a,b){return a.leftCol-b.leftCol}function na(a){var b,c,d;if(a.sort(ja),b=oa(a),pa(b),c=b[0]){for(d=0;d<c.length;d++)qa(c[d]);for(d=0;d<c.length;d++)ra(c[d],0,0)}}function oa(a){var b,c,d,e=[];for(b=0;b<a.length;b++){for(c=a[b],d=0;d<e.length&&sa(c,e[d]).length;d++);c.level=d,(e[d]||(e[d]=[])).push(c)}return e}function pa(a){var b,c,d,e,f;for(b=0;b<a.length;b++)for(c=a[b],d=0;d<c.length;d++)for(e=c[d],e.forwardSegs=[],f=b+1;f<a.length;f++)sa(e,a[f],e.forwardSegs)}function qa(a){var b,c,d=a.forwardSegs,e=0;if(void 0===a.forwardPressure){for(b=0;b<d.length;b++)c=d[b],qa(c),e=Math.max(e,1+c.forwardPressure);a.forwardPressure=e}}function ra(a,b,c){var d,e=a.forwardSegs;if(void 0===a.forwardCoord)for(e.length?(e.sort(ua),ra(e[0],b+1,c),a.forwardCoord=e[0].backwardCoord):a.forwardCoord=1,a.backwardCoord=a.forwardCoord-(a.forwardCoord-c)/(b+1),d=0;d<e.length;d++)ra(e[d],0,a.forwardCoord)}function sa(a,b,c){c=c||[];for(var d=0;d<b.length;d++)ta(a,b[d])&&c.push(b[d]);return c}function ta(a,b){return a.bottom>b.top&&a.top<b.bottom}function ua(a,b){return b.forwardPressure-a.forwardPressure||(a.backwardCoord||0)-(b.backwardCoord||0)||ja(a,b)}function va(c,e){function g(a){return(a.locale||a.lang).call(a,$.lang).humanize()}function h(a){da?k()&&(r(),l(a)):i()}function i(){ea=$.theme?"ui":"fc",c.addClass("fc"),$.isRTL?c.addClass("fc-rtl"):c.addClass("fc-ltr"),$.theme?c.addClass("ui-widget"):c.addClass("fc-unthemed"),da=a("<div class='fc-view-container'/>").prependTo(c),ba=new wa(Y,$),ca=ba.render(),ca&&c.prepend(ca),l($.defaultView),$.handleWindowResize&&(ha=Q(t,$.windowResizeDelay),a(window).resize(ha))}function j(){fa&&fa.destroyView(),ba.destroy(),da.remove(),c.removeClass("fc fc-ltr fc-rtl fc-unthemed ui-widget"),a(window).unbind("resize",ha)}function k(){return c.is(":visible")}function l(b){na++,fa&&b&&fa.type!==b&&(ba.deactivateButton(fa.type),S(),fa.start&&fa.destroyView(),fa.el.remove(),fa=null),!fa&&b&&(fa=m(b),fa.el=a("<div class='fc-view fc-"+b+"-view' />").appendTo(da),ba.activateButton(b)),fa&&(ia=fa.massageCurrentDate(ia),fa.start&&ia.isWithin(fa.intervalStart,fa.intervalEnd)||k()&&(S(),fa.start&&fa.destroyView(),fa.setDate(ia),fa.renderView(),T(),C(),D(),x())),T(),na--}function m(a){var b=n(a);return new b["class"](Y,b.options,a)}function n(c){function d(b){"function"==typeof b?f=b:"object"==typeof b&&a.extend(e,b)}var e,f,h,i,j,k=$.defaultButtonText||{},l=$.buttonText||{},m=$.views||{},n=c,o=[],p=!1;if(ma[c])return ma[c];for(;n&&!f;)e={},d(Da[n]),d(m[n]),o.unshift(e),n=e.type;return o.unshift({}),e=a.extend.apply(a,o),f?(h=e.duration||f.duration,h&&(h=b.duration(h),i=B(h),p=1===h.as(i)),p&&m[i]&&(e=a.extend({},m[i],e)),j=l[c]||(p?l[i]:null)||k[c]||(p?k[i]:null)||e.buttonText||f.buttonText||(h?g(h):null)||c,ma[c]={"class":f,options:e,buttonText:j}):void 0}function o(a){return Boolean(n(a))}function p(a){var b=n(a);return b?b.buttonText:void 0}function q(a){return k()?(a&&s(),na++,fa.updateSize(!0),na--,!0):void 0}function r(){k()&&s()}function s(){ga="number"==typeof $.contentHeight?$.contentHeight:"number"==typeof $.height?$.height-(ca?ca.outerHeight(!0):0):"undefined"!=typeof $.height&&"parent"===$.height?a(la).parent().height()-(ca?ca.outerHeight(!0):0):Math.round(da.width()/Math.max($.aspectRatio,.5))}function t(a){!na&&a.target===window&&fa.start&&q(!0)&&fa.trigger("windowResize",la)}function u(){w(),y()}function v(){k()&&(S(),fa.destroyViewEvents(),fa.renderViewEvents(oa),T())}function w(){S(),fa.destroyViewEvents(),T()}function x(){!$.lazyFetching||ja(fa.start,fa.end)?y():v()}function y(){ka(fa.start,fa.end)}function z(a){oa=a,v()}function A(){v()}function C(){ba.updateTitle(fa.title)}function D(){var a=Y.getNow();a.isWithin(fa.intervalStart,fa.intervalEnd)?ba.disableButton("today"):ba.enableButton("today")}function E(a,b){a=Y.moment(a),b=b?Y.moment(b):a.hasTime()?a.clone().add(Y.defaultTimedEventDuration):a.clone().add(Y.defaultAllDayEventDuration),fa.select({start:a,end:b})}function G(){fa&&fa.unselect()}function H(){ia=fa.computePrevDate(ia),l()}function I(){ia=fa.computeNextDate(ia),l()}function J(){ia.add(-1,"years"),l()}function K(){ia.add(1,"years"),l()}function L(){ia=Y.getNow(),l()}function M(a){ia=Y.moment(a),l()}function O(a){ia.add(b.duration(a)),l()}function P(a,b){var c,d;b&&o(b)||(b=b||"day",c=ba.getViewsWithButtons().join(" "),d=c.match(new RegExp("\\w+"+N(b))),d||(d=c.match(/\w+Day/)),b=d?d[0]:"agendaDay"),ia=a,l(b)}function R(){return ia.clone()}function S(){da.css({width:"100%",height:da.height(),overflow:"hidden"})}function T(){da.css({width:"",height:"",overflow:""})}function U(){return Y}function V(){return fa}function W(a,b){return void 0===b?$[a]:void(("height"==a||"contentHeight"==a||"aspectRatio"==a)&&($[a]=b,q(!0)))}function X(a,b){return $[a]?$[a].apply(b||la,Array.prototype.slice.call(arguments,2)):void 0}var Y=this;e=e||{};var Z,$=d({},za,e);Z=$.lang in Ea?Ea[$.lang]:Ea[za.lang],Z&&($=d({},za,Z,e)),$.isRTL&&($=d({},za,Ba,Z||{},e)),Y.options=$,Y.render=h,Y.destroy=j,Y.refetchEvents=u,Y.reportEvents=z,Y.reportEventChange=A,Y.rerenderEvents=v,Y.changeView=l,Y.select=E,Y.unselect=G,Y.prev=H,Y.next=I,Y.prevYear=J,Y.nextYear=K,Y.today=L,Y.gotoDate=M,Y.incrementDate=O,Y.zoomTo=P,Y.getDate=R,Y.getCalendar=U,Y.getView=V,Y.option=W,Y.trigger=X,Y.isValidViewType=o,Y.getViewButtonText=p;var _=F(f($.lang));if($.monthNames&&(_._months=$.monthNames),$.monthNamesShort&&(_._monthsShort=$.monthNamesShort),$.dayNames&&(_._weekdays=$.dayNames),$.dayNamesShort&&(_._weekdaysShort=$.dayNamesShort),null!=$.firstDay){var aa=F(_._week);aa.dow=$.firstDay,_._week=aa}Y.defaultAllDayEventDuration=b.duration($.defaultAllDayEventDuration),Y.defaultTimedEventDuration=b.duration($.defaultTimedEventDuration),Y.moment=function(){var a;return"local"===$.timezone?(a=Ca.moment.apply(null,arguments),a.hasTime()&&a.local()):a="UTC"===$.timezone?Ca.moment.utc.apply(null,arguments):Ca.moment.parseZone.apply(null,arguments),"_locale"in a?a._locale=_:a._lang=_,a},Y.getIsAmbigTimezone=function(){return"local"!==$.timezone&&"UTC"!==$.timezone},Y.rezoneDate=function(a){return Y.moment(a.toArray())},Y.getNow=function(){var a=$.now;return"function"==typeof a&&(a=a()),Y.moment(a)},Y.calculateWeekNumber=function(a){var b=$.weekNumberCalculation;return"function"==typeof b?b(a):"local"===b?a.week():"ISO"===b.toUpperCase()?a.isoWeek():void 0},Y.getEventEnd=function(a){return a.end?a.end.clone():Y.getDefaultEventEnd(a.allDay,a.start)},Y.getDefaultEventEnd=function(a,b){var c=b.clone();return a?c.stripTime().add(Y.defaultAllDayEventDuration):c.add(Y.defaultTimedEventDuration),Y.getIsAmbigTimezone()&&c.stripZone(),c},xa.call(Y,$);var ba,ca,da,ea,fa,ga,ha,ia,ja=Y.isFetchNeeded,ka=Y.fetchEvents,la=c[0],ma={},na=0,oa=[];ia=null!=$.defaultDate?Y.moment($.defaultDate):Y.getNow(),Y.getSuggestedViewHeight=function(){return void 0===ga&&r(),ga},Y.isHeightAuto=function(){return"auto"===$.contentHeight||"auto"===$.height}}function wa(b,c){function d(){var b=c.header;return n=c.theme?"ui":"fc",b?o=a("<div class='fc-toolbar'/>").append(f("left")).append(f("right")).append(f("center")).append('<div class="fc-clear"/>'):void 0}function e(){o.remove()}function f(d){var e=a('<div class="fc-'+d+'"/>'),f=c.header[d];return f&&a.each(f.split(" "),function(d){var f,g=a(),h=!0;a.each(this.split(","),function(d,e){var f,i,j,k,l,m,o,q,r;if("title"==e)g=g.add(a('<h2 aria-live="polite">&nbsp;</h2>')),h=!1;else if(a.isFunction(c.customButtons[e])){var s=a(c.customButtons[e](c));g=g.add(s)}else b[e]?f=function(){b[e]()}:b.isValidViewType(e)&&(f=function(){b.changeView(e)},p.push(e),l=b.getViewButtonText(e)),f&&(i=y(c.themeButtonIcons,e),j=y(c.buttonIcons,e),k=y(c.defaultButtonText,e),m=y(c.buttonText,e),o=l||m?L(l||m):i&&c.theme?"<span class='ui-icon ui-icon-"+i+"'></span>":j&&!c.theme?"<span class='fc-icon fc-icon-"+j+"'></span>":L(k||e),q=["fc-"+e+"-button",n+"-button",n+"-state-default"],r=a('<button type="button" class="'+q.join(" ")+'">'+o+"</button>").click(function(){r.hasClass(n+"-state-disabled")||(f(),(r.hasClass(n+"-state-active")||r.hasClass(n+"-state-disabled"))&&r.removeClass(n+"-state-hover"))}).mousedown(function(){r.not("."+n+"-state-active").not("."+n+"-state-disabled").addClass(n+"-state-down")}).mouseup(function(){r.removeClass(n+"-state-down")}).hover(function(){r.not("."+n+"-state-active").not("."+n+"-state-disabled").addClass(n+"-state-hover")},function(){r.removeClass(n+"-state-hover").removeClass(n+"-state-down")}),g=g.add(r))}),h&&g.first().addClass(n+"-corner-left").end().last().addClass(n+"-corner-right").end(),g.length>1||h?(f=a("<div/>"),h&&f.addClass("fc-button-group"),f.append(g),e.append(f)):e.append(g)}),e}function g(a){o.find("h2").text(a)}function h(a){o.find(".fc-"+a+"-button").addClass(n+"-state-active")}function i(a){o.find(".fc-"+a+"-button").removeClass(n+"-state-active")}function j(a){o.find(".fc-"+a+"-button").attr("disabled","disabled").addClass(n+"-state-disabled")}function k(a){o.find(".fc-"+a+"-button").removeAttr("disabled").removeClass(n+"-state-disabled")}function l(){return p}var m=this;m.render=d,m.destroy=e,m.updateTitle=g,m.activateButton=h,m.deactivateButton=i,m.disableButton=j,m.enableButton=k,m.getViewsWithButtons=l;var n,o=a(),p=[]}function xa(c){function d(a,b){return!Q||a.clone().stripZone()<Q.clone().stripZone()||b.clone().stripZone()>R.clone().stripZone()}function e(a,b){Q=a,R=b,$=[];var c=++X,d=W.length;Y=d;for(var e=0;d>e;e++)f(W[e],c)}function f(b,c){g(b,function(d){var e,f,g,h=a.isArray(b.events);if(c==X){if(d)for(e=0;e<d.length;e++)f=d[e],g=h?f:u(f,b),g&&$.push.apply($,y(g));Y--,Y||U($)}})}function g(b,d){var e,f,h=Ca.sourceFetchers;for(e=0;e<h.length;e++){if(f=h[e].call(P,b,Q.clone(),R.clone(),c.timezone,d),f===!0)return;if("object"==typeof f)return void g(f,d)}var i=b.events;if(i)a.isFunction(i)?(s(),i.call(P,Q.clone(),R.clone(),c.timezone,function(a){d(a),t()})):a.isArray(i)?d(i):d();else{var j=b.url;if(j){var k,l=b.success,m=b.error,n=b.complete;k=a.isFunction(b.data)?b.data():b.data;var o=a.extend({},k||{}),p=K(b.startParam,c.startParam),q=K(b.endParam,c.endParam),r=K(b.timezoneParam,c.timezoneParam);p&&(o[p]=Q.format()),q&&(o[q]=R.format()),c.timezone&&"local"!=c.timezone&&(o[r]=c.timezone),s(),a.ajax(a.extend({},eb,b,{data:o,success:function(b){b=b||[];var c=J(l,this,arguments);a.isArray(c)&&(b=c),d(b)},error:function(){J(m,this,arguments),d()},complete:function(){J(n,this,arguments),t()}}))}else d()}}function h(a){var b=i(a);b&&(W.push(b),Y++,f(b,X))}function i(b){var c,d,e=Ca.sourceNormalizers;if(a.isFunction(b)||a.isArray(b)?c={events:b}:"string"==typeof b?c={url:b}:"object"==typeof b&&(c=a.extend({},b)),c){for(c.className?"string"==typeof c.className&&(c.className=c.className.split(/\s+/)):c.className=[],a.isArray(c.events)&&(c.origArray=c.events,c.events=a.map(c.events,function(a){return u(a,c)})),d=0;d<e.length;d++)e[d].call(P,c);return c}}function j(b){W=a.grep(W,function(a){return!k(a,b)}),$=a.grep($,function(a){return!k(a.source,b)}),U($)}function k(a,b){return a&&b&&l(a)==l(b)}function l(a){return("object"==typeof a?a.origArray||a.googleCalendarId||a.url||a.events:null)||a}function m(a){a.start=P.moment(a.start),a.end?a.end=P.moment(a.end):a.end=null,B(a,n(a)),U($)}function n(b){var c={};return a.each(b,function(a,b){o(a)&&void 0!==b&&I(b)&&(c[a]=b)}),c}function o(a){return!/^_|^(id|allDay|start|end)$/.test(a)}function p(a,b){var c,d,e,f=u(a);if(f){for(c=y(f),d=0;d<c.length;d++)e=c[d],e.source||(b&&(V.events.push(e),e.source=V),$.push(e));return U($),c}return[]}function q(b){var c,d;for(null==b?b=function(){return!0}:a.isFunction(b)||(c=b+"",b=function(a){return a._id==c}),$=a.grep($,b,!0),d=0;d<W.length;d++)a.isArray(W[d].events)&&(W[d].events=a.grep(W[d].events,b,!0));U($)}function r(b){return a.isFunction(b)?a.grep($,b):null!=b?(b+="",a.grep($,function(a){return a._id==b})):$}function s(){Z++||S("loading",null,!0,T())}function t(){--Z||S("loading",null,!1,T())}function u(d,e){var f,g,h,i={};if(c.eventDataTransform&&(d=c.eventDataTransform(d)),e&&e.eventDataTransform&&(d=e.eventDataTransform(d)),a.extend(i,d),e&&(i.source=e),i._id=d._id||(void 0===d.id?"_fc"+fb++:d.id+""),d.className?"string"==typeof d.className?i.className=d.className.split(/\s+/):i.className=d.className:i.className=[],f=d.start||d.date,g=d.end,E(f)&&(f=b.duration(f)),E(g)&&(g=b.duration(g)),d.dow||b.isDuration(f)||b.isDuration(g))i.start=f?b.duration(f):null,i.end=g?b.duration(g):null,i._recurring=!0;else{if(f&&(f=P.moment(f),!f.isValid()))return!1;g&&(g=P.moment(g),g.isValid()||(g=null)),h=d.allDay,void 0===h&&(h=K(e?e.allDayDefault:void 0,c.allDayDefault)),v(f,g,h,i)}return i}function v(a,b,c,d){d.start=a,d.end=b,d.allDay=c,w(d),ya(d)}function w(a){null==a.allDay&&(a.allDay=!(a.start.hasTime()||a.end&&a.end.hasTime())),a.allDay?(a.start.stripTime(),a.end&&a.end.stripTime()):(a.start.hasTime()||(a.start=P.rezoneDate(a.start)),a.end&&!a.end.hasTime()&&(a.end=P.rezoneDate(a.end))),a.end&&!a.end.isAfter(a.start)&&(a.end=null),a.end||(c.forceEventDuration?a.end=P.getDefaultEventEnd(a.allDay,a.start):a.end=null)}function x(a){var b;return a.end||(b=a.allDay,null==b&&(b=!a.start.hasTime()),a={start:a.start,end:P.getDefaultEventEnd(b,a.start)}),a}function y(b,c,d){var e,f,g,h,i,j,k,l,m,n=[];if(c=c||Q,d=d||R,b)if(b._recurring){if(f=b.dow)for(e={},g=0;g<f.length;g++)e[f[g]]=!0;for(h=c.clone().stripTime();h.isBefore(d);)(!e||e[h.day()])&&(i=b.start,j=b.end,k=h.clone(),l=null,i&&(k=k.time(i)),j&&(l=h.clone().time(j)),m=a.extend({},b),v(k,l,!i&&!j,m),n.push(m)),h.add(1,"days")}else n.push(b);return n}function B(b,c){var d,e,f,g,h={};return c=c||{},c.start||(c.start=b.start.clone()),void 0===c.end&&(c.end=b.end?b.end.clone():null),null==c.allDay&&(c.allDay=b.allDay),w(c),d=null!==b._end&&null===c.end,e=c.allDay?A(c.start,b._start):z(c.start,b._start),!d&&c.end&&(f=z(c.end,c.start).subtract(z(b._end||P.getDefaultEventEnd(b._allDay,b._start),b._start))),a.each(c,function(a,b){o(a)&&void 0!==b&&(h[a]=b)}),g=C(r(b._id),d,c.allDay,e,f,h),{dateDelta:e,durationDelta:f,undo:g}}function C(b,c,d,e,f,g){var h=P.getIsAmbigTimezone(),i=[];return e&&!e.valueOf()&&(e=null),f&&!f.valueOf()&&(f=null),a.each(b,function(b,j){var k,l;k={start:j.start.clone(),end:j.end?j.end.clone():null,allDay:j.allDay},a.each(g,function(a){k[a]=j[a]}),l={start:j._start,end:j._end,allDay:j._allDay},c&&(l.end=null),l.allDay=d,w(l),e&&(l.start.add(e),l.end&&l.end.add(e)),f&&(l.end||(l.end=P.getDefaultEventEnd(l.allDay,l.start)),l.end.add(f)),h&&!l.allDay&&(e||f)&&(l.start.stripZone(),l.end&&l.end.stripZone()),a.extend(j,g,l),ya(j),i.push(function(){a.extend(j,k),ya(j)})}),function(){for(var a=0;a<i.length;a++)i[a]()}}function D(){var b,d=c.businessHours,e={className:"fc-nonbusiness",start:"09:00",end:"17:00",dow:[1,2,3,4,5],rendering:"inverse-background"},f=P.getView();return d&&(b="object"==typeof d?a.extend({},e,d):e),b?y(u(b),f.start,f.end):[]}function F(a,b){var d=b.source||{},e=K(b.constraint,d.constraint,c.eventConstraint),f=K(b.overlap,d.overlap,c.eventOverlap);return a=x(a),L(a,e,f,b)}function G(a){return L(a,c.selectConstraint,c.selectOverlap)}function H(b,c){var d,e;return c&&(d=a.extend({},c,b),e=y(u(d))[0]),e?F(b,e):(b=x(b),G(b))}function L(a,b,c,d){var e,f,g,h,i;if(a={start:a.start.clone().stripZone(),end:a.end.clone().stripZone()},null!=b){for(e=M(b),f=!1,g=0;g<e.length;g++)if(N(e[g],a)){f=!0;break}if(!f)return!1}for(g=0;g<$.length;g++)if(h=$[g],(!d||d._id!==h._id)&&O(h,a)){if(c===!1)return!1;if("function"==typeof c&&!c(h,d))return!1;if(d){if(i=K(h.overlap,(h.source||{}).overlap),i===!1)return!1;if("function"==typeof i&&!i(d,h))return!1}}return!0}function M(a){return"businessHours"===a?D():"object"==typeof a?y(u(a)):r(a)}function N(a,b){var c=a.start.clone().stripZone(),d=P.getEventEnd(a).stripZone();return b.start>=c&&b.end<=d}function O(a,b){var c=a.start.clone().stripZone(),d=P.getEventEnd(a).stripZone();return b.start<d&&b.end>c}var P=this;P.isFetchNeeded=d,P.fetchEvents=e,P.addEventSource=h,P.removeEventSource=j,P.updateEvent=m,P.renderEvent=p,P.removeEvents=q,P.clientEvents=r,P.mutateEvent=B,P.normalizeEventDateProps=w,P.ensureVisibleEventRange=x;var Q,R,S=P.trigger,T=P.getView,U=P.reportEvents,V={events:[]},W=[V],X=0,Y=0,Z=0,$=[];a.each((c.events?[c.events]:[]).concat(c.eventSources||[]),function(a,b){var c=i(b);c&&W.push(c)}),P.getBusinessHoursEvents=D,P.isEventRangeAllowed=F,P.isSelectionRangeAllowed=G,P.isExternalDropRangeAllowed=H}function ya(a){a._allDay=a.allDay,a._start=a.start.clone(),a._end=a.end?a.end.clone():null}var za={titleRangeSeparator:" — ",monthYearFormat:"MMMM YYYY",defaultTimedEventDuration:"02:00:00",defaultAllDayEventDuration:{days:1},forceEventDuration:!1,nextDayThreshold:"09:00:00",defaultView:"month",aspectRatio:1.35,header:{left:"title",center:"",right:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberTitle:"W",weekNumberCalculation:"local",lazyFetching:!0,startParam:"start",endParam:"end",timezoneParam:"timezone",timezone:!1,isRTL:!1,defaultButtonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",today:"today",month:"month",week:"week",day:"day"},buttonIcons:{prev:"left-single-arrow",next:"right-single-arrow",prevYear:"left-double-arrow",nextYear:"right-double-arrow"},theme:!1,themeButtonIcons:{prev:"circle-triangle-w",next:"circle-triangle-e",prevYear:"seek-prev",nextYear:"seek-next"},dragOpacity:.75,dragRevertDuration:500,dragScroll:!0,unselectAuto:!0,dropAccept:"*",eventLimit:!1,eventLimitText:"more",eventLimitClick:"popover",dayPopoverFormat:"LL",handleWindowResize:!0,windowResizeDelay:200},Aa={dayPopoverFormat:"dddd, MMMM D"},Ba={header:{left:"next,prev today",center:"",right:"title"},buttonIcons:{prev:"right-single-arrow",next:"left-single-arrow",prevYear:"right-double-arrow",nextYear:"left-double-arrow"},themeButtonIcons:{prev:"circle-triangle-e",next:"circle-triangle-w",nextYear:"seek-prev",prevYear:"seek-next"}},Ca=a.fullCalendar={version:"2.2.7"},Da=Ca.views={};a.fn.fullCalendar=function(b){var c=Array.prototype.slice.call(arguments,1),d=this;return this.each(function(e,f){var g,h=a(f),i=h.data("fullCalendar");"string"==typeof b?i&&a.isFunction(i[b])&&(g=i[b].apply(i,c),e||(d=g),"destroy"===b&&h.removeData("fullCalendar")):i||(i=new va(h,b),h.data("fullCalendar",i),i.render())}),d};var Ea=Ca.langs={};Ca.datepickerLang=function(b,c,d){var e=Ea[b]||(Ea[b]={});e.isRTL=d.isRTL,e.weekNumberTitle=d.weekHeader,a.each(Fa,function(a,b){e[a]=b(d)}),a.datepicker&&(a.datepicker.regional[c]=a.datepicker.regional[b]=d,a.datepicker.regional.en=a.datepicker.regional[""],a.datepicker.setDefaults(d))},Ca.lang=function(b,c){var e,g;e=Ea[b]||(Ea[b]={}),c&&d(e,c),g=f(b),a.each(Ga,function(a,b){void 0===e[a]&&(e[a]=b(g,e))}),za.lang=b};var Fa={defaultButtonText:function(a){return{prev:M(a.prevText),next:M(a.nextText),today:M(a.currentText)}},monthYearFormat:function(a){return a.showMonthAfterYear?"YYYY["+a.yearSuffix+"] MMMM":"MMMM YYYY["+a.yearSuffix+"]"}},Ga={dayOfMonthFormat:function(a,b){var c=a.longDateFormat("l");return c=c.replace(/^Y+[^\w\s]*|[^\w\s]*Y+$/g,""),b.isRTL?c+=" ddd":c="ddd "+c,c},smallTimeFormat:function(a){return a.longDateFormat("LT").replace(":mm","(:mm)").replace(/(\Wmm)$/,"($1)").replace(/\s*a$/i,"a")},extraSmallTimeFormat:function(a){return a.longDateFormat("LT").replace(":mm","(:mm)").replace(/(\Wmm)$/,"($1)").replace(/\s*a$/i,"t")},noMeridiemTimeFormat:function(a){return a.longDateFormat("LT").replace(/\s*a$/i,"")}};Ca.lang("en",Aa),Ca.intersectionToSeg=x,Ca.applyAll=J,Ca.debounce=Q;var Ha,Ia,Ja,Ka=-1!==navigator.userAgent.toLowerCase().indexOf("phantom"),La=!1,Ma=["sun","mon","tue","wed","thu","fri","sat"],Na=["year","month","week","day","hour","minute","second","millisecond"],Oa={}.hasOwnProperty,Pa=/^\s*\d{4}-\d\d$/,Qa=/^\s*\d{4}-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?)?$/,Ra=b.fn,Sa=a.extend({},Ra);Ca.moment=function(){return R(arguments)},Ca.moment.utc=function(){var a=R(arguments,!0);return a.hasTime()&&a.utc(),a},Ca.moment.parseZone=function(){return R(arguments,!0,!0)},Ra.clone=function(){var a=Sa.clone.apply(this,arguments);return T(this,a),this._fullCalendar&&(a._fullCalendar=!0),a},Ra.time=function(a){if(!this._fullCalendar)return Sa.time.apply(this,arguments);if(null==a)return b.duration({hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()});this._ambigTime=!1,b.isDuration(a)||b.isMoment(a)||(a=b.duration(a));var c=0;return b.isDuration(a)&&(c=24*Math.floor(a.asDays())),this.hours(c+a.hours()).minutes(a.minutes()).seconds(a.seconds()).milliseconds(a.milliseconds())},Ra.stripTime=function(){var a;return this._ambigTime||(a=this.toArray(),this.utc(),Ia(this,a.slice(0,3)),this._ambigTime=!0,this._ambigZone=!0),this},Ra.hasTime=function(){return!this._ambigTime},Ra.stripZone=function(){var a,b;return this._ambigZone||(a=this.toArray(),b=this._ambigTime,this.utc(),Ia(this,a),this._ambigTime=b||!1,this._ambigZone=!0),this},Ra.hasZone=function(){return!this._ambigZone},Ra.local=function(){var a=this.toArray(),b=this._ambigZone;return Sa.local.apply(this,arguments),this._ambigTime=!1,this._ambigZone=!1,b&&Ja(this,a),this},Ra.utc=function(){return Sa.utc.apply(this,arguments),this._ambigTime=!1,this._ambigZone=!1,this},a.each(["zone","utcOffset"],function(a,b){Sa[b]&&(Ra[b]=function(a){return null!=a&&(this._ambigTime=!1,this._ambigZone=!1),Sa[b].apply(this,arguments)})}),Ra.format=function(){return this._fullCalendar&&arguments[0]?W(this,arguments[0]):this._ambigTime?V(this,"YYYY-MM-DD"):this._ambigZone?V(this,"YYYY-MM-DD[T]HH:mm:ss"):Sa.format.apply(this,arguments)},Ra.toISOString=function(){return this._ambigTime?V(this,"YYYY-MM-DD"):this._ambigZone?V(this,"YYYY-MM-DD[T]HH:mm:ss"):Sa.toISOString.apply(this,arguments)},Ra.isWithin=function(a,b){var c=S([this,a,b]);return c[0]>=c[1]&&c[0]<c[2]},Ra.isSame=function(a,b){var c;return this._fullCalendar?b?(c=S([this,a],!0),Sa.isSame.call(c[0],c[1],b)):(a=Ca.moment.parseZone(a),Sa.isSame.call(this,a)&&Boolean(this._ambigTime)===Boolean(a._ambigTime)&&Boolean(this._ambigZone)===Boolean(a._ambigZone)):Sa.isSame.apply(this,arguments)},a.each(["isBefore","isAfter"],function(a,b){Ra[b]=function(a,c){var d;return this._fullCalendar?(d=S([this,a]),Sa[b].call(d[0],d[1],c)):Sa[b].apply(this,arguments)}}),Ha="_d"in b()&&"updateOffset"in b,Ia=Ha?function(a,c){a._d.setTime(Date.UTC.apply(Date,c)),b.updateOffset(a,!1)}:U,Ja=Ha?function(a,c){a._d.setTime(+new Date(c[0]||0,c[1]||0,c[2]||0,c[3]||0,c[4]||0,c[5]||0,c[6]||0)),b.updateOffset(a,!1)}:U;var Ta={t:function(a){return V(a,"a").charAt(0)},T:function(a){return V(a,"A").charAt(0)}};Ca.formatRange=Z;var Ua={Y:"year",M:"month",D:"day",d:"day",A:"second",a:"second",T:"second",t:"second",H:"second",h:"second",m:"second",s:"second"},Va={};Ca.Class=ca,ca.extend=function(a){var b,c=this;return a=a||{},H(a,"constructor")&&(b=a.constructor),"function"!=typeof b&&(b=a.constructor=function(){c.apply(this,arguments)}),b.prototype=F(c.prototype),G(a,b.prototype),G(c,b),b},ca.mixin=function(a){G(a.prototype||a,this.prototype)};var Wa=ca.extend({isHidden:!0,options:null,el:null,documentMousedownProxy:null,margin:10,constructor:function(a){this.options=a||{}},show:function(){this.isHidden&&(this.el||this.render(),this.el.show(),this.position(),this.isHidden=!1,this.trigger("show"))},hide:function(){this.isHidden||(this.el.hide(),this.isHidden=!0,this.trigger("hide"))},render:function(){var b=this,c=this.options;this.el=a('<div class="fc-popover"/>').addClass(c.className||"").css({top:0,left:0}).append(c.content).appendTo(c.parentEl),this.el.on("click",".fc-close",function(){b.hide()}),c.autoHide&&a(document).on(m(),this.documentMousedownProxy=a.proxy(this,"documentMousedown"))},documentMousedown:function(b){this.el&&!a(b.target).closest(this.el).length&&(this.hide(),b.stopPropagation())},destroy:function(){this.hide(),this.el&&(this.el.remove(),this.el=null),
3
  a(document).off(m(),this.documentMousedownProxy)},position:function(){var b,c,d,e,f,g=this.options,h=this.el.offsetParent().offset(),i=this.el.outerWidth(),j=this.el.outerHeight(),k=a(window),l=u(this.el);e=g.top||0,f=void 0!==g.left?g.left:void 0!==g.right?g.right-i:0,l.is(window)||l.is(document)?(l=k,b=0,c=0):(d=l.offset(),b=d.top,c=d.left),b+=k.scrollTop(),c+=k.scrollLeft(),g.viewportConstrain!==!1&&(e=Math.min(e,b+l.outerHeight()-j-this.margin),e=Math.max(e,b+this.margin),f=Math.min(f,c+l.outerWidth()-i-this.margin),f=Math.max(f,c+this.margin)),this.el.css({top:e-h.top,left:f-h.left})},trigger:function(a){this.options[a]&&this.options[a].apply(this,Array.prototype.slice.call(arguments,1))}}),Xa=ca.extend({grid:null,rowCoords:null,colCoords:null,containerEl:null,minX:null,maxX:null,minY:null,maxY:null,constructor:function(a){this.grid=a},build:function(){this.rowCoords=this.grid.computeRowCoords(),this.colCoords=this.grid.computeColCoords(),this.computeBounds()},clear:function(){this.rowCoords=null,this.colCoords=null},getCell:function(a,b){var c,d,e,f=this.rowCoords,g=this.colCoords,h=null,i=null;if(this.inBounds(a,b)){for(c=0;c<f.length;c++)if(d=f[c],b>=d.top&&b<d.bottom){h=c;break}for(c=0;c<g.length;c++)if(d=g[c],a>=d.left&&a<d.right){i=c;break}if(null!==h&&null!==i)return e=this.grid.getCell(h,i),e.grid=this.grid,e}return null},computeBounds:function(){var a;this.containerEl&&(a=this.containerEl.offset(),this.minX=a.left,this.maxX=a.left+this.containerEl.outerWidth(),this.minY=a.top,this.maxY=a.top+this.containerEl.outerHeight())},inBounds:function(a,b){return this.containerEl?a>=this.minX&&a<this.maxX&&b>=this.minY&&b<this.maxY:!0}}),Ya=ca.extend({coordMaps:null,constructor:function(a){this.coordMaps=a},build:function(){var a,b=this.coordMaps;for(a=0;a<b.length;a++)b[a].build()},getCell:function(a,b){var c,d=this.coordMaps,e=null;for(c=0;c<d.length&&!e;c++)e=d[c].getCell(a,b);return e},clear:function(){var a,b=this.coordMaps;for(a=0;a<b.length;a++)b[a].clear()}}),Za=ca.extend({coordMap:null,options:null,isListening:!1,isDragging:!1,origCell:null,cell:null,mouseX0:null,mouseY0:null,mousemoveProxy:null,mouseupProxy:null,scrollEl:null,scrollBounds:null,scrollTopVel:null,scrollLeftVel:null,scrollIntervalId:null,scrollHandlerProxy:null,scrollSensitivity:30,scrollSpeed:200,scrollIntervalMs:50,constructor:function(a,b){this.coordMap=a,this.options=b||{}},mousedown:function(a){w(a)&&(k(a)||a.preventDefault(),this.startListening(a),this.options.distance||this.startDrag(a))},startListening:function(b){var c,d;this.isListening||(b&&this.options.scroll&&(c=u(a(b.target)),c.is(window)||c.is(document)||(this.scrollEl=c,this.scrollHandlerProxy=Q(a.proxy(this,"scrollHandler"),100),this.scrollEl.on("scroll",this.scrollHandlerProxy))),this.computeCoords(),b&&(d=this.getCell(b),this.origCell=d,this.mouseX0=l(b).x,this.mouseY0=l(b).y),a(document).on(o(),this.mousemoveProxy=a.proxy(this,"mousemove")).on(n(),this.mouseupProxy=a.proxy(this,"mouseup")).on("selectstart",this.preventDefault),this.isListening=!0,this.trigger("listenStart",b))},computeCoords:function(){this.coordMap.build(),this.computeScrollBounds()},mousemove:function(a){var b,c;this.isDragging||(b=this.options.distance||1,c=Math.pow(l(a).x-this.mouseX0,2)+Math.pow(l(a).y-this.mouseY0,2),c>=b*b&&this.startDrag(a)),this.isDragging&&this.drag(a)},startDrag:function(a){var b;this.isListening||this.startListening(),this.isDragging||(this.isDragging=!0,this.trigger("dragStart",a),b=this.getCell(a),b&&this.cellOver(b))},drag:function(a){var b;this.isDragging&&(b=this.getCell(a),da(b,this.cell)||(this.cell&&this.cellOut(),!b||k(a)&&!La||this.cellOver(b)),this.dragScroll(a))},cellOver:function(a){this.cell=a,this.trigger("cellOver",a,da(a,this.origCell))},cellOut:function(){this.cell&&(this.trigger("cellOut",this.cell),this.cell=null)},mouseup:function(a){this.stopDrag(a),this.stopListening(a)},stopDrag:function(a){this.isDragging&&(this.stopScrolling(),this.trigger("dragStop",a),this.isDragging=!1)},stopListening:function(b){this.isListening&&(this.scrollEl&&(this.scrollEl.off("scroll",this.scrollHandlerProxy),this.scrollHandlerProxy=null),a(document).off(o(),this.mousemoveProxy).off(n(),this.mouseupProxy).off("selectstart",this.preventDefault),this.mousemoveProxy=null,this.mouseupProxy=null,this.isListening=!1,this.trigger("listenStop",b),this.origCell=this.cell=null,this.coordMap.clear())},getCell:function(a){return this.coordMap.getCell(l(a).x,l(a).y)},trigger:function(a){this.options[a]&&this.options[a].apply(this,Array.prototype.slice.call(arguments,1))},preventDefault:function(a){a.preventDefault()},computeScrollBounds:function(){var a,b=this.scrollEl;b&&(a=b.offset(),this.scrollBounds={top:a.top,left:a.left,bottom:a.top+b.outerHeight(),right:a.left+b.outerWidth()})},dragScroll:function(a){var b,c,d,e,f=this.scrollSensitivity,g=this.scrollBounds,h=0,i=0;g&&(b=(f-(l(a).y-g.top))/f,c=(f-(g.bottom-l(a).y))/f,d=(f-(l(a).x-g.left))/f,e=(f-(g.right-l(a).x))/f,b>=0&&1>=b?h=b*this.scrollSpeed*-1:c>=0&&1>=c&&(h=c*this.scrollSpeed),d>=0&&1>=d?i=d*this.scrollSpeed*-1:e>=0&&1>=e&&(i=e*this.scrollSpeed)),this.setScrollVel(h,i)},setScrollVel:function(b,c){this.scrollTopVel=b,this.scrollLeftVel=c,this.constrainScrollVel(),!this.scrollTopVel&&!this.scrollLeftVel||this.scrollIntervalId||(this.scrollIntervalId=setInterval(a.proxy(this,"scrollIntervalFunc"),this.scrollIntervalMs))},constrainScrollVel:function(){var a=this.scrollEl;this.scrollTopVel<0?a.scrollTop()<=0&&(this.scrollTopVel=0):this.scrollTopVel>0&&a.scrollTop()+a[0].clientHeight>=a[0].scrollHeight&&(this.scrollTopVel=0),this.scrollLeftVel<0?a.scrollLeft()<=0&&(this.scrollLeftVel=0):this.scrollLeftVel>0&&a.scrollLeft()+a[0].clientWidth>=a[0].scrollWidth&&(this.scrollLeftVel=0)},scrollIntervalFunc:function(){var a=this.scrollEl,b=this.scrollIntervalMs/1e3;this.scrollTopVel&&a.scrollTop(a.scrollTop()+this.scrollTopVel*b),this.scrollLeftVel&&a.scrollLeft(a.scrollLeft()+this.scrollLeftVel*b),this.constrainScrollVel(),this.scrollTopVel||this.scrollLeftVel||this.stopScrolling()},stopScrolling:function(){this.scrollIntervalId&&(clearInterval(this.scrollIntervalId),this.scrollIntervalId=null,this.computeCoords())},scrollHandler:function(){this.scrollIntervalId||this.computeCoords()}}),$a=ca.extend({options:null,sourceEl:null,el:null,parentEl:null,top0:null,left0:null,mouseY0:null,mouseX0:null,topDelta:null,leftDelta:null,mousemoveProxy:null,isFollowing:!1,isHidden:!1,isAnimating:!1,constructor:function(b,c){this.options=c=c||{},this.sourceEl=b,this.parentEl=c.parentEl?a(c.parentEl):b.parent()},start:function(b){this.isFollowing||(this.isFollowing=!0,this.mouseY0=l(b).y,this.mouseX0=l(b).x,this.topDelta=0,this.leftDelta=0,this.isHidden||this.updatePosition(),a(document).on(o(),this.mousemoveProxy=a.proxy(this,"mousemove")))},stop:function(b,c){function d(){this.isAnimating=!1,e.destroyEl(),this.top0=this.left0=null,c&&c()}var e=this,f=this.options.revertDuration;this.isFollowing&&!this.isAnimating&&(this.isFollowing=!1,a(document).off(o(),this.mousemoveProxy),b&&f&&!this.isHidden?(this.isAnimating=!0,this.el.animate({top:this.top0,left:this.left0},{duration:f,complete:d})):d())},getEl:function(){var a=this.el;return a||(this.sourceEl.width(),a=this.el=this.sourceEl.clone().css({position:"absolute",visibility:"",display:this.isHidden?"none":"",margin:0,right:"auto",bottom:"auto",width:this.sourceEl.width(),height:this.sourceEl.height(),opacity:this.options.opacity||"",zIndex:this.options.zIndex}).appendTo(this.parentEl)),a},destroyEl:function(){this.el&&(this.el.remove(),this.el=null)},updatePosition:function(){var a,b;this.getEl(),null===this.top0&&(this.sourceEl.width(),a=this.sourceEl.offset(),b=this.el.offsetParent().offset(),this.top0=a.top-b.top,this.left0=a.left-b.left),this.el.css({top:this.top0+this.topDelta,left:this.left0+this.leftDelta})},mousemove:function(a){this.topDelta=l(a).y-this.mouseY0,this.leftDelta=l(a).x-this.mouseX0,this.isHidden||this.updatePosition()},hide:function(){this.isHidden||(this.isHidden=!0,this.el&&this.el.hide())},show:function(){this.isHidden&&(this.isHidden=!1,this.updatePosition(),this.getEl().show())}}),_a=ca.extend({view:null,isRTL:null,cellHtml:"<td/>",constructor:function(a){this.view=a,this.isRTL=a.opt("isRTL")},rowHtml:function(a,b){var c,d,e=this.getHtmlRenderer("cell",a),f="";for(b=b||0,c=0;c<this.colCnt;c++)d=this.getCell(b,c),f+=e(d);return f=this.bookendCells(f,a,b),"<tr>"+f+"</tr>"},bookendCells:function(a,b,c){var d=this.getHtmlRenderer("intro",b)(c||0),e=this.getHtmlRenderer("outro",b)(c||0),f=this.isRTL?e:d,g=this.isRTL?d:e;return"string"==typeof a?f+a+g:a.prepend(f).append(g)},getHtmlRenderer:function(a,b){var c,d,e,f,g=this.view;return c=a+"Html",b&&(d=b+N(a)+"Html"),d&&(f=g[d])?e=g:d&&(f=this[d])?e=this:(f=g[c])?e=g:(f=this[c])&&(e=this),"function"==typeof f?function(){return f.apply(e,arguments)||""}:function(){return f||""}}}),ab=Ca.Grid=_a.extend({start:null,end:null,rowCnt:0,colCnt:0,rowData:null,colData:null,el:null,coordMap:null,elsByFill:null,documentDragStartProxy:null,colHeadFormat:null,eventTimeFormat:null,displayEventEnd:null,constructor:function(){_a.apply(this,arguments),this.coordMap=new Xa(this),this.elsByFill={},this.documentDragStartProxy=a.proxy(this,"documentDragStart")},render:function(){this.bindHandlers()},destroy:function(){this.unbindHandlers()},computeColHeadFormat:function(){},computeEventTimeFormat:function(){return this.view.opt("smallTimeFormat")},computeDisplayEventEnd:function(){return!1},setRange:function(a){var b=this.view;this.start=a.start.clone(),this.end=a.end.clone(),this.rowData=[],this.colData=[],this.updateCells(),this.colHeadFormat=b.opt("columnFormat")||this.computeColHeadFormat(),this.eventTimeFormat=b.opt("timeFormat")||this.computeEventTimeFormat(),this.displayEventEnd=b.opt("displayEventEnd"),null==this.displayEventEnd&&(this.displayEventEnd=this.computeDisplayEventEnd())},updateCells:function(){},rangeToSegs:function(a){},getCell:function(b,c){var d;return null==c&&("number"==typeof b?(c=b%this.colCnt,b=Math.floor(b/this.colCnt)):(c=b.col,b=b.row)),d={row:b,col:c},a.extend(d,this.getRowData(b),this.getColData(c)),a.extend(d,this.computeCellRange(d)),d},computeCellRange:function(a){},getRowData:function(a){return this.rowData[a]||{}},getColData:function(a){return this.colData[a]||{}},getRowEl:function(a){},getColEl:function(a){},getCellDayEl:function(a){return this.getColEl(a.col)||this.getRowEl(a.row)},computeRowCoords:function(){var a,b,c,d=[];for(a=0;a<this.rowCnt;a++)b=this.getRowEl(a),c={top:b.offset().top},a>0&&(d[a-1].bottom=c.top),d.push(c);return c.bottom=c.top+b.outerHeight(),d},computeColCoords:function(){var a,b,c,d=[];for(a=0;a<this.colCnt;a++)b=this.getColEl(a),c={left:b.offset().left},a>0&&(d[a-1].right=c.left),d.push(c);return c.right=c.left+b.outerWidth(),d},bindHandlers:function(){var b=this;this.el.on(m(),function(c){a(c.target).is(".fc-event-container *, .fc-more")||b.view.el.find(".fc-popover").length||a(c.target).closest(".fc-popover").length||b.dayMousedown(c)}),this.bindSegHandlers(),a(document).on("dragstart",this.documentDragStartProxy)},unbindHandlers:function(){a(document).off("dragstart",this.documentDragStartProxy)},dayMousedown:function(a){var b,c,d=this,e=this.view,f=e.opt("selectable"),g=new Za(this.coordMap,{scroll:e.opt("dragScroll"),dragStart:function(){e.unselect()},cellOver:function(a,e){var h=g.origCell;h&&(b=e?a:null,f&&(c=d.computeSelection(h,a),c?d.renderSelection(c):i()))},cellOut:function(a){b=null,c=null,d.destroySelection(),j()},listenStop:function(a){b&&(a.preventDefault(),e.trigger("dayClick",d.getCellDayEl(b),b.start,a)),c&&e.reportSelection(c,a),j()}});g.mousedown(a)},renderRangeHelper:function(a,b){var c;c=b?F(b.event):{},c.start=a.start.clone(),c.end=a.end?a.end.clone():null,c.allDay=null,this.view.calendar.normalizeEventDateProps(c),c.className=(c.className||[]).concat("fc-helper"),b||(c.editable=!1),this.renderHelper(c,b)},renderHelper:function(a,b){},destroyHelper:function(){},renderSelection:function(a){this.renderHighlight(a)},destroySelection:function(){this.destroyHighlight()},computeSelection:function(a,b){var c,d=[a.start,a.end,b.start,b.end];return d.sort(O),c={start:d[0].clone(),end:d[3].clone()},this.view.calendar.isSelectionRangeAllowed(c)?c:null},renderHighlight:function(a){this.renderFill("highlight",this.rangeToSegs(a))},destroyHighlight:function(){this.destroyFill("highlight")},highlightSegClasses:function(){return["fc-highlight"]},renderFill:function(a,b){},destroyFill:function(a){var b=this.elsByFill[a];b&&(b.remove(),delete this.elsByFill[a])},renderFillSegEls:function(b,c){var d,e=this,f=this[b+"SegEl"],g="",h=[];if(c.length){for(d=0;d<c.length;d++)g+=this.fillSegHtml(b,c[d]);a(g).each(function(b,d){var g=c[b],i=a(d);f&&(i=f.call(e,g,i)),i&&(i=a(i),i.is(e.fillSegTag)&&(g.el=i,h.push(g)))})}return h},fillSegTag:"div",fillSegHtml:function(a,b){var c=this[a+"SegClasses"],d=this[a+"SegStyles"],e=c?c.call(this,b):[],f=d?d.call(this,b):"";return"<"+this.fillSegTag+(e.length?' class="'+e.join(" ")+'"':"")+(f?' style="'+f+'"':"")+" />"},headHtml:function(){return'<div class="fc-row '+this.view.widgetHeaderClass+'"><table><thead>'+this.rowHtml("head")+"</thead></table></div>"},headCellHtml:function(a){var b=this.view,c=a.start;return'<th class="fc-day-header '+b.widgetHeaderClass+" fc-"+Ma[c.day()]+'">'+L(c.format(this.colHeadFormat))+"</th>"},bgCellHtml:function(a){var b=this.view,c=a.start,d=this.getDayClasses(c);return d.unshift("fc-day",b.widgetContentClass),'<td class="'+d.join(" ")+'" data-date="'+c.format("YYYY-MM-DD")+'"></td>'},getDayClasses:function(a){var b=this.view,c=b.calendar.getNow().stripTime(),d=["fc-"+Ma[a.day()]];return"month"===b.name&&a.month()!=b.intervalStart.month()&&d.push("fc-other-month"),a.isSame(c,"day")?d.push("fc-today",b.highlightStateClass):c>a?d.push("fc-past"):d.push("fc-future"),d}});ab.mixin({mousedOverSeg:null,isDraggingSeg:!1,isResizingSeg:!1,segs:null,renderEvents:function(a){var b,c,d=this.eventsToSegs(a),e=[],f=[];for(b=0;b<d.length;b++)c=d[b],ea(c.event)?e.push(c):f.push(c);e=this.renderBgSegs(e)||e,f=this.renderFgSegs(f)||f,this.segs=e.concat(f)},destroyEvents:function(){this.triggerSegMouseout(),this.destroyFgSegs(),this.destroyBgSegs(),this.segs=null},getEventSegs:function(){return this.segs||[]},renderFgSegs:function(a){},destroyFgSegs:function(){},renderFgSegEls:function(b,c){var d,e=this.view,f="",g=[];if(b.length){for(d=0;d<b.length;d++)f+=this.fgSegHtml(b[d],c);a(f).each(function(c,d){var f=b[c],h=e.resolveEventEl(f.event,a(d));h&&(h.data("fc-seg",f),f.el=h,g.push(f))})}return g},fgSegHtml:function(a,b){},renderBgSegs:function(a){return this.renderFill("bgEvent",a)},destroyBgSegs:function(){this.destroyFill("bgEvent")},bgEventSegEl:function(a,b){return this.view.resolveEventEl(a.event,b)},bgEventSegClasses:function(a){var b=a.event,c=b.source||{};return["fc-bgevent"].concat(b.className,c.className||[])},bgEventSegStyles:function(a){var b=this.view,c=a.event,d=c.source||{},e=c.color,f=d.color,g=b.opt("eventColor"),h=c.backgroundColor||e||d.backgroundColor||f||b.opt("eventBackgroundColor")||g;return h?"background-color:"+h:""},businessHoursSegClasses:function(a){return["fc-nonbusiness","fc-bgevent"]},bindSegHandlers:function(){var b=this,c=this.view,d={};d.mouseenter=function(a,c){b.triggerSegMouseover(a,c)},d.mouseleave=function(a,c){b.triggerSegMouseout(a,c)},d.click=function(a,b){return c.trigger("eventClick",this,a.event,b)},d[m()]=function(d,e){a(e.target).is(".fc-resizer")&&c.isEventResizable(d.event)?b.segResizeMousedown(d,e):!c.isEventDraggable(d.event)||k(e)&&!La||b.segDragMousedown(d,e)},a.each(d,function(c,d){b.el.on(c,".fc-event-container > *",function(c){var e=a(this).data("fc-seg");return!e||b.isDraggingSeg||b.isResizingSeg?void 0:d.call(this,e,c)})})},triggerSegMouseover:function(a,b){this.mousedOverSeg||(this.mousedOverSeg=a,this.view.trigger("eventMouseover",a.el[0],a.event,b))},triggerSegMouseout:function(a,b){b=b||{},this.mousedOverSeg&&(a=a||this.mousedOverSeg,this.mousedOverSeg=null,this.view.trigger("eventMouseout",a.el[0],a.event,b))},segDragMousedown:function(a,b){var c,d=this,e=this.view,f=a.el,g=a.event,h=new $a(a.el,{parentEl:e.el,opacity:e.opt("dragOpacity"),revertDuration:e.opt("dragRevertDuration"),zIndex:2}),k=new Za(e.coordMap,{distance:5,scroll:e.opt("dragScroll"),listenStart:function(a){h.hide(),h.start(a)},dragStart:function(b){d.triggerSegMouseout(a,b),d.isDraggingSeg=!0,e.hideEvent(g),e.trigger("eventDragStart",f[0],g,b,{})},cellOver:function(b,f){var j=a.cell||k.origCell;c=d.computeEventDrop(j,b,g),c?(e.renderDrag(c,a)?h.hide():h.show(),f&&(c=null)):(h.show(),i())},cellOut:function(){c=null,e.destroyDrag(),h.show(),j()},dragStop:function(a){h.stop(!c,function(){d.isDraggingSeg=!1,e.destroyDrag(),e.showEvent(g),e.trigger("eventDragStop",f[0],g,a,{}),c&&e.reportEventDrop(g,c,f,a)}),j()},listenStop:function(){h.stop()}});k.mousedown(b)},computeEventDrop:function(a,b,c){var d,e,f,g,h,i=a.start,j=b.start;return i.hasTime()===j.hasTime()?(d=z(j,i),e=c.start.clone().add(d),f=null===c.end?null:c.end.clone().add(d),g=c.allDay):(e=j.clone(),f=null,g=!j.hasTime()),h={start:e,end:f,allDay:g},this.view.calendar.isEventRangeAllowed(h,c)?h:null},documentDragStart:function(b,c){var d,e,f=this.view;f.opt("droppable")&&(d=a(b.target),e=f.opt("dropAccept"),(a.isFunction(e)?e.call(d[0],d):d.is(e))&&this.startExternalDrag(d,b,c))},startExternalDrag:function(b,c,d){var e,f,g=this,h=ka(b);e=new Za(this.coordMap,{cellOver:function(a){f=g.computeExternalDrop(a,h),f?g.renderDrag(f):i()},cellOut:function(){f=null,g.destroyDrag(),j()}}),a(document).one("dragstop",function(a,c){g.destroyDrag(),j(),f&&g.view.reportExternalDrop(h,f,b,a,c)}),e.startDrag(c)},computeExternalDrop:function(a,b){var c={start:a.start.clone(),end:null};return b.startTime&&!c.start.hasTime()&&c.start.time(b.startTime),b.duration&&(c.end=c.start.clone().add(b.duration)),this.view.calendar.isExternalDropRangeAllowed(c,b.eventProps)?c:null},renderDrag:function(a,b){},destroyDrag:function(){},segResizeMousedown:function(a,b){function c(){f.destroyEventResize(),g.showEvent(l),j()}var d,e,f=this,g=this.view,h=g.calendar,k=a.el,l=a.event,m=l.start,n=h.getEventEnd(l);e=new Za(this.coordMap,{distance:5,scroll:g.opt("dragScroll"),dragStart:function(b){f.triggerSegMouseout(a,b),f.isResizingSeg=!0,g.trigger("eventResizeStart",k[0],l,b,{})},cellOver:function(b){d=b.end,d.isAfter(m)||(d=m.clone().add(z(b.end,b.start))),d.isSame(n)?d=null:h.isEventRangeAllowed({start:m,end:d},l)?(f.renderEventResize({start:m,end:d},a),g.hideEvent(l)):(d=null,i())},cellOut:function(){d=null,c()},dragStop:function(a){f.isResizingSeg=!1,c(),g.trigger("eventResizeStop",k[0],l,a,{}),d&&g.reportEventResize(l,d,k,a)}}),e.mousedown(b)},renderEventResize:function(a,b){},destroyEventResize:function(){},getEventTimeText:function(a,b){return b=b||this.eventTimeFormat,a.end&&this.displayEventEnd?this.view.formatRange(a,b):a.start.format(b)},getSegClasses:function(a,b,c){var d=a.event,e=["fc-event",a.isStart?"fc-start":"fc-not-start",a.isEnd?"fc-end":"fc-not-end"].concat(d.className,d.source?d.source.className:[]);return b&&e.push("fc-draggable"),c&&e.push("fc-resizable"),e},getEventSkinCss:function(a){var b=this.view,c=a.source||{},d=a.color,e=c.color,f=b.opt("eventColor"),g=a.backgroundColor||d||c.backgroundColor||e||b.opt("eventBackgroundColor")||f,h=a.borderColor||d||c.borderColor||e||b.opt("eventBorderColor")||f,i=a.textColor||c.textColor||b.opt("eventTextColor"),j=[];return g&&j.push("background-color:"+g),h&&j.push("border-color:"+h),i&&j.push("color:"+i),j.join(";")},eventsToSegs:function(a,b){var c,d=this.eventsToRanges(a),e=[];for(c=0;c<d.length;c++)e.push.apply(e,this.eventRangeToSegs(d[c],b));return e},eventsToRanges:function(b){var c=this,d=ha(b),e=[];return a.each(d,function(a,b){b.length&&e.push.apply(e,fa(b[0])?c.eventsToInverseRanges(b):c.eventsToNormalRanges(b))}),e},eventsToNormalRanges:function(a){var b,c,d,e,f=this.view.calendar,g=[];for(b=0;b<a.length;b++)c=a[b],d=c.start.clone().stripZone(),e=f.getEventEnd(c).stripZone(),g.push({event:c,start:d,end:e,eventStartMS:+d,eventDurationMS:e-d});return g},eventsToInverseRanges:function(a){var b,c,d=this.view,e=d.start.clone().stripZone(),f=d.end.clone().stripZone(),g=this.eventsToNormalRanges(a),h=[],i=a[0],j=e;for(g.sort(ia),b=0;b<g.length;b++)c=g[b],c.start>j&&h.push({event:i,start:j,end:c.start}),j=c.end;return f>j&&h.push({event:i,start:j,end:f}),h},eventRangeToSegs:function(a,b){var c,d,e;for(c=b?b(a):this.rangeToSegs(a),d=0;d<c.length;d++)e=c[d],e.event=a.event,e.eventStartMS=a.eventStartMS,e.eventDurationMS=a.eventDurationMS;return c}}),Ca.compareSegs=ja,Ca.dataAttrPrefix="";var bb=ab.extend({numbersVisible:!1,bottomCoordPadding:0,breakOnWeeks:null,cellDates:null,dayToCellOffsets:null,rowEls:null,dayEls:null,helperEls:null,render:function(a){var b,c,d,e=this.view,f=this.rowCnt,g=this.colCnt,h=f*g,i="";for(b=0;f>b;b++)i+=this.dayRowHtml(b,a);for(this.el.html(i),this.rowEls=this.el.find(".fc-row"),this.dayEls=this.el.find(".fc-day"),c=0;h>c;c++)d=this.getCell(c),e.trigger("dayRender",null,d.start,this.dayEls.eq(c));ab.prototype.render.call(this)},destroy:function(){this.destroySegPopover(),ab.prototype.destroy.call(this)},dayRowHtml:function(a,b){var c=this.view,d=["fc-row","fc-week",c.widgetContentClass];return b&&d.push("fc-rigid"),'<div class="'+d.join(" ")+'"><div class="fc-bg"><table>'+this.rowHtml("day",a)+'</table></div><div class="fc-content-skeleton"><table>'+(this.numbersVisible?"<thead>"+this.rowHtml("number",a)+"</thead>":"")+"</table></div></div>"},dayCellHtml:function(a){return this.bgCellHtml(a)},computeColHeadFormat:function(){return this.rowCnt>1?"ddd":this.colCnt>1?this.view.opt("dayOfMonthFormat"):"dddd"},computeEventTimeFormat:function(){return this.view.opt("extraSmallTimeFormat")},computeDisplayEventEnd:function(){return 1==this.colCnt},updateCells:function(){var a,b,c,d;if(this.updateCellDates(),a=this.cellDates,this.breakOnWeeks){for(b=a[0].day(),d=1;d<a.length&&a[d].day()!=b;d++);c=Math.ceil(a.length/d)}else c=1,d=a.length;this.rowCnt=c,this.colCnt=d},updateCellDates:function(){for(var a=this.view,b=this.start.clone(),c=[],d=-1,e=[];b.isBefore(this.end);)a.isHiddenDay(b)?e.push(d+.5):(d++,e.push(d),c.push(b.clone())),b.add(1,"days");this.cellDates=c,this.dayToCellOffsets=e},computeCellRange:function(a){var b=this.colCnt,c=a.row*b+(this.isRTL?b-a.col-1:a.col),d=this.cellDates[c].clone(),e=d.clone().add(1,"day");return{start:d,end:e}},getRowEl:function(a){return this.rowEls.eq(a)},getColEl:function(a){return this.dayEls.eq(a)},getCellDayEl:function(a){return this.dayEls.eq(a.row*this.colCnt+a.col)},computeRowCoords:function(){var a=ab.prototype.computeRowCoords.call(this);return a[a.length-1].bottom+=this.bottomCoordPadding,a},rangeToSegs:function(a){var b,c,d,e,f,g,h,i,j,k,l=this.isRTL,m=this.rowCnt,n=this.colCnt,o=[];for(a=this.view.computeDayRange(a),b=this.dateToCellOffset(a.start),c=this.dateToCellOffset(a.end.subtract(1,"days")),d=0;m>d;d++)e=d*n,f=e+n-1,i=Math.max(e,b),j=Math.min(f,c),i=Math.ceil(i),j=Math.floor(j),j>=i&&(g=i===b,h=j===c,i-=e,j-=e,k={row:d,isStart:g,isEnd:h},l?(k.leftCol=n-j-1,k.rightCol=n-i-1):(k.leftCol=i,k.rightCol=j),o.push(k));return o},dateToCellOffset:function(a){var b=this.dayToCellOffsets,c=a.diff(this.start,"days");return 0>c?b[0]-1:c>=b.length?b[b.length-1]+1:b[c]},renderDrag:function(a,b){var c;return this.renderHighlight(this.view.calendar.ensureVisibleEventRange(a)),b&&!b.el.closest(this.el).length?(this.renderRangeHelper(a,b),c=this.view.opt("dragOpacity"),void 0!==c&&this.helperEls.css("opacity",c),!0):void 0},destroyDrag:function(){this.destroyHighlight(),this.destroyHelper()},renderEventResize:function(a,b){this.renderHighlight(a),this.renderRangeHelper(a,b)},destroyEventResize:function(){this.destroyHighlight(),this.destroyHelper()},renderHelper:function(b,c){var d,e=[],f=this.eventsToSegs([b]);f=this.renderFgSegEls(f),d=this.renderSegRows(f),this.rowEls.each(function(b,f){var g,h=a(f),i=a('<div class="fc-helper-skeleton"><table/></div>');g=c&&c.row===b?c.el.position().top:h.find(".fc-content-skeleton tbody").position().top,i.css("top",g).find("table").append(d[b].tbodyEl),h.append(i),e.push(i[0])}),this.helperEls=a(e)},destroyHelper:function(){this.helperEls&&(this.helperEls.remove(),this.helperEls=null)},fillSegTag:"td",renderFill:function(b,c){var d,e,f,g=[];for(c=this.renderFillSegEls(b,c),d=0;d<c.length;d++)e=c[d],f=this.renderFillRow(b,e),this.rowEls.eq(e.row).append(f),g.push(f[0]);return this.elsByFill[b]=a(g),c},renderFillRow:function(b,c){var d,e,f=this.colCnt,g=c.leftCol,h=c.rightCol+1;return d=a('<div class="fc-'+b.toLowerCase()+'-skeleton"><table><tr/></table></div>'),e=d.find("tr"),g>0&&e.append('<td colspan="'+g+'"/>'),e.append(c.el.attr("colspan",h-g)),f>h&&e.append('<td colspan="'+(f-h)+'"/>'),this.bookendCells(e,b),d}});bb.mixin({rowStructs:null,destroyEvents:function(){this.destroySegPopover(),ab.prototype.destroyEvents.apply(this,arguments)},getEventSegs:function(){return ab.prototype.getEventSegs.call(this).concat(this.popoverSegs||[])},renderBgSegs:function(b){var c=a.grep(b,function(a){return a.event.allDay});return ab.prototype.renderBgSegs.call(this,c)},renderFgSegs:function(b){var c;return b=this.renderFgSegEls(b),c=this.rowStructs=this.renderSegRows(b),this.rowEls.each(function(b,d){a(d).find(".fc-content-skeleton > table").append(c[b].tbodyEl)}),b},destroyFgSegs:function(){for(var a,b=this.rowStructs||[];a=b.pop();)a.tbodyEl.remove();this.rowStructs=null},renderSegRows:function(a){var b,c,d=[];for(b=this.groupSegRows(a),c=0;c<b.length;c++)d.push(this.renderSegRow(c,b[c]));return d},fgSegHtml:function(a,b){var c,d=this.view,e=a.event,f=d.isEventDraggable(e),g=!b&&e.allDay&&a.isEnd&&d.isEventResizable(e),h=this.getSegClasses(a,f,g),i=this.getEventSkinCss(e),j="";h.unshift("fc-day-grid-event"),!e.allDay&&a.isStart&&(j='<span class="fc-time">'+L(this.getEventTimeText(e))+"</span>");var k='<span class="eo-fullcalendar-screen-reader-text screen-reader-text"> '+L(this.getEventTimeText(e,"dddd, MMMM Do YYYY"))+" </span>";return c='<span class="fc-title">'+(L(e.title||"")||"&nbsp;")+"</span>",'<a class="'+h.join(" ")+'"'+(e.url?' href="'+L(e.url)+'"':"")+(i?' style="'+i+'"':"")+'><div class="fc-content">'+(this.isRTL?c+" "+j+k:k+j+" "+c)+"</div>"+(g?'<div class="fc-resizer"/>':"")+"</a>"},renderSegRow:function(b,c){function d(b){for(;b>g;)k=(r[e-1]||[])[g],k?k.attr("rowspan",parseInt(k.attr("rowspan")||1,10)+1):(k=a("<td/>"),h.append(k)),q[e][g]=k,r[e][g]=k,g++}var e,f,g,h,i,j,k,l=this.colCnt,m=this.buildSegLevels(c),n=Math.max(1,m.length),o=a("<tbody/>"),p=[],q=[],r=[];for(e=0;n>e;e++){if(f=m[e],g=0,h=a("<tr/>"),p.push([]),q.push([]),r.push([]),f)for(i=0;i<f.length;i++){for(j=f[i],d(j.leftCol),k=a('<td class="fc-event-container"/>').append(j.el),j.leftCol!=j.rightCol?k.attr("colspan",j.rightCol-j.leftCol+1):r[e][g]=k;g<=j.rightCol;)q[e][g]=k,p[e][g]=j,g++;h.append(k)}d(l),this.bookendCells(h,"eventSkeleton"),o.append(h)}return{row:b,tbodyEl:o,cellMatrix:q,segMatrix:p,segLevels:m,segs:c}},buildSegLevels:function(a){var b,c,d,e=[];for(a.sort(ja),b=0;b<a.length;b++){for(c=a[b],d=0;d<e.length&&la(c,e[d]);d++);c.level=d,(e[d]||(e[d]=[])).push(c)}for(d=0;d<e.length;d++)e[d].sort(ma);return e},groupSegRows:function(a){var b,c=[];for(b=0;b<this.rowCnt;b++)c.push([]);for(b=0;b<a.length;b++)c[a[b].row].push(a[b]);return c}}),bb.mixin({segPopover:null,popoverSegs:null,destroySegPopover:function(){this.segPopover&&this.segPopover.hide()},limitRows:function(a){var b,c,d=this.rowStructs||[];for(b=0;b<d.length;b++)this.unlimitRow(b),c=a?"number"==typeof a?a:this.computeRowLevelLimit(b):!1,c!==!1&&this.limitRow(b,c)},computeRowLevelLimit:function(a){var b,c,d=this.rowEls.eq(a),e=d.height(),f=this.rowStructs[a].tbodyEl.children();for(b=0;b<f.length;b++)if(c=f.eq(b).removeClass("fc-limited"),c.position().top+c.outerHeight()>e)return b;return!1},limitRow:function(b,c){function d(d){for(;d>x;)e=u.getCell(b,x),k=u.getCellSegs(e,c),k.length&&(n=g[c-1][x],t=u.renderMoreLink(e,k),s=a("<div/>").append(t),n.append(s),w.push(s[0])),x++}var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u=this,v=this.rowStructs[b],w=[],x=0;if(c&&c<v.segLevels.length){for(f=v.segLevels[c-1],g=v.cellMatrix,h=v.tbodyEl.children().slice(c).addClass("fc-limited").get(),i=0;i<f.length;i++){for(j=f[i],d(j.leftCol),m=[],l=0;x<=j.rightCol;)e=this.getCell(b,x),k=this.getCellSegs(e,c),m.push(k),l+=k.length,x++;if(l){for(n=g[c-1][j.leftCol],o=n.attr("rowspan")||1,p=[],q=0;q<m.length;q++)r=a('<td class="fc-more-cell"/>').attr("rowspan",o),k=m[q],e=this.getCell(b,j.leftCol+q),t=this.renderMoreLink(e,[j].concat(k)),s=a("<div/>").append(t),r.append(s),p.push(r[0]),w.push(r[0]);n.addClass("fc-limited").after(a(p)),h.push(n[0])}}d(this.colCnt),v.moreEls=a(w),v.limitedEls=a(h)}},unlimitRow:function(a){var b=this.rowStructs[a];b.moreEls&&(b.moreEls.remove(),b.moreEls=null),b.limitedEls&&(b.limitedEls.removeClass("fc-limited"),b.limitedEls=null)},renderMoreLink:function(b,c){var d=this,e=this.view;return a('<a class="fc-more"/>').text(this.getMoreLinkText(c.length)).on("click",function(f){var g=e.opt("eventLimitClick"),h=b.start,i=a(this),j=d.getCellDayEl(b),k=d.getCellSegs(b),l=d.resliceDaySegs(k,h),m=d.resliceDaySegs(c,h);"function"==typeof g&&(g=e.trigger("eventLimitClick",null,{date:h,dayEl:j,moreEl:i,segs:l,hiddenSegs:m},f)),"popover"===g?d.showSegPopover(b,i,l):"string"==typeof g&&e.calendar.zoomTo(h,g)})},showSegPopover:function(a,b,c){var d,e,f=this,g=this.view,h=b.parent();d=1==this.rowCnt?g.el:this.rowEls.eq(a.row),e={className:"fc-more-popover",content:this.renderSegPopoverContent(a,c),parentEl:this.el,top:d.offset().top,autoHide:!0,viewportConstrain:g.opt("popoverViewportConstrain"),hide:function(){f.segPopover.destroy(),f.segPopover=null,f.popoverSegs=null}},this.isRTL?e.right=h.offset().left+h.outerWidth()+1:e.left=h.offset().left-1,this.segPopover=new Wa(e),this.segPopover.show()},renderSegPopoverContent:function(b,c){var d,e=this.view,f=e.opt("theme"),g=b.start.format(e.opt("dayPopoverFormat")),h=a('<div class="fc-header '+e.widgetHeaderClass+'"><span class="fc-close '+(f?"ui-icon ui-icon-closethick":"fc-icon fc-icon-x")+'"></span><span class="fc-title">'+L(g)+'</span><div class="fc-clear"/></div><div class="fc-body '+e.widgetContentClass+'"><div class="fc-event-container"></div></div>'),i=h.find(".fc-event-container");for(c=this.renderFgSegEls(c,!0),this.popoverSegs=c,d=0;d<c.length;d++)c[d].cell=b,i.append(c[d].el);return h},resliceDaySegs:function(b,c){var d=a.map(b,function(a){return a.event}),e=c.clone().stripTime(),f=e.clone().add(1,"days"),g={start:e,end:f};return this.eventsToSegs(d,function(a){var b=x(a,g);return b?[b]:[]})},getMoreLinkText:function(a){var b=this.view.opt("eventLimitText");return"function"==typeof b?b(a):"+"+a+" "+b},getCellSegs:function(a,b){for(var c,d=this.rowStructs[a.row].segMatrix,e=b||0,f=[];e<d.length;)c=d[e][a.col],c&&f.push(c),e++;return f}});var cb=ab.extend({slotDuration:null,snapDuration:null,minTime:null,maxTime:null,axisFormat:null,dayEls:null,slatEls:null,slatTops:null,helperEl:null,businessHourSegs:null,constructor:function(){ab.apply(this,arguments),this.processOptions()},render:function(){this.el.html(this.renderHtml()),this.dayEls=this.el.find(".fc-day"),this.slatEls=this.el.find(".fc-slats tr"),this.computeSlatTops(),this.renderBusinessHours(),ab.prototype.render.call(this)},renderBusinessHours:function(){var a=this.view.calendar.getBusinessHoursEvents();this.businessHourSegs=this.renderFill("businessHours",this.eventsToSegs(a),"bgevent")},renderHtml:function(){return'<div class="fc-bg"><table>'+this.rowHtml("slotBg")+'</table></div><div class="fc-slats"><table>'+this.slatRowHtml()+"</table></div>"},slotBgCellHtml:function(a){return this.bgCellHtml(a)},slatRowHtml:function(){for(var a,c,d,e=this.view,f=this.isRTL,g="",h=this.slotDuration.asMinutes()%15===0,i=b.duration(+this.minTime);i<this.maxTime;)a=this.start.clone().time(i),
4
  c=a.minutes(),d='<td class="fc-axis fc-time '+e.widgetContentClass+'" '+e.axisStyleAttr()+">"+(h&&c?"":"<span>"+L(a.format(this.axisFormat))+"</span>")+"</td>",g+="<tr "+(c?'class="fc-minor"':"")+">"+(f?"":d)+'<td class="'+e.widgetContentClass+'"/>'+(f?d:"")+"</tr>",i.add(this.slotDuration);return g},processOptions:function(){var a=this.view,c=a.opt("slotDuration"),d=a.opt("snapDuration");c=b.duration(c),d=d?b.duration(d):c,this.slotDuration=c,this.snapDuration=d,this.minTime=b.duration(a.opt("minTime")),this.maxTime=b.duration(a.opt("maxTime")),this.axisFormat=a.opt("axisFormat")||a.opt("smallTimeFormat")},computeColHeadFormat:function(){return this.colCnt>1?this.view.opt("dayOfMonthFormat"):"dddd"},computeEventTimeFormat:function(){return this.view.opt("noMeridiemTimeFormat")},computeDisplayEventEnd:function(){return!0},updateCells:function(){var a,b=this.view,c=[];for(a=this.start.clone();a.isBefore(this.end);)c.push({day:a.clone()}),a.add(1,"day"),a=b.skipHiddenDays(a);this.isRTL&&c.reverse(),this.colData=c,this.colCnt=c.length,this.rowCnt=Math.ceil((this.maxTime-this.minTime)/this.snapDuration)},computeCellRange:function(a){var b=this.computeSnapTime(a.row),c=this.view.calendar.rezoneDate(a.day).time(b),d=c.clone().add(this.snapDuration);return{start:c,end:d}},getColEl:function(a){return this.dayEls.eq(a)},computeSnapTime:function(a){return b.duration(this.minTime+this.snapDuration*a)},rangeToSegs:function(a){var b,c,d,e,f=this.colCnt,g=[];for(a={start:a.start.clone().stripZone(),end:a.end.clone().stripZone()},c=0;f>c;c++)d=this.colData[c].day,e={start:d.clone().time(this.minTime),end:d.clone().time(this.maxTime)},b=x(a,e),b&&(b.col=c,g.push(b));return g},resize:function(){this.computeSlatTops(),this.updateSegVerticals()},computeRowCoords:function(){var a,b,c=this.el.offset().top,d=[];for(a=0;a<this.rowCnt;a++)b={top:c+this.computeTimeTop(this.computeSnapTime(a))},a>0&&(d[a-1].bottom=b.top),d.push(b);return b.bottom=b.top+this.computeTimeTop(this.computeSnapTime(a)),d},computeDateTop:function(a,c){return this.computeTimeTop(b.duration(a.clone().stripZone()-c.clone().stripTime()))},computeTimeTop:function(a){var b,c,d,e,f=(a-this.minTime)/this.slotDuration;return f=Math.max(0,f),f=Math.min(this.slatEls.length,f),b=Math.floor(f),c=f-b,d=this.slatTops[b],c?(e=this.slatTops[b+1],d+(e-d)*c):d},computeSlatTops:function(){var b,c=[];this.slatEls.each(function(d,e){b=a(e).position().top,c.push(b)}),c.push(b+this.slatEls.last().outerHeight()),this.slatTops=c},renderDrag:function(a,b){var c;return b?(this.renderRangeHelper(a,b),c=this.view.opt("dragOpacity"),void 0!==c&&this.helperEl.css("opacity",c),!0):void this.renderHighlight(this.view.calendar.ensureVisibleEventRange(a))},destroyDrag:function(){this.destroyHelper(),this.destroyHighlight()},renderEventResize:function(a,b){this.renderRangeHelper(a,b)},destroyEventResize:function(){this.destroyHelper()},renderHelper:function(b,c){var d,e,f,g,h=this.eventsToSegs([b]);for(h=this.renderFgSegEls(h),d=this.renderSegTable(h),e=0;e<h.length;e++)f=h[e],c&&c.col===f.col&&(g=c.el,f.el.css({left:g.css("left"),right:g.css("right"),"margin-left":g.css("margin-left"),"margin-right":g.css("margin-right")}));this.helperEl=a('<div class="fc-helper-skeleton"/>').append(d).appendTo(this.el)},destroyHelper:function(){this.helperEl&&(this.helperEl.remove(),this.helperEl=null)},renderSelection:function(a){this.view.opt("selectHelper")?this.renderRangeHelper(a):this.renderHighlight(a)},destroySelection:function(){this.destroyHelper(),this.destroyHighlight()},renderFill:function(b,c,d){var e,f,g,h,i,j,k,l,m,n;if(c.length){for(c=this.renderFillSegEls(b,c),e=this.groupSegCols(c),d=d||b.toLowerCase(),f=a('<div class="fc-'+d+'-skeleton"><table><tr/></table></div>'),g=f.find("tr"),h=0;h<e.length;h++)if(i=e[h],j=a("<td/>").appendTo(g),i.length)for(k=a('<div class="fc-'+d+'-container"/>').appendTo(j),l=this.colData[h].day,m=0;m<i.length;m++)n=i[m],k.append(n.el.css({top:this.computeDateTop(n.start,l),bottom:-this.computeDateTop(n.end,l)}));this.bookendCells(g,b),this.el.append(f),this.elsByFill[b]=f}return c}});cb.mixin({eventSkeletonEl:null,renderFgSegs:function(b){return b=this.renderFgSegEls(b),this.el.append(this.eventSkeletonEl=a('<div class="fc-content-skeleton"/>').append(this.renderSegTable(b))),b},destroyFgSegs:function(a){this.eventSkeletonEl&&(this.eventSkeletonEl.remove(),this.eventSkeletonEl=null)},renderSegTable:function(b){var c,d,e,f,g,h,i=a("<table><tr/></table>"),j=i.find("tr");for(c=this.groupSegCols(b),this.computeSegVerticals(b),f=0;f<c.length;f++){for(g=c[f],na(g),h=a('<div class="fc-event-container"/>'),d=0;d<g.length;d++)e=g[d],e.el.css(this.generateSegPositionCss(e)),e.bottom-e.top<30&&e.el.addClass("fc-short"),h.append(e.el);j.append(a("<td/>").append(h))}return this.bookendCells(j,"eventSkeleton"),i},updateSegVerticals:function(){var a,b=(this.segs||[]).concat(this.businessHourSegs||[]);for(this.computeSegVerticals(b),a=0;a<b.length;a++)b[a].el.css(this.generateSegVerticalCss(b[a]))},computeSegVerticals:function(a){var b,c;for(b=0;b<a.length;b++)c=a[b],c.top=this.computeDateTop(c.start,c.start),c.bottom=this.computeDateTop(c.end,c.start)},fgSegHtml:function(a,b){var c,d,e,f=this.view,g=a.event,h=f.isEventDraggable(g),i=!b&&a.isEnd&&f.isEventResizable(g),j=this.getSegClasses(a,h,i),k=this.getEventSkinCss(g);return j.unshift("fc-time-grid-event"),f.isMultiDayEvent(g)?(a.isStart||a.isEnd)&&(c=this.getEventTimeText(a),d=this.getEventTimeText(a,"LT"),e=this.getEventTimeText({start:a.start})):(c=this.getEventTimeText(g),d=this.getEventTimeText(g,"LT"),e=this.getEventTimeText({start:g.start})),'<a class="'+j.join(" ")+'"'+(g.url?' href="'+L(g.url)+'"':"")+(k?' style="'+k+'"':"")+'><div class="fc-content">'+(c?'<div class="fc-time" data-start="'+L(e)+'" data-full="'+L(d)+'"><span>'+L(c)+"</span></div>":"")+(g.title?'<div class="fc-title">'+L(g.title)+"</div>":"")+'</div><div class="fc-bg"/>'+(i?'<div class="fc-resizer"/>':"")+"</a>"},generateSegPositionCss:function(a){var b,c,d=this.view.opt("slotEventOverlap"),e=a.backwardCoord,f=a.forwardCoord,g=this.generateSegVerticalCss(a);return d&&(f=Math.min(1,e+2*(f-e))),this.isRTL?(b=1-f,c=e):(b=e,c=1-f),g.zIndex=a.level+1,g.left=100*b+"%",g.right=100*c+"%",d&&a.forwardPressure&&(g[this.isRTL?"marginLeft":"marginRight"]=20),g},generateSegVerticalCss:function(a){return{top:a.top,bottom:-a.bottom}},groupSegCols:function(a){var b,c=[];for(b=0;b<this.colCnt;b++)c.push([]);for(b=0;b<a.length;b++)c[a[b].col].push(a[b]);return c}});var db=Ca.View=ca.extend({type:null,name:null,title:null,calendar:null,options:null,coordMap:null,el:null,start:null,end:null,intervalStart:null,intervalEnd:null,intervalDuration:null,intervalUnit:null,isSelected:!1,scrollerEl:null,scrollTop:null,widgetHeaderClass:null,widgetContentClass:null,highlightStateClass:null,nextDayThreshold:null,isHiddenDayHash:null,documentMousedownProxy:null,constructor:function(c,d,e){this.calendar=c,this.options=d,this.type=this.name=e,this.nextDayThreshold=b.duration(this.opt("nextDayThreshold")),this.initTheming(),this.initHiddenDays(),this.documentMousedownProxy=a.proxy(this,"documentMousedown"),this.initialize()},initialize:function(){},opt:function(b){var c;return c=this.options[b],void 0!==c?c:(c=this.calendar.options[b],a.isPlainObject(c)&&!e(b)?y(c,this.type):c)},trigger:function(a,b){var c=this.calendar;return c.trigger.apply(c,[a,b||this].concat(Array.prototype.slice.call(arguments,2),[this]))},setDate:function(a){this.setRange(this.computeRange(a))},setRange:function(b){a.extend(this,b),this.updateTitle()},computeRange:function(a){var c,d,e=b.duration(this.opt("duration")||this.constructor.duration||{days:1}),f=B(e),g=a.clone().startOf(f),h=g.clone().add(e);return/year|month|week|day/.test(f)?(g.stripTime(),h.stripTime()):(g.hasTime()||(g=this.calendar.rezoneDate(g)),h.hasTime()||(h=this.calendar.rezoneDate(h))),c=g.clone(),c=this.skipHiddenDays(c),d=h.clone(),d=this.skipHiddenDays(d,-1,!0),{intervalDuration:e,intervalUnit:f,intervalStart:g,intervalEnd:h,start:c,end:d}},computePrevDate:function(a){return this.massageCurrentDate(a.clone().startOf(this.intervalUnit).subtract(this.intervalDuration),-1)},computeNextDate:function(a){return this.massageCurrentDate(a.clone().startOf(this.intervalUnit).add(this.intervalDuration))},massageCurrentDate:function(a,c){return this.intervalDuration<=b.duration({days:1})&&this.isHiddenDay(a)&&(a=this.skipHiddenDays(a,c),a.startOf("day")),a},updateTitle:function(){this.title=this.computeTitle()},computeTitle:function(){return this.formatRange({start:this.intervalStart,end:this.intervalEnd},this.opt("titleFormat")||this.computeTitleFormat(),this.opt("titleRangeSeparator"))},computeTitleFormat:function(){return"year"==this.intervalUnit?"YYYY":"month"==this.intervalUnit?this.opt("monthYearFormat"):this.intervalDuration.as("days")>1?"ll":"LL"},formatRange:function(a,b,c){var d=a.end;return d.hasTime()||(d=d.clone().subtract(1)),Z(a.start,d,b,c,this.opt("isRTL"))},renderView:function(){this.render(),this.updateSize(),this.initializeScroll(),this.trigger("viewRender",this,this,this.el),a(document).on(m(),this.documentMousedownProxy)},render:function(){},destroyView:function(){this.unselect(),this.destroyViewEvents(),this.destroy(),this.trigger("viewDestroy",this,this,this.el),a(document).off(m(),this.documentMousedownProxy)},destroy:function(){this.el.empty()},initTheming:function(){var a=this.opt("theme")?"ui":"fc";this.widgetHeaderClass=a+"-widget-header",this.widgetContentClass=a+"-widget-content",this.highlightStateClass=a+"-state-highlight"},updateSize:function(a){a&&this.recordScroll(),this.updateHeight(),this.updateWidth()},updateWidth:function(){},updateHeight:function(){var a=this.calendar;this.setHeight(a.getSuggestedViewHeight(),a.isHeightAuto())},setHeight:function(a,b){},computeScrollerHeight:function(a,b){var c,d;return b=b||this.scrollerEl,c=this.el.add(b),c.css({position:"relative",left:-1}),d=this.el.outerHeight()-b.height(),c.css({position:"",left:""}),a-d},initializeScroll:function(){},recordScroll:function(){this.scrollerEl&&(this.scrollTop=this.scrollerEl.scrollTop())},restoreScroll:function(){null!==this.scrollTop&&this.scrollerEl.scrollTop(this.scrollTop)},renderViewEvents:function(a){this.renderEvents(a),this.eventSegEach(function(a){this.trigger("eventAfterRender",a.event,a.event,a.el)}),this.trigger("eventAfterAllRender")},renderEvents:function(){},destroyViewEvents:function(){this.eventSegEach(function(a){this.trigger("eventDestroy",a.event,a.event,a.el)}),this.destroyEvents()},destroyEvents:function(){},resolveEventEl:function(b,c){var d=this.trigger("eventRender",b,b,c);return d===!1?c=null:d&&d!==!0&&(c=a(d)),c},showEvent:function(a){this.eventSegEach(function(a){a.el.css("visibility","")},a)},hideEvent:function(a){this.eventSegEach(function(a){a.el.css("visibility","hidden")},a)},eventSegEach:function(a,b){var c,d=this.getEventSegs();for(c=0;c<d.length;c++)b&&d[c].event._id!==b._id||a.call(this,d[c])},getEventSegs:function(){return[]},isEventDraggable:function(a){var b=a.source||{};return K(a.startEditable,b.startEditable,this.opt("eventStartEditable"),a.editable,b.editable,this.opt("editable"))},reportEventDrop:function(a,b,c,d){var e=this.calendar,f=e.mutateEvent(a,b),g=function(){f.undo(),e.reportEventChange()};this.triggerEventDrop(a,f.dateDelta,g,c,d),e.reportEventChange()},triggerEventDrop:function(a,b,c,d,e){this.trigger("eventDrop",d[0],a,b,c,e,{})},reportExternalDrop:function(b,c,d,e,f){var g,h,i=b.eventProps;i&&(g=a.extend({},i,c),h=this.calendar.renderEvent(g,b.stick)[0]),this.triggerExternalDrop(h,c,d,e,f)},triggerExternalDrop:function(a,b,c,d,e){this.trigger("drop",c[0],b.start,d,e),a&&this.trigger("eventReceive",null,a)},renderDrag:function(a,b){},destroyDrag:function(){},isEventResizable:function(a){var b=a.source||{};return K(a.durationEditable,b.durationEditable,this.opt("eventDurationEditable"),a.editable,b.editable,this.opt("editable"))},reportEventResize:function(a,b,c,d){var e=this.calendar,f=e.mutateEvent(a,{end:b}),g=function(){f.undo(),e.reportEventChange()};this.triggerEventResize(a,f.durationDelta,g,c,d),e.reportEventChange()},triggerEventResize:function(a,b,c,d,e){this.trigger("eventResize",d[0],a,b,c,e,{})},select:function(a,b){this.unselect(b),this.renderSelection(a),this.reportSelection(a,b)},renderSelection:function(a){},reportSelection:function(a,b){this.isSelected=!0,this.trigger("select",null,a.start,a.end,b)},unselect:function(a){this.isSelected&&(this.isSelected=!1,this.destroySelection(),this.trigger("unselect",null,a))},destroySelection:function(){},documentMousedown:function(b){var c;this.isSelected&&this.opt("unselectAuto")&&w(b)&&(c=this.opt("unselectCancel"),c&&a(b.target).closest(c).length||this.unselect(b))},initHiddenDays:function(){var b,c=this.opt("hiddenDays")||[],d=[],e=0;for(this.opt("weekends")===!1&&c.push(0,6),b=0;7>b;b++)(d[b]=-1!==a.inArray(b,c))||e++;if(!e)throw"invalid hiddenDays";this.isHiddenDayHash=d},isHiddenDay:function(a){return b.isMoment(a)&&(a=a.day()),this.isHiddenDayHash[a]},skipHiddenDays:function(a,b,c){var d=a.clone();for(b=b||1;this.isHiddenDayHash[(d.day()+(c?b:0)+7)%7];)d.add(b,"days");return d},computeDayRange:function(a){var b,c=a.start.clone().stripTime(),d=a.end,e=null;return d&&(e=d.clone().stripTime(),b=+d.time(),b&&b>=this.nextDayThreshold&&e.add(1,"days")),(!d||c>=e)&&(e=c.clone().add(1,"days")),{start:c,end:e}},isMultiDayEvent:function(a){var b=this.computeDayRange(a);return b.end.diff(b.start,"days")>1}});Ca.sourceNormalizers=[],Ca.sourceFetchers=[];var eb={dataType:"json",cache:!1},fb=1,gb=Da.basic=db.extend({dayGrid:null,dayNumbersVisible:!1,weekNumbersVisible:!1,weekNumberWidth:null,headRowEl:null,initialize:function(){this.dayGrid=new bb(this),this.coordMap=this.dayGrid.coordMap},setRange:function(a){db.prototype.setRange.call(this,a),this.dayGrid.breakOnWeeks=/year|month|week/.test(this.intervalUnit),this.dayGrid.setRange(a)},computeRange:function(a){var b=db.prototype.computeRange.call(this,a);return/year|month/.test(b.intervalUnit)&&(b.start.startOf("week"),b.start=this.skipHiddenDays(b.start),b.end.weekday()&&(b.end.add(1,"week").startOf("week"),b.end=this.skipHiddenDays(b.end,-1,!0))),b},render:function(){this.dayNumbersVisible=this.dayGrid.rowCnt>1,this.weekNumbersVisible=this.opt("weekNumbers"),this.dayGrid.numbersVisible=this.dayNumbersVisible||this.weekNumbersVisible,this.el.addClass("fc-basic-view").html(this.renderHtml()),this.headRowEl=this.el.find("thead .fc-row"),this.scrollerEl=this.el.find(".fc-day-grid-container"),this.dayGrid.coordMap.containerEl=this.scrollerEl,this.dayGrid.el=this.el.find(".fc-day-grid"),this.dayGrid.render(this.hasRigidRows())},destroy:function(){this.dayGrid.destroy(),db.prototype.destroy.call(this)},renderHtml:function(){return'<table><thead><tr><td class="'+this.widgetHeaderClass+'">'+this.dayGrid.headHtml()+'</td></tr></thead><tbody><tr><td class="'+this.widgetContentClass+'"><div class="fc-day-grid-container"><div class="fc-day-grid"/></div></td></tr></tbody></table>'},headIntroHtml:function(){return this.weekNumbersVisible?'<th class="fc-week-number '+this.widgetHeaderClass+'" '+this.weekNumberStyleAttr()+"><span>"+L(this.opt("weekNumberTitle"))+"</span></th>":void 0},numberIntroHtml:function(a){return this.weekNumbersVisible?'<td class="fc-week-number" '+this.weekNumberStyleAttr()+"><span>"+this.calendar.calculateWeekNumber(this.dayGrid.getCell(a,0).start)+"</span></td>":void 0},dayIntroHtml:function(){return this.weekNumbersVisible?'<td class="fc-week-number '+this.widgetContentClass+'" '+this.weekNumberStyleAttr()+"></td>":void 0},introHtml:function(){return this.weekNumbersVisible?'<td class="fc-week-number" '+this.weekNumberStyleAttr()+"></td>":void 0},numberCellHtml:function(a){var b,c=a.start;return this.dayNumbersVisible?(b=this.dayGrid.getDayClasses(c),b.unshift("fc-day-number"),'<td class="'+b.join(" ")+'" data-date="'+c.format()+'">'+c.date()+"</td>"):"<td/>"},weekNumberStyleAttr:function(){return null!==this.weekNumberWidth?'style="width:'+this.weekNumberWidth+'px"':""},hasRigidRows:function(){var a=this.opt("eventLimit");return a&&"number"!=typeof a},updateWidth:function(){this.weekNumbersVisible&&(this.weekNumberWidth=r(this.el.find(".fc-week-number")))},setHeight:function(a,b){var c,d=this.opt("eventLimit");t(this.scrollerEl),h(this.headRowEl),this.dayGrid.destroySegPopover(),d&&"number"==typeof d&&this.dayGrid.limitRows(d),c=this.computeScrollerHeight(a),this.setGridHeight(c,b),d&&"number"!=typeof d&&this.dayGrid.limitRows(d),!b&&s(this.scrollerEl,c)&&(g(this.headRowEl,v(this.scrollerEl)),c=this.computeScrollerHeight(a),this.scrollerEl.height(c),this.restoreScroll())},setGridHeight:function(a,b){b?q(this.dayGrid.rowEls):p(this.dayGrid.rowEls,a,!0)},renderEvents:function(a){this.dayGrid.renderEvents(a),this.updateHeight()},getEventSegs:function(){return this.dayGrid.getEventSegs()},destroyEvents:function(){this.recordScroll(),this.dayGrid.destroyEvents()},renderDrag:function(a,b){return this.dayGrid.renderDrag(a,b)},destroyDrag:function(){this.dayGrid.destroyDrag()},renderSelection:function(a){this.dayGrid.renderSelection(a)},destroySelection:function(){this.dayGrid.destroySelection()}});c({fixedWeekCount:!0});var hb=Da.month=gb.extend({computeRange:function(a){var b,c=gb.prototype.computeRange.call(this,a);return this.isFixedWeeks()&&(b=Math.ceil(c.end.diff(c.start,"weeks",!0)),c.end.add(6-b,"weeks")),c},setGridHeight:function(a,b){b=b||"variable"===this.opt("weekMode"),b&&(a*=this.rowCnt/6),p(this.dayGrid.rowEls,a,!b)},isFixedWeeks:function(){var a=this.opt("weekMode");return a?"fixed"===a:this.opt("fixedWeekCount")}});hb.duration={months:1},Da.basicWeek={type:"basic",duration:{weeks:1}},Da.basicDay={type:"basic",duration:{days:1}},c({allDaySlot:!0,allDayText:"all-day",scrollTime:"06:00:00",slotDuration:"00:30:00",minTime:"00:00:00",maxTime:"24:00:00",slotEventOverlap:!0});var ib=5;Da.agenda=db.extend({timeGrid:null,dayGrid:null,axisWidth:null,noScrollRowEls:null,bottomRuleEl:null,bottomRuleHeight:null,initialize:function(){this.timeGrid=new cb(this),this.opt("allDaySlot")?(this.dayGrid=new bb(this),this.coordMap=new Ya([this.dayGrid.coordMap,this.timeGrid.coordMap])):this.coordMap=this.timeGrid.coordMap},setRange:function(a){db.prototype.setRange.call(this,a),this.timeGrid.setRange(a),this.dayGrid&&this.dayGrid.setRange(a)},render:function(){this.el.addClass("fc-agenda-view").html(this.renderHtml()),this.scrollerEl=this.el.find(".fc-time-grid-container"),this.timeGrid.coordMap.containerEl=this.scrollerEl,this.timeGrid.el=this.el.find(".fc-time-grid"),this.timeGrid.render(),this.bottomRuleEl=a('<hr class="'+this.widgetHeaderClass+'"/>').appendTo(this.timeGrid.el),this.dayGrid&&(this.dayGrid.el=this.el.find(".fc-day-grid"),this.dayGrid.render(),this.dayGrid.bottomCoordPadding=this.dayGrid.el.next("hr").outerHeight()),this.noScrollRowEls=this.el.find(".fc-row:not(.fc-scroller *)")},destroy:function(){this.timeGrid.destroy(),this.dayGrid&&this.dayGrid.destroy(),db.prototype.destroy.call(this)},renderHtml:function(){return'<table><thead><tr><td class="'+this.widgetHeaderClass+'">'+this.timeGrid.headHtml()+'</td></tr></thead><tbody><tr><td class="'+this.widgetContentClass+'">'+(this.dayGrid?'<div class="fc-day-grid"/><hr class="'+this.widgetHeaderClass+'"/>':"")+'<div class="fc-time-grid-container"><div class="fc-time-grid"/></div></td></tr></tbody></table>'},headIntroHtml:function(){var a,b,c,d;return this.opt("weekNumbers")?(a=this.timeGrid.getCell(0).start,b=this.calendar.calculateWeekNumber(a),c=this.opt("weekNumberTitle"),d=this.opt("isRTL")?b+c:c+b,'<th class="fc-axis fc-week-number '+this.widgetHeaderClass+'" '+this.axisStyleAttr()+"><span>"+L(d)+"</span></th>"):'<th class="fc-axis '+this.widgetHeaderClass+'" '+this.axisStyleAttr()+"></th>"},dayIntroHtml:function(){return'<td class="fc-axis '+this.widgetContentClass+'" '+this.axisStyleAttr()+"><span>"+(this.opt("allDayHtml")||L(this.opt("allDayText")))+"</span></td>"},slotBgIntroHtml:function(){return'<td class="fc-axis '+this.widgetContentClass+'" '+this.axisStyleAttr()+"></td>"},introHtml:function(){return'<td class="fc-axis" '+this.axisStyleAttr()+"></td>"},axisStyleAttr:function(){return null!==this.axisWidth?'style="width:'+this.axisWidth+'px"':""},updateSize:function(a){a&&this.timeGrid.resize(),db.prototype.updateSize.call(this,a)},updateWidth:function(){this.axisWidth=r(this.el.find(".fc-axis"))},setHeight:function(a,b){var c,d;null===this.bottomRuleHeight&&(this.bottomRuleHeight=this.bottomRuleEl.outerHeight()),this.bottomRuleEl.hide(),this.scrollerEl.css("overflow",""),t(this.scrollerEl),h(this.noScrollRowEls),this.dayGrid&&(this.dayGrid.destroySegPopover(),c=this.opt("eventLimit"),c&&"number"!=typeof c&&(c=ib),c&&this.dayGrid.limitRows(c)),b||(d=this.computeScrollerHeight(a),s(this.scrollerEl,d)?(g(this.noScrollRowEls,v(this.scrollerEl)),d=this.computeScrollerHeight(a),this.scrollerEl.height(d),this.restoreScroll()):(this.scrollerEl.height(d).css("overflow","hidden"),this.bottomRuleEl.show()))},initializeScroll:function(){function a(){c.scrollerEl.scrollTop(e)}var c=this,d=b.duration(this.opt("scrollTime")),e=this.timeGrid.computeTimeTop(d);e=Math.ceil(e),e&&e++,a(),setTimeout(a,0)},renderEvents:function(a){var b,c,d=[],e=[],f=[];for(c=0;c<a.length;c++)a[c].allDay?d.push(a[c]):e.push(a[c]);b=this.timeGrid.renderEvents(e),this.dayGrid&&(f=this.dayGrid.renderEvents(d)),this.updateHeight()},getEventSegs:function(){return this.timeGrid.getEventSegs().concat(this.dayGrid?this.dayGrid.getEventSegs():[])},destroyEvents:function(){this.recordScroll(),this.timeGrid.destroyEvents(),this.dayGrid&&this.dayGrid.destroyEvents()},renderDrag:function(a,b){return a.start.hasTime()?this.timeGrid.renderDrag(a,b):this.dayGrid?this.dayGrid.renderDrag(a,b):void 0},destroyDrag:function(){this.timeGrid.destroyDrag(),this.dayGrid&&this.dayGrid.destroyDrag()},renderSelection:function(a){a.start.hasTime()||a.end.hasTime()?this.timeGrid.renderSelection(a):this.dayGrid&&this.dayGrid.renderSelection(a)},destroySelection:function(){this.timeGrid.destroySelection(),this.dayGrid&&this.dayGrid.destroySelection()}}),Da.agendaWeek={type:"agenda",duration:{weeks:1}},Da.agendaDay={type:"agenda",duration:{days:1}};var jb=Da.list=db.extend({dayGrid:null,weekNumberWidth:null,headRowEl:null,defultEventLimit:5,viewDateOnLeft:!1,initialize:function(){this.dayGrid=new bb(this),this.coordMap=this.dayGrid.coordMap},setRange:function(a){db.prototype.setRange.call(this,a),this.dayGrid.breakOnWeeks=/year|month|week/.test(this.intervalUnit),this.dayGrid.setRange(a)},render:function(){this.dayGrid.colCnt=1,this.dayGrid.rowCnt=this.dayGrid.cellDates.length,this.dayGrid.numbersVisible=!0,this.opt("viewDateOnLeft")?(this.viewDateOnLeft=this.opt("viewDateOnLeft"),this.el.removeClass("fc-display-date-above")):this.el.addClass("fc-display-date-above"),this.el.addClass("fc-basic-view").html(this.renderHtml()),this.headRowEl=this.el.find("thead .fc-row"),this.scrollerEl=this.el.find(".fc-day-grid-container"),this.dayGrid.coordMap.containerEl=this.scrollerEl,this.dayGrid.el=this.el.find(".fc-day-grid"),this.dayGrid.render(this.hasRigidRows()),db.prototype.render.call(this)},destroy:function(){this.dayGrid.destroy(),db.prototype.destroy.call(this)},renderHtml:function(){return'<table><tbody><tr><td class="'+this.widgetContentClass+'"><div class="fc-day-grid-container"><div class="fc-day-grid"/></div></td></tr></tbody></table>'},headIntroHtml:function(){return this.viewDateOnLeft===!0?'<th class="fc-week-number '+this.widgetHeaderClass+'" '+this.weekNumberStyleAttr()+"><span></span></th>":""},numberIntroHtml:function(a){return this.viewDateOnLeft===!0?'<td class="fc-week-number" '+this.weekNumberStyleAttr()+"><span>"+this.dayGrid.getCell(a,0).start.format("ddd MMM D, YYYY")+"</span></td>":""},dayIntroHtml:function(){return this.viewDateOnLeft===!0?'<td class="fc-week-number '+this.widgetContentClass+'" '+this.weekNumberStyleAttr()+"></td>":""},introHtml:function(){return this.viewDateOnLeft===!0?'<td class="fc-week-number" '+this.weekNumberStyleAttr()+"></td>":""},numberCellHtml:function(a){if(this.viewDateOnLeft===!0)return"<td/>";var b,c=a.start;return b=this.dayGrid.getDayClasses(c),b.unshift("fc-day-number"),'<td class="'+b.join(" ")+'" data-date="'+c.format()+'"><span class="fc-list-header-left">'+c.format("dddd")+'</span><span class="fc-list-header-right">'+c.format("MMM D")+"</span></td>"},weekNumberStyleAttr:function(){return null!==this.weekNumberWidth?'style="width:'+this.weekNumberWidth+'px"':""},hasRigidRows:function(){var a=this.opt("eventLimit");return a===!0&&(a=this.defultEventLimit),a&&"number"!=typeof a},updateWidth:function(){this.weekNumberWidth=r(this.el.find(".fc-week-number"))},setHeight:function(a,b){var c=this.opt("eventLimit");c===!0&&(c=this.defultEventLimit);var d;t(this.scrollerEl),h(this.headRowEl),this.dayGrid.destroySegPopover(),c&&"number"==typeof c&&this.dayGrid.limitRows(c),d=this.computeScrollerHeight(a),this.setGridHeight(d,b),c&&"number"!=typeof c&&this.dayGrid.limitRows(c),!b&&s(this.scrollerEl,d)&&(g(this.headRowEl,v(this.scrollerEl)),d=this.computeScrollerHeight(a),this.scrollerEl.height(d),this.restoreScroll())},setGridHeight:function(a,b){b?q(this.dayGrid.rowEls):p(this.dayGrid.rowEls,a,!0)},renderEvents:function(a){this.dayGrid.renderEvents(a),this.updateHeight(),db.prototype.renderEvents.call(this,a)},getSegs:function(){return this.dayGrid.getSegs()},destroyEvents:function(){db.prototype.destroyEvents.call(this),this.recordScroll(),this.dayGrid.destroyEvents()},renderDrag:function(a,b,c){return this.dayGrid.renderDrag(a,b,c)},destroyDrag:function(){this.dayGrid.destroyDrag()},renderSelection:function(a,b){this.dayGrid.renderSelection(a,b)},destroySelection:function(){this.dayGrid.destroySelection()}});jb.duration={months:1},Da.listMonth={type:"list",duration:{months:1}},Da.listWeek={type:"list",duration:{weeks:1}},Da.listDay={type:"list",duration:{days:1}}});
js/jquery-ui-eo-timepicker.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! event-organiser 3.7.2-0-g63f114d 2018-06-08 18:44 */
2
  !function($){function eoTimepicker(){this.debug=!0,this._curInst=null,this._disabledInputs=[],this._timepickerShowing=!1,this._inDialog=!1,this._dialogClass="ui-timepicker-dialog",this._mainDivId="ui-timepicker-div",this._inlineClass="ui-timepicker-inline",this._currentClass="ui-timepicker-current",this._dayOverClass="ui-timepicker-days-cell-over",this.regional=[],this.regional[""]={hourText:"Hour",minuteText:"Minute",amPmText:["AM","PM"],closeButtonText:"Done",nowButtonText:"Now",deselectButtonText:"Deselect"},this._defaults={showOn:"focus",button:null,showAnim:"fadeIn",showOptions:{},appendText:"",beforeShow:null,onSelect:null,onClose:null,timeSeparator:":",periodSeparator:" ",showPeriod:!1,showPeriodLabels:!0,showLeadingZero:!0,showMinutesLeadingZero:!0,altField:"",defaultTime:"now",myPosition:"left top",atPosition:"left bottom",onHourShow:null,onMinuteShow:null,hours:{starts:0,ends:23},minutes:{starts:0,ends:55,interval:5,manual:[]},rows:4,showHours:!0,showMinutes:!0,optionalMinutes:!1,showCloseButton:!1,showNowButton:!1,showDeselectButton:!1,maxTime:{hour:null,minute:null},minTime:{hour:null,minute:null}},$.extend(this._defaults,this.regional[""]),this.tpDiv=$('<div id="'+this._mainDivId+'" class="ui-timepicker ui-widget ui-helper-clearfix ui-corner-all " style="display: none"></div>')}function extendRemove(a,b){$.extend(a,b);for(var c in b)(null==b[c]||void 0==b[c])&&(a[c]=b[c]);return a}$.extend($.ui,{eotimepicker:{version:"0.3.3"}});var PROP_NAME="eotimepicker",tpuuid=(new Date).getTime();$.extend(eoTimepicker.prototype,{markerClassName:"hasTimepicker",log:function(){this.debug&&console.log.apply("",arguments)},_widgetTimepicker:function(){return this.tpDiv},setDefaults:function(a){return extendRemove(this._defaults,a||{}),this},_attachTimepicker:function(target,settings){var inlineSettings=null;for(var attrName in this._defaults){var attrValue=target.getAttribute("time:"+attrName);if(attrValue){inlineSettings=inlineSettings||{};try{inlineSettings[attrName]=eval(attrValue)}catch(err){inlineSettings[attrName]=attrValue}}}var nodeName=target.nodeName.toLowerCase(),inline="div"==nodeName||"span"==nodeName;target.id||(this.uuid+=1,target.id="tp"+this.uuid);var inst=this._newInst($(target),inline);inst.settings=$.extend({},settings||{},inlineSettings||{}),"input"==nodeName?(this._connectTimepicker(target,inst),this._setTimeFromField(inst)):inline&&this._inlineTimepicker(target,inst)},_newInst:function(a,b){var c=a[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1");return{id:c,input:a,inline:b,tpDiv:b?$('<div class="'+this._inlineClass+' ui-timepicker ui-widget ui-helper-clearfix"></div>'):this.tpDiv}},_connectTimepicker:function(a,b){var c=$(a);b.append=$([]),b.trigger=$([]),c.hasClass(this.markerClassName)||(this._attachments(c,b),c.addClass(this.markerClassName).keydown(this._doKeyDown).keyup(this._doKeyUp).bind("setData.eotimepicker",function(a,c,d){b.settings[c]=d}).bind("getData.eotimepicker",function(a,c){return this._get(b,c)}),$.data(a,PROP_NAME,b))},_getHours:function(a){var b=Array(),c=this._get(a,"hours");for(h=c.starts;h<=c.ends;h++)b.push(h);return b},_getMinutes:function(a){var b=this._get(a,"minutes"),c=Array();for(b.starts||(b.starts=0),b.ends||(b.ends=59),b.manual||(b.manual=[]),m=b.starts;m<=b.ends;m+=b.interval)c.push(m);for(i=0;i<b.manual.length;i++){var d=b.manual[i];"number"!=typeof d||0>d||d>59||$.inArray(d,c)>=0||c.push(d)}return c.sort(function(a,b){return a-b}),c},_modulo:function(a,b){return(a%b+b)%b},_doKeyDown:function(a){var b=$.eotimepicker._getInst(a.target),c=!0;if(b._keyEvent=!0,$.eotimepicker._timepickerShowing){var d=a.ctrlKey||a.metaKey,e=a.shiftKey,f=$.eotimepicker._getHours(b),g=$.eotimepicker._getMinutes(b),h=$.eotimepicker._get(b,"rows"),i=Math.ceil(f.length/h),j=Math.round(g.length/h+.49);switch(a.keyCode){case 9:$.eotimepicker._hideTimepicker(),c=!1;break;case 13:return b.hours=b.hlHours,b.minutes=b.hlMinutes,$.eotimepicker._updateSelectedValue(b),$.eotimepicker._hideTimepicker(),!1;case 27:$.eotimepicker._hideTimepicker();break;case 37:c=d||e,e?$.eotimepicker._moveHighlight(b,-1,"minute"):d&&$.eotimepicker._moveHighlight(b,-1,"hour");break;case 38:c=d||e,e?$.eotimepicker._moveHighlight(b,-j,"minute"):d&&$.eotimepicker._moveHighlight(b,-i,"hour");break;case 39:c=d||e,e?$.eotimepicker._moveHighlight(b,1,"minute"):d&&$.eotimepicker._moveHighlight(b,1,"hour");break;case 40:c=d||e,e?$.eotimepicker._moveHighlight(b,j,"minute"):d&&$.eotimepicker._moveHighlight(b,i,"hour");break;default:c=!1}}else 36==a.keyCode&&a.ctrlKey?$.eotimepicker._showTimepicker(this):c=!1;c&&(a.preventDefault(),a.stopPropagation())},_moveHighlight:function(a,b,c){var d=this._getMinutes(a),e=this._getHours(a),f=this._get(a,"maxTime"),g=this._get(a,"minTime");if("hour"==c.toLowerCase()){var h=$.inArray(a.hlHours,e);a.hlHours=e[this._modulo(h+b,e.length)]}else{var h=$.inArray(a.hlMinutes,d);a.hlMinutes=d[this._modulo(h+b,d.length)]}g.hour&&(a.hlHours=Math.max(a.hlHours,g.hour)),f.hour&&(a.hlHours=Math.min(a.hlHours,f.hour)),g.minute&&a.hlHours<=g.hour&&(a.hlMinutes=Math.max(a.hlMinutes,g.minute)),f.minute&&a.hlHours>=f.hour&&(a.hlMinutes=Math.min(a.hlMinutes,f.minute))},_doKeyUp:function(a){var b=$.eotimepicker._getInst(a.target);$.eotimepicker._setTimeFromField(b),$.eotimepicker._updateTimepicker(b)},_attachments:function(a,b){var c=this._get(b,"appendText"),d=this._get(b,"isRTL");b.append&&b.append.remove(),c&&(b.append=$('<span class="'+this._appendClass+'">'+c+"</span>"),a[d?"before":"after"](b.append)),a.unbind("focus.eotimepicker",this._showTimepicker),a.unbind("click.eotimepicker",this._adjustZIndex),b.trigger&&b.trigger.remove();var e=this._get(b,"showOn");if(("focus"==e||"both"==e)&&(a.bind("focus.eotimepicker",this._showTimepicker),a.bind("click.eotimepicker",this._adjustZIndex)),"button"==e||"both"==e){var f=this._get(b,"button");null==f&&(f=$('<button class="ui-timepicker-trigger" type="button">...</button>'),a.after(f)),$(f).bind("click.eotimepicker",function(){return $.eotimepicker._timepickerShowing&&$.eotimepicker._lastInput==a[0]?$.eotimepicker._hideTimepicker():b.input.is(":disabled")||$.eotimepicker._showTimepicker(a[0]),!1})}},_inlineTimepicker:function(a,b){var c=$(a);c.hasClass(this.markerClassName)||(c.addClass(this.markerClassName).append(b.tpDiv).bind("setData.eotimepicker",function(a,c,d){b.settings[c]=d}).bind("getData.eotimepicker",function(a,c){return this._get(b,c)}),$.data(a,PROP_NAME,b),this._setTimeFromField(b),this._updateTimepicker(b),b.tpDiv.show())},_adjustZIndex:function(a){a=a.target||a;var b=$.eotimepicker._getInst(a);b.tpDiv.css("zIndex",$.eotimepicker._getZIndex(a)+1)},_showTimepicker:function(a){if(a=a.target||a,"input"!=a.nodeName.toLowerCase()&&(a=$("input",a.parentNode)[0]),!$.eotimepicker._isDisabledTimepicker(a)&&$.eotimepicker._lastInput!=a){$.eotimepicker._hideTimepicker();var b=$.eotimepicker._getInst(a);$.eotimepicker._curInst&&$.eotimepicker._curInst!=b&&$.eotimepicker._curInst.tpDiv.stop(!0,!0);var c=$.eotimepicker._get(b,"beforeShow");extendRemove(b.settings,c?c.apply(a,[a,b]):{}),b.lastVal=null,$.eotimepicker._lastInput=a,$.eotimepicker._setTimeFromField(b),b.hlMinutes=b.minutes,b.hlHours=b.hours,$.eotimepicker._inDialog&&(a.value=""),$.eotimepicker._pos||($.eotimepicker._pos=$.eotimepicker._findPos(a),$.eotimepicker._pos[1]+=a.offsetHeight);var d=!1;$(a).parents().each(function(){return d|="fixed"==$(this).css("position"),!d});var e={left:$.eotimepicker._pos[0],top:$.eotimepicker._pos[1]};if($.eotimepicker._pos=null,b.tpDiv.css({position:"absolute",display:"block",top:"-1000px"}),$.eotimepicker._updateTimepicker(b),!b.inline&&"object"==typeof $.ui.position){b.tpDiv.position({of:b.input,my:$.eotimepicker._get(b,"myPosition"),at:$.eotimepicker._get(b,"atPosition"),collision:"flip"});var e=b.tpDiv.offset();$.eotimepicker._pos=[e.top,e.left]}if(b._hoursClicked=!1,b._minutesClicked=!1,e=$.eotimepicker._checkOffset(b,e,d),b.tpDiv.css({position:$.eotimepicker._inDialog&&$.blockUI?"static":d?"fixed":"absolute",display:"none",left:e.left+"px",top:e.top+"px"}),!b.inline){var f=$.eotimepicker._get(b,"showAnim"),g=$.eotimepicker._get(b,"duration"),h=function(){$.eotimepicker._timepickerShowing=!0;var a=$.eotimepicker._getBorders(b.tpDiv);b.tpDiv.find("iframe.ui-timepicker-cover").css({left:-a[0],top:-a[1],width:b.tpDiv.outerWidth(),height:b.tpDiv.outerHeight()})};$.eotimepicker._adjustZIndex(a),$.effects&&$.effects[f]?b.tpDiv.show(f,$.eotimepicker._get(b,"showOptions"),g,h):b.tpDiv.show(f?g:null,h),f&&g||h(),b.input.is(":visible")&&!b.input.is(":disabled")&&b.input.focus(),$.eotimepicker._curInst=b}}},_getZIndex:function(a){for(var b,c,d=$(a),e=0;d.length&&d[0]!==document;)b=d.css("position"),("absolute"===b||"relative"===b||"fixed"===b)&&(c=parseInt(d.css("zIndex"),10),isNaN(c)||0===c||c>e&&(e=c)),d=d.parent();return e},_refreshTimepicker:function(a){var b=this._getInst(a);b&&this._updateTimepicker(b)},_updateTimepicker:function(a){a.tpDiv.empty().append(this._generateHTML(a)),this._rebindDialogEvents(a)},_rebindDialogEvents:function(a){var b=$.eotimepicker._getBorders(a.tpDiv),c=this;a.tpDiv.find("iframe.ui-timepicker-cover").css({left:-b[0],top:-b[1],width:a.tpDiv.outerWidth(),height:a.tpDiv.outerHeight()}).end().find(".ui-timepicker-minute-cell").unbind().bind("click",{fromDoubleClick:!1},$.proxy($.eotimepicker.selectMinutes,this)).bind("dblclick",{fromDoubleClick:!0},$.proxy($.eotimepicker.selectMinutes,this)).end().find(".ui-timepicker-hour-cell").unbind().bind("click",{fromDoubleClick:!1},$.proxy($.eotimepicker.selectHours,this)).bind("dblclick",{fromDoubleClick:!0},$.proxy($.eotimepicker.selectHours,this)).end().find(".ui-timepicker td a").unbind().bind("mouseout",function(){$(this).removeClass("ui-state-hover"),-1!=this.className.indexOf("ui-timepicker-prev")&&$(this).removeClass("ui-timepicker-prev-hover"),-1!=this.className.indexOf("ui-timepicker-next")&&$(this).removeClass("ui-timepicker-next-hover")}).bind("mouseover",function(){c._isDisabledTimepicker(a.inline?a.tpDiv.parent()[0]:a.input[0])||($(this).parents(".ui-timepicker-calendar").find("a").removeClass("ui-state-hover"),$(this).addClass("ui-state-hover"),-1!=this.className.indexOf("ui-timepicker-prev")&&$(this).addClass("ui-timepicker-prev-hover"),-1!=this.className.indexOf("ui-timepicker-next")&&$(this).addClass("ui-timepicker-next-hover"))}).end().find("."+this._dayOverClass+" a").trigger("mouseover").end().find(".ui-timepicker-now").bind("click",function(a){$.eotimepicker.selectNow(a)}).end().find(".ui-timepicker-deselect").bind("click",function(a){$.eotimepicker.deselectTime(a)}).end().find(".ui-timepicker-close").bind("click",function(a){$.eotimepicker._hideTimepicker()}).end()},_generateHTML:function(a){var b,c,d,e=1==this._get(a,"showPeriod"),f=1==this._get(a,"showPeriodLabels"),g=1==this._get(a,"showLeadingZero"),h=1==this._get(a,"showHours"),i=1==this._get(a,"showMinutes"),j=this._get(a,"amPmText"),k=this._get(a,"rows"),l=0,m=0,n=0,o=0,p=0,q=0,r=Array(),s=null,t=0,u=this._get(a,"hourText"),v=this._get(a,"showCloseButton"),w=this._get(a,"closeButtonText"),x=this._get(a,"showNowButton"),y=this._get(a,"nowButtonText"),z=this._get(a,"showDeselectButton"),A=this._get(a,"deselectButtonText"),B=v||x||z;if(r=this._getHours(a),s=Math.ceil(r.length/k),f){for(t=0;t<r.length;t++)r[t]<12?n++:o++;t=0,l=Math.floor(n/r.length*k),m=Math.floor(o/r.length*k),k!=l+m&&(n&&(!o||!l||m&&n/l>=o/m)?l++:m++),p=Math.min(l,1),q=l+1,s=0==l?Math.ceil(o/m):0==m?Math.ceil(n/l):Math.ceil(Math.max(n/l,o/m))}if(d='<table class="ui-timepicker-table ui-widget-content ui-corner-all"><tr>',h){for(d+='<td class="ui-timepicker-hours"><div class="ui-timepicker-title ui-widget-header ui-helper-clearfix ui-corner-all">'+u+'</div><table class="ui-timepicker">',b=1;k>=b;b++){for(d+="<tr>",b==p&&f&&(d+='<th rowspan="'+l.toString()+'" class="periods" scope="row">'+j[0]+"</th>"),b==q&&f&&(d+='<th rowspan="'+m.toString()+'" class="periods" scope="row">'+j[1]+"</th>"),c=1;s>=c;c++)f&&q>b&&r[t]>=12?d+=this._generateHTMLHourCell(a,void 0,e,g):(d+=this._generateHTMLHourCell(a,r[t],e,g),t++);d+="</tr>"}d+="</table></td>"}if(i&&(d+='<td class="ui-timepicker-minutes">',d+=this._generateHTMLMinutes(a),d+="</td>"),d+="</tr>",B){var C='<tr><td colspan="3"><div class="ui-timepicker-buttonpane ui-widget-content">';x&&(C+='<button type="button" class="ui-timepicker-now ui-state-default ui-corner-all" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" >'+y+"</button>"),z&&(C+='<button type="button" class="ui-timepicker-deselect ui-state-default ui-corner-all" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" >'+A+"</button>"),v&&(C+='<button type="button" class="ui-timepicker-close ui-state-default ui-corner-all" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" >'+w+"</button>"),d+=C+"</div></td></tr>"}return d+="</table>"},_updateMinuteDisplay:function(a){var b=this._generateHTMLMinutes(a);a.tpDiv.find("td.ui-timepicker-minutes").html(b),this._rebindDialogEvents(a)},_generateHTMLMinutes:function(a){var b,c,d="",e=this._get(a,"rows"),f=Array(),g=null,h=0,i=1==this._get(a,"showMinutesLeadingZero"),j=this._get(a,"onMinuteShow"),k=this._get(a,"minuteText");if(f=this._getMinutes(a),g=Math.round(f.length/e+.49),j&&0==j.apply(a.input?a.input[0]:null,[a.hours,a.minutes]))for(h=0;h<f.length;h+=1)if(b=f[h],j.apply(a.input?a.input[0]:null,[a.hours,b])){a.minutes=b;break}for(d+='<div class="ui-timepicker-title ui-widget-header ui-helper-clearfix ui-corner-all">'+k+'</div><table class="ui-timepicker">',h=0,c=1;e>=c;c++){for(d+="<tr>";c*g>h;){var b=f[h],l="";void 0!==b&&(l=10>b&&i?"0"+b.toString():b.toString()),d+=this._generateHTMLMinuteCell(a,b,l),h++}d+="</tr>"}return d+="</table>"},_generateHTMLHourCell:function(a,b,c,d){var e=b;b>12&&c&&(e=b-12),0==e&&c&&(e=12),10>e&&d&&(e="0"+e);var f="",g=!0,h=this._get(a,"onHourShow"),i=this._get(a,"maxTime"),j=this._get(a,"minTime");return void 0==b?f='<td><span class="ui-state-default ui-state-disabled">&nbsp;</span></td>':(h&&(g=h.apply(a.input?a.input[0]:null,[b])),g&&(!isNaN(parseInt(i.hour))&&b>i.hour&&(g=!1),!isNaN(parseInt(j.hour))&&b<j.hour&&(g=!1)),f=g?'<td class="ui-timepicker-hour-cell" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" data-hour="'+b.toString()+'"><a href="#" class="ui-state-default '+(b==a.hours?"ui-state-active":"")+" "+(b==a.hlHours?"ui-state-hover":"")+'">'+e.toString()+"</a></td>":'<td><span class="ui-state-default ui-state-disabled '+(b==a.hours?" ui-state-active ":" ")+'">'+e.toString()+"</span></td>")},_generateHTMLMinuteCell:function(a,b,c){var d="",e=!0,f=a.hlHours,g=this._get(a,"onMinuteShow"),h=this._get(a,"maxTime"),i=this._get(a,"minTime");return g&&(e=g.apply(a.input?a.input[0]:null,[a.hours,b])),void 0==b?d='<td><span class="ui-state-default ui-state-disabled">&nbsp;</span></td>':(e&&null!==f&&(!isNaN(parseInt(h.hour))&&!isNaN(parseInt(h.minute))&&f>=h.hour&&b>h.minute&&(e=!1),!isNaN(parseInt(i.hour))&&!isNaN(parseInt(i.minute))&&f<=i.hour&&b<i.minute&&(e=!1)),d=e?'<td class="ui-timepicker-minute-cell" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" data-minute="'+b.toString()+'" ><a href="#" class="ui-state-default '+(b==a.minutes?"ui-state-active":"")+" "+(b==a.hlMinutes?"ui-state-hover":"")+'" >'+c+"</a></td>":'<td><span class="ui-state-default ui-state-disabled" >'+c+"</span></td>")},_destroyTimepicker:function(a){var b=$(a),c=$.data(a,PROP_NAME);if(b.hasClass(this.markerClassName)){var d=a.nodeName.toLowerCase();$.removeData(a,PROP_NAME),"input"==d?(c.append.remove(),c.trigger.remove(),b.removeClass(this.markerClassName).unbind("focus.eotimepicker",this._showTimepicker).unbind("click.eotimepicker",this._adjustZIndex)):("div"==d||"span"==d)&&b.removeClass(this.markerClassName).empty()}},_enableTimepicker:function(a){var b=$(a),c=b.attr("id"),d=$.data(a,PROP_NAME);if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if("input"==e){a.disabled=!1;var f=this._get(d,"button");$(f).removeClass("ui-state-disabled").disabled=!1,d.trigger.filter("button").each(function(){this.disabled=!1}).end()}else if("div"==e||"span"==e){var g=b.children("."+this._inlineClass);g.children().removeClass("ui-state-disabled"),g.find("button").each(function(){this.disabled=!1})}this._disabledInputs=$.map(this._disabledInputs,function(a){return a==c?null:a})}},_disableTimepicker:function(a){var b=$(a),c=$.data(a,PROP_NAME);if(b.hasClass(this.markerClassName)){var d=a.nodeName.toLowerCase();if("input"==d){var e=this._get(c,"button");$(e).addClass("ui-state-disabled").disabled=!0,a.disabled=!0,c.trigger.filter("button").each(function(){this.disabled=!0}).end()}else if("div"==d||"span"==d){var f=b.children("."+this._inlineClass);f.children().addClass("ui-state-disabled"),f.find("button").each(function(){this.disabled=!0})}this._disabledInputs=$.map(this._disabledInputs,function(b){return b==a?null:b}),this._disabledInputs[this._disabledInputs.length]=b.attr("id")}},_isDisabledTimepicker:function(a){if(!a)return!1;for(var b=0;b<this._disabledInputs.length;b++)if(this._disabledInputs[b]==a)return!0;return!1},_checkOffset:function(a,b,c){var d=a.tpDiv.outerWidth(),e=a.tpDiv.outerHeight(),f=a.input?a.input.outerWidth():0,g=a.input?a.input.outerHeight():0,h=document.documentElement.clientWidth+$(document).scrollLeft(),i=document.documentElement.clientHeight+$(document).scrollTop();return b.left-=this._get(a,"isRTL")?d-f:0,b.left-=c&&b.left==a.input.offset().left?$(document).scrollLeft():0,b.top-=c&&b.top==a.input.offset().top+g?$(document).scrollTop():0,b.left-=Math.min(b.left,b.left+d>h&&h>d?Math.abs(b.left+d-h):0),b.top-=Math.min(b.top,b.top+e>i&&i>e?Math.abs(e+g):0),b},_findPos:function(a){for(var b=this._getInst(a),c=this._get(b,"isRTL");a&&("hidden"==a.type||1!=a.nodeType);)a=a[c?"previousSibling":"nextSibling"];var d=$(a).offset();return[d.left,d.top]},_getBorders:function(a){var b=function(a){return{thin:1,medium:2,thick:3}[a]||a};return[parseFloat(b(a.css("border-left-width"))),parseFloat(b(a.css("border-top-width")))]},_checkExternalClick:function(a){if($.eotimepicker._curInst){var b=$(a.target);b[0].id==$.eotimepicker._mainDivId||0!=b.parents("#"+$.eotimepicker._mainDivId).length||b.hasClass($.eotimepicker.markerClassName)||b.hasClass($.eotimepicker._triggerClass)||!$.eotimepicker._timepickerShowing||$.eotimepicker._inDialog&&$.blockUI||$.eotimepicker._hideTimepicker()}},_hideTimepicker:function(a){var b=this._curInst;if(b&&(!a||b==$.data(a,PROP_NAME))&&this._timepickerShowing){var c=this._get(b,"showAnim"),d=this._get(b,"duration"),e=function(){$.eotimepicker._tidyDialog(b),this._curInst=null};$.effects&&$.effects[c]?b.tpDiv.hide(c,$.eotimepicker._get(b,"showOptions"),d,e):b.tpDiv["slideDown"==c?"slideUp":"fadeIn"==c?"fadeOut":"hide"](c?d:null,e),c||e(),this._timepickerShowing=!1,this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),$.blockUI&&($.unblockUI(),$("body").append(this.tpDiv))),this._inDialog=!1;var f=this._get(b,"onClose");f&&f.apply(b.input?b.input[0]:null,[b.input?b.input.val():"",b])}},_tidyDialog:function(a){a.tpDiv.removeClass(this._dialogClass).unbind(".ui-timepicker")},_getInst:function(a){try{return $.data(a,PROP_NAME)}catch(b){throw"Missing instance data for this timepicker"}},_get:function(a,b){return void 0!==a.settings[b]?a.settings[b]:this._defaults[b]},_setTimeFromField:function(a){if(a.input.val()!=a.lastVal){var b=this._get(a,"defaultTime"),c="now"==b?this._getCurrentTimeRounded(a):b;if(0==a.inline&&""!=a.input.val()&&(c=a.input.val()),c instanceof Date)a.hours=c.getHours(),a.minutes=c.getMinutes();else{var d=a.lastVal=c;if(""==c)a.hours=-1,a.minutes=-1;else{var e=this.parseTime(a,d);a.hours=e.hours,a.minutes=e.minutes}}$.eotimepicker._updateTimepicker(a)}},_optionTimepicker:function(a,b,c){var d=this._getInst(a);if(2==arguments.length&&"string"==typeof b)return"defaults"==b?$.extend({},$.eotimepicker._defaults):d?"all"==b?$.extend({},d.settings):this._get(d,b):null;var e=b||{};"string"==typeof b&&(e={},e[b]=c),d&&(extendRemove(d.settings,e),this._curInst==d&&(this._hideTimepicker(),this._updateTimepicker(d)),d.inline&&this._updateTimepicker(d))},_setTimeTimepicker:function(a,b){var c=this._getInst(a);c&&(this._setTime(c,b),this._updateTimepicker(c),this._updateAlternate(c,b))},_setTime:function(a,b,c){var d=a.hours,e=a.minutes;if(b instanceof Date)a.hours=b.getHours(),a.minutes=b.getMinutes();else{var b=this.parseTime(a,b);a.hours=b.hours,a.minutes=b.minutes}d==a.hours&&e==a.minutes||c||a.input.trigger("change"),this._updateTimepicker(a),this._updateSelectedValue(a)},_getCurrentTimeRounded:function(a){var b=new Date,c=b.getMinutes(),d=this._get(a,"minutes"),e=Math.round(c/d.interval)*d.interval;return b.setMinutes(e),b},parseTime:function(a,b){var c=new Object;if(c.hours=-1,c.minutes=-1,!b)return"";var d=this._get(a,"timeSeparator"),e=this._get(a,"amPmText"),f=this._get(a,"showHours"),g=this._get(a,"showMinutes"),h=this._get(a,"optionalMinutes"),i=1==this._get(a,"showPeriod"),j=b.indexOf(d);if(-1!=j?(c.hours=parseInt(b.substr(0,j),10),c.minutes=parseInt(b.substr(j+1),10)):!f||g&&!h?!f&&g&&(c.minutes=parseInt(b,10)):c.hours=parseInt(b,10),f){var k=b.toUpperCase();c.hours<12&&i&&-1!=k.indexOf(e[1].toUpperCase())&&(c.hours+=12),12==c.hours&&i&&-1!=k.indexOf(e[0].toUpperCase())&&(c.hours=0)}return c},selectNow:function(a){var b=$(a.target).attr("data-timepicker-instance-id"),c=$(b),d=this._getInst(c[0]),e=new Date;d.hours=e.getHours(),d.minutes=e.getMinutes(),this._updateSelectedValue(d),this._updateTimepicker(d),this._hideTimepicker()},deselectTime:function(a){var b=$(a.target).attr("data-timepicker-instance-id"),c=$(b),d=this._getInst(c[0]);d.hours=-1,d.minutes=-1,this._updateSelectedValue(d),this._hideTimepicker()},selectHours:function(a){var b=$(a.currentTarget),c=b.attr("data-timepicker-instance-id"),d=parseInt(b.attr("data-hour")),e=a.data.fromDoubleClick,f=$(c),g=this._getInst(f[0]),h=1==this._get(g,"showMinutes");if($.eotimepicker._isDisabledTimepicker(f.attr("id")))return!1;b.parents(".ui-timepicker-hours:first").find("a").removeClass("ui-state-active"),b.children("a").addClass("ui-state-active"),g.hours=d;var i=this._get(g,"onMinuteShow"),j=this._get(g,"maxTime"),k=this._get(g,"minTime");return(i||j.minute||k.minute)&&this._updateMinuteDisplay(g),this._updateSelectedValue(g),g._hoursClicked=!0,(g._minutesClicked||e||0==h)&&$.eotimepicker._hideTimepicker(),!1},selectMinutes:function(a){var b=$(a.currentTarget),c=b.attr("data-timepicker-instance-id"),d=parseInt(b.attr("data-minute")),e=a.data.fromDoubleClick,f=$(c),g=this._getInst(f[0]),h=1==this._get(g,"showHours");return $.eotimepicker._isDisabledTimepicker(f.attr("id"))?!1:(b.parents(".ui-timepicker-minutes:first").find("a").removeClass("ui-state-active"),b.children("a").addClass("ui-state-active"),g.minutes=d,this._updateSelectedValue(g),g._minutesClicked=!0,g._hoursClicked||e||0==h?($.eotimepicker._hideTimepicker(),!1):!1)},_updateSelectedValue:function(a){var b=this._getParsedTime(a);a.input&&(a.input.val(b),a.input.trigger("change"));var c=this._get(a,"onSelect");return c&&c.apply(a.input?a.input[0]:null,[b,a]),this._updateAlternate(a,b),b},_getParsedTime:function(a){if(-1==a.hours&&-1==a.minutes)return"";(a.hours<a.hours.starts||a.hours>a.hours.ends)&&(a.hours=0),(a.minutes<a.minutes.starts||a.minutes>a.minutes.ends)&&(a.minutes=0);var b="",c=1==this._get(a,"showPeriod"),d=1==this._get(a,"showLeadingZero"),e=1==this._get(a,"showHours"),f=1==this._get(a,"showMinutes"),g=1==this._get(a,"optionalMinutes"),h=this._get(a,"amPmText"),i=a.hours?a.hours:0,j=a.minutes?a.minutes:0,k=i?i:0,l="";-1==k&&(k=0),-1==j&&(j=0),c&&(0==a.hours&&(k=12),a.hours<12?b=h[0]:(b=h[1],k>12&&(k-=12)));var m=k.toString();d&&10>k&&(m="0"+m);var n=j.toString();return 10>j&&(n="0"+n),e&&(l+=m),!e||!f||g&&0==n||(l+=this._get(a,"timeSeparator")),!f||g&&0==n||(l+=n),e&&b.length>0&&(l+=this._get(a,"periodSeparator")+b),l},_updateAlternate:function(a,b){var c=this._get(a,"altField");c&&$(c).each(function(a,c){$(c).val(b)})},_getTimeAsDateTimepicker:function(a){var b=this._getInst(a);return-1==b.hours&&-1==b.minutes?"":((b.hours<b.hours.starts||b.hours>b.hours.ends)&&(b.hours=0),(b.minutes<b.minutes.starts||b.minutes>b.minutes.ends)&&(b.minutes=0),new Date(0,0,0,b.hours,b.minutes,0))},_getTimeTimepicker:function(a){var b=this._getInst(a);return this._getParsedTime(b)},_getHourTimepicker:function(a){var b=this._getInst(a);return void 0==b?-1:b.hours},_getMinuteTimepicker:function(a){var b=this._getInst(a);return void 0==b?-1:b.minutes}}),$.fn.eotimepicker=function(a){$.eotimepicker.initialized||($(document).mousedown($.eotimepicker._checkExternalClick),$.eotimepicker.initialized=!0),0===$("#"+$.eotimepicker._mainDivId).length&&$("body").append($.eotimepicker.tpDiv);var b=Array.prototype.slice.call(arguments,1);return"string"!=typeof a||"getTime"!=a&&"getTimeAsDate"!=a&&"getHour"!=a&&"getMinute"!=a?"option"==a&&2==arguments.length&&"string"==typeof arguments[1]?$.eotimepicker["_"+a+"Timepicker"].apply($.eotimepicker,[this[0]].concat(b)):this.each(function(){"string"==typeof a?$.eotimepicker["_"+a+"Timepicker"].apply($.eotimepicker,[this].concat(b)):$.eotimepicker._attachTimepicker(this,a)}):$.eotimepicker["_"+a+"Timepicker"].apply($.eotimepicker,[this[0]].concat(b))},$.eotimepicker=new eoTimepicker,$.eotimepicker.initialized=!1,$.eotimepicker.uuid=(new Date).getTime(),$.eotimepicker.version="0.3.3",window["TP_jQuery_"+tpuuid]=$}(jQuery);
1
+ /*! event-organiser 3.7.3-0-geffd108 2018-07-13 20:28 */
2
  !function($){function eoTimepicker(){this.debug=!0,this._curInst=null,this._disabledInputs=[],this._timepickerShowing=!1,this._inDialog=!1,this._dialogClass="ui-timepicker-dialog",this._mainDivId="ui-timepicker-div",this._inlineClass="ui-timepicker-inline",this._currentClass="ui-timepicker-current",this._dayOverClass="ui-timepicker-days-cell-over",this.regional=[],this.regional[""]={hourText:"Hour",minuteText:"Minute",amPmText:["AM","PM"],closeButtonText:"Done",nowButtonText:"Now",deselectButtonText:"Deselect"},this._defaults={showOn:"focus",button:null,showAnim:"fadeIn",showOptions:{},appendText:"",beforeShow:null,onSelect:null,onClose:null,timeSeparator:":",periodSeparator:" ",showPeriod:!1,showPeriodLabels:!0,showLeadingZero:!0,showMinutesLeadingZero:!0,altField:"",defaultTime:"now",myPosition:"left top",atPosition:"left bottom",onHourShow:null,onMinuteShow:null,hours:{starts:0,ends:23},minutes:{starts:0,ends:55,interval:5,manual:[]},rows:4,showHours:!0,showMinutes:!0,optionalMinutes:!1,showCloseButton:!1,showNowButton:!1,showDeselectButton:!1,maxTime:{hour:null,minute:null},minTime:{hour:null,minute:null}},$.extend(this._defaults,this.regional[""]),this.tpDiv=$('<div id="'+this._mainDivId+'" class="ui-timepicker ui-widget ui-helper-clearfix ui-corner-all " style="display: none"></div>')}function extendRemove(a,b){$.extend(a,b);for(var c in b)(null==b[c]||void 0==b[c])&&(a[c]=b[c]);return a}$.extend($.ui,{eotimepicker:{version:"0.3.3"}});var PROP_NAME="eotimepicker",tpuuid=(new Date).getTime();$.extend(eoTimepicker.prototype,{markerClassName:"hasTimepicker",log:function(){this.debug&&console.log.apply("",arguments)},_widgetTimepicker:function(){return this.tpDiv},setDefaults:function(a){return extendRemove(this._defaults,a||{}),this},_attachTimepicker:function(target,settings){var inlineSettings=null;for(var attrName in this._defaults){var attrValue=target.getAttribute("time:"+attrName);if(attrValue){inlineSettings=inlineSettings||{};try{inlineSettings[attrName]=eval(attrValue)}catch(err){inlineSettings[attrName]=attrValue}}}var nodeName=target.nodeName.toLowerCase(),inline="div"==nodeName||"span"==nodeName;target.id||(this.uuid+=1,target.id="tp"+this.uuid);var inst=this._newInst($(target),inline);inst.settings=$.extend({},settings||{},inlineSettings||{}),"input"==nodeName?(this._connectTimepicker(target,inst),this._setTimeFromField(inst)):inline&&this._inlineTimepicker(target,inst)},_newInst:function(a,b){var c=a[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1");return{id:c,input:a,inline:b,tpDiv:b?$('<div class="'+this._inlineClass+' ui-timepicker ui-widget ui-helper-clearfix"></div>'):this.tpDiv}},_connectTimepicker:function(a,b){var c=$(a);b.append=$([]),b.trigger=$([]),c.hasClass(this.markerClassName)||(this._attachments(c,b),c.addClass(this.markerClassName).keydown(this._doKeyDown).keyup(this._doKeyUp).bind("setData.eotimepicker",function(a,c,d){b.settings[c]=d}).bind("getData.eotimepicker",function(a,c){return this._get(b,c)}),$.data(a,PROP_NAME,b))},_getHours:function(a){var b=Array(),c=this._get(a,"hours");for(h=c.starts;h<=c.ends;h++)b.push(h);return b},_getMinutes:function(a){var b=this._get(a,"minutes"),c=Array();for(b.starts||(b.starts=0),b.ends||(b.ends=59),b.manual||(b.manual=[]),m=b.starts;m<=b.ends;m+=b.interval)c.push(m);for(i=0;i<b.manual.length;i++){var d=b.manual[i];"number"!=typeof d||0>d||d>59||$.inArray(d,c)>=0||c.push(d)}return c.sort(function(a,b){return a-b}),c},_modulo:function(a,b){return(a%b+b)%b},_doKeyDown:function(a){var b=$.eotimepicker._getInst(a.target),c=!0;if(b._keyEvent=!0,$.eotimepicker._timepickerShowing){var d=a.ctrlKey||a.metaKey,e=a.shiftKey,f=$.eotimepicker._getHours(b),g=$.eotimepicker._getMinutes(b),h=$.eotimepicker._get(b,"rows"),i=Math.ceil(f.length/h),j=Math.round(g.length/h+.49);switch(a.keyCode){case 9:$.eotimepicker._hideTimepicker(),c=!1;break;case 13:return b.hours=b.hlHours,b.minutes=b.hlMinutes,$.eotimepicker._updateSelectedValue(b),$.eotimepicker._hideTimepicker(),!1;case 27:$.eotimepicker._hideTimepicker();break;case 37:c=d||e,e?$.eotimepicker._moveHighlight(b,-1,"minute"):d&&$.eotimepicker._moveHighlight(b,-1,"hour");break;case 38:c=d||e,e?$.eotimepicker._moveHighlight(b,-j,"minute"):d&&$.eotimepicker._moveHighlight(b,-i,"hour");break;case 39:c=d||e,e?$.eotimepicker._moveHighlight(b,1,"minute"):d&&$.eotimepicker._moveHighlight(b,1,"hour");break;case 40:c=d||e,e?$.eotimepicker._moveHighlight(b,j,"minute"):d&&$.eotimepicker._moveHighlight(b,i,"hour");break;default:c=!1}}else 36==a.keyCode&&a.ctrlKey?$.eotimepicker._showTimepicker(this):c=!1;c&&(a.preventDefault(),a.stopPropagation())},_moveHighlight:function(a,b,c){var d=this._getMinutes(a),e=this._getHours(a),f=this._get(a,"maxTime"),g=this._get(a,"minTime");if("hour"==c.toLowerCase()){var h=$.inArray(a.hlHours,e);a.hlHours=e[this._modulo(h+b,e.length)]}else{var h=$.inArray(a.hlMinutes,d);a.hlMinutes=d[this._modulo(h+b,d.length)]}g.hour&&(a.hlHours=Math.max(a.hlHours,g.hour)),f.hour&&(a.hlHours=Math.min(a.hlHours,f.hour)),g.minute&&a.hlHours<=g.hour&&(a.hlMinutes=Math.max(a.hlMinutes,g.minute)),f.minute&&a.hlHours>=f.hour&&(a.hlMinutes=Math.min(a.hlMinutes,f.minute))},_doKeyUp:function(a){var b=$.eotimepicker._getInst(a.target);$.eotimepicker._setTimeFromField(b),$.eotimepicker._updateTimepicker(b)},_attachments:function(a,b){var c=this._get(b,"appendText"),d=this._get(b,"isRTL");b.append&&b.append.remove(),c&&(b.append=$('<span class="'+this._appendClass+'">'+c+"</span>"),a[d?"before":"after"](b.append)),a.unbind("focus.eotimepicker",this._showTimepicker),a.unbind("click.eotimepicker",this._adjustZIndex),b.trigger&&b.trigger.remove();var e=this._get(b,"showOn");if(("focus"==e||"both"==e)&&(a.bind("focus.eotimepicker",this._showTimepicker),a.bind("click.eotimepicker",this._adjustZIndex)),"button"==e||"both"==e){var f=this._get(b,"button");null==f&&(f=$('<button class="ui-timepicker-trigger" type="button">...</button>'),a.after(f)),$(f).bind("click.eotimepicker",function(){return $.eotimepicker._timepickerShowing&&$.eotimepicker._lastInput==a[0]?$.eotimepicker._hideTimepicker():b.input.is(":disabled")||$.eotimepicker._showTimepicker(a[0]),!1})}},_inlineTimepicker:function(a,b){var c=$(a);c.hasClass(this.markerClassName)||(c.addClass(this.markerClassName).append(b.tpDiv).bind("setData.eotimepicker",function(a,c,d){b.settings[c]=d}).bind("getData.eotimepicker",function(a,c){return this._get(b,c)}),$.data(a,PROP_NAME,b),this._setTimeFromField(b),this._updateTimepicker(b),b.tpDiv.show())},_adjustZIndex:function(a){a=a.target||a;var b=$.eotimepicker._getInst(a);b.tpDiv.css("zIndex",$.eotimepicker._getZIndex(a)+1)},_showTimepicker:function(a){if(a=a.target||a,"input"!=a.nodeName.toLowerCase()&&(a=$("input",a.parentNode)[0]),!$.eotimepicker._isDisabledTimepicker(a)&&$.eotimepicker._lastInput!=a){$.eotimepicker._hideTimepicker();var b=$.eotimepicker._getInst(a);$.eotimepicker._curInst&&$.eotimepicker._curInst!=b&&$.eotimepicker._curInst.tpDiv.stop(!0,!0);var c=$.eotimepicker._get(b,"beforeShow");extendRemove(b.settings,c?c.apply(a,[a,b]):{}),b.lastVal=null,$.eotimepicker._lastInput=a,$.eotimepicker._setTimeFromField(b),b.hlMinutes=b.minutes,b.hlHours=b.hours,$.eotimepicker._inDialog&&(a.value=""),$.eotimepicker._pos||($.eotimepicker._pos=$.eotimepicker._findPos(a),$.eotimepicker._pos[1]+=a.offsetHeight);var d=!1;$(a).parents().each(function(){return d|="fixed"==$(this).css("position"),!d});var e={left:$.eotimepicker._pos[0],top:$.eotimepicker._pos[1]};if($.eotimepicker._pos=null,b.tpDiv.css({position:"absolute",display:"block",top:"-1000px"}),$.eotimepicker._updateTimepicker(b),!b.inline&&"object"==typeof $.ui.position){b.tpDiv.position({of:b.input,my:$.eotimepicker._get(b,"myPosition"),at:$.eotimepicker._get(b,"atPosition"),collision:"flip"});var e=b.tpDiv.offset();$.eotimepicker._pos=[e.top,e.left]}if(b._hoursClicked=!1,b._minutesClicked=!1,e=$.eotimepicker._checkOffset(b,e,d),b.tpDiv.css({position:$.eotimepicker._inDialog&&$.blockUI?"static":d?"fixed":"absolute",display:"none",left:e.left+"px",top:e.top+"px"}),!b.inline){var f=$.eotimepicker._get(b,"showAnim"),g=$.eotimepicker._get(b,"duration"),h=function(){$.eotimepicker._timepickerShowing=!0;var a=$.eotimepicker._getBorders(b.tpDiv);b.tpDiv.find("iframe.ui-timepicker-cover").css({left:-a[0],top:-a[1],width:b.tpDiv.outerWidth(),height:b.tpDiv.outerHeight()})};$.eotimepicker._adjustZIndex(a),$.effects&&$.effects[f]?b.tpDiv.show(f,$.eotimepicker._get(b,"showOptions"),g,h):b.tpDiv.show(f?g:null,h),f&&g||h(),b.input.is(":visible")&&!b.input.is(":disabled")&&b.input.focus(),$.eotimepicker._curInst=b}}},_getZIndex:function(a){for(var b,c,d=$(a),e=0;d.length&&d[0]!==document;)b=d.css("position"),("absolute"===b||"relative"===b||"fixed"===b)&&(c=parseInt(d.css("zIndex"),10),isNaN(c)||0===c||c>e&&(e=c)),d=d.parent();return e},_refreshTimepicker:function(a){var b=this._getInst(a);b&&this._updateTimepicker(b)},_updateTimepicker:function(a){a.tpDiv.empty().append(this._generateHTML(a)),this._rebindDialogEvents(a)},_rebindDialogEvents:function(a){var b=$.eotimepicker._getBorders(a.tpDiv),c=this;a.tpDiv.find("iframe.ui-timepicker-cover").css({left:-b[0],top:-b[1],width:a.tpDiv.outerWidth(),height:a.tpDiv.outerHeight()}).end().find(".ui-timepicker-minute-cell").unbind().bind("click",{fromDoubleClick:!1},$.proxy($.eotimepicker.selectMinutes,this)).bind("dblclick",{fromDoubleClick:!0},$.proxy($.eotimepicker.selectMinutes,this)).end().find(".ui-timepicker-hour-cell").unbind().bind("click",{fromDoubleClick:!1},$.proxy($.eotimepicker.selectHours,this)).bind("dblclick",{fromDoubleClick:!0},$.proxy($.eotimepicker.selectHours,this)).end().find(".ui-timepicker td a").unbind().bind("mouseout",function(){$(this).removeClass("ui-state-hover"),-1!=this.className.indexOf("ui-timepicker-prev")&&$(this).removeClass("ui-timepicker-prev-hover"),-1!=this.className.indexOf("ui-timepicker-next")&&$(this).removeClass("ui-timepicker-next-hover")}).bind("mouseover",function(){c._isDisabledTimepicker(a.inline?a.tpDiv.parent()[0]:a.input[0])||($(this).parents(".ui-timepicker-calendar").find("a").removeClass("ui-state-hover"),$(this).addClass("ui-state-hover"),-1!=this.className.indexOf("ui-timepicker-prev")&&$(this).addClass("ui-timepicker-prev-hover"),-1!=this.className.indexOf("ui-timepicker-next")&&$(this).addClass("ui-timepicker-next-hover"))}).end().find("."+this._dayOverClass+" a").trigger("mouseover").end().find(".ui-timepicker-now").bind("click",function(a){$.eotimepicker.selectNow(a)}).end().find(".ui-timepicker-deselect").bind("click",function(a){$.eotimepicker.deselectTime(a)}).end().find(".ui-timepicker-close").bind("click",function(a){$.eotimepicker._hideTimepicker()}).end()},_generateHTML:function(a){var b,c,d,e=1==this._get(a,"showPeriod"),f=1==this._get(a,"showPeriodLabels"),g=1==this._get(a,"showLeadingZero"),h=1==this._get(a,"showHours"),i=1==this._get(a,"showMinutes"),j=this._get(a,"amPmText"),k=this._get(a,"rows"),l=0,m=0,n=0,o=0,p=0,q=0,r=Array(),s=null,t=0,u=this._get(a,"hourText"),v=this._get(a,"showCloseButton"),w=this._get(a,"closeButtonText"),x=this._get(a,"showNowButton"),y=this._get(a,"nowButtonText"),z=this._get(a,"showDeselectButton"),A=this._get(a,"deselectButtonText"),B=v||x||z;if(r=this._getHours(a),s=Math.ceil(r.length/k),f){for(t=0;t<r.length;t++)r[t]<12?n++:o++;t=0,l=Math.floor(n/r.length*k),m=Math.floor(o/r.length*k),k!=l+m&&(n&&(!o||!l||m&&n/l>=o/m)?l++:m++),p=Math.min(l,1),q=l+1,s=0==l?Math.ceil(o/m):0==m?Math.ceil(n/l):Math.ceil(Math.max(n/l,o/m))}if(d='<table class="ui-timepicker-table ui-widget-content ui-corner-all"><tr>',h){for(d+='<td class="ui-timepicker-hours"><div class="ui-timepicker-title ui-widget-header ui-helper-clearfix ui-corner-all">'+u+'</div><table class="ui-timepicker">',b=1;k>=b;b++){for(d+="<tr>",b==p&&f&&(d+='<th rowspan="'+l.toString()+'" class="periods" scope="row">'+j[0]+"</th>"),b==q&&f&&(d+='<th rowspan="'+m.toString()+'" class="periods" scope="row">'+j[1]+"</th>"),c=1;s>=c;c++)f&&q>b&&r[t]>=12?d+=this._generateHTMLHourCell(a,void 0,e,g):(d+=this._generateHTMLHourCell(a,r[t],e,g),t++);d+="</tr>"}d+="</table></td>"}if(i&&(d+='<td class="ui-timepicker-minutes">',d+=this._generateHTMLMinutes(a),d+="</td>"),d+="</tr>",B){var C='<tr><td colspan="3"><div class="ui-timepicker-buttonpane ui-widget-content">';x&&(C+='<button type="button" class="ui-timepicker-now ui-state-default ui-corner-all" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" >'+y+"</button>"),z&&(C+='<button type="button" class="ui-timepicker-deselect ui-state-default ui-corner-all" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" >'+A+"</button>"),v&&(C+='<button type="button" class="ui-timepicker-close ui-state-default ui-corner-all" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" >'+w+"</button>"),d+=C+"</div></td></tr>"}return d+="</table>"},_updateMinuteDisplay:function(a){var b=this._generateHTMLMinutes(a);a.tpDiv.find("td.ui-timepicker-minutes").html(b),this._rebindDialogEvents(a)},_generateHTMLMinutes:function(a){var b,c,d="",e=this._get(a,"rows"),f=Array(),g=null,h=0,i=1==this._get(a,"showMinutesLeadingZero"),j=this._get(a,"onMinuteShow"),k=this._get(a,"minuteText");if(f=this._getMinutes(a),g=Math.round(f.length/e+.49),j&&0==j.apply(a.input?a.input[0]:null,[a.hours,a.minutes]))for(h=0;h<f.length;h+=1)if(b=f[h],j.apply(a.input?a.input[0]:null,[a.hours,b])){a.minutes=b;break}for(d+='<div class="ui-timepicker-title ui-widget-header ui-helper-clearfix ui-corner-all">'+k+'</div><table class="ui-timepicker">',h=0,c=1;e>=c;c++){for(d+="<tr>";c*g>h;){var b=f[h],l="";void 0!==b&&(l=10>b&&i?"0"+b.toString():b.toString()),d+=this._generateHTMLMinuteCell(a,b,l),h++}d+="</tr>"}return d+="</table>"},_generateHTMLHourCell:function(a,b,c,d){var e=b;b>12&&c&&(e=b-12),0==e&&c&&(e=12),10>e&&d&&(e="0"+e);var f="",g=!0,h=this._get(a,"onHourShow"),i=this._get(a,"maxTime"),j=this._get(a,"minTime");return void 0==b?f='<td><span class="ui-state-default ui-state-disabled">&nbsp;</span></td>':(h&&(g=h.apply(a.input?a.input[0]:null,[b])),g&&(!isNaN(parseInt(i.hour))&&b>i.hour&&(g=!1),!isNaN(parseInt(j.hour))&&b<j.hour&&(g=!1)),f=g?'<td class="ui-timepicker-hour-cell" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" data-hour="'+b.toString()+'"><a href="#" class="ui-state-default '+(b==a.hours?"ui-state-active":"")+" "+(b==a.hlHours?"ui-state-hover":"")+'">'+e.toString()+"</a></td>":'<td><span class="ui-state-default ui-state-disabled '+(b==a.hours?" ui-state-active ":" ")+'">'+e.toString()+"</span></td>")},_generateHTMLMinuteCell:function(a,b,c){var d="",e=!0,f=a.hlHours,g=this._get(a,"onMinuteShow"),h=this._get(a,"maxTime"),i=this._get(a,"minTime");return g&&(e=g.apply(a.input?a.input[0]:null,[a.hours,b])),void 0==b?d='<td><span class="ui-state-default ui-state-disabled">&nbsp;</span></td>':(e&&null!==f&&(!isNaN(parseInt(h.hour))&&!isNaN(parseInt(h.minute))&&f>=h.hour&&b>h.minute&&(e=!1),!isNaN(parseInt(i.hour))&&!isNaN(parseInt(i.minute))&&f<=i.hour&&b<i.minute&&(e=!1)),d=e?'<td class="ui-timepicker-minute-cell" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" data-minute="'+b.toString()+'" ><a href="#" class="ui-state-default '+(b==a.minutes?"ui-state-active":"")+" "+(b==a.hlMinutes?"ui-state-hover":"")+'" >'+c+"</a></td>":'<td><span class="ui-state-default ui-state-disabled" >'+c+"</span></td>")},_destroyTimepicker:function(a){var b=$(a),c=$.data(a,PROP_NAME);if(b.hasClass(this.markerClassName)){var d=a.nodeName.toLowerCase();$.removeData(a,PROP_NAME),"input"==d?(c.append.remove(),c.trigger.remove(),b.removeClass(this.markerClassName).unbind("focus.eotimepicker",this._showTimepicker).unbind("click.eotimepicker",this._adjustZIndex)):("div"==d||"span"==d)&&b.removeClass(this.markerClassName).empty()}},_enableTimepicker:function(a){var b=$(a),c=b.attr("id"),d=$.data(a,PROP_NAME);if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if("input"==e){a.disabled=!1;var f=this._get(d,"button");$(f).removeClass("ui-state-disabled").disabled=!1,d.trigger.filter("button").each(function(){this.disabled=!1}).end()}else if("div"==e||"span"==e){var g=b.children("."+this._inlineClass);g.children().removeClass("ui-state-disabled"),g.find("button").each(function(){this.disabled=!1})}this._disabledInputs=$.map(this._disabledInputs,function(a){return a==c?null:a})}},_disableTimepicker:function(a){var b=$(a),c=$.data(a,PROP_NAME);if(b.hasClass(this.markerClassName)){var d=a.nodeName.toLowerCase();if("input"==d){var e=this._get(c,"button");$(e).addClass("ui-state-disabled").disabled=!0,a.disabled=!0,c.trigger.filter("button").each(function(){this.disabled=!0}).end()}else if("div"==d||"span"==d){var f=b.children("."+this._inlineClass);f.children().addClass("ui-state-disabled"),f.find("button").each(function(){this.disabled=!0})}this._disabledInputs=$.map(this._disabledInputs,function(b){return b==a?null:b}),this._disabledInputs[this._disabledInputs.length]=b.attr("id")}},_isDisabledTimepicker:function(a){if(!a)return!1;for(var b=0;b<this._disabledInputs.length;b++)if(this._disabledInputs[b]==a)return!0;return!1},_checkOffset:function(a,b,c){var d=a.tpDiv.outerWidth(),e=a.tpDiv.outerHeight(),f=a.input?a.input.outerWidth():0,g=a.input?a.input.outerHeight():0,h=document.documentElement.clientWidth+$(document).scrollLeft(),i=document.documentElement.clientHeight+$(document).scrollTop();return b.left-=this._get(a,"isRTL")?d-f:0,b.left-=c&&b.left==a.input.offset().left?$(document).scrollLeft():0,b.top-=c&&b.top==a.input.offset().top+g?$(document).scrollTop():0,b.left-=Math.min(b.left,b.left+d>h&&h>d?Math.abs(b.left+d-h):0),b.top-=Math.min(b.top,b.top+e>i&&i>e?Math.abs(e+g):0),b},_findPos:function(a){for(var b=this._getInst(a),c=this._get(b,"isRTL");a&&("hidden"==a.type||1!=a.nodeType);)a=a[c?"previousSibling":"nextSibling"];var d=$(a).offset();return[d.left,d.top]},_getBorders:function(a){var b=function(a){return{thin:1,medium:2,thick:3}[a]||a};return[parseFloat(b(a.css("border-left-width"))),parseFloat(b(a.css("border-top-width")))]},_checkExternalClick:function(a){if($.eotimepicker._curInst){var b=$(a.target);b[0].id==$.eotimepicker._mainDivId||0!=b.parents("#"+$.eotimepicker._mainDivId).length||b.hasClass($.eotimepicker.markerClassName)||b.hasClass($.eotimepicker._triggerClass)||!$.eotimepicker._timepickerShowing||$.eotimepicker._inDialog&&$.blockUI||$.eotimepicker._hideTimepicker()}},_hideTimepicker:function(a){var b=this._curInst;if(b&&(!a||b==$.data(a,PROP_NAME))&&this._timepickerShowing){var c=this._get(b,"showAnim"),d=this._get(b,"duration"),e=function(){$.eotimepicker._tidyDialog(b),this._curInst=null};$.effects&&$.effects[c]?b.tpDiv.hide(c,$.eotimepicker._get(b,"showOptions"),d,e):b.tpDiv["slideDown"==c?"slideUp":"fadeIn"==c?"fadeOut":"hide"](c?d:null,e),c||e(),this._timepickerShowing=!1,this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),$.blockUI&&($.unblockUI(),$("body").append(this.tpDiv))),this._inDialog=!1;var f=this._get(b,"onClose");f&&f.apply(b.input?b.input[0]:null,[b.input?b.input.val():"",b])}},_tidyDialog:function(a){a.tpDiv.removeClass(this._dialogClass).unbind(".ui-timepicker")},_getInst:function(a){try{return $.data(a,PROP_NAME)}catch(b){throw"Missing instance data for this timepicker"}},_get:function(a,b){return void 0!==a.settings[b]?a.settings[b]:this._defaults[b]},_setTimeFromField:function(a){if(a.input.val()!=a.lastVal){var b=this._get(a,"defaultTime"),c="now"==b?this._getCurrentTimeRounded(a):b;if(0==a.inline&&""!=a.input.val()&&(c=a.input.val()),c instanceof Date)a.hours=c.getHours(),a.minutes=c.getMinutes();else{var d=a.lastVal=c;if(""==c)a.hours=-1,a.minutes=-1;else{var e=this.parseTime(a,d);a.hours=e.hours,a.minutes=e.minutes}}$.eotimepicker._updateTimepicker(a)}},_optionTimepicker:function(a,b,c){var d=this._getInst(a);if(2==arguments.length&&"string"==typeof b)return"defaults"==b?$.extend({},$.eotimepicker._defaults):d?"all"==b?$.extend({},d.settings):this._get(d,b):null;var e=b||{};"string"==typeof b&&(e={},e[b]=c),d&&(extendRemove(d.settings,e),this._curInst==d&&(this._hideTimepicker(),this._updateTimepicker(d)),d.inline&&this._updateTimepicker(d))},_setTimeTimepicker:function(a,b){var c=this._getInst(a);c&&(this._setTime(c,b),this._updateTimepicker(c),this._updateAlternate(c,b))},_setTime:function(a,b,c){var d=a.hours,e=a.minutes;if(b instanceof Date)a.hours=b.getHours(),a.minutes=b.getMinutes();else{var b=this.parseTime(a,b);a.hours=b.hours,a.minutes=b.minutes}d==a.hours&&e==a.minutes||c||a.input.trigger("change"),this._updateTimepicker(a),this._updateSelectedValue(a)},_getCurrentTimeRounded:function(a){var b=new Date,c=b.getMinutes(),d=this._get(a,"minutes"),e=Math.round(c/d.interval)*d.interval;return b.setMinutes(e),b},parseTime:function(a,b){var c=new Object;if(c.hours=-1,c.minutes=-1,!b)return"";var d=this._get(a,"timeSeparator"),e=this._get(a,"amPmText"),f=this._get(a,"showHours"),g=this._get(a,"showMinutes"),h=this._get(a,"optionalMinutes"),i=1==this._get(a,"showPeriod"),j=b.indexOf(d);if(-1!=j?(c.hours=parseInt(b.substr(0,j),10),c.minutes=parseInt(b.substr(j+1),10)):!f||g&&!h?!f&&g&&(c.minutes=parseInt(b,10)):c.hours=parseInt(b,10),f){var k=b.toUpperCase();c.hours<12&&i&&-1!=k.indexOf(e[1].toUpperCase())&&(c.hours+=12),12==c.hours&&i&&-1!=k.indexOf(e[0].toUpperCase())&&(c.hours=0)}return c},selectNow:function(a){var b=$(a.target).attr("data-timepicker-instance-id"),c=$(b),d=this._getInst(c[0]),e=new Date;d.hours=e.getHours(),d.minutes=e.getMinutes(),this._updateSelectedValue(d),this._updateTimepicker(d),this._hideTimepicker()},deselectTime:function(a){var b=$(a.target).attr("data-timepicker-instance-id"),c=$(b),d=this._getInst(c[0]);d.hours=-1,d.minutes=-1,this._updateSelectedValue(d),this._hideTimepicker()},selectHours:function(a){var b=$(a.currentTarget),c=b.attr("data-timepicker-instance-id"),d=parseInt(b.attr("data-hour")),e=a.data.fromDoubleClick,f=$(c),g=this._getInst(f[0]),h=1==this._get(g,"showMinutes");if($.eotimepicker._isDisabledTimepicker(f.attr("id")))return!1;b.parents(".ui-timepicker-hours:first").find("a").removeClass("ui-state-active"),b.children("a").addClass("ui-state-active"),g.hours=d;var i=this._get(g,"onMinuteShow"),j=this._get(g,"maxTime"),k=this._get(g,"minTime");return(i||j.minute||k.minute)&&this._updateMinuteDisplay(g),this._updateSelectedValue(g),g._hoursClicked=!0,(g._minutesClicked||e||0==h)&&$.eotimepicker._hideTimepicker(),!1},selectMinutes:function(a){var b=$(a.currentTarget),c=b.attr("data-timepicker-instance-id"),d=parseInt(b.attr("data-minute")),e=a.data.fromDoubleClick,f=$(c),g=this._getInst(f[0]),h=1==this._get(g,"showHours");return $.eotimepicker._isDisabledTimepicker(f.attr("id"))?!1:(b.parents(".ui-timepicker-minutes:first").find("a").removeClass("ui-state-active"),b.children("a").addClass("ui-state-active"),g.minutes=d,this._updateSelectedValue(g),g._minutesClicked=!0,g._hoursClicked||e||0==h?($.eotimepicker._hideTimepicker(),!1):!1)},_updateSelectedValue:function(a){var b=this._getParsedTime(a);a.input&&(a.input.val(b),a.input.trigger("change"));var c=this._get(a,"onSelect");return c&&c.apply(a.input?a.input[0]:null,[b,a]),this._updateAlternate(a,b),b},_getParsedTime:function(a){if(-1==a.hours&&-1==a.minutes)return"";(a.hours<a.hours.starts||a.hours>a.hours.ends)&&(a.hours=0),(a.minutes<a.minutes.starts||a.minutes>a.minutes.ends)&&(a.minutes=0);var b="",c=1==this._get(a,"showPeriod"),d=1==this._get(a,"showLeadingZero"),e=1==this._get(a,"showHours"),f=1==this._get(a,"showMinutes"),g=1==this._get(a,"optionalMinutes"),h=this._get(a,"amPmText"),i=a.hours?a.hours:0,j=a.minutes?a.minutes:0,k=i?i:0,l="";-1==k&&(k=0),-1==j&&(j=0),c&&(0==a.hours&&(k=12),a.hours<12?b=h[0]:(b=h[1],k>12&&(k-=12)));var m=k.toString();d&&10>k&&(m="0"+m);var n=j.toString();return 10>j&&(n="0"+n),e&&(l+=m),!e||!f||g&&0==n||(l+=this._get(a,"timeSeparator")),!f||g&&0==n||(l+=n),e&&b.length>0&&(l+=this._get(a,"periodSeparator")+b),l},_updateAlternate:function(a,b){var c=this._get(a,"altField");c&&$(c).each(function(a,c){$(c).val(b)})},_getTimeAsDateTimepicker:function(a){var b=this._getInst(a);return-1==b.hours&&-1==b.minutes?"":((b.hours<b.hours.starts||b.hours>b.hours.ends)&&(b.hours=0),(b.minutes<b.minutes.starts||b.minutes>b.minutes.ends)&&(b.minutes=0),new Date(0,0,0,b.hours,b.minutes,0))},_getTimeTimepicker:function(a){var b=this._getInst(a);return this._getParsedTime(b)},_getHourTimepicker:function(a){var b=this._getInst(a);return void 0==b?-1:b.hours},_getMinuteTimepicker:function(a){var b=this._getInst(a);return void 0==b?-1:b.minutes}}),$.fn.eotimepicker=function(a){$.eotimepicker.initialized||($(document).mousedown($.eotimepicker._checkExternalClick),$.eotimepicker.initialized=!0),0===$("#"+$.eotimepicker._mainDivId).length&&$("body").append($.eotimepicker.tpDiv);var b=Array.prototype.slice.call(arguments,1);return"string"!=typeof a||"getTime"!=a&&"getTimeAsDate"!=a&&"getHour"!=a&&"getMinute"!=a?"option"==a&&2==arguments.length&&"string"==typeof arguments[1]?$.eotimepicker["_"+a+"Timepicker"].apply($.eotimepicker,[this[0]].concat(b)):this.each(function(){"string"==typeof a?$.eotimepicker["_"+a+"Timepicker"].apply($.eotimepicker,[this].concat(b)):$.eotimepicker._attachTimepicker(this,a)}):$.eotimepicker["_"+a+"Timepicker"].apply($.eotimepicker,[this[0]].concat(b))},$.eotimepicker=new eoTimepicker,$.eotimepicker.initialized=!1,$.eotimepicker.uuid=(new Date).getTime(),$.eotimepicker.version="0.3.3",window["TP_jQuery_"+tpuuid]=$}(jQuery);
js/maps/googlemaps-adapter.js CHANGED
@@ -184,13 +184,13 @@ eventorganiserMapsAdapter.googlemaps.marker = function ( args ) {
184
 
185
  /**
186
  * A geocoder
187
- * Accepts an address and passes latitude/longtitude co-ordinates to the callback
188
  */
189
  eventorganiserMapsAdapter.googlemaps.geocoder = function( ) {
190
  this._geocoder = new google.maps.Geocoder();
191
  if ( typeof this.geocode !== "function" ) {
192
  /**
193
- * Look up address and pass latitude/longtitude co-ordinates to callback
194
  * @param object address - with keys such as 'address' (street address), 'city', 'state', 'postcode' etc
195
  * @param callable callback
196
  */
184
 
185
  /**
186
  * A geocoder
187
+ * Accepts an address and passes latitude/longitude co-ordinates to the callback
188
  */
189
  eventorganiserMapsAdapter.googlemaps.geocoder = function( ) {
190
  this._geocoder = new google.maps.Geocoder();
191
  if ( typeof this.geocode !== "function" ) {
192
  /**
193
+ * Look up address and pass latitude/longitude co-ordinates to callback
194
  * @param object address - with keys such as 'address' (street address), 'city', 'state', 'postcode' etc
195
  * @param callable callback
196
  */
js/maps/openstreetmap-adapter.js CHANGED
@@ -173,12 +173,12 @@ eventorganiserMapsAdapter.openstreetmap.marker = function ( args ) {
173
 
174
  /**
175
  * A geocoder
176
- * Accepts an address and passes latitude/longtitude co-ordinates to the callback
177
  */
178
  eventorganiserMapsAdapter.openstreetmap.geocoder = function( ) {
179
  if ( typeof this.geocode !== "function" ) {
180
  /**
181
- * Look up address and pass latitude/longtitude co-ordinates to callback
182
  * @param object address - with keys such as 'address' (street address), 'city', 'state', 'postcode' etc
183
  * @param callable callback
184
  */
173
 
174
  /**
175
  * A geocoder
176
+ * Accepts an address and passes latitude/longitude co-ordinates to the callback
177
  */
178
  eventorganiserMapsAdapter.openstreetmap.geocoder = function( ) {
179
  if ( typeof this.geocode !== "function" ) {
180
  /**
181
+ * Look up address and pass latitude/longitude co-ordinates to callback
182
  * @param object address - with keys such as 'address' (street address), 'city', 'state', 'postcode' etc
183
  * @param callable callback
184
  */
js/moment.min.js CHANGED
@@ -1,3 +1,3 @@
1
- /*! event-organiser 3.7.2-0-g63f114d 2018-06-08 18:44 */
2
  (function(a){function b(a,b,c){switch(arguments.length){case 2:return null!=a?a:b;case 3:return null!=a?a:null!=b?b:c;default:throw new Error("Implement me")}}function c(a,b){return Ba.call(a,b)}function d(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function e(a){va.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+a)}function f(a,b){var c=!0;return o(function(){return c&&(e(a),c=!1),b.apply(this,arguments)},b)}function g(a,b){sb[a]||(e(b),sb[a]=!0)}function h(a,b){return function(c){return r(a.call(this,c),b)}}function i(a,b){return function(c){return this.localeData().ordinal(a.call(this,c),b)}}function j(a,b){var c,d,e=12*(b.year()-a.year())+(b.month()-a.month()),f=a.clone().add(e,"months");return 0>b-f?(c=a.clone().add(e-1,"months"),d=(b-f)/(f-c)):(c=a.clone().add(e+1,"months"),d=(b-f)/(c-f)),-(e+d)}function k(a,b,c){var d;return null==c?b:null!=a.meridiemHour?a.meridiemHour(b,c):null!=a.isPM?(d=a.isPM(c),d&&12>b&&(b+=12),d||12!==b||(b=0),b):b}function l(){}function m(a,b){b!==!1&&H(a),p(this,a),this._d=new Date(+a._d),ub===!1&&(ub=!0,va.updateOffset(this),ub=!1)}function n(a){var b=A(a),c=b.year||0,d=b.quarter||0,e=b.month||0,f=b.week||0,g=b.day||0,h=b.hour||0,i=b.minute||0,j=b.second||0,k=b.millisecond||0;this._milliseconds=+k+1e3*j+6e4*i+36e5*h,this._days=+g+7*f,this._months=+e+3*d+12*c,this._data={},this._locale=va.localeData(),this._bubble()}function o(a,b){for(var d in b)c(b,d)&&(a[d]=b[d]);return c(b,"toString")&&(a.toString=b.toString),c(b,"valueOf")&&(a.valueOf=b.valueOf),a}function p(a,b){var c,d,e;if("undefined"!=typeof b._isAMomentObject&&(a._isAMomentObject=b._isAMomentObject),"undefined"!=typeof b._i&&(a._i=b._i),"undefined"!=typeof b._f&&(a._f=b._f),"undefined"!=typeof b._l&&(a._l=b._l),"undefined"!=typeof b._strict&&(a._strict=b._strict),"undefined"!=typeof b._tzm&&(a._tzm=b._tzm),"undefined"!=typeof b._isUTC&&(a._isUTC=b._isUTC),"undefined"!=typeof b._offset&&(a._offset=b._offset),"undefined"!=typeof b._pf&&(a._pf=b._pf),"undefined"!=typeof b._locale&&(a._locale=b._locale),Ka.length>0)for(c in Ka)d=Ka[c],e=b[d],"undefined"!=typeof e&&(a[d]=e);return a}function q(a){return 0>a?Math.ceil(a):Math.floor(a)}function r(a,b,c){for(var d=""+Math.abs(a),e=a>=0;d.length<b;)d="0"+d;return(e?c?"+":"":"-")+d}function s(a,b){var c={milliseconds:0,months:0};return c.months=b.month()-a.month()+12*(b.year()-a.year()),a.clone().add(c.months,"M").isAfter(b)&&--c.months,c.milliseconds=+b-+a.clone().add(c.months,"M"),c}function t(a,b){var c;return b=M(b,a),a.isBefore(b)?c=s(a,b):(c=s(b,a),c.milliseconds=-c.milliseconds,c.months=-c.months),c}function u(a,b){return function(c,d){var e,f;return null===d||isNaN(+d)||(g(b,"moment()."+b+"(period, number) is deprecated. Please use moment()."+b+"(number, period)."),f=c,c=d,d=f),c="string"==typeof c?+c:c,e=va.duration(c,d),v(this,e,a),this}}function v(a,b,c,d){var e=b._milliseconds,f=b._days,g=b._months;d=null==d?!0:d,e&&a._d.setTime(+a._d+e*c),f&&pa(a,"Date",oa(a,"Date")+f*c),g&&na(a,oa(a,"Month")+g*c),d&&va.updateOffset(a,f||g)}function w(a){return"[object Array]"===Object.prototype.toString.call(a)}function x(a){return"[object Date]"===Object.prototype.toString.call(a)||a instanceof Date}function y(a,b,c){var d,e=Math.min(a.length,b.length),f=Math.abs(a.length-b.length),g=0;for(d=0;e>d;d++)(c&&a[d]!==b[d]||!c&&C(a[d])!==C(b[d]))&&g++;return g+f}function z(a){if(a){var b=a.toLowerCase().replace(/(.)s$/,"$1");a=lb[a]||mb[b]||b}return a}function A(a){var b,d,e={};for(d in a)c(a,d)&&(b=z(d),b&&(e[b]=a[d]));return e}function B(b){var c,d;if(0===b.indexOf("week"))c=7,d="day";else{if(0!==b.indexOf("month"))return;c=12,d="month"}va[b]=function(e,f){var g,h,i=va._locale[b],j=[];if("number"==typeof e&&(f=e,e=a),h=function(a){var b=va().utc().set(d,a);return i.call(va._locale,b,e||"")},null!=f)return h(f);for(g=0;c>g;g++)j.push(h(g));return j}}function C(a){var b=+a,c=0;return 0!==b&&isFinite(b)&&(c=b>=0?Math.floor(b):Math.ceil(b)),c}function D(a,b){return new Date(Date.UTC(a,b+1,0)).getUTCDate()}function E(a,b,c){return ja(va([a,11,31+b-c]),b,c).week}function F(a){return G(a)?366:365}function G(a){return a%4===0&&a%100!==0||a%400===0}function H(a){var b;a._a&&-2===a._pf.overflow&&(b=a._a[Da]<0||a._a[Da]>11?Da:a._a[Ea]<1||a._a[Ea]>D(a._a[Ca],a._a[Da])?Ea:a._a[Fa]<0||a._a[Fa]>24||24===a._a[Fa]&&(0!==a._a[Ga]||0!==a._a[Ha]||0!==a._a[Ia])?Fa:a._a[Ga]<0||a._a[Ga]>59?Ga:a._a[Ha]<0||a._a[Ha]>59?Ha:a._a[Ia]<0||a._a[Ia]>999?Ia:-1,a._pf._overflowDayOfYear&&(Ca>b||b>Ea)&&(b=Ea),a._pf.overflow=b)}function I(b){return null==b._isValid&&(b._isValid=!isNaN(b._d.getTime())&&b._pf.overflow<0&&!b._pf.empty&&!b._pf.invalidMonth&&!b._pf.nullInput&&!b._pf.invalidFormat&&!b._pf.userInvalidated,b._strict&&(b._isValid=b._isValid&&0===b._pf.charsLeftOver&&0===b._pf.unusedTokens.length&&b._pf.bigHour===a)),b._isValid}function J(a){return a?a.toLowerCase().replace("_","-"):a}function K(a){for(var b,c,d,e,f=0;f<a.length;){for(e=J(a[f]).split("-"),b=e.length,c=J(a[f+1]),c=c?c.split("-"):null;b>0;){if(d=L(e.slice(0,b).join("-")))return d;if(c&&c.length>=b&&y(e,c,!0)>=b-1)break;b--}f++}return null}function L(a){var b=null;if(!Ja[a]&&La)try{b=va.locale(),require("./locale/"+a),va.locale(b)}catch(c){}return Ja[a]}function M(a,b){var c,d;return b._isUTC?(c=b.clone(),d=(va.isMoment(a)||x(a)?+a:+va(a))-+c,c._d.setTime(+c._d+d),va.updateOffset(c,!1),c):va(a).local()}function N(a){return a.match(/\[[\s\S]/)?a.replace(/^\[|\]$/g,""):a.replace(/\\/g,"")}function O(a){var b,c,d=a.match(Pa);for(b=0,c=d.length;c>b;b++)rb[d[b]]?d[b]=rb[d[b]]:d[b]=N(d[b]);return function(e){var f="";for(b=0;c>b;b++)f+=d[b]instanceof Function?d[b].call(e,a):d[b];return f}}function P(a,b){return a.isValid()?(b=Q(b,a.localeData()),nb[b]||(nb[b]=O(b)),nb[b](a)):a.localeData().invalidDate()}function Q(a,b){function c(a){return b.longDateFormat(a)||a}var d=5;for(Qa.lastIndex=0;d>=0&&Qa.test(a);)a=a.replace(Qa,c),Qa.lastIndex=0,d-=1;return a}function R(a,b){var c,d=b._strict;switch(a){case"Q":return _a;case"DDDD":return bb;case"YYYY":case"GGGG":case"gggg":return d?cb:Ta;case"Y":case"G":case"g":return eb;case"YYYYYY":case"YYYYY":case"GGGGG":case"ggggg":return d?db:Ua;case"S":if(d)return _a;case"SS":if(d)return ab;case"SSS":if(d)return bb;case"DDD":return Sa;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return Wa;case"a":case"A":return b._locale._meridiemParse;case"x":return Za;case"X":return $a;case"Z":case"ZZ":return Xa;case"T":return Ya;case"SSSS":return Va;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case"hh":case"mm":case"ss":case"ww":case"WW":return d?ab:Ra;case"M":case"D":case"d":case"H":case"h":case"m":case"s":case"w":case"W":case"e":case"E":return Ra;case"Do":return d?b._locale._ordinalParse:b._locale._ordinalParseLenient;default:return c=new RegExp($(Z(a.replace("\\","")),"i"))}}function S(a){a=a||"";var b=a.match(Xa)||[],c=b[b.length-1]||[],d=(c+"").match(jb)||["-",0,0],e=+(60*d[1])+C(d[2]);return"+"===d[0]?e:-e}function T(a,b,c){var d,e=c._a;switch(a){case"Q":null!=b&&(e[Da]=3*(C(b)-1));break;case"M":case"MM":null!=b&&(e[Da]=C(b)-1);break;case"MMM":case"MMMM":d=c._locale.monthsParse(b,a,c._strict),null!=d?e[Da]=d:c._pf.invalidMonth=b;break;case"D":case"DD":null!=b&&(e[Ea]=C(b));break;case"Do":null!=b&&(e[Ea]=C(parseInt(b.match(/\d{1,2}/)[0],10)));break;case"DDD":case"DDDD":null!=b&&(c._dayOfYear=C(b));break;case"YY":e[Ca]=va.parseTwoDigitYear(b);break;case"YYYY":case"YYYYY":case"YYYYYY":e[Ca]=C(b);break;case"a":case"A":c._meridiem=b;break;case"h":case"hh":c._pf.bigHour=!0;case"H":case"HH":e[Fa]=C(b);break;case"m":case"mm":e[Ga]=C(b);break;case"s":case"ss":e[Ha]=C(b);break;case"S":case"SS":case"SSS":case"SSSS":e[Ia]=C(1e3*("0."+b));break;case"x":c._d=new Date(C(b));break;case"X":c._d=new Date(1e3*parseFloat(b));break;case"Z":case"ZZ":c._useUTC=!0,c._tzm=S(b);break;case"dd":case"ddd":case"dddd":d=c._locale.weekdaysParse(b),null!=d?(c._w=c._w||{},c._w.d=d):c._pf.invalidWeekday=b;break;case"w":case"ww":case"W":case"WW":case"d":case"e":case"E":a=a.substr(0,1);case"gggg":case"GGGG":case"GGGGG":a=a.substr(0,2),b&&(c._w=c._w||{},c._w[a]=C(b));break;case"gg":case"GG":c._w=c._w||{},c._w[a]=va.parseTwoDigitYear(b)}}function U(a){var c,d,e,f,g,h,i;c=a._w,null!=c.GG||null!=c.W||null!=c.E?(g=1,h=4,d=b(c.GG,a._a[Ca],ja(va(),1,4).year),e=b(c.W,1),f=b(c.E,1)):(g=a._locale._week.dow,h=a._locale._week.doy,d=b(c.gg,a._a[Ca],ja(va(),g,h).year),e=b(c.w,1),null!=c.d?(f=c.d,g>f&&++e):f=null!=c.e?c.e+g:g),i=ka(d,e,f,h,g),a._a[Ca]=i.year,a._dayOfYear=i.dayOfYear}function V(a){var c,d,e,f,g=[];if(!a._d){for(e=X(a),a._w&&null==a._a[Ea]&&null==a._a[Da]&&U(a),a._dayOfYear&&(f=b(a._a[Ca],e[Ca]),a._dayOfYear>F(f)&&(a._pf._overflowDayOfYear=!0),d=fa(f,0,a._dayOfYear),a._a[Da]=d.getUTCMonth(),a._a[Ea]=d.getUTCDate()),c=0;3>c&&null==a._a[c];++c)a._a[c]=g[c]=e[c];for(;7>c;c++)a._a[c]=g[c]=null==a._a[c]?2===c?1:0:a._a[c];24===a._a[Fa]&&0===a._a[Ga]&&0===a._a[Ha]&&0===a._a[Ia]&&(a._nextDay=!0,a._a[Fa]=0),a._d=(a._useUTC?fa:ea).apply(null,g),null!=a._tzm&&a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm),a._nextDay&&(a._a[Fa]=24)}}function W(a){var b;a._d||(b=A(a._i),a._a=[b.year,b.month,b.day||b.date,b.hour,b.minute,b.second,b.millisecond],V(a))}function X(a){var b=new Date;return a._useUTC?[b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()]:[b.getFullYear(),b.getMonth(),b.getDate()]}function Y(b){if(b._f===va.ISO_8601)return void aa(b);b._a=[],b._pf.empty=!0;var c,d,e,f,g,h=""+b._i,i=h.length,j=0;for(e=Q(b._f,b._locale).match(Pa)||[],c=0;c<e.length;c++)f=e[c],d=(h.match(R(f,b))||[])[0],d&&(g=h.substr(0,h.indexOf(d)),g.length>0&&b._pf.unusedInput.push(g),h=h.slice(h.indexOf(d)+d.length),j+=d.length),rb[f]?(d?b._pf.empty=!1:b._pf.unusedTokens.push(f),T(f,d,b)):b._strict&&!d&&b._pf.unusedTokens.push(f);b._pf.charsLeftOver=i-j,h.length>0&&b._pf.unusedInput.push(h),b._pf.bigHour===!0&&b._a[Fa]<=12&&(b._pf.bigHour=a),b._a[Fa]=k(b._locale,b._a[Fa],b._meridiem),V(b),H(b)}function Z(a){return a.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(a,b,c,d,e){return b||c||d||e})}function $(a){return a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function _(a){var b,c,e,f,g;if(0===a._f.length)return a._pf.invalidFormat=!0,void(a._d=new Date(NaN));for(f=0;f<a._f.length;f++)g=0,b=p({},a),null!=a._useUTC&&(b._useUTC=a._useUTC),b._pf=d(),b._f=a._f[f],Y(b),I(b)&&(g+=b._pf.charsLeftOver,g+=10*b._pf.unusedTokens.length,b._pf.score=g,(null==e||e>g)&&(e=g,c=b));o(a,c||b)}function aa(a){var b,c,d=a._i,e=fb.exec(d);if(e){for(a._pf.iso=!0,b=0,c=hb.length;c>b;b++)if(hb[b][1].exec(d)){a._f=hb[b][0]+(e[6]||" ");break}for(b=0,c=ib.length;c>b;b++)if(ib[b][1].exec(d)){a._f+=ib[b][0];break}d.match(Xa)&&(a._f+="Z"),Y(a)}else a._isValid=!1}function ba(a){aa(a),a._isValid===!1&&(delete a._isValid,va.createFromInputFallback(a))}function ca(a,b){var c,d=[];for(c=0;c<a.length;++c)d.push(b(a[c],c));return d}function da(b){var c,d=b._i;d===a?b._d=new Date:x(d)?b._d=new Date(+d):null!==(c=Ma.exec(d))?b._d=new Date(+c[1]):"string"==typeof d?ba(b):w(d)?(b._a=ca(d.slice(0),function(a){return parseInt(a,10)}),V(b)):"object"==typeof d?W(b):"number"==typeof d?b._d=new Date(d):va.createFromInputFallback(b)}function ea(a,b,c,d,e,f,g){var h=new Date(a,b,c,d,e,f,g);return 1970>a&&h.setFullYear(a),h}function fa(a){var b=new Date(Date.UTC.apply(null,arguments));return 1970>a&&b.setUTCFullYear(a),b}function ga(a,b){if("string"==typeof a)if(isNaN(a)){if(a=b.weekdaysParse(a),"number"!=typeof a)return null}else a=parseInt(a,10);return a}function ha(a,b,c,d,e){return e.relativeTime(b||1,!!c,a,d)}function ia(a,b,c){var d=va.duration(a).abs(),e=Aa(d.as("s")),f=Aa(d.as("m")),g=Aa(d.as("h")),h=Aa(d.as("d")),i=Aa(d.as("M")),j=Aa(d.as("y")),k=e<ob.s&&["s",e]||1===f&&["m"]||f<ob.m&&["mm",f]||1===g&&["h"]||g<ob.h&&["hh",g]||1===h&&["d"]||h<ob.d&&["dd",h]||1===i&&["M"]||i<ob.M&&["MM",i]||1===j&&["y"]||["yy",j];return k[2]=b,k[3]=+a>0,k[4]=c,ha.apply({},k)}function ja(a,b,c){var d,e=c-b,f=c-a.day();return f>e&&(f-=7),e-7>f&&(f+=7),d=va(a).add(f,"d"),{week:Math.ceil(d.dayOfYear()/7),year:d.year()}}function ka(a,b,c,d,e){var f,g,h=fa(a,0,1).getUTCDay();return h=0===h?7:h,c=null!=c?c:e,f=e-h+(h>d?7:0)-(e>h?7:0),g=7*(b-1)+(c-e)+f+1,{year:g>0?a:a-1,dayOfYear:g>0?g:F(a-1)+g}}function la(b){var c,d=b._i,e=b._f;return b._locale=b._locale||va.localeData(b._l),null===d||e===a&&""===d?va.invalid({nullInput:!0}):("string"==typeof d&&(b._i=d=b._locale.preparse(d)),va.isMoment(d)?new m(d,!0):(e?w(e)?_(b):Y(b):da(b),c=new m(b),c._nextDay&&(c.add(1,"d"),c._nextDay=a),c))}function ma(a,b){var c,d;if(1===b.length&&w(b[0])&&(b=b[0]),!b.length)return va();for(c=b[0],d=1;d<b.length;++d)b[d][a](c)&&(c=b[d]);return c}function na(a,b){var c;return"string"==typeof b&&(b=a.localeData().monthsParse(b),"number"!=typeof b)?a:(c=Math.min(a.date(),D(a.year(),b)),a._d["set"+(a._isUTC?"UTC":"")+"Month"](b,c),a)}function oa(a,b){return a._d["get"+(a._isUTC?"UTC":"")+b]()}function pa(a,b,c){return"Month"===b?na(a,c):a._d["set"+(a._isUTC?"UTC":"")+b](c)}function qa(a,b){return function(c){return null!=c?(pa(this,a,c),va.updateOffset(this,b),this):oa(this,a)}}function ra(a){return 400*a/146097}function sa(a){return 146097*a/400}function ta(a){va.duration.fn[a]=function(){return this._data[a]}}function ua(a){"undefined"==typeof ender&&(wa=za.moment,a?za.moment=f("Accessing Moment through the global scope is deprecated, and will be removed in an upcoming release.",va):za.moment=va)}for(var va,wa,xa,ya="2.9.0",za="undefined"==typeof global||"undefined"!=typeof window&&window!==global.window?this:global,Aa=Math.round,Ba=Object.prototype.hasOwnProperty,Ca=0,Da=1,Ea=2,Fa=3,Ga=4,Ha=5,Ia=6,Ja={},Ka=[],La="undefined"!=typeof module&&module&&module.exports,Ma=/^\/?Date\((\-?\d+)/i,Na=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Oa=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,Pa=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|x|X|zz?|ZZ?|.)/g,Qa=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ra=/\d\d?/,Sa=/\d{1,3}/,Ta=/\d{1,4}/,Ua=/[+\-]?\d{1,6}/,Va=/\d+/,Wa=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Xa=/Z|[\+\-]\d\d:?\d\d/gi,Ya=/T/i,Za=/[\+\-]?\d+/,$a=/[\+\-]?\d+(\.\d{1,3})?/,_a=/\d/,ab=/\d\d/,bb=/\d{3}/,cb=/\d{4}/,db=/[+-]?\d{6}/,eb=/[+-]?\d+/,fb=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,gb="YYYY-MM-DDTHH:mm:ssZ",hb=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],ib=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],jb=/([\+\-]|\d\d)/gi,kb=("Date|Hours|Minutes|Seconds|Milliseconds".split("|"),{Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,Days:864e5,Months:2592e6,Years:31536e6}),lb={ms:"millisecond",s:"second",m:"minute",h:"hour",d:"day",D:"date",w:"week",W:"isoWeek",M:"month",Q:"quarter",y:"year",DDD:"dayOfYear",e:"weekday",E:"isoWeekday",gg:"weekYear",GG:"isoWeekYear"},mb={dayofyear:"dayOfYear",isoweekday:"isoWeekday",isoweek:"isoWeek",weekyear:"weekYear",isoweekyear:"isoWeekYear"},nb={},ob={s:45,m:45,h:22,d:26,M:11},pb="DDD w W M D d".split(" "),qb="M D H h m s w W".split(" "),rb={M:function(){return this.month()+1},MMM:function(a){return this.localeData().monthsShort(this,a)},MMMM:function(a){return this.localeData().months(this,a)},D:function(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){return this.day()},dd:function(a){return this.localeData().weekdaysMin(this,a)},ddd:function(a){return this.localeData().weekdaysShort(this,a)},dddd:function(a){return this.localeData().weekdays(this,a)},w:function(){return this.week()},W:function(){return this.isoWeek()},YY:function(){return r(this.year()%100,2)},YYYY:function(){return r(this.year(),4)},YYYYY:function(){return r(this.year(),5)},YYYYYY:function(){var a=this.year(),b=a>=0?"+":"-";return b+r(Math.abs(a),6)},gg:function(){return r(this.weekYear()%100,2)},gggg:function(){return r(this.weekYear(),4)},ggggg:function(){return r(this.weekYear(),5)},GG:function(){return r(this.isoWeekYear()%100,2)},GGGG:function(){return r(this.isoWeekYear(),4)},GGGGG:function(){return r(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWeekday()},a:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!0)},A:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!1)},H:function(){return this.hours()},h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return C(this.milliseconds()/100)},SS:function(){return r(C(this.milliseconds()/10),2)},SSS:function(){return r(this.milliseconds(),3)},SSSS:function(){return r(this.milliseconds(),3)},Z:function(){var a=this.utcOffset(),b="+";return 0>a&&(a=-a,b="-"),b+r(C(a/60),2)+":"+r(C(a)%60,2)},ZZ:function(){var a=this.utcOffset(),b="+";return 0>a&&(a=-a,b="-"),b+r(C(a/60),2)+r(C(a)%60,2)},z:function(){return this.zoneAbbr()},zz:function(){return this.zoneName()},x:function(){return this.valueOf()},X:function(){return this.unix()},Q:function(){return this.quarter()}},sb={},tb=["months","monthsShort","weekdays","weekdaysShort","weekdaysMin"],ub=!1;pb.length;)xa=pb.pop(),rb[xa+"o"]=i(rb[xa],xa);for(;qb.length;)xa=qb.pop(),rb[xa+xa]=h(rb[xa],2);rb.DDDD=h(rb.DDD,3),o(l.prototype,{set:function(a){var b,c;for(c in a)b=a[c],"function"==typeof b?this[c]=b:this["_"+c]=b;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)},_months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),months:function(a){return this._months[a.month()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),monthsShort:function(a){return this._monthsShort[a.month()]},monthsParse:function(a,b,c){var d,e,f;for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),d=0;12>d;d++){if(e=va.utc([2e3,d]),c&&!this._longMonthsParse[d]&&(this._longMonthsParse[d]=new RegExp("^"+this.months(e,"").replace(".","")+"$","i"),this._shortMonthsParse[d]=new RegExp("^"+this.monthsShort(e,"").replace(".","")+"$","i")),c||this._monthsParse[d]||(f="^"+this.months(e,"")+"|^"+this.monthsShort(e,""),this._monthsParse[d]=new RegExp(f.replace(".",""),"i")),c&&"MMMM"===b&&this._longMonthsParse[d].test(a))return d;if(c&&"MMM"===b&&this._shortMonthsParse[d].test(a))return d;if(!c&&this._monthsParse[d].test(a))return d}},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdays:function(a){return this._weekdays[a.day()]},_weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysShort:function(a){return this._weekdaysShort[a.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysMin:function(a){return this._weekdaysMin[a.day()]},weekdaysParse:function(a){var b,c,d;for(this._weekdaysParse||(this._weekdaysParse=[]),b=0;7>b;b++)if(this._weekdaysParse[b]||(c=va([2e3,1]).day(b),d="^"+this.weekdays(c,"")+"|^"+this.weekdaysShort(c,"")+"|^"+this.weekdaysMin(c,""),this._weekdaysParse[b]=new RegExp(d.replace(".",""),"i")),this._weekdaysParse[b].test(a))return b},_longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM D, YYYY LT"},longDateFormat:function(a){var b=this._longDateFormat[a];return!b&&this._longDateFormat[a.toUpperCase()]&&(b=this._longDateFormat[a.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(a){return a.slice(1)}),this._longDateFormat[a]=b),b},isPM:function(a){return"p"===(a+"").toLowerCase().charAt(0)},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(a,b,c){return a>11?c?"pm":"PM":c?"am":"AM"},_calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},calendar:function(a,b,c){var d=this._calendar[a];return"function"==typeof d?d.apply(b,[c]):d},_relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},relativeTime:function(a,b,c,d){var e=this._relativeTime[c];return"function"==typeof e?e(a,b,c,d):e.replace(/%d/i,a)},pastFuture:function(a,b){var c=this._relativeTime[a>0?"future":"past"];return"function"==typeof c?c(b):c.replace(/%s/i,b)},ordinal:function(a){return this._ordinal.replace("%d",a)},_ordinal:"%d",_ordinalParse:/\d{1,2}/,preparse:function(a){return a},postformat:function(a){return a},week:function(a){return ja(a,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},firstDayOfWeek:function(){return this._week.dow},firstDayOfYear:function(){return this._week.doy},_invalidDate:"Invalid date",invalidDate:function(){return this._invalidDate}}),va=function(b,c,e,f){var g;return"boolean"==typeof e&&(f=e,e=a),g={},g._isAMomentObject=!0,g._i=b,g._f=c,g._l=e,g._strict=f,g._isUTC=!1,g._pf=d(),la(g)},va.suppressDeprecationWarnings=!1,va.createFromInputFallback=f("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(a){a._d=new Date(a._i+(a._useUTC?" UTC":""))}),va.min=function(){var a=[].slice.call(arguments,0);return ma("isBefore",a)},va.max=function(){var a=[].slice.call(arguments,0);return ma("isAfter",a)},va.utc=function(b,c,e,f){var g;return"boolean"==typeof e&&(f=e,e=a),g={},g._isAMomentObject=!0,g._useUTC=!0,g._isUTC=!0,g._l=e,g._i=b,g._f=c,g._strict=f,g._pf=d(),la(g).utc()},va.unix=function(a){return va(1e3*a)},va.duration=function(a,b){var d,e,f,g,h=a,i=null;return va.isDuration(a)?h={ms:a._milliseconds,d:a._days,M:a._months}:"number"==typeof a?(h={},b?h[b]=a:h.milliseconds=a):(i=Na.exec(a))?(d="-"===i[1]?-1:1,h={y:0,d:C(i[Ea])*d,h:C(i[Fa])*d,m:C(i[Ga])*d,s:C(i[Ha])*d,ms:C(i[Ia])*d}):(i=Oa.exec(a))?(d="-"===i[1]?-1:1,f=function(a){var b=a&&parseFloat(a.replace(",","."));return(isNaN(b)?0:b)*d},h={y:f(i[2]),M:f(i[3]),d:f(i[4]),h:f(i[5]),m:f(i[6]),s:f(i[7]),w:f(i[8])}):null==h?h={}:"object"==typeof h&&("from"in h||"to"in h)&&(g=t(va(h.from),va(h.to)),h={},h.ms=g.milliseconds,h.M=g.months),e=new n(h),va.isDuration(a)&&c(a,"_locale")&&(e._locale=a._locale),e},va.version=ya,va.defaultFormat=gb,va.ISO_8601=function(){},va.momentProperties=Ka,va.updateOffset=function(){},va.relativeTimeThreshold=function(b,c){return ob[b]===a?!1:c===a?ob[b]:(ob[b]=c,!0)},va.lang=f("moment.lang is deprecated. Use moment.locale instead.",function(a,b){return va.locale(a,b)}),va.locale=function(a,b){var c;return a&&(c="undefined"!=typeof b?va.defineLocale(a,b):va.localeData(a),c&&(va.duration._locale=va._locale=c)),va._locale._abbr},va.defineLocale=function(a,b){return null!==b?(b.abbr=a,Ja[a]||(Ja[a]=new l),Ja[a].set(b),va.locale(a),Ja[a]):(delete Ja[a],null)},va.langData=f("moment.langData is deprecated. Use moment.localeData instead.",function(a){return va.localeData(a)}),va.localeData=function(a){var b;if(a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr),!a)return va._locale;if(!w(a)){if(b=L(a))return b;a=[a]}return K(a)},va.isMoment=function(a){return a instanceof m||null!=a&&c(a,"_isAMomentObject")},va.isDuration=function(a){return a instanceof n};for(xa=tb.length-1;xa>=0;--xa)B(tb[xa]);va.normalizeUnits=function(a){return z(a)},va.invalid=function(a){var b=va.utc(NaN);return null!=a?o(b._pf,a):b._pf.userInvalidated=!0,b},va.parseZone=function(){return va.apply(null,arguments).parseZone()},va.parseTwoDigitYear=function(a){return C(a)+(C(a)>68?1900:2e3)},va.isDate=x,o(va.fn=m.prototype,{clone:function(){return va(this)},valueOf:function(){return+this._d-6e4*(this._offset||0)},unix:function(){return Math.floor(+this/1e3)},toString:function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDate:function(){return this._offset?new Date(+this):this._d},toISOString:function(){var a=va(this).utc();return 0<a.year()&&a.year()<=9999?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():P(a,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):P(a,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},toArray:function(){var a=this;return[a.year(),a.month(),a.date(),a.hours(),a.minutes(),a.seconds(),a.milliseconds()]},isValid:function(){return I(this)},isDSTShifted:function(){return this._a?this.isValid()&&y(this._a,(this._isUTC?va.utc(this._a):va(this._a)).toArray())>0:!1},parsingFlags:function(){return o({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function(a){return this.utcOffset(0,a)},local:function(a){return this._isUTC&&(this.utcOffset(0,a),this._isUTC=!1,a&&this.subtract(this._dateUtcOffset(),"m")),this},format:function(a){var b=P(this,a||va.defaultFormat);return this.localeData().postformat(b)},add:u(1,"add"),subtract:u(-1,"subtract"),diff:function(a,b,c){var d,e,f=M(a,this),g=6e4*(f.utcOffset()-this.utcOffset());return b=z(b),"year"===b||"month"===b||"quarter"===b?(e=j(this,f),"quarter"===b?e/=3:"year"===b&&(e/=12)):(d=this-f,e="second"===b?d/1e3:"minute"===b?d/6e4:"hour"===b?d/36e5:"day"===b?(d-g)/864e5:"week"===b?(d-g)/6048e5:d),c?e:q(e)},from:function(a,b){return va.duration({to:this,from:a}).locale(this.locale()).humanize(!b)},fromNow:function(a){return this.from(va(),a)},calendar:function(a){var b=a||va(),c=M(b,this).startOf("day"),d=this.diff(c,"days",!0),e=-6>d?"sameElse":-1>d?"lastWeek":0>d?"lastDay":1>d?"sameDay":2>d?"nextDay":7>d?"nextWeek":"sameElse";return this.format(this.localeData().calendar(e,this,va(b)))},isLeapYear:function(){return G(this.year())},isDST:function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},day:function(a){var b=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=a?(a=ga(a,this.localeData()),this.add(a-b,"d")):b},month:qa("Month",!0),startOf:function(a){switch(a=z(a)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===a?this.weekday(0):"isoWeek"===a&&this.isoWeekday(1),"quarter"===a&&this.month(3*Math.floor(this.month()/3)),this},endOf:function(b){return b=z(b),b===a||"millisecond"===b?this:this.startOf(b).add(1,"isoWeek"===b?"week":b).subtract(1,"ms")},isAfter:function(a,b){var c;return b=z("undefined"!=typeof b?b:"millisecond"),"millisecond"===b?(a=va.isMoment(a)?a:va(a),+this>+a):(c=va.isMoment(a)?+a:+va(a),c<+this.clone().startOf(b))},isBefore:function(a,b){var c;return b=z("undefined"!=typeof b?b:"millisecond"),"millisecond"===b?(a=va.isMoment(a)?a:va(a),+a>+this):(c=va.isMoment(a)?+a:+va(a),+this.clone().endOf(b)<c)},isBetween:function(a,b,c){return this.isAfter(a,c)&&this.isBefore(b,c)},isSame:function(a,b){var c;return b=z(b||"millisecond"),"millisecond"===b?(a=va.isMoment(a)?a:va(a),+this===+a):(c=+va(a),+this.clone().startOf(b)<=c&&c<=+this.clone().endOf(b))},min:f("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(a){return a=va.apply(null,arguments),this>a?this:a}),max:f("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(a){return a=va.apply(null,arguments),a>this?this:a}),zone:f("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",function(a,b){return null!=a?("string"!=typeof a&&(a=-a),this.utcOffset(a,b),this):-this.utcOffset()}),utcOffset:function(a,b){var c,d=this._offset||0;return null!=a?("string"==typeof a&&(a=S(a)),Math.abs(a)<16&&(a=60*a),!this._isUTC&&b&&(c=this._dateUtcOffset()),this._offset=a,this._isUTC=!0,null!=c&&this.add(c,"m"),d!==a&&(!b||this._changeInProgress?v(this,va.duration(a-d,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,va.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?d:this._dateUtcOffset()},isLocal:function(){return!this._isUTC},isUtcOffset:function(){return this._isUTC},isUtc:function(){return this._isUTC&&0===this._offset},zoneAbbr:function(){return this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal Time":""},parseZone:function(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(S(this._i)),this},hasAlignedHourOffset:function(a){return a=a?va(a).utcOffset():0,(this.utcOffset()-a)%60===0},daysInMonth:function(){return D(this.year(),this.month())},dayOfYear:function(a){var b=Aa((va(this).startOf("day")-va(this).startOf("year"))/864e5)+1;return null==a?b:this.add(a-b,"d")},quarter:function(a){return null==a?Math.ceil((this.month()+1)/3):this.month(3*(a-1)+this.month()%3)},weekYear:function(a){var b=ja(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==a?b:this.add(a-b,"y")},isoWeekYear:function(a){var b=ja(this,1,4).year;return null==a?b:this.add(a-b,"y")},week:function(a){var b=this.localeData().week(this);return null==a?b:this.add(7*(a-b),"d")},isoWeek:function(a){var b=ja(this,1,4).week;return null==a?b:this.add(7*(a-b),"d")},weekday:function(a){var b=(this.day()+7-this.localeData()._week.dow)%7;return null==a?b:this.add(a-b,"d")},isoWeekday:function(a){return null==a?this.day()||7:this.day(this.day()%7?a:a-7)},isoWeeksInYear:function(){return E(this.year(),1,4)},weeksInYear:function(){var a=this.localeData()._week;return E(this.year(),a.dow,a.doy)},get:function(a){return a=z(a),this[a]()},set:function(a,b){var c;if("object"==typeof a)for(c in a)this.set(c,a[c]);else a=z(a),"function"==typeof this[a]&&this[a](b);return this},locale:function(b){var c;return b===a?this._locale._abbr:(c=va.localeData(b),null!=c&&(this._locale=c),this)},lang:f("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(b){return b===a?this.localeData():this.locale(b)}),localeData:function(){return this._locale},_dateUtcOffset:function(){return 15*-Math.round(this._d.getTimezoneOffset()/15)}}),va.fn.millisecond=va.fn.milliseconds=qa("Milliseconds",!1),va.fn.second=va.fn.seconds=qa("Seconds",!1),va.fn.minute=va.fn.minutes=qa("Minutes",!1),va.fn.hour=va.fn.hours=qa("Hours",!0),va.fn.date=qa("Date",!0),va.fn.dates=f("dates accessor is deprecated. Use date instead.",qa("Date",!0)),va.fn.year=qa("FullYear",!0),va.fn.years=f("years accessor is deprecated. Use year instead.",qa("FullYear",!0)),va.fn.days=va.fn.day,va.fn.months=va.fn.month,va.fn.weeks=va.fn.week,va.fn.isoWeeks=va.fn.isoWeek,va.fn.quarters=va.fn.quarter,va.fn.toJSON=va.fn.toISOString,va.fn.isUTC=va.fn.isUtc,o(va.duration.fn=n.prototype,{_bubble:function(){var a,b,c,d=this._milliseconds,e=this._days,f=this._months,g=this._data,h=0;g.milliseconds=d%1e3,a=q(d/1e3),g.seconds=a%60,b=q(a/60),g.minutes=b%60,c=q(b/60),g.hours=c%24,e+=q(c/24),h=q(ra(e)),e-=q(sa(h)),f+=q(e/30),e%=30,h+=q(f/12),f%=12,g.days=e,g.months=f,g.years=h},abs:function(){return this._milliseconds=Math.abs(this._milliseconds),this._days=Math.abs(this._days),this._months=Math.abs(this._months),this._data.milliseconds=Math.abs(this._data.milliseconds),this._data.seconds=Math.abs(this._data.seconds),this._data.minutes=Math.abs(this._data.minutes),this._data.hours=Math.abs(this._data.hours),this._data.months=Math.abs(this._data.months),this._data.years=Math.abs(this._data.years),this},weeks:function(){return q(this.days()/7)},valueOf:function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*C(this._months/12);
3
  },humanize:function(a){var b=ia(this,!a,this.localeData());return a&&(b=this.localeData().pastFuture(+this,b)),this.localeData().postformat(b)},add:function(a,b){var c=va.duration(a,b);return this._milliseconds+=c._milliseconds,this._days+=c._days,this._months+=c._months,this._bubble(),this},subtract:function(a,b){var c=va.duration(a,b);return this._milliseconds-=c._milliseconds,this._days-=c._days,this._months-=c._months,this._bubble(),this},get:function(a){return a=z(a),this[a.toLowerCase()+"s"]()},as:function(a){var b,c;if(a=z(a),"month"===a||"year"===a)return b=this._days+this._milliseconds/864e5,c=this._months+12*ra(b),"month"===a?c:c/12;switch(b=this._days+Math.round(sa(this._months/12)),a){case"week":return b/7+this._milliseconds/6048e5;case"day":return b+this._milliseconds/864e5;case"hour":return 24*b+this._milliseconds/36e5;case"minute":return 24*b*60+this._milliseconds/6e4;case"second":return 24*b*60*60+this._milliseconds/1e3;case"millisecond":return Math.floor(24*b*60*60*1e3)+this._milliseconds;default:throw new Error("Unknown unit "+a)}},lang:va.fn.lang,locale:va.fn.locale,toIsoString:f("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",function(){return this.toISOString()}),toISOString:function(){var a=Math.abs(this.years()),b=Math.abs(this.months()),c=Math.abs(this.days()),d=Math.abs(this.hours()),e=Math.abs(this.minutes()),f=Math.abs(this.seconds()+this.milliseconds()/1e3);return this.asSeconds()?(this.asSeconds()<0?"-":"")+"P"+(a?a+"Y":"")+(b?b+"M":"")+(c?c+"D":"")+(d||e||f?"T":"")+(d?d+"H":"")+(e?e+"M":"")+(f?f+"S":""):"P0D"},localeData:function(){return this._locale},toJSON:function(){return this.toISOString()}}),va.duration.fn.toString=va.duration.fn.toISOString;for(xa in kb)c(kb,xa)&&ta(xa.toLowerCase());va.duration.fn.asMilliseconds=function(){return this.as("ms")},va.duration.fn.asSeconds=function(){return this.as("s")},va.duration.fn.asMinutes=function(){return this.as("m")},va.duration.fn.asHours=function(){return this.as("h")},va.duration.fn.asDays=function(){return this.as("d")},va.duration.fn.asWeeks=function(){return this.as("weeks")},va.duration.fn.asMonths=function(){return this.as("M")},va.duration.fn.asYears=function(){return this.as("y")},va.locale("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var b=a%10,c=1===C(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c}}),La?module.exports=va:"function"==typeof define&&define.amd?(define(function(a,b,c){return c.config&&c.config()&&c.config().noGlobal===!0&&(za.moment=wa),va}),ua(!0)):ua()}).call(this);
1
+ /*! event-organiser 3.7.3-0-geffd108 2018-07-13 20:28 */
2
  (function(a){function b(a,b,c){switch(arguments.length){case 2:return null!=a?a:b;case 3:return null!=a?a:null!=b?b:c;default:throw new Error("Implement me")}}function c(a,b){return Ba.call(a,b)}function d(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function e(a){va.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+a)}function f(a,b){var c=!0;return o(function(){return c&&(e(a),c=!1),b.apply(this,arguments)},b)}function g(a,b){sb[a]||(e(b),sb[a]=!0)}function h(a,b){return function(c){return r(a.call(this,c),b)}}function i(a,b){return function(c){return this.localeData().ordinal(a.call(this,c),b)}}function j(a,b){var c,d,e=12*(b.year()-a.year())+(b.month()-a.month()),f=a.clone().add(e,"months");return 0>b-f?(c=a.clone().add(e-1,"months"),d=(b-f)/(f-c)):(c=a.clone().add(e+1,"months"),d=(b-f)/(c-f)),-(e+d)}function k(a,b,c){var d;return null==c?b:null!=a.meridiemHour?a.meridiemHour(b,c):null!=a.isPM?(d=a.isPM(c),d&&12>b&&(b+=12),d||12!==b||(b=0),b):b}function l(){}function m(a,b){b!==!1&&H(a),p(this,a),this._d=new Date(+a._d),ub===!1&&(ub=!0,va.updateOffset(this),ub=!1)}function n(a){var b=A(a),c=b.year||0,d=b.quarter||0,e=b.month||0,f=b.week||0,g=b.day||0,h=b.hour||0,i=b.minute||0,j=b.second||0,k=b.millisecond||0;this._milliseconds=+k+1e3*j+6e4*i+36e5*h,this._days=+g+7*f,this._months=+e+3*d+12*c,this._data={},this._locale=va.localeData(),this._bubble()}function o(a,b){for(var d in b)c(b,d)&&(a[d]=b[d]);return c(b,"toString")&&(a.toString=b.toString),c(b,"valueOf")&&(a.valueOf=b.valueOf),a}function p(a,b){var c,d,e;if("undefined"!=typeof b._isAMomentObject&&(a._isAMomentObject=b._isAMomentObject),"undefined"!=typeof b._i&&(a._i=b._i),"undefined"!=typeof b._f&&(a._f=b._f),"undefined"!=typeof b._l&&(a._l=b._l),"undefined"!=typeof b._strict&&(a._strict=b._strict),"undefined"!=typeof b._tzm&&(a._tzm=b._tzm),"undefined"!=typeof b._isUTC&&(a._isUTC=b._isUTC),"undefined"!=typeof b._offset&&(a._offset=b._offset),"undefined"!=typeof b._pf&&(a._pf=b._pf),"undefined"!=typeof b._locale&&(a._locale=b._locale),Ka.length>0)for(c in Ka)d=Ka[c],e=b[d],"undefined"!=typeof e&&(a[d]=e);return a}function q(a){return 0>a?Math.ceil(a):Math.floor(a)}function r(a,b,c){for(var d=""+Math.abs(a),e=a>=0;d.length<b;)d="0"+d;return(e?c?"+":"":"-")+d}function s(a,b){var c={milliseconds:0,months:0};return c.months=b.month()-a.month()+12*(b.year()-a.year()),a.clone().add(c.months,"M").isAfter(b)&&--c.months,c.milliseconds=+b-+a.clone().add(c.months,"M"),c}function t(a,b){var c;return b=M(b,a),a.isBefore(b)?c=s(a,b):(c=s(b,a),c.milliseconds=-c.milliseconds,c.months=-c.months),c}function u(a,b){return function(c,d){var e,f;return null===d||isNaN(+d)||(g(b,"moment()."+b+"(period, number) is deprecated. Please use moment()."+b+"(number, period)."),f=c,c=d,d=f),c="string"==typeof c?+c:c,e=va.duration(c,d),v(this,e,a),this}}function v(a,b,c,d){var e=b._milliseconds,f=b._days,g=b._months;d=null==d?!0:d,e&&a._d.setTime(+a._d+e*c),f&&pa(a,"Date",oa(a,"Date")+f*c),g&&na(a,oa(a,"Month")+g*c),d&&va.updateOffset(a,f||g)}function w(a){return"[object Array]"===Object.prototype.toString.call(a)}function x(a){return"[object Date]"===Object.prototype.toString.call(a)||a instanceof Date}function y(a,b,c){var d,e=Math.min(a.length,b.length),f=Math.abs(a.length-b.length),g=0;for(d=0;e>d;d++)(c&&a[d]!==b[d]||!c&&C(a[d])!==C(b[d]))&&g++;return g+f}function z(a){if(a){var b=a.toLowerCase().replace(/(.)s$/,"$1");a=lb[a]||mb[b]||b}return a}function A(a){var b,d,e={};for(d in a)c(a,d)&&(b=z(d),b&&(e[b]=a[d]));return e}function B(b){var c,d;if(0===b.indexOf("week"))c=7,d="day";else{if(0!==b.indexOf("month"))return;c=12,d="month"}va[b]=function(e,f){var g,h,i=va._locale[b],j=[];if("number"==typeof e&&(f=e,e=a),h=function(a){var b=va().utc().set(d,a);return i.call(va._locale,b,e||"")},null!=f)return h(f);for(g=0;c>g;g++)j.push(h(g));return j}}function C(a){var b=+a,c=0;return 0!==b&&isFinite(b)&&(c=b>=0?Math.floor(b):Math.ceil(b)),c}function D(a,b){return new Date(Date.UTC(a,b+1,0)).getUTCDate()}function E(a,b,c){return ja(va([a,11,31+b-c]),b,c).week}function F(a){return G(a)?366:365}function G(a){return a%4===0&&a%100!==0||a%400===0}function H(a){var b;a._a&&-2===a._pf.overflow&&(b=a._a[Da]<0||a._a[Da]>11?Da:a._a[Ea]<1||a._a[Ea]>D(a._a[Ca],a._a[Da])?Ea:a._a[Fa]<0||a._a[Fa]>24||24===a._a[Fa]&&(0!==a._a[Ga]||0!==a._a[Ha]||0!==a._a[Ia])?Fa:a._a[Ga]<0||a._a[Ga]>59?Ga:a._a[Ha]<0||a._a[Ha]>59?Ha:a._a[Ia]<0||a._a[Ia]>999?Ia:-1,a._pf._overflowDayOfYear&&(Ca>b||b>Ea)&&(b=Ea),a._pf.overflow=b)}function I(b){return null==b._isValid&&(b._isValid=!isNaN(b._d.getTime())&&b._pf.overflow<0&&!b._pf.empty&&!b._pf.invalidMonth&&!b._pf.nullInput&&!b._pf.invalidFormat&&!b._pf.userInvalidated,b._strict&&(b._isValid=b._isValid&&0===b._pf.charsLeftOver&&0===b._pf.unusedTokens.length&&b._pf.bigHour===a)),b._isValid}function J(a){return a?a.toLowerCase().replace("_","-"):a}function K(a){for(var b,c,d,e,f=0;f<a.length;){for(e=J(a[f]).split("-"),b=e.length,c=J(a[f+1]),c=c?c.split("-"):null;b>0;){if(d=L(e.slice(0,b).join("-")))return d;if(c&&c.length>=b&&y(e,c,!0)>=b-1)break;b--}f++}return null}function L(a){var b=null;if(!Ja[a]&&La)try{b=va.locale(),require("./locale/"+a),va.locale(b)}catch(c){}return Ja[a]}function M(a,b){var c,d;return b._isUTC?(c=b.clone(),d=(va.isMoment(a)||x(a)?+a:+va(a))-+c,c._d.setTime(+c._d+d),va.updateOffset(c,!1),c):va(a).local()}function N(a){return a.match(/\[[\s\S]/)?a.replace(/^\[|\]$/g,""):a.replace(/\\/g,"")}function O(a){var b,c,d=a.match(Pa);for(b=0,c=d.length;c>b;b++)rb[d[b]]?d[b]=rb[d[b]]:d[b]=N(d[b]);return function(e){var f="";for(b=0;c>b;b++)f+=d[b]instanceof Function?d[b].call(e,a):d[b];return f}}function P(a,b){return a.isValid()?(b=Q(b,a.localeData()),nb[b]||(nb[b]=O(b)),nb[b](a)):a.localeData().invalidDate()}function Q(a,b){function c(a){return b.longDateFormat(a)||a}var d=5;for(Qa.lastIndex=0;d>=0&&Qa.test(a);)a=a.replace(Qa,c),Qa.lastIndex=0,d-=1;return a}function R(a,b){var c,d=b._strict;switch(a){case"Q":return _a;case"DDDD":return bb;case"YYYY":case"GGGG":case"gggg":return d?cb:Ta;case"Y":case"G":case"g":return eb;case"YYYYYY":case"YYYYY":case"GGGGG":case"ggggg":return d?db:Ua;case"S":if(d)return _a;case"SS":if(d)return ab;case"SSS":if(d)return bb;case"DDD":return Sa;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return Wa;case"a":case"A":return b._locale._meridiemParse;case"x":return Za;case"X":return $a;case"Z":case"ZZ":return Xa;case"T":return Ya;case"SSSS":return Va;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case"hh":case"mm":case"ss":case"ww":case"WW":return d?ab:Ra;case"M":case"D":case"d":case"H":case"h":case"m":case"s":case"w":case"W":case"e":case"E":return Ra;case"Do":return d?b._locale._ordinalParse:b._locale._ordinalParseLenient;default:return c=new RegExp($(Z(a.replace("\\","")),"i"))}}function S(a){a=a||"";var b=a.match(Xa)||[],c=b[b.length-1]||[],d=(c+"").match(jb)||["-",0,0],e=+(60*d[1])+C(d[2]);return"+"===d[0]?e:-e}function T(a,b,c){var d,e=c._a;switch(a){case"Q":null!=b&&(e[Da]=3*(C(b)-1));break;case"M":case"MM":null!=b&&(e[Da]=C(b)-1);break;case"MMM":case"MMMM":d=c._locale.monthsParse(b,a,c._strict),null!=d?e[Da]=d:c._pf.invalidMonth=b;break;case"D":case"DD":null!=b&&(e[Ea]=C(b));break;case"Do":null!=b&&(e[Ea]=C(parseInt(b.match(/\d{1,2}/)[0],10)));break;case"DDD":case"DDDD":null!=b&&(c._dayOfYear=C(b));break;case"YY":e[Ca]=va.parseTwoDigitYear(b);break;case"YYYY":case"YYYYY":case"YYYYYY":e[Ca]=C(b);break;case"a":case"A":c._meridiem=b;break;case"h":case"hh":c._pf.bigHour=!0;case"H":case"HH":e[Fa]=C(b);break;case"m":case"mm":e[Ga]=C(b);break;case"s":case"ss":e[Ha]=C(b);break;case"S":case"SS":case"SSS":case"SSSS":e[Ia]=C(1e3*("0."+b));break;case"x":c._d=new Date(C(b));break;case"X":c._d=new Date(1e3*parseFloat(b));break;case"Z":case"ZZ":c._useUTC=!0,c._tzm=S(b);break;case"dd":case"ddd":case"dddd":d=c._locale.weekdaysParse(b),null!=d?(c._w=c._w||{},c._w.d=d):c._pf.invalidWeekday=b;break;case"w":case"ww":case"W":case"WW":case"d":case"e":case"E":a=a.substr(0,1);case"gggg":case"GGGG":case"GGGGG":a=a.substr(0,2),b&&(c._w=c._w||{},c._w[a]=C(b));break;case"gg":case"GG":c._w=c._w||{},c._w[a]=va.parseTwoDigitYear(b)}}function U(a){var c,d,e,f,g,h,i;c=a._w,null!=c.GG||null!=c.W||null!=c.E?(g=1,h=4,d=b(c.GG,a._a[Ca],ja(va(),1,4).year),e=b(c.W,1),f=b(c.E,1)):(g=a._locale._week.dow,h=a._locale._week.doy,d=b(c.gg,a._a[Ca],ja(va(),g,h).year),e=b(c.w,1),null!=c.d?(f=c.d,g>f&&++e):f=null!=c.e?c.e+g:g),i=ka(d,e,f,h,g),a._a[Ca]=i.year,a._dayOfYear=i.dayOfYear}function V(a){var c,d,e,f,g=[];if(!a._d){for(e=X(a),a._w&&null==a._a[Ea]&&null==a._a[Da]&&U(a),a._dayOfYear&&(f=b(a._a[Ca],e[Ca]),a._dayOfYear>F(f)&&(a._pf._overflowDayOfYear=!0),d=fa(f,0,a._dayOfYear),a._a[Da]=d.getUTCMonth(),a._a[Ea]=d.getUTCDate()),c=0;3>c&&null==a._a[c];++c)a._a[c]=g[c]=e[c];for(;7>c;c++)a._a[c]=g[c]=null==a._a[c]?2===c?1:0:a._a[c];24===a._a[Fa]&&0===a._a[Ga]&&0===a._a[Ha]&&0===a._a[Ia]&&(a._nextDay=!0,a._a[Fa]=0),a._d=(a._useUTC?fa:ea).apply(null,g),null!=a._tzm&&a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm),a._nextDay&&(a._a[Fa]=24)}}function W(a){var b;a._d||(b=A(a._i),a._a=[b.year,b.month,b.day||b.date,b.hour,b.minute,b.second,b.millisecond],V(a))}function X(a){var b=new Date;return a._useUTC?[b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()]:[b.getFullYear(),b.getMonth(),b.getDate()]}function Y(b){if(b._f===va.ISO_8601)return void aa(b);b._a=[],b._pf.empty=!0;var c,d,e,f,g,h=""+b._i,i=h.length,j=0;for(e=Q(b._f,b._locale).match(Pa)||[],c=0;c<e.length;c++)f=e[c],d=(h.match(R(f,b))||[])[0],d&&(g=h.substr(0,h.indexOf(d)),g.length>0&&b._pf.unusedInput.push(g),h=h.slice(h.indexOf(d)+d.length),j+=d.length),rb[f]?(d?b._pf.empty=!1:b._pf.unusedTokens.push(f),T(f,d,b)):b._strict&&!d&&b._pf.unusedTokens.push(f);b._pf.charsLeftOver=i-j,h.length>0&&b._pf.unusedInput.push(h),b._pf.bigHour===!0&&b._a[Fa]<=12&&(b._pf.bigHour=a),b._a[Fa]=k(b._locale,b._a[Fa],b._meridiem),V(b),H(b)}function Z(a){return a.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(a,b,c,d,e){return b||c||d||e})}function $(a){return a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function _(a){var b,c,e,f,g;if(0===a._f.length)return a._pf.invalidFormat=!0,void(a._d=new Date(NaN));for(f=0;f<a._f.length;f++)g=0,b=p({},a),null!=a._useUTC&&(b._useUTC=a._useUTC),b._pf=d(),b._f=a._f[f],Y(b),I(b)&&(g+=b._pf.charsLeftOver,g+=10*b._pf.unusedTokens.length,b._pf.score=g,(null==e||e>g)&&(e=g,c=b));o(a,c||b)}function aa(a){var b,c,d=a._i,e=fb.exec(d);if(e){for(a._pf.iso=!0,b=0,c=hb.length;c>b;b++)if(hb[b][1].exec(d)){a._f=hb[b][0]+(e[6]||" ");break}for(b=0,c=ib.length;c>b;b++)if(ib[b][1].exec(d)){a._f+=ib[b][0];break}d.match(Xa)&&(a._f+="Z"),Y(a)}else a._isValid=!1}function ba(a){aa(a),a._isValid===!1&&(delete a._isValid,va.createFromInputFallback(a))}function ca(a,b){var c,d=[];for(c=0;c<a.length;++c)d.push(b(a[c],c));return d}function da(b){var c,d=b._i;d===a?b._d=new Date:x(d)?b._d=new Date(+d):null!==(c=Ma.exec(d))?b._d=new Date(+c[1]):"string"==typeof d?ba(b):w(d)?(b._a=ca(d.slice(0),function(a){return parseInt(a,10)}),V(b)):"object"==typeof d?W(b):"number"==typeof d?b._d=new Date(d):va.createFromInputFallback(b)}function ea(a,b,c,d,e,f,g){var h=new Date(a,b,c,d,e,f,g);return 1970>a&&h.setFullYear(a),h}function fa(a){var b=new Date(Date.UTC.apply(null,arguments));return 1970>a&&b.setUTCFullYear(a),b}function ga(a,b){if("string"==typeof a)if(isNaN(a)){if(a=b.weekdaysParse(a),"number"!=typeof a)return null}else a=parseInt(a,10);return a}function ha(a,b,c,d,e){return e.relativeTime(b||1,!!c,a,d)}function ia(a,b,c){var d=va.duration(a).abs(),e=Aa(d.as("s")),f=Aa(d.as("m")),g=Aa(d.as("h")),h=Aa(d.as("d")),i=Aa(d.as("M")),j=Aa(d.as("y")),k=e<ob.s&&["s",e]||1===f&&["m"]||f<ob.m&&["mm",f]||1===g&&["h"]||g<ob.h&&["hh",g]||1===h&&["d"]||h<ob.d&&["dd",h]||1===i&&["M"]||i<ob.M&&["MM",i]||1===j&&["y"]||["yy",j];return k[2]=b,k[3]=+a>0,k[4]=c,ha.apply({},k)}function ja(a,b,c){var d,e=c-b,f=c-a.day();return f>e&&(f-=7),e-7>f&&(f+=7),d=va(a).add(f,"d"),{week:Math.ceil(d.dayOfYear()/7),year:d.year()}}function ka(a,b,c,d,e){var f,g,h=fa(a,0,1).getUTCDay();return h=0===h?7:h,c=null!=c?c:e,f=e-h+(h>d?7:0)-(e>h?7:0),g=7*(b-1)+(c-e)+f+1,{year:g>0?a:a-1,dayOfYear:g>0?g:F(a-1)+g}}function la(b){var c,d=b._i,e=b._f;return b._locale=b._locale||va.localeData(b._l),null===d||e===a&&""===d?va.invalid({nullInput:!0}):("string"==typeof d&&(b._i=d=b._locale.preparse(d)),va.isMoment(d)?new m(d,!0):(e?w(e)?_(b):Y(b):da(b),c=new m(b),c._nextDay&&(c.add(1,"d"),c._nextDay=a),c))}function ma(a,b){var c,d;if(1===b.length&&w(b[0])&&(b=b[0]),!b.length)return va();for(c=b[0],d=1;d<b.length;++d)b[d][a](c)&&(c=b[d]);return c}function na(a,b){var c;return"string"==typeof b&&(b=a.localeData().monthsParse(b),"number"!=typeof b)?a:(c=Math.min(a.date(),D(a.year(),b)),a._d["set"+(a._isUTC?"UTC":"")+"Month"](b,c),a)}function oa(a,b){return a._d["get"+(a._isUTC?"UTC":"")+b]()}function pa(a,b,c){return"Month"===b?na(a,c):a._d["set"+(a._isUTC?"UTC":"")+b](c)}function qa(a,b){return function(c){return null!=c?(pa(this,a,c),va.updateOffset(this,b),this):oa(this,a)}}function ra(a){return 400*a/146097}function sa(a){return 146097*a/400}function ta(a){va.duration.fn[a]=function(){return this._data[a]}}function ua(a){"undefined"==typeof ender&&(wa=za.moment,a?za.moment=f("Accessing Moment through the global scope is deprecated, and will be removed in an upcoming release.",va):za.moment=va)}for(var va,wa,xa,ya="2.9.0",za="undefined"==typeof global||"undefined"!=typeof window&&window!==global.window?this:global,Aa=Math.round,Ba=Object.prototype.hasOwnProperty,Ca=0,Da=1,Ea=2,Fa=3,Ga=4,Ha=5,Ia=6,Ja={},Ka=[],La="undefined"!=typeof module&&module&&module.exports,Ma=/^\/?Date\((\-?\d+)/i,Na=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Oa=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,Pa=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|x|X|zz?|ZZ?|.)/g,Qa=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ra=/\d\d?/,Sa=/\d{1,3}/,Ta=/\d{1,4}/,Ua=/[+\-]?\d{1,6}/,Va=/\d+/,Wa=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Xa=/Z|[\+\-]\d\d:?\d\d/gi,Ya=/T/i,Za=/[\+\-]?\d+/,$a=/[\+\-]?\d+(\.\d{1,3})?/,_a=/\d/,ab=/\d\d/,bb=/\d{3}/,cb=/\d{4}/,db=/[+-]?\d{6}/,eb=/[+-]?\d+/,fb=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,gb="YYYY-MM-DDTHH:mm:ssZ",hb=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],ib=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],jb=/([\+\-]|\d\d)/gi,kb=("Date|Hours|Minutes|Seconds|Milliseconds".split("|"),{Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,Days:864e5,Months:2592e6,Years:31536e6}),lb={ms:"millisecond",s:"second",m:"minute",h:"hour",d:"day",D:"date",w:"week",W:"isoWeek",M:"month",Q:"quarter",y:"year",DDD:"dayOfYear",e:"weekday",E:"isoWeekday",gg:"weekYear",GG:"isoWeekYear"},mb={dayofyear:"dayOfYear",isoweekday:"isoWeekday",isoweek:"isoWeek",weekyear:"weekYear",isoweekyear:"isoWeekYear"},nb={},ob={s:45,m:45,h:22,d:26,M:11},pb="DDD w W M D d".split(" "),qb="M D H h m s w W".split(" "),rb={M:function(){return this.month()+1},MMM:function(a){return this.localeData().monthsShort(this,a)},MMMM:function(a){return this.localeData().months(this,a)},D:function(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){return this.day()},dd:function(a){return this.localeData().weekdaysMin(this,a)},ddd:function(a){return this.localeData().weekdaysShort(this,a)},dddd:function(a){return this.localeData().weekdays(this,a)},w:function(){return this.week()},W:function(){return this.isoWeek()},YY:function(){return r(this.year()%100,2)},YYYY:function(){return r(this.year(),4)},YYYYY:function(){return r(this.year(),5)},YYYYYY:function(){var a=this.year(),b=a>=0?"+":"-";return b+r(Math.abs(a),6)},gg:function(){return r(this.weekYear()%100,2)},gggg:function(){return r(this.weekYear(),4)},ggggg:function(){return r(this.weekYear(),5)},GG:function(){return r(this.isoWeekYear()%100,2)},GGGG:function(){return r(this.isoWeekYear(),4)},GGGGG:function(){return r(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWeekday()},a:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!0)},A:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!1)},H:function(){return this.hours()},h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return C(this.milliseconds()/100)},SS:function(){return r(C(this.milliseconds()/10),2)},SSS:function(){return r(this.milliseconds(),3)},SSSS:function(){return r(this.milliseconds(),3)},Z:function(){var a=this.utcOffset(),b="+";return 0>a&&(a=-a,b="-"),b+r(C(a/60),2)+":"+r(C(a)%60,2)},ZZ:function(){var a=this.utcOffset(),b="+";return 0>a&&(a=-a,b="-"),b+r(C(a/60),2)+r(C(a)%60,2)},z:function(){return this.zoneAbbr()},zz:function(){return this.zoneName()},x:function(){return this.valueOf()},X:function(){return this.unix()},Q:function(){return this.quarter()}},sb={},tb=["months","monthsShort","weekdays","weekdaysShort","weekdaysMin"],ub=!1;pb.length;)xa=pb.pop(),rb[xa+"o"]=i(rb[xa],xa);for(;qb.length;)xa=qb.pop(),rb[xa+xa]=h(rb[xa],2);rb.DDDD=h(rb.DDD,3),o(l.prototype,{set:function(a){var b,c;for(c in a)b=a[c],"function"==typeof b?this[c]=b:this["_"+c]=b;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)},_months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),months:function(a){return this._months[a.month()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),monthsShort:function(a){return this._monthsShort[a.month()]},monthsParse:function(a,b,c){var d,e,f;for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),d=0;12>d;d++){if(e=va.utc([2e3,d]),c&&!this._longMonthsParse[d]&&(this._longMonthsParse[d]=new RegExp("^"+this.months(e,"").replace(".","")+"$","i"),this._shortMonthsParse[d]=new RegExp("^"+this.monthsShort(e,"").replace(".","")+"$","i")),c||this._monthsParse[d]||(f="^"+this.months(e,"")+"|^"+this.monthsShort(e,""),this._monthsParse[d]=new RegExp(f.replace(".",""),"i")),c&&"MMMM"===b&&this._longMonthsParse[d].test(a))return d;if(c&&"MMM"===b&&this._shortMonthsParse[d].test(a))return d;if(!c&&this._monthsParse[d].test(a))return d}},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdays:function(a){return this._weekdays[a.day()]},_weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysShort:function(a){return this._weekdaysShort[a.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysMin:function(a){return this._weekdaysMin[a.day()]},weekdaysParse:function(a){var b,c,d;for(this._weekdaysParse||(this._weekdaysParse=[]),b=0;7>b;b++)if(this._weekdaysParse[b]||(c=va([2e3,1]).day(b),d="^"+this.weekdays(c,"")+"|^"+this.weekdaysShort(c,"")+"|^"+this.weekdaysMin(c,""),this._weekdaysParse[b]=new RegExp(d.replace(".",""),"i")),this._weekdaysParse[b].test(a))return b},_longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM D, YYYY LT"},longDateFormat:function(a){var b=this._longDateFormat[a];return!b&&this._longDateFormat[a.toUpperCase()]&&(b=this._longDateFormat[a.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(a){return a.slice(1)}),this._longDateFormat[a]=b),b},isPM:function(a){return"p"===(a+"").toLowerCase().charAt(0)},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(a,b,c){return a>11?c?"pm":"PM":c?"am":"AM"},_calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},calendar:function(a,b,c){var d=this._calendar[a];return"function"==typeof d?d.apply(b,[c]):d},_relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},relativeTime:function(a,b,c,d){var e=this._relativeTime[c];return"function"==typeof e?e(a,b,c,d):e.replace(/%d/i,a)},pastFuture:function(a,b){var c=this._relativeTime[a>0?"future":"past"];return"function"==typeof c?c(b):c.replace(/%s/i,b)},ordinal:function(a){return this._ordinal.replace("%d",a)},_ordinal:"%d",_ordinalParse:/\d{1,2}/,preparse:function(a){return a},postformat:function(a){return a},week:function(a){return ja(a,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},firstDayOfWeek:function(){return this._week.dow},firstDayOfYear:function(){return this._week.doy},_invalidDate:"Invalid date",invalidDate:function(){return this._invalidDate}}),va=function(b,c,e,f){var g;return"boolean"==typeof e&&(f=e,e=a),g={},g._isAMomentObject=!0,g._i=b,g._f=c,g._l=e,g._strict=f,g._isUTC=!1,g._pf=d(),la(g)},va.suppressDeprecationWarnings=!1,va.createFromInputFallback=f("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(a){a._d=new Date(a._i+(a._useUTC?" UTC":""))}),va.min=function(){var a=[].slice.call(arguments,0);return ma("isBefore",a)},va.max=function(){var a=[].slice.call(arguments,0);return ma("isAfter",a)},va.utc=function(b,c,e,f){var g;return"boolean"==typeof e&&(f=e,e=a),g={},g._isAMomentObject=!0,g._useUTC=!0,g._isUTC=!0,g._l=e,g._i=b,g._f=c,g._strict=f,g._pf=d(),la(g).utc()},va.unix=function(a){return va(1e3*a)},va.duration=function(a,b){var d,e,f,g,h=a,i=null;return va.isDuration(a)?h={ms:a._milliseconds,d:a._days,M:a._months}:"number"==typeof a?(h={},b?h[b]=a:h.milliseconds=a):(i=Na.exec(a))?(d="-"===i[1]?-1:1,h={y:0,d:C(i[Ea])*d,h:C(i[Fa])*d,m:C(i[Ga])*d,s:C(i[Ha])*d,ms:C(i[Ia])*d}):(i=Oa.exec(a))?(d="-"===i[1]?-1:1,f=function(a){var b=a&&parseFloat(a.replace(",","."));return(isNaN(b)?0:b)*d},h={y:f(i[2]),M:f(i[3]),d:f(i[4]),h:f(i[5]),m:f(i[6]),s:f(i[7]),w:f(i[8])}):null==h?h={}:"object"==typeof h&&("from"in h||"to"in h)&&(g=t(va(h.from),va(h.to)),h={},h.ms=g.milliseconds,h.M=g.months),e=new n(h),va.isDuration(a)&&c(a,"_locale")&&(e._locale=a._locale),e},va.version=ya,va.defaultFormat=gb,va.ISO_8601=function(){},va.momentProperties=Ka,va.updateOffset=function(){},va.relativeTimeThreshold=function(b,c){return ob[b]===a?!1:c===a?ob[b]:(ob[b]=c,!0)},va.lang=f("moment.lang is deprecated. Use moment.locale instead.",function(a,b){return va.locale(a,b)}),va.locale=function(a,b){var c;return a&&(c="undefined"!=typeof b?va.defineLocale(a,b):va.localeData(a),c&&(va.duration._locale=va._locale=c)),va._locale._abbr},va.defineLocale=function(a,b){return null!==b?(b.abbr=a,Ja[a]||(Ja[a]=new l),Ja[a].set(b),va.locale(a),Ja[a]):(delete Ja[a],null)},va.langData=f("moment.langData is deprecated. Use moment.localeData instead.",function(a){return va.localeData(a)}),va.localeData=function(a){var b;if(a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr),!a)return va._locale;if(!w(a)){if(b=L(a))return b;a=[a]}return K(a)},va.isMoment=function(a){return a instanceof m||null!=a&&c(a,"_isAMomentObject")},va.isDuration=function(a){return a instanceof n};for(xa=tb.length-1;xa>=0;--xa)B(tb[xa]);va.normalizeUnits=function(a){return z(a)},va.invalid=function(a){var b=va.utc(NaN);return null!=a?o(b._pf,a):b._pf.userInvalidated=!0,b},va.parseZone=function(){return va.apply(null,arguments).parseZone()},va.parseTwoDigitYear=function(a){return C(a)+(C(a)>68?1900:2e3)},va.isDate=x,o(va.fn=m.prototype,{clone:function(){return va(this)},valueOf:function(){return+this._d-6e4*(this._offset||0)},unix:function(){return Math.floor(+this/1e3)},toString:function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDate:function(){return this._offset?new Date(+this):this._d},toISOString:function(){var a=va(this).utc();return 0<a.year()&&a.year()<=9999?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():P(a,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):P(a,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},toArray:function(){var a=this;return[a.year(),a.month(),a.date(),a.hours(),a.minutes(),a.seconds(),a.milliseconds()]},isValid:function(){return I(this)},isDSTShifted:function(){return this._a?this.isValid()&&y(this._a,(this._isUTC?va.utc(this._a):va(this._a)).toArray())>0:!1},parsingFlags:function(){return o({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function(a){return this.utcOffset(0,a)},local:function(a){return this._isUTC&&(this.utcOffset(0,a),this._isUTC=!1,a&&this.subtract(this._dateUtcOffset(),"m")),this},format:function(a){var b=P(this,a||va.defaultFormat);return this.localeData().postformat(b)},add:u(1,"add"),subtract:u(-1,"subtract"),diff:function(a,b,c){var d,e,f=M(a,this),g=6e4*(f.utcOffset()-this.utcOffset());return b=z(b),"year"===b||"month"===b||"quarter"===b?(e=j(this,f),"quarter"===b?e/=3:"year"===b&&(e/=12)):(d=this-f,e="second"===b?d/1e3:"minute"===b?d/6e4:"hour"===b?d/36e5:"day"===b?(d-g)/864e5:"week"===b?(d-g)/6048e5:d),c?e:q(e)},from:function(a,b){return va.duration({to:this,from:a}).locale(this.locale()).humanize(!b)},fromNow:function(a){return this.from(va(),a)},calendar:function(a){var b=a||va(),c=M(b,this).startOf("day"),d=this.diff(c,"days",!0),e=-6>d?"sameElse":-1>d?"lastWeek":0>d?"lastDay":1>d?"sameDay":2>d?"nextDay":7>d?"nextWeek":"sameElse";return this.format(this.localeData().calendar(e,this,va(b)))},isLeapYear:function(){return G(this.year())},isDST:function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},day:function(a){var b=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=a?(a=ga(a,this.localeData()),this.add(a-b,"d")):b},month:qa("Month",!0),startOf:function(a){switch(a=z(a)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===a?this.weekday(0):"isoWeek"===a&&this.isoWeekday(1),"quarter"===a&&this.month(3*Math.floor(this.month()/3)),this},endOf:function(b){return b=z(b),b===a||"millisecond"===b?this:this.startOf(b).add(1,"isoWeek"===b?"week":b).subtract(1,"ms")},isAfter:function(a,b){var c;return b=z("undefined"!=typeof b?b:"millisecond"),"millisecond"===b?(a=va.isMoment(a)?a:va(a),+this>+a):(c=va.isMoment(a)?+a:+va(a),c<+this.clone().startOf(b))},isBefore:function(a,b){var c;return b=z("undefined"!=typeof b?b:"millisecond"),"millisecond"===b?(a=va.isMoment(a)?a:va(a),+a>+this):(c=va.isMoment(a)?+a:+va(a),+this.clone().endOf(b)<c)},isBetween:function(a,b,c){return this.isAfter(a,c)&&this.isBefore(b,c)},isSame:function(a,b){var c;return b=z(b||"millisecond"),"millisecond"===b?(a=va.isMoment(a)?a:va(a),+this===+a):(c=+va(a),+this.clone().startOf(b)<=c&&c<=+this.clone().endOf(b))},min:f("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(a){return a=va.apply(null,arguments),this>a?this:a}),max:f("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(a){return a=va.apply(null,arguments),a>this?this:a}),zone:f("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",function(a,b){return null!=a?("string"!=typeof a&&(a=-a),this.utcOffset(a,b),this):-this.utcOffset()}),utcOffset:function(a,b){var c,d=this._offset||0;return null!=a?("string"==typeof a&&(a=S(a)),Math.abs(a)<16&&(a=60*a),!this._isUTC&&b&&(c=this._dateUtcOffset()),this._offset=a,this._isUTC=!0,null!=c&&this.add(c,"m"),d!==a&&(!b||this._changeInProgress?v(this,va.duration(a-d,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,va.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?d:this._dateUtcOffset()},isLocal:function(){return!this._isUTC},isUtcOffset:function(){return this._isUTC},isUtc:function(){return this._isUTC&&0===this._offset},zoneAbbr:function(){return this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal Time":""},parseZone:function(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(S(this._i)),this},hasAlignedHourOffset:function(a){return a=a?va(a).utcOffset():0,(this.utcOffset()-a)%60===0},daysInMonth:function(){return D(this.year(),this.month())},dayOfYear:function(a){var b=Aa((va(this).startOf("day")-va(this).startOf("year"))/864e5)+1;return null==a?b:this.add(a-b,"d")},quarter:function(a){return null==a?Math.ceil((this.month()+1)/3):this.month(3*(a-1)+this.month()%3)},weekYear:function(a){var b=ja(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==a?b:this.add(a-b,"y")},isoWeekYear:function(a){var b=ja(this,1,4).year;return null==a?b:this.add(a-b,"y")},week:function(a){var b=this.localeData().week(this);return null==a?b:this.add(7*(a-b),"d")},isoWeek:function(a){var b=ja(this,1,4).week;return null==a?b:this.add(7*(a-b),"d")},weekday:function(a){var b=(this.day()+7-this.localeData()._week.dow)%7;return null==a?b:this.add(a-b,"d")},isoWeekday:function(a){return null==a?this.day()||7:this.day(this.day()%7?a:a-7)},isoWeeksInYear:function(){return E(this.year(),1,4)},weeksInYear:function(){var a=this.localeData()._week;return E(this.year(),a.dow,a.doy)},get:function(a){return a=z(a),this[a]()},set:function(a,b){var c;if("object"==typeof a)for(c in a)this.set(c,a[c]);else a=z(a),"function"==typeof this[a]&&this[a](b);return this},locale:function(b){var c;return b===a?this._locale._abbr:(c=va.localeData(b),null!=c&&(this._locale=c),this)},lang:f("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(b){return b===a?this.localeData():this.locale(b)}),localeData:function(){return this._locale},_dateUtcOffset:function(){return 15*-Math.round(this._d.getTimezoneOffset()/15)}}),va.fn.millisecond=va.fn.milliseconds=qa("Milliseconds",!1),va.fn.second=va.fn.seconds=qa("Seconds",!1),va.fn.minute=va.fn.minutes=qa("Minutes",!1),va.fn.hour=va.fn.hours=qa("Hours",!0),va.fn.date=qa("Date",!0),va.fn.dates=f("dates accessor is deprecated. Use date instead.",qa("Date",!0)),va.fn.year=qa("FullYear",!0),va.fn.years=f("years accessor is deprecated. Use year instead.",qa("FullYear",!0)),va.fn.days=va.fn.day,va.fn.months=va.fn.month,va.fn.weeks=va.fn.week,va.fn.isoWeeks=va.fn.isoWeek,va.fn.quarters=va.fn.quarter,va.fn.toJSON=va.fn.toISOString,va.fn.isUTC=va.fn.isUtc,o(va.duration.fn=n.prototype,{_bubble:function(){var a,b,c,d=this._milliseconds,e=this._days,f=this._months,g=this._data,h=0;g.milliseconds=d%1e3,a=q(d/1e3),g.seconds=a%60,b=q(a/60),g.minutes=b%60,c=q(b/60),g.hours=c%24,e+=q(c/24),h=q(ra(e)),e-=q(sa(h)),f+=q(e/30),e%=30,h+=q(f/12),f%=12,g.days=e,g.months=f,g.years=h},abs:function(){return this._milliseconds=Math.abs(this._milliseconds),this._days=Math.abs(this._days),this._months=Math.abs(this._months),this._data.milliseconds=Math.abs(this._data.milliseconds),this._data.seconds=Math.abs(this._data.seconds),this._data.minutes=Math.abs(this._data.minutes),this._data.hours=Math.abs(this._data.hours),this._data.months=Math.abs(this._data.months),this._data.years=Math.abs(this._data.years),this},weeks:function(){return q(this.days()/7)},valueOf:function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*C(this._months/12);
3
  },humanize:function(a){var b=ia(this,!a,this.localeData());return a&&(b=this.localeData().pastFuture(+this,b)),this.localeData().postformat(b)},add:function(a,b){var c=va.duration(a,b);return this._milliseconds+=c._milliseconds,this._days+=c._days,this._months+=c._months,this._bubble(),this},subtract:function(a,b){var c=va.duration(a,b);return this._milliseconds-=c._milliseconds,this._days-=c._days,this._months-=c._months,this._bubble(),this},get:function(a){return a=z(a),this[a.toLowerCase()+"s"]()},as:function(a){var b,c;if(a=z(a),"month"===a||"year"===a)return b=this._days+this._milliseconds/864e5,c=this._months+12*ra(b),"month"===a?c:c/12;switch(b=this._days+Math.round(sa(this._months/12)),a){case"week":return b/7+this._milliseconds/6048e5;case"day":return b+this._milliseconds/864e5;case"hour":return 24*b+this._milliseconds/36e5;case"minute":return 24*b*60+this._milliseconds/6e4;case"second":return 24*b*60*60+this._milliseconds/1e3;case"millisecond":return Math.floor(24*b*60*60*1e3)+this._milliseconds;default:throw new Error("Unknown unit "+a)}},lang:va.fn.lang,locale:va.fn.locale,toIsoString:f("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",function(){return this.toISOString()}),toISOString:function(){var a=Math.abs(this.years()),b=Math.abs(this.months()),c=Math.abs(this.days()),d=Math.abs(this.hours()),e=Math.abs(this.minutes()),f=Math.abs(this.seconds()+this.milliseconds()/1e3);return this.asSeconds()?(this.asSeconds()<0?"-":"")+"P"+(a?a+"Y":"")+(b?b+"M":"")+(c?c+"D":"")+(d||e||f?"T":"")+(d?d+"H":"")+(e?e+"M":"")+(f?f+"S":""):"P0D"},localeData:function(){return this._locale},toJSON:function(){return this.toISOString()}}),va.duration.fn.toString=va.duration.fn.toISOString;for(xa in kb)c(kb,xa)&&ta(xa.toLowerCase());va.duration.fn.asMilliseconds=function(){return this.as("ms")},va.duration.fn.asSeconds=function(){return this.as("s")},va.duration.fn.asMinutes=function(){return this.as("m")},va.duration.fn.asHours=function(){return this.as("h")},va.duration.fn.asDays=function(){return this.as("d")},va.duration.fn.asWeeks=function(){return this.as("weeks")},va.duration.fn.asMonths=function(){return this.as("M")},va.duration.fn.asYears=function(){return this.as("y")},va.locale("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var b=a%10,c=1===C(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c}}),La?module.exports=va:"function"==typeof define&&define.amd?(define(function(a,b,c){return c.config&&c.config()&&c.config().noGlobal===!0&&(za.moment=wa),va}),ua(!0)):ua()}).call(this);
js/time-picker.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! event-organiser 3.7.2-0-g63f114d 2018-06-08 18:44 */
2
  !function($){function Timepicker(){this._curInst=null,this._disabledInputs=[],this._timepickerShowing=!1,this._inDialog=!1,this._dialogClass="ui-timepicker-dialog",this._mainDivId="ui-timepicker-div",this._inlineClass="ui-timepicker-inline",this._currentClass="ui-timepicker-current",this._dayOverClass="ui-timepicker-days-cell-over",this.regional=[],this.regional[""]={hourText:"Hour",minuteText:"Minute",amPmText:["AM","PM"],closeButtonText:"Done",nowButtonText:"Now",deselectButtonText:"Deselect"},this._defaults={showOn:"focus",button:null,showAnim:"fadeIn",showOptions:{},appendText:"",beforeShow:null,onSelect:null,onClose:null,timeSeparator:":",periodSeparator:" ",showPeriod:!1,showPeriodLabels:!0,showLeadingZero:!0,showMinutesLeadingZero:!0,altField:"",defaultTime:"now",myPosition:"left top",atPosition:"left bottom",onHourShow:null,onMinuteShow:null,hours:{starts:0,ends:23},minutes:{starts:0,ends:55,interval:5},rows:4,showHours:!0,showMinutes:!0,optionalMinutes:!1,showCloseButton:!1,showNowButton:!1,showDeselectButton:!1},$.extend(this._defaults,this.regional[""]),this.tpDiv=$('<div id="'+this._mainDivId+'" class="ui-timepicker ui-widget ui-helper-clearfix ui-corner-all " style="display: none"></div>')}function extendRemove(a,b){$.extend(a,b);for(var c in b)(null==b[c]||void 0==b[c])&&(a[c]=b[c]);return a}$.extend($.ui,{timepicker:{version:"0.3.1"}});var PROP_NAME="timepicker",tpuuid=(new Date).getTime();$.extend(Timepicker.prototype,{markerClassName:"hasTimepicker",log:function(){},_widgetTimepicker:function(){return this.tpDiv},setDefaults:function(a){return extendRemove(this._defaults,a||{}),this},_attachTimepicker:function(target,settings){var inlineSettings=null;for(var attrName in this._defaults){var attrValue=target.getAttribute("time:"+attrName);if(attrValue){inlineSettings=inlineSettings||{};try{inlineSettings[attrName]=eval(attrValue)}catch(err){inlineSettings[attrName]=attrValue}}}var nodeName=target.nodeName.toLowerCase(),inline="div"==nodeName||"span"==nodeName;target.id||(this.uuid+=1,target.id="tp"+this.uuid);var inst=this._newInst($(target),inline);inst.settings=$.extend({},settings||{},inlineSettings||{}),"input"==nodeName?(this._connectTimepicker(target,inst),this._setTimeFromField(inst)):inline&&this._inlineTimepicker(target,inst)},_newInst:function(a,b){var c=a[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1");return{id:c,input:a,inline:b,tpDiv:b?$('<div class="'+this._inlineClass+' ui-timepicker ui-widget ui-helper-clearfix"></div>'):this.tpDiv}},_connectTimepicker:function(a,b){var c=$(a);b.append=$([]),b.trigger=$([]),c.hasClass(this.markerClassName)||(this._attachments(c,b),c.addClass(this.markerClassName).keydown(this._doKeyDown).keyup(this._doKeyUp).bind("setData.timepicker",function(a,c,d){b.settings[c]=d}).bind("getData.timepicker",function(a,c){return this._get(b,c)}),$.data(a,PROP_NAME,b))},_doKeyDown:function(a){var b=$.timepicker._getInst(a.target),c=!0;if(b._keyEvent=!0,$.timepicker._timepickerShowing)switch(a.keyCode){case 9:$.timepicker._hideTimepicker(),c=!1;break;case 13:return $.timepicker._updateSelectedValue(b),$.timepicker._hideTimepicker(),!1;case 27:$.timepicker._hideTimepicker();break;default:c=!1}else 36==a.keyCode&&a.ctrlKey?$.timepicker._showTimepicker(this):c=!1;c&&(a.preventDefault(),a.stopPropagation())},_doKeyUp:function(a){var b=$.timepicker._getInst(a.target);$.timepicker._setTimeFromField(b),$.timepicker._updateTimepicker(b)},_attachments:function(a,b){var c=this._get(b,"appendText"),d=this._get(b,"isRTL");b.append&&b.append.remove(),c&&(b.append=$('<span class="'+this._appendClass+'">'+c+"</span>"),a[d?"before":"after"](b.append)),a.unbind("focus.timepicker",this._showTimepicker),a.unbind("click.timepicker",this._adjustZIndex),b.trigger&&b.trigger.remove();var e=this._get(b,"showOn");if(("focus"==e||"both"==e)&&(a.bind("focus.timepicker",this._showTimepicker),a.bind("click.timepicker",this._adjustZIndex)),"button"==e||"both"==e){var f=this._get(b,"button");$(f).bind("click.timepicker",function(){return $.timepicker._timepickerShowing&&$.timepicker._lastInput==a[0]?$.timepicker._hideTimepicker():b.input.is(":disabled")||$.timepicker._showTimepicker(a[0]),!1})}},_inlineTimepicker:function(a,b){var c=$(a);c.hasClass(this.markerClassName)||(c.addClass(this.markerClassName).append(b.tpDiv).bind("setData.timepicker",function(a,c,d){b.settings[c]=d}).bind("getData.timepicker",function(a,c){return this._get(b,c)}),$.data(a,PROP_NAME,b),this._setTimeFromField(b),this._updateTimepicker(b),b.tpDiv.show())},_adjustZIndex:function(a){a=a.target||a;var b=$.timepicker._getInst(a);b.tpDiv.css("zIndex",$.timepicker._getZIndex(a)+1)},_showTimepicker:function(a){if(a=a.target||a,"input"!=a.nodeName.toLowerCase()&&(a=$("input",a.parentNode)[0]),!$.timepicker._isDisabledTimepicker(a)&&$.timepicker._lastInput!=a){$.timepicker._hideTimepicker();var b=$.timepicker._getInst(a);$.timepicker._curInst&&$.timepicker._curInst!=b&&$.timepicker._curInst.tpDiv.stop(!0,!0);var c=$.timepicker._get(b,"beforeShow");extendRemove(b.settings,c?c.apply(a,[a,b]):{}),b.lastVal=null,$.timepicker._lastInput=a,$.timepicker._setTimeFromField(b),$.timepicker._inDialog&&(a.value=""),$.timepicker._pos||($.timepicker._pos=$.timepicker._findPos(a),$.timepicker._pos[1]+=a.offsetHeight);var d=!1;$(a).parents().each(function(){return d|="fixed"==$(this).css("position"),!d}),d&&$.browser.opera&&($.timepicker._pos[0]-=document.documentElement.scrollLeft,$.timepicker._pos[1]-=document.documentElement.scrollTop);var e={left:$.timepicker._pos[0],top:$.timepicker._pos[1]};if($.timepicker._pos=null,b.tpDiv.css({position:"absolute",display:"block",top:"-1000px"}),$.timepicker._updateTimepicker(b),b.inline||"object"!=typeof $.ui.position||(b.tpDiv.position({of:b.input,my:$.timepicker._get(b,"myPosition"),at:$.timepicker._get(b,"atPosition"),collision:"flip"}),e=b.tpDiv.offset(),$.timepicker._pos=[e.top,e.left]),b._hoursClicked=!1,b._minutesClicked=!1,e=$.timepicker._checkOffset(b,e,d),b.tpDiv.css({position:$.timepicker._inDialog&&$.blockUI?"static":d?"fixed":"absolute",display:"none",left:e.left+"px",top:e.top+"px"}),!b.inline){var f=$.timepicker._get(b,"showAnim"),g=$.timepicker._get(b,"duration"),h=function(){$.timepicker._timepickerShowing=!0;var a=$.timepicker._getBorders(b.tpDiv);b.tpDiv.find("iframe.ui-timepicker-cover").css({left:-a[0],top:-a[1],width:b.tpDiv.outerWidth(),height:b.tpDiv.outerHeight()})};$.timepicker._adjustZIndex(a),$.effects&&$.effects[f]?b.tpDiv.show(f,$.timepicker._get(b,"showOptions"),g,h):b.tpDiv[f||"show"](f?g:null,h),f&&g||h(),b.input.is(":visible")&&!b.input.is(":disabled")&&b.input.focus(),$.timepicker._curInst=b}}},_getZIndex:function(a){for(var b,c,d=$(a);d.length&&d[0]!==document;){if(b=d.css("position"),("absolute"===b||"relative"===b||"fixed"===b)&&(c=parseInt(d.css("zIndex"),10),!isNaN(c)&&0!==c))return c;d=d.parent()}},_refreshTimepicker:function(a){var b=this._getInst(a);b&&this._updateTimepicker(b)},_updateTimepicker:function(a){a.tpDiv.empty().append(this._generateHTML(a)),this._rebindDialogEvents(a)},_rebindDialogEvents:function(a){var b=$.timepicker._getBorders(a.tpDiv),c=this;a.tpDiv.find("iframe.ui-timepicker-cover").css({left:-b[0],top:-b[1],width:a.tpDiv.outerWidth(),height:a.tpDiv.outerHeight()}).end().find(".ui-timepicker-minute-cell").unbind().bind("click",{fromDoubleClick:!1},$.proxy($.timepicker.selectMinutes,this)).bind("dblclick",{fromDoubleClick:!0},$.proxy($.timepicker.selectMinutes,this)).end().find(".ui-timepicker-hour-cell").unbind().bind("click",{fromDoubleClick:!1},$.proxy($.timepicker.selectHours,this)).bind("dblclick",{fromDoubleClick:!0},$.proxy($.timepicker.selectHours,this)).end().find(".ui-timepicker td a").unbind().bind("mouseout",function(){$(this).removeClass("ui-state-hover"),-1!=this.className.indexOf("ui-timepicker-prev")&&$(this).removeClass("ui-timepicker-prev-hover"),-1!=this.className.indexOf("ui-timepicker-next")&&$(this).removeClass("ui-timepicker-next-hover")}).bind("mouseover",function(){c._isDisabledTimepicker(a.inline?a.tpDiv.parent()[0]:a.input[0])||($(this).parents(".ui-timepicker-calendar").find("a").removeClass("ui-state-hover"),$(this).addClass("ui-state-hover"),-1!=this.className.indexOf("ui-timepicker-prev")&&$(this).addClass("ui-timepicker-prev-hover"),-1!=this.className.indexOf("ui-timepicker-next")&&$(this).addClass("ui-timepicker-next-hover"))}).end().find("."+this._dayOverClass+" a").trigger("mouseover").end().find(".ui-timepicker-now").bind("click",function(a){$.timepicker.selectNow(a)}).end().find(".ui-timepicker-deselect").bind("click",function(a){$.timepicker.deselectTime(a)}).end().find(".ui-timepicker-close").bind("click",function(a){$.timepicker._hideTimepicker()}).end()},_generateHTML:function(a){var b,c,d,e,f=1==this._get(a,"showPeriod"),g=1==this._get(a,"showPeriodLabels"),h=1==this._get(a,"showLeadingZero"),i=1==this._get(a,"showHours"),j=1==this._get(a,"showMinutes"),k=this._get(a,"amPmText"),l=this._get(a,"rows"),m=0,n=0,o=0,p=0,q=0,r=0,s=Array(),t=this._get(a,"hours"),u=null,v=0,w=this._get(a,"hourText"),x=this._get(a,"showCloseButton"),y=this._get(a,"closeButtonText"),z=this._get(a,"showNowButton"),A=this._get(a,"nowButtonText"),B=this._get(a,"showDeselectButton"),C=this._get(a,"deselectButtonText"),D=x||z||B;for(b=t.starts;b<=t.ends;b++)s.push(b);if(u=Math.ceil(s.length/l),g){for(v=0;v<s.length;v++)s[v]<12?o++:p++;v=0,m=Math.floor(o/s.length*l),n=Math.floor(p/s.length*l),l!=m+n&&(o&&(!p||!m||n&&o/m>=p/n)?m++:n++),q=Math.min(m,1),r=m+1,u=Math.ceil(Math.max(o/m,p/n))}if(e='<table class="ui-timepicker-table ui-widget-content ui-corner-all"><tr>',i){for(e+='<td class="ui-timepicker-hours"><div class="ui-timepicker-title ui-widget-header ui-helper-clearfix ui-corner-all">'+w+'</div><table class="ui-timepicker">',c=1;l>=c;c++){for(e+="<tr>",c==q&&g&&(e+='<th rowspan="'+m.toString()+'" class="periods" scope="row">'+k[0]+"</th>"),c==r&&g&&(e+='<th rowspan="'+n.toString()+'" class="periods" scope="row">'+k[1]+"</th>"),d=1;u>=d;d++)g&&r>c&&s[v]>=12?e+=this._generateHTMLHourCell(a,void 0,f,h):(e+=this._generateHTMLHourCell(a,s[v],f,h),v++);e+="</tr>"}e+="</tr></table></td>"}if(j&&(e+='<td class="ui-timepicker-minutes">',e+=this._generateHTMLMinutes(a),e+="</td>"),e+="</tr>",D){var E='<tr><td colspan="3"><div class="ui-timepicker-buttonpane ui-widget-content">';z&&(E+='<button type="button" class="ui-timepicker-now ui-state-default ui-corner-all" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" >'+A+"</button>"),B&&(E+='<button type="button" class="ui-timepicker-deselect ui-state-default ui-corner-all" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" >'+C+"</button>"),x&&(E+='<button type="button" class="ui-timepicker-close ui-state-default ui-corner-all" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" >'+y+"</button>"),e+=E+"</div></td></tr>"}return e+="</table>",e+=$.browser.msie&&parseInt($.browser.version,10)<7&&!a.inline?'<iframe src="javascript:false;" class="ui-timepicker-cover" frameborder="0"></iframe>':""},_updateMinuteDisplay:function(a){var b=this._generateHTMLMinutes(a);a.tpDiv.find("td.ui-timepicker-minutes").html(b),this._rebindDialogEvents(a)},_generateHTMLMinutes:function(a){var b,c,d="",e=this._get(a,"rows"),f=Array(),g=this._get(a,"minutes"),h=null,i=0,j=1==this._get(a,"showMinutesLeadingZero"),k=this._get(a,"onMinuteShow"),l=this._get(a,"minuteText");for(g.starts||(g.starts=0),g.ends||(g.ends=59),b=g.starts;b<=g.ends;b+=g.interval)f.push(b);if(h=Math.round(f.length/e+.49),k&&0==k.apply(a.input?a.input[0]:null,[a.hours,a.minutes]))for(i=0;i<f.length;i+=1)if(b=f[i],k.apply(a.input?a.input[0]:null,[a.hours,b])){a.minutes=b;break}for(d+='<div class="ui-timepicker-title ui-widget-header ui-helper-clearfix ui-corner-all">'+l+'</div><table class="ui-timepicker">',i=0,c=1;e>=c;c++){for(d+="<tr>";c*h>i;){b=f[i];var m="";void 0!==b&&(m=10>b&&j?"0"+b.toString():b.toString()),d+=this._generateHTMLMinuteCell(a,b,m),i++}d+="</tr>"}return d+="</table>"},_generateHTMLHourCell:function(a,b,c,d){var e=b;b>12&&c&&(e=b-12),0==e&&c&&(e=12),10>e&&d&&(e="0"+e);var f="",g=!0,h=this._get(a,"onHourShow");return void 0==b?f='<td><span class="ui-state-default ui-state-disabled">&nbsp;</span></td>':(h&&(g=h.apply(a.input?a.input[0]:null,[b])),f=g?'<td class="ui-timepicker-hour-cell" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" data-hour="'+b.toString()+'"><a class="ui-state-default '+(b==a.hours?"ui-state-active":"")+'">'+e.toString()+"</a></td>":'<td><span class="ui-state-default ui-state-disabled '+(b==a.hours?" ui-state-active ":" ")+'">'+e.toString()+"</span></td>")},_generateHTMLMinuteCell:function(a,b,c){var d="",e=!0,f=this._get(a,"onMinuteShow");return f&&(e=f.apply(a.input?a.input[0]:null,[a.hours,b])),d=void 0==b?'<td><span class="ui-state-default ui-state-disabled">&nbsp;</span></td>':e?'<td class="ui-timepicker-minute-cell" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" data-minute="'+b.toString()+'" ><a class="ui-state-default '+(b==a.minutes?"ui-state-active":"")+'" >'+c+"</a></td>":'<td><span class="ui-state-default ui-state-disabled" >'+c+"</span></td>"},_destroyTimepicker:function(a){var b=$(a),c=$.data(a,PROP_NAME);if(b.hasClass(this.markerClassName)){var d=a.nodeName.toLowerCase();$.removeData(a,PROP_NAME),"input"==d?(c.append.remove(),c.trigger.remove(),b.removeClass(this.markerClassName).unbind("focus.timepicker",this._showTimepicker).unbind("click.timepicker",this._adjustZIndex)):("div"==d||"span"==d)&&b.removeClass(this.markerClassName).empty()}},_enableTimepicker:function(a){var b=$(a),c=b.attr("id"),d=$.data(a,PROP_NAME);if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if("input"==e){a.disabled=!1;var f=this._get(d,"button");$(f).removeClass("ui-state-disabled").disabled=!1,d.trigger.filter("button").each(function(){this.disabled=!1}).end()}else if("div"==e||"span"==e){var g=b.children("."+this._inlineClass);g.children().removeClass("ui-state-disabled"),g.find("button").each(function(){this.disabled=!1})}this._disabledInputs=$.map(this._disabledInputs,function(a){return a==c?null:a})}},_disableTimepicker:function(a){var b=$(a),c=$.data(a,PROP_NAME);if(b.hasClass(this.markerClassName)){var d=a.nodeName.toLowerCase();if("input"==d){var e=this._get(c,"button");$(e).addClass("ui-state-disabled").disabled=!0,a.disabled=!0,c.trigger.filter("button").each(function(){this.disabled=!0}).end()}else if("div"==d||"span"==d){var f=b.children("."+this._inlineClass);f.children().addClass("ui-state-disabled"),f.find("button").each(function(){this.disabled=!0})}this._disabledInputs=$.map(this._disabledInputs,function(b){return b==a?null:b}),this._disabledInputs[this._disabledInputs.length]=b.attr("id")}},_isDisabledTimepicker:function(a){if(!a)return!1;for(var b=0;b<this._disabledInputs.length;b++)if(this._disabledInputs[b]==a)return!0;return!1},_checkOffset:function(a,b,c){var d=a.tpDiv.outerWidth(),e=a.tpDiv.outerHeight(),f=a.input?a.input.outerWidth():0,g=a.input?a.input.outerHeight():0,h=document.documentElement.clientWidth+$(document).scrollLeft(),i=document.documentElement.clientHeight+$(document).scrollTop();return b.left-=this._get(a,"isRTL")?d-f:0,b.left-=c&&b.left==a.input.offset().left?$(document).scrollLeft():0,b.top-=c&&b.top==a.input.offset().top+g?$(document).scrollTop():0,b.left-=Math.min(b.left,b.left+d>h&&h>d?Math.abs(b.left+d-h):0),b.top-=Math.min(b.top,b.top+e>i&&i>e?Math.abs(e+g):0),b},_findPos:function(a){for(var b=this._getInst(a),c=this._get(b,"isRTL");a&&("hidden"==a.type||1!=a.nodeType);)a=a[c?"previousSibling":"nextSibling"];var d=$(a).offset();return[d.left,d.top]},_getBorders:function(a){var b=function(a){return{thin:1,medium:2,thick:3}[a]||a};return[parseFloat(b(a.css("border-left-width"))),parseFloat(b(a.css("border-top-width")))]},_checkExternalClick:function(a){if($.timepicker._curInst){var b=$(a.target);b[0].id==$.timepicker._mainDivId||0!=b.parents("#"+$.timepicker._mainDivId).length||b.hasClass($.timepicker.markerClassName)||b.hasClass($.timepicker._triggerClass)||!$.timepicker._timepickerShowing||$.timepicker._inDialog&&$.blockUI||$.timepicker._hideTimepicker()}},_hideTimepicker:function(a){var b=this._curInst;if(b&&(!a||b==$.data(a,PROP_NAME))&&this._timepickerShowing){var c=this._get(b,"showAnim"),d=this._get(b,"duration"),e=function(){$.timepicker._tidyDialog(b),this._curInst=null};$.effects&&$.effects[c]?b.tpDiv.hide(c,$.timepicker._get(b,"showOptions"),d,e):b.tpDiv["slideDown"==c?"slideUp":"fadeIn"==c?"fadeOut":"hide"](c?d:null,e),c||e(),this._timepickerShowing=!1,this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),$.blockUI&&($.unblockUI(),$("body").append(this.tpDiv))),this._inDialog=!1;var f=this._get(b,"onClose");f&&f.apply(b.input?b.input[0]:null,[b.input?b.input.val():"",b])}},_tidyDialog:function(a){a.tpDiv.removeClass(this._dialogClass).unbind(".ui-timepicker")},_getInst:function(a){try{return $.data(a,PROP_NAME)}catch(b){throw"Missing instance data for this timepicker"}},_get:function(a,b){return void 0!==a.settings[b]?a.settings[b]:this._defaults[b]},_setTimeFromField:function(a){if(a.input.val()!=a.lastVal){var b=this._get(a,"defaultTime"),c="now"==b?this._getCurrentTimeRounded(a):b;if(0==a.inline&&""!=a.input.val()&&(c=a.input.val()),c instanceof Date)a.hours=c.getHours(),a.minutes=c.getMinutes();else{var d=a.lastVal=c;if(""==c)a.hours=-1,a.minutes=-1;else{var e=this.parseTime(a,d);a.hours=e.hours,a.minutes=e.minutes}}$.timepicker._updateTimepicker(a)}},_optionTimepicker:function(a,b,c){var d=this._getInst(a);if(2==arguments.length&&"string"==typeof b)return"defaults"==b?$.extend({},$.timepicker._defaults):d?"all"==b?$.extend({},d.settings):this._get(d,b):null;var e=b||{};"string"==typeof b&&(e={},e[b]=c),d&&(this._curInst==d&&this._hideTimepicker(),extendRemove(d.settings,e),this._updateTimepicker(d))},_setTimeTimepicker:function(a,b){var c=this._getInst(a);c&&(this._setTime(c,b),this._updateTimepicker(c),this._updateAlternate(c,b))},_setTime:function(a,b,c){var d=a.hours,e=a.minutes;b=this.parseTime(a,b),a.hours=b.hours,a.minutes=b.minutes,d==a.hours&&e==a.minuts||c||a.input.trigger("change"),this._updateTimepicker(a),this._updateSelectedValue(a)},_getCurrentTimeRounded:function(a){var b=new Date,c=b.getMinutes(),d=5*Math.round(c/5);return b.setMinutes(d),b},parseTime:function(a,b){var c=new Object;c.hours=-1,c.minutes=-1;var d=this._get(a,"timeSeparator"),e=this._get(a,"amPmText"),f=this._get(a,"showHours"),g=this._get(a,"showMinutes"),h=this._get(a,"optionalMinutes"),i=1==this._get(a,"showPeriod"),j=b.indexOf(d);if(-1!=j?(c.hours=parseInt(b.substr(0,j),10),c.minutes=parseInt(b.substr(j+1),10)):!f||g&&!h?!f&&g&&(c.minutes=parseInt(b,10)):c.hours=parseInt(b,10),f){var k=b.toUpperCase();c.hours<12&&i&&-1!=k.indexOf(e[1].toUpperCase())&&(c.hours+=12),12==c.hours&&i&&-1!=k.indexOf(e[0].toUpperCase())&&(c.hours=0)}return c},selectNow:function(a){var b=$(a.target).attr("data-timepicker-instance-id"),c=$(b),d=this._getInst(c[0]),e=new Date;d.hours=e.getHours(),d.minutes=e.getMinutes(),this._updateSelectedValue(d),this._updateTimepicker(d),this._hideTimepicker()},deselectTime:function(a){var b=$(a.target).attr("data-timepicker-instance-id"),c=$(b),d=this._getInst(c[0]);d.hours=-1,d.minutes=-1,this._updateSelectedValue(d),this._hideTimepicker()},selectHours:function(a){var b=$(a.currentTarget),c=b.attr("data-timepicker-instance-id"),d=parseInt(b.attr("data-hour")),e=a.data.fromDoubleClick,f=$(c),g=this._getInst(f[0]),h=1==this._get(g,"showMinutes");if($.timepicker._isDisabledTimepicker(f.attr("id")))return!1;b.parents(".ui-timepicker-hours:first").find("a").removeClass("ui-state-active"),b.children("a").addClass("ui-state-active"),g.hours=d;var i=this._get(g,"onMinuteShow");return i&&this._updateMinuteDisplay(g),this._updateSelectedValue(g),g._hoursClicked=!0,(g._minutesClicked||e||0==h)&&$.timepicker._hideTimepicker(),!1},selectMinutes:function(a){var b=$(a.currentTarget),c=b.attr("data-timepicker-instance-id"),d=parseInt(b.attr("data-minute")),e=a.data.fromDoubleClick,f=$(c),g=this._getInst(f[0]),h=1==this._get(g,"showHours");return $.timepicker._isDisabledTimepicker(f.attr("id"))?!1:(b.parents(".ui-timepicker-minutes:first").find("a").removeClass("ui-state-active"),b.children("a").addClass("ui-state-active"),g.minutes=d,this._updateSelectedValue(g),g._minutesClicked=!0,g._hoursClicked||e||0==h?($.timepicker._hideTimepicker(),!1):!1)},_updateSelectedValue:function(a){var b=this._getParsedTime(a);a.input&&(a.input.val(b),a.input.trigger("change"));var c=this._get(a,"onSelect");return c&&c.apply(a.input?a.input[0]:null,[b,a]),this._updateAlternate(a,b),b},_getParsedTime:function(a){if(-1==a.hours&&-1==a.minutes)return"";(a.hours<a.hours.starts||a.hours>a.hours.ends)&&(a.hours=0),(a.minutes<a.minutes.starts||a.minutes>a.minutes.ends)&&(a.minutes=0);var b="",c=1==this._get(a,"showPeriod"),d=1==this._get(a,"showLeadingZero"),e=1==this._get(a,"showHours"),f=1==this._get(a,"showMinutes"),g=1==this._get(a,"optionalMinutes"),h=this._get(a,"amPmText"),i=a.hours?a.hours:0,j=a.minutes?a.minutes:0,k=i?i:0,l="";c&&(0==a.hours&&(k=12),a.hours<12?b=h[0]:(b=h[1],k>12&&(k-=12)));var m=k.toString();d&&10>k&&(m="0"+m);var n=j.toString();return 10>j&&(n="0"+n),e&&(l+=m),!e||!f||g&&0==n||(l+=this._get(a,"timeSeparator")),!f||g&&0==n||(l+=n),e&&b.length>0&&(l+=this._get(a,"periodSeparator")+b),l},_updateAlternate:function(a,b){var c=this._get(a,"altField");c&&$(c).each(function(a,c){$(c).val(b)})},_getTimeTimepicker:function(a){var b=this._getInst(a);return this._getParsedTime(b)},_getHourTimepicker:function(a){var b=this._getInst(a);return void 0==b?-1:b.hours},_getMinuteTimepicker:function(a){var b=this._getInst(a);return void 0==b?-1:b.minutes}}),$.fn.timepicker=function(a){$.timepicker.initialized||($(document).mousedown($.timepicker._checkExternalClick).find("body").append($.timepicker.tpDiv),$.timepicker.initialized=!0);var b=Array.prototype.slice.call(arguments,1);return"string"!=typeof a||"getTime"!=a&&"getHour"!=a&&"getMinute"!=a?"option"==a&&2==arguments.length&&"string"==typeof arguments[1]?$.timepicker["_"+a+"Timepicker"].apply($.timepicker,[this[0]].concat(b)):this.each(function(){"string"==typeof a?$.timepicker["_"+a+"Timepicker"].apply($.timepicker,[this].concat(b)):$.timepicker._attachTimepicker(this,a)}):$.timepicker["_"+a+"Timepicker"].apply($.timepicker,[this[0]].concat(b))},$.timepicker=new Timepicker,$.timepicker.initialized=!1,$.timepicker.uuid=(new Date).getTime(),$.timepicker.version="0.3.1",window["TP_jQuery_"+tpuuid]=$}(jQuery);
1
+ /*! event-organiser 3.7.3-0-geffd108 2018-07-13 20:28 */
2
  !function($){function Timepicker(){this._curInst=null,this._disabledInputs=[],this._timepickerShowing=!1,this._inDialog=!1,this._dialogClass="ui-timepicker-dialog",this._mainDivId="ui-timepicker-div",this._inlineClass="ui-timepicker-inline",this._currentClass="ui-timepicker-current",this._dayOverClass="ui-timepicker-days-cell-over",this.regional=[],this.regional[""]={hourText:"Hour",minuteText:"Minute",amPmText:["AM","PM"],closeButtonText:"Done",nowButtonText:"Now",deselectButtonText:"Deselect"},this._defaults={showOn:"focus",button:null,showAnim:"fadeIn",showOptions:{},appendText:"",beforeShow:null,onSelect:null,onClose:null,timeSeparator:":",periodSeparator:" ",showPeriod:!1,showPeriodLabels:!0,showLeadingZero:!0,showMinutesLeadingZero:!0,altField:"",defaultTime:"now",myPosition:"left top",atPosition:"left bottom",onHourShow:null,onMinuteShow:null,hours:{starts:0,ends:23},minutes:{starts:0,ends:55,interval:5},rows:4,showHours:!0,showMinutes:!0,optionalMinutes:!1,showCloseButton:!1,showNowButton:!1,showDeselectButton:!1},$.extend(this._defaults,this.regional[""]),this.tpDiv=$('<div id="'+this._mainDivId+'" class="ui-timepicker ui-widget ui-helper-clearfix ui-corner-all " style="display: none"></div>')}function extendRemove(a,b){$.extend(a,b);for(var c in b)(null==b[c]||void 0==b[c])&&(a[c]=b[c]);return a}$.extend($.ui,{timepicker:{version:"0.3.1"}});var PROP_NAME="timepicker",tpuuid=(new Date).getTime();$.extend(Timepicker.prototype,{markerClassName:"hasTimepicker",log:function(){},_widgetTimepicker:function(){return this.tpDiv},setDefaults:function(a){return extendRemove(this._defaults,a||{}),this},_attachTimepicker:function(target,settings){var inlineSettings=null;for(var attrName in this._defaults){var attrValue=target.getAttribute("time:"+attrName);if(attrValue){inlineSettings=inlineSettings||{};try{inlineSettings[attrName]=eval(attrValue)}catch(err){inlineSettings[attrName]=attrValue}}}var nodeName=target.nodeName.toLowerCase(),inline="div"==nodeName||"span"==nodeName;target.id||(this.uuid+=1,target.id="tp"+this.uuid);var inst=this._newInst($(target),inline);inst.settings=$.extend({},settings||{},inlineSettings||{}),"input"==nodeName?(this._connectTimepicker(target,inst),this._setTimeFromField(inst)):inline&&this._inlineTimepicker(target,inst)},_newInst:function(a,b){var c=a[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1");return{id:c,input:a,inline:b,tpDiv:b?$('<div class="'+this._inlineClass+' ui-timepicker ui-widget ui-helper-clearfix"></div>'):this.tpDiv}},_connectTimepicker:function(a,b){var c=$(a);b.append=$([]),b.trigger=$([]),c.hasClass(this.markerClassName)||(this._attachments(c,b),c.addClass(this.markerClassName).keydown(this._doKeyDown).keyup(this._doKeyUp).bind("setData.timepicker",function(a,c,d){b.settings[c]=d}).bind("getData.timepicker",function(a,c){return this._get(b,c)}),$.data(a,PROP_NAME,b))},_doKeyDown:function(a){var b=$.timepicker._getInst(a.target),c=!0;if(b._keyEvent=!0,$.timepicker._timepickerShowing)switch(a.keyCode){case 9:$.timepicker._hideTimepicker(),c=!1;break;case 13:return $.timepicker._updateSelectedValue(b),$.timepicker._hideTimepicker(),!1;case 27:$.timepicker._hideTimepicker();break;default:c=!1}else 36==a.keyCode&&a.ctrlKey?$.timepicker._showTimepicker(this):c=!1;c&&(a.preventDefault(),a.stopPropagation())},_doKeyUp:function(a){var b=$.timepicker._getInst(a.target);$.timepicker._setTimeFromField(b),$.timepicker._updateTimepicker(b)},_attachments:function(a,b){var c=this._get(b,"appendText"),d=this._get(b,"isRTL");b.append&&b.append.remove(),c&&(b.append=$('<span class="'+this._appendClass+'">'+c+"</span>"),a[d?"before":"after"](b.append)),a.unbind("focus.timepicker",this._showTimepicker),a.unbind("click.timepicker",this._adjustZIndex),b.trigger&&b.trigger.remove();var e=this._get(b,"showOn");if(("focus"==e||"both"==e)&&(a.bind("focus.timepicker",this._showTimepicker),a.bind("click.timepicker",this._adjustZIndex)),"button"==e||"both"==e){var f=this._get(b,"button");$(f).bind("click.timepicker",function(){return $.timepicker._timepickerShowing&&$.timepicker._lastInput==a[0]?$.timepicker._hideTimepicker():b.input.is(":disabled")||$.timepicker._showTimepicker(a[0]),!1})}},_inlineTimepicker:function(a,b){var c=$(a);c.hasClass(this.markerClassName)||(c.addClass(this.markerClassName).append(b.tpDiv).bind("setData.timepicker",function(a,c,d){b.settings[c]=d}).bind("getData.timepicker",function(a,c){return this._get(b,c)}),$.data(a,PROP_NAME,b),this._setTimeFromField(b),this._updateTimepicker(b),b.tpDiv.show())},_adjustZIndex:function(a){a=a.target||a;var b=$.timepicker._getInst(a);b.tpDiv.css("zIndex",$.timepicker._getZIndex(a)+1)},_showTimepicker:function(a){if(a=a.target||a,"input"!=a.nodeName.toLowerCase()&&(a=$("input",a.parentNode)[0]),!$.timepicker._isDisabledTimepicker(a)&&$.timepicker._lastInput!=a){$.timepicker._hideTimepicker();var b=$.timepicker._getInst(a);$.timepicker._curInst&&$.timepicker._curInst!=b&&$.timepicker._curInst.tpDiv.stop(!0,!0);var c=$.timepicker._get(b,"beforeShow");extendRemove(b.settings,c?c.apply(a,[a,b]):{}),b.lastVal=null,$.timepicker._lastInput=a,$.timepicker._setTimeFromField(b),$.timepicker._inDialog&&(a.value=""),$.timepicker._pos||($.timepicker._pos=$.timepicker._findPos(a),$.timepicker._pos[1]+=a.offsetHeight);var d=!1;$(a).parents().each(function(){return d|="fixed"==$(this).css("position"),!d}),d&&$.browser.opera&&($.timepicker._pos[0]-=document.documentElement.scrollLeft,$.timepicker._pos[1]-=document.documentElement.scrollTop);var e={left:$.timepicker._pos[0],top:$.timepicker._pos[1]};if($.timepicker._pos=null,b.tpDiv.css({position:"absolute",display:"block",top:"-1000px"}),$.timepicker._updateTimepicker(b),b.inline||"object"!=typeof $.ui.position||(b.tpDiv.position({of:b.input,my:$.timepicker._get(b,"myPosition"),at:$.timepicker._get(b,"atPosition"),collision:"flip"}),e=b.tpDiv.offset(),$.timepicker._pos=[e.top,e.left]),b._hoursClicked=!1,b._minutesClicked=!1,e=$.timepicker._checkOffset(b,e,d),b.tpDiv.css({position:$.timepicker._inDialog&&$.blockUI?"static":d?"fixed":"absolute",display:"none",left:e.left+"px",top:e.top+"px"}),!b.inline){var f=$.timepicker._get(b,"showAnim"),g=$.timepicker._get(b,"duration"),h=function(){$.timepicker._timepickerShowing=!0;var a=$.timepicker._getBorders(b.tpDiv);b.tpDiv.find("iframe.ui-timepicker-cover").css({left:-a[0],top:-a[1],width:b.tpDiv.outerWidth(),height:b.tpDiv.outerHeight()})};$.timepicker._adjustZIndex(a),$.effects&&$.effects[f]?b.tpDiv.show(f,$.timepicker._get(b,"showOptions"),g,h):b.tpDiv[f||"show"](f?g:null,h),f&&g||h(),b.input.is(":visible")&&!b.input.is(":disabled")&&b.input.focus(),$.timepicker._curInst=b}}},_getZIndex:function(a){for(var b,c,d=$(a);d.length&&d[0]!==document;){if(b=d.css("position"),("absolute"===b||"relative"===b||"fixed"===b)&&(c=parseInt(d.css("zIndex"),10),!isNaN(c)&&0!==c))return c;d=d.parent()}},_refreshTimepicker:function(a){var b=this._getInst(a);b&&this._updateTimepicker(b)},_updateTimepicker:function(a){a.tpDiv.empty().append(this._generateHTML(a)),this._rebindDialogEvents(a)},_rebindDialogEvents:function(a){var b=$.timepicker._getBorders(a.tpDiv),c=this;a.tpDiv.find("iframe.ui-timepicker-cover").css({left:-b[0],top:-b[1],width:a.tpDiv.outerWidth(),height:a.tpDiv.outerHeight()}).end().find(".ui-timepicker-minute-cell").unbind().bind("click",{fromDoubleClick:!1},$.proxy($.timepicker.selectMinutes,this)).bind("dblclick",{fromDoubleClick:!0},$.proxy($.timepicker.selectMinutes,this)).end().find(".ui-timepicker-hour-cell").unbind().bind("click",{fromDoubleClick:!1},$.proxy($.timepicker.selectHours,this)).bind("dblclick",{fromDoubleClick:!0},$.proxy($.timepicker.selectHours,this)).end().find(".ui-timepicker td a").unbind().bind("mouseout",function(){$(this).removeClass("ui-state-hover"),-1!=this.className.indexOf("ui-timepicker-prev")&&$(this).removeClass("ui-timepicker-prev-hover"),-1!=this.className.indexOf("ui-timepicker-next")&&$(this).removeClass("ui-timepicker-next-hover")}).bind("mouseover",function(){c._isDisabledTimepicker(a.inline?a.tpDiv.parent()[0]:a.input[0])||($(this).parents(".ui-timepicker-calendar").find("a").removeClass("ui-state-hover"),$(this).addClass("ui-state-hover"),-1!=this.className.indexOf("ui-timepicker-prev")&&$(this).addClass("ui-timepicker-prev-hover"),-1!=this.className.indexOf("ui-timepicker-next")&&$(this).addClass("ui-timepicker-next-hover"))}).end().find("."+this._dayOverClass+" a").trigger("mouseover").end().find(".ui-timepicker-now").bind("click",function(a){$.timepicker.selectNow(a)}).end().find(".ui-timepicker-deselect").bind("click",function(a){$.timepicker.deselectTime(a)}).end().find(".ui-timepicker-close").bind("click",function(a){$.timepicker._hideTimepicker()}).end()},_generateHTML:function(a){var b,c,d,e,f=1==this._get(a,"showPeriod"),g=1==this._get(a,"showPeriodLabels"),h=1==this._get(a,"showLeadingZero"),i=1==this._get(a,"showHours"),j=1==this._get(a,"showMinutes"),k=this._get(a,"amPmText"),l=this._get(a,"rows"),m=0,n=0,o=0,p=0,q=0,r=0,s=Array(),t=this._get(a,"hours"),u=null,v=0,w=this._get(a,"hourText"),x=this._get(a,"showCloseButton"),y=this._get(a,"closeButtonText"),z=this._get(a,"showNowButton"),A=this._get(a,"nowButtonText"),B=this._get(a,"showDeselectButton"),C=this._get(a,"deselectButtonText"),D=x||z||B;for(b=t.starts;b<=t.ends;b++)s.push(b);if(u=Math.ceil(s.length/l),g){for(v=0;v<s.length;v++)s[v]<12?o++:p++;v=0,m=Math.floor(o/s.length*l),n=Math.floor(p/s.length*l),l!=m+n&&(o&&(!p||!m||n&&o/m>=p/n)?m++:n++),q=Math.min(m,1),r=m+1,u=Math.ceil(Math.max(o/m,p/n))}if(e='<table class="ui-timepicker-table ui-widget-content ui-corner-all"><tr>',i){for(e+='<td class="ui-timepicker-hours"><div class="ui-timepicker-title ui-widget-header ui-helper-clearfix ui-corner-all">'+w+'</div><table class="ui-timepicker">',c=1;l>=c;c++){for(e+="<tr>",c==q&&g&&(e+='<th rowspan="'+m.toString()+'" class="periods" scope="row">'+k[0]+"</th>"),c==r&&g&&(e+='<th rowspan="'+n.toString()+'" class="periods" scope="row">'+k[1]+"</th>"),d=1;u>=d;d++)g&&r>c&&s[v]>=12?e+=this._generateHTMLHourCell(a,void 0,f,h):(e+=this._generateHTMLHourCell(a,s[v],f,h),v++);e+="</tr>"}e+="</tr></table></td>"}if(j&&(e+='<td class="ui-timepicker-minutes">',e+=this._generateHTMLMinutes(a),e+="</td>"),e+="</tr>",D){var E='<tr><td colspan="3"><div class="ui-timepicker-buttonpane ui-widget-content">';z&&(E+='<button type="button" class="ui-timepicker-now ui-state-default ui-corner-all" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" >'+A+"</button>"),B&&(E+='<button type="button" class="ui-timepicker-deselect ui-state-default ui-corner-all" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" >'+C+"</button>"),x&&(E+='<button type="button" class="ui-timepicker-close ui-state-default ui-corner-all" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" >'+y+"</button>"),e+=E+"</div></td></tr>"}return e+="</table>",e+=$.browser.msie&&parseInt($.browser.version,10)<7&&!a.inline?'<iframe src="javascript:false;" class="ui-timepicker-cover" frameborder="0"></iframe>':""},_updateMinuteDisplay:function(a){var b=this._generateHTMLMinutes(a);a.tpDiv.find("td.ui-timepicker-minutes").html(b),this._rebindDialogEvents(a)},_generateHTMLMinutes:function(a){var b,c,d="",e=this._get(a,"rows"),f=Array(),g=this._get(a,"minutes"),h=null,i=0,j=1==this._get(a,"showMinutesLeadingZero"),k=this._get(a,"onMinuteShow"),l=this._get(a,"minuteText");for(g.starts||(g.starts=0),g.ends||(g.ends=59),b=g.starts;b<=g.ends;b+=g.interval)f.push(b);if(h=Math.round(f.length/e+.49),k&&0==k.apply(a.input?a.input[0]:null,[a.hours,a.minutes]))for(i=0;i<f.length;i+=1)if(b=f[i],k.apply(a.input?a.input[0]:null,[a.hours,b])){a.minutes=b;break}for(d+='<div class="ui-timepicker-title ui-widget-header ui-helper-clearfix ui-corner-all">'+l+'</div><table class="ui-timepicker">',i=0,c=1;e>=c;c++){for(d+="<tr>";c*h>i;){b=f[i];var m="";void 0!==b&&(m=10>b&&j?"0"+b.toString():b.toString()),d+=this._generateHTMLMinuteCell(a,b,m),i++}d+="</tr>"}return d+="</table>"},_generateHTMLHourCell:function(a,b,c,d){var e=b;b>12&&c&&(e=b-12),0==e&&c&&(e=12),10>e&&d&&(e="0"+e);var f="",g=!0,h=this._get(a,"onHourShow");return void 0==b?f='<td><span class="ui-state-default ui-state-disabled">&nbsp;</span></td>':(h&&(g=h.apply(a.input?a.input[0]:null,[b])),f=g?'<td class="ui-timepicker-hour-cell" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" data-hour="'+b.toString()+'"><a class="ui-state-default '+(b==a.hours?"ui-state-active":"")+'">'+e.toString()+"</a></td>":'<td><span class="ui-state-default ui-state-disabled '+(b==a.hours?" ui-state-active ":" ")+'">'+e.toString()+"</span></td>")},_generateHTMLMinuteCell:function(a,b,c){var d="",e=!0,f=this._get(a,"onMinuteShow");return f&&(e=f.apply(a.input?a.input[0]:null,[a.hours,b])),d=void 0==b?'<td><span class="ui-state-default ui-state-disabled">&nbsp;</span></td>':e?'<td class="ui-timepicker-minute-cell" data-timepicker-instance-id="#'+a.id.replace(/\\\\/g,"\\")+'" data-minute="'+b.toString()+'" ><a class="ui-state-default '+(b==a.minutes?"ui-state-active":"")+'" >'+c+"</a></td>":'<td><span class="ui-state-default ui-state-disabled" >'+c+"</span></td>"},_destroyTimepicker:function(a){var b=$(a),c=$.data(a,PROP_NAME);if(b.hasClass(this.markerClassName)){var d=a.nodeName.toLowerCase();$.removeData(a,PROP_NAME),"input"==d?(c.append.remove(),c.trigger.remove(),b.removeClass(this.markerClassName).unbind("focus.timepicker",this._showTimepicker).unbind("click.timepicker",this._adjustZIndex)):("div"==d||"span"==d)&&b.removeClass(this.markerClassName).empty()}},_enableTimepicker:function(a){var b=$(a),c=b.attr("id"),d=$.data(a,PROP_NAME);if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if("input"==e){a.disabled=!1;var f=this._get(d,"button");$(f).removeClass("ui-state-disabled").disabled=!1,d.trigger.filter("button").each(function(){this.disabled=!1}).end()}else if("div"==e||"span"==e){var g=b.children("."+this._inlineClass);g.children().removeClass("ui-state-disabled"),g.find("button").each(function(){this.disabled=!1})}this._disabledInputs=$.map(this._disabledInputs,function(a){return a==c?null:a})}},_disableTimepicker:function(a){var b=$(a),c=$.data(a,PROP_NAME);if(b.hasClass(this.markerClassName)){var d=a.nodeName.toLowerCase();if("input"==d){var e=this._get(c,"button");$(e).addClass("ui-state-disabled").disabled=!0,a.disabled=!0,c.trigger.filter("button").each(function(){this.disabled=!0}).end()}else if("div"==d||"span"==d){var f=b.children("."+this._inlineClass);f.children().addClass("ui-state-disabled"),f.find("button").each(function(){this.disabled=!0})}this._disabledInputs=$.map(this._disabledInputs,function(b){return b==a?null:b}),this._disabledInputs[this._disabledInputs.length]=b.attr("id")}},_isDisabledTimepicker:function(a){if(!a)return!1;for(var b=0;b<this._disabledInputs.length;b++)if(this._disabledInputs[b]==a)return!0;return!1},_checkOffset:function(a,b,c){var d=a.tpDiv.outerWidth(),e=a.tpDiv.outerHeight(),f=a.input?a.input.outerWidth():0,g=a.input?a.input.outerHeight():0,h=document.documentElement.clientWidth+$(document).scrollLeft(),i=document.documentElement.clientHeight+$(document).scrollTop();return b.left-=this._get(a,"isRTL")?d-f:0,b.left-=c&&b.left==a.input.offset().left?$(document).scrollLeft():0,b.top-=c&&b.top==a.input.offset().top+g?$(document).scrollTop():0,b.left-=Math.min(b.left,b.left+d>h&&h>d?Math.abs(b.left+d-h):0),b.top-=Math.min(b.top,b.top+e>i&&i>e?Math.abs(e+g):0),b},_findPos:function(a){for(var b=this._getInst(a),c=this._get(b,"isRTL");a&&("hidden"==a.type||1!=a.nodeType);)a=a[c?"previousSibling":"nextSibling"];var d=$(a).offset();return[d.left,d.top]},_getBorders:function(a){var b=function(a){return{thin:1,medium:2,thick:3}[a]||a};return[parseFloat(b(a.css("border-left-width"))),parseFloat(b(a.css("border-top-width")))]},_checkExternalClick:function(a){if($.timepicker._curInst){var b=$(a.target);b[0].id==$.timepicker._mainDivId||0!=b.parents("#"+$.timepicker._mainDivId).length||b.hasClass($.timepicker.markerClassName)||b.hasClass($.timepicker._triggerClass)||!$.timepicker._timepickerShowing||$.timepicker._inDialog&&$.blockUI||$.timepicker._hideTimepicker()}},_hideTimepicker:function(a){var b=this._curInst;if(b&&(!a||b==$.data(a,PROP_NAME))&&this._timepickerShowing){var c=this._get(b,"showAnim"),d=this._get(b,"duration"),e=function(){$.timepicker._tidyDialog(b),this._curInst=null};$.effects&&$.effects[c]?b.tpDiv.hide(c,$.timepicker._get(b,"showOptions"),d,e):b.tpDiv["slideDown"==c?"slideUp":"fadeIn"==c?"fadeOut":"hide"](c?d:null,e),c||e(),this._timepickerShowing=!1,this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),$.blockUI&&($.unblockUI(),$("body").append(this.tpDiv))),this._inDialog=!1;var f=this._get(b,"onClose");f&&f.apply(b.input?b.input[0]:null,[b.input?b.input.val():"",b])}},_tidyDialog:function(a){a.tpDiv.removeClass(this._dialogClass).unbind(".ui-timepicker")},_getInst:function(a){try{return $.data(a,PROP_NAME)}catch(b){throw"Missing instance data for this timepicker"}},_get:function(a,b){return void 0!==a.settings[b]?a.settings[b]:this._defaults[b]},_setTimeFromField:function(a){if(a.input.val()!=a.lastVal){var b=this._get(a,"defaultTime"),c="now"==b?this._getCurrentTimeRounded(a):b;if(0==a.inline&&""!=a.input.val()&&(c=a.input.val()),c instanceof Date)a.hours=c.getHours(),a.minutes=c.getMinutes();else{var d=a.lastVal=c;if(""==c)a.hours=-1,a.minutes=-1;else{var e=this.parseTime(a,d);a.hours=e.hours,a.minutes=e.minutes}}$.timepicker._updateTimepicker(a)}},_optionTimepicker:function(a,b,c){var d=this._getInst(a);if(2==arguments.length&&"string"==typeof b)return"defaults"==b?$.extend({},$.timepicker._defaults):d?"all"==b?$.extend({},d.settings):this._get(d,b):null;var e=b||{};"string"==typeof b&&(e={},e[b]=c),d&&(this._curInst==d&&this._hideTimepicker(),extendRemove(d.settings,e),this._updateTimepicker(d))},_setTimeTimepicker:function(a,b){var c=this._getInst(a);c&&(this._setTime(c,b),this._updateTimepicker(c),this._updateAlternate(c,b))},_setTime:function(a,b,c){var d=a.hours,e=a.minutes;b=this.parseTime(a,b),a.hours=b.hours,a.minutes=b.minutes,d==a.hours&&e==a.minuts||c||a.input.trigger("change"),this._updateTimepicker(a),this._updateSelectedValue(a)},_getCurrentTimeRounded:function(a){var b=new Date,c=b.getMinutes(),d=5*Math.round(c/5);return b.setMinutes(d),b},parseTime:function(a,b){var c=new Object;c.hours=-1,c.minutes=-1;var d=this._get(a,"timeSeparator"),e=this._get(a,"amPmText"),f=this._get(a,"showHours"),g=this._get(a,"showMinutes"),h=this._get(a,"optionalMinutes"),i=1==this._get(a,"showPeriod"),j=b.indexOf(d);if(-1!=j?(c.hours=parseInt(b.substr(0,j),10),c.minutes=parseInt(b.substr(j+1),10)):!f||g&&!h?!f&&g&&(c.minutes=parseInt(b,10)):c.hours=parseInt(b,10),f){var k=b.toUpperCase();c.hours<12&&i&&-1!=k.indexOf(e[1].toUpperCase())&&(c.hours+=12),12==c.hours&&i&&-1!=k.indexOf(e[0].toUpperCase())&&(c.hours=0)}return c},selectNow:function(a){var b=$(a.target).attr("data-timepicker-instance-id"),c=$(b),d=this._getInst(c[0]),e=new Date;d.hours=e.getHours(),d.minutes=e.getMinutes(),this._updateSelectedValue(d),this._updateTimepicker(d),this._hideTimepicker()},deselectTime:function(a){var b=$(a.target).attr("data-timepicker-instance-id"),c=$(b),d=this._getInst(c[0]);d.hours=-1,d.minutes=-1,this._updateSelectedValue(d),this._hideTimepicker()},selectHours:function(a){var b=$(a.currentTarget),c=b.attr("data-timepicker-instance-id"),d=parseInt(b.attr("data-hour")),e=a.data.fromDoubleClick,f=$(c),g=this._getInst(f[0]),h=1==this._get(g,"showMinutes");if($.timepicker._isDisabledTimepicker(f.attr("id")))return!1;b.parents(".ui-timepicker-hours:first").find("a").removeClass("ui-state-active"),b.children("a").addClass("ui-state-active"),g.hours=d;var i=this._get(g,"onMinuteShow");return i&&this._updateMinuteDisplay(g),this._updateSelectedValue(g),g._hoursClicked=!0,(g._minutesClicked||e||0==h)&&$.timepicker._hideTimepicker(),!1},selectMinutes:function(a){var b=$(a.currentTarget),c=b.attr("data-timepicker-instance-id"),d=parseInt(b.attr("data-minute")),e=a.data.fromDoubleClick,f=$(c),g=this._getInst(f[0]),h=1==this._get(g,"showHours");return $.timepicker._isDisabledTimepicker(f.attr("id"))?!1:(b.parents(".ui-timepicker-minutes:first").find("a").removeClass("ui-state-active"),b.children("a").addClass("ui-state-active"),g.minutes=d,this._updateSelectedValue(g),g._minutesClicked=!0,g._hoursClicked||e||0==h?($.timepicker._hideTimepicker(),!1):!1)},_updateSelectedValue:function(a){var b=this._getParsedTime(a);a.input&&(a.input.val(b),a.input.trigger("change"));var c=this._get(a,"onSelect");return c&&c.apply(a.input?a.input[0]:null,[b,a]),this._updateAlternate(a,b),b},_getParsedTime:function(a){if(-1==a.hours&&-1==a.minutes)return"";(a.hours<a.hours.starts||a.hours>a.hours.ends)&&(a.hours=0),(a.minutes<a.minutes.starts||a.minutes>a.minutes.ends)&&(a.minutes=0);var b="",c=1==this._get(a,"showPeriod"),d=1==this._get(a,"showLeadingZero"),e=1==this._get(a,"showHours"),f=1==this._get(a,"showMinutes"),g=1==this._get(a,"optionalMinutes"),h=this._get(a,"amPmText"),i=a.hours?a.hours:0,j=a.minutes?a.minutes:0,k=i?i:0,l="";c&&(0==a.hours&&(k=12),a.hours<12?b=h[0]:(b=h[1],k>12&&(k-=12)));var m=k.toString();d&&10>k&&(m="0"+m);var n=j.toString();return 10>j&&(n="0"+n),e&&(l+=m),!e||!f||g&&0==n||(l+=this._get(a,"timeSeparator")),!f||g&&0==n||(l+=n),e&&b.length>0&&(l+=this._get(a,"periodSeparator")+b),l},_updateAlternate:function(a,b){var c=this._get(a,"altField");c&&$(c).each(function(a,c){$(c).val(b)})},_getTimeTimepicker:function(a){var b=this._getInst(a);return this._getParsedTime(b)},_getHourTimepicker:function(a){var b=this._getInst(a);return void 0==b?-1:b.hours},_getMinuteTimepicker:function(a){var b=this._getInst(a);return void 0==b?-1:b.minutes}}),$.fn.timepicker=function(a){$.timepicker.initialized||($(document).mousedown($.timepicker._checkExternalClick).find("body").append($.timepicker.tpDiv),$.timepicker.initialized=!0);var b=Array.prototype.slice.call(arguments,1);return"string"!=typeof a||"getTime"!=a&&"getHour"!=a&&"getMinute"!=a?"option"==a&&2==arguments.length&&"string"==typeof arguments[1]?$.timepicker["_"+a+"Timepicker"].apply($.timepicker,[this[0]].concat(b)):this.each(function(){"string"==typeof a?$.timepicker["_"+a+"Timepicker"].apply($.timepicker,[this].concat(b)):$.timepicker._attachTimepicker(this,a)}):$.timepicker["_"+a+"Timepicker"].apply($.timepicker,[this[0]].concat(b))},$.timepicker=new Timepicker,$.timepicker.initialized=!1,$.timepicker.uuid=(new Date).getTime(),$.timepicker.version="0.3.1",window["TP_jQuery_"+tpuuid]=$}(jQuery);
js/venue-admin.js CHANGED
@@ -81,7 +81,7 @@ jQuery(document).ready(function ($) {
81
  });
82
 
83
  $('#eo-venue-latllng-text').keydown( function( evt ){
84
- //On enter leave the latitude/longtitude
85
  if( 13 === evt.which ){
86
  $(this).blur();
87
  }
81
  });
82
 
83
  $('#eo-venue-latllng-text').keydown( function( evt ){
84
+ //On enter leave the latitude/longitude
85
  if( 13 === evt.which ){
86
  $(this).blur();
87
  }
js/venue-admin.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! event-organiser 3.7.2-0-g63f114d 2018-06-08 18:44 */
2
  var eo_venue=eo_venue||{marker:!1};jQuery(document).ready(function(a){postboxes.add_postbox_toggles(pagenow);var b=a("#eo_venue_Lat").val(),c=a("#eo_venue_Lng").val(),d=15;if(0===b&&0===c){var e=[];a(".eo_addressInput").each(function(){e.push(a(this).val())}),e.join("")||(d=1)}eovenue.init_map("venuemap",{lat:b,lng:c,zoom:d,draggable:!0,markerIcon:eo_venue.marker,onDrag:function(b){this.dragging=!0,a("#eo-venue-latllng-text").text(b.target.latlng.lat+", "+b.target.latlng.lng)},onDragend:function(b){this.dragging=!1;var c=b.target.latlng.lat+", "+b.target.latlng.lng;a("#eo_venue_Lat").val(b.target.latlng.lat),a("#eo_venue_Lng").val(b.target.latlng.lng),a("#eo-venue-latllng-text").text(c),b.target.map.setCenter(b.target.latlng)},onPositionchanged:function(b){if(!this.dragging){var c=b.target.latlng.lat+", "+b.target.latlng.lng;a("#eo_venue_Lat").val(b.target.latlng.lat),a("#eo_venue_Lng").val(b.target.latlng.lng),a("#eo-venue-latllng-text").text(c),b.target.map.setCenter(b.target.latlng)}}}),a(".eo_addressInput").change(function(){var b={};a(".eo_addressInput").each(function(){var c=a(this).attr("id").replace(/^eo-venue-/,"");b[c]=a(this).val()?a(this).val():null}),eovenue.geocode(b,function(a){a&&eovenue.get_map("venuemap").marker[0].setPosition({lat:a.lat,lng:a.lng})})}),a("#eo-venue-latllng-text").blur(function(){var b=a(this).text().trim().replace(/ /g,""),c=b.match(/^(-?[0-9]{1,3}\.[0-9]+),(-?[0-9]{1,3}\.[0-9]+)$/),d=a(this).data("eo-lat"),e=a(this).data("eo-lng");if(c){var f=c[1],g=c[2];(f!=d||g!=e)&&(a(this).data("eo-lat",f),a(this).data("eo-lng",g),eovenue.get_map("venuemap").marker[0].setPosition({lat:f,lng:g}))}else a(this).text(d+", "+e)}),a("#eo-venue-latllng-text").keydown(function(b){13===b.which&&a(this).blur()})});
1
+ /*! event-organiser 3.7.3-0-geffd108 2018-07-13 20:28 */
2
  var eo_venue=eo_venue||{marker:!1};jQuery(document).ready(function(a){postboxes.add_postbox_toggles(pagenow);var b=a("#eo_venue_Lat").val(),c=a("#eo_venue_Lng").val(),d=15;if(0===b&&0===c){var e=[];a(".eo_addressInput").each(function(){e.push(a(this).val())}),e.join("")||(d=1)}eovenue.init_map("venuemap",{lat:b,lng:c,zoom:d,draggable:!0,markerIcon:eo_venue.marker,onDrag:function(b){this.dragging=!0,a("#eo-venue-latllng-text").text(b.target.latlng.lat+", "+b.target.latlng.lng)},onDragend:function(b){this.dragging=!1;var c=b.target.latlng.lat+", "+b.target.latlng.lng;a("#eo_venue_Lat").val(b.target.latlng.lat),a("#eo_venue_Lng").val(b.target.latlng.lng),a("#eo-venue-latllng-text").text(c),b.target.map.setCenter(b.target.latlng)},onPositionchanged:function(b){if(!this.dragging){var c=b.target.latlng.lat+", "+b.target.latlng.lng;a("#eo_venue_Lat").val(b.target.latlng.lat),a("#eo_venue_Lng").val(b.target.latlng.lng),a("#eo-venue-latllng-text").text(c),b.target.map.setCenter(b.target.latlng)}}}),a(".eo_addressInput").change(function(){var b={};a(".eo_addressInput").each(function(){var c=a(this).attr("id").replace(/^eo-venue-/,"");b[c]=a(this).val()?a(this).val():null}),eovenue.geocode(b,function(a){a&&eovenue.get_map("venuemap").marker[0].setPosition({lat:a.lat,lng:a.lng})})}),a("#eo-venue-latllng-text").blur(function(){var b=a(this).text().trim().replace(/ /g,""),c=b.match(/^(-?[0-9]{1,3}\.[0-9]+),(-?[0-9]{1,3}\.[0-9]+)$/),d=a(this).data("eo-lat"),e=a(this).data("eo-lng");if(c){var f=c[1],g=c[2];(f!=d||g!=e)&&(a(this).data("eo-lat",f),a(this).data("eo-lng",g),eovenue.get_map("venuemap").marker[0].setPosition({lat:f,lng:g}))}else a(this).text(d+", "+e)}),a("#eo-venue-latllng-text").keydown(function(b){13===b.which&&a(this).blur()})});
js/venue-util.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! event-organiser 3.7.2-0-g63f114d 2018-06-08 18:44 */
2
  !function(a){eovenue={maps:{},init_map:function(a,b){var c=b.hasOwnProperty("fieldID")?b.fieldID:a,d=b.hasOwnProperty("draggable")?b.draggable:!1,e=b.hasOwnProperty("markerIcon")?b.markerIcon:null,f=b.hasOwnProperty("lat")?b.lat:0,g=b.hasOwnProperty("lng")?b.lng:0,h={lat:f,lng:g,venue_id:0},i={zoom:b.hasOwnProperty("zoom")?b.zoom:15,center:h,locations:[h]},j=new eventorganiserMapsAdapter.provider.map(c,i),k=j.addMarker({position:{lat:f,lng:g},map:j,venue_id:0,draggable:d,icon:e});this.maps[a]={map:j,marker:[k]},b.hasOwnProperty("onDrag")&&b.onDrag&&k.on("drag",b.onDrag),b.hasOwnProperty("onDragend")&&b.onDragend&&k.on("dragend",b.onDragend),b.hasOwnProperty("onPositionchanged")&&b.onPositionchanged&&k.on("move",b.onPositionchanged)},geocode:function(a,b){var c=new eventorganiserMapsAdapter.provider.geocoder;c.geocode(a,b)},get_map:function(a){return this.maps[a]}}}(jQuery);
1
+ /*! event-organiser 3.7.3-0-geffd108 2018-07-13 20:28 */
2
  !function(a){eovenue={maps:{},init_map:function(a,b){var c=b.hasOwnProperty("fieldID")?b.fieldID:a,d=b.hasOwnProperty("draggable")?b.draggable:!1,e=b.hasOwnProperty("markerIcon")?b.markerIcon:null,f=b.hasOwnProperty("lat")?b.lat:0,g=b.hasOwnProperty("lng")?b.lng:0,h={lat:f,lng:g,venue_id:0},i={zoom:b.hasOwnProperty("zoom")?b.zoom:15,center:h,locations:[h]},j=new eventorganiserMapsAdapter.provider.map(c,i),k=j.addMarker({position:{lat:f,lng:g},map:j,venue_id:0,draggable:d,icon:e});this.maps[a]={map:j,marker:[k]},b.hasOwnProperty("onDrag")&&b.onDrag&&k.on("drag",b.onDrag),b.hasOwnProperty("onDragend")&&b.onDragend&&k.on("dragend",b.onDragend),b.hasOwnProperty("onPositionchanged")&&b.onPositionchanged&&k.on("move",b.onPositionchanged)},geocode:function(a,b){var c=new eventorganiserMapsAdapter.provider.geocoder;c.geocode(a,b)},get_map:function(a){return this.maps[a]}}}(jQuery);
languages/eventorganiser-af.mo CHANGED
Binary file
languages/eventorganiser-af.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2017-04-16T23:10:48+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -697,7 +697,7 @@ msgid "Show dates"
697
  msgstr "Wys datums"
698
 
699
  #: event-organiser-edit.php:274
700
- #: includes/event-organiser-venue-functions.php:1015
701
  #, fuzzy
702
  msgid "Select a venue"
703
  msgstr "Kies 'n plek"
@@ -1337,22 +1337,22 @@ msgid ""
1337
  "%s."
1338
  msgstr ""
1339
 
1340
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1341
  #, php-format
1342
  msgid "[Lines %1$d-%2$d]"
1343
  msgstr ""
1344
 
1345
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1346
  #, php-format
1347
  msgid "[Line %1$d]"
1348
  msgstr ""
1349
 
1350
- #: includes/class-eo-ical-parser.php:1039
1351
  #, php-format
1352
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1353
  msgstr ""
1354
 
1355
- #: includes/class-eo-ical-parser.php:1077
1356
  #, php-format
1357
  msgid ""
1358
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2250,27 +2250,27 @@ msgstr ""
2250
  msgid "Help"
2251
  msgstr "Help"
2252
 
2253
- #: includes/event-organiser-venue-functions.php:980
2254
  #, fuzzy
2255
  msgid "Address"
2256
  msgstr "Adres"
2257
 
2258
- #: includes/event-organiser-venue-functions.php:981
2259
  #, fuzzy
2260
  msgid "City"
2261
  msgstr "Stad"
2262
 
2263
- #: includes/event-organiser-venue-functions.php:982
2264
  #, fuzzy
2265
  msgid "State / Province"
2266
  msgstr "Staat / Provinsie"
2267
 
2268
- #: includes/event-organiser-venue-functions.php:983
2269
  #, fuzzy
2270
  msgid "Post Code"
2271
  msgstr "Pos Kode"
2272
 
2273
- #: includes/event-organiser-venue-functions.php:984
2274
  #, fuzzy
2275
  msgid "Country"
2276
  msgstr "Land"
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2017-04-16T23:10:48+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
697
  msgstr "Wys datums"
698
 
699
  #: event-organiser-edit.php:274
700
+ #: includes/event-organiser-venue-functions.php:1026
701
  #, fuzzy
702
  msgid "Select a venue"
703
  msgstr "Kies 'n plek"
1337
  "%s."
1338
  msgstr ""
1339
 
1340
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1341
  #, php-format
1342
  msgid "[Lines %1$d-%2$d]"
1343
  msgstr ""
1344
 
1345
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1346
  #, php-format
1347
  msgid "[Line %1$d]"
1348
  msgstr ""
1349
 
1350
+ #: includes/class-eo-ical-parser.php:1041
1351
  #, php-format
1352
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1353
  msgstr ""
1354
 
1355
+ #: includes/class-eo-ical-parser.php:1079
1356
  #, php-format
1357
  msgid ""
1358
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2250
  msgid "Help"
2251
  msgstr "Help"
2252
 
2253
+ #: includes/event-organiser-venue-functions.php:991
2254
  #, fuzzy
2255
  msgid "Address"
2256
  msgstr "Adres"
2257
 
2258
+ #: includes/event-organiser-venue-functions.php:992
2259
  #, fuzzy
2260
  msgid "City"
2261
  msgstr "Stad"
2262
 
2263
+ #: includes/event-organiser-venue-functions.php:993
2264
  #, fuzzy
2265
  msgid "State / Province"
2266
  msgstr "Staat / Provinsie"
2267
 
2268
+ #: includes/event-organiser-venue-functions.php:994
2269
  #, fuzzy
2270
  msgid "Post Code"
2271
  msgstr "Pos Kode"
2272
 
2273
+ #: includes/event-organiser-venue-functions.php:995
2274
  #, fuzzy
2275
  msgid "Country"
2276
  msgstr "Land"
languages/eventorganiser-ar.mo CHANGED
Binary file
languages/eventorganiser-ar.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:17:42+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -643,7 +643,7 @@ msgid "Show dates"
643
  msgstr "عرض التاريخ"
644
 
645
  #: event-organiser-edit.php:274
646
- #: includes/event-organiser-venue-functions.php:1015
647
  msgid "Select a venue"
648
  msgstr "اختر عنواناً"
649
 
@@ -1254,22 +1254,22 @@ msgid ""
1254
  "%s."
1255
  msgstr ""
1256
 
1257
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1258
  #, php-format
1259
  msgid "[Lines %1$d-%2$d]"
1260
  msgstr ""
1261
 
1262
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1263
  #, php-format
1264
  msgid "[Line %1$d]"
1265
  msgstr ""
1266
 
1267
- #: includes/class-eo-ical-parser.php:1039
1268
  #, php-format
1269
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1270
  msgstr ""
1271
 
1272
- #: includes/class-eo-ical-parser.php:1077
1273
  #, php-format
1274
  msgid ""
1275
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2091,23 +2091,23 @@ msgstr ""
2091
  msgid "Help"
2092
  msgstr ""
2093
 
2094
- #: includes/event-organiser-venue-functions.php:980
2095
  msgid "Address"
2096
  msgstr "العنوان"
2097
 
2098
- #: includes/event-organiser-venue-functions.php:981
2099
  msgid "City"
2100
  msgstr "المدينة"
2101
 
2102
- #: includes/event-organiser-venue-functions.php:982
2103
  msgid "State / Province"
2104
  msgstr "مقاطعة"
2105
 
2106
- #: includes/event-organiser-venue-functions.php:983
2107
  msgid "Post Code"
2108
  msgstr "الرمز البريدي"
2109
 
2110
- #: includes/event-organiser-venue-functions.php:984
2111
  msgid "Country"
2112
  msgstr "البلد"
2113
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:17:42+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
643
  msgstr "عرض التاريخ"
644
 
645
  #: event-organiser-edit.php:274
646
+ #: includes/event-organiser-venue-functions.php:1026
647
  msgid "Select a venue"
648
  msgstr "اختر عنواناً"
649
 
1254
  "%s."
1255
  msgstr ""
1256
 
1257
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1258
  #, php-format
1259
  msgid "[Lines %1$d-%2$d]"
1260
  msgstr ""
1261
 
1262
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1263
  #, php-format
1264
  msgid "[Line %1$d]"
1265
  msgstr ""
1266
 
1267
+ #: includes/class-eo-ical-parser.php:1041
1268
  #, php-format
1269
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1270
  msgstr ""
1271
 
1272
+ #: includes/class-eo-ical-parser.php:1079
1273
  #, php-format
1274
  msgid ""
1275
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2091
  msgid "Help"
2092
  msgstr ""
2093
 
2094
+ #: includes/event-organiser-venue-functions.php:991
2095
  msgid "Address"
2096
  msgstr "العنوان"
2097
 
2098
+ #: includes/event-organiser-venue-functions.php:992
2099
  msgid "City"
2100
  msgstr "المدينة"
2101
 
2102
+ #: includes/event-organiser-venue-functions.php:993
2103
  msgid "State / Province"
2104
  msgstr "مقاطعة"
2105
 
2106
+ #: includes/event-organiser-venue-functions.php:994
2107
  msgid "Post Code"
2108
  msgstr "الرمز البريدي"
2109
 
2110
+ #: includes/event-organiser-venue-functions.php:995
2111
  msgid "Country"
2112
  msgstr "البلد"
2113
 
languages/eventorganiser-bg_BG.mo CHANGED
Binary file
languages/eventorganiser-bg_BG.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:17:38+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -643,7 +643,7 @@ msgid "Show dates"
643
  msgstr ""
644
 
645
  #: event-organiser-edit.php:274
646
- #: includes/event-organiser-venue-functions.php:1015
647
  msgid "Select a venue"
648
  msgstr ""
649
 
@@ -1265,22 +1265,22 @@ msgid ""
1265
  "%s."
1266
  msgstr ""
1267
 
1268
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1269
  #, php-format
1270
  msgid "[Lines %1$d-%2$d]"
1271
  msgstr ""
1272
 
1273
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1274
  #, php-format
1275
  msgid "[Line %1$d]"
1276
  msgstr ""
1277
 
1278
- #: includes/class-eo-ical-parser.php:1039
1279
  #, php-format
1280
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1281
  msgstr ""
1282
 
1283
- #: includes/class-eo-ical-parser.php:1077
1284
  #, php-format
1285
  msgid ""
1286
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2141,23 +2141,23 @@ msgstr ""
2141
  msgid "Help"
2142
  msgstr ""
2143
 
2144
- #: includes/event-organiser-venue-functions.php:980
2145
  msgid "Address"
2146
  msgstr "Адрес"
2147
 
2148
- #: includes/event-organiser-venue-functions.php:981
2149
  msgid "City"
2150
  msgstr "Град"
2151
 
2152
- #: includes/event-organiser-venue-functions.php:982
2153
  msgid "State / Province"
2154
  msgstr "Област"
2155
 
2156
- #: includes/event-organiser-venue-functions.php:983
2157
  msgid "Post Code"
2158
  msgstr "Пощенски код"
2159
 
2160
- #: includes/event-organiser-venue-functions.php:984
2161
  msgid "Country"
2162
  msgstr "Държава"
2163
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:17:38+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
643
  msgstr ""
644
 
645
  #: event-organiser-edit.php:274
646
+ #: includes/event-organiser-venue-functions.php:1026
647
  msgid "Select a venue"
648
  msgstr ""
649
 
1265
  "%s."
1266
  msgstr ""
1267
 
1268
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1269
  #, php-format
1270
  msgid "[Lines %1$d-%2$d]"
1271
  msgstr ""
1272
 
1273
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1274
  #, php-format
1275
  msgid "[Line %1$d]"
1276
  msgstr ""
1277
 
1278
+ #: includes/class-eo-ical-parser.php:1041
1279
  #, php-format
1280
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1281
  msgstr ""
1282
 
1283
+ #: includes/class-eo-ical-parser.php:1079
1284
  #, php-format
1285
  msgid ""
1286
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2141
  msgid "Help"
2142
  msgstr ""
2143
 
2144
+ #: includes/event-organiser-venue-functions.php:991
2145
  msgid "Address"
2146
  msgstr "Адрес"
2147
 
2148
+ #: includes/event-organiser-venue-functions.php:992
2149
  msgid "City"
2150
  msgstr "Град"
2151
 
2152
+ #: includes/event-organiser-venue-functions.php:993
2153
  msgid "State / Province"
2154
  msgstr "Област"
2155
 
2156
+ #: includes/event-organiser-venue-functions.php:994
2157
  msgid "Post Code"
2158
  msgstr "Пощенски код"
2159
 
2160
+ #: includes/event-organiser-venue-functions.php:995
2161
  msgid "Country"
2162
  msgstr "Държава"
2163
 
languages/eventorganiser-ca.mo CHANGED
Binary file
languages/eventorganiser-ca.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2017-04-16T23:21:14+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -649,7 +649,7 @@ msgid "Show dates"
649
  msgstr "Mostra les dates"
650
 
651
  #: event-organiser-edit.php:274
652
- #: includes/event-organiser-venue-functions.php:1015
653
  msgid "Select a venue"
654
  msgstr "Selecciona un lloc"
655
 
@@ -1298,22 +1298,22 @@ msgid ""
1298
  "%s."
1299
  msgstr ""
1300
 
1301
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1302
  #, php-format
1303
  msgid "[Lines %1$d-%2$d]"
1304
  msgstr ""
1305
 
1306
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1307
  #, php-format
1308
  msgid "[Line %1$d]"
1309
  msgstr "[Línia %1$d]"
1310
 
1311
- #: includes/class-eo-ical-parser.php:1039
1312
  #, php-format
1313
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1314
  msgstr "Data invàlida \"%s\". Data esperada en format AAAAMMDD."
1315
 
1316
- #: includes/class-eo-ical-parser.php:1077
1317
  #, php-format
1318
  msgid ""
1319
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2170,23 +2170,23 @@ msgstr ""
2170
  msgid "Help"
2171
  msgstr ""
2172
 
2173
- #: includes/event-organiser-venue-functions.php:980
2174
  msgid "Address"
2175
  msgstr "Adreça"
2176
 
2177
- #: includes/event-organiser-venue-functions.php:981
2178
  msgid "City"
2179
  msgstr "Ciutat"
2180
 
2181
- #: includes/event-organiser-venue-functions.php:982
2182
  msgid "State / Province"
2183
  msgstr "Província"
2184
 
2185
- #: includes/event-organiser-venue-functions.php:983
2186
  msgid "Post Code"
2187
  msgstr "Codi Postal"
2188
 
2189
- #: includes/event-organiser-venue-functions.php:984
2190
  msgid "Country"
2191
  msgstr "País"
2192
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2017-04-16T23:21:14+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
649
  msgstr "Mostra les dates"
650
 
651
  #: event-organiser-edit.php:274
652
+ #: includes/event-organiser-venue-functions.php:1026
653
  msgid "Select a venue"
654
  msgstr "Selecciona un lloc"
655
 
1298
  "%s."
1299
  msgstr ""
1300
 
1301
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1302
  #, php-format
1303
  msgid "[Lines %1$d-%2$d]"
1304
  msgstr ""
1305
 
1306
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1307
  #, php-format
1308
  msgid "[Line %1$d]"
1309
  msgstr "[Línia %1$d]"
1310
 
1311
+ #: includes/class-eo-ical-parser.php:1041
1312
  #, php-format
1313
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1314
  msgstr "Data invàlida \"%s\". Data esperada en format AAAAMMDD."
1315
 
1316
+ #: includes/class-eo-ical-parser.php:1079
1317
  #, php-format
1318
  msgid ""
1319
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2170
  msgid "Help"
2171
  msgstr ""
2172
 
2173
+ #: includes/event-organiser-venue-functions.php:991
2174
  msgid "Address"
2175
  msgstr "Adreça"
2176
 
2177
+ #: includes/event-organiser-venue-functions.php:992
2178
  msgid "City"
2179
  msgstr "Ciutat"
2180
 
2181
+ #: includes/event-organiser-venue-functions.php:993
2182
  msgid "State / Province"
2183
  msgstr "Província"
2184
 
2185
+ #: includes/event-organiser-venue-functions.php:994
2186
  msgid "Post Code"
2187
  msgstr "Codi Postal"
2188
 
2189
+ #: includes/event-organiser-venue-functions.php:995
2190
  msgid "Country"
2191
  msgstr "País"
2192
 
languages/eventorganiser-cs_CZ.mo CHANGED
Binary file
languages/eventorganiser-cs_CZ.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2017-10-09T20:46:49+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -651,7 +651,7 @@ msgid "Show dates"
651
  msgstr "Ukázat data"
652
 
653
  #: event-organiser-edit.php:274
654
- #: includes/event-organiser-venue-functions.php:1015
655
  msgid "Select a venue"
656
  msgstr "Vybrat místo"
657
 
@@ -1309,22 +1309,22 @@ msgstr ""
1309
  "Zdroj obsahuje neomezeně opakující se událost. Tato událost se bude opakovat "
1310
  "až do %s"
1311
 
1312
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1313
  #, php-format
1314
  msgid "[Lines %1$d-%2$d]"
1315
  msgstr "[Lines %1$d-%2$d]"
1316
 
1317
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1318
  #, php-format
1319
  msgid "[Line %1$d]"
1320
  msgstr "[Line %1$d]"
1321
 
1322
- #: includes/class-eo-ical-parser.php:1039
1323
  #, php-format
1324
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1325
  msgstr "Neplatné datum \"%s\". Datum očekáváno v YYYYMMDD formátu."
1326
 
1327
- #: includes/class-eo-ical-parser.php:1077
1328
  #, php-format
1329
  msgid ""
1330
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2199,23 +2199,23 @@ msgstr ""
2199
  msgid "Help"
2200
  msgstr "Nápověda"
2201
 
2202
- #: includes/event-organiser-venue-functions.php:980
2203
  msgid "Address"
2204
  msgstr "Adresa"
2205
 
2206
- #: includes/event-organiser-venue-functions.php:981
2207
  msgid "City"
2208
  msgstr "Město"
2209
 
2210
- #: includes/event-organiser-venue-functions.php:982
2211
  msgid "State / Province"
2212
  msgstr "Stát / kraj"
2213
 
2214
- #: includes/event-organiser-venue-functions.php:983
2215
  msgid "Post Code"
2216
  msgstr "PSČ"
2217
 
2218
- #: includes/event-organiser-venue-functions.php:984
2219
  msgid "Country"
2220
  msgstr "Země"
2221
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2017-10-09T20:46:49+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
651
  msgstr "Ukázat data"
652
 
653
  #: event-organiser-edit.php:274
654
+ #: includes/event-organiser-venue-functions.php:1026
655
  msgid "Select a venue"
656
  msgstr "Vybrat místo"
657
 
1309
  "Zdroj obsahuje neomezeně opakující se událost. Tato událost se bude opakovat "
1310
  "až do %s"
1311
 
1312
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1313
  #, php-format
1314
  msgid "[Lines %1$d-%2$d]"
1315
  msgstr "[Lines %1$d-%2$d]"
1316
 
1317
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1318
  #, php-format
1319
  msgid "[Line %1$d]"
1320
  msgstr "[Line %1$d]"
1321
 
1322
+ #: includes/class-eo-ical-parser.php:1041
1323
  #, php-format
1324
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1325
  msgstr "Neplatné datum \"%s\". Datum očekáváno v YYYYMMDD formátu."
1326
 
1327
+ #: includes/class-eo-ical-parser.php:1079
1328
  #, php-format
1329
  msgid ""
1330
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2199
  msgid "Help"
2200
  msgstr "Nápověda"
2201
 
2202
+ #: includes/event-organiser-venue-functions.php:991
2203
  msgid "Address"
2204
  msgstr "Adresa"
2205
 
2206
+ #: includes/event-organiser-venue-functions.php:992
2207
  msgid "City"
2208
  msgstr "Město"
2209
 
2210
+ #: includes/event-organiser-venue-functions.php:993
2211
  msgid "State / Province"
2212
  msgstr "Stát / kraj"
2213
 
2214
+ #: includes/event-organiser-venue-functions.php:994
2215
  msgid "Post Code"
2216
  msgstr "PSČ"
2217
 
2218
+ #: includes/event-organiser-venue-functions.php:995
2219
  msgid "Country"
2220
  msgstr "Země"
2221
 
languages/eventorganiser-da_DK.mo CHANGED
Binary file
languages/eventorganiser-da_DK.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2017-04-14T23:27:45+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -649,7 +649,7 @@ msgid "Show dates"
649
  msgstr "Vis datoer"
650
 
651
  #: event-organiser-edit.php:274
652
- #: includes/event-organiser-venue-functions.php:1015
653
  msgid "Select a venue"
654
  msgstr "Vælg et sted"
655
 
@@ -1293,22 +1293,22 @@ msgid ""
1293
  "%s."
1294
  msgstr ""
1295
 
1296
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1297
  #, php-format
1298
  msgid "[Lines %1$d-%2$d]"
1299
  msgstr "[Linjer %1$d-%2$d]"
1300
 
1301
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1302
  #, php-format
1303
  msgid "[Line %1$d]"
1304
  msgstr "[Linje %1$d]"
1305
 
1306
- #: includes/class-eo-ical-parser.php:1039
1307
  #, php-format
1308
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1309
  msgstr "Ugyldig dato \"%s\". Dato forventes i formatet YYYYMMDD"
1310
 
1311
- #: includes/class-eo-ical-parser.php:1077
1312
  #, php-format
1313
  msgid ""
1314
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2180,23 +2180,23 @@ msgstr ""
2180
  msgid "Help"
2181
  msgstr "Hjælp"
2182
 
2183
- #: includes/event-organiser-venue-functions.php:980
2184
  msgid "Address"
2185
  msgstr "Adresse"
2186
 
2187
- #: includes/event-organiser-venue-functions.php:981
2188
  msgid "City"
2189
  msgstr "By"
2190
 
2191
- #: includes/event-organiser-venue-functions.php:982
2192
  msgid "State / Province"
2193
  msgstr "Stat / Provins"
2194
 
2195
- #: includes/event-organiser-venue-functions.php:983
2196
  msgid "Post Code"
2197
  msgstr "Postnummer"
2198
 
2199
- #: includes/event-organiser-venue-functions.php:984
2200
  msgid "Country"
2201
  msgstr "Land"
2202
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2017-04-14T23:27:45+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
649
  msgstr "Vis datoer"
650
 
651
  #: event-organiser-edit.php:274
652
+ #: includes/event-organiser-venue-functions.php:1026
653
  msgid "Select a venue"
654
  msgstr "Vælg et sted"
655
 
1293
  "%s."
1294
  msgstr ""
1295
 
1296
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1297
  #, php-format
1298
  msgid "[Lines %1$d-%2$d]"
1299
  msgstr "[Linjer %1$d-%2$d]"
1300
 
1301
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1302
  #, php-format
1303
  msgid "[Line %1$d]"
1304
  msgstr "[Linje %1$d]"
1305
 
1306
+ #: includes/class-eo-ical-parser.php:1041
1307
  #, php-format
1308
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1309
  msgstr "Ugyldig dato \"%s\". Dato forventes i formatet YYYYMMDD"
1310
 
1311
+ #: includes/class-eo-ical-parser.php:1079
1312
  #, php-format
1313
  msgid ""
1314
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2180
  msgid "Help"
2181
  msgstr "Hjælp"
2182
 
2183
+ #: includes/event-organiser-venue-functions.php:991
2184
  msgid "Address"
2185
  msgstr "Adresse"
2186
 
2187
+ #: includes/event-organiser-venue-functions.php:992
2188
  msgid "City"
2189
  msgstr "By"
2190
 
2191
+ #: includes/event-organiser-venue-functions.php:993
2192
  msgid "State / Province"
2193
  msgstr "Stat / Provins"
2194
 
2195
+ #: includes/event-organiser-venue-functions.php:994
2196
  msgid "Post Code"
2197
  msgstr "Postnummer"
2198
 
2199
+ #: includes/event-organiser-venue-functions.php:995
2200
  msgid "Country"
2201
  msgstr "Land"
2202
 
languages/eventorganiser-de_DE.mo CHANGED
Binary file
languages/eventorganiser-de_DE.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2017-04-14T23:01:46+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -664,7 +664,7 @@ msgid "Show dates"
664
  msgstr "Termine anzeigen"
665
 
666
  #: event-organiser-edit.php:274
667
- #: includes/event-organiser-venue-functions.php:1015
668
  msgid "Select a venue"
669
  msgstr ""
670
  "Einen  \n"
@@ -1324,23 +1324,23 @@ msgid ""
1324
  "%s."
1325
  msgstr ""
1326
 
1327
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1328
  #, php-format
1329
  msgid "[Lines %1$d-%2$d]"
1330
  msgstr "[Zeilen %1$d-%2$d]"
1331
 
1332
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1333
  #, php-format
1334
  msgid "[Line %1$d]"
1335
  msgstr "[Zeile %1$d]"
1336
 
1337
- #: includes/class-eo-ical-parser.php:1039
1338
  #, php-format
1339
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1340
  msgstr ""
1341
  "Falsche Angabe für das Datum \"%s\". Datum wird im YYYYMMDD-Format erwartet."
1342
 
1343
- #: includes/class-eo-ical-parser.php:1077
1344
  #, php-format
1345
  msgid ""
1346
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2224,23 +2224,23 @@ msgstr ""
2224
  msgid "Help"
2225
  msgstr "Hilfe"
2226
 
2227
- #: includes/event-organiser-venue-functions.php:980
2228
  msgid "Address"
2229
  msgstr "Straße und Hausnummer"
2230
 
2231
- #: includes/event-organiser-venue-functions.php:981
2232
  msgid "City"
2233
  msgstr "Stadt"
2234
 
2235
- #: includes/event-organiser-venue-functions.php:982
2236
  msgid "State / Province"
2237
  msgstr "Bundesland"
2238
 
2239
- #: includes/event-organiser-venue-functions.php:983
2240
  msgid "Post Code"
2241
  msgstr "PLZ"
2242
 
2243
- #: includes/event-organiser-venue-functions.php:984
2244
  msgid "Country"
2245
  msgstr "Land"
2246
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2017-04-14T23:01:46+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
664
  msgstr "Termine anzeigen"
665
 
666
  #: event-organiser-edit.php:274
667
+ #: includes/event-organiser-venue-functions.php:1026
668
  msgid "Select a venue"
669
  msgstr ""
670
  "Einen  \n"
1324
  "%s."
1325
  msgstr ""
1326
 
1327
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1328
  #, php-format
1329
  msgid "[Lines %1$d-%2$d]"
1330
  msgstr "[Zeilen %1$d-%2$d]"
1331
 
1332
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1333
  #, php-format
1334
  msgid "[Line %1$d]"
1335
  msgstr "[Zeile %1$d]"
1336
 
1337
+ #: includes/class-eo-ical-parser.php:1041
1338
  #, php-format
1339
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1340
  msgstr ""
1341
  "Falsche Angabe für das Datum \"%s\". Datum wird im YYYYMMDD-Format erwartet."
1342
 
1343
+ #: includes/class-eo-ical-parser.php:1079
1344
  #, php-format
1345
  msgid ""
1346
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2224
  msgid "Help"
2225
  msgstr "Hilfe"
2226
 
2227
+ #: includes/event-organiser-venue-functions.php:991
2228
  msgid "Address"
2229
  msgstr "Straße und Hausnummer"
2230
 
2231
+ #: includes/event-organiser-venue-functions.php:992
2232
  msgid "City"
2233
  msgstr "Stadt"
2234
 
2235
+ #: includes/event-organiser-venue-functions.php:993
2236
  msgid "State / Province"
2237
  msgstr "Bundesland"
2238
 
2239
+ #: includes/event-organiser-venue-functions.php:994
2240
  msgid "Post Code"
2241
  msgstr "PLZ"
2242
 
2243
+ #: includes/event-organiser-venue-functions.php:995
2244
  msgid "Country"
2245
  msgstr "Land"
2246
 
languages/eventorganiser-el.mo CHANGED
Binary file
languages/eventorganiser-el.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2017-04-14T23:02:23+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -649,7 +649,7 @@ msgid "Show dates"
649
  msgstr "Εμφάνιση Ημέρων"
650
 
651
  #: event-organiser-edit.php:274
652
- #: includes/event-organiser-venue-functions.php:1015
653
  msgid "Select a venue"
654
  msgstr "Διάλεξε Τοποθεσία"
655
 
@@ -1297,23 +1297,23 @@ msgid ""
1297
  "%s."
1298
  msgstr ""
1299
 
1300
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1301
  #, php-format
1302
  msgid "[Lines %1$d-%2$d]"
1303
  msgstr "[Γραμμές %1$d-%2$d]"
1304
 
1305
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1306
  #, php-format
1307
  msgid "[Line %1$d]"
1308
  msgstr "[Γραμμή %1$d]"
1309
 
1310
- #: includes/class-eo-ical-parser.php:1039
1311
  #, php-format
1312
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1313
  msgstr ""
1314
  "Μη έγκυρη ημερομηνία \"%s\". Η ημερομηνία πρέπει να είναι σε YYYYMMDD format."
1315
 
1316
- #: includes/class-eo-ical-parser.php:1077
1317
  #, php-format
1318
  msgid ""
1319
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2188,23 +2188,23 @@ msgstr ""
2188
  msgid "Help"
2189
  msgstr ""
2190
 
2191
- #: includes/event-organiser-venue-functions.php:980
2192
  msgid "Address"
2193
  msgstr "Διέυθυνση"
2194
 
2195
- #: includes/event-organiser-venue-functions.php:981
2196
  msgid "City"
2197
  msgstr "Πόλη"
2198
 
2199
- #: includes/event-organiser-venue-functions.php:982
2200
  msgid "State / Province"
2201
  msgstr "Περιοχή"
2202
 
2203
- #: includes/event-organiser-venue-functions.php:983
2204
  msgid "Post Code"
2205
  msgstr "Ταχυδρομικός Κώδικας"
2206
 
2207
- #: includes/event-organiser-venue-functions.php:984
2208
  msgid "Country"
2209
  msgstr "Χώρα"
2210
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2017-04-14T23:02:23+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
649
  msgstr "Εμφάνιση Ημέρων"
650
 
651
  #: event-organiser-edit.php:274
652
+ #: includes/event-organiser-venue-functions.php:1026
653
  msgid "Select a venue"
654
  msgstr "Διάλεξε Τοποθεσία"
655
 
1297
  "%s."
1298
  msgstr ""
1299
 
1300
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1301
  #, php-format
1302
  msgid "[Lines %1$d-%2$d]"
1303
  msgstr "[Γραμμές %1$d-%2$d]"
1304
 
1305
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1306
  #, php-format
1307
  msgid "[Line %1$d]"
1308
  msgstr "[Γραμμή %1$d]"
1309
 
1310
+ #: includes/class-eo-ical-parser.php:1041
1311
  #, php-format
1312
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1313
  msgstr ""
1314
  "Μη έγκυρη ημερομηνία \"%s\". Η ημερομηνία πρέπει να είναι σε YYYYMMDD format."
1315
 
1316
+ #: includes/class-eo-ical-parser.php:1079
1317
  #, php-format
1318
  msgid ""
1319
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2188
  msgid "Help"
2189
  msgstr ""
2190
 
2191
+ #: includes/event-organiser-venue-functions.php:991
2192
  msgid "Address"
2193
  msgstr "Διέυθυνση"
2194
 
2195
+ #: includes/event-organiser-venue-functions.php:992
2196
  msgid "City"
2197
  msgstr "Πόλη"
2198
 
2199
+ #: includes/event-organiser-venue-functions.php:993
2200
  msgid "State / Province"
2201
  msgstr "Περιοχή"
2202
 
2203
+ #: includes/event-organiser-venue-functions.php:994
2204
  msgid "Post Code"
2205
  msgstr "Ταχυδρομικός Κώδικας"
2206
 
2207
+ #: includes/event-organiser-venue-functions.php:995
2208
  msgid "Country"
2209
  msgstr "Χώρα"
2210
 
languages/eventorganiser-en_CA.mo CHANGED
Binary file
languages/eventorganiser-en_CA.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:17:15+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -643,7 +643,7 @@ msgid "Show dates"
643
  msgstr "Show dates"
644
 
645
  #: event-organiser-edit.php:274
646
- #: includes/event-organiser-venue-functions.php:1015
647
  msgid "Select a venue"
648
  msgstr "Select a venue"
649
 
@@ -1271,22 +1271,22 @@ msgid ""
1271
  "%s."
1272
  msgstr ""
1273
 
1274
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1275
  #, php-format
1276
  msgid "[Lines %1$d-%2$d]"
1277
  msgstr ""
1278
 
1279
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1280
  #, php-format
1281
  msgid "[Line %1$d]"
1282
  msgstr ""
1283
 
1284
- #: includes/class-eo-ical-parser.php:1039
1285
  #, php-format
1286
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1287
  msgstr ""
1288
 
1289
- #: includes/class-eo-ical-parser.php:1077
1290
  #, php-format
1291
  msgid ""
1292
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2108,23 +2108,23 @@ msgstr ""
2108
  msgid "Help"
2109
  msgstr ""
2110
 
2111
- #: includes/event-organiser-venue-functions.php:980
2112
  msgid "Address"
2113
  msgstr ""
2114
 
2115
- #: includes/event-organiser-venue-functions.php:981
2116
  msgid "City"
2117
  msgstr ""
2118
 
2119
- #: includes/event-organiser-venue-functions.php:982
2120
  msgid "State / Province"
2121
  msgstr ""
2122
 
2123
- #: includes/event-organiser-venue-functions.php:983
2124
  msgid "Post Code"
2125
  msgstr ""
2126
 
2127
- #: includes/event-organiser-venue-functions.php:984
2128
  msgid "Country"
2129
  msgstr ""
2130
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:17:15+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
643
  msgstr "Show dates"
644
 
645
  #: event-organiser-edit.php:274
646
+ #: includes/event-organiser-venue-functions.php:1026
647
  msgid "Select a venue"
648
  msgstr "Select a venue"
649
 
1271
  "%s."
1272
  msgstr ""
1273
 
1274
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1275
  #, php-format
1276
  msgid "[Lines %1$d-%2$d]"
1277
  msgstr ""
1278
 
1279
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1280
  #, php-format
1281
  msgid "[Line %1$d]"
1282
  msgstr ""
1283
 
1284
+ #: includes/class-eo-ical-parser.php:1041
1285
  #, php-format
1286
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1287
  msgstr ""
1288
 
1289
+ #: includes/class-eo-ical-parser.php:1079
1290
  #, php-format
1291
  msgid ""
1292
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2108
  msgid "Help"
2109
  msgstr ""
2110
 
2111
+ #: includes/event-organiser-venue-functions.php:991
2112
  msgid "Address"
2113
  msgstr ""
2114
 
2115
+ #: includes/event-organiser-venue-functions.php:992
2116
  msgid "City"
2117
  msgstr ""
2118
 
2119
+ #: includes/event-organiser-venue-functions.php:993
2120
  msgid "State / Province"
2121
  msgstr ""
2122
 
2123
+ #: includes/event-organiser-venue-functions.php:994
2124
  msgid "Post Code"
2125
  msgstr ""
2126
 
2127
+ #: includes/event-organiser-venue-functions.php:995
2128
  msgid "Country"
2129
  msgstr ""
2130
 
languages/eventorganiser-en_GB.mo CHANGED
Binary file
languages/eventorganiser-en_GB.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2016-11-26T14:51:57+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -641,7 +641,7 @@ msgid "Show dates"
641
  msgstr ""
642
 
643
  #: event-organiser-edit.php:274
644
- #: includes/event-organiser-venue-functions.php:1015
645
  msgid "Select a venue"
646
  msgstr ""
647
 
@@ -1252,22 +1252,22 @@ msgid ""
1252
  "%s."
1253
  msgstr ""
1254
 
1255
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1256
  #, php-format
1257
  msgid "[Lines %1$d-%2$d]"
1258
  msgstr ""
1259
 
1260
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1261
  #, php-format
1262
  msgid "[Line %1$d]"
1263
  msgstr ""
1264
 
1265
- #: includes/class-eo-ical-parser.php:1039
1266
  #, php-format
1267
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1268
  msgstr ""
1269
 
1270
- #: includes/class-eo-ical-parser.php:1077
1271
  #, php-format
1272
  msgid ""
1273
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2087,23 +2087,23 @@ msgstr ""
2087
  msgid "Help"
2088
  msgstr ""
2089
 
2090
- #: includes/event-organiser-venue-functions.php:980
2091
  msgid "Address"
2092
  msgstr ""
2093
 
2094
- #: includes/event-organiser-venue-functions.php:981
2095
  msgid "City"
2096
  msgstr ""
2097
 
2098
- #: includes/event-organiser-venue-functions.php:982
2099
  msgid "State / Province"
2100
  msgstr ""
2101
 
2102
- #: includes/event-organiser-venue-functions.php:983
2103
  msgid "Post Code"
2104
  msgstr ""
2105
 
2106
- #: includes/event-organiser-venue-functions.php:984
2107
  msgid "Country"
2108
  msgstr ""
2109
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2016-11-26T14:51:57+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
641
  msgstr ""
642
 
643
  #: event-organiser-edit.php:274
644
+ #: includes/event-organiser-venue-functions.php:1026
645
  msgid "Select a venue"
646
  msgstr ""
647
 
1252
  "%s."
1253
  msgstr ""
1254
 
1255
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1256
  #, php-format
1257
  msgid "[Lines %1$d-%2$d]"
1258
  msgstr ""
1259
 
1260
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1261
  #, php-format
1262
  msgid "[Line %1$d]"
1263
  msgstr ""
1264
 
1265
+ #: includes/class-eo-ical-parser.php:1041
1266
  #, php-format
1267
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1268
  msgstr ""
1269
 
1270
+ #: includes/class-eo-ical-parser.php:1079
1271
  #, php-format
1272
  msgid ""
1273
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2087
  msgid "Help"
2088
  msgstr ""
2089
 
2090
+ #: includes/event-organiser-venue-functions.php:991
2091
  msgid "Address"
2092
  msgstr ""
2093
 
2094
+ #: includes/event-organiser-venue-functions.php:992
2095
  msgid "City"
2096
  msgstr ""
2097
 
2098
+ #: includes/event-organiser-venue-functions.php:993
2099
  msgid "State / Province"
2100
  msgstr ""
2101
 
2102
+ #: includes/event-organiser-venue-functions.php:994
2103
  msgid "Post Code"
2104
  msgstr ""
2105
 
2106
+ #: includes/event-organiser-venue-functions.php:995
2107
  msgid "Country"
2108
  msgstr ""
2109
 
languages/eventorganiser-es_ES.mo CHANGED
Binary file
languages/eventorganiser-es_ES.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2017-04-14T23:01:00+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -649,7 +649,7 @@ msgid "Show dates"
649
  msgstr "Mostrar fechas"
650
 
651
  #: event-organiser-edit.php:274
652
- #: includes/event-organiser-venue-functions.php:1015
653
  msgid "Select a venue"
654
  msgstr "Seleccionar un lugar de encuentro"
655
 
@@ -1297,22 +1297,22 @@ msgid ""
1297
  "%s."
1298
  msgstr ""
1299
 
1300
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1301
  #, php-format
1302
  msgid "[Lines %1$d-%2$d]"
1303
  msgstr "[Líneas %1$d-%2$d]"
1304
 
1305
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1306
  #, php-format
1307
  msgid "[Line %1$d]"
1308
  msgstr "[Línea %1$d]"
1309
 
1310
- #: includes/class-eo-ical-parser.php:1039
1311
  #, php-format
1312
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1313
  msgstr "Fecha inválida \"%s\". Fecha esperada en formato AAAAMMDD."
1314
 
1315
- #: includes/class-eo-ical-parser.php:1077
1316
  #, php-format
1317
  msgid ""
1318
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2187,23 +2187,23 @@ msgstr ""
2187
  msgid "Help"
2188
  msgstr ""
2189
 
2190
- #: includes/event-organiser-venue-functions.php:980
2191
  msgid "Address"
2192
  msgstr "Dirección"
2193
 
2194
- #: includes/event-organiser-venue-functions.php:981
2195
  msgid "City"
2196
  msgstr "Ciudad"
2197
 
2198
- #: includes/event-organiser-venue-functions.php:982
2199
  msgid "State / Province"
2200
  msgstr "Estado/Provincia"
2201
 
2202
- #: includes/event-organiser-venue-functions.php:983
2203
  msgid "Post Code"
2204
  msgstr "Código Postal"
2205
 
2206
- #: includes/event-organiser-venue-functions.php:984
2207
  msgid "Country"
2208
  msgstr "País"
2209
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2017-04-14T23:01:00+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
649
  msgstr "Mostrar fechas"
650
 
651
  #: event-organiser-edit.php:274
652
+ #: includes/event-organiser-venue-functions.php:1026
653
  msgid "Select a venue"
654
  msgstr "Seleccionar un lugar de encuentro"
655
 
1297
  "%s."
1298
  msgstr ""
1299
 
1300
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1301
  #, php-format
1302
  msgid "[Lines %1$d-%2$d]"
1303
  msgstr "[Líneas %1$d-%2$d]"
1304
 
1305
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1306
  #, php-format
1307
  msgid "[Line %1$d]"
1308
  msgstr "[Línea %1$d]"
1309
 
1310
+ #: includes/class-eo-ical-parser.php:1041
1311
  #, php-format
1312
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1313
  msgstr "Fecha inválida \"%s\". Fecha esperada en formato AAAAMMDD."
1314
 
1315
+ #: includes/class-eo-ical-parser.php:1079
1316
  #, php-format
1317
  msgid ""
1318
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2187
  msgid "Help"
2188
  msgstr ""
2189
 
2190
+ #: includes/event-organiser-venue-functions.php:991
2191
  msgid "Address"
2192
  msgstr "Dirección"
2193
 
2194
+ #: includes/event-organiser-venue-functions.php:992
2195
  msgid "City"
2196
  msgstr "Ciudad"
2197
 
2198
+ #: includes/event-organiser-venue-functions.php:993
2199
  msgid "State / Province"
2200
  msgstr "Estado/Provincia"
2201
 
2202
+ #: includes/event-organiser-venue-functions.php:994
2203
  msgid "Post Code"
2204
  msgstr "Código Postal"
2205
 
2206
+ #: includes/event-organiser-venue-functions.php:995
2207
  msgid "Country"
2208
  msgstr "País"
2209
 
languages/eventorganiser-es_PE.mo CHANGED
Binary file
languages/eventorganiser-es_PE.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2017-09-11T22:37:13+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -643,7 +643,7 @@ msgid "Show dates"
643
  msgstr ""
644
 
645
  #: event-organiser-edit.php:274
646
- #: includes/event-organiser-venue-functions.php:1015
647
  msgid "Select a venue"
648
  msgstr ""
649
 
@@ -1254,22 +1254,22 @@ msgid ""
1254
  "%s."
1255
  msgstr ""
1256
 
1257
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1258
  #, php-format
1259
  msgid "[Lines %1$d-%2$d]"
1260
  msgstr ""
1261
 
1262
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1263
  #, php-format
1264
  msgid "[Line %1$d]"
1265
  msgstr ""
1266
 
1267
- #: includes/class-eo-ical-parser.php:1039
1268
  #, php-format
1269
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1270
  msgstr ""
1271
 
1272
- #: includes/class-eo-ical-parser.php:1077
1273
  #, php-format
1274
  msgid ""
1275
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2089,23 +2089,23 @@ msgstr ""
2089
  msgid "Help"
2090
  msgstr ""
2091
 
2092
- #: includes/event-organiser-venue-functions.php:980
2093
  msgid "Address"
2094
  msgstr ""
2095
 
2096
- #: includes/event-organiser-venue-functions.php:981
2097
  msgid "City"
2098
  msgstr ""
2099
 
2100
- #: includes/event-organiser-venue-functions.php:982
2101
  msgid "State / Province"
2102
  msgstr ""
2103
 
2104
- #: includes/event-organiser-venue-functions.php:983
2105
  msgid "Post Code"
2106
  msgstr ""
2107
 
2108
- #: includes/event-organiser-venue-functions.php:984
2109
  msgid "Country"
2110
  msgstr ""
2111
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2017-09-11T22:37:13+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
643
  msgstr ""
644
 
645
  #: event-organiser-edit.php:274
646
+ #: includes/event-organiser-venue-functions.php:1026
647
  msgid "Select a venue"
648
  msgstr ""
649
 
1254
  "%s."
1255
  msgstr ""
1256
 
1257
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1258
  #, php-format
1259
  msgid "[Lines %1$d-%2$d]"
1260
  msgstr ""
1261
 
1262
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1263
  #, php-format
1264
  msgid "[Line %1$d]"
1265
  msgstr ""
1266
 
1267
+ #: includes/class-eo-ical-parser.php:1041
1268
  #, php-format
1269
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1270
  msgstr ""
1271
 
1272
+ #: includes/class-eo-ical-parser.php:1079
1273
  #, php-format
1274
  msgid ""
1275
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2089
  msgid "Help"
2090
  msgstr ""
2091
 
2092
+ #: includes/event-organiser-venue-functions.php:991
2093
  msgid "Address"
2094
  msgstr ""
2095
 
2096
+ #: includes/event-organiser-venue-functions.php:992
2097
  msgid "City"
2098
  msgstr ""
2099
 
2100
+ #: includes/event-organiser-venue-functions.php:993
2101
  msgid "State / Province"
2102
  msgstr ""
2103
 
2104
+ #: includes/event-organiser-venue-functions.php:994
2105
  msgid "Post Code"
2106
  msgstr ""
2107
 
2108
+ #: includes/event-organiser-venue-functions.php:995
2109
  msgid "Country"
2110
  msgstr ""
2111
 
languages/eventorganiser-et.mo CHANGED
Binary file
languages/eventorganiser-et.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:17:05+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -642,7 +642,7 @@ msgid "Show dates"
642
  msgstr "Näita kuupäevi"
643
 
644
  #: event-organiser-edit.php:274
645
- #: includes/event-organiser-venue-functions.php:1015
646
  msgid "Select a venue"
647
  msgstr "Vali toimumispaik"
648
 
@@ -1269,23 +1269,23 @@ msgid ""
1269
  "%s."
1270
  msgstr ""
1271
 
1272
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1273
  #, php-format
1274
  msgid "[Lines %1$d-%2$d]"
1275
  msgstr "[Read %1$d-%2$d]"
1276
 
1277
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1278
  #, php-format
1279
  msgid "[Line %1$d]"
1280
  msgstr "[Rida %1$d]"
1281
 
1282
- #: includes/class-eo-ical-parser.php:1039
1283
  #, php-format
1284
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1285
  msgstr ""
1286
  "Vale kuupäeva formaat \"%s\". Oodatud kuupäeva formaat: YYYYMMDD format."
1287
 
1288
- #: includes/class-eo-ical-parser.php:1077
1289
  #, php-format
1290
  msgid ""
1291
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2155,23 +2155,23 @@ msgstr ""
2155
  msgid "Help"
2156
  msgstr ""
2157
 
2158
- #: includes/event-organiser-venue-functions.php:980
2159
  msgid "Address"
2160
  msgstr "Aadress"
2161
 
2162
- #: includes/event-organiser-venue-functions.php:981
2163
  msgid "City"
2164
  msgstr "Linn"
2165
 
2166
- #: includes/event-organiser-venue-functions.php:982
2167
  msgid "State / Province"
2168
  msgstr "Maakond"
2169
 
2170
- #: includes/event-organiser-venue-functions.php:983
2171
  msgid "Post Code"
2172
  msgstr "Postiindeks"
2173
 
2174
- #: includes/event-organiser-venue-functions.php:984
2175
  msgid "Country"
2176
  msgstr "Riik"
2177
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:17:05+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
642
  msgstr "Näita kuupäevi"
643
 
644
  #: event-organiser-edit.php:274
645
+ #: includes/event-organiser-venue-functions.php:1026
646
  msgid "Select a venue"
647
  msgstr "Vali toimumispaik"
648
 
1269
  "%s."
1270
  msgstr ""
1271
 
1272
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1273
  #, php-format
1274
  msgid "[Lines %1$d-%2$d]"
1275
  msgstr "[Read %1$d-%2$d]"
1276
 
1277
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1278
  #, php-format
1279
  msgid "[Line %1$d]"
1280
  msgstr "[Rida %1$d]"
1281
 
1282
+ #: includes/class-eo-ical-parser.php:1041
1283
  #, php-format
1284
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1285
  msgstr ""
1286
  "Vale kuupäeva formaat \"%s\". Oodatud kuupäeva formaat: YYYYMMDD format."
1287
 
1288
+ #: includes/class-eo-ical-parser.php:1079
1289
  #, php-format
1290
  msgid ""
1291
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2155
  msgid "Help"
2156
  msgstr ""
2157
 
2158
+ #: includes/event-organiser-venue-functions.php:991
2159
  msgid "Address"
2160
  msgstr "Aadress"
2161
 
2162
+ #: includes/event-organiser-venue-functions.php:992
2163
  msgid "City"
2164
  msgstr "Linn"
2165
 
2166
+ #: includes/event-organiser-venue-functions.php:993
2167
  msgid "State / Province"
2168
  msgstr "Maakond"
2169
 
2170
+ #: includes/event-organiser-venue-functions.php:994
2171
  msgid "Post Code"
2172
  msgstr "Postiindeks"
2173
 
2174
+ #: includes/event-organiser-venue-functions.php:995
2175
  msgid "Country"
2176
  msgstr "Riik"
2177
 
languages/eventorganiser-fa_IR.mo CHANGED
Binary file
languages/eventorganiser-fa_IR.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:17:02+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -642,7 +642,7 @@ msgid "Show dates"
642
  msgstr "نمایش تاریخ‌ها"
643
 
644
  #: event-organiser-edit.php:274
645
- #: includes/event-organiser-venue-functions.php:1015
646
  msgid "Select a venue"
647
  msgstr "انتخاب مکان"
648
 
@@ -1253,22 +1253,22 @@ msgid ""
1253
  "%s."
1254
  msgstr ""
1255
 
1256
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1257
  #, php-format
1258
  msgid "[Lines %1$d-%2$d]"
1259
  msgstr "[خط‌های %1$d-%2$d]"
1260
 
1261
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1262
  #, php-format
1263
  msgid "[Line %1$d]"
1264
  msgstr "[خط %1$d]"
1265
 
1266
- #: includes/class-eo-ical-parser.php:1039
1267
  #, php-format
1268
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1269
  msgstr ""
1270
 
1271
- #: includes/class-eo-ical-parser.php:1077
1272
  #, php-format
1273
  msgid ""
1274
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2090,23 +2090,23 @@ msgstr ""
2090
  msgid "Help"
2091
  msgstr ""
2092
 
2093
- #: includes/event-organiser-venue-functions.php:980
2094
  msgid "Address"
2095
  msgstr "آدرس"
2096
 
2097
- #: includes/event-organiser-venue-functions.php:981
2098
  msgid "City"
2099
  msgstr "شهر"
2100
 
2101
- #: includes/event-organiser-venue-functions.php:982
2102
  msgid "State / Province"
2103
  msgstr "استان"
2104
 
2105
- #: includes/event-organiser-venue-functions.php:983
2106
  msgid "Post Code"
2107
  msgstr "کدپستی"
2108
 
2109
- #: includes/event-organiser-venue-functions.php:984
2110
  msgid "Country"
2111
  msgstr "کشور"
2112
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:17:02+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
642
  msgstr "نمایش تاریخ‌ها"
643
 
644
  #: event-organiser-edit.php:274
645
+ #: includes/event-organiser-venue-functions.php:1026
646
  msgid "Select a venue"
647
  msgstr "انتخاب مکان"
648
 
1253
  "%s."
1254
  msgstr ""
1255
 
1256
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1257
  #, php-format
1258
  msgid "[Lines %1$d-%2$d]"
1259
  msgstr "[خط‌های %1$d-%2$d]"
1260
 
1261
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1262
  #, php-format
1263
  msgid "[Line %1$d]"
1264
  msgstr "[خط %1$d]"
1265
 
1266
+ #: includes/class-eo-ical-parser.php:1041
1267
  #, php-format
1268
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1269
  msgstr ""
1270
 
1271
+ #: includes/class-eo-ical-parser.php:1079
1272
  #, php-format
1273
  msgid ""
1274
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2090
  msgid "Help"
2091
  msgstr ""
2092
 
2093
+ #: includes/event-organiser-venue-functions.php:991
2094
  msgid "Address"
2095
  msgstr "آدرس"
2096
 
2097
+ #: includes/event-organiser-venue-functions.php:992
2098
  msgid "City"
2099
  msgstr "شهر"
2100
 
2101
+ #: includes/event-organiser-venue-functions.php:993
2102
  msgid "State / Province"
2103
  msgstr "استان"
2104
 
2105
+ #: includes/event-organiser-venue-functions.php:994
2106
  msgid "Post Code"
2107
  msgstr "کدپستی"
2108
 
2109
+ #: includes/event-organiser-venue-functions.php:995
2110
  msgid "Country"
2111
  msgstr "کشور"
2112
 
languages/eventorganiser-fi.mo CHANGED
Binary file
languages/eventorganiser-fi.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2017-08-31T14:17:32+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -646,7 +646,7 @@ msgid "Show dates"
646
  msgstr "Näytä päivämäärät"
647
 
648
  #: event-organiser-edit.php:274
649
- #: includes/event-organiser-venue-functions.php:1015
650
  msgid "Select a venue"
651
  msgstr "Valitse tapahtumapaikka"
652
 
@@ -1275,22 +1275,22 @@ msgid ""
1275
  "%s."
1276
  msgstr ""
1277
 
1278
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1279
  #, php-format
1280
  msgid "[Lines %1$d-%2$d]"
1281
  msgstr ""
1282
 
1283
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1284
  #, php-format
1285
  msgid "[Line %1$d]"
1286
  msgstr ""
1287
 
1288
- #: includes/class-eo-ical-parser.php:1039
1289
  #, php-format
1290
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1291
  msgstr ""
1292
 
1293
- #: includes/class-eo-ical-parser.php:1077
1294
  #, php-format
1295
  msgid ""
1296
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2165,23 +2165,23 @@ msgstr ""
2165
  msgid "Help"
2166
  msgstr ""
2167
 
2168
- #: includes/event-organiser-venue-functions.php:980
2169
  msgid "Address"
2170
  msgstr "Osoite"
2171
 
2172
- #: includes/event-organiser-venue-functions.php:981
2173
  msgid "City"
2174
  msgstr "Kaupunki"
2175
 
2176
- #: includes/event-organiser-venue-functions.php:982
2177
  msgid "State / Province"
2178
  msgstr "Osavaltio / lääni"
2179
 
2180
- #: includes/event-organiser-venue-functions.php:983
2181
  msgid "Post Code"
2182
  msgstr "Postinumero"
2183
 
2184
- #: includes/event-organiser-venue-functions.php:984
2185
  msgid "Country"
2186
  msgstr "Maa"
2187
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2017-08-31T14:17:32+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
646
  msgstr "Näytä päivämäärät"
647
 
648
  #: event-organiser-edit.php:274
649
+ #: includes/event-organiser-venue-functions.php:1026
650
  msgid "Select a venue"
651
  msgstr "Valitse tapahtumapaikka"
652
 
1275
  "%s."
1276
  msgstr ""
1277
 
1278
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1279
  #, php-format
1280
  msgid "[Lines %1$d-%2$d]"
1281
  msgstr ""
1282
 
1283
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1284
  #, php-format
1285
  msgid "[Line %1$d]"
1286
  msgstr ""
1287
 
1288
+ #: includes/class-eo-ical-parser.php:1041
1289
  #, php-format
1290
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1291
  msgstr ""
1292
 
1293
+ #: includes/class-eo-ical-parser.php:1079
1294
  #, php-format
1295
  msgid ""
1296
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2165
  msgid "Help"
2166
  msgstr ""
2167
 
2168
+ #: includes/event-organiser-venue-functions.php:991
2169
  msgid "Address"
2170
  msgstr "Osoite"
2171
 
2172
+ #: includes/event-organiser-venue-functions.php:992
2173
  msgid "City"
2174
  msgstr "Kaupunki"
2175
 
2176
+ #: includes/event-organiser-venue-functions.php:993
2177
  msgid "State / Province"
2178
  msgstr "Osavaltio / lääni"
2179
 
2180
+ #: includes/event-organiser-venue-functions.php:994
2181
  msgid "Post Code"
2182
  msgstr "Postinumero"
2183
 
2184
+ #: includes/event-organiser-venue-functions.php:995
2185
  msgid "Country"
2186
  msgstr "Maa"
2187
 
languages/eventorganiser-fr_FR.mo CHANGED
Binary file
languages/eventorganiser-fr_FR.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2017-10-31T18:44:38+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -665,7 +665,7 @@ msgid "Show dates"
665
  msgstr "Afficher les dates"
666
 
667
  #: event-organiser-edit.php:274
668
- #: includes/event-organiser-venue-functions.php:1015
669
  msgid "Select a venue"
670
  msgstr "Choisir un lieu"
671
 
@@ -1336,22 +1336,22 @@ msgstr ""
1336
  "Le flux contient un événement répété indéfiniment. Cet événement se répétera "
1337
  "jusqu'à %s."
1338
 
1339
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1340
  #, php-format
1341
  msgid "[Lines %1$d-%2$d]"
1342
  msgstr "[Lignes %1$d-%2$d]"
1343
 
1344
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1345
  #, php-format
1346
  msgid "[Line %1$d]"
1347
  msgstr "[Ligne %1$d]"
1348
 
1349
- #: includes/class-eo-ical-parser.php:1039
1350
  #, php-format
1351
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1352
  msgstr "Date invalide \"%s\". Date attendue dans le format YYYYMMDD."
1353
 
1354
- #: includes/class-eo-ical-parser.php:1077
1355
  #, php-format
1356
  msgid ""
1357
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2243,23 +2243,23 @@ msgstr ""
2243
  msgid "Help"
2244
  msgstr "Aide"
2245
 
2246
- #: includes/event-organiser-venue-functions.php:980
2247
  msgid "Address"
2248
  msgstr "Adresse"
2249
 
2250
- #: includes/event-organiser-venue-functions.php:981
2251
  msgid "City"
2252
  msgstr "Ville"
2253
 
2254
- #: includes/event-organiser-venue-functions.php:982
2255
  msgid "State / Province"
2256
  msgstr "État / Province"
2257
 
2258
- #: includes/event-organiser-venue-functions.php:983
2259
  msgid "Post Code"
2260
  msgstr "Code postal"
2261
 
2262
- #: includes/event-organiser-venue-functions.php:984
2263
  msgid "Country"
2264
  msgstr "Pays"
2265
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2017-10-31T18:44:38+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
665
  msgstr "Afficher les dates"
666
 
667
  #: event-organiser-edit.php:274
668
+ #: includes/event-organiser-venue-functions.php:1026
669
  msgid "Select a venue"
670
  msgstr "Choisir un lieu"
671
 
1336
  "Le flux contient un événement répété indéfiniment. Cet événement se répétera "
1337
  "jusqu'à %s."
1338
 
1339
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1340
  #, php-format
1341
  msgid "[Lines %1$d-%2$d]"
1342
  msgstr "[Lignes %1$d-%2$d]"
1343
 
1344
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1345
  #, php-format
1346
  msgid "[Line %1$d]"
1347
  msgstr "[Ligne %1$d]"
1348
 
1349
+ #: includes/class-eo-ical-parser.php:1041
1350
  #, php-format
1351
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1352
  msgstr "Date invalide \"%s\". Date attendue dans le format YYYYMMDD."
1353
 
1354
+ #: includes/class-eo-ical-parser.php:1079
1355
  #, php-format
1356
  msgid ""
1357
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2243
  msgid "Help"
2244
  msgstr "Aide"
2245
 
2246
+ #: includes/event-organiser-venue-functions.php:991
2247
  msgid "Address"
2248
  msgstr "Adresse"
2249
 
2250
+ #: includes/event-organiser-venue-functions.php:992
2251
  msgid "City"
2252
  msgstr "Ville"
2253
 
2254
+ #: includes/event-organiser-venue-functions.php:993
2255
  msgid "State / Province"
2256
  msgstr "État / Province"
2257
 
2258
+ #: includes/event-organiser-venue-functions.php:994
2259
  msgid "Post Code"
2260
  msgstr "Code postal"
2261
 
2262
+ #: includes/event-organiser-venue-functions.php:995
2263
  msgid "Country"
2264
  msgstr "Pays"
2265
 
languages/eventorganiser-he_IL.mo CHANGED
Binary file
languages/eventorganiser-he_IL.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:16:48+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -646,7 +646,7 @@ msgid "Show dates"
646
  msgstr "הצג תאריכים"
647
 
648
  #: event-organiser-edit.php:274
649
- #: includes/event-organiser-venue-functions.php:1015
650
  msgid "Select a venue"
651
  msgstr "בחר מיקום"
652
 
@@ -1277,22 +1277,22 @@ msgid ""
1277
  "%s."
1278
  msgstr ""
1279
 
1280
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1281
  #, php-format
1282
  msgid "[Lines %1$d-%2$d]"
1283
  msgstr "[שורות %1$d-%2$d]"
1284
 
1285
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1286
  #, php-format
1287
  msgid "[Line %1$d]"
1288
  msgstr "[שורה %1$d]"
1289
 
1290
- #: includes/class-eo-ical-parser.php:1039
1291
  #, php-format
1292
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1293
  msgstr "תאריך לא חוקי \"%s\". אנא השתמש בתבנית הבאה: YYYYMMDD."
1294
 
1295
- #: includes/class-eo-ical-parser.php:1077
1296
  #, php-format
1297
  msgid ""
1298
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2154,23 +2154,23 @@ msgstr ""
2154
  msgid "Help"
2155
  msgstr ""
2156
 
2157
- #: includes/event-organiser-venue-functions.php:980
2158
  msgid "Address"
2159
  msgstr "כתובת"
2160
 
2161
- #: includes/event-organiser-venue-functions.php:981
2162
  msgid "City"
2163
  msgstr "עיר"
2164
 
2165
- #: includes/event-organiser-venue-functions.php:982
2166
  msgid "State / Province"
2167
  msgstr "מחוז"
2168
 
2169
- #: includes/event-organiser-venue-functions.php:983
2170
  msgid "Post Code"
2171
  msgstr "מיקוד"
2172
 
2173
- #: includes/event-organiser-venue-functions.php:984
2174
  msgid "Country"
2175
  msgstr "עיר"
2176
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:16:48+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
646
  msgstr "הצג תאריכים"
647
 
648
  #: event-organiser-edit.php:274
649
+ #: includes/event-organiser-venue-functions.php:1026
650
  msgid "Select a venue"
651
  msgstr "בחר מיקום"
652
 
1277
  "%s."
1278
  msgstr ""
1279
 
1280
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1281
  #, php-format
1282
  msgid "[Lines %1$d-%2$d]"
1283
  msgstr "[שורות %1$d-%2$d]"
1284
 
1285
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1286
  #, php-format
1287
  msgid "[Line %1$d]"
1288
  msgstr "[שורה %1$d]"
1289
 
1290
+ #: includes/class-eo-ical-parser.php:1041
1291
  #, php-format
1292
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1293
  msgstr "תאריך לא חוקי \"%s\". אנא השתמש בתבנית הבאה: YYYYMMDD."
1294
 
1295
+ #: includes/class-eo-ical-parser.php:1079
1296
  #, php-format
1297
  msgid ""
1298
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2154
  msgid "Help"
2155
  msgstr ""
2156
 
2157
+ #: includes/event-organiser-venue-functions.php:991
2158
  msgid "Address"
2159
  msgstr "כתובת"
2160
 
2161
+ #: includes/event-organiser-venue-functions.php:992
2162
  msgid "City"
2163
  msgstr "עיר"
2164
 
2165
+ #: includes/event-organiser-venue-functions.php:993
2166
  msgid "State / Province"
2167
  msgstr "מחוז"
2168
 
2169
+ #: includes/event-organiser-venue-functions.php:994
2170
  msgid "Post Code"
2171
  msgstr "מיקוד"
2172
 
2173
+ #: includes/event-organiser-venue-functions.php:995
2174
  msgid "Country"
2175
  msgstr "עיר"
2176
 
languages/eventorganiser-hi_IN.mo CHANGED
Binary file
languages/eventorganiser-hi_IN.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:16:43+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -641,7 +641,7 @@ msgid "Show dates"
641
  msgstr ""
642
 
643
  #: event-organiser-edit.php:274
644
- #: includes/event-organiser-venue-functions.php:1015
645
  msgid "Select a venue"
646
  msgstr ""
647
 
@@ -1253,22 +1253,22 @@ msgid ""
1253
  "%s."
1254
  msgstr ""
1255
 
1256
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1257
  #, php-format
1258
  msgid "[Lines %1$d-%2$d]"
1259
  msgstr ""
1260
 
1261
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1262
  #, php-format
1263
  msgid "[Line %1$d]"
1264
  msgstr ""
1265
 
1266
- #: includes/class-eo-ical-parser.php:1039
1267
  #, php-format
1268
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1269
  msgstr ""
1270
 
1271
- #: includes/class-eo-ical-parser.php:1077
1272
  #, php-format
1273
  msgid ""
1274
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2088,27 +2088,27 @@ msgstr ""
2088
  msgid "Help"
2089
  msgstr ""
2090
 
2091
- #: includes/event-organiser-venue-functions.php:980
2092
  #, fuzzy
2093
  msgid "Address"
2094
  msgstr "पता"
2095
 
2096
- #: includes/event-organiser-venue-functions.php:981
2097
  #, fuzzy
2098
  msgid "City"
2099
  msgstr "शहर"
2100
 
2101
- #: includes/event-organiser-venue-functions.php:982
2102
  #, fuzzy
2103
  msgid "State / Province"
2104
  msgstr "राज्य / प्रांत"
2105
 
2106
- #: includes/event-organiser-venue-functions.php:983
2107
  #, fuzzy
2108
  msgid "Post Code"
2109
  msgstr "पोस्ट कोड"
2110
 
2111
- #: includes/event-organiser-venue-functions.php:984
2112
  #, fuzzy
2113
  msgid "Country"
2114
  msgstr "देश"
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:16:43+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
641
  msgstr ""
642
 
643
  #: event-organiser-edit.php:274
644
+ #: includes/event-organiser-venue-functions.php:1026
645
  msgid "Select a venue"
646
  msgstr ""
647
 
1253
  "%s."
1254
  msgstr ""
1255
 
1256
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1257
  #, php-format
1258
  msgid "[Lines %1$d-%2$d]"
1259
  msgstr ""
1260
 
1261
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1262
  #, php-format
1263
  msgid "[Line %1$d]"
1264
  msgstr ""
1265
 
1266
+ #: includes/class-eo-ical-parser.php:1041
1267
  #, php-format
1268
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1269
  msgstr ""
1270
 
1271
+ #: includes/class-eo-ical-parser.php:1079
1272
  #, php-format
1273
  msgid ""
1274
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2088
  msgid "Help"
2089
  msgstr ""
2090
 
2091
+ #: includes/event-organiser-venue-functions.php:991
2092
  #, fuzzy
2093
  msgid "Address"
2094
  msgstr "पता"
2095
 
2096
+ #: includes/event-organiser-venue-functions.php:992
2097
  #, fuzzy
2098
  msgid "City"
2099
  msgstr "शहर"
2100
 
2101
+ #: includes/event-organiser-venue-functions.php:993
2102
  #, fuzzy
2103
  msgid "State / Province"
2104
  msgstr "राज्य / प्रांत"
2105
 
2106
+ #: includes/event-organiser-venue-functions.php:994
2107
  #, fuzzy
2108
  msgid "Post Code"
2109
  msgstr "पोस्ट कोड"
2110
 
2111
+ #: includes/event-organiser-venue-functions.php:995
2112
  #, fuzzy
2113
  msgid "Country"
2114
  msgstr "देश"
languages/eventorganiser-hr.mo CHANGED
Binary file
languages/eventorganiser-hr.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2017-04-14T22:58:58+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -647,7 +647,7 @@ msgid "Show dates"
647
  msgstr "prikaži datume"
648
 
649
  #: event-organiser-edit.php:274
650
- #: includes/event-organiser-venue-functions.php:1015
651
  msgid "Select a venue"
652
  msgstr "Izaberi sastajalište"
653
 
@@ -1276,22 +1276,22 @@ msgid ""
1276
  "%s."
1277
  msgstr ""
1278
 
1279
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1280
  #, php-format
1281
  msgid "[Lines %1$d-%2$d]"
1282
  msgstr ""
1283
 
1284
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1285
  #, php-format
1286
  msgid "[Line %1$d]"
1287
  msgstr ""
1288
 
1289
- #: includes/class-eo-ical-parser.php:1039
1290
  #, php-format
1291
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1292
  msgstr ""
1293
 
1294
- #: includes/class-eo-ical-parser.php:1077
1295
  #, php-format
1296
  msgid ""
1297
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2161,23 +2161,23 @@ msgstr ""
2161
  msgid "Help"
2162
  msgstr ""
2163
 
2164
- #: includes/event-organiser-venue-functions.php:980
2165
  msgid "Address"
2166
  msgstr "Adresa"
2167
 
2168
- #: includes/event-organiser-venue-functions.php:981
2169
  msgid "City"
2170
  msgstr "Grad"
2171
 
2172
- #: includes/event-organiser-venue-functions.php:982
2173
  msgid "State / Province"
2174
  msgstr "Država/pokrajna"
2175
 
2176
- #: includes/event-organiser-venue-functions.php:983
2177
  msgid "Post Code"
2178
  msgstr "Poštanski broj"
2179
 
2180
- #: includes/event-organiser-venue-functions.php:984
2181
  msgid "Country"
2182
  msgstr "Država"
2183
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2017-04-14T22:58:58+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
647
  msgstr "prikaži datume"
648
 
649
  #: event-organiser-edit.php:274
650
+ #: includes/event-organiser-venue-functions.php:1026
651
  msgid "Select a venue"
652
  msgstr "Izaberi sastajalište"
653
 
1276
  "%s."
1277
  msgstr ""
1278
 
1279
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1280
  #, php-format
1281
  msgid "[Lines %1$d-%2$d]"
1282
  msgstr ""
1283
 
1284
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1285
  #, php-format
1286
  msgid "[Line %1$d]"
1287
  msgstr ""
1288
 
1289
+ #: includes/class-eo-ical-parser.php:1041
1290
  #, php-format
1291
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1292
  msgstr ""
1293
 
1294
+ #: includes/class-eo-ical-parser.php:1079
1295
  #, php-format
1296
  msgid ""
1297
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2161
  msgid "Help"
2162
  msgstr ""
2163
 
2164
+ #: includes/event-organiser-venue-functions.php:991
2165
  msgid "Address"
2166
  msgstr "Adresa"
2167
 
2168
+ #: includes/event-organiser-venue-functions.php:992
2169
  msgid "City"
2170
  msgstr "Grad"
2171
 
2172
+ #: includes/event-organiser-venue-functions.php:993
2173
  msgid "State / Province"
2174
  msgstr "Država/pokrajna"
2175
 
2176
+ #: includes/event-organiser-venue-functions.php:994
2177
  msgid "Post Code"
2178
  msgstr "Poštanski broj"
2179
 
2180
+ #: includes/event-organiser-venue-functions.php:995
2181
  msgid "Country"
2182
  msgstr "Država"
2183
 
languages/eventorganiser-hu_HU.mo CHANGED
Binary file
languages/eventorganiser-hu_HU.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2017-04-17T13:13:03+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -642,7 +642,7 @@ msgid "Show dates"
642
  msgstr ""
643
 
644
  #: event-organiser-edit.php:274
645
- #: includes/event-organiser-venue-functions.php:1015
646
  msgid "Select a venue"
647
  msgstr "Helyszín kiválasztása"
648
 
@@ -1272,22 +1272,22 @@ msgid ""
1272
  "%s."
1273
  msgstr ""
1274
 
1275
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1276
  #, php-format
1277
  msgid "[Lines %1$d-%2$d]"
1278
  msgstr ""
1279
 
1280
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1281
  #, php-format
1282
  msgid "[Line %1$d]"
1283
  msgstr ""
1284
 
1285
- #: includes/class-eo-ical-parser.php:1039
1286
  #, php-format
1287
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1288
  msgstr ""
1289
 
1290
- #: includes/class-eo-ical-parser.php:1077
1291
  #, php-format
1292
  msgid ""
1293
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2162,23 +2162,23 @@ msgstr ""
2162
  msgid "Help"
2163
  msgstr ""
2164
 
2165
- #: includes/event-organiser-venue-functions.php:980
2166
  msgid "Address"
2167
  msgstr "Cím"
2168
 
2169
- #: includes/event-organiser-venue-functions.php:981
2170
  msgid "City"
2171
  msgstr "Város"
2172
 
2173
- #: includes/event-organiser-venue-functions.php:982
2174
  msgid "State / Province"
2175
  msgstr "Állam / Megye"
2176
 
2177
- #: includes/event-organiser-venue-functions.php:983
2178
  msgid "Post Code"
2179
  msgstr "Irányítószám"
2180
 
2181
- #: includes/event-organiser-venue-functions.php:984
2182
  msgid "Country"
2183
  msgstr "Város"
2184
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2017-04-17T13:13:03+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
642
  msgstr ""
643
 
644
  #: event-organiser-edit.php:274
645
+ #: includes/event-organiser-venue-functions.php:1026
646
  msgid "Select a venue"
647
  msgstr "Helyszín kiválasztása"
648
 
1272
  "%s."
1273
  msgstr ""
1274
 
1275
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1276
  #, php-format
1277
  msgid "[Lines %1$d-%2$d]"
1278
  msgstr ""
1279
 
1280
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1281
  #, php-format
1282
  msgid "[Line %1$d]"
1283
  msgstr ""
1284
 
1285
+ #: includes/class-eo-ical-parser.php:1041
1286
  #, php-format
1287
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1288
  msgstr ""
1289
 
1290
+ #: includes/class-eo-ical-parser.php:1079
1291
  #, php-format
1292
  msgid ""
1293
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2162
  msgid "Help"
2163
  msgstr ""
2164
 
2165
+ #: includes/event-organiser-venue-functions.php:991
2166
  msgid "Address"
2167
  msgstr "Cím"
2168
 
2169
+ #: includes/event-organiser-venue-functions.php:992
2170
  msgid "City"
2171
  msgstr "Város"
2172
 
2173
+ #: includes/event-organiser-venue-functions.php:993
2174
  msgid "State / Province"
2175
  msgstr "Állam / Megye"
2176
 
2177
+ #: includes/event-organiser-venue-functions.php:994
2178
  msgid "Post Code"
2179
  msgstr "Irányítószám"
2180
 
2181
+ #: includes/event-organiser-venue-functions.php:995
2182
  msgid "Country"
2183
  msgstr "Város"
2184
 
languages/eventorganiser-id_ID.mo CHANGED
Binary file
languages/eventorganiser-id_ID.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2017-08-19T03:46:46+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -641,7 +641,7 @@ msgid "Show dates"
641
  msgstr ""
642
 
643
  #: event-organiser-edit.php:274
644
- #: includes/event-organiser-venue-functions.php:1015
645
  msgid "Select a venue"
646
  msgstr ""
647
 
@@ -1252,22 +1252,22 @@ msgid ""
1252
  "%s."
1253
  msgstr ""
1254
 
1255
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1256
  #, php-format
1257
  msgid "[Lines %1$d-%2$d]"
1258
  msgstr ""
1259
 
1260
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1261
  #, php-format
1262
  msgid "[Line %1$d]"
1263
  msgstr ""
1264
 
1265
- #: includes/class-eo-ical-parser.php:1039
1266
  #, php-format
1267
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1268
  msgstr ""
1269
 
1270
- #: includes/class-eo-ical-parser.php:1077
1271
  #, php-format
1272
  msgid ""
1273
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2094,23 +2094,23 @@ msgstr ""
2094
  msgid "Help"
2095
  msgstr ""
2096
 
2097
- #: includes/event-organiser-venue-functions.php:980
2098
  msgid "Address"
2099
  msgstr "Alamat"
2100
 
2101
- #: includes/event-organiser-venue-functions.php:981
2102
  msgid "City"
2103
  msgstr "Kota"
2104
 
2105
- #: includes/event-organiser-venue-functions.php:982
2106
  msgid "State / Province"
2107
  msgstr "Propinsi"
2108
 
2109
- #: includes/event-organiser-venue-functions.php:983
2110
  msgid "Post Code"
2111
  msgstr "Kode Pos"
2112
 
2113
- #: includes/event-organiser-venue-functions.php:984
2114
  msgid "Country"
2115
  msgstr "Negara"
2116
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2017-08-19T03:46:46+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
641
  msgstr ""
642
 
643
  #: event-organiser-edit.php:274
644
+ #: includes/event-organiser-venue-functions.php:1026
645
  msgid "Select a venue"
646
  msgstr ""
647
 
1252
  "%s."
1253
  msgstr ""
1254
 
1255
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1256
  #, php-format
1257
  msgid "[Lines %1$d-%2$d]"
1258
  msgstr ""
1259
 
1260
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1261
  #, php-format
1262
  msgid "[Line %1$d]"
1263
  msgstr ""
1264
 
1265
+ #: includes/class-eo-ical-parser.php:1041
1266
  #, php-format
1267
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1268
  msgstr ""
1269
 
1270
+ #: includes/class-eo-ical-parser.php:1079
1271
  #, php-format
1272
  msgid ""
1273
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2094
  msgid "Help"
2095
  msgstr ""
2096
 
2097
+ #: includes/event-organiser-venue-functions.php:991
2098
  msgid "Address"
2099
  msgstr "Alamat"
2100
 
2101
+ #: includes/event-organiser-venue-functions.php:992
2102
  msgid "City"
2103
  msgstr "Kota"
2104
 
2105
+ #: includes/event-organiser-venue-functions.php:993
2106
  msgid "State / Province"
2107
  msgstr "Propinsi"
2108
 
2109
+ #: includes/event-organiser-venue-functions.php:994
2110
  msgid "Post Code"
2111
  msgstr "Kode Pos"
2112
 
2113
+ #: includes/event-organiser-venue-functions.php:995
2114
  msgid "Country"
2115
  msgstr "Negara"
2116
 
languages/eventorganiser-is_IS.mo CHANGED
Binary file
languages/eventorganiser-is_IS.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2016-12-06T20:43:36+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -659,7 +659,7 @@ msgid "Show dates"
659
  msgstr "Sýna færri"
660
 
661
  #: event-organiser-edit.php:274
662
- #: includes/event-organiser-venue-functions.php:1015
663
  msgid "Select a venue"
664
  msgstr "Velja staðsetningu"
665
 
@@ -1306,22 +1306,22 @@ msgstr ""
1306
  "Viðburður sem á að endurtakast óendanlega er til staðar. Hann kemur til með "
1307
  "að endurtakast til %s."
1308
 
1309
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1310
  #, php-format
1311
  msgid "[Lines %1$d-%2$d]"
1312
  msgstr "[Línur %1$d-%2$d]"
1313
 
1314
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1315
  #, php-format
1316
  msgid "[Line %1$d]"
1317
  msgstr "[Lína %1$d]"
1318
 
1319
- #: includes/class-eo-ical-parser.php:1039
1320
  #, php-format
1321
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1322
  msgstr "Ógild dagsetning \"%s\". Búst er við henni á forminu ÁÁÁÁMMDD."
1323
 
1324
- #: includes/class-eo-ical-parser.php:1077
1325
  #, php-format
1326
  msgid ""
1327
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2194,23 +2194,23 @@ msgstr ""
2194
  msgid "Help"
2195
  msgstr "Aðstoð"
2196
 
2197
- #: includes/event-organiser-venue-functions.php:980
2198
  msgid "Address"
2199
  msgstr ""
2200
 
2201
- #: includes/event-organiser-venue-functions.php:981
2202
  msgid "City"
2203
  msgstr ""
2204
 
2205
- #: includes/event-organiser-venue-functions.php:982
2206
  msgid "State / Province"
2207
  msgstr "Svæði"
2208
 
2209
- #: includes/event-organiser-venue-functions.php:983
2210
  msgid "Post Code"
2211
  msgstr "Póstnúmer"
2212
 
2213
- #: includes/event-organiser-venue-functions.php:984
2214
  msgid "Country"
2215
  msgstr ""
2216
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2016-12-06T20:43:36+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
659
  msgstr "Sýna færri"
660
 
661
  #: event-organiser-edit.php:274
662
+ #: includes/event-organiser-venue-functions.php:1026
663
  msgid "Select a venue"
664
  msgstr "Velja staðsetningu"
665
 
1306
  "Viðburður sem á að endurtakast óendanlega er til staðar. Hann kemur til með "
1307
  "að endurtakast til %s."
1308
 
1309
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1310
  #, php-format
1311
  msgid "[Lines %1$d-%2$d]"
1312
  msgstr "[Línur %1$d-%2$d]"
1313
 
1314
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1315
  #, php-format
1316
  msgid "[Line %1$d]"
1317
  msgstr "[Lína %1$d]"
1318
 
1319
+ #: includes/class-eo-ical-parser.php:1041
1320
  #, php-format
1321
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1322
  msgstr "Ógild dagsetning \"%s\". Búst er við henni á forminu ÁÁÁÁMMDD."
1323
 
1324
+ #: includes/class-eo-ical-parser.php:1079
1325
  #, php-format
1326
  msgid ""
1327
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2194
  msgid "Help"
2195
  msgstr "Aðstoð"
2196
 
2197
+ #: includes/event-organiser-venue-functions.php:991
2198
  msgid "Address"
2199
  msgstr ""
2200
 
2201
+ #: includes/event-organiser-venue-functions.php:992
2202
  msgid "City"
2203
  msgstr ""
2204
 
2205
+ #: includes/event-organiser-venue-functions.php:993
2206
  msgid "State / Province"
2207
  msgstr "Svæði"
2208
 
2209
+ #: includes/event-organiser-venue-functions.php:994
2210
  msgid "Post Code"
2211
  msgstr "Póstnúmer"
2212
 
2213
+ #: includes/event-organiser-venue-functions.php:995
2214
  msgid "Country"
2215
  msgstr ""
2216
 
languages/eventorganiser-it_IT.mo CHANGED
Binary file
languages/eventorganiser-it_IT.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2017-08-23T05:39:57+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -675,7 +675,7 @@ msgid "Show dates"
675
  msgstr "Mostra date"
676
 
677
  #: event-organiser-edit.php:274
678
- #: includes/event-organiser-venue-functions.php:1015
679
  msgid "Select a venue"
680
  msgstr "Seleziona un luogo"
681
 
@@ -1348,22 +1348,22 @@ msgstr ""
1348
  "Il feed contiene un evento indefinitamente ricorrente. Questo evento si "
1349
  "ripeterà fino a %s."
1350
 
1351
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1352
  #, php-format
1353
  msgid "[Lines %1$d-%2$d]"
1354
  msgstr "[Righe %1$d-%2$d]"
1355
 
1356
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1357
  #, php-format
1358
  msgid "[Line %1$d]"
1359
  msgstr "[Riga %1$d]"
1360
 
1361
- #: includes/class-eo-ical-parser.php:1039
1362
  #, php-format
1363
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1364
  msgstr "Data non valida \"%s\". La data deve essere nel formato YYYYMMDD."
1365
 
1366
- #: includes/class-eo-ical-parser.php:1077
1367
  #, php-format
1368
  msgid ""
1369
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2265,23 +2265,23 @@ msgstr ""
2265
  msgid "Help"
2266
  msgstr "Aiuto"
2267
 
2268
- #: includes/event-organiser-venue-functions.php:980
2269
  msgid "Address"
2270
  msgstr "Indirizzo"
2271
 
2272
- #: includes/event-organiser-venue-functions.php:981
2273
  msgid "City"
2274
  msgstr "Citta"
2275
 
2276
- #: includes/event-organiser-venue-functions.php:982
2277
  msgid "State / Province"
2278
  msgstr "Stato"
2279
 
2280
- #: includes/event-organiser-venue-functions.php:983
2281
  msgid "Post Code"
2282
  msgstr "CAP"
2283
 
2284
- #: includes/event-organiser-venue-functions.php:984
2285
  msgid "Country"
2286
  msgstr "Nazione"
2287
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2017-08-23T05:39:57+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
675
  msgstr "Mostra date"
676
 
677
  #: event-organiser-edit.php:274
678
+ #: includes/event-organiser-venue-functions.php:1026
679
  msgid "Select a venue"
680
  msgstr "Seleziona un luogo"
681
 
1348
  "Il feed contiene un evento indefinitamente ricorrente. Questo evento si "
1349
  "ripeterà fino a %s."
1350
 
1351
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1352
  #, php-format
1353
  msgid "[Lines %1$d-%2$d]"
1354
  msgstr "[Righe %1$d-%2$d]"
1355
 
1356
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1357
  #, php-format
1358
  msgid "[Line %1$d]"
1359
  msgstr "[Riga %1$d]"
1360
 
1361
+ #: includes/class-eo-ical-parser.php:1041
1362
  #, php-format
1363
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1364
  msgstr "Data non valida \"%s\". La data deve essere nel formato YYYYMMDD."
1365
 
1366
+ #: includes/class-eo-ical-parser.php:1079
1367
  #, php-format
1368
  msgid ""
1369
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2265
  msgid "Help"
2266
  msgstr "Aiuto"
2267
 
2268
+ #: includes/event-organiser-venue-functions.php:991
2269
  msgid "Address"
2270
  msgstr "Indirizzo"
2271
 
2272
+ #: includes/event-organiser-venue-functions.php:992
2273
  msgid "City"
2274
  msgstr "Citta"
2275
 
2276
+ #: includes/event-organiser-venue-functions.php:993
2277
  msgid "State / Province"
2278
  msgstr "Stato"
2279
 
2280
+ #: includes/event-organiser-venue-functions.php:994
2281
  msgid "Post Code"
2282
  msgstr "CAP"
2283
 
2284
+ #: includes/event-organiser-venue-functions.php:995
2285
  msgid "Country"
2286
  msgstr "Nazione"
2287
 
languages/eventorganiser-ja.mo CHANGED
Binary file
languages/eventorganiser-ja.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2017-05-02T14:20:11+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -656,7 +656,7 @@ msgid "Show dates"
656
  msgstr "日付を表示する"
657
 
658
  #: event-organiser-edit.php:274
659
- #: includes/event-organiser-venue-functions.php:1015
660
  msgid "Select a venue"
661
  msgstr "会場を選択"
662
 
@@ -1310,22 +1310,22 @@ msgstr ""
1310
  "フィードには無限に繰り返されるイベントが含まれています。このイベントは%sまで"
1311
  "繰り返されます。"
1312
 
1313
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1314
  #, php-format
1315
  msgid "[Lines %1$d-%2$d]"
1316
  msgstr "[%1$d-%2$d行]"
1317
 
1318
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1319
  #, php-format
1320
  msgid "[Line %1$d]"
1321
  msgstr "[%1$d行]"
1322
 
1323
- #: includes/class-eo-ical-parser.php:1039
1324
  #, php-format
1325
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1326
  msgstr "正しくない日付: \"%s\"。日付形式は YYYYMMDD です。"
1327
 
1328
- #: includes/class-eo-ical-parser.php:1077
1329
  #, php-format
1330
  msgid ""
1331
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2205,23 +2205,23 @@ msgstr ""
2205
  msgid "Help"
2206
  msgstr "ヘルプ"
2207
 
2208
- #: includes/event-organiser-venue-functions.php:980
2209
  msgid "Address"
2210
  msgstr "番地"
2211
 
2212
- #: includes/event-organiser-venue-functions.php:981
2213
  msgid "City"
2214
  msgstr "市区町村"
2215
 
2216
- #: includes/event-organiser-venue-functions.php:982
2217
  msgid "State / Province"
2218
  msgstr "都道府県"
2219
 
2220
- #: includes/event-organiser-venue-functions.php:983
2221
  msgid "Post Code"
2222
  msgstr "郵便番号"
2223
 
2224
- #: includes/event-organiser-venue-functions.php:984
2225
  msgid "Country"
2226
  msgstr "国"
2227
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2017-05-02T14:20:11+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
656
  msgstr "日付を表示する"
657
 
658
  #: event-organiser-edit.php:274
659
+ #: includes/event-organiser-venue-functions.php:1026
660
  msgid "Select a venue"
661
  msgstr "会場を選択"
662
 
1310
  "フィードには無限に繰り返されるイベントが含まれています。このイベントは%sまで"
1311
  "繰り返されます。"
1312
 
1313
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1314
  #, php-format
1315
  msgid "[Lines %1$d-%2$d]"
1316
  msgstr "[%1$d-%2$d行]"
1317
 
1318
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1319
  #, php-format
1320
  msgid "[Line %1$d]"
1321
  msgstr "[%1$d行]"
1322
 
1323
+ #: includes/class-eo-ical-parser.php:1041
1324
  #, php-format
1325
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1326
  msgstr "正しくない日付: \"%s\"。日付形式は YYYYMMDD です。"
1327
 
1328
+ #: includes/class-eo-ical-parser.php:1079
1329
  #, php-format
1330
  msgid ""
1331
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2205
  msgid "Help"
2206
  msgstr "ヘルプ"
2207
 
2208
+ #: includes/event-organiser-venue-functions.php:991
2209
  msgid "Address"
2210
  msgstr "番地"
2211
 
2212
+ #: includes/event-organiser-venue-functions.php:992
2213
  msgid "City"
2214
  msgstr "市区町村"
2215
 
2216
+ #: includes/event-organiser-venue-functions.php:993
2217
  msgid "State / Province"
2218
  msgstr "都道府県"
2219
 
2220
+ #: includes/event-organiser-venue-functions.php:994
2221
  msgid "Post Code"
2222
  msgstr "郵便番号"
2223
 
2224
+ #: includes/event-organiser-venue-functions.php:995
2225
  msgid "Country"
2226
  msgstr "国"
2227
 
languages/eventorganiser-lt_LT.mo CHANGED
Binary file
languages/eventorganiser-lt_LT.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:16:11+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -653,7 +653,7 @@ msgid "Show dates"
653
  msgstr "Rodyti datas"
654
 
655
  #: event-organiser-edit.php:274
656
- #: includes/event-organiser-venue-functions.php:1015
657
  msgid "Select a venue"
658
  msgstr "Pasirinkti vietą"
659
 
@@ -1301,22 +1301,22 @@ msgid ""
1301
  "%s."
1302
  msgstr ""
1303
 
1304
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1305
  #, php-format
1306
  msgid "[Lines %1$d-%2$d]"
1307
  msgstr "[Lines %1$d-%2$d]"
1308
 
1309
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1310
  #, php-format
1311
  msgid "[Line %1$d]"
1312
  msgstr "[Line %1$d]"
1313
 
1314
- #: includes/class-eo-ical-parser.php:1039
1315
  #, php-format
1316
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1317
  msgstr "Negalima data \"%s\". Data laukiama YYYYMMDD formate."
1318
 
1319
- #: includes/class-eo-ical-parser.php:1077
1320
  #, php-format
1321
  msgid ""
1322
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2167,23 +2167,23 @@ msgstr ""
2167
  msgid "Help"
2168
  msgstr ""
2169
 
2170
- #: includes/event-organiser-venue-functions.php:980
2171
  msgid "Address"
2172
  msgstr "Adresas"
2173
 
2174
- #: includes/event-organiser-venue-functions.php:981
2175
  msgid "City"
2176
  msgstr "Miestas"
2177
 
2178
- #: includes/event-organiser-venue-functions.php:982
2179
  msgid "State / Province"
2180
  msgstr "Valstija/Regionas"
2181
 
2182
- #: includes/event-organiser-venue-functions.php:983
2183
  msgid "Post Code"
2184
  msgstr "Pašto indeksas"
2185
 
2186
- #: includes/event-organiser-venue-functions.php:984
2187
  msgid "Country"
2188
  msgstr "Šalis"
2189
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:16:11+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
653
  msgstr "Rodyti datas"
654
 
655
  #: event-organiser-edit.php:274
656
+ #: includes/event-organiser-venue-functions.php:1026
657
  msgid "Select a venue"
658
  msgstr "Pasirinkti vietą"
659
 
1301
  "%s."
1302
  msgstr ""
1303
 
1304
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1305
  #, php-format
1306
  msgid "[Lines %1$d-%2$d]"
1307
  msgstr "[Lines %1$d-%2$d]"
1308
 
1309
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1310
  #, php-format
1311
  msgid "[Line %1$d]"
1312
  msgstr "[Line %1$d]"
1313
 
1314
+ #: includes/class-eo-ical-parser.php:1041
1315
  #, php-format
1316
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1317
  msgstr "Negalima data \"%s\". Data laukiama YYYYMMDD formate."
1318
 
1319
+ #: includes/class-eo-ical-parser.php:1079
1320
  #, php-format
1321
  msgid ""
1322
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2167
  msgid "Help"
2168
  msgstr ""
2169
 
2170
+ #: includes/event-organiser-venue-functions.php:991
2171
  msgid "Address"
2172
  msgstr "Adresas"
2173
 
2174
+ #: includes/event-organiser-venue-functions.php:992
2175
  msgid "City"
2176
  msgstr "Miestas"
2177
 
2178
+ #: includes/event-organiser-venue-functions.php:993
2179
  msgid "State / Province"
2180
  msgstr "Valstija/Regionas"
2181
 
2182
+ #: includes/event-organiser-venue-functions.php:994
2183
  msgid "Post Code"
2184
  msgstr "Pašto indeksas"
2185
 
2186
+ #: includes/event-organiser-venue-functions.php:995
2187
  msgid "Country"
2188
  msgstr "Šalis"
2189
 
languages/eventorganiser-lv.mo CHANGED
Binary file
languages/eventorganiser-lv.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2017-04-16T23:21:46+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -644,7 +644,7 @@ msgid "Show dates"
644
  msgstr "Rādīt datumus"
645
 
646
  #: event-organiser-edit.php:274
647
- #: includes/event-organiser-venue-functions.php:1015
648
  msgid "Select a venue"
649
  msgstr "Izvēlies vietu"
650
 
@@ -1255,22 +1255,22 @@ msgid ""
1255
  "%s."
1256
  msgstr ""
1257
 
1258
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1259
  #, php-format
1260
  msgid "[Lines %1$d-%2$d]"
1261
  msgstr ""
1262
 
1263
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1264
  #, php-format
1265
  msgid "[Line %1$d]"
1266
  msgstr ""
1267
 
1268
- #: includes/class-eo-ical-parser.php:1039
1269
  #, php-format
1270
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1271
  msgstr ""
1272
 
1273
- #: includes/class-eo-ical-parser.php:1077
1274
  #, php-format
1275
  msgid ""
1276
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2100,23 +2100,23 @@ msgstr ""
2100
  msgid "Help"
2101
  msgstr "Palīdzība"
2102
 
2103
- #: includes/event-organiser-venue-functions.php:980
2104
  msgid "Address"
2105
  msgstr "Adrese"
2106
 
2107
- #: includes/event-organiser-venue-functions.php:981
2108
  msgid "City"
2109
  msgstr "Pilsēta"
2110
 
2111
- #: includes/event-organiser-venue-functions.php:982
2112
  msgid "State / Province"
2113
  msgstr "Štats"
2114
 
2115
- #: includes/event-organiser-venue-functions.php:983
2116
  msgid "Post Code"
2117
  msgstr "Pasta indeks"
2118
 
2119
- #: includes/event-organiser-venue-functions.php:984
2120
  msgid "Country"
2121
  msgstr "Valsts"
2122
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2017-04-16T23:21:46+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
644
  msgstr "Rādīt datumus"
645
 
646
  #: event-organiser-edit.php:274
647
+ #: includes/event-organiser-venue-functions.php:1026
648
  msgid "Select a venue"
649
  msgstr "Izvēlies vietu"
650
 
1255
  "%s."
1256
  msgstr ""
1257
 
1258
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1259
  #, php-format
1260
  msgid "[Lines %1$d-%2$d]"
1261
  msgstr ""
1262
 
1263
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1264
  #, php-format
1265
  msgid "[Line %1$d]"
1266
  msgstr ""
1267
 
1268
+ #: includes/class-eo-ical-parser.php:1041
1269
  #, php-format
1270
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1271
  msgstr ""
1272
 
1273
+ #: includes/class-eo-ical-parser.php:1079
1274
  #, php-format
1275
  msgid ""
1276
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2100
  msgid "Help"
2101
  msgstr "Palīdzība"
2102
 
2103
+ #: includes/event-organiser-venue-functions.php:991
2104
  msgid "Address"
2105
  msgstr "Adrese"
2106
 
2107
+ #: includes/event-organiser-venue-functions.php:992
2108
  msgid "City"
2109
  msgstr "Pilsēta"
2110
 
2111
+ #: includes/event-organiser-venue-functions.php:993
2112
  msgid "State / Province"
2113
  msgstr "Štats"
2114
 
2115
+ #: includes/event-organiser-venue-functions.php:994
2116
  msgid "Post Code"
2117
  msgstr "Pasta indeks"
2118
 
2119
+ #: includes/event-organiser-venue-functions.php:995
2120
  msgid "Country"
2121
  msgstr "Valsts"
2122
 
languages/eventorganiser-mk_MK.mo CHANGED
Binary file
languages/eventorganiser-mk_MK.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:16:03+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -642,7 +642,7 @@ msgid "Show dates"
642
  msgstr "Прикажи датуми"
643
 
644
  #: event-organiser-edit.php:274
645
- #: includes/event-organiser-venue-functions.php:1015
646
  msgid "Select a venue"
647
  msgstr ""
648
 
@@ -1253,22 +1253,22 @@ msgid ""
1253
  "%s."
1254
  msgstr ""
1255
 
1256
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1257
  #, php-format
1258
  msgid "[Lines %1$d-%2$d]"
1259
  msgstr "[Редови %1$d-%2$d]"
1260
 
1261
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1262
  #, php-format
1263
  msgid "[Line %1$d]"
1264
  msgstr ""
1265
 
1266
- #: includes/class-eo-ical-parser.php:1039
1267
  #, php-format
1268
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1269
  msgstr ""
1270
 
1271
- #: includes/class-eo-ical-parser.php:1077
1272
  #, php-format
1273
  msgid ""
1274
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2103,23 +2103,23 @@ msgstr ""
2103
  msgid "Help"
2104
  msgstr ""
2105
 
2106
- #: includes/event-organiser-venue-functions.php:980
2107
  msgid "Address"
2108
  msgstr "Адреса"
2109
 
2110
- #: includes/event-organiser-venue-functions.php:981
2111
  msgid "City"
2112
  msgstr "Град"
2113
 
2114
- #: includes/event-organiser-venue-functions.php:982
2115
  msgid "State / Province"
2116
  msgstr "Држава/Провинција"
2117
 
2118
- #: includes/event-organiser-venue-functions.php:983
2119
  msgid "Post Code"
2120
  msgstr "Поштенски код"
2121
 
2122
- #: includes/event-organiser-venue-functions.php:984
2123
  msgid "Country"
2124
  msgstr "Држава"
2125
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:16:03+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
642
  msgstr "Прикажи датуми"
643
 
644
  #: event-organiser-edit.php:274
645
+ #: includes/event-organiser-venue-functions.php:1026
646
  msgid "Select a venue"
647
  msgstr ""
648
 
1253
  "%s."
1254
  msgstr ""
1255
 
1256
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1257
  #, php-format
1258
  msgid "[Lines %1$d-%2$d]"
1259
  msgstr "[Редови %1$d-%2$d]"
1260
 
1261
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1262
  #, php-format
1263
  msgid "[Line %1$d]"
1264
  msgstr ""
1265
 
1266
+ #: includes/class-eo-ical-parser.php:1041
1267
  #, php-format
1268
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1269
  msgstr ""
1270
 
1271
+ #: includes/class-eo-ical-parser.php:1079
1272
  #, php-format
1273
  msgid ""
1274
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2103
  msgid "Help"
2104
  msgstr ""
2105
 
2106
+ #: includes/event-organiser-venue-functions.php:991
2107
  msgid "Address"
2108
  msgstr "Адреса"
2109
 
2110
+ #: includes/event-organiser-venue-functions.php:992
2111
  msgid "City"
2112
  msgstr "Град"
2113
 
2114
+ #: includes/event-organiser-venue-functions.php:993
2115
  msgid "State / Province"
2116
  msgstr "Држава/Провинција"
2117
 
2118
+ #: includes/event-organiser-venue-functions.php:994
2119
  msgid "Post Code"
2120
  msgstr "Поштенски код"
2121
 
2122
+ #: includes/event-organiser-venue-functions.php:995
2123
  msgid "Country"
2124
  msgstr "Држава"
2125
 
languages/eventorganiser-nb_NO.mo CHANGED
Binary file
languages/eventorganiser-nb_NO.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:16:00+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -641,7 +641,7 @@ msgid "Show dates"
641
  msgstr "Vis datoer"
642
 
643
  #: event-organiser-edit.php:274
644
- #: includes/event-organiser-venue-functions.php:1015
645
  msgid "Select a venue"
646
  msgstr "Velg et sted"
647
 
@@ -1266,22 +1266,22 @@ msgid ""
1266
  "%s."
1267
  msgstr ""
1268
 
1269
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1270
  #, php-format
1271
  msgid "[Lines %1$d-%2$d]"
1272
  msgstr ""
1273
 
1274
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1275
  #, php-format
1276
  msgid "[Line %1$d]"
1277
  msgstr ""
1278
 
1279
- #: includes/class-eo-ical-parser.php:1039
1280
  #, php-format
1281
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1282
  msgstr ""
1283
 
1284
- #: includes/class-eo-ical-parser.php:1077
1285
  #, php-format
1286
  msgid ""
1287
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2153,23 +2153,23 @@ msgstr ""
2153
  msgid "Help"
2154
  msgstr ""
2155
 
2156
- #: includes/event-organiser-venue-functions.php:980
2157
  msgid "Address"
2158
  msgstr "Adresse"
2159
 
2160
- #: includes/event-organiser-venue-functions.php:981
2161
  msgid "City"
2162
  msgstr "By"
2163
 
2164
- #: includes/event-organiser-venue-functions.php:982
2165
  msgid "State / Province"
2166
  msgstr "Fylke"
2167
 
2168
- #: includes/event-organiser-venue-functions.php:983
2169
  msgid "Post Code"
2170
  msgstr "Postnummer"
2171
 
2172
- #: includes/event-organiser-venue-functions.php:984
2173
  msgid "Country"
2174
  msgstr "Land"
2175
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:16:00+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
641
  msgstr "Vis datoer"
642
 
643
  #: event-organiser-edit.php:274
644
+ #: includes/event-organiser-venue-functions.php:1026
645
  msgid "Select a venue"
646
  msgstr "Velg et sted"
647
 
1266
  "%s."
1267
  msgstr ""
1268
 
1269
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1270
  #, php-format
1271
  msgid "[Lines %1$d-%2$d]"
1272
  msgstr ""
1273
 
1274
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1275
  #, php-format
1276
  msgid "[Line %1$d]"
1277
  msgstr ""
1278
 
1279
+ #: includes/class-eo-ical-parser.php:1041
1280
  #, php-format
1281
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1282
  msgstr ""
1283
 
1284
+ #: includes/class-eo-ical-parser.php:1079
1285
  #, php-format
1286
  msgid ""
1287
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2153
  msgid "Help"
2154
  msgstr ""
2155
 
2156
+ #: includes/event-organiser-venue-functions.php:991
2157
  msgid "Address"
2158
  msgstr "Adresse"
2159
 
2160
+ #: includes/event-organiser-venue-functions.php:992
2161
  msgid "City"
2162
  msgstr "By"
2163
 
2164
+ #: includes/event-organiser-venue-functions.php:993
2165
  msgid "State / Province"
2166
  msgstr "Fylke"
2167
 
2168
+ #: includes/event-organiser-venue-functions.php:994
2169
  msgid "Post Code"
2170
  msgstr "Postnummer"
2171
 
2172
+ #: includes/event-organiser-venue-functions.php:995
2173
  msgid "Country"
2174
  msgstr "Land"
2175
 
languages/eventorganiser-nl_NL.mo CHANGED
Binary file
languages/eventorganiser-nl_NL.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2017-11-03T23:42:56+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -653,7 +653,7 @@ msgid "Show dates"
653
  msgstr "Toon data"
654
 
655
  #: event-organiser-edit.php:274
656
- #: includes/event-organiser-venue-functions.php:1015
657
  msgid "Select a venue"
658
  msgstr "Selecteer een locatie"
659
 
@@ -1316,22 +1316,22 @@ msgid ""
1316
  "%s."
1317
  msgstr ""
1318
 
1319
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1320
  #, php-format
1321
  msgid "[Lines %1$d-%2$d]"
1322
  msgstr "[Regelnummers %1$d-%2$d]"
1323
 
1324
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1325
  #, php-format
1326
  msgid "[Line %1$d]"
1327
  msgstr "[Regelnummer %1$d]"
1328
 
1329
- #: includes/class-eo-ical-parser.php:1039
1330
  #, php-format
1331
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1332
  msgstr "Ongeldige datum \"%s\". Datum formaat YYYYMMDD wordt verwacht."
1333
 
1334
- #: includes/class-eo-ical-parser.php:1077
1335
  #, php-format
1336
  msgid ""
1337
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2207,23 +2207,23 @@ msgstr ""
2207
  msgid "Help"
2208
  msgstr "Help"
2209
 
2210
- #: includes/event-organiser-venue-functions.php:980
2211
  msgid "Address"
2212
  msgstr "Adres"
2213
 
2214
- #: includes/event-organiser-venue-functions.php:981
2215
  msgid "City"
2216
  msgstr "Woonplaats"
2217
 
2218
- #: includes/event-organiser-venue-functions.php:982
2219
  msgid "State / Province"
2220
  msgstr "Provincie"
2221
 
2222
- #: includes/event-organiser-venue-functions.php:983
2223
  msgid "Post Code"
2224
  msgstr "Postcode"
2225
 
2226
- #: includes/event-organiser-venue-functions.php:984
2227
  msgid "Country"
2228
  msgstr "Land"
2229
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2017-11-03T23:42:56+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
653
  msgstr "Toon data"
654
 
655
  #: event-organiser-edit.php:274
656
+ #: includes/event-organiser-venue-functions.php:1026
657
  msgid "Select a venue"
658
  msgstr "Selecteer een locatie"
659
 
1316
  "%s."
1317
  msgstr ""
1318
 
1319
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1320
  #, php-format
1321
  msgid "[Lines %1$d-%2$d]"
1322
  msgstr "[Regelnummers %1$d-%2$d]"
1323
 
1324
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1325
  #, php-format
1326
  msgid "[Line %1$d]"
1327
  msgstr "[Regelnummer %1$d]"
1328
 
1329
+ #: includes/class-eo-ical-parser.php:1041
1330
  #, php-format
1331
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1332
  msgstr "Ongeldige datum \"%s\". Datum formaat YYYYMMDD wordt verwacht."
1333
 
1334
+ #: includes/class-eo-ical-parser.php:1079
1335
  #, php-format
1336
  msgid ""
1337
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2207
  msgid "Help"
2208
  msgstr "Help"
2209
 
2210
+ #: includes/event-organiser-venue-functions.php:991
2211
  msgid "Address"
2212
  msgstr "Adres"
2213
 
2214
+ #: includes/event-organiser-venue-functions.php:992
2215
  msgid "City"
2216
  msgstr "Woonplaats"
2217
 
2218
+ #: includes/event-organiser-venue-functions.php:993
2219
  msgid "State / Province"
2220
  msgstr "Provincie"
2221
 
2222
+ #: includes/event-organiser-venue-functions.php:994
2223
  msgid "Post Code"
2224
  msgstr "Postcode"
2225
 
2226
+ #: includes/event-organiser-venue-functions.php:995
2227
  msgid "Country"
2228
  msgstr "Land"
2229
 
languages/eventorganiser-nn_NO.mo CHANGED
Binary file
languages/eventorganiser-nn_NO.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2017-04-19T20:43:50+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -644,7 +644,7 @@ msgid "Show dates"
644
  msgstr ""
645
 
646
  #: event-organiser-edit.php:274
647
- #: includes/event-organiser-venue-functions.php:1015
648
  msgid "Select a venue"
649
  msgstr "Velg et sted"
650
 
@@ -1272,22 +1272,22 @@ msgid ""
1272
  "%s."
1273
  msgstr ""
1274
 
1275
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1276
  #, php-format
1277
  msgid "[Lines %1$d-%2$d]"
1278
  msgstr ""
1279
 
1280
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1281
  #, php-format
1282
  msgid "[Line %1$d]"
1283
  msgstr ""
1284
 
1285
- #: includes/class-eo-ical-parser.php:1039
1286
  #, php-format
1287
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1288
  msgstr ""
1289
 
1290
- #: includes/class-eo-ical-parser.php:1077
1291
  #, php-format
1292
  msgid ""
1293
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2163,23 +2163,23 @@ msgstr ""
2163
  msgid "Help"
2164
  msgstr ""
2165
 
2166
- #: includes/event-organiser-venue-functions.php:980
2167
  msgid "Address"
2168
  msgstr "Adresse"
2169
 
2170
- #: includes/event-organiser-venue-functions.php:981
2171
  msgid "City"
2172
  msgstr ""
2173
 
2174
- #: includes/event-organiser-venue-functions.php:982
2175
  msgid "State / Province"
2176
  msgstr ""
2177
 
2178
- #: includes/event-organiser-venue-functions.php:983
2179
  msgid "Post Code"
2180
  msgstr "Postnummer"
2181
 
2182
- #: includes/event-organiser-venue-functions.php:984
2183
  msgid "Country"
2184
  msgstr "Land"
2185
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2017-04-19T20:43:50+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
644
  msgstr ""
645
 
646
  #: event-organiser-edit.php:274
647
+ #: includes/event-organiser-venue-functions.php:1026
648
  msgid "Select a venue"
649
  msgstr "Velg et sted"
650
 
1272
  "%s."
1273
  msgstr ""
1274
 
1275
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1276
  #, php-format
1277
  msgid "[Lines %1$d-%2$d]"
1278
  msgstr ""
1279
 
1280
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1281
  #, php-format
1282
  msgid "[Line %1$d]"
1283
  msgstr ""
1284
 
1285
+ #: includes/class-eo-ical-parser.php:1041
1286
  #, php-format
1287
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1288
  msgstr ""
1289
 
1290
+ #: includes/class-eo-ical-parser.php:1079
1291
  #, php-format
1292
  msgid ""
1293
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2163
  msgid "Help"
2164
  msgstr ""
2165
 
2166
+ #: includes/event-organiser-venue-functions.php:991
2167
  msgid "Address"
2168
  msgstr "Adresse"
2169
 
2170
+ #: includes/event-organiser-venue-functions.php:992
2171
  msgid "City"
2172
  msgstr ""
2173
 
2174
+ #: includes/event-organiser-venue-functions.php:993
2175
  msgid "State / Province"
2176
  msgstr ""
2177
 
2178
+ #: includes/event-organiser-venue-functions.php:994
2179
  msgid "Post Code"
2180
  msgstr "Postnummer"
2181
 
2182
+ #: includes/event-organiser-venue-functions.php:995
2183
  msgid "Country"
2184
  msgstr "Land"
2185
 
languages/eventorganiser-pl_PL.mo CHANGED
Binary file
languages/eventorganiser-pl_PL.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:15:47+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -644,7 +644,7 @@ msgid "Show dates"
644
  msgstr "Pokaż daty"
645
 
646
  #: event-organiser-edit.php:274
647
- #: includes/event-organiser-venue-functions.php:1015
648
  msgid "Select a venue"
649
  msgstr "Wybierz miejsce"
650
 
@@ -1271,22 +1271,22 @@ msgid ""
1271
  "%s."
1272
  msgstr ""
1273
 
1274
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1275
  #, php-format
1276
  msgid "[Lines %1$d-%2$d]"
1277
  msgstr ""
1278
 
1279
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1280
  #, php-format
1281
  msgid "[Line %1$d]"
1282
  msgstr ""
1283
 
1284
- #: includes/class-eo-ical-parser.php:1039
1285
  #, php-format
1286
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1287
  msgstr ""
1288
 
1289
- #: includes/class-eo-ical-parser.php:1077
1290
  #, php-format
1291
  msgid ""
1292
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2165,23 +2165,23 @@ msgstr ""
2165
  msgid "Help"
2166
  msgstr ""
2167
 
2168
- #: includes/event-organiser-venue-functions.php:980
2169
  msgid "Address"
2170
  msgstr "Adres"
2171
 
2172
- #: includes/event-organiser-venue-functions.php:981
2173
  msgid "City"
2174
  msgstr "Miasto"
2175
 
2176
- #: includes/event-organiser-venue-functions.php:982
2177
  msgid "State / Province"
2178
  msgstr "Województwo"
2179
 
2180
- #: includes/event-organiser-venue-functions.php:983
2181
  msgid "Post Code"
2182
  msgstr "Kod pocztowy"
2183
 
2184
- #: includes/event-organiser-venue-functions.php:984
2185
  msgid "Country"
2186
  msgstr "Kraj"
2187
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:15:47+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
644
  msgstr "Pokaż daty"
645
 
646
  #: event-organiser-edit.php:274
647
+ #: includes/event-organiser-venue-functions.php:1026
648
  msgid "Select a venue"
649
  msgstr "Wybierz miejsce"
650
 
1271
  "%s."
1272
  msgstr ""
1273
 
1274
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1275
  #, php-format
1276
  msgid "[Lines %1$d-%2$d]"
1277
  msgstr ""
1278
 
1279
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1280
  #, php-format
1281
  msgid "[Line %1$d]"
1282
  msgstr ""
1283
 
1284
+ #: includes/class-eo-ical-parser.php:1041
1285
  #, php-format
1286
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1287
  msgstr ""
1288
 
1289
+ #: includes/class-eo-ical-parser.php:1079
1290
  #, php-format
1291
  msgid ""
1292
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2165
  msgid "Help"
2166
  msgstr ""
2167
 
2168
+ #: includes/event-organiser-venue-functions.php:991
2169
  msgid "Address"
2170
  msgstr "Adres"
2171
 
2172
+ #: includes/event-organiser-venue-functions.php:992
2173
  msgid "City"
2174
  msgstr "Miasto"
2175
 
2176
+ #: includes/event-organiser-venue-functions.php:993
2177
  msgid "State / Province"
2178
  msgstr "Województwo"
2179
 
2180
+ #: includes/event-organiser-venue-functions.php:994
2181
  msgid "Post Code"
2182
  msgstr "Kod pocztowy"
2183
 
2184
+ #: includes/event-organiser-venue-functions.php:995
2185
  msgid "Country"
2186
  msgstr "Kraj"
2187
 
languages/eventorganiser-pt_BR.mo CHANGED
Binary file
languages/eventorganiser-pt_BR.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2017-05-20T02:33:43+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -660,7 +660,7 @@ msgid "Show dates"
660
  msgstr "Mostrar datas"
661
 
662
  #: event-organiser-edit.php:274
663
- #: includes/event-organiser-venue-functions.php:1015
664
  msgid "Select a venue"
665
  msgstr "Selecione um local"
666
 
@@ -1324,22 +1324,22 @@ msgstr ""
1324
  "O feed contém um evento recorrente indefinido. Este evento vai ocorrer até "
1325
  "%s."
1326
 
1327
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1328
  #, php-format
1329
  msgid "[Lines %1$d-%2$d]"
1330
  msgstr "[Linhas %1$d-%2$d]"
1331
 
1332
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1333
  #, php-format
1334
  msgid "[Line %1$d]"
1335
  msgstr "[Linha %1$d]"
1336
 
1337
- #: includes/class-eo-ical-parser.php:1039
1338
  #, php-format
1339
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1340
  msgstr "Data inválida \"%s\". Formato de data esperado AAAAMMDD."
1341
 
1342
- #: includes/class-eo-ical-parser.php:1077
1343
  #, php-format
1344
  msgid ""
1345
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2219,23 +2219,23 @@ msgstr ""
2219
  msgid "Help"
2220
  msgstr "Ajuda"
2221
 
2222
- #: includes/event-organiser-venue-functions.php:980
2223
  msgid "Address"
2224
  msgstr "Endereço"
2225
 
2226
- #: includes/event-organiser-venue-functions.php:981
2227
  msgid "City"
2228
  msgstr "Cidade"
2229
 
2230
- #: includes/event-organiser-venue-functions.php:982
2231
  msgid "State / Province"
2232
  msgstr "Estado / Província"
2233
 
2234
- #: includes/event-organiser-venue-functions.php:983
2235
  msgid "Post Code"
2236
  msgstr "CEP"
2237
 
2238
- #: includes/event-organiser-venue-functions.php:984
2239
  msgid "Country"
2240
  msgstr "País"
2241
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2017-05-20T02:33:43+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
660
  msgstr "Mostrar datas"
661
 
662
  #: event-organiser-edit.php:274
663
+ #: includes/event-organiser-venue-functions.php:1026
664
  msgid "Select a venue"
665
  msgstr "Selecione um local"
666
 
1324
  "O feed contém um evento recorrente indefinido. Este evento vai ocorrer até "
1325
  "%s."
1326
 
1327
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1328
  #, php-format
1329
  msgid "[Lines %1$d-%2$d]"
1330
  msgstr "[Linhas %1$d-%2$d]"
1331
 
1332
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1333
  #, php-format
1334
  msgid "[Line %1$d]"
1335
  msgstr "[Linha %1$d]"
1336
 
1337
+ #: includes/class-eo-ical-parser.php:1041
1338
  #, php-format
1339
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1340
  msgstr "Data inválida \"%s\". Formato de data esperado AAAAMMDD."
1341
 
1342
+ #: includes/class-eo-ical-parser.php:1079
1343
  #, php-format
1344
  msgid ""
1345
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2219
  msgid "Help"
2220
  msgstr "Ajuda"
2221
 
2222
+ #: includes/event-organiser-venue-functions.php:991
2223
  msgid "Address"
2224
  msgstr "Endereço"
2225
 
2226
+ #: includes/event-organiser-venue-functions.php:992
2227
  msgid "City"
2228
  msgstr "Cidade"
2229
 
2230
+ #: includes/event-organiser-venue-functions.php:993
2231
  msgid "State / Province"
2232
  msgstr "Estado / Província"
2233
 
2234
+ #: includes/event-organiser-venue-functions.php:994
2235
  msgid "Post Code"
2236
  msgstr "CEP"
2237
 
2238
+ #: includes/event-organiser-venue-functions.php:995
2239
  msgid "Country"
2240
  msgstr "País"
2241
 
languages/eventorganiser-pt_PT.mo CHANGED
Binary file
languages/eventorganiser-pt_PT.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2017-04-16T22:56:42+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -646,7 +646,7 @@ msgid "Show dates"
646
  msgstr "Mostrar datas"
647
 
648
  #: event-organiser-edit.php:274
649
- #: includes/event-organiser-venue-functions.php:1015
650
  msgid "Select a venue"
651
  msgstr "Selecionar um local"
652
 
@@ -1275,22 +1275,22 @@ msgid ""
1275
  "%s."
1276
  msgstr ""
1277
 
1278
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1279
  #, fuzzy, php-format
1280
  msgid "[Lines %1$d-%2$d]"
1281
  msgstr "[Lines %1$d-%2$d]"
1282
 
1283
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1284
  #, fuzzy, php-format
1285
  msgid "[Line %1$d]"
1286
  msgstr "[Line %1$d]"
1287
 
1288
- #: includes/class-eo-ical-parser.php:1039
1289
  #, php-format
1290
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1291
  msgstr "Data inválida \"%s\". Deverá ter o formato AAAAMMDD."
1292
 
1293
- #: includes/class-eo-ical-parser.php:1077
1294
  #, php-format
1295
  msgid ""
1296
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2163,23 +2163,23 @@ msgstr ""
2163
  msgid "Help"
2164
  msgstr ""
2165
 
2166
- #: includes/event-organiser-venue-functions.php:980
2167
  msgid "Address"
2168
  msgstr "Morada"
2169
 
2170
- #: includes/event-organiser-venue-functions.php:981
2171
  msgid "City"
2172
  msgstr "Cidade"
2173
 
2174
- #: includes/event-organiser-venue-functions.php:982
2175
  msgid "State / Province"
2176
  msgstr "Distríto/Vila (Cidade)"
2177
 
2178
- #: includes/event-organiser-venue-functions.php:983
2179
  msgid "Post Code"
2180
  msgstr "Código postal"
2181
 
2182
- #: includes/event-organiser-venue-functions.php:984
2183
  msgid "Country"
2184
  msgstr "País"
2185
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2017-04-16T22:56:42+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
646
  msgstr "Mostrar datas"
647
 
648
  #: event-organiser-edit.php:274
649
+ #: includes/event-organiser-venue-functions.php:1026
650
  msgid "Select a venue"
651
  msgstr "Selecionar um local"
652
 
1275
  "%s."
1276
  msgstr ""
1277
 
1278
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1279
  #, fuzzy, php-format
1280
  msgid "[Lines %1$d-%2$d]"
1281
  msgstr "[Lines %1$d-%2$d]"
1282
 
1283
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1284
  #, fuzzy, php-format
1285
  msgid "[Line %1$d]"
1286
  msgstr "[Line %1$d]"
1287
 
1288
+ #: includes/class-eo-ical-parser.php:1041
1289
  #, php-format
1290
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1291
  msgstr "Data inválida \"%s\". Deverá ter o formato AAAAMMDD."
1292
 
1293
+ #: includes/class-eo-ical-parser.php:1079
1294
  #, php-format
1295
  msgid ""
1296
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2163
  msgid "Help"
2164
  msgstr ""
2165
 
2166
+ #: includes/event-organiser-venue-functions.php:991
2167
  msgid "Address"
2168
  msgstr "Morada"
2169
 
2170
+ #: includes/event-organiser-venue-functions.php:992
2171
  msgid "City"
2172
  msgstr "Cidade"
2173
 
2174
+ #: includes/event-organiser-venue-functions.php:993
2175
  msgid "State / Province"
2176
  msgstr "Distríto/Vila (Cidade)"
2177
 
2178
+ #: includes/event-organiser-venue-functions.php:994
2179
  msgid "Post Code"
2180
  msgstr "Código postal"
2181
 
2182
+ #: includes/event-organiser-venue-functions.php:995
2183
  msgid "Country"
2184
  msgstr "País"
2185
 
languages/eventorganiser-ro_RO.mo CHANGED
Binary file
languages/eventorganiser-ro_RO.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:15:34+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -646,7 +646,7 @@ msgid "Show dates"
646
  msgstr ""
647
 
648
  #: event-organiser-edit.php:274
649
- #: includes/event-organiser-venue-functions.php:1015
650
  msgid "Select a venue"
651
  msgstr ""
652
 
@@ -1257,22 +1257,22 @@ msgid ""
1257
  "%s."
1258
  msgstr ""
1259
 
1260
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1261
  #, php-format
1262
  msgid "[Lines %1$d-%2$d]"
1263
  msgstr ""
1264
 
1265
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1266
  #, php-format
1267
  msgid "[Line %1$d]"
1268
  msgstr ""
1269
 
1270
- #: includes/class-eo-ical-parser.php:1039
1271
  #, php-format
1272
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1273
  msgstr ""
1274
 
1275
- #: includes/class-eo-ical-parser.php:1077
1276
  #, php-format
1277
  msgid ""
1278
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2093,23 +2093,23 @@ msgstr ""
2093
  msgid "Help"
2094
  msgstr ""
2095
 
2096
- #: includes/event-organiser-venue-functions.php:980
2097
  msgid "Address"
2098
  msgstr "Adresa"
2099
 
2100
- #: includes/event-organiser-venue-functions.php:981
2101
  msgid "City"
2102
  msgstr "Oraș"
2103
 
2104
- #: includes/event-organiser-venue-functions.php:982
2105
  msgid "State / Province"
2106
  msgstr "Provincie"
2107
 
2108
- #: includes/event-organiser-venue-functions.php:983
2109
  msgid "Post Code"
2110
  msgstr "Cod poștal"
2111
 
2112
- #: includes/event-organiser-venue-functions.php:984
2113
  msgid "Country"
2114
  msgstr "Țara"
2115
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:15:34+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
646
  msgstr ""
647
 
648
  #: event-organiser-edit.php:274
649
+ #: includes/event-organiser-venue-functions.php:1026
650
  msgid "Select a venue"
651
  msgstr ""
652
 
1257
  "%s."
1258
  msgstr ""
1259
 
1260
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1261
  #, php-format
1262
  msgid "[Lines %1$d-%2$d]"
1263
  msgstr ""
1264
 
1265
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1266
  #, php-format
1267
  msgid "[Line %1$d]"
1268
  msgstr ""
1269
 
1270
+ #: includes/class-eo-ical-parser.php:1041
1271
  #, php-format
1272
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1273
  msgstr ""
1274
 
1275
+ #: includes/class-eo-ical-parser.php:1079
1276
  #, php-format
1277
  msgid ""
1278
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2093
  msgid "Help"
2094
  msgstr ""
2095
 
2096
+ #: includes/event-organiser-venue-functions.php:991
2097
  msgid "Address"
2098
  msgstr "Adresa"
2099
 
2100
+ #: includes/event-organiser-venue-functions.php:992
2101
  msgid "City"
2102
  msgstr "Oraș"
2103
 
2104
+ #: includes/event-organiser-venue-functions.php:993
2105
  msgid "State / Province"
2106
  msgstr "Provincie"
2107
 
2108
+ #: includes/event-organiser-venue-functions.php:994
2109
  msgid "Post Code"
2110
  msgstr "Cod poștal"
2111
 
2112
+ #: includes/event-organiser-venue-functions.php:995
2113
  msgid "Country"
2114
  msgstr "Țara"
2115
 
languages/eventorganiser-ru_RU.mo CHANGED
Binary file
languages/eventorganiser-ru_RU.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2017-04-16T23:29:26+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -652,7 +652,7 @@ msgid "Show dates"
652
  msgstr "Показывать даты"
653
 
654
  #: event-organiser-edit.php:274
655
- #: includes/event-organiser-venue-functions.php:1015
656
  msgid "Select a venue"
657
  msgstr "Выбрать место"
658
 
@@ -1290,22 +1290,22 @@ msgstr ""
1290
  "Новостная лента содержит бесконечно повторяющееся событие. Оно будет "
1291
  "повторяться до %s."
1292
 
1293
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1294
  #, php-format
1295
  msgid "[Lines %1$d-%2$d]"
1296
  msgstr "[Строки %1$d-%2$d]"
1297
 
1298
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1299
  #, php-format
1300
  msgid "[Line %1$d]"
1301
  msgstr "[Строка %1$d]"
1302
 
1303
- #: includes/class-eo-ical-parser.php:1039
1304
  #, php-format
1305
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1306
  msgstr "Неверная дата “%s”. Ожидается формат YYYYMMDD."
1307
 
1308
- #: includes/class-eo-ical-parser.php:1077
1309
  #, php-format
1310
  msgid ""
1311
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2181,23 +2181,23 @@ msgstr ""
2181
  msgid "Help"
2182
  msgstr "Помощь"
2183
 
2184
- #: includes/event-organiser-venue-functions.php:980
2185
  msgid "Address"
2186
  msgstr "Адрес"
2187
 
2188
- #: includes/event-organiser-venue-functions.php:981
2189
  msgid "City"
2190
  msgstr "Город"
2191
 
2192
- #: includes/event-organiser-venue-functions.php:982
2193
  msgid "State / Province"
2194
  msgstr "Штат/провинция"
2195
 
2196
- #: includes/event-organiser-venue-functions.php:983
2197
  msgid "Post Code"
2198
  msgstr "Почтовый индекс"
2199
 
2200
- #: includes/event-organiser-venue-functions.php:984
2201
  msgid "Country"
2202
  msgstr "Страна"
2203
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2017-04-16T23:29:26+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
652
  msgstr "Показывать даты"
653
 
654
  #: event-organiser-edit.php:274
655
+ #: includes/event-organiser-venue-functions.php:1026
656
  msgid "Select a venue"
657
  msgstr "Выбрать место"
658
 
1290
  "Новостная лента содержит бесконечно повторяющееся событие. Оно будет "
1291
  "повторяться до %s."
1292
 
1293
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1294
  #, php-format
1295
  msgid "[Lines %1$d-%2$d]"
1296
  msgstr "[Строки %1$d-%2$d]"
1297
 
1298
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1299
  #, php-format
1300
  msgid "[Line %1$d]"
1301
  msgstr "[Строка %1$d]"
1302
 
1303
+ #: includes/class-eo-ical-parser.php:1041
1304
  #, php-format
1305
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1306
  msgstr "Неверная дата “%s”. Ожидается формат YYYYMMDD."
1307
 
1308
+ #: includes/class-eo-ical-parser.php:1079
1309
  #, php-format
1310
  msgid ""
1311
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2181
  msgid "Help"
2182
  msgstr "Помощь"
2183
 
2184
+ #: includes/event-organiser-venue-functions.php:991
2185
  msgid "Address"
2186
  msgstr "Адрес"
2187
 
2188
+ #: includes/event-organiser-venue-functions.php:992
2189
  msgid "City"
2190
  msgstr "Город"
2191
 
2192
+ #: includes/event-organiser-venue-functions.php:993
2193
  msgid "State / Province"
2194
  msgstr "Штат/провинция"
2195
 
2196
+ #: includes/event-organiser-venue-functions.php:994
2197
  msgid "Post Code"
2198
  msgstr "Почтовый индекс"
2199
 
2200
+ #: includes/event-organiser-venue-functions.php:995
2201
  msgid "Country"
2202
  msgstr "Страна"
2203
 
languages/eventorganiser-sk_SK.mo CHANGED
Binary file
languages/eventorganiser-sk_SK.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:15:26+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -644,7 +644,7 @@ msgid "Show dates"
644
  msgstr ""
645
 
646
  #: event-organiser-edit.php:274
647
- #: includes/event-organiser-venue-functions.php:1015
648
  msgid "Select a venue"
649
  msgstr ""
650
 
@@ -1257,22 +1257,22 @@ msgid ""
1257
  "%s."
1258
  msgstr ""
1259
 
1260
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1261
  #, php-format
1262
  msgid "[Lines %1$d-%2$d]"
1263
  msgstr ""
1264
 
1265
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1266
  #, php-format
1267
  msgid "[Line %1$d]"
1268
  msgstr ""
1269
 
1270
- #: includes/class-eo-ical-parser.php:1039
1271
  #, php-format
1272
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1273
  msgstr ""
1274
 
1275
- #: includes/class-eo-ical-parser.php:1077
1276
  #, php-format
1277
  msgid ""
1278
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2100,23 +2100,23 @@ msgstr ""
2100
  msgid "Help"
2101
  msgstr ""
2102
 
2103
- #: includes/event-organiser-venue-functions.php:980
2104
  msgid "Address"
2105
  msgstr "Adresa"
2106
 
2107
- #: includes/event-organiser-venue-functions.php:981
2108
  msgid "City"
2109
  msgstr "Mesto"
2110
 
2111
- #: includes/event-organiser-venue-functions.php:982
2112
  msgid "State / Province"
2113
  msgstr "Štát / Kraj"
2114
 
2115
- #: includes/event-organiser-venue-functions.php:983
2116
  msgid "Post Code"
2117
  msgstr "Poštové smerovacie číslo"
2118
 
2119
- #: includes/event-organiser-venue-functions.php:984
2120
  msgid "Country"
2121
  msgstr "Krajina"
2122
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:15:26+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
644
  msgstr ""
645
 
646
  #: event-organiser-edit.php:274
647
+ #: includes/event-organiser-venue-functions.php:1026
648
  msgid "Select a venue"
649
  msgstr ""
650
 
1257
  "%s."
1258
  msgstr ""
1259
 
1260
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1261
  #, php-format
1262
  msgid "[Lines %1$d-%2$d]"
1263
  msgstr ""
1264
 
1265
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1266
  #, php-format
1267
  msgid "[Line %1$d]"
1268
  msgstr ""
1269
 
1270
+ #: includes/class-eo-ical-parser.php:1041
1271
  #, php-format
1272
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1273
  msgstr ""
1274
 
1275
+ #: includes/class-eo-ical-parser.php:1079
1276
  #, php-format
1277
  msgid ""
1278
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2100
  msgid "Help"
2101
  msgstr ""
2102
 
2103
+ #: includes/event-organiser-venue-functions.php:991
2104
  msgid "Address"
2105
  msgstr "Adresa"
2106
 
2107
+ #: includes/event-organiser-venue-functions.php:992
2108
  msgid "City"
2109
  msgstr "Mesto"
2110
 
2111
+ #: includes/event-organiser-venue-functions.php:993
2112
  msgid "State / Province"
2113
  msgstr "Štát / Kraj"
2114
 
2115
+ #: includes/event-organiser-venue-functions.php:994
2116
  msgid "Post Code"
2117
  msgstr "Poštové smerovacie číslo"
2118
 
2119
+ #: includes/event-organiser-venue-functions.php:995
2120
  msgid "Country"
2121
  msgstr "Krajina"
2122
 
languages/eventorganiser-sl_SI.mo CHANGED
Binary file
languages/eventorganiser-sl_SI.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2017-06-24T09:29:56+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -642,7 +642,7 @@ msgid "Show dates"
642
  msgstr "Prikaži datume"
643
 
644
  #: event-organiser-edit.php:274
645
- #: includes/event-organiser-venue-functions.php:1015
646
  msgid "Select a venue"
647
  msgstr ""
648
 
@@ -1254,22 +1254,22 @@ msgid ""
1254
  "%s."
1255
  msgstr ""
1256
 
1257
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1258
  #, php-format
1259
  msgid "[Lines %1$d-%2$d]"
1260
  msgstr ""
1261
 
1262
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1263
  #, php-format
1264
  msgid "[Line %1$d]"
1265
  msgstr ""
1266
 
1267
- #: includes/class-eo-ical-parser.php:1039
1268
  #, php-format
1269
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1270
  msgstr ""
1271
 
1272
- #: includes/class-eo-ical-parser.php:1077
1273
  #, php-format
1274
  msgid ""
1275
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2093,23 +2093,23 @@ msgstr ""
2093
  msgid "Help"
2094
  msgstr ""
2095
 
2096
- #: includes/event-organiser-venue-functions.php:980
2097
  msgid "Address"
2098
  msgstr "Naslov"
2099
 
2100
- #: includes/event-organiser-venue-functions.php:981
2101
  msgid "City"
2102
  msgstr "Mesto"
2103
 
2104
- #: includes/event-organiser-venue-functions.php:982
2105
  msgid "State / Province"
2106
  msgstr ""
2107
 
2108
- #: includes/event-organiser-venue-functions.php:983
2109
  msgid "Post Code"
2110
  msgstr "Poštna številka"
2111
 
2112
- #: includes/event-organiser-venue-functions.php:984
2113
  msgid "Country"
2114
  msgstr "Država"
2115
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2017-06-24T09:29:56+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
642
  msgstr "Prikaži datume"
643
 
644
  #: event-organiser-edit.php:274
645
+ #: includes/event-organiser-venue-functions.php:1026
646
  msgid "Select a venue"
647
  msgstr ""
648
 
1254
  "%s."
1255
  msgstr ""
1256
 
1257
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1258
  #, php-format
1259
  msgid "[Lines %1$d-%2$d]"
1260
  msgstr ""
1261
 
1262
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1263
  #, php-format
1264
  msgid "[Line %1$d]"
1265
  msgstr ""
1266
 
1267
+ #: includes/class-eo-ical-parser.php:1041
1268
  #, php-format
1269
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1270
  msgstr ""
1271
 
1272
+ #: includes/class-eo-ical-parser.php:1079
1273
  #, php-format
1274
  msgid ""
1275
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2093
  msgid "Help"
2094
  msgstr ""
2095
 
2096
+ #: includes/event-organiser-venue-functions.php:991
2097
  msgid "Address"
2098
  msgstr "Naslov"
2099
 
2100
+ #: includes/event-organiser-venue-functions.php:992
2101
  msgid "City"
2102
  msgstr "Mesto"
2103
 
2104
+ #: includes/event-organiser-venue-functions.php:993
2105
  msgid "State / Province"
2106
  msgstr ""
2107
 
2108
+ #: includes/event-organiser-venue-functions.php:994
2109
  msgid "Post Code"
2110
  msgstr "Poštna številka"
2111
 
2112
+ #: includes/event-organiser-venue-functions.php:995
2113
  msgid "Country"
2114
  msgstr "Država"
2115
 
languages/eventorganiser-sv_SE.mo CHANGED
Binary file
languages/eventorganiser-sv_SE.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2017-07-05T19:32:07+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -656,7 +656,7 @@ msgid "Show dates"
656
  msgstr "Visa datum"
657
 
658
  #: event-organiser-edit.php:274
659
- #: includes/event-organiser-venue-functions.php:1015
660
  msgid "Select a venue"
661
  msgstr "Välj en lokal"
662
 
@@ -1315,22 +1315,22 @@ msgstr ""
1315
  "Flödet innehåller ett återkommande evenemang utan sluttid. Evenemanget "
1316
  "kommer återkomma till och med %s."
1317
 
1318
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1319
  #, php-format
1320
  msgid "[Lines %1$d-%2$d]"
1321
  msgstr "[Rad %1$d-%2$d]"
1322
 
1323
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1324
  #, php-format
1325
  msgid "[Line %1$d]"
1326
  msgstr "[Rad %1$d]"
1327
 
1328
- #: includes/class-eo-ical-parser.php:1039
1329
  #, php-format
1330
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1331
  msgstr "Ogiltigt datum \"%s\". Använd YYYYMMDD som format"
1332
 
1333
- #: includes/class-eo-ical-parser.php:1077
1334
  #, fuzzy, php-format
1335
  msgid ""
1336
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2213,23 +2213,23 @@ msgstr ""
2213
  msgid "Help"
2214
  msgstr "Hjälp"
2215
 
2216
- #: includes/event-organiser-venue-functions.php:980
2217
  msgid "Address"
2218
  msgstr "Adress"
2219
 
2220
- #: includes/event-organiser-venue-functions.php:981
2221
  msgid "City"
2222
  msgstr "Stad"
2223
 
2224
- #: includes/event-organiser-venue-functions.php:982
2225
  msgid "State / Province"
2226
  msgstr "Delstat/landskap"
2227
 
2228
- #: includes/event-organiser-venue-functions.php:983
2229
  msgid "Post Code"
2230
  msgstr "Postnummer"
2231
 
2232
- #: includes/event-organiser-venue-functions.php:984
2233
  msgid "Country"
2234
  msgstr "Land"
2235
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2017-07-05T19:32:07+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
656
  msgstr "Visa datum"
657
 
658
  #: event-organiser-edit.php:274
659
+ #: includes/event-organiser-venue-functions.php:1026
660
  msgid "Select a venue"
661
  msgstr "Välj en lokal"
662
 
1315
  "Flödet innehåller ett återkommande evenemang utan sluttid. Evenemanget "
1316
  "kommer återkomma till och med %s."
1317
 
1318
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1319
  #, php-format
1320
  msgid "[Lines %1$d-%2$d]"
1321
  msgstr "[Rad %1$d-%2$d]"
1322
 
1323
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1324
  #, php-format
1325
  msgid "[Line %1$d]"
1326
  msgstr "[Rad %1$d]"
1327
 
1328
+ #: includes/class-eo-ical-parser.php:1041
1329
  #, php-format
1330
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1331
  msgstr "Ogiltigt datum \"%s\". Använd YYYYMMDD som format"
1332
 
1333
+ #: includes/class-eo-ical-parser.php:1079
1334
  #, fuzzy, php-format
1335
  msgid ""
1336
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2213
  msgid "Help"
2214
  msgstr "Hjälp"
2215
 
2216
+ #: includes/event-organiser-venue-functions.php:991
2217
  msgid "Address"
2218
  msgstr "Adress"
2219
 
2220
+ #: includes/event-organiser-venue-functions.php:992
2221
  msgid "City"
2222
  msgstr "Stad"
2223
 
2224
+ #: includes/event-organiser-venue-functions.php:993
2225
  msgid "State / Province"
2226
  msgstr "Delstat/landskap"
2227
 
2228
+ #: includes/event-organiser-venue-functions.php:994
2229
  msgid "Post Code"
2230
  msgstr "Postnummer"
2231
 
2232
+ #: includes/event-organiser-venue-functions.php:995
2233
  msgid "Country"
2234
  msgstr "Land"
2235
 
languages/eventorganiser-th.mo CHANGED
Binary file
languages/eventorganiser-th.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:15:15+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -641,7 +641,7 @@ msgid "Show dates"
641
  msgstr "แสดงเวลา"
642
 
643
  #: event-organiser-edit.php:274
644
- #: includes/event-organiser-venue-functions.php:1015
645
  msgid "Select a venue"
646
  msgstr "เลือกสถานที่"
647
 
@@ -1252,22 +1252,22 @@ msgid ""
1252
  "%s."
1253
  msgstr ""
1254
 
1255
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1256
  #, php-format
1257
  msgid "[Lines %1$d-%2$d]"
1258
  msgstr ""
1259
 
1260
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1261
  #, php-format
1262
  msgid "[Line %1$d]"
1263
  msgstr ""
1264
 
1265
- #: includes/class-eo-ical-parser.php:1039
1266
  #, php-format
1267
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1268
  msgstr ""
1269
 
1270
- #: includes/class-eo-ical-parser.php:1077
1271
  #, php-format
1272
  msgid ""
1273
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2089,23 +2089,23 @@ msgstr ""
2089
  msgid "Help"
2090
  msgstr ""
2091
 
2092
- #: includes/event-organiser-venue-functions.php:980
2093
  msgid "Address"
2094
  msgstr "ที่อยู่"
2095
 
2096
- #: includes/event-organiser-venue-functions.php:981
2097
  msgid "City"
2098
  msgstr "เมือง"
2099
 
2100
- #: includes/event-organiser-venue-functions.php:982
2101
  msgid "State / Province"
2102
  msgstr "จังหวัด"
2103
 
2104
- #: includes/event-organiser-venue-functions.php:983
2105
  msgid "Post Code"
2106
  msgstr "รหัสไปรษณีย์"
2107
 
2108
- #: includes/event-organiser-venue-functions.php:984
2109
  msgid "Country"
2110
  msgstr "ประเทศ"
2111
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:15:15+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
641
  msgstr "แสดงเวลา"
642
 
643
  #: event-organiser-edit.php:274
644
+ #: includes/event-organiser-venue-functions.php:1026
645
  msgid "Select a venue"
646
  msgstr "เลือกสถานที่"
647
 
1252
  "%s."
1253
  msgstr ""
1254
 
1255
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1256
  #, php-format
1257
  msgid "[Lines %1$d-%2$d]"
1258
  msgstr ""
1259
 
1260
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1261
  #, php-format
1262
  msgid "[Line %1$d]"
1263
  msgstr ""
1264
 
1265
+ #: includes/class-eo-ical-parser.php:1041
1266
  #, php-format
1267
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1268
  msgstr ""
1269
 
1270
+ #: includes/class-eo-ical-parser.php:1079
1271
  #, php-format
1272
  msgid ""
1273
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2089
  msgid "Help"
2090
  msgstr ""
2091
 
2092
+ #: includes/event-organiser-venue-functions.php:991
2093
  msgid "Address"
2094
  msgstr "ที่อยู่"
2095
 
2096
+ #: includes/event-organiser-venue-functions.php:992
2097
  msgid "City"
2098
  msgstr "เมือง"
2099
 
2100
+ #: includes/event-organiser-venue-functions.php:993
2101
  msgid "State / Province"
2102
  msgstr "จังหวัด"
2103
 
2104
+ #: includes/event-organiser-venue-functions.php:994
2105
  msgid "Post Code"
2106
  msgstr "รหัสไปรษณีย์"
2107
 
2108
+ #: includes/event-organiser-venue-functions.php:995
2109
  msgid "Country"
2110
  msgstr "ประเทศ"
2111
 
languages/eventorganiser-uk.mo CHANGED
Binary file
languages/eventorganiser-uk.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:15:05+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -649,7 +649,7 @@ msgid "Show dates"
649
  msgstr "Показати дати"
650
 
651
  #: event-organiser-edit.php:274
652
- #: includes/event-organiser-venue-functions.php:1015
653
  msgid "Select a venue"
654
  msgstr "Обрати розташування"
655
 
@@ -1282,22 +1282,22 @@ msgid ""
1282
  "%s."
1283
  msgstr ""
1284
 
1285
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1286
  #, php-format
1287
  msgid "[Lines %1$d-%2$d]"
1288
  msgstr ""
1289
 
1290
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1291
  #, php-format
1292
  msgid "[Line %1$d]"
1293
  msgstr ""
1294
 
1295
- #: includes/class-eo-ical-parser.php:1039
1296
  #, php-format
1297
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1298
  msgstr ""
1299
 
1300
- #: includes/class-eo-ical-parser.php:1077
1301
  #, php-format
1302
  msgid ""
1303
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2169,23 +2169,23 @@ msgstr ""
2169
  msgid "Help"
2170
  msgstr ""
2171
 
2172
- #: includes/event-organiser-venue-functions.php:980
2173
  msgid "Address"
2174
  msgstr "Адреса"
2175
 
2176
- #: includes/event-organiser-venue-functions.php:981
2177
  msgid "City"
2178
  msgstr "Місто"
2179
 
2180
- #: includes/event-organiser-venue-functions.php:982
2181
  msgid "State / Province"
2182
  msgstr "Штат / провінція"
2183
 
2184
- #: includes/event-organiser-venue-functions.php:983
2185
  msgid "Post Code"
2186
  msgstr "Поштовий індекс"
2187
 
2188
- #: includes/event-organiser-venue-functions.php:984
2189
  msgid "Country"
2190
  msgstr "Країна"
2191
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:15:05+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
649
  msgstr "Показати дати"
650
 
651
  #: event-organiser-edit.php:274
652
+ #: includes/event-organiser-venue-functions.php:1026
653
  msgid "Select a venue"
654
  msgstr "Обрати розташування"
655
 
1282
  "%s."
1283
  msgstr ""
1284
 
1285
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1286
  #, php-format
1287
  msgid "[Lines %1$d-%2$d]"
1288
  msgstr ""
1289
 
1290
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1291
  #, php-format
1292
  msgid "[Line %1$d]"
1293
  msgstr ""
1294
 
1295
+ #: includes/class-eo-ical-parser.php:1041
1296
  #, php-format
1297
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1298
  msgstr ""
1299
 
1300
+ #: includes/class-eo-ical-parser.php:1079
1301
  #, php-format
1302
  msgid ""
1303
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2169
  msgid "Help"
2170
  msgstr ""
2171
 
2172
+ #: includes/event-organiser-venue-functions.php:991
2173
  msgid "Address"
2174
  msgstr "Адреса"
2175
 
2176
+ #: includes/event-organiser-venue-functions.php:992
2177
  msgid "City"
2178
  msgstr "Місто"
2179
 
2180
+ #: includes/event-organiser-venue-functions.php:993
2181
  msgid "State / Province"
2182
  msgstr "Штат / провінція"
2183
 
2184
+ #: includes/event-organiser-venue-functions.php:994
2185
  msgid "Post Code"
2186
  msgstr "Поштовий індекс"
2187
 
2188
+ #: includes/event-organiser-venue-functions.php:995
2189
  msgid "Country"
2190
  msgstr "Країна"
2191
 
languages/eventorganiser-zh_CN.mo CHANGED
Binary file
languages/eventorganiser-zh_CN.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:15:02+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -642,7 +642,7 @@ msgid "Show dates"
642
  msgstr "显示日期"
643
 
644
  #: event-organiser-edit.php:274
645
- #: includes/event-organiser-venue-functions.php:1015
646
  msgid "Select a venue"
647
  msgstr "选择一个地点"
648
 
@@ -1253,22 +1253,22 @@ msgid ""
1253
  "%s."
1254
  msgstr ""
1255
 
1256
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1257
  #, php-format
1258
  msgid "[Lines %1$d-%2$d]"
1259
  msgstr ""
1260
 
1261
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1262
  #, php-format
1263
  msgid "[Line %1$d]"
1264
  msgstr ""
1265
 
1266
- #: includes/class-eo-ical-parser.php:1039
1267
  #, php-format
1268
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1269
  msgstr ""
1270
 
1271
- #: includes/class-eo-ical-parser.php:1077
1272
  #, php-format
1273
  msgid ""
1274
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2090,23 +2090,23 @@ msgstr ""
2090
  msgid "Help"
2091
  msgstr ""
2092
 
2093
- #: includes/event-organiser-venue-functions.php:980
2094
  msgid "Address"
2095
  msgstr "地址"
2096
 
2097
- #: includes/event-organiser-venue-functions.php:981
2098
  msgid "City"
2099
  msgstr "城市"
2100
 
2101
- #: includes/event-organiser-venue-functions.php:982
2102
  msgid "State / Province"
2103
  msgstr "省/地区"
2104
 
2105
- #: includes/event-organiser-venue-functions.php:983
2106
  msgid "Post Code"
2107
  msgstr "邮编"
2108
 
2109
- #: includes/event-organiser-venue-functions.php:984
2110
  msgid "Country"
2111
  msgstr "国家"
2112
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:15:02+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
642
  msgstr "显示日期"
643
 
644
  #: event-organiser-edit.php:274
645
+ #: includes/event-organiser-venue-functions.php:1026
646
  msgid "Select a venue"
647
  msgstr "选择一个地点"
648
 
1253
  "%s."
1254
  msgstr ""
1255
 
1256
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1257
  #, php-format
1258
  msgid "[Lines %1$d-%2$d]"
1259
  msgstr ""
1260
 
1261
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1262
  #, php-format
1263
  msgid "[Line %1$d]"
1264
  msgstr ""
1265
 
1266
+ #: includes/class-eo-ical-parser.php:1041
1267
  #, php-format
1268
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1269
  msgstr ""
1270
 
1271
+ #: includes/class-eo-ical-parser.php:1079
1272
  #, php-format
1273
  msgid ""
1274
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2090
  msgid "Help"
2091
  msgstr ""
2092
 
2093
+ #: includes/event-organiser-venue-functions.php:991
2094
  msgid "Address"
2095
  msgstr "地址"
2096
 
2097
+ #: includes/event-organiser-venue-functions.php:992
2098
  msgid "City"
2099
  msgstr "城市"
2100
 
2101
+ #: includes/event-organiser-venue-functions.php:993
2102
  msgid "State / Province"
2103
  msgstr "省/地区"
2104
 
2105
+ #: includes/event-organiser-venue-functions.php:994
2106
  msgid "Post Code"
2107
  msgstr "邮编"
2108
 
2109
+ #: includes/event-organiser-venue-functions.php:995
2110
  msgid "Country"
2111
  msgstr "国家"
2112
 
languages/eventorganiser-zh_HK.mo CHANGED
Binary file
languages/eventorganiser-zh_HK.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:14:57+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -642,7 +642,7 @@ msgid "Show dates"
642
  msgstr "顯示日期"
643
 
644
  #: event-organiser-edit.php:274
645
- #: includes/event-organiser-venue-functions.php:1015
646
  msgid "Select a venue"
647
  msgstr "選擇地點"
648
 
@@ -1253,22 +1253,22 @@ msgid ""
1253
  "%s."
1254
  msgstr ""
1255
 
1256
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1257
  #, php-format
1258
  msgid "[Lines %1$d-%2$d]"
1259
  msgstr ""
1260
 
1261
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1262
  #, php-format
1263
  msgid "[Line %1$d]"
1264
  msgstr ""
1265
 
1266
- #: includes/class-eo-ical-parser.php:1039
1267
  #, php-format
1268
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1269
  msgstr ""
1270
 
1271
- #: includes/class-eo-ical-parser.php:1077
1272
  #, php-format
1273
  msgid ""
1274
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2090,23 +2090,23 @@ msgstr ""
2090
  msgid "Help"
2091
  msgstr ""
2092
 
2093
- #: includes/event-organiser-venue-functions.php:980
2094
  msgid "Address"
2095
  msgstr ""
2096
 
2097
- #: includes/event-organiser-venue-functions.php:981
2098
  msgid "City"
2099
  msgstr ""
2100
 
2101
- #: includes/event-organiser-venue-functions.php:982
2102
  msgid "State / Province"
2103
  msgstr ""
2104
 
2105
- #: includes/event-organiser-venue-functions.php:983
2106
  msgid "Post Code"
2107
  msgstr ""
2108
 
2109
- #: includes/event-organiser-venue-functions.php:984
2110
  msgid "Country"
2111
  msgstr ""
2112
 
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
6
  "PO-Revision-Date: 2016-11-27T01:14:57+00:00\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
642
  msgstr "顯示日期"
643
 
644
  #: event-organiser-edit.php:274
645
+ #: includes/event-organiser-venue-functions.php:1026
646
  msgid "Select a venue"
647
  msgstr "選擇地點"
648
 
1253
  "%s."
1254
  msgstr ""
1255
 
1256
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1257
  #, php-format
1258
  msgid "[Lines %1$d-%2$d]"
1259
  msgstr ""
1260
 
1261
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1262
  #, php-format
1263
  msgid "[Line %1$d]"
1264
  msgstr ""
1265
 
1266
+ #: includes/class-eo-ical-parser.php:1041
1267
  #, php-format
1268
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1269
  msgstr ""
1270
 
1271
+ #: includes/class-eo-ical-parser.php:1079
1272
  #, php-format
1273
  msgid ""
1274
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2090
  msgid "Help"
2091
  msgstr ""
2092
 
2093
+ #: includes/event-organiser-venue-functions.php:991
2094
  msgid "Address"
2095
  msgstr ""
2096
 
2097
+ #: includes/event-organiser-venue-functions.php:992
2098
  msgid "City"
2099
  msgstr ""
2100
 
2101
+ #: includes/event-organiser-venue-functions.php:993
2102
  msgid "State / Province"
2103
  msgstr ""
2104
 
2105
+ #: includes/event-organiser-venue-functions.php:994
2106
  msgid "Post Code"
2107
  msgstr ""
2108
 
2109
+ #: includes/event-organiser-venue-functions.php:995
2110
  msgid "Country"
2111
  msgstr ""
2112
 
languages/eventorganiser.pot CHANGED
@@ -8,7 +8,7 @@ msgid ""
8
  msgstr ""
9
  "Project-Id-Version: event-organiser\n"
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2018-06-08 18:44+0000\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -646,7 +646,7 @@ msgid "Show dates"
646
  msgstr ""
647
 
648
  #: event-organiser-edit.php:274
649
- #: includes/event-organiser-venue-functions.php:1015
650
  msgid "Select a venue"
651
  msgstr ""
652
 
@@ -1257,22 +1257,22 @@ msgid ""
1257
  "%s."
1258
  msgstr ""
1259
 
1260
- #: includes/class-eo-ical-parser.php:549 includes/class-eo-ical-parser.php:574
1261
  #, php-format
1262
  msgid "[Lines %1$d-%2$d]"
1263
  msgstr ""
1264
 
1265
- #: includes/class-eo-ical-parser.php:556 includes/class-eo-ical-parser.php:581
1266
  #, php-format
1267
  msgid "[Line %1$d]"
1268
  msgstr ""
1269
 
1270
- #: includes/class-eo-ical-parser.php:1039
1271
  #, php-format
1272
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1273
  msgstr ""
1274
 
1275
- #: includes/class-eo-ical-parser.php:1077
1276
  #, php-format
1277
  msgid ""
1278
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
@@ -2092,23 +2092,23 @@ msgstr ""
2092
  msgid "Help"
2093
  msgstr ""
2094
 
2095
- #: includes/event-organiser-venue-functions.php:980
2096
  msgid "Address"
2097
  msgstr ""
2098
 
2099
- #: includes/event-organiser-venue-functions.php:981
2100
  msgid "City"
2101
  msgstr ""
2102
 
2103
- #: includes/event-organiser-venue-functions.php:982
2104
  msgid "State / Province"
2105
  msgstr ""
2106
 
2107
- #: includes/event-organiser-venue-functions.php:983
2108
  msgid "Post Code"
2109
  msgstr ""
2110
 
2111
- #: includes/event-organiser-venue-functions.php:984
2112
  msgid "Country"
2113
  msgstr ""
2114
 
8
  msgstr ""
9
  "Project-Id-Version: event-organiser\n"
10
  "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2018-07-13 20:28+0000\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
646
  msgstr ""
647
 
648
  #: event-organiser-edit.php:274
649
+ #: includes/event-organiser-venue-functions.php:1026
650
  msgid "Select a venue"
651
  msgstr ""
652
 
1257
  "%s."
1258
  msgstr ""
1259
 
1260
+ #: includes/class-eo-ical-parser.php:551 includes/class-eo-ical-parser.php:576
1261
  #, php-format
1262
  msgid "[Lines %1$d-%2$d]"
1263
  msgstr ""
1264
 
1265
+ #: includes/class-eo-ical-parser.php:558 includes/class-eo-ical-parser.php:583
1266
  #, php-format
1267
  msgid "[Line %1$d]"
1268
  msgstr ""
1269
 
1270
+ #: includes/class-eo-ical-parser.php:1041
1271
  #, php-format
1272
  msgid "Invalid date \"%s\". Date expected in YYYYMMDD format."
1273
  msgstr ""
1274
 
1275
+ #: includes/class-eo-ical-parser.php:1079
1276
  #, php-format
1277
  msgid ""
1278
  "Invalid datetime \"%s\". Date expected in YYYYMMDDTHHiissZ or "
2092
  msgid "Help"
2093
  msgstr ""
2094
 
2095
+ #: includes/event-organiser-venue-functions.php:991
2096
  msgid "Address"
2097
  msgstr ""
2098
 
2099
+ #: includes/event-organiser-venue-functions.php:992
2100
  msgid "City"
2101
  msgstr ""
2102
 
2103
+ #: includes/event-organiser-venue-functions.php:993
2104
  msgid "State / Province"
2105
  msgstr ""
2106
 
2107
+ #: includes/event-organiser-venue-functions.php:994
2108
  msgid "Post Code"
2109
  msgstr ""
2110
 
2111
+ #: includes/event-organiser-venue-functions.php:995
2112
  msgid "Country"
2113
  msgstr ""
2114
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: stephenharris
3
  Donate link: http://www.wp-event-organiser.com/donate
4
  Tags: events, event, event categories, event organizer, events calendar, event management, ical, locations, google map, OpenStreetMap, widget, venues, maps, gigs, shows,
5
  Requires at least: 3.8.0
6
- Tested up to: 4.9.6
7
- Stable tag: 3.7.2
8
  License: GPLv3
9
 
10
  Create and maintain events, including complex reoccurring patterns, venue management (with Google Maps or OpenStreetMap), calendars and customisable event lists
@@ -222,6 +222,10 @@ More information on shortcodes is [available here](http://wp-event-organiser.com
222
 
223
  == Changelog ==
224
 
 
 
 
 
225
  = 3.7.2 - 8th June 2018 =
226
  * bugfix: Fixed maps bug which affected users with Yoast's SEO Plugin installed
227
  * bugfix: Replaced data-vocabulary.org with schema.org
@@ -634,7 +638,7 @@ Please see this [post](http://wp-event-organiser.com/blog/announcements/event-or
634
  * Fixes event updated failing on cron jobs. (Fixes conflict with wp-cron-control https://wordpress.org/support/topic/clashes-with-events-plug-in)
635
 
636
  = 2.9.0 - 16th September 2014 =
637
- * Allow latitdue/longtitude co-ordinates of venue to be edited.
638
  * Update timepicker and prevent invalid date/time selection for event start/end dates.
639
  * Add filters for event taxonomy properties: `eventorganiser_register_taxonomy_{taxonomy}`
640
  * Filter response to fullCalendar: `eventorganiser_fullcalendar`
@@ -733,7 +737,7 @@ Please see this [post](http://wp-event-organiser.com/blog/announcements/event-or
733
  * When restricting a calendar by category(ies). Only those categories appear in the category drop-down, if this is added.
734
  * Added event tag to fullCalendar filters (`[eo_fullcalendar headerRight="tag"]`).
735
  * Included HTML description in iCal feed. ("alternative text representation" tag).
736
- * Included latitude/longtitude co-ordinates in iCal feed.
737
  * Fix bugs with line wrapping in iCal feed.
738
  * Fixes bug where "am"/"pm" are translated in time input.
739
  * Fixes bug with `eo_date_interval()`.
@@ -780,7 +784,7 @@ Please see this [post](http://wp-event-organiser.com/blog/announcements/event-or
780
  - Support for 'COUNT' property
781
  - Improved error & warning feedback
782
  - Handle GEO tag
783
- - Import venue latitude/longtitude
784
  * Themes can switch off plug-in template handling from functions.php with `add_theme_support( 'event-organiser' )`
785
  * Added support for `event_occurrence__not_in` in `eo_get_events()` and `WP_Query()`
786
  * Improved MP6 compatability
3
  Donate link: http://www.wp-event-organiser.com/donate
4
  Tags: events, event, event categories, event organizer, events calendar, event management, ical, locations, google map, OpenStreetMap, widget, venues, maps, gigs, shows,
5
  Requires at least: 3.8.0
6
+ Tested up to: 4.9.7
7
+ Stable tag: 3.7.3
8
  License: GPLv3
9
 
10
  Create and maintain events, including complex reoccurring patterns, venue management (with Google Maps or OpenStreetMap), calendars and customisable event lists
222
 
223
  == Changelog ==
224
 
225
+ = 3.7.3 - 13th July 2018 =
226
+ * bugfix: Fix Google Maps API key notice appearing when Open Street Maps is selected
227
+ * bugfix: Corrected spelling error in venue arguments ("longtitude" corrected to "longitude")
228
+
229
  = 3.7.2 - 8th June 2018 =
230
  * bugfix: Fixed maps bug which affected users with Yoast's SEO Plugin installed
231
  * bugfix: Replaced data-vocabulary.org with schema.org
638
  * Fixes event updated failing on cron jobs. (Fixes conflict with wp-cron-control https://wordpress.org/support/topic/clashes-with-events-plug-in)
639
 
640
  = 2.9.0 - 16th September 2014 =
641
+ * Allow latitude/longitude co-ordinates of venue to be edited.
642
  * Update timepicker and prevent invalid date/time selection for event start/end dates.
643
  * Add filters for event taxonomy properties: `eventorganiser_register_taxonomy_{taxonomy}`
644
  * Filter response to fullCalendar: `eventorganiser_fullcalendar`
737
  * When restricting a calendar by category(ies). Only those categories appear in the category drop-down, if this is added.
738
  * Added event tag to fullCalendar filters (`[eo_fullcalendar headerRight="tag"]`).
739
  * Included HTML description in iCal feed. ("alternative text representation" tag).
740
+ * Included latitude/longitude co-ordinates in iCal feed.
741
  * Fix bugs with line wrapping in iCal feed.
742
  * Fixes bug where "am"/"pm" are translated in time input.
743
  * Fixes bug with `eo_date_interval()`.
784
  - Support for 'COUNT' property
785
  - Improved error & warning feedback
786
  - Handle GEO tag
787
+ - Import venue latitude/longitude
788
  * Themes can switch off plug-in template handling from functions.php with `add_theme_support( 'event-organiser' )`
789
  * Added support for `event_occurrence__not_in` in `eo_get_events()` and `WP_Query()`
790
  * Improved MP6 compatability