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

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.5.3
Comparing to
See all releases

Code changes from version 3.5.2 to 3.5.3

EmbedPress/Ends/Back/Settings/templates/elements.php CHANGED
@@ -18,7 +18,7 @@ $enablePluginInFront = isset( $settings['enablePluginInFront'] ) ? $settings['en
18
  <h5>EmbedPress</h5>
19
  <a href="https://embedpress.com/documentation/" class="has__question" target="_blank">
20
  <i class="ep-icon ep-question"></i>
21
- <span class="element__tooltip"><?php esc_html_e( "It supports 100+ providers. Click to read the docs", "embedpress" ); ?></span>
22
  </a>
23
  <label class="input__switch element_switch">
24
  <input class="element-check" type="checkbox" value="yes" data-name="embedpress" data-type="gutenberg" <?php echo isset( $g_blocks['embedpress']) ? 'checked': ''; ?> >
18
  <h5>EmbedPress</h5>
19
  <a href="https://embedpress.com/documentation/" class="has__question" target="_blank">
20
  <i class="ep-icon ep-question"></i>
21
+ <span class="element__tooltip"><?php esc_html_e( "It supports 150+ providers. Click to read the docs", "embedpress" ); ?></span>
22
  </a>
23
  <label class="input__switch element_switch">
24
  <input class="element-check" type="checkbox" value="yes" data-name="embedpress" data-type="gutenberg" <?php echo isset( $g_blocks['embedpress']) ? 'checked': ''; ?> >
EmbedPress/Includes/Classes/Feature_Enhancer.php CHANGED
@@ -530,7 +530,7 @@ class Feature_Enhancer
530
  ob_start();
531
  ?>
532
  <div class="embedpress_wrapper" data-url="<?php echo esc_attr(esc_url($embed_content->url)); ?>">
533
- <iframe src="<?php echo esc_url($url); ?>" allowfullscreen="" scrolling="no" frameborder="0" allow="autoplay; fullscreen" title="Twitch" sandbox="allow-modals allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox" width="<?php echo esc_attr($width); ?>" height="<?php echo esc_attr($height); ?>" style="max-width: 100%; max-height:<?php echo esc_attr($width); ?>px;"></iframe>
534
  </div>
535
  <?php
536
  $c = ob_get_clean();
530
  ob_start();
531
  ?>
532
  <div class="embedpress_wrapper" data-url="<?php echo esc_attr(esc_url($embed_content->url)); ?>">
533
+ <iframe src="<?php echo esc_url($url); ?>" allowfullscreen="" scrolling="no" frameborder="0" allow="autoplay; fullscreen" title="Twitch" sandbox="allow-modals allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox" width="<?php echo esc_attr($width); ?>" height="<?php echo esc_attr($height); ?>" style="max-width: <?php echo esc_attr($width); ?>px; max-height:<?php echo esc_attr($height); ?>px;"></iframe>
534
  </div>
535
  <?php
536
  $c = ob_get_clean();
EmbedPress/Shortcode.php CHANGED
@@ -910,7 +910,7 @@ KAMAL;
910
  $id = 'embedpress-pdf-shortcode';
911
  $dimension = "width: {$attributes['width']}px;height: {$attributes['height']}px";
912
  ?>
913
- <div class="embedpress-document-embed ose-document <?php echo 'ep-doc-' . md5($id); ?>" style="<?php echo esc_attr($dimension); ?>; max-width:100%; display: inline-block">
914
  <?php if ($url != '') {
915
  if (self::is_pdf($url) && !self::is_external_url($url)) {
916
  $renderer = Helper::get_pdf_renderer();
910
  $id = 'embedpress-pdf-shortcode';
911
  $dimension = "width: {$attributes['width']}px;height: {$attributes['height']}px";
912
  ?>
913
+ <div class="embedpress-document-embed ose-document <?php echo 'ep-doc-' . md5($id); ?>" style="<?php echo esc_attr($dimension); ?>; max-width:100%; display: block">
914
  <?php if ($url != '') {
915
  if (self::is_pdf($url) && !self::is_external_url($url)) {
916
  $renderer = Helper::get_pdf_renderer();
Gutenberg/block-backend/block-embedpress.php CHANGED
@@ -16,7 +16,7 @@ function embedpress_render_block($attributes)
16
  {
17
 
18
 
19
-
20
  if (!empty($attributes['embedHTML'])) {
21
  $embed = apply_filters('embedpress_gutenberg_embed', $attributes['embedHTML'], $attributes);
22
  $aligns = [
@@ -42,7 +42,7 @@ function embedpress_render_block($attributes)
42
  <?php
43
 
44
 
45
- echo embedpress_render_block_style($attributes, 'youtube');
46
 
47
  return ob_get_clean();
48
  }
@@ -52,23 +52,21 @@ function embedpress_render_block($attributes)
52
  * Make style function for embedpress render block
53
  */
54
 
55
- function embedpress_render_block_style($attributes, $providers)
56
  {
57
- if ($providers === 'youtube') {
58
- $uniqid = '.ose-uid-' . md5($attributes['url']);
59
- $youtubeStyles = '<style>
60
- ' . esc_attr($uniqid) . ' {
61
- width: ' . esc_attr($attributes['width']) . 'px !important;
62
- height: ' . esc_attr($attributes['height']) . 'px;
63
- }
64
 
65
- ' . esc_attr($uniqid) . '>iframe {
66
- height: ' . esc_attr($attributes['height']) . 'px !important;
67
- max-height: ' . esc_attr($attributes['height']) . 'px !important;
68
- width: 100%;
69
- }
70
- </style>';
71
 
72
- return $youtubeStyles;
73
- }
74
  }
16
  {
17
 
18
 
19
+
20
  if (!empty($attributes['embedHTML'])) {
21
  $embed = apply_filters('embedpress_gutenberg_embed', $attributes['embedHTML'], $attributes);
22
  $aligns = [
42
  <?php
43
 
44
 
45
+ echo embedpress_render_block_style($attributes);
46
 
47
  return ob_get_clean();
48
  }
52
  * Make style function for embedpress render block
53
  */
54
 
55
+ function embedpress_render_block_style($attributes)
56
  {
57
+ $uniqid = '.ose-uid-' . md5($attributes['url']);
58
+ $youtubeStyles = '<style>
59
+ ' . esc_attr($uniqid) . ' {
60
+ width: ' . esc_attr($attributes['width']) . 'px !important;
61
+ height: ' . esc_attr($attributes['height']) . 'px;
62
+ }
 
63
 
64
+ ' . esc_attr($uniqid) . '>iframe {
65
+ height: ' . esc_attr($attributes['height']) . 'px !important;
66
+ max-height: ' . esc_attr($attributes['height']) . 'px !important;
67
+ width: 100%;
68
+ }
69
+ </style>';
70
 
71
+ return $youtubeStyles;
 
72
  }
Gutenberg/dist/blocks.build.js CHANGED
@@ -1 +1 @@
1
- !function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.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=7)}([function(e,t,n){"use strict";n.d(t,"e",function(){return l}),n.d(t,"j",function(){return s}),n.d(t,"i",function(){return c}),n.d(t,"g",function(){return p}),n.d(t,"f",function(){return u}),n.d(t,"h",function(){return m}),n.d(t,"k",function(){return d}),n.d(t,"l",function(){return f}),n.d(t,"m",function(){return h}),n.d(t,"b",function(){return b}),n.d(t,"d",function(){return w}),n.d(t,"c",function(){return y}),n.d(t,"a",function(){return v});var r=wp.components,o=r.G,i=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(o,null,wp.element.createElement(i,{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(i,{style:{fill:"#BBDEFB"},d:"M 40 13 L 30 13 L 30 3 Z "}),wp.element.createElement(i,{style:{fill:"#1565C0"},d:"M 30 13 L 40 23 L 40 13 Z "}),wp.element.createElement(i,{style:{fill:"#E3F2FD"},d:"M 15 23 L 33 23 L 33 25 L 15 25 Z "}),wp.element.createElement(i,{style:{fill:"#E3F2FD"},d:"M 15 27 L 33 27 L 33 29 L 15 29 Z "}),wp.element.createElement(i,{style:{fill:"#E3F2FD"},d:"M 15 31 L 33 31 L 33 33 L 15 33 Z "}),wp.element.createElement(i,{style:{fill:"#E3F2FD"},d:"M 15 35 L 25 35 L 25 37 L 15 37 Z "}))),s=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(o,null,wp.element.createElement(i,{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(i,{d:"M17,6c-0.5444336,0-1.0367432-0.2190552-1.3973999-0.5719604L21,10.8254395V6H17z",style:{fill:"url(#SVGID_1_)"}}),wp.element.createElement(i,{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(i,{d:"M15,0v4c0,1.1045694,0.8954306,2,2,2h4L15,0z",style:{fill:"#FFE083"}}),wp.element.createElement(i,{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(i,{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(i,{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(i,{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_)"}}))),c=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(o,null,wp.element.createElement(i,{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(i,{style:{fill:"#C8E6C9"},d:"M 40 13 L 30 13 L 30 3 Z "}),wp.element.createElement(i,{style:{fill:"#2E7D32"},d:"M 30 13 L 40 23 L 40 13 Z "}),wp.element.createElement(i,{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 "}))),p=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"}," ",wp.element.createElement(o,null,wp.element.createElement(i,{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(i,{style:{fill:"#C2ABE1"},d:"M 40 13 L 30 13 L 30 3 Z "}),wp.element.createElement(i,{style:{fill:"#2E7D32"},d:"M 30 13 L 40 23 L 40 13 Z "}),wp.element.createElement(i,{style:{fill:"#E8F5E9"},d:"M 19 23 L 33 23 L 33 25 L 19 25 Z "}),wp.element.createElement(i,{style:{fill:"#E8F5E9"},d:"M 19 28 L 33 28 L 33 30 L 19 30 Z "}),wp.element.createElement(i,{style:{fill:"#E8F5E9"},d:"M 19 33 L 33 33 L 33 35 L 19 35 Z "}),wp.element.createElement(i,{style:{fill:"#E8F5E9"},d:"M 15 23 L 17 23 L 17 25 L 15 25 Z "}),wp.element.createElement(i,{style:{fill:"#E8F5E9"},d:"M 15 28 L 17 28 L 17 30 L 15 30 Z "}),wp.element.createElement(i,{style:{fill:"#E8F5E9"},d:"M 15 33 L 17 33 L 17 35 L 15 35 Z "}))),u=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"}," ",wp.element.createElement(o,null,wp.element.createElement(i,{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(i,{style:{fill:"#EEA6A0"},d:"M40,13H30V3L40,13z"}),wp.element.createElement(i,{style:{fill:"#B3433A"},d:"M30,13l10,10V13H30z"}),wp.element.createElement(i,{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(i,{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(o,null,wp.element.createElement(i,{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(i,{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(i,{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(i,{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(i,{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(i,{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(i,{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(i,{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 "}))),d=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"}," ",wp.element.createElement(o,null,wp.element.createElement(i,{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(i,{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(i,{style:{fill:"#8E24AA"},d:"M 32 25 L 27 25 L 27 15 L 32 15 Z "}),wp.element.createElement(i,{style:{fill:"#8E24AA"},d:"M 24 25 L 19 25 L 19 15 L 24 15 Z "}))),f=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 769 598",version:"1.1"}," ",wp.element.createElement(o,null,wp.element.createElement(i,{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(i,{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(i,{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"}))),y=wp.element.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 512 512"},wp.element.createElement("path",{fill:"#E2E5E7",d:"M128,0c-17.6,0-32,14.4-32,32v448c0,17.6,14.4,32,32,32h320c17.6,0,32-14.4,32-32V128L352,0H128z"}),wp.element.createElement("path",{fill:"#B0B7BD",d:"M384,128h96L352,0v96C352,113.6,366.4,128,384,128z"}),wp.element.createElement("polygon",{fill:"#CAD1D8",points:"480,224 384,128 480,128 "}),wp.element.createElement("path",{fill:"#F15642",d:"M416,416c0,8.8-7.2,16-16,16H48c-8.8,0-16-7.2-16-16V256c0-8.8,7.2-16,16-16h352c8.8,0,16,7.2,16,16 V416z"}),wp.element.createElement("g",null,wp.element.createElement("path",{fill:"#FFFFFF",d:"M101.744,303.152c0-4.224,3.328-8.832,8.688-8.832h29.552c16.64,0,31.616,11.136,31.616,32.48 c0,20.224-14.976,31.488-31.616,31.488h-21.36v16.896c0,5.632-3.584,8.816-8.192,8.816c-4.224,0-8.688-3.184-8.688-8.816V303.152z M118.624,310.432v31.872h21.36c8.576,0,15.36-7.568,15.36-15.504c0-8.944-6.784-16.368-15.36-16.368H118.624z"}),wp.element.createElement("path",{fill:"#FFFFFF",d:"M196.656,384c-4.224,0-8.832-2.304-8.832-7.92v-72.672c0-4.592,4.608-7.936,8.832-7.936h29.296 c58.464,0,57.184,88.528,1.152,88.528H196.656z M204.72,311.088V368.4h21.232c34.544,0,36.08-57.312,0-57.312H204.72z"}),wp.element.createElement("path",{fill:"#FFFFFF",d:"M303.872,312.112v20.336h32.624c4.608,0,9.216,4.608,9.216,9.072c0,4.224-4.608,7.68-9.216,7.68 h-32.624v26.864c0,4.48-3.184,7.92-7.664,7.92c-5.632,0-9.072-3.44-9.072-7.92v-72.672c0-4.592,3.456-7.936,9.072-7.936h44.912 c5.632,0,8.96,3.344,8.96,7.936c0,4.096-3.328,8.704-8.96,8.704h-37.248V312.112z"})),wp.element.createElement("path",{fill:"#CAD1D8",d:"M400,432H96v16h304c8.8,0,16-7.2,16-16v-16C416,424.8,408.8,432,400,432z"})),v=wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"186 38 76 76"},wp.element.createElement("path",{fill:"#fff",d:"M244 56h-40v40h40V56z"}),wp.element.createElement("path",{fill:"#EA4335",d:"M244 114l18-18h-18v18z"}),wp.element.createElement("path",{fill:"#FBBC04",d:"M262 56h-18v40h18V56z"}),wp.element.createElement("path",{fill:"#34A853",d:"M244 96h-40v18h40V96z"}),wp.element.createElement("path",{fill:"#188038",d:"M186 96v12c0 3.315 2.685 6 6 6h12V96h-18z"}),wp.element.createElement("path",{fill:"#1967D2",d:"M262 56V44c0-3.315-2.685-6-6-6h-12v18h18z"}),wp.element.createElement("path",{fill:"#4285F4",d:"M244 38h-52c-3.315 0 -6 2.685-6 6v52h18V56h40V38z"}),wp.element.createElement("path",{fill:"#4285F4",d:"M212.205 87.03c-1.495-1.01-2.53-2.485-3.095-4.435l3.47-1.43c.315 1.2.865 2.13 1.65 2.79.78.66 1.73.985 2.84.985 1.135 0 2.11-.345 2.925-1.035s1.225-1.57 1.225-2.635c0-1.09-.43-1.98-1.29-2.67-.86-.69-1.94-1.035-3.23-1.035h-2.005V74.13h1.8c1.11 0 2.045-.3 2.805-.9.76-.6 1.14-1.42 1.14-2.465 0 -.93-.34-1.67-1.02-2.225-.68-.555-1.54-.835-2.585-.835-1.02 0 -1.83.27-2.43.815a4.784 4.784 0 0 0 -1.31 2.005l-3.435-1.43c.455-1.29 1.29-2.43 2.515-3.415 1.225-.985 2.79-1.48 4.69-1.48 1.405 0 2.67.27 3.79.815 1.12.545 2 1.3 2.635 2.26.635.965.95 2.045.95 3.245 0 1.225-.295 2.26-.885 3.11-.59.85-1.315 1.5-2.175 1.955v.205a6.605 6.605 0 0 1 2.79 2.175c.725.975 1.09 2.14 1.09 3.5 0 1.36-.345 2.575-1.035 3.64s-1.645 1.905-2.855 2.515c-1.215.61-2.58.92-4.095.92-1.755.005-3.375-.5-4.87-1.51zM233.52 69.81l-3.81 2.755-1.905-2.89 6.835-4.93h2.62V88h-3.74V69.81z"}))},function(e,t,n){"use strict";var __=wp.i18n.__,r=wp.components.Spinner,o=function(){return wp.element.createElement("div",{className:"wp-block-embed is-loading text-center"},wp.element.createElement(r,null),wp.element.createElement("p",null,__("Embedding\u2026")))};t.a=o},function(e,t,n){"use strict";var __=wp.i18n.__,r=wp.element.Fragment,o=wp.components,i=o.Button,a=o.Toolbar,l=wp.blockEditor.BlockControls,s=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(i,{className:"components-toolbar__control",label:__("Edit URL"),icon:"edit",onClick:n}))))};t.a=s},function(e,t,n){"use strict";var r=n(12),o=n.n(r),i=wp.i18n,__=i.__,_x=i._x,a=wp.components,l=a.Button,s=a.Placeholder,c=a.ExternalLink,p=wp.blockEditor.BlockIcon,u=function(e){var t=e.icon,n=e.label,r=e.value,i=e.onSubmit,a=e.onChange,u=e.cannotEmbed,m=e.docLink,d=e.DocTitle,f=o()("wp-block-embed",{});return wp.element.createElement("div",null,wp.element.createElement(s,{icon:wp.element.createElement(p,{icon:t,showColors:!0}),label:n,className:f},wp.element.createElement("form",{onSubmit:i},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")),u&&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(c,{href:m},d))))};t.a=u},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 o(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 i(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(6),l=n.n(a),s=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},c=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}}(),p=wp.element.Component,u=function(e){function t(e){r(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.myRef=React.createRef(),n}return i(t,e),c(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",s({ref:this.myRef},this.props))}}]),t}(p);t.a=u},function(e,t,n){"use strict";function r(e){var t=embedpressObj.document_cta,n="",r="";if(embedpressObj.embedpress_pro&&t&&t.logo_url){var i=t.cta_url?t.cta_url:null,a=t.logo_xpos?t.logo_xpos+"%":"10%",l=t.logo_ypos?t.logo_ypos+"%":"10%",s=t.logo_opacity?t.logo_opacity/100:"10%",c=".ep-doc-"+e.id;return n="\n "+c+"{\n text-align: left;\n position: relative;\n }\n "+c+" .watermark {\n \t\tdisplay:inline-block;\n border: 0;\n position: absolute;\n bottom: "+l+";\n right: "+a+";\n max-width: 150px;\n max-height: 75px;\n opacity: "+s+";\n z-index: 5;\n -o-transition: opacity 0.5s ease-in-out;\n -moz-transition: opacity 0.5s ease-in-out;\n -webkit-transition: opacity 0.5s ease-in-out;\n transition: opacity 0.5s ease-in-out;\n }\n "+c+" .watermark:hover {\n\t\t\t\t\t opacity: 1;\n\t\t\t\t }\n\t\t",i&&""!==i&&(r+="<a href="+i+">"),r+='<img class="watermark" alt="" src="'+t.logo_url+'"/>',i&&""!==i&&(r+="</a>"),wp.element.createElement(o,null,wp.element.createElement("style",{dangerouslySetInnerHTML:{__html:n}}),wp.element.createElement("div",{dangerouslySetInnerHTML:{__html:r}}))}return""}var o=wp.element.Fragment;t.a=r},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(8),n(13),n(17),n(21),n(25),n(29),n(33),n(37),n(41),n(45),n(49),n(59),n(65);!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(9),o=(n.n(r),n(10)),i=(n.n(o),n(11)),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.e,category:"embedpress",keywords:[__("embedpress"),__("google"),__("docs")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:i.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 o(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 i(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),s=n(3),c=n(4),p=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.__,m=wp.element.Component,d=function(e){function t(){r(this,t);var e=o(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 i(t,e),u(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),o=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,i=o.exec(r),a=i[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,o=t.fetching,i=t.cannotEmbed,u=t.interactive,m=this.props.attributes.iframeSrc,d=__("Google Docs URL");return!m||r?wp.element.createElement("div",null,wp.element.createElement(s.a,{label:d,onSubmit:this.setUrl,value:n,cannotEmbed:i,onChange:function(t){return e.setState({url:t.target.value})},icon:p.e,DocTitle:__("Learn more about Google doc embed"),docLink:"https://embedpress.com/docs/embed-google-docs-wordpress/"})):wp.element.createElement("div",null,o?wp.element.createElement(l.a,null):null,wp.element.createElement(c.a,{src:m,onMouseUp:this.hideOverlay,onLoad:this.onLoad,style:{display:o?"none":""},frameBorder:"0",width:"600",height:"450"}),!u&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!i,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(m);t.a=d},function(e,t,n){var r,o;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)){if(r.length){var a=n.apply(null,r);a&&e.push(a)}}else if("object"===o){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var l in r)i.call(r,l)&&r[l]&&e.push(l)}}}return e.join(" ")}var i={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(o=function(){return n}.apply(t,r))&&(e.exports=o))}()},function(e,t,n){"use strict";var r=n(14),o=(n.n(r),n(15)),i=(n.n(o),n(16)),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.j,category:"embedpress",keywords:[__("embedpress"),__("google"),__("slides")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:i.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 o(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 i(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),s=n(3),c=n(4),p=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.__,m=wp.element,d=m.Component,f=m.Fragment,h=function(e){function t(){r(this,t);var e=o(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 i(t,e),u(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),o=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,i=o.exec(r),a=i[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,o=t.fetching,i=t.cannotEmbed,u=t.interactive,m=this.props.attributes.iframeSrc,d=__("Google Slides URL");return!m||r?wp.element.createElement(s.a,{label:d,onSubmit:this.setUrl,value:n,cannotEmbed:i,onChange:function(t){return e.setState({url:t.target.value})},icon:p.j,DocTitle:__("Learn more about Google slides embed"),docLink:"https://embedpress.com/docs/embed-google-slides-wordpress/"}):wp.element.createElement(f,null,o?wp.element.createElement(l.a,null):null,wp.element.createElement(c.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:o?"none":""},frameborder:"0",width:"600",height:"450"}),!u&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!i,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(d);t.a=h},function(e,t,n){"use strict";var r=n(18),o=(n.n(r),n(19)),i=(n.n(o),n(20)),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.i,category:"embedpress",keywords:[__("embedpress"),__("google"),__("sheets")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:i.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 o(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 i(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),s=n(3),c=n(4),p=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.__,m=wp.element,d=m.Component,f=m.Fragment,h=function(e){function t(){r(this,t);var e=o(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 i(t,e),u(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),o=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,i=o.exec(r),a=i[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 s=!1,c=!1;l.map(function(e){e.indexOf("widget=")?c=!0:e.indexOf("headers=")&&(s=!0)}),c||(r+="&widget=true"),s||(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,o=t.fetching,i=t.cannotEmbed,u=t.interactive,m=this.props.attributes.iframeSrc,d=__("Google Sheets URL");return!m||r?wp.element.createElement(s.a,{label:d,onSubmit:this.setUrl,value:n,cannotEmbed:i,onChange:function(t){return e.setState({url:t.target.value})},icon:p.i,DocTitle:__("Learn more about Google sheet embed"),docLink:"https://embedpress.com/docs/embed-google-sheets-wordpress/"}):wp.element.createElement(f,null,o?wp.element.createElement(l.a,null):null,wp.element.createElement(c.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:o?"none":""},frameborder:"0",width:"600",height:"450"}),!u&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!i,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(d);t.a=h},function(e,t,n){"use strict";var r=n(22),o=(n.n(r),n(23)),i=(n.n(o),n(24)),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.g,category:"embedpress",keywords:[__("embedpress"),__("google"),__("forms")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:i.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 o(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 i(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),s=n(3),c=n(4),p=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.__,m=wp.element,d=m.Component,f=m.Fragment,h=(wp.components.Disabled,function(e){function t(){r(this,t);var e=o(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 i(t,e),u(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),o=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,i=o.exec(r),a=i[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,o=t.fetching,i=t.cannotEmbed,u=t.interactive,m=this.props.attributes.iframeSrc,d=__("Google Forms URL");return!m||r?wp.element.createElement(s.a,{label:d,onSubmit:this.setUrl,value:n,cannotEmbed:i,onChange:function(t){return e.setState({url:t.target.value})},icon:p.g,DocTitle:__("Learn more about Google forms embed"),docLink:"https://embedpress.com/docs/embed-google-forms-wordpress/"}):wp.element.createElement(f,null,o?wp.element.createElement(l.a,null):null,wp.element.createElement(c.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:o?"none":""},frameborder:"0",width:"600",height:"450"}),!u&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!i,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(d));t.a=h},function(e,t,n){"use strict";var r=n(26),o=(n.n(r),n(27)),i=(n.n(o),n(28)),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.f,category:"embedpress",keywords:[__("embedpress"),__("google"),__("drawings")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:i.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 o(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 i(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),s=n(3),c=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.__,u=wp.element,m=u.Component,d=u.Fragment,f=function(e){function t(){r(this,t);var e=o(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 i(t,e),p(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),o=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,i=o.exec(r),a=i[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,o=t.fetching,i=t.cannotEmbed,p=this.props.attributes.iframeSrc,u=__("Google Drawings URL (Get your link from File -> Publish to the web -> Link)");return!p||r?wp.element.createElement(s.a,{label:u,onSubmit:this.setUrl,value:n,cannotEmbed:i,onChange:function(t){return e.setState({url:t.target.value})},icon:c.f,DocTitle:__("Learn more about Google drawing embed"),docLink:"https://embedpress.com/docs/embed-google-drawings-wordpress/"}):wp.element.createElement(d,null,o?wp.element.createElement(l.a,null):null,wp.element.createElement("img",{src:p,onLoad:this.onLoad,style:{display:o?"none":""},width:"960",height:"720"}),wp.element.createElement(a.a,{showEditButton:p&&!i,switchBackToURLInput:this.switchBackToURLInput}))}}]),t}(m);t.a=f},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 o=n(30),i=(n.n(o),n(31)),a=(n.n(i),n(32)),l=n(0),__=wp.i18n.__,s=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["google-maps-block"]&&s("embedpress/google-maps-block",{title:__("Google Maps"),icon:l.h,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 o(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 i(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),s=n(3),c=n(4),p=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.__,m=wp.element,d=m.Component,f=m.Fragment,h=function(e){function t(){r(this,t);var e=o(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 i(t,e),u(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 o=/@(-?[0-9\.]+,-?[0-9\.]+).+,([0-9\.]+[a-z])/i,i=o.exec(r);i&&i.length>1&&i[1]&&i[2]?r="https://maps.google.com/maps?hl=en&ie=UTF8&ll="+i[1]+"&spn="+i[1]+"&t=m&z="+Math.round(parseInt(i[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,o=t.fetching,i=t.cannotEmbed,u=t.interactive,m=this.props.attributes.iframeSrc,d=__("Google Maps URL");return!m||r?wp.element.createElement(s.a,{label:d,onSubmit:this.setUrl,value:n,cannotEmbed:i,onChange:function(t){return e.setState({url:t.target.value})},icon:p.h,DocTitle:__("Learn more about Google map embed"),docLink:"https://embedpress.com/docs/embed-google-maps-wordpress/"}):wp.element.createElement(f,null,o?wp.element.createElement(l.a,null):null,wp.element.createElement(c.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:o?"none":""},frameborder:"0",width:"600",height:"450"}),!u&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!i,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(d);t.a=h},function(e,t,n){"use strict";var r=n(34),o=(n.n(r),n(35)),i=(n.n(o),n(36)),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.__,s=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["twitch-block"]&&s("embedpress/twitch-block",{title:__("Twitch"),icon:a.k,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:i.a,save:function(e){var t=e.attributes,n=t.iframeSrc,r=t.attrs,o=n+"&parent="+embedpressObj.twitch_host;return wp.element.createElement("figure",{className:"ose-twitch-presentation"},wp.element.createElement("iframe",l({src:o},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 o(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 i(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),s=n(3),c=n(4),p=n(0),u=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.__,d=wp.element,f=d.Component,h=d.Fragment,b=function(e){function t(){r(this,t);var e=o(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 i(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 o=this.decodeHTMLEntities(t),i=r.exec(o),a=i[1];console.log(a);var l,s="channel";switch(t.indexOf("clips.twitch.tv")>-1?s="clip":t.indexOf("/videos/")>-1?s="video":t.indexOf("#/chat$#")>-1&&(s="chat"),console.log(s),s){case"channel":o="https://player.twitch.tv/?channel="+a,l={scrolling:"no",frameborder:"0",allowfullscreen:"true"};break;case"clip":o="https://clips.twitch.tv/embed?clip="+a+"&autoplay=false",l={scrolling:"no",frameborder:"0",allowfullscreen:"true"};break;case"video":a=i[2],o="https://player.twitch.tv/?video="+a,l={scrolling:"no",frameborder:"0",allowfullscreen:"true"};break;case"chat":o="http://www.twitch.tv/embed/"+a+"/chat",l={scrolling:"yes",frameborder:"0",allowfullscreen:"true",id:"'"+a+"'"}}this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:o,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,o=t.fetching,i=t.cannotEmbed,m=t.interactive,d=this.props.attributes,f=d.iframeSrc,b=d.attrs,w=__("Twitch URL");if(!f||r)return wp.element.createElement(s.a,{label:w,onSubmit:this.setUrl,value:n,cannotEmbed:i,onChange:function(t){return e.setState({url:t.target.value})},icon:p.k,DocTitle:__("Learn more about twitch embed"),docLink:"https://embedpress.com/docs/embed-twitch-streams-chat/"});var y=f+"&parent="+embedpressObj.twitch_host;return wp.element.createElement(h,null,o?wp.element.createElement(l.a,null):null,wp.element.createElement(c.a,u({src:y},b,{onLoad:this.onLoad,style:{display:o?"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:f&&!i,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=b},function(e,t,n){"use strict";var r=n(38),o=(n.n(r),n(39)),i=(n.n(o),n(40)),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.l,category:"embedpress",keywords:[__("embedpress"),__("wistia")],supports:{align:["wide","full","right","left"],default:""},edit:i.a,save:function(e){return null},deprecated:[{attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:i.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 o(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 i(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),s=n(3),c=n(4),p=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.__,m=wp.element,d=m.Component,f=m.Fragment,h=function(e){function t(){r(this,t);var e=o(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 i(t,e),u(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\/(.*)/),o=r[1],i="//fast.wistia.net/embed/iframe/"+o;this.setState({editingURL:!1,cannotEmbed:!1,mediaId:o}),n({iframeSrc: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,o=t.fetching,i=t.cannotEmbed,u=t.interactive,m=this.props.attributes.iframeSrc,d=__("Wistia URL");return!m||r?wp.element.createElement(s.a,{label:d,onSubmit:this.setUrl,value:n,cannotEmbed:i,onChange:function(t){return e.setState({url:t.target.value})},icon:p.l,DocTitle:__("Learn more about Wistia embed"),docLink:"https://embedpress.com/docs/embed-wistia-videos-wordpress/"}):wp.element.createElement(f,null,o?wp.element.createElement(l.a,null):null,wp.element.createElement("div",{className:"ose-wistia",id:"wistia_"+this.state.mediaId},wp.element.createElement(c.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:o?"none":""},frameborder:"0",width:"600",height:"330"})),!u&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!i,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(d);t.a=h},function(e,t,n){"use strict";var r=n(42),o=(n.n(r),n(43)),i=(n.n(o),n(44)),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.m,category:"embedpress",keywords:[__("embedpress"),__("youtube")],supports:{align:["wide","full","right","left"],default:""},edit:i.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 o(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 i(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),s=n(3),c=n(4),p=n(0),u=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.__,d=wp.element,f=d.Component,h=d.Fragment,b=function(e){function t(){r(this,t);var e=o(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 i(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 o=r[1],i="https://www.youtube.com/embed/"+o,a=new URL(i);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: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,o=t.fetching,i=t.cannotEmbed,m=t.interactive,d=this.props.attributes,f=d.iframeSrc,b=d.attrs,w=__("YouTube URL");return!f||r?wp.element.createElement(s.a,{label:w,onSubmit:this.setUrl,value:n,cannotEmbed:i,onChange:function(t){return e.setState({url:t.target.value})},icon:p.m,DocTitle:__("Learn More About YouTube Embed"),docLink:"https://embedpress.com/docs/embed-youtube-wordpress/"}):wp.element.createElement(h,null,o?wp.element.createElement(l.a,null):null,wp.element.createElement(c.a,u({src:f},b,{onLoad:this.onLoad,style:{display:o?"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:f&&!i,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=b},function(e,t,n){"use strict";var r=n(46),o=(n.n(r),n(47)),i=(n.n(o),n(48)),a=n(0),l=n(5),__=wp.i18n.__,s=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks.document&&s("embedpress/document",{title:__("Document"),icon:a.b,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:i.a,save:function(e){var t=e.attributes,n=t.href,r=t.mime,o=t.id,i=t.width,a=t.height,s=t.powered_by,c="//view.officeapps.live.com/op/embed.aspx?src="+n;return wp.element.createElement("div",{className:"embedpress-document-embed ep-doc-"+o,style:{height:a,width:i}},"application/pdf"===r&&wp.element.createElement("div",{style:{height:a,width:i},className:"embedpress-embed-document-pdf "+o,"data-emid":o,"data-emsrc":n}),"application/pdf"!==r&&wp.element.createElement("iframe",{style:{height:a,width:i},src:c,mozallowfullscreen:"true",webkitallowfullscreen:"true"}),s&&wp.element.createElement("p",{className:"embedpress-el-powered"},"Powered By EmbedPress"),embedpressObj.embedpress_pro&&wp.element.createElement(l.a,{id:o}))}})},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 o(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 i(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(5),s=n(1),c=n(0),p=function(){function e(e,t){var n=[],_n=!0,r=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(_n=(i=a.next()).done)&&(n.push(i.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{!_n&&a.return&&a.return()}finally{if(r)throw o}}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.__,m=wp.blob,d=m.getBlobByURL,f=m.isBlobURL,h=m.revokeBlobURL,b=wp.blockEditor,w=b.BlockIcon,y=b.MediaPlaceholder,v=b.InspectorControls,g=wp.element,E=g.Component,L=g.Fragment,_=wp.components,k=_.RangeControl,O=_.PanelBody,S=_.ExternalLink,U=_.ToggleControl,C=["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"],x=function(e){function t(){r(this,t);var e=o(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 i(t,e),u(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,o=t.noticeOperations,i=n.href;if(f(i)){r({filesList:[d(i)],onFileChange:function(t){var n=p(t,1),r=n[0];return e.onSelectFile(r)},onError:function(t){e.setState({hasError:!0}),o.createErrorNotice(t)}}),h(i)}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,o=t.href,i=t.mime,p=t.id,u=t.width,m=t.height,d=t.powered_by,f=this.state,h=f.hasError,b=f.interactive,g=f.fetching,E=f.loadPdf;if(!o||h)return wp.element.createElement("div",{className:"embedpress-document-editmode"},wp.element.createElement(y,{icon:wp.element.createElement(w,{icon:c.b}),labels:{title:__("Document"),instructions:__("Upload a file or pick one from your media library for embed.")},onSelect:this.onSelectFile,notices:n,allowedTypes:C,onError:this.onUploadError},wp.element.createElement("div",{style:{width:"100%"},className:"components-placeholder__learn-more embedpress-doc-link"},wp.element.createElement(S,{href:"https://embedpress.com/docs/embed-document/"},"Learn more about Embedded document "))));var _="//view.officeapps.live.com/op/embed.aspx?src="+o;return wp.element.createElement(L,null,g&&"application/pdf"!==i?wp.element.createElement(s.a,null):null,wp.element.createElement("div",{className:"embedpress-document-embed ep-doc-"+p,style:{height:m,width:u}},"application/pdf"===i&&wp.element.createElement("div",{style:{height:m,width:u},className:"embedpress-embed-document-pdf "+p,"data-emid":p,"data-emsrc":o}),"application/pdf"!==i&&wp.element.createElement(a.a,{onMouseUponMouseUp:this.hideOverlay,style:{height:m,width:u,display:g||!E?"none":""},onLoad:this.onLoad,src:_}),!b&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),d&&wp.element.createElement("p",{className:"embedpress-el-powered"},"Powered By EmbedPress"),!g&&wp.element.createElement(l.a,{id:p})),wp.element.createElement(v,{key:"inspector"},wp.element.createElement(O,{title:__("Embed Size","embedpress")},wp.element.createElement(k,{label:__("Width","embedpress"),value:u||720,onChange:function(e){return r({width:e})},max:1e3,min:1}),wp.element.createElement(k,{label:__("Height","embedpress"),value:m,onChange:function(e){return r({height:e})},max:1e3,min:1}),wp.element.createElement(U,{label:__("Powered By"),onChange:function(e){return r({powered_by:e})},checked:d}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(E);t.a=x},function(e,t,n){"use strict";var r=n(50),o=(n.n(r),n(51)),i=(n.n(o),n(52)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks.embedpress&&l("embedpress/embedpress",{title:__("EmbedPress"),icon:a.d,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"},ispagination:{type:"boolean",default:!0},pagesize:{type:"number",default:6},columns:{type:"string",default:"2"},gapbetweenvideos:{type:"number",default:30}},edit:i.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(o,i){try{var a=t[o](i),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 o(e){function t(){w({editingURL:!0})}function n(e){var t=this;if(e&&e.preventDefault(),y){w({fetching:!0});(function(){var e=r(a.a.mark(function e(n){var r,o,i,l;return a.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=j?"&pagesize="+S:"",o=j?"&gapbetweenvideos="+C:"",i=!!j&&"&ispagination="+O,l=j?"&columns="+U:"",e.next=6,fetch(embedpressObj.site_url+"/wp-json/embedpress/v1/oembed/embedpress?url="+n+"&width="+k+"&height="+_+l+i+r+o).then(function(e){return e.json()});case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}},e,t)}));return function(_x){return e.apply(this,arguments)}})()(y).then(function(e){w({fetching:!1}),w(e.data&&404===e.data.status||!e.embed?{cannotEmbed:!0,editingURL:!0}:{embedHTML:e.embed,cannotEmbed:!1,editingURL:!1})})}else w({cannotEmbed:!0,fetching:!1,editingURL:!0})}var o=e.clientId,i=e.attributes,f=e.className,w=e.setAttributes,y=i.url,v=i.editingURL,g=i.fetching,E=i.cannotEmbed,L=(i.interactive,i.embedHTML),_=i.height,k=i.width,O=i.ispagination,S=i.pagesize,U=i.columns,C=i.gapbetweenvideos,x=d?d():[],j=y.match(/\/channel\/|\/c\/|\/user\/|(?:https?:\/\/)?(?:www\.)?(?:youtube.com\/)(\w+)[^?\/]*$/i);b(function(){var e=setTimeout(function(){S&&(L&&!v||g)&&n()},300);return function(){return clearTimeout(e)}},[S,v]);var R="repeat(auto-fit, minmax(250px, 1fr))";return U>0&&(R="repeat(auto-fit, minmax(calc("+100/U+"% - "+C+"px), 1fr))"),wp.element.createElement(h,null,wp.element.createElement(u.a,{attributes:i,setAttributes:w,isYTChannel:j}),(!L||v)&&!g&&wp.element.createElement("div",x,wp.element.createElement(c.a,{label:__("EmbedPress - Embed anything from 100+ sites"),onSubmit:n,value:y,cannotEmbed:E,onChange:function(e){return w({url:e.target.value})},icon:m.d,DocTitle:__("Learn more about EmbedPress"),docLink:"https://embedpress.com/docs/"})),g?wp.element.createElement("div",{className:f},wp.element.createElement(s.a,null)," "):null,L&&!v&&!g&&wp.element.createElement("figure",x,wp.element.createElement(p.a,{style:{display:g?"none":""},dangerouslySetInnerHTML:{__html:L}}),wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:w({interactive:!0})}),wp.element.createElement(l.a,{showEditButton:L&&!E,switchBackToURLInput:t})),wp.element.createElement("style",{style:{display:"none"}},"\n\t\t\t\t\t#block-"+o+" .ep-youtube__content__block .youtube__content__body .content__wrap{\n\t\t\t\t\t\tgap: "+C+"px!important;\n\t\t\t\t\t\tmargin-top: "+C+"px!important;\n\t\t\t\t\t} \n\t\t\t\t\t\n\t\t\t\t\t#block-"+o+" .ose-youtube{\n\t\t\t\t\t\twidth: "+k+"px!important;\n\t\t\t\t\t} \n\t\t\t\t\t#block-"+o+" .ose-youtube .ep-first-video iframe{\n\t\t\t\t\t\tmax-height: "+_+"px!important;\n\t\t\t\t\t} \n\n\t\t\t\t\t#block-"+o+" .ose-youtube > iframe{\n\t\t\t\t\t\theight: "+_+"px!important;\n\t\t\t\t\t\twidth: 100%;\n\t\t\t\t\t} \n\t\t\t\t\t\n\t\t\t\t\t#block-"+o+" .ep-youtube__content__block .youtube__content__body .content__wrap {\n\t\t\t\t\t\tgrid-template-columns: "+R+";\n\t\t\t\t\t}\n\n\t\t\t\t\t#block-"+o+" .ep-youtube__content__block .ep-youtube__content__pagination{\n\t\t\t\t\t\tdisplay: flex!important;\n\t\t\t\t\t}\n\n\t\t\t\t\t"+(!O&&"#block-"+o+" .ep-youtube__content__block .ep-youtube__content__pagination{\n\t\t\t\t\t\t\tdisplay: none!important;\n\t\t\t\t\t\t}")+"\n\n\t\t\t\t\t"))}t.a=o;var i=n(53),a=n.n(i),l=n(2),s=n(1),c=n(3),p=n(56),u=n(57),m=n(0),__=wp.i18n.__,d=wp.blockEditor.useBlockProps,f=wp.element,h=f.Fragment,b=f.useEffect},function(e,t,n){e.exports=n(54)},function(e,t,n){var r=function(){return this}()||Function("return this")(),o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,i=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(55),o)r.regeneratorRuntime=i;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 i=t&&t.prototype instanceof o?t:o,a=Object.create(i.prototype),l=new d(r||[]);return a._invoke=c(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 o(){}function i(){}function a(){}function l(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function s(e){function t(n,o,i,a){var l=r(e[n],e,o);if("throw"!==l.type){var s=l.arg,c=s.value;return c&&"object"===typeof c&&y.call(c,"__await")?Promise.resolve(c.__await).then(function(e){t("next",e,i,a)},function(e){t("throw",e,i,a)}):Promise.resolve(c).then(function(e){s.value=e,i(s)},a)}a(l.arg)}function n(e,n){function r(){return new Promise(function(r,o){t(e,n,r,o)})}return o=o?o.then(r,r):r()}var o;this._invoke=n}function c(e,t,n){var o=O;return function(i,a){if(o===U)throw new Error("Generator is already running");if(o===C){if("throw"===i)throw a;return h()}for(n.method=i,n.arg=a;;){var l=n.delegate;if(l){var s=p(l,n);if(s){if(s===x)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===O)throw o=C,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=U;var c=r(e,t,n);if("normal"===c.type){if(o=n.done?C:S,c.arg===x)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=C,n.method="throw",n.arg=c.arg)}}}function p(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,p(e,t),"throw"===t.method))return x;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return x}var o=r(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,x;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=b),t.delegate=null,x):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,x)}function u(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 d(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(u,this),this.reset(!0)}function f(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",_="object"===typeof e,k=t.regeneratorRuntime;if(k)return void(_&&(e.exports=k));k=t.regeneratorRuntime=_?e.exports:{},k.wrap=n;var O="suspendedStart",S="suspendedYield",U="executing",C="completed",x={},j={};j[g]=function(){return this};var R=Object.getPrototypeOf,M=R&&R(R(f([])));M&&M!==w&&y.call(M,g)&&(j=M);var T=a.prototype=o.prototype=Object.create(j);i.prototype=T.constructor=a,a.constructor=i,a[L]=i.displayName="GeneratorFunction",k.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===i||"GeneratorFunction"===(t.displayName||t.name))},k.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,L in e||(e[L]="GeneratorFunction")),e.prototype=Object.create(T),e},k.awrap=function(e){return{__await:e}},l(s.prototype),s.prototype[E]=function(){return this},k.AsyncIterator=s,k.async=function(e,t,r,o){var i=new s(n(e,t,r,o));return k.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},l(T),T[L]="Generator",T[g]=function(){return this},T.toString=function(){return"[object Generator]"},k.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}},k.values=f,d.prototype={constructor:d,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 i.type="throw",i.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 o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=y.call(o,"catchLoc"),l=y.call(o,"finallyLoc");if(a&&l){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.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 o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,x):this.complete(i)},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),x},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),x}},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 o=r.arg;m(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:f(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=b),x}}}(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 o(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 i(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(6),l=n.n(a),s=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},c=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}}(),p=wp.element.Component,u=function(e){function t(e){r(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.myRef=React.createRef(),n}return i(t,e),c(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",s({ref:this.myRef},this.props))}}]),t}(p);t.a=u},function(e,t,n){"use strict";function r(e){var t=e.attributes,n=e.setAttributes,r=e.isYTChannel,i=t.width,c=t.height;return wp.element.createElement(s,null,wp.element.createElement(l,{title:__("Customize Embedded Link")},wp.element.createElement("p",null,__("You can adjust the width and height of embedded content.")),wp.element.createElement(a,{label:__("Width"),value:i,onChange:function(e){return n({width:e})}}),wp.element.createElement(a,{label:__("Height"),value:c,onChange:function(e){return n({height:e})}}),r&&wp.element.createElement(o.a,{attributes:t,setAttributes:n})))}t.a=r;var o=n(58),__=wp.i18n.__,i=wp.components,a=i.TextControl,l=i.PanelBody,s=wp.blockEditor.InspectorControls},function(e,t,n){"use strict";function r(e){var t=e.attributes,n=e.setAttributes,r=t.ispagination,o=t.pagesize,c=t.columns,p=t.gapbetweenvideos;return wp.element.createElement("div",null,wp.element.createElement(i,{label:__("Video Per Page"),value:o,onChange:function(e){return n({pagesize:e})},type:"number",max:50}),wp.element.createElement("p",null,"Specify the number of videos you wish to show on each page."),wp.element.createElement(a,{label:__("Column"),value:c,options:[{label:"Auto",value:"auto"},{label:"2",value:"2"},{label:"3",value:"3"},{label:"4",value:"4"},{label:"6",value:"6"}],onChange:function(e){return n({columns:e})},__nextHasNoMarginBottom:!0}),wp.element.createElement(l,{label:__("Gap Between Videos"),value:p,onChange:function(e){return n({gapbetweenvideos:e})},min:1,max:100}),wp.element.createElement("p",null,"Specify the gap between youtube videos."),wp.element.createElement(s,{label:__("Pagination"),checked:r,onChange:function(e){return n({ispagination:e})}}))}t.a=r;var __=wp.i18n.__,o=wp.components,i=o.TextControl,a=o.SelectControl,l=o.RangeControl,s=o.ToggleControl},function(e,t,n){"use strict";var r=n(60),o=(n.n(r),n(61)),i=(n.n(o),n(62)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["embedpress-pdf"]&&l("embedpress/embedpress-pdf",{title:__("EmbedPress PDF"),icon:a.c,category:"embedpress",keywords:[__("embedpress"),__("pdf"),__("doc"),__("document")],supports:{align:["left","center","right"],default:""},attributes:{id:{type:"string"},href:{type:"string"},powered_by:{type:"boolean",default:!0},presentation:{type:"boolean",default:!0},position:{type:"string",default:"top"},download:{type:"boolean",default:!0},open:{type:"boolean",default:!1},copy_text:{type:"boolean",default:!0},toolbar:{type:"boolean",default:!0},doc_details:{type:"boolean",default:!0},doc_rotation:{type:"boolean",default:!0},width:{type:"number",default:600},height:{type:"number",default:450},fileName:{type:"string"},mime:{type:"string"}},edit:i.a,save:function(e){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 o(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 i(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(5),s=n(1),c=n(63),p=(n.n(c),n(64)),u=(n.n(p),n(0)),m=function(){function e(e,t){var n=[],_n=!0,r=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(_n=(i=a.next()).done)&&(n.push(i.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{!_n&&a.return&&a.return()}finally{if(r)throw o}}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")}}(),d=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.blob,h=f.getBlobByURL,b=f.isBlobURL,w=f.revokeBlobURL,y=wp.blockEditor,v=y.BlockIcon,g=y.MediaPlaceholder,E=y.InspectorControls,L=wp.element,_=L.Component,k=L.Fragment,O=wp.components,S=O.RangeControl,U=O.PanelBody,C=O.ExternalLink,x=O.ToggleControl,j=["application/pdf"],R=function(e){function t(){r(this,t);var e=o(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.iframeManupulate=e.iframeManupulate.bind(e),e.isPro=e.isPro.bind(e),e.addProAlert=e.addProAlert.bind(e),e.state={hasError:!1,fetching:!1,interactive:!1,loadPdf:!0},e}return i(t,e),d(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,o=t.noticeOperations,i=n.href;if(b(i)){r({filesList:[h(i)],onFileChange:function(t){var n=m(t,1),r=n[0];return e.onSelectFile(r)},onError:function(t){e.setState({hasError:!0}),o.createErrorNotice(t)}}),w(i)}this.props.attributes.href&&"application/pdf"===this.props.attributes.mime&&this.state.loadPdf&&this.setState({loadPdf:!1})}},{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}),void 0!==embedpressObj.branding&&void 0!==embedpressObj.branding.powered_by&&this.props.setAttributes({powered_by:embedpressObj.branding.powered_by}),"application/pdf"===e.mime&&this.setState({loadPdf:!1}))}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"isDisplay",value:function(e){return e=e?"block":"none"}},{key:"iframeManupulate",value:function(e,t,n,r,o,i,a,l,s,c){var p=this,u=setInterval(function(){var m="",d=document.querySelector(e).contentWindow.document,f=d.getElementsByTagName("head")[0],h=d.createElement("style");h.setAttribute("id","EBiframeStyleID"),!1===i&&(t=!1,r=!0,o=!1,a=!0,l=!1,s=!1,c=!1),i=p.isDisplay(i),t=p.isDisplay(t),r=p.isDisplay(r),o=p.isDisplay(o),a=p.isDisplay(a),"block"===a&&(a="all"),s=p.isDisplay(s),c=p.isDisplay(c),"top"===n?(n="top:0;bottom:auto;",m=""):(n="bottom:0;top:auto;",m="\n\t\t\t\t.findbar, .secondaryToolbar {\n\t\t\t\t\ttop: auto;bottom: 32px;\n\t\t\t\t}\n\t\t\t\t.doorHangerRight:after{\n\t\t\t\t\ttransform: rotate(180deg);\n\t\t\t\t\tbottom: -16px;\n\t\t\t\t}\n\t\t\t\t .doorHangerRight:before {\n\t\t\t\t\ttransform: rotate(180deg);\n\t\t\t\t\tbottom: -18px;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t.findbar.doorHanger:before {\n\t\t\t\t\tbottom: -18px;\n\t\t\t\t\ttransform: rotate(180deg);\n\t\t\t\t}\n\t\t\t\t.findbar.doorHanger:after {\n\t\t\t\t\tbottom: -16px;\n\t\t\t\t\ttransform: rotate(180deg);\n\t\t\t\t}\n\t\t\t"),h.textContent="\n\t\t\t.toolbar{\n\t\t\t\tdisplay: "+i+"!important;\n\t\t\t\tposition: absolute;\n\t\t\t\t"+n+"\n\n\t\t\t}\n\n\t\t\t#secondaryToolbar{\n\t\t\t\tdisplay: "+i+";\n\t\t\t}\n\t\t\t#secondaryPresentationMode, #toolbarViewerRight #presentationMode{\n\t\t\t\tdisplay: "+t+"!important;\n\t\t\t}\n\t\t\t#secondaryOpenFile, #toolbarViewerRight #openFile{\n\t\t\t\tdisplay: "+o+"!important;\n\t\t\t}\n\t\t\t#secondaryDownload, #secondaryPrint, #toolbarViewerRight #print, #toolbarViewerRight #download{\n\t\t\t\tdisplay: "+r+"!important;\n\t\t\t}\n\t\t\t#pageRotateCw{\n\t\t\t\tdisplay: "+c+"!important;\n\t\t\t}\n\t\t\t#pageRotateCcw{\n\t\t\t\tdisplay: "+c+"!important;\n\t\t\t}\n\t\t\t#documentProperties{\n\t\t\t\tdisplay: "+s+"!important;\n\t\t\t}\n\t\t\t.textLayer{\n\t\t\t\tuser-select: "+a+"!important;\n\t\t\t}\n\t\t\t\n\t\t\t"+m+"\n\t\t\t\n\t\t",f&&(d.getElementById("EBiframeStyleID")&&d.getElementById("EBiframeStyleID").remove(),f.appendChild(h),clearInterval(u))},100)}},{key:"addProAlert",value:function(e,t){t||(document.querySelector(".pro__alert__wrap").style.display="block")}},{key:"removeAlert",value:function(){document.querySelector(".pro__alert__wrap")&&document.querySelector(".pro__alert__wrap .pro__alert__card .button").addEventListener("click",function(e){document.querySelector(".pro__alert__wrap").style.display="none"})}},{key:"isPro",value:function(e){var t=document.createElement("div");return t.innerHTML='\n\t\t<div class="pro__alert__wrap" style="display: none;">\n\t\t\t<div class="pro__alert__card">\n\t\t\t\t<img src="../wp-content/plugins/embedpress/EmbedPress/Ends/Back/Settings/assets/img/alert.svg" alt=""/>\n\t\t\t\t\t<h2>Opps...</h2>\n\t\t\t\t\t<p>You need to upgrade to the <a href="https://wpdeveloper.com/in/upgrade-embedpress" target="_blank">Premium</a> Version to use this feature</p>\n\t\t\t\t\t<a href="#" class="button radius-10">Close</a>\n\t\t\t</div>\n\t\t</div>\n\t\t',t}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.noticeUI,o=t.setAttributes,i=(t.clientId,n.href),c=n.mime,m=n.id,d=n.width,f=n.height,h=n.powered_by,b=n.presentation,w=n.position,y=n.download,L=n.open,_=n.toolbar,O=n.copy_text,R=n.toolbar_position,M=n.doc_details,T=n.doc_rotation,P=this.state,F=P.hasError,B=P.interactive,D=P.fetching,N=P.loadPdf,I=embedpressObj.is_pro_plugin_active;if(I||(o({download:!0}),o({copy_text:!0})),document.querySelector(".pro__alert__wrap")||(document.querySelector("body").append(this.isPro("none")),this.removeAlert()),!i||F)return wp.element.createElement("div",{className:"embedpress-document-editmode"},wp.element.createElement(g,{icon:wp.element.createElement(v,{icon:u.c}),labels:{title:__("EmbedPress PDF"),instructions:__("Upload a PDF file or pick one from your media library for embed.")},onSelect:this.onSelectFile,notices:r,allowedTypes:j,onError:this.onUploadError},wp.element.createElement("div",{style:{width:"100%"},className:"components-placeholder__learn-more embedpress-doc-link"},wp.element.createElement(C,{href:"https://embedpress.com/docs/embed-document/"},"Learn more about Embedded document "))));var z="//view.officeapps.live.com/op/embed.aspx?src="+i,H=embedpressObj.pdf_renderer+"?file="+i;return this.iframeManupulate("."+m,b,w,y,L,_,O,R,M,T),wp.element.createElement(k,null,D&&"application/pdf"!==c?wp.element.createElement(s.a,null):null,wp.element.createElement("div",{className:"embedpress-document-embed ep-doc-"+m,style:{width:d,maxWidth:"100%"},id:"ep-doc-"+this.props.clientId},"application/pdf"===c&&wp.element.createElement("iframe",{powered_by:h,style:{height:f,width:d},className:"embedpress-embed-document-pdf "+m,"data-emid":m,"data-emsrc":i,src:H}),"application/pdf"!==c&&wp.element.createElement(a.a,{onMouseUponMouseUp:this.hideOverlay,style:{height:f,width:d,display:D||!N?"none":""},onLoad:this.onLoad,src:z}),!B&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),h&&wp.element.createElement("p",{className:"embedpress-el-powered"},"Powered By EmbedPress"),!D&&wp.element.createElement(l.a,{id:m})),wp.element.createElement(E,{key:"inspector"},wp.element.createElement(U,{title:__("Embed Size(px)","embedpress")},wp.element.createElement(S,{label:__("Width","embedpress"),value:d,onChange:function(e){return o({width:e})},max:1e3,min:1}),wp.element.createElement(S,{label:__("Height","embedpress"),value:f,onChange:function(e){return o({height:e})},max:1e3,min:1})),wp.element.createElement(U,{title:__("PDF Control Settings","embedpress"),initialOpen:!1},wp.element.createElement("div",{className:I?"pro-control-active":"pro-control",onClick:function(t){e.addProAlert(t,I)}},wp.element.createElement(x,{label:__("Toolbar","embedpress"),description:__("Show or Hide toolbar. Note: If you disable toolbar access then every toolbar options will be disabled","embedpress"),onChange:function(e){return o({toolbar:e})},checked:_,style:{marginTop:"30px"}}),!I&&wp.element.createElement("span",{className:"isPro"},__("pro","embedpress"))),_&&wp.element.createElement(k,null,wp.element.createElement(p.__experimentalToggleGroupControl,{label:"Toolbar Position",value:w,onChange:function(e){return o({position:e})}},wp.element.createElement(p.__experimentalToggleGroupControlOption,{value:"top",label:"Top"}),wp.element.createElement(p.__experimentalToggleGroupControlOption,{value:"bottom",label:"Bottom"})),wp.element.createElement(x,{label:__("Presentation Mode","embedpress"),onChange:function(e){return o({presentation:e})},checked:b}),wp.element.createElement("div",{className:I?"pro-control-active":"pro-control",onClick:function(t){e.addProAlert(t,I)}},wp.element.createElement(x,{label:__("Print/Download","embedpress"),onChange:function(e){return o({download:e})},checked:y}),!I&&wp.element.createElement("span",{className:"isPro"},__("pro","embedpress"))),wp.element.createElement("div",{className:I?"pro-control-active":"pro-control",onClick:function(t){e.addProAlert(t,I)}},wp.element.createElement(x,{label:__("Copy Text","embedpress"),onChange:function(e){return o({copy_text:e})},checked:O,className:"disabled"}),!I&&wp.element.createElement("span",{className:"isPro"},__("pro","embedpress"))),wp.element.createElement(x,{label:__("Rotation","embedpress"),onChange:function(e){return o({doc_rotation:e})},checked:T}),wp.element.createElement(x,{label:__("Properties","embedpress"),onChange:function(e){return o({doc_details:e})},checked:M}),wp.element.createElement(x,{label:__("Powered By","embedpress"),onChange:function(e){return o({powered_by:e})},checked:h})))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(_);t.a=R},function(e,t){e.exports=wp.apiFetch},function(e,t){e.exports=wp.components},function(e,t,n){"use strict";var r=n(66),o=(n.n(r),n(67)),i=(n.n(o),n(68)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["embedpress-calendar"]&&l("embedpress/embedpress-calendar",{title:__("Google Calendar"),icon:a.a,category:"embedpress",keywords:["embedpress","embed","calendar","calender","google","cal","events","task","birthday"],supports:{align:["left","center","right"],default:"center",lightBlockWrapper:!0},attributes:{id:{type:"string"},powered_by:{type:"boolean",default:!0},is_public:{type:"boolean",default:!0},width:{type:"string",default:600},height:{type:"string",default:600},url:{type:"string",default:""},embedHTML:{type:"string",default:""}},edit:i.a,save:function(e){return null}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){function t(){d({editingURL:!0,is_public:!0})}function n(e){e&&e.preventDefault(),w?(d({fetching:!0}),setTimeout(function(){d({fetching:!1,cannotEmbed:!1,editingURL:!1,embedHTML:"ready"})},500)):d({cannotEmbed:!0,fetching:!1,editingURL:!0})}var r=e.attributes,c=e.className,d=e.setAttributes,w=r.url,y=r.editingURL,v=r.fetching,g=r.cannotEmbed,E=r.embedHTML,L=r.height,_=r.width,k=r.powered_by,O=r.is_public,S=r.align,U=h?h({className:"align"+S,style:{width:_+"px",height:L+"px"}}):[];return wp.element.createElement(b,null,wp.element.createElement(f,null,wp.element.createElement(u,{title:__("Customize Embedded Calendar","embedpress")},wp.element.createElement("p",null,__("You can adjust the width and height of embedded content.","embedpress")),wp.element.createElement(p,{label:__("Width","embedpress"),value:_,onChange:function(e){return d({width:e})}}),wp.element.createElement(p,{label:__("Height","embedpress"),value:L,onChange:function(e){return d({height:e})}})),wp.element.createElement(u,{title:__("Calendar Type and other options","embedpress")},wp.element.createElement("p",null,__("You can show public calendar without any API key","embedpress")),wp.element.createElement(m,{label:__("Powered By","embedpress"),onChange:function(e){return d({powered_by:e})},checked:k}),wp.element.createElement(m,{label:__("Embedding Public Calendar","embedpress"),onChange:function(e){return d({is_public:e})},checked:O}))),(!E||y)&&!v&&O&&wp.element.createElement("div",U,wp.element.createElement(i.a,{label:__("Public Calendar Link"),onSubmit:n,value:w,cannotEmbed:g,onChange:function(e){return d({url:e.target.value})},icon:a.a,DocTitle:__("Learn more about EmbedPress Calendar"),docLink:"https://embedpress.com/docs/"})),v?wp.element.createElement("div",{className:c},wp.element.createElement(o.a,null)," "):null,E&&O&&!y&&!v&&wp.element.createElement("figure",U,O&&wp.element.createElement("iframe",{style:{display:v?"none":""},src:w,width:_,height:L}),k&&wp.element.createElement("p",{className:"embedpress-el-powered"},"Powered By EmbedPress"),wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:d({interactive:!0})}),wp.element.createElement(l.a,{showEditButton:E&&!g,switchBackToURLInput:t})),!O&&wp.element.createElement("figure",s({className:"testing"},U),wp.element.createElement("p",null,"Private Calendar will show in the frontend only.",wp.element.createElement("br",null),wp.element.createElement("strong",null,"Note: Private calendar needs EmbedPress Pro.")),k&&wp.element.createElement("p",{className:"embedpress-el-powered"},"Powered By EmbedPress"),wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:d({interactive:!0})}),wp.element.createElement(l.a,{showEditButton:E&&!g,switchBackToURLInput:t})))}t.a=r;var o=n(1),i=n(3),a=n(0),l=n(2),s=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},c=wp.components,p=c.TextControl,u=c.PanelBody,m=c.ToggleControl,d=wp.blockEditor,f=d.InspectorControls,h=d.useBlockProps,b=wp.element.Fragment,__=wp.i18n.__}]);
1
+ !function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.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=7)}([function(e,t,n){"use strict";n.d(t,"e",function(){return l}),n.d(t,"j",function(){return s}),n.d(t,"i",function(){return c}),n.d(t,"g",function(){return p}),n.d(t,"f",function(){return u}),n.d(t,"h",function(){return m}),n.d(t,"k",function(){return d}),n.d(t,"l",function(){return f}),n.d(t,"m",function(){return h}),n.d(t,"b",function(){return b}),n.d(t,"d",function(){return w}),n.d(t,"c",function(){return y}),n.d(t,"a",function(){return v});var r=wp.components,o=r.G,i=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(o,null,wp.element.createElement(i,{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(i,{style:{fill:"#BBDEFB"},d:"M 40 13 L 30 13 L 30 3 Z "}),wp.element.createElement(i,{style:{fill:"#1565C0"},d:"M 30 13 L 40 23 L 40 13 Z "}),wp.element.createElement(i,{style:{fill:"#E3F2FD"},d:"M 15 23 L 33 23 L 33 25 L 15 25 Z "}),wp.element.createElement(i,{style:{fill:"#E3F2FD"},d:"M 15 27 L 33 27 L 33 29 L 15 29 Z "}),wp.element.createElement(i,{style:{fill:"#E3F2FD"},d:"M 15 31 L 33 31 L 33 33 L 15 33 Z "}),wp.element.createElement(i,{style:{fill:"#E3F2FD"},d:"M 15 35 L 25 35 L 25 37 L 15 37 Z "}))),s=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(o,null,wp.element.createElement(i,{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(i,{d:"M17,6c-0.5444336,0-1.0367432-0.2190552-1.3973999-0.5719604L21,10.8254395V6H17z",style:{fill:"url(#SVGID_1_)"}}),wp.element.createElement(i,{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(i,{d:"M15,0v4c0,1.1045694,0.8954306,2,2,2h4L15,0z",style:{fill:"#FFE083"}}),wp.element.createElement(i,{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(i,{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(i,{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(i,{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_)"}}))),c=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(o,null,wp.element.createElement(i,{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(i,{style:{fill:"#C8E6C9"},d:"M 40 13 L 30 13 L 30 3 Z "}),wp.element.createElement(i,{style:{fill:"#2E7D32"},d:"M 30 13 L 40 23 L 40 13 Z "}),wp.element.createElement(i,{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 "}))),p=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"}," ",wp.element.createElement(o,null,wp.element.createElement(i,{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(i,{style:{fill:"#C2ABE1"},d:"M 40 13 L 30 13 L 30 3 Z "}),wp.element.createElement(i,{style:{fill:"#2E7D32"},d:"M 30 13 L 40 23 L 40 13 Z "}),wp.element.createElement(i,{style:{fill:"#E8F5E9"},d:"M 19 23 L 33 23 L 33 25 L 19 25 Z "}),wp.element.createElement(i,{style:{fill:"#E8F5E9"},d:"M 19 28 L 33 28 L 33 30 L 19 30 Z "}),wp.element.createElement(i,{style:{fill:"#E8F5E9"},d:"M 19 33 L 33 33 L 33 35 L 19 35 Z "}),wp.element.createElement(i,{style:{fill:"#E8F5E9"},d:"M 15 23 L 17 23 L 17 25 L 15 25 Z "}),wp.element.createElement(i,{style:{fill:"#E8F5E9"},d:"M 15 28 L 17 28 L 17 30 L 15 30 Z "}),wp.element.createElement(i,{style:{fill:"#E8F5E9"},d:"M 15 33 L 17 33 L 17 35 L 15 35 Z "}))),u=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"}," ",wp.element.createElement(o,null,wp.element.createElement(i,{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(i,{style:{fill:"#EEA6A0"},d:"M40,13H30V3L40,13z"}),wp.element.createElement(i,{style:{fill:"#B3433A"},d:"M30,13l10,10V13H30z"}),wp.element.createElement(i,{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(i,{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(o,null,wp.element.createElement(i,{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(i,{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(i,{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(i,{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(i,{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(i,{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(i,{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(i,{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 "}))),d=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"}," ",wp.element.createElement(o,null,wp.element.createElement(i,{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(i,{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(i,{style:{fill:"#8E24AA"},d:"M 32 25 L 27 25 L 27 15 L 32 15 Z "}),wp.element.createElement(i,{style:{fill:"#8E24AA"},d:"M 24 25 L 19 25 L 19 15 L 24 15 Z "}))),f=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 769 598",version:"1.1"}," ",wp.element.createElement(o,null,wp.element.createElement(i,{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(i,{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(i,{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"}))),y=wp.element.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 512 512"},wp.element.createElement("path",{fill:"#E2E5E7",d:"M128,0c-17.6,0-32,14.4-32,32v448c0,17.6,14.4,32,32,32h320c17.6,0,32-14.4,32-32V128L352,0H128z"}),wp.element.createElement("path",{fill:"#B0B7BD",d:"M384,128h96L352,0v96C352,113.6,366.4,128,384,128z"}),wp.element.createElement("polygon",{fill:"#CAD1D8",points:"480,224 384,128 480,128 "}),wp.element.createElement("path",{fill:"#F15642",d:"M416,416c0,8.8-7.2,16-16,16H48c-8.8,0-16-7.2-16-16V256c0-8.8,7.2-16,16-16h352c8.8,0,16,7.2,16,16 V416z"}),wp.element.createElement("g",null,wp.element.createElement("path",{fill:"#FFFFFF",d:"M101.744,303.152c0-4.224,3.328-8.832,8.688-8.832h29.552c16.64,0,31.616,11.136,31.616,32.48 c0,20.224-14.976,31.488-31.616,31.488h-21.36v16.896c0,5.632-3.584,8.816-8.192,8.816c-4.224,0-8.688-3.184-8.688-8.816V303.152z M118.624,310.432v31.872h21.36c8.576,0,15.36-7.568,15.36-15.504c0-8.944-6.784-16.368-15.36-16.368H118.624z"}),wp.element.createElement("path",{fill:"#FFFFFF",d:"M196.656,384c-4.224,0-8.832-2.304-8.832-7.92v-72.672c0-4.592,4.608-7.936,8.832-7.936h29.296 c58.464,0,57.184,88.528,1.152,88.528H196.656z M204.72,311.088V368.4h21.232c34.544,0,36.08-57.312,0-57.312H204.72z"}),wp.element.createElement("path",{fill:"#FFFFFF",d:"M303.872,312.112v20.336h32.624c4.608,0,9.216,4.608,9.216,9.072c0,4.224-4.608,7.68-9.216,7.68 h-32.624v26.864c0,4.48-3.184,7.92-7.664,7.92c-5.632,0-9.072-3.44-9.072-7.92v-72.672c0-4.592,3.456-7.936,9.072-7.936h44.912 c5.632,0,8.96,3.344,8.96,7.936c0,4.096-3.328,8.704-8.96,8.704h-37.248V312.112z"})),wp.element.createElement("path",{fill:"#CAD1D8",d:"M400,432H96v16h304c8.8,0,16-7.2,16-16v-16C416,424.8,408.8,432,400,432z"})),v=wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"186 38 76 76"},wp.element.createElement("path",{fill:"#fff",d:"M244 56h-40v40h40V56z"}),wp.element.createElement("path",{fill:"#EA4335",d:"M244 114l18-18h-18v18z"}),wp.element.createElement("path",{fill:"#FBBC04",d:"M262 56h-18v40h18V56z"}),wp.element.createElement("path",{fill:"#34A853",d:"M244 96h-40v18h40V96z"}),wp.element.createElement("path",{fill:"#188038",d:"M186 96v12c0 3.315 2.685 6 6 6h12V96h-18z"}),wp.element.createElement("path",{fill:"#1967D2",d:"M262 56V44c0-3.315-2.685-6-6-6h-12v18h18z"}),wp.element.createElement("path",{fill:"#4285F4",d:"M244 38h-52c-3.315 0 -6 2.685-6 6v52h18V56h40V38z"}),wp.element.createElement("path",{fill:"#4285F4",d:"M212.205 87.03c-1.495-1.01-2.53-2.485-3.095-4.435l3.47-1.43c.315 1.2.865 2.13 1.65 2.79.78.66 1.73.985 2.84.985 1.135 0 2.11-.345 2.925-1.035s1.225-1.57 1.225-2.635c0-1.09-.43-1.98-1.29-2.67-.86-.69-1.94-1.035-3.23-1.035h-2.005V74.13h1.8c1.11 0 2.045-.3 2.805-.9.76-.6 1.14-1.42 1.14-2.465 0 -.93-.34-1.67-1.02-2.225-.68-.555-1.54-.835-2.585-.835-1.02 0 -1.83.27-2.43.815a4.784 4.784 0 0 0 -1.31 2.005l-3.435-1.43c.455-1.29 1.29-2.43 2.515-3.415 1.225-.985 2.79-1.48 4.69-1.48 1.405 0 2.67.27 3.79.815 1.12.545 2 1.3 2.635 2.26.635.965.95 2.045.95 3.245 0 1.225-.295 2.26-.885 3.11-.59.85-1.315 1.5-2.175 1.955v.205a6.605 6.605 0 0 1 2.79 2.175c.725.975 1.09 2.14 1.09 3.5 0 1.36-.345 2.575-1.035 3.64s-1.645 1.905-2.855 2.515c-1.215.61-2.58.92-4.095.92-1.755.005-3.375-.5-4.87-1.51zM233.52 69.81l-3.81 2.755-1.905-2.89 6.835-4.93h2.62V88h-3.74V69.81z"}))},function(e,t,n){"use strict";var __=wp.i18n.__,r=wp.components.Spinner,o=function(){return wp.element.createElement("div",{className:"wp-block-embed is-loading text-center"},wp.element.createElement(r,null),wp.element.createElement("p",null,__("Embedding\u2026")))};t.a=o},function(e,t,n){"use strict";var __=wp.i18n.__,r=wp.element.Fragment,o=wp.components,i=o.Button,a=o.Toolbar,l=wp.blockEditor.BlockControls,s=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(i,{className:"components-toolbar__control",label:__("Edit URL"),icon:"edit",onClick:n}))))};t.a=s},function(e,t,n){"use strict";var r=n(12),o=n.n(r),i=wp.i18n,__=i.__,_x=i._x,a=wp.components,l=a.Button,s=a.Placeholder,c=a.ExternalLink,p=wp.blockEditor.BlockIcon,u=function(e){var t=e.icon,n=e.label,r=e.value,i=e.onSubmit,a=e.onChange,u=e.cannotEmbed,m=e.docLink,d=e.DocTitle,f=o()("wp-block-embed",{});return wp.element.createElement("div",null,wp.element.createElement(s,{icon:wp.element.createElement(p,{icon:t,showColors:!0}),label:n,className:f},wp.element.createElement("form",{onSubmit:i},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")),u&&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(c,{href:m},d))))};t.a=u},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 o(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 i(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(6),l=n.n(a),s=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},c=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}}(),p=wp.element.Component,u=function(e){function t(e){r(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.myRef=React.createRef(),n}return i(t,e),c(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",s({ref:this.myRef},this.props))}}]),t}(p);t.a=u},function(e,t,n){"use strict";function r(e){var t=embedpressObj.document_cta,n="",r="";if(embedpressObj.embedpress_pro&&t&&t.logo_url){var i=t.cta_url?t.cta_url:null,a=t.logo_xpos?t.logo_xpos+"%":"10%",l=t.logo_ypos?t.logo_ypos+"%":"10%",s=t.logo_opacity?t.logo_opacity/100:"10%",c=".ep-doc-"+e.id;return n="\n "+c+"{\n text-align: left;\n position: relative;\n }\n "+c+" .watermark {\n \t\tdisplay:inline-block;\n border: 0;\n position: absolute;\n bottom: "+l+";\n right: "+a+";\n max-width: 150px;\n max-height: 75px;\n opacity: "+s+";\n z-index: 5;\n -o-transition: opacity 0.5s ease-in-out;\n -moz-transition: opacity 0.5s ease-in-out;\n -webkit-transition: opacity 0.5s ease-in-out;\n transition: opacity 0.5s ease-in-out;\n }\n "+c+" .watermark:hover {\n\t\t\t\t\t opacity: 1;\n\t\t\t\t }\n\t\t",i&&""!==i&&(r+="<a href="+i+">"),r+='<img class="watermark" alt="" src="'+t.logo_url+'"/>',i&&""!==i&&(r+="</a>"),wp.element.createElement(o,null,wp.element.createElement("style",{dangerouslySetInnerHTML:{__html:n}}),wp.element.createElement("div",{dangerouslySetInnerHTML:{__html:r}}))}return""}var o=wp.element.Fragment;t.a=r},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(8),n(13),n(17),n(21),n(25),n(29),n(33),n(37),n(41),n(45),n(49),n(59),n(65);!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(9),o=(n.n(r),n(10)),i=(n.n(o),n(11)),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.e,category:"embedpress",keywords:[__("embedpress"),__("google"),__("docs")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:i.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 o(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 i(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),s=n(3),c=n(4),p=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.__,m=wp.element.Component,d=function(e){function t(){r(this,t);var e=o(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 i(t,e),u(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),o=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,i=o.exec(r),a=i[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,o=t.fetching,i=t.cannotEmbed,u=t.interactive,m=this.props.attributes.iframeSrc,d=__("Google Docs URL");return!m||r?wp.element.createElement("div",null,wp.element.createElement(s.a,{label:d,onSubmit:this.setUrl,value:n,cannotEmbed:i,onChange:function(t){return e.setState({url:t.target.value})},icon:p.e,DocTitle:__("Learn more about Google doc embed"),docLink:"https://embedpress.com/docs/embed-google-docs-wordpress/"})):wp.element.createElement("div",null,o?wp.element.createElement(l.a,null):null,wp.element.createElement(c.a,{src:m,onMouseUp:this.hideOverlay,onLoad:this.onLoad,style:{display:o?"none":""},frameBorder:"0",width:"600",height:"450"}),!u&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!i,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(m);t.a=d},function(e,t,n){var r,o;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)){if(r.length){var a=n.apply(null,r);a&&e.push(a)}}else if("object"===o){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var l in r)i.call(r,l)&&r[l]&&e.push(l)}}}return e.join(" ")}var i={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(o=function(){return n}.apply(t,r))&&(e.exports=o))}()},function(e,t,n){"use strict";var r=n(14),o=(n.n(r),n(15)),i=(n.n(o),n(16)),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.j,category:"embedpress",keywords:[__("embedpress"),__("google"),__("slides")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:i.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 o(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 i(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),s=n(3),c=n(4),p=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.__,m=wp.element,d=m.Component,f=m.Fragment,h=function(e){function t(){r(this,t);var e=o(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 i(t,e),u(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),o=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,i=o.exec(r),a=i[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,o=t.fetching,i=t.cannotEmbed,u=t.interactive,m=this.props.attributes.iframeSrc,d=__("Google Slides URL");return!m||r?wp.element.createElement(s.a,{label:d,onSubmit:this.setUrl,value:n,cannotEmbed:i,onChange:function(t){return e.setState({url:t.target.value})},icon:p.j,DocTitle:__("Learn more about Google slides embed"),docLink:"https://embedpress.com/docs/embed-google-slides-wordpress/"}):wp.element.createElement(f,null,o?wp.element.createElement(l.a,null):null,wp.element.createElement(c.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:o?"none":""},frameborder:"0",width:"600",height:"450"}),!u&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!i,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(d);t.a=h},function(e,t,n){"use strict";var r=n(18),o=(n.n(r),n(19)),i=(n.n(o),n(20)),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.i,category:"embedpress",keywords:[__("embedpress"),__("google"),__("sheets")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:i.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 o(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 i(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),s=n(3),c=n(4),p=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.__,m=wp.element,d=m.Component,f=m.Fragment,h=function(e){function t(){r(this,t);var e=o(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 i(t,e),u(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),o=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,i=o.exec(r),a=i[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 s=!1,c=!1;l.map(function(e){e.indexOf("widget=")?c=!0:e.indexOf("headers=")&&(s=!0)}),c||(r+="&widget=true"),s||(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,o=t.fetching,i=t.cannotEmbed,u=t.interactive,m=this.props.attributes.iframeSrc,d=__("Google Sheets URL");return!m||r?wp.element.createElement(s.a,{label:d,onSubmit:this.setUrl,value:n,cannotEmbed:i,onChange:function(t){return e.setState({url:t.target.value})},icon:p.i,DocTitle:__("Learn more about Google sheet embed"),docLink:"https://embedpress.com/docs/embed-google-sheets-wordpress/"}):wp.element.createElement(f,null,o?wp.element.createElement(l.a,null):null,wp.element.createElement(c.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:o?"none":""},frameborder:"0",width:"600",height:"450"}),!u&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!i,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(d);t.a=h},function(e,t,n){"use strict";var r=n(22),o=(n.n(r),n(23)),i=(n.n(o),n(24)),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.g,category:"embedpress",keywords:[__("embedpress"),__("google"),__("forms")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:i.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 o(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 i(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),s=n(3),c=n(4),p=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.__,m=wp.element,d=m.Component,f=m.Fragment,h=(wp.components.Disabled,function(e){function t(){r(this,t);var e=o(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 i(t,e),u(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),o=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,i=o.exec(r),a=i[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,o=t.fetching,i=t.cannotEmbed,u=t.interactive,m=this.props.attributes.iframeSrc,d=__("Google Forms URL");return!m||r?wp.element.createElement(s.a,{label:d,onSubmit:this.setUrl,value:n,cannotEmbed:i,onChange:function(t){return e.setState({url:t.target.value})},icon:p.g,DocTitle:__("Learn more about Google forms embed"),docLink:"https://embedpress.com/docs/embed-google-forms-wordpress/"}):wp.element.createElement(f,null,o?wp.element.createElement(l.a,null):null,wp.element.createElement(c.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:o?"none":""},frameborder:"0",width:"600",height:"450"}),!u&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!i,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(d));t.a=h},function(e,t,n){"use strict";var r=n(26),o=(n.n(r),n(27)),i=(n.n(o),n(28)),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.f,category:"embedpress",keywords:[__("embedpress"),__("google"),__("drawings")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:i.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 o(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 i(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),s=n(3),c=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.__,u=wp.element,m=u.Component,d=u.Fragment,f=function(e){function t(){r(this,t);var e=o(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 i(t,e),p(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),o=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,i=o.exec(r),a=i[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,o=t.fetching,i=t.cannotEmbed,p=this.props.attributes.iframeSrc,u=__("Google Drawings URL (Get your link from File -> Publish to the web -> Link)");return!p||r?wp.element.createElement(s.a,{label:u,onSubmit:this.setUrl,value:n,cannotEmbed:i,onChange:function(t){return e.setState({url:t.target.value})},icon:c.f,DocTitle:__("Learn more about Google drawing embed"),docLink:"https://embedpress.com/docs/embed-google-drawings-wordpress/"}):wp.element.createElement(d,null,o?wp.element.createElement(l.a,null):null,wp.element.createElement("img",{src:p,onLoad:this.onLoad,style:{display:o?"none":""},width:"960",height:"720"}),wp.element.createElement(a.a,{showEditButton:p&&!i,switchBackToURLInput:this.switchBackToURLInput}))}}]),t}(m);t.a=f},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 o=n(30),i=(n.n(o),n(31)),a=(n.n(i),n(32)),l=n(0),__=wp.i18n.__,s=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["google-maps-block"]&&s("embedpress/google-maps-block",{title:__("Google Maps"),icon:l.h,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 o(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 i(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),s=n(3),c=n(4),p=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.__,m=wp.element,d=m.Component,f=m.Fragment,h=function(e){function t(){r(this,t);var e=o(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 i(t,e),u(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 o=/@(-?[0-9\.]+,-?[0-9\.]+).+,([0-9\.]+[a-z])/i,i=o.exec(r);i&&i.length>1&&i[1]&&i[2]?r="https://maps.google.com/maps?hl=en&ie=UTF8&ll="+i[1]+"&spn="+i[1]+"&t=m&z="+Math.round(parseInt(i[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,o=t.fetching,i=t.cannotEmbed,u=t.interactive,m=this.props.attributes.iframeSrc,d=__("Google Maps URL");return!m||r?wp.element.createElement(s.a,{label:d,onSubmit:this.setUrl,value:n,cannotEmbed:i,onChange:function(t){return e.setState({url:t.target.value})},icon:p.h,DocTitle:__("Learn more about Google map embed"),docLink:"https://embedpress.com/docs/embed-google-maps-wordpress/"}):wp.element.createElement(f,null,o?wp.element.createElement(l.a,null):null,wp.element.createElement(c.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:o?"none":""},frameborder:"0",width:"600",height:"450"}),!u&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!i,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(d);t.a=h},function(e,t,n){"use strict";var r=n(34),o=(n.n(r),n(35)),i=(n.n(o),n(36)),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.__,s=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["twitch-block"]&&s("embedpress/twitch-block",{title:__("Twitch"),icon:a.k,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:i.a,save:function(e){var t=e.attributes,n=t.iframeSrc,r=t.attrs,o=n+"&parent="+embedpressObj.twitch_host;return wp.element.createElement("figure",{className:"ose-twitch-presentation"},wp.element.createElement("iframe",l({src:o},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 o(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 i(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),s=n(3),c=n(4),p=n(0),u=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.__,d=wp.element,f=d.Component,h=d.Fragment,b=function(e){function t(){r(this,t);var e=o(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 i(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 o=this.decodeHTMLEntities(t),i=r.exec(o),a=i[1];console.log(a);var l,s="channel";switch(t.indexOf("clips.twitch.tv")>-1?s="clip":t.indexOf("/videos/")>-1?s="video":t.indexOf("#/chat$#")>-1&&(s="chat"),console.log(s),s){case"channel":o="https://player.twitch.tv/?channel="+a,l={scrolling:"no",frameborder:"0",allowfullscreen:"true"};break;case"clip":o="https://clips.twitch.tv/embed?clip="+a+"&autoplay=false",l={scrolling:"no",frameborder:"0",allowfullscreen:"true"};break;case"video":a=i[2],o="https://player.twitch.tv/?video="+a,l={scrolling:"no",frameborder:"0",allowfullscreen:"true"};break;case"chat":o="http://www.twitch.tv/embed/"+a+"/chat",l={scrolling:"yes",frameborder:"0",allowfullscreen:"true",id:"'"+a+"'"}}this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:o,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,o=t.fetching,i=t.cannotEmbed,m=t.interactive,d=this.props.attributes,f=d.iframeSrc,b=d.attrs,w=__("Twitch URL");if(!f||r)return wp.element.createElement(s.a,{label:w,onSubmit:this.setUrl,value:n,cannotEmbed:i,onChange:function(t){return e.setState({url:t.target.value})},icon:p.k,DocTitle:__("Learn more about twitch embed"),docLink:"https://embedpress.com/docs/embed-twitch-streams-chat/"});var y=f+"&parent="+embedpressObj.twitch_host;return wp.element.createElement(h,null,o?wp.element.createElement(l.a,null):null,wp.element.createElement(c.a,u({src:y},b,{onLoad:this.onLoad,style:{display:o?"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:f&&!i,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=b},function(e,t,n){"use strict";var r=n(38),o=(n.n(r),n(39)),i=(n.n(o),n(40)),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.l,category:"embedpress",keywords:[__("embedpress"),__("wistia")],supports:{align:["wide","full","right","left"],default:""},edit:i.a,save:function(e){return null},deprecated:[{attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:i.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 o(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 i(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),s=n(3),c=n(4),p=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.__,m=wp.element,d=m.Component,f=m.Fragment,h=function(e){function t(){r(this,t);var e=o(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 i(t,e),u(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\/(.*)/),o=r[1],i="//fast.wistia.net/embed/iframe/"+o;this.setState({editingURL:!1,cannotEmbed:!1,mediaId:o}),n({iframeSrc: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,o=t.fetching,i=t.cannotEmbed,u=t.interactive,m=this.props.attributes.iframeSrc,d=__("Wistia URL");return!m||r?wp.element.createElement(s.a,{label:d,onSubmit:this.setUrl,value:n,cannotEmbed:i,onChange:function(t){return e.setState({url:t.target.value})},icon:p.l,DocTitle:__("Learn more about Wistia embed"),docLink:"https://embedpress.com/docs/embed-wistia-videos-wordpress/"}):wp.element.createElement(f,null,o?wp.element.createElement(l.a,null):null,wp.element.createElement("div",{className:"ose-wistia",id:"wistia_"+this.state.mediaId},wp.element.createElement(c.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:o?"none":""},frameborder:"0",width:"600",height:"330"})),!u&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!i,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(d);t.a=h},function(e,t,n){"use strict";var r=n(42),o=(n.n(r),n(43)),i=(n.n(o),n(44)),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.m,category:"embedpress",keywords:[__("embedpress"),__("youtube")],supports:{align:["wide","full","right","left"],default:""},edit:i.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 o(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 i(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),s=n(3),c=n(4),p=n(0),u=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.__,d=wp.element,f=d.Component,h=d.Fragment,b=function(e){function t(){r(this,t);var e=o(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 i(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 o=r[1],i="https://www.youtube.com/embed/"+o,a=new URL(i);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: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,o=t.fetching,i=t.cannotEmbed,m=t.interactive,d=this.props.attributes,f=d.iframeSrc,b=d.attrs,w=__("YouTube URL");return!f||r?wp.element.createElement(s.a,{label:w,onSubmit:this.setUrl,value:n,cannotEmbed:i,onChange:function(t){return e.setState({url:t.target.value})},icon:p.m,DocTitle:__("Learn More About YouTube Embed"),docLink:"https://embedpress.com/docs/embed-youtube-wordpress/"}):wp.element.createElement(h,null,o?wp.element.createElement(l.a,null):null,wp.element.createElement(c.a,u({src:f},b,{onLoad:this.onLoad,style:{display:o?"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:f&&!i,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=b},function(e,t,n){"use strict";var r=n(46),o=(n.n(r),n(47)),i=(n.n(o),n(48)),a=n(0),l=n(5),__=wp.i18n.__,s=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks.document&&s("embedpress/document",{title:__("Document"),icon:a.b,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:i.a,save:function(e){var t=e.attributes,n=t.href,r=t.mime,o=t.id,i=t.width,a=t.height,s=t.powered_by,c="//view.officeapps.live.com/op/embed.aspx?src="+n;return wp.element.createElement("div",{className:"embedpress-document-embed ep-doc-"+o,style:{height:a,width:i}},"application/pdf"===r&&wp.element.createElement("div",{style:{height:a,width:i},className:"embedpress-embed-document-pdf "+o,"data-emid":o,"data-emsrc":n}),"application/pdf"!==r&&wp.element.createElement("iframe",{style:{height:a,width:i},src:c,mozallowfullscreen:"true",webkitallowfullscreen:"true"}),s&&wp.element.createElement("p",{className:"embedpress-el-powered"},"Powered By EmbedPress"),embedpressObj.embedpress_pro&&wp.element.createElement(l.a,{id:o}))}})},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 o(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 i(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(5),s=n(1),c=n(0),p=function(){function e(e,t){var n=[],_n=!0,r=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(_n=(i=a.next()).done)&&(n.push(i.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{!_n&&a.return&&a.return()}finally{if(r)throw o}}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.__,m=wp.blob,d=m.getBlobByURL,f=m.isBlobURL,h=m.revokeBlobURL,b=wp.blockEditor,w=b.BlockIcon,y=b.MediaPlaceholder,v=b.InspectorControls,g=wp.element,E=g.Component,L=g.Fragment,_=wp.components,k=_.RangeControl,O=_.PanelBody,S=_.ExternalLink,U=_.ToggleControl,C=["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"],x=function(e){function t(){r(this,t);var e=o(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 i(t,e),u(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,o=t.noticeOperations,i=n.href;if(f(i)){r({filesList:[d(i)],onFileChange:function(t){var n=p(t,1),r=n[0];return e.onSelectFile(r)},onError:function(t){e.setState({hasError:!0}),o.createErrorNotice(t)}}),h(i)}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,o=t.href,i=t.mime,p=t.id,u=t.width,m=t.height,d=t.powered_by,f=this.state,h=f.hasError,b=f.interactive,g=f.fetching,E=f.loadPdf;if(!o||h)return wp.element.createElement("div",{className:"embedpress-document-editmode"},wp.element.createElement(y,{icon:wp.element.createElement(w,{icon:c.b}),labels:{title:__("Document"),instructions:__("Upload a file or pick one from your media library for embed.")},onSelect:this.onSelectFile,notices:n,allowedTypes:C,onError:this.onUploadError},wp.element.createElement("div",{style:{width:"100%"},className:"components-placeholder__learn-more embedpress-doc-link"},wp.element.createElement(S,{href:"https://embedpress.com/docs/embed-document/"},"Learn more about Embedded document "))));var _="//view.officeapps.live.com/op/embed.aspx?src="+o;return wp.element.createElement(L,null,g&&"application/pdf"!==i?wp.element.createElement(s.a,null):null,wp.element.createElement("div",{className:"embedpress-document-embed ep-doc-"+p,style:{height:m,width:u}},"application/pdf"===i&&wp.element.createElement("div",{style:{height:m,width:u},className:"embedpress-embed-document-pdf "+p,"data-emid":p,"data-emsrc":o}),"application/pdf"!==i&&wp.element.createElement(a.a,{onMouseUponMouseUp:this.hideOverlay,style:{height:m,width:u,display:g||!E?"none":""},onLoad:this.onLoad,src:_}),!b&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),d&&wp.element.createElement("p",{className:"embedpress-el-powered"},"Powered By EmbedPress"),!g&&wp.element.createElement(l.a,{id:p})),wp.element.createElement(v,{key:"inspector"},wp.element.createElement(O,{title:__("Embed Size","embedpress")},wp.element.createElement(k,{label:__("Width","embedpress"),value:u||720,onChange:function(e){return r({width:e})},max:1e3,min:1}),wp.element.createElement(k,{label:__("Height","embedpress"),value:m,onChange:function(e){return r({height:e})},max:1e3,min:1}),wp.element.createElement(U,{label:__("Powered By"),onChange:function(e){return r({powered_by:e})},checked:d}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(E);t.a=x},function(e,t,n){"use strict";var r=n(50),o=(n.n(r),n(51)),i=(n.n(o),n(52)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks.embedpress&&l("embedpress/embedpress",{title:__("EmbedPress"),icon:a.d,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"},ispagination:{type:"boolean",default:!0},pagesize:{type:"number",default:6},columns:{type:"string",default:"2"},gapbetweenvideos:{type:"number",default:30}},edit:i.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(o,i){try{var a=t[o](i),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 o(e){function t(){w({editingURL:!0})}function n(e){var t=this;if(e&&e.preventDefault(),y){w({fetching:!0});(function(){var e=r(a.a.mark(function e(n){var r,o,i,l,s;return a.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=j?"&pagesize="+S:"",o=j?"&gapbetweenvideos="+C:"",i=j?"&ispagination="+O:"",l=j?"&columns="+U:"",s=n.split("#"),s=encodeURIComponent(s[0]),e.next=8,fetch(embedpressObj.site_url+"/wp-json/embedpress/v1/oembed/embedpress?url="+s+"&width="+k+"&height="+_+l+i+r+o).then(function(e){return e.json()});case 8:return e.abrupt("return",e.sent);case 9:case"end":return e.stop()}},e,t)}));return function(_x){return e.apply(this,arguments)}})()(y).then(function(e){w({fetching:!1}),w(e.data&&404===e.data.status||!e.embed?{cannotEmbed:!0,editingURL:!0}:{embedHTML:e.embed,cannotEmbed:!1,editingURL:!1})})}else w({cannotEmbed:!0,fetching:!1,editingURL:!0})}var o=e.clientId,i=e.attributes,f=e.className,w=e.setAttributes,y=i.url,v=i.editingURL,g=i.fetching,E=i.cannotEmbed,L=(i.interactive,i.embedHTML),_=i.height,k=i.width,O=i.ispagination,S=i.pagesize,U=i.columns,C=i.gapbetweenvideos,x=d?d():[],j=y.match(/\/channel\/|\/c\/|\/user\/|(?:https?:\/\/)?(?:www\.)?(?:youtube.com\/)(\w+)[^?\/]*$/i);b(function(){var e=setTimeout(function(){S&&(L&&!v||g)&&n()},300);return function(){return clearTimeout(e)}},[S,v]);var R="repeat(auto-fit, minmax(250px, 1fr))";return U>0&&(R="repeat(auto-fit, minmax(calc("+100/U+"% - "+C+"px), 1fr))"),wp.element.createElement(h,null,wp.element.createElement(u.a,{attributes:i,setAttributes:w,isYTChannel:j}),(!L||v)&&!g&&wp.element.createElement("div",x,wp.element.createElement(c.a,{label:__("EmbedPress - Embed anything from 150+ sites"),onSubmit:n,value:y,cannotEmbed:E,onChange:function(e){return w({url:e.target.value})},icon:m.d,DocTitle:__("Learn more about EmbedPress"),docLink:"https://embedpress.com/docs/"})),g?wp.element.createElement("div",{className:f},wp.element.createElement(s.a,null)," "):null,L&&!v&&!g&&wp.element.createElement("figure",x,wp.element.createElement(p.a,{style:{display:g?"none":""},dangerouslySetInnerHTML:{__html:L}}),wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:w({interactive:!0})}),wp.element.createElement(l.a,{showEditButton:L&&!E,switchBackToURLInput:t})),wp.element.createElement("style",{style:{display:"none"}},"\n\t\t\t\t\t#block-"+o+" .ose-embedpress-responsive{\n\t\t\t\t\t\twidth: "+k+"px!important;\n\t\t\t\t\t\theight: "+_+"px!important\n\t\t\t\t\t}\n\t\t\t\t\t#block-"+o+" iframe{\n\t\t\t\t\t\twidth: "+k+"px!important;\n\t\t\t\t\t\theight: "+_+"px!important\n\t\t\t\t\t}\n\n\t\t\t\t\t#block-"+o+" .ep-youtube__content__block .youtube__content__body .content__wrap{\n\t\t\t\t\t\tgap: "+C+"px!important;\n\t\t\t\t\t\tmargin-top: "+C+"px!important;\n\t\t\t\t\t}\n\n\t\t\t\t\t#block-"+o+" .ose-youtube{\n\t\t\t\t\t\twidth: "+k+"px!important;\n\t\t\t\t\t}\n\t\t\t\t\t#block-"+o+" .ose-youtube .ep-first-video iframe{\n\t\t\t\t\t\tmax-height: "+_+"px!important;\n\t\t\t\t\t}\n\n\t\t\t\t\t#block-"+o+" .ose-youtube > iframe{\n\t\t\t\t\t\theight: "+_+"px!important;\n\t\t\t\t\t\twidth: 100%;\n\t\t\t\t\t}\n\n\t\t\t\t\t#block-"+o+" .ep-youtube__content__block .youtube__content__body .content__wrap {\n\t\t\t\t\t\tgrid-template-columns: "+R+";\n\t\t\t\t\t}\n\n\t\t\t\t\t#block-"+o+" .ep-youtube__content__block .ep-youtube__content__pagination{\n\t\t\t\t\t\tdisplay: flex!important;\n\t\t\t\t\t}\n\n\t\t\t\t\t"+(!O&&"#block-"+o+" .ep-youtube__content__block .ep-youtube__content__pagination{\n\t\t\t\t\t\t\tdisplay: none!important;\n\t\t\t\t\t\t}")+"\n\n\t\t\t\t\t"))}t.a=o;var i=n(53),a=n.n(i),l=n(2),s=n(1),c=n(3),p=n(56),u=n(57),m=n(0),__=wp.i18n.__,d=wp.blockEditor.useBlockProps,f=wp.element,h=f.Fragment,b=f.useEffect},function(e,t,n){e.exports=n(54)},function(e,t,n){var r=function(){return this}()||Function("return this")(),o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,i=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(55),o)r.regeneratorRuntime=i;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 i=t&&t.prototype instanceof o?t:o,a=Object.create(i.prototype),l=new d(r||[]);return a._invoke=c(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 o(){}function i(){}function a(){}function l(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function s(e){function t(n,o,i,a){var l=r(e[n],e,o);if("throw"!==l.type){var s=l.arg,c=s.value;return c&&"object"===typeof c&&y.call(c,"__await")?Promise.resolve(c.__await).then(function(e){t("next",e,i,a)},function(e){t("throw",e,i,a)}):Promise.resolve(c).then(function(e){s.value=e,i(s)},a)}a(l.arg)}function n(e,n){function r(){return new Promise(function(r,o){t(e,n,r,o)})}return o=o?o.then(r,r):r()}var o;this._invoke=n}function c(e,t,n){var o=O;return function(i,a){if(o===U)throw new Error("Generator is already running");if(o===C){if("throw"===i)throw a;return h()}for(n.method=i,n.arg=a;;){var l=n.delegate;if(l){var s=p(l,n);if(s){if(s===x)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===O)throw o=C,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=U;var c=r(e,t,n);if("normal"===c.type){if(o=n.done?C:S,c.arg===x)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=C,n.method="throw",n.arg=c.arg)}}}function p(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,p(e,t),"throw"===t.method))return x;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return x}var o=r(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,x;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=b),t.delegate=null,x):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,x)}function u(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 d(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(u,this),this.reset(!0)}function f(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",_="object"===typeof e,k=t.regeneratorRuntime;if(k)return void(_&&(e.exports=k));k=t.regeneratorRuntime=_?e.exports:{},k.wrap=n;var O="suspendedStart",S="suspendedYield",U="executing",C="completed",x={},j={};j[g]=function(){return this};var R=Object.getPrototypeOf,M=R&&R(R(f([])));M&&M!==w&&y.call(M,g)&&(j=M);var T=a.prototype=o.prototype=Object.create(j);i.prototype=T.constructor=a,a.constructor=i,a[L]=i.displayName="GeneratorFunction",k.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===i||"GeneratorFunction"===(t.displayName||t.name))},k.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,L in e||(e[L]="GeneratorFunction")),e.prototype=Object.create(T),e},k.awrap=function(e){return{__await:e}},l(s.prototype),s.prototype[E]=function(){return this},k.AsyncIterator=s,k.async=function(e,t,r,o){var i=new s(n(e,t,r,o));return k.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},l(T),T[L]="Generator",T[g]=function(){return this},T.toString=function(){return"[object Generator]"},k.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}},k.values=f,d.prototype={constructor:d,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 i.type="throw",i.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 o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=y.call(o,"catchLoc"),l=y.call(o,"finallyLoc");if(a&&l){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.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 o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,x):this.complete(i)},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),x},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),x}},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 o=r.arg;m(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:f(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=b),x}}}(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 o(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 i(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(6),l=n.n(a),s=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},c=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}}(),p=wp.element.Component,u=function(e){function t(e){r(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.myRef=React.createRef(),n}return i(t,e),c(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",s({ref:this.myRef},this.props))}}]),t}(p);t.a=u},function(e,t,n){"use strict";function r(e){var t=e.attributes,n=e.setAttributes,r=e.isYTChannel,i=t.width,c=t.height;return wp.element.createElement(s,null,wp.element.createElement(l,{title:__("Customize Embedded Link")},wp.element.createElement("p",null,__("You can adjust the width and height of embedded content.")),wp.element.createElement(a,{label:__("Width"),value:i,onChange:function(e){return n({width:e})}}),wp.element.createElement(a,{label:__("Height"),value:c,onChange:function(e){return n({height:e})}}),r&&wp.element.createElement(o.a,{attributes:t,setAttributes:n})))}t.a=r;var o=n(58),__=wp.i18n.__,i=wp.components,a=i.TextControl,l=i.PanelBody,s=wp.blockEditor.InspectorControls},function(e,t,n){"use strict";function r(e){var t=e.attributes,n=e.setAttributes,r=t.ispagination,o=t.pagesize,c=t.columns,p=t.gapbetweenvideos;return wp.element.createElement("div",null,wp.element.createElement(i,{label:__("Video Per Page"),value:o,onChange:function(e){return n({pagesize:e})},type:"number",max:50}),wp.element.createElement("p",null,"Specify the number of videos you wish to show on each page."),wp.element.createElement(a,{label:__("Column"),value:c,options:[{label:"Auto",value:"auto"},{label:"2",value:"2"},{label:"3",value:"3"},{label:"4",value:"4"},{label:"6",value:"6"}],onChange:function(e){return n({columns:e})},__nextHasNoMarginBottom:!0}),wp.element.createElement(l,{label:__("Gap Between Videos"),value:p,onChange:function(e){return n({gapbetweenvideos:e})},min:1,max:100}),wp.element.createElement("p",null,"Specify the gap between youtube videos."),wp.element.createElement(s,{label:__("Pagination"),checked:r,onChange:function(e){return n({ispagination:e})}}))}t.a=r;var __=wp.i18n.__,o=wp.components,i=o.TextControl,a=o.SelectControl,l=o.RangeControl,s=o.ToggleControl},function(e,t,n){"use strict";var r=n(60),o=(n.n(r),n(61)),i=(n.n(o),n(62)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["embedpress-pdf"]&&l("embedpress/embedpress-pdf",{title:__("EmbedPress PDF"),icon:a.c,category:"embedpress",keywords:[__("embedpress"),__("pdf"),__("doc"),__("document")],supports:{align:["left","center","right"],default:""},attributes:{id:{type:"string"},href:{type:"string"},powered_by:{type:"boolean",default:!0},presentation:{type:"boolean",default:!0},position:{type:"string",default:"top"},download:{type:"boolean",default:!0},open:{type:"boolean",default:!1},copy_text:{type:"boolean",default:!0},toolbar:{type:"boolean",default:!0},doc_details:{type:"boolean",default:!0},doc_rotation:{type:"boolean",default:!0},width:{type:"number",default:600},height:{type:"number",default:450},fileName:{type:"string"},mime:{type:"string"}},edit:i.a,save:function(e){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 o(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 i(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(5),s=n(1),c=n(63),p=(n.n(c),n(64)),u=(n.n(p),n(0)),m=function(){function e(e,t){var n=[],_n=!0,r=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(_n=(i=a.next()).done)&&(n.push(i.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{!_n&&a.return&&a.return()}finally{if(r)throw o}}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")}}(),d=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.blob,h=f.getBlobByURL,b=f.isBlobURL,w=f.revokeBlobURL,y=wp.blockEditor,v=y.BlockIcon,g=y.MediaPlaceholder,E=y.InspectorControls,L=wp.element,_=L.Component,k=L.Fragment,O=wp.components,S=O.RangeControl,U=O.PanelBody,C=O.ExternalLink,x=O.ToggleControl,j=["application/pdf"],R=function(e){function t(){r(this,t);var e=o(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.iframeManupulate=e.iframeManupulate.bind(e),e.isPro=e.isPro.bind(e),e.addProAlert=e.addProAlert.bind(e),e.state={hasError:!1,fetching:!1,interactive:!1,loadPdf:!0},e}return i(t,e),d(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,o=t.noticeOperations,i=n.href;if(b(i)){r({filesList:[h(i)],onFileChange:function(t){var n=m(t,1),r=n[0];return e.onSelectFile(r)},onError:function(t){e.setState({hasError:!0}),o.createErrorNotice(t)}}),w(i)}this.props.attributes.href&&"application/pdf"===this.props.attributes.mime&&this.state.loadPdf&&this.setState({loadPdf:!1})}},{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}),void 0!==embedpressObj.branding&&void 0!==embedpressObj.branding.powered_by&&this.props.setAttributes({powered_by:embedpressObj.branding.powered_by}),"application/pdf"===e.mime&&this.setState({loadPdf:!1}))}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"isDisplay",value:function(e){return e=e?"block":"none"}},{key:"iframeManupulate",value:function(e,t,n,r,o,i,a,l,s,c){var p=this,u=setInterval(function(){var m="",d=document.querySelector(e).contentWindow.document,f=d.getElementsByTagName("head")[0],h=d.createElement("style");h.setAttribute("id","EBiframeStyleID"),!1===i&&(t=!1,r=!0,o=!1,a=!0,l=!1,s=!1,c=!1),i=p.isDisplay(i),t=p.isDisplay(t),r=p.isDisplay(r),o=p.isDisplay(o),a=p.isDisplay(a),"block"===a&&(a="all"),s=p.isDisplay(s),c=p.isDisplay(c),"top"===n?(n="top:0;bottom:auto;",m=""):(n="bottom:0;top:auto;",m="\n\t\t\t\t.findbar, .secondaryToolbar {\n\t\t\t\t\ttop: auto;bottom: 32px;\n\t\t\t\t}\n\t\t\t\t.doorHangerRight:after{\n\t\t\t\t\ttransform: rotate(180deg);\n\t\t\t\t\tbottom: -16px;\n\t\t\t\t}\n\t\t\t\t .doorHangerRight:before {\n\t\t\t\t\ttransform: rotate(180deg);\n\t\t\t\t\tbottom: -18px;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t.findbar.doorHanger:before {\n\t\t\t\t\tbottom: -18px;\n\t\t\t\t\ttransform: rotate(180deg);\n\t\t\t\t}\n\t\t\t\t.findbar.doorHanger:after {\n\t\t\t\t\tbottom: -16px;\n\t\t\t\t\ttransform: rotate(180deg);\n\t\t\t\t}\n\t\t\t"),h.textContent="\n\t\t\t.toolbar{\n\t\t\t\tdisplay: "+i+"!important;\n\t\t\t\tposition: absolute;\n\t\t\t\t"+n+"\n\n\t\t\t}\n\n\t\t\t#secondaryToolbar{\n\t\t\t\tdisplay: "+i+";\n\t\t\t}\n\t\t\t#secondaryPresentationMode, #toolbarViewerRight #presentationMode{\n\t\t\t\tdisplay: "+t+"!important;\n\t\t\t}\n\t\t\t#secondaryOpenFile, #toolbarViewerRight #openFile{\n\t\t\t\tdisplay: "+o+"!important;\n\t\t\t}\n\t\t\t#secondaryDownload, #secondaryPrint, #toolbarViewerRight #print, #toolbarViewerRight #download{\n\t\t\t\tdisplay: "+r+"!important;\n\t\t\t}\n\t\t\t#pageRotateCw{\n\t\t\t\tdisplay: "+c+"!important;\n\t\t\t}\n\t\t\t#pageRotateCcw{\n\t\t\t\tdisplay: "+c+"!important;\n\t\t\t}\n\t\t\t#documentProperties{\n\t\t\t\tdisplay: "+s+"!important;\n\t\t\t}\n\t\t\t.textLayer{\n\t\t\t\tuser-select: "+a+"!important;\n\t\t\t}\n\t\t\t\n\t\t\t"+m+"\n\t\t\t\n\t\t",f&&(d.getElementById("EBiframeStyleID")&&d.getElementById("EBiframeStyleID").remove(),f.appendChild(h),clearInterval(u))},100)}},{key:"addProAlert",value:function(e,t){t||(document.querySelector(".pro__alert__wrap").style.display="block")}},{key:"removeAlert",value:function(){document.querySelector(".pro__alert__wrap")&&document.querySelector(".pro__alert__wrap .pro__alert__card .button").addEventListener("click",function(e){document.querySelector(".pro__alert__wrap").style.display="none"})}},{key:"isPro",value:function(e){var t=document.createElement("div");return t.innerHTML='\n\t\t<div class="pro__alert__wrap" style="display: none;">\n\t\t\t<div class="pro__alert__card">\n\t\t\t\t<img src="../wp-content/plugins/embedpress/EmbedPress/Ends/Back/Settings/assets/img/alert.svg" alt=""/>\n\t\t\t\t\t<h2>Opps...</h2>\n\t\t\t\t\t<p>You need to upgrade to the <a href="https://wpdeveloper.com/in/upgrade-embedpress" target="_blank">Premium</a> Version to use this feature</p>\n\t\t\t\t\t<a href="#" class="button radius-10">Close</a>\n\t\t\t</div>\n\t\t</div>\n\t\t',t}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.noticeUI,o=t.setAttributes,i=t.clientId,c=n.href,m=n.mime,d=n.id,f=n.width,h=n.height,b=n.powered_by,w=n.presentation,y=n.position,L=n.download,_=n.open,O=n.toolbar,R=n.copy_text,M=n.toolbar_position,T=n.doc_details,P=n.doc_rotation,F=this.state,B=F.hasError,D=F.interactive,I=F.fetching,N=F.loadPdf,z=embedpressObj.is_pro_plugin_active;if(z||(o({download:!0}),o({copy_text:!0})),document.querySelector(".pro__alert__wrap")||(document.querySelector("body").append(this.isPro("none")),this.removeAlert()),!c||B)return wp.element.createElement("div",{className:"embedpress-document-editmode"},wp.element.createElement(g,{icon:wp.element.createElement(v,{icon:u.c}),labels:{title:__("EmbedPress PDF"),instructions:__("Upload a PDF file or pick one from your media library for embed.")},onSelect:this.onSelectFile,notices:r,allowedTypes:j,onError:this.onUploadError},wp.element.createElement("div",{style:{width:"100%"},className:"components-placeholder__learn-more embedpress-doc-link"},wp.element.createElement(C,{href:"https://embedpress.com/docs/embed-document/"},"Learn more about Embedded document "))));var H="//view.officeapps.live.com/op/embed.aspx?src="+c,A=embedpressObj.pdf_renderer+"?file="+c;return this.iframeManupulate("."+d,w,y,L,_,O,R,M,T,P),wp.element.createElement(k,null,I&&"application/pdf"!==m?wp.element.createElement(s.a,null):null,wp.element.createElement("div",{className:"embedpress-document-embed ep-doc-"+d,style:{width:f,maxWidth:"100%"},id:"ep-doc-"+this.props.clientId},"application/pdf"===m&&wp.element.createElement("iframe",{powered_by:b,style:{height:h,width:f},className:"embedpress-embed-document-pdf "+d,"data-emid":d,"data-emsrc":c,src:A}),"application/pdf"!==m&&wp.element.createElement(a.a,{onMouseUponMouseUp:this.hideOverlay,style:{height:h,width:f,display:I||!N?"none":""},onLoad:this.onLoad,src:H}),!D&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),b&&wp.element.createElement("p",{className:"embedpress-el-powered"},"Powered By EmbedPress"),!I&&wp.element.createElement(l.a,{id:d})),wp.element.createElement(E,{key:"inspector"},wp.element.createElement(U,{title:__("Embed Size(px)","embedpress")},wp.element.createElement(S,{label:__("Width","embedpress"),value:f,onChange:function(e){return o({width:e})},max:1e3,min:1}),wp.element.createElement(S,{label:__("Height","embedpress"),value:h,onChange:function(e){return o({height:e})},max:1e3,min:1})),wp.element.createElement(U,{title:__("PDF Control Settings","embedpress"),initialOpen:!1},wp.element.createElement("div",{className:z?"pro-control-active":"pro-control",onClick:function(t){e.addProAlert(t,z)}},wp.element.createElement(x,{label:__("Toolbar","embedpress"),description:__("Show or Hide toolbar. Note: If you disable toolbar access then every toolbar options will be disabled","embedpress"),onChange:function(e){return o({toolbar:e})},checked:O,style:{marginTop:"30px"}}),!z&&wp.element.createElement("span",{className:"isPro"},__("pro","embedpress"))),O&&wp.element.createElement(k,null,wp.element.createElement(p.__experimentalToggleGroupControl,{label:"Toolbar Position",value:y,onChange:function(e){return o({position:e})}},wp.element.createElement(p.__experimentalToggleGroupControlOption,{value:"top",label:"Top"}),wp.element.createElement(p.__experimentalToggleGroupControlOption,{value:"bottom",label:"Bottom"})),wp.element.createElement(x,{label:__("Presentation Mode","embedpress"),onChange:function(e){return o({presentation:e})},checked:w}),wp.element.createElement("div",{className:z?"pro-control-active":"pro-control",onClick:function(t){e.addProAlert(t,z)}},wp.element.createElement(x,{label:__("Print/Download","embedpress"),onChange:function(e){return o({download:e})},checked:L}),!z&&wp.element.createElement("span",{className:"isPro"},__("pro","embedpress"))),wp.element.createElement("div",{className:z?"pro-control-active":"pro-control",onClick:function(t){e.addProAlert(t,z)}},wp.element.createElement(x,{label:__("Copy Text","embedpress"),onChange:function(e){return o({copy_text:e})},checked:R,className:"disabled"}),!z&&wp.element.createElement("span",{className:"isPro"},__("pro","embedpress"))),wp.element.createElement(x,{label:__("Rotation","embedpress"),onChange:function(e){return o({doc_rotation:e})},checked:P}),wp.element.createElement(x,{label:__("Properties","embedpress"),onChange:function(e){return o({doc_details:e})},checked:T}),wp.element.createElement(x,{label:__("Powered By","embedpress"),onChange:function(e){return o({powered_by:e})},checked:b})))),wp.element.createElement("style",{style:{display:"none"}},"\n\t\t\t\t\t\t\t#block-"+i+" {\n\t\t\t\t\t\t\t\twidth:-webkit-fill-available;\n\t\t\t\t\t\t\t} \n\t\t\t\t\t\t\t.embedpress-el-powered{\n\t\t\t\t\t\t\t\tmax-width: "+f+"\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t.alignright .embedpress-document-embed{\n\t\t\t\t\t\t\t\tfloat: right!important;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t.alignleft .embedpress-document-embed{\n\t\t\t\t\t\t\t\tfloat: left;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t"))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(_);t.a=R},function(e,t){e.exports=wp.apiFetch},function(e,t){e.exports=wp.components},function(e,t,n){"use strict";var r=n(66),o=(n.n(r),n(67)),i=(n.n(o),n(68)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["embedpress-calendar"]&&l("embedpress/embedpress-calendar",{title:__("Google Calendar"),icon:a.a,category:"embedpress",keywords:["embedpress","embed","calendar","calender","google","cal","events","task","birthday"],supports:{align:["left","center","right"],default:"center",lightBlockWrapper:!0},attributes:{id:{type:"string"},powered_by:{type:"boolean",default:!0},is_public:{type:"boolean",default:!0},width:{type:"string",default:600},height:{type:"string",default:600},url:{type:"string",default:""},embedHTML:{type:"string",default:""}},edit:i.a,save:function(e){return null}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){function t(){d({editingURL:!0,is_public:!0})}function n(e){e&&e.preventDefault(),w?(d({fetching:!0}),setTimeout(function(){d({fetching:!1,cannotEmbed:!1,editingURL:!1,embedHTML:"ready"})},500)):d({cannotEmbed:!0,fetching:!1,editingURL:!0})}var r=e.attributes,c=e.className,d=e.setAttributes,w=r.url,y=r.editingURL,v=r.fetching,g=r.cannotEmbed,E=r.embedHTML,L=r.height,_=r.width,k=r.powered_by,O=r.is_public,S=r.align,U=h?h({className:"align"+S,style:{width:_+"px",height:L+"px"}}):[];return wp.element.createElement(b,null,wp.element.createElement(f,null,wp.element.createElement(u,{title:__("Customize Embedded Calendar","embedpress")},wp.element.createElement("p",null,__("You can adjust the width and height of embedded content.","embedpress")),wp.element.createElement(p,{label:__("Width","embedpress"),value:_,onChange:function(e){return d({width:e})}}),wp.element.createElement(p,{label:__("Height","embedpress"),value:L,onChange:function(e){return d({height:e})}})),wp.element.createElement(u,{title:__("Calendar Type and other options","embedpress")},wp.element.createElement("p",null,__("You can show public calendar without any API key","embedpress")),wp.element.createElement(m,{label:__("Powered By","embedpress"),onChange:function(e){return d({powered_by:e})},checked:k}),wp.element.createElement(m,{label:__("Embedding Public Calendar","embedpress"),onChange:function(e){return d({is_public:e})},checked:O}))),(!E||y)&&!v&&O&&wp.element.createElement("div",U,wp.element.createElement(i.a,{label:__("Public Calendar Link"),onSubmit:n,value:w,cannotEmbed:g,onChange:function(e){return d({url:e.target.value})},icon:a.a,DocTitle:__("Learn more about EmbedPress Calendar"),docLink:"https://embedpress.com/docs/"})),v?wp.element.createElement("div",{className:c},wp.element.createElement(o.a,null)," "):null,E&&O&&!y&&!v&&wp.element.createElement("figure",U,O&&wp.element.createElement("iframe",{style:{display:v?"none":""},src:w,width:_,height:L}),k&&wp.element.createElement("p",{className:"embedpress-el-powered"},"Powered By EmbedPress"),wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:d({interactive:!0})}),wp.element.createElement(l.a,{showEditButton:E&&!g,switchBackToURLInput:t})),!O&&wp.element.createElement("figure",s({className:"testing"},U),wp.element.createElement("p",null,"Private Calendar will show in the frontend only.",wp.element.createElement("br",null),wp.element.createElement("strong",null,"Note: Private calendar needs EmbedPress Pro.")),k&&wp.element.createElement("p",{className:"embedpress-el-powered"},"Powered By EmbedPress"),wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:d({interactive:!0})}),wp.element.createElement(l.a,{showEditButton:E&&!g,switchBackToURLInput:t})))}t.a=r;var o=n(1),i=n(3),a=n(0),l=n(2),s=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},c=wp.components,p=c.TextControl,u=c.PanelBody,m=c.ToggleControl,d=wp.blockEditor,f=d.InspectorControls,h=d.useBlockProps,b=wp.element.Fragment,__=wp.i18n.__}]);
Gutenberg/dist/blocks.style.build.css CHANGED
@@ -1,4 +1,4 @@
1
  .pdfobject-container{height:600px;width:600px;margin:0 auto}.embedpress-el-powered{text-align:center;margin-top:0 !important;font-size:16px !important;font-weight:700}.embedpress-embed-document iframe,[data-type="embedpress/document"] iframe{margin:0 auto;display:block}.embedpress-embed-document-pdf{width:100%}.embedpress-document-editmode .components-form-file-upload{display:none !important}
2
  .embedpress-gutenberg-wrapper{margin:30px auto}.embedpress-gutenberg-wrapper iframe{max-width:100%}.embedpress-gutenberg-wrapper.alignright{max-width:100%}.ose-the-new-york-times iframe{min-height:500px;max-height:100%}body.page .flexia-wrapper>.content-area{padding:0 !important}.flexia-wrapper.flexia-container>.content-area{margin:0 !important}.flexia-wrapper.flexia-container>.content-area .embedpress-gutenberg-wrapper{margin:0 auto}@media only screen and (min-width: 482px){.entry-content>.embedpress-gutenberg-wrapper.alignright,.entry-content>.embedpress-gutenberg-wrapper.alignleft,.embedpress-gutenberg-wrapper.alignright,.embedpress-gutenberg-wrapper.alignleft{max-width:100%}}.clear::after{content:'';display:block;clear:both;min-height:1px}.embedpress-gutenberg-wrapper .alignleft,.embedpress-gutenberg-wrapper .alignright,.embedpress-gutenberg-wrapper .aligncenter{float:none;display:block}.embedpress-gutenberg-wrapper .alignright{text-align:right}.embedpress-gutenberg-wrapper .alignleft{text-align:left}.embedpress-gutenberg-wrapper .aligncenter{clear:both;display:block;float:none;margin-right:auto;margin-left:auto;text-align:center}.embedpress-gutenberg-wrapper .ose-embedpress-responsive{display:inline-block}.embedpress-gutenberg-wrapper{max-width:100% !important}.ep-first-video{position:relative;height:0;padding-bottom:56.25%}.ep-first-video iframe{position:absolute;top:0;left:0;width:100%;height:100%}.components-base-control__label{font-weight:600}.components-input-control__label{font-weight:600}.components-base-control__field,.components-input-control__label{font-weight:600}label.components-truncate.components-text.components-input-control__label.em5sgkm4.ecfd-bd--d-eecc-1iznhho.em57xhy0{font-weight:600 !important}.text-center{text-align:center !important}.wp-block-embed.is-loading{-ms-flex-align:center;align-items:center}.css-vwt1e3{margin:0px 11px 0px !important}.toolbar{display:none}.ep-youtube__content__pagination .ep-prev,.ep-youtube__content__pagination .ep-next{user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}
3
- .pdfobject-container{height:600px;width:600px;margin:0 auto}.embedpress-el-powered{text-align:center;margin-top:10px !important;font-size:16px !important;font-weight:700}.embedpress-embed-document iframe,[data-type="embedpress/document"] iframe{margin:0 auto;display:block}.embedpress-embed-document{max-width:100%}.embedpress-document-editmode .components-form-file-upload{display:none !important}.wp-block-embedpress-embedpress-pdf+*{clear:both}.pro-control{position:relative}span.isPro{position:absolute;z-index:1;background:#5B4E96;border-radius:20px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:40px;height:18px;font-size:10px;right:0;color:#fff;font-weight:400;text-transform:uppercase;top:0}.pro-control:after{content:'';width:100%;height:100%;background:transparent;position:absolute;z-index:12;top:0;bottom:0}.theme-astra span.isPro{right:10px;top:5px}.pro-control:hover::after{cursor:pointer}.pro__alert__wrap{position:fixed;top:0;left:0;height:100%;width:100%;background:rgba(0,0,0,0.3);z-index:1;display:none}.pro__alert__wrap .pro__alert__card{width:calc(100% - 30px);max-width:500px;margin:7% auto 0;background:#fff;border-radius:20px;padding:30px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;text-align:center}.pro__alert__wrap .pro__alert__card h2{font-size:32px;font-weight:450;color:#131F4D;margin-bottom:15px}.pro__alert__wrap .pro__alert__card p{font-size:14px;font-weight:400;color:#7C8DB5;margin-top:10px}.pro__alert__wrap .pro__alert__card .button{-ms-flex-item-align:end;align-self:flex-end;margin-top:20px;padding:6px 30px;border-radius:10px}.pro__alert__wrap .pro__alert__card p a{text-decoration:underline;font-weight:700;color:#131F4D}.template__wrapper .button:hover{background:#5B4E96 !important;color:#fff !important;border-color:#5B4E96 !important}.pro__alert__wrap .pro__alert__card img{height:100px;margin-bottom:20px}.pro-control .components-toggle-control__label{color:#bbacac}.pro-control .components-form-toggle .components-form-toggle__track{border:1px solid #b89d9d}.pro-control .components-form-toggle .components-form-toggle__thumb{background-color:#b89d9d;border:5px solid #b89d9d}.embedpress-document-embed{display:inline-block}.block-editor-block-inspector .components-base-control{margin-top:15px}.pro-control-active{margin-bottom:24px}
4
  .embedpress-calendar-gutenberg{margin:30px auto}.embedpress-calendar-gutenberg iframe{max-width:100%}.embedpress-calendar-gutenberg.alignright{max-width:100%}body.page .flexia-wrapper>.content-area{padding:0 !important}.flexia-wrapper.flexia-container>.content-area{margin:0 !important}.flexia-wrapper.flexia-container>.content-area .embedpress-calendar-gutenberg{margin:0 auto}@media only screen and (min-width: 482px){.entry-content>.embedpress-calendar-gutenberg.alignright,.entry-content>.embedpress-calendar-gutenberg.alignleft,.embedpress-calendar-gutenberg.alignright,.embedpress-calendar-gutenberg.alignleft{max-width:100%}}.clear::after{content:'';display:block;clear:both;min-height:1px}
1
  .pdfobject-container{height:600px;width:600px;margin:0 auto}.embedpress-el-powered{text-align:center;margin-top:0 !important;font-size:16px !important;font-weight:700}.embedpress-embed-document iframe,[data-type="embedpress/document"] iframe{margin:0 auto;display:block}.embedpress-embed-document-pdf{width:100%}.embedpress-document-editmode .components-form-file-upload{display:none !important}
2
  .embedpress-gutenberg-wrapper{margin:30px auto}.embedpress-gutenberg-wrapper iframe{max-width:100%}.embedpress-gutenberg-wrapper.alignright{max-width:100%}.ose-the-new-york-times iframe{min-height:500px;max-height:100%}body.page .flexia-wrapper>.content-area{padding:0 !important}.flexia-wrapper.flexia-container>.content-area{margin:0 !important}.flexia-wrapper.flexia-container>.content-area .embedpress-gutenberg-wrapper{margin:0 auto}@media only screen and (min-width: 482px){.entry-content>.embedpress-gutenberg-wrapper.alignright,.entry-content>.embedpress-gutenberg-wrapper.alignleft,.embedpress-gutenberg-wrapper.alignright,.embedpress-gutenberg-wrapper.alignleft{max-width:100%}}.clear::after{content:'';display:block;clear:both;min-height:1px}.embedpress-gutenberg-wrapper .alignleft,.embedpress-gutenberg-wrapper .alignright,.embedpress-gutenberg-wrapper .aligncenter{float:none;display:block}.embedpress-gutenberg-wrapper .alignright{text-align:right}.embedpress-gutenberg-wrapper .alignleft{text-align:left}.embedpress-gutenberg-wrapper .aligncenter{clear:both;display:block;float:none;margin-right:auto;margin-left:auto;text-align:center}.embedpress-gutenberg-wrapper .ose-embedpress-responsive{display:inline-block}.embedpress-gutenberg-wrapper{max-width:100% !important}.ep-first-video{position:relative;height:0;padding-bottom:56.25%}.ep-first-video iframe{position:absolute;top:0;left:0;width:100%;height:100%}.components-base-control__label{font-weight:600}.components-input-control__label{font-weight:600}.components-base-control__field,.components-input-control__label{font-weight:600}label.components-truncate.components-text.components-input-control__label.em5sgkm4.ecfd-bd--d-eecc-1iznhho.em57xhy0{font-weight:600 !important}.text-center{text-align:center !important}.wp-block-embed.is-loading{-ms-flex-align:center;align-items:center}.css-vwt1e3{margin:0px 11px 0px !important}.toolbar{display:none}.ep-youtube__content__pagination .ep-prev,.ep-youtube__content__pagination .ep-next{user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}
3
+ .pdfobject-container{height:600px;width:600px;margin:0 auto}.embedpress-el-powered{text-align:center;margin-top:10px !important;font-size:16px !important;font-weight:700}.embedpress-embed-document iframe,[data-type="embedpress/document"] iframe{margin:0 auto;display:block}.embedpress-embed-document{max-width:100%}.embedpress-document-editmode .components-form-file-upload{display:none !important}.wp-block-embedpress-embedpress-pdf+*{clear:both}.pro-control{position:relative}span.isPro{position:absolute;z-index:1;background:#5B4E96;border-radius:20px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:40px;height:18px;font-size:10px;right:0;color:#fff;font-weight:400;text-transform:uppercase;top:0}.pro-control:after{content:'';width:100%;height:100%;background:transparent;position:absolute;z-index:12;top:0;bottom:0}.theme-astra span.isPro{right:10px;top:5px}.pro-control:hover::after{cursor:pointer}.pro__alert__wrap{position:fixed;top:0;left:0;height:100%;width:100%;background:rgba(0,0,0,0.3);z-index:1;display:none}.pro__alert__wrap .pro__alert__card{width:calc(100% - 30px);max-width:500px;margin:7% auto 0;background:#fff;border-radius:20px;padding:30px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;text-align:center}.pro__alert__wrap .pro__alert__card h2{font-size:32px;font-weight:450;color:#131F4D;margin-bottom:15px}.pro__alert__wrap .pro__alert__card p{font-size:14px;font-weight:400;color:#7C8DB5;margin-top:10px}.pro__alert__wrap .pro__alert__card .button{-ms-flex-item-align:end;align-self:flex-end;margin-top:20px;padding:6px 30px;border-radius:10px}.pro__alert__wrap .pro__alert__card p a{text-decoration:underline;font-weight:700;color:#131F4D}.template__wrapper .button:hover{background:#5B4E96 !important;color:#fff !important;border-color:#5B4E96 !important}.pro__alert__wrap .pro__alert__card img{height:100px;margin-bottom:20px}.pro-control .components-toggle-control__label{color:#bbacac}.pro-control .components-form-toggle .components-form-toggle__track{border:1px solid #b89d9d}.pro-control .components-form-toggle .components-form-toggle__thumb{background-color:#b89d9d;border:5px solid #b89d9d}.block-editor-block-inspector .components-base-control{margin-top:15px}.pro-control-active{margin-bottom:24px}.ep-alignleft{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start;text-align:center}.ep-alignright{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:end;align-items:flex-end;text-align:center}.ep-aligncenter{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;text-align:center}.embedpress-document-embed.embedpress-pdf{width:100%}.embedpress-inner-iframe{display:inline-block;text-align:center}
4
  .embedpress-calendar-gutenberg{margin:30px auto}.embedpress-calendar-gutenberg iframe{max-width:100%}.embedpress-calendar-gutenberg.alignright{max-width:100%}body.page .flexia-wrapper>.content-area{padding:0 !important}.flexia-wrapper.flexia-container>.content-area{margin:0 !important}.flexia-wrapper.flexia-container>.content-area .embedpress-calendar-gutenberg{margin:0 auto}@media only screen and (min-width: 482px){.entry-content>.embedpress-calendar-gutenberg.alignright,.entry-content>.embedpress-calendar-gutenberg.alignleft,.embedpress-calendar-gutenberg.alignright,.embedpress-calendar-gutenberg.alignleft{max-width:100%}}.clear::after{content:'';display:block;clear:both;min-height:1px}
Gutenberg/plugin.php CHANGED
@@ -248,24 +248,27 @@ function embedpress_pdf_render_block($attributes)
248
  $src = $renderer . ((strpos($renderer, '?') == false) ? '?' : '&') . 'file=' . $attributes['href'];
249
  $hash = md5($id);
250
  $aligns = [
251
- 'left' => 'alignleft',
252
- 'right' => 'alignright',
253
- 'wide' => 'alignwide',
254
- 'full' => 'alignfull'
 
255
  ];
256
  $alignment = isset($attributes['align']) && isset($aligns[$attributes['align']]) ? $aligns[$attributes['align']] : '';
257
  $dimension = "width:$width;height:$height";
258
  ob_start();
259
  ?>
260
  <div class="embedpress-document-embed embedpress-pdf ose-document ep-doc-<?php echo esc_attr($hash) . ' ' . esc_attr($alignment) ?>">
261
- <iframe class="embedpress-embed-document-pdf <?php echo esc_attr($id); ?>" style="<?php echo esc_attr($dimension); ?>; max-width:100%; display: inline-block" src="<?php echo esc_attr($src); ?>" frameborder="0"></iframe>
 
262
 
263
- <?php do_action('embedpress_pdf_gutenberg_after_embed', $hash, 'pdf', $attributes, $pdf_url); ?>
264
 
265
- <?php
266
  if ($powered_by) {
267
  printf('<p class="embedpress-el-powered">%s</p>', __('Powered By EmbedPress', 'embedpress'));
268
  } ?>
 
269
 
270
  </div>
271
  <?php ep_pdf_block_frontend_style($attributes, 'pdf');
@@ -314,7 +317,7 @@ function embedpress_pdf_render_block($attributes)
314
 
315
  <?php
316
  if ($powered_by) {
317
- printf('<p class="embedpress-el-powered">%s</p>', __('Powered By EmbedPress', 'embedpress'));
318
  } ?>
319
 
320
  </div>
248
  $src = $renderer . ((strpos($renderer, '?') == false) ? '?' : '&') . 'file=' . $attributes['href'];
249
  $hash = md5($id);
250
  $aligns = [
251
+ 'left' => 'ep-alignleft',
252
+ 'right' => 'ep-alignright',
253
+ 'center' => 'ep-aligncenter',
254
+ 'wide' => 'ep-alignwide',
255
+ 'full' => 'ep-alignfull'
256
  ];
257
  $alignment = isset($attributes['align']) && isset($aligns[$attributes['align']]) ? $aligns[$attributes['align']] : '';
258
  $dimension = "width:$width;height:$height";
259
  ob_start();
260
  ?>
261
  <div class="embedpress-document-embed embedpress-pdf ose-document ep-doc-<?php echo esc_attr($hash) . ' ' . esc_attr($alignment) ?>">
262
+ <div class="embedpress-inner-iframe">
263
+ <iframe class="embedpress-embed-document-pdf <?php echo esc_attr($id); ?>" style="<?php echo esc_attr($dimension); ?>; max-width:100%; display: inline-block" src="<?php echo esc_attr($src); ?>" frameborder="0"></iframe>
264
 
265
+ <?php do_action('embedpress_pdf_gutenberg_after_embed', $hash, 'pdf', $attributes, $pdf_url); ?>
266
 
267
+ <?php
268
  if ($powered_by) {
269
  printf('<p class="embedpress-el-powered">%s</p>', __('Powered By EmbedPress', 'embedpress'));
270
  } ?>
271
+ </div>
272
 
273
  </div>
274
  <?php ep_pdf_block_frontend_style($attributes, 'pdf');
317
 
318
  <?php
319
  if ($powered_by) {
320
+ printf('<p class="embedpress-el-powered" style="'.esc_attr( $width ).'" >%s</p>', __('Powered By EmbedPress', 'embedpress'));
321
  } ?>
322
 
323
  </div>
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 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.com
8
- * Version: 3.5.2
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. 150+ sources supported.
6
  * Author: WPDeveloper
7
  * Author URI: https://wpdeveloper.com
8
+ * Version: 3.5.3
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.5.2");
26
  /**
27
  * @deprecated 2.2.0
28
  */
22
  }
23
 
24
  if ( ! defined('EMBEDPRESS_VERSION')) {
25
+ define('EMBEDPRESS_VERSION', "3.5.3");
26
  /**
27
  * @deprecated 2.2.0
28
  */
languages/embedpress.pot CHANGED
@@ -1,22 +1,22 @@
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.2.1\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-11-14T04:50:31+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:40
19
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:25
20
  msgid "EmbedPress"
21
  msgstr ""
22
 
@@ -36,54 +36,54 @@ msgstr ""
36
  msgid "https://wpdeveloper.com"
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:146
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_Calendar.php:68
60
- #: EmbedPress/ThirdParty/Googlecalendar/Embedpress_Google_Helper.php:792
61
  msgid "All day"
62
  msgstr ""
63
 
64
  #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:69
65
- #: EmbedPress/ThirdParty/Googlecalendar/Embedpress_Google_Helper.php:793
66
  msgid "Created by"
67
  msgstr ""
68
 
69
  #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:70
70
- #: EmbedPress/ThirdParty/Googlecalendar/Embedpress_Google_Helper.php:794
71
  msgid "Go to event"
72
  msgstr ""
73
 
74
  #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:71
75
- #: EmbedPress/ThirdParty/Googlecalendar/Embedpress_Google_Helper.php:483
76
- #: EmbedPress/ThirdParty/Googlecalendar/Embedpress_Google_Helper.php:795
77
  msgid "Unknown error"
78
  msgstr ""
79
 
80
  #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:72
81
- #: EmbedPress/ThirdParty/Googlecalendar/Embedpress_Google_Helper.php:796
82
  msgid "Request error"
83
  msgstr ""
84
 
85
  #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:73
86
- #: EmbedPress/ThirdParty/Googlecalendar/Embedpress_Google_Helper.php:797
87
  msgid "Loading"
88
  msgstr ""
89
 
@@ -93,15 +93,15 @@ msgstr ""
93
 
94
  #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:128
95
  #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:62
96
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:78
97
- #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:62
98
  msgid "Pro"
99
  msgstr ""
100
 
101
  #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:135
102
  #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:69
103
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:85
104
- #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:69
105
  msgid "Content Settings"
106
  msgstr ""
107
 
@@ -127,84 +127,96 @@ msgstr ""
127
 
128
  #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:176
129
  #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:134
130
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1228
131
- #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:128
132
- #: Gutenberg/dist/blocks.build.js:1
 
 
133
  #: Gutenberg/src/document/edit.js:201
134
- #: Gutenberg/src/embedpress-calendar/edit.js:66
135
- #: Gutenberg/src/embedpress-pdf/edit.js:197
136
  msgid "Width"
137
  msgstr ""
138
 
139
  #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:199
140
- #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:157
141
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1247
142
- #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:152
143
- #: Gutenberg/dist/blocks.build.js:1
 
 
144
  #: Gutenberg/src/document/edit.js:213
145
- #: Gutenberg/src/embedpress-calendar/edit.js:71
146
- #: Gutenberg/src/embedpress-pdf/edit.js:209
147
  msgid "Height"
148
  msgstr ""
149
 
150
- #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:223
151
- #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:180
152
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1288
153
- #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:175
154
  msgid "Alignment"
155
  msgstr ""
156
 
157
- #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:227
158
- #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:184
159
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1292
160
- #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:179
161
  msgid "Left"
162
  msgstr ""
163
 
164
- #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:231
165
- #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:188
166
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1296
167
- #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:183
168
  msgid "Center"
169
  msgstr ""
170
 
171
- #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:235
172
- #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:192
173
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1300
174
- #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:187
175
  msgid "Right"
176
  msgstr ""
177
 
178
- #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:247
179
- #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:204
180
- #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:199
181
- #: Gutenberg/dist/blocks.build.js:1
182
- #: Gutenberg/src/embedpress-calendar/edit.js:80
183
- #: Gutenberg/src/embedpress-pdf/edit.js:221
 
184
  msgid "Powered By"
185
  msgstr ""
186
 
187
- #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:249
188
- #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:206
189
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:448
190
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:469
191
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:485
192
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:500
193
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:516
194
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:531
195
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:546
196
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:825
197
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:837
198
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:868
199
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:897
200
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:915
201
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:931
202
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:949
203
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:966
204
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:983
205
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:999
206
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1015
207
- #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:201
 
 
 
 
 
 
 
208
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:78
209
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:96
210
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:113
@@ -212,32 +224,39 @@ msgstr ""
212
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:144
213
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:163
214
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:182
215
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:135
216
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:164
217
  msgid "Show"
218
  msgstr ""
219
 
220
- #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:250
221
- #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:207
222
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:447
223
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:468
224
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:484
225
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:499
226
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:515
227
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:530
228
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:545
229
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:824
230
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:836
231
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:867
232
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:896
233
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:914
234
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:930
235
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:948
236
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:965
237
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:982
238
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:998
239
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1014
240
- #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:202
 
 
 
 
 
 
 
241
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:74
242
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:92
243
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:109
@@ -245,38 +264,43 @@ msgstr ""
245
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:140
246
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:159
247
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:178
248
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:136
249
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:163
250
  msgid "Hide"
251
  msgstr ""
252
 
253
- #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:264
254
- #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:221
255
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:167
256
- #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:216
257
  msgid "Go Premium for More Features"
258
  msgstr ""
259
 
260
- #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:271
261
- #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:228
262
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:174
263
- #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:223
264
  msgid "Unlock more possibilities"
265
  msgstr ""
266
 
267
  #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:319
 
 
 
 
268
  msgid "You need EmbedPress Pro to display Private Calendar Data."
269
  msgstr ""
270
 
271
- #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:325
272
  msgid "Private Calendar Data will be displayed in the frontend"
273
  msgstr ""
274
 
275
- #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:335
276
- #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:291
277
- #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:285
278
- #: Gutenberg/plugin.php:204
279
- #: Gutenberg/plugin.php:253
 
280
  msgid "Powered By EmbedPress"
281
  msgstr ""
282
 
@@ -285,19 +309,19 @@ msgid "EmbedPress Document"
285
  msgstr ""
286
 
287
  #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:76
288
- #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:76
289
  msgid "Document Type"
290
  msgstr ""
291
 
292
  #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:80
293
- #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:80
294
  msgid "File"
295
  msgstr ""
296
 
297
  #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:81
298
  #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:118
299
- #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:81
300
- #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:112
301
  msgid "URL"
302
  msgstr ""
303
 
@@ -311,323 +335,367 @@ msgid "Upload a file or pick one from your media library for embed. Supported Fi
311
  msgstr ""
312
 
313
  #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:120
314
- #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:114
315
  msgid "https://your-link.com/file.pdf"
316
  msgstr ""
317
 
318
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:93
319
  msgid "Source Name"
320
  msgstr ""
321
 
322
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:98
323
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:382
324
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:400
325
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:224
326
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:240
327
  msgid "Default"
328
  msgstr ""
329
 
330
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:99
331
  #: EmbedPress/Ends/Back/Settings/templates/partials/sidebar.php:42
332
  msgid "YouTube"
333
  msgstr ""
334
 
335
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:100
336
  #: EmbedPress/Ends/Back/Settings/templates/partials/sidebar.php:48
337
  msgid "Vimeo"
338
  msgstr ""
339
 
340
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:101
341
  #: EmbedPress/Ends/Back/Settings/templates/partials/sidebar.php:66
342
  msgid "Dailymotion"
343
  msgstr ""
344
 
345
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:102
346
  #: EmbedPress/Ends/Back/Settings/templates/partials/sidebar.php:54
347
  msgid "Wistia"
348
  msgstr ""
349
 
350
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:103
351
  #: EmbedPress/Ends/Back/Settings/templates/partials/sidebar.php:60
352
  msgid "Twitch"
353
  msgstr ""
354
 
355
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:104
356
  #: EmbedPress/Ends/Back/Settings/templates/partials/sidebar.php:72
357
  msgid "SoundCloud"
358
  msgstr ""
359
 
360
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:112
361
  msgid "Embedded Link"
362
  msgstr ""
363
 
364
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:117
365
  msgid "Enter your Link"
366
  msgstr ""
367
 
368
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:125
369
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1168
370
  msgid "Player Background"
371
  msgstr ""
372
 
373
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:126
374
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1169
375
- #: EmbedPress/Ends/Back/Settings/templates/spotify.php:31
376
  msgid "Dynamic option will use the most vibrant color from the album art."
377
  msgstr ""
378
 
379
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:131
380
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1174
381
  msgid "Dynamic"
382
  msgstr ""
383
 
384
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:132
385
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1175
386
  msgid "Black & White"
387
  msgstr ""
388
 
389
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:143
390
  msgid "Start Time"
391
  msgstr ""
392
 
393
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:145
394
  msgid "Specify a start time (in seconds)"
395
  msgstr ""
396
 
397
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:199
398
  msgid "End Time"
399
  msgstr ""
400
 
401
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:201
402
  msgid "Specify an end time (in seconds)"
403
  msgstr ""
404
 
405
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:208
406
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:479
407
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:571
408
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:891
409
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1027
410
  #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:38
411
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:51
412
  #: EmbedPress/Ends/Back/Settings/templates/twitch.php:33
413
  #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:35
414
  #: EmbedPress/Ends/Back/Settings/templates/wistia.php:117
415
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:53
416
  msgid "Auto Play"
417
  msgstr ""
418
 
419
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:219
420
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:616
421
  msgid "Player Options"
422
  msgstr ""
423
 
424
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:227
425
  msgid "Controls"
426
  msgstr ""
427
 
428
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:232
429
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:105
430
  msgid "Display immediately"
431
  msgstr ""
432
 
433
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:233
434
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:106
435
  msgid "Display after user initiation"
436
  msgstr ""
437
 
438
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:234
439
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:107
440
  msgid "Hide controls"
441
  msgstr ""
442
 
443
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:242
444
  msgid "Fullscreen button"
445
  msgstr ""
446
 
447
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:256
448
  msgid "Video Annotations"
449
  msgstr ""
450
 
451
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:261
452
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:303
453
  msgid "Display"
454
  msgstr ""
455
 
456
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:262
457
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:304
458
  msgid "Do Not Display"
459
  msgstr ""
460
 
461
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:271
462
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:69
463
  msgid "Progress Bar Color"
464
  msgstr ""
465
 
466
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:276
467
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:74
468
  msgid "Red"
469
  msgstr ""
470
 
471
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:277
472
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:75
473
  msgid "White"
474
  msgstr ""
475
 
476
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:285
477
  msgid "Closed Captions %s"
478
  msgstr ""
479
 
480
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:298
481
  msgid "Modest Branding %s"
482
  msgstr ""
483
 
484
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:317
485
  msgid "Related Videos"
486
  msgstr ""
487
 
488
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:318
489
  msgid "Set it to \"Yes\" to display related videos from all channels. Otherwise, related videos will show from the same channel."
490
  msgstr ""
491
 
492
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:335
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
493
  msgid "YouTube Subscriber"
494
  msgstr ""
495
 
496
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:346
497
- msgid "Channel Link or ID %s"
498
  msgstr ""
499
 
500
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:351
501
- msgid "Enter Channel Link or ID"
502
  msgstr ""
503
 
504
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:361
505
  msgid "Subscription Text %s"
506
  msgstr ""
507
 
508
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:366
509
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:210
510
  msgid "Eg. Don't miss out! Subscribe"
511
  msgstr ""
512
 
513
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:377
514
  msgid "Layout %s"
515
  msgstr ""
516
 
517
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:383
518
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:225
519
  msgid "Full"
520
  msgstr ""
521
 
522
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:395
523
  msgid "Theme %s"
524
  msgstr ""
525
 
526
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:401
527
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:848
528
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1190
529
  #: EmbedPress/Ends/Back/Settings/templates/twitch.php:71
530
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:241
531
  msgid "Dark"
532
  msgstr ""
533
 
534
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:413
535
  msgid "Subscriber Count %s"
536
  msgstr ""
537
 
538
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:433
539
  msgid "YouTube Live Chat"
540
  msgstr ""
541
 
542
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:442
543
  msgid "Show YouTube Live Chat %s"
544
  msgstr ""
545
 
546
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:463
547
  msgid "Logo %s"
548
  msgstr ""
549
 
550
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:494
551
  msgid "Play On Mobile"
552
  msgstr ""
553
 
554
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:510
555
  #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:72
556
  msgid "Mute"
557
  msgstr ""
558
 
559
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:525
560
  msgid "Player Controls"
561
  msgstr ""
562
 
563
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:540
564
  msgid "Video Info"
565
  msgstr ""
566
 
567
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:555
568
  msgid "Control Color"
569
  msgstr ""
570
 
571
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:585
572
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:878
573
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1042
574
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:44
575
  msgid "Scheme"
576
  msgstr ""
577
 
578
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:600
579
  #: EmbedPress/Ends/Back/Settings/templates/wistia.php:175
580
  msgid "Captions Enabled By Default"
581
  msgstr ""
582
 
583
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:630
584
  #: EmbedPress/Ends/Back/Settings/templates/wistia.php:40
585
  msgid "Fullscreen Button"
586
  msgstr ""
587
 
588
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:644
589
  #: EmbedPress/Ends/Back/Settings/templates/wistia.php:72
590
  msgid "Small Play Button"
591
  msgstr ""
592
 
593
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:661
594
  msgid "Resumable"
595
  msgstr ""
596
 
597
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:676
598
  msgid "Focus"
599
  msgstr ""
600
 
601
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:691
602
  msgid "Captions %s"
603
  msgstr ""
604
 
605
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:705
606
  msgid "Playbar "
607
  msgstr ""
608
 
609
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:719
610
  msgid "Volume Control %s"
611
  msgstr ""
612
 
613
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:735
614
  msgid "Volume %s"
615
  msgstr ""
616
 
617
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:757
618
  msgid "Rewind"
619
  msgstr ""
620
 
621
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:771
622
  msgid "Rewind time"
623
  msgstr ""
624
 
625
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:798
626
  msgid "Autoplay"
627
  msgstr ""
628
 
629
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:800
630
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:811
631
  #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:43
632
  #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:60
633
  #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:77
@@ -657,16 +725,16 @@ msgstr ""
657
  #: EmbedPress/Ends/Back/Settings/templates/wistia.php:180
658
  #: EmbedPress/Ends/Back/Settings/templates/wistia.php:197
659
  #: EmbedPress/Ends/Back/Settings/templates/wistia.php:213
660
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:58
661
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:87
662
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:119
663
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:180
664
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:256
665
  msgid "No"
666
  msgstr ""
667
 
668
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:801
669
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:812
670
  #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:47
671
  #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:64
672
  #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:81
@@ -696,128 +764,123 @@ msgstr ""
696
  #: EmbedPress/Ends/Back/Settings/templates/wistia.php:184
697
  #: EmbedPress/Ends/Back/Settings/templates/wistia.php:201
698
  #: EmbedPress/Ends/Back/Settings/templates/wistia.php:217
699
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:62
700
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:91
701
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:123
702
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:184
703
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:260
704
  msgid "Yes"
705
  msgstr ""
706
 
707
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:809
708
  msgid "Allow Full Screen Video"
709
  msgstr ""
710
 
711
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:822
712
  msgid "Show Chat %s"
713
  msgstr ""
714
 
715
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:834
716
  msgid "Mute on start"
717
  msgstr ""
718
 
719
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:844
720
  #: EmbedPress/Ends/Back/Settings/templates/twitch.php:66
721
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:235
722
  msgid "Theme"
723
  msgstr ""
724
 
725
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:849
726
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1189
727
  #: EmbedPress/Ends/Back/Settings/templates/twitch.php:72
728
  msgid "Light"
729
  msgstr ""
730
 
731
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:862
732
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:29
733
  msgid "Visual Player"
734
  msgstr ""
735
 
736
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:909
737
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:104
738
  msgid "Share Button"
739
  msgstr ""
740
 
741
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:925
742
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:119
743
  msgid "Comments"
744
  msgstr ""
745
 
746
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:943
747
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:135
748
  msgid "Artwork"
749
  msgstr ""
750
 
751
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:960
752
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:154
753
  msgid "Play Count"
754
  msgstr ""
755
 
756
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:977
757
  msgid "User Name"
758
  msgstr ""
759
 
760
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:993
761
  msgid "Buy Button %s"
762
  msgstr ""
763
 
764
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1009
765
  msgid "Download Button %s"
766
  msgstr ""
767
 
768
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1055
769
  msgid "Author Information"
770
  msgstr ""
771
 
772
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1067
773
  msgid "Title"
774
  msgstr ""
775
 
776
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1083
777
  msgid "Author"
778
  msgstr ""
779
 
780
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1097
781
  msgid "Avatar"
782
  msgstr ""
783
 
784
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1111
785
  msgid "Loop %s"
786
  msgstr ""
787
 
788
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1126
789
  msgid "Auto Pause %s"
790
  msgstr ""
791
 
792
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1141
793
  msgid "DNT %s"
794
  msgstr ""
795
 
796
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1146
797
  msgid "Set this parameter to \"yes\" will block the player from tracking any session data, including all cookies"
798
  msgstr ""
799
 
800
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1184
801
- msgid "Follow Widget Background"
802
- msgstr ""
803
-
804
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1201
805
  msgid "Style"
806
  msgstr ""
807
 
808
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1266
809
  msgid "Margin"
810
  msgstr ""
811
 
812
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1277
813
  msgid "Padding"
814
  msgstr ""
815
 
816
- #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1312
817
- msgid "Background"
818
  msgstr ""
819
 
820
- #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:26
821
  msgid "EmbedPress PDF"
822
  msgstr ""
823
 
@@ -825,6 +888,112 @@ msgstr ""
825
  msgid "Upload a file or pick one from your media library for embed. Supported File Type: PDF"
826
  msgstr ""
827
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
828
  #: EmbedPress/Ends/Back/Settings/EmbedpressSettings.php:137
829
  msgid "EmbedPress Settings"
830
  msgstr ""
@@ -856,11 +1025,11 @@ msgstr ""
856
  #: EmbedPress/Ends/Back/Settings/templates/general.php:64
857
  #: EmbedPress/Ends/Back/Settings/templates/google-calendar.php:64
858
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:189
859
- #: EmbedPress/Ends/Back/Settings/templates/spotify.php:84
860
  #: EmbedPress/Ends/Back/Settings/templates/twitch.php:111
861
  #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:158
862
  #: EmbedPress/Ends/Back/Settings/templates/wistia.php:231
863
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:269
864
  msgid "Save Changes"
865
  msgstr ""
866
 
@@ -904,12 +1073,12 @@ msgstr ""
904
  #: EmbedPress/Ends/Back/Settings/templates/twitch.php:25
905
  #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:27
906
  #: EmbedPress/Ends/Back/Settings/templates/wistia.php:32
907
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:37
908
  msgid "Start Time (In Seconds)"
909
  msgstr ""
910
 
911
  #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:32
912
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:40
913
  msgid "You can put a custom time in seconds to start the video. Example: 500"
914
  msgstr ""
915
 
@@ -918,7 +1087,7 @@ msgstr ""
918
  #: EmbedPress/Ends/Back/Settings/templates/twitch.php:45
919
  #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:47
920
  #: EmbedPress/Ends/Back/Settings/templates/wistia.php:129
921
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:65
922
  msgid "Automatically start to play the videos when the player loads."
923
  msgstr ""
924
 
@@ -939,7 +1108,7 @@ msgid "Display Player Controls"
939
  msgstr ""
940
 
941
  #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:103
942
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:110
943
  msgid "Indicates whether the video player controls are displayed."
944
  msgstr ""
945
 
@@ -966,7 +1135,7 @@ msgid "Specify the color of the video controls."
966
  msgstr ""
967
 
968
  #: EmbedPress/Ends/Back/Settings/templates/elements.php:21
969
- msgid "It supports 100+ providers. Click to read the docs"
970
  msgstr ""
971
 
972
  #: EmbedPress/Ends/Back/Settings/templates/elements.php:32
@@ -1205,18 +1374,6 @@ msgstr ""
1205
  msgid "Username"
1206
  msgstr ""
1207
 
1208
- #: EmbedPress/Ends/Back/Settings/templates/spotify.php:34
1209
- msgid "Artist Follower Widget"
1210
- msgstr ""
1211
-
1212
- #: EmbedPress/Ends/Back/Settings/templates/spotify.php:80
1213
- msgid "Note:"
1214
- msgstr ""
1215
-
1216
- #: EmbedPress/Ends/Back/Settings/templates/spotify.php:80
1217
- 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."
1218
- msgstr ""
1219
-
1220
  #: EmbedPress/Ends/Back/Settings/templates/twitch.php:18
1221
  msgid "Twitch Settings"
1222
  msgstr ""
@@ -1240,12 +1397,12 @@ msgid "Set dark or light theme for the twitch comment."
1240
  msgstr ""
1241
 
1242
  #: EmbedPress/Ends/Back/Settings/templates/twitch.php:79
1243
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:114
1244
  msgid "Enable Fullscreen Button"
1245
  msgstr ""
1246
 
1247
  #: EmbedPress/Ends/Back/Settings/templates/twitch.php:91
1248
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:126
1249
  msgid "Indicates whether the fullscreen button is enabled."
1250
  msgstr ""
1251
 
@@ -1390,193 +1547,209 @@ msgstr ""
1390
  msgid "The amount of time to rewind, in seconds."
1391
  msgstr ""
1392
 
1393
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:30
1394
  msgid "YouTube Settings"
1395
  msgstr ""
1396
 
1397
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:45
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1398
  msgid "End Time (In Seconds)"
1399
  msgstr ""
1400
 
1401
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:48
1402
  msgid "You can put a custom time in seconds to end the video."
1403
  msgstr ""
1404
 
1405
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:78
1406
  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)."
1407
  msgstr ""
1408
 
1409
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:82
1410
  msgid "Force Closed Captions"
1411
  msgstr ""
1412
 
1413
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:96
1414
  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."
1415
  msgstr ""
1416
 
1417
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:100
1418
  msgid "Display Controls"
1419
  msgstr ""
1420
 
1421
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:130
1422
  msgid "Display Video Annotations"
1423
  msgstr ""
1424
 
1425
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:139
1426
  msgid "Indicates whether video annotations are displayed."
1427
  msgstr ""
1428
 
1429
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:143
1430
  msgid "Display Related Videos"
1431
  msgstr ""
1432
 
1433
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:148
1434
  msgid "From the same channel of the video"
1435
  msgstr ""
1436
 
1437
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:149
1438
  msgid "Based on User's watch history"
1439
  msgstr ""
1440
 
1441
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:152
1442
  msgid "Indicates how the player should show related videos when playback of the video pauses or ends."
1443
  msgstr ""
1444
 
1445
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:158
1446
  msgid "Modest Branding"
1447
  msgstr ""
1448
 
1449
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:169
1450
  msgid "Indicates whether the player should display a YouTube logo in the control bar."
1451
  msgstr ""
1452
 
1453
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:175
1454
  msgid " Live Chat"
1455
  msgstr ""
1456
 
1457
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:189
1458
  msgid "Enabling this option will show chat on all YouTube videos. However, YouTube Live Chat feature only works with Live Streaming videos."
1459
  msgstr ""
1460
 
1461
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:194
1462
  msgid "Subscription Button"
1463
  msgstr ""
1464
 
1465
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:197
1466
- msgid "Channel Link or ID"
1467
  msgstr ""
1468
 
1469
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:201
1470
  msgid "You can use either your channel link or channel ID to show the subscription button."
1471
  msgstr ""
1472
 
1473
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:208
1474
  msgid "Subscription Text"
1475
  msgstr ""
1476
 
1477
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:212
1478
  msgid "Optionally you can output some CTA text before the subscriber button."
1479
  msgstr ""
1480
 
1481
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:219
1482
  msgid "Layout"
1483
  msgstr ""
1484
 
1485
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:230
1486
  msgid "Full layout shows channel image. Default layout shows only channel name and subscription button."
1487
  msgstr ""
1488
 
1489
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:246
1490
  msgid "Default theme is good for white background. Dark theme is good for black background."
1491
  msgstr ""
1492
 
1493
- #: EmbedPress/Ends/Back/Settings/templates/youtube.php:251
1494
  msgid "Show Subscriber Count"
1495
  msgstr ""
1496
 
1497
- #: EmbedPress/Includes/Classes/EmbedPress_Notice.php:437
1498
  msgid "Install Now!"
1499
  msgstr ""
1500
 
1501
- #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:377
1502
  msgid "We can't detect any plugin information. This is most probably because you have not included the code in the plugin main file."
1503
  msgstr ""
1504
 
1505
- #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:646
1506
  msgid "What we collect."
1507
  msgstr ""
1508
 
1509
- #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:647
1510
  msgid "Sure, I'd like to help"
1511
  msgstr ""
1512
 
1513
- #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:648
1514
  msgid "No Thanks."
1515
  msgstr ""
1516
 
1517
- #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:741
1518
  msgid "Sorry to see you go"
1519
  msgstr ""
1520
 
1521
- #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:742
1522
  msgid "Before you deactivate the plugin, would you quickly give us your reason for doing so?"
1523
  msgstr ""
1524
 
1525
- #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:745
1526
  msgid "I no longer need the plugin"
1527
  msgstr ""
1528
 
1529
- #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:747
1530
  msgid "I found a better plugin"
1531
  msgstr ""
1532
 
1533
- #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:748
1534
  msgid "Please share which plugin"
1535
  msgstr ""
1536
 
1537
- #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:750
1538
  msgid "I couldn't get the plugin to work"
1539
  msgstr ""
1540
 
1541
- #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:751
1542
  msgid "It's a temporary deactivation"
1543
  msgstr ""
1544
 
1545
- #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:753
1546
  msgid "Other"
1547
  msgstr ""
1548
 
1549
- #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:754
1550
  msgid "Please share the reason"
1551
  msgstr ""
1552
 
1553
- #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:796
1554
  msgid "Submitting form"
1555
  msgstr ""
1556
 
1557
- #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:854
1558
  msgid "Submit and Deactivate"
1559
  msgstr ""
1560
 
1561
- #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:854
1562
  msgid "Just Deactivate"
1563
  msgstr ""
1564
 
1565
- #: EmbedPress/Includes/Classes/Feature_Enhancer.php:393
1566
- #: EmbedPress/Includes/Classes/Feature_Enhancer.php:752
1567
- #: Gutenberg/plugin.php:62
1568
  msgid "Watch from the beginning"
1569
  msgstr ""
1570
 
1571
- #: EmbedPress/Includes/Classes/Feature_Enhancer.php:394
1572
- #: EmbedPress/Includes/Classes/Feature_Enhancer.php:753
1573
- #: Gutenberg/plugin.php:63
1574
  msgid "Skip to where you left off"
1575
  msgstr ""
1576
 
1577
- #: EmbedPress/Includes/Classes/Feature_Enhancer.php:395
1578
- #: EmbedPress/Includes/Classes/Feature_Enhancer.php:754
1579
- #: Gutenberg/plugin.php:64
1580
  msgid "It looks like you've watched<br />part of this video before!"
1581
  msgstr ""
1582
 
@@ -1633,11 +1806,11 @@ msgstr ""
1633
  msgid "https://your-link.com"
1634
  msgstr ""
1635
 
1636
- #: EmbedPress/Includes/Traits/Shared.php:26
1637
  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."
1638
  msgstr ""
1639
 
1640
- #: EmbedPress/Includes/Traits/Shared.php:27
1641
  msgid ""
1642
  "We collect non-sensitive diagnostic data and plugin usage information.\n"
1643
  " Your site URL, WordPress & PHP version, plugins & themes and email address to send you the\n"
@@ -1645,48 +1818,46 @@ msgid ""
1645
  " popular plugins and themes. No spam, I promise."
1646
  msgstr ""
1647
 
1648
- #: EmbedPress/Includes/Traits/Shared.php:59
1649
- msgid "Ok, you deserve it!"
1650
- msgstr ""
1651
-
1652
- #: EmbedPress/Includes/Traits/Shared.php:64
1653
- msgid "I already did"
1654
  msgstr ""
1655
 
1656
- #: EmbedPress/Includes/Traits/Shared.php:72
1657
- msgid "Maybe Later"
1658
  msgstr ""
1659
 
1660
- #: EmbedPress/Includes/Traits/Shared.php:80
1661
- msgid "I need help"
1662
  msgstr ""
1663
 
1664
- #: EmbedPress/Includes/Traits/Shared.php:85
1665
- msgid "Never show again"
 
1666
  msgstr ""
1667
 
1668
- #: EmbedPress/Includes/Traits/Shared.php:97
1669
- 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?"
1670
  msgstr ""
1671
 
1672
- #: EmbedPress/Includes/Traits/Shared.php:110
1673
- 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>"
 
1674
  msgstr ""
1675
 
1676
- #: EmbedPress/Includes/Traits/Shared.php:116
1677
- msgid "EmbedPress 3.0 is here with new features and options, read the details <a href=\"https://wpdeveloper.com/introducing-embedpress-3.0\" target=\"_blank\">here</a>, and check the new setting page. <a href=\""
1678
  msgstr ""
1679
 
1680
- #: EmbedPress/Includes/Traits/Shared.php:122
1681
- msgid "Learn More"
1682
  msgstr ""
1683
 
1684
- #: EmbedPress/Providers/Boomplay.php:78
1685
- msgid "Embedding Boomplay playlists and albums are supported in EmbedPress Pro"
1686
  msgstr ""
1687
 
1688
- #: EmbedPress/Providers/Boomplay.php:78
1689
- msgid "This message is only visible to you."
1690
  msgstr ""
1691
 
1692
  #: EmbedPress/ThirdParty/Googlecalendar/Embedpress_Google_Helper.php:7
@@ -1757,41 +1928,77 @@ msgstr ""
1757
  msgid "No calendar was found."
1758
  msgstr ""
1759
 
1760
- #: EmbedPress/ThirdParty/Googlecalendar/Embedpress_Google_Helper.php:481
1761
  msgid "Back"
1762
  msgstr ""
1763
 
1764
- #: EmbedPress/ThirdParty/Googlecalendar/Embedpress_Google_Helper.php:502
1765
  msgid "Unknown error format"
1766
  msgstr ""
1767
 
1768
- #: Gutenberg/dist/blocks.build.js:1
1769
  #: Gutenberg/src/document/edit.js:198
1770
- #: Gutenberg/src/embedpress-pdf/edit.js:194
1771
  msgid "Embed Size"
1772
  msgstr ""
1773
 
1774
- #: Gutenberg/dist/blocks.build.js:1
1775
- #: Gutenberg/src/embedpress-calendar/edit.js:63
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1776
  msgid "Customize Embedded Calendar"
1777
  msgstr ""
1778
 
1779
- #: Gutenberg/dist/blocks.build.js:1
1780
- #: Gutenberg/src/embedpress-calendar/edit.js:64
1781
  msgid "You can adjust the width and height of embedded content."
1782
  msgstr ""
1783
 
1784
- #: Gutenberg/dist/blocks.build.js:1
1785
- #: Gutenberg/src/embedpress-calendar/edit.js:77
1786
- msgid "Calendar Type and other option"
1787
  msgstr ""
1788
 
1789
- #: Gutenberg/dist/blocks.build.js:1
1790
- #: Gutenberg/src/embedpress-calendar/edit.js:78
1791
  msgid "You can show public calendar without any API key"
1792
  msgstr ""
1793
 
1794
- #: Gutenberg/dist/blocks.build.js:1
1795
- #: Gutenberg/src/embedpress-calendar/edit.js:87
1796
  msgid "Embedding Public Calendar"
1797
  msgstr ""
1
+ # Copyright (C) 2022 WPDeveloper
2
  # This file is distributed under the same license as the EmbedPress plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: EmbedPress 3.5.2\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: 2022-10-27T08:33:12+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
+ "X-Generator: WP-CLI 2.7.0\n"
15
  "X-Domain: embedpress\n"
16
 
17
  #. Plugin Name of the plugin
18
+ #: EmbedPress/Elementor/Embedpress_Elementor_Integration.php:41
19
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:27
20
  msgid "EmbedPress"
21
  msgstr ""
22
 
36
  msgid "https://wpdeveloper.com"
37
  msgstr ""
38
 
39
+ #: EmbedPress/Core.php:509
40
+ #: EmbedPress/CoreLegacy.php:309
41
  #: EmbedPress/Plugins/Plugin.php:158
42
  msgid "Open settings page"
43
  msgstr ""
44
 
45
+ #: EmbedPress/Core.php:510
46
+ #: EmbedPress/CoreLegacy.php:310
47
  #: EmbedPress/Ends/Back/Settings/templates/custom-logo.php:146
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:514
54
+ #: EmbedPress/CoreLegacy.php:314
55
  #: EmbedPress/Plugins/Plugin.php:163
56
  msgid "Go Pro"
57
  msgstr ""
58
 
59
  #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:68
60
+ #: EmbedPress/ThirdParty/Googlecalendar/Embedpress_Google_Helper.php:790
61
  msgid "All day"
62
  msgstr ""
63
 
64
  #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:69
65
+ #: EmbedPress/ThirdParty/Googlecalendar/Embedpress_Google_Helper.php:791
66
  msgid "Created by"
67
  msgstr ""
68
 
69
  #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:70
70
+ #: EmbedPress/ThirdParty/Googlecalendar/Embedpress_Google_Helper.php:792
71
  msgid "Go to event"
72
  msgstr ""
73
 
74
  #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:71
75
+ #: EmbedPress/ThirdParty/Googlecalendar/Embedpress_Google_Helper.php:481
76
+ #: EmbedPress/ThirdParty/Googlecalendar/Embedpress_Google_Helper.php:793
77
  msgid "Unknown error"
78
  msgstr ""
79
 
80
  #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:72
81
+ #: EmbedPress/ThirdParty/Googlecalendar/Embedpress_Google_Helper.php:794
82
  msgid "Request error"
83
  msgstr ""
84
 
85
  #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:73
86
+ #: EmbedPress/ThirdParty/Googlecalendar/Embedpress_Google_Helper.php:795
87
  msgid "Loading"
88
  msgstr ""
89
 
93
 
94
  #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:128
95
  #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:62
96
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:88
97
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:63
98
  msgid "Pro"
99
  msgstr ""
100
 
101
  #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:135
102
  #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:69
103
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:95
104
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:70
105
  msgid "Content Settings"
106
  msgstr ""
107
 
127
 
128
  #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:176
129
  #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:134
130
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1356
131
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:164
132
+ #: Gutenberg/dist/blocks.build.js:600
133
+ #: Gutenberg/dist/blocks.build.js:755
134
+ #: Gutenberg/dist/blocks.build.js:819
135
  #: Gutenberg/src/document/edit.js:201
136
+ #: Gutenberg/src/embedpress-calendar/edit.js:69
137
+ #: Gutenberg/src/embedpress-pdf/edit.js:382
138
  msgid "Width"
139
  msgstr ""
140
 
141
  #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:199
142
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:158
143
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1375
144
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:188
145
+ #: Gutenberg/dist/blocks.build.js:600
146
+ #: Gutenberg/dist/blocks.build.js:755
147
+ #: Gutenberg/dist/blocks.build.js:819
148
  #: Gutenberg/src/document/edit.js:213
149
+ #: Gutenberg/src/embedpress-calendar/edit.js:74
150
+ #: Gutenberg/src/embedpress-pdf/edit.js:394
151
  msgid "Height"
152
  msgstr ""
153
 
154
+ #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:222
155
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:181
156
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1417
157
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:211
158
  msgid "Alignment"
159
  msgstr ""
160
 
161
+ #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:226
162
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:185
163
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1421
164
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:215
165
  msgid "Left"
166
  msgstr ""
167
 
168
+ #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:230
169
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:189
170
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1425
171
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:219
172
  msgid "Center"
173
  msgstr ""
174
 
175
+ #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:234
176
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:193
177
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1429
178
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:223
179
  msgid "Right"
180
  msgstr ""
181
 
182
+ #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:246
183
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:205
184
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:235
185
+ #: Gutenberg/dist/blocks.build.js:755
186
+ #: Gutenberg/dist/blocks.build.js:819
187
+ #: Gutenberg/src/embedpress-calendar/edit.js:83
188
+ #: Gutenberg/src/embedpress-pdf/edit.js:493
189
  msgid "Powered By"
190
  msgstr ""
191
 
192
+ #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:248
193
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:207
194
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:456
195
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:588
196
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:609
197
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:625
198
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:640
199
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:656
200
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:671
201
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:686
202
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:965
203
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:977
204
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1008
205
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1037
206
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1055
207
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1071
208
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1089
209
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1106
210
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1123
211
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1139
212
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1155
213
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:237
214
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:268
215
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:306
216
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:321
217
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:336
218
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:352
219
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:367
220
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:78
221
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:96
222
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:113
224
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:144
225
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:163
226
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:182
227
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:153
228
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:182
229
  msgid "Show"
230
  msgstr ""
231
 
232
+ #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:249
233
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:208
234
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:457
235
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:587
236
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:608
237
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:624
238
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:639
239
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:655
240
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:670
241
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:685
242
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:964
243
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:976
244
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1007
245
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1036
246
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1054
247
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1070
248
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1088
249
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1105
250
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1122
251
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1138
252
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1154
253
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:238
254
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:269
255
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:307
256
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:322
257
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:337
258
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:353
259
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:368
260
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:74
261
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:92
262
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:109
264
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:140
265
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:159
266
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:178
267
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:154
268
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:181
269
  msgid "Hide"
270
  msgstr ""
271
 
272
+ #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:263
273
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:222
274
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:179
275
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:384
276
  msgid "Go Premium for More Features"
277
  msgstr ""
278
 
279
+ #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:270
280
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:229
281
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:186
282
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:391
283
  msgid "Unlock more possibilities"
284
  msgstr ""
285
 
286
  #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:319
287
+ msgid "Please paste your public google calendar link."
288
+ msgstr ""
289
+
290
+ #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:326
291
  msgid "You need EmbedPress Pro to display Private Calendar Data."
292
  msgstr ""
293
 
294
+ #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:330
295
  msgid "Private Calendar Data will be displayed in the frontend"
296
  msgstr ""
297
 
298
+ #: EmbedPress/Elementor/Widgets/Embedpress_Calendar.php:346
299
+ #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:292
300
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:628
301
+ #: EmbedPress/Shortcode.php:931
302
+ #: Gutenberg/plugin.php:269
303
+ #: Gutenberg/plugin.php:320
304
  msgid "Powered By EmbedPress"
305
  msgstr ""
306
 
309
  msgstr ""
310
 
311
  #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:76
312
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:77
313
  msgid "Document Type"
314
  msgstr ""
315
 
316
  #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:80
317
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:81
318
  msgid "File"
319
  msgstr ""
320
 
321
  #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:81
322
  #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:118
323
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:82
324
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:114
325
  msgid "URL"
326
  msgstr ""
327
 
335
  msgstr ""
336
 
337
  #: EmbedPress/Elementor/Widgets/Embedpress_Document.php:120
338
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:116
339
  msgid "https://your-link.com/file.pdf"
340
  msgstr ""
341
 
342
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:103
343
  msgid "Source Name"
344
  msgstr ""
345
 
346
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:108
347
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:522
348
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:540
349
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:242
350
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:258
351
  msgid "Default"
352
  msgstr ""
353
 
354
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:109
355
  #: EmbedPress/Ends/Back/Settings/templates/partials/sidebar.php:42
356
  msgid "YouTube"
357
  msgstr ""
358
 
359
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:110
360
  #: EmbedPress/Ends/Back/Settings/templates/partials/sidebar.php:48
361
  msgid "Vimeo"
362
  msgstr ""
363
 
364
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:111
365
  #: EmbedPress/Ends/Back/Settings/templates/partials/sidebar.php:66
366
  msgid "Dailymotion"
367
  msgstr ""
368
 
369
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:112
370
  #: EmbedPress/Ends/Back/Settings/templates/partials/sidebar.php:54
371
  msgid "Wistia"
372
  msgstr ""
373
 
374
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:113
375
  #: EmbedPress/Ends/Back/Settings/templates/partials/sidebar.php:60
376
  msgid "Twitch"
377
  msgstr ""
378
 
379
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:114
380
  #: EmbedPress/Ends/Back/Settings/templates/partials/sidebar.php:72
381
  msgid "SoundCloud"
382
  msgstr ""
383
 
384
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:122
385
  msgid "Embedded Link"
386
  msgstr ""
387
 
388
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:127
389
  msgid "Enter your Link"
390
  msgstr ""
391
 
392
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:135
393
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1310
394
  msgid "Player Background"
395
  msgstr ""
396
 
397
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:136
398
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1311
399
+ #: EmbedPress/Ends/Back/Settings/templates/spotify.php:29
400
  msgid "Dynamic option will use the most vibrant color from the album art."
401
  msgstr ""
402
 
403
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:141
404
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1316
405
  msgid "Dynamic"
406
  msgstr ""
407
 
408
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:142
409
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1317
410
  msgid "Black & White"
411
  msgstr ""
412
 
413
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:153
414
  msgid "Start Time"
415
  msgstr ""
416
 
417
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:155
418
  msgid "Specify a start time (in seconds)"
419
  msgstr ""
420
 
421
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:212
422
  msgid "End Time"
423
  msgstr ""
424
 
425
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:214
426
  msgid "Specify an end time (in seconds)"
427
  msgstr ""
428
 
429
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:223
430
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:619
431
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:711
432
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1031
433
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1168
434
  #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:38
435
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:51
436
  #: EmbedPress/Ends/Back/Settings/templates/twitch.php:33
437
  #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:35
438
  #: EmbedPress/Ends/Back/Settings/templates/wistia.php:117
439
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:71
440
  msgid "Auto Play"
441
  msgstr ""
442
 
443
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:234
444
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:756
445
  msgid "Player Options"
446
  msgstr ""
447
 
448
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:242
449
  msgid "Controls"
450
  msgstr ""
451
 
452
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:247
453
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:123
454
  msgid "Display immediately"
455
  msgstr ""
456
 
457
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:248
458
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:124
459
  msgid "Display after user initiation"
460
  msgstr ""
461
 
462
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:249
463
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:125
464
  msgid "Hide controls"
465
  msgstr ""
466
 
467
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:257
468
  msgid "Fullscreen button"
469
  msgstr ""
470
 
471
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:271
472
  msgid "Video Annotations"
473
  msgstr ""
474
 
475
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:276
476
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:318
477
  msgid "Display"
478
  msgstr ""
479
 
480
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:277
481
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:319
482
  msgid "Do Not Display"
483
  msgstr ""
484
 
485
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:286
486
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:87
487
  msgid "Progress Bar Color"
488
  msgstr ""
489
 
490
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:291
491
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:92
492
  msgid "Red"
493
  msgstr ""
494
 
495
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:292
496
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:93
497
  msgid "White"
498
  msgstr ""
499
 
500
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:300
501
  msgid "Closed Captions %s"
502
  msgstr ""
503
 
504
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:313
505
  msgid "Modest Branding %s"
506
  msgstr ""
507
 
508
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:332
509
  msgid "Related Videos"
510
  msgstr ""
511
 
512
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:333
513
  msgid "Set it to \"Yes\" to display related videos from all channels. Otherwise, related videos will show from the same channel."
514
  msgstr ""
515
 
516
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:352
517
+ msgid "YouTube Channel"
518
+ msgstr ""
519
+
520
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:362
521
+ msgid "These options take effect only when a YouTube channel is embedded."
522
+ msgstr ""
523
+
524
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:370
525
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:47
526
+ msgid "Video Per Page"
527
+ msgstr ""
528
+
529
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:391
530
+ msgid "Column"
531
+ msgstr ""
532
+
533
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:396
534
+ msgid "2"
535
+ msgstr ""
536
+
537
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:397
538
+ msgid "3"
539
+ msgstr ""
540
+
541
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:398
542
+ msgid "4"
543
+ msgstr ""
544
+
545
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:399
546
+ msgid "6"
547
+ msgstr ""
548
+
549
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:400
550
+ msgid "Auto"
551
+ msgstr ""
552
+
553
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:416
554
+ msgid "Gap Between Videos"
555
+ msgstr ""
556
+
557
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:453
558
+ msgid "Pagination"
559
+ msgstr ""
560
+
561
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:475
562
  msgid "YouTube Subscriber"
563
  msgstr ""
564
 
565
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:486
566
+ msgid "Channel ID %s"
567
  msgstr ""
568
 
569
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:491
570
+ msgid "Enter Channel ID"
571
  msgstr ""
572
 
573
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:501
574
  msgid "Subscription Text %s"
575
  msgstr ""
576
 
577
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:506
578
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:228
579
  msgid "Eg. Don't miss out! Subscribe"
580
  msgstr ""
581
 
582
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:517
583
  msgid "Layout %s"
584
  msgstr ""
585
 
586
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:523
587
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:243
588
  msgid "Full"
589
  msgstr ""
590
 
591
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:535
592
  msgid "Theme %s"
593
  msgstr ""
594
 
595
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:541
596
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:988
 
597
  #: EmbedPress/Ends/Back/Settings/templates/twitch.php:71
598
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:259
599
  msgid "Dark"
600
  msgstr ""
601
 
602
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:553
603
  msgid "Subscriber Count %s"
604
  msgstr ""
605
 
606
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:573
607
  msgid "YouTube Live Chat"
608
  msgstr ""
609
 
610
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:582
611
  msgid "Show YouTube Live Chat %s"
612
  msgstr ""
613
 
614
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:603
615
  msgid "Logo %s"
616
  msgstr ""
617
 
618
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:634
619
  msgid "Play On Mobile"
620
  msgstr ""
621
 
622
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:650
623
  #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:72
624
  msgid "Mute"
625
  msgstr ""
626
 
627
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:665
628
  msgid "Player Controls"
629
  msgstr ""
630
 
631
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:680
632
  msgid "Video Info"
633
  msgstr ""
634
 
635
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:695
636
  msgid "Control Color"
637
  msgstr ""
638
 
639
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:725
640
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1018
641
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1183
642
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:44
643
  msgid "Scheme"
644
  msgstr ""
645
 
646
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:740
647
  #: EmbedPress/Ends/Back/Settings/templates/wistia.php:175
648
  msgid "Captions Enabled By Default"
649
  msgstr ""
650
 
651
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:770
652
  #: EmbedPress/Ends/Back/Settings/templates/wistia.php:40
653
  msgid "Fullscreen Button"
654
  msgstr ""
655
 
656
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:784
657
  #: EmbedPress/Ends/Back/Settings/templates/wistia.php:72
658
  msgid "Small Play Button"
659
  msgstr ""
660
 
661
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:801
662
  msgid "Resumable"
663
  msgstr ""
664
 
665
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:816
666
  msgid "Focus"
667
  msgstr ""
668
 
669
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:831
670
  msgid "Captions %s"
671
  msgstr ""
672
 
673
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:845
674
  msgid "Playbar "
675
  msgstr ""
676
 
677
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:859
678
  msgid "Volume Control %s"
679
  msgstr ""
680
 
681
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:875
682
  msgid "Volume %s"
683
  msgstr ""
684
 
685
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:897
686
  msgid "Rewind"
687
  msgstr ""
688
 
689
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:911
690
  msgid "Rewind time"
691
  msgstr ""
692
 
693
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:938
694
  msgid "Autoplay"
695
  msgstr ""
696
 
697
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:940
698
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:951
699
  #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:43
700
  #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:60
701
  #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:77
725
  #: EmbedPress/Ends/Back/Settings/templates/wistia.php:180
726
  #: EmbedPress/Ends/Back/Settings/templates/wistia.php:197
727
  #: EmbedPress/Ends/Back/Settings/templates/wistia.php:213
728
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:76
729
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:105
730
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:137
731
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:198
732
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:274
733
  msgid "No"
734
  msgstr ""
735
 
736
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:941
737
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:952
738
  #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:47
739
  #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:64
740
  #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:81
764
  #: EmbedPress/Ends/Back/Settings/templates/wistia.php:184
765
  #: EmbedPress/Ends/Back/Settings/templates/wistia.php:201
766
  #: EmbedPress/Ends/Back/Settings/templates/wistia.php:217
767
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:80
768
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:109
769
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:141
770
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:202
771
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:278
772
  msgid "Yes"
773
  msgstr ""
774
 
775
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:949
776
  msgid "Allow Full Screen Video"
777
  msgstr ""
778
 
779
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:962
780
  msgid "Show Chat %s"
781
  msgstr ""
782
 
783
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:974
784
  msgid "Mute on start"
785
  msgstr ""
786
 
787
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:984
788
  #: EmbedPress/Ends/Back/Settings/templates/twitch.php:66
789
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:253
790
  msgid "Theme"
791
  msgstr ""
792
 
793
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:989
 
794
  #: EmbedPress/Ends/Back/Settings/templates/twitch.php:72
795
  msgid "Light"
796
  msgstr ""
797
 
798
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1002
799
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:29
800
  msgid "Visual Player"
801
  msgstr ""
802
 
803
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1049
804
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:104
805
  msgid "Share Button"
806
  msgstr ""
807
 
808
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1065
809
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:119
810
  msgid "Comments"
811
  msgstr ""
812
 
813
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1083
814
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:135
815
  msgid "Artwork"
816
  msgstr ""
817
 
818
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1100
819
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:154
820
  msgid "Play Count"
821
  msgstr ""
822
 
823
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1117
824
  msgid "User Name"
825
  msgstr ""
826
 
827
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1133
828
  msgid "Buy Button %s"
829
  msgstr ""
830
 
831
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1149
832
  msgid "Download Button %s"
833
  msgstr ""
834
 
835
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1196
836
  msgid "Author Information"
837
  msgstr ""
838
 
839
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1208
840
  msgid "Title"
841
  msgstr ""
842
 
843
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1224
844
  msgid "Author"
845
  msgstr ""
846
 
847
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1238
848
  msgid "Avatar"
849
  msgstr ""
850
 
851
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1252
852
  msgid "Loop %s"
853
  msgstr ""
854
 
855
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1267
856
  msgid "Auto Pause %s"
857
  msgstr ""
858
 
859
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1282
860
  msgid "DNT %s"
861
  msgstr ""
862
 
863
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1287
864
  msgid "Set this parameter to \"yes\" will block the player from tracking any session data, including all cookies"
865
  msgstr ""
866
 
867
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1329
 
 
 
 
868
  msgid "Style"
869
  msgstr ""
870
 
871
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1395
872
  msgid "Margin"
873
  msgstr ""
874
 
875
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1406
876
  msgid "Padding"
877
  msgstr ""
878
 
879
+ #: EmbedPress/Elementor/Widgets/Embedpress_Elementor.php:1502
880
+ msgid "You need EmbedPress Pro to Embed Apple Podcast. Note. This message is only visible to you."
881
  msgstr ""
882
 
883
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:27
884
  msgid "EmbedPress PDF"
885
  msgstr ""
886
 
888
  msgid "Upload a file or pick one from your media library for embed. Supported File Type: PDF"
889
  msgstr ""
890
 
891
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:130
892
+ msgid "Zoom"
893
+ msgstr ""
894
+
895
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:134
896
+ msgid "Automatic Zoom"
897
+ msgstr ""
898
+
899
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:135
900
+ msgid "Actual Size"
901
+ msgstr ""
902
+
903
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:136
904
+ msgid "Page Fit"
905
+ msgstr ""
906
+
907
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:137
908
+ msgid "Page Width"
909
+ msgstr ""
910
+
911
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:138
912
+ msgid "Custom"
913
+ msgstr ""
914
+
915
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:139
916
+ msgid "50%"
917
+ msgstr ""
918
+
919
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:140
920
+ msgid "75%"
921
+ msgstr ""
922
+
923
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:141
924
+ msgid "100%"
925
+ msgstr ""
926
+
927
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:142
928
+ msgid "125%"
929
+ msgstr ""
930
+
931
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:143
932
+ msgid "150%"
933
+ msgstr ""
934
+
935
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:144
936
+ msgid "200%"
937
+ msgstr ""
938
+
939
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:145
940
+ msgid "300%"
941
+ msgstr ""
942
+
943
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:146
944
+ msgid "400%"
945
+ msgstr ""
946
+
947
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:153
948
+ msgid "Custom Zoom"
949
+ msgstr ""
950
+
951
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:256
952
+ #: Gutenberg/dist/blocks.build.js:755
953
+ #: Gutenberg/src/embedpress-pdf/edit.js:408
954
+ msgid "PDF Control Settings"
955
+ msgstr ""
956
+
957
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:266
958
+ msgid "Toolbar %s"
959
+ msgstr ""
960
+
961
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:280
962
+ msgid "Toolbar Position"
963
+ msgstr ""
964
+
965
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:284
966
+ msgid "Top"
967
+ msgstr ""
968
+
969
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:288
970
+ msgid "Bottom"
971
+ msgstr ""
972
+
973
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:304
974
+ msgid "PDF Presentation Mode"
975
+ msgstr ""
976
+
977
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:319
978
+ msgid "Print/Download %s"
979
+ msgstr ""
980
+
981
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:334
982
+ msgid "Copy Text %s"
983
+ msgstr ""
984
+
985
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:350
986
+ #: Gutenberg/dist/blocks.build.js:755
987
+ #: Gutenberg/src/embedpress-pdf/edit.js:479
988
+ msgid "Rotation"
989
+ msgstr ""
990
+
991
+ #: EmbedPress/Elementor/Widgets/Embedpress_Pdf.php:365
992
+ #: Gutenberg/dist/blocks.build.js:755
993
+ #: Gutenberg/src/embedpress-pdf/edit.js:486
994
+ msgid "Properties"
995
+ msgstr ""
996
+
997
  #: EmbedPress/Ends/Back/Settings/EmbedpressSettings.php:137
998
  msgid "EmbedPress Settings"
999
  msgstr ""
1025
  #: EmbedPress/Ends/Back/Settings/templates/general.php:64
1026
  #: EmbedPress/Ends/Back/Settings/templates/google-calendar.php:64
1027
  #: EmbedPress/Ends/Back/Settings/templates/soundcloud.php:189
1028
+ #: EmbedPress/Ends/Back/Settings/templates/spotify.php:34
1029
  #: EmbedPress/Ends/Back/Settings/templates/twitch.php:111
1030
  #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:158
1031
  #: EmbedPress/Ends/Back/Settings/templates/wistia.php:231
1032
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:287
1033
  msgid "Save Changes"
1034
  msgstr ""
1035
 
1073
  #: EmbedPress/Ends/Back/Settings/templates/twitch.php:25
1074
  #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:27
1075
  #: EmbedPress/Ends/Back/Settings/templates/wistia.php:32
1076
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:55
1077
  msgid "Start Time (In Seconds)"
1078
  msgstr ""
1079
 
1080
  #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:32
1081
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:58
1082
  msgid "You can put a custom time in seconds to start the video. Example: 500"
1083
  msgstr ""
1084
 
1087
  #: EmbedPress/Ends/Back/Settings/templates/twitch.php:45
1088
  #: EmbedPress/Ends/Back/Settings/templates/vimeo.php:47
1089
  #: EmbedPress/Ends/Back/Settings/templates/wistia.php:129
1090
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:83
1091
  msgid "Automatically start to play the videos when the player loads."
1092
  msgstr ""
1093
 
1108
  msgstr ""
1109
 
1110
  #: EmbedPress/Ends/Back/Settings/templates/dailymotion.php:103
1111
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:128
1112
  msgid "Indicates whether the video player controls are displayed."
1113
  msgstr ""
1114
 
1135
  msgstr ""
1136
 
1137
  #: EmbedPress/Ends/Back/Settings/templates/elements.php:21
1138
+ msgid "It supports 150+ providers. Click to read the docs"
1139
  msgstr ""
1140
 
1141
  #: EmbedPress/Ends/Back/Settings/templates/elements.php:32
1374
  msgid "Username"
1375
  msgstr ""
1376
 
 
 
 
 
 
 
 
 
 
 
 
 
1377
  #: EmbedPress/Ends/Back/Settings/templates/twitch.php:18
1378
  msgid "Twitch Settings"
1379
  msgstr ""
1397
  msgstr ""
1398
 
1399
  #: EmbedPress/Ends/Back/Settings/templates/twitch.php:79
1400
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:132
1401
  msgid "Enable Fullscreen Button"
1402
  msgstr ""
1403
 
1404
  #: EmbedPress/Ends/Back/Settings/templates/twitch.php:91
1405
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:144
1406
  msgid "Indicates whether the fullscreen button is enabled."
1407
  msgstr ""
1408
 
1547
  msgid "The amount of time to rewind, in seconds."
1548
  msgstr ""
1549
 
1550
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:32
1551
  msgid "YouTube Settings"
1552
  msgstr ""
1553
 
1554
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:39
1555
+ msgid "YouTube API Key"
1556
+ msgstr ""
1557
+
1558
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:41
1559
+ msgid "Enter API key"
1560
+ msgstr ""
1561
+
1562
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:42
1563
+ msgid "Insert your YouTube API key. To obtain your API key, refer to this <a class='ep-link' href='%s' target='_blank'>documentation</a>."
1564
+ msgstr ""
1565
+
1566
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:50
1567
+ msgid "Specify the number of videos you wish to show on each page. Note: This option takes effect only when a YouTube channel is embedded."
1568
+ msgstr ""
1569
+
1570
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:63
1571
  msgid "End Time (In Seconds)"
1572
  msgstr ""
1573
 
1574
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:66
1575
  msgid "You can put a custom time in seconds to end the video."
1576
  msgstr ""
1577
 
1578
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:96
1579
  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)."
1580
  msgstr ""
1581
 
1582
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:100
1583
  msgid "Force Closed Captions"
1584
  msgstr ""
1585
 
1586
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:114
1587
  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."
1588
  msgstr ""
1589
 
1590
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:118
1591
  msgid "Display Controls"
1592
  msgstr ""
1593
 
1594
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:148
1595
  msgid "Display Video Annotations"
1596
  msgstr ""
1597
 
1598
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:157
1599
  msgid "Indicates whether video annotations are displayed."
1600
  msgstr ""
1601
 
1602
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:161
1603
  msgid "Display Related Videos"
1604
  msgstr ""
1605
 
1606
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:166
1607
  msgid "From the same channel of the video"
1608
  msgstr ""
1609
 
1610
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:167
1611
  msgid "Based on User's watch history"
1612
  msgstr ""
1613
 
1614
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:170
1615
  msgid "Indicates how the player should show related videos when playback of the video pauses or ends."
1616
  msgstr ""
1617
 
1618
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:176
1619
  msgid "Modest Branding"
1620
  msgstr ""
1621
 
1622
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:187
1623
  msgid "Indicates whether the player should display a YouTube logo in the control bar."
1624
  msgstr ""
1625
 
1626
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:193
1627
  msgid " Live Chat"
1628
  msgstr ""
1629
 
1630
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:207
1631
  msgid "Enabling this option will show chat on all YouTube videos. However, YouTube Live Chat feature only works with Live Streaming videos."
1632
  msgstr ""
1633
 
1634
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:212
1635
  msgid "Subscription Button"
1636
  msgstr ""
1637
 
1638
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:215
1639
+ msgid "Channel ID"
1640
  msgstr ""
1641
 
1642
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:219
1643
  msgid "You can use either your channel link or channel ID to show the subscription button."
1644
  msgstr ""
1645
 
1646
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:226
1647
  msgid "Subscription Text"
1648
  msgstr ""
1649
 
1650
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:230
1651
  msgid "Optionally you can output some CTA text before the subscriber button."
1652
  msgstr ""
1653
 
1654
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:237
1655
  msgid "Layout"
1656
  msgstr ""
1657
 
1658
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:248
1659
  msgid "Full layout shows channel image. Default layout shows only channel name and subscription button."
1660
  msgstr ""
1661
 
1662
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:264
1663
  msgid "Default theme is good for white background. Dark theme is good for black background."
1664
  msgstr ""
1665
 
1666
+ #: EmbedPress/Ends/Back/Settings/templates/youtube.php:269
1667
  msgid "Show Subscriber Count"
1668
  msgstr ""
1669
 
1670
+ #: EmbedPress/Includes/Classes/EmbedPress_Notice.php:427
1671
  msgid "Install Now!"
1672
  msgstr ""
1673
 
1674
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:382
1675
  msgid "We can't detect any plugin information. This is most probably because you have not included the code in the plugin main file."
1676
  msgstr ""
1677
 
1678
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:656
1679
  msgid "What we collect."
1680
  msgstr ""
1681
 
1682
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:657
1683
  msgid "Sure, I'd like to help"
1684
  msgstr ""
1685
 
1686
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:658
1687
  msgid "No Thanks."
1688
  msgstr ""
1689
 
1690
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:757
1691
  msgid "Sorry to see you go"
1692
  msgstr ""
1693
 
1694
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:758
1695
  msgid "Before you deactivate the plugin, would you quickly give us your reason for doing so?"
1696
  msgstr ""
1697
 
1698
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:761
1699
  msgid "I no longer need the plugin"
1700
  msgstr ""
1701
 
1702
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:763
1703
  msgid "I found a better plugin"
1704
  msgstr ""
1705
 
1706
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:764
1707
  msgid "Please share which plugin"
1708
  msgstr ""
1709
 
1710
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:766
1711
  msgid "I couldn't get the plugin to work"
1712
  msgstr ""
1713
 
1714
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:767
1715
  msgid "It's a temporary deactivation"
1716
  msgstr ""
1717
 
1718
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:769
1719
  msgid "Other"
1720
  msgstr ""
1721
 
1722
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:770
1723
  msgid "Please share the reason"
1724
  msgstr ""
1725
 
1726
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:812
1727
  msgid "Submitting form"
1728
  msgstr ""
1729
 
1730
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:870
1731
  msgid "Submit and Deactivate"
1732
  msgstr ""
1733
 
1734
+ #: EmbedPress/Includes/Classes/EmbedPress_Plugin_Usage_Tracker.php:870
1735
  msgid "Just Deactivate"
1736
  msgstr ""
1737
 
1738
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:477
1739
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:851
1740
+ #: Gutenberg/plugin.php:69
1741
  msgid "Watch from the beginning"
1742
  msgstr ""
1743
 
1744
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:478
1745
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:852
1746
+ #: Gutenberg/plugin.php:70
1747
  msgid "Skip to where you left off"
1748
  msgstr ""
1749
 
1750
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:479
1751
+ #: EmbedPress/Includes/Classes/Feature_Enhancer.php:853
1752
+ #: Gutenberg/plugin.php:71
1753
  msgid "It looks like you've watched<br />part of this video before!"
1754
  msgstr ""
1755
 
1806
  msgid "https://your-link.com"
1807
  msgstr ""
1808
 
1809
+ #: EmbedPress/Includes/Traits/Shared.php:30
1810
  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."
1811
  msgstr ""
1812
 
1813
+ #: EmbedPress/Includes/Traits/Shared.php:31
1814
  msgid ""
1815
  "We collect non-sensitive diagnostic data and plugin usage information.\n"
1816
  " Your site URL, WordPress & PHP version, plugins & themes and email address to send you the\n"
1818
  " popular plugins and themes. No spam, I promise."
1819
  msgstr ""
1820
 
1821
+ #: EmbedPress/Includes/Traits/Shared.php:56
1822
+ 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?"
 
 
 
 
1823
  msgstr ""
1824
 
1825
+ #: EmbedPress/Providers/Boomplay.php:78
1826
+ msgid "Embedding Boomplay playlists and albums are supported in EmbedPress Pro"
1827
  msgstr ""
1828
 
1829
+ #: EmbedPress/Providers/Boomplay.php:78
1830
+ msgid "This message is only visible to you."
1831
  msgstr ""
1832
 
1833
+ #: EmbedPress/Providers/Youtube.php:197
1834
+ #: EmbedPress/Providers/Youtube.php:333
1835
+ msgid "Sorry, there may be an issue with your YouTube API key."
1836
  msgstr ""
1837
 
1838
+ #: EmbedPress/Providers/Youtube.php:260
1839
+ msgid "Please enter your YouTube API key to embed YouTube Channel."
1840
  msgstr ""
1841
 
1842
+ #: EmbedPress/Providers/Youtube.php:326
1843
+ #: EmbedPress/Providers/Youtube.php:509
1844
+ msgid "There is nothing on the playlist."
1845
  msgstr ""
1846
 
1847
+ #: EmbedPress/Providers/Youtube.php:412
1848
+ msgid "Prev"
1849
  msgstr ""
1850
 
1851
+ #: EmbedPress/Providers/Youtube.php:495
1852
+ msgid "Next "
1853
  msgstr ""
1854
 
1855
+ #: EmbedPress/Providers/Youtube.php:516
1856
+ msgid "EmbedPress: Please enter your YouTube API key at <a class='ep-link' href='%s' target='_blank' style='color: #5b4e96; text-decoration: none'>EmbedPress > Platforms > YouTube</a> to embed YouTube Channel."
1857
  msgstr ""
1858
 
1859
+ #: EmbedPress/Providers/Youtube.php:557
1860
+ msgid "EmbedPress: "
1861
  msgstr ""
1862
 
1863
  #: EmbedPress/ThirdParty/Googlecalendar/Embedpress_Google_Helper.php:7
1928
  msgid "No calendar was found."
1929
  msgstr ""
1930
 
1931
+ #: EmbedPress/ThirdParty/Googlecalendar/Embedpress_Google_Helper.php:479
1932
  msgid "Back"
1933
  msgstr ""
1934
 
1935
+ #: EmbedPress/ThirdParty/Googlecalendar/Embedpress_Google_Helper.php:500
1936
  msgid "Unknown error format"
1937
  msgstr ""
1938
 
1939
+ #: Gutenberg/dist/blocks.build.js:600
1940
  #: Gutenberg/src/document/edit.js:198
 
1941
  msgid "Embed Size"
1942
  msgstr ""
1943
 
1944
+ #: Gutenberg/dist/blocks.build.js:755
1945
+ #: Gutenberg/src/embedpress-pdf/edit.js:379
1946
+ msgid "Embed Size(px)"
1947
+ msgstr ""
1948
+
1949
+ #: Gutenberg/dist/blocks.build.js:755
1950
+ #: Gutenberg/src/embedpress-pdf/edit.js:415
1951
+ msgid "Toolbar"
1952
+ msgstr ""
1953
+
1954
+ #: Gutenberg/dist/blocks.build.js:755
1955
+ #: Gutenberg/src/embedpress-pdf/edit.js:416
1956
+ msgid "Show or Hide toolbar. Note: If you disable toolbar access then every toolbar options will be disabled"
1957
+ msgstr ""
1958
+
1959
+ #: Gutenberg/dist/blocks.build.js:755
1960
+ #: Gutenberg/src/embedpress-pdf/edit.js:425
1961
+ #: Gutenberg/src/embedpress-pdf/edit.js:458
1962
+ #: Gutenberg/src/embedpress-pdf/edit.js:474
1963
+ msgid "pro"
1964
+ msgstr ""
1965
+
1966
+ #: Gutenberg/dist/blocks.build.js:755
1967
+ #: Gutenberg/src/embedpress-pdf/edit.js:441
1968
+ msgid "Presentation Mode"
1969
+ msgstr ""
1970
+
1971
+ #: Gutenberg/dist/blocks.build.js:755
1972
+ #: Gutenberg/src/embedpress-pdf/edit.js:450
1973
+ msgid "Print/Download"
1974
+ msgstr ""
1975
+
1976
+ #: Gutenberg/dist/blocks.build.js:755
1977
+ #: Gutenberg/src/embedpress-pdf/edit.js:465
1978
+ msgid "Copy Text"
1979
+ msgstr ""
1980
+
1981
+ #: Gutenberg/dist/blocks.build.js:819
1982
+ #: Gutenberg/src/embedpress-calendar/edit.js:66
1983
  msgid "Customize Embedded Calendar"
1984
  msgstr ""
1985
 
1986
+ #: Gutenberg/dist/blocks.build.js:819
1987
+ #: Gutenberg/src/embedpress-calendar/edit.js:67
1988
  msgid "You can adjust the width and height of embedded content."
1989
  msgstr ""
1990
 
1991
+ #: Gutenberg/dist/blocks.build.js:819
1992
+ #: Gutenberg/src/embedpress-calendar/edit.js:80
1993
+ msgid "Calendar Type and other options"
1994
  msgstr ""
1995
 
1996
+ #: Gutenberg/dist/blocks.build.js:819
1997
+ #: Gutenberg/src/embedpress-calendar/edit.js:81
1998
  msgid "You can show public calendar without any API key"
1999
  msgstr ""
2000
 
2001
+ #: Gutenberg/dist/blocks.build.js:819
2002
+ #: Gutenberg/src/embedpress-calendar/edit.js:90
2003
  msgid "Embedding Public Calendar"
2004
  msgstr ""
readme.txt CHANGED
@@ -4,9 +4,9 @@ Author: WPDeveloper
4
  Author URI: https://wpdeveloper.com
5
  Tags: embed, embed youtube, gutenberg embed, pdf, doc, docs, ppt, elementor embed, video embed, Google Doc, map embed, youTube Embed, content embed, iframes, vimeo embed, wistia, google sheet, youtube player, block editor, embed wordpress, elementor, WPML, Meetup, Boomplay, PDF Logo
6
  Requires at least: 4.6
7
- Tested up to: 6.0
8
  Requires PHP: 5.6
9
- Stable tag: 3.5.2
10
  License: GPLv3 or later
11
  License URI: https://opensource.org/licenses/GPL-3.0
12
 
@@ -382,6 +382,11 @@ Not at all. You can set up everything your team needs without any coding knowled
382
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
383
  and this project adheres to [Semantic Versioning](http://semver.org/).
384
 
 
 
 
 
 
385
  = [3.5.2] - 2022-10-20 =
386
  * Improved: Added new options to PDF embed.
387
  * Improved: YouTube channel embedding with new controls.
4
  Author URI: https://wpdeveloper.com
5
  Tags: embed, embed youtube, gutenberg embed, pdf, doc, docs, ppt, elementor embed, video embed, Google Doc, map embed, youTube Embed, content embed, iframes, vimeo embed, wistia, google sheet, youtube player, block editor, embed wordpress, elementor, WPML, Meetup, Boomplay, PDF Logo
6
  Requires at least: 4.6
7
+ Tested up to: 6.1
8
  Requires PHP: 5.6
9
+ Stable tag: 3.5.3
10
  License: GPLv3 or later
11
  License URI: https://opensource.org/licenses/GPL-3.0
12
 
382
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
383
  and this project adheres to [Semantic Versioning](http://semver.org/).
384
 
385
+ = [3.5.3] - 2022-10-27 =
386
+ * Fixed: PDF layout breaking issues in Gutenberg.
387
+ * Fixed: Height-width controller isn't working in Gutenberg.
388
+ * Few minor bug fixes and improvements.
389
+
390
  = [3.5.2] - 2022-10-20 =
391
  * Improved: Added new options to PDF embed.
392
  * Improved: YouTube channel embedding with new controls.