EmbedPress – Embed Google Docs, YouTube, Maps, Vimeo, Wistia Videos & Upload PDF, PPT in Gutenberg & Elementor - Version 3.1.1

Version Description

Download this release

Release Info

Developer wpdevteam
Plugin Icon wp plugin EmbedPress – Embed Google Docs, YouTube, Maps, Vimeo, Wistia Videos & Upload PDF, PPT in Gutenberg & Elementor
Version 3.1.1
Comparing to
See all releases

Code changes from version 3.1.0 to 3.1.1

EmbedPress/Elementor/Widgets/Embedpress_Document.php CHANGED
@@ -20,7 +20,7 @@ class Embedpress_Document extends Widget_Base
20
 
21
  public function get_title()
22
  {
23
- return esc_html__( 'EmbedPress Document', 'embedoress' );
24
  }
25
 
26
  public function get_categories()
@@ -272,8 +272,11 @@ class Embedpress_Document extends Widget_Base
272
  'use strict';
273
  $(document).ready(function () {
274
  var selector = $('.embedpress-embed-document-pdf');
 
 
 
275
  if (selector.length) {
276
- PDFObject.embed("<?php echo $url; ?>", "<?php echo '.' . $id; ?>");
277
  }
278
  });
279
  })(jQuery);
20
 
21
  public function get_title()
22
  {
23
+ return esc_html__( 'EmbedPress Document', 'embedpress' );
24
  }
25
 
26
  public function get_categories()
272
  'use strict';
273
  $(document).ready(function () {
274
  var selector = $('.embedpress-embed-document-pdf');
275
+ let option = {
276
+ forceObject: false,
277
+ };
278
  if (selector.length) {
279
+ PDFObject.embed("<?php echo $url; ?>", "<?php echo '.' . $id; ?>", option);
280
  }
281
  });
282
  })(jQuery);
EmbedPress/Elementor/Widgets/Embedpress_Elementor.php CHANGED
@@ -20,7 +20,7 @@ class Embedpress_Elementor extends Widget_Base {
20
  }
21
 
22
  public function get_title() {
23
- return esc_html__( 'EmbedPress', 'embedoress' );
24
  }
25
 
26
  public function get_categories() {
@@ -155,6 +155,9 @@ class Embedpress_Elementor extends Widget_Base {
155
  $this->init_twitch_control();
156
 
157
  $this->end_controls_section();
 
 
 
158
  if (! is_embedpress_pro_active()) {
159
  $this->start_controls_section(
160
  'embedpress_pro_section',
@@ -197,8 +200,6 @@ class Embedpress_Elementor extends Widget_Base {
197
  'condition' => $yt_condition,
198
  ]
199
  );
200
-
201
-
202
  $this->add_control(
203
  'embedpress_pro_youtube_auto_play',
204
  [
@@ -210,7 +211,6 @@ class Embedpress_Elementor extends Widget_Base {
210
  'condition' => $yt_condition,
211
  ]
212
  );
213
-
214
  $this->add_control(
215
  'embedpress_pro_youtube_player_options',
216
  [
@@ -219,7 +219,6 @@ class Embedpress_Elementor extends Widget_Base {
219
  'condition' => $yt_condition,
220
  ]
221
  );
222
-
223
  $this->add_control(
224
  'embedpress_pro_youtube_display_controls',
225
  [
@@ -235,7 +234,6 @@ class Embedpress_Elementor extends Widget_Base {
235
  'condition' => $yt_condition,
236
  ]
237
  );
238
-
239
  $this->add_control(
240
  'embedpress_pro_youtube_enable_fullscreen_button',
241
  [
@@ -250,7 +248,6 @@ class Embedpress_Elementor extends Widget_Base {
250
  ]
251
  ]
252
  );
253
-
254
  $this->add_control(
255
  'embedpress_pro_youtube_display_video_annotations',
256
  [
@@ -265,7 +262,6 @@ class Embedpress_Elementor extends Widget_Base {
265
  'condition' => $yt_condition,
266
  ]
267
  );
268
-
269
  //--- Youtube Pro control starts ---
270
  $this->add_control(
271
  'embedpress_pro_youtube_progress_bar_color',
@@ -282,7 +278,6 @@ class Embedpress_Elementor extends Widget_Base {
282
  'condition' => $yt_condition,
283
  ]
284
  );
285
-
286
  $this->add_control(
287
  'embedpress_pro_youtube_force_closed_captions',
288
  [
@@ -315,7 +310,6 @@ class Embedpress_Elementor extends Widget_Base {
315
  'classes' => $this->pro_class,
316
  ]
317
  );
318
-
319
  $this->add_control(
320
  'embedpress_pro_youtube_display_related_videos',
321
  [
@@ -328,9 +322,107 @@ class Embedpress_Elementor extends Widget_Base {
328
  'classes' => $this->pro_class,
329
  ]
330
  );
331
-
332
  $this->init_branding_controls( 'youtube');
333
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
334
  public function init_dailymotion_control ( ){
335
  $this->add_control(
336
  'embedpress_pro_dailymotion_logo',
@@ -1088,7 +1180,6 @@ class Embedpress_Elementor extends Widget_Base {
1088
  'embedpress_pro_embeded_source' => $provider_name,
1089
  "embedpress_pro_{$provider_name}_logo[url]!" =>''
1090
  ];
1091
-
1092
  $this->add_control(
1093
  "{$provider_name}_custom_logo_cta_heading",
1094
  [
@@ -1111,7 +1202,6 @@ class Embedpress_Elementor extends Widget_Base {
1111
  'classes' => $this->pro_class,
1112
  ]
1113
  );
1114
-
1115
  $this->add_group_control(
1116
  Group_Control_Image_Size::get_type(),
1117
  [
@@ -1121,7 +1211,6 @@ class Embedpress_Elementor extends Widget_Base {
1121
  'classes' => $this->pro_class,
1122
  ]
1123
  );
1124
-
1125
  $this->add_responsive_control(
1126
  "embedpress_pro_{$provider_name}_logo_xpos",
1127
  [
@@ -1187,7 +1276,6 @@ class Embedpress_Elementor extends Widget_Base {
1187
  'condition' => $logo_condition,
1188
  ]
1189
  );
1190
-
1191
  $this->start_controls_tab( "ep_{$provider_name}_cta_normal_tab",
1192
  [
1193
  'label' => __( 'Normal', 'embedpress' ),
@@ -1246,7 +1334,6 @@ class Embedpress_Elementor extends Widget_Base {
1246
  );
1247
  $this->end_controls_tab();
1248
  $this->end_controls_tabs();
1249
-
1250
  $this->add_control(
1251
  "embedpress_pro_{$provider_name}_cta",
1252
  [
@@ -1268,7 +1355,7 @@ class Embedpress_Elementor extends Widget_Base {
1268
  $this->start_controls_section(
1269
  'embedpress_style_section',
1270
  [
1271
- 'label' => __( 'Style', 'elementor' ),
1272
  'tab' => Controls_Manager::TAB_STYLE,
1273
  ]
1274
  );
20
  }
21
 
22
  public function get_title() {
23
+ return esc_html__( 'EmbedPress', 'embedpress' );
24
  }
25
 
26
  public function get_categories() {
155
  $this->init_twitch_control();
156
 
157
  $this->end_controls_section();
158
+
159
+ $this->init_youtube_subscription_section();
160
+
161
  if (! is_embedpress_pro_active()) {
162
  $this->start_controls_section(
163
  'embedpress_pro_section',
200
  'condition' => $yt_condition,
201
  ]
202
  );
 
 
203
  $this->add_control(
204
  'embedpress_pro_youtube_auto_play',
205
  [
211
  'condition' => $yt_condition,
212
  ]
213
  );
 
214
  $this->add_control(
215
  'embedpress_pro_youtube_player_options',
216
  [
219
  'condition' => $yt_condition,
220
  ]
221
  );
 
222
  $this->add_control(
223
  'embedpress_pro_youtube_display_controls',
224
  [
234
  'condition' => $yt_condition,
235
  ]
236
  );
 
237
  $this->add_control(
238
  'embedpress_pro_youtube_enable_fullscreen_button',
239
  [
248
  ]
249
  ]
250
  );
 
251
  $this->add_control(
252
  'embedpress_pro_youtube_display_video_annotations',
253
  [
262
  'condition' => $yt_condition,
263
  ]
264
  );
 
265
  //--- Youtube Pro control starts ---
266
  $this->add_control(
267
  'embedpress_pro_youtube_progress_bar_color',
278
  'condition' => $yt_condition,
279
  ]
280
  );
 
281
  $this->add_control(
282
  'embedpress_pro_youtube_force_closed_captions',
283
  [
310
  'classes' => $this->pro_class,
311
  ]
312
  );
 
313
  $this->add_control(
314
  'embedpress_pro_youtube_display_related_videos',
315
  [
322
  'classes' => $this->pro_class,
323
  ]
324
  );
 
325
  $this->init_branding_controls( 'youtube');
326
  }
327
+
328
+ public function init_youtube_subscription_section() {
329
+ $yt_condition = [
330
+ 'embedpress_pro_embeded_source' => 'youtube',
331
+ ];
332
+ $this->start_controls_section(
333
+ 'embedpress_yt_subscription_section',
334
+ [
335
+ 'label' => __( 'YouTube Subscriber Option', 'embedpress' ),
336
+ 'condition' => $yt_condition,
337
+
338
+ ]
339
+ );
340
+
341
+
342
+ $this->add_control(
343
+ 'yt_sub_channel',
344
+ [
345
+
346
+ 'label' => sprintf( __( 'Channel Link or ID %s', 'embedpress' ), $this->pro_text),
347
+ 'type' => Controls_Manager::TEXT,
348
+ 'dynamic' => [
349
+ 'active' => true,
350
+ ],
351
+ 'placeholder' => __( 'Enter Channel Link or ID', 'embedpress' ),
352
+ 'label_block' => true,
353
+ 'condition' => $yt_condition,
354
+ 'classes' => $this->pro_class,
355
+ ]
356
+ );
357
+ $this->add_control(
358
+ 'yt_sub_text',
359
+ [
360
+
361
+ 'label' => sprintf( __( 'Subscription Text %s', 'embedpress' ), $this->pro_text),
362
+ 'type' => Controls_Manager::TEXT,
363
+ 'dynamic' => [
364
+ 'active' => true,
365
+ ],
366
+ 'placeholder' => __( 'Eg. Don\'t miss out! Subscribe', 'embedpress' ),
367
+ 'label_block' => true,
368
+ 'condition' => $yt_condition,
369
+ 'classes' => $this->pro_class,
370
+ ]
371
+ );
372
+
373
+
374
+ $this->add_control(
375
+ 'yt_sub_layout',
376
+ [
377
+ 'label' => sprintf(__( 'Layout %s', 'embedpress' ), $this->pro_text ),
378
+ 'type' => Controls_Manager::SELECT,
379
+ 'label_block' => false,
380
+ 'default' => 'default',
381
+ 'options' => [
382
+ 'default' => __( 'Default', 'embedpress' ),
383
+ 'full' => __( 'Full', 'embedpress' )
384
+ ],
385
+ 'condition' => [
386
+ 'embedpress_pro_embeded_source' => 'youtube',
387
+ ],
388
+ 'classes' => $this->pro_class,
389
+ ]
390
+ );
391
+
392
+ $this->add_control(
393
+ 'yt_sub_theme',
394
+ [
395
+ 'label' => sprintf(__( 'Theme %s', 'embedpress' ), $this->pro_text ),
396
+ 'type' => Controls_Manager::SELECT,
397
+ 'label_block' => false,
398
+ 'default' => 'default',
399
+ 'options' => [
400
+ 'default' => __( 'Default', 'embedpress' ),
401
+ 'dark' => __( 'Dark', 'embedpress' )
402
+ ],
403
+ 'condition' => [
404
+ 'embedpress_pro_embeded_source' => 'youtube',
405
+ ],
406
+ 'classes' => $this->pro_class,
407
+ ]
408
+ );
409
+
410
+ $this->add_control(
411
+ 'yt_sub_count',
412
+ [
413
+ 'label' => sprintf(__( 'Subscriber Count %s', 'embedpress' ), $this->pro_text ),
414
+ 'type' => Controls_Manager::SWITCHER,
415
+ 'label_block' => false,
416
+ 'return_value' => 'yes',
417
+ 'default' => 'yes',
418
+ 'condition' => $yt_condition,
419
+ 'classes' => $this->pro_class,
420
+ ]
421
+ );
422
+
423
+ $this->end_controls_section();
424
+
425
+ }
426
  public function init_dailymotion_control ( ){
427
  $this->add_control(
428
  'embedpress_pro_dailymotion_logo',
1180
  'embedpress_pro_embeded_source' => $provider_name,
1181
  "embedpress_pro_{$provider_name}_logo[url]!" =>''
1182
  ];
 
1183
  $this->add_control(
1184
  "{$provider_name}_custom_logo_cta_heading",
1185
  [
1202
  'classes' => $this->pro_class,
1203
  ]
1204
  );
 
1205
  $this->add_group_control(
1206
  Group_Control_Image_Size::get_type(),
1207
  [
1211
  'classes' => $this->pro_class,
1212
  ]
1213
  );
 
1214
  $this->add_responsive_control(
1215
  "embedpress_pro_{$provider_name}_logo_xpos",
1216
  [
1276
  'condition' => $logo_condition,
1277
  ]
1278
  );
 
1279
  $this->start_controls_tab( "ep_{$provider_name}_cta_normal_tab",
1280
  [
1281
  'label' => __( 'Normal', 'embedpress' ),
1334
  );
1335
  $this->end_controls_tab();
1336
  $this->end_controls_tabs();
 
1337
  $this->add_control(
1338
  "embedpress_pro_{$provider_name}_cta",
1339
  [
1355
  $this->start_controls_section(
1356
  'embedpress_style_section',
1357
  [
1358
+ 'label' => __( 'Style', 'embedpress' ),
1359
  'tab' => Controls_Manager::TAB_STYLE,
1360
  ]
1361
  );
EmbedPress/Ends/Back/Settings/assets/css/style.css CHANGED
@@ -1926,19 +1926,19 @@ button.button__instagram.hover__highlight:hover .icon {
1926
  }
1927
 
1928
  .template__wrapper .form__control::-webkit-input-placeholder {
1929
- color: #25396F;
1930
  }
1931
 
1932
  .template__wrapper .form__control:-moz-placeholder {
1933
- color: #25396F;
1934
  }
1935
 
1936
  .template__wrapper .form__control::-moz-placeholder {
1937
- color: #25396F;
1938
  }
1939
 
1940
  .template__wrapper .form__control:-ms-input-placeholder {
1941
- color: #25396F;
1942
  }
1943
 
1944
  .template__wrapper textarea.form__control {
1926
  }
1927
 
1928
  .template__wrapper .form__control::-webkit-input-placeholder {
1929
+ color: #7C8DB5;
1930
  }
1931
 
1932
  .template__wrapper .form__control:-moz-placeholder {
1933
+ color: #7C8DB5;
1934
  }
1935
 
1936
  .template__wrapper .form__control::-moz-placeholder {
1937
+ color: #7C8DB5;
1938
  }
1939
 
1940
  .template__wrapper .form__control:-ms-input-placeholder {
1941
+ color: #7C8DB5;
1942
  }
1943
 
1944
  .template__wrapper textarea.form__control {
EmbedPress/Ends/Back/Settings/templates/youtube.php CHANGED
@@ -13,6 +13,12 @@ $color = isset( $yt_settings['color']) ? $yt_settings['color'] : 'red';
13
  $cc_load_policy = isset( $yt_settings['cc_load_policy']) ? $yt_settings['cc_load_policy'] : '';
14
  $rel = isset( $yt_settings['rel']) ? $yt_settings['rel'] : 1;
15
  $modestbranding = isset( $yt_settings['modestbranding']) ? $yt_settings['modestbranding'] : 0;
 
 
 
 
 
 
16
 
17
  ?>
18
 
@@ -146,6 +152,81 @@ $modestbranding = isset( $yt_settings['modestbranding']) ? $yt_settings['modestb
146
  <p><?php esc_html_e( "Indicates whether the player should display a YouTube logo in the control bar.", "embedpress" ); ?></p>
147
  </div>
148
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
149
  <?php do_action( 'embedpress_after_youtube_settings_fields'); ?>
150
  <button class="button button__themeColor radius-10 embedpress-submit-btn" name="submit" value="youtube"><?php esc_html_e( 'Save Changes', 'embedpress'); ?></button>
151
  </form>
13
  $cc_load_policy = isset( $yt_settings['cc_load_policy']) ? $yt_settings['cc_load_policy'] : '';
14
  $rel = isset( $yt_settings['rel']) ? $yt_settings['rel'] : 1;
15
  $modestbranding = isset( $yt_settings['modestbranding']) ? $yt_settings['modestbranding'] : 0;
16
+ // Subscription - Pro
17
+ $yt_sub_channel = isset( $yt_settings['yt_sub_channel']) ? $yt_settings['yt_sub_channel'] : '';
18
+ $yt_sub_text = isset( $yt_settings['yt_sub_text']) ? $yt_settings['yt_sub_text'] : '';
19
+ $yt_sub_layout = isset( $yt_settings['yt_sub_layout']) ? $yt_settings['yt_sub_layout'] : '';
20
+ $yt_sub_theme = isset( $yt_settings['yt_sub_theme']) ? $yt_settings['yt_sub_theme'] : '';
21
+ $yt_sub_count = isset( $yt_settings['yt_sub_count']) ? $yt_settings['yt_sub_count'] : '';
22
 
23
  ?>
24
 
152
  <p><?php esc_html_e( "Indicates whether the player should display a YouTube logo in the control bar.", "embedpress" ); ?></p>
153
  </div>
154
  </div>
155
+ <!-- SUBSCRIPTION-->
156
+ <h3><?php esc_html_e( "Subscription Button", "embedpress" ); ?></h3>
157
+
158
+ <div class="form__group">
159
+ <p class="form__label"><?php esc_html_e( "Channel Link or ID", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?> </p>
160
+ <div class="form__control__wrap <?php echo $pro_active ? '': 'isPro'; ?>">
161
+ <input type="text" class="form__control" data-default="<?php echo esc_attr( $yt_sub_channel ); ?>" value="<?php echo esc_attr( $yt_sub_channel ); ?>" name="yt_sub_channel" <?php echo $pro_active ? '' : 'disabled'; ?> placeholder="Enter Channel link or ID">
162
+
163
+ <p><?php esc_html_e( "You can use either your channel link or channel ID to show the subscription button.", "embedpress" ); ?></p>
164
+ </div>
165
+ <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
166
+
167
+ </div>
168
+
169
+ <div class="form__group">
170
+ <p class="form__label"><?php esc_html_e( "Subscription Text", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?> </p>
171
+ <div class="form__control__wrap <?php echo $pro_active ? '': 'isPro'; ?>">
172
+ <input type="text" class="form__control" data-default="<?php echo esc_attr( $yt_sub_text ); ?>" value="<?php echo esc_attr( $yt_sub_text ); ?>" name="yt_sub_text" <?php echo $pro_active ? '' : 'disabled'; ?> placeholder="<?php esc_attr_e( 'Eg. Don\'t miss out! Subscribe', 'embedpress' ) ?>">
173
+
174
+ <p><?php esc_html_e( "Optionally you can output some CTA text before the subscriber button.", "embedpress" ); ?></p>
175
+ </div>
176
+ <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
177
+
178
+ </div>
179
+
180
+ <div class="form__group">
181
+ <p class="form__label"><?php esc_html_e( "Layout", "embedpress" ); echo !$pro_active ? ' <span class="isPro">PRO</span>' : ''; ?></p>
182
+ <div class="form__control__wrap">
183
+ <div class="embedpress__select <?php echo $pro_active ? '': 'isPro'; ?>">
184
+ <span><i class="ep-icon ep-caret-down"></i></span>
185
+ <select name="yt_sub_layout" data-default="<?php echo esc_attr( $yt_sub_layout); ?>" <?php echo !$pro_active ? 'disabled' : ''; ?>>
186
+ <option value="" <?php selected( 'default', $yt_sub_layout); ?>><?php esc_html_e( "Default", "embedpress" ); ?></option>
187
+ <option value="full" <?php selected( 'full', $yt_sub_layout); ?>><?php esc_html_e( "Full", "embedpress" ); ?></option>
188
+ </select>
189
+ </div>
190
+ <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
191
+
192
+ <p><?php esc_html_e( "Full layout shows channel image. Default layout shows only channel name and subscription button.", "embedpress" ); ?></p>
193
+ </div>
194
+ </div>
195
+
196
+ <div class="form__group">
197
+ <p class="form__label"><?php esc_html_e( "Theme", "embedpress" ); echo !$pro_active ? ' <span class="isPro">PRO</span>' : ''; ?></p>
198
+ <div class="form__control__wrap">
199
+ <div class="embedpress__select <?php echo $pro_active ? '': 'isPro'; ?>">
200
+ <span><i class="ep-icon ep-caret-down"></i></span>
201
+ <select name="yt_sub_theme" data-default="<?php echo esc_attr( $yt_sub_theme); ?>" <?php echo !$pro_active ? 'disabled' : ''; ?>>
202
+ <option value="" <?php selected( 'default', $yt_sub_theme); ?>><?php esc_html_e( "Default", "embedpress" ); ?></option>
203
+ <option value="dark" <?php selected( 'dark', $yt_sub_theme); ?>><?php esc_html_e( "Dark", "embedpress" ); ?></option>
204
+ </select>
205
+ </div>
206
+ <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
207
+
208
+ <p><?php esc_html_e( "Default theme is good for white background. Dark theme is good for black background.", "embedpress" ); ?></p>
209
+ </div>
210
+ </div>
211
+
212
+ <div class="form__group">
213
+ <p class="form__label"><?php esc_html_e( "Show Subscriber Count", "embedpress" ); echo !$pro_active ? ' <span class="isPro">PRO</span>': ''; ?></p>
214
+ <div class="form__control__wrap">
215
+ <div class="input__flex input__radio_wrap <?php echo $pro_active ? '': 'isPro'; ?>" data-default="<?php echo esc_attr( $yt_sub_count ); ?>" data-value="<?php echo esc_attr( $yt_sub_count ); ?>">
216
+ <label class="input__radio">
217
+ <input type="radio" name="yt_sub_count" value="" <?php echo !$pro_active ? 'disabled ' : ''; checked( '', $yt_sub_count); ?>>
218
+ <span><?php esc_html_e( "No", "embedpress" ); ?></span>
219
+ </label>
220
+ <label class="input__radio">
221
+ <input type="radio" name="yt_sub_count" value="1" <?php echo !$pro_active ? 'disabled ' : ''; checked( '1', $yt_sub_count);?>>
222
+ <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
223
+ </label>
224
+ </div>
225
+ <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
226
+ </div>
227
+ </div>
228
+
229
+
230
  <?php do_action( 'embedpress_after_youtube_settings_fields'); ?>
231
  <button class="button button__themeColor radius-10 embedpress-submit-btn" name="submit" value="youtube"><?php esc_html_e( 'Save Changes', 'embedpress'); ?></button>
232
  </form>
EmbedPress/Includes/Classes/EmbedPress_Notice.php CHANGED
@@ -416,7 +416,7 @@ class EmbedPress_Notice {
416
  }
417
  /**
418
  * Get upsale arguments.
419
- * @return void
420
  */
421
  private function get_upsale_args(){
422
  return ( empty( $this->upsale_args ) ) ? array() : $this->upsale_args;
@@ -434,7 +434,7 @@ class EmbedPress_Notice {
434
  if( empty( $plugin_slug ) ) {
435
  return;
436
  }
437
- echo '<button data-slug="'. $plugin_slug .'" id="plugin-install-core-'. $this->plugin_name .'" class="button button-primary">'. __( 'Install Now!', $this->text_domain, 'notificationx' ) .'</button>';
438
  }
439
  /**
440
  * This methods is responsible for get notice image.
416
  }
417
  /**
418
  * Get upsale arguments.
419
+ * @return array
420
  */
421
  private function get_upsale_args(){
422
  return ( empty( $this->upsale_args ) ) ? array() : $this->upsale_args;
434
  if( empty( $plugin_slug ) ) {
435
  return;
436
  }
437
+ echo '<button data-slug="'. $plugin_slug .'" id="plugin-install-core-'. $this->plugin_name .'" class="button button-primary">'. __( 'Install Now!', 'embedpress' ) .'</button>';
438
  }
439
  /**
440
  * This methods is responsible for get notice image.
EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php CHANGED
@@ -374,7 +374,7 @@ if( ! class_exists('EmbedPress_Plugin_Usage_Tracker') ) :
374
  */
375
  $plugin = $this->plugin_data();
376
  if( empty( $plugin ) ) {
377
- $body['message'] .= __( 'We can\'t detect any plugin information. This is most probably because you have not included the code in the plugin main file.', 'disable-comments' );
378
  $body['status'] = 'NOT FOUND';
379
  } else {
380
  if( isset( $plugin['Name'] ) ) {
@@ -643,9 +643,9 @@ if( ! class_exists('EmbedPress_Plugin_Usage_Tracker') ) :
643
  */
644
  public function set_notice_options( $options = [] ){
645
  $default_options = [
646
- 'consent_button_text' => __( 'What we collect.', 'disable-comments' ),
647
- 'yes' => __( 'Sure, I\'d like to help', 'disable-comments' ),
648
- 'no' => __( 'No Thanks.', 'disable-comments' ),
649
  ];
650
  $options = wp_parse_args( $options, $default_options );
651
  $this->notice_options = $options;
@@ -738,20 +738,20 @@ if( ! class_exists('EmbedPress_Plugin_Usage_Tracker') ) :
738
  */
739
  public function deactivation_reasons() {
740
  $form = array();
741
- $form['heading'] = __( 'Sorry to see you go', 'disable-comments' );
742
- $form['body'] = __( 'Before you deactivate the plugin, would you quickly give us your reason for doing so?', 'disable-comments' );
743
 
744
  $form['options'] = array(
745
- __( 'I no longer need the plugin', 'disable-comments' ),
746
  [
747
- 'label' => __( 'I found a better plugin', 'disable-comments' ),
748
- 'extra_field' => __( 'Please share which plugin', 'disable-comments' )
749
  ],
750
- __( "I couldn't get the plugin to work", 'disable-comments' ),
751
- __( 'It\'s a temporary deactivation', 'disable-comments' ),
752
  [
753
- 'label' => __( 'Other', 'disable-comments' ),
754
- 'extra_field' => __( 'Please share the reason', 'disable-comments' ),
755
  'type' => 'textarea'
756
  ]
757
  );
@@ -793,7 +793,7 @@ if( ! class_exists('EmbedPress_Plugin_Usage_Tracker') ) :
793
  $html .= '</ul></div><!-- .wpinsights-'. $class_plugin_name .'-goodbye-options -->';
794
  }
795
  $html .= '</div><!-- .wpinsights-goodbye-form-body -->';
796
- $html .= '<p class="deactivating-spinner"><span class="spinner"></span> ' . __( 'Submitting form', 'disable-comments' ) . '</p>';
797
 
798
  $wrapper_class = '.wpinsights-goodbye-form-wrapper-'. $class_plugin_name;
799
 
@@ -851,7 +851,7 @@ if( ! class_exists('EmbedPress_Plugin_Usage_Tracker') ) :
851
  var url = document.getElementById("wpinsights-goodbye-link-<?php echo $class_plugin_name; ?>");
852
  $('body').toggleClass('wpinsights-form-active-<?php echo $class_plugin_name; ?>');
853
  $(".wpinsights-goodbye-form-wrapper-<?php echo $class_plugin_name; ?> #wpinsights-goodbye-form").fadeIn();
854
- $(".wpinsights-goodbye-form-wrapper-<?php echo $class_plugin_name; ?> #wpinsights-goodbye-form").html( '<?php echo $html; ?>' + '<div class="wpinsights-goodbye-form-footer"><div class="wpinsights-goodbye-form-buttons"><a id="wpinsights-submit-form-<?php echo $class_plugin_name; ?>" class="wpinsights-submit-btn" href="#"><?php _e( 'Submit and Deactivate', 'disable-comments' ); ?></a>&nbsp;<a class="wpsp-put-deactivate-btn" href="'+url+'"><?php _e( 'Just Deactivate', 'disable-comments' ); ?></a></div></div>');
855
  $('#wpinsights-submit-form-<?php echo $class_plugin_name; ?>').on('click', function(e){
856
  // As soon as we click, the body of the form should disappear
857
  $("#wpinsights-goodbye-form-<?php echo $class_plugin_name; ?> .wpinsights-goodbye-form-body").fadeOut();
374
  */
375
  $plugin = $this->plugin_data();
376
  if( empty( $plugin ) ) {
377
+ $body['message'] .= __( 'We can\'t detect any plugin information. This is most probably because you have not included the code in the plugin main file.', 'embedpress' );
378
  $body['status'] = 'NOT FOUND';
379
  } else {
380
  if( isset( $plugin['Name'] ) ) {
643
  */
644
  public function set_notice_options( $options = [] ){
645
  $default_options = [
646
+ 'consent_button_text' => __( 'What we collect.', 'embedpress' ),
647
+ 'yes' => __( 'Sure, I\'d like to help', 'embedpress' ),
648
+ 'no' => __( 'No Thanks.', 'embedpress' ),
649
  ];
650
  $options = wp_parse_args( $options, $default_options );
651
  $this->notice_options = $options;
738
  */
739
  public function deactivation_reasons() {
740
  $form = array();
741
+ $form['heading'] = __( 'Sorry to see you go', 'embedpress' );
742
+ $form['body'] = __( 'Before you deactivate the plugin, would you quickly give us your reason for doing so?', 'embedpress' );
743
 
744
  $form['options'] = array(
745
+ __( 'I no longer need the plugin', 'embedpress' ),
746
  [
747
+ 'label' => __( 'I found a better plugin', 'embedpress' ),
748
+ 'extra_field' => __( 'Please share which plugin', 'embedpress' )
749
  ],
750
+ __( "I couldn't get the plugin to work", 'embedpress' ),
751
+ __( 'It\'s a temporary deactivation', 'embedpress' ),
752
  [
753
+ 'label' => __( 'Other', 'embedpress' ),
754
+ 'extra_field' => __( 'Please share the reason', 'embedpress' ),
755
  'type' => 'textarea'
756
  ]
757
  );
793
  $html .= '</ul></div><!-- .wpinsights-'. $class_plugin_name .'-goodbye-options -->';
794
  }
795
  $html .= '</div><!-- .wpinsights-goodbye-form-body -->';
796
+ $html .= '<p class="deactivating-spinner"><span class="spinner"></span> ' . __( 'Submitting form', 'embedpress' ) . '</p>';
797
 
798
  $wrapper_class = '.wpinsights-goodbye-form-wrapper-'. $class_plugin_name;
799
 
851
  var url = document.getElementById("wpinsights-goodbye-link-<?php echo $class_plugin_name; ?>");
852
  $('body').toggleClass('wpinsights-form-active-<?php echo $class_plugin_name; ?>');
853
  $(".wpinsights-goodbye-form-wrapper-<?php echo $class_plugin_name; ?> #wpinsights-goodbye-form").fadeIn();
854
+ $(".wpinsights-goodbye-form-wrapper-<?php echo $class_plugin_name; ?> #wpinsights-goodbye-form").html( '<?php echo $html; ?>' + '<div class="wpinsights-goodbye-form-footer"><div class="wpinsights-goodbye-form-buttons"><a id="wpinsights-submit-form-<?php echo $class_plugin_name; ?>" class="wpinsights-submit-btn" href="#"><?php _e( 'Submit and Deactivate', 'embedpress' ); ?></a>&nbsp;<a class="wpsp-put-deactivate-btn" href="'+url+'"><?php _e( 'Just Deactivate', 'embedpress' ); ?></a></div></div>');
855
  $('#wpinsights-submit-form-<?php echo $class_plugin_name; ?>').on('click', function(e){
856
  // As soon as we click, the body of the form should disappear
857
  $("#wpinsights-goodbye-form-<?php echo $class_plugin_name; ?> .wpinsights-goodbye-form-body").fadeOut();
EmbedPress/Includes/Classes/Feature_Enhancer.php CHANGED
@@ -345,10 +345,10 @@ class Feature_Enhancer {
345
  );
346
 
347
  $labels = array(
348
- 'watch_from_beginning' => __('Watch from the beginning', 'embedpress-wistia'),
349
- 'skip_to_where_you_left_off' => __('Skip to where you left off', 'embedpress-wistia'),
350
  'you_have_watched_it_before' => __('It looks like you\'ve watched<br />part of this video before!',
351
- 'embedpress-wistia'),
352
  );
353
  $labels = json_encode($labels);
354
 
@@ -614,51 +614,35 @@ class Feature_Enhancer {
614
  return array(
615
  'autoplay' => array(
616
  'type' => 'bool',
617
- 'label' => 'Autoplay',
618
- 'description' => 'Automatically start to play the videos when the player loads.',
619
  'default' => false
620
  ),
621
  'loop' => array(
622
  'type' => 'bool',
623
- 'label' => 'Loop',
624
- 'description' => 'Play the video again automatically when it reaches the end.',
625
  'default' => false
626
  ),
627
  'autopause' => array(
628
  'type' => 'bool',
629
- 'label' => 'Autopause',
630
- 'description' => 'Pause this video automatically when another one plays.',
631
  'default' => false
632
  ),
633
  'vimeo_dnt' => array(
634
  'type' => 'bool',
635
- 'label' => 'DNT',
636
- 'description' => 'Setting this parameter to "yes" will block the player from tracking any session data, including all cookies',
637
  'default' => true,
638
  ),
639
  'color' => array(
640
  'type' => 'text',
641
- 'label' => 'Color',
642
- 'description' => 'Specify the color of the video controls.',
643
  'default' => '#00adef',
644
  'classes' => 'color-field'
645
  ),
646
  'display_title' => array(
647
  'type' => 'bool',
648
- 'label' => 'Display Title',
649
- 'description' => 'Indicates whether the title is displayed.',
650
  'default' => true
651
  ),
652
  'display_author' => array(
653
  'type' => 'bool',
654
- 'label' => 'Display Author',
655
- 'description' => 'Indicates whether the author is displayed.',
656
  'default' => true
657
  ),
658
  'display_avatar' => array(
659
  'type' => 'bool',
660
- 'label' => 'Display Avatar',
661
- 'description' => 'Indicates whether the avatar is displayed.',
662
  'default' => true
663
  )
664
  );
@@ -667,85 +651,85 @@ class Feature_Enhancer {
667
  $schema = array(
668
  'display_fullscreen_button' => array(
669
  'type' => 'bool',
670
- 'label' => __('Fullscreen Button', 'embedpress-wistia'),
671
- 'description' => __('Indicates whether the fullscreen button is visible.', 'embedpress-wistia'),
672
  'default' => true
673
  ),
674
  'display_playbar' => array(
675
  'type' => 'bool',
676
- 'label' => __('Playbar', 'embedpress-wistia'),
677
- 'description' => __('Indicates whether the playbar is visible.', 'embedpress-wistia'),
678
  'default' => true
679
  ),
680
  'small_play_button' => array(
681
  'type' => 'bool',
682
- 'label' => __('Small Play Button', 'embedpress-wistia'),
683
  'description' => __('Indicates whether the small play button is visible on the bottom left.',
684
- 'embedpress-wistia'),
685
  'default' => true
686
  ),
687
  'display_volume_control' => array(
688
  'type' => 'bool',
689
- 'label' => __('Volume Control', 'embedpress-wistia'),
690
- 'description' => __('Indicates whether the volume control is visible.', 'embedpress-wistia'),
691
  'default' => true
692
  ),
693
  'autoplay' => array(
694
  'type' => 'bool',
695
- 'label' => __('Auto Play', 'embedpress-wistia'),
696
  'description' => __('Automatically start to play the videos when the player loads.',
697
- 'embedpress-wistia'),
698
  'default' => false
699
  ),
700
  'volume' => array(
701
  'type' => 'text',
702
- 'label' => __('Volume', 'embedpress-wistia'),
703
  'description' => __('Start the video with a custom volume level. Set values between 0 and 100.',
704
- 'embedpress-wistia'),
705
  'default' => '100'
706
  ),
707
  'player_color' => array(
708
  'type' => 'text',
709
- 'label' => __('Color', 'embedpress-wistia'),
710
- 'description' => __('Specify the color of the video controls.', 'embedpress-wistia'),
711
  'default' => '#00adef',
712
  'classes' => 'color-field'
713
  ),
714
  'plugin_resumable' => array(
715
  'type' => 'bool',
716
- 'label' => __('Plugin: Resumable', 'embedpress-wistia'),
717
  'description' => __('Indicates whether the Resumable plugin is active. Allow to resume the video or start from the begining.',
718
- 'embedpress-wistia'),
719
  'default' => false
720
  ),
721
  'plugin_captions' => array(
722
  'type' => 'bool',
723
- 'label' => __('Plugin: Captions', 'embedpress-wistia'),
724
- 'description' => __('Indicates whether the Captions plugin is active.', 'embedpress-wistia'),
725
  'default' => false
726
  ),
727
  'plugin_captions_default' => array(
728
  'type' => 'bool',
729
- 'label' => __('Captions Enabled By Default', 'embedpress-wistia'),
730
- 'description' => __('Indicates whether the Captions are enabled by default.', 'embedpress-wistia'),
731
  'default' => false
732
  ),
733
  'plugin_focus' => array(
734
  'type' => 'bool',
735
- 'label' => __('Plugin: Focus', 'embedpress-wistia'),
736
- 'description' => __('Indicates whether the Focus plugin is active.', 'embedpress-wistia'),
737
  'default' => false
738
  ),
739
  'plugin_rewind' => array(
740
  'type' => 'bool',
741
- 'label' => __('Plugin: Rewind', 'embedpress-wistia'),
742
- 'description' => __('Indicates whether the Rewind plugin is active.', 'embedpress-wistia'),
743
  'default' => false
744
  ),
745
  'plugin_rewind_time' => array(
746
  'type' => 'text',
747
- 'label' => __('Rewind time (seconds)', 'embedpress-wistia'),
748
- 'description' => __('The amount of time to rewind, in seconds.', 'embedpress-wistia'),
749
  'default' => '10'
750
  ),
751
  );
@@ -772,9 +756,9 @@ class Feature_Enhancer {
772
  $shortVideoId = $videoId;
773
 
774
  $labels = array(
775
- 'watch_from_beginning' => __('Watch from the beginning', 'embedpress-wistia'),
776
- 'skip_to_where_you_left_off' => __('Skip to where you left off', 'embedpress-wistia'),
777
- 'you_have_watched_it_before' => __('It looks like you\'ve watched<br />part of this video before!', 'embedpress-wistia'),
778
  );
779
  $labels = json_encode($labels);
780
 
@@ -847,59 +831,27 @@ class Feature_Enhancer {
847
  return [
848
  'embedpress_pro_video_start_time' => [
849
  'type' => 'number',
850
- 'label' => __( 'Start Time (in Seconds)', 'embedpress-pro' ),
851
- 'description' => __( 'You can put a custom time in seconds to start the video from. Example: 500', 'embedpress-pro' ),
852
  'default' => 0,
853
  ],
854
  'embedpress_pro_twitch_autoplay' => [
855
  'type' => 'string',
856
- 'label' => __( 'Auto Play', 'embedpress-pro' ),
857
- 'description' => __( 'Automatically start to play the videos when the player loads.', 'embedpress-pro' ),
858
- 'options' => [
859
- 'yes' => __( 'Yes', 'embedpress-pro' ),
860
- 'no' => __( 'No', 'embedpress-pro' ),
861
- ],
862
  'default' => 'no',
863
  ],
864
  'embedpress_pro_twitch_chat' => [
865
  'type' => 'string',
866
- 'label' => __( 'Show chat', 'embedpress-pro' ),
867
- 'description' => __( 'You can show or hide chat using this settings' ),
868
- 'options' => [
869
- 'yes' => __( 'Yes', 'embedpress-pro' ),
870
- 'no' => __( 'No', 'embedpress-pro' ),
871
- ],
872
  'default' => 'no',
873
  ],
874
 
875
  'embedpress_pro_twitch_theme' => [
876
  'type' => 'string',
877
- 'label' => __( 'Theme', 'embedpress-pro' ),
878
- 'description' => __( 'Set dark or light theme for the twitch comment', 'embedpress-pro' ),
879
- 'options' => [
880
- 'dark' => __( 'Dark', 'embedpress-pro' ),
881
- 'light' => __( 'Light', 'embedpress-pro' ),
882
- ],
883
  'default' => 'dark',
884
  ],
885
  'embedpress_pro_fs' => [
886
  'type' => 'string',
887
- 'label' => 'Enable Fullscreen button',
888
- 'description' => __( 'Indicates whether the fullscreen button is enabled.', 'embedpress-pro' ),
889
- 'options' => [
890
- 'yes' => __( 'Yes', 'embedpress-pro' ),
891
- 'no' => __( 'No', 'embedpress-pro' ),
892
- ],
893
  'default' => 'yes',
894
  ],
895
  'embedpress_pro_twitch_mute' => [
896
  'type' => 'string',
897
- 'label' => __( 'Mute on start', 'embedpress-pro' ),
898
- 'description' => __( 'Set it to Yes to mute the video on start.', 'embedpress-pro' ),
899
- 'options' => [
900
- 'yes' => __( 'Yes', 'embedpress-pro' ),
901
- 'no' => __( 'No', 'embedpress-pro' ),
902
- ],
903
  'default' => 'yes',
904
  ],
905
 
345
  );
346
 
347
  $labels = array(
348
+ 'watch_from_beginning' => __('Watch from the beginning', 'embedpress'),
349
+ 'skip_to_where_you_left_off' => __('Skip to where you left off', 'embedpress'),
350
  'you_have_watched_it_before' => __('It looks like you\'ve watched<br />part of this video before!',
351
+ 'embedpress'),
352
  );
353
  $labels = json_encode($labels);
354
 
614
  return array(
615
  'autoplay' => array(
616
  'type' => 'bool',
 
 
617
  'default' => false
618
  ),
619
  'loop' => array(
620
  'type' => 'bool',
 
 
621
  'default' => false
622
  ),
623
  'autopause' => array(
624
  'type' => 'bool',
 
 
625
  'default' => false
626
  ),
627
  'vimeo_dnt' => array(
628
  'type' => 'bool',
 
 
629
  'default' => true,
630
  ),
631
  'color' => array(
632
  'type' => 'text',
 
 
633
  'default' => '#00adef',
634
  'classes' => 'color-field'
635
  ),
636
  'display_title' => array(
637
  'type' => 'bool',
 
 
638
  'default' => true
639
  ),
640
  'display_author' => array(
641
  'type' => 'bool',
 
 
642
  'default' => true
643
  ),
644
  'display_avatar' => array(
645
  'type' => 'bool',
 
 
646
  'default' => true
647
  )
648
  );
651
  $schema = array(
652
  'display_fullscreen_button' => array(
653
  'type' => 'bool',
654
+ 'label' => __('Fullscreen Button', 'embedpress'),
655
+ 'description' => __('Indicates whether the fullscreen button is visible.', 'embedpress'),
656
  'default' => true
657
  ),
658
  'display_playbar' => array(
659
  'type' => 'bool',
660
+ 'label' => __('Playbar', 'embedpress'),
661
+ 'description' => __('Indicates whether the playbar is visible.', 'embedpress'),
662
  'default' => true
663
  ),
664
  'small_play_button' => array(
665
  'type' => 'bool',
666
+ 'label' => __('Small Play Button', 'embedpress'),
667
  'description' => __('Indicates whether the small play button is visible on the bottom left.',
668
+ 'embedpress'),
669
  'default' => true
670
  ),
671
  'display_volume_control' => array(
672
  'type' => 'bool',
673
+ 'label' => __('Volume Control', 'embedpress'),
674
+ 'description' => __('Indicates whether the volume control is visible.', 'embedpress'),
675
  'default' => true
676
  ),
677
  'autoplay' => array(
678
  'type' => 'bool',
679
+ 'label' => __('Auto Play', 'embedpress'),
680
  'description' => __('Automatically start to play the videos when the player loads.',
681
+ 'embedpress'),
682
  'default' => false
683
  ),
684
  'volume' => array(
685
  'type' => 'text',
686
+ 'label' => __('Volume', 'embedpress'),
687
  'description' => __('Start the video with a custom volume level. Set values between 0 and 100.',
688
+ 'embedpress'),
689
  'default' => '100'
690
  ),
691
  'player_color' => array(
692
  'type' => 'text',
693
+ 'label' => __('Color', 'embedpress'),
694
+ 'description' => __('Specify the color of the video controls.', 'embedpress'),
695
  'default' => '#00adef',
696
  'classes' => 'color-field'
697
  ),
698
  'plugin_resumable' => array(
699
  'type' => 'bool',
700
+ 'label' => __('Plugin: Resumable', 'embedpress'),
701
  'description' => __('Indicates whether the Resumable plugin is active. Allow to resume the video or start from the begining.',
702
+ 'embedpress'),
703
  'default' => false
704
  ),
705
  'plugin_captions' => array(
706
  'type' => 'bool',
707
+ 'label' => __('Plugin: Captions', 'embedpress'),
708
+ 'description' => __('Indicates whether the Captions plugin is active.', 'embedpress'),
709
  'default' => false
710
  ),
711
  'plugin_captions_default' => array(
712
  'type' => 'bool',
713
+ 'label' => __('Captions Enabled By Default', 'embedpress'),
714
+ 'description' => __('Indicates whether the Captions are enabled by default.', 'embedpress'),
715
  'default' => false
716
  ),
717
  'plugin_focus' => array(
718
  'type' => 'bool',
719
+ 'label' => __('Plugin: Focus', 'embedpress'),
720
+ 'description' => __('Indicates whether the Focus plugin is active.', 'embedpress'),
721
  'default' => false
722
  ),
723
  'plugin_rewind' => array(
724
  'type' => 'bool',
725
+ 'label' => __('Plugin: Rewind', 'embedpress'),
726
+ 'description' => __('Indicates whether the Rewind plugin is active.', 'embedpress'),
727
  'default' => false
728
  ),
729
  'plugin_rewind_time' => array(
730
  'type' => 'text',
731
+ 'label' => __('Rewind time (seconds)', 'embedpress'),
732
+ 'description' => __('The amount of time to rewind, in seconds.', 'embedpress'),
733
  'default' => '10'
734
  ),
735
  );
756
  $shortVideoId = $videoId;
757
 
758
  $labels = array(
759
+ 'watch_from_beginning' => __('Watch from the beginning', 'embedpress'),
760
+ 'skip_to_where_you_left_off' => __('Skip to where you left off', 'embedpress'),
761
+ 'you_have_watched_it_before' => __('It looks like you\'ve watched<br />part of this video before!', 'embedpress'),
762
  );
763
  $labels = json_encode($labels);
764
 
831
  return [
832
  'embedpress_pro_video_start_time' => [
833
  'type' => 'number',
 
 
834
  'default' => 0,
835
  ],
836
  'embedpress_pro_twitch_autoplay' => [
837
  'type' => 'string',
 
 
 
 
 
 
838
  'default' => 'no',
839
  ],
840
  'embedpress_pro_twitch_chat' => [
841
  'type' => 'string',
 
 
 
 
 
 
842
  'default' => 'no',
843
  ],
844
 
845
  'embedpress_pro_twitch_theme' => [
846
  'type' => 'string',
 
 
 
 
 
 
847
  'default' => 'dark',
848
  ],
849
  'embedpress_pro_fs' => [
850
  'type' => 'string',
 
 
 
 
 
 
851
  'default' => 'yes',
852
  ],
853
  'embedpress_pro_twitch_mute' => [
854
  'type' => 'string',
 
 
 
 
 
 
855
  'default' => 'yes',
856
  ],
857
 
EmbedPress/Includes/Traits/Shared.php CHANGED
@@ -107,14 +107,13 @@ trait Shared {
107
  // Update Notice For PRO Version
108
  if ( $this->is_pro_active() && \version_compare( get_embedpress_pro_version(), '2.0.0', '<' ) ) {
109
  $notice->classes( 'update', 'notice is-dismissible ' );
110
- $notice->message( 'update', '<p>' . __( 'You are using an incompatible version of EmbedPress PRO. Please update to v3.4.0+. <a href="https://essential-addons.com/elementor/docs/manually-update-essential-addons-pro/" target="_blank">Follow manual update guide.</a>', $notice->text_domain ) . '</p>' );
111
  $notice->thumbnail( 'update', plugins_url( 'assets/images/icon-128x128.png', EMBEDPRESS_PLUGIN_BASENAME ) );
112
  }
113
 
114
  if ( \version_compare( EMBEDPRESS_VERSION, '3.0.0', '=' ) ) {
115
  $notice->classes( 'update', 'notice is-dismissible ' );
116
- $notice->message( 'update', '<p>' . __( '
117
- EmbedPress 3.0 is here with new features and options, read the details <a href="https://wpdeveloper.net/introducing-embedpress-3.0" target="_blank">here</a>, and check the new setting page. <a href="'. admin_url('admin.php?page=embedpress') .'">Click Here.</a>', $notice->text_domain ) . '</p>' );
118
  $notice->thumbnail( 'update', plugins_url( 'assets/images/icon-128x128.png', EMBEDPRESS_PLUGIN_BASENAME ) );
119
  }
120
 
107
  // Update Notice For PRO Version
108
  if ( $this->is_pro_active() && \version_compare( get_embedpress_pro_version(), '2.0.0', '<' ) ) {
109
  $notice->classes( 'update', 'notice is-dismissible ' );
110
+ $notice->message( 'update', '<p>' . __( 'You are using an incompatible version of EmbedPress PRO. Please update to v3.4.0+. <a href="https://essential-addons.com/elementor/docs/manually-update-essential-addons-pro/" target="_blank">Follow manual update guide.</a>', 'embedpress' ) . '</p>' );
111
  $notice->thumbnail( 'update', plugins_url( 'assets/images/icon-128x128.png', EMBEDPRESS_PLUGIN_BASENAME ) );
112
  }
113
 
114
  if ( \version_compare( EMBEDPRESS_VERSION, '3.0.0', '=' ) ) {
115
  $notice->classes( 'update', 'notice is-dismissible ' );
116
+ $notice->message( 'update', '<p>' . __( 'EmbedPress 3.0 is here with new features and options, read the details <a href="https://wpdeveloper.net/introducing-embedpress-3.0" target="_blank">here</a>, and check the new setting page. <a href="'. admin_url('admin.php?page=embedpress') .'">Click Here.</a>', 'embedpress' ) . '</p>' );
 
117
  $notice->thumbnail( 'update', plugins_url( 'assets/images/icon-128x128.png', EMBEDPRESS_PLUGIN_BASENAME ) );
118
  }
119
 
EmbedPress/Plugins/Plugin.php CHANGED
@@ -156,7 +156,7 @@ abstract class Plugin
156
  public static function handleActionLinks($links, $file)
157
  {
158
  $settingsLink = '<a href="' . admin_url('admin.php?page=' . EMBEDPRESS_PLG_NAME . '&tab=' . static::SLUG) . '" aria-label="' . __('Open settings page',
159
- 'embedpress-' . static::SLUG) . '">' . __('Settings', 'embedpress-' . static::SLUG) . '</a>';
160
 
161
  array_unshift($links, $settingsLink);
162
  if ( !is_embedpress_pro_active() ) {
156
  public static function handleActionLinks($links, $file)
157
  {
158
  $settingsLink = '<a href="' . admin_url('admin.php?page=' . EMBEDPRESS_PLG_NAME . '&tab=' . static::SLUG) . '" aria-label="' . __('Open settings page',
159
+ 'embedpress') . '">' . __('Settings', 'embedpress') . '</a>';
160
 
161
  array_unshift($links, $settingsLink);
162
  if ( !is_embedpress_pro_active() ) {
Gutenberg/dist/blocks.build.js CHANGED
@@ -1 +1 @@
1
- !function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=6)}([function(e,t,n){"use strict";n.d(t,"c",function(){return l}),n.d(t,"h",function(){return c}),n.d(t,"g",function(){return s}),n.d(t,"e",function(){return u}),n.d(t,"d",function(){return p}),n.d(t,"f",function(){return m}),n.d(t,"i",function(){return f}),n.d(t,"j",function(){return d}),n.d(t,"k",function(){return h}),n.d(t,"a",function(){return b}),n.d(t,"b",function(){return w});var r=wp.components,i=r.G,o=r.Path,a=(r.Polygon,r.SVG),l=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#2196F3"},d:"M 37 45 L 11 45 C 9.34375 45 8 43.65625 8 42 L 8 6 C 8 4.34375 9.34375 3 11 3 L 30 3 L 40 13 L 40 42 C 40 43.65625 38.65625 45 37 45 Z "}),wp.element.createElement(o,{style:{fill:"#BBDEFB"},d:"M 40 13 L 30 13 L 30 3 Z "}),wp.element.createElement(o,{style:{fill:"#1565C0"},d:"M 30 13 L 40 23 L 40 13 Z "}),wp.element.createElement(o,{style:{fill:"#E3F2FD"},d:"M 15 23 L 33 23 L 33 25 L 15 25 Z "}),wp.element.createElement(o,{style:{fill:"#E3F2FD"},d:"M 15 27 L 33 27 L 33 29 L 15 29 Z "}),wp.element.createElement(o,{style:{fill:"#E3F2FD"},d:"M 15 31 L 33 31 L 33 33 L 15 33 Z "}),wp.element.createElement(o,{style:{fill:"#E3F2FD"},d:"M 15 35 L 25 35 L 25 37 L 15 37 Z "}))),c=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",enableBackground:"new 0 0 24 24",id:"Layer_2",version:"1.1",viewBox:"0 0 24 24"},wp.element.createElement(i,null,wp.element.createElement(o,{d:"M21,6l-6-6H5C3.8954306,0,3,0.8954305,3,2v20c0,1.1045704,0.8954306,2,2,2h14c1.1045704,0,2-0.8954296,2-2 V6z",style:{fill:"#FFC720"}}),wp.element.createElement(o,{d:"M17,6c-0.5444336,0-1.0367432-0.2190552-1.3973999-0.5719604L21,10.8254395V6H17z",style:{fill:"url(#SVGID_1_)"}}),wp.element.createElement(o,{d:"M19,23.75H5c-1.1045532,0-2-0.8954468-2-2V22c0,1.1045532,0.8954468,2,2,2h14c1.1045532,0,2-0.8954468,2-2 v-0.25C21,22.8545532,20.1045532,23.75,19,23.75z",style:{opacity:"0.1"}}),wp.element.createElement(o,{d:"M15,0v4c0,1.1045694,0.8954306,2,2,2h4L15,0z",style:{fill:"#FFE083"}}),wp.element.createElement(o,{d:"M17,5.75c-1.1045532,0-2-0.8954468-2-2V4c0,1.1045532,0.8954468,2,2,2h4l-0.25-0.25H17z",style:{opacity:"0.1"}}),wp.element.createElement(o,{d:"M15,0H5C3.8954468,0,3,0.8953857,3,2v0.25c0-1.1046143,0.8954468-2,2-2h10",style:{fill:"#FFFFFF",opacity:"0.2"}}),wp.element.createElement(o,{d:"M15.5,9h-7C7.6728516,9,7,9.6728516,7,10.5v6C7,17.3271484,7.6728516,18,8.5,18h7 c0.8271484,0,1.5-0.6728516,1.5-1.5v-6C17,9.6728516,16.3271484,9,15.5,9z M8,15.5V11h8v4.5H8z",style:{fill:"#FFFFFF"}}),wp.element.createElement(o,{d:"M21,6l-6-6H5C3.8954306,0,3,0.8954305,3,2v20c0,1.1045704,0.8954306,2,2,2h14 c1.1045704,0,2-0.8954296,2-2V6z",style:{fill:"url(#SVGID_2_)"}}))),s=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#43A047"},d:"M 37 45 L 11 45 C 9.34375 45 8 43.65625 8 42 L 8 6 C 8 4.34375 9.34375 3 11 3 L 30 3 L 40 13 L 40 42 C 40 43.65625 38.65625 45 37 45 Z "}),wp.element.createElement(o,{style:{fill:"#C8E6C9"},d:"M 40 13 L 30 13 L 30 3 Z "}),wp.element.createElement(o,{style:{fill:"#2E7D32"},d:"M 30 13 L 40 23 L 40 13 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 31 23 L 15 23 L 15 37 L 33 37 L 33 23 Z M 17 25 L 21 25 L 21 27 L 17 27 Z M 17 29 L 21 29 L 21 31 L 17 31 Z M 17 33 L 21 33 L 21 35 L 17 35 Z M 31 35 L 23 35 L 23 33 L 31 33 Z M 31 31 L 23 31 L 23 29 L 31 29 Z M 31 27 L 23 27 L 23 25 L 31 25 Z "}))),u=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#7850C1"},d:"M 37 45 L 11 45 C 9.34375 45 8 43.65625 8 42 L 8 6 C 8 4.34375 9.34375 3 11 3 L 30 3 L 40 13 L 40 42 C 40 43.65625 38.65625 45 37 45 Z "}),wp.element.createElement(o,{style:{fill:"#C2ABE1"},d:"M 40 13 L 30 13 L 30 3 Z "}),wp.element.createElement(o,{style:{fill:"#2E7D32"},d:"M 30 13 L 40 23 L 40 13 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 19 23 L 33 23 L 33 25 L 19 25 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 19 28 L 33 28 L 33 30 L 19 30 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 19 33 L 33 33 L 33 35 L 19 35 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 15 23 L 17 23 L 17 25 L 15 25 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 15 28 L 17 28 L 17 30 L 15 30 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 15 33 L 17 33 L 17 35 L 15 35 Z "}))),p=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#DE5245"},d:"M37,45H11c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h19l10,10v29C40,43.7,38.7,45,37,45z"}),wp.element.createElement(o,{style:{fill:"#EEA6A0"},d:"M40,13H30V3L40,13z"}),wp.element.createElement(o,{style:{fill:"#B3433A"},d:"M30,13l10,10V13H30z"}),wp.element.createElement(o,{style:{fill:"#FFFFFF"},d:"M20.5,32c-3,0-5.5-2.5-5.5-5.5c0-3,2.5-5.5,5.5-5.5s5.5,2.5,5.5,5.5C26,29.5,23.5,32,20.5,32z M20.5,23c-1.9,0-3.5,1.6-3.5,3.5s1.6,3.5,3.5,3.5s3.5-1.6,3.5-3.5S22.4,23,20.5,23z"}),wp.element.createElement(o,{style:{fill:"#FFFFFF"},d:"M27.6,29c-0.6,1.8-1.9,3.3-3.6,4.1V38h9v-9H27.6z"}))),m=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#1C9957"},d:"M 42 39 L 42 9 C 42 7.34375 40.65625 6 39 6 L 9 6 C 7.34375 6 6 7.34375 6 9 L 6 39 C 6 40.65625 7.34375 42 9 42 L 39 42 C 40.65625 42 42 40.65625 42 39 Z "}),wp.element.createElement(o,{style:{fill:"#3E7BF1"},d:"M 9 42 L 39 42 C 40.65625 42 24 26 24 26 C 24 26 7.34375 42 9 42 Z "}),wp.element.createElement(o,{style:{fill:"#CBCCC9"},d:"M 42 39 L 42 9 C 42 7.34375 26 24 26 24 C 26 24 42 40.65625 42 39 Z "}),wp.element.createElement(o,{style:{fill:"#EFEFEF"},d:"M 39 42 C 40.65625 42 42 40.65625 42 39 L 42 38.753906 L 26.246094 23 L 23 26.246094 L 38.753906 42 Z "}),wp.element.createElement(o,{style:{fill:"#FFD73D"},d:"M 42 9 C 42 7.34375 40.65625 6 39 6 L 38.753906 6 L 6 38.753906 L 6 39 C 6 40.65625 7.34375 42 9 42 L 9.246094 42 L 42 9.246094 Z "}),wp.element.createElement(o,{style:{fill:"#D73F35"},d:"M 36 2 C 30.476563 2 26 6.476563 26 12 C 26 18.8125 33.664063 21.296875 35.332031 31.851563 C 35.441406 32.53125 35.449219 33 36 33 C 36.550781 33 36.558594 32.53125 36.667969 31.851563 C 38.335938 21.296875 46 18.8125 46 12 C 46 6.476563 41.523438 2 36 2 Z "}),wp.element.createElement(o,{style:{fill:"#752622"},d:"M 39.5 12 C 39.5 13.933594 37.933594 15.5 36 15.5 C 34.066406 15.5 32.5 13.933594 32.5 12 C 32.5 10.066406 34.066406 8.5 36 8.5 C 37.933594 8.5 39.5 10.066406 39.5 12 Z "}),wp.element.createElement(o,{style:{fill:"#FFFFFF"},d:"M 14.492188 12.53125 L 14.492188 14.632813 L 17.488281 14.632813 C 17.09375 15.90625 16.03125 16.816406 14.492188 16.816406 C 12.660156 16.816406 11.175781 15.332031 11.175781 13.5 C 11.175781 11.664063 12.660156 10.179688 14.492188 10.179688 C 15.316406 10.179688 16.070313 10.484375 16.648438 10.980469 L 18.195313 9.433594 C 17.21875 8.542969 15.921875 8 14.492188 8 C 11.453125 8 8.992188 10.464844 8.992188 13.5 C 8.992188 16.535156 11.453125 19 14.492188 19 C 19.304688 19 20.128906 14.683594 19.675781 12.539063 Z "}))),f=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#FFFFFF"},d:"M 12 32 L 12 8 L 39 8 L 39 26 L 33 32 L 24 32 L 18 38 L 18 32 Z "}),wp.element.createElement(o,{style:{fill:"#8E24AA"},d:"M 9 5 L 6 12.121094 L 6 38 L 15 38 L 15 43 L 20 43 L 25 38 L 32 38 L 42 28 L 42 5 Z M 38 26 L 33 31 L 24 31 L 19 36 L 19 31 L 13 31 L 13 9 L 38 9 Z "}),wp.element.createElement(o,{style:{fill:"#8E24AA"},d:"M 32 25 L 27 25 L 27 15 L 32 15 Z "}),wp.element.createElement(o,{style:{fill:"#8E24AA"},d:"M 24 25 L 19 25 L 19 15 L 24 15 Z "}))),d=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 769 598",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#148ee0"},d:"M766.89,229.17c0,0 -17.78,35.38 -106.5,91.3c-37.82,23.79 -116.36,49.1 -217.33,58.86c-54.52,5.29 -154.9,0.99 -197.96,0.99c-43.29,0 -63.13,9.12 -101.95,52.84c-143.15,161.36 -143.15,161.36 -143.15,161.36c0,0 49.57,0.24 87.01,0.24c37.43,0 271.55,13.59 375.43,-14.98c337.36,-92.72 304.46,-350.62 304.46,-350.62z"}),wp.element.createElement(o,{style:{fill:"#54bbff"},d:"M757.84,126.66c16.23,-98.97 -39.68,-126.16 -39.68,-126.16c0,0 2.36,80.57 -145.7,97.65c-131.42,15.16 -572.46,3.74 -572.46,3.74c0,0 0,0 141.74,162.54c38.39,44.06 58.76,49.17 101.92,52.22c43.16,2.89 138.42,1.86 202.99,-3.05c70.58,-5.41 171.17,-28.43 239.19,-81.11c34.88,-26.98 65.21,-64.48 72,-105.83z"}))),h=wp.element.createElement(a,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},wp.element.createElement(o,{d:"M21.8 8s-.195-1.377-.795-1.984c-.76-.797-1.613-.8-2.004-.847-2.798-.203-6.996-.203-6.996-.203h-.01s-4.197 0-6.996.202c-.39.046-1.242.05-2.003.846C2.395 6.623 2.2 8 2.2 8S2 9.62 2 11.24v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.76.797 1.76.77 2.205.855 1.6.153 6.8.2 6.8.2s4.203-.005 7-.208c.392-.047 1.244-.05 2.005-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517C22 9.62 21.8 8 21.8 8zM9.935 14.595v-5.62l5.403 2.82-5.403 2.8z"})),b=(wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 56 23"},wp.element.createElement("g",null,wp.element.createElement("g",null,wp.element.createElement("path",{style:{fill:"#DA2B28"},className:"st0",d:"M55.4,3.7c-0.2-0.9-0.6-1.6-1.3-2.2c-0.7-0.6-1.4-0.9-2.3-1c-2.7-0.3-6.8-0.4-12.3-0.4 c-5.5,0-9.6,0.1-12.3,0.4c-0.9,0.1-1.6,0.5-2.3,1c-0.7,0.6-1.1,1.3-1.3,2.2c-0.4,1.7-0.6,4.3-0.6,7.8c0,3.5,0.2,6.1,0.6,7.8 c0.2,0.9,0.6,1.6,1.3,2.2c0.7,0.6,1.4,0.9,2.3,1c2.7,0.3,6.8,0.5,12.3,0.5c5.5,0,9.6-0.2,12.3-0.5c0.9-0.1,1.6-0.4,2.3-1 c0.7-0.6,1.1-1.3,1.3-2.2c0.4-1.7,0.6-4.3,0.6-7.8C56,8,55.8,5.4,55.4,3.7L55.4,3.7z M32.5,6h-2.4v12.6h-2.2V6h-2.3V3.9h6.9V6z M38.5,18.6h-2v-1.2c-0.8,0.9-1.6,1.4-2.3,1.4c-0.7,0-1.1-0.3-1.3-0.8c-0.1-0.4-0.2-0.9-0.2-1.6V7.6h2v8.1c0,0.5,0,0.7,0,0.8 c0,0.3,0.2,0.5,0.5,0.5c0.4,0,0.8-0.3,1.3-0.9V7.6h2V18.6z M46.1,15.3c0,1.1-0.1,1.8-0.2,2.2c-0.3,0.8-0.8,1.2-1.6,1.2 c-0.7,0-1.4-0.4-2.1-1.2v1.1h-2V3.9h2v4.8c0.6-0.8,1.3-1.2,2.1-1.2c0.8,0,1.3,0.4,1.6,1.2c0.1,0.4,0.2,1.1,0.2,2.2V15.3z M53.5,13.5h-4v1.9c0,1,0.3,1.5,1,1.5c0.5,0,0.8-0.3,0.9-0.8c0-0.1,0-0.6,0-1.4h2v0.3c0,0.7,0,1.2,0,1.3c0,0.4-0.2,0.8-0.5,1.2 c-0.5,0.8-1.3,1.2-2.4,1.2c-1,0-1.8-0.4-2.4-1.1c-0.4-0.5-0.6-1.4-0.6-2.6v-3.8c0-1.2,0.2-2,0.6-2.6c0.6-0.8,1.4-1.1,2.4-1.1 c1,0,1.8,0.4,2.3,1.1c0.4,0.5,0.6,1.4,0.6,2.6V13.5z M53.5,13.5"}),wp.element.createElement("path",{className:"st0",d:"M43.2,9.3c-0.3,0-0.7,0.2-1,0.5v6.7c0.3,0.3,0.7,0.5,1,0.5c0.6,0,0.9-0.5,0.9-1.5v-4.7 C44.1,9.8,43.8,9.3,43.2,9.3L43.2,9.3z M43.2,9.3"}),wp.element.createElement("path",{className:"st0",d:"M50.6,9.3c-0.7,0-1,0.5-1,1.5v1h2v-1C51.6,9.8,51.2,9.3,50.6,9.3L50.6,9.3z M50.6,9.3"})),wp.element.createElement("g",null,wp.element.createElement("path",{d:"M2.8,12.8v6h2.2v-6L7.7,4H5.5L4,9.8L2.4,4H0.1c0.4,1.2,0.9,2.6,1.4,4.1C2.2,10.2,2.6,11.7,2.8,12.8L2.8,12.8z M2.8,12.8"}),wp.element.createElement("path",{d:"M10.7,19c1,0,1.8-0.4,2.3-1.1c0.4-0.5,0.6-1.4,0.6-2.6v-3.9c0-1.2-0.2-2-0.6-2.6c-0.5-0.8-1.3-1.1-2.3-1.1 c-1,0-1.8,0.4-2.3,1.1C8,9.3,7.8,10.2,7.8,11.4v3.9c0,1.2,0.2,2.1,0.6,2.6C8.9,18.6,9.7,19,10.7,19L10.7,19z M9.8,11 c0-1,0.3-1.5,1-1.5c0.6,0,1,0.5,1,1.5v4.7c0,1-0.3,1.6-1,1.6c-0.6,0-1-0.5-1-1.6V11z M9.8,11"}),wp.element.createElement("path",{d:"M16.8,19c0.7,0,1.5-0.5,2.3-1.4v1.2h2V7.8h-2v8.4c-0.4,0.6-0.9,1-1.3,1c-0.3,0-0.4-0.2-0.5-0.5c0,0,0-0.3,0-0.8V7.8h-2 v8.7c0,0.8,0.1,1.3,0.2,1.7C15.7,18.7,16.1,19,16.8,19L16.8,19z M16.8,19"})))),wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 276 340"},wp.element.createElement("path",{d:"M196.7.6H24.3C11.1.6.4 11.3.4 24.6v292.9c0 12.3 10 22.2 22.2 22.2H252c13.3 0 23.9-10.7 23.9-23.9V80.9L196.7.6z",fill:"#e94848"}),wp.element.createElement("path",{d:"M196.7 57c0 13.3 10.7 23.9 23.9 23.9H276L196.7.6V57z",fill:"#f19191"}),wp.element.createElement("linearGradient",{id:"A",gradientUnits:"userSpaceOnUse",x1:"44.744",y1:"77.111",x2:"116.568",y2:"77.111"},wp.element.createElement("stop",{offset:"0",stopColor:"#fff"}),wp.element.createElement("stop",{offset:"1",stopColor:"#fff0f0"})),wp.element.createElement("path",{d:"M113 84.5H48.3c-1.9 0-3.5-1.6-3.5-3.5v-7.7c0-1.9 1.6-3.5 3.5-3.5H113c1.9 0 3.5 1.6 3.5 3.5V81c.1 1.9-1.5 3.5-3.5 3.5z",fill:"url(#A)"}),wp.element.createElement("linearGradient",{id:"B",gradientUnits:"userSpaceOnUse",x1:"44.744",y1:"136.016",x2:"233.927",y2:"136.016"},wp.element.createElement("stop",{offset:"0",stopColor:"#fff"}),wp.element.createElement("stop",{offset:"1",stopColor:"#fff0f0"})),wp.element.createElement("use",{href:"#H",opacity:".8",fill:"url(#B)"}),wp.element.createElement("linearGradient",{id:"C",gradientUnits:"userSpaceOnUse",x1:"44.744",y1:"135.993",x2:"233.927",y2:"135.993"},wp.element.createElement("stop",{offset:"0",stopColor:"#fff"}),wp.element.createElement("stop",{offset:"1",stopColor:"#fff0f0"})),wp.element.createElement("use",{href:"#H",y:"33.6",opacity:".7",fill:"url(#C)"}),wp.element.createElement("linearGradient",{id:"D",gradientUnits:"userSpaceOnUse",x1:"44.744",y1:"135.969",x2:"233.927",y2:"135.969"},wp.element.createElement("stop",{offset:"0",stopColor:"#fff"}),wp.element.createElement("stop",{offset:"1",stopColor:"#fff0f0"})),wp.element.createElement("use",{href:"#H",y:"67.2",opacity:".6",fill:"url(#D)"}),wp.element.createElement("linearGradient",{id:"E",gradientUnits:"userSpaceOnUse",x1:"44.744",y1:"136.045",x2:"233.927",y2:"136.045"},wp.element.createElement("stop",{offset:"0",stopColor:"#fff"}),wp.element.createElement("stop",{offset:"1",stopColor:"#fff0f0"})),wp.element.createElement("use",{href:"#H",y:"100.7",opacity:".4",fill:"url(#E)"}),wp.element.createElement("linearGradient",{id:"F",gradientUnits:"userSpaceOnUse",x1:"44.744",y1:"270.322",x2:"174.778",y2:"270.322"},wp.element.createElement("stop",{offset:"0",stopColor:"#fff"}),wp.element.createElement("stop",{offset:"1",stopColor:"#fff0f0"})),wp.element.createElement("path",{d:"M171.9 277.7H47.6c-1.6 0-2.9-1.3-2.9-2.9v-9c0-1.6 1.3-2.9 2.9-2.9h124.3c1.6 0 2.9 1.3 2.9 2.9v9c0 1.6-1.3 2.9-2.9 2.9z",opacity:".3",fill:"url(#F)"}),wp.element.createElement("defs",null,wp.element.createElement("path",{id:"H",d:"M231 143.4H47.6c-1.6 0-2.9-1.3-2.9-2.9v-9c0-1.6 1.3-2.9 2.9-2.9H231c1.6 0 2.9 1.3 2.9 2.9v9c0 1.6-1.3 2.9-2.9 2.9z"})))),w=wp.element.createElement("svg",{width:"33",height:"20",version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 270 270",role:"img",focusable:"false"},wp.element.createElement("g",null,wp.element.createElement("polygon",{className:"st0",fill:"#9595C1",points:"0,0 0,52 15,52 15,15 52,15 52,0 \t"}),wp.element.createElement("polygon",{className:"st0",fill:"#9595C1",points:"255,218 255,255 218,255 218,270 270,270 270,218 \t"}),wp.element.createElement("path",{fill:"#5B4E96",d:"M260.7,68.1c-10.4-18.6-29.3-31.2-50.6-33.6c-12.4-1.4-25,0.6-36.3,6c-1.3,0.6-2.6,1.3-3.9,2 C154.5,51,143,65.3,138.3,81.7l0,0.1l-36.4,103.8c-3.1,9.4-9.1,17-17.1,21.4c-0.7,0.4-1.4,0.7-2.1,1.1c-6.1,2.9-12.8,4-19.5,3.2 c-11.5-1.3-21.6-8.1-27.2-18.1c-4.6-8.3-5.7-18-3.1-27.2c2.6-9.2,8.7-16.9,17.1-21.5c0.7-0.4,1.4-0.8,2.1-1.1 c6.1-2.9,12.7-4,19.6-3.2c0.3,0,0.5,0.1,0.8,0.1L64.9,162c-0.5,1.5,0.3,3.1,1.8,3.6l19.4,6.3c1.5,0.5,3-0.3,3.5-1.7l16.7-47.4 c0.4-1.2,0.3-2.5-0.3-3.6c-0.6-1.1-1.6-2-2.8-2.4l-17.6-5.1c-0.4-0.1-0.8-0.2-1.2-0.3l-1.6-0.5l0,0.1c-2.5-0.6-5-1.1-7.5-1.3 c-12.5-1.4-25.1,0.6-36.4,6c-1.3,0.6-2.6,1.3-3.9,2c-15.6,8.7-27,22.9-31.9,40.1c-4.9,17.1-2.8,35.1,5.8,50.5 c10.4,18.6,29.3,31.2,50.6,33.6c12.4,1.4,25-0.6,36.3-6c1.3-0.6,2.6-1.3,3.9-2c15.3-8.5,26.8-22.8,31.6-39.2l0-0.1L167.8,91 l0.1-0.2l0-0.1c4.1-10.5,9.3-17,17-21.3c0.7-0.4,1.4-0.7,2.1-1.1c6.1-2.9,12.8-4,19.5-3.2c11.5,1.3,21.6,8.1,27.2,18.1 c9.6,17.2,3.3,39.1-14,48.7c-0.7,0.4-1.4,0.7-2.1,1.1c-6.1,2.9-12.8,4-19.7,3.2c-2-0.2-4.1-0.6-6.1-1.2l-0.2-0.1l-11.3-3.4 c-1.2-0.4-2.5,0.3-2.9,1.5l-8.8,24.8c-0.5,1.3,0.3,2.7,1.6,3.1l13.9,4c3.4,0.9,6.8,1.6,10.3,2c12.4,1.4,25-0.6,36.3-6l0.1,0 c1.3-0.6,2.6-1.3,3.9-2C266.8,140.8,278.5,100.1,260.7,68.1z"})))},function(e,t,n){"use strict";var __=wp.i18n.__,r=wp.components.Spinner,i=function(){return wp.element.createElement("div",{className:"wp-block-embed is-loading"},wp.element.createElement(r,null),wp.element.createElement("p",null,__("Embedding\u2026")))};t.a=i},function(e,t,n){"use strict";var __=wp.i18n.__,r=wp.element.Fragment,i=wp.components,o=i.IconButton,a=i.Toolbar,l=wp.editor.BlockControls,c=function(e){var t=e.showEditButton,n=e.switchBackToURLInput;return wp.element.createElement(r,null,wp.element.createElement(l,null,wp.element.createElement(a,null,t&&wp.element.createElement(o,{className:"components-toolbar__control",label:__("Edit URL"),icon:"edit",onClick:n}))))};t.a=c},function(e,t,n){"use strict";var r=n(11),i=n.n(r),o=wp.i18n,__=o.__,_x=o._x,a=wp.components,l=a.Button,c=a.Placeholder,s=a.ExternalLink,u=wp.blockEditor.BlockIcon,p=function(e){var t=e.icon,n=e.label,r=e.value,o=e.onSubmit,a=e.onChange,p=e.cannotEmbed,m=e.docLink,f=e.DocTitle,d=i()("wp-block-embed",{});return wp.element.createElement("div",null,wp.element.createElement(c,{icon:wp.element.createElement(u,{icon:t,showColors:!0}),label:n,className:d},wp.element.createElement("form",{onSubmit:o},wp.element.createElement("input",{type:"url",value:r||"",className:"components-placeholder__input","aria-label":n,placeholder:__("Enter URL to embed here\u2026"),onChange:a}),wp.element.createElement(l,{isSmall:!0,type:"submit"},_x("Embed","button label")),p&&wp.element.createElement("p",{className:"components-placeholder__error"},__("Sorry, we could not embed that content."),wp.element.createElement("br",null))),m&&wp.element.createElement("div",{className:"components-placeholder__learn-more"},wp.element.createElement(s,{href:m},f))))};t.a=p},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(5),l=n.n(a),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=wp.element.Component,p=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.myRef=React.createRef(),n}return o(t,e),s(t,[{key:"componentDidMount",value:function(){l.a.findDOMNode(this.myRef.current).addEventListener("load",this.props.onLoad)}},{key:"render",value:function(){return wp.element.createElement("iframe",c({ref:this.myRef},this.props))}}]),t}(u);t.a=p},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(7),n(12),n(16),n(20),n(24),n(28),n(32),n(36),n(40),n(44),n(48);!function(){var e=wp.element.createElement("svg",{width:"33",height:"20",version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 270 270"},wp.element.createElement("g",null,wp.element.createElement("polygon",{className:"st0",fill:"#9595C1",points:"0,0 0,52 15,52 15,15 52,15 52,0 \t"}),wp.element.createElement("polygon",{className:"st0",fill:"#9595C1",points:"255,218 255,255 218,255 218,270 270,270 270,218 \t"}),wp.element.createElement("path",{fill:"#5B4E96",d:"M260.7,68.1c-10.4-18.6-29.3-31.2-50.6-33.6c-12.4-1.4-25,0.6-36.3,6c-1.3,0.6-2.6,1.3-3.9,2 C154.5,51,143,65.3,138.3,81.7l0,0.1l-36.4,103.8c-3.1,9.4-9.1,17-17.1,21.4c-0.7,0.4-1.4,0.7-2.1,1.1c-6.1,2.9-12.8,4-19.5,3.2 c-11.5-1.3-21.6-8.1-27.2-18.1c-4.6-8.3-5.7-18-3.1-27.2c2.6-9.2,8.7-16.9,17.1-21.5c0.7-0.4,1.4-0.8,2.1-1.1 c6.1-2.9,12.7-4,19.6-3.2c0.3,0,0.5,0.1,0.8,0.1L64.9,162c-0.5,1.5,0.3,3.1,1.8,3.6l19.4,6.3c1.5,0.5,3-0.3,3.5-1.7l16.7-47.4 c0.4-1.2,0.3-2.5-0.3-3.6c-0.6-1.1-1.6-2-2.8-2.4l-17.6-5.1c-0.4-0.1-0.8-0.2-1.2-0.3l-1.6-0.5l0,0.1c-2.5-0.6-5-1.1-7.5-1.3 c-12.5-1.4-25.1,0.6-36.4,6c-1.3,0.6-2.6,1.3-3.9,2c-15.6,8.7-27,22.9-31.9,40.1c-4.9,17.1-2.8,35.1,5.8,50.5 c10.4,18.6,29.3,31.2,50.6,33.6c12.4,1.4,25-0.6,36.3-6c1.3-0.6,2.6-1.3,3.9-2c15.3-8.5,26.8-22.8,31.6-39.2l0-0.1L167.8,91 l0.1-0.2l0-0.1c4.1-10.5,9.3-17,17-21.3c0.7-0.4,1.4-0.7,2.1-1.1c6.1-2.9,12.8-4,19.5-3.2c11.5,1.3,21.6,8.1,27.2,18.1 c9.6,17.2,3.3,39.1-14,48.7c-0.7,0.4-1.4,0.7-2.1,1.1c-6.1,2.9-12.8,4-19.7,3.2c-2-0.2-4.1-0.6-6.1-1.2l-0.2-0.1l-11.3-3.4 c-1.2-0.4-2.5,0.3-2.9,1.5l-8.8,24.8c-0.5,1.3,0.3,2.7,1.6,3.1l13.9,4c3.4,0.9,6.8,1.6,10.3,2c12.4,1.4,25-0.6,36.3-6l0.1,0 c1.3-0.6,2.6-1.3,3.9-2C266.8,140.8,278.5,100.1,260.7,68.1z"})));wp.blocks.updateCategory("embedpress",{icon:e})}()},function(e,t,n){"use strict";var r=n(8),i=(n.n(r),n(9)),o=(n.n(i),n(10)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["google-docs-block"]&&l("embedpress/google-docs-block",{title:__("Google Docs"),icon:a.c,category:"embedpress",keywords:[__("embedpress"),__("google"),__("docs")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes.iframeSrc;if(t)return wp.element.createElement("figure",{className:"ose-google-docs-document"},wp.element.createElement("iframe",{src:t,frameBorder:"0",width:"600",height:"450",allowFullScreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))},deprecated:[{attributes:{align:{type:"string",enum:["left","center","right","wide","full"]}},save:function(e){var t=e.attributes.iframeSrc;if(t)return wp.element.createElement("div",{className:"ose-google-docs-document"},wp.element.createElement("iframe",{src:t,frameBorder:"0",width:"600",height:"450",allowFullScreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))}}]})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,m=wp.element.Component,f=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.updateAlignment=e.updateAlignment.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"updateAlignment",value:function(e){var t=this.props.setAttributes,n=-1!==["wide","full"].indexOf(e)?{width:void 0,height:void 0}:{};t(Object.assign({},n,{align:e}))}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,o=i.exec(r),a=o[1];a&&"document"===a?(r.match(/([?&])embedded=true/i)||(r.indexOf("?")>-1?r+="&embedded=true":r+="?embedded=true"),this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})):this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,p=t.interactive,m=this.props.attributes.iframeSrc,f=__("Google Docs URL");return!m||r?wp.element.createElement("div",null,wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.c,DocTitle:__("Learn more about Google doc embed"),docLink:"https://embedpress.com/docs/embed-google-docs-wordpress/"})):wp.element.createElement("div",null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,{src:m,onMouseUp:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameBorder:"0",width:"600",height:"450"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(m);t.a=f},function(e,t,n){var r,i;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var a=n.apply(null,r);a&&e.push(a)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var l in r)o.call(r,l)&&r[l]&&e.push(l);else e.push(r.toString())}}return e.join(" ")}var o={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(i=function(){return n}.apply(t,r))&&(e.exports=i))}()},function(e,t,n){"use strict";var r=n(13),i=(n.n(r),n(14)),o=(n.n(i),n(15)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["google-slides-block"]&&l("embedpress/google-slides-block",{title:__("Google Slides"),icon:a.h,category:"embedpress",keywords:[__("embedpress"),__("google"),__("slides")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-docs-presentation"},wp.element.createElement("iframe",{src:t,frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,m=wp.element,f=m.Component,d=m.Fragment,h=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,o=i.exec(r),a=o[1];a&&"presentation"==a?(r.match(/pub\?/i)&&(r=r.replace("/pub?","/embed?")),this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})):this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,p=t.interactive,m=this.props.attributes.iframeSrc,f=__("Google Slides URL");return!m||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.h,DocTitle:__("Learn more about Google slides embed"),docLink:"https://embedpress.com/docs/embed-google-slides-wordpress/"}):wp.element.createElement(d,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"450"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=h},function(e,t,n){"use strict";var r=n(17),i=(n.n(r),n(18)),o=(n.n(i),n(19)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["google-sheets-block"]&&l("embedpress/google-sheets-block",{title:__("Google Sheets"),icon:a.g,category:"embedpress",keywords:[__("embedpress"),__("google"),__("sheets")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-docs-spreadsheets"},wp.element.createElement("iframe",{src:t,frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))},deprecated:[{attributes:{align:{type:"string",enum:["left","center","right","wide","full"]}},save:function(e){var t=e.attributes.iframeSrc;if(t)return wp.element.createElement("div",{className:"ose-google-docs-spreadsheets"},wp.element.createElement("iframe",{src:t,frameBorder:"0",width:"600",height:"450",allowFullScreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))}}]})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,m=wp.element,f=m.Component,d=m.Fragment,h=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,o=i.exec(r),a=o[1];if(a&&"spreadsheets"==a){if(r.indexOf("?")>-1){var l=r.split("?");if(l=l[1],l=l.split("&"),console.log(l),l.length>0){var c=!1,s=!1;l.map(function(e){e.indexOf("widget=")?s=!0:e.indexOf("headers=")&&(c=!0)}),s||(r+="&widget=true"),c||(r+="&headers=false")}}else r+="?widget=true&headers=false";this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})}else this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,p=t.interactive,m=this.props.attributes.iframeSrc,f=__("Google Sheets URL");return!m||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.g,DocTitle:__("Learn more about Google sheet embed"),docLink:"https://embedpress.com/docs/embed-google-sheets-wordpress/"}):wp.element.createElement(d,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"450"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=h},function(e,t,n){"use strict";var r=n(21),i=(n.n(r),n(22)),o=(n.n(i),n(23)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["google-forms-block"]&&l("embedpress/google-forms-block",{title:__("Google Forms"),icon:a.e,category:"embedpress",keywords:[__("embedpress"),__("google"),__("forms")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-docs-forms"},wp.element.createElement("iframe",{src:t,frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,m=wp.element,f=m.Component,d=m.Fragment,h=(wp.components.Disabled,function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,o=i.exec(r),a=o[1];a&&"forms"==a?(this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})):this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,p=t.interactive,m=this.props.attributes.iframeSrc,f=__("Google Forms URL");return!m||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.e,DocTitle:__("Learn more about Google forms embed"),docLink:"https://embedpress.com/docs/embed-google-forms-wordpress/"}):wp.element.createElement(d,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"450"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f));t.a=h},function(e,t,n){"use strict";var r=n(25),i=(n.n(r),n(26)),o=(n.n(i),n(27)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["google-drawings-block"]&&l("embedpress/google-drawings-block",{title:__("Google Drawings"),icon:a.d,category:"embedpress",keywords:[__("embedpress"),__("google"),__("drawings")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-docs-drawings"},wp.element.createElement("img",{src:t,width:"960",height:"720"}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(0),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,p=wp.element,m=p.Component,f=p.Fragment,d=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1},e}return o(t,e),u(t,[{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,o=i.exec(r),a=o[1];a&&"drawings"==a?(this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})):this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,u=this.props.attributes.iframeSrc,p=__("Google Drawings URL (Get your link from File -> Publish to the web -> Link)");return!u||r?wp.element.createElement(c.a,{label:p,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:s.d,DocTitle:__("Learn more about Google drawing embed"),docLink:"https://embedpress.com/docs/embed-google-drawings-wordpress/"}):wp.element.createElement(f,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement("img",{src:u,onLoad:this.onLoad,style:{display:i?"none":""},width:"960",height:"720"}),wp.element.createElement(a.a,{showEditButton:u&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}]),t}(m);t.a=d},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(29),o=(n.n(i),n(30)),a=(n.n(o),n(31)),l=n(0),__=wp.i18n.__,c=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["google-maps-block"]&&c("embedpress/google-maps-block",{title:__("Google Maps"),icon:l.f,category:"embedpress",keywords:[__("embedpress"),__("google"),__("maps")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:a.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-maps"},wp.element.createElement("iframe",r({src:t,frameborder:"0",width:"600",height:"450"},"frameborder","0")))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,m=wp.element,f=m.Component,d=m.Fragment,h=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/(?:(?:(?:www\.|maps\.)?(?:google\.com?))|(?:goo\.gl))(?:\.[a-z]{2})?\/(?:maps\/)?(?:place\/)?(?:[a-z0-9\/%+\-_]*)?([a-z0-9\/%,+\-_=!:@\.&*\$#?\']*)/i)){var r=this.decodeHTMLEntities(t);if(t.match("~(maps/embed|output=embed)~i"));else{var i=/@(-?[0-9\.]+,-?[0-9\.]+).+,([0-9\.]+[a-z])/i,o=i.exec(r);o&&o.length>1&&o[1]&&o[2]?r="https://maps.google.com/maps?hl=en&ie=UTF8&ll="+o[1]+"&spn="+o[1]+"&t=m&z="+Math.round(parseInt(o[2]))+"&output=embed":this.setState({cannotEmbed:!0,editingURL:!0})}this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,p=t.interactive,m=this.props.attributes.iframeSrc,f=__("Google Maps URL");return!m||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.f,DocTitle:__("Learn more about Google map embed"),docLink:"https://embedpress.com/docs/embed-google-maps-wordpress/"}):wp.element.createElement(d,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"450"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=h},function(e,t,n){"use strict";var r=n(33),i=(n.n(r),n(34)),o=(n.n(i),n(35)),a=n(0),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},__=wp.i18n.__,c=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["twitch-block"]&&c("embedpress/twitch-block",{title:__("Twitch"),icon:a.i,category:"embedpress",keywords:[__("embedpress"),__("twitch")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""},attrs:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes,n=t.iframeSrc,r=t.attrs,i=n+"&parent="+embedpressObj.twitch_host;return wp.element.createElement("figure",{className:"ose-twitch-presentation"},wp.element.createElement("iframe",l({src:i},r,{frameborder:"0",width:"600",height:"450"})))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,f=wp.element,d=f.Component,h=f.Fragment,b=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),m(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;n({url:t});var r=/http[s]?:\/\/(?:www\.|clips\.)twitch\.tv\/([0-9a-zA-Z\-\_]+)\/?(chat\/?$|[0-9a-z\-\_]*)?/;if(t&&t.match(r)){var i=this.decodeHTMLEntities(t),o=r.exec(i),a=o[1];console.log(a);var l,c="channel";switch(t.indexOf("clips.twitch.tv")>-1?c="clip":t.indexOf("/videos/")>-1?c="video":t.indexOf("#/chat$#")>-1&&(c="chat"),console.log(c),c){case"channel":i="https://player.twitch.tv/?channel="+a,l={scrolling:"no",frameborder:"0",allowfullscreen:"true"};break;case"clip":i="https://clips.twitch.tv/embed?clip="+a+"&autoplay=false",l={scrolling:"no",frameborder:"0",allowfullscreen:"true"};break;case"video":a=o[2],i="https://player.twitch.tv/?video="+a,l={scrolling:"no",frameborder:"0",allowfullscreen:"true"};break;case"chat":i="http://www.twitch.tv/embed/"+a+"/chat",l={scrolling:"yes",frameborder:"0",allowfullscreen:"true",id:"'"+a+"'"}}this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:i,attrs:l})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,m=t.interactive,f=this.props.attributes,d=f.iframeSrc,b=f.attrs,w=__("Twitch URL");if(!d||r)return wp.element.createElement(c.a,{label:w,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.i,DocTitle:__("Learn more about twitch embed"),docLink:"https://embedpress.com/docs/embed-twitch-streams-chat/"});var y=d+"&parent="+embedpressObj.twitch_host;return wp.element.createElement(h,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,p({src:y},b,{onLoad:this.onLoad,style:{display:i?"none":""},onFocus:this.hideOverlay,width:"600",height:"450"})),!m&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:d&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(d);t.a=b},function(e,t,n){"use strict";var r=n(37),i=(n.n(r),n(38)),o=(n.n(i),n(39)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["wistia-block"]&&l("embedpress/wistia-block",{title:__("Wistia"),icon:a.j,category:"embedpress",keywords:[__("embedpress"),__("wistia")],supports:{align:["wide","full","right","left"],default:""},edit:o.a,save:function(e){return null},deprecated:[{attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("div",{class:"ose-wistia"},wp.element.createElement("iframe",{src:t,allowtransparency:"true",frameborder:"0",class:"wistia_embed",name:"wistia_embed",width:"600",height:"330"}))}}]})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,m=wp.element,f=m.Component,d=m.Fragment,h=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1,mediaId:null},e.setUrl(),e}return o(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"componentDidMount",value:function(){if(this.props.attributes.url){var e=this.props.attributes.url.match(/medias\/(.*)/),t=e[1];this.setState(Object.assign({},this.state,{mediaId:t}))}}},{key:"onLoad",value:function(){if(this.setState({fetching:!1}),embedpressObj.wisita_options){var e=Object.assign({},this.state);setTimeout(function(){var e=document.createElement("script");e.src="https://fast.wistia.com/assets/external/E-v1.js",e.charset="ISO-8859-1",document.body.appendChild(e)},100),setTimeout(function(){var t=document.createElement("script");t.type="text/javascript",t.innerHTML="window.pp_embed_wistia_labels = "+embedpressObj.wistia_labels,document.body.appendChild(t),t=document.createElement("script"),t.type="text/javascript",t.innerHTML='wistiaEmbed = Wistia.embed( "'+e.mediaId+'", '+embedpressObj.wisita_options+" );",document.body.appendChild(t)},400)}}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&(t.match(/^http[s]?:\/\/(?:www\.)?wistia\.com\/medias/i)||t.match(/^http[s]?:\/\/(?:www\.)?fast\/.wistia\.com\/embed\/medias/i.jsonp))){var r=t.match(/medias\/(.*)/),i=r[1],o="//fast.wistia.net/embed/iframe/"+i;this.setState({editingURL:!1,cannotEmbed:!1,mediaId:i}),n({iframeSrc:o})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,p=t.interactive,m=this.props.attributes.iframeSrc,f=__("Wistia URL");return!m||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.j,DocTitle:__("Learn more about Wistia embed"),docLink:"https://embedpress.com/docs/embed-wistia-videos-wordpress/"}):wp.element.createElement(d,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement("div",{className:"ose-wistia",id:"wistia_"+this.state.mediaId},wp.element.createElement(s.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"330"})),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=h},function(e,t,n){"use strict";var r=n(41),i=(n.n(r),n(42)),o=(n.n(i),n(43)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["youtube-block"]&&l("embedpress/youtube-block",{title:__("YouTube"),icon:a.k,category:"embedpress",keywords:[__("embedpress"),__("youtube")],supports:{align:["wide","full","right","left"],default:""},edit:o.a,save:function(){return null}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,f=wp.element,d=f.Component,h=f.Fragment,b=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),m(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"componentWillMount",value:function(){this.state.url&&this.setUrl()}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;n({url:t});var r=t.match(/^(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})(?:\S+)?$/);if(t&&r){var i=r[1],o="https://www.youtube.com/embed/"+i,a=new URL(o);if("undefined"!==typeof embedpressProObj)for(var l in embedpressProObj.youtubeParams)a.searchParams.set(l,embedpressProObj.youtubeParams[l]);this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:a.href,mediaId:i})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,m=t.interactive,f=this.props.attributes,d=f.iframeSrc,b=f.attrs,w=__("YouTube URL");return!d||r?wp.element.createElement(c.a,{label:w,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.k,DocTitle:__("Learn More About YouTube Embed"),docLink:"https://embedpress.com/docs/embed-youtube-wordpress/"}):wp.element.createElement(h,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,p({src:d},b,{onLoad:this.onLoad,style:{display:i?"none":""},width:"640",onFocus:this.hideOverlay,height:"450"})),!m&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:d&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(d);t.a=b},function(e,t,n){"use strict";var r=n(45),i=(n.n(r),n(46)),o=(n.n(i),n(47)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks.document&&l("embedpress/document",{title:__("Document"),icon:a.a,category:"embedpress",keywords:[__("embedpress"),__("pdf"),__("doc"),__("ppt")],supports:{align:["wide","full","right","left"],default:""},attributes:{id:{type:"string"},href:{type:"string"},powered_by:{type:"boolean",default:!0},width:{type:"number",default:600},height:{type:"number",default:600},fileName:{type:"string"},mime:{type:"string"}},edit:o.a,save:function(e){var t=e.attributes,n=t.href,r=t.mime,i=t.id,o=t.width,a=t.height,l=t.powered_by,c="//view.officeapps.live.com/op/embed.aspx?src="+n;return wp.element.createElement("figure",{className:"embedpress-embed-document"},"application/pdf"===r&&wp.element.createElement("div",{style:{height:a,width:o},className:"embedpress-embed-document-pdf "+i,"data-emid":i,"data-emsrc":n}),"application/pdf"!==r&&wp.element.createElement("iframe",{style:{height:a,width:o},src:c,mozallowfullscreen:"true",webkitallowfullscreen:"true"}),l&&wp.element.createElement("p",{className:"embedpress-el-powered"},"Powered By EmbedPress"))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(4),l=n(1),c=n(0),s=function(){function e(e,t){var n=[],_n=!0,r=!1,i=void 0;try{for(var o,a=e[Symbol.iterator]();!(_n=(o=a.next()).done)&&(n.push(o.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,i=e}finally{try{!_n&&a.return&&a.return()}finally{if(r)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,p=wp.blob,m=p.getBlobByURL,f=p.isBlobURL,d=p.revokeBlobURL,h=wp.editor,b=h.BlockIcon,w=h.MediaPlaceholder,y=h.InspectorControls,v=wp.element,g=v.Component,E=v.Fragment,L=wp.components,k=L.RangeControl,_=L.PanelBody,O=L.ExternalLink,S=L.ToggleControl,U=["application/pdf","application/msword","application/vnd.ms-powerpoint","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.presentationml.presentation"],j=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.onSelectFile=e.onSelectFile.bind(e),e.onUploadError=e.onUploadError.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={hasError:!1,fetching:!1,interactive:!1,loadPdf:!0},e}return o(t,e),u(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,i=t.noticeOperations,o=n.href;if(f(o)){r({filesList:[m(o)],onFileChange:function(t){var n=s(t,1),r=n[0];return e.onSelectFile(r)},onError:function(t){e.setState({hasError:!0}),i.createErrorNotice(t)}}),d(o)}this.props.attributes.href&&"application/pdf"===this.props.attributes.mime&&this.state.loadPdf&&(this.setState({loadPdf:!1}),PDFObject.embed(this.props.attributes.href,"."+this.props.attributes.id))}},{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&this.setState({showCopyConfirmation:!1})}},{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"onSelectFile",value:function(e){e&&e.url&&(this.setState({hasError:!1}),this.props.setAttributes({href:e.url,fileName:e.title,id:"embedpress-pdf-"+Date.now(),mime:e.mime}),embedpressObj.embedpress_pro&&this.props.setAttributes({powered_by:!1}),"application/pdf"===e.mime&&(this.setState({loadPdf:!1}),PDFObject.embed(e.url,"."+this.props.attributes.id)))}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.noticeUI,r=e.setAttributes,i=t.href,o=t.mime,s=t.id,u=t.width,p=t.height,m=t.powered_by,f=this.state,d=f.hasError,h=f.interactive,v=f.fetching,g=f.loadPdf;if(!i||d)return wp.element.createElement("div",{className:"embedpress-document-editmode"},wp.element.createElement(w,{icon:wp.element.createElement(b,{icon:c.a}),labels:{title:__("Document"),instructions:__("Upload a file or pick one from your media library for embed.")},onSelect:this.onSelectFile,notices:n,allowedTypes:U,onError:this.onUploadError},wp.element.createElement("div",{style:{width:"100%"},className:"components-placeholder__learn-more embedpress-doc-link"},wp.element.createElement(O,{href:"https://embedpress.com/docs/embed-docuemnt/"},"Learn more about Embedded document "))));var L="//view.officeapps.live.com/op/embed.aspx?src="+i;return wp.element.createElement(E,null,v&&"application/pdf"!==o?wp.element.createElement(l.a,null):null,"application/pdf"===o&&wp.element.createElement("div",{style:{height:p,width:u},className:"embedpress-embed-document-pdf "+s,"data-emid":s,"data-emsrc":i}),"application/pdf"!==o&&wp.element.createElement(a.a,{onMouseUponMouseUp:this.hideOverlay,style:{height:p,width:u,display:v||!g?"none":""},onLoad:this.onLoad,src:L}),!h&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),m&&wp.element.createElement("p",{className:"embedpress-el-powered"},"Powered By EmbedPress"),wp.element.createElement(y,{key:"inspector"},wp.element.createElement(_,{title:__("Embed Size","embedpress")},wp.element.createElement(k,{label:__("Width","embedpress"),value:u,onChange:function(e){return r({width:e})},max:1e3,min:1}),wp.element.createElement(k,{label:__("Height","embedpress"),value:p,onChange:function(e){return r({height:e})},max:1e3,min:1}),wp.element.createElement(S,{label:__("Powered By"),onChange:function(e){return r({powered_by:e})},checked:m}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(g);t.a=j},function(e,t,n){"use strict";var r=n(49),i=(n.n(r),n(50)),o=(n.n(i),n(51)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks.embedpress&&l("embedpress/embedpress",{title:__("EmbedPress"),icon:a.b,category:"embedpress",keywords:["embedpress","embed","google","youtube","docs"],supports:{align:["right","left","center"],default:"center",lightBlockWrapper:!0},attributes:{url:{type:"string",default:""},embedHTML:{type:"string",default:""},height:{type:"string",default:"450"},width:{type:"string",default:"600"},editingURL:{type:"boolean",default:!1},fetching:{type:"boolean",default:!1},cannotEmbed:{type:"boolean",default:!1},interactive:{type:"boolean",default:!1},align:{type:"string",default:"center"}},edit:o.a,save:function(){return null}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(i,o){try{var a=t[i](o),l=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(l).then(function(e){r("next",e)},function(e){r("throw",e)});e(l)}return r("next")})}}function i(e){function t(){m({editingURL:!0})}function n(e){var t=this;if(e&&e.preventDefault(),h){m({fetching:!0});(function(){var e=r(a.a.mark(function e(n){return a.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(embedpressObj.site_url+"/wp-json/embedpress/v1/oembed/embedpress?url="+n+"&width="+_+"&height="+k).then(function(e){return e.json()});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,t)}));return function(_x){return e.apply(this,arguments)}})()(h).then(function(e){m({fetching:!1}),m(e.data&&404===e.data.status||!e.embed?{cannotEmbed:!0,editingURL:!0}:{embedHTML:e.embed,cannotEmbed:!1,editingURL:!1})})}else m({cannotEmbed:!0,fetching:!1,editingURL:!0})}var i=e.attributes,o=e.className,m=e.setAttributes,h=i.url,v=i.editingURL,g=i.fetching,E=i.cannotEmbed,L=(i.interactive,i.embedHTML),k=i.height,_=i.width,O=w?w():[];return wp.element.createElement(y,null,wp.element.createElement(b,null,wp.element.createElement(d,{title:__("Customize Embedded Link")},wp.element.createElement("p",null,__("You can adjust the width and height of embedded content.")),wp.element.createElement(f,{label:__("Width"),value:_,onChange:function(e){return m({width:e})}}),wp.element.createElement(f,{label:__("Height"),value:k,onChange:function(e){return m({height:e})}}),L&&!v&&wp.element.createElement("button",{onClick:n},__("Apply")))),(!L||v)&&!g&&wp.element.createElement("div",O,wp.element.createElement(s.a,{label:__("EmbedPress - Embed anything from 100+ sites"),onSubmit:n,value:h,cannotEmbed:E,onChange:function(e){return m({url:e.target.value})},icon:p.b,DocTitle:__("Learn more about EmbedPress"),docLink:"https://embedpress.com/docs/"})),g?wp.element.createElement("div",{className:o},wp.element.createElement(c.a,null)," "):null,L&&!v&&!g&&wp.element.createElement("figure",O,wp.element.createElement(u.a,{style:{display:g?"none":""},dangerouslySetInnerHTML:{__html:L}}),wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:m({interactive:!0})}),wp.element.createElement(l.a,{showEditButton:L&&!E,switchBackToURLInput:t})))}t.a=i;var o=n(52),a=n.n(o),l=n(2),c=n(1),s=n(3),u=n(55),p=n(0),__=wp.i18n.__,m=wp.components,f=m.TextControl,d=m.PanelBody,h=wp.blockEditor,b=h.InspectorControls,w=h.useBlockProps,y=wp.element.Fragment},function(e,t,n){e.exports=n(53)},function(e,t,n){var r=function(){return this}()||Function("return this")(),i=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,o=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(54),i)r.regeneratorRuntime=o;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t){!function(t){"use strict";function n(e,t,n,r){var o=t&&t.prototype instanceof i?t:i,a=Object.create(o.prototype),l=new f(r||[]);return a._invoke=s(e,n,l),a}function r(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function i(){}function o(){}function a(){}function l(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function c(e){function t(n,i,o,a){var l=r(e[n],e,i);if("throw"!==l.type){var c=l.arg,s=c.value;return s&&"object"===typeof s&&y.call(s,"__await")?Promise.resolve(s.__await).then(function(e){t("next",e,o,a)},function(e){t("throw",e,o,a)}):Promise.resolve(s).then(function(e){c.value=e,o(c)},a)}a(l.arg)}function n(e,n){function r(){return new Promise(function(r,i){t(e,n,r,i)})}return i=i?i.then(r,r):r()}var i;this._invoke=n}function s(e,t,n){var i=O;return function(o,a){if(i===U)throw new Error("Generator is already running");if(i===j){if("throw"===o)throw a;return h()}for(n.method=o,n.arg=a;;){var l=n.delegate;if(l){var c=u(l,n);if(c){if(c===R)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===O)throw i=j,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=U;var s=r(e,t,n);if("normal"===s.type){if(i=n.done?j:S,s.arg===R)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(i=j,n.method="throw",n.arg=s.arg)}}}function u(e,t){var n=e.iterator[t.method];if(n===b){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=b,u(e,t),"throw"===t.method))return R;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return R}var i=r(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,R;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=b),t.delegate=null,R):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,R)}function p(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function m(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function f(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(p,this),this.reset(!0)}function d(e){if(e){var t=e[g];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(y.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=b,t.done=!0,t};return r.next=r}}return{next:h}}function h(){return{value:b,done:!0}}var b,w=Object.prototype,y=w.hasOwnProperty,v="function"===typeof Symbol?Symbol:{},g=v.iterator||"@@iterator",E=v.asyncIterator||"@@asyncIterator",L=v.toStringTag||"@@toStringTag",k="object"===typeof e,_=t.regeneratorRuntime;if(_)return void(k&&(e.exports=_));_=t.regeneratorRuntime=k?e.exports:{},_.wrap=n;var O="suspendedStart",S="suspendedYield",U="executing",j="completed",R={},C={};C[g]=function(){return this};var x=Object.getPrototypeOf,T=x&&x(x(d([])));T&&T!==w&&y.call(T,g)&&(C=T);var M=a.prototype=i.prototype=Object.create(C);o.prototype=M.constructor=a,a.constructor=o,a[L]=o.displayName="GeneratorFunction",_.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===o||"GeneratorFunction"===(t.displayName||t.name))},_.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,L in e||(e[L]="GeneratorFunction")),e.prototype=Object.create(M),e},_.awrap=function(e){return{__await:e}},l(c.prototype),c.prototype[E]=function(){return this},_.AsyncIterator=c,_.async=function(e,t,r,i){var o=new c(n(e,t,r,i));return _.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},l(M),M[L]="Generator",M[g]=function(){return this},M.toString=function(){return"[object Generator]"},_.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},_.values=d,f.prototype={constructor:f,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=b,this.done=!1,this.delegate=null,this.method="next",this.arg=b,this.tryEntries.forEach(m),!e)for(var t in this)"t"===t.charAt(0)&&y.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=b)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return o.type="throw",o.arg=e,n.next=t,r&&(n.method="next",n.arg=b),!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var a=y.call(i,"catchLoc"),l=y.call(i,"finallyLoc");if(a&&l){if(this.prev<i.catchLoc)return t(i.catchLoc,!0);if(this.prev<i.finallyLoc)return t(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return t(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return t(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&y.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,R):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),R},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),m(n),R}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;m(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:d(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=b),R}}}(function(){return this}()||Function("return this")())},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(5),l=n.n(a),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=wp.element.Component,p=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.myRef=React.createRef(),n}return o(t,e),s(t,[{key:"componentDidMount",value:function(){l.a.findDOMNode(this.myRef.current).addEventListener("load",this.props.onLoad)}},{key:"render",value:function(){return wp.element.createElement("div",c({ref:this.myRef},this.props))}}]),t}(u);t.a=p}]);
1
+ !function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=6)}([function(e,t,n){"use strict";n.d(t,"c",function(){return l}),n.d(t,"h",function(){return c}),n.d(t,"g",function(){return s}),n.d(t,"e",function(){return u}),n.d(t,"d",function(){return p}),n.d(t,"f",function(){return m}),n.d(t,"i",function(){return f}),n.d(t,"j",function(){return d}),n.d(t,"k",function(){return h}),n.d(t,"a",function(){return b}),n.d(t,"b",function(){return w});var r=wp.components,i=r.G,o=r.Path,a=(r.Polygon,r.SVG),l=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#2196F3"},d:"M 37 45 L 11 45 C 9.34375 45 8 43.65625 8 42 L 8 6 C 8 4.34375 9.34375 3 11 3 L 30 3 L 40 13 L 40 42 C 40 43.65625 38.65625 45 37 45 Z "}),wp.element.createElement(o,{style:{fill:"#BBDEFB"},d:"M 40 13 L 30 13 L 30 3 Z "}),wp.element.createElement(o,{style:{fill:"#1565C0"},d:"M 30 13 L 40 23 L 40 13 Z "}),wp.element.createElement(o,{style:{fill:"#E3F2FD"},d:"M 15 23 L 33 23 L 33 25 L 15 25 Z "}),wp.element.createElement(o,{style:{fill:"#E3F2FD"},d:"M 15 27 L 33 27 L 33 29 L 15 29 Z "}),wp.element.createElement(o,{style:{fill:"#E3F2FD"},d:"M 15 31 L 33 31 L 33 33 L 15 33 Z "}),wp.element.createElement(o,{style:{fill:"#E3F2FD"},d:"M 15 35 L 25 35 L 25 37 L 15 37 Z "}))),c=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",enableBackground:"new 0 0 24 24",id:"Layer_2",version:"1.1",viewBox:"0 0 24 24"},wp.element.createElement(i,null,wp.element.createElement(o,{d:"M21,6l-6-6H5C3.8954306,0,3,0.8954305,3,2v20c0,1.1045704,0.8954306,2,2,2h14c1.1045704,0,2-0.8954296,2-2 V6z",style:{fill:"#FFC720"}}),wp.element.createElement(o,{d:"M17,6c-0.5444336,0-1.0367432-0.2190552-1.3973999-0.5719604L21,10.8254395V6H17z",style:{fill:"url(#SVGID_1_)"}}),wp.element.createElement(o,{d:"M19,23.75H5c-1.1045532,0-2-0.8954468-2-2V22c0,1.1045532,0.8954468,2,2,2h14c1.1045532,0,2-0.8954468,2-2 v-0.25C21,22.8545532,20.1045532,23.75,19,23.75z",style:{opacity:"0.1"}}),wp.element.createElement(o,{d:"M15,0v4c0,1.1045694,0.8954306,2,2,2h4L15,0z",style:{fill:"#FFE083"}}),wp.element.createElement(o,{d:"M17,5.75c-1.1045532,0-2-0.8954468-2-2V4c0,1.1045532,0.8954468,2,2,2h4l-0.25-0.25H17z",style:{opacity:"0.1"}}),wp.element.createElement(o,{d:"M15,0H5C3.8954468,0,3,0.8953857,3,2v0.25c0-1.1046143,0.8954468-2,2-2h10",style:{fill:"#FFFFFF",opacity:"0.2"}}),wp.element.createElement(o,{d:"M15.5,9h-7C7.6728516,9,7,9.6728516,7,10.5v6C7,17.3271484,7.6728516,18,8.5,18h7 c0.8271484,0,1.5-0.6728516,1.5-1.5v-6C17,9.6728516,16.3271484,9,15.5,9z M8,15.5V11h8v4.5H8z",style:{fill:"#FFFFFF"}}),wp.element.createElement(o,{d:"M21,6l-6-6H5C3.8954306,0,3,0.8954305,3,2v20c0,1.1045704,0.8954306,2,2,2h14 c1.1045704,0,2-0.8954296,2-2V6z",style:{fill:"url(#SVGID_2_)"}}))),s=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#43A047"},d:"M 37 45 L 11 45 C 9.34375 45 8 43.65625 8 42 L 8 6 C 8 4.34375 9.34375 3 11 3 L 30 3 L 40 13 L 40 42 C 40 43.65625 38.65625 45 37 45 Z "}),wp.element.createElement(o,{style:{fill:"#C8E6C9"},d:"M 40 13 L 30 13 L 30 3 Z "}),wp.element.createElement(o,{style:{fill:"#2E7D32"},d:"M 30 13 L 40 23 L 40 13 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 31 23 L 15 23 L 15 37 L 33 37 L 33 23 Z M 17 25 L 21 25 L 21 27 L 17 27 Z M 17 29 L 21 29 L 21 31 L 17 31 Z M 17 33 L 21 33 L 21 35 L 17 35 Z M 31 35 L 23 35 L 23 33 L 31 33 Z M 31 31 L 23 31 L 23 29 L 31 29 Z M 31 27 L 23 27 L 23 25 L 31 25 Z "}))),u=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#7850C1"},d:"M 37 45 L 11 45 C 9.34375 45 8 43.65625 8 42 L 8 6 C 8 4.34375 9.34375 3 11 3 L 30 3 L 40 13 L 40 42 C 40 43.65625 38.65625 45 37 45 Z "}),wp.element.createElement(o,{style:{fill:"#C2ABE1"},d:"M 40 13 L 30 13 L 30 3 Z "}),wp.element.createElement(o,{style:{fill:"#2E7D32"},d:"M 30 13 L 40 23 L 40 13 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 19 23 L 33 23 L 33 25 L 19 25 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 19 28 L 33 28 L 33 30 L 19 30 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 19 33 L 33 33 L 33 35 L 19 35 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 15 23 L 17 23 L 17 25 L 15 25 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 15 28 L 17 28 L 17 30 L 15 30 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 15 33 L 17 33 L 17 35 L 15 35 Z "}))),p=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#DE5245"},d:"M37,45H11c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h19l10,10v29C40,43.7,38.7,45,37,45z"}),wp.element.createElement(o,{style:{fill:"#EEA6A0"},d:"M40,13H30V3L40,13z"}),wp.element.createElement(o,{style:{fill:"#B3433A"},d:"M30,13l10,10V13H30z"}),wp.element.createElement(o,{style:{fill:"#FFFFFF"},d:"M20.5,32c-3,0-5.5-2.5-5.5-5.5c0-3,2.5-5.5,5.5-5.5s5.5,2.5,5.5,5.5C26,29.5,23.5,32,20.5,32z M20.5,23c-1.9,0-3.5,1.6-3.5,3.5s1.6,3.5,3.5,3.5s3.5-1.6,3.5-3.5S22.4,23,20.5,23z"}),wp.element.createElement(o,{style:{fill:"#FFFFFF"},d:"M27.6,29c-0.6,1.8-1.9,3.3-3.6,4.1V38h9v-9H27.6z"}))),m=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#1C9957"},d:"M 42 39 L 42 9 C 42 7.34375 40.65625 6 39 6 L 9 6 C 7.34375 6 6 7.34375 6 9 L 6 39 C 6 40.65625 7.34375 42 9 42 L 39 42 C 40.65625 42 42 40.65625 42 39 Z "}),wp.element.createElement(o,{style:{fill:"#3E7BF1"},d:"M 9 42 L 39 42 C 40.65625 42 24 26 24 26 C 24 26 7.34375 42 9 42 Z "}),wp.element.createElement(o,{style:{fill:"#CBCCC9"},d:"M 42 39 L 42 9 C 42 7.34375 26 24 26 24 C 26 24 42 40.65625 42 39 Z "}),wp.element.createElement(o,{style:{fill:"#EFEFEF"},d:"M 39 42 C 40.65625 42 42 40.65625 42 39 L 42 38.753906 L 26.246094 23 L 23 26.246094 L 38.753906 42 Z "}),wp.element.createElement(o,{style:{fill:"#FFD73D"},d:"M 42 9 C 42 7.34375 40.65625 6 39 6 L 38.753906 6 L 6 38.753906 L 6 39 C 6 40.65625 7.34375 42 9 42 L 9.246094 42 L 42 9.246094 Z "}),wp.element.createElement(o,{style:{fill:"#D73F35"},d:"M 36 2 C 30.476563 2 26 6.476563 26 12 C 26 18.8125 33.664063 21.296875 35.332031 31.851563 C 35.441406 32.53125 35.449219 33 36 33 C 36.550781 33 36.558594 32.53125 36.667969 31.851563 C 38.335938 21.296875 46 18.8125 46 12 C 46 6.476563 41.523438 2 36 2 Z "}),wp.element.createElement(o,{style:{fill:"#752622"},d:"M 39.5 12 C 39.5 13.933594 37.933594 15.5 36 15.5 C 34.066406 15.5 32.5 13.933594 32.5 12 C 32.5 10.066406 34.066406 8.5 36 8.5 C 37.933594 8.5 39.5 10.066406 39.5 12 Z "}),wp.element.createElement(o,{style:{fill:"#FFFFFF"},d:"M 14.492188 12.53125 L 14.492188 14.632813 L 17.488281 14.632813 C 17.09375 15.90625 16.03125 16.816406 14.492188 16.816406 C 12.660156 16.816406 11.175781 15.332031 11.175781 13.5 C 11.175781 11.664063 12.660156 10.179688 14.492188 10.179688 C 15.316406 10.179688 16.070313 10.484375 16.648438 10.980469 L 18.195313 9.433594 C 17.21875 8.542969 15.921875 8 14.492188 8 C 11.453125 8 8.992188 10.464844 8.992188 13.5 C 8.992188 16.535156 11.453125 19 14.492188 19 C 19.304688 19 20.128906 14.683594 19.675781 12.539063 Z "}))),f=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#FFFFFF"},d:"M 12 32 L 12 8 L 39 8 L 39 26 L 33 32 L 24 32 L 18 38 L 18 32 Z "}),wp.element.createElement(o,{style:{fill:"#8E24AA"},d:"M 9 5 L 6 12.121094 L 6 38 L 15 38 L 15 43 L 20 43 L 25 38 L 32 38 L 42 28 L 42 5 Z M 38 26 L 33 31 L 24 31 L 19 36 L 19 31 L 13 31 L 13 9 L 38 9 Z "}),wp.element.createElement(o,{style:{fill:"#8E24AA"},d:"M 32 25 L 27 25 L 27 15 L 32 15 Z "}),wp.element.createElement(o,{style:{fill:"#8E24AA"},d:"M 24 25 L 19 25 L 19 15 L 24 15 Z "}))),d=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 769 598",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#148ee0"},d:"M766.89,229.17c0,0 -17.78,35.38 -106.5,91.3c-37.82,23.79 -116.36,49.1 -217.33,58.86c-54.52,5.29 -154.9,0.99 -197.96,0.99c-43.29,0 -63.13,9.12 -101.95,52.84c-143.15,161.36 -143.15,161.36 -143.15,161.36c0,0 49.57,0.24 87.01,0.24c37.43,0 271.55,13.59 375.43,-14.98c337.36,-92.72 304.46,-350.62 304.46,-350.62z"}),wp.element.createElement(o,{style:{fill:"#54bbff"},d:"M757.84,126.66c16.23,-98.97 -39.68,-126.16 -39.68,-126.16c0,0 2.36,80.57 -145.7,97.65c-131.42,15.16 -572.46,3.74 -572.46,3.74c0,0 0,0 141.74,162.54c38.39,44.06 58.76,49.17 101.92,52.22c43.16,2.89 138.42,1.86 202.99,-3.05c70.58,-5.41 171.17,-28.43 239.19,-81.11c34.88,-26.98 65.21,-64.48 72,-105.83z"}))),h=wp.element.createElement(a,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},wp.element.createElement(o,{d:"M21.8 8s-.195-1.377-.795-1.984c-.76-.797-1.613-.8-2.004-.847-2.798-.203-6.996-.203-6.996-.203h-.01s-4.197 0-6.996.202c-.39.046-1.242.05-2.003.846C2.395 6.623 2.2 8 2.2 8S2 9.62 2 11.24v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.76.797 1.76.77 2.205.855 1.6.153 6.8.2 6.8.2s4.203-.005 7-.208c.392-.047 1.244-.05 2.005-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517C22 9.62 21.8 8 21.8 8zM9.935 14.595v-5.62l5.403 2.82-5.403 2.8z"})),b=(wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 56 23"},wp.element.createElement("g",null,wp.element.createElement("g",null,wp.element.createElement("path",{style:{fill:"#DA2B28"},className:"st0",d:"M55.4,3.7c-0.2-0.9-0.6-1.6-1.3-2.2c-0.7-0.6-1.4-0.9-2.3-1c-2.7-0.3-6.8-0.4-12.3-0.4 c-5.5,0-9.6,0.1-12.3,0.4c-0.9,0.1-1.6,0.5-2.3,1c-0.7,0.6-1.1,1.3-1.3,2.2c-0.4,1.7-0.6,4.3-0.6,7.8c0,3.5,0.2,6.1,0.6,7.8 c0.2,0.9,0.6,1.6,1.3,2.2c0.7,0.6,1.4,0.9,2.3,1c2.7,0.3,6.8,0.5,12.3,0.5c5.5,0,9.6-0.2,12.3-0.5c0.9-0.1,1.6-0.4,2.3-1 c0.7-0.6,1.1-1.3,1.3-2.2c0.4-1.7,0.6-4.3,0.6-7.8C56,8,55.8,5.4,55.4,3.7L55.4,3.7z M32.5,6h-2.4v12.6h-2.2V6h-2.3V3.9h6.9V6z M38.5,18.6h-2v-1.2c-0.8,0.9-1.6,1.4-2.3,1.4c-0.7,0-1.1-0.3-1.3-0.8c-0.1-0.4-0.2-0.9-0.2-1.6V7.6h2v8.1c0,0.5,0,0.7,0,0.8 c0,0.3,0.2,0.5,0.5,0.5c0.4,0,0.8-0.3,1.3-0.9V7.6h2V18.6z M46.1,15.3c0,1.1-0.1,1.8-0.2,2.2c-0.3,0.8-0.8,1.2-1.6,1.2 c-0.7,0-1.4-0.4-2.1-1.2v1.1h-2V3.9h2v4.8c0.6-0.8,1.3-1.2,2.1-1.2c0.8,0,1.3,0.4,1.6,1.2c0.1,0.4,0.2,1.1,0.2,2.2V15.3z M53.5,13.5h-4v1.9c0,1,0.3,1.5,1,1.5c0.5,0,0.8-0.3,0.9-0.8c0-0.1,0-0.6,0-1.4h2v0.3c0,0.7,0,1.2,0,1.3c0,0.4-0.2,0.8-0.5,1.2 c-0.5,0.8-1.3,1.2-2.4,1.2c-1,0-1.8-0.4-2.4-1.1c-0.4-0.5-0.6-1.4-0.6-2.6v-3.8c0-1.2,0.2-2,0.6-2.6c0.6-0.8,1.4-1.1,2.4-1.1 c1,0,1.8,0.4,2.3,1.1c0.4,0.5,0.6,1.4,0.6,2.6V13.5z M53.5,13.5"}),wp.element.createElement("path",{className:"st0",d:"M43.2,9.3c-0.3,0-0.7,0.2-1,0.5v6.7c0.3,0.3,0.7,0.5,1,0.5c0.6,0,0.9-0.5,0.9-1.5v-4.7 C44.1,9.8,43.8,9.3,43.2,9.3L43.2,9.3z M43.2,9.3"}),wp.element.createElement("path",{className:"st0",d:"M50.6,9.3c-0.7,0-1,0.5-1,1.5v1h2v-1C51.6,9.8,51.2,9.3,50.6,9.3L50.6,9.3z M50.6,9.3"})),wp.element.createElement("g",null,wp.element.createElement("path",{d:"M2.8,12.8v6h2.2v-6L7.7,4H5.5L4,9.8L2.4,4H0.1c0.4,1.2,0.9,2.6,1.4,4.1C2.2,10.2,2.6,11.7,2.8,12.8L2.8,12.8z M2.8,12.8"}),wp.element.createElement("path",{d:"M10.7,19c1,0,1.8-0.4,2.3-1.1c0.4-0.5,0.6-1.4,0.6-2.6v-3.9c0-1.2-0.2-2-0.6-2.6c-0.5-0.8-1.3-1.1-2.3-1.1 c-1,0-1.8,0.4-2.3,1.1C8,9.3,7.8,10.2,7.8,11.4v3.9c0,1.2,0.2,2.1,0.6,2.6C8.9,18.6,9.7,19,10.7,19L10.7,19z M9.8,11 c0-1,0.3-1.5,1-1.5c0.6,0,1,0.5,1,1.5v4.7c0,1-0.3,1.6-1,1.6c-0.6,0-1-0.5-1-1.6V11z M9.8,11"}),wp.element.createElement("path",{d:"M16.8,19c0.7,0,1.5-0.5,2.3-1.4v1.2h2V7.8h-2v8.4c-0.4,0.6-0.9,1-1.3,1c-0.3,0-0.4-0.2-0.5-0.5c0,0,0-0.3,0-0.8V7.8h-2 v8.7c0,0.8,0.1,1.3,0.2,1.7C15.7,18.7,16.1,19,16.8,19L16.8,19z M16.8,19"})))),wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 276 340"},wp.element.createElement("path",{d:"M196.7.6H24.3C11.1.6.4 11.3.4 24.6v292.9c0 12.3 10 22.2 22.2 22.2H252c13.3 0 23.9-10.7 23.9-23.9V80.9L196.7.6z",fill:"#e94848"}),wp.element.createElement("path",{d:"M196.7 57c0 13.3 10.7 23.9 23.9 23.9H276L196.7.6V57z",fill:"#f19191"}),wp.element.createElement("linearGradient",{id:"A",gradientUnits:"userSpaceOnUse",x1:"44.744",y1:"77.111",x2:"116.568",y2:"77.111"},wp.element.createElement("stop",{offset:"0",stopColor:"#fff"}),wp.element.createElement("stop",{offset:"1",stopColor:"#fff0f0"})),wp.element.createElement("path",{d:"M113 84.5H48.3c-1.9 0-3.5-1.6-3.5-3.5v-7.7c0-1.9 1.6-3.5 3.5-3.5H113c1.9 0 3.5 1.6 3.5 3.5V81c.1 1.9-1.5 3.5-3.5 3.5z",fill:"url(#A)"}),wp.element.createElement("linearGradient",{id:"B",gradientUnits:"userSpaceOnUse",x1:"44.744",y1:"136.016",x2:"233.927",y2:"136.016"},wp.element.createElement("stop",{offset:"0",stopColor:"#fff"}),wp.element.createElement("stop",{offset:"1",stopColor:"#fff0f0"})),wp.element.createElement("use",{href:"#H",opacity:".8",fill:"url(#B)"}),wp.element.createElement("linearGradient",{id:"C",gradientUnits:"userSpaceOnUse",x1:"44.744",y1:"135.993",x2:"233.927",y2:"135.993"},wp.element.createElement("stop",{offset:"0",stopColor:"#fff"}),wp.element.createElement("stop",{offset:"1",stopColor:"#fff0f0"})),wp.element.createElement("use",{href:"#H",y:"33.6",opacity:".7",fill:"url(#C)"}),wp.element.createElement("linearGradient",{id:"D",gradientUnits:"userSpaceOnUse",x1:"44.744",y1:"135.969",x2:"233.927",y2:"135.969"},wp.element.createElement("stop",{offset:"0",stopColor:"#fff"}),wp.element.createElement("stop",{offset:"1",stopColor:"#fff0f0"})),wp.element.createElement("use",{href:"#H",y:"67.2",opacity:".6",fill:"url(#D)"}),wp.element.createElement("linearGradient",{id:"E",gradientUnits:"userSpaceOnUse",x1:"44.744",y1:"136.045",x2:"233.927",y2:"136.045"},wp.element.createElement("stop",{offset:"0",stopColor:"#fff"}),wp.element.createElement("stop",{offset:"1",stopColor:"#fff0f0"})),wp.element.createElement("use",{href:"#H",y:"100.7",opacity:".4",fill:"url(#E)"}),wp.element.createElement("linearGradient",{id:"F",gradientUnits:"userSpaceOnUse",x1:"44.744",y1:"270.322",x2:"174.778",y2:"270.322"},wp.element.createElement("stop",{offset:"0",stopColor:"#fff"}),wp.element.createElement("stop",{offset:"1",stopColor:"#fff0f0"})),wp.element.createElement("path",{d:"M171.9 277.7H47.6c-1.6 0-2.9-1.3-2.9-2.9v-9c0-1.6 1.3-2.9 2.9-2.9h124.3c1.6 0 2.9 1.3 2.9 2.9v9c0 1.6-1.3 2.9-2.9 2.9z",opacity:".3",fill:"url(#F)"}),wp.element.createElement("defs",null,wp.element.createElement("path",{id:"H",d:"M231 143.4H47.6c-1.6 0-2.9-1.3-2.9-2.9v-9c0-1.6 1.3-2.9 2.9-2.9H231c1.6 0 2.9 1.3 2.9 2.9v9c0 1.6-1.3 2.9-2.9 2.9z"})))),w=wp.element.createElement("svg",{width:"33",height:"20",version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 270 270",role:"img",focusable:"false"},wp.element.createElement("g",null,wp.element.createElement("polygon",{className:"st0",fill:"#9595C1",points:"0,0 0,52 15,52 15,15 52,15 52,0 \t"}),wp.element.createElement("polygon",{className:"st0",fill:"#9595C1",points:"255,218 255,255 218,255 218,270 270,270 270,218 \t"}),wp.element.createElement("path",{fill:"#5B4E96",d:"M260.7,68.1c-10.4-18.6-29.3-31.2-50.6-33.6c-12.4-1.4-25,0.6-36.3,6c-1.3,0.6-2.6,1.3-3.9,2 C154.5,51,143,65.3,138.3,81.7l0,0.1l-36.4,103.8c-3.1,9.4-9.1,17-17.1,21.4c-0.7,0.4-1.4,0.7-2.1,1.1c-6.1,2.9-12.8,4-19.5,3.2 c-11.5-1.3-21.6-8.1-27.2-18.1c-4.6-8.3-5.7-18-3.1-27.2c2.6-9.2,8.7-16.9,17.1-21.5c0.7-0.4,1.4-0.8,2.1-1.1 c6.1-2.9,12.7-4,19.6-3.2c0.3,0,0.5,0.1,0.8,0.1L64.9,162c-0.5,1.5,0.3,3.1,1.8,3.6l19.4,6.3c1.5,0.5,3-0.3,3.5-1.7l16.7-47.4 c0.4-1.2,0.3-2.5-0.3-3.6c-0.6-1.1-1.6-2-2.8-2.4l-17.6-5.1c-0.4-0.1-0.8-0.2-1.2-0.3l-1.6-0.5l0,0.1c-2.5-0.6-5-1.1-7.5-1.3 c-12.5-1.4-25.1,0.6-36.4,6c-1.3,0.6-2.6,1.3-3.9,2c-15.6,8.7-27,22.9-31.9,40.1c-4.9,17.1-2.8,35.1,5.8,50.5 c10.4,18.6,29.3,31.2,50.6,33.6c12.4,1.4,25-0.6,36.3-6c1.3-0.6,2.6-1.3,3.9-2c15.3-8.5,26.8-22.8,31.6-39.2l0-0.1L167.8,91 l0.1-0.2l0-0.1c4.1-10.5,9.3-17,17-21.3c0.7-0.4,1.4-0.7,2.1-1.1c6.1-2.9,12.8-4,19.5-3.2c11.5,1.3,21.6,8.1,27.2,18.1 c9.6,17.2,3.3,39.1-14,48.7c-0.7,0.4-1.4,0.7-2.1,1.1c-6.1,2.9-12.8,4-19.7,3.2c-2-0.2-4.1-0.6-6.1-1.2l-0.2-0.1l-11.3-3.4 c-1.2-0.4-2.5,0.3-2.9,1.5l-8.8,24.8c-0.5,1.3,0.3,2.7,1.6,3.1l13.9,4c3.4,0.9,6.8,1.6,10.3,2c12.4,1.4,25-0.6,36.3-6l0.1,0 c1.3-0.6,2.6-1.3,3.9-2C266.8,140.8,278.5,100.1,260.7,68.1z"})))},function(e,t,n){"use strict";var __=wp.i18n.__,r=wp.components.Spinner,i=function(){return wp.element.createElement("div",{className:"wp-block-embed is-loading"},wp.element.createElement(r,null),wp.element.createElement("p",null,__("Embedding\u2026")))};t.a=i},function(e,t,n){"use strict";var __=wp.i18n.__,r=wp.element.Fragment,i=wp.components,o=i.IconButton,a=i.Toolbar,l=wp.blockEditor.BlockControls,c=function(e){var t=e.showEditButton,n=e.switchBackToURLInput;return wp.element.createElement(r,null,wp.element.createElement(l,null,wp.element.createElement(a,null,t&&wp.element.createElement(o,{className:"components-toolbar__control",label:__("Edit URL"),icon:"edit",onClick:n}))))};t.a=c},function(e,t,n){"use strict";var r=n(11),i=n.n(r),o=wp.i18n,__=o.__,_x=o._x,a=wp.components,l=a.Button,c=a.Placeholder,s=a.ExternalLink,u=wp.blockEditor.BlockIcon,p=function(e){var t=e.icon,n=e.label,r=e.value,o=e.onSubmit,a=e.onChange,p=e.cannotEmbed,m=e.docLink,f=e.DocTitle,d=i()("wp-block-embed",{});return wp.element.createElement("div",null,wp.element.createElement(c,{icon:wp.element.createElement(u,{icon:t,showColors:!0}),label:n,className:d},wp.element.createElement("form",{onSubmit:o},wp.element.createElement("input",{type:"url",value:r||"",className:"components-placeholder__input","aria-label":n,placeholder:__("Enter URL to embed here\u2026"),onChange:a}),wp.element.createElement(l,{isSmall:!0,type:"submit"},_x("Embed","button label")),p&&wp.element.createElement("p",{className:"components-placeholder__error"},__("Sorry, we could not embed that content."),wp.element.createElement("br",null))),m&&wp.element.createElement("div",{className:"components-placeholder__learn-more"},wp.element.createElement(s,{href:m},f))))};t.a=p},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(5),l=n.n(a),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=wp.element.Component,p=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.myRef=React.createRef(),n}return o(t,e),s(t,[{key:"componentDidMount",value:function(){l.a.findDOMNode(this.myRef.current).addEventListener("load",this.props.onLoad)}},{key:"render",value:function(){return wp.element.createElement("iframe",c({ref:this.myRef},this.props))}}]),t}(u);t.a=p},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(7),n(12),n(16),n(20),n(24),n(28),n(32),n(36),n(40),n(44),n(48);!function(){var e=wp.element.createElement("svg",{width:"33",height:"20",version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 270 270"},wp.element.createElement("g",null,wp.element.createElement("polygon",{className:"st0",fill:"#9595C1",points:"0,0 0,52 15,52 15,15 52,15 52,0 \t"}),wp.element.createElement("polygon",{className:"st0",fill:"#9595C1",points:"255,218 255,255 218,255 218,270 270,270 270,218 \t"}),wp.element.createElement("path",{fill:"#5B4E96",d:"M260.7,68.1c-10.4-18.6-29.3-31.2-50.6-33.6c-12.4-1.4-25,0.6-36.3,6c-1.3,0.6-2.6,1.3-3.9,2 C154.5,51,143,65.3,138.3,81.7l0,0.1l-36.4,103.8c-3.1,9.4-9.1,17-17.1,21.4c-0.7,0.4-1.4,0.7-2.1,1.1c-6.1,2.9-12.8,4-19.5,3.2 c-11.5-1.3-21.6-8.1-27.2-18.1c-4.6-8.3-5.7-18-3.1-27.2c2.6-9.2,8.7-16.9,17.1-21.5c0.7-0.4,1.4-0.8,2.1-1.1 c6.1-2.9,12.7-4,19.6-3.2c0.3,0,0.5,0.1,0.8,0.1L64.9,162c-0.5,1.5,0.3,3.1,1.8,3.6l19.4,6.3c1.5,0.5,3-0.3,3.5-1.7l16.7-47.4 c0.4-1.2,0.3-2.5-0.3-3.6c-0.6-1.1-1.6-2-2.8-2.4l-17.6-5.1c-0.4-0.1-0.8-0.2-1.2-0.3l-1.6-0.5l0,0.1c-2.5-0.6-5-1.1-7.5-1.3 c-12.5-1.4-25.1,0.6-36.4,6c-1.3,0.6-2.6,1.3-3.9,2c-15.6,8.7-27,22.9-31.9,40.1c-4.9,17.1-2.8,35.1,5.8,50.5 c10.4,18.6,29.3,31.2,50.6,33.6c12.4,1.4,25-0.6,36.3-6c1.3-0.6,2.6-1.3,3.9-2c15.3-8.5,26.8-22.8,31.6-39.2l0-0.1L167.8,91 l0.1-0.2l0-0.1c4.1-10.5,9.3-17,17-21.3c0.7-0.4,1.4-0.7,2.1-1.1c6.1-2.9,12.8-4,19.5-3.2c11.5,1.3,21.6,8.1,27.2,18.1 c9.6,17.2,3.3,39.1-14,48.7c-0.7,0.4-1.4,0.7-2.1,1.1c-6.1,2.9-12.8,4-19.7,3.2c-2-0.2-4.1-0.6-6.1-1.2l-0.2-0.1l-11.3-3.4 c-1.2-0.4-2.5,0.3-2.9,1.5l-8.8,24.8c-0.5,1.3,0.3,2.7,1.6,3.1l13.9,4c3.4,0.9,6.8,1.6,10.3,2c12.4,1.4,25-0.6,36.3-6l0.1,0 c1.3-0.6,2.6-1.3,3.9-2C266.8,140.8,278.5,100.1,260.7,68.1z"})));wp.blocks.updateCategory("embedpress",{icon:e})}()},function(e,t,n){"use strict";var r=n(8),i=(n.n(r),n(9)),o=(n.n(i),n(10)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["google-docs-block"]&&l("embedpress/google-docs-block",{title:__("Google Docs"),icon:a.c,category:"embedpress",keywords:[__("embedpress"),__("google"),__("docs")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes.iframeSrc;if(t)return wp.element.createElement("figure",{className:"ose-google-docs-document"},wp.element.createElement("iframe",{src:t,frameBorder:"0",width:"600",height:"450",allowFullScreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))},deprecated:[{attributes:{align:{type:"string",enum:["left","center","right","wide","full"]}},save:function(e){var t=e.attributes.iframeSrc;if(t)return wp.element.createElement("div",{className:"ose-google-docs-document"},wp.element.createElement("iframe",{src:t,frameBorder:"0",width:"600",height:"450",allowFullScreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))}}]})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,m=wp.element.Component,f=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.updateAlignment=e.updateAlignment.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"updateAlignment",value:function(e){var t=this.props.setAttributes,n=-1!==["wide","full"].indexOf(e)?{width:void 0,height:void 0}:{};t(Object.assign({},n,{align:e}))}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,o=i.exec(r),a=o[1];a&&"document"===a?(r.match(/([?&])embedded=true/i)||(r.indexOf("?")>-1?r+="&embedded=true":r+="?embedded=true"),this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})):this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,p=t.interactive,m=this.props.attributes.iframeSrc,f=__("Google Docs URL");return!m||r?wp.element.createElement("div",null,wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.c,DocTitle:__("Learn more about Google doc embed"),docLink:"https://embedpress.com/docs/embed-google-docs-wordpress/"})):wp.element.createElement("div",null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,{src:m,onMouseUp:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameBorder:"0",width:"600",height:"450"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(m);t.a=f},function(e,t,n){var r,i;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var a=n.apply(null,r);a&&e.push(a)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var l in r)o.call(r,l)&&r[l]&&e.push(l);else e.push(r.toString())}}return e.join(" ")}var o={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(i=function(){return n}.apply(t,r))&&(e.exports=i))}()},function(e,t,n){"use strict";var r=n(13),i=(n.n(r),n(14)),o=(n.n(i),n(15)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["google-slides-block"]&&l("embedpress/google-slides-block",{title:__("Google Slides"),icon:a.h,category:"embedpress",keywords:[__("embedpress"),__("google"),__("slides")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-docs-presentation"},wp.element.createElement("iframe",{src:t,frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,m=wp.element,f=m.Component,d=m.Fragment,h=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,o=i.exec(r),a=o[1];a&&"presentation"==a?(r.match(/pub\?/i)&&(r=r.replace("/pub?","/embed?")),this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})):this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,p=t.interactive,m=this.props.attributes.iframeSrc,f=__("Google Slides URL");return!m||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.h,DocTitle:__("Learn more about Google slides embed"),docLink:"https://embedpress.com/docs/embed-google-slides-wordpress/"}):wp.element.createElement(d,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"450"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=h},function(e,t,n){"use strict";var r=n(17),i=(n.n(r),n(18)),o=(n.n(i),n(19)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["google-sheets-block"]&&l("embedpress/google-sheets-block",{title:__("Google Sheets"),icon:a.g,category:"embedpress",keywords:[__("embedpress"),__("google"),__("sheets")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-docs-spreadsheets"},wp.element.createElement("iframe",{src:t,frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))},deprecated:[{attributes:{align:{type:"string",enum:["left","center","right","wide","full"]}},save:function(e){var t=e.attributes.iframeSrc;if(t)return wp.element.createElement("div",{className:"ose-google-docs-spreadsheets"},wp.element.createElement("iframe",{src:t,frameBorder:"0",width:"600",height:"450",allowFullScreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))}}]})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,m=wp.element,f=m.Component,d=m.Fragment,h=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,o=i.exec(r),a=o[1];if(a&&"spreadsheets"==a){if(r.indexOf("?")>-1){var l=r.split("?");if(l=l[1],l=l.split("&"),console.log(l),l.length>0){var c=!1,s=!1;l.map(function(e){e.indexOf("widget=")?s=!0:e.indexOf("headers=")&&(c=!0)}),s||(r+="&widget=true"),c||(r+="&headers=false")}}else r+="?widget=true&headers=false";this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})}else this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,p=t.interactive,m=this.props.attributes.iframeSrc,f=__("Google Sheets URL");return!m||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.g,DocTitle:__("Learn more about Google sheet embed"),docLink:"https://embedpress.com/docs/embed-google-sheets-wordpress/"}):wp.element.createElement(d,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"450"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=h},function(e,t,n){"use strict";var r=n(21),i=(n.n(r),n(22)),o=(n.n(i),n(23)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["google-forms-block"]&&l("embedpress/google-forms-block",{title:__("Google Forms"),icon:a.e,category:"embedpress",keywords:[__("embedpress"),__("google"),__("forms")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-docs-forms"},wp.element.createElement("iframe",{src:t,frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,m=wp.element,f=m.Component,d=m.Fragment,h=(wp.components.Disabled,function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,o=i.exec(r),a=o[1];a&&"forms"==a?(this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})):this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,p=t.interactive,m=this.props.attributes.iframeSrc,f=__("Google Forms URL");return!m||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.e,DocTitle:__("Learn more about Google forms embed"),docLink:"https://embedpress.com/docs/embed-google-forms-wordpress/"}):wp.element.createElement(d,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"450"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f));t.a=h},function(e,t,n){"use strict";var r=n(25),i=(n.n(r),n(26)),o=(n.n(i),n(27)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["google-drawings-block"]&&l("embedpress/google-drawings-block",{title:__("Google Drawings"),icon:a.d,category:"embedpress",keywords:[__("embedpress"),__("google"),__("drawings")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-docs-drawings"},wp.element.createElement("img",{src:t,width:"960",height:"720"}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(0),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,p=wp.element,m=p.Component,f=p.Fragment,d=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1},e}return o(t,e),u(t,[{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,o=i.exec(r),a=o[1];a&&"drawings"==a?(this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})):this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,u=this.props.attributes.iframeSrc,p=__("Google Drawings URL (Get your link from File -> Publish to the web -> Link)");return!u||r?wp.element.createElement(c.a,{label:p,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:s.d,DocTitle:__("Learn more about Google drawing embed"),docLink:"https://embedpress.com/docs/embed-google-drawings-wordpress/"}):wp.element.createElement(f,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement("img",{src:u,onLoad:this.onLoad,style:{display:i?"none":""},width:"960",height:"720"}),wp.element.createElement(a.a,{showEditButton:u&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}]),t}(m);t.a=d},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(29),o=(n.n(i),n(30)),a=(n.n(o),n(31)),l=n(0),__=wp.i18n.__,c=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["google-maps-block"]&&c("embedpress/google-maps-block",{title:__("Google Maps"),icon:l.f,category:"embedpress",keywords:[__("embedpress"),__("google"),__("maps")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:a.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-maps"},wp.element.createElement("iframe",r({src:t,frameborder:"0",width:"600",height:"450"},"frameborder","0")))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,m=wp.element,f=m.Component,d=m.Fragment,h=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/(?:(?:(?:www\.|maps\.)?(?:google\.com?))|(?:goo\.gl))(?:\.[a-z]{2})?\/(?:maps\/)?(?:place\/)?(?:[a-z0-9\/%+\-_]*)?([a-z0-9\/%,+\-_=!:@\.&*\$#?\']*)/i)){var r=this.decodeHTMLEntities(t);if(t.match("~(maps/embed|output=embed)~i"));else{var i=/@(-?[0-9\.]+,-?[0-9\.]+).+,([0-9\.]+[a-z])/i,o=i.exec(r);o&&o.length>1&&o[1]&&o[2]?r="https://maps.google.com/maps?hl=en&ie=UTF8&ll="+o[1]+"&spn="+o[1]+"&t=m&z="+Math.round(parseInt(o[2]))+"&output=embed":this.setState({cannotEmbed:!0,editingURL:!0})}this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,p=t.interactive,m=this.props.attributes.iframeSrc,f=__("Google Maps URL");return!m||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.f,DocTitle:__("Learn more about Google map embed"),docLink:"https://embedpress.com/docs/embed-google-maps-wordpress/"}):wp.element.createElement(d,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"450"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=h},function(e,t,n){"use strict";var r=n(33),i=(n.n(r),n(34)),o=(n.n(i),n(35)),a=n(0),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},__=wp.i18n.__,c=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["twitch-block"]&&c("embedpress/twitch-block",{title:__("Twitch"),icon:a.i,category:"embedpress",keywords:[__("embedpress"),__("twitch")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""},attrs:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes,n=t.iframeSrc,r=t.attrs,i=n+"&parent="+embedpressObj.twitch_host;return wp.element.createElement("figure",{className:"ose-twitch-presentation"},wp.element.createElement("iframe",l({src:i},r,{frameborder:"0",width:"600",height:"450"})))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,f=wp.element,d=f.Component,h=f.Fragment,b=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),m(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;n({url:t});var r=/http[s]?:\/\/(?:www\.|clips\.)twitch\.tv\/([0-9a-zA-Z\-\_]+)\/?(chat\/?$|[0-9a-z\-\_]*)?/;if(t&&t.match(r)){var i=this.decodeHTMLEntities(t),o=r.exec(i),a=o[1];console.log(a);var l,c="channel";switch(t.indexOf("clips.twitch.tv")>-1?c="clip":t.indexOf("/videos/")>-1?c="video":t.indexOf("#/chat$#")>-1&&(c="chat"),console.log(c),c){case"channel":i="https://player.twitch.tv/?channel="+a,l={scrolling:"no",frameborder:"0",allowfullscreen:"true"};break;case"clip":i="https://clips.twitch.tv/embed?clip="+a+"&autoplay=false",l={scrolling:"no",frameborder:"0",allowfullscreen:"true"};break;case"video":a=o[2],i="https://player.twitch.tv/?video="+a,l={scrolling:"no",frameborder:"0",allowfullscreen:"true"};break;case"chat":i="http://www.twitch.tv/embed/"+a+"/chat",l={scrolling:"yes",frameborder:"0",allowfullscreen:"true",id:"'"+a+"'"}}this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:i,attrs:l})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,m=t.interactive,f=this.props.attributes,d=f.iframeSrc,b=f.attrs,w=__("Twitch URL");if(!d||r)return wp.element.createElement(c.a,{label:w,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.i,DocTitle:__("Learn more about twitch embed"),docLink:"https://embedpress.com/docs/embed-twitch-streams-chat/"});var y=d+"&parent="+embedpressObj.twitch_host;return wp.element.createElement(h,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,p({src:y},b,{onLoad:this.onLoad,style:{display:i?"none":""},onFocus:this.hideOverlay,width:"600",height:"450"})),!m&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:d&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(d);t.a=b},function(e,t,n){"use strict";var r=n(37),i=(n.n(r),n(38)),o=(n.n(i),n(39)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["wistia-block"]&&l("embedpress/wistia-block",{title:__("Wistia"),icon:a.j,category:"embedpress",keywords:[__("embedpress"),__("wistia")],supports:{align:["wide","full","right","left"],default:""},edit:o.a,save:function(e){return null},deprecated:[{attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("div",{class:"ose-wistia"},wp.element.createElement("iframe",{src:t,allowtransparency:"true",frameborder:"0",class:"wistia_embed",name:"wistia_embed",width:"600",height:"330"}))}}]})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,m=wp.element,f=m.Component,d=m.Fragment,h=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1,mediaId:null},e.setUrl(),e}return o(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"componentDidMount",value:function(){if(this.props.attributes.url){var e=this.props.attributes.url.match(/medias\/(.*)/),t=e[1];this.setState(Object.assign({},this.state,{mediaId:t}))}}},{key:"onLoad",value:function(){if(this.setState({fetching:!1}),embedpressObj.wisita_options){var e=Object.assign({},this.state);setTimeout(function(){var e=document.createElement("script");e.src="https://fast.wistia.com/assets/external/E-v1.js",e.charset="ISO-8859-1",document.body.appendChild(e)},100),setTimeout(function(){var t=document.createElement("script");t.type="text/javascript",t.innerHTML="window.pp_embed_wistia_labels = "+embedpressObj.wistia_labels,document.body.appendChild(t),t=document.createElement("script"),t.type="text/javascript",t.innerHTML='wistiaEmbed = Wistia.embed( "'+e.mediaId+'", '+embedpressObj.wisita_options+" );",document.body.appendChild(t)},400)}}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&(t.match(/^http[s]?:\/\/(?:www\.)?wistia\.com\/medias/i)||t.match(/^http[s]?:\/\/(?:www\.)?fast\/.wistia\.com\/embed\/medias/i.jsonp))){var r=t.match(/medias\/(.*)/),i=r[1],o="//fast.wistia.net/embed/iframe/"+i;this.setState({editingURL:!1,cannotEmbed:!1,mediaId:i}),n({iframeSrc:o})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,p=t.interactive,m=this.props.attributes.iframeSrc,f=__("Wistia URL");return!m||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.j,DocTitle:__("Learn more about Wistia embed"),docLink:"https://embedpress.com/docs/embed-wistia-videos-wordpress/"}):wp.element.createElement(d,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement("div",{className:"ose-wistia",id:"wistia_"+this.state.mediaId},wp.element.createElement(s.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"330"})),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=h},function(e,t,n){"use strict";var r=n(41),i=(n.n(r),n(42)),o=(n.n(i),n(43)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["youtube-block"]&&l("embedpress/youtube-block",{title:__("YouTube"),icon:a.k,category:"embedpress",keywords:[__("embedpress"),__("youtube")],supports:{align:["wide","full","right","left"],default:""},edit:o.a,save:function(){return null}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,f=wp.element,d=f.Component,h=f.Fragment,b=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),m(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"componentWillMount",value:function(){this.state.url&&this.setUrl()}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;n({url:t});var r=t.match(/^(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})(?:\S+)?$/);if(t&&r){var i=r[1],o="https://www.youtube.com/embed/"+i,a=new URL(o);if("undefined"!==typeof embedpressProObj)for(var l in embedpressProObj.youtubeParams)a.searchParams.set(l,embedpressProObj.youtubeParams[l]);this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:a.href,mediaId:i})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,m=t.interactive,f=this.props.attributes,d=f.iframeSrc,b=f.attrs,w=__("YouTube URL");return!d||r?wp.element.createElement(c.a,{label:w,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.k,DocTitle:__("Learn More About YouTube Embed"),docLink:"https://embedpress.com/docs/embed-youtube-wordpress/"}):wp.element.createElement(h,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,p({src:d},b,{onLoad:this.onLoad,style:{display:i?"none":""},width:"640",onFocus:this.hideOverlay,height:"450"})),!m&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:d&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(d);t.a=b},function(e,t,n){"use strict";var r=n(45),i=(n.n(r),n(46)),o=(n.n(i),n(47)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks.document&&l("embedpress/document",{title:__("Document"),icon:a.a,category:"embedpress",keywords:[__("embedpress"),__("pdf"),__("doc"),__("ppt")],supports:{align:["wide","full","right","left"],default:""},attributes:{id:{type:"string"},href:{type:"string"},powered_by:{type:"boolean",default:!0},width:{type:"number",default:600},height:{type:"number",default:600},fileName:{type:"string"},mime:{type:"string"}},edit:o.a,save:function(e){var t=e.attributes,n=t.href,r=t.mime,i=t.id,o=t.width,a=t.height,l=t.powered_by,c="//view.officeapps.live.com/op/embed.aspx?src="+n;return wp.element.createElement("figure",{className:"embedpress-embed-document"},"application/pdf"===r&&wp.element.createElement("div",{style:{height:a,width:o},className:"embedpress-embed-document-pdf "+i,"data-emid":i,"data-emsrc":n}),"application/pdf"!==r&&wp.element.createElement("iframe",{style:{height:a,width:o},src:c,mozallowfullscreen:"true",webkitallowfullscreen:"true"}),l&&wp.element.createElement("p",{className:"embedpress-el-powered"},"Powered By EmbedPress"))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(4),l=n(1),c=n(0),s=function(){function e(e,t){var n=[],_n=!0,r=!1,i=void 0;try{for(var o,a=e[Symbol.iterator]();!(_n=(o=a.next()).done)&&(n.push(o.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,i=e}finally{try{!_n&&a.return&&a.return()}finally{if(r)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,p=wp.blob,m=p.getBlobByURL,f=p.isBlobURL,d=p.revokeBlobURL,h=wp.editor,b=h.BlockIcon,w=h.MediaPlaceholder,y=h.InspectorControls,v=wp.element,g=v.Component,E=v.Fragment,L=wp.components,k=L.RangeControl,_=L.PanelBody,O=L.ExternalLink,S=L.ToggleControl,U=["application/pdf","application/msword","application/vnd.ms-powerpoint","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.presentationml.presentation"],j=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.onSelectFile=e.onSelectFile.bind(e),e.onUploadError=e.onUploadError.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={hasError:!1,fetching:!1,interactive:!1,loadPdf:!0},e}return o(t,e),u(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,i=t.noticeOperations,o=n.href;if(f(o)){r({filesList:[m(o)],onFileChange:function(t){var n=s(t,1),r=n[0];return e.onSelectFile(r)},onError:function(t){e.setState({hasError:!0}),i.createErrorNotice(t)}}),d(o)}this.props.attributes.href&&"application/pdf"===this.props.attributes.mime&&this.state.loadPdf&&(this.setState({loadPdf:!1}),PDFObject.embed(this.props.attributes.href,"."+this.props.attributes.id))}},{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&this.setState({showCopyConfirmation:!1})}},{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"onSelectFile",value:function(e){e&&e.url&&(this.setState({hasError:!1}),this.props.setAttributes({href:e.url,fileName:e.title,id:"embedpress-pdf-"+Date.now(),mime:e.mime}),embedpressObj.embedpress_pro&&this.props.setAttributes({powered_by:!1}),"application/pdf"===e.mime&&(this.setState({loadPdf:!1}),PDFObject.embed(e.url,"."+this.props.attributes.id)))}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.noticeUI,r=e.setAttributes,i=t.href,o=t.mime,s=t.id,u=t.width,p=t.height,m=t.powered_by,f=this.state,d=f.hasError,h=f.interactive,v=f.fetching,g=f.loadPdf;if(!i||d)return wp.element.createElement("div",{className:"embedpress-document-editmode"},wp.element.createElement(w,{icon:wp.element.createElement(b,{icon:c.a}),labels:{title:__("Document"),instructions:__("Upload a file or pick one from your media library for embed.")},onSelect:this.onSelectFile,notices:n,allowedTypes:U,onError:this.onUploadError},wp.element.createElement("div",{style:{width:"100%"},className:"components-placeholder__learn-more embedpress-doc-link"},wp.element.createElement(O,{href:"https://embedpress.com/docs/embed-docuemnt/"},"Learn more about Embedded document "))));var L="//view.officeapps.live.com/op/embed.aspx?src="+i;return wp.element.createElement(E,null,v&&"application/pdf"!==o?wp.element.createElement(l.a,null):null,"application/pdf"===o&&wp.element.createElement("div",{style:{height:p,width:u},className:"embedpress-embed-document-pdf "+s,"data-emid":s,"data-emsrc":i}),"application/pdf"!==o&&wp.element.createElement(a.a,{onMouseUponMouseUp:this.hideOverlay,style:{height:p,width:u,display:v||!g?"none":""},onLoad:this.onLoad,src:L}),!h&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),m&&wp.element.createElement("p",{className:"embedpress-el-powered"},"Powered By EmbedPress"),wp.element.createElement(y,{key:"inspector"},wp.element.createElement(_,{title:__("Embed Size","embedpress")},wp.element.createElement(k,{label:__("Width","embedpress"),value:u,onChange:function(e){return r({width:e})},max:1e3,min:1}),wp.element.createElement(k,{label:__("Height","embedpress"),value:p,onChange:function(e){return r({height:e})},max:1e3,min:1}),wp.element.createElement(S,{label:__("Powered By"),onChange:function(e){return r({powered_by:e})},checked:m}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(g);t.a=j},function(e,t,n){"use strict";var r=n(49),i=(n.n(r),n(50)),o=(n.n(i),n(51)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks.embedpress&&l("embedpress/embedpress",{title:__("EmbedPress"),icon:a.b,category:"embedpress",keywords:["embedpress","embed","google","youtube","docs"],supports:{align:["right","left","center"],default:"center",lightBlockWrapper:!0},attributes:{url:{type:"string",default:""},embedHTML:{type:"string",default:""},height:{type:"string",default:"450"},width:{type:"string",default:"600"},editingURL:{type:"boolean",default:!1},fetching:{type:"boolean",default:!1},cannotEmbed:{type:"boolean",default:!1},interactive:{type:"boolean",default:!1},align:{type:"string",default:"center"}},edit:o.a,save:function(){return null}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(i,o){try{var a=t[i](o),l=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(l).then(function(e){r("next",e)},function(e){r("throw",e)});e(l)}return r("next")})}}function i(e){function t(){m({editingURL:!0})}function n(e){var t=this;if(e&&e.preventDefault(),h){m({fetching:!0});(function(){var e=r(a.a.mark(function e(n){return a.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(embedpressObj.site_url+"/wp-json/embedpress/v1/oembed/embedpress?url="+n+"&width="+_+"&height="+k).then(function(e){return e.json()});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,t)}));return function(_x){return e.apply(this,arguments)}})()(h).then(function(e){m({fetching:!1}),m(e.data&&404===e.data.status||!e.embed?{cannotEmbed:!0,editingURL:!0}:{embedHTML:e.embed,cannotEmbed:!1,editingURL:!1})})}else m({cannotEmbed:!0,fetching:!1,editingURL:!0})}var i=e.attributes,o=e.className,m=e.setAttributes,h=i.url,v=i.editingURL,g=i.fetching,E=i.cannotEmbed,L=(i.interactive,i.embedHTML),k=i.height,_=i.width,O=w?w():[];return wp.element.createElement(y,null,wp.element.createElement(b,null,wp.element.createElement(d,{title:__("Customize Embedded Link")},wp.element.createElement("p",null,__("You can adjust the width and height of embedded content.")),wp.element.createElement(f,{label:__("Width"),value:_,onChange:function(e){return m({width:e})}}),wp.element.createElement(f,{label:__("Height"),value:k,onChange:function(e){return m({height:e})}}),L&&!v&&wp.element.createElement("button",{onClick:n},__("Apply")))),(!L||v)&&!g&&wp.element.createElement("div",O,wp.element.createElement(s.a,{label:__("EmbedPress - Embed anything from 100+ sites"),onSubmit:n,value:h,cannotEmbed:E,onChange:function(e){return m({url:e.target.value})},icon:p.b,DocTitle:__("Learn more about EmbedPress"),docLink:"https://embedpress.com/docs/"})),g?wp.element.createElement("div",{className:o},wp.element.createElement(c.a,null)," "):null,L&&!v&&!g&&wp.element.createElement("figure",O,wp.element.createElement(u.a,{style:{display:g?"none":""},dangerouslySetInnerHTML:{__html:L}}),L.includes("g-ytsubscribe")&&wp.element.createElement("p",null,__("Note: Subscription button will show in the frontend.")),wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:m({interactive:!0})}),wp.element.createElement(l.a,{showEditButton:L&&!E,switchBackToURLInput:t})))}t.a=i;var o=n(52),a=n.n(o),l=n(2),c=n(1),s=n(3),u=n(55),p=n(0),__=wp.i18n.__,m=wp.components,f=m.TextControl,d=m.PanelBody,h=wp.blockEditor,b=h.InspectorControls,w=h.useBlockProps,y=wp.element.Fragment},function(e,t,n){e.exports=n(53)},function(e,t,n){var r=function(){return this}()||Function("return this")(),i=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,o=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(54),i)r.regeneratorRuntime=o;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t){!function(t){"use strict";function n(e,t,n,r){var o=t&&t.prototype instanceof i?t:i,a=Object.create(o.prototype),l=new f(r||[]);return a._invoke=s(e,n,l),a}function r(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function i(){}function o(){}function a(){}function l(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function c(e){function t(n,i,o,a){var l=r(e[n],e,i);if("throw"!==l.type){var c=l.arg,s=c.value;return s&&"object"===typeof s&&y.call(s,"__await")?Promise.resolve(s.__await).then(function(e){t("next",e,o,a)},function(e){t("throw",e,o,a)}):Promise.resolve(s).then(function(e){c.value=e,o(c)},a)}a(l.arg)}function n(e,n){function r(){return new Promise(function(r,i){t(e,n,r,i)})}return i=i?i.then(r,r):r()}var i;this._invoke=n}function s(e,t,n){var i=O;return function(o,a){if(i===U)throw new Error("Generator is already running");if(i===j){if("throw"===o)throw a;return h()}for(n.method=o,n.arg=a;;){var l=n.delegate;if(l){var c=u(l,n);if(c){if(c===R)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===O)throw i=j,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=U;var s=r(e,t,n);if("normal"===s.type){if(i=n.done?j:S,s.arg===R)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(i=j,n.method="throw",n.arg=s.arg)}}}function u(e,t){var n=e.iterator[t.method];if(n===b){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=b,u(e,t),"throw"===t.method))return R;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return R}var i=r(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,R;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=b),t.delegate=null,R):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,R)}function p(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function m(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function f(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(p,this),this.reset(!0)}function d(e){if(e){var t=e[g];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(y.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=b,t.done=!0,t};return r.next=r}}return{next:h}}function h(){return{value:b,done:!0}}var b,w=Object.prototype,y=w.hasOwnProperty,v="function"===typeof Symbol?Symbol:{},g=v.iterator||"@@iterator",E=v.asyncIterator||"@@asyncIterator",L=v.toStringTag||"@@toStringTag",k="object"===typeof e,_=t.regeneratorRuntime;if(_)return void(k&&(e.exports=_));_=t.regeneratorRuntime=k?e.exports:{},_.wrap=n;var O="suspendedStart",S="suspendedYield",U="executing",j="completed",R={},C={};C[g]=function(){return this};var x=Object.getPrototypeOf,T=x&&x(x(d([])));T&&T!==w&&y.call(T,g)&&(C=T);var M=a.prototype=i.prototype=Object.create(C);o.prototype=M.constructor=a,a.constructor=o,a[L]=o.displayName="GeneratorFunction",_.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===o||"GeneratorFunction"===(t.displayName||t.name))},_.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,L in e||(e[L]="GeneratorFunction")),e.prototype=Object.create(M),e},_.awrap=function(e){return{__await:e}},l(c.prototype),c.prototype[E]=function(){return this},_.AsyncIterator=c,_.async=function(e,t,r,i){var o=new c(n(e,t,r,i));return _.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},l(M),M[L]="Generator",M[g]=function(){return this},M.toString=function(){return"[object Generator]"},_.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},_.values=d,f.prototype={constructor:f,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=b,this.done=!1,this.delegate=null,this.method="next",this.arg=b,this.tryEntries.forEach(m),!e)for(var t in this)"t"===t.charAt(0)&&y.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=b)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return o.type="throw",o.arg=e,n.next=t,r&&(n.method="next",n.arg=b),!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var a=y.call(i,"catchLoc"),l=y.call(i,"finallyLoc");if(a&&l){if(this.prev<i.catchLoc)return t(i.catchLoc,!0);if(this.prev<i.finallyLoc)return t(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return t(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return t(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&y.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,R):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),R},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),m(n),R}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;m(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:d(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=b),R}}}(function(){return this}()||Function("return this")())},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(5),l=n.n(a),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=wp.element.Component,p=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.myRef=React.createRef(),n}return o(t,e),s(t,[{key:"componentDidMount",value:function(){l.a.findDOMNode(this.myRef.current).addEventListener("load",this.props.onLoad)}},{key:"render",value:function(){return wp.element.createElement("div",c({ref:this.myRef},this.props))}}]),t}(u);t.a=p}]);
Gutenberg/plugin.php CHANGED
@@ -100,8 +100,15 @@ function embedpress_block_category( $categories, $post ) {
100
  );
101
 
102
  }
 
 
 
 
 
 
 
 
103
 
104
- add_filter( 'block_categories', 'embedpress_block_category', 10, 2 );
105
 
106
 
107
  foreach ( glob( EMBEDPRESS_GUTENBERG_DIR_PATH . 'block-backend/*.php' ) as $block_logic ) {
100
  );
101
 
102
  }
103
+ $wp_version = get_bloginfo( 'version', 'display' );
104
+ if ( version_compare( $wp_version, '5.8', '>=') ) {
105
+ add_filter( 'block_categories_all', 'embedpress_block_category', 10, 2 );
106
+
107
+ }else{
108
+ add_filter( 'block_categories', 'embedpress_block_category', 10, 2 );
109
+ }
110
+
111
 
 
112
 
113
 
114
  foreach ( glob( EMBEDPRESS_GUTENBERG_DIR_PATH . 'block-backend/*.php' ) as $block_logic ) {
PROVIDERS.md DELETED
@@ -1,41 +0,0 @@
1
- In addition to the [default WordPress sources](https://codex.wordpress.org/Embeds#Okay.2C_So_What_Sites_Can_I_Embed_From.3F), EmbedPress Embeds supports these providers:
2
-
3
- - 23h (Images)
4
- - AmCharts (Charts)
5
- - Bambuser (Videos)
6
- - Cacoo (Charts)
7
- - ChartBlocks (Charts)
8
- - Chirbit (Audios)
9
- - Cly (Audios)
10
- - CircuitLab (Charts)
11
- - Coub (Videos)
12
- - Crowd Ranking (Polls)
13
- - Daily Mile (Activity)
14
- - Devianart (Images)
15
- - Dipity (Timelines)
16
- - Dotsub (Videos)
17
- - Facebook (Posts)
18
- - GettyImages (Images)
19
- - Giphy (Gifs)
20
- - Github Gist (Code)
21
- - Google Docs (Documents)
22
- - Google Maps (Maps)
23
- - Google Drawings (Drawings)
24
- - Google Sheets (Spreadsheets)
25
- - Google Slides (Presentation Slideshows)
26
- - HuffDuffer (Audios)
27
- - Infogram (Charts)
28
- - MobyPicture (Image)
29
- - NFB (Videos)
30
- - Porfolium (Projects)
31
- - Release Wire (Press releases)
32
- - Roomshare (Listings, in Japanese)
33
- - Sapo Videos (Videos, in Spanish)
34
- - ShortNote (Notes, in Japanese)
35
- - Rutube (Videos, in Russian)
36
- - Shoudio (Audios)
37
- - Sketchfab (Drawings)
38
- - Ustream (Videos)
39
- - Viddler (Videos)
40
- - VideoJug (Videos)
41
- - Twitch (Videos, Chat)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/css/el-icon.css CHANGED
@@ -37,8 +37,9 @@
37
  position: relative;
38
  opacity: .9;
39
  }
40
-
41
- .elementor-control.embedpress-pro-control::before{
 
42
  content: '';
43
  position: absolute;
44
  width: 100%;
@@ -52,6 +53,7 @@
52
  background: transparent;
53
  }
54
 
 
55
  .elementor-control.elementor-control-embedpress_pro_section.elementor-control-type-section.elementor-label-inline.elementor-control-separator-none .elementor-panel-heading-title {
56
  color: #ff5544;
57
  }
37
  position: relative;
38
  opacity: .9;
39
  }
40
+ /*Second long class needed for yt channel link control, otherwise it wont get effected.*/
41
+ .elementor-control.embedpress-pro-control::before,
42
+ .elementor-control.elementor-control-yt_sub_channel.elementor-control-type-text.embedpress-pro-control.elementor-label-block.elementor-control-separator-default.elementor-control-dynamic::before{
43
  content: '';
44
  position: absolute;
45
  width: 100%;
53
  background: transparent;
54
  }
55
 
56
+
57
  .elementor-control.elementor-control-embedpress_pro_section.elementor-control-type-section.elementor-label-inline.elementor-control-separator-none .elementor-panel-heading-title {
58
  color: #ff5544;
59
  }
assets/css/embedpress-elementor.css CHANGED
@@ -298,7 +298,24 @@
298
  height: 100%;
299
  padding: 0 16px 16px 0;
300
  }
301
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
302
  @media only screen and (min-width: 530px) {
303
  .ep-event--attendees .gridList--autoHeight--has4>.gridList-item {
304
  flex: 0 0 33.333333%;
298
  height: 100%;
299
  padding: 0 16px 16px 0;
300
  }
301
+ /*Youtube subscribe button*/
302
+ .embedpress-yt-subscribe {
303
+ display: flex;
304
+ align-items: center;
305
+ align-content: start;
306
+ text-align: center;
307
+ gap: 1rem;
308
+ max-width: 600px;
309
+ width: 100%;
310
+ }
311
+ .embedpress-yt-subscribe .embedpress-yt-subscribe.dark {
312
+ color: #ffffff;
313
+ }
314
+ .embedpress-yt-subscribe .embedpress-yt-sub-text {
315
+ display: inline-block;
316
+ margin: 0;
317
+ padding: 0;
318
+ }
319
  @media only screen and (min-width: 530px) {
320
  .ep-event--attendees .gridList--autoHeight--has4>.gridList-item {
321
  flex: 0 0 33.333333%;
assets/css/embedpress.css CHANGED
@@ -190,7 +190,12 @@
190
  font-weight: 700;
191
  }
192
 
193
- .embedpress-event h1, h2, h3, h4, h5, h6{
 
 
 
 
 
194
  font-size: inherit;
195
  }
196
 
@@ -374,6 +379,25 @@
374
  padding: 0 16px 16px 0;
375
  }
376
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
377
  @media only screen and (min-width: 530px) {
378
  .ep-event--attendees .gridList--autoHeight--has4>.gridList-item {
379
  flex: 0 0 33.333333%;
190
  font-weight: 700;
191
  }
192
 
193
+ .embedpress-event h1,
194
+ .embedpress-event h2,
195
+ .embedpress-event h3,
196
+ .embedpress-event h4,
197
+ .embedpress-event h5,
198
+ .embedpress-event h6{
199
  font-size: inherit;
200
  }
201
 
379
  padding: 0 16px 16px 0;
380
  }
381
 
382
+ /*Youtube subscribe button*/
383
+ .embedpress-yt-subscribe {
384
+ display: flex;
385
+ align-items: center;
386
+ align-content: start;
387
+ text-align: center;
388
+ gap: 1rem;
389
+ max-width: 600px;
390
+ width: 100%;
391
+ }
392
+ .embedpress-yt-subscribe .embedpress-yt-subscribe.dark {
393
+ color: #ffffff;
394
+ }
395
+ .embedpress-yt-subscribe .embedpress-yt-sub-text {
396
+ display: inline-block;
397
+ margin: 0;
398
+ padding: 0;
399
+ }
400
+ /*Media query*/
401
  @media only screen and (min-width: 530px) {
402
  .ep-event--attendees .gridList--autoHeight--has4>.gridList-item {
403
  flex: 0 0 33.333333%;
assets/js/front.js CHANGED
@@ -9,12 +9,15 @@
9
  'use strict';
10
  $( document ).ready(function() {
11
  var selector = $('.embedpress-embed-document-pdf');
 
 
 
12
  if(selector.length){
13
  selector.each(function(index, value) {
14
  var $this = $(this),
15
  id = $this.data('emid'),
16
  src = $this.data('emsrc');
17
- PDFObject.embed(src, "."+id);
18
  });
19
  }
20
  });
9
  'use strict';
10
  $( document ).ready(function() {
11
  var selector = $('.embedpress-embed-document-pdf');
12
+ let option = {
13
+ forceObject: true,
14
+ };
15
  if(selector.length){
16
  selector.each(function(index, value) {
17
  var $this = $(this),
18
  id = $this.data('emid'),
19
  src = $this.data('emsrc');
20
+ PDFObject.embed(src, "."+id, option);
21
  });
22
  }
23
  });
assets/js/pdfobject.min.js CHANGED
@@ -1,9 +1,357 @@
1
  /**
2
- * PDFObject v2.1.1
3
  * https://github.com/pipwerks/PDFObject
4
  * @license
5
- * Copyright (c) 2008-2018 Philip Hutchison
6
  * MIT-style license: http://pipwerks.mit-license.org/
7
  * UMD module pattern from https://github.com/umdjs/umd/blob/master/templates/returnExports.js
8
  */
9
- !function(root,factory){"function"==typeof define&&define.amd?define([],factory):"object"==typeof module&&module.exports?module.exports=factory():root.PDFObject=factory()}(this,function(){"use strict";if("undefined"==typeof window||"undefined"==typeof navigator)return!1;var supportsPDFs,supportsPdfActiveX,createAXO,buildFragmentString,log,embedError,embed,getTargetElement,generatePDFJSiframe,generateEmbedElement,ua=window.navigator.userAgent,supportsPdfMimeType=void 0!==navigator.mimeTypes&&void 0!==navigator.mimeTypes["application/pdf"],isModernBrowser=void 0!==window.Promise,isFirefoxWithPDFJS=-1!==ua.indexOf("irefox")&&18<parseInt(ua.split("rv:")[1].split(".")[0],10),isIOS=/iphone|ipad|ipod/i.test(ua.toLowerCase());return createAXO=function(type){var ax;try{ax=new ActiveXObject(type)}catch(e){ax=null}return ax},supportsPdfActiveX=function(){return!(!createAXO("AcroPDF.PDF")&&!createAXO("PDF.PdfCtrl"))},supportsPDFs=!isIOS&&(isFirefoxWithPDFJS||supportsPdfMimeType||function(){return!!(window.ActiveXObject||"ActiveXObject"in window)}()&&supportsPdfActiveX()),buildFragmentString=function(pdfParams){var prop,string="";if(pdfParams){for(prop in pdfParams)pdfParams.hasOwnProperty(prop)&&(string+=encodeURIComponent(prop)+"="+encodeURIComponent(pdfParams[prop])+"&");string=string&&(string="#"+string).slice(0,string.length-1)}return string},log=function(msg){"undefined"!=typeof console&&console.log&&console.log("[PDFObject] "+msg)},embedError=function(msg){return log(msg),!1},getTargetElement=function(targetSelector){var targetNode=document.body;return"string"==typeof targetSelector?targetNode=document.querySelector(targetSelector):"undefined"!=typeof jQuery&&targetSelector instanceof jQuery&&targetSelector.length?targetNode=targetSelector.get(0):void 0!==targetSelector.nodeType&&1===targetSelector.nodeType&&(targetNode=targetSelector),targetNode},generatePDFJSiframe=function(targetNode,url,pdfOpenFragment,PDFJS_URL,id){var fullURL=PDFJS_URL+"?file="+encodeURIComponent(url)+pdfOpenFragment,iframe="<div style='"+(isIOS?"-webkit-overflow-scrolling: touch; overflow-y: scroll; ":"overflow: hidden; ")+"position: absolute; top: 0; right: 0; bottom: 0; left: 0;'><iframe "+id+" src='"+fullURL+"' style='border: none; width: 100%; height: 100%;' frameborder='0'></iframe></div>";return targetNode.className+=" pdfobject-container",targetNode.style.position="relative",targetNode.style.overflow="auto",targetNode.innerHTML=iframe,targetNode.getElementsByTagName("iframe")[0]},generateEmbedElement=function(targetNode,targetSelector,url,pdfOpenFragment,width,height,id){var style="";return style=targetSelector&&targetSelector!==document.body?"width: "+width+"; height: "+height+";":"position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%;",targetNode.className+=" pdfobject-container",targetNode.innerHTML="<embed "+id+" class='pdfobject' src='"+url+pdfOpenFragment+"' type='application/pdf' style='overflow: auto; "+style+"'/>",targetNode.getElementsByTagName("embed")[0]},embed=function(url,targetSelector,options){if("string"!=typeof url)return embedError("URL is not valid");targetSelector=void 0!==targetSelector&&targetSelector;var pdfOpenFragment,id=(options=void 0!==options?options:{}).id&&"string"==typeof options.id?"id='"+options.id+"'":"",page=!!options.page&&options.page,pdfOpenParams=options.pdfOpenParams?options.pdfOpenParams:{},fallbackLink=void 0===options.fallbackLink||options.fallbackLink,width=options.width?options.width:"100%",height=options.height?options.height:"100%",assumptionMode="boolean"!=typeof options.assumptionMode||options.assumptionMode,forcePDFJS="boolean"==typeof options.forcePDFJS&&options.forcePDFJS,PDFJS_URL=!!options.PDFJS_URL&&options.PDFJS_URL,targetNode=getTargetElement(targetSelector),fallbackHTML="";return targetNode?(page&&(pdfOpenParams.page=page),pdfOpenFragment=buildFragmentString(pdfOpenParams),forcePDFJS&&PDFJS_URL?generatePDFJSiframe(targetNode,url,pdfOpenFragment,PDFJS_URL,id):supportsPDFs||assumptionMode&&isModernBrowser&&!isIOS?generateEmbedElement(targetNode,targetSelector,url,pdfOpenFragment,width,height,id):PDFJS_URL?generatePDFJSiframe(targetNode,url,pdfOpenFragment,PDFJS_URL,id):(fallbackLink&&(fallbackHTML="string"==typeof fallbackLink?fallbackLink:"<p>This browser does not support inline PDFs. Please download the PDF to view it: <a href='[url]'>Download PDF</a></p>",targetNode.innerHTML=fallbackHTML.replace(/\[url\]/g,url)),embedError("This browser does not support embedded PDFs"))):embedError("Target element cannot be determined")},{embed:function(a,b,c){return embed(a,b,c)},pdfobjectversion:"2.1.1",supportsPDFs:supportsPDFs}});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  /**
2
+ * PDFObject v2.2.6
3
  * https://github.com/pipwerks/PDFObject
4
  * @license
5
+ * Copyright (c) 2008-2021 Philip Hutchison
6
  * MIT-style license: http://pipwerks.mit-license.org/
7
  * UMD module pattern from https://github.com/umdjs/umd/blob/master/templates/returnExports.js
8
  */
9
+
10
+ (function (root, factory) {
11
+ if (typeof define === "function" && define.amd) {
12
+ // AMD. Register as an anonymous module.
13
+ define([], factory);
14
+ } else if (typeof module === "object" && module.exports) {
15
+ // Node. Does not work with strict CommonJS, but
16
+ // only CommonJS-like environments that support module.exports,
17
+ // like Node.
18
+ module.exports = factory();
19
+ } else {
20
+ // Browser globals (root is window)
21
+ root.PDFObject = factory();
22
+ }
23
+ }(this, function () {
24
+
25
+ "use strict";
26
+
27
+ //PDFObject is designed for client-side (browsers), not server-side (node)
28
+ //Will choke on undefined navigator and window vars when run on server
29
+ //Return boolean false and exit function when running server-side
30
+
31
+ if( typeof window === "undefined" ||
32
+ window.navigator === undefined ||
33
+ window.navigator.userAgent === undefined ||
34
+ window.navigator.mimeTypes === undefined){
35
+ return false;
36
+ }
37
+
38
+ let pdfobjectversion = "2.2.6";
39
+ let nav = window.navigator;
40
+ let ua = window.navigator.userAgent;
41
+
42
+ //Time to jump through hoops -- browser vendors do not make it easy to detect PDF support.
43
+
44
+ /*
45
+ IE11 still uses ActiveX for Adobe Reader, but IE 11 doesn't expose window.ActiveXObject the same way
46
+ previous versions of IE did. window.ActiveXObject will evaluate to false in IE 11, but "ActiveXObject"
47
+ in window evaluates to true.
48
+
49
+ MS Edge does not support ActiveX so this test will evaluate false
50
+ */
51
+ let isIE = ("ActiveXObject" in window);
52
+
53
+ /*
54
+ There is a coincidental correlation between implementation of window.promises and native PDF support in desktop browsers
55
+ We use this to assume if the browser supports promises it supports embedded PDFs
56
+ Is this fragile? Sort of. But browser vendors removed mimetype detection, so we're left to improvise
57
+ */
58
+ let isModernBrowser = (window.Promise !== undefined);
59
+
60
+ //Older browsers still expose the mimeType
61
+ let supportsPdfMimeType = (nav.mimeTypes["application/pdf"] !== undefined);
62
+
63
+ //Safari on iPadOS doesn't report as 'mobile' when requesting desktop site, yet still fails to embed PDFs
64
+ let isSafariIOSDesktopMode = ( nav.platform !== undefined &&
65
+ nav.platform === "MacIntel" &&
66
+ nav.maxTouchPoints !== undefined &&
67
+ nav.maxTouchPoints > 1 );
68
+
69
+ //Quick test for mobile devices.
70
+ let isMobileDevice = (isSafariIOSDesktopMode || /Mobi|Tablet|Android|iPad|iPhone/.test(ua));
71
+
72
+ //Safari desktop requires special handling
73
+ let isSafariDesktop = ( !isMobileDevice &&
74
+ nav.vendor !== undefined &&
75
+ /Apple/.test(nav.vendor) &&
76
+ /Safari/.test(ua) );
77
+
78
+ //Firefox started shipping PDF.js in Firefox 19. If this is Firefox 19 or greater, assume PDF.js is available
79
+ let isFirefoxWithPDFJS = (!isMobileDevice && /irefox/.test(ua) && ua.split("rv:").length > 1) ? (parseInt(ua.split("rv:")[1].split(".")[0], 10) > 18) : false;
80
+
81
+
82
+ /* ----------------------------------------------------
83
+ Supporting functions
84
+ ---------------------------------------------------- */
85
+
86
+ let createAXO = function (type){
87
+ var ax;
88
+ try {
89
+ ax = new ActiveXObject(type);
90
+ } catch (e) {
91
+ ax = null; //ensure ax remains null
92
+ }
93
+ return ax;
94
+ };
95
+
96
+ //If either ActiveX support for "AcroPDF.PDF" or "PDF.PdfCtrl" are found, return true
97
+ //Constructed as a method (not a prop) to avoid unneccesarry overhead -- will only be evaluated if needed
98
+ let supportsPdfActiveX = function (){ return !!(createAXO("AcroPDF.PDF") || createAXO("PDF.PdfCtrl")); };
99
+
100
+ //Determines whether PDF support is available
101
+ let supportsPDFs = (
102
+ //As of Sept 2020 no mobile browsers properly support PDF embeds
103
+ !isMobileDevice && (
104
+ //We're moving into the age of MIME-less browsers. They mostly all support PDF rendering without plugins.
105
+ isModernBrowser ||
106
+ //Modern versions of Firefox come bundled with PDFJS
107
+ isFirefoxWithPDFJS ||
108
+ //Browsers that still support the original MIME type check
109
+ supportsPdfMimeType ||
110
+ //Pity the poor souls still using IE
111
+ (isIE && supportsPdfActiveX())
112
+ )
113
+ );
114
+
115
+ //Create a fragment identifier for using PDF Open parameters when embedding PDF
116
+ let buildURLFragmentString = function(pdfParams){
117
+
118
+ let string = "";
119
+ let prop;
120
+
121
+ if(pdfParams){
122
+
123
+ for (prop in pdfParams) {
124
+ if (pdfParams.hasOwnProperty(prop)) {
125
+ string += encodeURIComponent(prop) + "=" + encodeURIComponent(pdfParams[prop]) + "&";
126
+ }
127
+ }
128
+
129
+ //The string will be empty if no PDF Params found
130
+ if(string){
131
+
132
+ string = "#" + string;
133
+
134
+ //Remove last ampersand
135
+ string = string.slice(0, string.length - 1);
136
+
137
+ }
138
+
139
+ }
140
+
141
+ return string;
142
+
143
+ };
144
+
145
+ let embedError = function (msg, suppressConsole){
146
+ if(!suppressConsole){
147
+ console.log("[PDFObject] " + msg);
148
+ }
149
+ return false;
150
+ };
151
+
152
+ let emptyNodeContents = function (node){
153
+ while(node.firstChild){
154
+ node.removeChild(node.firstChild);
155
+ }
156
+ };
157
+
158
+ let getTargetElement = function (targetSelector){
159
+
160
+ //Default to body for full-browser PDF
161
+ let targetNode = document.body;
162
+
163
+ //If a targetSelector is specified, check to see whether
164
+ //it's passing a selector, jQuery object, or an HTML element
165
+
166
+ if(typeof targetSelector === "string"){
167
+
168
+ //Is CSS selector
169
+ targetNode = document.querySelector(targetSelector);
170
+
171
+ } else if (window.jQuery !== undefined && targetSelector instanceof jQuery && targetSelector.length) {
172
+
173
+ //Is jQuery element. Extract HTML node
174
+ targetNode = targetSelector.get(0);
175
+
176
+ } else if (targetSelector.nodeType !== undefined && targetSelector.nodeType === 1){
177
+
178
+ //Is HTML element
179
+ targetNode = targetSelector;
180
+
181
+ }
182
+
183
+ return targetNode;
184
+
185
+ };
186
+
187
+ let generatePDFJSMarkup = function (targetNode, url, pdfOpenFragment, PDFJS_URL, id, omitInlineStyles){
188
+
189
+ //Ensure target element is empty first
190
+ emptyNodeContents(targetNode);
191
+
192
+ let fullURL = PDFJS_URL + "?file=" + encodeURIComponent(url) + pdfOpenFragment;
193
+ let div = document.createElement("div");
194
+ let iframe = document.createElement("iframe");
195
+
196
+ iframe.src = fullURL;
197
+ iframe.className = "pdfobject";
198
+ iframe.type = "application/pdf";
199
+ iframe.frameborder = "0";
200
+ iframe.allow = "fullscreen";
201
+
202
+ if(id){
203
+ iframe.id = id;
204
+ }
205
+
206
+ if(!omitInlineStyles){
207
+ div.style.cssText = "position: absolute; top: 0; right: 0; bottom: 0; left: 0;";
208
+ iframe.style.cssText = "border: none; width: 100%; height: 100%;";
209
+ targetNode.style.position = "relative";
210
+ targetNode.style.overflow = "auto";
211
+ }
212
+
213
+ div.appendChild(iframe);
214
+ targetNode.appendChild(div);
215
+ targetNode.classList.add("pdfobject-container");
216
+
217
+ return targetNode.getElementsByTagName("iframe")[0];
218
+
219
+ };
220
+
221
+ let generatePDFObjectMarkup = function (embedType, targetNode, targetSelector, url, pdfOpenFragment, width, height, id, title, omitInlineStyles){
222
+
223
+ //Ensure target element is empty first
224
+ emptyNodeContents(targetNode);
225
+
226
+ let embed = document.createElement(embedType);
227
+ if ('object' === embedType ) {
228
+ embed.data = url + pdfOpenFragment;
229
+ }else{
230
+ embed.src = url + pdfOpenFragment;
231
+ }
232
+ embed.className = "pdfobject";
233
+ embed.type = "application/pdf";
234
+ embed.title = title;
235
+
236
+ if(id){
237
+ embed.id = id;
238
+ }
239
+
240
+ if(embedType === "iframe"){
241
+ embed.allow = "fullscreen";
242
+ }
243
+
244
+ if(!omitInlineStyles){
245
+
246
+ let style = (embedType === "embed") ? "overflow: auto;" : "border: none;";
247
+
248
+ if(targetSelector && targetSelector !== document.body){
249
+ style += "width: " + width + "; height: " + height + ";";
250
+ } else {
251
+ style += "position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%;";
252
+ }
253
+
254
+ embed.style.cssText = style;
255
+
256
+ }
257
+
258
+ targetNode.classList.add("pdfobject-container");
259
+ targetNode.appendChild(embed);
260
+
261
+ return targetNode.getElementsByTagName(embedType)[0];
262
+
263
+ };
264
+
265
+ let embed = function(url, targetSelector, options){
266
+
267
+ //If targetSelector is not defined, convert to boolean
268
+ let selector = targetSelector || false;
269
+
270
+ //Ensure options object is not undefined -- enables easier error checking below
271
+ let opt = options || {};
272
+
273
+ //Get passed options, or set reasonable defaults
274
+ let id = (typeof opt.id === "string") ? opt.id : "";
275
+ let page = opt.page || false;
276
+ let pdfOpenParams = opt.pdfOpenParams || {};
277
+ let fallbackLink = opt.fallbackLink || true;
278
+ let width = opt.width || "100%";
279
+ let height = opt.height || "100%";
280
+ let title = opt.title || "Embedded PDF";
281
+ let assumptionMode = (typeof opt.assumptionMode === "boolean") ? opt.assumptionMode : true;
282
+ let forcePDFJS = (typeof opt.forcePDFJS === "boolean") ? opt.forcePDFJS : false;
283
+ let supportRedirect = (typeof opt.supportRedirect === "boolean") ? opt.supportRedirect : false;
284
+ let omitInlineStyles = (typeof opt.omitInlineStyles === "boolean") ? opt.omitInlineStyles : false;
285
+ let suppressConsole = (typeof opt.suppressConsole === "boolean") ? opt.suppressConsole : false;
286
+ let forceIframe = (typeof opt.forceIframe === "boolean") ? opt.forceIframe : false;
287
+ let forceObject = (typeof opt.forceObject === "boolean") ? opt.forceObject : false;
288
+ let PDFJS_URL = opt.PDFJS_URL || false;
289
+ let targetNode = getTargetElement(selector);
290
+ let fallbackHTML = "";
291
+ let pdfOpenFragment = "";
292
+ let fallbackHTML_default = "<p>This browser does not support inline PDFs. Please download the PDF to view it: <a href='[url]'>Download PDF</a></p>";
293
+
294
+ //Ensure URL is available. If not, exit now.
295
+ if(typeof url !== "string"){ return embedError("URL is not valid", suppressConsole); }
296
+
297
+ //If target element is specified but is not valid, exit without doing anything
298
+ if(!targetNode){ return embedError("Target element cannot be determined", suppressConsole); }
299
+
300
+ //page option overrides pdfOpenParams, if found
301
+ if(page){ pdfOpenParams.page = page; }
302
+
303
+ //Stringify optional Adobe params for opening document (as fragment identifier)
304
+ pdfOpenFragment = buildURLFragmentString(pdfOpenParams);
305
+
306
+
307
+ // --== Do the dance: Embed attempt #1 ==--
308
+
309
+ //If the forcePDFJS option is invoked, skip everything else and embed as directed
310
+ if(forcePDFJS && PDFJS_URL){
311
+ return generatePDFJSMarkup(targetNode, url, pdfOpenFragment, PDFJS_URL, id, omitInlineStyles);
312
+ }
313
+
314
+ // --== Embed attempt #2 ==--
315
+
316
+ //Embed PDF if traditional support is provided, or if this developer is willing to roll with assumption
317
+ //that modern desktop (not mobile) browsers natively support PDFs
318
+ if(supportsPDFs || (assumptionMode && !isMobileDevice)){
319
+
320
+ //Should we use <embed> or <iframe>? In most cases <embed>.
321
+ //Allow developer to force <iframe>, if desired
322
+ //There is an edge case where Safari does not respect 302 redirect requests for PDF files when using <embed> element.
323
+ //Redirect appears to work fine when using <iframe> instead of <embed> (Addresses issue #210)
324
+ //Forcing Safari desktop to use iframe due to freezing bug in macOS 11 (Big Sur)
325
+ let embedtype = (forceIframe || supportRedirect || isSafariDesktop) ? "iframe" : (forceObject ? "object" : "embed");
326
+ return generatePDFObjectMarkup(embedtype, targetNode, targetSelector, url, pdfOpenFragment, width, height, id, title, omitInlineStyles);
327
+
328
+ }
329
+
330
+ // --== Embed attempt #3 ==--
331
+
332
+ //If everything else has failed and a PDFJS fallback is provided, try to use it
333
+ if(PDFJS_URL){
334
+ return generatePDFJSMarkup(targetNode, url, pdfOpenFragment, PDFJS_URL, id, omitInlineStyles);
335
+ }
336
+
337
+ // --== PDF embed not supported! Use fallback ==--
338
+
339
+ //Display the fallback link if available
340
+ if(fallbackLink){
341
+
342
+ fallbackHTML = (typeof fallbackLink === "string") ? fallbackLink : fallbackHTML_default;
343
+ targetNode.innerHTML = fallbackHTML.replace(/\[url\]/g, url);
344
+
345
+ }
346
+
347
+ return embedError("This browser does not support embedded PDFs", suppressConsole);
348
+
349
+ };
350
+
351
+ return {
352
+ embed: function (a,b,c){ return embed(a,b,c); },
353
+ pdfobjectversion: (function () { return pdfobjectversion; })(),
354
+ supportsPDFs: (function (){ return supportsPDFs; })()
355
+ };
356
+
357
+ }));
embedpress.php CHANGED
@@ -2,10 +2,10 @@
2
  /**
3
  * Plugin Name: EmbedPress
4
  * Plugin URI: https://embedpress.com/
5
- * Description: EmbedPress lets you embed videos, images, posts, audio, maps and uplaoad PDF, DOC, PPT & all other types of content into your WordPress site with one-click and showcase it beautifully for the visitors. 100+ sources supported.
6
  * Author: WPDeveloper
7
  * Author URI: https://wpdeveloper.net
8
- * Version: 3.1.0
9
  * Text Domain: embedpress
10
  * Domain Path: /languages
11
  *
2
  /**
3
  * Plugin Name: EmbedPress
4
  * Plugin URI: https://embedpress.com/
5
+ * Description: EmbedPress lets you embed videos, images, posts, audio, maps and upload PDF, DOC, PPT & all other types of content into your WordPress site with one-click and showcase it beautifully for the visitors. 100+ sources supported.
6
  * Author: WPDeveloper
7
  * Author URI: https://wpdeveloper.net
8
+ * Version: 3.1.1
9
  * Text Domain: embedpress
10
  * Domain Path: /languages
11
  *
includes.php CHANGED
@@ -22,7 +22,7 @@ if ( ! defined('EMBEDPRESS_PLG_NAME')) {
22
  }
23
 
24
  if ( ! defined('EMBEDPRESS_VERSION')) {
25
- define('EMBEDPRESS_VERSION', "3.1.0");
26
  /**
27
  * @deprecated 2.2.0
28
  */
22
  }
23
 
24
  if ( ! defined('EMBEDPRESS_VERSION')) {
25
+ define('EMBEDPRESS_VERSION', "3.1.1");
26
  /**
27
  * @deprecated 2.2.0
28
  */
languages/embedpress.pot CHANGED
@@ -1,122 +1,1512 @@
1
- #, fuzzy
 
2
  msgid ""
3
  msgstr ""
4
- "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
- "Project-Id-Version: EmbedPress\n"
6
- "POT-Creation-Date: 2018-02-07 17:45-0200\n"
7
- "PO-Revision-Date: 2016-04-22 07:37+0800\n"
8
- "Last-Translator: \n"
9
- "Language-Team: \n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
- "X-Generator: Poedit 2.0.6\n"
14
- "X-Poedit-Basepath: ..\n"
15
- "X-Poedit-WPHeader: embedpress.php\n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
17
- "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
18
- "X-Poedit-SearchPath-0: .\n"
19
- "X-Poedit-SearchPathExcluded-0: *.js\n"
20
-
21
- #: EmbedPress/Core.php:322 EmbedPress/Plugins/Plugin.php:291
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  msgid "Open settings page"
23
  msgstr ""
24
 
25
- #: EmbedPress/Core.php:322 EmbedPress/Plugins/Plugin.php:291
 
 
 
 
26
  msgid "Settings"
27
  msgstr ""
28
 
29
- #: EmbedPress/Ends/Back/Settings.php:224
30
- msgid "The YouTube Add-on for EmbedPress"
 
 
31
  msgstr ""
32
 
33
- #: EmbedPress/Ends/Back/Settings.php:225
34
- msgid "Get more features for your YouTube embeds in WordPress."
35
  msgstr ""
36
 
37
- #: EmbedPress/Ends/Back/Settings.php:231
38
- msgid "The Vimeo Add-on for EmbedPress"
 
39
  msgstr ""
40
 
41
- #: EmbedPress/Ends/Back/Settings.php:232
42
- msgid "Get more features for your Vimeo embeds in WordPress."
43
  msgstr ""
44
 
45
- #: EmbedPress/Ends/Back/Settings.php:238
46
- msgid "The Wistia Add-on for EmbedPress"
47
  msgstr ""
48
 
49
- #: EmbedPress/Ends/Back/Settings.php:239
50
- msgid "Get more features for your Wistia embeds in WordPress."
 
51
  msgstr ""
52
 
53
- #: EmbedPress/Ends/Back/Settings.php:250 EmbedPress/Ends/Back/Settings.php:270
54
- msgid "Active"
55
  msgstr ""
56
 
57
- #: EmbedPress/Ends/Back/Settings.php:251 EmbedPress/Ends/Back/Settings.php:274
58
- msgid "Installed"
59
  msgstr ""
60
 
61
- #: EmbedPress/Ends/Back/Settings.php:252 EmbedPress/Ends/Back/Settings.php:279
62
- msgid "Get Pro Add-ons!"
63
  msgstr ""
64
 
65
- #: EmbedPress/Ends/Back/Settings.php:253 EmbedPress/Ends/Back/Settings.php:283
66
- msgid "Coming soon"
 
 
67
  msgstr ""
68
 
69
- #: EmbedPress/Plugins/Html/Field.php:182
70
- msgid "Activate License"
 
 
71
  msgstr ""
72
 
73
- #: EmbedPress/Plugins/Html/Field.php:183
74
- msgid "Click here to read more about licenses."
75
  msgstr ""
76
 
77
- #: EmbedPress/Plugins/Html/Field.php:183
78
- msgid "More information"
79
  msgstr ""
80
 
81
- #: EmbedPress/Plugins/Plugin.php:62
82
- msgid "Please, <strong>install</strong> and <strong>activate <a href=\"https://wordpress.org/plugins/"
83
  msgstr ""
84
 
85
- #: EmbedPress/Plugins/Plugin.php:334
86
- msgid "An error occurred. Please, try again."
87
  msgstr ""
88
 
89
- #: EmbedPress/Updater.php:178
90
- #, php-format
91
- msgid "There is a new version of %1$s available. %2$sView version %3$s details%4$s."
92
  msgstr ""
93
 
94
- #: EmbedPress/Updater.php:186
95
- #, php-format
96
- msgid "There is a new version of %1$s available. %2$sView version %3$s details%4$s or %5$supdate now%6$s."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  msgstr ""
98
 
99
- #: EmbedPress/Updater.php:339
100
- msgid "You do not have permission to install plugin updates"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
  msgstr ""
102
 
103
- #: EmbedPress/Updater.php:339
104
- msgid "Error"
105
  msgstr ""
106
 
107
- #. Plugin Name of the plugin/theme
108
- #. Author of the plugin/theme
109
- msgid "EmbedPress"
110
  msgstr ""
111
 
112
- #. Plugin URI of the plugin/theme
113
- msgid "https://embedpress.com/"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
  msgstr ""
115
 
116
- #. Description of the plugin/theme
117
- msgid "WordPress supports around 35 embed sources, but PublishPress Embeds adds over 40 more, including Facebook, Google Maps, Google Docs, UStream! Just use the URL!"
118
  msgstr ""
119
 
120
- #. Author URI of the plugin/theme
121
- msgid "http://embedpress.com"
122
  msgstr ""
1
+ # Copyright (C) 2021 WPDeveloper
2
+ # This file is distributed under the same license as the EmbedPress plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: EmbedPress 3.1.0\n"
6
+ "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/embedpress\n"
7
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
+ "Language-Team: LANGUAGE <LL@li.org>\n"
 
 
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2021-08-04T11:42:29+00:00\n"
13
+ "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
+ "X-Generator: WP-CLI 2.5.0\n"
15
+ "X-Domain: embedpress\n"
16
+
17
+ #. Plugin Name of the plugin
18
+ #: EmbedPress/Elementor/Embedpress_Elementor_Integration.php:38
19
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:23
20
+ msgid "EmbedPress"
21
+ msgstr ""
22
+
23
+ #. Plugin URI of the plugin
24
+ msgid "https://embedpress.com/"
25
+ msgstr ""
26
+
27
+ #. Description of the plugin
28
+ msgid "EmbedPress lets you embed videos, images, posts, audio, maps and upload PDF, DOC, PPT & all other types of content into your WordPress site with one-click and showcase it beautifully for the visitors. 100+ sources supported."
29
+ msgstr ""
30
+
31
+ #. Author of the plugin
32
+ msgid "WPDeveloper"
33
+ msgstr ""
34
+
35
+ #. Author URI of the plugin
36
+ msgid "https://wpdeveloper.net"
37
+ msgstr ""
38
+
39
+ #: EmbedPress/Core.php:507
40
+ #: EmbedPress/CoreLegacy.php:308
41
+ #: EmbedPress/Plugins/Plugin.php:158
42
  msgid "Open settings page"
43
  msgstr ""
44
 
45
+ #: EmbedPress/Core.php:508
46
+ #: EmbedPress/CoreLegacy.php:309
47
+ #: EmbedPress/Ends/Back/Settings/templates/custom-logo.php:123
48
+ #: EmbedPress/Ends/Back/Settings/templates/partials/sidebar.php:18
49
+ #: EmbedPress/Plugins/Plugin.php:159
50
  msgid "Settings"
51
  msgstr ""
52
 
53
+ #: EmbedPress/Core.php:512
54
+ #: EmbedPress/CoreLegacy.php:313
55
+ #: EmbedPress/Plugins/Plugin.php:163
56
+ msgid "Go Pro"
57
  msgstr ""
58
 
59
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:23
60
+ msgid "EmbedPress Document"
61
  msgstr ""
62
 
63
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:65
64
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:83
65
+ msgid "Content Settings"
66
  msgstr ""
67
 
68
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:72
69
+ msgid "Document Type"
70
  msgstr ""
71
 
72
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:76
73
+ msgid "File"
74
  msgstr ""
75
 
76
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:77
77
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:114
78
+ msgid "URL"
79
  msgstr ""
80
 
81
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:86
82
+ msgid "Upload File"
83
  msgstr ""
84
 
85
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:103
86
+ msgid "Upload a file or pick one from your media library for embed. Supported File Type: PDF, DOC/DOCX, PPT/PPTX, XLS/XLSX etc."
87
  msgstr ""
88
 
89
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:116
90
+ msgid "https://your-link.com/file.pdf"
91
  msgstr ""
92
 
93
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:130
94
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1385
95
+ #: Gutenberg/src/document/edit.js:196
96
+ msgid "Width"
97
  msgstr ""
98
 
99
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:153
100
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1404
101
+ #: Gutenberg/src/document/edit.js:208
102
+ msgid "Height"
103
  msgstr ""
104
 
105
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:175
106
+ msgid "Alignment"
107
  msgstr ""
108
 
109
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:179
110
+ msgid "Left"
111
  msgstr ""
112
 
113
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:183
114
+ msgid "Center"
115
  msgstr ""
116
 
117
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:187
118
+ msgid "Right"
119
  msgstr ""
120
 
121
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:198
122
+ msgid "Powered By"
 
123
  msgstr ""
124
 
125
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:200
126
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:436
127
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:452
128
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:468
129
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:485
130
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:501
131
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:517
132
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:800
133
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:812
134
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:845
135
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:874
136
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:892
137
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:908
138
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:926
139
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:943
140
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:960
141
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:976
142
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:992
143
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:78
144
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:96
145
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:113
146
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:128
147
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:144
148
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:163
149
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:182
150
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:117
151
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:147
152
+ msgid "Show"
153
  msgstr ""
154
 
155
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:201
156
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:435
157
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:451
158
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:467
159
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:484
160
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:500
161
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:516
162
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:799
163
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:811
164
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:844
165
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:873
166
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:891
167
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:907
168
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:925
169
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:942
170
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:959
171
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:975
172
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:991
173
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:74
174
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:92
175
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:109
176
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:124
177
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:140
178
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:159
179
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:178
180
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:118
181
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:146
182
+ msgid "Hide"
183
  msgstr ""
184
 
185
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:252
186
+ msgid "Powered By EmbedPress"
187
  msgstr ""
188
 
189
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:76
190
+ msgid "<sup class=\"embedpress-pro-label\" style=\"color:red\">Pro</sup>"
 
191
  msgstr ""
192
 
193
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:91
194
+ msgid "Source Name"
195
+ msgstr ""
196
+
197
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:96
198
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:382
199
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:400
200
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:186
201
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:202
202
+ msgid "Default"
203
+ msgstr ""
204
+
205
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:97
206
+ #: EmbedPress/Ends/Back/Settings/templates/partials/sidebar.php:42
207
+ msgid "YouTube"
208
+ msgstr ""
209
+
210
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:98
211
+ #: EmbedPress/Ends/Back/Settings/templates/partials/sidebar.php:48
212
+ msgid "Vimeo"
213
+ msgstr ""
214
+
215
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:99
216
+ #: EmbedPress/Ends/Back/Settings/templates/partials/sidebar.php:66
217
+ msgid "Dailymotion"
218
+ msgstr ""
219
+
220
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:100
221
+ #: EmbedPress/Ends/Back/Settings/templates/partials/sidebar.php:54
222
+ msgid "Wistia"
223
+ msgstr ""
224
+
225
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:101
226
+ #: EmbedPress/Ends/Back/Settings/templates/partials/sidebar.php:60
227
+ msgid "Twitch"
228
+ msgstr ""
229
+
230
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:102
231
+ #: EmbedPress/Ends/Back/Settings/templates/partials/sidebar.php:72
232
+ msgid "SoundCloud"
233
+ msgstr ""
234
+
235
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:110
236
+ msgid "Embedded Link"
237
+ msgstr ""
238
+
239
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:115
240
+ msgid "Enter your Link"
241
+ msgstr ""
242
+
243
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:123
244
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1147
245
+ msgid "Player Background"
246
+ msgstr ""
247
+
248
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:124
249
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1148
250
+ #: EmbedPress/Ends/Back/Settings/templates/spotify.php:31
251
+ msgid "Dynamic option will use the most vibrant color from the album art."
252
+ msgstr ""
253
+
254
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:129
255
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1153
256
+ msgid "Dynamic"
257
+ msgstr ""
258
+
259
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:130
260
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1154
261
+ msgid "Black & White"
262
+ msgstr ""
263
+
264
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:141
265
+ msgid "Start Time %s"
266
+ msgstr ""
267
+
268
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:144
269
+ msgid "Specify a start time (in seconds)"
270
+ msgstr ""
271
+
272
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:165
273
+ msgid "Go Premium for More Features"
274
+ msgstr ""
275
+
276
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:172
277
+ msgid "Unlock more possibilities"
278
+ msgstr ""
279
+
280
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:197
281
+ msgid "End Time"
282
+ msgstr ""
283
+
284
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:199
285
+ msgid "Specify an end time (in seconds)"
286
+ msgstr ""
287
+
288
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:206
289
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:446
290
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:543
291
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:868
292
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1004
293
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:37
294
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:51
295
+ #: EmbedPress/Ends/Back/Settings/templates/twitch.php:33
296
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:24
297
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:109
298
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:33
299
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:679
300
+ msgid "Auto Play"
301
+ msgstr ""
302
+
303
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:217
304
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:588
305
+ msgid "Player Options"
306
+ msgstr ""
307
+
308
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:225
309
+ msgid "Controls"
310
+ msgstr ""
311
+
312
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:230
313
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:87
314
+ msgid "Display immediately"
315
+ msgstr ""
316
+
317
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:231
318
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:88
319
+ msgid "Display after user initiation"
320
+ msgstr ""
321
+
322
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:232
323
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:89
324
+ msgid "Hide controls"
325
+ msgstr ""
326
+
327
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:240
328
+ msgid "Fullscreen button"
329
+ msgstr ""
330
+
331
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:254
332
+ msgid "Video Annotations"
333
+ msgstr ""
334
+
335
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:259
336
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:302
337
+ msgid "Display"
338
+ msgstr ""
339
+
340
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:260
341
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:303
342
+ msgid "Do Not Display"
343
+ msgstr ""
344
+
345
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:269
346
+ msgid "Progress Bar Color %s"
347
+ msgstr ""
348
+
349
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:275
350
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:54
351
+ msgid "Red"
352
+ msgstr ""
353
+
354
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:276
355
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:55
356
+ msgid "White"
357
+ msgstr ""
358
+
359
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:284
360
+ msgid "Closed Captions %s"
361
+ msgstr ""
362
+
363
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:297
364
+ msgid "Modest Branding %s"
365
+ msgstr ""
366
+
367
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:316
368
+ msgid "Related Videos %s"
369
+ msgstr ""
370
+
371
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:335
372
+ msgid "YouTube Subscriber Option"
373
+ msgstr ""
374
+
375
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:346
376
+ msgid "Channel Link or ID %s"
377
+ msgstr ""
378
+
379
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:351
380
+ msgid "Enter Channel Link or ID"
381
+ msgstr ""
382
+
383
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:361
384
+ msgid "Subscription Text %s"
385
+ msgstr ""
386
+
387
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:366
388
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:172
389
+ msgid "Eg. Don't miss out! Subscribe"
390
+ msgstr ""
391
+
392
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:377
393
+ msgid "Layout %s"
394
+ msgstr ""
395
+
396
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:383
397
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:187
398
+ msgid "Full"
399
+ msgstr ""
400
+
401
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:395
402
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:820
403
+ msgid "Theme %s"
404
+ msgstr ""
405
+
406
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:401
407
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:824
408
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1169
409
+ #: EmbedPress/Ends/Back/Settings/templates/twitch.php:71
410
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:203
411
+ msgid "Dark"
412
+ msgstr ""
413
+
414
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:413
415
+ msgid "Subscriber Count %s"
416
+ msgstr ""
417
+
418
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:430
419
+ msgid "Logo %s"
420
+ msgstr ""
421
+
422
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:462
423
+ msgid "Play On Mobile"
424
+ msgstr ""
425
+
426
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:479
427
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:71
428
+ msgid "Mute"
429
+ msgstr ""
430
+
431
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:495
432
+ msgid "Player Controls"
433
+ msgstr ""
434
+
435
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:511
436
+ msgid "Video Info"
437
+ msgstr ""
438
+
439
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:529
440
+ msgid "Control Color"
441
+ msgstr ""
442
+
443
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:557
444
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:855
445
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1019
446
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:44
447
+ msgid "Scheme"
448
+ msgstr ""
449
+
450
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:572
451
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:167
452
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:713
453
+ msgid "Captions Enabled By Default"
454
+ msgstr ""
455
+
456
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:602
457
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:31
458
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:654
459
+ msgid "Fullscreen Button"
460
+ msgstr ""
461
+
462
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:616
463
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:64
464
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:666
465
+ msgid "Small Play Button"
466
+ msgstr ""
467
+
468
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:633
469
+ msgid "Resumable"
470
+ msgstr ""
471
+
472
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:648
473
+ msgid "Focus"
474
+ msgstr ""
475
+
476
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:663
477
+ msgid "Captions %s"
478
+ msgstr ""
479
+
480
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:677
481
+ msgid "Playbar %s"
482
+ msgstr ""
483
+
484
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:692
485
+ msgid "Volume Control %s"
486
+ msgstr ""
487
+
488
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:708
489
+ msgid "Volume %s"
490
+ msgstr ""
491
+
492
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:730
493
+ msgid "Rewind %s"
494
+ msgstr ""
495
+
496
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:745
497
+ msgid "Rewind time"
498
+ msgstr ""
499
+
500
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:773
501
+ msgid "Autoplay"
502
+ msgstr ""
503
+
504
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:775
505
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:786
506
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:42
507
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:59
508
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:76
509
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:95
510
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:113
511
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:131
512
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:34
513
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:56
514
+ #: EmbedPress/Ends/Back/Settings/templates/twitch.php:38
515
+ #: EmbedPress/Ends/Back/Settings/templates/twitch.php:54
516
+ #: EmbedPress/Ends/Back/Settings/templates/twitch.php:85
517
+ #: EmbedPress/Ends/Back/Settings/templates/twitch.php:101
518
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:29
519
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:45
520
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:62
521
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:79
522
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:104
523
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:120
524
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:137
525
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:36
526
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:52
527
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:69
528
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:85
529
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:114
530
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:139
531
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:155
532
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:172
533
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:189
534
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:205
535
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:38
536
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:69
537
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:101
538
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:218
539
+ msgid "No"
540
+ msgstr ""
541
+
542
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:776
543
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:787
544
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:46
545
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:63
546
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:80
547
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:99
548
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:117
549
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:135
550
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:38
551
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:60
552
+ #: EmbedPress/Ends/Back/Settings/templates/twitch.php:42
553
+ #: EmbedPress/Ends/Back/Settings/templates/twitch.php:58
554
+ #: EmbedPress/Ends/Back/Settings/templates/twitch.php:89
555
+ #: EmbedPress/Ends/Back/Settings/templates/twitch.php:105
556
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:33
557
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:49
558
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:66
559
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:83
560
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:108
561
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:124
562
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:141
563
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:40
564
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:56
565
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:73
566
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:89
567
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:118
568
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:143
569
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:159
570
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:176
571
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:193
572
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:209
573
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:42
574
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:73
575
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:105
576
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:222
577
+ msgid "Yes"
578
+ msgstr ""
579
+
580
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:784
581
+ msgid "Allow Full Screen Video"
582
+ msgstr ""
583
+
584
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:797
585
+ msgid "Show Chat %s"
586
+ msgstr ""
587
+
588
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:809
589
+ msgid "Mute on start %s"
590
+ msgstr ""
591
+
592
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:825
593
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1168
594
+ #: EmbedPress/Ends/Back/Settings/templates/twitch.php:72
595
+ msgid "Light"
596
+ msgstr ""
597
+
598
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:839
599
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:29
600
+ msgid "Visual Player"
601
+ msgstr ""
602
+
603
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:886
604
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:104
605
+ msgid "Share Button"
606
+ msgstr ""
607
+
608
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:902
609
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:119
610
+ msgid "Comments"
611
+ msgstr ""
612
+
613
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:920
614
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:135
615
+ msgid "Artwork"
616
+ msgstr ""
617
+
618
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:937
619
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:154
620
+ msgid "Play Count"
621
+ msgstr ""
622
+
623
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:954
624
+ msgid "User Name"
625
+ msgstr ""
626
+
627
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:970
628
+ msgid "Buy Button %s"
629
+ msgstr ""
630
+
631
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:986
632
+ msgid "Download Button %s"
633
+ msgstr ""
634
+
635
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1032
636
+ msgid "Author Information"
637
+ msgstr ""
638
+
639
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1044
640
+ msgid "Title"
641
+ msgstr ""
642
+
643
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1060
644
+ msgid "Author %s"
645
+ msgstr ""
646
+
647
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1075
648
+ msgid "Avatar %s"
649
+ msgstr ""
650
+
651
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1090
652
+ msgid "Loop %s"
653
+ msgstr ""
654
+
655
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1105
656
+ msgid "Auto Pause %s"
657
+ msgstr ""
658
+
659
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1120
660
+ msgid "DNT %s"
661
+ msgstr ""
662
+
663
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1125
664
+ msgid "Set this parameter to \"yes\" will block the player from tracking any session data, including all cookies"
665
+ msgstr ""
666
+
667
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1163
668
+ msgid "Follow Widget Background"
669
+ msgstr ""
670
+
671
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1186
672
+ msgid "Custom Logo & CTA"
673
+ msgstr ""
674
+
675
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1195
676
+ msgid "Custom Logo %s"
677
+ msgstr ""
678
+
679
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1196
680
+ msgid "Leave it empty to hide it"
681
+ msgstr ""
682
+
683
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1217
684
+ msgid "Logo X Position"
685
+ msgstr ""
686
+
687
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1218
688
+ msgid "Change this number to move your logo in horizontal direction."
689
+ msgstr ""
690
+
691
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1246
692
+ #: EmbedPress/Ends/Back/Settings/templates/custom-logo.php:156
693
+ msgid "Logo Y Position (%)"
694
+ msgstr ""
695
+
696
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1247
697
+ msgid "Change this number to move your logo in vertical direction."
698
+ msgstr ""
699
+
700
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1281
701
+ msgid "Normal"
702
+ msgstr ""
703
+
704
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1287
705
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1315
706
+ msgid "Logo Opacity"
707
+ msgstr ""
708
+
709
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1309
710
+ msgid "Hover"
711
+ msgstr ""
712
+
713
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1340
714
+ msgid "CTA link for Logo"
715
+ msgstr ""
716
+
717
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1341
718
+ msgid "You can show the logo inside a link. Leave it empty to hide it"
719
+ msgstr ""
720
+
721
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1346
722
+ msgid "https://your-link.com"
723
+ msgstr ""
724
+
725
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1358
726
+ msgid "Style"
727
+ msgstr ""
728
+
729
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1365
730
+ msgid "Aspect Ratio"
731
+ msgstr ""
732
+
733
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1366
734
+ msgid "Good for any video. You may turn it off for other embed type."
735
+ msgstr ""
736
+
737
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1423
738
+ msgid "Margin"
739
+ msgstr ""
740
+
741
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1434
742
+ msgid "Padding"
743
+ msgstr ""
744
+
745
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1446
746
+ msgid "Background"
747
+ msgstr ""
748
+
749
+ #: EmbedPress/Ends/Back/Settings/EmbedpressSettings.php:117
750
+ msgid "EmbedPress Settings"
751
+ msgstr ""
752
+
753
+ #: EmbedPress/Ends/Back/Settings/EmbedpressSettings.php:160
754
+ msgid "(Coming soon)"
755
+ msgstr ""
756
+
757
+ #: EmbedPress/Ends/Back/Settings/EmbedpressSettings.php:161
758
+ #: EmbedPress/Ends/Back/Settings/templates/partials/toast-message.php:4
759
+ msgid "Settings Updated"
760
+ msgstr ""
761
+
762
+ #: EmbedPress/Ends/Back/Settings/EmbedpressSettings.php:162
763
+ #: EmbedPress/Ends/Back/Settings/templates/partials/toast-message.php:8
764
+ msgid "Ops! Something went wrong."
765
+ msgstr ""
766
+
767
+ #: EmbedPress/Ends/Back/Settings/templates/custom-logo.php:36
768
+ msgid "Global Branding Settings"
769
+ msgstr ""
770
+
771
+ #: EmbedPress/Ends/Back/Settings/templates/custom-logo.php:51
772
+ msgid "Custom Logo"
773
+ msgstr ""
774
+
775
+ #: EmbedPress/Ends/Back/Settings/templates/custom-logo.php:59
776
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:155
777
+ #: EmbedPress/Ends/Back/Settings/templates/general.php:64
778
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:189
779
+ #: EmbedPress/Ends/Back/Settings/templates/spotify.php:84
780
+ #: EmbedPress/Ends/Back/Settings/templates/twitch.php:113
781
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:149
782
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:225
783
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:231
784
+ msgid "Save Changes"
785
+ msgstr ""
786
+
787
+ #: EmbedPress/Ends/Back/Settings/templates/custom-logo.php:116
788
+ msgid "%s Custom Branding"
789
+ msgstr ""
790
+
791
+ #: EmbedPress/Ends/Back/Settings/templates/custom-logo.php:130
792
+ msgid "Click To Upload"
793
+ msgstr ""
794
+
795
+ #: EmbedPress/Ends/Back/Settings/templates/custom-logo.php:142
796
+ msgid "Logo Opacity (%)"
797
+ msgstr ""
798
+
799
+ #: EmbedPress/Ends/Back/Settings/templates/custom-logo.php:149
800
+ msgid "Logo X Position (%)"
801
+ msgstr ""
802
+
803
+ #: EmbedPress/Ends/Back/Settings/templates/custom-logo.php:163
804
+ msgid "Call to Action Link"
805
+ msgstr ""
806
+
807
+ #: EmbedPress/Ends/Back/Settings/templates/custom-logo.php:167
808
+ msgid "You may link the logo to any CTA link."
809
+ msgstr ""
810
+
811
+ #: EmbedPress/Ends/Back/Settings/templates/custom-logo.php:172
812
+ msgid "Live Preview"
813
+ msgstr ""
814
+
815
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:20
816
+ msgid "Dailymotion Settings"
817
+ msgstr ""
818
+
819
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:27
820
+ #: EmbedPress/Ends/Back/Settings/templates/twitch.php:24
821
+ msgid "Start Time (In Seconds)"
822
+ msgstr ""
823
+
824
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:30
825
+ #: EmbedPress/Ends/Back/Settings/templates/twitch.php:27
826
+ msgid "You can put a custom time in seconds to start video. Example: 500"
827
+ msgstr ""
828
+
829
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:49
830
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:63
831
+ #: EmbedPress/Ends/Back/Settings/templates/twitch.php:45
832
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:36
833
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:121
834
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:45
835
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:680
836
+ msgid "Automatically start to play the videos when the player loads."
837
+ msgstr ""
838
+
839
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:54
840
+ msgid "Autoplay On Mobile"
841
+ msgstr ""
842
+
843
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:66
844
+ msgid "You can control autoplay on mobile. Only works if Autoplay option is enabled."
845
+ msgstr ""
846
+
847
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:83
848
+ msgid "Mute the video that is auto played"
849
+ msgstr ""
850
+
851
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:90
852
+ msgid "Display Player Controls"
853
+ msgstr ""
854
+
855
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:102
856
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:92
857
+ msgid "Indicates whether the video player controls are displayed."
858
+ msgstr ""
859
+
860
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:108
861
+ msgid "Display Video Info"
862
+ msgstr ""
863
+
864
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:120
865
+ msgid "Indicates whether the video information is displayed."
866
+ msgstr ""
867
+
868
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:126
869
+ msgid "Show Logo"
870
+ msgstr ""
871
+
872
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:145
873
+ msgid "Controls Color"
874
+ msgstr ""
875
+
876
+ #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:149
877
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:95
878
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:129
879
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:694
880
+ msgid "Specify the color of the video controls."
881
+ msgstr ""
882
+
883
+ #: EmbedPress/Ends/Back/Settings/templates/elements.php:21
884
+ msgid "It supports 100+ providers. Click to read the docs"
885
+ msgstr ""
886
+
887
+ #: EmbedPress/Ends/Back/Settings/templates/elements.php:32
888
+ #: EmbedPress/Ends/Back/Settings/templates/elements.php:43
889
+ #: EmbedPress/Ends/Back/Settings/templates/elements.php:54
890
+ #: EmbedPress/Ends/Back/Settings/templates/elements.php:65
891
+ #: EmbedPress/Ends/Back/Settings/templates/elements.php:76
892
+ #: EmbedPress/Ends/Back/Settings/templates/elements.php:87
893
+ #: EmbedPress/Ends/Back/Settings/templates/elements.php:98
894
+ #: EmbedPress/Ends/Back/Settings/templates/elements.php:109
895
+ #: EmbedPress/Ends/Back/Settings/templates/elements.php:120
896
+ #: EmbedPress/Ends/Back/Settings/templates/elements.php:131
897
+ #: EmbedPress/Ends/Back/Settings/templates/elements.php:142
898
+ #: EmbedPress/Ends/Back/Settings/templates/elements.php:161
899
+ #: EmbedPress/Ends/Back/Settings/templates/elements.php:173
900
+ #: EmbedPress/Ends/Back/Settings/templates/partials/footer.php:12
901
+ #: EmbedPress/Ends/Back/Settings/templates/partials/footer.php:15
902
+ msgid "Documentation"
903
+ msgstr ""
904
+
905
+ #: EmbedPress/Ends/Back/Settings/templates/elements.php:190
906
+ msgid "Preview In Frontend"
907
+ msgstr ""
908
+
909
+ #: EmbedPress/Ends/Back/Settings/templates/elements.php:198
910
+ msgid "Preview In Editor"
911
+ msgstr ""
912
+
913
+ #: EmbedPress/Ends/Back/Settings/templates/general.php:21
914
+ msgid "Embed iFrame Height"
915
+ msgstr ""
916
+
917
+ #: EmbedPress/Ends/Back/Settings/templates/general.php:30
918
+ msgid "Embed iFrame Width"
919
+ msgstr ""
920
+
921
+ #: EmbedPress/Ends/Back/Settings/templates/general.php:39
922
+ msgid "Lazy Load"
923
+ msgstr ""
924
+
925
+ #. translators: % means coming soon text markup
926
+ #: EmbedPress/Ends/Back/Settings/templates/general.php:51
927
+ msgid "Loading Animation %s"
928
+ msgstr ""
929
+
930
+ #: EmbedPress/Ends/Back/Settings/templates/go-premium.php:6
931
+ msgid "Why upgrade to Premium Version?"
932
+ msgstr ""
933
+
934
+ #: EmbedPress/Ends/Back/Settings/templates/go-premium.php:7
935
+ msgid "The premium version helps us to continue development of the product incorporating even more features and enhancements. You will also get world class support from our dedicated team, 24/7."
936
+ msgstr ""
937
+
938
+ #: EmbedPress/Ends/Back/Settings/templates/go-premium.php:8
939
+ msgid "Get Premium Version"
940
+ msgstr ""
941
+
942
+ #: EmbedPress/Ends/Back/Settings/templates/partials/alert-coming-soon.php:7
943
+ #: EmbedPress/Ends/Back/Settings/templates/partials/alert-pro.php:4
944
+ msgid "Opps..."
945
+ msgstr ""
946
+
947
+ #: EmbedPress/Ends/Back/Settings/templates/partials/alert-coming-soon.php:8
948
+ msgid "This feature is coming soon to the <a href=\"%s\" target=\"_blank\">Premium</a> Version"
949
+ msgstr ""
950
+
951
+ #: EmbedPress/Ends/Back/Settings/templates/partials/alert-coming-soon.php:9
952
+ #: EmbedPress/Ends/Back/Settings/templates/partials/alert-pro.php:6
953
+ msgid "Close"
954
+ msgstr ""
955
+
956
+ #: EmbedPress/Ends/Back/Settings/templates/partials/alert-pro.php:5
957
+ msgid "You need to upgrade to the <a href=\"%s\" target=\"_blank\">Premium</a> Version to use this feature"
958
+ msgstr ""
959
+
960
+ #: EmbedPress/Ends/Back/Settings/templates/partials/footer.php:13
961
+ msgid ""
962
+ "Get started by spending some time with the documentation to get familiar with EmbedPress. Build awesome websites for you or your clients with ease.\n"
963
+ ""
964
+ msgstr ""
965
+
966
+ #: EmbedPress/Ends/Back/Settings/templates/partials/footer.php:21
967
+ msgid "Need Help?"
968
+ msgstr ""
969
+
970
+ #: EmbedPress/Ends/Back/Settings/templates/partials/footer.php:22
971
+ msgid "Stuck with something? Get help from the community on"
972
+ msgstr ""
973
+
974
+ #: EmbedPress/Ends/Back/Settings/templates/partials/footer.php:23
975
+ msgid "WordPress.org Forum"
976
+ msgstr ""
977
+
978
+ #: EmbedPress/Ends/Back/Settings/templates/partials/footer.php:24
979
+ msgid "Facebook Community"
980
+ msgstr ""
981
+
982
+ #: EmbedPress/Ends/Back/Settings/templates/partials/footer.php:25
983
+ msgid "WPDeveloper website."
984
+ msgstr ""
985
+
986
+ #: EmbedPress/Ends/Back/Settings/templates/partials/footer.php:26
987
+ msgid "Get Support"
988
+ msgstr ""
989
+
990
+ #: EmbedPress/Ends/Back/Settings/templates/partials/footer.php:32
991
+ msgid "Show Your Love"
992
+ msgstr ""
993
+
994
+ #: EmbedPress/Ends/Back/Settings/templates/partials/footer.php:33
995
+ msgid "We love to have you in the EmbedPress family. We are making it more awesome everyday. Take your 2 minutes to review the plugin and spread the love to encourage us to keep it going."
996
+ msgstr ""
997
+
998
+ #: EmbedPress/Ends/Back/Settings/templates/partials/footer.php:34
999
+ msgid "Leave A Review"
1000
+ msgstr ""
1001
+
1002
+ #: EmbedPress/Ends/Back/Settings/templates/partials/sidebar.php:24
1003
+ #: EmbedPress/Ends/Back/Settings/templates/shortcode.php:8
1004
+ msgid "Shortcode"
1005
+ msgstr ""
1006
+
1007
+ #: EmbedPress/Ends/Back/Settings/templates/partials/sidebar.php:79
1008
+ msgid "Spotify"
1009
+ msgstr ""
1010
+
1011
+ #: EmbedPress/Ends/Back/Settings/templates/partials/sidebar.php:92
1012
+ msgid "Elements"
1013
+ msgstr ""
1014
+
1015
+ #: EmbedPress/Ends/Back/Settings/templates/partials/sidebar.php:106
1016
+ msgid "Go Premium"
1017
+ msgstr ""
1018
+
1019
+ #: EmbedPress/Ends/Back/Settings/templates/partials/sidebar.php:115
1020
+ msgid "License"
1021
+ msgstr ""
1022
+
1023
+ #: EmbedPress/Ends/Back/Settings/templates/partials/toast-message.php:11
1024
+ msgid "Please provide valid data"
1025
+ msgstr ""
1026
+
1027
+ #: EmbedPress/Ends/Back/Settings/templates/shortcode.php:10
1028
+ msgid "EmbedPress has direct integration with Classic, Gutenberg and Elementor Editor. But for other page editor you can use EmbedPress shortcode feature. To generate shortcode simply insert your link, click %s'Generate'%s button and then copy your shortcode. For details, check out this %sdocumentation%s."
1029
+ msgstr ""
1030
+
1031
+ #: EmbedPress/Ends/Back/Settings/templates/shortcode.php:13
1032
+ msgid "Place your link here to generate shortcode"
1033
+ msgstr ""
1034
+
1035
+ #: EmbedPress/Ends/Back/Settings/templates/shortcode.php:15
1036
+ msgid "Generate"
1037
+ msgstr ""
1038
+
1039
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:22
1040
+ msgid "SoundCloud Settings"
1041
+ msgstr ""
1042
+
1043
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:69
1044
+ msgid "Buy Button"
1045
+ msgstr ""
1046
+
1047
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:87
1048
+ msgid "Download Button"
1049
+ msgstr ""
1050
+
1051
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:147
1052
+ msgid "Artwork option works when Visual option is disabled"
1053
+ msgstr ""
1054
+
1055
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:166
1056
+ msgid "Play count option works when Visual option is disabled"
1057
+ msgstr ""
1058
+
1059
+ #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:173
1060
+ msgid "Username"
1061
+ msgstr ""
1062
+
1063
+ #: EmbedPress/Ends/Back/Settings/templates/spotify.php:34
1064
+ msgid "Artist Follower Widget"
1065
+ msgstr ""
1066
+
1067
+ #: EmbedPress/Ends/Back/Settings/templates/spotify.php:80
1068
+ msgid "Note:"
1069
+ msgstr ""
1070
+
1071
+ #: EmbedPress/Ends/Back/Settings/templates/spotify.php:80
1072
+ msgid "To add follow widget, please add '%s:follow_widget%s' to the end of an artist URL. For details, check out this %s documentation%s."
1073
+ msgstr ""
1074
+
1075
+ #: EmbedPress/Ends/Back/Settings/templates/twitch.php:17
1076
+ msgid "Twitch Settings"
1077
+ msgstr ""
1078
+
1079
+ #: EmbedPress/Ends/Back/Settings/templates/twitch.php:49
1080
+ msgid "Show Chat"
1081
+ msgstr ""
1082
+
1083
+ #: EmbedPress/Ends/Back/Settings/templates/twitch.php:62
1084
+ msgid "You can show or hide chat using this setting"
1085
+ msgstr ""
1086
+
1087
+ #: EmbedPress/Ends/Back/Settings/templates/twitch.php:66
1088
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:197
1089
+ msgid "Theme"
1090
+ msgstr ""
1091
+
1092
+ #: EmbedPress/Ends/Back/Settings/templates/twitch.php:76
1093
+ msgid "Set dark or light theme for the twitch comment."
1094
+ msgstr ""
1095
+
1096
+ #: EmbedPress/Ends/Back/Settings/templates/twitch.php:80
1097
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:96
1098
+ msgid "Enable Fullscreen Button"
1099
+ msgstr ""
1100
+
1101
+ #: EmbedPress/Ends/Back/Settings/templates/twitch.php:92
1102
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:108
1103
+ msgid "Indicates whether the fullscreen button is enabled."
1104
+ msgstr ""
1105
+
1106
+ #: EmbedPress/Ends/Back/Settings/templates/twitch.php:96
1107
+ msgid "Mute On Start"
1108
+ msgstr ""
1109
+
1110
+ #: EmbedPress/Ends/Back/Settings/templates/twitch.php:109
1111
+ msgid "Set it to Yes to mute the video on start."
1112
+ msgstr ""
1113
+
1114
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:17
1115
+ msgid "Vimeo Settings"
1116
+ msgstr ""
1117
+
1118
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:40
1119
+ msgid "Loop"
1120
+ msgstr ""
1121
+
1122
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:53
1123
+ msgid "Play the video again automatically when it reaches the end."
1124
+ msgstr ""
1125
+
1126
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:57
1127
+ msgid "Auto Pause"
1128
+ msgstr ""
1129
+
1130
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:70
1131
+ msgid "Pause this video automatically when another one plays."
1132
+ msgstr ""
1133
+
1134
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:74
1135
+ msgid "DNT"
1136
+ msgstr ""
1137
+
1138
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:87
1139
+ msgid "Setting this parameter to \"yes\" will block the player from tracking any session data, including all cookies."
1140
+ msgstr ""
1141
+
1142
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:91
1143
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:126
1144
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:693
1145
+ msgid "Color"
1146
+ msgstr ""
1147
+
1148
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:99
1149
+ msgid "Display Title"
1150
+ msgstr ""
1151
+
1152
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:111
1153
+ msgid "Indicates whether the title is displayed."
1154
+ msgstr ""
1155
+
1156
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:115
1157
+ msgid "Display Author"
1158
+ msgstr ""
1159
+
1160
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:128
1161
+ msgid "Indicates whether the author is displayed."
1162
+ msgstr ""
1163
+
1164
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:132
1165
+ msgid "Display Avatar"
1166
+ msgstr ""
1167
+
1168
+ #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:145
1169
+ msgid "Indicates whether the avatar is displayed."
1170
+ msgstr ""
1171
+
1172
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:23
1173
+ msgid "Wistia Settings"
1174
+ msgstr ""
1175
+
1176
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:43
1177
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:655
1178
+ msgid "Indicates whether the fullscreen button is visible."
1179
+ msgstr ""
1180
+
1181
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:47
1182
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:660
1183
+ msgid "Playbar"
1184
+ msgstr ""
1185
+
1186
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:60
1187
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:661
1188
+ msgid "Indicates whether the playbar is visible."
1189
+ msgstr ""
1190
+
1191
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:76
1192
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:667
1193
+ msgid "Indicates whether the small play button is visible on the bottom left."
1194
+ msgstr ""
1195
+
1196
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:80
1197
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:673
1198
+ msgid "Volume Control"
1199
+ msgstr ""
1200
+
1201
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:93
1202
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:674
1203
+ msgid "Indicates whether the volume control is visible."
1204
+ msgstr ""
1205
+
1206
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:98
1207
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:686
1208
+ msgid "Volume"
1209
+ msgstr ""
1210
+
1211
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:102
1212
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:687
1213
+ msgid "Start the video with a custom volume level. Set values between 0 and 100."
1214
+ msgstr ""
1215
+
1216
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:134
1217
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:700
1218
+ msgid "Plugin: Resumable"
1219
+ msgstr ""
1220
+
1221
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:146
1222
+ msgid "Indicates whether the Resumable plugin is active. Allow to resume the video or start from the beginning."
1223
+ msgstr ""
1224
+
1225
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:150
1226
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:707
1227
+ msgid "Plugin: Captions"
1228
+ msgstr ""
1229
+
1230
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:163
1231
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:708
1232
+ msgid "Indicates whether the Captions plugin is active."
1233
+ msgstr ""
1234
+
1235
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:180
1236
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:714
1237
+ msgid "Indicates whether the Captions are enabled by default."
1238
+ msgstr ""
1239
+
1240
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:196
1241
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:720
1242
+ msgid "Indicates whether the Focus plugin is active."
1243
+ msgstr ""
1244
+
1245
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:200
1246
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:725
1247
+ msgid "Plugin: Rewind"
1248
+ msgstr ""
1249
+
1250
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:213
1251
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:726
1252
+ msgid "Indicates whether the Rewind plugin is active."
1253
+ msgstr ""
1254
+
1255
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:217
1256
+ msgid "Rewind Time (In Seconds)"
1257
+ msgstr ""
1258
+
1259
+ #: EmbedPress/Ends/Back/Settings/templates/wistia.php:220
1260
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:732
1261
+ msgid "The amount of time to rewind, in seconds."
1262
+ msgstr ""
1263
+
1264
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:26
1265
+ msgid "YouTube Settings"
1266
+ msgstr ""
1267
+
1268
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:49
1269
+ msgid "Progress Bar Color"
1270
+ msgstr ""
1271
+
1272
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:60
1273
+ msgid "Specifies the color that will be used in the player's video progress bar to highlight the amount of the video that the viewer has already seen. %s Note: Setting the color to white will disable the Modest Branding option (causing a YouTube logo to be displayed in the control bar)."
1274
+ msgstr ""
1275
+
1276
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:64
1277
+ msgid "Force Closed Captions"
1278
+ msgstr ""
1279
+
1280
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:78
1281
+ msgid "Setting this option to %s causes closed captions to be shown by default, even if the user has turned captions off. This will be based on user preference otherwise."
1282
+ msgstr ""
1283
+
1284
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:82
1285
+ msgid "Display Controls"
1286
+ msgstr ""
1287
+
1288
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:112
1289
+ msgid "Display Video Annotations"
1290
+ msgstr ""
1291
+
1292
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:121
1293
+ msgid "Indicates whether video annotations are displayed."
1294
+ msgstr ""
1295
+
1296
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:125
1297
+ msgid "Display Related Videos"
1298
+ msgstr ""
1299
+
1300
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:130
1301
+ msgid "From the same channel of the video"
1302
+ msgstr ""
1303
+
1304
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:131
1305
+ msgid "Based on User's watch history"
1306
+ msgstr ""
1307
+
1308
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:137
1309
+ msgid "Indicates how the player should show related videos when playback of the video pauses or ends."
1310
+ msgstr ""
1311
+
1312
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:141
1313
+ msgid "Modest Branding"
1314
+ msgstr ""
1315
+
1316
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:152
1317
+ msgid "Indicates whether the player should display a YouTube logo in the control bar."
1318
+ msgstr ""
1319
+
1320
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:156
1321
+ msgid "Subscription Button"
1322
+ msgstr ""
1323
+
1324
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:159
1325
+ msgid "Channel Link or ID"
1326
+ msgstr ""
1327
+
1328
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:163
1329
+ msgid "You can use either your channel link or channel ID to show the subscription button."
1330
+ msgstr ""
1331
+
1332
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:170
1333
+ msgid "Subscription Text"
1334
+ msgstr ""
1335
+
1336
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:174
1337
+ msgid "Optionally you can output some CTA text before the subscriber button."
1338
+ msgstr ""
1339
+
1340
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:181
1341
+ msgid "Layout"
1342
+ msgstr ""
1343
+
1344
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:192
1345
+ msgid "Full layout shows channel image. Default layout shows only channel name and subscription button."
1346
+ msgstr ""
1347
+
1348
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:208
1349
+ msgid "Default theme is good for white background. Dark theme is good for black background."
1350
+ msgstr ""
1351
+
1352
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:213
1353
+ msgid "Show Subscriber Count"
1354
+ msgstr ""
1355
+
1356
+ #: EmbedPress/Includes/Classes/EmbedPress_Notice.php:437
1357
+ msgid "Install Now!"
1358
+ msgstr ""
1359
+
1360
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:377
1361
+ msgid "We can't detect any plugin information. This is most probably because you have not included the code in the plugin main file."
1362
+ msgstr ""
1363
+
1364
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:646
1365
+ msgid "What we collect."
1366
+ msgstr ""
1367
+
1368
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:647
1369
+ msgid "Sure, I'd like to help"
1370
+ msgstr ""
1371
+
1372
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:648
1373
+ msgid "No Thanks."
1374
+ msgstr ""
1375
+
1376
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:741
1377
+ msgid "Sorry to see you go"
1378
+ msgstr ""
1379
+
1380
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:742
1381
+ msgid "Before you deactivate the plugin, would you quickly give us your reason for doing so?"
1382
+ msgstr ""
1383
+
1384
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:745
1385
+ msgid "I no longer need the plugin"
1386
+ msgstr ""
1387
+
1388
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:747
1389
+ msgid "I found a better plugin"
1390
+ msgstr ""
1391
+
1392
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:748
1393
+ msgid "Please share which plugin"
1394
+ msgstr ""
1395
+
1396
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:750
1397
+ msgid "I couldn't get the plugin to work"
1398
+ msgstr ""
1399
+
1400
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:751
1401
+ msgid "It's a temporary deactivation"
1402
+ msgstr ""
1403
+
1404
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:753
1405
+ msgid "Other"
1406
+ msgstr ""
1407
+
1408
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:754
1409
+ msgid "Please share the reason"
1410
+ msgstr ""
1411
+
1412
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:796
1413
+ msgid "Submitting form"
1414
+ msgstr ""
1415
+
1416
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:854
1417
+ msgid "Submit and Deactivate"
1418
+ msgstr ""
1419
+
1420
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:854
1421
+ msgid "Just Deactivate"
1422
+ msgstr ""
1423
+
1424
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:348
1425
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:759
1426
+ #: Gutenberg/plugin.php:55
1427
+ msgid "Watch from the beginning"
1428
+ msgstr ""
1429
+
1430
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:349
1431
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:760
1432
+ #: Gutenberg/plugin.php:56
1433
+ msgid "Skip to where you left off"
1434
+ msgstr ""
1435
+
1436
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:350
1437
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:761
1438
+ #: Gutenberg/plugin.php:57
1439
+ msgid "It looks like you've watched<br />part of this video before!"
1440
+ msgstr ""
1441
+
1442
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:701
1443
+ msgid "Indicates whether the Resumable plugin is active. Allow to resume the video or start from the begining."
1444
+ msgstr ""
1445
+
1446
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:719
1447
+ msgid "Plugin: Focus"
1448
+ msgstr ""
1449
+
1450
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:731
1451
+ msgid "Rewind time (seconds)"
1452
+ msgstr ""
1453
+
1454
+ #: EmbedPress/Includes/Traits/Shared.php:26
1455
+ msgid "Want to help make <strong>EmbedPress</strong> even more awesome? You can get a <strong>10% discount coupon</strong> for Premium extensions if you allow us to track the usage."
1456
+ msgstr ""
1457
+
1458
+ #: EmbedPress/Includes/Traits/Shared.php:27
1459
+ msgid ""
1460
+ "We collect non-sensitive diagnostic data and plugin usage information.\n"
1461
+ " Your site URL, WordPress & PHP version, plugins & themes and email address to send you the\n"
1462
+ " discount coupon. This data lets us make sure this plugin always stays compatible with the most\n"
1463
+ " popular plugins and themes. No spam, I promise."
1464
+ msgstr ""
1465
+
1466
+ #: EmbedPress/Includes/Traits/Shared.php:59
1467
+ msgid "Ok, you deserve it!"
1468
+ msgstr ""
1469
+
1470
+ #: EmbedPress/Includes/Traits/Shared.php:64
1471
+ msgid "I already did"
1472
+ msgstr ""
1473
+
1474
+ #: EmbedPress/Includes/Traits/Shared.php:72
1475
+ msgid "Maybe Later"
1476
+ msgstr ""
1477
+
1478
+ #: EmbedPress/Includes/Traits/Shared.php:80
1479
+ msgid "I need help"
1480
+ msgstr ""
1481
+
1482
+ #: EmbedPress/Includes/Traits/Shared.php:85
1483
+ msgid "Never show again"
1484
+ msgstr ""
1485
+
1486
+ #: EmbedPress/Includes/Traits/Shared.php:97
1487
+ msgid "We hope you're enjoying EmbedPress! Could you please do us a BIG favor and give it a 5-star rating on WordPress to help us spread the word and boost our motivation?"
1488
+ msgstr ""
1489
+
1490
+ #: EmbedPress/Includes/Traits/Shared.php:110
1491
+ msgid "You are using an incompatible version of EmbedPress PRO. Please update to v3.4.0+. <a href=\"https://essential-addons.com/elementor/docs/manually-update-essential-addons-pro/\" target=\"_blank\">Follow manual update guide.</a>"
1492
+ msgstr ""
1493
+
1494
+ #: EmbedPress/Includes/Traits/Shared.php:116
1495
+ msgid "EmbedPress 3.0 is here with new features and options, read the details <a href=\"https://wpdeveloper.net/introducing-embedpress-3.0\" target=\"_blank\">here</a>, and check the new setting page. <a href=\""
1496
+ msgstr ""
1497
+
1498
+ #: EmbedPress/Includes/Traits/Shared.php:122
1499
+ msgid "Learn More"
1500
+ msgstr ""
1501
+
1502
+ #: EmbedPress/Providers/Boomplay.php:78
1503
+ msgid "Embedding Boomplay playlists and albums are supported in EmbedPress Pro"
1504
  msgstr ""
1505
 
1506
+ #: EmbedPress/Providers/Boomplay.php:78
1507
+ msgid "This message is only visible to you."
1508
  msgstr ""
1509
 
1510
+ #: Gutenberg/src/document/edit.js:193
1511
+ msgid "Embed Size"
1512
  msgstr ""
readme.txt CHANGED
@@ -6,7 +6,7 @@ Tags: embed, embed youtube, gutenberg embed, pdf, doc, docs, ppt, elementor embe
6
  Requires at least: 4.6
7
  Tested up to: 5.8
8
  Requires PHP: 5.6
9
- Stable tag: 3.1.0
10
  License: GPLv3 or later
11
  License URI: https://opensource.org/licenses/GPL-3.0
12
 
@@ -301,6 +301,15 @@ Not at all. You can set up everything your team needs without any coding knowled
301
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
302
  and this project adheres to [Semantic Versioning](http://semver.org/).
303
 
 
 
 
 
 
 
 
 
 
304
  = [3.1.0] - 2021-07-19 =
305
  * Added: SoundCloud and DailyMotion in option menu.
306
  * Fixed: Meetup Embed.
6
  Requires at least: 4.6
7
  Tested up to: 5.8
8
  Requires PHP: 5.6
9
+ Stable tag: 3.1.1
10
  License: GPLv3 or later
11
  License URI: https://opensource.org/licenses/GPL-3.0
12
 
301
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
302
  and this project adheres to [Semantic Versioning](http://semver.org/).
303
 
304
+
305
+ = [3.1.1] - 2021-08-05 =
306
+ * Added: WPML compatibility.
307
+ * Fixed: Deprecated notice in WP 5.8.
308
+ * Fixed: Event headings css selector issue.
309
+ * Updated: PDF library to latest version.
310
+ * Improved: Embed documents using object tag instead of embed tag.
311
+ * Few minor bug fix and improvements.
312
+
313
  = [3.1.0] - 2021-07-19 =
314
  * Added: SoundCloud and DailyMotion in option menu.
315
  * Fixed: Meetup Embed.
wpml-config.xml ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <wpml-config>
2
+ <admin-texts>
3
+ <key name="embedpress:youtube">
4
+ <key name="yt_sub_text" />
5
+ </key>
6
+ </admin-texts>
7
+ <elementor-widgets>
8
+ <widget name="embedpres_elementor">
9
+ <conditions>
10
+ <condition key="widgetType">embedpres_elementor</condition>
11
+ </conditions>
12
+ <fields>
13
+ <field type="YouTube Subscriber Button: Subscription Text" editor_type="LINE">yt_sub_text</field>
14
+ </fields>
15
+ </widget>
16
+ </elementor-widgets>
17
+ </wpml-config>