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

Version Description

Download this release

Release Info

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

Code changes from version 2.5.5 to 2.6.0

EmbedPress/Core.php CHANGED
@@ -253,6 +253,8 @@ class Core {
253
 
254
  // Infogram (https://infogr.am/)
255
  '#https?://(.+\.)?infogr\.am/.+#i' => 'infogram',
 
 
256
 
257
  // ChartBlocks (http://www.chartblocks.com/)
258
  '#https?://(.+\.)?public\.chartblocks\.com/c/.+#i' => 'chartblocks',
253
 
254
  // Infogram (https://infogr.am/)
255
  '#https?://(.+\.)?infogr\.am/.+#i' => 'infogram',
256
+ //(https://infogram.com/)
257
+ '#https?://(.+\.)?infogram\.com/.+#i' => 'infogram',
258
 
259
  // ChartBlocks (http://www.chartblocks.com/)
260
  '#https?://(.+\.)?public\.chartblocks\.com/c/.+#i' => 'chartblocks',
EmbedPress/Elementor/Embedpress_Elementor_Integration.php CHANGED
@@ -12,6 +12,7 @@ class Embedpress_Elementor_Integration {
12
  */
13
  public function init() {
14
  add_action( 'elementor/frontend/after_enqueue_styles', [ $this, 'embedpress_enqueue_style' ] );
 
15
  add_action( 'elementor/elements/categories_registered', array( $this, 'register_widget_categories' ) );
16
  add_action( 'elementor/widgets/widgets_registered', array( $this, 'register_widget' ) );
17
  add_filter( 'oembed_providers', [ $this, 'addOEmbedProviders' ] );
@@ -30,14 +31,17 @@ class Embedpress_Elementor_Integration {
30
  'icon' => 'font',
31
  ], 1 );
32
  }
33
-
34
  /**
35
  * Load elementor widget
36
  *
 
 
37
  * @since 2.4.2
38
  */
39
  public function register_widget( $widgets_manager ) {
40
  $widgets_manager->register_widget_type( new \EmbedPress\Elementor\Widgets\Embedpress_Elementor );
 
41
  }
42
 
43
  /**
@@ -52,6 +56,15 @@ class Embedpress_Elementor_Integration {
52
  EMBEDPRESS_VERSION
53
  );
54
  }
 
 
 
 
 
 
 
 
 
55
 
56
  public function addOEmbedProviders( $providers ) {
57
  if (Compatibility::isWordPress5() && ! Compatibility::isClassicalEditorActive()) {
12
  */
13
  public function init() {
14
  add_action( 'elementor/frontend/after_enqueue_styles', [ $this, 'embedpress_enqueue_style' ] );
15
+ add_action('elementor/editor/before_enqueue_scripts', array($this, 'editor_enqueue_scripts'));
16
  add_action( 'elementor/elements/categories_registered', array( $this, 'register_widget_categories' ) );
17
  add_action( 'elementor/widgets/widgets_registered', array( $this, 'register_widget' ) );
18
  add_filter( 'oembed_providers', [ $this, 'addOEmbedProviders' ] );
31
  'icon' => 'font',
32
  ], 1 );
33
  }
34
+
35
  /**
36
  * Load elementor widget
37
  *
38
+ * @param $widgets_manager
39
+ * @throws \Exception
40
  * @since 2.4.2
41
  */
42
  public function register_widget( $widgets_manager ) {
43
  $widgets_manager->register_widget_type( new \EmbedPress\Elementor\Widgets\Embedpress_Elementor );
44
+ $widgets_manager->register_widget_type( new \EmbedPress\Elementor\Widgets\Embedpress_Document );
45
  }
46
 
47
  /**
56
  EMBEDPRESS_VERSION
57
  );
58
  }
59
+
60
+ public function editor_enqueue_scripts(){
61
+ wp_enqueue_style(
62
+ 'embedpress-el-icon',
63
+ EMBEDPRESS_URL_ASSETS . 'css/el-icon.css',
64
+ false,
65
+ EMBEDPRESS_VERSION
66
+ );
67
+ }
68
 
69
  public function addOEmbedProviders( $providers ) {
70
  if (Compatibility::isWordPress5() && ! Compatibility::isClassicalEditorActive()) {
EmbedPress/Elementor/Widgets/Embedpress_Document.php ADDED
@@ -0,0 +1,283 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace EmbedPress\Elementor\Widgets;
4
+
5
+
6
+ use \Elementor\Controls_Manager as Controls_Manager;
7
+ use \Elementor\Modules\DynamicTags\Module as TagsModule;
8
+ use \Elementor\Widget_Base as Widget_Base;
9
+ use \Elementor\Plugin;
10
+
11
+ ( defined( 'ABSPATH' ) ) or die( "No direct script access allowed." );
12
+
13
+ class Embedpress_Document extends Widget_Base
14
+ {
15
+
16
+ public function get_name()
17
+ {
18
+ return 'embedpres_document';
19
+ }
20
+
21
+ public function get_title()
22
+ {
23
+ return esc_html__( 'EmbedPress Document', 'embedoress' );
24
+ }
25
+
26
+ public function get_categories()
27
+ {
28
+ return ['embedpress'];
29
+ }
30
+
31
+ public function get_custom_help_url()
32
+ {
33
+ return 'https://embedpress.com/documentation';
34
+ }
35
+
36
+ public function get_icon()
37
+ {
38
+ return 'icon-pdf';
39
+ }
40
+
41
+ /**
42
+ * Get widget keywords.
43
+ *
44
+ * Retrieve the list of keywords the widget belongs to.
45
+ *
46
+ * @return array Widget keywords.
47
+ * @since 2.5.5
48
+ * @access public
49
+ *
50
+ */
51
+ public function get_keywords()
52
+ {
53
+ return ['embedpress', 'pdf', 'doc', 'docx', 'ppt', 'pptx', 'xls', 'xlsx', 'embedpress-document'];
54
+ }
55
+
56
+ protected function _register_controls()
57
+ {
58
+
59
+ /**
60
+ * EmbedPress Content Settings
61
+ */
62
+ $this->start_controls_section(
63
+ 'embedpress_document_content_settings',
64
+ [
65
+ 'label' => esc_html__( 'Content Settings', 'embedpress' ),
66
+ ]
67
+ );
68
+
69
+ $this->add_control(
70
+ 'embedpress_document_type',
71
+ [
72
+ 'label' => __( 'Document Type', 'embedpress' ),
73
+ 'type' => Controls_Manager::SELECT,
74
+ 'default' => 'file',
75
+ 'options' => [
76
+ 'file' => __( 'File', 'embedpress' ),
77
+ 'url' => __( 'URL', 'embedpress' )
78
+ ],
79
+ ]
80
+ );
81
+
82
+ $this->add_control(
83
+ 'embedpress_document_Uploader',
84
+ [
85
+
86
+ 'label' => __( 'Upload File', 'embedpress' ),
87
+ 'type' => Controls_Manager::MEDIA,
88
+ 'dynamic' => [
89
+ 'active' => true,
90
+ 'categories' => [
91
+ TagsModule::MEDIA_CATEGORY,
92
+ ],
93
+ ],
94
+ 'media_type' => [
95
+ 'application/pdf',
96
+ 'application/msword',
97
+ 'application/vnd.ms-powerpoint',
98
+ 'application/vnd.ms-excel',
99
+ 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
100
+ 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
101
+ 'application/vnd.openxmlformats-officedocument.presentationml.presentation'
102
+ ],
103
+ 'description' => __( 'Upload a file or pick one from your media library for embed. Supported File Type: PDF, DOC/DOCX, PPT/PPTX, XLS/XLSX etc.',
104
+ 'embedpress' ),
105
+ 'condition' => [
106
+ 'embedpress_document_type' => 'file'
107
+ ],
108
+ ]
109
+ );
110
+
111
+ $this->add_control(
112
+ 'embedpress_document_file_link',
113
+ [
114
+ 'label' => __( 'URL', 'embedpress' ),
115
+ 'type' => Controls_Manager::URL,
116
+ 'placeholder' => __( 'https://your-link.com/file.pdf', 'embedpress' ),
117
+ 'show_external' => false,
118
+ 'default' => [
119
+ 'url' => ''
120
+ ],
121
+ 'condition' => [
122
+ 'embedpress_document_type' => 'url'
123
+ ],
124
+ ]
125
+ );
126
+
127
+ $this->add_control(
128
+ 'embedpress_elementor_document_width',
129
+ [
130
+ 'label' => __( 'Width', 'embedpress' ),
131
+ 'type' => Controls_Manager::SLIDER,
132
+ 'separator' => 'before',
133
+ 'default' => [
134
+ 'unit' => 'px',
135
+ 'size' => 600,
136
+ ],
137
+ 'range' => [
138
+ 'px' => [
139
+ 'min' => 6,
140
+ 'max' => 1000,
141
+ ],
142
+ ],
143
+ 'selectors' => [
144
+ '{{WRAPPER}} .embedpress-document-embed iframe' => 'width: {{SIZE}}{{UNIT}} !important;',
145
+ '{{WRAPPER}} .embedpress-document-embed .pdfobject-container' => 'width: {{SIZE}}{{UNIT}} !important;',
146
+ ],
147
+ ]
148
+ );
149
+
150
+ $this->add_control(
151
+ 'embedpress_elementor_document_height',
152
+ [
153
+ 'label' => __( 'Height', 'embedpress' ),
154
+ 'type' => Controls_Manager::SLIDER,
155
+ 'default' => [
156
+ 'unit' => 'px',
157
+ 'size' => 600,
158
+ ],
159
+ 'range' => [
160
+ 'px' => [
161
+ 'min' => 6,
162
+ 'max' => 1000,
163
+ ],
164
+ ],
165
+ 'selectors' => [
166
+ '{{WRAPPER}} .embedpress-document-embed iframe' => 'height: {{SIZE}}{{UNIT}};',
167
+ '{{WRAPPER}} .embedpress-document-embed .pdfobject-container' => 'height: {{SIZE}}{{UNIT}};',
168
+ ],
169
+ ]
170
+ );
171
+
172
+ $this->add_control(
173
+ 'embedpress_elementor_document_align',
174
+ [
175
+ 'label' => __( 'Alignment', 'embedpress' ),
176
+ 'type' => Controls_Manager::CHOOSE,
177
+ 'options' => [
178
+ 'left' => [
179
+ 'title' => __( 'Left', 'embedpress' ),
180
+ 'icon' => 'eicon-text-align-left',
181
+ ],
182
+ 'center' => [
183
+ 'title' => __( 'Center', 'embedpress' ),
184
+ 'icon' => 'eicon-text-align-center',
185
+ ],
186
+ 'right' => [
187
+ 'title' => __( 'Right', 'embedpress' ),
188
+ 'icon' => 'eicon-text-align-right',
189
+ ]
190
+ ],
191
+ 'default' => 'center',
192
+ ]
193
+ );
194
+
195
+ $this->add_control(
196
+ 'embedpress_document_powered_by',
197
+ [
198
+ 'label' => __( 'Powered By', 'embedpress' ),
199
+ 'type' => Controls_Manager::SWITCHER,
200
+ 'label_on' => __( 'Show', 'embedpress' ),
201
+ 'label_off' => __( 'Hide', 'embedpress' ),
202
+ 'return_value' => 'yes',
203
+ 'default' => apply_filters( 'embedpress_document_powered_by_control', 'yes' ),
204
+ ]
205
+ );
206
+
207
+
208
+ $this->end_controls_section();
209
+ }
210
+
211
+ private function is_pdf( $url )
212
+ {
213
+ $arr = explode( '.', $url );
214
+ return end( $arr ) === 'pdf';
215
+ }
216
+
217
+ protected function render()
218
+ {
219
+ $settings = $this->get_settings();
220
+ $url = $this->get_file_url();
221
+ $id = 'embedpress-pdf-' . $this->get_id();
222
+ $dimension = "width: {$settings['embedpress_elementor_document_width']['size']}px;height: {$settings['embedpress_elementor_document_height']['size']}px";
223
+ $this->add_render_attribute( 'embedpres-pdf-render', [
224
+ 'class' => ['embedpress-embed-document-pdf', $id],
225
+ 'data-emid' => $id
226
+ ] );
227
+ $this->add_render_attribute( 'embedpress-document', [
228
+ 'class' => ['embedpress-document-embed']
229
+ ] );
230
+ ?>
231
+ <div <?php echo $this->get_render_attribute_string( 'embedpress-document' ); ?>>
232
+ <?php if ( $url != '' ) {
233
+ if ( $this->is_pdf( $url ) ) {
234
+ $this->add_render_attribute( 'embedpres-pdf-render', 'data-emsrc', $url );
235
+ ?>
236
+ <div <?php echo $this->get_render_attribute_string( 'embedpres-pdf-render' ); ?>></div>
237
+ <?php
238
+
239
+ if ( Plugin::$instance->editor->is_edit_mode() ) {
240
+ $this->render_editor_script( $id, $url );
241
+ }
242
+
243
+ } else {
244
+ $view_link = 'https://docs.google.com/viewer?url=' . $url . '&embedded=true';
245
+ ?>
246
+ <iframe allowfullscreen="true"
247
+ mozallowfullscreen="true" webkitallowfullscreen="true" style="<?php echo $dimension; ?>" src="<?php echo $view_link; ?>"/>
248
+ <?php
249
+
250
+ }
251
+ if ( $settings[ 'embedpress_document_powered_by' ] === 'yes' ) {
252
+ printf( '<p class="embedpress-el-powered">%s</p>', __( 'Powered By EmbedPress', 'embedpress' ) );
253
+ }
254
+ } ?>
255
+
256
+ </div>
257
+
258
+ <?php
259
+ }
260
+
261
+ private function get_file_url()
262
+ {
263
+ $settings = $this->get_settings();
264
+ return $settings[ 'embedpress_document_type' ] === 'url' ? $settings[ 'embedpress_document_file_link' ][ 'url' ] : $settings[ 'embedpress_document_Uploader' ][ 'url' ];
265
+ }
266
+
267
+ protected function render_editor_script( $id, $url )
268
+ {
269
+ ?>
270
+ <script>
271
+ (function ($) {
272
+ 'use strict';
273
+ $(document).ready(function () {
274
+ var selector = $('.embedpress-embed-document-pdf');
275
+ if (selector.length) {
276
+ PDFObject.embed("<?php echo $url; ?>", "<?php echo '.' . $id; ?>");
277
+ }
278
+ });
279
+ })(jQuery);
280
+ </script>
281
+ <?php
282
+ }
283
+ }
EmbedPress/Elementor/Widgets/Embedpress_Elementor.php CHANGED
@@ -29,7 +29,7 @@ class Embedpress_Elementor extends Widget_Base {
29
  }
30
 
31
  public function get_icon() {
32
- return 'eicon-frame-expand';
33
  }
34
 
35
  /**
@@ -43,7 +43,29 @@ class Embedpress_Elementor extends Widget_Base {
43
  *
44
  */
45
  public function get_keywords() {
46
- return [ 'embedpress', 'audio', 'video', 'map', 'youtube', 'vimeo', 'wistia' ];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  }
48
 
49
  protected function _register_controls() {
29
  }
30
 
31
  public function get_icon() {
32
+ return 'icon-embedpress';
33
  }
34
 
35
  /**
43
  *
44
  */
45
  public function get_keywords() {
46
+ return [
47
+ 'embedpress',
48
+ 'audio',
49
+ 'video',
50
+ 'map',
51
+ 'youtube',
52
+ 'vimeo',
53
+ 'wistia',
54
+ 'twitch',
55
+ 'soundcloud',
56
+ 'giphy gifs',
57
+ 'spotify',
58
+ 'smugmug',
59
+ 'meetup',
60
+ 'dailymotion',
61
+ 'instagram',
62
+ 'slideshare',
63
+ 'flickr',
64
+ 'ted',
65
+ 'google docs',
66
+ 'google slides',
67
+ 'google drawings'
68
+ ];
69
  }
70
 
71
  protected function _register_controls() {
EmbedPress/Ends/Back/Handler.php CHANGED
@@ -32,7 +32,9 @@ class Handler extends EndHandlerAbstract {
32
  $plgSettings = Core::getSettings();
33
 
34
  $urlSchemes = apply_filters( 'embedpress:getAdditionalURLSchemes', $this->getUrlSchemes() );
35
-
 
 
36
  wp_enqueue_script( "bootbox-bootstrap", EMBEDPRESS_URL_ASSETS . 'js/vendor/bootstrap/bootstrap.min.js',
37
  [ 'jquery' ], $this->pluginVersion, true );
38
  wp_enqueue_script( "bootbox", EMBEDPRESS_URL_ASSETS . 'js/vendor/bootbox.min.js',
@@ -54,6 +56,7 @@ class Handler extends EndHandlerAbstract {
54
 
55
  wp_enqueue_script( 'embedpress-admin', EMBEDPRESS_URL_ASSETS . 'js/admin.js', [ 'jquery' ],
56
  $this->pluginVersion, true );
 
57
  wp_localize_script( $this->pluginName, 'EMBEDPRESS_ADMIN_PARAMS', [
58
  'ajaxurl' => admin_url('admin-ajax.php'),
59
  'nonce' => wp_create_nonce('embedpress')
@@ -332,6 +335,7 @@ class Handler extends EndHandlerAbstract {
332
 
333
  // Infogram (https://infogr.am/)
334
  'infogr.am/*',
 
335
 
336
  // ChartBlocks (http://www.chartblocks.com/)
337
  'public.chartblocks.com/c/*',
32
  $plgSettings = Core::getSettings();
33
 
34
  $urlSchemes = apply_filters( 'embedpress:getAdditionalURLSchemes', $this->getUrlSchemes() );
35
+
36
+ wp_enqueue_script( 'embedpress-pdfobject', EMBEDPRESS_URL_ASSETS . 'js/pdfobject.min.js', [],
37
+ $this->pluginVersion, false );
38
  wp_enqueue_script( "bootbox-bootstrap", EMBEDPRESS_URL_ASSETS . 'js/vendor/bootstrap/bootstrap.min.js',
39
  [ 'jquery' ], $this->pluginVersion, true );
40
  wp_enqueue_script( "bootbox", EMBEDPRESS_URL_ASSETS . 'js/vendor/bootbox.min.js',
56
 
57
  wp_enqueue_script( 'embedpress-admin', EMBEDPRESS_URL_ASSETS . 'js/admin.js', [ 'jquery' ],
58
  $this->pluginVersion, true );
59
+
60
  wp_localize_script( $this->pluginName, 'EMBEDPRESS_ADMIN_PARAMS', [
61
  'ajaxurl' => admin_url('admin-ajax.php'),
62
  'nonce' => wp_create_nonce('embedpress')
335
 
336
  // Infogram (https://infogr.am/)
337
  'infogr.am/*',
338
+ 'infogram.com/*',
339
 
340
  // ChartBlocks (http://www.chartblocks.com/)
341
  'public.chartblocks.com/c/*',
EmbedPress/Ends/Front/Handler.php CHANGED
@@ -34,6 +34,19 @@ class Handler extends EndHandlerAbstract
34
  {
35
  wp_enqueue_style(EMBEDPRESS_PLG_NAME, EMBEDPRESS_URL_ASSETS . 'css/embedpress.css');
36
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
37
 
38
  /**
39
  * Passes any unlinked URLs to EmbedPress\Shortcode::do_shortcode() for potential embedding.
34
  {
35
  wp_enqueue_style(EMBEDPRESS_PLG_NAME, EMBEDPRESS_URL_ASSETS . 'css/embedpress.css');
36
  }
37
+
38
+
39
+ public function enqueueScripts() {
40
+
41
+ wp_enqueue_script( 'embedpress-pdfobject', EMBEDPRESS_URL_ASSETS . 'js/pdfobject.min.js', [],
42
+ $this->pluginVersion, false );
43
+
44
+ //load embedpress admin js
45
+
46
+ wp_enqueue_script( 'embedpress-front', EMBEDPRESS_URL_ASSETS . 'js/front.js', [ 'jquery','embedpress-pdfobject' ],
47
+ $this->pluginVersion, true );
48
+
49
+ }
50
 
51
  /**
52
  * Passes any unlinked URLs to EmbedPress\Shortcode::do_shortcode() for potential embedding.
Gutenberg/dist/blocks.build.js CHANGED
@@ -1 +1 @@
1
- !function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=5)}([function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"f",function(){return c}),n.d(t,"e",function(){return s}),n.d(t,"c",function(){return u}),n.d(t,"b",function(){return p}),n.d(t,"d",function(){return m}),n.d(t,"g",function(){return d}),n.d(t,"h",function(){return f}),n.d(t,"i",function(){return h});var r=wp.components,i=r.G,l=r.Path,o=(r.Polygon,r.SVG),a=wp.element.createElement(o,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48"},wp.element.createElement(i,null,wp.element.createElement(l,{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(l,{style:{fill:"#BBDEFB"},d:"M 40 13 L 30 13 L 30 3 Z "}),wp.element.createElement(l,{style:{fill:"#1565C0"},d:"M 30 13 L 40 23 L 40 13 Z "}),wp.element.createElement(l,{style:{fill:"#E3F2FD"},d:"M 15 23 L 33 23 L 33 25 L 15 25 Z "}),wp.element.createElement(l,{style:{fill:"#E3F2FD"},d:"M 15 27 L 33 27 L 33 29 L 15 29 Z "}),wp.element.createElement(l,{style:{fill:"#E3F2FD"},d:"M 15 31 L 33 31 L 33 33 L 15 33 Z "}),wp.element.createElement(l,{style:{fill:"#E3F2FD"},d:"M 15 35 L 25 35 L 25 37 L 15 37 Z "}))),c=wp.element.createElement(o,{xmlns:"http://www.w3.org/1999/xlink","enable-background":"new 0 0 24 24",id:"Layer_2",version:"1.1",viewBox:"0 0 24 24"},wp.element.createElement(i,null,wp.element.createElement(l,{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(l,{d:"M17,6c-0.5444336,0-1.0367432-0.2190552-1.3973999-0.5719604L21,10.8254395V6H17z",style:{fill:"url(#SVGID_1_)"}}),wp.element.createElement(l,{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(l,{d:"M15,0v4c0,1.1045694,0.8954306,2,2,2h4L15,0z",style:{fill:"#FFE083"}}),wp.element.createElement(l,{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(l,{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(l,{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(l,{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_)"}})),wp.element.createElement(i,null),wp.element.createElement(i,null),wp.element.createElement(i,null),wp.element.createElement(i,null),wp.element.createElement(i,null),wp.element.createElement(i,null),wp.element.createElement(i,null),wp.element.createElement(i,null),wp.element.createElement(i,null),wp.element.createElement(i,null),wp.element.createElement(i,null),wp.element.createElement(i,null),wp.element.createElement(i,null),wp.element.createElement(i,null),wp.element.createElement(i,null)),s=wp.element.createElement(o,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(l,{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(l,{style:{fill:"#C8E6C9"},d:"M 40 13 L 30 13 L 30 3 Z "}),wp.element.createElement(l,{style:{fill:"#2E7D32"},d:"M 30 13 L 40 23 L 40 13 Z "}),wp.element.createElement(l,{style:{fill:"#E8F5E9"},d:"M 31 23 L 15 23 L 15 37 L 33 37 L 33 23 Z M 17 25 L 21 25 L 21 27 L 17 27 Z M 17 29 L 21 29 L 21 31 L 17 31 Z M 17 33 L 21 33 L 21 35 L 17 35 Z M 31 35 L 23 35 L 23 33 L 31 33 Z M 31 31 L 23 31 L 23 29 L 31 29 Z M 31 27 L 23 27 L 23 25 L 31 25 Z "}))),u=wp.element.createElement(o,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(l,{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(l,{style:{fill:"#C2ABE1"},d:"M 40 13 L 30 13 L 30 3 Z "}),wp.element.createElement(l,{style:{fill:"#2E7D32"},d:"M 30 13 L 40 23 L 40 13 Z "}),wp.element.createElement(l,{style:{fill:"#E8F5E9"},d:"M 19 23 L 33 23 L 33 25 L 19 25 Z "}),wp.element.createElement(l,{style:{fill:"#E8F5E9"},d:"M 19 28 L 33 28 L 33 30 L 19 30 Z "}),wp.element.createElement(l,{style:{fill:"#E8F5E9"},d:"M 19 33 L 33 33 L 33 35 L 19 35 Z "}),wp.element.createElement(l,{style:{fill:"#E8F5E9"},d:"M 15 23 L 17 23 L 17 25 L 15 25 Z "}),wp.element.createElement(l,{style:{fill:"#E8F5E9"},d:"M 15 28 L 17 28 L 17 30 L 15 30 Z "}),wp.element.createElement(l,{style:{fill:"#E8F5E9"},d:"M 15 33 L 17 33 L 17 35 L 15 35 Z "}))),p=wp.element.createElement(o,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(l,{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(l,{style:{fill:"#EEA6A0"},d:"M40,13H30V3L40,13z"}),wp.element.createElement(l,{style:{fill:"#B3433A"},d:"M30,13l10,10V13H30z"}),wp.element.createElement(l,{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(l,{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(o,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(l,{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(l,{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(l,{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(l,{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(l,{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(l,{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(l,{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(l,{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(o,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(l,{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(l,{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(l,{style:{fill:"#8E24AA"},d:"M 32 25 L 27 25 L 27 15 L 32 15 Z "}),wp.element.createElement(l,{style:{fill:"#8E24AA"},d:"M 24 25 L 19 25 L 19 15 L 24 15 Z "}))),f=wp.element.createElement(o,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 769 598",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(l,{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(l,{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(o,{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(l,{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"}));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"}))))},function(e,t,n){"use strict";var r=wp.i18n.__,i=wp.element.Fragment,l=wp.components,o=l.IconButton,a=l.Toolbar,c=wp.editor.BlockControls,s=function(e){var t=e.showEditButton,n=e.switchBackToURLInput;return wp.element.createElement(i,null,wp.element.createElement(c,null,wp.element.createElement(a,null,t&&wp.element.createElement(o,{className:"components-toolbar__control",label:r("Edit URL"),icon:"edit",onClick:n}))))};t.a=s},function(e,t,n){"use strict";var r=wp.i18n.__,i=wp.components.Spinner,l=function(){return wp.element.createElement("div",{className:"wp-block-embed is-loading"},wp.element.createElement(i,null),wp.element.createElement("p",null,r("Embedding\u2026")))};t.a=l},function(e,t,n){"use strict";var r=n(10),i=n.n(r),l=wp.i18n,o=l.__,a=l._x,c=wp.components,s=c.Button,u=c.Placeholder,p=c.ExternalLink,m=wp.blockEditor.BlockIcon,d=function(e){var t=e.icon,n=e.label,r=e.value,l=e.onSubmit,c=e.onChange,d=e.cannotEmbed,f=e.docLink,h=e.DocTitle,w=i()("wp-block-embed",{});return wp.element.createElement("div",null,wp.element.createElement(u,{icon:wp.element.createElement(m,{icon:t,showColors:!0}),label:n,className:w},wp.element.createElement("form",{onSubmit:l},wp.element.createElement("input",{type:"url",value:r||"",className:"components-placeholder__input","aria-label":n,placeholder:o("Enter URL to embed here\u2026"),onChange:c}),wp.element.createElement(s,{isLarge:!0,type:"submit"},a("Embed","button label")),d&&wp.element.createElement("p",{className:"components-placeholder__error"},o("Sorry, we could not embed that content."),wp.element.createElement("br",null))),f&&wp.element.createElement("div",{className:"components-placeholder__learn-more"},wp.element.createElement(p,{href:f},h))))};t.a=d},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(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 o=n(11),a=n.n(o),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=wp.element.Component,p=function(e){function t(){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),s(t,[{key:"componentDidMount",value:function(){a.a.findDOMNode(this.refs.iframe).addEventListener("load",this.props.onLoad)}},{key:"render",value:function(){return wp.element.createElement("iframe",c({ref:"iframe"},this.props))}}]),t}(u);t.a=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(6),n(12),n(16),n(20),n(24),n(28),n(32),n(36),n(40);!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(7),i=(n.n(r),n(8)),l=(n.n(i),n(9)),o=n(0),a=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/google-docs-block",{title:a("Google Docs"),icon:o.a,category:"embedpress",keywords:[a("embedpress"),a("google"),a("docs")],supports:{align:!0,lightBlockWrapper:!0},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:l.a,save:function(e){var t=e.attributes.iframeSrc;if(t)return wp.element.createElement("figure",{className:"ose-google-docs-document"},wp.element.createElement("iframe",{src:t,frameBorder:"0",width:"600",height:"450",allowFullScreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))},deprecated:[{attributes:{align:{type:"string",enum:["left","center","right","wide","full"]}},save:function(e){var t=e.attributes.iframeSrc;if(t)return wp.element.createElement("div",{className:"ose-google-docs-document"},wp.element.createElement("iframe",{src:t,frameBorder:"0",width:"600",height:"450",allowFullScreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))}}]})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(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 o=n(1),a=n(2),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),m=wp.i18n.__,d=wp.element.Component,f=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.updateAlignment=e.updateAlignment.bind(e),e.onLoad=e.onLoad.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return l(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"updateAlignment",value:function(e){var t=this.props.setAttributes,n=-1!==["wide","full"].indexOf(e)?{width:void 0,height:void 0}:{};t(Object.assign({},n,{align:e}))}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,l=i.exec(r),o=l[1];o&&"document"==o?(r.match(/([?&])embedded=true/i)||(r.indexOf("?")>-1?r+="&embedded=true":r+="?embedded=true"),this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})):this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,l=t.cannotEmbed,p=t.interactive,d=this.props.attributes,f=d.iframeSrc,h=(d.align,m("Google Docs URL"));return!f||r?wp.element.createElement("div",null,wp.element.createElement(c.a,{label:h,onSubmit:this.setUrl,value:n,cannotEmbed:l,onChange:function(t){return e.setState({url:t.target.value})},icon:u.a,DocTitle:m("Learn more about Google doc embed"),docLink:"https://embedpress.com/docs/embed-google-docs-wordpress/"})):wp.element.createElement("div",null,i?wp.element.createElement(a.a,null):null,wp.element.createElement(s.a,{src:f,onMouseUp:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(o.a,{showEditButton:f&&!l,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(d);t.a=f},function(e,t,n){var r,i;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var o=n.apply(null,r);o&&e.push(o)}else if("object"===i)for(var a in r)l.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}var l={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(i=function(){return n}.apply(t,r))&&(e.exports=i))}()},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";var r=n(13),i=(n.n(r),n(14)),l=(n.n(i),n(15)),o=n(0),a=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/google-slides-block",{title:a("Google Slides"),icon:o.f,category:"embedpress",keywords:[a("embedpress"),a("google"),a("slides")],supports:{align:!0,lightBlockWrapper:!0},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:l.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-docs-presentation"},wp.element.createElement("iframe",{src:t,frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(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 o=n(1),a=n(2),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),m=wp.i18n.__,d=wp.element,f=d.Component,h=d.Fragment,w=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return l(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,l=i.exec(r),o=l[1];o&&"presentation"==o?(r.match(/pub\?/i)&&(r=r.replace("/pub?","/embed?")),this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})):this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,l=t.cannotEmbed,p=t.interactive,d=this.props.attributes.iframeSrc,f=m("Google Slides URL");return!d||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:l,onChange:function(t){return e.setState({url:t.target.value})},icon:u.f,DocTitle:m("Learn more about Google slides embed"),docLink:"https://embedpress.com/docs/embed-google-slides-wordpress/"}):wp.element.createElement(h,null,i?wp.element.createElement(a.a,null):null,wp.element.createElement(s.a,{src:d,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(o.a,{showEditButton:d&&!l,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=w},function(e,t,n){"use strict";var r=n(17),i=(n.n(r),n(18)),l=(n.n(i),n(19)),o=n(0),a=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/google-sheets-block",{title:a("Google Sheets"),icon:o.e,category:"embedpress",keywords:[a("embedpress"),a("google"),a("sheets")],supports:{align:!0,lightBlockWrapper:!0},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:l.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-docs-spreadsheets"},wp.element.createElement("iframe",{src:t,frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))},deprecated:[{attributes:{align:{type:"string",enum:["left","center","right","wide","full"]}},save:function(e){var t=e.attributes.iframeSrc;if(t)return wp.element.createElement("div",{className:"ose-google-docs-spreadsheets"},wp.element.createElement("iframe",{src:t,frameBorder:"0",width:"600",height:"450",allowFullScreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))}}]})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(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 o=n(1),a=n(2),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),m=wp.i18n.__,d=wp.element,f=d.Component,h=d.Fragment,w=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return l(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,l=i.exec(r),o=l[1];if(o&&"spreadsheets"==o){if(r.indexOf("?")>-1){var a=r.split("?");if(a=a[1],a=a.split("&"),console.log(a),a.length>0){var c=!1,s=!1;a.map(function(e){e.indexOf("widget=")?s=!0:e.indexOf("headers=")&&(c=!0)}),s||(r+="&widget=true"),c||(r+="&headers=false")}}else r+="?widget=true&headers=false";this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})}else this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,l=t.cannotEmbed,p=t.interactive,d=this.props.attributes.iframeSrc,f=m("Google Sheets URL");return!d||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:l,onChange:function(t){return e.setState({url:t.target.value})},icon:u.e,DocTitle:m("Learn more about Google sheet embed"),docLink:"https://embedpress.com/docs/embed-google-sheets-wordpress/"}):wp.element.createElement(h,null,i?wp.element.createElement(a.a,null):null,wp.element.createElement(s.a,{src:d,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(o.a,{showEditButton:d&&!l,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=w},function(e,t,n){"use strict";var r=n(21),i=(n.n(r),n(22)),l=(n.n(i),n(23)),o=n(0),a=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/google-forms-block",{title:a("Google Forms"),icon:o.c,category:"embedpress",keywords:[a("embedpress"),a("google"),a("forms")],supports:{align:!0,lightBlockWrapper:!0},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:l.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-docs-forms"},wp.element.createElement("iframe",{src:t,frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(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 o=n(1),a=n(2),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),m=wp.i18n.__,d=wp.element,f=d.Component,h=d.Fragment,w=(wp.components.Disabled,function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return l(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,l=i.exec(r),o=l[1];o&&"forms"==o?(this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})):this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,l=t.cannotEmbed,p=t.interactive,d=this.props.attributes.iframeSrc,f=m("Google Forms URL");return!d||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:l,onChange:function(t){return e.setState({url:t.target.value})},icon:u.c,DocTitle:m("Learn more about Google forms embed"),docLink:"https://embedpress.com/docs/embed-google-forms-wordpress/"}):wp.element.createElement(h,null,i?wp.element.createElement(a.a,null):null,wp.element.createElement(s.a,{src:d,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(o.a,{showEditButton:d&&!l,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f));t.a=w},function(e,t,n){"use strict";var r=n(25),i=(n.n(r),n(26)),l=(n.n(i),n(27)),o=n(0),a=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/google-drawings-block",{title:a("Google Drawings"),icon:o.b,category:"embedpress",keywords:[a("embedpress"),a("google"),a("drawings")],supports:{align:!0,lightBlockWrapper:!0},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:l.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-docs-drawings"},wp.element.createElement("img",{src:t,width:"960",height:"720"}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(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 o=n(1),a=n(2),c=n(3),s=n(0),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=wp.i18n.__,m=wp.element,d=m.Component,f=m.Fragment,h=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1},e}return l(t,e),u(t,[{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,l=i.exec(r),o=l[1];o&&"drawings"==o?(this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})):this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,l=t.cannotEmbed,u=this.props.attributes.iframeSrc,m=p("Google Drawings URL (Get your link from File -> Publish to the web -> Link)");return!u||r?wp.element.createElement(c.a,{label:m,onSubmit:this.setUrl,value:n,cannotEmbed:l,onChange:function(t){return e.setState({url:t.target.value})},icon:s.b,DocTitle:p("Learn more about Google drawing embed"),docLink:"https://embedpress.com/docs/embed-google-drawings-wordpress/"}):wp.element.createElement(f,null,i?wp.element.createElement(a.a,null):null,wp.element.createElement("img",{src:u,onLoad:this.onLoad,style:{display:i?"none":""},width:"960",height:"720"}),wp.element.createElement(o.a,{showEditButton:u&&!l,switchBackToURLInput:this.switchBackToURLInput}))}}]),t}(d);t.a=h},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(29),l=(n.n(i),n(30)),o=(n.n(l),n(31)),a=n(0),c=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/google-maps-block",{title:c("Google Maps"),icon:a.d,category:"embedpress",keywords:[c("embedpress"),c("google"),c("maps")],supports:{align:!0,lightBlockWrapper:!0},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-maps"},wp.element.createElement("iframe",r({src:t,frameborder:"0",width:"600",height:"450"},"frameborder","0")))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(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 o=n(1),a=n(2),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),m=wp.i18n.__,d=wp.element,f=d.Component,h=d.Fragment,w=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return l(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/(?:(?:(?:www\.|maps\.)?(?:google\.com?))|(?:goo\.gl))(?:\.[a-z]{2})?\/(?:maps\/)?(?:place\/)?(?:[a-z0-9\/%+\-_]*)?([a-z0-9\/%,+\-_=!:@\.&*\$#?\']*)/i)){var r=this.decodeHTMLEntities(t);if(t.match("~(maps/embed|output=embed)~i"));else{var i=/@(-?[0-9\.]+,-?[0-9\.]+).+,([0-9\.]+[a-z])/i,l=i.exec(r);l&&l.length>1&&l[1]&&l[2]?r="https://maps.google.com/maps?hl=en&ie=UTF8&ll="+l[1]+"&spn="+l[1]+"&t=m&z="+Math.round(parseInt(l[2]))+"&output=embed":this.setState({cannotEmbed:!0,editingURL:!0})}this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,l=t.cannotEmbed,p=t.interactive,d=this.props.attributes.iframeSrc,f=m("Google Maps URL");return!d||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:l,onChange:function(t){return e.setState({url:t.target.value})},icon:u.d,DocTitle:m("Learn more about Google map embed"),docLink:"https://embedpress.com/docs/embed-google-maps-wordpress/"}):wp.element.createElement(h,null,i?wp.element.createElement(a.a,null):null,wp.element.createElement(Disabled,null,wp.element.createElement(s.a,{src:d,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"})),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(o.a,{showEditButton:d&&!l,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=w},function(e,t,n){"use strict";var r=n(33),i=(n.n(r),n(34)),l=(n.n(i),n(35)),o=n(0),a=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.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/twitch-block",{title:c("Twitch"),icon:o.g,category:"embedpress",keywords:[c("embedpress"),c("twitch")],supports:{align:!0,lightBlockWrapper:!0},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""},attrs:{type:"string",default:""}},edit:l.a,save:function(e){var t=e.attributes,n=t.iframeSrc,r=t.attrs;return wp.element.createElement("figure",{className:"ose-twitch-presentation"},wp.element.createElement("iframe",a({src:n},r,{frameborder:"0",width:"600",height:"450"})))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(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 o=n(1),a=n(2),c=n(3),s=n(4),u=n(0),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=wp.i18n.__,f=wp.element,h=f.Component,w=f.Fragment,b=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return l(t,e),m(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;n({url:t});var r=/http[s]?:\/\/(?:www\.|clips\.)twitch\.tv\/([0-9a-zA-Z\-\_]+)\/?(chat\/?$|[0-9a-z\-\_]*)?/;if(t&&t.match(r)){var i=this.decodeHTMLEntities(t),l=r.exec(i),o=l[1];console.log(o);var a,c="channel";switch(t.indexOf("clips.twitch.tv")>-1?c="clip":t.indexOf("/videos/")>-1?c="video":t.indexOf("#/chat$#")>-1&&(c="chat"),console.log(c),c){case"channel":i="https://player.twitch.tv/?channel="+o,a={scrolling:"no",frameborder:"0",allowfullscreen:"true"};break;case"clip":i="https://clips.twitch.tv/embed?clip="+o+"&autoplay=false",a={scrolling:"no",frameborder:"0",allowfullscreen:"true"};break;case"video":o=l[2],i="https://player.twitch.tv/?video="+o,a={scrolling:"no",frameborder:"0",allowfullscreen:"true"};break;case"chat":i="http://www.twitch.tv/embed/"+o+"/chat",a={scrolling:"yes",frameborder:"0",allowfullscreen:"true",id:"'"+o+"'"}}this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:i,attrs:a})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,l=t.cannotEmbed,m=t.interactive,f=this.props.attributes,h=f.iframeSrc,b=f.attrs,g=d("Twitch URL");return!h||r?wp.element.createElement(c.a,{label:g,onSubmit:this.setUrl,value:n,cannotEmbed:l,onChange:function(t){return e.setState({url:t.target.value})},icon:u.g,DocTitle:d("Learn more about twitch embed"),docLink:"https://embedpress.com/docs/embed-twitch-streams-chat/"}):wp.element.createElement(w,null,i?wp.element.createElement(a.a,null):null,wp.element.createElement(s.a,p({src:h},b,{onLoad:this.onLoad,style:{display:i?"none":""},onFocus:this.hideOverlay,width:"600",height:"450"})),!m&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(o.a,{showEditButton:h&&!l,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(h);t.a=b},function(e,t,n){"use strict";var r=n(37),i=(n.n(r),n(38)),l=(n.n(i),n(39)),o=n(0),a=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/wistia-block",{title:a("Wistia"),icon:o.h,category:"embedpress",keywords:[a("embedpress"),a("wistia")],supports:{align:!0,lightBlockWrapper:!0},edit:l.a,save:function(e){return null},deprecated:[{attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:l.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("div",{class:"ose-wistia"},wp.element.createElement("iframe",{src:t,allowtransparency:"true",frameborder:"0",class:"wistia_embed",name:"wistia_embed",width:"600",height:"330"}))}}]})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(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 o=n(1),a=n(2),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),m=wp.i18n.__,d=wp.element,f=d.Component,h=d.Fragment,w=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1,mediaId:null},e.setUrl(),e}return l(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"componentDidMount",value:function(){if(this.props.attributes.url){var e=this.props.attributes.url.match(/medias\/(.*)/),t=e[1];this.setState(Object.assign({},this.state,{mediaId:t}))}}},{key:"onLoad",value:function(){if(this.setState({fetching:!1}),embedpressObj.wisita_options){var e=Object.assign({},this.state);setTimeout(function(){var e=document.createElement("script");e.src="https://fast.wistia.com/assets/external/E-v1.js",e.charset="ISO-8859-1",document.body.appendChild(e)},100),setTimeout(function(){var t=document.createElement("script");t.type="text/javascript",t.innerHTML="window.pp_embed_wistia_labels = "+embedpressObj.wistia_labels,document.body.appendChild(t),t=document.createElement("script"),t.type="text/javascript",t.innerHTML='wistiaEmbed = Wistia.embed( "'+e.mediaId+'", '+embedpressObj.wisita_options+" );",document.body.appendChild(t)},400)}}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&(t.match(/^http[s]?:\/\/(?:www\.)?wistia\.com\/medias/i)||t.match(/^http[s]?:\/\/(?:www\.)?fast\/.wistia\.com\/embed\/medias/i.jsonp))){var r=t.match(/medias\/(.*)/),i=r[1],l="//fast.wistia.net/embed/iframe/"+i;this.setState({editingURL:!1,cannotEmbed:!1,mediaId:i}),n({iframeSrc:l})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,l=t.cannotEmbed,p=t.interactive,d=this.props.attributes.iframeSrc,f=m("Wistia URL");return!d||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:l,onChange:function(t){return e.setState({url:t.target.value})},icon:u.h,DocTitle:m("Learn more about Wistia embed"),docLink:"https://embedpress.com/docs/embed-wistia-videos-wordpress/"}):wp.element.createElement(h,null,i?wp.element.createElement(a.a,null):null,wp.element.createElement("div",{className:"ose-wistia",id:"wistia_"+this.state.mediaId},wp.element.createElement(s.a,{src:d,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"330",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"})),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(o.a,{showEditButton:d&&!l,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=w},function(e,t,n){"use strict";var r=n(41),i=(n.n(r),n(42)),l=(n.n(i),n(43)),o=n(0),a=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/youtube-block",{title:a("Youtube"),icon:o.i,category:"embedpress",keywords:[a("embedpress"),a("youtube")],supports:{align:!0,lightBlockWrapper:!0},edit:l.a,save:function(){return null}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(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 o=n(1),a=n(2),c=n(3),s=n(4),u=n(0),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=wp.i18n.__,f=wp.element,h=f.Component,w=f.Fragment,b=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return l(t,e),m(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"componentWillMount",value:function(){this.state.url&&this.setUrl()}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;n({url:t});var r=t.match(/^(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})(?:\S+)?$/);if(t&&r){var i=r[1],l="https://www.youtube.com/embed/"+i,o=new URL(l);if("undefined"!==typeof embedpressProObj)for(var a in embedpressProObj.youtubeParams)o.searchParams.set(a,embedpressProObj.youtubeParams[a]);this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:o.href,mediaId:i})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,l=t.cannotEmbed,m=t.interactive,f=this.props.attributes,h=f.iframeSrc,b=f.attrs,g=d("Youtube URL");return!h||r?wp.element.createElement(c.a,{label:g,onSubmit:this.setUrl,value:n,cannotEmbed:l,onChange:function(t){return e.setState({url:t.target.value})},icon:u.i,DocTitle:d("Learn More About Youtube Embed"),docLink:"https://embedpress.com/docs/embed-youtube-wordpress/"}):wp.element.createElement(w,null,i?wp.element.createElement(a.a,null):null,wp.element.createElement(s.a,p({src:h},b,{onLoad:this.onLoad,style:{display:i?"none":""},width:"640",onFocus:this.hideOverlay,height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"})),!m&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(o.a,{showEditButton:h&&!l,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(h);t.a=b}]);
1
+ !function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=5)}([function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"g",function(){return c}),n.d(t,"f",function(){return s}),n.d(t,"d",function(){return u}),n.d(t,"c",function(){return p}),n.d(t,"e",function(){return m}),n.d(t,"h",function(){return d}),n.d(t,"i",function(){return f}),n.d(t,"j",function(){return h}),n.d(t,"a",function(){return w});var r=wp.components,i=r.G,l=r.Path,o=(r.Polygon,r.SVG),a=wp.element.createElement(o,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48"},wp.element.createElement(i,null,wp.element.createElement(l,{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(l,{style:{fill:"#BBDEFB"},d:"M 40 13 L 30 13 L 30 3 Z "}),wp.element.createElement(l,{style:{fill:"#1565C0"},d:"M 30 13 L 40 23 L 40 13 Z "}),wp.element.createElement(l,{style:{fill:"#E3F2FD"},d:"M 15 23 L 33 23 L 33 25 L 15 25 Z "}),wp.element.createElement(l,{style:{fill:"#E3F2FD"},d:"M 15 27 L 33 27 L 33 29 L 15 29 Z "}),wp.element.createElement(l,{style:{fill:"#E3F2FD"},d:"M 15 31 L 33 31 L 33 33 L 15 33 Z "}),wp.element.createElement(l,{style:{fill:"#E3F2FD"},d:"M 15 35 L 25 35 L 25 37 L 15 37 Z "}))),c=wp.element.createElement(o,{xmlns:"http://www.w3.org/1999/xlink","enable-background":"new 0 0 24 24",id:"Layer_2",version:"1.1",viewBox:"0 0 24 24"},wp.element.createElement(i,null,wp.element.createElement(l,{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(l,{d:"M17,6c-0.5444336,0-1.0367432-0.2190552-1.3973999-0.5719604L21,10.8254395V6H17z",style:{fill:"url(#SVGID_1_)"}}),wp.element.createElement(l,{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(l,{d:"M15,0v4c0,1.1045694,0.8954306,2,2,2h4L15,0z",style:{fill:"#FFE083"}}),wp.element.createElement(l,{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(l,{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(l,{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(l,{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_)"}})),wp.element.createElement(i,null),wp.element.createElement(i,null),wp.element.createElement(i,null),wp.element.createElement(i,null),wp.element.createElement(i,null),wp.element.createElement(i,null),wp.element.createElement(i,null),wp.element.createElement(i,null),wp.element.createElement(i,null),wp.element.createElement(i,null),wp.element.createElement(i,null),wp.element.createElement(i,null),wp.element.createElement(i,null),wp.element.createElement(i,null),wp.element.createElement(i,null)),s=wp.element.createElement(o,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(l,{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(l,{style:{fill:"#C8E6C9"},d:"M 40 13 L 30 13 L 30 3 Z "}),wp.element.createElement(l,{style:{fill:"#2E7D32"},d:"M 30 13 L 40 23 L 40 13 Z "}),wp.element.createElement(l,{style:{fill:"#E8F5E9"},d:"M 31 23 L 15 23 L 15 37 L 33 37 L 33 23 Z M 17 25 L 21 25 L 21 27 L 17 27 Z M 17 29 L 21 29 L 21 31 L 17 31 Z M 17 33 L 21 33 L 21 35 L 17 35 Z M 31 35 L 23 35 L 23 33 L 31 33 Z M 31 31 L 23 31 L 23 29 L 31 29 Z M 31 27 L 23 27 L 23 25 L 31 25 Z "}))),u=wp.element.createElement(o,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(l,{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(l,{style:{fill:"#C2ABE1"},d:"M 40 13 L 30 13 L 30 3 Z "}),wp.element.createElement(l,{style:{fill:"#2E7D32"},d:"M 30 13 L 40 23 L 40 13 Z "}),wp.element.createElement(l,{style:{fill:"#E8F5E9"},d:"M 19 23 L 33 23 L 33 25 L 19 25 Z "}),wp.element.createElement(l,{style:{fill:"#E8F5E9"},d:"M 19 28 L 33 28 L 33 30 L 19 30 Z "}),wp.element.createElement(l,{style:{fill:"#E8F5E9"},d:"M 19 33 L 33 33 L 33 35 L 19 35 Z "}),wp.element.createElement(l,{style:{fill:"#E8F5E9"},d:"M 15 23 L 17 23 L 17 25 L 15 25 Z "}),wp.element.createElement(l,{style:{fill:"#E8F5E9"},d:"M 15 28 L 17 28 L 17 30 L 15 30 Z "}),wp.element.createElement(l,{style:{fill:"#E8F5E9"},d:"M 15 33 L 17 33 L 17 35 L 15 35 Z "}))),p=wp.element.createElement(o,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(l,{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(l,{style:{fill:"#EEA6A0"},d:"M40,13H30V3L40,13z"}),wp.element.createElement(l,{style:{fill:"#B3433A"},d:"M30,13l10,10V13H30z"}),wp.element.createElement(l,{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(l,{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(o,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(l,{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(l,{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(l,{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(l,{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(l,{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(l,{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(l,{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(l,{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(o,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(l,{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(l,{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(l,{style:{fill:"#8E24AA"},d:"M 32 25 L 27 25 L 27 15 L 32 15 Z "}),wp.element.createElement(l,{style:{fill:"#8E24AA"},d:"M 24 25 L 19 25 L 19 15 L 24 15 Z "}))),f=wp.element.createElement(o,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 769 598",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(l,{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(l,{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(o,{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(l,{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"})),w=(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","stop-color":"#fff"}),wp.element.createElement("stop",{offset:"1","stop-color":"#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","stop-color":"#fff"}),wp.element.createElement("stop",{offset:"1","stop-color":"#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","stop-color":"#fff"}),wp.element.createElement("stop",{offset:"1","stop-color":"#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","stop-color":"#fff"}),wp.element.createElement("stop",{offset:"1","stop-color":"#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","stop-color":"#fff"}),wp.element.createElement("stop",{offset:"1","stop-color":"#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","stop-color":"#fff"}),wp.element.createElement("stop",{offset:"1","stop-color":"#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"}))))},function(e,t,n){"use strict";var r=wp.i18n.__,i=wp.components.Spinner,l=function(){return wp.element.createElement("div",{className:"wp-block-embed is-loading"},wp.element.createElement(i,null),wp.element.createElement("p",null,r("Embedding\u2026")))};t.a=l},function(e,t,n){"use strict";var r=wp.i18n.__,i=wp.element.Fragment,l=wp.components,o=l.IconButton,a=l.Toolbar,c=wp.editor.BlockControls,s=function(e){var t=e.showEditButton,n=e.switchBackToURLInput;return wp.element.createElement(i,null,wp.element.createElement(c,null,wp.element.createElement(a,null,t&&wp.element.createElement(o,{className:"components-toolbar__control",label:r("Edit URL"),icon:"edit",onClick:n}))))};t.a=s},function(e,t,n){"use strict";var r=n(10),i=n.n(r),l=wp.i18n,o=l.__,a=l._x,c=wp.components,s=c.Button,u=c.Placeholder,p=c.ExternalLink,m=wp.blockEditor.BlockIcon,d=function(e){var t=e.icon,n=e.label,r=e.value,l=e.onSubmit,c=e.onChange,d=e.cannotEmbed,f=e.docLink,h=e.DocTitle,w=i()("wp-block-embed",{});return wp.element.createElement("div",null,wp.element.createElement(u,{icon:wp.element.createElement(m,{icon:t,showColors:!0}),label:n,className:w},wp.element.createElement("form",{onSubmit:l},wp.element.createElement("input",{type:"url",value:r||"",className:"components-placeholder__input","aria-label":n,placeholder:o("Enter URL to embed here\u2026"),onChange:c}),wp.element.createElement(s,{isLarge:!0,type:"submit"},a("Embed","button label")),d&&wp.element.createElement("p",{className:"components-placeholder__error"},o("Sorry, we could not embed that content."),wp.element.createElement("br",null))),f&&wp.element.createElement("div",{className:"components-placeholder__learn-more"},wp.element.createElement(p,{href:f},h))))};t.a=d},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(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 o=n(11),a=n.n(o),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=wp.element.Component,p=function(e){function t(){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),s(t,[{key:"componentDidMount",value:function(){a.a.findDOMNode(this.refs.iframe).addEventListener("load",this.props.onLoad)}},{key:"render",value:function(){return wp.element.createElement("iframe",c({ref:"iframe"},this.props))}}]),t}(u);t.a=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(6),n(12),n(16),n(20),n(24),n(28),n(32),n(36),n(40),n(44);!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(7),i=(n.n(r),n(8)),l=(n.n(i),n(9)),o=n(0),a=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/google-docs-block",{title:a("Google Docs"),icon:o.b,category:"embedpress",keywords:[a("embedpress"),a("google"),a("docs")],supports:{align:!0,lightBlockWrapper:!0},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:l.a,save:function(e){var t=e.attributes.iframeSrc;if(t)return wp.element.createElement("figure",{className:"ose-google-docs-document"},wp.element.createElement("iframe",{src:t,frameBorder:"0",width:"600",height:"450",allowFullScreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))},deprecated:[{attributes:{align:{type:"string",enum:["left","center","right","wide","full"]}},save:function(e){var t=e.attributes.iframeSrc;if(t)return wp.element.createElement("div",{className:"ose-google-docs-document"},wp.element.createElement("iframe",{src:t,frameBorder:"0",width:"600",height:"450",allowFullScreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))}}]})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(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 o=n(2),a=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),m=wp.i18n.__,d=wp.element.Component,f=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.updateAlignment=e.updateAlignment.bind(e),e.onLoad=e.onLoad.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return l(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"updateAlignment",value:function(e){var t=this.props.setAttributes,n=-1!==["wide","full"].indexOf(e)?{width:void 0,height:void 0}:{};t(Object.assign({},n,{align:e}))}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,l=i.exec(r),o=l[1];o&&"document"==o?(r.match(/([?&])embedded=true/i)||(r.indexOf("?")>-1?r+="&embedded=true":r+="?embedded=true"),this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})):this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,l=t.cannotEmbed,p=t.interactive,d=this.props.attributes.iframeSrc,f=m("Google Docs URL");return!d||r?wp.element.createElement("div",null,wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:l,onChange:function(t){return e.setState({url:t.target.value})},icon:u.b,DocTitle:m("Learn more about Google doc embed"),docLink:"https://embedpress.com/docs/embed-google-docs-wordpress/"})):wp.element.createElement("div",null,i?wp.element.createElement(a.a,null):null,wp.element.createElement(s.a,{src:d,onMouseUp:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(o.a,{showEditButton:d&&!l,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(d);t.a=f},function(e,t,n){var r,i;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var o=n.apply(null,r);o&&e.push(o)}else if("object"===i)for(var a in r)l.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}var l={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(i=function(){return n}.apply(t,r))&&(e.exports=i))}()},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";var r=n(13),i=(n.n(r),n(14)),l=(n.n(i),n(15)),o=n(0),a=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/google-slides-block",{title:a("Google Slides"),icon:o.g,category:"embedpress",keywords:[a("embedpress"),a("google"),a("slides")],supports:{align:!0,lightBlockWrapper:!0},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:l.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-docs-presentation"},wp.element.createElement("iframe",{src:t,frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(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 o=n(2),a=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),m=wp.i18n.__,d=wp.element,f=d.Component,h=d.Fragment,w=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return l(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,l=i.exec(r),o=l[1];o&&"presentation"==o?(r.match(/pub\?/i)&&(r=r.replace("/pub?","/embed?")),this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})):this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,l=t.cannotEmbed,p=t.interactive,d=this.props.attributes.iframeSrc,f=m("Google Slides URL");return!d||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:l,onChange:function(t){return e.setState({url:t.target.value})},icon:u.g,DocTitle:m("Learn more about Google slides embed"),docLink:"https://embedpress.com/docs/embed-google-slides-wordpress/"}):wp.element.createElement(h,null,i?wp.element.createElement(a.a,null):null,wp.element.createElement(s.a,{src:d,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(o.a,{showEditButton:d&&!l,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=w},function(e,t,n){"use strict";var r=n(17),i=(n.n(r),n(18)),l=(n.n(i),n(19)),o=n(0),a=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/google-sheets-block",{title:a("Google Sheets"),icon:o.f,category:"embedpress",keywords:[a("embedpress"),a("google"),a("sheets")],supports:{align:!0,lightBlockWrapper:!0},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:l.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-docs-spreadsheets"},wp.element.createElement("iframe",{src:t,frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))},deprecated:[{attributes:{align:{type:"string",enum:["left","center","right","wide","full"]}},save:function(e){var t=e.attributes.iframeSrc;if(t)return wp.element.createElement("div",{className:"ose-google-docs-spreadsheets"},wp.element.createElement("iframe",{src:t,frameBorder:"0",width:"600",height:"450",allowFullScreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))}}]})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(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 o=n(2),a=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),m=wp.i18n.__,d=wp.element,f=d.Component,h=d.Fragment,w=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return l(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,l=i.exec(r),o=l[1];if(o&&"spreadsheets"==o){if(r.indexOf("?")>-1){var a=r.split("?");if(a=a[1],a=a.split("&"),console.log(a),a.length>0){var c=!1,s=!1;a.map(function(e){e.indexOf("widget=")?s=!0:e.indexOf("headers=")&&(c=!0)}),s||(r+="&widget=true"),c||(r+="&headers=false")}}else r+="?widget=true&headers=false";this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})}else this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,l=t.cannotEmbed,p=t.interactive,d=this.props.attributes.iframeSrc,f=m("Google Sheets URL");return!d||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:l,onChange:function(t){return e.setState({url:t.target.value})},icon:u.f,DocTitle:m("Learn more about Google sheet embed"),docLink:"https://embedpress.com/docs/embed-google-sheets-wordpress/"}):wp.element.createElement(h,null,i?wp.element.createElement(a.a,null):null,wp.element.createElement(s.a,{src:d,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(o.a,{showEditButton:d&&!l,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=w},function(e,t,n){"use strict";var r=n(21),i=(n.n(r),n(22)),l=(n.n(i),n(23)),o=n(0),a=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/google-forms-block",{title:a("Google Forms"),icon:o.d,category:"embedpress",keywords:[a("embedpress"),a("google"),a("forms")],supports:{align:!0,lightBlockWrapper:!0},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:l.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-docs-forms"},wp.element.createElement("iframe",{src:t,frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(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 o=n(2),a=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),m=wp.i18n.__,d=wp.element,f=d.Component,h=d.Fragment,w=(wp.components.Disabled,function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return l(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,l=i.exec(r),o=l[1];o&&"forms"==o?(this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})):this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,l=t.cannotEmbed,p=t.interactive,d=this.props.attributes.iframeSrc,f=m("Google Forms URL");return!d||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:l,onChange:function(t){return e.setState({url:t.target.value})},icon:u.d,DocTitle:m("Learn more about Google forms embed"),docLink:"https://embedpress.com/docs/embed-google-forms-wordpress/"}):wp.element.createElement(h,null,i?wp.element.createElement(a.a,null):null,wp.element.createElement(s.a,{src:d,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(o.a,{showEditButton:d&&!l,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f));t.a=w},function(e,t,n){"use strict";var r=n(25),i=(n.n(r),n(26)),l=(n.n(i),n(27)),o=n(0),a=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/google-drawings-block",{title:a("Google Drawings"),icon:o.c,category:"embedpress",keywords:[a("embedpress"),a("google"),a("drawings")],supports:{align:!0,lightBlockWrapper:!0},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:l.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-docs-drawings"},wp.element.createElement("img",{src:t,width:"960",height:"720"}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(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 o=n(2),a=n(1),c=n(3),s=n(0),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=wp.i18n.__,m=wp.element,d=m.Component,f=m.Fragment,h=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1},e}return l(t,e),u(t,[{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,l=i.exec(r),o=l[1];o&&"drawings"==o?(this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})):this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,l=t.cannotEmbed,u=this.props.attributes.iframeSrc,m=p("Google Drawings URL (Get your link from File -> Publish to the web -> Link)");return!u||r?wp.element.createElement(c.a,{label:m,onSubmit:this.setUrl,value:n,cannotEmbed:l,onChange:function(t){return e.setState({url:t.target.value})},icon:s.c,DocTitle:p("Learn more about Google drawing embed"),docLink:"https://embedpress.com/docs/embed-google-drawings-wordpress/"}):wp.element.createElement(f,null,i?wp.element.createElement(a.a,null):null,wp.element.createElement("img",{src:u,onLoad:this.onLoad,style:{display:i?"none":""},width:"960",height:"720"}),wp.element.createElement(o.a,{showEditButton:u&&!l,switchBackToURLInput:this.switchBackToURLInput}))}}]),t}(d);t.a=h},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(29),l=(n.n(i),n(30)),o=(n.n(l),n(31)),a=n(0),c=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/google-maps-block",{title:c("Google Maps"),icon:a.e,category:"embedpress",keywords:[c("embedpress"),c("google"),c("maps")],supports:{align:!0,lightBlockWrapper:!0},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-maps"},wp.element.createElement("iframe",r({src:t,frameborder:"0",width:"600",height:"450"},"frameborder","0")))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(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 o=n(2),a=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),m=wp.i18n.__,d=wp.element,f=d.Component,h=d.Fragment,w=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return l(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/(?:(?:(?:www\.|maps\.)?(?:google\.com?))|(?:goo\.gl))(?:\.[a-z]{2})?\/(?:maps\/)?(?:place\/)?(?:[a-z0-9\/%+\-_]*)?([a-z0-9\/%,+\-_=!:@\.&*\$#?\']*)/i)){var r=this.decodeHTMLEntities(t);if(t.match("~(maps/embed|output=embed)~i"));else{var i=/@(-?[0-9\.]+,-?[0-9\.]+).+,([0-9\.]+[a-z])/i,l=i.exec(r);l&&l.length>1&&l[1]&&l[2]?r="https://maps.google.com/maps?hl=en&ie=UTF8&ll="+l[1]+"&spn="+l[1]+"&t=m&z="+Math.round(parseInt(l[2]))+"&output=embed":this.setState({cannotEmbed:!0,editingURL:!0})}this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,l=t.cannotEmbed,p=t.interactive,d=this.props.attributes.iframeSrc,f=m("Google Maps URL");return!d||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:l,onChange:function(t){return e.setState({url:t.target.value})},icon:u.e,DocTitle:m("Learn more about Google map embed"),docLink:"https://embedpress.com/docs/embed-google-maps-wordpress/"}):wp.element.createElement(h,null,i?wp.element.createElement(a.a,null):null,wp.element.createElement(Disabled,null,wp.element.createElement(s.a,{src:d,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"})),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(o.a,{showEditButton:d&&!l,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=w},function(e,t,n){"use strict";var r=n(33),i=(n.n(r),n(34)),l=(n.n(i),n(35)),o=n(0),a=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.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/twitch-block",{title:c("Twitch"),icon:o.h,category:"embedpress",keywords:[c("embedpress"),c("twitch")],supports:{align:!0,lightBlockWrapper:!0},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""},attrs:{type:"string",default:""}},edit:l.a,save:function(e){var t=e.attributes,n=t.iframeSrc,r=t.attrs;return wp.element.createElement("figure",{className:"ose-twitch-presentation"},wp.element.createElement("iframe",a({src:n},r,{frameborder:"0",width:"600",height:"450"})))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(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 o=n(2),a=n(1),c=n(3),s=n(4),u=n(0),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=wp.i18n.__,f=wp.element,h=f.Component,w=f.Fragment,b=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return l(t,e),m(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;n({url:t});var r=/http[s]?:\/\/(?:www\.|clips\.)twitch\.tv\/([0-9a-zA-Z\-\_]+)\/?(chat\/?$|[0-9a-z\-\_]*)?/;if(t&&t.match(r)){var i=this.decodeHTMLEntities(t),l=r.exec(i),o=l[1];console.log(o);var a,c="channel";switch(t.indexOf("clips.twitch.tv")>-1?c="clip":t.indexOf("/videos/")>-1?c="video":t.indexOf("#/chat$#")>-1&&(c="chat"),console.log(c),c){case"channel":i="https://player.twitch.tv/?channel="+o,a={scrolling:"no",frameborder:"0",allowfullscreen:"true"};break;case"clip":i="https://clips.twitch.tv/embed?clip="+o+"&autoplay=false",a={scrolling:"no",frameborder:"0",allowfullscreen:"true"};break;case"video":o=l[2],i="https://player.twitch.tv/?video="+o,a={scrolling:"no",frameborder:"0",allowfullscreen:"true"};break;case"chat":i="http://www.twitch.tv/embed/"+o+"/chat",a={scrolling:"yes",frameborder:"0",allowfullscreen:"true",id:"'"+o+"'"}}this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:i,attrs:a})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,l=t.cannotEmbed,m=t.interactive,f=this.props.attributes,h=f.iframeSrc,b=f.attrs,y=d("Twitch URL");return!h||r?wp.element.createElement(c.a,{label:y,onSubmit:this.setUrl,value:n,cannotEmbed:l,onChange:function(t){return e.setState({url:t.target.value})},icon:u.h,DocTitle:d("Learn more about twitch embed"),docLink:"https://embedpress.com/docs/embed-twitch-streams-chat/"}):wp.element.createElement(w,null,i?wp.element.createElement(a.a,null):null,wp.element.createElement(s.a,p({src:h},b,{onLoad:this.onLoad,style:{display:i?"none":""},onFocus:this.hideOverlay,width:"600",height:"450"})),!m&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(o.a,{showEditButton:h&&!l,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(h);t.a=b},function(e,t,n){"use strict";var r=n(37),i=(n.n(r),n(38)),l=(n.n(i),n(39)),o=n(0),a=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/wistia-block",{title:a("Wistia"),icon:o.i,category:"embedpress",keywords:[a("embedpress"),a("wistia")],supports:{align:!0,lightBlockWrapper:!0},edit:l.a,save:function(e){return null},deprecated:[{attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:l.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("div",{class:"ose-wistia"},wp.element.createElement("iframe",{src:t,allowtransparency:"true",frameborder:"0",class:"wistia_embed",name:"wistia_embed",width:"600",height:"330"}))}}]})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(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 o=n(2),a=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),m=wp.i18n.__,d=wp.element,f=d.Component,h=d.Fragment,w=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1,mediaId:null},e.setUrl(),e}return l(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"componentDidMount",value:function(){if(this.props.attributes.url){var e=this.props.attributes.url.match(/medias\/(.*)/),t=e[1];this.setState(Object.assign({},this.state,{mediaId:t}))}}},{key:"onLoad",value:function(){if(this.setState({fetching:!1}),embedpressObj.wisita_options){var e=Object.assign({},this.state);setTimeout(function(){var e=document.createElement("script");e.src="https://fast.wistia.com/assets/external/E-v1.js",e.charset="ISO-8859-1",document.body.appendChild(e)},100),setTimeout(function(){var t=document.createElement("script");t.type="text/javascript",t.innerHTML="window.pp_embed_wistia_labels = "+embedpressObj.wistia_labels,document.body.appendChild(t),t=document.createElement("script"),t.type="text/javascript",t.innerHTML='wistiaEmbed = Wistia.embed( "'+e.mediaId+'", '+embedpressObj.wisita_options+" );",document.body.appendChild(t)},400)}}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&(t.match(/^http[s]?:\/\/(?:www\.)?wistia\.com\/medias/i)||t.match(/^http[s]?:\/\/(?:www\.)?fast\/.wistia\.com\/embed\/medias/i.jsonp))){var r=t.match(/medias\/(.*)/),i=r[1],l="//fast.wistia.net/embed/iframe/"+i;this.setState({editingURL:!1,cannotEmbed:!1,mediaId:i}),n({iframeSrc:l})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,l=t.cannotEmbed,p=t.interactive,d=this.props.attributes.iframeSrc,f=m("Wistia URL");return!d||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:l,onChange:function(t){return e.setState({url:t.target.value})},icon:u.i,DocTitle:m("Learn more about Wistia embed"),docLink:"https://embedpress.com/docs/embed-wistia-videos-wordpress/"}):wp.element.createElement(h,null,i?wp.element.createElement(a.a,null):null,wp.element.createElement("div",{className:"ose-wistia",id:"wistia_"+this.state.mediaId},wp.element.createElement(s.a,{src:d,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"330",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"})),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(o.a,{showEditButton:d&&!l,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=w},function(e,t,n){"use strict";var r=n(41),i=(n.n(r),n(42)),l=(n.n(i),n(43)),o=n(0),a=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/youtube-block",{title:a("Youtube"),icon:o.j,category:"embedpress",keywords:[a("embedpress"),a("youtube")],supports:{align:!0,lightBlockWrapper:!0},edit:l.a,save:function(){return null}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(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 o=n(2),a=n(1),c=n(3),s=n(4),u=n(0),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=wp.i18n.__,f=wp.element,h=f.Component,w=f.Fragment,b=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return l(t,e),m(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"componentWillMount",value:function(){this.state.url&&this.setUrl()}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;n({url:t});var r=t.match(/^(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})(?:\S+)?$/);if(t&&r){var i=r[1],l="https://www.youtube.com/embed/"+i,o=new URL(l);if("undefined"!==typeof embedpressProObj)for(var a in embedpressProObj.youtubeParams)o.searchParams.set(a,embedpressProObj.youtubeParams[a]);this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:o.href,mediaId:i})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,l=t.cannotEmbed,m=t.interactive,f=this.props.attributes,h=f.iframeSrc,b=f.attrs,y=d("Youtube URL");return!h||r?wp.element.createElement(c.a,{label:y,onSubmit:this.setUrl,value:n,cannotEmbed:l,onChange:function(t){return e.setState({url:t.target.value})},icon:u.j,DocTitle:d("Learn More About Youtube Embed"),docLink:"https://embedpress.com/docs/embed-youtube-wordpress/"}):wp.element.createElement(w,null,i?wp.element.createElement(a.a,null):null,wp.element.createElement(s.a,p({src:h},b,{onLoad:this.onLoad,style:{display:i?"none":""},width:"640",onFocus:this.hideOverlay,height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"})),!m&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(o.a,{showEditButton:h&&!l,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(h);t.a=b},function(e,t,n){"use strict";var r=n(45),i=(n.n(r),n(46)),l=(n.n(i),n(47)),o=n(0),a=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/document",{title:a("Document"),icon:o.a,category:"embedpress",keywords:[a("embedpress"),a("pdf"),a("doc"),a("ppt")],supports:{align:!0,lightBlockWrapper:!0},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:l.a,save:function(e){var t=e.attributes,n=t.href,r=t.mime,i=t.id,l=t.width,o=t.height,a=t.powered_by,c="//view.officeapps.live.com/op/embed.aspx?src="+n;return wp.element.createElement("figure",{className:"embedpress-embed-document"},"application/pdf"===r&&wp.element.createElement("div",{style:{height:o,width:l},className:"embedpress-embed-document-pdf "+i,"data-emid":i,"data-emsrc":n}),"application/pdf"!==r&&wp.element.createElement("iframe",{style:{height:o,width:l},src:c,mozallowfullscreen:"true",webkitallowfullscreen:"true"}),a&&wp.element.createElement("p",{className:"embedpress-el-powered"},"Powered By EmbedPress"))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(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 o=n(4),a=n(1),c=n(0),s=function(){function e(e,t){var n=[],r=!0,i=!1,l=void 0;try{for(var o,a=e[Symbol.iterator]();!(r=(o=a.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,l=e}finally{try{!r&&a.return&&a.return()}finally{if(i)throw l}}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}}(),p=wp.i18n.__,m=wp.blob,d=m.getBlobByURL,f=m.isBlobURL,h=m.revokeBlobURL,w=wp.editor,b=w.BlockIcon,y=w.MediaPlaceholder,v=w.InspectorControls,g=wp.element,E=g.Component,L=g.Fragment,k=wp.components,_=k.RangeControl,S=k.PanelBody,U=k.ExternalLink,O=k.ToggleControl,R=["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"],M=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.onSelectFile=e.onSelectFile.bind(e),e.onUploadError=e.onUploadError.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={hasError:!1,fetching:!1,interactive:!1,loadPdf:!0},e}return l(t,e),u(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,i=t.noticeOperations,l=n.href;if(f(l)){r({filesList:[d(l)],onFileChange:function(t){var n=s(t,1),r=n[0];return e.onSelectFile(r)},onError:function(t){e.setState({hasError:!0}),i.createErrorNotice(t)}}),h(l)}this.props.attributes.href&&"application/pdf"===this.props.attributes.mime&&this.state.loadPdf&&(this.setState({loadPdf:!1}),PDFObject.embed(this.props.attributes.href,"."+this.props.attributes.id))}},{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&this.setState({showCopyConfirmation:!1})}},{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"onSelectFile",value:function(e){e&&e.url&&(this.setState({hasError:!1}),this.props.setAttributes({href:e.url,fileName:e.title,id:"embedpress-pdf-"+Date.now(),mime:e.mime}),embedpressObj.embedpress_pro&&this.props.setAttributes({powered_by:!1}),"application/pdf"===e.mime&&(this.setState({loadPdf:!1}),PDFObject.embed(e.url,"."+this.props.attributes.id)))}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.noticeUI,r=e.setAttributes,i=t.href,l=t.mime,s=t.id,u=t.width,m=t.height,d=t.powered_by,f=this.state,h=f.hasError,w=f.interactive,g=f.fetching,E=f.loadPdf;if(!i||h)return wp.element.createElement("div",{className:"embedpress-document-editmode"},wp.element.createElement(y,{icon:wp.element.createElement(b,{icon:c.a}),labels:{title:p("Document"),instructions:p("Upload a file or pick one from your media library for embed.")},onSelect:this.onSelectFile,notices:n,allowedTypes:R,onError:this.onUploadError},wp.element.createElement("div",{style:{width:"100%"},className:"components-placeholder__learn-more embedpress-doc-link"},wp.element.createElement(U,{href:"https://embedpress.com/docs/embed-docuemnt/"},"Learn more about Embedded document "))));var k="//view.officeapps.live.com/op/embed.aspx?src="+i;return wp.element.createElement(L,null,g&&"application/pdf"!==l?wp.element.createElement(a.a,null):null,"application/pdf"===l&&wp.element.createElement("div",{style:{height:m,width:u},className:"embedpress-embed-document-pdf "+s,"data-emid":s,"data-emsrc":i}),"application/pdf"!==l&&wp.element.createElement(o.a,{onMouseUponMouseUp:this.hideOverlay,style:{height:m,width:u,display:g||!E?"none":""},onLoad:this.onLoad,src:k,mozallowfullscreen:"true",webkitallowfullscreen:"true"}),!w&&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"),wp.element.createElement(v,{key:"inspector"},wp.element.createElement(S,{title:p("Embed Size","embedpress")},wp.element.createElement(_,{label:p("Width","embedpress"),value:u,onChange:function(e){return r({width:e})},max:1e3,min:1}),wp.element.createElement(_,{label:p("Height","embedpress"),value:m,onChange:function(e){return r({height:e})},max:1e3,min:1}),wp.element.createElement(O,{label:p("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=M}]);
Gutenberg/dist/blocks.editor.build.css CHANGED
@@ -0,0 +1 @@
 
1
+ .embedpress-document-editmode .components-placeholder__instructions:after{content:"\ASupported File Type: PDF, DOC, PPT, XLS etc ";white-space:pre}
Gutenberg/dist/blocks.style.build.css CHANGED
@@ -0,0 +1 @@
 
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-document-editmode .components-form-file-upload{display:none !important}
Gutenberg/package-lock.json CHANGED
@@ -73,9 +73,9 @@
73
  }
74
  },
75
  "@babel/runtime": {
76
- "version": "7.9.2",
77
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.9.2.tgz",
78
- "integrity": "sha512-NE2DtOdufG7R5vnfQUTehdTfNycfUANEtCa9PssN9O/xmTzP4E08UI797ixaei6hBEVL9BI/PsdJS5x7mWoB9Q==",
79
  "requires": {
80
  "regenerator-runtime": "^0.13.4"
81
  },
@@ -88,9 +88,9 @@
88
  }
89
  },
90
  "@babel/runtime-corejs3": {
91
- "version": "7.9.2",
92
- "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.9.2.tgz",
93
- "integrity": "sha512-HHxmgxbIzOfFlZ+tdeRKtaxWOMUoCG5Mu3wKeUmOxjYrwb3AAHgnmtCUbPPK11/raIWLIBK250t8E2BPO0p7jA==",
94
  "requires": {
95
  "core-js-pure": "^3.0.0",
96
  "regenerator-runtime": "^0.13.4"
@@ -180,6 +180,11 @@
180
  }
181
  }
182
  },
 
 
 
 
 
183
  "abbrev": {
184
  "version": "1.1.1",
185
  "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
@@ -288,22 +293,13 @@
288
  }
289
  },
290
  "anymatch": {
291
- "version": "2.0.0",
292
- "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz",
293
- "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==",
 
294
  "requires": {
295
- "micromatch": "^3.1.4",
296
- "normalize-path": "^2.1.1"
297
- },
298
- "dependencies": {
299
- "normalize-path": {
300
- "version": "2.1.1",
301
- "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz",
302
- "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=",
303
- "requires": {
304
- "remove-trailing-separator": "^1.0.1"
305
- }
306
- }
307
  }
308
  },
309
  "aproba": {
@@ -329,12 +325,12 @@
329
  }
330
  },
331
  "aria-query": {
332
- "version": "3.0.0",
333
- "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-3.0.0.tgz",
334
- "integrity": "sha1-ZbP8wcoRVajJrmTW7uKX8V1RM8w=",
335
  "requires": {
336
- "ast-types-flow": "0.0.7",
337
- "commander": "^2.11.0"
338
  }
339
  },
340
  "arr-diff": {
@@ -372,6 +368,16 @@
372
  "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz",
373
  "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg="
374
  },
 
 
 
 
 
 
 
 
 
 
375
  "asn1": {
376
  "version": "0.2.4",
377
  "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz",
@@ -388,6 +394,13 @@
388
  "bn.js": "^4.0.0",
389
  "inherits": "^2.0.1",
390
  "minimalistic-assert": "^1.0.0"
 
 
 
 
 
 
 
391
  }
392
  },
393
  "assert": {
@@ -440,7 +453,8 @@
440
  "async-each": {
441
  "version": "1.0.3",
442
  "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz",
443
- "integrity": "sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ=="
 
444
  },
445
  "async-foreach": {
446
  "version": "0.1.3",
@@ -476,14 +490,19 @@
476
  "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg="
477
  },
478
  "aws4": {
479
- "version": "1.9.1",
480
- "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.9.1.tgz",
481
- "integrity": "sha512-wMHVg2EOHaMRxbzgFJ9gtjOOCrI80OHLG14rxi28XwOW8ux6IiEbRCGGGqCtdAIg4FQCbW20k9RsT4y3gJlFug=="
 
 
 
 
 
482
  },
483
  "axobject-query": {
484
- "version": "2.1.2",
485
- "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-2.1.2.tgz",
486
- "integrity": "sha512-ICt34ZmrVt8UQnvPl6TVyDTkmhXmAyAT4Jh5ugfGUX4MOrZ+U/ZY6/sdylRw3qGNr9Ub5AJsaHeDMzNLehRdOQ=="
487
  },
488
  "babel-code-frame": {
489
  "version": "6.26.0",
@@ -1073,10 +1092,11 @@
1073
  }
1074
  },
1075
  "babel-preset-cgb": {
1076
- "version": "1.7.0",
1077
- "resolved": "https://registry.npmjs.org/babel-preset-cgb/-/babel-preset-cgb-1.7.0.tgz",
1078
- "integrity": "sha512-1V+eDD2uinBYvun7PmzIEQFBFQLHmp+BGH7QTHS+njG/bevjMhqj4ztYyQ2oqXsyo6bpzxGpxKOSAS+UsDBt4A==",
1079
  "requires": {
 
1080
  "babel-plugin-syntax-async-functions": "^6.13.0",
1081
  "babel-plugin-transform-class-properties": "6.24.1",
1082
  "babel-plugin-transform-object-rest-spread": "^6.26.0",
@@ -1275,18 +1295,10 @@
1275
  "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ=="
1276
  },
1277
  "binary-extensions": {
1278
- "version": "1.13.1",
1279
- "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz",
1280
- "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw=="
1281
- },
1282
- "bindings": {
1283
- "version": "1.5.0",
1284
- "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
1285
- "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
1286
- "optional": true,
1287
- "requires": {
1288
- "file-uri-to-path": "1.0.0"
1289
- }
1290
  },
1291
  "block-stream": {
1292
  "version": "0.0.9",
@@ -1297,9 +1309,9 @@
1297
  }
1298
  },
1299
  "bn.js": {
1300
- "version": "4.11.8",
1301
- "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz",
1302
- "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA=="
1303
  },
1304
  "boxen": {
1305
  "version": "1.3.0",
@@ -1325,30 +1337,12 @@
1325
  }
1326
  },
1327
  "braces": {
1328
- "version": "2.3.2",
1329
- "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz",
1330
- "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==",
 
1331
  "requires": {
1332
- "arr-flatten": "^1.1.0",
1333
- "array-unique": "^0.3.2",
1334
- "extend-shallow": "^2.0.1",
1335
- "fill-range": "^4.0.0",
1336
- "isobject": "^3.0.1",
1337
- "repeat-element": "^1.1.2",
1338
- "snapdragon": "^0.8.1",
1339
- "snapdragon-node": "^2.0.1",
1340
- "split-string": "^3.0.2",
1341
- "to-regex": "^3.0.1"
1342
- },
1343
- "dependencies": {
1344
- "extend-shallow": {
1345
- "version": "2.0.1",
1346
- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
1347
- "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
1348
- "requires": {
1349
- "is-extendable": "^0.1.0"
1350
- }
1351
- }
1352
  }
1353
  },
1354
  "brorand": {
@@ -1397,20 +1391,46 @@
1397
  "requires": {
1398
  "bn.js": "^4.1.0",
1399
  "randombytes": "^2.0.1"
 
 
 
 
 
 
 
1400
  }
1401
  },
1402
  "browserify-sign": {
1403
- "version": "4.0.4",
1404
- "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.0.4.tgz",
1405
- "integrity": "sha1-qk62jl17ZYuqa/alfmMMvXqT0pg=",
1406
- "requires": {
1407
- "bn.js": "^4.1.1",
1408
- "browserify-rsa": "^4.0.0",
1409
- "create-hash": "^1.1.0",
1410
- "create-hmac": "^1.1.2",
1411
- "elliptic": "^6.0.0",
1412
- "inherits": "^2.0.1",
1413
- "parse-asn1": "^5.0.0"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1414
  }
1415
  },
1416
  "browserify-zlib": {
@@ -1521,9 +1541,9 @@
1521
  }
1522
  },
1523
  "caniuse-lite": {
1524
- "version": "1.0.30001036",
1525
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001036.tgz",
1526
- "integrity": "sha512-jU8CIFIj2oR7r4W+5AKcsvWNVIb6Q6OZE3UsrXrZBHFtreT4YgTeOJtTucp+zSedEpTi3L5wASSP0LYIE3if6w=="
1527
  },
1528
  "capture-stack-trace": {
1529
  "version": "1.0.1",
@@ -1545,10 +1565,11 @@
1545
  }
1546
  },
1547
  "cgb-dev-utils": {
1548
- "version": "1.6.0",
1549
- "resolved": "https://registry.npmjs.org/cgb-dev-utils/-/cgb-dev-utils-1.6.0.tgz",
1550
- "integrity": "sha512-BtMGMzOMsdIa6ZryoTUGrPXr6YabZ+VMdR71cMspoQzlpNCxbQIheq6hXEUJkRLfg+E7+L8bIfyRV1+c3msr4g==",
1551
  "requires": {
 
1552
  "chalk": "2.3.0",
1553
  "cross-spawn": "5.1.0",
1554
  "update-notifier": "^2.3.0"
@@ -1632,22 +1653,19 @@
1632
  "integrity": "sha1-tUc7M9yXxCTl2Y3IfVXU2KKci/I="
1633
  },
1634
  "chokidar": {
1635
- "version": "2.1.8",
1636
- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz",
1637
- "integrity": "sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==",
1638
- "requires": {
1639
- "anymatch": "^2.0.0",
1640
- "async-each": "^1.0.1",
1641
- "braces": "^2.3.2",
1642
- "fsevents": "^1.2.7",
1643
- "glob-parent": "^3.1.0",
1644
- "inherits": "^2.0.3",
1645
- "is-binary-path": "^1.0.0",
1646
- "is-glob": "^4.0.0",
1647
- "normalize-path": "^3.0.0",
1648
- "path-is-absolute": "^1.0.0",
1649
- "readdirp": "^2.2.1",
1650
- "upath": "^1.1.1"
1651
  }
1652
  },
1653
  "ci-info": {
@@ -1714,36 +1732,46 @@
1714
  "integrity": "sha512-1QL4544moEsDVH9T/l6Cemov/37iv1RtoKf7NJ04A60+4MREXNfx/QvavbH6QoGdsD4N4Mwy49cmaINR/o2mdg=="
1715
  },
1716
  "cli-width": {
1717
- "version": "2.2.0",
1718
- "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz",
1719
- "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk="
1720
  },
1721
  "cliui": {
1722
- "version": "3.2.0",
1723
- "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz",
1724
- "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=",
1725
  "requires": {
1726
- "string-width": "^1.0.1",
1727
- "strip-ansi": "^3.0.1",
1728
- "wrap-ansi": "^2.0.0"
1729
  },
1730
  "dependencies": {
1731
- "is-fullwidth-code-point": {
1732
- "version": "1.0.0",
1733
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
1734
- "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
 
 
 
 
 
 
 
 
 
 
1735
  "requires": {
1736
- "number-is-nan": "^1.0.0"
 
 
1737
  }
1738
  },
1739
- "string-width": {
1740
- "version": "1.0.2",
1741
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
1742
- "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
1743
  "requires": {
1744
- "code-point-at": "^1.0.0",
1745
- "is-fullwidth-code-point": "^1.0.0",
1746
- "strip-ansi": "^3.0.0"
1747
  }
1748
  }
1749
  }
@@ -1799,11 +1827,6 @@
1799
  "delayed-stream": "~1.0.0"
1800
  }
1801
  },
1802
- "commander": {
1803
- "version": "2.20.3",
1804
- "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
1805
- "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ=="
1806
- },
1807
  "commondir": {
1808
  "version": "1.0.1",
1809
  "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz",
@@ -1877,9 +1900,9 @@
1877
  "integrity": "sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg=="
1878
  },
1879
  "core-js-pure": {
1880
- "version": "3.6.4",
1881
- "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.6.4.tgz",
1882
- "integrity": "sha512-epIhRLkXdgv32xIUFaaAry2wdxZYBi6bgM7cB136dzzXXa+dFyRLTZeLUJxnd8ShrmyVXBub63n2NHo2JAt8Cw=="
1883
  },
1884
  "core-util-is": {
1885
  "version": "1.0.2",
@@ -1915,6 +1938,13 @@
1915
  "requires": {
1916
  "bn.js": "^4.1.0",
1917
  "elliptic": "^6.0.0"
 
 
 
 
 
 
 
1918
  }
1919
  },
1920
  "create-error-class": {
@@ -2143,6 +2173,13 @@
2143
  "bn.js": "^4.1.0",
2144
  "miller-rabin": "^4.0.0",
2145
  "randombytes": "^2.0.0"
 
 
 
 
 
 
 
2146
  }
2147
  },
2148
  "doctrine": {
@@ -2186,14 +2223,14 @@
2186
  }
2187
  },
2188
  "electron-to-chromium": {
2189
- "version": "1.3.382",
2190
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.382.tgz",
2191
- "integrity": "sha512-gJfxOcgnBlXhfnUUObsq3n3ReU8CT6S8je97HndYRkKsNZMJJ38zO/pI5aqO7L3Myfq+E3pqPyKK/ynyLEQfBA=="
2192
  },
2193
  "elliptic": {
2194
- "version": "6.5.2",
2195
- "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.2.tgz",
2196
- "integrity": "sha512-f4x70okzZbIQl/NSRLkI/+tteV/9WqL98zx+SQ69KbXxmVrmjwsNUPn/gYJJ0sHvEak24cZgHIPegRePAtA/xw==",
2197
  "requires": {
2198
  "bn.js": "^4.4.0",
2199
  "brorand": "^1.0.1",
@@ -2202,12 +2239,19 @@
2202
  "inherits": "^2.0.1",
2203
  "minimalistic-assert": "^1.0.0",
2204
  "minimalistic-crypto-utils": "^1.0.0"
 
 
 
 
 
 
 
2205
  }
2206
  },
2207
  "emoji-regex": {
2208
- "version": "7.0.3",
2209
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
2210
- "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA=="
2211
  },
2212
  "emojis-list": {
2213
  "version": "3.0.0",
@@ -2242,21 +2286,21 @@
2242
  }
2243
  },
2244
  "es-abstract": {
2245
- "version": "1.17.5",
2246
- "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.5.tgz",
2247
- "integrity": "sha512-BR9auzDbySxOcfog0tLECW8l28eRGpDpU3Dm3Hp4q/N+VtLTmyj4EUN088XZWQDW/hzj6sYRDXeOFsaAODKvpg==",
2248
  "requires": {
2249
  "es-to-primitive": "^1.2.1",
2250
  "function-bind": "^1.1.1",
2251
  "has": "^1.0.3",
2252
  "has-symbols": "^1.0.1",
2253
- "is-callable": "^1.1.5",
2254
- "is-regex": "^1.0.5",
2255
  "object-inspect": "^1.7.0",
2256
  "object-keys": "^1.1.1",
2257
  "object.assign": "^4.1.0",
2258
- "string.prototype.trimleft": "^2.1.1",
2259
- "string.prototype.trimright": "^2.1.1"
2260
  }
2261
  },
2262
  "es-to-primitive": {
@@ -2471,45 +2515,39 @@
2471
  "integrity": "sha512-0E4OIgBJVlAmf1KfYFtZ3gYxgUzC5Eb3Jzmrc9ikI1OY+/cM8Kh72Ti7KfpeHNeD3HJNf9SmEfmvQLIz44Hrhw=="
2472
  },
2473
  "eslint-plugin-jsx-a11y": {
2474
- "version": "6.2.3",
2475
- "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.2.3.tgz",
2476
- "integrity": "sha512-CawzfGt9w83tyuVekn0GDPU9ytYtxyxyFZ3aSWROmnRRFQFT2BiPJd7jvRdzNDi6oLWaS2asMeYSNMjWTV4eNg==",
2477
  "requires": {
2478
- "@babel/runtime": "^7.4.5",
2479
- "aria-query": "^3.0.0",
2480
- "array-includes": "^3.0.3",
2481
  "ast-types-flow": "^0.0.7",
2482
- "axobject-query": "^2.0.2",
2483
- "damerau-levenshtein": "^1.0.4",
2484
- "emoji-regex": "^7.0.2",
 
2485
  "has": "^1.0.3",
2486
- "jsx-ast-utils": "^2.2.1"
 
2487
  }
2488
  },
2489
  "eslint-plugin-react": {
2490
- "version": "7.19.0",
2491
- "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.19.0.tgz",
2492
- "integrity": "sha512-SPT8j72CGuAP+JFbT0sJHOB80TX/pu44gQ4vXH/cq+hQTiY2PuZ6IHkqXJV6x1b28GDdo1lbInjKUrrdUf0LOQ==",
2493
  "requires": {
2494
  "array-includes": "^3.1.1",
 
2495
  "doctrine": "^2.1.0",
2496
  "has": "^1.0.3",
2497
- "jsx-ast-utils": "^2.2.3",
2498
- "object.entries": "^1.1.1",
2499
  "object.fromentries": "^2.0.2",
2500
  "object.values": "^1.1.1",
2501
  "prop-types": "^15.7.2",
2502
- "resolve": "^1.15.1",
2503
- "semver": "^6.3.0",
2504
- "string.prototype.matchall": "^4.0.2",
2505
- "xregexp": "^4.3.0"
2506
- },
2507
- "dependencies": {
2508
- "semver": {
2509
- "version": "6.3.0",
2510
- "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
2511
- "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
2512
- }
2513
  }
2514
  },
2515
  "eslint-plugin-wordpress": {
@@ -2530,9 +2568,9 @@
2530
  }
2531
  },
2532
  "eslint-visitor-keys": {
2533
- "version": "1.1.0",
2534
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz",
2535
- "integrity": "sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A=="
2536
  },
2537
  "espree": {
2538
  "version": "3.5.4",
@@ -2549,17 +2587,17 @@
2549
  "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A=="
2550
  },
2551
  "esquery": {
2552
- "version": "1.2.0",
2553
- "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.2.0.tgz",
2554
- "integrity": "sha512-weltsSqdeWIX9G2qQZz7KlTRJdkkOCTPgLYJUz1Hacf48R4YOwGPHO3+ORfWedqJKbq5WQmsgK90n+pFLIKt/Q==",
2555
  "requires": {
2556
- "estraverse": "^5.0.0"
2557
  },
2558
  "dependencies": {
2559
  "estraverse": {
2560
- "version": "5.0.0",
2561
- "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.0.0.tgz",
2562
- "integrity": "sha512-j3acdrMzqrxmJTNj5dbr1YbjacrYgAxVMeF0gK16E3j494mOe7xygM/ZLIguEQ0ETwAg2hlJCtHRGav+y0Ny5A=="
2563
  }
2564
  }
2565
  },
@@ -2806,36 +2844,18 @@
2806
  "object-assign": "^4.0.1"
2807
  }
2808
  },
2809
- "file-uri-to-path": {
2810
- "version": "1.0.0",
2811
- "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
2812
- "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",
2813
- "optional": true
2814
- },
2815
  "filesize": {
2816
  "version": "3.6.1",
2817
  "resolved": "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz",
2818
  "integrity": "sha512-7KjR1vv6qnicaPMi1iiTcI85CyYwRO/PSFCu6SvqL8jN2Wjt/NIYQTFtFs7fSDCYOstUkEWIQGFUg5YZQfjlcg=="
2819
  },
2820
  "fill-range": {
2821
- "version": "4.0.0",
2822
- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",
2823
- "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=",
 
2824
  "requires": {
2825
- "extend-shallow": "^2.0.1",
2826
- "is-number": "^3.0.0",
2827
- "repeat-string": "^1.6.1",
2828
- "to-regex-range": "^2.1.0"
2829
- },
2830
- "dependencies": {
2831
- "extend-shallow": {
2832
- "version": "2.0.1",
2833
- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
2834
- "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
2835
- "requires": {
2836
- "is-extendable": "^0.1.0"
2837
- }
2838
- }
2839
  }
2840
  },
2841
  "find-cache-dir": {
@@ -2919,536 +2939,63 @@
2919
  "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
2920
  },
2921
  "fsevents": {
2922
- "version": "1.2.12",
2923
- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.12.tgz",
2924
- "integrity": "sha512-Ggd/Ktt7E7I8pxZRbGIs7vwqAPscSESMrCSkx2FtWeqmheJgCo2R74fTsZFCifr0VTPwqRpPv17+6b8Zp7th0Q==",
2925
- "optional": true,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2926
  "requires": {
2927
- "bindings": "^1.5.0",
2928
- "nan": "^2.12.1",
2929
- "node-pre-gyp": "*"
 
 
 
 
 
2930
  },
2931
  "dependencies": {
2932
- "abbrev": {
2933
- "version": "1.1.1",
2934
- "bundled": true,
2935
- "optional": true
2936
- },
2937
- "ansi-regex": {
2938
- "version": "2.1.1",
2939
- "bundled": true
2940
- },
2941
- "aproba": {
2942
- "version": "1.2.0",
2943
- "bundled": true,
2944
- "optional": true
2945
- },
2946
- "are-we-there-yet": {
2947
- "version": "1.1.5",
2948
- "bundled": true,
2949
- "optional": true,
2950
- "requires": {
2951
- "delegates": "^1.0.0",
2952
- "readable-stream": "^2.0.6"
2953
- }
2954
- },
2955
- "balanced-match": {
2956
  "version": "1.0.0",
2957
- "bundled": true,
2958
- "optional": true
2959
- },
2960
- "brace-expansion": {
2961
- "version": "1.1.11",
2962
- "bundled": true,
2963
- "optional": true,
2964
  "requires": {
2965
- "balanced-match": "^1.0.0",
2966
- "concat-map": "0.0.1"
2967
  }
2968
  },
2969
- "chownr": {
2970
- "version": "1.1.4",
2971
- "bundled": true,
2972
- "optional": true
2973
- },
2974
- "code-point-at": {
2975
- "version": "1.1.0",
2976
- "bundled": true,
2977
- "optional": true
2978
- },
2979
- "concat-map": {
2980
- "version": "0.0.1",
2981
- "bundled": true,
2982
- "optional": true
2983
- },
2984
- "console-control-strings": {
2985
- "version": "1.1.0",
2986
- "bundled": true,
2987
- "optional": true
2988
- },
2989
- "core-util-is": {
2990
  "version": "1.0.2",
2991
- "bundled": true,
2992
- "optional": true
2993
- },
2994
- "debug": {
2995
- "version": "3.2.6",
2996
- "bundled": true,
2997
- "optional": true,
2998
- "requires": {
2999
- "ms": "^2.1.1"
3000
- }
3001
- },
3002
- "deep-extend": {
3003
- "version": "0.6.0",
3004
- "bundled": true,
3005
- "optional": true
3006
- },
3007
- "delegates": {
3008
- "version": "1.0.0",
3009
- "bundled": true,
3010
- "optional": true
3011
- },
3012
- "detect-libc": {
3013
- "version": "1.0.3",
3014
- "bundled": true,
3015
- "optional": true
3016
- },
3017
- "fs-minipass": {
3018
- "version": "1.2.7",
3019
- "bundled": true,
3020
- "optional": true,
3021
- "requires": {
3022
- "minipass": "^2.6.0"
3023
- }
3024
- },
3025
- "fs.realpath": {
3026
- "version": "1.0.0",
3027
- "bundled": true,
3028
- "optional": true
3029
- },
3030
- "gauge": {
3031
- "version": "2.7.4",
3032
- "bundled": true,
3033
- "optional": true,
3034
- "requires": {
3035
- "aproba": "^1.0.3",
3036
- "console-control-strings": "^1.0.0",
3037
- "has-unicode": "^2.0.0",
3038
- "object-assign": "^4.1.0",
3039
- "signal-exit": "^3.0.0",
3040
- "string-width": "^1.0.1",
3041
- "strip-ansi": "^3.0.1",
3042
- "wide-align": "^1.1.0"
3043
- }
3044
- },
3045
- "glob": {
3046
- "version": "7.1.6",
3047
- "bundled": true,
3048
- "optional": true,
3049
- "requires": {
3050
- "fs.realpath": "^1.0.0",
3051
- "inflight": "^1.0.4",
3052
- "inherits": "2",
3053
- "minimatch": "^3.0.4",
3054
- "once": "^1.3.0",
3055
- "path-is-absolute": "^1.0.0"
3056
- }
3057
- },
3058
- "has-unicode": {
3059
- "version": "2.0.1",
3060
- "bundled": true,
3061
- "optional": true
3062
- },
3063
- "iconv-lite": {
3064
- "version": "0.4.24",
3065
- "bundled": true,
3066
- "optional": true,
3067
- "requires": {
3068
- "safer-buffer": ">= 2.1.2 < 3"
3069
- }
3070
- },
3071
- "ignore-walk": {
3072
- "version": "3.0.3",
3073
- "bundled": true,
3074
- "optional": true,
3075
- "requires": {
3076
- "minimatch": "^3.0.4"
3077
- }
3078
- },
3079
- "inflight": {
3080
- "version": "1.0.6",
3081
- "bundled": true,
3082
- "optional": true,
3083
  "requires": {
3084
- "once": "^1.3.0",
3085
- "wrappy": "1"
3086
- }
3087
- },
3088
- "inherits": {
3089
- "version": "2.0.4",
3090
- "bundled": true,
3091
- "optional": true
3092
- },
3093
- "ini": {
3094
- "version": "1.3.5",
3095
- "bundled": true,
3096
- "optional": true
3097
- },
3098
- "is-fullwidth-code-point": {
3099
- "version": "1.0.0",
3100
- "bundled": true,
3101
- "optional": true,
3102
- "requires": {
3103
- "number-is-nan": "^1.0.0"
3104
- }
3105
- },
3106
- "isarray": {
3107
- "version": "1.0.0",
3108
- "bundled": true,
3109
- "optional": true
3110
- },
3111
- "minimatch": {
3112
- "version": "3.0.4",
3113
- "bundled": true,
3114
- "optional": true,
3115
- "requires": {
3116
- "brace-expansion": "^1.1.7"
3117
- }
3118
- },
3119
- "minimist": {
3120
- "version": "1.2.5",
3121
- "bundled": true,
3122
- "optional": true
3123
- },
3124
- "minipass": {
3125
- "version": "2.9.0",
3126
- "bundled": true,
3127
- "optional": true,
3128
- "requires": {
3129
- "safe-buffer": "^5.1.2",
3130
- "yallist": "^3.0.0"
3131
- }
3132
- },
3133
- "minizlib": {
3134
- "version": "1.3.3",
3135
- "bundled": true,
3136
- "optional": true,
3137
- "requires": {
3138
- "minipass": "^2.9.0"
3139
- }
3140
- },
3141
- "mkdirp": {
3142
- "version": "0.5.3",
3143
- "bundled": true,
3144
- "optional": true,
3145
- "requires": {
3146
- "minimist": "^1.2.5"
3147
- }
3148
- },
3149
- "ms": {
3150
- "version": "2.1.2",
3151
- "bundled": true,
3152
- "optional": true
3153
- },
3154
- "needle": {
3155
- "version": "2.3.3",
3156
- "bundled": true,
3157
- "optional": true,
3158
- "requires": {
3159
- "debug": "^3.2.6",
3160
- "iconv-lite": "^0.4.4",
3161
- "sax": "^1.2.4"
3162
- }
3163
- },
3164
- "node-pre-gyp": {
3165
- "version": "0.14.0",
3166
- "bundled": true,
3167
- "optional": true,
3168
- "requires": {
3169
- "detect-libc": "^1.0.2",
3170
- "mkdirp": "^0.5.1",
3171
- "needle": "^2.2.1",
3172
- "nopt": "^4.0.1",
3173
- "npm-packlist": "^1.1.6",
3174
- "npmlog": "^4.0.2",
3175
- "rc": "^1.2.7",
3176
- "rimraf": "^2.6.1",
3177
- "semver": "^5.3.0",
3178
- "tar": "^4.4.2"
3179
- }
3180
- },
3181
- "nopt": {
3182
- "version": "4.0.3",
3183
- "bundled": true,
3184
- "optional": true,
3185
- "requires": {
3186
- "abbrev": "1",
3187
- "osenv": "^0.1.4"
3188
- }
3189
- },
3190
- "npm-bundled": {
3191
- "version": "1.1.1",
3192
- "bundled": true,
3193
- "optional": true,
3194
- "requires": {
3195
- "npm-normalize-package-bin": "^1.0.1"
3196
- }
3197
- },
3198
- "npm-normalize-package-bin": {
3199
- "version": "1.0.1",
3200
- "bundled": true,
3201
- "optional": true
3202
- },
3203
- "npm-packlist": {
3204
- "version": "1.4.8",
3205
- "bundled": true,
3206
- "optional": true,
3207
- "requires": {
3208
- "ignore-walk": "^3.0.1",
3209
- "npm-bundled": "^1.0.1",
3210
- "npm-normalize-package-bin": "^1.0.1"
3211
- }
3212
- },
3213
- "npmlog": {
3214
- "version": "4.1.2",
3215
- "bundled": true,
3216
- "optional": true,
3217
- "requires": {
3218
- "are-we-there-yet": "~1.1.2",
3219
- "console-control-strings": "~1.1.0",
3220
- "gauge": "~2.7.3",
3221
- "set-blocking": "~2.0.0"
3222
- }
3223
- },
3224
- "number-is-nan": {
3225
- "version": "1.0.1",
3226
- "bundled": true,
3227
- "optional": true
3228
- },
3229
- "object-assign": {
3230
- "version": "4.1.1",
3231
- "bundled": true,
3232
- "optional": true
3233
- },
3234
- "once": {
3235
- "version": "1.4.0",
3236
- "bundled": true,
3237
- "optional": true,
3238
- "requires": {
3239
- "wrappy": "1"
3240
- }
3241
- },
3242
- "os-homedir": {
3243
- "version": "1.0.2",
3244
- "bundled": true,
3245
- "optional": true
3246
- },
3247
- "os-tmpdir": {
3248
- "version": "1.0.2",
3249
- "bundled": true,
3250
- "optional": true
3251
- },
3252
- "osenv": {
3253
- "version": "0.1.5",
3254
- "bundled": true,
3255
- "optional": true,
3256
- "requires": {
3257
- "os-homedir": "^1.0.0",
3258
- "os-tmpdir": "^1.0.0"
3259
- }
3260
- },
3261
- "path-is-absolute": {
3262
- "version": "1.0.1",
3263
- "bundled": true,
3264
- "optional": true
3265
- },
3266
- "process-nextick-args": {
3267
- "version": "2.0.1",
3268
- "bundled": true,
3269
- "optional": true
3270
- },
3271
- "rc": {
3272
- "version": "1.2.8",
3273
- "bundled": true,
3274
- "optional": true,
3275
- "requires": {
3276
- "deep-extend": "^0.6.0",
3277
- "ini": "~1.3.0",
3278
- "minimist": "^1.2.0",
3279
- "strip-json-comments": "~2.0.1"
3280
- }
3281
- },
3282
- "readable-stream": {
3283
- "version": "2.3.7",
3284
- "bundled": true,
3285
- "optional": true,
3286
- "requires": {
3287
- "core-util-is": "~1.0.0",
3288
- "inherits": "~2.0.3",
3289
- "isarray": "~1.0.0",
3290
- "process-nextick-args": "~2.0.0",
3291
- "safe-buffer": "~5.1.1",
3292
- "string_decoder": "~1.1.1",
3293
- "util-deprecate": "~1.0.1"
3294
- }
3295
- },
3296
- "rimraf": {
3297
- "version": "2.7.1",
3298
- "bundled": true,
3299
- "optional": true,
3300
- "requires": {
3301
- "glob": "^7.1.3"
3302
- }
3303
- },
3304
- "safe-buffer": {
3305
- "version": "5.1.2",
3306
- "bundled": true
3307
- },
3308
- "safer-buffer": {
3309
- "version": "2.1.2",
3310
- "bundled": true,
3311
- "optional": true
3312
- },
3313
- "sax": {
3314
- "version": "1.2.4",
3315
- "bundled": true,
3316
- "optional": true
3317
- },
3318
- "semver": {
3319
- "version": "5.7.1",
3320
- "bundled": true,
3321
- "optional": true
3322
- },
3323
- "set-blocking": {
3324
- "version": "2.0.0",
3325
- "bundled": true,
3326
- "optional": true
3327
- },
3328
- "signal-exit": {
3329
- "version": "3.0.2",
3330
- "bundled": true,
3331
- "optional": true
3332
- },
3333
- "string-width": {
3334
- "version": "1.0.2",
3335
- "bundled": true,
3336
- "optional": true,
3337
- "requires": {
3338
- "code-point-at": "^1.0.0",
3339
- "is-fullwidth-code-point": "^1.0.0",
3340
- "strip-ansi": "^3.0.0"
3341
- }
3342
- },
3343
- "string_decoder": {
3344
- "version": "1.1.1",
3345
- "bundled": true,
3346
- "optional": true,
3347
- "requires": {
3348
- "safe-buffer": "~5.1.0"
3349
- }
3350
- },
3351
- "strip-ansi": {
3352
- "version": "3.0.1",
3353
- "bundled": true,
3354
- "requires": {
3355
- "ansi-regex": "^2.0.0"
3356
- }
3357
- },
3358
- "strip-json-comments": {
3359
- "version": "2.0.1",
3360
- "bundled": true,
3361
- "optional": true
3362
- },
3363
- "tar": {
3364
- "version": "4.4.13",
3365
- "bundled": true,
3366
- "optional": true,
3367
- "requires": {
3368
- "chownr": "^1.1.1",
3369
- "fs-minipass": "^1.2.5",
3370
- "minipass": "^2.8.6",
3371
- "minizlib": "^1.2.1",
3372
- "mkdirp": "^0.5.0",
3373
- "safe-buffer": "^5.1.2",
3374
- "yallist": "^3.0.3"
3375
- }
3376
- },
3377
- "util-deprecate": {
3378
- "version": "1.0.2",
3379
- "bundled": true,
3380
- "optional": true
3381
- },
3382
- "wide-align": {
3383
- "version": "1.1.3",
3384
- "bundled": true,
3385
- "optional": true,
3386
- "requires": {
3387
- "string-width": "^1.0.2 || 2"
3388
- }
3389
- },
3390
- "wrappy": {
3391
- "version": "1.0.2",
3392
- "bundled": true
3393
- },
3394
- "yallist": {
3395
- "version": "3.1.1",
3396
- "bundled": true
3397
- }
3398
- }
3399
- },
3400
- "fstream": {
3401
- "version": "1.0.12",
3402
- "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.12.tgz",
3403
- "integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==",
3404
- "requires": {
3405
- "graceful-fs": "^4.1.2",
3406
- "inherits": "~2.0.0",
3407
- "mkdirp": ">=0.5 0",
3408
- "rimraf": "2"
3409
- }
3410
- },
3411
- "function-bind": {
3412
- "version": "1.1.1",
3413
- "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
3414
- "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
3415
- },
3416
- "functional-red-black-tree": {
3417
- "version": "1.0.1",
3418
- "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz",
3419
- "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc="
3420
- },
3421
- "gauge": {
3422
- "version": "2.7.4",
3423
- "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz",
3424
- "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=",
3425
- "requires": {
3426
- "aproba": "^1.0.3",
3427
- "console-control-strings": "^1.0.0",
3428
- "has-unicode": "^2.0.0",
3429
- "object-assign": "^4.1.0",
3430
- "signal-exit": "^3.0.0",
3431
- "string-width": "^1.0.1",
3432
- "strip-ansi": "^3.0.1",
3433
- "wide-align": "^1.1.0"
3434
- },
3435
- "dependencies": {
3436
- "is-fullwidth-code-point": {
3437
- "version": "1.0.0",
3438
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
3439
- "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
3440
- "requires": {
3441
- "number-is-nan": "^1.0.0"
3442
- }
3443
- },
3444
- "string-width": {
3445
- "version": "1.0.2",
3446
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
3447
- "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
3448
- "requires": {
3449
- "code-point-at": "^1.0.0",
3450
- "is-fullwidth-code-point": "^1.0.0",
3451
- "strip-ansi": "^3.0.0"
3452
  }
3453
  }
3454
  }
@@ -3462,9 +3009,9 @@
3462
  }
3463
  },
3464
  "get-caller-file": {
3465
- "version": "1.0.3",
3466
- "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz",
3467
- "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w=="
3468
  },
3469
  "get-stdin": {
3470
  "version": "4.0.1",
@@ -3503,22 +3050,12 @@
3503
  }
3504
  },
3505
  "glob-parent": {
3506
- "version": "3.1.0",
3507
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz",
3508
- "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=",
 
3509
  "requires": {
3510
- "is-glob": "^3.1.0",
3511
- "path-dirname": "^1.0.0"
3512
- },
3513
- "dependencies": {
3514
- "is-glob": {
3515
- "version": "3.1.0",
3516
- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz",
3517
- "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=",
3518
- "requires": {
3519
- "is-extglob": "^2.1.0"
3520
- }
3521
- }
3522
  }
3523
  },
3524
  "global-dirs": {
@@ -3535,12 +3072,12 @@
3535
  "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ=="
3536
  },
3537
  "globule": {
3538
- "version": "1.3.1",
3539
- "resolved": "https://registry.npmjs.org/globule/-/globule-1.3.1.tgz",
3540
- "integrity": "sha512-OVyWOHgw29yosRHCHo7NncwR1hW5ew0W/UrvtwvjefVJeQ26q4/8r8FmPsSF1hJ93IgWkyv16pCTz6WblMzm/g==",
3541
  "requires": {
3542
  "glob": "~7.1.1",
3543
- "lodash": "~4.17.12",
3544
  "minimatch": "~3.0.2"
3545
  }
3546
  },
@@ -3563,9 +3100,9 @@
3563
  }
3564
  },
3565
  "graceful-fs": {
3566
- "version": "4.2.3",
3567
- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz",
3568
- "integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ=="
3569
  },
3570
  "gzip-size": {
3571
  "version": "4.1.0",
@@ -3591,9 +3128,9 @@
3591
  },
3592
  "dependencies": {
3593
  "ajv": {
3594
- "version": "6.12.0",
3595
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.0.tgz",
3596
- "integrity": "sha512-D6gFiFA0RRLyUbvijN74DWAjXSFxWKaWP7mldxkVhyhAV3+SWA9HEJPHQ2c9soIeTFJqcSdFDGFgdqs1iUU2Hw==",
3597
  "requires": {
3598
  "fast-deep-equal": "^3.1.1",
3599
  "fast-json-stable-stringify": "^2.0.0",
@@ -3602,9 +3139,9 @@
3602
  }
3603
  },
3604
  "fast-deep-equal": {
3605
- "version": "3.1.1",
3606
- "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz",
3607
- "integrity": "sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA=="
3608
  },
3609
  "json-schema-traverse": {
3610
  "version": "0.4.1",
@@ -3663,6 +3200,24 @@
3663
  "kind-of": "^4.0.0"
3664
  },
3665
  "dependencies": {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3666
  "kind-of": {
3667
  "version": "4.0.0",
3668
  "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz",
@@ -3674,12 +3229,30 @@
3674
  }
3675
  },
3676
  "hash-base": {
3677
- "version": "3.0.4",
3678
- "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.0.4.tgz",
3679
- "integrity": "sha1-X8hoaEfs1zSZQDMZprCj8/auSRg=",
3680
  "requires": {
3681
- "inherits": "^2.0.1",
3682
- "safe-buffer": "^5.0.1"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3683
  }
3684
  },
3685
  "hash.js": {
@@ -3883,9 +3456,9 @@
3883
  }
3884
  },
3885
  "interpret": {
3886
- "version": "1.2.0",
3887
- "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.2.0.tgz",
3888
- "integrity": "sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw=="
3889
  },
3890
  "invariant": {
3891
  "version": "2.2.4",
@@ -3924,11 +3497,12 @@
3924
  "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0="
3925
  },
3926
  "is-binary-path": {
3927
- "version": "1.0.1",
3928
- "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz",
3929
- "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=",
 
3930
  "requires": {
3931
- "binary-extensions": "^1.0.0"
3932
  }
3933
  },
3934
  "is-buffer": {
@@ -3937,9 +3511,9 @@
3937
  "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w=="
3938
  },
3939
  "is-callable": {
3940
- "version": "1.1.5",
3941
- "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz",
3942
- "integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q=="
3943
  },
3944
  "is-ci": {
3945
  "version": "1.2.1",
@@ -4037,22 +3611,10 @@
4037
  "integrity": "sha1-8vtjpl5JBbQGyGBydloaTceTufQ="
4038
  },
4039
  "is-number": {
4040
- "version": "3.0.0",
4041
- "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",
4042
- "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=",
4043
- "requires": {
4044
- "kind-of": "^3.0.2"
4045
- },
4046
- "dependencies": {
4047
- "kind-of": {
4048
- "version": "3.2.2",
4049
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
4050
- "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
4051
- "requires": {
4052
- "is-buffer": "^1.1.5"
4053
- }
4054
- }
4055
- }
4056
  },
4057
  "is-obj": {
4058
  "version": "1.0.1",
@@ -4075,22 +3637,17 @@
4075
  "isobject": "^3.0.1"
4076
  }
4077
  },
4078
- "is-promise": {
4079
- "version": "2.1.0",
4080
- "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz",
4081
- "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o="
4082
- },
4083
  "is-redirect": {
4084
  "version": "1.0.0",
4085
  "resolved": "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz",
4086
  "integrity": "sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ="
4087
  },
4088
  "is-regex": {
4089
- "version": "1.0.5",
4090
- "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz",
4091
- "integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==",
4092
  "requires": {
4093
- "has": "^1.0.3"
4094
  }
4095
  },
4096
  "is-resolvable": {
@@ -4157,9 +3714,9 @@
4157
  "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo="
4158
  },
4159
  "js-base64": {
4160
- "version": "2.5.2",
4161
- "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.5.2.tgz",
4162
- "integrity": "sha512-Vg8czh0Q7sFBSUMWWArX/miJeBWYBPpdU/3M/DKSaekLMqrqVPaedp+5mZhie/r0lgrcaYBfwXatEew6gwgiQQ=="
4163
  },
4164
  "js-tokens": {
4165
  "version": "3.0.2",
@@ -4167,9 +3724,9 @@
4167
  "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls="
4168
  },
4169
  "js-yaml": {
4170
- "version": "3.13.1",
4171
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz",
4172
- "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==",
4173
  "requires": {
4174
  "argparse": "^1.0.7",
4175
  "esprima": "^4.0.0"
@@ -4240,11 +3797,11 @@
4240
  }
4241
  },
4242
  "jsx-ast-utils": {
4243
- "version": "2.2.3",
4244
- "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-2.2.3.tgz",
4245
- "integrity": "sha512-EdIHFMm+1BPynpKOpdPqiOsvnIrInRGJD7bzPZdPkjitQEqpdpUuFpq4T0npZFKTiB3RhWFdGN+oqOJIdhDhQA==",
4246
  "requires": {
4247
- "array-includes": "^3.0.3",
4248
  "object.assign": "^4.1.0"
4249
  }
4250
  },
@@ -4253,6 +3810,19 @@
4253
  "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz",
4254
  "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw=="
4255
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
4256
  "latest-version": {
4257
  "version": "3.1.0",
4258
  "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-3.1.0.tgz",
@@ -4337,9 +3907,9 @@
4337
  }
4338
  },
4339
  "lodash": {
4340
- "version": "4.17.15",
4341
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
4342
- "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
4343
  },
4344
  "lodash.tail": {
4345
  "version": "4.1.1",
@@ -4478,6 +4048,83 @@
4478
  "regex-not": "^1.0.0",
4479
  "snapdragon": "^0.8.1",
4480
  "to-regex": "^3.0.2"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4481
  }
4482
  },
4483
  "miller-rabin": {
@@ -4487,19 +4134,26 @@
4487
  "requires": {
4488
  "bn.js": "^4.0.0",
4489
  "brorand": "^1.0.1"
 
 
 
 
 
 
 
4490
  }
4491
  },
4492
  "mime-db": {
4493
- "version": "1.43.0",
4494
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.43.0.tgz",
4495
- "integrity": "sha512-+5dsGEEovYbT8UY9yD7eE4XTc4UwJ1jBYlgaQQF38ENsKR3wj/8q8RFZrF9WIZpB2V1ArTVFUva8sAul1NzRzQ=="
4496
  },
4497
  "mime-types": {
4498
- "version": "2.1.26",
4499
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.26.tgz",
4500
- "integrity": "sha512-01paPWYgLrkqAyrlDorC1uDwl2p3qZT7yl806vW7DvDoxwXi46jsjFbg+WdwotBIk6/MbEhO/dh5aZ5sNj/dWQ==",
4501
  "requires": {
4502
- "mime-db": "1.43.0"
4503
  }
4504
  },
4505
  "mimic-fn": {
@@ -4566,9 +4220,9 @@
4566
  }
4567
  },
4568
  "mkdirp": {
4569
- "version": "0.5.4",
4570
- "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.4.tgz",
4571
- "integrity": "sha512-iG9AK/dJLtJ0XNgTuDbSyNS3zECqDlAhnQW4CsNxBG3LQJBbHmRX1egw39DmtOdCAqY+dKXV+sgPgilNWUKMVw==",
4572
  "requires": {
4573
  "minimist": "^1.2.5"
4574
  }
@@ -4584,9 +4238,9 @@
4584
  "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s="
4585
  },
4586
  "nan": {
4587
- "version": "2.14.0",
4588
- "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz",
4589
- "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg=="
4590
  },
4591
  "nanomatch": {
4592
  "version": "1.2.13",
@@ -4612,9 +4266,9 @@
4612
  "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc="
4613
  },
4614
  "neo-async": {
4615
- "version": "2.6.1",
4616
- "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.1.tgz",
4617
- "integrity": "sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw=="
4618
  },
4619
  "next-tick": {
4620
  "version": "1.0.0",
@@ -4690,9 +4344,9 @@
4690
  }
4691
  },
4692
  "node-sass": {
4693
- "version": "4.13.1",
4694
- "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.13.1.tgz",
4695
- "integrity": "sha512-TTWFx+ZhyDx1Biiez2nB0L3YrCZ/8oHagaDalbuBSlqXgUPsdkUSzJsVxeDO9LtPB49+Fh3WQl3slABo6AotNw==",
4696
  "requires": {
4697
  "async-foreach": "^0.1.3",
4698
  "chalk": "^1.1.1",
@@ -4708,7 +4362,7 @@
4708
  "node-gyp": "^3.8.0",
4709
  "npmlog": "^4.0.0",
4710
  "request": "^2.88.0",
4711
- "sass-graph": "^2.2.4",
4712
  "stdout-stream": "^1.4.0",
4713
  "true-case-path": "^1.0.2"
4714
  },
@@ -4843,9 +4497,9 @@
4843
  }
4844
  },
4845
  "object-inspect": {
4846
- "version": "1.7.0",
4847
- "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz",
4848
- "integrity": "sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw=="
4849
  },
4850
  "object-keys": {
4851
  "version": "1.1.1",
@@ -4872,13 +4526,12 @@
4872
  }
4873
  },
4874
  "object.entries": {
4875
- "version": "1.1.1",
4876
- "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.1.tgz",
4877
- "integrity": "sha512-ilqR7BgdyZetJutmDPfXCDffGa0/Yzl2ivVNpbx/g4UeWrCdRnFDUBrKJGLhGieRHDATnyZXWBeCb29k9CJysQ==",
4878
  "requires": {
4879
  "define-properties": "^1.1.3",
4880
- "es-abstract": "^1.17.0-next.1",
4881
- "function-bind": "^1.1.1",
4882
  "has": "^1.0.3"
4883
  }
4884
  },
@@ -4963,11 +4616,13 @@
4963
  "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M="
4964
  },
4965
  "os-locale": {
4966
- "version": "1.4.0",
4967
- "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz",
4968
- "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=",
4969
  "requires": {
4970
- "lcid": "^1.0.0"
 
 
4971
  }
4972
  },
4973
  "os-tmpdir": {
@@ -5060,7 +4715,8 @@
5060
  "path-dirname": {
5061
  "version": "1.0.2",
5062
  "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz",
5063
- "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA="
 
5064
  },
5065
  "path-exists": {
5066
  "version": "3.0.0",
@@ -5105,9 +4761,9 @@
5105
  }
5106
  },
5107
  "pbkdf2": {
5108
- "version": "3.0.17",
5109
- "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.17.tgz",
5110
- "integrity": "sha512-U/il5MsrZp7mGg3mSQfn742na2T+1/vHDCG5/iTI3X9MKUuYUZVLQhyRsg06mCgDBTd57TxzgZt7P+fYfjRLtA==",
5111
  "requires": {
5112
  "create-hash": "^1.1.2",
5113
  "create-hmac": "^1.1.4",
@@ -5121,6 +4777,11 @@
5121
  "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
5122
  "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
5123
  },
 
 
 
 
 
5124
  "pify": {
5125
  "version": "3.0.0",
5126
  "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
@@ -5188,9 +4849,9 @@
5188
  },
5189
  "dependencies": {
5190
  "ajv": {
5191
- "version": "6.12.0",
5192
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.0.tgz",
5193
- "integrity": "sha512-D6gFiFA0RRLyUbvijN74DWAjXSFxWKaWP7mldxkVhyhAV3+SWA9HEJPHQ2c9soIeTFJqcSdFDGFgdqs1iUU2Hw==",
5194
  "requires": {
5195
  "fast-deep-equal": "^3.1.1",
5196
  "fast-json-stable-stringify": "^2.0.0",
@@ -5199,14 +4860,14 @@
5199
  }
5200
  },
5201
  "ajv-keywords": {
5202
- "version": "3.4.1",
5203
- "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.4.1.tgz",
5204
- "integrity": "sha512-RO1ibKvd27e6FEShVFfPALuHI3WjSVNeK5FIsmme/LYRNxjKuNj+Dt7bucLa6NdSv3JcVTyMlm9kGR84z1XpaQ=="
5205
  },
5206
  "fast-deep-equal": {
5207
- "version": "3.1.1",
5208
- "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz",
5209
- "integrity": "sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA=="
5210
  },
5211
  "json-schema-traverse": {
5212
  "version": "0.4.1",
@@ -5280,9 +4941,9 @@
5280
  "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM="
5281
  },
5282
  "psl": {
5283
- "version": "1.7.0",
5284
- "resolved": "https://registry.npmjs.org/psl/-/psl-1.7.0.tgz",
5285
- "integrity": "sha512-5NsSEDv8zY70ScRnOTn7bK7eanl2MvFrOrS/R6x+dBt5g1ghnj9Zv90kO8GwT8gxcu2ANyFprnFYB85IogIJOQ=="
5286
  },
5287
  "public-encrypt": {
5288
  "version": "4.0.3",
@@ -5295,6 +4956,13 @@
5295
  "parse-asn1": "^5.0.0",
5296
  "randombytes": "^2.0.1",
5297
  "safe-buffer": "^5.1.2"
 
 
 
 
 
 
 
5298
  }
5299
  },
5300
  "punycode": {
@@ -5408,13 +5076,12 @@
5408
  }
5409
  },
5410
  "readdirp": {
5411
- "version": "2.2.1",
5412
- "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz",
5413
- "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==",
 
5414
  "requires": {
5415
- "graceful-fs": "^4.1.11",
5416
- "micromatch": "^3.1.10",
5417
- "readable-stream": "^2.0.2"
5418
  }
5419
  },
5420
  "rechoir": {
@@ -5435,9 +5102,9 @@
5435
  }
5436
  },
5437
  "regenerate": {
5438
- "version": "1.4.0",
5439
- "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz",
5440
- "integrity": "sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg=="
5441
  },
5442
  "regenerator-runtime": {
5443
  "version": "0.11.1",
@@ -5527,7 +5194,8 @@
5527
  "remove-trailing-separator": {
5528
  "version": "1.1.0",
5529
  "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz",
5530
- "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8="
 
5531
  },
5532
  "repeat-element": {
5533
  "version": "1.1.3",
@@ -5580,9 +5248,9 @@
5580
  "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I="
5581
  },
5582
  "require-main-filename": {
5583
- "version": "1.0.1",
5584
- "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz",
5585
- "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE="
5586
  },
5587
  "require-uncached": {
5588
  "version": "1.0.3",
@@ -5599,9 +5267,9 @@
5599
  "integrity": "sha1-5UBLgVV+91225JxacgBIk/4D4WI="
5600
  },
5601
  "resolve": {
5602
- "version": "1.15.1",
5603
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.15.1.tgz",
5604
- "integrity": "sha512-84oo6ZTtoTUpjgNEr5SJyzQhzL72gaRodsSfyxC/AXRvwu0Yse9H8eF9IpGo7b8YetZhlI6v7ZQ6bKBFV/6S7w==",
5605
  "requires": {
5606
  "path-parse": "^1.0.6"
5607
  }
@@ -5671,12 +5339,9 @@
5671
  }
5672
  },
5673
  "run-async": {
5674
- "version": "2.4.0",
5675
- "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.0.tgz",
5676
- "integrity": "sha512-xJTbh/d7Lm7SBhc1tNvTpeCHaEzoyxPrqNlvSdMfBTYwaY++UJFyXUOxAtsRUXjlqOfj8luNaR9vjCh4KeV+pg==",
5677
- "requires": {
5678
- "is-promise": "^2.1.0"
5679
- }
5680
  },
5681
  "rx-lite": {
5682
  "version": "4.0.8",
@@ -5718,14 +5383,14 @@
5718
  "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
5719
  },
5720
  "sass-graph": {
5721
- "version": "2.2.4",
5722
- "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.4.tgz",
5723
- "integrity": "sha1-E/vWPNHK8JCLn9k0dq1DpR0eC0k=",
5724
  "requires": {
5725
  "glob": "^7.0.0",
5726
  "lodash": "^4.0.0",
5727
  "scss-tokenizer": "^0.2.3",
5728
- "yargs": "^7.0.0"
5729
  }
5730
  },
5731
  "sass-loader": {
@@ -5851,9 +5516,9 @@
5851
  "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM="
5852
  },
5853
  "shelljs": {
5854
- "version": "0.8.3",
5855
- "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.3.tgz",
5856
- "integrity": "sha512-fc0BKlAWiLpwZljmOvAOTE/gXawtCoNrP5oaY7KIaQbbyHeQVg01pSEuEGvGh3HEdBU4baCD7wQBwADmM/7f7A==",
5857
  "requires": {
5858
  "glob": "^7.0.0",
5859
  "interpret": "^1.0.0",
@@ -5870,9 +5535,9 @@
5870
  }
5871
  },
5872
  "signal-exit": {
5873
- "version": "3.0.2",
5874
- "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz",
5875
- "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0="
5876
  },
5877
  "slash": {
5878
  "version": "1.0.0",
@@ -6032,23 +5697,23 @@
6032
  "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM="
6033
  },
6034
  "spdx-correct": {
6035
- "version": "3.1.0",
6036
- "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz",
6037
- "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==",
6038
  "requires": {
6039
  "spdx-expression-parse": "^3.0.0",
6040
  "spdx-license-ids": "^3.0.0"
6041
  }
6042
  },
6043
  "spdx-exceptions": {
6044
- "version": "2.2.0",
6045
- "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz",
6046
- "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA=="
6047
  },
6048
  "spdx-expression-parse": {
6049
- "version": "3.0.0",
6050
- "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz",
6051
- "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==",
6052
  "requires": {
6053
  "spdx-exceptions": "^2.1.0",
6054
  "spdx-license-ids": "^3.0.0"
@@ -6173,22 +5838,22 @@
6173
  "side-channel": "^1.0.2"
6174
  }
6175
  },
6176
- "string.prototype.trimleft": {
6177
- "version": "2.1.1",
6178
- "resolved": "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.1.tgz",
6179
- "integrity": "sha512-iu2AGd3PuP5Rp7x2kEZCrB2Nf41ehzh+goo8TV7z8/XDBbsvc6HQIlUl9RjkZ4oyrW1XM5UwlGl1oVEaDjg6Ag==",
6180
  "requires": {
6181
  "define-properties": "^1.1.3",
6182
- "function-bind": "^1.1.1"
6183
  }
6184
  },
6185
- "string.prototype.trimright": {
6186
- "version": "2.1.1",
6187
- "resolved": "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.1.tgz",
6188
- "integrity": "sha512-qFvWL3/+QIgZXVmJBfpHmxLB7xsUXz6HsUmP8+5dRaC3Q7oKUv9Vo6aMCRZC1smrtyECFsIT30PqBJ1gTjAs+g==",
6189
  "requires": {
6190
  "define-properties": "^1.1.3",
6191
- "function-bind": "^1.1.1"
6192
  }
6193
  },
6194
  "string_decoder": {
@@ -6362,12 +6027,12 @@
6362
  }
6363
  },
6364
  "to-regex-range": {
6365
- "version": "2.1.1",
6366
- "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz",
6367
- "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=",
 
6368
  "requires": {
6369
- "is-number": "^3.0.0",
6370
- "repeat-string": "^1.6.1"
6371
  }
6372
  },
6373
  "tough-cookie": {
@@ -6567,7 +6232,8 @@
6567
  "upath": {
6568
  "version": "1.2.0",
6569
  "resolved": "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz",
6570
- "integrity": "sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg=="
 
6571
  },
6572
  "update-notifier": {
6573
  "version": "2.5.0",
@@ -6678,13 +6344,186 @@
6678
  "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ=="
6679
  },
6680
  "watchpack": {
6681
- "version": "1.6.0",
6682
- "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.6.0.tgz",
6683
- "integrity": "sha512-i6dHe3EyLjMmDlU1/bGQpEw25XSjkJULPuAVKCbNRefQVq48yXKUpwg538F7AZTf9kyr57zj++pQFltUa5H7yA==",
6684
  "requires": {
6685
- "chokidar": "^2.0.2",
6686
  "graceful-fs": "^4.1.2",
6687
- "neo-async": "^2.5.0"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6688
  }
6689
  },
6690
  "webpack": {
@@ -6717,9 +6556,9 @@
6717
  },
6718
  "dependencies": {
6719
  "ajv": {
6720
- "version": "6.12.0",
6721
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.0.tgz",
6722
- "integrity": "sha512-D6gFiFA0RRLyUbvijN74DWAjXSFxWKaWP7mldxkVhyhAV3+SWA9HEJPHQ2c9soIeTFJqcSdFDGFgdqs1iUU2Hw==",
6723
  "requires": {
6724
  "fast-deep-equal": "^3.1.1",
6725
  "fast-json-stable-stringify": "^2.0.0",
@@ -6728,20 +6567,55 @@
6728
  }
6729
  },
6730
  "ajv-keywords": {
6731
- "version": "3.4.1",
6732
- "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.4.1.tgz",
6733
- "integrity": "sha512-RO1ibKvd27e6FEShVFfPALuHI3WjSVNeK5FIsmme/LYRNxjKuNj+Dt7bucLa6NdSv3JcVTyMlm9kGR84z1XpaQ=="
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6734
  },
6735
  "fast-deep-equal": {
6736
- "version": "3.1.1",
6737
- "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz",
6738
- "integrity": "sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA=="
 
 
 
 
 
6739
  },
6740
  "has-flag": {
6741
  "version": "2.0.0",
6742
  "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz",
6743
  "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE="
6744
  },
 
 
 
 
 
 
 
 
6745
  "json-schema-traverse": {
6746
  "version": "0.4.1",
6747
  "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
@@ -6758,16 +6632,6 @@
6758
  "strip-bom": "^3.0.0"
6759
  }
6760
  },
6761
- "os-locale": {
6762
- "version": "2.1.0",
6763
- "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz",
6764
- "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==",
6765
- "requires": {
6766
- "execa": "^0.7.0",
6767
- "lcid": "^1.0.0",
6768
- "mem": "^1.1.0"
6769
- }
6770
- },
6771
  "path-type": {
6772
  "version": "2.0.0",
6773
  "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz",
@@ -6800,6 +6664,11 @@
6800
  "read-pkg": "^2.0.0"
6801
  }
6802
  },
 
 
 
 
 
6803
  "source-map": {
6804
  "version": "0.5.7",
6805
  "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
@@ -6818,10 +6687,31 @@
6818
  "has-flag": "^2.0.0"
6819
  }
6820
  },
6821
- "which-module": {
6822
- "version": "2.0.0",
6823
- "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",
6824
- "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho="
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6825
  },
6826
  "yargs": {
6827
  "version": "8.0.2",
@@ -6871,9 +6761,9 @@
6871
  }
6872
  },
6873
  "which-module": {
6874
- "version": "1.0.0",
6875
- "resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz",
6876
- "integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8="
6877
  },
6878
  "wide-align": {
6879
  "version": "1.1.3",
@@ -6907,30 +6797,41 @@
6907
  "integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8="
6908
  },
6909
  "wrap-ansi": {
6910
- "version": "2.1.0",
6911
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz",
6912
- "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=",
6913
  "requires": {
6914
- "string-width": "^1.0.1",
6915
- "strip-ansi": "^3.0.1"
 
6916
  },
6917
  "dependencies": {
6918
- "is-fullwidth-code-point": {
6919
- "version": "1.0.0",
6920
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
6921
- "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
 
 
 
 
 
 
 
 
 
 
6922
  "requires": {
6923
- "number-is-nan": "^1.0.0"
 
 
6924
  }
6925
  },
6926
- "string-width": {
6927
- "version": "1.0.2",
6928
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
6929
- "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
6930
  "requires": {
6931
- "code-point-at": "^1.0.0",
6932
- "is-fullwidth-code-point": "^1.0.0",
6933
- "strip-ansi": "^3.0.0"
6934
  }
6935
  }
6936
  }
@@ -6963,23 +6864,15 @@
6963
  "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-3.0.0.tgz",
6964
  "integrity": "sha1-SWsswQnsqNus/i3HK2A8F8WHCtQ="
6965
  },
6966
- "xregexp": {
6967
- "version": "4.3.0",
6968
- "resolved": "https://registry.npmjs.org/xregexp/-/xregexp-4.3.0.tgz",
6969
- "integrity": "sha512-7jXDIFXh5yJ/orPn4SXjuVrWWoi4Cr8jfV1eHv9CixKSbU+jY4mxfrBwAuDvupPNKpMUY+FeIqsVw/JLT9+B8g==",
6970
- "requires": {
6971
- "@babel/runtime-corejs3": "^7.8.3"
6972
- }
6973
- },
6974
  "xtend": {
6975
  "version": "4.0.2",
6976
  "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",
6977
  "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ=="
6978
  },
6979
  "y18n": {
6980
- "version": "3.2.1",
6981
- "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz",
6982
- "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE="
6983
  },
6984
  "yallist": {
6985
  "version": "2.1.2",
@@ -6987,62 +6880,103 @@
6987
  "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI="
6988
  },
6989
  "yargs": {
6990
- "version": "7.1.0",
6991
- "resolved": "https://registry.npmjs.org/yargs/-/yargs-7.1.0.tgz",
6992
- "integrity": "sha1-a6MY6xaWFyf10oT46gA+jWFU0Mg=",
6993
- "requires": {
6994
- "camelcase": "^3.0.0",
6995
- "cliui": "^3.2.0",
6996
- "decamelize": "^1.1.1",
6997
- "get-caller-file": "^1.0.1",
6998
- "os-locale": "^1.4.0",
6999
- "read-pkg-up": "^1.0.1",
7000
  "require-directory": "^2.1.1",
7001
- "require-main-filename": "^1.0.1",
7002
  "set-blocking": "^2.0.0",
7003
- "string-width": "^1.0.2",
7004
- "which-module": "^1.0.0",
7005
- "y18n": "^3.2.1",
7006
- "yargs-parser": "^5.0.0"
7007
  },
7008
  "dependencies": {
7009
- "camelcase": {
 
 
 
 
 
 
 
 
 
 
7010
  "version": "3.0.0",
7011
- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz",
7012
- "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo="
 
 
 
7013
  },
7014
- "is-fullwidth-code-point": {
7015
- "version": "1.0.0",
7016
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
7017
- "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
7018
  "requires": {
7019
- "number-is-nan": "^1.0.0"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7020
  }
7021
  },
 
 
 
 
 
7022
  "string-width": {
7023
- "version": "1.0.2",
7024
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
7025
- "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
7026
  "requires": {
7027
- "code-point-at": "^1.0.0",
7028
- "is-fullwidth-code-point": "^1.0.0",
7029
- "strip-ansi": "^3.0.0"
 
 
 
 
 
 
 
 
7030
  }
7031
  }
7032
  }
7033
  },
7034
  "yargs-parser": {
7035
- "version": "5.0.0",
7036
- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-5.0.0.tgz",
7037
- "integrity": "sha1-J17PDX/+Bcd+ZOfIbkzZS/DhIoo=",
7038
  "requires": {
7039
- "camelcase": "^3.0.0"
 
7040
  },
7041
  "dependencies": {
7042
  "camelcase": {
7043
- "version": "3.0.0",
7044
- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz",
7045
- "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo="
7046
  }
7047
  }
7048
  }
73
  }
74
  },
75
  "@babel/runtime": {
76
+ "version": "7.10.5",
77
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.10.5.tgz",
78
+ "integrity": "sha512-otddXKhdNn7d0ptoFRHtMLa8LqDxLYwTjB4nYgM1yy5N6gU/MUf8zqyyLltCH3yAVitBzmwK4us+DD0l/MauAg==",
79
  "requires": {
80
  "regenerator-runtime": "^0.13.4"
81
  },
88
  }
89
  },
90
  "@babel/runtime-corejs3": {
91
+ "version": "7.10.5",
92
+ "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.10.5.tgz",
93
+ "integrity": "sha512-RMafpmrNB5E/bwdSphLr8a8++9TosnyJp98RZzI6VOx2R2CCMpsXXXRvmI700O9oEKpXdZat6oEK68/F0zjd4A==",
94
  "requires": {
95
  "core-js-pure": "^3.0.0",
96
  "regenerator-runtime": "^0.13.4"
180
  }
181
  }
182
  },
183
+ "@scarf/scarf": {
184
+ "version": "1.0.6",
185
+ "resolved": "https://registry.npmjs.org/@scarf/scarf/-/scarf-1.0.6.tgz",
186
+ "integrity": "sha512-y4+DuXrAd1W5UIY3zTcsosi/1GyYT8k5jGnZ/wG7UUHVrU+MHlH4Mp87KK2/lvMW4+H7HVcdB+aJhqywgXksjA=="
187
+ },
188
  "abbrev": {
189
  "version": "1.1.1",
190
  "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
293
  }
294
  },
295
  "anymatch": {
296
+ "version": "3.1.1",
297
+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz",
298
+ "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==",
299
+ "optional": true,
300
  "requires": {
301
+ "normalize-path": "^3.0.0",
302
+ "picomatch": "^2.0.4"
 
 
 
 
 
 
 
 
 
 
303
  }
304
  },
305
  "aproba": {
325
  }
326
  },
327
  "aria-query": {
328
+ "version": "4.2.2",
329
+ "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-4.2.2.tgz",
330
+ "integrity": "sha512-o/HelwhuKpTj/frsOsbNLNgnNGVIFsVP/SW2BSF14gVl7kAfMOJ6/8wUAUvG1R1NHKrfG+2sHZTu0yauT1qBrA==",
331
  "requires": {
332
+ "@babel/runtime": "^7.10.2",
333
+ "@babel/runtime-corejs3": "^7.10.2"
334
  }
335
  },
336
  "arr-diff": {
368
  "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz",
369
  "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg="
370
  },
371
+ "array.prototype.flatmap": {
372
+ "version": "1.2.3",
373
+ "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.2.3.tgz",
374
+ "integrity": "sha512-OOEk+lkePcg+ODXIpvuU9PAryCikCJyo7GlDG1upleEpQRx6mzL9puEBkozQ5iAx20KV0l3DbyQwqciJtqe5Pg==",
375
+ "requires": {
376
+ "define-properties": "^1.1.3",
377
+ "es-abstract": "^1.17.0-next.1",
378
+ "function-bind": "^1.1.1"
379
+ }
380
+ },
381
  "asn1": {
382
  "version": "0.2.4",
383
  "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz",
394
  "bn.js": "^4.0.0",
395
  "inherits": "^2.0.1",
396
  "minimalistic-assert": "^1.0.0"
397
+ },
398
+ "dependencies": {
399
+ "bn.js": {
400
+ "version": "4.11.9",
401
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz",
402
+ "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw=="
403
+ }
404
  }
405
  },
406
  "assert": {
453
  "async-each": {
454
  "version": "1.0.3",
455
  "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz",
456
+ "integrity": "sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==",
457
+ "optional": true
458
  },
459
  "async-foreach": {
460
  "version": "0.1.3",
490
  "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg="
491
  },
492
  "aws4": {
493
+ "version": "1.10.0",
494
+ "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.10.0.tgz",
495
+ "integrity": "sha512-3YDiu347mtVtjpyV3u5kVqQLP242c06zwDOgpeRnybmXlYYsLbtTrUBUm8i8srONt+FWobl5aibnU1030PeeuA=="
496
+ },
497
+ "axe-core": {
498
+ "version": "3.5.5",
499
+ "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-3.5.5.tgz",
500
+ "integrity": "sha512-5P0QZ6J5xGikH780pghEdbEKijCTrruK9KxtPZCFWUpef0f6GipO+xEZ5GKCb020mmqgbiNO6TcA55CriL784Q=="
501
  },
502
  "axobject-query": {
503
+ "version": "2.2.0",
504
+ "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-2.2.0.tgz",
505
+ "integrity": "sha512-Td525n+iPOOyUQIeBfcASuG6uJsDOITl7Mds5gFyerkWiX7qhUTdYUBlSgNMyVqtSJqwpt1kXGLdUt6SykLMRA=="
506
  },
507
  "babel-code-frame": {
508
  "version": "6.26.0",
1092
  }
1093
  },
1094
  "babel-preset-cgb": {
1095
+ "version": "1.7.1",
1096
+ "resolved": "https://registry.npmjs.org/babel-preset-cgb/-/babel-preset-cgb-1.7.1.tgz",
1097
+ "integrity": "sha512-9fzPz7TSZhQrQCxOcZwqmoNCg2HFWoNyc700Z9X9oAws9quM3m52hZMW4ZV3Tq+X3nHh0upf5XBJ6apssntjHQ==",
1098
  "requires": {
1099
+ "@scarf/scarf": "^1.0.6",
1100
  "babel-plugin-syntax-async-functions": "^6.13.0",
1101
  "babel-plugin-transform-class-properties": "6.24.1",
1102
  "babel-plugin-transform-object-rest-spread": "^6.26.0",
1295
  "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ=="
1296
  },
1297
  "binary-extensions": {
1298
+ "version": "2.1.0",
1299
+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.1.0.tgz",
1300
+ "integrity": "sha512-1Yj8h9Q+QDF5FzhMs/c9+6UntbD5MkRfRwac8DoEm9ZfUBZ7tZ55YcGVAzEe4bXsdQHEk+s9S5wsOKVdZrw0tQ==",
1301
+ "optional": true
 
 
 
 
 
 
 
 
1302
  },
1303
  "block-stream": {
1304
  "version": "0.0.9",
1309
  }
1310
  },
1311
  "bn.js": {
1312
+ "version": "5.1.2",
1313
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.1.2.tgz",
1314
+ "integrity": "sha512-40rZaf3bUNKTVYu9sIeeEGOg7g14Yvnj9kH7b50EiwX0Q7A6umbvfI5tvHaOERH0XigqKkfLkFQxzb4e6CIXnA=="
1315
  },
1316
  "boxen": {
1317
  "version": "1.3.0",
1337
  }
1338
  },
1339
  "braces": {
1340
+ "version": "3.0.2",
1341
+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
1342
+ "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
1343
+ "optional": true,
1344
  "requires": {
1345
+ "fill-range": "^7.0.1"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1346
  }
1347
  },
1348
  "brorand": {
1391
  "requires": {
1392
  "bn.js": "^4.1.0",
1393
  "randombytes": "^2.0.1"
1394
+ },
1395
+ "dependencies": {
1396
+ "bn.js": {
1397
+ "version": "4.11.9",
1398
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz",
1399
+ "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw=="
1400
+ }
1401
  }
1402
  },
1403
  "browserify-sign": {
1404
+ "version": "4.2.0",
1405
+ "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.0.tgz",
1406
+ "integrity": "sha512-hEZC1KEeYuoHRqhGhTy6gWrpJA3ZDjFWv0DE61643ZnOXAKJb3u7yWcrU0mMc9SwAqK1n7myPGndkp0dFG7NFA==",
1407
+ "requires": {
1408
+ "bn.js": "^5.1.1",
1409
+ "browserify-rsa": "^4.0.1",
1410
+ "create-hash": "^1.2.0",
1411
+ "create-hmac": "^1.1.7",
1412
+ "elliptic": "^6.5.2",
1413
+ "inherits": "^2.0.4",
1414
+ "parse-asn1": "^5.1.5",
1415
+ "readable-stream": "^3.6.0",
1416
+ "safe-buffer": "^5.2.0"
1417
+ },
1418
+ "dependencies": {
1419
+ "readable-stream": {
1420
+ "version": "3.6.0",
1421
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
1422
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
1423
+ "requires": {
1424
+ "inherits": "^2.0.3",
1425
+ "string_decoder": "^1.1.1",
1426
+ "util-deprecate": "^1.0.1"
1427
+ }
1428
+ },
1429
+ "safe-buffer": {
1430
+ "version": "5.2.1",
1431
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
1432
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="
1433
+ }
1434
  }
1435
  },
1436
  "browserify-zlib": {
1541
  }
1542
  },
1543
  "caniuse-lite": {
1544
+ "version": "1.0.30001104",
1545
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001104.tgz",
1546
+ "integrity": "sha512-pkpCg7dmI/a7WcqM2yfdOiT4Xx5tzyoHAXWsX5/HxZ3TemwDZs0QXdqbE0UPLPVy/7BeK7693YfzfRYfu1YVpg=="
1547
  },
1548
  "capture-stack-trace": {
1549
  "version": "1.0.1",
1565
  }
1566
  },
1567
  "cgb-dev-utils": {
1568
+ "version": "1.6.1",
1569
+ "resolved": "https://registry.npmjs.org/cgb-dev-utils/-/cgb-dev-utils-1.6.1.tgz",
1570
+ "integrity": "sha512-WJFWifyKCL+jVewgELmJ8I8H1IrTedYuOnk6IFaxRvP9ELAHEcofCKNt4HiNJorMUUrqkt8ohaRaxeaH75UPlA==",
1571
  "requires": {
1572
+ "@scarf/scarf": "^1.0.6",
1573
  "chalk": "2.3.0",
1574
  "cross-spawn": "5.1.0",
1575
  "update-notifier": "^2.3.0"
1653
  "integrity": "sha1-tUc7M9yXxCTl2Y3IfVXU2KKci/I="
1654
  },
1655
  "chokidar": {
1656
+ "version": "3.4.1",
1657
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.1.tgz",
1658
+ "integrity": "sha512-TQTJyr2stihpC4Sya9hs2Xh+O2wf+igjL36Y75xx2WdHuiICcn/XJza46Jwt0eT5hVpQOzo3FpY3cj3RVYLX0g==",
1659
+ "optional": true,
1660
+ "requires": {
1661
+ "anymatch": "~3.1.1",
1662
+ "braces": "~3.0.2",
1663
+ "fsevents": "~2.1.2",
1664
+ "glob-parent": "~5.1.0",
1665
+ "is-binary-path": "~2.1.0",
1666
+ "is-glob": "~4.0.1",
1667
+ "normalize-path": "~3.0.0",
1668
+ "readdirp": "~3.4.0"
 
 
 
1669
  }
1670
  },
1671
  "ci-info": {
1732
  "integrity": "sha512-1QL4544moEsDVH9T/l6Cemov/37iv1RtoKf7NJ04A60+4MREXNfx/QvavbH6QoGdsD4N4Mwy49cmaINR/o2mdg=="
1733
  },
1734
  "cli-width": {
1735
+ "version": "2.2.1",
1736
+ "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.1.tgz",
1737
+ "integrity": "sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw=="
1738
  },
1739
  "cliui": {
1740
+ "version": "5.0.0",
1741
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz",
1742
+ "integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==",
1743
  "requires": {
1744
+ "string-width": "^3.1.0",
1745
+ "strip-ansi": "^5.2.0",
1746
+ "wrap-ansi": "^5.1.0"
1747
  },
1748
  "dependencies": {
1749
+ "ansi-regex": {
1750
+ "version": "4.1.0",
1751
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
1752
+ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg=="
1753
+ },
1754
+ "emoji-regex": {
1755
+ "version": "7.0.3",
1756
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
1757
+ "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA=="
1758
+ },
1759
+ "string-width": {
1760
+ "version": "3.1.0",
1761
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
1762
+ "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
1763
  "requires": {
1764
+ "emoji-regex": "^7.0.1",
1765
+ "is-fullwidth-code-point": "^2.0.0",
1766
+ "strip-ansi": "^5.1.0"
1767
  }
1768
  },
1769
+ "strip-ansi": {
1770
+ "version": "5.2.0",
1771
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
1772
+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
1773
  "requires": {
1774
+ "ansi-regex": "^4.1.0"
 
 
1775
  }
1776
  }
1777
  }
1827
  "delayed-stream": "~1.0.0"
1828
  }
1829
  },
 
 
 
 
 
1830
  "commondir": {
1831
  "version": "1.0.1",
1832
  "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz",
1900
  "integrity": "sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg=="
1901
  },
1902
  "core-js-pure": {
1903
+ "version": "3.6.5",
1904
+ "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.6.5.tgz",
1905
+ "integrity": "sha512-lacdXOimsiD0QyNf9BC/mxivNJ/ybBGJXQFKzRekp1WTHoVUWsUHEn+2T8GJAzzIhyOuXA+gOxCVN3l+5PLPUA=="
1906
  },
1907
  "core-util-is": {
1908
  "version": "1.0.2",
1938
  "requires": {
1939
  "bn.js": "^4.1.0",
1940
  "elliptic": "^6.0.0"
1941
+ },
1942
+ "dependencies": {
1943
+ "bn.js": {
1944
+ "version": "4.11.9",
1945
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz",
1946
+ "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw=="
1947
+ }
1948
  }
1949
  },
1950
  "create-error-class": {
2173
  "bn.js": "^4.1.0",
2174
  "miller-rabin": "^4.0.0",
2175
  "randombytes": "^2.0.0"
2176
+ },
2177
+ "dependencies": {
2178
+ "bn.js": {
2179
+ "version": "4.11.9",
2180
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz",
2181
+ "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw=="
2182
+ }
2183
  }
2184
  },
2185
  "doctrine": {
2223
  }
2224
  },
2225
  "electron-to-chromium": {
2226
+ "version": "1.3.502",
2227
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.502.tgz",
2228
+ "integrity": "sha512-TIeXOaHAvfP7FemGUtAJxStmOc1YFGWFNqdey/4Nk41L9b1nMmDVDGNMIWhZJvOfJxix6Cv5FGEnBK+yvw3UTg=="
2229
  },
2230
  "elliptic": {
2231
+ "version": "6.5.3",
2232
+ "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz",
2233
+ "integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==",
2234
  "requires": {
2235
  "bn.js": "^4.4.0",
2236
  "brorand": "^1.0.1",
2239
  "inherits": "^2.0.1",
2240
  "minimalistic-assert": "^1.0.0",
2241
  "minimalistic-crypto-utils": "^1.0.0"
2242
+ },
2243
+ "dependencies": {
2244
+ "bn.js": {
2245
+ "version": "4.11.9",
2246
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz",
2247
+ "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw=="
2248
+ }
2249
  }
2250
  },
2251
  "emoji-regex": {
2252
+ "version": "9.0.0",
2253
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.0.0.tgz",
2254
+ "integrity": "sha512-6p1NII1Vm62wni/VR/cUMauVQoxmLVb9csqQlvLz+hO2gk8U2UYDfXHQSUYIBKmZwAKz867IDqG7B+u0mj+M6w=="
2255
  },
2256
  "emojis-list": {
2257
  "version": "3.0.0",
2286
  }
2287
  },
2288
  "es-abstract": {
2289
+ "version": "1.17.6",
2290
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.6.tgz",
2291
+ "integrity": "sha512-Fr89bON3WFyUi5EvAeI48QTWX0AyekGgLA8H+c+7fbfCkJwRWRMLd8CQedNEyJuoYYhmtEqY92pgte1FAhBlhw==",
2292
  "requires": {
2293
  "es-to-primitive": "^1.2.1",
2294
  "function-bind": "^1.1.1",
2295
  "has": "^1.0.3",
2296
  "has-symbols": "^1.0.1",
2297
+ "is-callable": "^1.2.0",
2298
+ "is-regex": "^1.1.0",
2299
  "object-inspect": "^1.7.0",
2300
  "object-keys": "^1.1.1",
2301
  "object.assign": "^4.1.0",
2302
+ "string.prototype.trimend": "^1.0.1",
2303
+ "string.prototype.trimstart": "^1.0.1"
2304
  }
2305
  },
2306
  "es-to-primitive": {
2515
  "integrity": "sha512-0E4OIgBJVlAmf1KfYFtZ3gYxgUzC5Eb3Jzmrc9ikI1OY+/cM8Kh72Ti7KfpeHNeD3HJNf9SmEfmvQLIz44Hrhw=="
2516
  },
2517
  "eslint-plugin-jsx-a11y": {
2518
+ "version": "6.3.1",
2519
+ "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.3.1.tgz",
2520
+ "integrity": "sha512-i1S+P+c3HOlBJzMFORRbC58tHa65Kbo8b52/TwCwSKLohwvpfT5rm2GjGWzOHTEuq4xxf2aRlHHTtmExDQOP+g==",
2521
  "requires": {
2522
+ "@babel/runtime": "^7.10.2",
2523
+ "aria-query": "^4.2.2",
2524
+ "array-includes": "^3.1.1",
2525
  "ast-types-flow": "^0.0.7",
2526
+ "axe-core": "^3.5.4",
2527
+ "axobject-query": "^2.1.2",
2528
+ "damerau-levenshtein": "^1.0.6",
2529
+ "emoji-regex": "^9.0.0",
2530
  "has": "^1.0.3",
2531
+ "jsx-ast-utils": "^2.4.1",
2532
+ "language-tags": "^1.0.5"
2533
  }
2534
  },
2535
  "eslint-plugin-react": {
2536
+ "version": "7.20.3",
2537
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.20.3.tgz",
2538
+ "integrity": "sha512-txbo090buDeyV0ugF3YMWrzLIUqpYTsWSDZV9xLSmExE1P/Kmgg9++PD931r+KEWS66O1c9R4srLVVHmeHpoAg==",
2539
  "requires": {
2540
  "array-includes": "^3.1.1",
2541
+ "array.prototype.flatmap": "^1.2.3",
2542
  "doctrine": "^2.1.0",
2543
  "has": "^1.0.3",
2544
+ "jsx-ast-utils": "^2.4.1",
2545
+ "object.entries": "^1.1.2",
2546
  "object.fromentries": "^2.0.2",
2547
  "object.values": "^1.1.1",
2548
  "prop-types": "^15.7.2",
2549
+ "resolve": "^1.17.0",
2550
+ "string.prototype.matchall": "^4.0.2"
 
 
 
 
 
 
 
 
 
2551
  }
2552
  },
2553
  "eslint-plugin-wordpress": {
2568
  }
2569
  },
2570
  "eslint-visitor-keys": {
2571
+ "version": "1.3.0",
2572
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz",
2573
+ "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ=="
2574
  },
2575
  "espree": {
2576
  "version": "3.5.4",
2587
  "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A=="
2588
  },
2589
  "esquery": {
2590
+ "version": "1.3.1",
2591
+ "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.3.1.tgz",
2592
+ "integrity": "sha512-olpvt9QG0vniUBZspVRN6lwB7hOZoTRtT+jzR+tS4ffYx2mzbw+z0XCOk44aaLYKApNX5nMm+E+P6o25ip/DHQ==",
2593
  "requires": {
2594
+ "estraverse": "^5.1.0"
2595
  },
2596
  "dependencies": {
2597
  "estraverse": {
2598
+ "version": "5.1.0",
2599
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.1.0.tgz",
2600
+ "integrity": "sha512-FyohXK+R0vE+y1nHLoBM7ZTyqRpqAlhdZHCWIWEviFLiGB8b04H6bQs8G+XTthacvT8VuwvteiP7RJSxMs8UEw=="
2601
  }
2602
  }
2603
  },
2844
  "object-assign": "^4.0.1"
2845
  }
2846
  },
 
 
 
 
 
 
2847
  "filesize": {
2848
  "version": "3.6.1",
2849
  "resolved": "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz",
2850
  "integrity": "sha512-7KjR1vv6qnicaPMi1iiTcI85CyYwRO/PSFCu6SvqL8jN2Wjt/NIYQTFtFs7fSDCYOstUkEWIQGFUg5YZQfjlcg=="
2851
  },
2852
  "fill-range": {
2853
+ "version": "7.0.1",
2854
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
2855
+ "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
2856
+ "optional": true,
2857
  "requires": {
2858
+ "to-regex-range": "^5.0.1"
 
 
 
 
 
 
 
 
 
 
 
 
 
2859
  }
2860
  },
2861
  "find-cache-dir": {
2939
  "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
2940
  },
2941
  "fsevents": {
2942
+ "version": "2.1.3",
2943
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz",
2944
+ "integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==",
2945
+ "optional": true
2946
+ },
2947
+ "fstream": {
2948
+ "version": "1.0.12",
2949
+ "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.12.tgz",
2950
+ "integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==",
2951
+ "requires": {
2952
+ "graceful-fs": "^4.1.2",
2953
+ "inherits": "~2.0.0",
2954
+ "mkdirp": ">=0.5 0",
2955
+ "rimraf": "2"
2956
+ }
2957
+ },
2958
+ "function-bind": {
2959
+ "version": "1.1.1",
2960
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
2961
+ "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
2962
+ },
2963
+ "functional-red-black-tree": {
2964
+ "version": "1.0.1",
2965
+ "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz",
2966
+ "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc="
2967
+ },
2968
+ "gauge": {
2969
+ "version": "2.7.4",
2970
+ "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz",
2971
+ "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=",
2972
  "requires": {
2973
+ "aproba": "^1.0.3",
2974
+ "console-control-strings": "^1.0.0",
2975
+ "has-unicode": "^2.0.0",
2976
+ "object-assign": "^4.1.0",
2977
+ "signal-exit": "^3.0.0",
2978
+ "string-width": "^1.0.1",
2979
+ "strip-ansi": "^3.0.1",
2980
+ "wide-align": "^1.1.0"
2981
  },
2982
  "dependencies": {
2983
+ "is-fullwidth-code-point": {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2984
  "version": "1.0.0",
2985
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
2986
+ "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
 
 
 
 
 
2987
  "requires": {
2988
+ "number-is-nan": "^1.0.0"
 
2989
  }
2990
  },
2991
+ "string-width": {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2992
  "version": "1.0.2",
2993
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
2994
+ "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2995
  "requires": {
2996
+ "code-point-at": "^1.0.0",
2997
+ "is-fullwidth-code-point": "^1.0.0",
2998
+ "strip-ansi": "^3.0.0"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2999
  }
3000
  }
3001
  }
3009
  }
3010
  },
3011
  "get-caller-file": {
3012
+ "version": "2.0.5",
3013
+ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
3014
+ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg=="
3015
  },
3016
  "get-stdin": {
3017
  "version": "4.0.1",
3050
  }
3051
  },
3052
  "glob-parent": {
3053
+ "version": "5.1.1",
3054
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz",
3055
+ "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==",
3056
+ "optional": true,
3057
  "requires": {
3058
+ "is-glob": "^4.0.1"
 
 
 
 
 
 
 
 
 
 
 
3059
  }
3060
  },
3061
  "global-dirs": {
3072
  "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ=="
3073
  },
3074
  "globule": {
3075
+ "version": "1.3.2",
3076
+ "resolved": "https://registry.npmjs.org/globule/-/globule-1.3.2.tgz",
3077
+ "integrity": "sha512-7IDTQTIu2xzXkT+6mlluidnWo+BypnbSoEVVQCGfzqnl5Ik8d3e1d4wycb8Rj9tWW+Z39uPWsdlquqiqPCd/pA==",
3078
  "requires": {
3079
  "glob": "~7.1.1",
3080
+ "lodash": "~4.17.10",
3081
  "minimatch": "~3.0.2"
3082
  }
3083
  },
3100
  }
3101
  },
3102
  "graceful-fs": {
3103
+ "version": "4.2.4",
3104
+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz",
3105
+ "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw=="
3106
  },
3107
  "gzip-size": {
3108
  "version": "4.1.0",
3128
  },
3129
  "dependencies": {
3130
  "ajv": {
3131
+ "version": "6.12.3",
3132
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.3.tgz",
3133
+ "integrity": "sha512-4K0cK3L1hsqk9xIb2z9vs/XU+PGJZ9PNpJRDS9YLzmNdX6jmVPfamLvTJr0aDAusnHyCHO6MjzlkAsgtqp9teA==",
3134
  "requires": {
3135
  "fast-deep-equal": "^3.1.1",
3136
  "fast-json-stable-stringify": "^2.0.0",
3139
  }
3140
  },
3141
  "fast-deep-equal": {
3142
+ "version": "3.1.3",
3143
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
3144
+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
3145
  },
3146
  "json-schema-traverse": {
3147
  "version": "0.4.1",
3200
  "kind-of": "^4.0.0"
3201
  },
3202
  "dependencies": {
3203
+ "is-number": {
3204
+ "version": "3.0.0",
3205
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",
3206
+ "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=",
3207
+ "requires": {
3208
+ "kind-of": "^3.0.2"
3209
+ },
3210
+ "dependencies": {
3211
+ "kind-of": {
3212
+ "version": "3.2.2",
3213
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
3214
+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
3215
+ "requires": {
3216
+ "is-buffer": "^1.1.5"
3217
+ }
3218
+ }
3219
+ }
3220
+ },
3221
  "kind-of": {
3222
  "version": "4.0.0",
3223
  "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz",
3229
  }
3230
  },
3231
  "hash-base": {
3232
+ "version": "3.1.0",
3233
+ "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz",
3234
+ "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==",
3235
  "requires": {
3236
+ "inherits": "^2.0.4",
3237
+ "readable-stream": "^3.6.0",
3238
+ "safe-buffer": "^5.2.0"
3239
+ },
3240
+ "dependencies": {
3241
+ "readable-stream": {
3242
+ "version": "3.6.0",
3243
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
3244
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
3245
+ "requires": {
3246
+ "inherits": "^2.0.3",
3247
+ "string_decoder": "^1.1.1",
3248
+ "util-deprecate": "^1.0.1"
3249
+ }
3250
+ },
3251
+ "safe-buffer": {
3252
+ "version": "5.2.1",
3253
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
3254
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="
3255
+ }
3256
  }
3257
  },
3258
  "hash.js": {
3456
  }
3457
  },
3458
  "interpret": {
3459
+ "version": "1.4.0",
3460
+ "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz",
3461
+ "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA=="
3462
  },
3463
  "invariant": {
3464
  "version": "2.2.4",
3497
  "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0="
3498
  },
3499
  "is-binary-path": {
3500
+ "version": "2.1.0",
3501
+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
3502
+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
3503
+ "optional": true,
3504
  "requires": {
3505
+ "binary-extensions": "^2.0.0"
3506
  }
3507
  },
3508
  "is-buffer": {
3511
  "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w=="
3512
  },
3513
  "is-callable": {
3514
+ "version": "1.2.0",
3515
+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.0.tgz",
3516
+ "integrity": "sha512-pyVD9AaGLxtg6srb2Ng6ynWJqkHU9bEM087AKck0w8QwDarTfNcpIYoU8x8Hv2Icm8u6kFJM18Dag8lyqGkviw=="
3517
  },
3518
  "is-ci": {
3519
  "version": "1.2.1",
3611
  "integrity": "sha1-8vtjpl5JBbQGyGBydloaTceTufQ="
3612
  },
3613
  "is-number": {
3614
+ "version": "7.0.0",
3615
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
3616
+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
3617
+ "optional": true
 
 
 
 
 
 
 
 
 
 
 
 
3618
  },
3619
  "is-obj": {
3620
  "version": "1.0.1",
3637
  "isobject": "^3.0.1"
3638
  }
3639
  },
 
 
 
 
 
3640
  "is-redirect": {
3641
  "version": "1.0.0",
3642
  "resolved": "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz",
3643
  "integrity": "sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ="
3644
  },
3645
  "is-regex": {
3646
+ "version": "1.1.0",
3647
+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.0.tgz",
3648
+ "integrity": "sha512-iI97M8KTWID2la5uYXlkbSDQIg4F6o1sYboZKKTDpnDQMLtUL86zxhgDet3Q2SriaYsyGqZ6Mn2SjbRKeLHdqw==",
3649
  "requires": {
3650
+ "has-symbols": "^1.0.1"
3651
  }
3652
  },
3653
  "is-resolvable": {
3714
  "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo="
3715
  },
3716
  "js-base64": {
3717
+ "version": "2.6.3",
3718
+ "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.6.3.tgz",
3719
+ "integrity": "sha512-fiUvdfCaAXoQTHdKMgTvg6IkecXDcVz6V5rlftUTclF9IKBjMizvSdQaCl/z/6TApDeby5NL+axYou3i0mu1Pg=="
3720
  },
3721
  "js-tokens": {
3722
  "version": "3.0.2",
3724
  "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls="
3725
  },
3726
  "js-yaml": {
3727
+ "version": "3.14.0",
3728
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.0.tgz",
3729
+ "integrity": "sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==",
3730
  "requires": {
3731
  "argparse": "^1.0.7",
3732
  "esprima": "^4.0.0"
3797
  }
3798
  },
3799
  "jsx-ast-utils": {
3800
+ "version": "2.4.1",
3801
+ "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-2.4.1.tgz",
3802
+ "integrity": "sha512-z1xSldJ6imESSzOjd3NNkieVJKRlKYSOtMG8SFyCj2FIrvSaSuli/WjpBkEzCBoR9bYYYFgqJw61Xhu7Lcgk+w==",
3803
  "requires": {
3804
+ "array-includes": "^3.1.1",
3805
  "object.assign": "^4.1.0"
3806
  }
3807
  },
3810
  "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz",
3811
  "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw=="
3812
  },
3813
+ "language-subtag-registry": {
3814
+ "version": "0.3.20",
3815
+ "resolved": "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.20.tgz",
3816
+ "integrity": "sha512-KPMwROklF4tEx283Xw0pNKtfTj1gZ4UByp4EsIFWLgBavJltF4TiYPc39k06zSTsLzxTVXXDSpbwaQXaFB4Qeg=="
3817
+ },
3818
+ "language-tags": {
3819
+ "version": "1.0.5",
3820
+ "resolved": "https://registry.npmjs.org/language-tags/-/language-tags-1.0.5.tgz",
3821
+ "integrity": "sha1-0yHbxNowuovzAk4ED6XBRmH5GTo=",
3822
+ "requires": {
3823
+ "language-subtag-registry": "~0.3.2"
3824
+ }
3825
+ },
3826
  "latest-version": {
3827
  "version": "3.1.0",
3828
  "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-3.1.0.tgz",
3907
  }
3908
  },
3909
  "lodash": {
3910
+ "version": "4.17.19",
3911
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz",
3912
+ "integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ=="
3913
  },
3914
  "lodash.tail": {
3915
  "version": "4.1.1",
4048
  "regex-not": "^1.0.0",
4049
  "snapdragon": "^0.8.1",
4050
  "to-regex": "^3.0.2"
4051
+ },
4052
+ "dependencies": {
4053
+ "braces": {
4054
+ "version": "2.3.2",
4055
+ "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz",
4056
+ "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==",
4057
+ "requires": {
4058
+ "arr-flatten": "^1.1.0",
4059
+ "array-unique": "^0.3.2",
4060
+ "extend-shallow": "^2.0.1",
4061
+ "fill-range": "^4.0.0",
4062
+ "isobject": "^3.0.1",
4063
+ "repeat-element": "^1.1.2",
4064
+ "snapdragon": "^0.8.1",
4065
+ "snapdragon-node": "^2.0.1",
4066
+ "split-string": "^3.0.2",
4067
+ "to-regex": "^3.0.1"
4068
+ },
4069
+ "dependencies": {
4070
+ "extend-shallow": {
4071
+ "version": "2.0.1",
4072
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
4073
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
4074
+ "requires": {
4075
+ "is-extendable": "^0.1.0"
4076
+ }
4077
+ }
4078
+ }
4079
+ },
4080
+ "fill-range": {
4081
+ "version": "4.0.0",
4082
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",
4083
+ "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=",
4084
+ "requires": {
4085
+ "extend-shallow": "^2.0.1",
4086
+ "is-number": "^3.0.0",
4087
+ "repeat-string": "^1.6.1",
4088
+ "to-regex-range": "^2.1.0"
4089
+ },
4090
+ "dependencies": {
4091
+ "extend-shallow": {
4092
+ "version": "2.0.1",
4093
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
4094
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
4095
+ "requires": {
4096
+ "is-extendable": "^0.1.0"
4097
+ }
4098
+ }
4099
+ }
4100
+ },
4101
+ "is-number": {
4102
+ "version": "3.0.0",
4103
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",
4104
+ "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=",
4105
+ "requires": {
4106
+ "kind-of": "^3.0.2"
4107
+ },
4108
+ "dependencies": {
4109
+ "kind-of": {
4110
+ "version": "3.2.2",
4111
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
4112
+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
4113
+ "requires": {
4114
+ "is-buffer": "^1.1.5"
4115
+ }
4116
+ }
4117
+ }
4118
+ },
4119
+ "to-regex-range": {
4120
+ "version": "2.1.1",
4121
+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz",
4122
+ "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=",
4123
+ "requires": {
4124
+ "is-number": "^3.0.0",
4125
+ "repeat-string": "^1.6.1"
4126
+ }
4127
+ }
4128
  }
4129
  },
4130
  "miller-rabin": {
4134
  "requires": {
4135
  "bn.js": "^4.0.0",
4136
  "brorand": "^1.0.1"
4137
+ },
4138
+ "dependencies": {
4139
+ "bn.js": {
4140
+ "version": "4.11.9",
4141
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz",
4142
+ "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw=="
4143
+ }
4144
  }
4145
  },
4146
  "mime-db": {
4147
+ "version": "1.44.0",
4148
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz",
4149
+ "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg=="
4150
  },
4151
  "mime-types": {
4152
+ "version": "2.1.27",
4153
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz",
4154
+ "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==",
4155
  "requires": {
4156
+ "mime-db": "1.44.0"
4157
  }
4158
  },
4159
  "mimic-fn": {
4220
  }
4221
  },
4222
  "mkdirp": {
4223
+ "version": "0.5.5",
4224
+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",
4225
+ "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==",
4226
  "requires": {
4227
  "minimist": "^1.2.5"
4228
  }
4238
  "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s="
4239
  },
4240
  "nan": {
4241
+ "version": "2.14.1",
4242
+ "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.1.tgz",
4243
+ "integrity": "sha512-isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw=="
4244
  },
4245
  "nanomatch": {
4246
  "version": "1.2.13",
4266
  "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc="
4267
  },
4268
  "neo-async": {
4269
+ "version": "2.6.2",
4270
+ "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz",
4271
+ "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw=="
4272
  },
4273
  "next-tick": {
4274
  "version": "1.0.0",
4344
  }
4345
  },
4346
  "node-sass": {
4347
+ "version": "4.14.1",
4348
+ "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.14.1.tgz",
4349
+ "integrity": "sha512-sjCuOlvGyCJS40R8BscF5vhVlQjNN069NtQ1gSxyK1u9iqvn6tf7O1R4GNowVZfiZUCRt5MmMs1xd+4V/7Yr0g==",
4350
  "requires": {
4351
  "async-foreach": "^0.1.3",
4352
  "chalk": "^1.1.1",
4362
  "node-gyp": "^3.8.0",
4363
  "npmlog": "^4.0.0",
4364
  "request": "^2.88.0",
4365
+ "sass-graph": "2.2.5",
4366
  "stdout-stream": "^1.4.0",
4367
  "true-case-path": "^1.0.2"
4368
  },
4497
  }
4498
  },
4499
  "object-inspect": {
4500
+ "version": "1.8.0",
4501
+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.8.0.tgz",
4502
+ "integrity": "sha512-jLdtEOB112fORuypAyl/50VRVIBIdVQOSUUGQHzJ4xBSbit81zRarz7GThkEFZy1RceYrWYcPcBFPQwHyAc1gA=="
4503
  },
4504
  "object-keys": {
4505
  "version": "1.1.1",
4526
  }
4527
  },
4528
  "object.entries": {
4529
+ "version": "1.1.2",
4530
+ "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.2.tgz",
4531
+ "integrity": "sha512-BQdB9qKmb/HyNdMNWVr7O3+z5MUIx3aiegEIJqjMBbBf0YT9RRxTJSim4mzFqtyr7PDAHigq0N9dO0m0tRakQA==",
4532
  "requires": {
4533
  "define-properties": "^1.1.3",
4534
+ "es-abstract": "^1.17.5",
 
4535
  "has": "^1.0.3"
4536
  }
4537
  },
4616
  "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M="
4617
  },
4618
  "os-locale": {
4619
+ "version": "2.1.0",
4620
+ "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz",
4621
+ "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==",
4622
  "requires": {
4623
+ "execa": "^0.7.0",
4624
+ "lcid": "^1.0.0",
4625
+ "mem": "^1.1.0"
4626
  }
4627
  },
4628
  "os-tmpdir": {
4715
  "path-dirname": {
4716
  "version": "1.0.2",
4717
  "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz",
4718
+ "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=",
4719
+ "optional": true
4720
  },
4721
  "path-exists": {
4722
  "version": "3.0.0",
4761
  }
4762
  },
4763
  "pbkdf2": {
4764
+ "version": "3.1.1",
4765
+ "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.1.tgz",
4766
+ "integrity": "sha512-4Ejy1OPxi9f2tt1rRV7Go7zmfDQ+ZectEQz3VGUQhgq62HtIRPDyG/JtnwIxs6x3uNMwo2V7q1fMvKjb+Tnpqg==",
4767
  "requires": {
4768
  "create-hash": "^1.1.2",
4769
  "create-hmac": "^1.1.4",
4777
  "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
4778
  "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
4779
  },
4780
+ "picomatch": {
4781
+ "version": "2.2.2",
4782
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz",
4783
+ "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg=="
4784
+ },
4785
  "pify": {
4786
  "version": "3.0.0",
4787
  "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
4849
  },
4850
  "dependencies": {
4851
  "ajv": {
4852
+ "version": "6.12.3",
4853
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.3.tgz",
4854
+ "integrity": "sha512-4K0cK3L1hsqk9xIb2z9vs/XU+PGJZ9PNpJRDS9YLzmNdX6jmVPfamLvTJr0aDAusnHyCHO6MjzlkAsgtqp9teA==",
4855
  "requires": {
4856
  "fast-deep-equal": "^3.1.1",
4857
  "fast-json-stable-stringify": "^2.0.0",
4860
  }
4861
  },
4862
  "ajv-keywords": {
4863
+ "version": "3.5.1",
4864
+ "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.1.tgz",
4865
+ "integrity": "sha512-KWcq3xN8fDjSB+IMoh2VaXVhRI0BBGxoYp3rx7Pkb6z0cFjYR9Q9l4yZqqals0/zsioCmocC5H6UvsGD4MoIBA=="
4866
  },
4867
  "fast-deep-equal": {
4868
+ "version": "3.1.3",
4869
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
4870
+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
4871
  },
4872
  "json-schema-traverse": {
4873
  "version": "0.4.1",
4941
  "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM="
4942
  },
4943
  "psl": {
4944
+ "version": "1.8.0",
4945
+ "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz",
4946
+ "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ=="
4947
  },
4948
  "public-encrypt": {
4949
  "version": "4.0.3",
4956
  "parse-asn1": "^5.0.0",
4957
  "randombytes": "^2.0.1",
4958
  "safe-buffer": "^5.1.2"
4959
+ },
4960
+ "dependencies": {
4961
+ "bn.js": {
4962
+ "version": "4.11.9",
4963
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz",
4964
+ "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw=="
4965
+ }
4966
  }
4967
  },
4968
  "punycode": {
5076
  }
5077
  },
5078
  "readdirp": {
5079
+ "version": "3.4.0",
5080
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.4.0.tgz",
5081
+ "integrity": "sha512-0xe001vZBnJEK+uKcj8qOhyAKPzIT+gStxWr3LCB0DwcXR5NZJ3IaC+yGnHCYzB/S7ov3m3EEbZI2zeNvX+hGQ==",
5082
+ "optional": true,
5083
  "requires": {
5084
+ "picomatch": "^2.2.1"
 
 
5085
  }
5086
  },
5087
  "rechoir": {
5102
  }
5103
  },
5104
  "regenerate": {
5105
+ "version": "1.4.1",
5106
+ "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.1.tgz",
5107
+ "integrity": "sha512-j2+C8+NtXQgEKWk49MMP5P/u2GhnahTtVkRIHr5R5lVRlbKvmQ+oS+A5aLKWp2ma5VkT8sh6v+v4hbH0YHR66A=="
5108
  },
5109
  "regenerator-runtime": {
5110
  "version": "0.11.1",
5194
  "remove-trailing-separator": {
5195
  "version": "1.1.0",
5196
  "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz",
5197
+ "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=",
5198
+ "optional": true
5199
  },
5200
  "repeat-element": {
5201
  "version": "1.1.3",
5248
  "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I="
5249
  },
5250
  "require-main-filename": {
5251
+ "version": "2.0.0",
5252
+ "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
5253
+ "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg=="
5254
  },
5255
  "require-uncached": {
5256
  "version": "1.0.3",
5267
  "integrity": "sha1-5UBLgVV+91225JxacgBIk/4D4WI="
5268
  },
5269
  "resolve": {
5270
+ "version": "1.17.0",
5271
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz",
5272
+ "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==",
5273
  "requires": {
5274
  "path-parse": "^1.0.6"
5275
  }
5339
  }
5340
  },
5341
  "run-async": {
5342
+ "version": "2.4.1",
5343
+ "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz",
5344
+ "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ=="
 
 
 
5345
  },
5346
  "rx-lite": {
5347
  "version": "4.0.8",
5383
  "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
5384
  },
5385
  "sass-graph": {
5386
+ "version": "2.2.5",
5387
+ "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.5.tgz",
5388
+ "integrity": "sha512-VFWDAHOe6mRuT4mZRd4eKE+d8Uedrk6Xnh7Sh9b4NGufQLQjOrvf/MQoOdx+0s92L89FeyUUNfU597j/3uNpag==",
5389
  "requires": {
5390
  "glob": "^7.0.0",
5391
  "lodash": "^4.0.0",
5392
  "scss-tokenizer": "^0.2.3",
5393
+ "yargs": "^13.3.2"
5394
  }
5395
  },
5396
  "sass-loader": {
5516
  "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM="
5517
  },
5518
  "shelljs": {
5519
+ "version": "0.8.4",
5520
+ "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.4.tgz",
5521
+ "integrity": "sha512-7gk3UZ9kOfPLIAbslLzyWeGiEqx9e3rxwZM0KE6EL8GlGwjym9Mrlx5/p33bWTu9YG6vcS4MBxYZDHYr5lr8BQ==",
5522
  "requires": {
5523
  "glob": "^7.0.0",
5524
  "interpret": "^1.0.0",
5535
  }
5536
  },
5537
  "signal-exit": {
5538
+ "version": "3.0.3",
5539
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz",
5540
+ "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA=="
5541
  },
5542
  "slash": {
5543
  "version": "1.0.0",
5697
  "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM="
5698
  },
5699
  "spdx-correct": {
5700
+ "version": "3.1.1",
5701
+ "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz",
5702
+ "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==",
5703
  "requires": {
5704
  "spdx-expression-parse": "^3.0.0",
5705
  "spdx-license-ids": "^3.0.0"
5706
  }
5707
  },
5708
  "spdx-exceptions": {
5709
+ "version": "2.3.0",
5710
+ "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz",
5711
+ "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A=="
5712
  },
5713
  "spdx-expression-parse": {
5714
+ "version": "3.0.1",
5715
+ "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz",
5716
+ "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==",
5717
  "requires": {
5718
  "spdx-exceptions": "^2.1.0",
5719
  "spdx-license-ids": "^3.0.0"
5838
  "side-channel": "^1.0.2"
5839
  }
5840
  },
5841
+ "string.prototype.trimend": {
5842
+ "version": "1.0.1",
5843
+ "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.1.tgz",
5844
+ "integrity": "sha512-LRPxFUaTtpqYsTeNKaFOw3R4bxIzWOnbQ837QfBylo8jIxtcbK/A/sMV7Q+OAV/vWo+7s25pOE10KYSjaSO06g==",
5845
  "requires": {
5846
  "define-properties": "^1.1.3",
5847
+ "es-abstract": "^1.17.5"
5848
  }
5849
  },
5850
+ "string.prototype.trimstart": {
5851
+ "version": "1.0.1",
5852
+ "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.1.tgz",
5853
+ "integrity": "sha512-XxZn+QpvrBI1FOcg6dIpxUPgWCPuNXvMD72aaRaUQv1eD4e/Qy8i/hFTe0BUmD60p/QA6bh1avmuPTfNjqVWRw==",
5854
  "requires": {
5855
  "define-properties": "^1.1.3",
5856
+ "es-abstract": "^1.17.5"
5857
  }
5858
  },
5859
  "string_decoder": {
6027
  }
6028
  },
6029
  "to-regex-range": {
6030
+ "version": "5.0.1",
6031
+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
6032
+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
6033
+ "optional": true,
6034
  "requires": {
6035
+ "is-number": "^7.0.0"
 
6036
  }
6037
  },
6038
  "tough-cookie": {
6232
  "upath": {
6233
  "version": "1.2.0",
6234
  "resolved": "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz",
6235
+ "integrity": "sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==",
6236
+ "optional": true
6237
  },
6238
  "update-notifier": {
6239
  "version": "2.5.0",
6344
  "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ=="
6345
  },
6346
  "watchpack": {
6347
+ "version": "1.7.2",
6348
+ "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.7.2.tgz",
6349
+ "integrity": "sha512-ymVbbQP40MFTp+cNMvpyBpBtygHnPzPkHqoIwRRj/0B8KhqQwV8LaKjtbaxF2lK4vl8zN9wCxS46IFCU5K4W0g==",
6350
  "requires": {
6351
+ "chokidar": "^3.4.0",
6352
  "graceful-fs": "^4.1.2",
6353
+ "neo-async": "^2.5.0",
6354
+ "watchpack-chokidar2": "^2.0.0"
6355
+ }
6356
+ },
6357
+ "watchpack-chokidar2": {
6358
+ "version": "2.0.0",
6359
+ "resolved": "https://registry.npmjs.org/watchpack-chokidar2/-/watchpack-chokidar2-2.0.0.tgz",
6360
+ "integrity": "sha512-9TyfOyN/zLUbA288wZ8IsMZ+6cbzvsNyEzSBp6e/zkifi6xxbl8SmQ/CxQq32k8NNqrdVEVUVSEf56L4rQ/ZxA==",
6361
+ "optional": true,
6362
+ "requires": {
6363
+ "chokidar": "^2.1.8"
6364
+ },
6365
+ "dependencies": {
6366
+ "anymatch": {
6367
+ "version": "2.0.0",
6368
+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz",
6369
+ "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==",
6370
+ "optional": true,
6371
+ "requires": {
6372
+ "micromatch": "^3.1.4",
6373
+ "normalize-path": "^2.1.1"
6374
+ },
6375
+ "dependencies": {
6376
+ "normalize-path": {
6377
+ "version": "2.1.1",
6378
+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz",
6379
+ "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=",
6380
+ "optional": true,
6381
+ "requires": {
6382
+ "remove-trailing-separator": "^1.0.1"
6383
+ }
6384
+ }
6385
+ }
6386
+ },
6387
+ "binary-extensions": {
6388
+ "version": "1.13.1",
6389
+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz",
6390
+ "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==",
6391
+ "optional": true
6392
+ },
6393
+ "braces": {
6394
+ "version": "2.3.2",
6395
+ "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz",
6396
+ "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==",
6397
+ "optional": true,
6398
+ "requires": {
6399
+ "arr-flatten": "^1.1.0",
6400
+ "array-unique": "^0.3.2",
6401
+ "extend-shallow": "^2.0.1",
6402
+ "fill-range": "^4.0.0",
6403
+ "isobject": "^3.0.1",
6404
+ "repeat-element": "^1.1.2",
6405
+ "snapdragon": "^0.8.1",
6406
+ "snapdragon-node": "^2.0.1",
6407
+ "split-string": "^3.0.2",
6408
+ "to-regex": "^3.0.1"
6409
+ }
6410
+ },
6411
+ "chokidar": {
6412
+ "version": "2.1.8",
6413
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz",
6414
+ "integrity": "sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==",
6415
+ "optional": true,
6416
+ "requires": {
6417
+ "anymatch": "^2.0.0",
6418
+ "async-each": "^1.0.1",
6419
+ "braces": "^2.3.2",
6420
+ "fsevents": "^1.2.7",
6421
+ "glob-parent": "^3.1.0",
6422
+ "inherits": "^2.0.3",
6423
+ "is-binary-path": "^1.0.0",
6424
+ "is-glob": "^4.0.0",
6425
+ "normalize-path": "^3.0.0",
6426
+ "path-is-absolute": "^1.0.0",
6427
+ "readdirp": "^2.2.1",
6428
+ "upath": "^1.1.1"
6429
+ }
6430
+ },
6431
+ "extend-shallow": {
6432
+ "version": "2.0.1",
6433
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
6434
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
6435
+ "requires": {
6436
+ "is-extendable": "^0.1.0"
6437
+ }
6438
+ },
6439
+ "fill-range": {
6440
+ "version": "4.0.0",
6441
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",
6442
+ "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=",
6443
+ "optional": true,
6444
+ "requires": {
6445
+ "extend-shallow": "^2.0.1",
6446
+ "is-number": "^3.0.0",
6447
+ "repeat-string": "^1.6.1",
6448
+ "to-regex-range": "^2.1.0"
6449
+ }
6450
+ },
6451
+ "fsevents": {
6452
+ "version": "1.2.13",
6453
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz",
6454
+ "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==",
6455
+ "optional": true,
6456
+ "requires": {
6457
+ "nan": "^2.12.1"
6458
+ }
6459
+ },
6460
+ "glob-parent": {
6461
+ "version": "3.1.0",
6462
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz",
6463
+ "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=",
6464
+ "optional": true,
6465
+ "requires": {
6466
+ "is-glob": "^3.1.0",
6467
+ "path-dirname": "^1.0.0"
6468
+ },
6469
+ "dependencies": {
6470
+ "is-glob": {
6471
+ "version": "3.1.0",
6472
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz",
6473
+ "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=",
6474
+ "optional": true,
6475
+ "requires": {
6476
+ "is-extglob": "^2.1.0"
6477
+ }
6478
+ }
6479
+ }
6480
+ },
6481
+ "is-binary-path": {
6482
+ "version": "1.0.1",
6483
+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz",
6484
+ "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=",
6485
+ "optional": true,
6486
+ "requires": {
6487
+ "binary-extensions": "^1.0.0"
6488
+ }
6489
+ },
6490
+ "is-number": {
6491
+ "version": "3.0.0",
6492
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",
6493
+ "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=",
6494
+ "requires": {
6495
+ "kind-of": "^3.0.2"
6496
+ }
6497
+ },
6498
+ "kind-of": {
6499
+ "version": "3.2.2",
6500
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
6501
+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
6502
+ "requires": {
6503
+ "is-buffer": "^1.1.5"
6504
+ }
6505
+ },
6506
+ "readdirp": {
6507
+ "version": "2.2.1",
6508
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz",
6509
+ "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==",
6510
+ "optional": true,
6511
+ "requires": {
6512
+ "graceful-fs": "^4.1.11",
6513
+ "micromatch": "^3.1.10",
6514
+ "readable-stream": "^2.0.2"
6515
+ }
6516
+ },
6517
+ "to-regex-range": {
6518
+ "version": "2.1.1",
6519
+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz",
6520
+ "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=",
6521
+ "optional": true,
6522
+ "requires": {
6523
+ "is-number": "^3.0.0",
6524
+ "repeat-string": "^1.6.1"
6525
+ }
6526
+ }
6527
  }
6528
  },
6529
  "webpack": {
6556
  },
6557
  "dependencies": {
6558
  "ajv": {
6559
+ "version": "6.12.3",
6560
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.3.tgz",
6561
+ "integrity": "sha512-4K0cK3L1hsqk9xIb2z9vs/XU+PGJZ9PNpJRDS9YLzmNdX6jmVPfamLvTJr0aDAusnHyCHO6MjzlkAsgtqp9teA==",
6562
  "requires": {
6563
  "fast-deep-equal": "^3.1.1",
6564
  "fast-json-stable-stringify": "^2.0.0",
6567
  }
6568
  },
6569
  "ajv-keywords": {
6570
+ "version": "3.5.1",
6571
+ "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.1.tgz",
6572
+ "integrity": "sha512-KWcq3xN8fDjSB+IMoh2VaXVhRI0BBGxoYp3rx7Pkb6z0cFjYR9Q9l4yZqqals0/zsioCmocC5H6UvsGD4MoIBA=="
6573
+ },
6574
+ "cliui": {
6575
+ "version": "3.2.0",
6576
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz",
6577
+ "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=",
6578
+ "requires": {
6579
+ "string-width": "^1.0.1",
6580
+ "strip-ansi": "^3.0.1",
6581
+ "wrap-ansi": "^2.0.0"
6582
+ },
6583
+ "dependencies": {
6584
+ "string-width": {
6585
+ "version": "1.0.2",
6586
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
6587
+ "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
6588
+ "requires": {
6589
+ "code-point-at": "^1.0.0",
6590
+ "is-fullwidth-code-point": "^1.0.0",
6591
+ "strip-ansi": "^3.0.0"
6592
+ }
6593
+ }
6594
+ }
6595
  },
6596
  "fast-deep-equal": {
6597
+ "version": "3.1.3",
6598
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
6599
+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
6600
+ },
6601
+ "get-caller-file": {
6602
+ "version": "1.0.3",
6603
+ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz",
6604
+ "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w=="
6605
  },
6606
  "has-flag": {
6607
  "version": "2.0.0",
6608
  "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz",
6609
  "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE="
6610
  },
6611
+ "is-fullwidth-code-point": {
6612
+ "version": "1.0.0",
6613
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
6614
+ "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
6615
+ "requires": {
6616
+ "number-is-nan": "^1.0.0"
6617
+ }
6618
+ },
6619
  "json-schema-traverse": {
6620
  "version": "0.4.1",
6621
  "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
6632
  "strip-bom": "^3.0.0"
6633
  }
6634
  },
 
 
 
 
 
 
 
 
 
 
6635
  "path-type": {
6636
  "version": "2.0.0",
6637
  "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz",
6664
  "read-pkg": "^2.0.0"
6665
  }
6666
  },
6667
+ "require-main-filename": {
6668
+ "version": "1.0.1",
6669
+ "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz",
6670
+ "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE="
6671
+ },
6672
  "source-map": {
6673
  "version": "0.5.7",
6674
  "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
6687
  "has-flag": "^2.0.0"
6688
  }
6689
  },
6690
+ "wrap-ansi": {
6691
+ "version": "2.1.0",
6692
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz",
6693
+ "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=",
6694
+ "requires": {
6695
+ "string-width": "^1.0.1",
6696
+ "strip-ansi": "^3.0.1"
6697
+ },
6698
+ "dependencies": {
6699
+ "string-width": {
6700
+ "version": "1.0.2",
6701
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
6702
+ "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
6703
+ "requires": {
6704
+ "code-point-at": "^1.0.0",
6705
+ "is-fullwidth-code-point": "^1.0.0",
6706
+ "strip-ansi": "^3.0.0"
6707
+ }
6708
+ }
6709
+ }
6710
+ },
6711
+ "y18n": {
6712
+ "version": "3.2.1",
6713
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz",
6714
+ "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE="
6715
  },
6716
  "yargs": {
6717
  "version": "8.0.2",
6761
  }
6762
  },
6763
  "which-module": {
6764
+ "version": "2.0.0",
6765
+ "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",
6766
+ "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho="
6767
  },
6768
  "wide-align": {
6769
  "version": "1.1.3",
6797
  "integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8="
6798
  },
6799
  "wrap-ansi": {
6800
+ "version": "5.1.0",
6801
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz",
6802
+ "integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==",
6803
  "requires": {
6804
+ "ansi-styles": "^3.2.0",
6805
+ "string-width": "^3.0.0",
6806
+ "strip-ansi": "^5.0.0"
6807
  },
6808
  "dependencies": {
6809
+ "ansi-regex": {
6810
+ "version": "4.1.0",
6811
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
6812
+ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg=="
6813
+ },
6814
+ "emoji-regex": {
6815
+ "version": "7.0.3",
6816
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
6817
+ "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA=="
6818
+ },
6819
+ "string-width": {
6820
+ "version": "3.1.0",
6821
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
6822
+ "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
6823
  "requires": {
6824
+ "emoji-regex": "^7.0.1",
6825
+ "is-fullwidth-code-point": "^2.0.0",
6826
+ "strip-ansi": "^5.1.0"
6827
  }
6828
  },
6829
+ "strip-ansi": {
6830
+ "version": "5.2.0",
6831
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
6832
+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
6833
  "requires": {
6834
+ "ansi-regex": "^4.1.0"
 
 
6835
  }
6836
  }
6837
  }
6864
  "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-3.0.0.tgz",
6865
  "integrity": "sha1-SWsswQnsqNus/i3HK2A8F8WHCtQ="
6866
  },
 
 
 
 
 
 
 
 
6867
  "xtend": {
6868
  "version": "4.0.2",
6869
  "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",
6870
  "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ=="
6871
  },
6872
  "y18n": {
6873
+ "version": "4.0.0",
6874
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz",
6875
+ "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w=="
6876
  },
6877
  "yallist": {
6878
  "version": "2.1.2",
6880
  "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI="
6881
  },
6882
  "yargs": {
6883
+ "version": "13.3.2",
6884
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.2.tgz",
6885
+ "integrity": "sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==",
6886
+ "requires": {
6887
+ "cliui": "^5.0.0",
6888
+ "find-up": "^3.0.0",
6889
+ "get-caller-file": "^2.0.1",
 
 
 
6890
  "require-directory": "^2.1.1",
6891
+ "require-main-filename": "^2.0.0",
6892
  "set-blocking": "^2.0.0",
6893
+ "string-width": "^3.0.0",
6894
+ "which-module": "^2.0.0",
6895
+ "y18n": "^4.0.0",
6896
+ "yargs-parser": "^13.1.2"
6897
  },
6898
  "dependencies": {
6899
+ "ansi-regex": {
6900
+ "version": "4.1.0",
6901
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
6902
+ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg=="
6903
+ },
6904
+ "emoji-regex": {
6905
+ "version": "7.0.3",
6906
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
6907
+ "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA=="
6908
+ },
6909
+ "find-up": {
6910
  "version": "3.0.0",
6911
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
6912
+ "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
6913
+ "requires": {
6914
+ "locate-path": "^3.0.0"
6915
+ }
6916
  },
6917
+ "locate-path": {
6918
+ "version": "3.0.0",
6919
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
6920
+ "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
6921
  "requires": {
6922
+ "p-locate": "^3.0.0",
6923
+ "path-exists": "^3.0.0"
6924
+ }
6925
+ },
6926
+ "p-limit": {
6927
+ "version": "2.3.0",
6928
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
6929
+ "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
6930
+ "requires": {
6931
+ "p-try": "^2.0.0"
6932
+ }
6933
+ },
6934
+ "p-locate": {
6935
+ "version": "3.0.0",
6936
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
6937
+ "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
6938
+ "requires": {
6939
+ "p-limit": "^2.0.0"
6940
  }
6941
  },
6942
+ "p-try": {
6943
+ "version": "2.2.0",
6944
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
6945
+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ=="
6946
+ },
6947
  "string-width": {
6948
+ "version": "3.1.0",
6949
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
6950
+ "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
6951
  "requires": {
6952
+ "emoji-regex": "^7.0.1",
6953
+ "is-fullwidth-code-point": "^2.0.0",
6954
+ "strip-ansi": "^5.1.0"
6955
+ }
6956
+ },
6957
+ "strip-ansi": {
6958
+ "version": "5.2.0",
6959
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
6960
+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
6961
+ "requires": {
6962
+ "ansi-regex": "^4.1.0"
6963
  }
6964
  }
6965
  }
6966
  },
6967
  "yargs-parser": {
6968
+ "version": "13.1.2",
6969
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz",
6970
+ "integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==",
6971
  "requires": {
6972
+ "camelcase": "^5.0.0",
6973
+ "decamelize": "^1.2.0"
6974
  },
6975
  "dependencies": {
6976
  "camelcase": {
6977
+ "version": "5.3.1",
6978
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
6979
+ "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg=="
6980
  }
6981
  }
6982
  }
Gutenberg/src/blocks.js CHANGED
@@ -18,6 +18,7 @@ import './google-maps/index.js';
18
  import './twitch/index.js';
19
  import './wistia/index.js';
20
  import './youtube/index.js';
 
21
 
22
  ( function() {
23
  let a = <svg width="33" height="20" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px"
18
  import './twitch/index.js';
19
  import './wistia/index.js';
20
  import './youtube/index.js';
21
+ import './document/index.js';
22
 
23
  ( function() {
24
  let a = <svg width="33" height="20" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px"
Gutenberg/src/common/icons.js CHANGED
@@ -183,3 +183,5 @@ export const youtubeNewIcon =
183
  </g>
184
  </g>
185
  </svg>;
 
 
183
  </g>
184
  </g>
185
  </svg>;
186
+
187
+ export const DocumentIcon = <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 276 340" ><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"/><path d="M196.7 57c0 13.3 10.7 23.9 23.9 23.9H276L196.7.6V57z" fill="#f19191"/><linearGradient id="A" gradientUnits="userSpaceOnUse" x1="44.744" y1="77.111" x2="116.568" y2="77.111"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#fff0f0"/></linearGradient><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)"/><linearGradient id="B" gradientUnits="userSpaceOnUse" x1="44.744" y1="136.016" x2="233.927" y2="136.016"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#fff0f0"/></linearGradient><use href="#H" opacity=".8" fill="url(#B)"/><linearGradient id="C" gradientUnits="userSpaceOnUse" x1="44.744" y1="135.993" x2="233.927" y2="135.993"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#fff0f0"/></linearGradient><use href="#H" y="33.6" opacity=".7" fill="url(#C)"/><linearGradient id="D" gradientUnits="userSpaceOnUse" x1="44.744" y1="135.969" x2="233.927" y2="135.969"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#fff0f0"/></linearGradient><use href="#H" y="67.2" opacity=".6" fill="url(#D)"/><linearGradient id="E" gradientUnits="userSpaceOnUse" x1="44.744" y1="136.045" x2="233.927" y2="136.045"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#fff0f0"/></linearGradient><use href="#H" y="100.7" opacity=".4" fill="url(#E)"/><linearGradient id="F" gradientUnits="userSpaceOnUse" x1="44.744" y1="270.322" x2="174.778" y2="270.322"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#fff0f0"/></linearGradient><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)"/><defs ><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"/></defs></svg>;
Gutenberg/src/document/edit.js ADDED
@@ -0,0 +1,236 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Internal dependencies
3
+ */
4
+
5
+ import Iframe from '../common/Iframe';
6
+ import EmbedLoading from '../common/embed-loading';
7
+ /**
8
+ * WordPress dependencies
9
+ */
10
+
11
+ const {__} = wp.i18n;
12
+ const {getBlobByURL, isBlobURL, revokeBlobURL} = wp.blob;
13
+ const {BlockIcon, MediaPlaceholder ,InspectorControls} = wp.editor;
14
+ const {Component, Fragment} = wp.element;
15
+ const { RangeControl,PanelBody, ExternalLink,ToggleControl } = wp.components;
16
+ import {DocumentIcon} from '../common/icons'
17
+
18
+ const ALLOWED_MEDIA_TYPES = [
19
+ 'application/pdf',
20
+ 'application/msword',
21
+ 'application/vnd.ms-powerpoint',
22
+ 'application/vnd.ms-excel',
23
+ 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
24
+ 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
25
+ 'application/vnd.openxmlformats-officedocument.presentationml.presentation'
26
+ ];
27
+
28
+ class DocumentEdit extends Component {
29
+ constructor() {
30
+ super(...arguments);
31
+ this.onSelectFile = this.onSelectFile.bind(this);
32
+
33
+ this.onUploadError = this.onUploadError.bind(this);
34
+ this.onLoad = this.onLoad.bind(this);
35
+ this.hideOverlay = this.hideOverlay.bind(this);
36
+ this.state = {
37
+ hasError: false,
38
+ fetching:false,
39
+ interactive: false,
40
+ loadPdf: true,
41
+ };
42
+ }
43
+
44
+
45
+ componentDidMount() {
46
+ const {
47
+ attributes,
48
+ mediaUpload,
49
+ noticeOperations
50
+ } = this.props;
51
+ const {href} = attributes;
52
+
53
+ // Upload a file drag-and-dropped into the editor
54
+ if (isBlobURL(href)) {
55
+ const file = getBlobByURL(href);
56
+
57
+ mediaUpload({
58
+ filesList: [file],
59
+ onFileChange: ([media]) => this.onSelectFile(media),
60
+ onError: (message) => {
61
+ this.setState({hasError: true});
62
+ noticeOperations.createErrorNotice(message);
63
+ },
64
+ });
65
+
66
+ revokeBlobURL(href);
67
+ }
68
+
69
+ if(this.props.attributes.href && this.props.attributes.mime === 'application/pdf' && this.state.loadPdf){
70
+ this.setState({loadPdf: false});
71
+ PDFObject.embed(this.props.attributes.href, "."+this.props.attributes.id);
72
+ }
73
+
74
+ }
75
+
76
+ componentDidUpdate(prevProps) {
77
+
78
+ // Reset copy confirmation state when block is deselected
79
+ if (prevProps.isSelected && !this.props.isSelected) {
80
+ this.setState({showCopyConfirmation: false});
81
+ }
82
+
83
+ }
84
+
85
+ static getDerivedStateFromProps(nextProps, state) {
86
+ if (!nextProps.isSelected && state.interactive) {
87
+ return {interactive: false};
88
+ }
89
+
90
+ return null;
91
+ }
92
+
93
+ hideOverlay() {
94
+ this.setState({interactive: true});
95
+ }
96
+
97
+ onLoad() {
98
+ this.setState({
99
+ fetching:false
100
+ })
101
+ }
102
+
103
+ onSelectFile(media) {
104
+ if (media && media.url) {
105
+ this.setState({hasError: false});
106
+ this.props.setAttributes({
107
+ href: media.url,
108
+ fileName: media.title,
109
+ id: 'embedpress-pdf-'+Date.now(),
110
+ mime: media.mime,
111
+ });
112
+
113
+ if(embedpressObj.embedpress_pro){
114
+ this.props.setAttributes({
115
+ powered_by: false
116
+ });
117
+ }
118
+ if(media.mime === 'application/pdf'){
119
+ this.setState({loadPdf: false});
120
+ PDFObject.embed(media.url, "."+this.props.attributes.id);
121
+ }
122
+ }
123
+
124
+ }
125
+
126
+ onUploadError(message) {
127
+ const {noticeOperations} = this.props;
128
+ noticeOperations.removeAllNotices();
129
+ noticeOperations.createErrorNotice(message);
130
+ }
131
+
132
+
133
+
134
+
135
+ render() {
136
+ const {attributes, noticeUI,setAttributes} = this.props;
137
+ const {href,mime,id,width,height,powered_by} = attributes;
138
+ const {hasError,interactive,fetching,loadPdf} = this.state;
139
+ const min = 1;
140
+ const max = 1000;
141
+ const docLink = 'https://embedpress.com/docs/embed-docuemnt/'
142
+ if (!href || hasError) {
143
+
144
+ return (
145
+ <div className={"embedpress-document-editmode"}>
146
+ <MediaPlaceholder
147
+ icon={<BlockIcon icon={DocumentIcon}/>}
148
+ labels={{
149
+ title: __('Document'),
150
+ instructions: __(
151
+ 'Upload a file or pick one from your media library for embed.'
152
+ ),
153
+ }}
154
+ onSelect={this.onSelectFile}
155
+ notices={noticeUI}
156
+ allowedTypes={ALLOWED_MEDIA_TYPES}
157
+ onError={this.onUploadError}
158
+
159
+ >
160
+
161
+ <div style={{width:'100%'}} className="components-placeholder__learn-more embedpress-doc-link">
162
+ <ExternalLink href={docLink}>Learn more about Embedded document </ExternalLink>
163
+ </div>
164
+ </MediaPlaceholder>
165
+
166
+ </div>
167
+
168
+ );
169
+ } else {
170
+ const url = '//view.officeapps.live.com/op/embed.aspx?src='+href;
171
+ return (
172
+ <Fragment>
173
+ {(fetching && mime !== 'application/pdf') ? <EmbedLoading/> : null}
174
+ { mime === 'application/pdf' && (
175
+ <div style={{height:height,width:width}} className={'embedpress-embed-document-pdf'+' '+id} data-emid={id} data-emsrc={href}></div>
176
+
177
+ ) }
178
+ { mime !== 'application/pdf' && (
179
+ <Iframe onMouseUponMouseUp={ this.hideOverlay } style={{height:height,width:width,display: fetching || !loadPdf ? 'none' : ''}} onLoad={this.onLoad} src={url}
180
+ mozallowfullscreen="true" webkitallowfullscreen="true"/>
181
+ ) }
182
+ { ! interactive && (
183
+ <div
184
+ className="block-library-embed__interactive-overlay"
185
+ onMouseUp={ this.hideOverlay }
186
+ />
187
+ ) }
188
+ { powered_by && (
189
+ <p className="embedpress-el-powered">Powered By EmbedPress</p>
190
+ )}
191
+
192
+ <InspectorControls key="inspector">
193
+ <PanelBody
194
+ title={ __( 'Embed Size', 'embedpress' ) }
195
+ >
196
+ <RangeControl
197
+ label={ __(
198
+ 'Width',
199
+ 'embedpress'
200
+ ) }
201
+ value={ width }
202
+ onChange={ ( width ) =>
203
+ setAttributes( { width } )
204
+ }
205
+ max={ max }
206
+ min={ min }
207
+ />
208
+ <RangeControl
209
+ label={ __(
210
+ 'Height',
211
+ 'embedpress'
212
+ ) }
213
+ value={height }
214
+ onChange={ ( height ) =>
215
+ setAttributes( { height } )
216
+ }
217
+ max={ max }
218
+ min={ min }
219
+ />
220
+ <ToggleControl
221
+ label={ __( 'Powered By' ) }
222
+ onChange={ ( powered_by ) =>
223
+ setAttributes( { powered_by } )
224
+ }
225
+ checked={ powered_by }
226
+ />
227
+ </PanelBody>
228
+ </InspectorControls>
229
+ </Fragment>
230
+ );
231
+ }
232
+
233
+ }
234
+
235
+ };
236
+ export default DocumentEdit;
Gutenberg/src/document/editor.scss ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * #.# Editor Styles
3
+ *
4
+ * CSS for just Backend enqueued after style.scss
5
+ * which makes it higher in priority.
6
+ */
7
+
8
+ .embedpress-document-editmode .components-placeholder__instructions:after {
9
+ content:"\ASupported File Type: PDF, DOC, PPT, XLS etc ";
10
+ white-space: pre;
11
+ }
Gutenberg/src/document/index.js ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * BLOCK: embedpress-blocks
3
+ *
4
+ * Registering a basic block with Gutenberg.
5
+ * Simple block, renders and saves the same content without any interactivity.
6
+ */
7
+
8
+ // Import CSS.
9
+ import './style.scss';
10
+ import './editor.scss';
11
+ import edit from './edit';
12
+ import {DocumentIcon} from '../common/icons';
13
+
14
+ const {__} = wp.i18n; // Import __() from wp.i18n
15
+ const {registerBlockType} = wp.blocks; // Import registerBlockType() from wp.blocks
16
+
17
+
18
+ /**
19
+ * Register: aa Gutenberg Block.
20
+ *
21
+ * Registers a new block provided a unique name and an object defining its
22
+ * behavior. Once registered, the block is made editor as an option to any
23
+ * editor interface where blocks are implemented.
24
+ *
25
+ * @link https://wordpress.org/gutenberg/handbook/block-api/
26
+ * @param {string} name Block name.
27
+ * @param {Object} settings Block settings.
28
+ * @return {?WPBlock} The block, if it has been successfully
29
+ * registered; otherwise `undefined`.
30
+ */
31
+ registerBlockType('embedpress/document', {
32
+ // Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.
33
+ title: __('Document'), // Block title.
34
+ icon: DocumentIcon, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.
35
+ category: 'embedpress', // Block category — Group blocks together based on common traits E.g. common, formatting, layout Widgets, embed.
36
+ keywords: [
37
+ __('embedpress'),
38
+ __('pdf'),
39
+ __('doc'),
40
+ __('ppt'),
41
+ ],
42
+ supports: {
43
+ align: true,
44
+ lightBlockWrapper: true,
45
+ },
46
+ attributes: {
47
+ id: {
48
+ type: "string"
49
+ },
50
+ href: {
51
+ type: "string"
52
+ },
53
+ powered_by: {
54
+ type: "boolean",
55
+ default: true,
56
+ },
57
+ width: {
58
+ type: 'number',
59
+ default: 600,
60
+ },
61
+ height: {
62
+ type: 'number',
63
+ default: 600,
64
+ },
65
+ fileName: {
66
+ type: "string",
67
+ },
68
+ mime: {
69
+ type: "string",
70
+ }
71
+ },
72
+ /**
73
+ * The edit function describes the structure of your block in the context of the editor.
74
+ * This represents what the editor will render when the block is used.
75
+ *
76
+ * The "edit" property must be a valid function.
77
+ *
78
+ * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/
79
+ */
80
+ edit,
81
+
82
+ /**
83
+ * The save function defines the way in which the different attributes should be combined
84
+ * into the final markup, which is then serialized by Gutenberg into post_content.
85
+ *
86
+ * The "save" property must be specified and must be a valid function.
87
+ *
88
+ * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/
89
+ */
90
+ //save
91
+ save: function (props) {
92
+ const {href, mime, id, width, height, powered_by} = props.attributes
93
+ const iframeSrc = '//view.officeapps.live.com/op/embed.aspx?src='+href;
94
+ const defaultClass = "embedpress-embed-document"
95
+ return (
96
+ <figure className={defaultClass}>
97
+ {mime === 'application/pdf' && (
98
+ <div style={{height: height, width: width}} className={'embedpress-embed-document-pdf' + ' ' + id}
99
+ data-emid={id} data-emsrc={href}></div>
100
+ )}
101
+ {mime !== 'application/pdf' && (
102
+ <iframe style={{height: height, width: width}} src={iframeSrc} mozallowfullscreen="true"
103
+ webkitallowfullscreen="true"/>
104
+ )}
105
+ {powered_by && (
106
+ <p className="embedpress-el-powered">Powered By EmbedPress</p>
107
+ )}
108
+ </figure>
109
+ );
110
+ },
111
+
112
+ });
Gutenberg/src/document/style.scss ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * #.# Styles
3
+ *
4
+ * CSS for both Frontend+Backend.
5
+ */
6
+
7
+
8
+ .pdfobject-container {
9
+ height: 600px;
10
+ width:600px;
11
+ margin: 0 auto;
12
+ }
13
+
14
+ .embedpress-el-powered {
15
+ text-align: center;
16
+ margin-top: 0 !important;
17
+ font-size: 16px !important;
18
+ font-weight: 700;
19
+ }
20
+ .embedpress-embed-document iframe ,
21
+ [data-type="embedpress/document"] iframe{
22
+ margin: 0 auto;
23
+ display: block;
24
+ }
25
+ .embedpress-document-editmode .components-form-file-upload {
26
+ display: none !important;
27
+ }
28
+
29
+
Gutenberg/src/google-docs/edit.js CHANGED
@@ -112,7 +112,7 @@ class GoogleDocsEdit extends Component {
112
 
113
  render() {
114
  const {url, editingURL, fetching, cannotEmbed, interactive} = this.state;
115
- const {iframeSrc, align} = this.props.attributes;
116
  const label = __('Google Docs URL');
117
 
118
  // No preview, or we can't embed the current URL, or we've clicked the edit button.
112
 
113
  render() {
114
  const {url, editingURL, fetching, cannotEmbed, interactive} = this.state;
115
+ const {iframeSrc} = this.props.attributes;
116
  const label = __('Google Docs URL');
117
 
118
  // No preview, or we can't embed the current URL, or we've clicked the edit button.
Gutenberg/src/init.php CHANGED
@@ -46,7 +46,7 @@ function embedpress_blocks_cgb_editor_assets() { // phpcs:ignore
46
  wp_enqueue_script(
47
  'embedpress_blocks-cgb-block-js', // Handle.
48
  plugins_url( '/dist/blocks.build.js', dirname( __FILE__ ) ), // Block.build.js: We register the block here. Built with Webpack.
49
- array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-editor' ), // Dependencies, defined above.
50
  // filemtime( plugin_dir_path( __DIR__ ) . 'dist/blocks.build.js' ), // Version: File modification time.
51
  true // Enqueue the script in the footer.
52
  );
@@ -62,7 +62,9 @@ function embedpress_blocks_cgb_editor_assets() { // phpcs:ignore
62
  endif;
63
  wp_localize_script( 'embedpress_blocks-cgb-block-js', 'embedpressObj', array(
64
  'wistia_labels' => $wistia_labels,
65
- 'wisita_options' => $wistia_options
 
 
66
  ) );
67
 
68
  // Styles.
46
  wp_enqueue_script(
47
  'embedpress_blocks-cgb-block-js', // Handle.
48
  plugins_url( '/dist/blocks.build.js', dirname( __FILE__ ) ), // Block.build.js: We register the block here. Built with Webpack.
49
+ array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-editor','embedpress-pdfobject' ), // Dependencies, defined above.
50
  // filemtime( plugin_dir_path( __DIR__ ) . 'dist/blocks.build.js' ), // Version: File modification time.
51
  true // Enqueue the script in the footer.
52
  );
62
  endif;
63
  wp_localize_script( 'embedpress_blocks-cgb-block-js', 'embedpressObj', array(
64
  'wistia_labels' => $wistia_labels,
65
+ 'wisita_options' => $wistia_options,
66
+ 'embedpress_powered_by' => apply_filters('embedpress_document_block_powered_by',true),
67
+ 'embedpress_pro' => defined('EMBEDPRESS_PRO_PLUGIN_FILE')
68
  ) );
69
 
70
  // Styles.
assets/css/el-icon.css ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @font-face {
2
+ font-family: 'el-icon';
3
+ src: url('../fonts/el-icon.eot?u9p5gz');
4
+ src: url('../fonts/el-icon.eot?u9p5gz#iefix') format('embedded-opentype'),
5
+ url('../fonts/el-icon.ttf?u9p5gz') format('truetype'),
6
+ url('../fonts/el-icon.woff?u9p5gz') format('woff'),
7
+ url('../fonts/el-icon.svg?u9p5gz#el-icon') format('svg');
8
+ font-weight: normal;
9
+ font-style: normal;
10
+ font-display: block;
11
+ }
12
+
13
+ [class^="icon-"], [class*=" icon-"] {
14
+ /* use !important to prevent issues with browser extensions that change fonts */
15
+ font-family: 'el-icon' !important;
16
+ speak: never;
17
+ font-style: normal;
18
+ font-weight: normal;
19
+ font-variant: normal;
20
+ text-transform: none;
21
+ line-height: 1;
22
+
23
+ /* Better Font Rendering =========== */
24
+ -webkit-font-smoothing: antialiased;
25
+ -moz-osx-font-smoothing: grayscale;
26
+ }
27
+
28
+ .icon-embedpress:before {
29
+ content: "\e900";
30
+ color: #556068;
31
+ }
32
+ .icon-pdf:before {
33
+ content: "\e926";
34
+ color: #556068;
35
+ }
assets/css/embedpress-elementor.css CHANGED
@@ -6,11 +6,11 @@
6
  padding-bottom: 56.25%;
7
  }
8
 
9
- .embedpress-aspect-ratio-43 .embedpress-fit-aspect-ratio .embedpress-wrapper{
10
  padding-bottom: 75%;
11
  }
12
 
13
- .embedpress-aspect-ratio-32 .embedpress-fit-aspect-ratio .embedpress-wrapper{
14
  padding-bottom: 66.6666%;
15
  }
16
 
@@ -39,4 +39,16 @@
39
 
40
  .embedpress-fit-aspect-ratio video {
41
  width: 100%;
 
 
 
 
 
 
 
 
 
 
 
 
42
  }
6
  padding-bottom: 56.25%;
7
  }
8
 
9
+ .embedpress-aspect-ratio-43 .embedpress-fit-aspect-ratio .embedpress-wrapper {
10
  padding-bottom: 75%;
11
  }
12
 
13
+ .embedpress-aspect-ratio-32 .embedpress-fit-aspect-ratio .embedpress-wrapper {
14
  padding-bottom: 66.6666%;
15
  }
16
 
39
 
40
  .embedpress-fit-aspect-ratio video {
41
  width: 100%;
42
+ }
43
+
44
+ .elementor-widget-container .pdfobject-container ,
45
+ .elementor-widget-container .embedpress-document-embed iframe{
46
+ margin: 0 auto;
47
+ }
48
+
49
+ .embedpress-el-powered {
50
+ text-align: center;
51
+ margin: 0 auto;
52
+ font-size: 16px;
53
+ font-weight: 700;
54
  }
assets/fonts/el-icon.eot ADDED
Binary file
assets/fonts/el-icon.svg ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>Generated by IcoMoon</metadata>
5
+ <defs>
6
+ <font id="icomoon" horiz-adv-x="1024">
7
+ <font-face units-per-em="1024" ascent="960" descent="-64" />
8
+ <missing-glyph horiz-adv-x="1024" />
9
+ <glyph unicode="&#x20;" horiz-adv-x="512" d="" />
10
+ <glyph unicode="&#xe900;" glyph-name="embedpress" d="M2.048 960v-196.608h55.296v139.264h141.312v57.344zM968.704 132.608v-139.264h-141.312v-57.344h198.656v196.608zM972.8 691.712c-36.864 65.536-102.4 108.544-176.128 116.736-8.192 0-18.432 2.048-26.624 2.048-34.816 0-69.632-8.192-100.352-22.528-4.096-2.048-8.192-4.096-14.336-6.144-53.248-28.672-92.16-77.824-108.544-133.12v0l-139.264-397.312c-14.336-40.96-38.912-73.728-73.728-92.16-2.048 0-4.096-2.048-4.096-2.048l-4.096-2.048c-20.48-10.24-43.008-14.336-67.584-14.336-6.144 0-12.288 0-18.432 2.048-49.152 6.144-94.208 34.816-118.784 79.872-20.48 36.864-24.576 77.824-14.336 118.784 12.288 40.96 38.912 73.728 75.776 94.208 4.096 2.048 6.144 4.096 8.192 4.096 20.48 10.24 43.008 14.336 67.584 14.336 10.24 0 45.056-4.096 45.056-4.096l-32.768-98.304 55.296-18.432 59.392 167.936-63.488 18.432-10.24 2.048c-10.24 2.048-18.432 4.096-26.624 4.096s-18.432 2.048-26.624 2.048c-34.816 0-69.632-8.192-100.352-22.528-4.096-2.048-8.192-4.096-14.336-6.144-55.296-30.72-94.208-79.872-110.592-139.264s-10.24-122.88 20.48-176.128c36.864-65.536 102.4-108.544 176.128-116.736 8.192 0 18.432-2.048 26.624-2.048 34.816 0 69.632 8.192 100.352 22.528 4.096 2.048 8.192 4.096 14.336 6.144 53.248 28.672 92.16 77.824 108.544 133.12v0l139.264 393.216 2.048 4.096c16.384 45.056 40.96 71.68 73.728 90.112 2.048 0 4.096 2.048 4.096 2.048l4.096 2.048c20.48 10.24 43.008 14.336 67.584 14.336 6.144 0 12.288 0 18.432-2.048 49.152-6.144 94.208-34.816 118.784-79.872 20.48-36.864 24.576-77.824 14.336-118.784-12.288-40.96-38.912-73.728-73.728-94.208-2.048 0-10.24-4.096-10.24-4.096-20.48-10.24-43.008-14.336-67.584-14.336-6.144 0-12.288 0-18.432 2.048-8.192 0-18.432 2.048-26.624 6.144h-2.048l-30.72 8.192-28.672-69.632 40.96-12.288c12.288-4.096 24.576-6.144 36.864-6.144 8.192 0 18.432-2.048 26.624-2.048 34.816 0 69.632 8.192 100.352 22.528l4.096 2.048c4.096 2.048 6.144 4.096 10.24 4.096 110.592 63.488 151.552 206.848 90.112 317.44z" />
11
+ <glyph unicode="&#xe926;" glyph-name="document" d="M917.806 730.924c-22.212 30.292-53.174 65.7-87.178 99.704s-69.412 64.964-99.704 87.178c-51.574 37.82-76.592 42.194-90.924 42.194h-496c-44.112 0-80-35.888-80-80v-864c0-44.112 35.888-80 80-80h736c44.112 0 80 35.888 80 80v624c0 14.332-4.372 39.35-42.194 90.924zM785.374 785.374c30.7-30.7 54.8-58.398 72.58-81.374h-153.954v153.946c22.984-17.78 50.678-41.878 81.374-72.572zM896 16c0-8.672-7.328-16-16-16h-736c-8.672 0-16 7.328-16 16v864c0 8.672 7.328 16 16 16 0 0 495.956 0.002 496 0v-224c0-17.672 14.326-32 32-32h224v-624zM736 128h-448c-17.672 0-32 14.326-32 32s14.328 32 32 32h448c17.674 0 32-14.326 32-32s-14.326-32-32-32zM736 256h-448c-17.672 0-32 14.326-32 32s14.328 32 32 32h448c17.674 0 32-14.326 32-32s-14.326-32-32-32zM736 384h-448c-17.672 0-32 14.326-32 32s14.328 32 32 32h448c17.674 0 32-14.326 32-32s-14.326-32-32-32z" />
12
+ </font></defs></svg>
assets/fonts/el-icon.ttf ADDED
Binary file
assets/fonts/el-icon.woff ADDED
Binary file
assets/images/icon-128x128.png CHANGED
Binary file
assets/images/menu-icon.png CHANGED
Binary file
assets/js/front.js ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @package EmbedPress
3
+ * @author EmbedPress <help@embedpress.com>
4
+ * @copyright Copyright (C) 2018 EmbedPress. All rights reserved.
5
+ * @license GPLv2 or later
6
+ * @since 1.7.0
7
+ */
8
+ (function ($) {
9
+ 'use strict';
10
+ $( document ).ready(function() {
11
+ var selector = $('.embedpress-embed-document-pdf');
12
+ if(selector.length){
13
+ selector.each(function(index, value) {
14
+ var $this = $(this),
15
+ id = $this.data('emid'),
16
+ src = $this.data('emsrc');
17
+ PDFObject.embed(src, "."+id);
18
+ });
19
+ }
20
+ });
21
+
22
+ })(jQuery);
assets/js/pdfobject.min.js ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * PDFObject v2.1.1
3
+ * https://github.com/pipwerks/PDFObject
4
+ * @license
5
+ * Copyright (c) 2008-2018 Philip Hutchison
6
+ * MIT-style license: http://pipwerks.mit-license.org/
7
+ * UMD module pattern from https://github.com/umdjs/umd/blob/master/templates/returnExports.js
8
+ */
9
+ !function(root,factory){"function"==typeof define&&define.amd?define([],factory):"object"==typeof module&&module.exports?module.exports=factory():root.PDFObject=factory()}(this,function(){"use strict";if("undefined"==typeof window||"undefined"==typeof navigator)return!1;var supportsPDFs,supportsPdfActiveX,createAXO,buildFragmentString,log,embedError,embed,getTargetElement,generatePDFJSiframe,generateEmbedElement,ua=window.navigator.userAgent,supportsPdfMimeType=void 0!==navigator.mimeTypes&&void 0!==navigator.mimeTypes["application/pdf"],isModernBrowser=void 0!==window.Promise,isFirefoxWithPDFJS=-1!==ua.indexOf("irefox")&&18<parseInt(ua.split("rv:")[1].split(".")[0],10),isIOS=/iphone|ipad|ipod/i.test(ua.toLowerCase());return createAXO=function(type){var ax;try{ax=new ActiveXObject(type)}catch(e){ax=null}return ax},supportsPdfActiveX=function(){return!(!createAXO("AcroPDF.PDF")&&!createAXO("PDF.PdfCtrl"))},supportsPDFs=!isIOS&&(isFirefoxWithPDFJS||supportsPdfMimeType||function(){return!!(window.ActiveXObject||"ActiveXObject"in window)}()&&supportsPdfActiveX()),buildFragmentString=function(pdfParams){var prop,string="";if(pdfParams){for(prop in pdfParams)pdfParams.hasOwnProperty(prop)&&(string+=encodeURIComponent(prop)+"="+encodeURIComponent(pdfParams[prop])+"&");string=string&&(string="#"+string).slice(0,string.length-1)}return string},log=function(msg){"undefined"!=typeof console&&console.log&&console.log("[PDFObject] "+msg)},embedError=function(msg){return log(msg),!1},getTargetElement=function(targetSelector){var targetNode=document.body;return"string"==typeof targetSelector?targetNode=document.querySelector(targetSelector):"undefined"!=typeof jQuery&&targetSelector instanceof jQuery&&targetSelector.length?targetNode=targetSelector.get(0):void 0!==targetSelector.nodeType&&1===targetSelector.nodeType&&(targetNode=targetSelector),targetNode},generatePDFJSiframe=function(targetNode,url,pdfOpenFragment,PDFJS_URL,id){var fullURL=PDFJS_URL+"?file="+encodeURIComponent(url)+pdfOpenFragment,iframe="<div style='"+(isIOS?"-webkit-overflow-scrolling: touch; overflow-y: scroll; ":"overflow: hidden; ")+"position: absolute; top: 0; right: 0; bottom: 0; left: 0;'><iframe "+id+" src='"+fullURL+"' style='border: none; width: 100%; height: 100%;' frameborder='0'></iframe></div>";return targetNode.className+=" pdfobject-container",targetNode.style.position="relative",targetNode.style.overflow="auto",targetNode.innerHTML=iframe,targetNode.getElementsByTagName("iframe")[0]},generateEmbedElement=function(targetNode,targetSelector,url,pdfOpenFragment,width,height,id){var style="";return style=targetSelector&&targetSelector!==document.body?"width: "+width+"; height: "+height+";":"position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%;",targetNode.className+=" pdfobject-container",targetNode.innerHTML="<embed "+id+" class='pdfobject' src='"+url+pdfOpenFragment+"' type='application/pdf' style='overflow: auto; "+style+"'/>",targetNode.getElementsByTagName("embed")[0]},embed=function(url,targetSelector,options){if("string"!=typeof url)return embedError("URL is not valid");targetSelector=void 0!==targetSelector&&targetSelector;var pdfOpenFragment,id=(options=void 0!==options?options:{}).id&&"string"==typeof options.id?"id='"+options.id+"'":"",page=!!options.page&&options.page,pdfOpenParams=options.pdfOpenParams?options.pdfOpenParams:{},fallbackLink=void 0===options.fallbackLink||options.fallbackLink,width=options.width?options.width:"100%",height=options.height?options.height:"100%",assumptionMode="boolean"!=typeof options.assumptionMode||options.assumptionMode,forcePDFJS="boolean"==typeof options.forcePDFJS&&options.forcePDFJS,PDFJS_URL=!!options.PDFJS_URL&&options.PDFJS_URL,targetNode=getTargetElement(targetSelector),fallbackHTML="";return targetNode?(page&&(pdfOpenParams.page=page),pdfOpenFragment=buildFragmentString(pdfOpenParams),forcePDFJS&&PDFJS_URL?generatePDFJSiframe(targetNode,url,pdfOpenFragment,PDFJS_URL,id):supportsPDFs||assumptionMode&&isModernBrowser&&!isIOS?generateEmbedElement(targetNode,targetSelector,url,pdfOpenFragment,width,height,id):PDFJS_URL?generatePDFJSiframe(targetNode,url,pdfOpenFragment,PDFJS_URL,id):(fallbackLink&&(fallbackHTML="string"==typeof fallbackLink?fallbackLink:"<p>This browser does not support inline PDFs. Please download the PDF to view it: <a href='[url]'>Download PDF</a></p>",targetNode.innerHTML=fallbackHTML.replace(/\[url\]/g,url)),embedError("This browser does not support embedded PDFs"))):embedError("Target element cannot be determined")},{embed:function(a,b,c){return embed(a,b,c)},pdfobjectversion:"2.1.1",supportsPDFs:supportsPDFs}});
assets/js/preview.js CHANGED
@@ -544,7 +544,6 @@
544
  // Get the parsed embed code from the EmbedPress plugin
545
  self.getParsedContent(url, function getParsedContentCallback (result) {
546
  var embeddedContent = (typeof result.data === 'object' ? result.data.embed : result.data).stripShortcode($data.EMBEDPRESS_SHORTCODE);
547
-
548
  var $wrapper = $(self.getElementInContentById('embedpress_wrapper_' + uid, editorInstance));
549
  var wrapperParent = $($wrapper.parent());
550
 
@@ -579,7 +578,7 @@
579
  $content.html(embeddedContent);
580
  }
581
 
582
- if (!$('iframe', $content).length) {
583
  var contentWrapper = $($content).clone();
584
  contentWrapper.html('');
585
 
544
  // Get the parsed embed code from the EmbedPress plugin
545
  self.getParsedContent(url, function getParsedContentCallback (result) {
546
  var embeddedContent = (typeof result.data === 'object' ? result.data.embed : result.data).stripShortcode($data.EMBEDPRESS_SHORTCODE);
 
547
  var $wrapper = $(self.getElementInContentById('embedpress_wrapper_' + uid, editorInstance));
548
  var wrapperParent = $($wrapper.parent());
549
 
578
  $content.html(embeddedContent);
579
  }
580
 
581
+ if (!$('iframe', $content).length && result.data.provider_name!=='Infogram') {
582
  var contentWrapper = $($content).clone();
583
  contentWrapper.html('');
584
 
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 all other types of content into your WordPress site with one-click and showcase it beautifully for the visitors. 75+ sources supported.
6
  * Author: WPDeveloper
7
  * Author URI: https://wpdeveloper.net
8
- * Version: 2.5.5
9
  * Text Domain: embedpress
10
  * Domain Path: /languages
11
  *
@@ -65,4 +65,4 @@ if ( ! is_plugin_active('gutenberg/gutenberg.php')) {
65
  if ( is_plugin_active('elementor/elementor.php')) {
66
  $embedPressElements = new \EmbedPress\Elementor\Embedpress_Elementor_Integration();
67
  $embedPressElements->init();
68
- }
2
  /**
3
  * Plugin Name: EmbedPress
4
  * Plugin URI: https://embedpress.com/
5
+ * Description: EmbedPress lets you embed videos, images, posts, audio, maps and uplaoad PDF, DOC, PPT & all other types of content into your WordPress site with one-click and showcase it beautifully for the visitors. 75+ sources supported.
6
  * Author: WPDeveloper
7
  * Author URI: https://wpdeveloper.net
8
+ * Version: 2.6.0
9
  * Text Domain: embedpress
10
  * Domain Path: /languages
11
  *
65
  if ( is_plugin_active('elementor/elementor.php')) {
66
  $embedPressElements = new \EmbedPress\Elementor\Embedpress_Elementor_Integration();
67
  $embedPressElements->init();
68
+ }
includes.php CHANGED
@@ -22,7 +22,7 @@ if ( ! defined('EMBEDPRESS_PLG_NAME')) {
22
  }
23
 
24
  if ( ! defined('EMBEDPRESS_VERSION')) {
25
- define('EMBEDPRESS_VERSION', "2.5.5");
26
  /**
27
  * @deprecated 2.2.0
28
  */
22
  }
23
 
24
  if ( ! defined('EMBEDPRESS_VERSION')) {
25
+ define('EMBEDPRESS_VERSION', "2.6.0");
26
  /**
27
  * @deprecated 2.2.0
28
  */
readme.txt CHANGED
@@ -1,21 +1,21 @@
1
- === EmbedPress – Embed Google Docs, YouTube, Maps, Vimeo, Wistia Videos, Instagram & Anything ===
2
  Contributors: EmbedPress, asif2bd, re_enter_rupok, wpdevteam, manzurahammed
3
  Author: WPDeveloper
4
  Author URI: https://wpdeveloper.net
5
- Tags: embed, embed youtube, gutenberg embed, elementor embed, video embed, Google Doc, map embed, youTube Embed, content embed, iframes, vimeo embed, wistia, google sheet, youtube player, embed wordpress
6
  Requires at least: 4.6
7
- Tested up to: 5.4
8
  Requires PHP: 5.6
9
- Stable tag: 2.5.5
10
  License: GPLv3 or later
11
  License URI: https://opensource.org/licenses/GPL-3.0
12
 
13
- EmbedPress lets you embed videos, images, posts, audio, maps and all other types of content into your WordPress site with one-click and showcase it beautifully for the visitors.
14
 
15
  == Description ==
16
 
17
 
18
- [EmbedPress](https://embedpress.com/) lets you embed videos, images, posts, audio, maps and all other types of content into your WordPress site with one-click and showcase it beautifully for the visitors. Classic Editor, Gutenberg & Elementor all supported.
19
 
20
  https://www.youtube.com/watch?v=fvYKLkEnJbI
21
 
@@ -36,6 +36,12 @@ With EmbedPress, all you need is the URL. Find the URL for your video, image, au
36
  - Images: You can embed Imgur, Giphy and Deviantart images, plus others.
37
 
38
 
 
 
 
 
 
 
39
  #### 🎥YOUTUBE, VIMEO AND WISTIA VIDEOS
40
 
41
  The add-ons for EmbedPress give you far more control over your videos. With these add-ons, your videos will be responsive. You can also customize the video display to match your site’s design. Other features include auto-play and looping. Click the links below to get a full listing of all the features the add-ons provide:
@@ -215,7 +221,7 @@ We’ve seen that EmbedPress supports YouTube, Wistia and Vimeo, but EmbedPress
215
 
216
  ## 🚀BACKED BY A TRUSTED TEAM
217
 
218
- This embed plugin is brought to you by the team behind [WPDeveloper](https://wpdeveloper.net/), a dedicated marketplace for WordPress, trusted by 600,000+ happy users.
219
 
220
  ### 👨‍💻 DOCUMENTATION AND SUPPORT
221
 
@@ -237,7 +243,7 @@ This embed plugin is brought to you by the team behind [WPDeveloper](https://wpd
237
  🔥 WHAT’S NEXT
238
  If you like EmbedPress, then consider checking out our other WordPress Plugins:
239
 
240
- 🔝[Essential Addons For Elementor](https://essential-addons.com/elementor/) – Most popular Elementor extensions with 500,000+ active users in the WordPress repository.
241
 
242
  🔔[NotificationX](https://notificationx.com/) – Best Social Proof & FOMO Marketing Solution to increase conversion rates.
243
 
@@ -289,6 +295,12 @@ Not at all. You can set up everything your team needs without any coding knowled
289
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
290
  and this project adheres to [Semantic Versioning](http://semver.org/).
291
 
 
 
 
 
 
 
292
  = [2.5.5] - 2020-05-19 =
293
  * Enhanched YouTube Playback control in Gutenberg
294
  * Fixed Gutenberg Block Icon
1
+ === EmbedPress – Embed Google Docs, YouTube, Maps, Vimeo, Wistia Videos, Instagram & PDF, PPT etc. ===
2
  Contributors: EmbedPress, asif2bd, re_enter_rupok, wpdevteam, manzurahammed
3
  Author: WPDeveloper
4
  Author URI: https://wpdeveloper.net
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
6
  Requires at least: 4.6
7
+ Tested up to: 5.5
8
  Requires PHP: 5.6
9
+ Stable tag: 2.6.0
10
  License: GPLv3 or later
11
  License URI: https://opensource.org/licenses/GPL-3.0
12
 
13
+ 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.
14
 
15
  == Description ==
16
 
17
 
18
+ [EmbedPress](https://embedpress.com/) 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. Classic Editor, Gutenberg & Elementor all supported.
19
 
20
  https://www.youtube.com/watch?v=fvYKLkEnJbI
21
 
36
  - Images: You can embed Imgur, Giphy and Deviantart images, plus others.
37
 
38
 
39
+ 📄 Upload PDF, DOC, PPT or almost any filetypes, right from WordPress
40
+
41
+ - Supported Filetypes: PDF, PPT (Powerpoint Presentration), DOCS, XLS (Excel Files)
42
+ - Supported Editors: Block Editor (Gutenberg) & Elementor
43
+
44
+
45
  #### 🎥YOUTUBE, VIMEO AND WISTIA VIDEOS
46
 
47
  The add-ons for EmbedPress give you far more control over your videos. With these add-ons, your videos will be responsive. You can also customize the video display to match your site’s design. Other features include auto-play and looping. Click the links below to get a full listing of all the features the add-ons provide:
221
 
222
  ## 🚀BACKED BY A TRUSTED TEAM
223
 
224
+ This embed plugin is brought to you by the team behind [WPDeveloper](https://wpdeveloper.net/), a dedicated marketplace for WordPress, trusted by 800,000+ happy users.
225
 
226
  ### 👨‍💻 DOCUMENTATION AND SUPPORT
227
 
243
  🔥 WHAT’S NEXT
244
  If you like EmbedPress, then consider checking out our other WordPress Plugins:
245
 
246
+ 🔝[Essential Addons For Elementor](https://essential-addons.com/elementor/) – Most popular Elementor extensions with 600,000+ active users in the WordPress repository.
247
 
248
  🔔[NotificationX](https://notificationx.com/) – Best Social Proof & FOMO Marketing Solution to increase conversion rates.
249
 
295
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
296
  and this project adheres to [Semantic Versioning](http://semver.org/).
297
 
298
+ = [2.6.0] - 2020-07-22 =
299
+ * Added Document Blocks for Gutenberg/Block Editor
300
+ * Added Document widget for Elementor
301
+ * Fixed Infogram embed issue
302
+ * Fixed some minor issues
303
+
304
  = [2.5.5] - 2020-05-19 =
305
  * Enhanched YouTube Playback control in Gutenberg
306
  * Fixed Gutenberg Block Icon