Changeset 2430369
- Timestamp:
- 12/02/2020 04:02:12 PM (5 years ago)
- Location:
- shutterstock
- Files:
-
- 148 edited
- 2 copied
-
tags/1.1.1 (copied) (copied from shutterstock/trunk)
-
tags/1.2.0 (copied) (copied from shutterstock/trunk)
-
tags/1.2.0/README.txt (modified) (4 diffs)
-
tags/1.2.0/admin/class-shutterstock-admin.php (modified) (1 diff)
-
tags/1.2.0/includes/class-shutterstock-api.php (modified) (7 diffs)
-
tags/1.2.0/includes/class-shutterstock.php (modified) (1 diff)
-
tags/1.2.0/languages/en.pot (modified) (5 diffs)
-
tags/1.2.0/languages/shutterstock-cs_CZ-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
tags/1.2.0/languages/shutterstock-cs_CZ.mo (modified) (previous)
-
tags/1.2.0/languages/shutterstock-cs_CZ.po (modified) (6 diffs)
-
tags/1.2.0/languages/shutterstock-da_DK-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
tags/1.2.0/languages/shutterstock-da_DK.mo (modified) (previous)
-
tags/1.2.0/languages/shutterstock-da_DK.po (modified) (6 diffs)
-
tags/1.2.0/languages/shutterstock-de_DE-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
tags/1.2.0/languages/shutterstock-de_DE.mo (modified) (previous)
-
tags/1.2.0/languages/shutterstock-de_DE.po (modified) (6 diffs)
-
tags/1.2.0/languages/shutterstock-en_US-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
tags/1.2.0/languages/shutterstock-en_US.mo (modified) (previous)
-
tags/1.2.0/languages/shutterstock-en_US.po (modified) (6 diffs)
-
tags/1.2.0/languages/shutterstock-es_ES-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
tags/1.2.0/languages/shutterstock-es_ES.mo (modified) (previous)
-
tags/1.2.0/languages/shutterstock-es_ES.po (modified) (6 diffs)
-
tags/1.2.0/languages/shutterstock-fi-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
tags/1.2.0/languages/shutterstock-fi.mo (modified) (previous)
-
tags/1.2.0/languages/shutterstock-fi.po (modified) (6 diffs)
-
tags/1.2.0/languages/shutterstock-fr_FR-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
tags/1.2.0/languages/shutterstock-fr_FR.mo (modified) (previous)
-
tags/1.2.0/languages/shutterstock-fr_FR.po (modified) (6 diffs)
-
tags/1.2.0/languages/shutterstock-hu_HU-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
tags/1.2.0/languages/shutterstock-hu_HU.mo (modified) (previous)
-
tags/1.2.0/languages/shutterstock-hu_HU.po (modified) (6 diffs)
-
tags/1.2.0/languages/shutterstock-it_IT-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
tags/1.2.0/languages/shutterstock-it_IT.mo (modified) (previous)
-
tags/1.2.0/languages/shutterstock-it_IT.po (modified) (6 diffs)
-
tags/1.2.0/languages/shutterstock-ja-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
tags/1.2.0/languages/shutterstock-ja.mo (modified) (previous)
-
tags/1.2.0/languages/shutterstock-ja.po (modified) (6 diffs)
-
tags/1.2.0/languages/shutterstock-ko_KR-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
tags/1.2.0/languages/shutterstock-ko_KR.mo (modified) (previous)
-
tags/1.2.0/languages/shutterstock-ko_KR.po (modified) (6 diffs)
-
tags/1.2.0/languages/shutterstock-nb_NO-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
tags/1.2.0/languages/shutterstock-nb_NO.mo (modified) (previous)
-
tags/1.2.0/languages/shutterstock-nb_NO.po (modified) (6 diffs)
-
tags/1.2.0/languages/shutterstock-nl_NL-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
tags/1.2.0/languages/shutterstock-nl_NL.mo (modified) (previous)
-
tags/1.2.0/languages/shutterstock-nl_NL.po (modified) (6 diffs)
-
tags/1.2.0/languages/shutterstock-pl_PL-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
tags/1.2.0/languages/shutterstock-pl_PL.mo (modified) (previous)
-
tags/1.2.0/languages/shutterstock-pl_PL.po (modified) (6 diffs)
-
tags/1.2.0/languages/shutterstock-pt_PT-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
tags/1.2.0/languages/shutterstock-pt_PT.mo (modified) (previous)
-
tags/1.2.0/languages/shutterstock-pt_PT.po (modified) (6 diffs)
-
tags/1.2.0/languages/shutterstock-ru_RU-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
tags/1.2.0/languages/shutterstock-ru_RU.mo (modified) (previous)
-
tags/1.2.0/languages/shutterstock-ru_RU.po (modified) (6 diffs)
-
tags/1.2.0/languages/shutterstock-sv_SE-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
tags/1.2.0/languages/shutterstock-sv_SE.mo (modified) (previous)
-
tags/1.2.0/languages/shutterstock-sv_SE.po (modified) (6 diffs)
-
tags/1.2.0/languages/shutterstock-th-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
tags/1.2.0/languages/shutterstock-th.mo (modified) (previous)
-
tags/1.2.0/languages/shutterstock-th.po (modified) (6 diffs)
-
tags/1.2.0/languages/shutterstock-tr_TR-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
tags/1.2.0/languages/shutterstock-tr_TR.mo (modified) (previous)
-
tags/1.2.0/languages/shutterstock-tr_TR.po (modified) (6 diffs)
-
tags/1.2.0/languages/shutterstock-zh_CN-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
tags/1.2.0/languages/shutterstock-zh_CN.mo (modified) (previous)
-
tags/1.2.0/languages/shutterstock-zh_CN.po (modified) (6 diffs)
-
tags/1.2.0/languages/shutterstock-zh_TW-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
tags/1.2.0/languages/shutterstock-zh_TW.mo (modified) (previous)
-
tags/1.2.0/languages/shutterstock-zh_TW.po (modified) (6 diffs)
-
tags/1.2.0/languages/shutterstock.pot (modified) (7 diffs)
-
tags/1.2.0/public/class-shutterstock-public.php (modified) (2 diffs)
-
tags/1.2.0/public/shutterstock-block/build/index.asset.php (modified) (1 diff)
-
tags/1.2.0/public/shutterstock-block/build/index.css (modified) (2 diffs)
-
tags/1.2.0/public/shutterstock-block/build/index.js (modified) (1 diff)
-
tags/1.2.0/shutterstock.php (modified) (2 diffs)
-
trunk/README.txt (modified) (4 diffs)
-
trunk/admin/class-shutterstock-admin.php (modified) (1 diff)
-
trunk/includes/class-shutterstock-api.php (modified) (7 diffs)
-
trunk/includes/class-shutterstock.php (modified) (1 diff)
-
trunk/languages/en.pot (modified) (5 diffs)
-
trunk/languages/shutterstock-cs_CZ-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
trunk/languages/shutterstock-cs_CZ.mo (modified) (previous)
-
trunk/languages/shutterstock-cs_CZ.po (modified) (6 diffs)
-
trunk/languages/shutterstock-da_DK-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
trunk/languages/shutterstock-da_DK.mo (modified) (previous)
-
trunk/languages/shutterstock-da_DK.po (modified) (6 diffs)
-
trunk/languages/shutterstock-de_DE-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
trunk/languages/shutterstock-de_DE.mo (modified) (previous)
-
trunk/languages/shutterstock-de_DE.po (modified) (6 diffs)
-
trunk/languages/shutterstock-en_US-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
trunk/languages/shutterstock-en_US.mo (modified) (previous)
-
trunk/languages/shutterstock-en_US.po (modified) (6 diffs)
-
trunk/languages/shutterstock-es_ES-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
trunk/languages/shutterstock-es_ES.mo (modified) (previous)
-
trunk/languages/shutterstock-es_ES.po (modified) (6 diffs)
-
trunk/languages/shutterstock-fi-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
trunk/languages/shutterstock-fi.mo (modified) (previous)
-
trunk/languages/shutterstock-fi.po (modified) (6 diffs)
-
trunk/languages/shutterstock-fr_FR-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
trunk/languages/shutterstock-fr_FR.mo (modified) (previous)
-
trunk/languages/shutterstock-fr_FR.po (modified) (6 diffs)
-
trunk/languages/shutterstock-hu_HU-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
trunk/languages/shutterstock-hu_HU.mo (modified) (previous)
-
trunk/languages/shutterstock-hu_HU.po (modified) (6 diffs)
-
trunk/languages/shutterstock-it_IT-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
trunk/languages/shutterstock-it_IT.mo (modified) (previous)
-
trunk/languages/shutterstock-it_IT.po (modified) (6 diffs)
-
trunk/languages/shutterstock-ja-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
trunk/languages/shutterstock-ja.mo (modified) (previous)
-
trunk/languages/shutterstock-ja.po (modified) (6 diffs)
-
trunk/languages/shutterstock-ko_KR-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
trunk/languages/shutterstock-ko_KR.mo (modified) (previous)
-
trunk/languages/shutterstock-ko_KR.po (modified) (6 diffs)
-
trunk/languages/shutterstock-nb_NO-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
trunk/languages/shutterstock-nb_NO.mo (modified) (previous)
-
trunk/languages/shutterstock-nb_NO.po (modified) (6 diffs)
-
trunk/languages/shutterstock-nl_NL-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
trunk/languages/shutterstock-nl_NL.mo (modified) (previous)
-
trunk/languages/shutterstock-nl_NL.po (modified) (6 diffs)
-
trunk/languages/shutterstock-pl_PL-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
trunk/languages/shutterstock-pl_PL.mo (modified) (previous)
-
trunk/languages/shutterstock-pl_PL.po (modified) (6 diffs)
-
trunk/languages/shutterstock-pt_PT-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
trunk/languages/shutterstock-pt_PT.mo (modified) (previous)
-
trunk/languages/shutterstock-pt_PT.po (modified) (6 diffs)
-
trunk/languages/shutterstock-ru_RU-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
trunk/languages/shutterstock-ru_RU.mo (modified) (previous)
-
trunk/languages/shutterstock-ru_RU.po (modified) (6 diffs)
-
trunk/languages/shutterstock-sv_SE-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
trunk/languages/shutterstock-sv_SE.mo (modified) (previous)
-
trunk/languages/shutterstock-sv_SE.po (modified) (6 diffs)
-
trunk/languages/shutterstock-th-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
trunk/languages/shutterstock-th.mo (modified) (previous)
-
trunk/languages/shutterstock-th.po (modified) (6 diffs)
-
trunk/languages/shutterstock-tr_TR-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
trunk/languages/shutterstock-tr_TR.mo (modified) (previous)
-
trunk/languages/shutterstock-tr_TR.po (modified) (6 diffs)
-
trunk/languages/shutterstock-zh_CN-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
trunk/languages/shutterstock-zh_CN.mo (modified) (previous)
-
trunk/languages/shutterstock-zh_CN.po (modified) (6 diffs)
-
trunk/languages/shutterstock-zh_TW-60365ba5a8034013c8bbce2fd3399407.json (modified) (3 diffs)
-
trunk/languages/shutterstock-zh_TW.mo (modified) (previous)
-
trunk/languages/shutterstock-zh_TW.po (modified) (6 diffs)
-
trunk/languages/shutterstock.pot (modified) (7 diffs)
-
trunk/public/class-shutterstock-public.php (modified) (2 diffs)
-
trunk/public/shutterstock-block/build/index.asset.php (modified) (1 diff)
-
trunk/public/shutterstock-block/build/index.css (modified) (2 diffs)
-
trunk/public/shutterstock-block/build/index.js (modified) (1 diff)
-
trunk/shutterstock.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
shutterstock/tags/1.2.0/README.txt
r2419544 r2430369 3 3 Tags: shutterstock, stock photography, images, editorial images, licensing, media library, stock 4 4 Requires at least: 5.5 5 Tested up to: 5. 56 Stable tag: 1. 1.15 Tested up to: 5.6 6 Stable tag: 1.2.0 7 7 Requires PHP: 7.1 8 8 License: MIT … … 26 26 Love how it looks? License the content and use it directly within your posts and pages. 27 27 28 By default, WordPress sites have access to a limited library of Shutterstock media. **To connect the WordPress plugin to your existing subscription or access our full collection, fill out the form at [https://www.shutterstock.com/design/plugins-wordpress](https://www.shutterstock.com/design/plugins-wordpress).** 29 28 30 This plugin uses the Shutterstock API. For more information, see [https://developers.shutterstock.com](https://developers.shutterstock.com). 29 31 … … 35 37 36 38 **Prerequisites** 39 40 By default, WordPress sites have access to a limited library of Shutterstock media. **To connect the WordPress plugin to your existing subscription or access our full collection, fill out the form at https://www.shutterstock.com/design/plugins-wordpress.** 37 41 38 42 To install the Shutterstock plugin for WordPress, you need an API application for the Shutterstock API. You can create an application at [https://www.shutterstock.com/account/developers/apps](https://www.shutterstock.com/account/developers/apps). … … 98 102 99 103 == Changelog == 104 = 1.2.0 = 105 Introduced smart image recommendations and license history with re-download functionality 106 100 107 = 1.1.1 = 101 108 Add translations -
shutterstock/tags/1.2.0/admin/class-shutterstock-admin.php
r2419544 r2430369 474 474 475 475 if (!wp_verify_nonce( $nonce, 'generate-token')) { 476 die( esc_html_e( 'Security check', 'textdomain') );476 die( esc_html_e('Security error.') ); 477 477 } else { 478 478 $code = isset($_REQUEST['code']) ? sanitize_text_field($_REQUEST['code']) : ''; -
shutterstock/tags/1.2.0/includes/class-shutterstock-api.php
r2418129 r2430369 5 5 private $api_url = 'https://api.shutterstock.com/v2'; 6 6 7 public function __construct($shutterstock, $version) {7 public function __construct($shutterstock, $version) { 8 8 $this->shutterstock = $shutterstock; 9 9 $this->version = $version; … … 18 18 )); 19 19 20 register_rest_route($this->shutterstock, '/images/(?P<id>\ w+)', array(20 register_rest_route($this->shutterstock, '/images/(?P<id>\d+[a-zA-z]*)', array( 21 21 'methods' => 'GET', 22 22 'callback' => array($this, 'get_image_details'), … … 36 36 )); 37 37 38 register_rest_route($this->shutterstock, '/images/licenses', array( 39 'methods' => 'GET', 40 'callback' => array($this, 'get_list_image_licenses'), 41 'permission_callback' => array($this, 'get_permissions_check'), 42 )); 43 44 register_rest_route($this->shutterstock, '/images/licenses/(?P<id>\w+)/downloads', array( 45 'methods' => 'POST', 46 'callback' => array($this, 'redownload_image'), 47 'permission_callback' => array($this, 'get_permissions_check'), 48 )); 49 38 50 } 39 51 } 40 52 41 public function get_subscriptions($request) {53 public function get_subscriptions($request) { 42 54 $parameters = $request->get_params(); 43 55 $media_type = sanitize_text_field($parameters['mediaType']); … … 84 96 ); 85 97 86 return wp_send_json($filtered_subscriptions, $response['response_code']);98 return new WP_REST_Response($filtered_subscriptions, $response['response_code']); 87 99 } 88 100 89 public function get_image_details($request) {90 $image_id = sanitize_text_field($request['id']); 91 $parameters = $request->get_params(); 101 public function get_image_details($request) { 102 $image_id = sanitize_text_field($request['id']); 103 $parameters = $request->get_params(); 92 104 $media_type = sanitize_text_field($parameters['mediaType']); 93 105 $is_editorial = $media_type === 'editorial'; 94 106 $country = $this->get_editorial_country(); 95 96 107 $image_details_route = $is_editorial 97 108 ? $this->api_url. '/editorial/'. $image_id . '?view=full&country=' . $country 98 109 : $this->api_url. '/images/'. $image_id . '?view=full'; 99 100 110 $response = $this->do_api_get_request($image_details_route); 101 102 111 $decoded_response_body = json_decode($response['response_body'], true); 103 112 104 return wp_send_json($decoded_response_body, $response['response_code']);113 return new WP_REST_Response($decoded_response_body, $response['response_code']); 105 114 } 106 115 … … 114 123 $decoded_response_body = json_decode($response['response_body'], true); 115 124 116 return wp_send_json($decoded_response_body, $response['response_code']); 125 return new WP_REST_Response($decoded_response_body, $response['response_code']); 126 } 127 128 public function get_list_image_licenses($request) { 129 $parameters = $request->get_params(); 130 $page = isset($parameters['page']) ? sanitize_text_field($parameters['page']) : 1; 131 $per_page = isset($parameters['per_page']) ? sanitize_text_field($parameters['per_page']) : 20; 132 $list_image_licenses_route = $this->api_url. '/images/licenses?per_page='. $per_page .'&page=' . $page; 133 134 $response = $this->do_api_get_request($list_image_licenses_route); 135 136 $decoded_response_body = json_decode($response['response_body'], true); 137 138 return new WP_REST_Response($decoded_response_body, $response['response_code']); 117 139 } 118 140 … … 231 253 } 232 254 255 public function redownload_image($request) { 256 $license_id = sanitize_text_field($request['id']); 257 $req_body = json_decode($request->get_body(), true); 258 $size = sanitize_text_field($req_body['size']); 259 260 $image_id = sanitize_text_field($req_body['imageId']); 261 $image_description = sanitize_text_field($req_body['description']); 262 $contributor_name = sanitize_text_field($req_body['contributorName']); 263 $media_type = sanitize_text_field($req_body['mediaType']); 264 265 $width = sanitize_text_field($req_body['width']); 266 $height = sanitize_text_field($req_body['height']); 267 268 $redownload_url = $this->api_url. '/images/licenses/'. $license_id . '/downloads'; 269 $token = $this->get_api_token(); 270 271 $body = [ 272 "size" => $size, 273 ]; 274 275 $args = [ 276 'headers' => [ 277 'Authorization' => 'Bearer ' . $token, 278 'Content-Type' => 'application/json; charset=utf-8', 279 'x-shutterstock-application' => 'Wordpress/'. $this->version, 280 ], 281 'body' => wp_json_encode($body), 282 'data_format' => 'body', 283 ]; 284 285 $response = wp_remote_post($redownload_url, $args); 286 $response_code = wp_remote_retrieve_response_code($response); 287 $response_body = wp_remote_retrieve_body($response); 288 $decoded_body = json_decode($response_body, true); 289 290 $success_error = isset($decoded_body['data'][0]['error']); 291 292 if ($response_code !== 200 || $success_error || isset($decoded_body['errors'])) { 293 $error = $decoded_body; 294 295 // return 200 even if some error occurs. This type of error response returned by editorial. 296 if ($success_error) { 297 $error = $decoded_body['data'][0]; 298 $error['message'] = $decoded_body['data'][0]['error']; 299 } 300 301 return wp_send_json_error($error, $response_code); 302 } 303 304 $download_url = $decoded_body['url']; 305 306 $filename = 'shutterstock-'. $image_id. '-' .$size. '-redownloaded.jpg'; 307 308 $post_description = 'Shutterstock ID: '. $image_id . ', Photographer: '. $contributor_name; 309 310 $uploaded_image_url = $this->download_upload_image_to_media_library( 311 $download_url, 312 $filename, 313 $size, 314 $image_description, 315 $image_id, 316 $post_description, 317 $width, 318 $height 319 ); 320 321 return wp_send_json_success($uploaded_image_url, $response_code); 322 323 } 324 233 325 private function download_upload_image_to_media_library($download_url, $filename, $size, $title, $image_id, $post_description, $width, $height) { 234 326 $response = ''; … … 322 414 if ($request_type === 'GET') { 323 415 $parameters = $request->get_params(); 324 $media_type = sanitize_text_field($parameters['mediaType']);416 $media_type = isset($parameters['mediaType']) ? sanitize_text_field($parameters['mediaType']) : 'images'; 325 417 } else if ($request_type === 'POST') { 326 418 $req_body = json_decode($request->get_body(), true); 327 $media_type = sanitize_text_field($req_body['mediaType']);419 $media_type = isset($req_body['mediaType']) ? sanitize_text_field($req_body['mediaType']) : 'images'; 328 420 } 329 421 -
shutterstock/tags/1.2.0/includes/class-shutterstock.php
r2419544 r2430369 71 71 $this->version = SHUTTERSTOCK_VERSION; 72 72 } else { 73 $this->version = '1. 1.1';73 $this->version = '1.2.0'; 74 74 } 75 75 $this->shutterstock = 'shutterstock'; -
shutterstock/tags/1.2.0/languages/en.pot
r2419555 r2430369 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Shutterstock 1.1. 0\n"5 "Project-Id-Version: Shutterstock 1.1.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/shutterstock\n" 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 8 "Language-Team: LANGUAGE <LL@li.org>\n" 7 9 "MIME-Version: 1.0\n" 8 10 "Content-Type: text/plain; charset=UTF-8\n" 9 11 "Content-Transfer-Encoding: 8bit\n" 10 "POT-Creation-Date: 2020-1 0-29T12:53:51+00:00\n"12 "POT-Creation-Date: 2020-11-20T15:02:27+00:00\n" 11 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 12 14 "X-Generator: WP-CLI 2.4.0\n" … … 20 22 #. Description of the plugin 21 23 msgid "wordpress:plugin_description" 22 msgstr " The Shutterstock plugin takes the complexity out of creativity. Save time, whether you're creating a draft or publishing a full article."24 msgstr "Access exceptional, royalty-free content straight from WordPress." 23 25 24 26 #: admin/class-shutterstock-admin.php:191 … … 104 106 105 107 #: public/shutterstock-block/build/index.js:1 108 msgid "wordpress:downloading_image" 109 msgstr "Downloading image. Please wait." 110 111 #: public/shutterstock-block/build/index.js:1 106 112 msgid "wordpress:text_something_went_wrong" 107 113 msgstr "Something went wrong. Please try again." … … 124 130 125 131 #: public/shutterstock-block/build/index.js:1 132 msgid "wordpress:text_dowbload_and_insert" 133 msgstr "Download and Insert" 134 135 #: public/shutterstock-block/build/index.js:1 126 136 msgid "wordpress:text_add_shuttersock_content_to_post" 127 137 msgstr "Add Shutterstock content to your post" … … 140 150 141 151 #: public/shutterstock-block/build/index.js:1 152 msgid "wordpress:text_home" 153 msgstr "Home" 154 155 #: public/shutterstock-block/build/index.js:1 156 msgid "wordpress:text_downloads" 157 msgstr "Downloads" 158 159 #: public/shutterstock-block/build/index.js:1 142 160 msgid "wordpress:text_license_this_image" 143 161 msgstr "License this image" -
shutterstock/tags/1.2.0/languages/shutterstock-cs_CZ-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.273Z",2 "translation-revision-date": "2020-11-27T12:15:24.276Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "Prob\u00edh\u00e1 stahov\u00e1n\u00ed sn\u00edmku. \u010cekejte pros\u00edm." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "P\u0159idejte obsah slu\u017eby Shutterstock k va\u0161emu p\u0159\u00edsp\u011bvku" … … 23 26 "Proch\u00e1zet" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "St\u00e1hnout a\u00a0vlo\u017eit" 30 ], 31 "wordpress:text_downloads": [ 32 "Sta\u017een\u00ed" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Redak\u010dn\u00ed" 36 ], 37 "wordpress:text_home": [ 38 "Dom\u016f" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/tags/1.2.0/languages/shutterstock-cs_CZ.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.273Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.273Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.276Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.276Z\n" 11 11 "Language: cs_CZ\n" 12 12 … … 14 14 msgid "wordpress:connected" 15 15 msgstr "Připojeno" 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Probíhá stahování snímku. Čekejte prosím." 16 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 … … 21 25 msgid "wordpress:plugin_description" 22 26 msgstr "" 23 " Plugin Shutterstock z tvůrčího procesu odstraňuje složitost. Ušetřete čas,"24 " ať už tvoříte návrh, nebo publikujete celý článek."27 "Získejte přístup k výjimečnému obsahu bez autorských poplatků přímo ze " 28 "služby WordPress." 25 29 26 30 msgid "wordpress:plugin_title" … … 70 74 71 75 #: public/shutterstock-block/build/index.js:1 76 msgid "wordpress:text_dowbload_and_insert" 77 msgstr "Stáhnout a vložit" 78 79 #: public/shutterstock-block/build/index.js:1 80 msgid "wordpress:text_downloads" 81 msgstr "Stažení" 82 83 #: public/shutterstock-block/build/index.js:1 72 84 msgid "wordpress:text_editorial" 73 85 msgstr "Redakční" … … 82 94 "Zobrazit pouze redakční obsah, který je dostupný pro distribuci v určité " 83 95 "zemi (třímístný (ISO 3166 Alpha-3) kód země)." 96 97 #: public/shutterstock-block/build/index.js:1 98 msgid "wordpress:text_home" 99 msgstr "Domů" 84 100 85 101 #: public/shutterstock-block/build/index.js:1 -
shutterstock/tags/1.2.0/languages/shutterstock-da_DK-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.279Z",2 "translation-revision-date": "2020-11-27T12:15:24.282Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "Henter billede. Vent et \u00f8jeblik." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "Tilf\u00f8j Shutterstock-indhold til din postering" … … 23 26 "Gennemse" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "Download og inds\u00e6t" 30 ], 31 "wordpress:text_downloads": [ 32 "Downloads" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Redaktionel" 36 ], 37 "wordpress:text_home": [ 38 "Hjem" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/tags/1.2.0/languages/shutterstock-da_DK.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=2; plural=(n != 1)\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.279Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.279Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.282Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.282Z\n" 11 11 "Language: da_DK\n" 12 12 … … 15 15 msgstr "Forbindelse" 16 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Henter billede. Vent et øjeblik." 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 18 22 msgid "wordpress:logging_out" … … 20 24 21 25 msgid "wordpress:plugin_description" 22 msgstr "" 23 "Shutterstocks plugin gør det nemt at være kreativ. Spar tid, hvad enten du " 24 "tegner en skitse eller publicerer en hel artikel." 26 msgstr "Få adgang til ekstraordinært, royaltyfrit indhold direkte fra WordPress." 25 27 26 28 msgid "wordpress:plugin_title" … … 70 72 71 73 #: public/shutterstock-block/build/index.js:1 74 msgid "wordpress:text_dowbload_and_insert" 75 msgstr "Download og indsæt" 76 77 #: public/shutterstock-block/build/index.js:1 78 msgid "wordpress:text_downloads" 79 msgstr "Downloads" 80 81 #: public/shutterstock-block/build/index.js:1 72 82 msgid "wordpress:text_editorial" 73 83 msgstr "Redaktionel" … … 82 92 "Vis kun redaktionelt indhold, der er tilgængeligt til distribution i et " 83 93 "bestemt land (en tre bogstavs-landekode, ISO 3166 Alpha-3)." 94 95 #: public/shutterstock-block/build/index.js:1 96 msgid "wordpress:text_home" 97 msgstr "Hjem" 84 98 85 99 #: public/shutterstock-block/build/index.js:1 -
shutterstock/tags/1.2.0/languages/shutterstock-de_DE-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.281Z",2 "translation-revision-date": "2020-11-27T12:15:24.284Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "Bild wird heruntergeladen. Bitte warten." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "Shutterstock Inhalte zu Ihrem Beitrag hinzuf\u00fcgen" … … 23 26 "Durchsuchen" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "Herunterladen und Einf\u00fcgen" 30 ], 31 "wordpress:text_downloads": [ 32 "Downloads" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Redaktionell" 36 ], 37 "wordpress:text_home": [ 38 "Startseite" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/tags/1.2.0/languages/shutterstock-de_DE.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=2; plural=(n != 1)\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.281Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.281Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.284Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.284Z\n" 11 11 "Language: de_DE\n" 12 12 … … 15 15 msgstr "Verbunden" 16 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Bild wird heruntergeladen. Bitte warten." 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 18 22 msgid "wordpress:logging_out" … … 20 24 21 25 msgid "wordpress:plugin_description" 22 msgstr "" 23 "Mit dem Shutterstock Plug-in wird Kreativität ganz einfach. Sparen Sie Zeit " 24 "– sei es beim Erstellen eines Entwurfs oder beim Veröffentlichen eines " 25 "ganzen Artikels." 26 msgstr "Sichern Sie sich Zugang zu erstklassigen, lizenzfreien WordPress-Inhalten." 26 27 27 28 msgid "wordpress:plugin_title" … … 73 74 74 75 #: public/shutterstock-block/build/index.js:1 76 msgid "wordpress:text_dowbload_and_insert" 77 msgstr "Herunterladen und Einfügen" 78 79 #: public/shutterstock-block/build/index.js:1 80 msgid "wordpress:text_downloads" 81 msgstr "Downloads" 82 83 #: public/shutterstock-block/build/index.js:1 75 84 msgid "wordpress:text_editorial" 76 85 msgstr "Redaktionell" … … 86 95 "(dreistelliger Ländercode gemäß ISO 3166 Alpha-3) für den Vertrieb " 87 96 "verfügbar sind." 97 98 #: public/shutterstock-block/build/index.js:1 99 msgid "wordpress:text_home" 100 msgstr "Startseite" 88 101 89 102 #: public/shutterstock-block/build/index.js:1 -
shutterstock/tags/1.2.0/languages/shutterstock-en_US-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.283Z",2 "translation-revision-date": "2020-11-27T12:15:24.286Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "Downloading image. Please wait." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "Add Shutterstock content to your post" … … 23 26 "Browse" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "Download and Insert" 30 ], 31 "wordpress:text_downloads": [ 32 "Downloads" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Editorial" 36 ], 37 "wordpress:text_home": [ 38 "Home" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/tags/1.2.0/languages/shutterstock-en_US.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=2; plural=(n != 1)\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.283Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.283Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.286Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.286Z\n" 11 11 "Language: en_US\n" 12 12 … … 15 15 msgstr "Connected" 16 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Downloading image. Please wait." 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 18 22 msgid "wordpress:logging_out" … … 20 24 21 25 msgid "wordpress:plugin_description" 22 msgstr "" 23 "The Shutterstock plugin takes the complexity out of creativity. Save time, " 24 "whether you're creating a draft or publishing a full article." 26 msgstr "Access exceptional, royalty-free content straight from WordPress." 25 27 26 28 msgid "wordpress:plugin_title" … … 70 72 71 73 #: public/shutterstock-block/build/index.js:1 74 msgid "wordpress:text_dowbload_and_insert" 75 msgstr "Download and Insert" 76 77 #: public/shutterstock-block/build/index.js:1 78 msgid "wordpress:text_downloads" 79 msgstr "Downloads" 80 81 #: public/shutterstock-block/build/index.js:1 72 82 msgid "wordpress:text_editorial" 73 83 msgstr "Editorial" … … 82 92 "Show only editorial content that is available for distribution in a certain " 83 93 "country (A three-character (ISO 3166 Alpha-3) country code)." 94 95 #: public/shutterstock-block/build/index.js:1 96 msgid "wordpress:text_home" 97 msgstr "Home" 84 98 85 99 #: public/shutterstock-block/build/index.js:1 -
shutterstock/tags/1.2.0/languages/shutterstock-es_ES-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.284Z",2 "translation-revision-date": "2020-11-27T12:15:24.289Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "Descargando imagen. Espere un momento." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "A\u00f1adir contenido de Shutterstock a la publicaci\u00f3n" … … 23 26 "Explorar" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "Descargar e insertar" 30 ], 31 "wordpress:text_downloads": [ 32 "Descargas" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Editorial" 36 ], 37 "wordpress:text_home": [ 38 "Inicio" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/tags/1.2.0/languages/shutterstock-es_ES.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=2; plural=(n != 1)\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.284Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.284Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.289Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.289Z\n" 11 11 "Language: es_ES\n" 12 12 … … 14 14 msgid "wordpress:connected" 15 15 msgstr "Conectado" 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Descargando imagen. Espere un momento." 16 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 … … 21 25 msgid "wordpress:plugin_description" 22 26 msgstr "" 23 "El complemento de Shutterstock elimina la complejidad en el momento de la " 24 "creatividad. Ahorre tiempo, ya sea al crear un borrador o al publicar un " 25 "artículo completo." 27 "Acceda a contenidos excepcionales y libres de regalías directamente de " 28 "WordPress." 26 29 27 30 msgid "wordpress:plugin_title" … … 71 74 72 75 #: public/shutterstock-block/build/index.js:1 76 msgid "wordpress:text_dowbload_and_insert" 77 msgstr "Descargar e insertar" 78 79 #: public/shutterstock-block/build/index.js:1 80 msgid "wordpress:text_downloads" 81 msgstr "Descargas" 82 83 #: public/shutterstock-block/build/index.js:1 73 84 msgid "wordpress:text_editorial" 74 85 msgstr "Editorial" … … 83 94 "Vea solo contenido editorial que esté disponible para distribución en un " 84 95 "país específico. El código de país tiene tres caracteres (ISO 3166 Alpha-3)." 96 97 #: public/shutterstock-block/build/index.js:1 98 msgid "wordpress:text_home" 99 msgstr "Inicio" 85 100 86 101 #: public/shutterstock-block/build/index.js:1 -
shutterstock/tags/1.2.0/languages/shutterstock-fi-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.300Z",2 "translation-revision-date": "2020-11-27T12:15:24.304Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "Ladataan kuvaa. Odota." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "Lis\u00e4\u00e4 Shutterstock-sis\u00e4lt\u00f6\u00e4 julkaisuusi" … … 23 26 "Selaa" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "Lataa ja lis\u00e4\u00e4" 30 ], 31 "wordpress:text_downloads": [ 32 "Lataukset" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Toimituksellinen sis\u00e4lt\u00f6" 36 ], 37 "wordpress:text_home": [ 38 "Etusivu" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/tags/1.2.0/languages/shutterstock-fi.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=2; plural=(n != 1)\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.300Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.300Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.304Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.304Z\n" 11 11 "Language: fi\n" 12 12 … … 14 14 msgid "wordpress:connected" 15 15 msgstr "Yhdistetty" 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Ladataan kuvaa. Odota." 16 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 … … 21 25 msgid "wordpress:plugin_description" 22 26 msgstr "" 23 " Shutterstock-liitännäinen poistaa monimutkaisuuden luovuudesta. Säästä"24 " aikaa luonnoksen tekemisessä tai täyden artikkelin julkaisemisessa."27 "Pääset käsiksi poikkeukselliseen, rojaltivapaaseen sisältöön suoraan " 28 "WordPressistä." 25 29 26 30 msgid "wordpress:plugin_title" … … 70 74 71 75 #: public/shutterstock-block/build/index.js:1 76 msgid "wordpress:text_dowbload_and_insert" 77 msgstr "Lataa ja lisää" 78 79 #: public/shutterstock-block/build/index.js:1 80 msgid "wordpress:text_downloads" 81 msgstr "Lataukset" 82 83 #: public/shutterstock-block/build/index.js:1 72 84 msgid "wordpress:text_editorial" 73 85 msgstr "Toimituksellinen sisältö" … … 82 94 "Näytä vain toimituksellinen sisältö, joka on saatavilla jaettavaksi " 83 95 "tietyissä maissa (kolmimerkkinen (ISO 3166 Alpha-3) maakoodi)." 96 97 #: public/shutterstock-block/build/index.js:1 98 msgid "wordpress:text_home" 99 msgstr "Etusivu" 84 100 85 101 #: public/shutterstock-block/build/index.js:1 -
shutterstock/tags/1.2.0/languages/shutterstock-fr_FR-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.287Z",2 "translation-revision-date": "2020-11-27T12:15:24.291Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "T\u00e9l\u00e9chargement de l\u2019image en cours. Veuillez patienter." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "Ajouter du contenu Shutterstock \u00e0 votre publication" … … 23 26 "Parcourir" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "T\u00e9l\u00e9charger et ins\u00e9rer" 30 ], 31 "wordpress:text_downloads": [ 32 "T\u00e9l\u00e9chargements" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "\u00c9ditorial" 36 ], 37 "wordpress:text_home": [ 38 "Accueil" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/tags/1.2.0/languages/shutterstock-fr_FR.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=2; plural=(n > 1)\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.287Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.287Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.291Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.291Z\n" 11 11 "Language: fr_FR\n" 12 12 … … 14 14 msgid "wordpress:connected" 15 15 msgstr "Connecté" 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Téléchargement de l’image en cours. Veuillez patienter." 16 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 … … 21 25 msgid "wordpress:plugin_description" 22 26 msgstr "" 23 "Avec le module d'extension Shutterstock, optez pour la créativité sans " 24 "complexité. Gagnez du temps à tous les niveaux, que ce soit pour créer une " 25 "ébauche ou pour publier un article complet." 27 "Accédez, directement dans WordPress, à des contenus libres de droits " 28 "exceptionnels." 26 29 27 30 msgid "wordpress:plugin_title" … … 73 76 74 77 #: public/shutterstock-block/build/index.js:1 78 msgid "wordpress:text_dowbload_and_insert" 79 msgstr "Télécharger et insérer" 80 81 #: public/shutterstock-block/build/index.js:1 82 msgid "wordpress:text_downloads" 83 msgstr "Téléchargements" 84 85 #: public/shutterstock-block/build/index.js:1 75 86 msgid "wordpress:text_editorial" 76 87 msgstr "Éditorial" … … 86 97 "possible dans un certain pays (code pays ISO 3166-1 alpha-3 à trois " 87 98 "caractères)." 99 100 #: public/shutterstock-block/build/index.js:1 101 msgid "wordpress:text_home" 102 msgstr "Accueil" 88 103 89 104 #: public/shutterstock-block/build/index.js:1 -
shutterstock/tags/1.2.0/languages/shutterstock-hu_HU-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.290Z",2 "translation-revision-date": "2020-11-27T12:15:24.295Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "K\u00e9pek let\u00f6lt\u00e9se folyamatban. Kis t\u00fcrelmet." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "Adjon Shutterstock-tartalmakat a bejegyz\u00e9s\u00e9hez." … … 23 26 "B\u00f6ng\u00e9sz\u00e9s" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "Let\u00f6lt\u00e9s \u00e9s beilleszt\u00e9s" 30 ], 31 "wordpress:text_downloads": [ 32 "Let\u00f6lt\u00e9sek" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Szerkeszt\u0151i" 36 ], 37 "wordpress:text_home": [ 38 "Kezd\u0151lap" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/tags/1.2.0/languages/shutterstock-hu_HU.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=2; plural=(n != 1)\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.290Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.290Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.295Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.295Z\n" 11 11 "Language: hu_HU\n" 12 12 … … 14 14 msgid "wordpress:connected" 15 15 msgstr "Kapcsolatban" 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Képek letöltése folyamatban. Kis türelmet." 16 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 … … 21 25 msgid "wordpress:plugin_description" 22 26 msgstr "" 23 "A Shutterstock-modulnak köszönhetően a kreativitással nem jár többé " 24 "komplikáció. Időt takaríthat meg, legyen szó vázlatok készítéséről vagy " 25 "teljes cikk közzétételéről." 27 "Kiemelkedő jogdíjmentes tartalmakhoz férhet hozzá, közvetlenül a WordPress " 28 "felületéről." 26 29 27 30 msgid "wordpress:plugin_title" … … 73 76 74 77 #: public/shutterstock-block/build/index.js:1 78 msgid "wordpress:text_dowbload_and_insert" 79 msgstr "Letöltés és beillesztés" 80 81 #: public/shutterstock-block/build/index.js:1 82 msgid "wordpress:text_downloads" 83 msgstr "Letöltések" 84 85 #: public/shutterstock-block/build/index.js:1 75 86 msgid "wordpress:text_editorial" 76 87 msgstr "Szerkesztői" … … 85 96 "Csak egy adott országban (ISO 3166 Alpha-3 szerinti háromkarakteres " 86 97 "országkód) való terjesztésre elérhető szerkesztői tartalmak megjelenítése." 98 99 #: public/shutterstock-block/build/index.js:1 100 msgid "wordpress:text_home" 101 msgstr "Kezdőlap" 87 102 88 103 #: public/shutterstock-block/build/index.js:1 -
shutterstock/tags/1.2.0/languages/shutterstock-it_IT-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.289Z",2 "translation-revision-date": "2020-11-27T12:15:24.293Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "Download dell'immagine in corso. Attendi." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "Aggiungi contenuti di Shutterstock al tuo post" … … 23 26 "Sfoglia" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "Scarica e inserisci" 30 ], 31 "wordpress:text_downloads": [ 32 "Download" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Contenuti editoriali" 36 ], 37 "wordpress:text_home": [ 38 "Home" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/tags/1.2.0/languages/shutterstock-it_IT.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=2; plural=(n != 1)\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.289Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.289Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.293Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.293Z\n" 11 11 "Language: it_IT\n" 12 12 … … 15 15 msgstr "Connesso" 16 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Download dell'immagine in corso. Attendi." 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 18 22 msgid "wordpress:logging_out" … … 20 24 21 25 msgid "wordpress:plugin_description" 22 msgstr "" 23 "Il plugin di Shutterstock facilita il processo creativo. Risparmia tempo, " 24 "che tu stia creando una bozza o pubblicando un articolo completo." 26 msgstr "Accedi a contenuti royalty free eccezionali direttamente da WordPress." 25 27 26 28 msgid "wordpress:plugin_title" … … 70 72 71 73 #: public/shutterstock-block/build/index.js:1 74 msgid "wordpress:text_dowbload_and_insert" 75 msgstr "Scarica e inserisci" 76 77 #: public/shutterstock-block/build/index.js:1 78 msgid "wordpress:text_downloads" 79 msgstr "Download" 80 81 #: public/shutterstock-block/build/index.js:1 72 82 msgid "wordpress:text_editorial" 73 83 msgstr "Contenuti editoriali" … … 82 92 "Mostra solo i contenuti editoriali disponibili per la distribuzione in un " 83 93 "determinato paese (codice paese a tre caratteri (ISO 3166 alfa-3))." 94 95 #: public/shutterstock-block/build/index.js:1 96 msgid "wordpress:text_home" 97 msgstr "Home" 84 98 85 99 #: public/shutterstock-block/build/index.js:1 -
shutterstock/tags/1.2.0/languages/shutterstock-ja-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.311Z",2 "translation-revision-date": "2020-11-27T12:15:24.316Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "\u753b\u50cf\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u3044\u307e\u3059\u3002\u3057\u3070\u3089\u304f\u304a\u5f85\u3061\u304f\u3060\u3055\u3044\u3002" 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "Shutterstock\u306e\u7d20\u6750\u3092\u3042\u306a\u305f\u306e\u6295\u7a3f\u306b\u8ffd\u52a0\u3057\u307e\u3059" … … 23 26 "\u95b2\u89a7" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u633f\u5165" 30 ], 31 "wordpress:text_downloads": [ 32 "\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "\u30a8\u30c7\u30a3\u30c8\u30ea\u30a2\u30eb" 36 ], 37 "wordpress:text_home": [ 38 "\u30db\u30fc\u30e0" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/tags/1.2.0/languages/shutterstock-ja.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=1; plural=0\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.311Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.311Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.316Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.316Z\n" 11 11 "Language: ja\n" 12 12 … … 15 15 msgstr "接続済み" 16 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "画像をダウンロードしています。しばらくお待ちください。" 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 18 22 msgid "wordpress:logging_out" … … 20 24 21 25 msgid "wordpress:plugin_description" 22 msgstr "" 23 "Shutterstockプラグインがあれば、クリエイティブな制作作業をスムーズに進められます。下書きを作成するときでも、記事全体を公開するときでも、時間" 24 "を節約しましょう。" 26 msgstr "WordPressから直接、高品質なロイヤリティフリー素材にアクセスします。" 25 27 26 28 msgid "wordpress:plugin_title" … … 68 70 69 71 #: public/shutterstock-block/build/index.js:1 72 msgid "wordpress:text_dowbload_and_insert" 73 msgstr "ダウンロードして挿入" 74 75 #: public/shutterstock-block/build/index.js:1 76 msgid "wordpress:text_downloads" 77 msgstr "ダウンロード" 78 79 #: public/shutterstock-block/build/index.js:1 70 80 msgid "wordpress:text_editorial" 71 81 msgstr "エディトリアル" … … 78 88 msgid "wordpress:text_editorial_country_description" 79 89 msgstr "特定の国で配信可能なエディトリアル素材のみを表示します(3文字[ISO 3166 Alpha-3]の国名コード)。" 90 91 #: public/shutterstock-block/build/index.js:1 92 msgid "wordpress:text_home" 93 msgstr "ホーム" 80 94 81 95 #: public/shutterstock-block/build/index.js:1 -
shutterstock/tags/1.2.0/languages/shutterstock-ko_KR-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.309Z",2 "translation-revision-date": "2020-11-27T12:15:24.314Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "\uc774\ubbf8\uc9c0\ub97c \ub2e4\uc6b4\ub85c\ub4dc\ud558\ub294 \uc911\uc785\ub2c8\ub2e4. \uae30\ub2e4\ub824 \uc8fc\uc138\uc694." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "\uac8c\uc2dc\ubb3c\uc5d0 Shutterstock \ucf58\ud150\uce20\ub97c \ucd94\uac00\ud558\uc138\uc694" … … 23 26 "\ucc3e\uc544\ubcf4\uae30" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "\ub2e4\uc6b4\ub85c\ub4dc \ubc0f \uc0bd\uc785" 30 ], 31 "wordpress:text_downloads": [ 32 "\ub2e4\uc6b4\ub85c\ub4dc" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "\uc5d0\ub514\ud1a0\ub9ac\uc5bc" 36 ], 37 "wordpress:text_home": [ 38 "\ud648" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/tags/1.2.0/languages/shutterstock-ko_KR.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=1; plural=0\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.309Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.309Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.314Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.314Z\n" 11 11 "Language: ko_KR\n" 12 12 … … 15 15 msgstr "연결됨" 16 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "이미지를 다운로드하는 중입니다. 기다려 주세요." 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 18 22 msgid "wordpress:logging_out" … … 20 24 21 25 msgid "wordpress:plugin_description" 22 msgstr "" 23 "Shutterstock 플러그인을 설치하면 복잡성은 줄어들고 창의력은 배가됩니다. 초안을 작성하거나 전체 기사를 게시하는 등, 작업을 " 24 "할 때 시간을 절약하세요." 26 msgstr "WordPress의 훌륭한 로열티 프리 콘텐츠에 바로 액세스하세요." 25 27 26 28 msgid "wordpress:plugin_title" … … 68 70 69 71 #: public/shutterstock-block/build/index.js:1 72 msgid "wordpress:text_dowbload_and_insert" 73 msgstr "다운로드 및 삽입" 74 75 #: public/shutterstock-block/build/index.js:1 76 msgid "wordpress:text_downloads" 77 msgstr "다운로드" 78 79 #: public/shutterstock-block/build/index.js:1 70 80 msgid "wordpress:text_editorial" 71 81 msgstr "에디토리얼" … … 78 88 msgid "wordpress:text_editorial_country_description" 79 89 msgstr "특정 국가에서 배포가 가능한 에디토리얼 콘텐츠만 표시합니다(ISO 3166 Alpha-3/세 자리 국가 코드)." 90 91 #: public/shutterstock-block/build/index.js:1 92 msgid "wordpress:text_home" 93 msgstr "홈" 80 94 81 95 #: public/shutterstock-block/build/index.js:1 -
shutterstock/tags/1.2.0/languages/shutterstock-nb_NO-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.294Z",2 "translation-revision-date": "2020-11-27T12:15:24.298Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "Laster ned bildet. Vent." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "Legg til Shutterstock-innhold i innlegget ditt" … … 23 26 "Bla gjennom" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "Last ned og sett inn" 30 ], 31 "wordpress:text_downloads": [ 32 "Nedlastinger" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Redaksjonelt" 36 ], 37 "wordpress:text_home": [ 38 "Hjem" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/tags/1.2.0/languages/shutterstock-nb_NO.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=2; plural=(n != 1)\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.294Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.294Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.298Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.298Z\n" 11 11 "Language: nb_NO\n" 12 12 … … 15 15 msgstr "Tilkoblet" 16 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Laster ned bildet. Vent." 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 18 22 msgid "wordpress:logging_out" … … 20 24 21 25 msgid "wordpress:plugin_description" 22 msgstr "" 23 "Shutterstocks plugin gjør det lett å være kreativ. Spar tid enten du lager " 24 "et utkast eller publiserer en full artikkel." 26 msgstr "Få tilgang til fantastisk royalty-fritt innhold direkte fra WordPress." 25 27 26 28 msgid "wordpress:plugin_title" … … 70 72 71 73 #: public/shutterstock-block/build/index.js:1 74 msgid "wordpress:text_dowbload_and_insert" 75 msgstr "Last ned og sett inn" 76 77 #: public/shutterstock-block/build/index.js:1 78 msgid "wordpress:text_downloads" 79 msgstr "Nedlastinger" 80 81 #: public/shutterstock-block/build/index.js:1 72 82 msgid "wordpress:text_editorial" 73 83 msgstr "Redaksjonelt" … … 82 92 "Bare vis redaksjonelt innhold som er tilgjengelig for distribusjon i et " 83 93 "bestemt land (landskode med tre tegn (ISO 3166 Alpha-3))." 94 95 #: public/shutterstock-block/build/index.js:1 96 msgid "wordpress:text_home" 97 msgstr "Hjem" 84 98 85 99 #: public/shutterstock-block/build/index.js:1 -
shutterstock/tags/1.2.0/languages/shutterstock-nl_NL-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.292Z",2 "translation-revision-date": "2020-11-27T12:15:24.296Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "Afbeelding downloaden. Een ogenblik geduld." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "Voeg Shutterstock-content toe aan je bericht" … … 23 26 "Bladeren" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "Downloaden en invoegen" 30 ], 31 "wordpress:text_downloads": [ 32 "Downloads" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Redactioneel" 36 ], 37 "wordpress:text_home": [ 38 "Startpagina" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/tags/1.2.0/languages/shutterstock-nl_NL.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=2; plural=(n != 1)\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.292Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.292Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.296Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.296Z\n" 11 11 "Language: nl_NL\n" 12 12 … … 14 14 msgid "wordpress:connected" 15 15 msgstr "Verbonden" 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Afbeelding downloaden. Een ogenblik geduld." 16 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 … … 21 25 msgid "wordpress:plugin_description" 22 26 msgstr "" 23 "Dankzij de Shutterstock-invoegtoepassing is creativiteit nooit meer " 24 "ingewikkeld. Bespaar tijd, of je nu een concept maakt of een volledig " 25 "artikel publiceert." 27 "Krijg toegang tot uitzonderlijke, rechtenvrije content, rechtstreeks vanuit " 28 "WordPress." 26 29 27 30 msgid "wordpress:plugin_title" … … 71 74 72 75 #: public/shutterstock-block/build/index.js:1 76 msgid "wordpress:text_dowbload_and_insert" 77 msgstr "Downloaden en invoegen" 78 79 #: public/shutterstock-block/build/index.js:1 80 msgid "wordpress:text_downloads" 81 msgstr "Downloads" 82 83 #: public/shutterstock-block/build/index.js:1 73 84 msgid "wordpress:text_editorial" 74 85 msgstr "Redactioneel" … … 83 94 "Geef alleen redactionele content weer die beschikbaar is om in een bepaald " 84 95 "land te verspreiden (een landcode van drie tekens (OSISO 3166 Alpha-3))." 96 97 #: public/shutterstock-block/build/index.js:1 98 msgid "wordpress:text_home" 99 msgstr "Startpagina" 85 100 86 101 #: public/shutterstock-block/build/index.js:1 -
shutterstock/tags/1.2.0/languages/shutterstock-pl_PL-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.296Z",2 "translation-revision-date": "2020-11-27T12:15:24.300Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "Trwa pobieranie obrazu. Prosz\u0119 czeka\u0107." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "Dodaj tre\u015bci Shutterstock do swojego posta" … … 23 26 "Przegl\u0105daj" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "Pobierz i wstaw" 30 ], 31 "wordpress:text_downloads": [ 32 "Materia\u0142y do pobrania" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Dziennikarskie" 36 ], 37 "wordpress:text_home": [ 38 "Strona g\u0142\u00f3wna" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/tags/1.2.0/languages/shutterstock-pl_PL.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 8 8 "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && " 9 9 "(n%100<10 || n%100>=20) ? 1 : 2)\n" 10 "POT-Creation-Date: 2020-11- 09T20:44:52.296Z\n"11 "PO-Revision-Date: 2020-11- 09T20:44:52.296Z\n"10 "POT-Creation-Date: 2020-11-27T12:15:24.300Z\n" 11 "PO-Revision-Date: 2020-11-27T12:15:24.300Z\n" 12 12 "Language: pl_PL\n" 13 13 … … 16 16 msgstr "Połączono" 17 17 18 #: public/shutterstock-block/build/index.js:1 19 msgid "wordpress:downloading_image" 20 msgstr "Trwa pobieranie obrazu. Proszę czekać." 21 18 22 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 19 23 msgid "wordpress:logging_out" … … 21 25 22 26 msgid "wordpress:plugin_description" 23 msgstr "" 24 "Wtyczka Shutterstock usuwa komplikacje i wspiera kreatywność. Zaoszczędź " 25 "czas podczas tworzenia szkicu lub publikacji pełnego artykułu." 27 msgstr "Uzyskaj dostęp do wyjątkowych treści bez tantiem bezpośrednio z WordPress." 26 28 27 29 msgid "wordpress:plugin_title" … … 71 73 72 74 #: public/shutterstock-block/build/index.js:1 75 msgid "wordpress:text_dowbload_and_insert" 76 msgstr "Pobierz i wstaw" 77 78 #: public/shutterstock-block/build/index.js:1 79 msgid "wordpress:text_downloads" 80 msgstr "Materiały do pobrania" 81 82 #: public/shutterstock-block/build/index.js:1 73 83 msgid "wordpress:text_editorial" 74 84 msgstr "Dziennikarskie" … … 83 93 "Pokaż tylko treści, które są dostępne do dystrybucji w danym kraju (trzy " 84 94 "znaki (ISO 3166 Alpha-3) kodu kraju)." 95 96 #: public/shutterstock-block/build/index.js:1 97 msgid "wordpress:text_home" 98 msgstr "Strona główna" 85 99 86 100 #: public/shutterstock-block/build/index.js:1 -
shutterstock/tags/1.2.0/languages/shutterstock-pt_PT-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.298Z",2 "translation-revision-date": "2020-11-27T12:15:24.302Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "Baixando imagem. Aguarde." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "Adicione conte\u00fado Shutterstock \u00e0 sua publica\u00e7\u00e3o" … … 23 26 "Explorar" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "Baixar e inserir" 30 ], 31 "wordpress:text_downloads": [ 32 "Downloads" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Editorial" 36 ], 37 "wordpress:text_home": [ 38 "P\u00e1gina inicial" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/tags/1.2.0/languages/shutterstock-pt_PT.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=2; plural=(n != 1)\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.298Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.298Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.302Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.302Z\n" 11 11 "Language: pt_PT\n" 12 12 … … 15 15 msgstr "Conectado" 16 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Baixando imagem. Aguarde." 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 18 22 msgid "wordpress:logging_out" … … 20 24 21 25 msgid "wordpress:plugin_description" 22 msgstr "" 23 "Com o plugin da Shutterstock, a criatividade fica muito mais fácil. Ganhe " 24 "tempo, seja ao criar um rascunho ou ao publicar um artigo completo." 26 msgstr "Acesse conteúdos incríveis e livres de direitos diretamente do WordPress." 25 27 26 28 msgid "wordpress:plugin_title" … … 70 72 71 73 #: public/shutterstock-block/build/index.js:1 74 msgid "wordpress:text_dowbload_and_insert" 75 msgstr "Baixar e inserir" 76 77 #: public/shutterstock-block/build/index.js:1 78 msgid "wordpress:text_downloads" 79 msgstr "Downloads" 80 81 #: public/shutterstock-block/build/index.js:1 72 82 msgid "wordpress:text_editorial" 73 83 msgstr "Editorial" … … 82 92 "Exibe somente conteúdo editorial disponível para distribuição em " 83 93 "determinado país (um código do país com três caracteres (ISO 3166 Alpha-3))." 94 95 #: public/shutterstock-block/build/index.js:1 96 msgid "wordpress:text_home" 97 msgstr "Página inicial" 84 98 85 99 #: public/shutterstock-block/build/index.js:1 -
shutterstock/tags/1.2.0/languages/shutterstock-ru_RU-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.305Z",2 "translation-revision-date": "2020-11-27T12:15:24.310Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "\u0412\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435. \u041f\u043e\u0434\u043e\u0436\u0434\u0438\u0442\u0435." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b Shutterstock \u0432 \u0441\u0432\u043e\u044e \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044e" … … 23 26 "\u041e\u0431\u0437\u043e\u0440" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0438 \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c" 30 ], 31 "wordpress:text_downloads": [ 32 "\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0438" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "\u0420\u0435\u0434\u0430\u043a\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b" 36 ], 37 "wordpress:text_home": [ 38 "\u0414\u043e\u043c" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/tags/1.2.0/languages/shutterstock-ru_RU.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 8 8 "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " 9 9 "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n" 10 "POT-Creation-Date: 2020-11- 09T20:44:52.305Z\n"11 "PO-Revision-Date: 2020-11- 09T20:44:52.305Z\n"10 "POT-Creation-Date: 2020-11-27T12:15:24.310Z\n" 11 "PO-Revision-Date: 2020-11-27T12:15:24.310Z\n" 12 12 "Language: ru_RU\n" 13 13 … … 15 15 msgid "wordpress:connected" 16 16 msgstr "Подключено" 17 18 #: public/shutterstock-block/build/index.js:1 19 msgid "wordpress:downloading_image" 20 msgstr "Выполняется загрузка изображение. Подождите." 17 21 18 22 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 … … 22 26 msgid "wordpress:plugin_description" 23 27 msgstr "" 24 "С подключаемым модулем Shutterstock творчество — настоящее удовольствие. " 25 "Экономьте время, независимо от того, создаете ли вы проект или публикуете " 26 "полную статью." 28 "Получите доступ к исключительным материалам от WordPress без лицензионных " 29 "платежей (роялти)." 27 30 28 31 msgid "wordpress:plugin_title" … … 72 75 73 76 #: public/shutterstock-block/build/index.js:1 77 msgid "wordpress:text_dowbload_and_insert" 78 msgstr "Загрузить и вставить" 79 80 #: public/shutterstock-block/build/index.js:1 81 msgid "wordpress:text_downloads" 82 msgstr "Загрузки" 83 84 #: public/shutterstock-block/build/index.js:1 74 85 msgid "wordpress:text_editorial" 75 86 msgstr "Редакционные материалы" … … 85 96 "распространения в определенной стране (трехсимвольный (ISO 3166 Alpha-3) " 86 97 "код страны)." 98 99 #: public/shutterstock-block/build/index.js:1 100 msgid "wordpress:text_home" 101 msgstr "Дом" 87 102 88 103 #: public/shutterstock-block/build/index.js:1 -
shutterstock/tags/1.2.0/languages/shutterstock-sv_SE-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.302Z",2 "translation-revision-date": "2020-11-27T12:15:24.306Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "Laddar ned bilder. V\u00e4nta." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "L\u00e4gg till Shutterstock-inneh\u00e5ll till din post" … … 23 26 "Bl\u00e4ddra" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "Ladda ned och infoga" 30 ], 31 "wordpress:text_downloads": [ 32 "Nedladdningar" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Redaktionellt" 36 ], 37 "wordpress:text_home": [ 38 "Hem" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/tags/1.2.0/languages/shutterstock-sv_SE.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=2; plural=(n != 1)\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.302Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.302Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.306Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.306Z\n" 11 11 "Language: sv_SE\n" 12 12 … … 15 15 msgstr "Ansluten" 16 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Laddar ned bilder. Vänta." 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 18 22 msgid "wordpress:logging_out" … … 20 24 21 25 msgid "wordpress:plugin_description" 22 msgstr "" 23 "Shutterstocks pluginprogram gör kreativitet enklare. Spara tid, oavsett om " 24 "du skapar ett utkast eller publicerar en hel artikel." 26 msgstr "Få tillgång till exceptionellt royaltyfritt innehåll direkt från WordPress." 25 27 26 28 msgid "wordpress:plugin_title" … … 70 72 71 73 #: public/shutterstock-block/build/index.js:1 74 msgid "wordpress:text_dowbload_and_insert" 75 msgstr "Ladda ned och infoga" 76 77 #: public/shutterstock-block/build/index.js:1 78 msgid "wordpress:text_downloads" 79 msgstr "Nedladdningar" 80 81 #: public/shutterstock-block/build/index.js:1 72 82 msgid "wordpress:text_editorial" 73 83 msgstr "Redaktionellt" … … 82 92 "Visa endast redaktionellt innehåll som är tillgängligt för distribution i " 83 93 "ett visst land (landskod med tre tecken (ISO 3166 Alpha-3))." 94 95 #: public/shutterstock-block/build/index.js:1 96 msgid "wordpress:text_home" 97 msgstr "Hem" 84 98 85 99 #: public/shutterstock-block/build/index.js:1 -
shutterstock/tags/1.2.0/languages/shutterstock-th-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.307Z",2 "translation-revision-date": "2020-11-27T12:15:24.312Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14\u0e20\u0e32\u0e1e \u0e42\u0e1b\u0e23\u0e14\u0e23\u0e2d\u0e2a\u0e31\u0e01\u0e04\u0e23\u0e39\u0e48" 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e40\u0e19\u0e37\u0e49\u0e2d\u0e2b\u0e32 Shutterstock \u0e43\u0e19\u0e42\u0e1e\u0e2a\u0e15\u0e4c\u0e02\u0e2d\u0e07\u0e04\u0e38\u0e13" … … 23 26 "\u0e40\u0e23\u0e35\u0e22\u0e01\u0e14\u0e39" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14\u0e41\u0e25\u0e30\u0e41\u0e17\u0e23\u0e01" 30 ], 31 "wordpress:text_downloads": [ 32 "\u0e01\u0e32\u0e23\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e02\u0e48\u0e32\u0e27" 36 ], 37 "wordpress:text_home": [ 38 "\u0e2b\u0e19\u0e49\u0e32\u0e41\u0e23\u0e01" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/tags/1.2.0/languages/shutterstock-th.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=1; plural=0\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.307Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.307Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.312Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.312Z\n" 11 11 "Language: th\n" 12 12 … … 15 15 msgstr "เชื่อมต่ออยู่" 16 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "ดาวน์โหลดภาพ โปรดรอสักครู่" 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 18 22 msgid "wordpress:logging_out" … … 20 24 21 25 msgid "wordpress:plugin_description" 22 msgstr "" 23 "ปลั๊กอิน Shutterstock ช่วยให้ทำงานสร้างสรรค์ได้ไม่ยุ่งยาก ช่วยประหยัดเวลา " 24 "ไม่ว่าจะเขียนร่างหรือเผยแพร่บทความเต็มๆ" 26 msgstr "เข้าถึงเนื้อหาที่โดดเด่น ปลอดค่าลิขสิทธิ์ได้จาก WordPress โดยตรง" 25 27 26 28 msgid "wordpress:plugin_title" … … 70 72 71 73 #: public/shutterstock-block/build/index.js:1 74 msgid "wordpress:text_dowbload_and_insert" 75 msgstr "ดาวน์โหลดและแทรก" 76 77 #: public/shutterstock-block/build/index.js:1 78 msgid "wordpress:text_downloads" 79 msgstr "การดาวน์โหลด" 80 81 #: public/shutterstock-block/build/index.js:1 72 82 msgid "wordpress:text_editorial" 73 83 msgstr "บทความข่าว" … … 82 92 "แสดงเฉพาะเนื้อหาบทความข่าวที่สามารถแจกจ่ายในบางประเทศ " 83 93 "(รหัสประเทศสามตัวอักษร (ISO 3166 Alpha-3))" 94 95 #: public/shutterstock-block/build/index.js:1 96 msgid "wordpress:text_home" 97 msgstr "หน้าแรก" 84 98 85 99 #: public/shutterstock-block/build/index.js:1 -
shutterstock/tags/1.2.0/languages/shutterstock-tr_TR-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.304Z",2 "translation-revision-date": "2020-11-27T12:15:24.308Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "G\u00f6rsel indiriliyor. L\u00fctfen bekleyin." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "Yay\u0131n\u0131n\u0131za Shutterstock i\u00e7eri\u011fi ekleyin" … … 23 26 "G\u00f6z at" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "\u0130ndir ve Ekle" 30 ], 31 "wordpress:text_downloads": [ 32 "\u0130ndirmeler" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Haber Ama\u00e7l\u0131 \u0130\u00e7erik" 36 ], 37 "wordpress:text_home": [ 38 "Ana Sayfa" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/tags/1.2.0/languages/shutterstock-tr_TR.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=2; plural=(n > 1)\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.304Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.304Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.308Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.308Z\n" 11 11 "Language: tr_TR\n" 12 12 … … 15 15 msgstr "Bağlandı" 16 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Görsel indiriliyor. Lütfen bekleyin." 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 18 22 msgid "wordpress:logging_out" … … 20 24 21 25 msgid "wordpress:plugin_description" 22 msgstr "" 23 "Shutterstock eklentisi, yaratıcı sürecinizi basitleştiriyor. İster taslak " 24 "oluştururken ister eksiksiz bir makale yayınlarken zamandan tasarruf edin." 26 msgstr "Doğrudan WordPress’ten istisnai ve telifsiz içeriğe erişin." 25 27 26 28 msgid "wordpress:plugin_title" … … 70 72 71 73 #: public/shutterstock-block/build/index.js:1 74 msgid "wordpress:text_dowbload_and_insert" 75 msgstr "İndir ve Ekle" 76 77 #: public/shutterstock-block/build/index.js:1 78 msgid "wordpress:text_downloads" 79 msgstr "İndirmeler" 80 81 #: public/shutterstock-block/build/index.js:1 72 82 msgid "wordpress:text_editorial" 73 83 msgstr "Haber Amaçlı İçerik" … … 82 92 "Yalnızca belirli bir ülkede dağıtımda olan haber amaçlı içerikleri " 83 93 "görüntüleyin (Üç karakterli (ISO 3166 Alpha-3) ülke kodu)." 94 95 #: public/shutterstock-block/build/index.js:1 96 msgid "wordpress:text_home" 97 msgstr "Ana Sayfa" 84 98 85 99 #: public/shutterstock-block/build/index.js:1 -
shutterstock/tags/1.2.0/languages/shutterstock-zh_CN-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.313Z",2 "translation-revision-date": "2020-11-27T12:15:24.318Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "\u6b63\u5728\u4e0b\u8f7d\u56fe\u7247\u3002\u8bf7\u7a0d\u5019\u3002" 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "\u5c06 Shutterstock \u5185\u5bb9\u6dfb\u52a0\u5230\u60a8\u7684\u6587\u7ae0" … … 23 26 "\u6d4f\u89c8" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "\u4e0b\u8f7d\u548c\u63d2\u5165" 30 ], 31 "wordpress:text_downloads": [ 32 "\u4e0b\u8f7d" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "\u65b0\u95fb\u4f20\u5a92" 36 ], 37 "wordpress:text_home": [ 38 "\u9996\u9875" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/tags/1.2.0/languages/shutterstock-zh_CN.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=1; plural=0\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.313Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.313Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.318Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.318Z\n" 11 11 "Language: zh_CN\n" 12 12 … … 15 15 msgstr "已连接" 16 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "正在下载图片。请稍候。" 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 18 22 msgid "wordpress:logging_out" … … 20 24 21 25 msgid "wordpress:plugin_description" 22 msgstr " Shutterstock 插件让创意不再复杂。无论您在撰写草稿还是发表一篇完整的文章,都可以帮助您节省时间。"26 msgstr "直接通过 Wordpress 访问优秀的免版税内容。" 23 27 24 28 msgid "wordpress:plugin_title" … … 66 70 67 71 #: public/shutterstock-block/build/index.js:1 72 msgid "wordpress:text_dowbload_and_insert" 73 msgstr "下载和插入" 74 75 #: public/shutterstock-block/build/index.js:1 76 msgid "wordpress:text_downloads" 77 msgstr "下载" 78 79 #: public/shutterstock-block/build/index.js:1 68 80 msgid "wordpress:text_editorial" 69 81 msgstr "新闻传媒" … … 76 88 msgid "wordpress:text_editorial_country_description" 77 89 msgstr "仅显示可在特定国家或地区(三字符 (ISO 3166 Alpha-3) 国家地区代码)分发的新闻传媒内容。" 90 91 #: public/shutterstock-block/build/index.js:1 92 msgid "wordpress:text_home" 93 msgstr "首页" 78 94 79 95 #: public/shutterstock-block/build/index.js:1 -
shutterstock/tags/1.2.0/languages/shutterstock-zh_TW-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.315Z",2 "translation-revision-date": "2020-11-27T12:15:24.320Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "\u4e0b\u8f09\u5716\u7247\u3002\u8acb\u7a0d\u5019\u3002" 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "\u5c07 Shutterstock \u5167\u5bb9\u65b0\u589e\u5230\u60a8\u7684\u8cbc\u6587\u4e2d" … … 23 26 "\u700f\u89bd" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "\u4e0b\u8f09\u4e26\u63d2\u5165" 30 ], 31 "wordpress:text_downloads": [ 32 "\u4e0b\u8f09\u6b21\u6578" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "\u5831\u5c0e" 36 ], 37 "wordpress:text_home": [ 38 "\u5bb6" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/tags/1.2.0/languages/shutterstock-zh_TW.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=1; plural=0\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.315Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.315Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.320Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.320Z\n" 11 11 "Language: zh_TW\n" 12 12 … … 15 15 msgstr "已連線" 16 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "下載圖片。請稍候。" 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 18 22 msgid "wordpress:logging_out" … … 20 24 21 25 msgid "wordpress:plugin_description" 22 msgstr " Shutterstock 外掛程式將創意化繁為簡。省時,無論您是要建立草稿還是發表全文。"26 msgstr "直接從 WordPress 存取非凡的免版稅內容。" 23 27 24 28 msgid "wordpress:plugin_title" … … 66 70 67 71 #: public/shutterstock-block/build/index.js:1 72 msgid "wordpress:text_dowbload_and_insert" 73 msgstr "下載並插入" 74 75 #: public/shutterstock-block/build/index.js:1 76 msgid "wordpress:text_downloads" 77 msgstr "下載次數" 78 79 #: public/shutterstock-block/build/index.js:1 68 80 msgid "wordpress:text_editorial" 69 81 msgstr "報導" … … 76 88 msgid "wordpress:text_editorial_country_description" 77 89 msgstr "僅顯示可在特定國家/地區分發的報導內容(三個字元(ISO 3166 Alpha-3)國家/地區代碼)。" 90 91 #: public/shutterstock-block/build/index.js:1 92 msgid "wordpress:text_home" 93 msgstr "家" 78 94 79 95 #: public/shutterstock-block/build/index.js:1 -
shutterstock/tags/1.2.0/languages/shutterstock.pot
r2419544 r2430369 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Shutterstock 1.1. 0\n"5 "Project-Id-Version: Shutterstock 1.1.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/shutterstock\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2020-11- 03T19:55:41+00:00\n"12 "POT-Creation-Date: 2020-11-20T15:02:27+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.4.0\n" … … 21 21 22 22 #. Description of the plugin 23 msgid " The Shutterstock plugin takes the complexity out of creativity. Save time, whether you're creating a draft or publishing a full article."23 msgid "Access exceptional, royalty-free content straight from WordPress." 24 24 msgstr "" 25 25 … … 73 73 74 74 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 75 msgid " Loggingout"75 msgid "wordpress:logging_out" 76 76 msgstr "" 77 77 78 78 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:29 79 msgid " Connected"79 msgid "wordpress:connected" 80 80 msgstr "" 81 81 … … 106 106 107 107 #: public/shutterstock-block/build/index.js:1 108 msgid "wordpress:downloading_image" 109 msgstr "" 110 111 #: public/shutterstock-block/build/index.js:1 108 112 msgid "wordpress:text_something_went_wrong" 109 113 msgstr "" … … 126 130 127 131 #: public/shutterstock-block/build/index.js:1 132 msgid "wordpress:text_dowbload_and_insert" 133 msgstr "" 134 135 #: public/shutterstock-block/build/index.js:1 128 136 msgid "wordpress:text_images" 129 137 msgstr "" … … 135 143 #: public/shutterstock-block/build/index.js:1 136 144 msgid "wordpress:text_add_shuttersock_content_to_post" 145 msgstr "" 146 147 #: public/shutterstock-block/build/index.js:1 148 msgid "wordpress:text_home" 149 msgstr "" 150 151 #: public/shutterstock-block/build/index.js:1 152 msgid "wordpress:text_downloads" 137 153 msgstr "" 138 154 -
shutterstock/tags/1.2.0/public/class-shutterstock-public.php
r2419544 r2430369 124 124 125 125 // Registering Shutterstock UI script 126 wp_register_script('shutterstock-block-block-editor-shuttestock-ui-js', 'https://api-cdn.shutterstock.com/0.1. 28/static/js/sstk-widget.js');126 wp_register_script('shutterstock-block-block-editor-shuttestock-ui-js', 'https://api-cdn.shutterstock.com/0.1.30/static/js/sstk-widget.js'); 127 127 128 128 wp_set_script_translations( 'shutterstock-block-block-editor', 'shutterstock', plugin_dir_path(__DIR__) . 'languages'); … … 134 134 135 135 // Registering Shutterstock UI styles 136 wp_register_style('shutterstock-block-block-editor-shutterstock-ui-css', 'https://api-cdn.shutterstock.com/0.1. 28/static/css/sstk-widget.css');136 wp_register_style('shutterstock-block-block-editor-shutterstock-ui-css', 'https://api-cdn.shutterstock.com/0.1.30/static/css/sstk-widget.css'); 137 137 138 138 // Registerging the shutterstock-block. Pattern is 'namespace/block-name' -
shutterstock/tags/1.2.0/public/shutterstock-block/build/index.asset.php
r2419544 r2430369 1 <?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-data', 'wp- element', 'wp-i18n', 'wp-polyfill'), 'version' => '4762d12b2239f74f55a6b978f9cbbcf2');1 <?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-data', 'wp-dom', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '84a07dba9d74eb2da361963507c3841a'); -
shutterstock/tags/1.2.0/public/shutterstock-block/build/index.css
r2419544 r2430369 3 3 .components-shutterstock-icon{width:30px;height:30px}.components-shutterstock-icon__rectangle{fill:#ffffff} 4 4 5 .components-shutterstock-ui__inputgroup .components-shutterstock-ui__input{border:none;border-top-left-radius:8px;border-bottom-left-radius:8px}.components-shutterstock-ui__inputgroup .components-shutterstock-ui__input:focus{box-shadow:none}.components-shutterstock-ui__radio_button{width:initial;height:initial}.components-shutterstock-ui__widget-container{height: calc(100vh - 126px);overflow-y:scroll}.components-shutterstock-ui__widget-container>div{top:90px;position:relative}.components-shutterstock-ui__widget-container .components-shutterstock-ui__searchContainer .components-shutterstock-ui__filterButtonWrapper{width:initial}.components-shutterstock-ui__widget-container-overlay{position:fixed;top:2px;left:0;width:100%;overflow:hidden;height:100%;background-color:rgba(0,0,0,0.55);background-position:center center;background-repeat:no-repeat;background-size:60px 60px;transition:opacity .1s;opacity:1;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzgiIHZpZXdCb3g9IjAgMCAzOCAzOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBzdHJva2U9IiNmZmYiPgogICAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxIDEpIiBzdHJva2Utd2lkdGg9IjIiPgogICAgICAgICAgICA8Y2lyY2xlIHN0cm9rZS1vcGFjaXR5PSIuNSIgY3g9IjE4IiBjeT0iMTgiIHI9IjE4Ii8+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0zNiAxOGMwLTkuOTQtOC4wNi0xOC0xOC0xOCI+CiAgICAgICAgICAgICAgICA8YW5pbWF0ZVRyYW5zZm9ybQogICAgICAgICAgICAgICAgICAgIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIKICAgICAgICAgICAgICAgICAgICB0eXBlPSJyb3RhdGUiCiAgICAgICAgICAgICAgICAgICAgZnJvbT0iMCAxOCAxOCIKICAgICAgICAgICAgICAgICAgICB0bz0iMzYwIDE4IDE4IgogICAgICAgICAgICAgICAgICAgIGR1cj0iMXMiCiAgICAgICAgICAgICAgICAgICAgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiLz4KICAgICAgICAgICAgPC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+)}.components-shutterstock-ui__widget-container-overlay .text{max-width:300px;height:100px;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;transform:translate(0, 100%);text-align:center;font-size:18px;color:#ffffff !important}.components-shutterstock-ui__filterDrawerContainer .components-shutterstock-ui__widget-drawer-position-fixed{position:fixed}.components-shutterstock-ui__searchForm{flex:1}5 .components-shutterstock-ui__inputgroup .components-shutterstock-ui__input{border:none;border-top-left-radius:8px;border-bottom-left-radius:8px}.components-shutterstock-ui__inputgroup .components-shutterstock-ui__input:focus{box-shadow:none}.components-shutterstock-ui__radio_button{width:initial;height:initial}.components-shutterstock-ui__widget-container{height:100vh;overflow-y:scroll}.components-shutterstock-ui__widget-container>div{top:90px;position:relative}.components-shutterstock-ui__widget-container .components-shutterstock-ui__searchContainer .components-shutterstock-ui__filterButtonWrapper{width:initial}.components-shutterstock-ui__widget-container-overlay{position:fixed;top:2px;left:0;width:100%;overflow:hidden;height:100%;background-color:rgba(0,0,0,0.55);background-position:center center;background-repeat:no-repeat;background-size:60px 60px;transition:opacity .1s;opacity:1;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzgiIHZpZXdCb3g9IjAgMCAzOCAzOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBzdHJva2U9IiNmZmYiPgogICAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxIDEpIiBzdHJva2Utd2lkdGg9IjIiPgogICAgICAgICAgICA8Y2lyY2xlIHN0cm9rZS1vcGFjaXR5PSIuNSIgY3g9IjE4IiBjeT0iMTgiIHI9IjE4Ii8+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0zNiAxOGMwLTkuOTQtOC4wNi0xOC0xOC0xOCI+CiAgICAgICAgICAgICAgICA8YW5pbWF0ZVRyYW5zZm9ybQogICAgICAgICAgICAgICAgICAgIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIKICAgICAgICAgICAgICAgICAgICB0eXBlPSJyb3RhdGUiCiAgICAgICAgICAgICAgICAgICAgZnJvbT0iMCAxOCAxOCIKICAgICAgICAgICAgICAgICAgICB0bz0iMzYwIDE4IDE4IgogICAgICAgICAgICAgICAgICAgIGR1cj0iMXMiCiAgICAgICAgICAgICAgICAgICAgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiLz4KICAgICAgICAgICAgPC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+);z-index:111;top:60px}.components-shutterstock-ui__widget-container-overlay .text{max-width:300px;height:100px;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;transform:translate(0, 100%);text-align:center;font-size:18px;color:#ffffff !important}.components-shutterstock-ui__filterDrawerContainer .components-shutterstock-ui__widget-drawer-position-fixed{position:fixed}.components-shutterstock-ui__searchForm{flex:1}.components-shutterstock-ui__navigation{z-index:111111111;position:absolute;margin-left:180px;top:19px;font-weight:bold}.components-shutterstock-ui__navigation a{margin:0 10px;cursor:pointer;color:#444}.components-shutterstock-ui__navigation.disabled a{pointer-events:none}@media (min-width: 600px){.components-shutterstock-ui__widget-container{height:calc(100vh - 126px)}} 6 6 7 7 .components-shutterstock-snackbar__container{display:flex;justify-content:center;position:absolute;width:100%;position:fixed;bottom:0;left:0;right:0;margin:auto;margin-bottom:20px;z-index:11111} … … 9 9 .components-shutterstock-logo{height:24px;width:162px}.components-shutterstock-logo__stck{fill:#25282a}.components-shutterstock-logo__o,.components-shutterstock-logo__shutter{fill:#ee3625} 10 10 11 .components-shutterstock-modal__open-modal-button{font-size:13px;white-space:nowrap;background:#007cba;background:var(--wp-admin-theme-color);color:#fff;text-decoration:none;text-shadow:none;margin-top:10px}.components-shutterstock-modal__open-modal-button:hover{background:var(--wp-admin-theme-color);color:#fff}.components-shutterstock-modal__open-modal-button:focus{background:var(--wp-admin-theme-color);color:#fff}.components-shutterstock-modal__content{width: 80%;height:calc(100vh - 126px)}.components-shutterstock-modal__content .components-modal__header{position:fixed;width:100%}.components-shutterstock-modal__content::-webkit-scrollbar{display:none}.components-shutterstock-modal__shutterstock-logo{padding-bottom:24px}11 .components-shutterstock-modal__open-modal-button{font-size:13px;white-space:nowrap;background:#007cba;background:var(--wp-admin-theme-color);color:#fff;text-decoration:none;text-shadow:none;margin-top:10px}.components-shutterstock-modal__open-modal-button:hover{background:var(--wp-admin-theme-color);color:#fff}.components-shutterstock-modal__open-modal-button:focus{background:var(--wp-admin-theme-color);color:#fff}.components-shutterstock-modal__content{width:100%;height:calc(100vh)}.components-shutterstock-modal__content .components-modal__header{position:fixed;width:100%}.components-shutterstock-modal__content::-webkit-scrollbar{display:none}.components-shutterstock-modal__shutterstock-logo{padding-bottom:24px}.components-shutterstock-ui__widget-container input[type="radio"]:checked:before{width:8px;height:8px;margin:.1875rem;background-color:#1e8cbe}@media (min-width: 600px){.components-shutterstock-modal__content{width:80%}} 12 12 -
shutterstock/tags/1.2.0/public/shutterstock-block/build/index.js
r2419544 r2430369 1 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=2 3)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.React}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t,n){var r=n(12),o=n(13),i=n(14),c=n(16);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||c()}},function(e,t){!function(){e.exports=this.regeneratorRuntime}()},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){function n(e,t,n,r,o,i,c){try{var s=e[i](c),a=s.value}catch(e){return void n(e)}s.done?t(a):Promise.resolve(a).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var c=e.apply(t,r);function s(e){n(c,o,i,s,a,"next",e)}function a(e){n(c,o,i,s,a,"throw",e)}s(void 0)}))}}},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t){!function(){e.exports=this.wp.apiFetch}()},function(e,t){!function(){e.exports=this.wp.blocks}()},function(e,t){!function(){e.exports=this.wp.data}()},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var c,s=e[Symbol.iterator]();!(r=(c=s.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}},function(e,t,n){var r=n(15);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r=n(9),o=n(2),i=n(4),c=n.n(i),s=n(6),a=n.n(s),u=n(5),l=n.n(u),d=n(3),p=n.n(d),m=n(0),g=n(7),b=n(10),I=(n(17),n(1)),v=(n(18),function(){return Object(m.createElement)("svg",{className:"components-shutterstock-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},Object(m.createElement)("rect",{className:"components-shutterstock-icon__rectangle",width:"36",height:"36",rx:"2",ry:"2"}),Object(m.createElement)("path",{d:"M20.3,11.3h-5.7c-0.9,0-1.7,0.7-1.7,1.5v5.7H7.3v-5.7c0-3.7,3.3-6.7,7.3-6.7h5.7V11.3"}),Object(m.createElement)("path",{d:"M15.7,24.7h5.8c0.9,0,1.7-0.7,1.7-1.5v-5.7h5.7v5.7c0,3.7-3.3,6.7-7.3,6.7h-5.8V24.7"}))}),f=n(11),y=n.n(f),w=n(8),C=n.n(w);n(19);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var O=function(){var e=a()(c.a.mark((function e(t){var n,r,o,i,s,a,u,d,m,g=arguments;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=g.length>1&&void 0!==g[1]?g[1]:"image",e.prev=1,i="editorial"===n&&(null===(r=shutterstock)||void 0===r?void 0:r.country)?"&country=".concat(null===(o=shutterstock)||void 0===o?void 0:o.country):"",e.next=5,C()({path:"shutterstock/user/subscriptions?mediaType=".concat(n)});case 5:return s=e.sent,e.next=8,C()({path:"shutterstock/images/".concat(t,"?mediaType=").concat(n).concat(i)});case 8:return a=e.sent,u=a.assets,a.id,a.is_editorial,d=Object.entries(u).filter((function(e){var t=p()(e,2);t[0];return t[1].is_licensable})).reduce((function(e,t){var n=p()(t,2),r=n[0],o=n[1];return j(j({},e),{},l()({},r,o))}),{}),m=s.map((function(e){var t,r=null==e||null===(t=e.formats)||void 0===t?void 0:t.filter((function(e){var t=e.size,n=e.format;return!t.match(/supersize/i)&&"tiff"!==n&&"eps"!==n&&void 0!==n})).sort((function(e,t){return e.min_resolution-t.min_resolution})).map((function(e){return j(j({},e),{},{details_for_image:j({},d["".concat(e.size,"_").concat(e.format)])})}));if("editorial"===n){r=Object.entries(d||{}).map((function(e){var t,n=p()(e,2),r=n[0];return{details_for_image:n[1],size:(t=r,{small_jpg:"small",medium_jpg:"medium",original:"original"}[t])}}))}return j(j({},e),{},{formats:r})})),e.abrupt("return",m);case 17:throw e.prev=17,e.t0=e.catch(1),e.t0;case 20:case"end":return e.stop()}}),e,null,[[1,17]])})));return function(t){return e.apply(this,arguments)}}();function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _=function(e){var t=e.timeout,n=void 0===t?5e3:t,r=e.onRemoveSnackbar,o=Object(m.useState)({show:!1,text:""}),i=p()(o,2),c=i[0],s=i[1];return Object(m.useEffect)((function(){var e=setTimeout((function(){s(M(M({},c),{},{show:!1,text:""})),r&&r()}),n);return function(){return clearTimeout(e)}}),[c.show]),{snackbar:c,setSnackbar:s}},x=(n(20),function(e){var t=e.text;return t&&Object(m.createElement)("div",{className:"components-shutterstock-snackbar__container"},Object(m.createElement)(g.Snackbar,null,"Shutterstock: ",t))});function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var D=function(e){var t,n,r,i,s=e.setAttributes,u=e.closeModal,l=e.canLicense,d=void 0!==l&&l,g=e.assetInfo,b=void 0===g?{}:g,v=e.licenseImage,f=void 0!==v&&v,w=e.subscriptions,h=void 0===w?[]:w,j=null===(t=shutterstock)||void 0===t||null===(n=t.permissions)||void 0===n?void 0:n.includes("can_user_search_editorial_images"),L=Object(I.useRef)(),M=Object(I.useState)({show:!1,text:""}),k=p()(M,2),D=k[0],S=k[1],A=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return S(E(E({},D),{},{show:e,text:t}))},P=_({}),N=P.snackbar,Z=P.setSnackbar,T=function(e){var t,n,r,i,c=Object(o.__)("wordpress:text_something_went_wrong","shutterstock");500!==(null==e||null===(t=e.data)||void 0===t?void 0:t.statusCode)&&(null==e||null===(n=e.data)||void 0===n?void 0:n.message)&&(c=null==e||null===(r=e.data)||void 0===r?void 0:r.message);i=c,Z(E(E({},N),{},{show:!0,text:i}))},B={label:Object(o.__)("wordpress:text_insert_preview","shutterstock"),onClick:function(e,t){e.preventDefault(),s({img:t}),u()}},G=[E(E({},B),{},{icon:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+ZG93bmxvYWQtY29tcDwvdGl0bGU+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iZG93bmxvYWQtY29tcCI+CiAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUiIHg9IjAiIHk9IjAiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PC9yZWN0PgogICAgICAgICAgICA8cGF0aCBkPSJNMTUsMjAgTDE1LDIyIEw5LDIyIEw5LDIwIEwxNSwyMCBaIE03LDIwIEw3LDIyIEwyLDIyIEwyLDIwIEw3LDIwIFogTTIyLDIwIEwyMiwyMiBMMTcsMjIgTDE3LDIwIEwyMiwyMCBaIE0xMywyIEwxMywxNC4yIEwxNy4zLDkuOSBMMTguNywxMS4zIEwxMiwxOCBMNS4zLDExLjMgTDYuNyw5LjkgTDExLDE0LjIgTDExLDIgTDEzLDIgWiIgaWQ9IlNoYXBlIiBmaWxsPSIjRkZGRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="})],W=[{path:"/images/:id",component:ShutterstockWidget.components.ImageDetailsPage,props:{buttons:[E(E({},B),{},{icon:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgZmlsbD0iIzNGNjA3OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+ZG93bmxvYWQtY29tcDwvdGl0bGU+CiAgICA8c3R5bGU+CiAgICAgICAgcGF0aCB7CiAgICAgICAgICAgIGZpbGw6IGJsYWNrOwogICAgICAgIH0KICAgIDwvc3R5bGU+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iZG93bmxvYWQtY29tcCI+CiAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUiIHg9IjAiIHk9IjAiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PC9yZWN0PgogICAgICAgICAgICA8cGF0aCBkPSJNMTUsMjAgTDE1LDIyIEw5LDIyIEw5LDIwIEwxNSwyMCBaIE03LDIwIEw3LDIyIEwyLDIyIEwyLDIwIEw3LDIwIFogTTIyLDIwIEwyMiwyMiBMMTcsMjIgTDE3LDIwIEwyMiwyMCBaIE0xMywyIEwxMywxNC4yIEwxNy4zLDkuOSBMMTguNywxMS4zIEwxMiwxOCBMNS4zLDExLjMgTDYuNyw5LjkgTDExLDE0LjIgTDExLDIgTDEzLDIgWiIgaWQ9IlNoYXBlIiBmaWxsPSIjRkZGRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="})],assetInfo:b}}];if(d){var z={label:Object(o.__)("wordpress:text_license","shutterstock"),icon:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+c2hvcHBpbmctY2FydDwvdGl0bGU+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0ic2hvcHBpbmctY2FydCI+CiAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUiIHg9IjAiIHk9IjAiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PC9yZWN0PgogICAgICAgICAgICA8cGF0aCBkPSJNMTcsMTggQzE1LjksMTggMTUsMTguOSAxNSwyMCBDMTUsMjEuMSAxNS45LDIyIDE3LDIyIEMxOC4xLDIyIDE5LDIxLjEgMTksMjAgQzE5LDE4LjkgMTguMSwxOCAxNywxOCBaIE05LDE4IEM3LjksMTggNywxOC45IDcsMjAgQzcsMjEuMSA3LjksMjIgOSwyMiBDMTAuMSwyMiAxMSwyMS4xIDExLDIwIEMxMSwxOC45IDEwLjEsMTggOSwxOCBaIE0yMCw5IEwyMCw1IEw3LjMsNSBMNi45LDIgTDYsMiBMMywyIEMzLDMuMSAzLjksNCA1LDQgTDUuMSw0IEw3LjEsMTcgTDE1LDE3IEwxOSwxNyBDMTksMTUuOSAxOC4xLDE1IDE3LDE1IEw4LjksMTUgTDguNiwxMyBMMTYsMTMgQzE4LjIsMTMgMjAsMTEuMiAyMCw5IFogTTguMiwxMSBMNy42LDcgTDE4LDcgTDE4LDkgQzE4LDEwLjEgMTcuMSwxMSAxNiwxMSBMOC4yLDExIFoiIGlkPSJTaGFwZSIgZmlsbD0iI0ZGRkZGRiIgZmlsbC1ydWxlPSJub256ZXJvIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=",isPrimary:!0,onClick:(i=a()(c.a.mark((function e(t,n,r){var i,s;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),e.prev=1,i=n.media_type,A(!0,Object(o.__)("wordpress:text_loading_please_wait","shutterstock")),e.next=6,O(n.id,i);case 6:s=e.sent,W[1].props=E(E({},W[1].props),{},{subscriptions:s}),L.current.updateRoutes({routesConfig:W}),L.current.toggleLoadingIndicator(!1),A(!1),r.history.push("/license/images/".concat(n.id)),e.next=19;break;case 14:e.prev=14,e.t0=e.catch(1),L.current.toggleLoadingIndicator(!1),A(!1),T(e.t0);case 19:case"end":return e.stop()}}),e,null,[[1,14]])}))),function(e,t,n){return i.apply(this,arguments)})};G.push(E({},z)),W[0].props.buttons.push(E({},z)),W.push({path:"/license/images/:id",component:ShutterstockWidget.components.LicensingImagePage,props:{buttons:[E(E({},z),{},{onClick:(r=a()(c.a.mark((function e(t,n,r){var i,a,l,d,p,m,g,b,I,v,f,y,w,h;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=r.subscription,e.prev=1,A(!0,Object(o.__)("wordpress:text_licensing_image_please_wait","shutterstock")),d=null==n||null===(a=n.contributor)||void 0===a?void 0:a.id,p=null==n?void 0:n.media_type,g=(m="editorial"===p)?null==n?void 0:n.byline:"",!d||m){e.next=12;break}return e.next=10,C()({path:"shutterstock/contributor/".concat(d)});case 10:v=e.sent,g=(null==v||null===(b=v.data)||void 0===b||null===(I=b[0])||void 0===I?void 0:I.display_name)||d;case 12:return e.next=14,C()({path:"shutterstock/images/licenses",method:"POST",contentType:"application/json",data:E(E(E({subscription_id:null==i?void 0:i.id,size:null==i?void 0:i.size,id:n.id,description:n.description},(null==i?void 0:i.metadata)?{metadata:i.metadata}:{}),{},{contributorName:g},null==i?void 0:i.details_for_image),{},{mediaType:p,license:null==i?void 0:i.license,country:null===(l=shutterstock)||void 0===l?void 0:l.country})});case 14:(null==(f=e.sent)?void 0:f.success)?(y=f.data,w=y.url,h=y.id,s({img:E(E({},n),{},{licensedImageUrl:w,contributorName:g,uploadedImageId:h})}),u(),A(!1)):T(f),e.next=22;break;case 18:e.prev=18,e.t0=e.catch(1),A(!1),T(e.t0);case 22:case"end":return e.stop()}}),e,null,[[1,18]])}))),function(e,t,n){return r.apply(this,arguments)})})],assetInfo:b,subscriptions:h}})}return Object(I.useEffect)((function(){var e,t,n,r,i=[{label:Object(o.__)("wordpress:text_images","shutterstock"),assetType:"images"},{label:Object(o.__)("wordpress:text_editorial","shutterstock"),assetType:"editorial"}],c={mediaType:"images",imageType:["photo"],title:Object(o.__)("wordpress:text_add_shuttersock_content_to_post","shutterstock"),subtitle:"",container:L.current,showMore:!0,key:null===(e=shutterstock)||void 0===e?void 0:e.api_key,languageCode:null===(t=shutterstock)||void 0===t?void 0:t.language,dynamicTitle:!0,dynamicSubtitle:!0,showSearchBar:!0,assetsPerPage:26,onItemClick:function(e,t,n){e.preventDefault(),n.history.push("/images/".concat(t.id))},theme:{searchBar:{searchForm:"components-shutterstock-ui__searchForm",searchContainer:"components-shutterstock-ui__searchContainer",inputGroup:"components-shutterstock-ui__inputgroup",formControlInput:"components-shutterstock-ui__input",filterDrawer:{filterDrawerContainer:"components-shutterstock-ui__filterDrawerContainer",overlay:"components-shutterstock-ui__widget-drawer-position-fixed",filterDrawer:"components-shutterstock-ui__widget-drawer-position-fixed",filterButtonWrapper:"components-shutterstock-ui__filterButtonWrapper"}}},extraRoutes:E(E({},f?{initialRoute:"/license/images/".concat(b.id)}:{}),{},{routesConfig:W}),overlayActions:G,customHeaders:{"x-shutterstock-application":"Wordpress/".concat(null===(n=shutterstock)||void 0===n?void 0:n.version)},editorialCountry:null===(r=shutterstock)||void 0===r?void 0:r.country,searchFilters:E({showFilterDrawer:!0,images:{orientationFilter:!0}},j?{searchBarDropdownFilters:i}:{})};if("object"===("undefined"==typeof window?"undefined":y()(window))&&window.ShutterstockWidget){var s=new window.ShutterstockWidget(c);s.search({query:""}),L.current=s}}),[]),Object(m.createElement)(m.Fragment,null,Object(m.createElement)("div",{ref:L,className:"components-shutterstock-ui__widget-container"}),D.show&&Object(m.createElement)("div",{className:"components-shutterstock-ui__widget-container-overlay"},D.text&&Object(m.createElement)("div",{className:"text"},D.text)),N.show&&Object(m.createElement)(x,{text:N.text}))},S=(n(21),function(){return Object(m.createElement)("svg",{className:"components-shutterstock-logo",viewBox:"0 0 175 26",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Object(m.createElement)("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},Object(m.createElement)("g",{className:"components-shutterstock-logo__stck"},Object(m.createElement)("path",{d:"M104.443726,14.7782632 C104.178897,14.7303684 103.290589,14.5784737 103.030418,14.5292105 C101.627091,14.2698947 100.42538,13.9325789 100.42538,12.4806842 C100.42538,11.2340526 101.696293,10.6524737 103.277947,10.6524737 C105.631464,10.6524737 107.695532,11.7492632 107.931084,11.8703684 L109.221293,8.37063158 C108.724905,8.10584211 106.624905,6.95226316 103.317871,6.95226316 C100.288973,6.95226316 96.5893536,8.58752632 96.5893536,12.6565263 C96.5893536,16.2978947 99.1198669,17.4665263 101.558555,17.9078421 C101.895247,17.9714737 102.953897,18.1575789 103.256654,18.2116316 C104.896863,18.4969474 105.797814,19.1250526 105.797814,20.2286842 C105.797814,21.6292632 104.518251,22.2861053 102.581274,22.2861053 C99.4798479,22.2861053 97.659981,21.3357368 97.1343156,21.1133684 L95.705038,24.5371579 C96.1488593,24.7725263 98.2661597,26 102.397624,26 C106.406654,26 109.623859,23.9583158 109.623859,20.1582105 C109.592586,16.6208421 107.280323,15.2791053 104.443726,14.7782632"}),Object(m.createElement)("path",{d:"M116.685076,0.579526316 L112.89097,2.73752632 L112.89097,7.30805263 L110.893441,7.30805263 L110.893441,11.0390526 L112.89097,11.0390526 L112.89097,19.1052105 C112.89097,22.5508947 114.268346,25.6448947 119.126426,25.6448947 L120.645532,25.6448947 L120.645532,21.9104737 L120.075951,21.9104737 C117.687833,21.9104737 116.685076,20.4934737 116.685076,18.5687895 L116.685076,11.0390526 L121.042776,11.0390526 L121.042776,7.30805263 L116.685076,7.30805263 L116.685076,0.579526316"}),Object(m.createElement)("path",{d:"M146.327281,10.7455263 C147.80846,10.7455263 149.324905,11.4379474 149.780038,13.1135789 L153.222814,11.7670526 C152.25865,8.26252632 149.092681,6.95226316 146.3,6.95226316 C141.296198,6.95226316 139.278707,10.1475263 139.278707,13.2531579 L139.278707,19.6977368 C139.278707,22.802 141.296198,26 146.3,26 C149.092681,26 152.25865,24.6876842 153.222814,21.1831579 L149.780038,19.8373158 C149.324905,21.5108947 147.80846,22.2074211 146.327281,22.2074211 C143.749525,22.2074211 143.06616,20.7562105 143.06616,19.1017895 L143.06616,13.8477368 C143.06616,12.1953684 143.749525,10.7455263 146.327281,10.7455263"}),Object(m.createElement)("polyline",{points:"162.551046 15.5438947 169.644202 7.30805263 164.978422 7.30805263 158.877376 14.4867895 158.877376 0.580210526 155.079943 0.580210526 155.079943 25.6448947 158.877376 25.6448947 158.877376 19.8085789 160.123004 18.3621579 165.555989 25.6448947 170.109316 25.6448947 162.551046 15.5438947"})),Object(m.createElement)("g",{className:"components-shutterstock-logo__o"},Object(m.createElement)("path",{d:"M131.656559,11.3093158 L127.711407,11.3093158 C127.083935,11.3093158 126.574905,11.8334211 126.574905,12.4758947 L126.574905,16.8781053 L122.682985,16.8781053 L122.682985,12.4758947 C122.682985,9.62068421 124.9327,7.30805263 127.711407,7.30805263 L131.656559,7.30805263 L131.656559,11.3093158"}),Object(m.createElement)("path",{d:"M128.445342,21.6429474 L132.393156,21.6429474 C133.017966,21.6429474 133.528327,21.1195263 133.528327,20.475 L133.528327,16.0741579 L137.419582,16.0741579 L137.419582,20.475 C137.419582,23.3302105 135.169202,25.6448947 132.393156,25.6448947 L128.445342,25.6448947 L128.445342,21.6429474"})),Object(m.createElement)("g",{className:"components-shutterstock-logo__shutter"},Object(m.createElement)("path",{d:"M64.1032319,7.30805263 L68.4596008,7.30805263 L68.4596008,11.0390526 L64.1032319,11.0390526 L64.1032319,18.5687895 C64.1032319,20.4934737 65.1053232,21.9104737 67.4914449,21.9104737 L68.0610266,21.9104737 L68.0610266,25.6448947 L66.5412548,25.6448947 C61.6818441,25.6448947 60.3084601,22.5508947 60.3084601,19.1052105 L60.3084601,11.0390526 L53.9226236,11.0390526 L53.9226236,18.5687895 C53.9226236,20.4934737 54.926711,21.9104737 57.3128327,21.9104737 L57.8804183,21.9104737 L57.8804183,25.6448947 L56.359981,25.6448947 C51.5025665,25.6448947 50.1265209,22.5508947 50.1265209,19.1052105 L50.1265209,11.0390526 L48.2028517,11.0390526 L48.2028517,7.30805263 L50.1265209,7.30805263 L50.1265209,2.73752632 L53.9226236,0.579526316 L53.9226236,7.30805263 L60.3084601,7.30805263 L60.3084601,2.73752632 L64.1032319,0.579526316 L64.1032319,7.30805263"}),Object(m.createElement)("path",{d:"M23.1419202,6.95226316 C21.9415399,6.95226316 20.7238593,7.19105263 19.6279468,7.66863158 L19.6279468,0.579526316 L15.8331749,0.579526316 L15.8331749,25.6448947 L19.6279468,25.6448947 L19.6279468,11.3161579 C20.3904943,10.8235263 21.4877376,10.5293158 22.5603612,10.5293158 C24.9458175,10.5293158 26.068346,11.8929474 26.068346,13.9038421 L26.068346,25.6448947 L29.8597909,25.6448947 L29.8597909,13.3708421 C29.8597909,9.66994737 27.2527567,6.95226316 23.1419202,6.95226316"}),Object(m.createElement)("path",{d:"M42.3746198,21.9980526 C41.653327,22.3983158 40.7403992,22.6275263 39.8321293,22.6275263 C37.0001901,22.6275263 35.9355513,21.1441579 35.9355513,19.0983684 L35.9355513,7.30805263 L32.1414449,7.30805263 L32.1414449,19.1702105 C32.1414449,23.7811053 34.7331749,26 39.365019,26 C41.5834601,26 44.0401141,25.4232105 46.1673954,24.4762632 L46.1673954,7.30805263 L42.3746198,7.30805263 L42.3746198,21.9980526"}),Object(m.createElement)("path",{d:"M8.73802281,14.7782632 C8.47519011,14.7303684 7.58555133,14.5784737 7.32471483,14.5292105 C5.92404943,14.2698947 4.71967681,13.9325789 4.71967681,12.4806842 C4.71967681,11.2340526 5.98925856,10.6524737 7.57290875,10.6524737 C9.92576046,10.6524737 11.9898289,11.7492632 12.2253802,11.8703684 L13.514924,8.37063158 C13.0218631,8.10584211 10.9198669,6.95226316 7.6108365,6.95226316 C4.58393536,6.95226316 0.88365019,8.58752632 0.88365019,12.6565263 C0.88365019,16.2978947 3.4115019,17.4665263 5.85351711,17.9078421 C6.18954373,17.9714737 7.24885932,18.1575789 7.55361217,18.2116316 C9.19315589,18.4969474 10.0901141,19.1250526 10.0901141,20.2286842 C10.0901141,21.6292632 8.81454373,22.2861053 6.87823194,22.2861053 C3.77414449,22.2861053 1.95427757,21.3357368 1.42794677,21.1133684 L0,24.5371579 C0.445152091,24.7725263 2.56178707,26 6.69325095,26 C10.7022814,26 13.9194867,23.9583158 13.9194867,20.1582105 C13.8848859,16.6208421 11.573289,15.2791053 8.73802281,14.7782632"}),Object(m.createElement)("path",{d:"M80.3536122,15.0861579 L73.9557985,15.0861579 L73.9557985,13.7519474 C73.9557985,12.2637895 74.6824144,10.6675263 77.1743346,10.6675263 C79.5764259,10.6675263 80.3536122,12.2220526 80.3536122,13.6794211 L80.3536122,15.0861579 Z M84.148384,13.2531579 C84.148384,9.89915789 81.6624525,6.95089474 77.1923004,6.95089474 C72.1179658,6.95089474 70.1696768,10.2091053 70.1696768,13.2531579 L70.1696768,19.3433158 C70.1696768,23.5566842 72.7880228,26 77.1923004,26 C81.0775665,26 83.0943916,23.6901053 83.693251,22.3025263 L80.490019,20.3237895 C80.2165399,21.1386842 78.948289,22.282 77.2175856,22.282 C74.8713878,22.282 73.9691065,20.9361579 73.9691065,19.2495789 L73.9557985,18.2451579 L84.148384,18.2451579 L84.148384,13.2531579 L84.148384,13.2531579 Z"}),Object(m.createElement)("path",{d:"M86.5764259,13.26 L86.5764259,25.6448947 L90.3678707,25.6448947 L90.3678707,13.5932105 C90.3678707,12.5408947 90.9487643,10.7421053 93.7334601,10.7421053 C94.1706274,10.7421053 95.1587452,10.8700526 95.4748099,10.9309474 L95.4748099,7.14863158 C95.1327947,7.06378947 94.3489544,6.95089474 93.5391635,6.95089474 C88.7163498,6.95089474 86.5764259,10.0613158 86.5764259,13.26"}))))}),A=(n(22),function(e){var t=e.setAttributes,n=e.closeModal,r=e.canLicense,o=e.assetInfo,i=e.licenseImage,c=e.subscriptions;return Object(m.createElement)(m.Fragment,null,Object(m.createElement)(g.Modal,{overlayClassName:"overlay",shouldCloseOnClickOutside:!1,className:"components-shutterstock-modal__content",title:Object(m.createElement)(S,null),onRequestClose:n},Object(m.createElement)("div",{style:{width:"100%"}},Object(m.createElement)(D,{setAttributes:t,closeModal:n,canLicense:r,assetInfo:o,licenseImage:i,subscriptions:c}))))});function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Z=Object(b.withDispatch)((function(e){return{replaceBlock:e("core/block-editor").replaceBlock}}))((function(e){var t,n,i,s,u,l,d,b,I,f,y,w,C=Object(m.useState)(!1),h=p()(C,2),j=h[0],L=h[1],M=Object(m.useState)(!1),k=p()(M,2),E=k[0],D=k[1],S=Object(m.useState)(!1),P=p()(S,2),Z=P[0],T=P[1],B=Object(m.useState)(!1),G=p()(B,2),W=G[0],z=G[1],R=Object(m.useState)([]),H=p()(R,2),U=H[0],F=H[1],V=function(){return L(!0)},J=(null===(t=e.attributes)||void 0===t||null===(n=t.img)||void 0===n?void 0:n.media_type)||"image",Q="editorial"===J,Y=shutterstock.permissions,K=void 0===Y?{}:Y,X=K.includes("can_user_license_all_shutterstock_images"),q=K.includes("can_user_license_shutterstock_editorial_image"),$=K.includes("can_user_license_shutterstock_photos"),ee=!1;(X||Q&&q||!Q&&$)&&(ee=!0);var te=function(e){D(e),z(e)},ne=_({onRemoveSnackbar:function(){return te(!1)}}),re=ne.snackbar,oe=ne.setSnackbar;return Object(m.useEffect)((function(){var t,n;if(null===(t=e.attributes)||void 0===t||null===(n=t.img)||void 0===n?void 0:n.licensedImageUrl){var o=e.attributes.img,i=o.licensedImageUrl,c=o.contributorName,s=o.uploadedImageId,a=o.description,u=Object(r.createBlock)("core/image",{url:i,id:s,caption:"Image: ".concat(c,", Shutterstock"),alt:a,align:"center"});e.replaceBlock(e.clientId,u)}}),[null===(i=e.attributes)||void 0===i||null===(s=i.img)||void 0===s?void 0:s.licensedImageUrl]),Object(m.createElement)("div",{className:e.className},Object(m.createElement)("div",null,Object(m.createElement)("span",{className:"components-edit__shutterstock-icon"},Object(m.createElement)(v,null)),Object(m.createElement)("span",{className:"components-edit__heading"},"Shutterstock")),e.attributes.img?Object(m.createElement)("div",{className:"components-edit__image-container"},Object(m.createElement)("img",{src:(null===(u=e.attributes)||void 0===u||null===(l=u.img)||void 0===l?void 0:l.licensedImageUrl)||(null===(d=e.attributes)||void 0===d||null===(b=d.img)||void 0===b||null===(I=b.preview_1500)||void 0===I?void 0:I.url),onLoad:function(){return T(!0)}}),ee&&Z&&!(null===(f=e.attributes)||void 0===f||null===(y=f.img)||void 0===y?void 0:y.licensedImageUrl)&&Object(m.createElement)(g.Button,{disabled:W,onClick:a()(c.a.mark((function t(){var n,r;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,te(!0),t.next=4,O(null===(n=e.attributes)||void 0===n?void 0:n.img.id,J);case 4:r=t.sent,F(r),V(),z(!1),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(0),i=t.t0,c=void 0,s=void 0,a=void 0,a=Object(o.__)("wordpress:text_something_went_wrong","shutterstock"),500!==(null==i||null===(c=i.data)||void 0===c?void 0:c.statusCode)&&(null==i||null===(s=i.data)||void 0===s?void 0:s.message)&&(a=i.data.message),oe(N(N({},re),{},{show:!0,text:a}));case 13:case"end":return t.stop()}var i,c,s,a}),t,null,[[0,10]])}))),className:"components-edit__license-image-button"},W&&Object(m.createElement)("span",{className:"loading-spinner"}),Object(m.createElement)("span",null,Object(o.__)("wordpress:text_license_this_image","shutterstock")))):Object(m.createElement)("span",null),Object(m.createElement)("div",{className:"components-edit__paragraph"},Object(o.__)("wordpress:text_block_paragraph","shutterstock")),Object(m.createElement)(g.Button,{disabled:W,onClick:function(){V(),D(!1)},className:"components-shutterstock-modal__open-modal-button "},Object(o.__)("wordpress:text_browse","shutterstock")),j&&Object(m.createElement)(A,{setAttributes:e.setAttributes,closeModal:function(){return L(!1)},canLicense:ee,assetInfo:null==e||null===(w=e.attributes)||void 0===w?void 0:w.img,licenseImage:E,subscriptions:U}),re.show&&!j&&Object(m.createElement)(x,{text:re.text}))}));Object(r.registerBlockType)("shutterstock/shutterstock-block",{title:"Shutterstock",description:Object(o.__)("wordpress:text_block_description_in_sidebar","shutterstock"),category:"common",icon:v,supports:{html:!1},edit:Z,save:function(e){var t,n,r,i,c;return Object(m.createElement)("img",{alt:Object(o.__)("Alt text"),className:"wp-block-shutterstock-shutterstock-block",src:(null===(t=e.attributes)||void 0===t||null===(n=t.img)||void 0===n?void 0:n.licensedImageUrl)||(null===(r=e.attributes)||void 0===r||null===(i=r.img)||void 0===i||null===(c=i.preview_1500)||void 0===c?void 0:c.url)})},attributes:{img:{type:"object"}}})}]);1 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=24)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.React}()},function(e,t){!function(){e.exports=this.regeneratorRuntime}()},function(e,t,n){var r=n(13),o=n(14),c=n(15),i=n(17);e.exports=function(e,t){return r(e)||o(e,t)||c(e,t)||i()}},function(e,t){function n(e,t,n,r,o,c,i){try{var s=e[c](i),a=s.value}catch(e){return void n(e)}s.done?t(a):Promise.resolve(a).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,c){var i=e.apply(t,r);function s(e){n(i,o,c,s,a,"next",e)}function a(e){n(i,o,c,s,a,"throw",e)}s(void 0)}))}}},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){!function(){e.exports=this.wp.apiFetch}()},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t){!function(){e.exports=this.wp.blocks}()},function(e,t){!function(){e.exports=this.wp.data}()},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t){!function(){e.exports=this.wp.dom}()},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,c=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw c}}return n}}},function(e,t,n){var r=n(16);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r=n(9),o=n(1),c=n(3),i=n.n(c),s=n(5),a=n.n(s),u=n(6),l=n.n(u),p=n(4),d=n.n(p),g=n(0),m=n(8),b=n(10),I=(n(18),n(2)),v=(n(19),function(){return Object(g.createElement)("svg",{className:"components-shutterstock-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},Object(g.createElement)("rect",{className:"components-shutterstock-icon__rectangle",width:"36",height:"36",rx:"2",ry:"2"}),Object(g.createElement)("path",{d:"M20.3,11.3h-5.7c-0.9,0-1.7,0.7-1.7,1.5v5.7H7.3v-5.7c0-3.7,3.3-6.7,7.3-6.7h5.7V11.3"}),Object(g.createElement)("path",{d:"M15.7,24.7h5.8c0.9,0,1.7-0.7,1.7-1.5v-5.7h5.7v5.7c0,3.7-3.3,6.7-7.3,6.7h-5.8V24.7"}))}),f=n(11),y=n.n(f),h=n(7),w=n.n(h),j=n(12);n(20);var C="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+ZG93bmxvYWQtY29tcDwvdGl0bGU+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iZG93bmxvYWQtY29tcCI+CiAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUiIHg9IjAiIHk9IjAiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PC9yZWN0PgogICAgICAgICAgICA8cGF0aCBkPSJNMTUsMjAgTDE1LDIyIEw5LDIyIEw5LDIwIEwxNSwyMCBaIE03LDIwIEw3LDIyIEwyLDIyIEwyLDIwIEw3LDIwIFogTTIyLDIwIEwyMiwyMiBMMTcsMjIgTDE3LDIwIEwyMiwyMCBaIE0xMywyIEwxMywxNC4yIEwxNy4zLDkuOSBMMTguNywxMS4zIEwxMiwxOCBMNS4zLDExLjMgTDYuNyw5LjkgTDExLDE0LjIgTDExLDIgTDEzLDIgWiIgaWQ9IlNoYXBlIiBmaWxsPSIjRkZGRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==";function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _=function(){var e=a()(i.a.mark((function e(t){var n,r,o,c,s,a,u,p,g,m=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=m.length>1&&void 0!==m[1]?m[1]:"image",e.prev=1,c="editorial"===n&&(null===(r=shutterstock)||void 0===r?void 0:r.country)?"&country=".concat(null===(o=shutterstock)||void 0===o?void 0:o.country):"",e.next=5,w()({path:"shutterstock/user/subscriptions?mediaType=".concat(n)});case 5:return s=e.sent,e.next=8,w()({path:"shutterstock/images/".concat(t,"?mediaType=").concat(n).concat(c)});case 8:return a=e.sent,u=a.assets,a.id,a.is_editorial,p=Object.entries(u).filter((function(e){var t=d()(e,2);t[0];return t[1].is_licensable})).reduce((function(e,t){var n=d()(t,2),r=n[0],o=n[1];return L(L({},e),{},l()({},r,o))}),{}),g=s.map((function(e){var t,r=null==e||null===(t=e.formats)||void 0===t?void 0:t.filter((function(e){var t=e.size,n=e.format;return!t.match(/supersize/i)&&"tiff"!==n&&"eps"!==n&&void 0!==n})).sort((function(e,t){return e.min_resolution-t.min_resolution})).map((function(e){return L(L({},e),{},{details_for_image:L({},p["".concat(e.size,"_").concat(e.format)])})}));if("editorial"===n){r=Object.entries(p||{}).map((function(e){var t,n=d()(e,2),r=n[0];return{details_for_image:n[1],size:(t=r,{small_jpg:"small",medium_jpg:"medium",original:"original"}[t])}}))}return L(L({},e),{},{formats:r})})),e.abrupt("return",g);case 17:throw e.prev=17,e.t0=e.catch(1),e.t0;case 20:case"end":return e.stop()}}),e,null,[[1,17]])})));return function(t){return e.apply(this,arguments)}}(),x=function(){var e=a()(i.a.mark((function e(){var t,n,r,o=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=o.length>0&&void 0!==o[0]?o[0]:"images",n=o.length>1&&void 0!==o[1]?o[1]:1,e.prev=2,e.next=5,w()({path:"shutterstock/images/licenses?mediaType=".concat(t,"&page=").concat(n)});case 5:return r=e.sent,e.abrupt("return",r);case 9:throw e.prev=9,e.t0=e.catch(2),e.t0;case 12:case"end":return e.stop()}}),e,null,[[2,9]])})));return function(){return e.apply(this,arguments)}}(),k=_;function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var D=function(){var e=a()(i.a.mark((function e(t,n){var r,c,s,a,u,l,p,d,g,m,b,I,v,f,y,h,j,C;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=n.toggleOverlay,c=n.licenseId,s=n.size,a=n.setAttributes,u=n.closeModal,l=n.handleError,e.prev=1,r(!0,Object(o.__)("wordpress:downloading_image","shutterstock")),d=null==t||null===(p=t.contributor)||void 0===p?void 0:p.id,g="",!d){e.next=10;break}return e.next=8,w()({path:"shutterstock/contributor/".concat(d)});case 8:I=e.sent,g=(null==I||null===(m=I.data)||void 0===m||null===(b=m[0])||void 0===b?void 0:b.display_name)||d;case 10:return e.next=12,w()({path:"shutterstock/images/".concat(t.id,"?mediaType=images")});case 12:return v=e.sent,f=v.assets,e.next=16,w()({path:"shutterstock/images/licenses/".concat(c,"/downloads"),method:"POST",contentType:"application/json",data:E({mediaType:"images",size:s,contributorName:g,imageId:t.id,description:t.description},null==f?void 0:f["".concat(s,"_jpg")])});case 16:(null==(y=e.sent)?void 0:y.success)?(h=y.data,j=h.url,C=h.id,a({img:E(E({},t),{},{licensedImageUrl:j,contributorName:g,uploadedImageId:C})}),u(),r(!1)):l(y),e.next=24;break;case 20:e.prev=20,e.t0=e.catch(1),r(!1),l(e.t0);case 24:case"end":return e.stop()}}),e,null,[[1,20]])})));return function(t,n){return e.apply(this,arguments)}}();function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var P=function(e){var t=e.timeout,n=void 0===t?5e3:t,r=e.onRemoveSnackbar,o=Object(g.useState)({show:!1,text:""}),c=d()(o,2),i=c[0],s=c[1];return Object(g.useEffect)((function(){var e=setTimeout((function(){s(A(A({},i),{},{show:!1,text:""})),r&&r()}),n);return function(){return clearTimeout(e)}}),[i.show]),{snackbar:i,setSnackbar:s}},N=(n(21),function(e){var t=e.text;return t&&Object(g.createElement)("div",{className:"components-shutterstock-snackbar__container"},Object(g.createElement)(m.Snackbar,null,"Shutterstock: ",t))});function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var B=/<\/?[a-z][^>]*?>/gi,G=/\r?\n|\r/gi,W=function(e){var t,n,r,c,s,u=e.setAttributes,l=e.closeModal,p=e.canLicense,m=void 0!==p&&p,b=e.assetInfo,v=void 0===b?{}:b,f=e.licenseImage,h=void 0!==f&&f,O=e.subscriptions,L=void 0===O?[]:O,_=null===(t=shutterstock)||void 0===t||null===(n=t.permissions)||void 0===n?void 0:n.includes("can_user_search_editorial_images"),M=Object(I.useRef)(),E=Object(I.useState)({show:!1,text:""}),S=d()(E,2),A=S[0],Z=S[1],W=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Z(T(T({},A),{},{show:e,text:t}))},z=P({}),H=z.snackbar,R=z.setSnackbar,U=function(e){var t,n,r,c,i=Object(o.__)("wordpress:text_something_went_wrong","shutterstock");500!==(null==e||null===(t=e.data)||void 0===t?void 0:t.statusCode)&&(null==e||null===(n=e.data)||void 0===n?void 0:n.message)&&(i=null==e||null===(r=e.data)||void 0===r?void 0:r.message);c=i,R(T(T({},H),{},{show:!0,text:c})),W(!1)},F={label:Object(o.__)("wordpress:text_insert_preview","shutterstock"),onClick:function(e,t){e.preventDefault(),u({img:t}),l()}},V=[T(T({},F),{},{icon:C})],J=[{path:"/images/:id",component:ShutterstockWidget.components.ImageDetailsPage,props:{buttons:[T(T({},F),{},{icon:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgZmlsbD0iIzNGNjA3OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+ZG93bmxvYWQtY29tcDwvdGl0bGU+CiAgICA8c3R5bGU+CiAgICAgICAgcGF0aCB7CiAgICAgICAgICAgIGZpbGw6IGJsYWNrOwogICAgICAgIH0KICAgIDwvc3R5bGU+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iZG93bmxvYWQtY29tcCI+CiAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUiIHg9IjAiIHk9IjAiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PC9yZWN0PgogICAgICAgICAgICA8cGF0aCBkPSJNMTUsMjAgTDE1LDIyIEw5LDIyIEw5LDIwIEwxNSwyMCBaIE03LDIwIEw3LDIyIEwyLDIyIEwyLDIwIEw3LDIwIFogTTIyLDIwIEwyMiwyMiBMMTcsMjIgTDE3LDIwIEwyMiwyMCBaIE0xMywyIEwxMywxNC4yIEwxNy4zLDkuOSBMMTguNywxMS4zIEwxMiwxOCBMNS4zLDExLjMgTDYuNyw5LjkgTDExLDE0LjIgTDExLDIgTDEzLDIgWiIgaWQ9IlNoYXBlIiBmaWxsPSIjRkZGRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="})],assetInfo:v}}];if(m){var Q={label:Object(o.__)("wordpress:text_license","shutterstock"),icon:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+c2hvcHBpbmctY2FydDwvdGl0bGU+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0ic2hvcHBpbmctY2FydCI+CiAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUiIHg9IjAiIHk9IjAiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PC9yZWN0PgogICAgICAgICAgICA8cGF0aCBkPSJNMTcsMTggQzE1LjksMTggMTUsMTguOSAxNSwyMCBDMTUsMjEuMSAxNS45LDIyIDE3LDIyIEMxOC4xLDIyIDE5LDIxLjEgMTksMjAgQzE5LDE4LjkgMTguMSwxOCAxNywxOCBaIE05LDE4IEM3LjksMTggNywxOC45IDcsMjAgQzcsMjEuMSA3LjksMjIgOSwyMiBDMTAuMSwyMiAxMSwyMS4xIDExLDIwIEMxMSwxOC45IDEwLjEsMTggOSwxOCBaIE0yMCw5IEwyMCw1IEw3LjMsNSBMNi45LDIgTDYsMiBMMywyIEMzLDMuMSAzLjksNCA1LDQgTDUuMSw0IEw3LjEsMTcgTDE1LDE3IEwxOSwxNyBDMTksMTUuOSAxOC4xLDE1IDE3LDE1IEw4LjksMTUgTDguNiwxMyBMMTYsMTMgQzE4LjIsMTMgMjAsMTEuMiAyMCw5IFogTTguMiwxMSBMNy42LDcgTDE4LDcgTDE4LDkgQzE4LDEwLjEgMTcuMSwxMSAxNiwxMSBMOC4yLDExIFoiIGlkPSJTaGFwZSIgZmlsbD0iI0ZGRkZGRiIgZmlsbC1ydWxlPSJub256ZXJvIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=",isPrimary:!0,onClick:(s=a()(i.a.mark((function e(t,n,r){var c,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),e.prev=1,c=n.media_type,W(!0,Object(o.__)("wordpress:text_loading_please_wait","shutterstock")),e.next=6,k(n.id,c);case 6:s=e.sent,J[1].props=T(T({},J[1].props),{},{assetInfo:n,subscriptions:s}),M.current.updateRoutes({routesConfig:J}),M.current.toggleLoadingIndicator(!1),W(!1),r.history.push("/license/images/".concat(n.id)),e.next=19;break;case 14:e.prev=14,e.t0=e.catch(1),M.current.toggleLoadingIndicator(!1),W(!1),U(e.t0);case 19:case"end":return e.stop()}}),e,null,[[1,14]])}))),function(e,t,n){return s.apply(this,arguments)})};V.push(T({},Q)),J[0].props.buttons.push(T({},Q)),J.push({path:"/license/images/:id",component:ShutterstockWidget.components.LicensingImagePage,props:{buttons:[T(T({},Q),{},{onClick:(c=a()(i.a.mark((function e(t,n,r){var c,s,a,p,d,g,m,b,I,v,f,y,h,j;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(c=r.subscription,e.prev=1,W(!0,Object(o.__)("wordpress:text_licensing_image_please_wait","shutterstock")),p=null==n||null===(s=n.contributor)||void 0===s?void 0:s.id,d=null==n?void 0:n.media_type,m=(g="editorial"===d)?null==n?void 0:n.byline:"",!p||g){e.next=12;break}return e.next=10,w()({path:"shutterstock/contributor/".concat(p)});case 10:v=e.sent,m=(null==v||null===(b=v.data)||void 0===b||null===(I=b[0])||void 0===I?void 0:I.display_name)||p;case 12:return e.next=14,w()({path:"shutterstock/images/licenses",method:"POST",contentType:"application/json",data:T(T(T({subscription_id:null==c?void 0:c.id,size:null==c?void 0:c.size,id:n.id,description:n.description},(null==c?void 0:c.metadata)?{metadata:c.metadata}:{}),{},{contributorName:m},null==c?void 0:c.details_for_image),{},{mediaType:d,license:null==c?void 0:c.license,country:null===(a=shutterstock)||void 0===a?void 0:a.country})});case 14:(null==(f=e.sent)?void 0:f.success)?(y=f.data,h=y.url,j=y.id,u({img:T(T({},n),{},{licensedImageUrl:h,contributorName:m,uploadedImageId:j})}),l(),W(!1)):U(f),e.next=22;break;case 18:e.prev=18,e.t0=e.catch(1),W(!1),U(e.t0);case 22:case"end":return e.stop()}}),e,null,[[1,18]])}))),function(e,t,n){return c.apply(this,arguments)})})],assetInfo:v,subscriptions:L}},{path:"/license-history",component:ShutterstockWidget.components.LicenseHistoryPage,props:{onLicenseHistoryItemClick:function(e,t){var n=t.history;J[0].props=T(T({},J[0].props),{},{assetInfo:e}),M.current.updateRoutes({routesConfig:J}),M.current.toggleLoadingIndicator(!1),n.push("/images/".concat(e.id))},getMoreResults:(r=a()(i.a.mark((function e(t){var n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,x("images",t+1);case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),function(e){return r.apply(this,arguments)}),licenseHistory:[],overlayActions:[{label:Object(o.__)("wordpress:text_dowbload_and_insert","shutterstock"),icon:C,onClick:function(e,t,n){e.preventDefault(),D(t,T(T({},n),{},{toggleOverlay:W,handleError:U,setAttributes:u,closeModal:l}))}}]}})}return Object(I.useEffect)((function(){var e,t,n,r,c=[{label:Object(o.__)("wordpress:text_images","shutterstock"),assetType:"images"},{label:Object(o.__)("wordpress:text_editorial","shutterstock"),assetType:"editorial"}],i={mediaType:"images",imageType:["photo"],title:Object(o.__)("wordpress:text_add_shuttersock_content_to_post","shutterstock"),subtitle:"",container:M.current,showMore:!0,key:null===(e=shutterstock)||void 0===e?void 0:e.api_key,languageCode:null===(t=shutterstock)||void 0===t?void 0:t.language,dynamicTitle:!0,dynamicSubtitle:!0,showSearchBar:!0,assetsPerPage:26,onItemClick:function(e,t,n){e.preventDefault(),J[0].props=T(T({},J[0].props),{},{assetInfo:t}),M.current.updateRoutes({routesConfig:J}),M.current.toggleLoadingIndicator(!1),n.history.push("/images/".concat(t.id))},theme:{searchBar:{searchForm:"components-shutterstock-ui__searchForm",searchContainer:"components-shutterstock-ui__searchContainer",inputGroup:"components-shutterstock-ui__inputgroup",formControlInput:"components-shutterstock-ui__input",filterDrawer:{filterDrawerContainer:"components-shutterstock-ui__filterDrawerContainer",overlay:"components-shutterstock-ui__widget-drawer-position-fixed",filterDrawer:"components-shutterstock-ui__widget-drawer-position-fixed",filterButtonWrapper:"components-shutterstock-ui__filterButtonWrapper"}}},extraRoutes:T(T({},h?{initialRoute:"/license/images/".concat(v.id)}:{}),{},{routesConfig:J,excludeSearchBarRoutes:["^/license-history$"]}),overlayActions:V,customHeaders:{"x-shutterstock-application":"Wordpress/".concat(null===(n=shutterstock)||void 0===n?void 0:n.version)},editorialCountry:null===(r=shutterstock)||void 0===r?void 0:r.country,searchFilters:T({showFilterDrawer:!0,images:{orientationFilter:!0}},_?{searchBarDropdownFilters:c}:{}),searchSuggestions:{enable:!0,textProvider:function(){var e=wp.data.select("core/editor").getEditedPostAttribute("title")||"",t=wp.data.select("core/editor").getEditedPostContent()||"";return Object(j.__unstableStripHTML)("".concat(e," ").concat(t)).replace(B,"").replace(G,"").trim()}}};if("object"===("undefined"==typeof window?"undefined":y()(window))&&window.ShutterstockWidget){var s=new window.ShutterstockWidget(i);s.search({query:""}),M.current=s}}),[]),Object(g.createElement)(g.Fragment,null,m&&Object(g.createElement)("div",{className:"components-shutterstock-ui__navigation ".concat(A.show?"disabled":"")},Object(g.createElement)("a",{onClick:function(e,t){M.current.getHistory().push("/")}},Object(o.__)("wordpress:text_home","shutterstock")),Object(g.createElement)("a",{className:"components-shutterstock-ui__download",onClick:function(){var e=a()(i.a.mark((function e(t){var n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,W(!0,Object(o.__)("wordpress:text_loading_please_wait","shutterstock")),e.next=4,x("images");case 4:n=e.sent,J[2].props=T(T({},J[2].props),{},{licenseHistory:n}),M.current.updateRoutes({routesConfig:J}),M.current.toggleLoadingIndicator(!1),W(!1),M.current.getHistory().push("/license-history"),e.next=17;break;case 12:e.prev=12,e.t0=e.catch(0),M.current.toggleLoadingIndicator(!1),W(!1),U(e.t0);case 17:case"end":return e.stop()}}),e,null,[[0,12]])})));return function(t){return e.apply(this,arguments)}}()},Object(o.__)("wordpress:text_downloads","shutterstock"))),Object(g.createElement)("div",{ref:M,className:"components-shutterstock-ui__widget-container"}),A.show&&Object(g.createElement)("div",{className:"components-shutterstock-ui__widget-container-overlay"},A.text&&Object(g.createElement)("div",{className:"text"},A.text)),H.show&&Object(g.createElement)(N,{text:H.text}))},z=(n(22),function(){return Object(g.createElement)("svg",{className:"components-shutterstock-logo",viewBox:"0 0 175 26",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Object(g.createElement)("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},Object(g.createElement)("g",{className:"components-shutterstock-logo__stck"},Object(g.createElement)("path",{d:"M104.443726,14.7782632 C104.178897,14.7303684 103.290589,14.5784737 103.030418,14.5292105 C101.627091,14.2698947 100.42538,13.9325789 100.42538,12.4806842 C100.42538,11.2340526 101.696293,10.6524737 103.277947,10.6524737 C105.631464,10.6524737 107.695532,11.7492632 107.931084,11.8703684 L109.221293,8.37063158 C108.724905,8.10584211 106.624905,6.95226316 103.317871,6.95226316 C100.288973,6.95226316 96.5893536,8.58752632 96.5893536,12.6565263 C96.5893536,16.2978947 99.1198669,17.4665263 101.558555,17.9078421 C101.895247,17.9714737 102.953897,18.1575789 103.256654,18.2116316 C104.896863,18.4969474 105.797814,19.1250526 105.797814,20.2286842 C105.797814,21.6292632 104.518251,22.2861053 102.581274,22.2861053 C99.4798479,22.2861053 97.659981,21.3357368 97.1343156,21.1133684 L95.705038,24.5371579 C96.1488593,24.7725263 98.2661597,26 102.397624,26 C106.406654,26 109.623859,23.9583158 109.623859,20.1582105 C109.592586,16.6208421 107.280323,15.2791053 104.443726,14.7782632"}),Object(g.createElement)("path",{d:"M116.685076,0.579526316 L112.89097,2.73752632 L112.89097,7.30805263 L110.893441,7.30805263 L110.893441,11.0390526 L112.89097,11.0390526 L112.89097,19.1052105 C112.89097,22.5508947 114.268346,25.6448947 119.126426,25.6448947 L120.645532,25.6448947 L120.645532,21.9104737 L120.075951,21.9104737 C117.687833,21.9104737 116.685076,20.4934737 116.685076,18.5687895 L116.685076,11.0390526 L121.042776,11.0390526 L121.042776,7.30805263 L116.685076,7.30805263 L116.685076,0.579526316"}),Object(g.createElement)("path",{d:"M146.327281,10.7455263 C147.80846,10.7455263 149.324905,11.4379474 149.780038,13.1135789 L153.222814,11.7670526 C152.25865,8.26252632 149.092681,6.95226316 146.3,6.95226316 C141.296198,6.95226316 139.278707,10.1475263 139.278707,13.2531579 L139.278707,19.6977368 C139.278707,22.802 141.296198,26 146.3,26 C149.092681,26 152.25865,24.6876842 153.222814,21.1831579 L149.780038,19.8373158 C149.324905,21.5108947 147.80846,22.2074211 146.327281,22.2074211 C143.749525,22.2074211 143.06616,20.7562105 143.06616,19.1017895 L143.06616,13.8477368 C143.06616,12.1953684 143.749525,10.7455263 146.327281,10.7455263"}),Object(g.createElement)("polyline",{points:"162.551046 15.5438947 169.644202 7.30805263 164.978422 7.30805263 158.877376 14.4867895 158.877376 0.580210526 155.079943 0.580210526 155.079943 25.6448947 158.877376 25.6448947 158.877376 19.8085789 160.123004 18.3621579 165.555989 25.6448947 170.109316 25.6448947 162.551046 15.5438947"})),Object(g.createElement)("g",{className:"components-shutterstock-logo__o"},Object(g.createElement)("path",{d:"M131.656559,11.3093158 L127.711407,11.3093158 C127.083935,11.3093158 126.574905,11.8334211 126.574905,12.4758947 L126.574905,16.8781053 L122.682985,16.8781053 L122.682985,12.4758947 C122.682985,9.62068421 124.9327,7.30805263 127.711407,7.30805263 L131.656559,7.30805263 L131.656559,11.3093158"}),Object(g.createElement)("path",{d:"M128.445342,21.6429474 L132.393156,21.6429474 C133.017966,21.6429474 133.528327,21.1195263 133.528327,20.475 L133.528327,16.0741579 L137.419582,16.0741579 L137.419582,20.475 C137.419582,23.3302105 135.169202,25.6448947 132.393156,25.6448947 L128.445342,25.6448947 L128.445342,21.6429474"})),Object(g.createElement)("g",{className:"components-shutterstock-logo__shutter"},Object(g.createElement)("path",{d:"M64.1032319,7.30805263 L68.4596008,7.30805263 L68.4596008,11.0390526 L64.1032319,11.0390526 L64.1032319,18.5687895 C64.1032319,20.4934737 65.1053232,21.9104737 67.4914449,21.9104737 L68.0610266,21.9104737 L68.0610266,25.6448947 L66.5412548,25.6448947 C61.6818441,25.6448947 60.3084601,22.5508947 60.3084601,19.1052105 L60.3084601,11.0390526 L53.9226236,11.0390526 L53.9226236,18.5687895 C53.9226236,20.4934737 54.926711,21.9104737 57.3128327,21.9104737 L57.8804183,21.9104737 L57.8804183,25.6448947 L56.359981,25.6448947 C51.5025665,25.6448947 50.1265209,22.5508947 50.1265209,19.1052105 L50.1265209,11.0390526 L48.2028517,11.0390526 L48.2028517,7.30805263 L50.1265209,7.30805263 L50.1265209,2.73752632 L53.9226236,0.579526316 L53.9226236,7.30805263 L60.3084601,7.30805263 L60.3084601,2.73752632 L64.1032319,0.579526316 L64.1032319,7.30805263"}),Object(g.createElement)("path",{d:"M23.1419202,6.95226316 C21.9415399,6.95226316 20.7238593,7.19105263 19.6279468,7.66863158 L19.6279468,0.579526316 L15.8331749,0.579526316 L15.8331749,25.6448947 L19.6279468,25.6448947 L19.6279468,11.3161579 C20.3904943,10.8235263 21.4877376,10.5293158 22.5603612,10.5293158 C24.9458175,10.5293158 26.068346,11.8929474 26.068346,13.9038421 L26.068346,25.6448947 L29.8597909,25.6448947 L29.8597909,13.3708421 C29.8597909,9.66994737 27.2527567,6.95226316 23.1419202,6.95226316"}),Object(g.createElement)("path",{d:"M42.3746198,21.9980526 C41.653327,22.3983158 40.7403992,22.6275263 39.8321293,22.6275263 C37.0001901,22.6275263 35.9355513,21.1441579 35.9355513,19.0983684 L35.9355513,7.30805263 L32.1414449,7.30805263 L32.1414449,19.1702105 C32.1414449,23.7811053 34.7331749,26 39.365019,26 C41.5834601,26 44.0401141,25.4232105 46.1673954,24.4762632 L46.1673954,7.30805263 L42.3746198,7.30805263 L42.3746198,21.9980526"}),Object(g.createElement)("path",{d:"M8.73802281,14.7782632 C8.47519011,14.7303684 7.58555133,14.5784737 7.32471483,14.5292105 C5.92404943,14.2698947 4.71967681,13.9325789 4.71967681,12.4806842 C4.71967681,11.2340526 5.98925856,10.6524737 7.57290875,10.6524737 C9.92576046,10.6524737 11.9898289,11.7492632 12.2253802,11.8703684 L13.514924,8.37063158 C13.0218631,8.10584211 10.9198669,6.95226316 7.6108365,6.95226316 C4.58393536,6.95226316 0.88365019,8.58752632 0.88365019,12.6565263 C0.88365019,16.2978947 3.4115019,17.4665263 5.85351711,17.9078421 C6.18954373,17.9714737 7.24885932,18.1575789 7.55361217,18.2116316 C9.19315589,18.4969474 10.0901141,19.1250526 10.0901141,20.2286842 C10.0901141,21.6292632 8.81454373,22.2861053 6.87823194,22.2861053 C3.77414449,22.2861053 1.95427757,21.3357368 1.42794677,21.1133684 L0,24.5371579 C0.445152091,24.7725263 2.56178707,26 6.69325095,26 C10.7022814,26 13.9194867,23.9583158 13.9194867,20.1582105 C13.8848859,16.6208421 11.573289,15.2791053 8.73802281,14.7782632"}),Object(g.createElement)("path",{d:"M80.3536122,15.0861579 L73.9557985,15.0861579 L73.9557985,13.7519474 C73.9557985,12.2637895 74.6824144,10.6675263 77.1743346,10.6675263 C79.5764259,10.6675263 80.3536122,12.2220526 80.3536122,13.6794211 L80.3536122,15.0861579 Z M84.148384,13.2531579 C84.148384,9.89915789 81.6624525,6.95089474 77.1923004,6.95089474 C72.1179658,6.95089474 70.1696768,10.2091053 70.1696768,13.2531579 L70.1696768,19.3433158 C70.1696768,23.5566842 72.7880228,26 77.1923004,26 C81.0775665,26 83.0943916,23.6901053 83.693251,22.3025263 L80.490019,20.3237895 C80.2165399,21.1386842 78.948289,22.282 77.2175856,22.282 C74.8713878,22.282 73.9691065,20.9361579 73.9691065,19.2495789 L73.9557985,18.2451579 L84.148384,18.2451579 L84.148384,13.2531579 L84.148384,13.2531579 Z"}),Object(g.createElement)("path",{d:"M86.5764259,13.26 L86.5764259,25.6448947 L90.3678707,25.6448947 L90.3678707,13.5932105 C90.3678707,12.5408947 90.9487643,10.7421053 93.7334601,10.7421053 C94.1706274,10.7421053 95.1587452,10.8700526 95.4748099,10.9309474 L95.4748099,7.14863158 C95.1327947,7.06378947 94.3489544,6.95089474 93.5391635,6.95089474 C88.7163498,6.95089474 86.5764259,10.0613158 86.5764259,13.26"}))))}),H=(n(23),function(e){var t=e.setAttributes,n=e.closeModal,r=e.canLicense,o=e.assetInfo,c=e.licenseImage,i=e.subscriptions;return Object(g.createElement)(g.Fragment,null,Object(g.createElement)(m.Modal,{overlayClassName:"overlay",shouldCloseOnClickOutside:!1,className:"components-shutterstock-modal__content",title:Object(g.createElement)(z,null),onRequestClose:n},Object(g.createElement)("div",{style:{width:"100%"}},Object(g.createElement)(W,{setAttributes:t,closeModal:n,canLicense:r,assetInfo:o,licenseImage:c,subscriptions:i}))))});function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var F=Object(b.withDispatch)((function(e){return{replaceBlock:e("core/block-editor").replaceBlock}}))((function(e){var t,n,c,s,u,l,p,b,I,f,y,h,w=Object(g.useState)(!1),j=d()(w,2),C=j[0],O=j[1],L=Object(g.useState)(!1),_=d()(L,2),x=_[0],M=_[1],E=Object(g.useState)(!1),D=d()(E,2),S=D[0],A=D[1],Z=Object(g.useState)(!1),T=d()(Z,2),B=T[0],G=T[1],W=Object(g.useState)([]),z=d()(W,2),R=z[0],F=z[1],V=function(){return O(!0)},J=(null===(t=e.attributes)||void 0===t||null===(n=t.img)||void 0===n?void 0:n.media_type)||"image",Q="editorial"===J,Y=shutterstock.permissions,K=void 0===Y?{}:Y,X=K.includes("can_user_license_all_shutterstock_images"),q=K.includes("can_user_license_shutterstock_editorial_image"),$=K.includes("can_user_license_shutterstock_photos"),ee=!1;(X||Q&&q||!Q&&$)&&(ee=!0);var te=function(e){M(e),G(e)},ne=P({onRemoveSnackbar:function(){return te(!1)}}),re=ne.snackbar,oe=ne.setSnackbar;return Object(g.useEffect)((function(){var t,n;if(null===(t=e.attributes)||void 0===t||null===(n=t.img)||void 0===n?void 0:n.licensedImageUrl){var o=e.attributes.img,c=o.licensedImageUrl,i=o.contributorName,s=o.uploadedImageId,a=o.description,u=Object(r.createBlock)("core/image",{url:c,id:s,caption:"Image: ".concat(i,", Shutterstock"),alt:a,align:"center"});e.replaceBlock(e.clientId,u)}}),[null===(c=e.attributes)||void 0===c||null===(s=c.img)||void 0===s?void 0:s.licensedImageUrl]),Object(g.createElement)("div",{className:e.className},Object(g.createElement)("div",null,Object(g.createElement)("span",{className:"components-edit__shutterstock-icon"},Object(g.createElement)(v,null)),Object(g.createElement)("span",{className:"components-edit__heading"},"Shutterstock")),e.attributes.img?Object(g.createElement)("div",{className:"components-edit__image-container"},Object(g.createElement)("img",{src:(null===(u=e.attributes)||void 0===u||null===(l=u.img)||void 0===l?void 0:l.licensedImageUrl)||(null===(p=e.attributes)||void 0===p||null===(b=p.img)||void 0===b||null===(I=b.preview_1500)||void 0===I?void 0:I.url),onLoad:function(){return A(!0)}}),ee&&S&&!(null===(f=e.attributes)||void 0===f||null===(y=f.img)||void 0===y?void 0:y.licensedImageUrl)&&Object(g.createElement)(m.Button,{disabled:B,onClick:a()(i.a.mark((function t(){var n,r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,te(!0),t.next=4,k(null===(n=e.attributes)||void 0===n?void 0:n.img.id,J);case 4:r=t.sent,F(r),V(),G(!1),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(0),c=t.t0,i=void 0,s=void 0,a=void 0,a=Object(o.__)("wordpress:text_something_went_wrong","shutterstock"),500!==(null==c||null===(i=c.data)||void 0===i?void 0:i.statusCode)&&(null==c||null===(s=c.data)||void 0===s?void 0:s.message)&&(a=c.data.message),oe(U(U({},re),{},{show:!0,text:a}));case 13:case"end":return t.stop()}var c,i,s,a}),t,null,[[0,10]])}))),className:"components-edit__license-image-button"},B&&Object(g.createElement)("span",{className:"loading-spinner"}),Object(g.createElement)("span",null,Object(o.__)("wordpress:text_license_this_image","shutterstock")))):Object(g.createElement)("span",null),Object(g.createElement)("div",{className:"components-edit__paragraph"},Object(o.__)("wordpress:text_block_paragraph","shutterstock")),Object(g.createElement)(m.Button,{disabled:B,onClick:function(){V(),M(!1)},className:"components-shutterstock-modal__open-modal-button "},Object(o.__)("wordpress:text_browse","shutterstock")),C&&Object(g.createElement)(H,{setAttributes:e.setAttributes,closeModal:function(){return O(!1)},canLicense:ee,assetInfo:null==e||null===(h=e.attributes)||void 0===h?void 0:h.img,licenseImage:x,subscriptions:R}),re.show&&!C&&Object(g.createElement)(N,{text:re.text}))}));Object(r.registerBlockType)("shutterstock/shutterstock-block",{title:"Shutterstock",description:Object(o.__)("wordpress:text_block_description_in_sidebar","shutterstock"),category:"common",icon:v,supports:{html:!1},edit:F,save:function(e){var t,n,r,c,i;return Object(g.createElement)("img",{alt:Object(o.__)("Alt text"),className:"wp-block-shutterstock-shutterstock-block",src:(null===(t=e.attributes)||void 0===t||null===(n=t.img)||void 0===n?void 0:n.licensedImageUrl)||(null===(r=e.attributes)||void 0===r||null===(c=r.img)||void 0===c||null===(i=c.preview_1500)||void 0===i?void 0:i.url)})},attributes:{img:{type:"object"}}})}]); -
shutterstock/tags/1.2.0/shutterstock.php
r2419544 r2430369 16 16 * Plugin Name: Shutterstock 17 17 * Description: Access exceptional, royalty-free content straight from WordPress. 18 * Version: 1. 1.118 * Version: 1.2.0 19 19 * Author: Shutterstock 20 20 * License: MIT … … 34 34 * Rename this for your plugin and update it as you release new versions. 35 35 */ 36 define( 'SHUTTERSTOCK_VERSION', '1. 1.1' );36 define( 'SHUTTERSTOCK_VERSION', '1.2.0' ); 37 37 38 38 /** -
shutterstock/trunk/README.txt
r2419544 r2430369 3 3 Tags: shutterstock, stock photography, images, editorial images, licensing, media library, stock 4 4 Requires at least: 5.5 5 Tested up to: 5. 56 Stable tag: 1. 1.15 Tested up to: 5.6 6 Stable tag: 1.2.0 7 7 Requires PHP: 7.1 8 8 License: MIT … … 26 26 Love how it looks? License the content and use it directly within your posts and pages. 27 27 28 By default, WordPress sites have access to a limited library of Shutterstock media. **To connect the WordPress plugin to your existing subscription or access our full collection, fill out the form at [https://www.shutterstock.com/design/plugins-wordpress](https://www.shutterstock.com/design/plugins-wordpress).** 29 28 30 This plugin uses the Shutterstock API. For more information, see [https://developers.shutterstock.com](https://developers.shutterstock.com). 29 31 … … 35 37 36 38 **Prerequisites** 39 40 By default, WordPress sites have access to a limited library of Shutterstock media. **To connect the WordPress plugin to your existing subscription or access our full collection, fill out the form at https://www.shutterstock.com/design/plugins-wordpress.** 37 41 38 42 To install the Shutterstock plugin for WordPress, you need an API application for the Shutterstock API. You can create an application at [https://www.shutterstock.com/account/developers/apps](https://www.shutterstock.com/account/developers/apps). … … 98 102 99 103 == Changelog == 104 = 1.2.0 = 105 Introduced smart image recommendations and license history with re-download functionality 106 100 107 = 1.1.1 = 101 108 Add translations -
shutterstock/trunk/admin/class-shutterstock-admin.php
r2419544 r2430369 474 474 475 475 if (!wp_verify_nonce( $nonce, 'generate-token')) { 476 die( esc_html_e( 'Security check', 'textdomain') );476 die( esc_html_e('Security error.') ); 477 477 } else { 478 478 $code = isset($_REQUEST['code']) ? sanitize_text_field($_REQUEST['code']) : ''; -
shutterstock/trunk/includes/class-shutterstock-api.php
r2418129 r2430369 5 5 private $api_url = 'https://api.shutterstock.com/v2'; 6 6 7 public function __construct($shutterstock, $version) {7 public function __construct($shutterstock, $version) { 8 8 $this->shutterstock = $shutterstock; 9 9 $this->version = $version; … … 18 18 )); 19 19 20 register_rest_route($this->shutterstock, '/images/(?P<id>\ w+)', array(20 register_rest_route($this->shutterstock, '/images/(?P<id>\d+[a-zA-z]*)', array( 21 21 'methods' => 'GET', 22 22 'callback' => array($this, 'get_image_details'), … … 36 36 )); 37 37 38 register_rest_route($this->shutterstock, '/images/licenses', array( 39 'methods' => 'GET', 40 'callback' => array($this, 'get_list_image_licenses'), 41 'permission_callback' => array($this, 'get_permissions_check'), 42 )); 43 44 register_rest_route($this->shutterstock, '/images/licenses/(?P<id>\w+)/downloads', array( 45 'methods' => 'POST', 46 'callback' => array($this, 'redownload_image'), 47 'permission_callback' => array($this, 'get_permissions_check'), 48 )); 49 38 50 } 39 51 } 40 52 41 public function get_subscriptions($request) {53 public function get_subscriptions($request) { 42 54 $parameters = $request->get_params(); 43 55 $media_type = sanitize_text_field($parameters['mediaType']); … … 84 96 ); 85 97 86 return wp_send_json($filtered_subscriptions, $response['response_code']);98 return new WP_REST_Response($filtered_subscriptions, $response['response_code']); 87 99 } 88 100 89 public function get_image_details($request) {90 $image_id = sanitize_text_field($request['id']); 91 $parameters = $request->get_params(); 101 public function get_image_details($request) { 102 $image_id = sanitize_text_field($request['id']); 103 $parameters = $request->get_params(); 92 104 $media_type = sanitize_text_field($parameters['mediaType']); 93 105 $is_editorial = $media_type === 'editorial'; 94 106 $country = $this->get_editorial_country(); 95 96 107 $image_details_route = $is_editorial 97 108 ? $this->api_url. '/editorial/'. $image_id . '?view=full&country=' . $country 98 109 : $this->api_url. '/images/'. $image_id . '?view=full'; 99 100 110 $response = $this->do_api_get_request($image_details_route); 101 102 111 $decoded_response_body = json_decode($response['response_body'], true); 103 112 104 return wp_send_json($decoded_response_body, $response['response_code']);113 return new WP_REST_Response($decoded_response_body, $response['response_code']); 105 114 } 106 115 … … 114 123 $decoded_response_body = json_decode($response['response_body'], true); 115 124 116 return wp_send_json($decoded_response_body, $response['response_code']); 125 return new WP_REST_Response($decoded_response_body, $response['response_code']); 126 } 127 128 public function get_list_image_licenses($request) { 129 $parameters = $request->get_params(); 130 $page = isset($parameters['page']) ? sanitize_text_field($parameters['page']) : 1; 131 $per_page = isset($parameters['per_page']) ? sanitize_text_field($parameters['per_page']) : 20; 132 $list_image_licenses_route = $this->api_url. '/images/licenses?per_page='. $per_page .'&page=' . $page; 133 134 $response = $this->do_api_get_request($list_image_licenses_route); 135 136 $decoded_response_body = json_decode($response['response_body'], true); 137 138 return new WP_REST_Response($decoded_response_body, $response['response_code']); 117 139 } 118 140 … … 231 253 } 232 254 255 public function redownload_image($request) { 256 $license_id = sanitize_text_field($request['id']); 257 $req_body = json_decode($request->get_body(), true); 258 $size = sanitize_text_field($req_body['size']); 259 260 $image_id = sanitize_text_field($req_body['imageId']); 261 $image_description = sanitize_text_field($req_body['description']); 262 $contributor_name = sanitize_text_field($req_body['contributorName']); 263 $media_type = sanitize_text_field($req_body['mediaType']); 264 265 $width = sanitize_text_field($req_body['width']); 266 $height = sanitize_text_field($req_body['height']); 267 268 $redownload_url = $this->api_url. '/images/licenses/'. $license_id . '/downloads'; 269 $token = $this->get_api_token(); 270 271 $body = [ 272 "size" => $size, 273 ]; 274 275 $args = [ 276 'headers' => [ 277 'Authorization' => 'Bearer ' . $token, 278 'Content-Type' => 'application/json; charset=utf-8', 279 'x-shutterstock-application' => 'Wordpress/'. $this->version, 280 ], 281 'body' => wp_json_encode($body), 282 'data_format' => 'body', 283 ]; 284 285 $response = wp_remote_post($redownload_url, $args); 286 $response_code = wp_remote_retrieve_response_code($response); 287 $response_body = wp_remote_retrieve_body($response); 288 $decoded_body = json_decode($response_body, true); 289 290 $success_error = isset($decoded_body['data'][0]['error']); 291 292 if ($response_code !== 200 || $success_error || isset($decoded_body['errors'])) { 293 $error = $decoded_body; 294 295 // return 200 even if some error occurs. This type of error response returned by editorial. 296 if ($success_error) { 297 $error = $decoded_body['data'][0]; 298 $error['message'] = $decoded_body['data'][0]['error']; 299 } 300 301 return wp_send_json_error($error, $response_code); 302 } 303 304 $download_url = $decoded_body['url']; 305 306 $filename = 'shutterstock-'. $image_id. '-' .$size. '-redownloaded.jpg'; 307 308 $post_description = 'Shutterstock ID: '. $image_id . ', Photographer: '. $contributor_name; 309 310 $uploaded_image_url = $this->download_upload_image_to_media_library( 311 $download_url, 312 $filename, 313 $size, 314 $image_description, 315 $image_id, 316 $post_description, 317 $width, 318 $height 319 ); 320 321 return wp_send_json_success($uploaded_image_url, $response_code); 322 323 } 324 233 325 private function download_upload_image_to_media_library($download_url, $filename, $size, $title, $image_id, $post_description, $width, $height) { 234 326 $response = ''; … … 322 414 if ($request_type === 'GET') { 323 415 $parameters = $request->get_params(); 324 $media_type = sanitize_text_field($parameters['mediaType']);416 $media_type = isset($parameters['mediaType']) ? sanitize_text_field($parameters['mediaType']) : 'images'; 325 417 } else if ($request_type === 'POST') { 326 418 $req_body = json_decode($request->get_body(), true); 327 $media_type = sanitize_text_field($req_body['mediaType']);419 $media_type = isset($req_body['mediaType']) ? sanitize_text_field($req_body['mediaType']) : 'images'; 328 420 } 329 421 -
shutterstock/trunk/includes/class-shutterstock.php
r2419544 r2430369 71 71 $this->version = SHUTTERSTOCK_VERSION; 72 72 } else { 73 $this->version = '1. 1.1';73 $this->version = '1.2.0'; 74 74 } 75 75 $this->shutterstock = 'shutterstock'; -
shutterstock/trunk/languages/en.pot
r2419555 r2430369 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Shutterstock 1.1. 0\n"5 "Project-Id-Version: Shutterstock 1.1.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/shutterstock\n" 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 8 "Language-Team: LANGUAGE <LL@li.org>\n" 7 9 "MIME-Version: 1.0\n" 8 10 "Content-Type: text/plain; charset=UTF-8\n" 9 11 "Content-Transfer-Encoding: 8bit\n" 10 "POT-Creation-Date: 2020-1 0-29T12:53:51+00:00\n"12 "POT-Creation-Date: 2020-11-20T15:02:27+00:00\n" 11 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 12 14 "X-Generator: WP-CLI 2.4.0\n" … … 20 22 #. Description of the plugin 21 23 msgid "wordpress:plugin_description" 22 msgstr " The Shutterstock plugin takes the complexity out of creativity. Save time, whether you're creating a draft or publishing a full article."24 msgstr "Access exceptional, royalty-free content straight from WordPress." 23 25 24 26 #: admin/class-shutterstock-admin.php:191 … … 104 106 105 107 #: public/shutterstock-block/build/index.js:1 108 msgid "wordpress:downloading_image" 109 msgstr "Downloading image. Please wait." 110 111 #: public/shutterstock-block/build/index.js:1 106 112 msgid "wordpress:text_something_went_wrong" 107 113 msgstr "Something went wrong. Please try again." … … 124 130 125 131 #: public/shutterstock-block/build/index.js:1 132 msgid "wordpress:text_dowbload_and_insert" 133 msgstr "Download and Insert" 134 135 #: public/shutterstock-block/build/index.js:1 126 136 msgid "wordpress:text_add_shuttersock_content_to_post" 127 137 msgstr "Add Shutterstock content to your post" … … 140 150 141 151 #: public/shutterstock-block/build/index.js:1 152 msgid "wordpress:text_home" 153 msgstr "Home" 154 155 #: public/shutterstock-block/build/index.js:1 156 msgid "wordpress:text_downloads" 157 msgstr "Downloads" 158 159 #: public/shutterstock-block/build/index.js:1 142 160 msgid "wordpress:text_license_this_image" 143 161 msgstr "License this image" -
shutterstock/trunk/languages/shutterstock-cs_CZ-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.273Z",2 "translation-revision-date": "2020-11-27T12:15:24.276Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "Prob\u00edh\u00e1 stahov\u00e1n\u00ed sn\u00edmku. \u010cekejte pros\u00edm." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "P\u0159idejte obsah slu\u017eby Shutterstock k va\u0161emu p\u0159\u00edsp\u011bvku" … … 23 26 "Proch\u00e1zet" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "St\u00e1hnout a\u00a0vlo\u017eit" 30 ], 31 "wordpress:text_downloads": [ 32 "Sta\u017een\u00ed" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Redak\u010dn\u00ed" 36 ], 37 "wordpress:text_home": [ 38 "Dom\u016f" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/trunk/languages/shutterstock-cs_CZ.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.273Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.273Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.276Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.276Z\n" 11 11 "Language: cs_CZ\n" 12 12 … … 14 14 msgid "wordpress:connected" 15 15 msgstr "Připojeno" 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Probíhá stahování snímku. Čekejte prosím." 16 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 … … 21 25 msgid "wordpress:plugin_description" 22 26 msgstr "" 23 " Plugin Shutterstock z tvůrčího procesu odstraňuje složitost. Ušetřete čas,"24 " ať už tvoříte návrh, nebo publikujete celý článek."27 "Získejte přístup k výjimečnému obsahu bez autorských poplatků přímo ze " 28 "služby WordPress." 25 29 26 30 msgid "wordpress:plugin_title" … … 70 74 71 75 #: public/shutterstock-block/build/index.js:1 76 msgid "wordpress:text_dowbload_and_insert" 77 msgstr "Stáhnout a vložit" 78 79 #: public/shutterstock-block/build/index.js:1 80 msgid "wordpress:text_downloads" 81 msgstr "Stažení" 82 83 #: public/shutterstock-block/build/index.js:1 72 84 msgid "wordpress:text_editorial" 73 85 msgstr "Redakční" … … 82 94 "Zobrazit pouze redakční obsah, který je dostupný pro distribuci v určité " 83 95 "zemi (třímístný (ISO 3166 Alpha-3) kód země)." 96 97 #: public/shutterstock-block/build/index.js:1 98 msgid "wordpress:text_home" 99 msgstr "Domů" 84 100 85 101 #: public/shutterstock-block/build/index.js:1 -
shutterstock/trunk/languages/shutterstock-da_DK-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.279Z",2 "translation-revision-date": "2020-11-27T12:15:24.282Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "Henter billede. Vent et \u00f8jeblik." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "Tilf\u00f8j Shutterstock-indhold til din postering" … … 23 26 "Gennemse" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "Download og inds\u00e6t" 30 ], 31 "wordpress:text_downloads": [ 32 "Downloads" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Redaktionel" 36 ], 37 "wordpress:text_home": [ 38 "Hjem" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/trunk/languages/shutterstock-da_DK.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=2; plural=(n != 1)\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.279Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.279Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.282Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.282Z\n" 11 11 "Language: da_DK\n" 12 12 … … 15 15 msgstr "Forbindelse" 16 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Henter billede. Vent et øjeblik." 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 18 22 msgid "wordpress:logging_out" … … 20 24 21 25 msgid "wordpress:plugin_description" 22 msgstr "" 23 "Shutterstocks plugin gør det nemt at være kreativ. Spar tid, hvad enten du " 24 "tegner en skitse eller publicerer en hel artikel." 26 msgstr "Få adgang til ekstraordinært, royaltyfrit indhold direkte fra WordPress." 25 27 26 28 msgid "wordpress:plugin_title" … … 70 72 71 73 #: public/shutterstock-block/build/index.js:1 74 msgid "wordpress:text_dowbload_and_insert" 75 msgstr "Download og indsæt" 76 77 #: public/shutterstock-block/build/index.js:1 78 msgid "wordpress:text_downloads" 79 msgstr "Downloads" 80 81 #: public/shutterstock-block/build/index.js:1 72 82 msgid "wordpress:text_editorial" 73 83 msgstr "Redaktionel" … … 82 92 "Vis kun redaktionelt indhold, der er tilgængeligt til distribution i et " 83 93 "bestemt land (en tre bogstavs-landekode, ISO 3166 Alpha-3)." 94 95 #: public/shutterstock-block/build/index.js:1 96 msgid "wordpress:text_home" 97 msgstr "Hjem" 84 98 85 99 #: public/shutterstock-block/build/index.js:1 -
shutterstock/trunk/languages/shutterstock-de_DE-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.281Z",2 "translation-revision-date": "2020-11-27T12:15:24.284Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "Bild wird heruntergeladen. Bitte warten." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "Shutterstock Inhalte zu Ihrem Beitrag hinzuf\u00fcgen" … … 23 26 "Durchsuchen" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "Herunterladen und Einf\u00fcgen" 30 ], 31 "wordpress:text_downloads": [ 32 "Downloads" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Redaktionell" 36 ], 37 "wordpress:text_home": [ 38 "Startseite" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/trunk/languages/shutterstock-de_DE.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=2; plural=(n != 1)\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.281Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.281Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.284Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.284Z\n" 11 11 "Language: de_DE\n" 12 12 … … 15 15 msgstr "Verbunden" 16 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Bild wird heruntergeladen. Bitte warten." 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 18 22 msgid "wordpress:logging_out" … … 20 24 21 25 msgid "wordpress:plugin_description" 22 msgstr "" 23 "Mit dem Shutterstock Plug-in wird Kreativität ganz einfach. Sparen Sie Zeit " 24 "– sei es beim Erstellen eines Entwurfs oder beim Veröffentlichen eines " 25 "ganzen Artikels." 26 msgstr "Sichern Sie sich Zugang zu erstklassigen, lizenzfreien WordPress-Inhalten." 26 27 27 28 msgid "wordpress:plugin_title" … … 73 74 74 75 #: public/shutterstock-block/build/index.js:1 76 msgid "wordpress:text_dowbload_and_insert" 77 msgstr "Herunterladen und Einfügen" 78 79 #: public/shutterstock-block/build/index.js:1 80 msgid "wordpress:text_downloads" 81 msgstr "Downloads" 82 83 #: public/shutterstock-block/build/index.js:1 75 84 msgid "wordpress:text_editorial" 76 85 msgstr "Redaktionell" … … 86 95 "(dreistelliger Ländercode gemäß ISO 3166 Alpha-3) für den Vertrieb " 87 96 "verfügbar sind." 97 98 #: public/shutterstock-block/build/index.js:1 99 msgid "wordpress:text_home" 100 msgstr "Startseite" 88 101 89 102 #: public/shutterstock-block/build/index.js:1 -
shutterstock/trunk/languages/shutterstock-en_US-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.283Z",2 "translation-revision-date": "2020-11-27T12:15:24.286Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "Downloading image. Please wait." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "Add Shutterstock content to your post" … … 23 26 "Browse" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "Download and Insert" 30 ], 31 "wordpress:text_downloads": [ 32 "Downloads" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Editorial" 36 ], 37 "wordpress:text_home": [ 38 "Home" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/trunk/languages/shutterstock-en_US.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=2; plural=(n != 1)\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.283Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.283Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.286Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.286Z\n" 11 11 "Language: en_US\n" 12 12 … … 15 15 msgstr "Connected" 16 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Downloading image. Please wait." 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 18 22 msgid "wordpress:logging_out" … … 20 24 21 25 msgid "wordpress:plugin_description" 22 msgstr "" 23 "The Shutterstock plugin takes the complexity out of creativity. Save time, " 24 "whether you're creating a draft or publishing a full article." 26 msgstr "Access exceptional, royalty-free content straight from WordPress." 25 27 26 28 msgid "wordpress:plugin_title" … … 70 72 71 73 #: public/shutterstock-block/build/index.js:1 74 msgid "wordpress:text_dowbload_and_insert" 75 msgstr "Download and Insert" 76 77 #: public/shutterstock-block/build/index.js:1 78 msgid "wordpress:text_downloads" 79 msgstr "Downloads" 80 81 #: public/shutterstock-block/build/index.js:1 72 82 msgid "wordpress:text_editorial" 73 83 msgstr "Editorial" … … 82 92 "Show only editorial content that is available for distribution in a certain " 83 93 "country (A three-character (ISO 3166 Alpha-3) country code)." 94 95 #: public/shutterstock-block/build/index.js:1 96 msgid "wordpress:text_home" 97 msgstr "Home" 84 98 85 99 #: public/shutterstock-block/build/index.js:1 -
shutterstock/trunk/languages/shutterstock-es_ES-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.284Z",2 "translation-revision-date": "2020-11-27T12:15:24.289Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "Descargando imagen. Espere un momento." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "A\u00f1adir contenido de Shutterstock a la publicaci\u00f3n" … … 23 26 "Explorar" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "Descargar e insertar" 30 ], 31 "wordpress:text_downloads": [ 32 "Descargas" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Editorial" 36 ], 37 "wordpress:text_home": [ 38 "Inicio" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/trunk/languages/shutterstock-es_ES.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=2; plural=(n != 1)\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.284Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.284Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.289Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.289Z\n" 11 11 "Language: es_ES\n" 12 12 … … 14 14 msgid "wordpress:connected" 15 15 msgstr "Conectado" 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Descargando imagen. Espere un momento." 16 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 … … 21 25 msgid "wordpress:plugin_description" 22 26 msgstr "" 23 "El complemento de Shutterstock elimina la complejidad en el momento de la " 24 "creatividad. Ahorre tiempo, ya sea al crear un borrador o al publicar un " 25 "artículo completo." 27 "Acceda a contenidos excepcionales y libres de regalías directamente de " 28 "WordPress." 26 29 27 30 msgid "wordpress:plugin_title" … … 71 74 72 75 #: public/shutterstock-block/build/index.js:1 76 msgid "wordpress:text_dowbload_and_insert" 77 msgstr "Descargar e insertar" 78 79 #: public/shutterstock-block/build/index.js:1 80 msgid "wordpress:text_downloads" 81 msgstr "Descargas" 82 83 #: public/shutterstock-block/build/index.js:1 73 84 msgid "wordpress:text_editorial" 74 85 msgstr "Editorial" … … 83 94 "Vea solo contenido editorial que esté disponible para distribución en un " 84 95 "país específico. El código de país tiene tres caracteres (ISO 3166 Alpha-3)." 96 97 #: public/shutterstock-block/build/index.js:1 98 msgid "wordpress:text_home" 99 msgstr "Inicio" 85 100 86 101 #: public/shutterstock-block/build/index.js:1 -
shutterstock/trunk/languages/shutterstock-fi-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.300Z",2 "translation-revision-date": "2020-11-27T12:15:24.304Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "Ladataan kuvaa. Odota." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "Lis\u00e4\u00e4 Shutterstock-sis\u00e4lt\u00f6\u00e4 julkaisuusi" … … 23 26 "Selaa" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "Lataa ja lis\u00e4\u00e4" 30 ], 31 "wordpress:text_downloads": [ 32 "Lataukset" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Toimituksellinen sis\u00e4lt\u00f6" 36 ], 37 "wordpress:text_home": [ 38 "Etusivu" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/trunk/languages/shutterstock-fi.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=2; plural=(n != 1)\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.300Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.300Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.304Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.304Z\n" 11 11 "Language: fi\n" 12 12 … … 14 14 msgid "wordpress:connected" 15 15 msgstr "Yhdistetty" 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Ladataan kuvaa. Odota." 16 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 … … 21 25 msgid "wordpress:plugin_description" 22 26 msgstr "" 23 " Shutterstock-liitännäinen poistaa monimutkaisuuden luovuudesta. Säästä"24 " aikaa luonnoksen tekemisessä tai täyden artikkelin julkaisemisessa."27 "Pääset käsiksi poikkeukselliseen, rojaltivapaaseen sisältöön suoraan " 28 "WordPressistä." 25 29 26 30 msgid "wordpress:plugin_title" … … 70 74 71 75 #: public/shutterstock-block/build/index.js:1 76 msgid "wordpress:text_dowbload_and_insert" 77 msgstr "Lataa ja lisää" 78 79 #: public/shutterstock-block/build/index.js:1 80 msgid "wordpress:text_downloads" 81 msgstr "Lataukset" 82 83 #: public/shutterstock-block/build/index.js:1 72 84 msgid "wordpress:text_editorial" 73 85 msgstr "Toimituksellinen sisältö" … … 82 94 "Näytä vain toimituksellinen sisältö, joka on saatavilla jaettavaksi " 83 95 "tietyissä maissa (kolmimerkkinen (ISO 3166 Alpha-3) maakoodi)." 96 97 #: public/shutterstock-block/build/index.js:1 98 msgid "wordpress:text_home" 99 msgstr "Etusivu" 84 100 85 101 #: public/shutterstock-block/build/index.js:1 -
shutterstock/trunk/languages/shutterstock-fr_FR-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.287Z",2 "translation-revision-date": "2020-11-27T12:15:24.291Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "T\u00e9l\u00e9chargement de l\u2019image en cours. Veuillez patienter." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "Ajouter du contenu Shutterstock \u00e0 votre publication" … … 23 26 "Parcourir" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "T\u00e9l\u00e9charger et ins\u00e9rer" 30 ], 31 "wordpress:text_downloads": [ 32 "T\u00e9l\u00e9chargements" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "\u00c9ditorial" 36 ], 37 "wordpress:text_home": [ 38 "Accueil" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/trunk/languages/shutterstock-fr_FR.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=2; plural=(n > 1)\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.287Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.287Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.291Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.291Z\n" 11 11 "Language: fr_FR\n" 12 12 … … 14 14 msgid "wordpress:connected" 15 15 msgstr "Connecté" 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Téléchargement de l’image en cours. Veuillez patienter." 16 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 … … 21 25 msgid "wordpress:plugin_description" 22 26 msgstr "" 23 "Avec le module d'extension Shutterstock, optez pour la créativité sans " 24 "complexité. Gagnez du temps à tous les niveaux, que ce soit pour créer une " 25 "ébauche ou pour publier un article complet." 27 "Accédez, directement dans WordPress, à des contenus libres de droits " 28 "exceptionnels." 26 29 27 30 msgid "wordpress:plugin_title" … … 73 76 74 77 #: public/shutterstock-block/build/index.js:1 78 msgid "wordpress:text_dowbload_and_insert" 79 msgstr "Télécharger et insérer" 80 81 #: public/shutterstock-block/build/index.js:1 82 msgid "wordpress:text_downloads" 83 msgstr "Téléchargements" 84 85 #: public/shutterstock-block/build/index.js:1 75 86 msgid "wordpress:text_editorial" 76 87 msgstr "Éditorial" … … 86 97 "possible dans un certain pays (code pays ISO 3166-1 alpha-3 à trois " 87 98 "caractères)." 99 100 #: public/shutterstock-block/build/index.js:1 101 msgid "wordpress:text_home" 102 msgstr "Accueil" 88 103 89 104 #: public/shutterstock-block/build/index.js:1 -
shutterstock/trunk/languages/shutterstock-hu_HU-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.290Z",2 "translation-revision-date": "2020-11-27T12:15:24.295Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "K\u00e9pek let\u00f6lt\u00e9se folyamatban. Kis t\u00fcrelmet." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "Adjon Shutterstock-tartalmakat a bejegyz\u00e9s\u00e9hez." … … 23 26 "B\u00f6ng\u00e9sz\u00e9s" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "Let\u00f6lt\u00e9s \u00e9s beilleszt\u00e9s" 30 ], 31 "wordpress:text_downloads": [ 32 "Let\u00f6lt\u00e9sek" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Szerkeszt\u0151i" 36 ], 37 "wordpress:text_home": [ 38 "Kezd\u0151lap" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/trunk/languages/shutterstock-hu_HU.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=2; plural=(n != 1)\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.290Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.290Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.295Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.295Z\n" 11 11 "Language: hu_HU\n" 12 12 … … 14 14 msgid "wordpress:connected" 15 15 msgstr "Kapcsolatban" 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Képek letöltése folyamatban. Kis türelmet." 16 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 … … 21 25 msgid "wordpress:plugin_description" 22 26 msgstr "" 23 "A Shutterstock-modulnak köszönhetően a kreativitással nem jár többé " 24 "komplikáció. Időt takaríthat meg, legyen szó vázlatok készítéséről vagy " 25 "teljes cikk közzétételéről." 27 "Kiemelkedő jogdíjmentes tartalmakhoz férhet hozzá, közvetlenül a WordPress " 28 "felületéről." 26 29 27 30 msgid "wordpress:plugin_title" … … 73 76 74 77 #: public/shutterstock-block/build/index.js:1 78 msgid "wordpress:text_dowbload_and_insert" 79 msgstr "Letöltés és beillesztés" 80 81 #: public/shutterstock-block/build/index.js:1 82 msgid "wordpress:text_downloads" 83 msgstr "Letöltések" 84 85 #: public/shutterstock-block/build/index.js:1 75 86 msgid "wordpress:text_editorial" 76 87 msgstr "Szerkesztői" … … 85 96 "Csak egy adott országban (ISO 3166 Alpha-3 szerinti háromkarakteres " 86 97 "országkód) való terjesztésre elérhető szerkesztői tartalmak megjelenítése." 98 99 #: public/shutterstock-block/build/index.js:1 100 msgid "wordpress:text_home" 101 msgstr "Kezdőlap" 87 102 88 103 #: public/shutterstock-block/build/index.js:1 -
shutterstock/trunk/languages/shutterstock-it_IT-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.289Z",2 "translation-revision-date": "2020-11-27T12:15:24.293Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "Download dell'immagine in corso. Attendi." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "Aggiungi contenuti di Shutterstock al tuo post" … … 23 26 "Sfoglia" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "Scarica e inserisci" 30 ], 31 "wordpress:text_downloads": [ 32 "Download" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Contenuti editoriali" 36 ], 37 "wordpress:text_home": [ 38 "Home" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/trunk/languages/shutterstock-it_IT.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=2; plural=(n != 1)\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.289Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.289Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.293Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.293Z\n" 11 11 "Language: it_IT\n" 12 12 … … 15 15 msgstr "Connesso" 16 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Download dell'immagine in corso. Attendi." 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 18 22 msgid "wordpress:logging_out" … … 20 24 21 25 msgid "wordpress:plugin_description" 22 msgstr "" 23 "Il plugin di Shutterstock facilita il processo creativo. Risparmia tempo, " 24 "che tu stia creando una bozza o pubblicando un articolo completo." 26 msgstr "Accedi a contenuti royalty free eccezionali direttamente da WordPress." 25 27 26 28 msgid "wordpress:plugin_title" … … 70 72 71 73 #: public/shutterstock-block/build/index.js:1 74 msgid "wordpress:text_dowbload_and_insert" 75 msgstr "Scarica e inserisci" 76 77 #: public/shutterstock-block/build/index.js:1 78 msgid "wordpress:text_downloads" 79 msgstr "Download" 80 81 #: public/shutterstock-block/build/index.js:1 72 82 msgid "wordpress:text_editorial" 73 83 msgstr "Contenuti editoriali" … … 82 92 "Mostra solo i contenuti editoriali disponibili per la distribuzione in un " 83 93 "determinato paese (codice paese a tre caratteri (ISO 3166 alfa-3))." 94 95 #: public/shutterstock-block/build/index.js:1 96 msgid "wordpress:text_home" 97 msgstr "Home" 84 98 85 99 #: public/shutterstock-block/build/index.js:1 -
shutterstock/trunk/languages/shutterstock-ja-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.311Z",2 "translation-revision-date": "2020-11-27T12:15:24.316Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "\u753b\u50cf\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u3044\u307e\u3059\u3002\u3057\u3070\u3089\u304f\u304a\u5f85\u3061\u304f\u3060\u3055\u3044\u3002" 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "Shutterstock\u306e\u7d20\u6750\u3092\u3042\u306a\u305f\u306e\u6295\u7a3f\u306b\u8ffd\u52a0\u3057\u307e\u3059" … … 23 26 "\u95b2\u89a7" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u633f\u5165" 30 ], 31 "wordpress:text_downloads": [ 32 "\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "\u30a8\u30c7\u30a3\u30c8\u30ea\u30a2\u30eb" 36 ], 37 "wordpress:text_home": [ 38 "\u30db\u30fc\u30e0" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/trunk/languages/shutterstock-ja.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=1; plural=0\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.311Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.311Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.316Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.316Z\n" 11 11 "Language: ja\n" 12 12 … … 15 15 msgstr "接続済み" 16 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "画像をダウンロードしています。しばらくお待ちください。" 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 18 22 msgid "wordpress:logging_out" … … 20 24 21 25 msgid "wordpress:plugin_description" 22 msgstr "" 23 "Shutterstockプラグインがあれば、クリエイティブな制作作業をスムーズに進められます。下書きを作成するときでも、記事全体を公開するときでも、時間" 24 "を節約しましょう。" 26 msgstr "WordPressから直接、高品質なロイヤリティフリー素材にアクセスします。" 25 27 26 28 msgid "wordpress:plugin_title" … … 68 70 69 71 #: public/shutterstock-block/build/index.js:1 72 msgid "wordpress:text_dowbload_and_insert" 73 msgstr "ダウンロードして挿入" 74 75 #: public/shutterstock-block/build/index.js:1 76 msgid "wordpress:text_downloads" 77 msgstr "ダウンロード" 78 79 #: public/shutterstock-block/build/index.js:1 70 80 msgid "wordpress:text_editorial" 71 81 msgstr "エディトリアル" … … 78 88 msgid "wordpress:text_editorial_country_description" 79 89 msgstr "特定の国で配信可能なエディトリアル素材のみを表示します(3文字[ISO 3166 Alpha-3]の国名コード)。" 90 91 #: public/shutterstock-block/build/index.js:1 92 msgid "wordpress:text_home" 93 msgstr "ホーム" 80 94 81 95 #: public/shutterstock-block/build/index.js:1 -
shutterstock/trunk/languages/shutterstock-ko_KR-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.309Z",2 "translation-revision-date": "2020-11-27T12:15:24.314Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "\uc774\ubbf8\uc9c0\ub97c \ub2e4\uc6b4\ub85c\ub4dc\ud558\ub294 \uc911\uc785\ub2c8\ub2e4. \uae30\ub2e4\ub824 \uc8fc\uc138\uc694." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "\uac8c\uc2dc\ubb3c\uc5d0 Shutterstock \ucf58\ud150\uce20\ub97c \ucd94\uac00\ud558\uc138\uc694" … … 23 26 "\ucc3e\uc544\ubcf4\uae30" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "\ub2e4\uc6b4\ub85c\ub4dc \ubc0f \uc0bd\uc785" 30 ], 31 "wordpress:text_downloads": [ 32 "\ub2e4\uc6b4\ub85c\ub4dc" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "\uc5d0\ub514\ud1a0\ub9ac\uc5bc" 36 ], 37 "wordpress:text_home": [ 38 "\ud648" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/trunk/languages/shutterstock-ko_KR.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=1; plural=0\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.309Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.309Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.314Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.314Z\n" 11 11 "Language: ko_KR\n" 12 12 … … 15 15 msgstr "연결됨" 16 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "이미지를 다운로드하는 중입니다. 기다려 주세요." 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 18 22 msgid "wordpress:logging_out" … … 20 24 21 25 msgid "wordpress:plugin_description" 22 msgstr "" 23 "Shutterstock 플러그인을 설치하면 복잡성은 줄어들고 창의력은 배가됩니다. 초안을 작성하거나 전체 기사를 게시하는 등, 작업을 " 24 "할 때 시간을 절약하세요." 26 msgstr "WordPress의 훌륭한 로열티 프리 콘텐츠에 바로 액세스하세요." 25 27 26 28 msgid "wordpress:plugin_title" … … 68 70 69 71 #: public/shutterstock-block/build/index.js:1 72 msgid "wordpress:text_dowbload_and_insert" 73 msgstr "다운로드 및 삽입" 74 75 #: public/shutterstock-block/build/index.js:1 76 msgid "wordpress:text_downloads" 77 msgstr "다운로드" 78 79 #: public/shutterstock-block/build/index.js:1 70 80 msgid "wordpress:text_editorial" 71 81 msgstr "에디토리얼" … … 78 88 msgid "wordpress:text_editorial_country_description" 79 89 msgstr "특정 국가에서 배포가 가능한 에디토리얼 콘텐츠만 표시합니다(ISO 3166 Alpha-3/세 자리 국가 코드)." 90 91 #: public/shutterstock-block/build/index.js:1 92 msgid "wordpress:text_home" 93 msgstr "홈" 80 94 81 95 #: public/shutterstock-block/build/index.js:1 -
shutterstock/trunk/languages/shutterstock-nb_NO-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.294Z",2 "translation-revision-date": "2020-11-27T12:15:24.298Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "Laster ned bildet. Vent." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "Legg til Shutterstock-innhold i innlegget ditt" … … 23 26 "Bla gjennom" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "Last ned og sett inn" 30 ], 31 "wordpress:text_downloads": [ 32 "Nedlastinger" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Redaksjonelt" 36 ], 37 "wordpress:text_home": [ 38 "Hjem" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/trunk/languages/shutterstock-nb_NO.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=2; plural=(n != 1)\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.294Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.294Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.298Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.298Z\n" 11 11 "Language: nb_NO\n" 12 12 … … 15 15 msgstr "Tilkoblet" 16 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Laster ned bildet. Vent." 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 18 22 msgid "wordpress:logging_out" … … 20 24 21 25 msgid "wordpress:plugin_description" 22 msgstr "" 23 "Shutterstocks plugin gjør det lett å være kreativ. Spar tid enten du lager " 24 "et utkast eller publiserer en full artikkel." 26 msgstr "Få tilgang til fantastisk royalty-fritt innhold direkte fra WordPress." 25 27 26 28 msgid "wordpress:plugin_title" … … 70 72 71 73 #: public/shutterstock-block/build/index.js:1 74 msgid "wordpress:text_dowbload_and_insert" 75 msgstr "Last ned og sett inn" 76 77 #: public/shutterstock-block/build/index.js:1 78 msgid "wordpress:text_downloads" 79 msgstr "Nedlastinger" 80 81 #: public/shutterstock-block/build/index.js:1 72 82 msgid "wordpress:text_editorial" 73 83 msgstr "Redaksjonelt" … … 82 92 "Bare vis redaksjonelt innhold som er tilgjengelig for distribusjon i et " 83 93 "bestemt land (landskode med tre tegn (ISO 3166 Alpha-3))." 94 95 #: public/shutterstock-block/build/index.js:1 96 msgid "wordpress:text_home" 97 msgstr "Hjem" 84 98 85 99 #: public/shutterstock-block/build/index.js:1 -
shutterstock/trunk/languages/shutterstock-nl_NL-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.292Z",2 "translation-revision-date": "2020-11-27T12:15:24.296Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "Afbeelding downloaden. Een ogenblik geduld." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "Voeg Shutterstock-content toe aan je bericht" … … 23 26 "Bladeren" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "Downloaden en invoegen" 30 ], 31 "wordpress:text_downloads": [ 32 "Downloads" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Redactioneel" 36 ], 37 "wordpress:text_home": [ 38 "Startpagina" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/trunk/languages/shutterstock-nl_NL.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=2; plural=(n != 1)\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.292Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.292Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.296Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.296Z\n" 11 11 "Language: nl_NL\n" 12 12 … … 14 14 msgid "wordpress:connected" 15 15 msgstr "Verbonden" 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Afbeelding downloaden. Een ogenblik geduld." 16 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 … … 21 25 msgid "wordpress:plugin_description" 22 26 msgstr "" 23 "Dankzij de Shutterstock-invoegtoepassing is creativiteit nooit meer " 24 "ingewikkeld. Bespaar tijd, of je nu een concept maakt of een volledig " 25 "artikel publiceert." 27 "Krijg toegang tot uitzonderlijke, rechtenvrije content, rechtstreeks vanuit " 28 "WordPress." 26 29 27 30 msgid "wordpress:plugin_title" … … 71 74 72 75 #: public/shutterstock-block/build/index.js:1 76 msgid "wordpress:text_dowbload_and_insert" 77 msgstr "Downloaden en invoegen" 78 79 #: public/shutterstock-block/build/index.js:1 80 msgid "wordpress:text_downloads" 81 msgstr "Downloads" 82 83 #: public/shutterstock-block/build/index.js:1 73 84 msgid "wordpress:text_editorial" 74 85 msgstr "Redactioneel" … … 83 94 "Geef alleen redactionele content weer die beschikbaar is om in een bepaald " 84 95 "land te verspreiden (een landcode van drie tekens (OSISO 3166 Alpha-3))." 96 97 #: public/shutterstock-block/build/index.js:1 98 msgid "wordpress:text_home" 99 msgstr "Startpagina" 85 100 86 101 #: public/shutterstock-block/build/index.js:1 -
shutterstock/trunk/languages/shutterstock-pl_PL-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.296Z",2 "translation-revision-date": "2020-11-27T12:15:24.300Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "Trwa pobieranie obrazu. Prosz\u0119 czeka\u0107." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "Dodaj tre\u015bci Shutterstock do swojego posta" … … 23 26 "Przegl\u0105daj" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "Pobierz i wstaw" 30 ], 31 "wordpress:text_downloads": [ 32 "Materia\u0142y do pobrania" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Dziennikarskie" 36 ], 37 "wordpress:text_home": [ 38 "Strona g\u0142\u00f3wna" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/trunk/languages/shutterstock-pl_PL.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 8 8 "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && " 9 9 "(n%100<10 || n%100>=20) ? 1 : 2)\n" 10 "POT-Creation-Date: 2020-11- 09T20:44:52.296Z\n"11 "PO-Revision-Date: 2020-11- 09T20:44:52.296Z\n"10 "POT-Creation-Date: 2020-11-27T12:15:24.300Z\n" 11 "PO-Revision-Date: 2020-11-27T12:15:24.300Z\n" 12 12 "Language: pl_PL\n" 13 13 … … 16 16 msgstr "Połączono" 17 17 18 #: public/shutterstock-block/build/index.js:1 19 msgid "wordpress:downloading_image" 20 msgstr "Trwa pobieranie obrazu. Proszę czekać." 21 18 22 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 19 23 msgid "wordpress:logging_out" … … 21 25 22 26 msgid "wordpress:plugin_description" 23 msgstr "" 24 "Wtyczka Shutterstock usuwa komplikacje i wspiera kreatywność. Zaoszczędź " 25 "czas podczas tworzenia szkicu lub publikacji pełnego artykułu." 27 msgstr "Uzyskaj dostęp do wyjątkowych treści bez tantiem bezpośrednio z WordPress." 26 28 27 29 msgid "wordpress:plugin_title" … … 71 73 72 74 #: public/shutterstock-block/build/index.js:1 75 msgid "wordpress:text_dowbload_and_insert" 76 msgstr "Pobierz i wstaw" 77 78 #: public/shutterstock-block/build/index.js:1 79 msgid "wordpress:text_downloads" 80 msgstr "Materiały do pobrania" 81 82 #: public/shutterstock-block/build/index.js:1 73 83 msgid "wordpress:text_editorial" 74 84 msgstr "Dziennikarskie" … … 83 93 "Pokaż tylko treści, które są dostępne do dystrybucji w danym kraju (trzy " 84 94 "znaki (ISO 3166 Alpha-3) kodu kraju)." 95 96 #: public/shutterstock-block/build/index.js:1 97 msgid "wordpress:text_home" 98 msgstr "Strona główna" 85 99 86 100 #: public/shutterstock-block/build/index.js:1 -
shutterstock/trunk/languages/shutterstock-pt_PT-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.298Z",2 "translation-revision-date": "2020-11-27T12:15:24.302Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "Baixando imagem. Aguarde." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "Adicione conte\u00fado Shutterstock \u00e0 sua publica\u00e7\u00e3o" … … 23 26 "Explorar" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "Baixar e inserir" 30 ], 31 "wordpress:text_downloads": [ 32 "Downloads" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Editorial" 36 ], 37 "wordpress:text_home": [ 38 "P\u00e1gina inicial" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/trunk/languages/shutterstock-pt_PT.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=2; plural=(n != 1)\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.298Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.298Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.302Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.302Z\n" 11 11 "Language: pt_PT\n" 12 12 … … 15 15 msgstr "Conectado" 16 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Baixando imagem. Aguarde." 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 18 22 msgid "wordpress:logging_out" … … 20 24 21 25 msgid "wordpress:plugin_description" 22 msgstr "" 23 "Com o plugin da Shutterstock, a criatividade fica muito mais fácil. Ganhe " 24 "tempo, seja ao criar um rascunho ou ao publicar um artigo completo." 26 msgstr "Acesse conteúdos incríveis e livres de direitos diretamente do WordPress." 25 27 26 28 msgid "wordpress:plugin_title" … … 70 72 71 73 #: public/shutterstock-block/build/index.js:1 74 msgid "wordpress:text_dowbload_and_insert" 75 msgstr "Baixar e inserir" 76 77 #: public/shutterstock-block/build/index.js:1 78 msgid "wordpress:text_downloads" 79 msgstr "Downloads" 80 81 #: public/shutterstock-block/build/index.js:1 72 82 msgid "wordpress:text_editorial" 73 83 msgstr "Editorial" … … 82 92 "Exibe somente conteúdo editorial disponível para distribuição em " 83 93 "determinado país (um código do país com três caracteres (ISO 3166 Alpha-3))." 94 95 #: public/shutterstock-block/build/index.js:1 96 msgid "wordpress:text_home" 97 msgstr "Página inicial" 84 98 85 99 #: public/shutterstock-block/build/index.js:1 -
shutterstock/trunk/languages/shutterstock-ru_RU-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.305Z",2 "translation-revision-date": "2020-11-27T12:15:24.310Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "\u0412\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435. \u041f\u043e\u0434\u043e\u0436\u0434\u0438\u0442\u0435." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b Shutterstock \u0432 \u0441\u0432\u043e\u044e \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044e" … … 23 26 "\u041e\u0431\u0437\u043e\u0440" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0438 \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c" 30 ], 31 "wordpress:text_downloads": [ 32 "\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0438" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "\u0420\u0435\u0434\u0430\u043a\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b" 36 ], 37 "wordpress:text_home": [ 38 "\u0414\u043e\u043c" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/trunk/languages/shutterstock-ru_RU.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 8 8 "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " 9 9 "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n" 10 "POT-Creation-Date: 2020-11- 09T20:44:52.305Z\n"11 "PO-Revision-Date: 2020-11- 09T20:44:52.305Z\n"10 "POT-Creation-Date: 2020-11-27T12:15:24.310Z\n" 11 "PO-Revision-Date: 2020-11-27T12:15:24.310Z\n" 12 12 "Language: ru_RU\n" 13 13 … … 15 15 msgid "wordpress:connected" 16 16 msgstr "Подключено" 17 18 #: public/shutterstock-block/build/index.js:1 19 msgid "wordpress:downloading_image" 20 msgstr "Выполняется загрузка изображение. Подождите." 17 21 18 22 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 … … 22 26 msgid "wordpress:plugin_description" 23 27 msgstr "" 24 "С подключаемым модулем Shutterstock творчество — настоящее удовольствие. " 25 "Экономьте время, независимо от того, создаете ли вы проект или публикуете " 26 "полную статью." 28 "Получите доступ к исключительным материалам от WordPress без лицензионных " 29 "платежей (роялти)." 27 30 28 31 msgid "wordpress:plugin_title" … … 72 75 73 76 #: public/shutterstock-block/build/index.js:1 77 msgid "wordpress:text_dowbload_and_insert" 78 msgstr "Загрузить и вставить" 79 80 #: public/shutterstock-block/build/index.js:1 81 msgid "wordpress:text_downloads" 82 msgstr "Загрузки" 83 84 #: public/shutterstock-block/build/index.js:1 74 85 msgid "wordpress:text_editorial" 75 86 msgstr "Редакционные материалы" … … 85 96 "распространения в определенной стране (трехсимвольный (ISO 3166 Alpha-3) " 86 97 "код страны)." 98 99 #: public/shutterstock-block/build/index.js:1 100 msgid "wordpress:text_home" 101 msgstr "Дом" 87 102 88 103 #: public/shutterstock-block/build/index.js:1 -
shutterstock/trunk/languages/shutterstock-sv_SE-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.302Z",2 "translation-revision-date": "2020-11-27T12:15:24.306Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "Laddar ned bilder. V\u00e4nta." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "L\u00e4gg till Shutterstock-inneh\u00e5ll till din post" … … 23 26 "Bl\u00e4ddra" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "Ladda ned och infoga" 30 ], 31 "wordpress:text_downloads": [ 32 "Nedladdningar" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Redaktionellt" 36 ], 37 "wordpress:text_home": [ 38 "Hem" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/trunk/languages/shutterstock-sv_SE.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=2; plural=(n != 1)\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.302Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.302Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.306Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.306Z\n" 11 11 "Language: sv_SE\n" 12 12 … … 15 15 msgstr "Ansluten" 16 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Laddar ned bilder. Vänta." 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 18 22 msgid "wordpress:logging_out" … … 20 24 21 25 msgid "wordpress:plugin_description" 22 msgstr "" 23 "Shutterstocks pluginprogram gör kreativitet enklare. Spara tid, oavsett om " 24 "du skapar ett utkast eller publicerar en hel artikel." 26 msgstr "Få tillgång till exceptionellt royaltyfritt innehåll direkt från WordPress." 25 27 26 28 msgid "wordpress:plugin_title" … … 70 72 71 73 #: public/shutterstock-block/build/index.js:1 74 msgid "wordpress:text_dowbload_and_insert" 75 msgstr "Ladda ned och infoga" 76 77 #: public/shutterstock-block/build/index.js:1 78 msgid "wordpress:text_downloads" 79 msgstr "Nedladdningar" 80 81 #: public/shutterstock-block/build/index.js:1 72 82 msgid "wordpress:text_editorial" 73 83 msgstr "Redaktionellt" … … 82 92 "Visa endast redaktionellt innehåll som är tillgängligt för distribution i " 83 93 "ett visst land (landskod med tre tecken (ISO 3166 Alpha-3))." 94 95 #: public/shutterstock-block/build/index.js:1 96 msgid "wordpress:text_home" 97 msgstr "Hem" 84 98 85 99 #: public/shutterstock-block/build/index.js:1 -
shutterstock/trunk/languages/shutterstock-th-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.307Z",2 "translation-revision-date": "2020-11-27T12:15:24.312Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14\u0e20\u0e32\u0e1e \u0e42\u0e1b\u0e23\u0e14\u0e23\u0e2d\u0e2a\u0e31\u0e01\u0e04\u0e23\u0e39\u0e48" 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e40\u0e19\u0e37\u0e49\u0e2d\u0e2b\u0e32 Shutterstock \u0e43\u0e19\u0e42\u0e1e\u0e2a\u0e15\u0e4c\u0e02\u0e2d\u0e07\u0e04\u0e38\u0e13" … … 23 26 "\u0e40\u0e23\u0e35\u0e22\u0e01\u0e14\u0e39" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14\u0e41\u0e25\u0e30\u0e41\u0e17\u0e23\u0e01" 30 ], 31 "wordpress:text_downloads": [ 32 "\u0e01\u0e32\u0e23\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e02\u0e48\u0e32\u0e27" 36 ], 37 "wordpress:text_home": [ 38 "\u0e2b\u0e19\u0e49\u0e32\u0e41\u0e23\u0e01" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/trunk/languages/shutterstock-th.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=1; plural=0\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.307Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.307Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.312Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.312Z\n" 11 11 "Language: th\n" 12 12 … … 15 15 msgstr "เชื่อมต่ออยู่" 16 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "ดาวน์โหลดภาพ โปรดรอสักครู่" 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 18 22 msgid "wordpress:logging_out" … … 20 24 21 25 msgid "wordpress:plugin_description" 22 msgstr "" 23 "ปลั๊กอิน Shutterstock ช่วยให้ทำงานสร้างสรรค์ได้ไม่ยุ่งยาก ช่วยประหยัดเวลา " 24 "ไม่ว่าจะเขียนร่างหรือเผยแพร่บทความเต็มๆ" 26 msgstr "เข้าถึงเนื้อหาที่โดดเด่น ปลอดค่าลิขสิทธิ์ได้จาก WordPress โดยตรง" 25 27 26 28 msgid "wordpress:plugin_title" … … 70 72 71 73 #: public/shutterstock-block/build/index.js:1 74 msgid "wordpress:text_dowbload_and_insert" 75 msgstr "ดาวน์โหลดและแทรก" 76 77 #: public/shutterstock-block/build/index.js:1 78 msgid "wordpress:text_downloads" 79 msgstr "การดาวน์โหลด" 80 81 #: public/shutterstock-block/build/index.js:1 72 82 msgid "wordpress:text_editorial" 73 83 msgstr "บทความข่าว" … … 82 92 "แสดงเฉพาะเนื้อหาบทความข่าวที่สามารถแจกจ่ายในบางประเทศ " 83 93 "(รหัสประเทศสามตัวอักษร (ISO 3166 Alpha-3))" 94 95 #: public/shutterstock-block/build/index.js:1 96 msgid "wordpress:text_home" 97 msgstr "หน้าแรก" 84 98 85 99 #: public/shutterstock-block/build/index.js:1 -
shutterstock/trunk/languages/shutterstock-tr_TR-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.304Z",2 "translation-revision-date": "2020-11-27T12:15:24.308Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "G\u00f6rsel indiriliyor. L\u00fctfen bekleyin." 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "Yay\u0131n\u0131n\u0131za Shutterstock i\u00e7eri\u011fi ekleyin" … … 23 26 "G\u00f6z at" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "\u0130ndir ve Ekle" 30 ], 31 "wordpress:text_downloads": [ 32 "\u0130ndirmeler" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "Haber Ama\u00e7l\u0131 \u0130\u00e7erik" 36 ], 37 "wordpress:text_home": [ 38 "Ana Sayfa" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/trunk/languages/shutterstock-tr_TR.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=2; plural=(n > 1)\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.304Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.304Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.308Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.308Z\n" 11 11 "Language: tr_TR\n" 12 12 … … 15 15 msgstr "Bağlandı" 16 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "Görsel indiriliyor. Lütfen bekleyin." 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 18 22 msgid "wordpress:logging_out" … … 20 24 21 25 msgid "wordpress:plugin_description" 22 msgstr "" 23 "Shutterstock eklentisi, yaratıcı sürecinizi basitleştiriyor. İster taslak " 24 "oluştururken ister eksiksiz bir makale yayınlarken zamandan tasarruf edin." 26 msgstr "Doğrudan WordPress’ten istisnai ve telifsiz içeriğe erişin." 25 27 26 28 msgid "wordpress:plugin_title" … … 70 72 71 73 #: public/shutterstock-block/build/index.js:1 74 msgid "wordpress:text_dowbload_and_insert" 75 msgstr "İndir ve Ekle" 76 77 #: public/shutterstock-block/build/index.js:1 78 msgid "wordpress:text_downloads" 79 msgstr "İndirmeler" 80 81 #: public/shutterstock-block/build/index.js:1 72 82 msgid "wordpress:text_editorial" 73 83 msgstr "Haber Amaçlı İçerik" … … 82 92 "Yalnızca belirli bir ülkede dağıtımda olan haber amaçlı içerikleri " 83 93 "görüntüleyin (Üç karakterli (ISO 3166 Alpha-3) ülke kodu)." 94 95 #: public/shutterstock-block/build/index.js:1 96 msgid "wordpress:text_home" 97 msgstr "Ana Sayfa" 84 98 85 99 #: public/shutterstock-block/build/index.js:1 -
shutterstock/trunk/languages/shutterstock-zh_CN-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.313Z",2 "translation-revision-date": "2020-11-27T12:15:24.318Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "\u6b63\u5728\u4e0b\u8f7d\u56fe\u7247\u3002\u8bf7\u7a0d\u5019\u3002" 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "\u5c06 Shutterstock \u5185\u5bb9\u6dfb\u52a0\u5230\u60a8\u7684\u6587\u7ae0" … … 23 26 "\u6d4f\u89c8" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "\u4e0b\u8f7d\u548c\u63d2\u5165" 30 ], 31 "wordpress:text_downloads": [ 32 "\u4e0b\u8f7d" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "\u65b0\u95fb\u4f20\u5a92" 36 ], 37 "wordpress:text_home": [ 38 "\u9996\u9875" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/trunk/languages/shutterstock-zh_CN.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=1; plural=0\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.313Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.313Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.318Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.318Z\n" 11 11 "Language: zh_CN\n" 12 12 … … 15 15 msgstr "已连接" 16 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "正在下载图片。请稍候。" 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 18 22 msgid "wordpress:logging_out" … … 20 24 21 25 msgid "wordpress:plugin_description" 22 msgstr " Shutterstock 插件让创意不再复杂。无论您在撰写草稿还是发表一篇完整的文章,都可以帮助您节省时间。"26 msgstr "直接通过 Wordpress 访问优秀的免版税内容。" 23 27 24 28 msgid "wordpress:plugin_title" … … 66 70 67 71 #: public/shutterstock-block/build/index.js:1 72 msgid "wordpress:text_dowbload_and_insert" 73 msgstr "下载和插入" 74 75 #: public/shutterstock-block/build/index.js:1 76 msgid "wordpress:text_downloads" 77 msgstr "下载" 78 79 #: public/shutterstock-block/build/index.js:1 68 80 msgid "wordpress:text_editorial" 69 81 msgstr "新闻传媒" … … 76 88 msgid "wordpress:text_editorial_country_description" 77 89 msgstr "仅显示可在特定国家或地区(三字符 (ISO 3166 Alpha-3) 国家地区代码)分发的新闻传媒内容。" 90 91 #: public/shutterstock-block/build/index.js:1 92 msgid "wordpress:text_home" 93 msgstr "首页" 78 94 79 95 #: public/shutterstock-block/build/index.js:1 -
shutterstock/trunk/languages/shutterstock-zh_TW-60365ba5a8034013c8bbce2fd3399407.json
r2419555 r2430369 1 1 { 2 "translation-revision-date": "2020-11- 09T20:44:52.315Z",2 "translation-revision-date": "2020-11-27T12:15:24.320Z", 3 3 "generator": "WP-CLI\/2.4.0", 4 4 "source": "public\/shutterstock-block\/build\/index.js", … … 11 11 "plural-forms": "nplurals=2; plural=(n != 1);" 12 12 }, 13 "wordpress:downloading_image": [ 14 "\u4e0b\u8f09\u5716\u7247\u3002\u8acb\u7a0d\u5019\u3002" 15 ], 13 16 "wordpress:text_add_shuttersock_content_to_post": [ 14 17 "\u5c07 Shutterstock \u5167\u5bb9\u65b0\u589e\u5230\u60a8\u7684\u8cbc\u6587\u4e2d" … … 23 26 "\u700f\u89bd" 24 27 ], 28 "wordpress:text_dowbload_and_insert": [ 29 "\u4e0b\u8f09\u4e26\u63d2\u5165" 30 ], 31 "wordpress:text_downloads": [ 32 "\u4e0b\u8f09\u6b21\u6578" 33 ], 25 34 "wordpress:text_editorial": [ 26 35 "\u5831\u5c0e" 36 ], 37 "wordpress:text_home": [ 38 "\u5bb6" 27 39 ], 28 40 "wordpress:text_images": [ -
shutterstock/trunk/languages/shutterstock-zh_TW.po
r2419555 r2430369 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Shutterstock 1. 1.0\n"3 "Project-Id-Version: Shutterstock 1.2.0\n" 4 4 "mime-version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" … … 7 7 "X-Domain: shutterstock\n" 8 8 "Plural-Forms: nplurals=1; plural=0\n" 9 "POT-Creation-Date: 2020-11- 09T20:44:52.315Z\n"10 "PO-Revision-Date: 2020-11- 09T20:44:52.315Z\n"9 "POT-Creation-Date: 2020-11-27T12:15:24.320Z\n" 10 "PO-Revision-Date: 2020-11-27T12:15:24.320Z\n" 11 11 "Language: zh_TW\n" 12 12 … … 15 15 msgstr "已連線" 16 16 17 #: public/shutterstock-block/build/index.js:1 18 msgid "wordpress:downloading_image" 19 msgstr "下載圖片。請稍候。" 20 17 21 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 18 22 msgid "wordpress:logging_out" … … 20 24 21 25 msgid "wordpress:plugin_description" 22 msgstr " Shutterstock 外掛程式將創意化繁為簡。省時,無論您是要建立草稿還是發表全文。"26 msgstr "直接從 WordPress 存取非凡的免版稅內容。" 23 27 24 28 msgid "wordpress:plugin_title" … … 66 70 67 71 #: public/shutterstock-block/build/index.js:1 72 msgid "wordpress:text_dowbload_and_insert" 73 msgstr "下載並插入" 74 75 #: public/shutterstock-block/build/index.js:1 76 msgid "wordpress:text_downloads" 77 msgstr "下載次數" 78 79 #: public/shutterstock-block/build/index.js:1 68 80 msgid "wordpress:text_editorial" 69 81 msgstr "報導" … … 76 88 msgid "wordpress:text_editorial_country_description" 77 89 msgstr "僅顯示可在特定國家/地區分發的報導內容(三個字元(ISO 3166 Alpha-3)國家/地區代碼)。" 90 91 #: public/shutterstock-block/build/index.js:1 92 msgid "wordpress:text_home" 93 msgstr "家" 78 94 79 95 #: public/shutterstock-block/build/index.js:1 -
shutterstock/trunk/languages/shutterstock.pot
r2419544 r2430369 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Shutterstock 1.1. 0\n"5 "Project-Id-Version: Shutterstock 1.1.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/shutterstock\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2020-11- 03T19:55:41+00:00\n"12 "POT-Creation-Date: 2020-11-20T15:02:27+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.4.0\n" … … 21 21 22 22 #. Description of the plugin 23 msgid " The Shutterstock plugin takes the complexity out of creativity. Save time, whether you're creating a draft or publishing a full article."23 msgid "Access exceptional, royalty-free content straight from WordPress." 24 24 msgstr "" 25 25 … … 73 73 74 74 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:18 75 msgid " Loggingout"75 msgid "wordpress:logging_out" 76 76 msgstr "" 77 77 78 78 #: admin/partials/shutterstock-admin-field-shutterstock-login-button.php:29 79 msgid " Connected"79 msgid "wordpress:connected" 80 80 msgstr "" 81 81 … … 106 106 107 107 #: public/shutterstock-block/build/index.js:1 108 msgid "wordpress:downloading_image" 109 msgstr "" 110 111 #: public/shutterstock-block/build/index.js:1 108 112 msgid "wordpress:text_something_went_wrong" 109 113 msgstr "" … … 126 130 127 131 #: public/shutterstock-block/build/index.js:1 132 msgid "wordpress:text_dowbload_and_insert" 133 msgstr "" 134 135 #: public/shutterstock-block/build/index.js:1 128 136 msgid "wordpress:text_images" 129 137 msgstr "" … … 135 143 #: public/shutterstock-block/build/index.js:1 136 144 msgid "wordpress:text_add_shuttersock_content_to_post" 145 msgstr "" 146 147 #: public/shutterstock-block/build/index.js:1 148 msgid "wordpress:text_home" 149 msgstr "" 150 151 #: public/shutterstock-block/build/index.js:1 152 msgid "wordpress:text_downloads" 137 153 msgstr "" 138 154 -
shutterstock/trunk/public/class-shutterstock-public.php
r2419544 r2430369 124 124 125 125 // Registering Shutterstock UI script 126 wp_register_script('shutterstock-block-block-editor-shuttestock-ui-js', 'https://api-cdn.shutterstock.com/0.1. 28/static/js/sstk-widget.js');126 wp_register_script('shutterstock-block-block-editor-shuttestock-ui-js', 'https://api-cdn.shutterstock.com/0.1.30/static/js/sstk-widget.js'); 127 127 128 128 wp_set_script_translations( 'shutterstock-block-block-editor', 'shutterstock', plugin_dir_path(__DIR__) . 'languages'); … … 134 134 135 135 // Registering Shutterstock UI styles 136 wp_register_style('shutterstock-block-block-editor-shutterstock-ui-css', 'https://api-cdn.shutterstock.com/0.1. 28/static/css/sstk-widget.css');136 wp_register_style('shutterstock-block-block-editor-shutterstock-ui-css', 'https://api-cdn.shutterstock.com/0.1.30/static/css/sstk-widget.css'); 137 137 138 138 // Registerging the shutterstock-block. Pattern is 'namespace/block-name' -
shutterstock/trunk/public/shutterstock-block/build/index.asset.php
r2419544 r2430369 1 <?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-data', 'wp- element', 'wp-i18n', 'wp-polyfill'), 'version' => '4762d12b2239f74f55a6b978f9cbbcf2');1 <?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-data', 'wp-dom', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '84a07dba9d74eb2da361963507c3841a'); -
shutterstock/trunk/public/shutterstock-block/build/index.css
r2419544 r2430369 3 3 .components-shutterstock-icon{width:30px;height:30px}.components-shutterstock-icon__rectangle{fill:#ffffff} 4 4 5 .components-shutterstock-ui__inputgroup .components-shutterstock-ui__input{border:none;border-top-left-radius:8px;border-bottom-left-radius:8px}.components-shutterstock-ui__inputgroup .components-shutterstock-ui__input:focus{box-shadow:none}.components-shutterstock-ui__radio_button{width:initial;height:initial}.components-shutterstock-ui__widget-container{height: calc(100vh - 126px);overflow-y:scroll}.components-shutterstock-ui__widget-container>div{top:90px;position:relative}.components-shutterstock-ui__widget-container .components-shutterstock-ui__searchContainer .components-shutterstock-ui__filterButtonWrapper{width:initial}.components-shutterstock-ui__widget-container-overlay{position:fixed;top:2px;left:0;width:100%;overflow:hidden;height:100%;background-color:rgba(0,0,0,0.55);background-position:center center;background-repeat:no-repeat;background-size:60px 60px;transition:opacity .1s;opacity:1;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzgiIHZpZXdCb3g9IjAgMCAzOCAzOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBzdHJva2U9IiNmZmYiPgogICAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxIDEpIiBzdHJva2Utd2lkdGg9IjIiPgogICAgICAgICAgICA8Y2lyY2xlIHN0cm9rZS1vcGFjaXR5PSIuNSIgY3g9IjE4IiBjeT0iMTgiIHI9IjE4Ii8+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0zNiAxOGMwLTkuOTQtOC4wNi0xOC0xOC0xOCI+CiAgICAgICAgICAgICAgICA8YW5pbWF0ZVRyYW5zZm9ybQogICAgICAgICAgICAgICAgICAgIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIKICAgICAgICAgICAgICAgICAgICB0eXBlPSJyb3RhdGUiCiAgICAgICAgICAgICAgICAgICAgZnJvbT0iMCAxOCAxOCIKICAgICAgICAgICAgICAgICAgICB0bz0iMzYwIDE4IDE4IgogICAgICAgICAgICAgICAgICAgIGR1cj0iMXMiCiAgICAgICAgICAgICAgICAgICAgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiLz4KICAgICAgICAgICAgPC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+)}.components-shutterstock-ui__widget-container-overlay .text{max-width:300px;height:100px;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;transform:translate(0, 100%);text-align:center;font-size:18px;color:#ffffff !important}.components-shutterstock-ui__filterDrawerContainer .components-shutterstock-ui__widget-drawer-position-fixed{position:fixed}.components-shutterstock-ui__searchForm{flex:1}5 .components-shutterstock-ui__inputgroup .components-shutterstock-ui__input{border:none;border-top-left-radius:8px;border-bottom-left-radius:8px}.components-shutterstock-ui__inputgroup .components-shutterstock-ui__input:focus{box-shadow:none}.components-shutterstock-ui__radio_button{width:initial;height:initial}.components-shutterstock-ui__widget-container{height:100vh;overflow-y:scroll}.components-shutterstock-ui__widget-container>div{top:90px;position:relative}.components-shutterstock-ui__widget-container .components-shutterstock-ui__searchContainer .components-shutterstock-ui__filterButtonWrapper{width:initial}.components-shutterstock-ui__widget-container-overlay{position:fixed;top:2px;left:0;width:100%;overflow:hidden;height:100%;background-color:rgba(0,0,0,0.55);background-position:center center;background-repeat:no-repeat;background-size:60px 60px;transition:opacity .1s;opacity:1;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzgiIHZpZXdCb3g9IjAgMCAzOCAzOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBzdHJva2U9IiNmZmYiPgogICAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxIDEpIiBzdHJva2Utd2lkdGg9IjIiPgogICAgICAgICAgICA8Y2lyY2xlIHN0cm9rZS1vcGFjaXR5PSIuNSIgY3g9IjE4IiBjeT0iMTgiIHI9IjE4Ii8+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0zNiAxOGMwLTkuOTQtOC4wNi0xOC0xOC0xOCI+CiAgICAgICAgICAgICAgICA8YW5pbWF0ZVRyYW5zZm9ybQogICAgICAgICAgICAgICAgICAgIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIKICAgICAgICAgICAgICAgICAgICB0eXBlPSJyb3RhdGUiCiAgICAgICAgICAgICAgICAgICAgZnJvbT0iMCAxOCAxOCIKICAgICAgICAgICAgICAgICAgICB0bz0iMzYwIDE4IDE4IgogICAgICAgICAgICAgICAgICAgIGR1cj0iMXMiCiAgICAgICAgICAgICAgICAgICAgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiLz4KICAgICAgICAgICAgPC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+);z-index:111;top:60px}.components-shutterstock-ui__widget-container-overlay .text{max-width:300px;height:100px;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;transform:translate(0, 100%);text-align:center;font-size:18px;color:#ffffff !important}.components-shutterstock-ui__filterDrawerContainer .components-shutterstock-ui__widget-drawer-position-fixed{position:fixed}.components-shutterstock-ui__searchForm{flex:1}.components-shutterstock-ui__navigation{z-index:111111111;position:absolute;margin-left:180px;top:19px;font-weight:bold}.components-shutterstock-ui__navigation a{margin:0 10px;cursor:pointer;color:#444}.components-shutterstock-ui__navigation.disabled a{pointer-events:none}@media (min-width: 600px){.components-shutterstock-ui__widget-container{height:calc(100vh - 126px)}} 6 6 7 7 .components-shutterstock-snackbar__container{display:flex;justify-content:center;position:absolute;width:100%;position:fixed;bottom:0;left:0;right:0;margin:auto;margin-bottom:20px;z-index:11111} … … 9 9 .components-shutterstock-logo{height:24px;width:162px}.components-shutterstock-logo__stck{fill:#25282a}.components-shutterstock-logo__o,.components-shutterstock-logo__shutter{fill:#ee3625} 10 10 11 .components-shutterstock-modal__open-modal-button{font-size:13px;white-space:nowrap;background:#007cba;background:var(--wp-admin-theme-color);color:#fff;text-decoration:none;text-shadow:none;margin-top:10px}.components-shutterstock-modal__open-modal-button:hover{background:var(--wp-admin-theme-color);color:#fff}.components-shutterstock-modal__open-modal-button:focus{background:var(--wp-admin-theme-color);color:#fff}.components-shutterstock-modal__content{width: 80%;height:calc(100vh - 126px)}.components-shutterstock-modal__content .components-modal__header{position:fixed;width:100%}.components-shutterstock-modal__content::-webkit-scrollbar{display:none}.components-shutterstock-modal__shutterstock-logo{padding-bottom:24px}11 .components-shutterstock-modal__open-modal-button{font-size:13px;white-space:nowrap;background:#007cba;background:var(--wp-admin-theme-color);color:#fff;text-decoration:none;text-shadow:none;margin-top:10px}.components-shutterstock-modal__open-modal-button:hover{background:var(--wp-admin-theme-color);color:#fff}.components-shutterstock-modal__open-modal-button:focus{background:var(--wp-admin-theme-color);color:#fff}.components-shutterstock-modal__content{width:100%;height:calc(100vh)}.components-shutterstock-modal__content .components-modal__header{position:fixed;width:100%}.components-shutterstock-modal__content::-webkit-scrollbar{display:none}.components-shutterstock-modal__shutterstock-logo{padding-bottom:24px}.components-shutterstock-ui__widget-container input[type="radio"]:checked:before{width:8px;height:8px;margin:.1875rem;background-color:#1e8cbe}@media (min-width: 600px){.components-shutterstock-modal__content{width:80%}} 12 12 -
shutterstock/trunk/public/shutterstock-block/build/index.js
r2419544 r2430369 1 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=2 3)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.React}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t,n){var r=n(12),o=n(13),i=n(14),c=n(16);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||c()}},function(e,t){!function(){e.exports=this.regeneratorRuntime}()},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){function n(e,t,n,r,o,i,c){try{var s=e[i](c),a=s.value}catch(e){return void n(e)}s.done?t(a):Promise.resolve(a).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var c=e.apply(t,r);function s(e){n(c,o,i,s,a,"next",e)}function a(e){n(c,o,i,s,a,"throw",e)}s(void 0)}))}}},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t){!function(){e.exports=this.wp.apiFetch}()},function(e,t){!function(){e.exports=this.wp.blocks}()},function(e,t){!function(){e.exports=this.wp.data}()},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var c,s=e[Symbol.iterator]();!(r=(c=s.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}},function(e,t,n){var r=n(15);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r=n(9),o=n(2),i=n(4),c=n.n(i),s=n(6),a=n.n(s),u=n(5),l=n.n(u),d=n(3),p=n.n(d),m=n(0),g=n(7),b=n(10),I=(n(17),n(1)),v=(n(18),function(){return Object(m.createElement)("svg",{className:"components-shutterstock-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},Object(m.createElement)("rect",{className:"components-shutterstock-icon__rectangle",width:"36",height:"36",rx:"2",ry:"2"}),Object(m.createElement)("path",{d:"M20.3,11.3h-5.7c-0.9,0-1.7,0.7-1.7,1.5v5.7H7.3v-5.7c0-3.7,3.3-6.7,7.3-6.7h5.7V11.3"}),Object(m.createElement)("path",{d:"M15.7,24.7h5.8c0.9,0,1.7-0.7,1.7-1.5v-5.7h5.7v5.7c0,3.7-3.3,6.7-7.3,6.7h-5.8V24.7"}))}),f=n(11),y=n.n(f),w=n(8),C=n.n(w);n(19);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var O=function(){var e=a()(c.a.mark((function e(t){var n,r,o,i,s,a,u,d,m,g=arguments;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=g.length>1&&void 0!==g[1]?g[1]:"image",e.prev=1,i="editorial"===n&&(null===(r=shutterstock)||void 0===r?void 0:r.country)?"&country=".concat(null===(o=shutterstock)||void 0===o?void 0:o.country):"",e.next=5,C()({path:"shutterstock/user/subscriptions?mediaType=".concat(n)});case 5:return s=e.sent,e.next=8,C()({path:"shutterstock/images/".concat(t,"?mediaType=").concat(n).concat(i)});case 8:return a=e.sent,u=a.assets,a.id,a.is_editorial,d=Object.entries(u).filter((function(e){var t=p()(e,2);t[0];return t[1].is_licensable})).reduce((function(e,t){var n=p()(t,2),r=n[0],o=n[1];return j(j({},e),{},l()({},r,o))}),{}),m=s.map((function(e){var t,r=null==e||null===(t=e.formats)||void 0===t?void 0:t.filter((function(e){var t=e.size,n=e.format;return!t.match(/supersize/i)&&"tiff"!==n&&"eps"!==n&&void 0!==n})).sort((function(e,t){return e.min_resolution-t.min_resolution})).map((function(e){return j(j({},e),{},{details_for_image:j({},d["".concat(e.size,"_").concat(e.format)])})}));if("editorial"===n){r=Object.entries(d||{}).map((function(e){var t,n=p()(e,2),r=n[0];return{details_for_image:n[1],size:(t=r,{small_jpg:"small",medium_jpg:"medium",original:"original"}[t])}}))}return j(j({},e),{},{formats:r})})),e.abrupt("return",m);case 17:throw e.prev=17,e.t0=e.catch(1),e.t0;case 20:case"end":return e.stop()}}),e,null,[[1,17]])})));return function(t){return e.apply(this,arguments)}}();function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _=function(e){var t=e.timeout,n=void 0===t?5e3:t,r=e.onRemoveSnackbar,o=Object(m.useState)({show:!1,text:""}),i=p()(o,2),c=i[0],s=i[1];return Object(m.useEffect)((function(){var e=setTimeout((function(){s(M(M({},c),{},{show:!1,text:""})),r&&r()}),n);return function(){return clearTimeout(e)}}),[c.show]),{snackbar:c,setSnackbar:s}},x=(n(20),function(e){var t=e.text;return t&&Object(m.createElement)("div",{className:"components-shutterstock-snackbar__container"},Object(m.createElement)(g.Snackbar,null,"Shutterstock: ",t))});function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var D=function(e){var t,n,r,i,s=e.setAttributes,u=e.closeModal,l=e.canLicense,d=void 0!==l&&l,g=e.assetInfo,b=void 0===g?{}:g,v=e.licenseImage,f=void 0!==v&&v,w=e.subscriptions,h=void 0===w?[]:w,j=null===(t=shutterstock)||void 0===t||null===(n=t.permissions)||void 0===n?void 0:n.includes("can_user_search_editorial_images"),L=Object(I.useRef)(),M=Object(I.useState)({show:!1,text:""}),k=p()(M,2),D=k[0],S=k[1],A=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return S(E(E({},D),{},{show:e,text:t}))},P=_({}),N=P.snackbar,Z=P.setSnackbar,T=function(e){var t,n,r,i,c=Object(o.__)("wordpress:text_something_went_wrong","shutterstock");500!==(null==e||null===(t=e.data)||void 0===t?void 0:t.statusCode)&&(null==e||null===(n=e.data)||void 0===n?void 0:n.message)&&(c=null==e||null===(r=e.data)||void 0===r?void 0:r.message);i=c,Z(E(E({},N),{},{show:!0,text:i}))},B={label:Object(o.__)("wordpress:text_insert_preview","shutterstock"),onClick:function(e,t){e.preventDefault(),s({img:t}),u()}},G=[E(E({},B),{},{icon:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+ZG93bmxvYWQtY29tcDwvdGl0bGU+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iZG93bmxvYWQtY29tcCI+CiAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUiIHg9IjAiIHk9IjAiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PC9yZWN0PgogICAgICAgICAgICA8cGF0aCBkPSJNMTUsMjAgTDE1LDIyIEw5LDIyIEw5LDIwIEwxNSwyMCBaIE03LDIwIEw3LDIyIEwyLDIyIEwyLDIwIEw3LDIwIFogTTIyLDIwIEwyMiwyMiBMMTcsMjIgTDE3LDIwIEwyMiwyMCBaIE0xMywyIEwxMywxNC4yIEwxNy4zLDkuOSBMMTguNywxMS4zIEwxMiwxOCBMNS4zLDExLjMgTDYuNyw5LjkgTDExLDE0LjIgTDExLDIgTDEzLDIgWiIgaWQ9IlNoYXBlIiBmaWxsPSIjRkZGRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="})],W=[{path:"/images/:id",component:ShutterstockWidget.components.ImageDetailsPage,props:{buttons:[E(E({},B),{},{icon:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgZmlsbD0iIzNGNjA3OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+ZG93bmxvYWQtY29tcDwvdGl0bGU+CiAgICA8c3R5bGU+CiAgICAgICAgcGF0aCB7CiAgICAgICAgICAgIGZpbGw6IGJsYWNrOwogICAgICAgIH0KICAgIDwvc3R5bGU+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iZG93bmxvYWQtY29tcCI+CiAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUiIHg9IjAiIHk9IjAiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PC9yZWN0PgogICAgICAgICAgICA8cGF0aCBkPSJNMTUsMjAgTDE1LDIyIEw5LDIyIEw5LDIwIEwxNSwyMCBaIE03LDIwIEw3LDIyIEwyLDIyIEwyLDIwIEw3LDIwIFogTTIyLDIwIEwyMiwyMiBMMTcsMjIgTDE3LDIwIEwyMiwyMCBaIE0xMywyIEwxMywxNC4yIEwxNy4zLDkuOSBMMTguNywxMS4zIEwxMiwxOCBMNS4zLDExLjMgTDYuNyw5LjkgTDExLDE0LjIgTDExLDIgTDEzLDIgWiIgaWQ9IlNoYXBlIiBmaWxsPSIjRkZGRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="})],assetInfo:b}}];if(d){var z={label:Object(o.__)("wordpress:text_license","shutterstock"),icon:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+c2hvcHBpbmctY2FydDwvdGl0bGU+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0ic2hvcHBpbmctY2FydCI+CiAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUiIHg9IjAiIHk9IjAiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PC9yZWN0PgogICAgICAgICAgICA8cGF0aCBkPSJNMTcsMTggQzE1LjksMTggMTUsMTguOSAxNSwyMCBDMTUsMjEuMSAxNS45LDIyIDE3LDIyIEMxOC4xLDIyIDE5LDIxLjEgMTksMjAgQzE5LDE4LjkgMTguMSwxOCAxNywxOCBaIE05LDE4IEM3LjksMTggNywxOC45IDcsMjAgQzcsMjEuMSA3LjksMjIgOSwyMiBDMTAuMSwyMiAxMSwyMS4xIDExLDIwIEMxMSwxOC45IDEwLjEsMTggOSwxOCBaIE0yMCw5IEwyMCw1IEw3LjMsNSBMNi45LDIgTDYsMiBMMywyIEMzLDMuMSAzLjksNCA1LDQgTDUuMSw0IEw3LjEsMTcgTDE1LDE3IEwxOSwxNyBDMTksMTUuOSAxOC4xLDE1IDE3LDE1IEw4LjksMTUgTDguNiwxMyBMMTYsMTMgQzE4LjIsMTMgMjAsMTEuMiAyMCw5IFogTTguMiwxMSBMNy42LDcgTDE4LDcgTDE4LDkgQzE4LDEwLjEgMTcuMSwxMSAxNiwxMSBMOC4yLDExIFoiIGlkPSJTaGFwZSIgZmlsbD0iI0ZGRkZGRiIgZmlsbC1ydWxlPSJub256ZXJvIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=",isPrimary:!0,onClick:(i=a()(c.a.mark((function e(t,n,r){var i,s;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),e.prev=1,i=n.media_type,A(!0,Object(o.__)("wordpress:text_loading_please_wait","shutterstock")),e.next=6,O(n.id,i);case 6:s=e.sent,W[1].props=E(E({},W[1].props),{},{subscriptions:s}),L.current.updateRoutes({routesConfig:W}),L.current.toggleLoadingIndicator(!1),A(!1),r.history.push("/license/images/".concat(n.id)),e.next=19;break;case 14:e.prev=14,e.t0=e.catch(1),L.current.toggleLoadingIndicator(!1),A(!1),T(e.t0);case 19:case"end":return e.stop()}}),e,null,[[1,14]])}))),function(e,t,n){return i.apply(this,arguments)})};G.push(E({},z)),W[0].props.buttons.push(E({},z)),W.push({path:"/license/images/:id",component:ShutterstockWidget.components.LicensingImagePage,props:{buttons:[E(E({},z),{},{onClick:(r=a()(c.a.mark((function e(t,n,r){var i,a,l,d,p,m,g,b,I,v,f,y,w,h;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=r.subscription,e.prev=1,A(!0,Object(o.__)("wordpress:text_licensing_image_please_wait","shutterstock")),d=null==n||null===(a=n.contributor)||void 0===a?void 0:a.id,p=null==n?void 0:n.media_type,g=(m="editorial"===p)?null==n?void 0:n.byline:"",!d||m){e.next=12;break}return e.next=10,C()({path:"shutterstock/contributor/".concat(d)});case 10:v=e.sent,g=(null==v||null===(b=v.data)||void 0===b||null===(I=b[0])||void 0===I?void 0:I.display_name)||d;case 12:return e.next=14,C()({path:"shutterstock/images/licenses",method:"POST",contentType:"application/json",data:E(E(E({subscription_id:null==i?void 0:i.id,size:null==i?void 0:i.size,id:n.id,description:n.description},(null==i?void 0:i.metadata)?{metadata:i.metadata}:{}),{},{contributorName:g},null==i?void 0:i.details_for_image),{},{mediaType:p,license:null==i?void 0:i.license,country:null===(l=shutterstock)||void 0===l?void 0:l.country})});case 14:(null==(f=e.sent)?void 0:f.success)?(y=f.data,w=y.url,h=y.id,s({img:E(E({},n),{},{licensedImageUrl:w,contributorName:g,uploadedImageId:h})}),u(),A(!1)):T(f),e.next=22;break;case 18:e.prev=18,e.t0=e.catch(1),A(!1),T(e.t0);case 22:case"end":return e.stop()}}),e,null,[[1,18]])}))),function(e,t,n){return r.apply(this,arguments)})})],assetInfo:b,subscriptions:h}})}return Object(I.useEffect)((function(){var e,t,n,r,i=[{label:Object(o.__)("wordpress:text_images","shutterstock"),assetType:"images"},{label:Object(o.__)("wordpress:text_editorial","shutterstock"),assetType:"editorial"}],c={mediaType:"images",imageType:["photo"],title:Object(o.__)("wordpress:text_add_shuttersock_content_to_post","shutterstock"),subtitle:"",container:L.current,showMore:!0,key:null===(e=shutterstock)||void 0===e?void 0:e.api_key,languageCode:null===(t=shutterstock)||void 0===t?void 0:t.language,dynamicTitle:!0,dynamicSubtitle:!0,showSearchBar:!0,assetsPerPage:26,onItemClick:function(e,t,n){e.preventDefault(),n.history.push("/images/".concat(t.id))},theme:{searchBar:{searchForm:"components-shutterstock-ui__searchForm",searchContainer:"components-shutterstock-ui__searchContainer",inputGroup:"components-shutterstock-ui__inputgroup",formControlInput:"components-shutterstock-ui__input",filterDrawer:{filterDrawerContainer:"components-shutterstock-ui__filterDrawerContainer",overlay:"components-shutterstock-ui__widget-drawer-position-fixed",filterDrawer:"components-shutterstock-ui__widget-drawer-position-fixed",filterButtonWrapper:"components-shutterstock-ui__filterButtonWrapper"}}},extraRoutes:E(E({},f?{initialRoute:"/license/images/".concat(b.id)}:{}),{},{routesConfig:W}),overlayActions:G,customHeaders:{"x-shutterstock-application":"Wordpress/".concat(null===(n=shutterstock)||void 0===n?void 0:n.version)},editorialCountry:null===(r=shutterstock)||void 0===r?void 0:r.country,searchFilters:E({showFilterDrawer:!0,images:{orientationFilter:!0}},j?{searchBarDropdownFilters:i}:{})};if("object"===("undefined"==typeof window?"undefined":y()(window))&&window.ShutterstockWidget){var s=new window.ShutterstockWidget(c);s.search({query:""}),L.current=s}}),[]),Object(m.createElement)(m.Fragment,null,Object(m.createElement)("div",{ref:L,className:"components-shutterstock-ui__widget-container"}),D.show&&Object(m.createElement)("div",{className:"components-shutterstock-ui__widget-container-overlay"},D.text&&Object(m.createElement)("div",{className:"text"},D.text)),N.show&&Object(m.createElement)(x,{text:N.text}))},S=(n(21),function(){return Object(m.createElement)("svg",{className:"components-shutterstock-logo",viewBox:"0 0 175 26",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Object(m.createElement)("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},Object(m.createElement)("g",{className:"components-shutterstock-logo__stck"},Object(m.createElement)("path",{d:"M104.443726,14.7782632 C104.178897,14.7303684 103.290589,14.5784737 103.030418,14.5292105 C101.627091,14.2698947 100.42538,13.9325789 100.42538,12.4806842 C100.42538,11.2340526 101.696293,10.6524737 103.277947,10.6524737 C105.631464,10.6524737 107.695532,11.7492632 107.931084,11.8703684 L109.221293,8.37063158 C108.724905,8.10584211 106.624905,6.95226316 103.317871,6.95226316 C100.288973,6.95226316 96.5893536,8.58752632 96.5893536,12.6565263 C96.5893536,16.2978947 99.1198669,17.4665263 101.558555,17.9078421 C101.895247,17.9714737 102.953897,18.1575789 103.256654,18.2116316 C104.896863,18.4969474 105.797814,19.1250526 105.797814,20.2286842 C105.797814,21.6292632 104.518251,22.2861053 102.581274,22.2861053 C99.4798479,22.2861053 97.659981,21.3357368 97.1343156,21.1133684 L95.705038,24.5371579 C96.1488593,24.7725263 98.2661597,26 102.397624,26 C106.406654,26 109.623859,23.9583158 109.623859,20.1582105 C109.592586,16.6208421 107.280323,15.2791053 104.443726,14.7782632"}),Object(m.createElement)("path",{d:"M116.685076,0.579526316 L112.89097,2.73752632 L112.89097,7.30805263 L110.893441,7.30805263 L110.893441,11.0390526 L112.89097,11.0390526 L112.89097,19.1052105 C112.89097,22.5508947 114.268346,25.6448947 119.126426,25.6448947 L120.645532,25.6448947 L120.645532,21.9104737 L120.075951,21.9104737 C117.687833,21.9104737 116.685076,20.4934737 116.685076,18.5687895 L116.685076,11.0390526 L121.042776,11.0390526 L121.042776,7.30805263 L116.685076,7.30805263 L116.685076,0.579526316"}),Object(m.createElement)("path",{d:"M146.327281,10.7455263 C147.80846,10.7455263 149.324905,11.4379474 149.780038,13.1135789 L153.222814,11.7670526 C152.25865,8.26252632 149.092681,6.95226316 146.3,6.95226316 C141.296198,6.95226316 139.278707,10.1475263 139.278707,13.2531579 L139.278707,19.6977368 C139.278707,22.802 141.296198,26 146.3,26 C149.092681,26 152.25865,24.6876842 153.222814,21.1831579 L149.780038,19.8373158 C149.324905,21.5108947 147.80846,22.2074211 146.327281,22.2074211 C143.749525,22.2074211 143.06616,20.7562105 143.06616,19.1017895 L143.06616,13.8477368 C143.06616,12.1953684 143.749525,10.7455263 146.327281,10.7455263"}),Object(m.createElement)("polyline",{points:"162.551046 15.5438947 169.644202 7.30805263 164.978422 7.30805263 158.877376 14.4867895 158.877376 0.580210526 155.079943 0.580210526 155.079943 25.6448947 158.877376 25.6448947 158.877376 19.8085789 160.123004 18.3621579 165.555989 25.6448947 170.109316 25.6448947 162.551046 15.5438947"})),Object(m.createElement)("g",{className:"components-shutterstock-logo__o"},Object(m.createElement)("path",{d:"M131.656559,11.3093158 L127.711407,11.3093158 C127.083935,11.3093158 126.574905,11.8334211 126.574905,12.4758947 L126.574905,16.8781053 L122.682985,16.8781053 L122.682985,12.4758947 C122.682985,9.62068421 124.9327,7.30805263 127.711407,7.30805263 L131.656559,7.30805263 L131.656559,11.3093158"}),Object(m.createElement)("path",{d:"M128.445342,21.6429474 L132.393156,21.6429474 C133.017966,21.6429474 133.528327,21.1195263 133.528327,20.475 L133.528327,16.0741579 L137.419582,16.0741579 L137.419582,20.475 C137.419582,23.3302105 135.169202,25.6448947 132.393156,25.6448947 L128.445342,25.6448947 L128.445342,21.6429474"})),Object(m.createElement)("g",{className:"components-shutterstock-logo__shutter"},Object(m.createElement)("path",{d:"M64.1032319,7.30805263 L68.4596008,7.30805263 L68.4596008,11.0390526 L64.1032319,11.0390526 L64.1032319,18.5687895 C64.1032319,20.4934737 65.1053232,21.9104737 67.4914449,21.9104737 L68.0610266,21.9104737 L68.0610266,25.6448947 L66.5412548,25.6448947 C61.6818441,25.6448947 60.3084601,22.5508947 60.3084601,19.1052105 L60.3084601,11.0390526 L53.9226236,11.0390526 L53.9226236,18.5687895 C53.9226236,20.4934737 54.926711,21.9104737 57.3128327,21.9104737 L57.8804183,21.9104737 L57.8804183,25.6448947 L56.359981,25.6448947 C51.5025665,25.6448947 50.1265209,22.5508947 50.1265209,19.1052105 L50.1265209,11.0390526 L48.2028517,11.0390526 L48.2028517,7.30805263 L50.1265209,7.30805263 L50.1265209,2.73752632 L53.9226236,0.579526316 L53.9226236,7.30805263 L60.3084601,7.30805263 L60.3084601,2.73752632 L64.1032319,0.579526316 L64.1032319,7.30805263"}),Object(m.createElement)("path",{d:"M23.1419202,6.95226316 C21.9415399,6.95226316 20.7238593,7.19105263 19.6279468,7.66863158 L19.6279468,0.579526316 L15.8331749,0.579526316 L15.8331749,25.6448947 L19.6279468,25.6448947 L19.6279468,11.3161579 C20.3904943,10.8235263 21.4877376,10.5293158 22.5603612,10.5293158 C24.9458175,10.5293158 26.068346,11.8929474 26.068346,13.9038421 L26.068346,25.6448947 L29.8597909,25.6448947 L29.8597909,13.3708421 C29.8597909,9.66994737 27.2527567,6.95226316 23.1419202,6.95226316"}),Object(m.createElement)("path",{d:"M42.3746198,21.9980526 C41.653327,22.3983158 40.7403992,22.6275263 39.8321293,22.6275263 C37.0001901,22.6275263 35.9355513,21.1441579 35.9355513,19.0983684 L35.9355513,7.30805263 L32.1414449,7.30805263 L32.1414449,19.1702105 C32.1414449,23.7811053 34.7331749,26 39.365019,26 C41.5834601,26 44.0401141,25.4232105 46.1673954,24.4762632 L46.1673954,7.30805263 L42.3746198,7.30805263 L42.3746198,21.9980526"}),Object(m.createElement)("path",{d:"M8.73802281,14.7782632 C8.47519011,14.7303684 7.58555133,14.5784737 7.32471483,14.5292105 C5.92404943,14.2698947 4.71967681,13.9325789 4.71967681,12.4806842 C4.71967681,11.2340526 5.98925856,10.6524737 7.57290875,10.6524737 C9.92576046,10.6524737 11.9898289,11.7492632 12.2253802,11.8703684 L13.514924,8.37063158 C13.0218631,8.10584211 10.9198669,6.95226316 7.6108365,6.95226316 C4.58393536,6.95226316 0.88365019,8.58752632 0.88365019,12.6565263 C0.88365019,16.2978947 3.4115019,17.4665263 5.85351711,17.9078421 C6.18954373,17.9714737 7.24885932,18.1575789 7.55361217,18.2116316 C9.19315589,18.4969474 10.0901141,19.1250526 10.0901141,20.2286842 C10.0901141,21.6292632 8.81454373,22.2861053 6.87823194,22.2861053 C3.77414449,22.2861053 1.95427757,21.3357368 1.42794677,21.1133684 L0,24.5371579 C0.445152091,24.7725263 2.56178707,26 6.69325095,26 C10.7022814,26 13.9194867,23.9583158 13.9194867,20.1582105 C13.8848859,16.6208421 11.573289,15.2791053 8.73802281,14.7782632"}),Object(m.createElement)("path",{d:"M80.3536122,15.0861579 L73.9557985,15.0861579 L73.9557985,13.7519474 C73.9557985,12.2637895 74.6824144,10.6675263 77.1743346,10.6675263 C79.5764259,10.6675263 80.3536122,12.2220526 80.3536122,13.6794211 L80.3536122,15.0861579 Z M84.148384,13.2531579 C84.148384,9.89915789 81.6624525,6.95089474 77.1923004,6.95089474 C72.1179658,6.95089474 70.1696768,10.2091053 70.1696768,13.2531579 L70.1696768,19.3433158 C70.1696768,23.5566842 72.7880228,26 77.1923004,26 C81.0775665,26 83.0943916,23.6901053 83.693251,22.3025263 L80.490019,20.3237895 C80.2165399,21.1386842 78.948289,22.282 77.2175856,22.282 C74.8713878,22.282 73.9691065,20.9361579 73.9691065,19.2495789 L73.9557985,18.2451579 L84.148384,18.2451579 L84.148384,13.2531579 L84.148384,13.2531579 Z"}),Object(m.createElement)("path",{d:"M86.5764259,13.26 L86.5764259,25.6448947 L90.3678707,25.6448947 L90.3678707,13.5932105 C90.3678707,12.5408947 90.9487643,10.7421053 93.7334601,10.7421053 C94.1706274,10.7421053 95.1587452,10.8700526 95.4748099,10.9309474 L95.4748099,7.14863158 C95.1327947,7.06378947 94.3489544,6.95089474 93.5391635,6.95089474 C88.7163498,6.95089474 86.5764259,10.0613158 86.5764259,13.26"}))))}),A=(n(22),function(e){var t=e.setAttributes,n=e.closeModal,r=e.canLicense,o=e.assetInfo,i=e.licenseImage,c=e.subscriptions;return Object(m.createElement)(m.Fragment,null,Object(m.createElement)(g.Modal,{overlayClassName:"overlay",shouldCloseOnClickOutside:!1,className:"components-shutterstock-modal__content",title:Object(m.createElement)(S,null),onRequestClose:n},Object(m.createElement)("div",{style:{width:"100%"}},Object(m.createElement)(D,{setAttributes:t,closeModal:n,canLicense:r,assetInfo:o,licenseImage:i,subscriptions:c}))))});function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Z=Object(b.withDispatch)((function(e){return{replaceBlock:e("core/block-editor").replaceBlock}}))((function(e){var t,n,i,s,u,l,d,b,I,f,y,w,C=Object(m.useState)(!1),h=p()(C,2),j=h[0],L=h[1],M=Object(m.useState)(!1),k=p()(M,2),E=k[0],D=k[1],S=Object(m.useState)(!1),P=p()(S,2),Z=P[0],T=P[1],B=Object(m.useState)(!1),G=p()(B,2),W=G[0],z=G[1],R=Object(m.useState)([]),H=p()(R,2),U=H[0],F=H[1],V=function(){return L(!0)},J=(null===(t=e.attributes)||void 0===t||null===(n=t.img)||void 0===n?void 0:n.media_type)||"image",Q="editorial"===J,Y=shutterstock.permissions,K=void 0===Y?{}:Y,X=K.includes("can_user_license_all_shutterstock_images"),q=K.includes("can_user_license_shutterstock_editorial_image"),$=K.includes("can_user_license_shutterstock_photos"),ee=!1;(X||Q&&q||!Q&&$)&&(ee=!0);var te=function(e){D(e),z(e)},ne=_({onRemoveSnackbar:function(){return te(!1)}}),re=ne.snackbar,oe=ne.setSnackbar;return Object(m.useEffect)((function(){var t,n;if(null===(t=e.attributes)||void 0===t||null===(n=t.img)||void 0===n?void 0:n.licensedImageUrl){var o=e.attributes.img,i=o.licensedImageUrl,c=o.contributorName,s=o.uploadedImageId,a=o.description,u=Object(r.createBlock)("core/image",{url:i,id:s,caption:"Image: ".concat(c,", Shutterstock"),alt:a,align:"center"});e.replaceBlock(e.clientId,u)}}),[null===(i=e.attributes)||void 0===i||null===(s=i.img)||void 0===s?void 0:s.licensedImageUrl]),Object(m.createElement)("div",{className:e.className},Object(m.createElement)("div",null,Object(m.createElement)("span",{className:"components-edit__shutterstock-icon"},Object(m.createElement)(v,null)),Object(m.createElement)("span",{className:"components-edit__heading"},"Shutterstock")),e.attributes.img?Object(m.createElement)("div",{className:"components-edit__image-container"},Object(m.createElement)("img",{src:(null===(u=e.attributes)||void 0===u||null===(l=u.img)||void 0===l?void 0:l.licensedImageUrl)||(null===(d=e.attributes)||void 0===d||null===(b=d.img)||void 0===b||null===(I=b.preview_1500)||void 0===I?void 0:I.url),onLoad:function(){return T(!0)}}),ee&&Z&&!(null===(f=e.attributes)||void 0===f||null===(y=f.img)||void 0===y?void 0:y.licensedImageUrl)&&Object(m.createElement)(g.Button,{disabled:W,onClick:a()(c.a.mark((function t(){var n,r;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,te(!0),t.next=4,O(null===(n=e.attributes)||void 0===n?void 0:n.img.id,J);case 4:r=t.sent,F(r),V(),z(!1),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(0),i=t.t0,c=void 0,s=void 0,a=void 0,a=Object(o.__)("wordpress:text_something_went_wrong","shutterstock"),500!==(null==i||null===(c=i.data)||void 0===c?void 0:c.statusCode)&&(null==i||null===(s=i.data)||void 0===s?void 0:s.message)&&(a=i.data.message),oe(N(N({},re),{},{show:!0,text:a}));case 13:case"end":return t.stop()}var i,c,s,a}),t,null,[[0,10]])}))),className:"components-edit__license-image-button"},W&&Object(m.createElement)("span",{className:"loading-spinner"}),Object(m.createElement)("span",null,Object(o.__)("wordpress:text_license_this_image","shutterstock")))):Object(m.createElement)("span",null),Object(m.createElement)("div",{className:"components-edit__paragraph"},Object(o.__)("wordpress:text_block_paragraph","shutterstock")),Object(m.createElement)(g.Button,{disabled:W,onClick:function(){V(),D(!1)},className:"components-shutterstock-modal__open-modal-button "},Object(o.__)("wordpress:text_browse","shutterstock")),j&&Object(m.createElement)(A,{setAttributes:e.setAttributes,closeModal:function(){return L(!1)},canLicense:ee,assetInfo:null==e||null===(w=e.attributes)||void 0===w?void 0:w.img,licenseImage:E,subscriptions:U}),re.show&&!j&&Object(m.createElement)(x,{text:re.text}))}));Object(r.registerBlockType)("shutterstock/shutterstock-block",{title:"Shutterstock",description:Object(o.__)("wordpress:text_block_description_in_sidebar","shutterstock"),category:"common",icon:v,supports:{html:!1},edit:Z,save:function(e){var t,n,r,i,c;return Object(m.createElement)("img",{alt:Object(o.__)("Alt text"),className:"wp-block-shutterstock-shutterstock-block",src:(null===(t=e.attributes)||void 0===t||null===(n=t.img)||void 0===n?void 0:n.licensedImageUrl)||(null===(r=e.attributes)||void 0===r||null===(i=r.img)||void 0===i||null===(c=i.preview_1500)||void 0===c?void 0:c.url)})},attributes:{img:{type:"object"}}})}]);1 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=24)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.React}()},function(e,t){!function(){e.exports=this.regeneratorRuntime}()},function(e,t,n){var r=n(13),o=n(14),c=n(15),i=n(17);e.exports=function(e,t){return r(e)||o(e,t)||c(e,t)||i()}},function(e,t){function n(e,t,n,r,o,c,i){try{var s=e[c](i),a=s.value}catch(e){return void n(e)}s.done?t(a):Promise.resolve(a).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,c){var i=e.apply(t,r);function s(e){n(i,o,c,s,a,"next",e)}function a(e){n(i,o,c,s,a,"throw",e)}s(void 0)}))}}},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){!function(){e.exports=this.wp.apiFetch}()},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t){!function(){e.exports=this.wp.blocks}()},function(e,t){!function(){e.exports=this.wp.data}()},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t){!function(){e.exports=this.wp.dom}()},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,c=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw c}}return n}}},function(e,t,n){var r=n(16);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r=n(9),o=n(1),c=n(3),i=n.n(c),s=n(5),a=n.n(s),u=n(6),l=n.n(u),p=n(4),d=n.n(p),g=n(0),m=n(8),b=n(10),I=(n(18),n(2)),v=(n(19),function(){return Object(g.createElement)("svg",{className:"components-shutterstock-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},Object(g.createElement)("rect",{className:"components-shutterstock-icon__rectangle",width:"36",height:"36",rx:"2",ry:"2"}),Object(g.createElement)("path",{d:"M20.3,11.3h-5.7c-0.9,0-1.7,0.7-1.7,1.5v5.7H7.3v-5.7c0-3.7,3.3-6.7,7.3-6.7h5.7V11.3"}),Object(g.createElement)("path",{d:"M15.7,24.7h5.8c0.9,0,1.7-0.7,1.7-1.5v-5.7h5.7v5.7c0,3.7-3.3,6.7-7.3,6.7h-5.8V24.7"}))}),f=n(11),y=n.n(f),h=n(7),w=n.n(h),j=n(12);n(20);var C="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+ZG93bmxvYWQtY29tcDwvdGl0bGU+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iZG93bmxvYWQtY29tcCI+CiAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUiIHg9IjAiIHk9IjAiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PC9yZWN0PgogICAgICAgICAgICA8cGF0aCBkPSJNMTUsMjAgTDE1LDIyIEw5LDIyIEw5LDIwIEwxNSwyMCBaIE03LDIwIEw3LDIyIEwyLDIyIEwyLDIwIEw3LDIwIFogTTIyLDIwIEwyMiwyMiBMMTcsMjIgTDE3LDIwIEwyMiwyMCBaIE0xMywyIEwxMywxNC4yIEwxNy4zLDkuOSBMMTguNywxMS4zIEwxMiwxOCBMNS4zLDExLjMgTDYuNyw5LjkgTDExLDE0LjIgTDExLDIgTDEzLDIgWiIgaWQ9IlNoYXBlIiBmaWxsPSIjRkZGRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==";function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _=function(){var e=a()(i.a.mark((function e(t){var n,r,o,c,s,a,u,p,g,m=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=m.length>1&&void 0!==m[1]?m[1]:"image",e.prev=1,c="editorial"===n&&(null===(r=shutterstock)||void 0===r?void 0:r.country)?"&country=".concat(null===(o=shutterstock)||void 0===o?void 0:o.country):"",e.next=5,w()({path:"shutterstock/user/subscriptions?mediaType=".concat(n)});case 5:return s=e.sent,e.next=8,w()({path:"shutterstock/images/".concat(t,"?mediaType=").concat(n).concat(c)});case 8:return a=e.sent,u=a.assets,a.id,a.is_editorial,p=Object.entries(u).filter((function(e){var t=d()(e,2);t[0];return t[1].is_licensable})).reduce((function(e,t){var n=d()(t,2),r=n[0],o=n[1];return L(L({},e),{},l()({},r,o))}),{}),g=s.map((function(e){var t,r=null==e||null===(t=e.formats)||void 0===t?void 0:t.filter((function(e){var t=e.size,n=e.format;return!t.match(/supersize/i)&&"tiff"!==n&&"eps"!==n&&void 0!==n})).sort((function(e,t){return e.min_resolution-t.min_resolution})).map((function(e){return L(L({},e),{},{details_for_image:L({},p["".concat(e.size,"_").concat(e.format)])})}));if("editorial"===n){r=Object.entries(p||{}).map((function(e){var t,n=d()(e,2),r=n[0];return{details_for_image:n[1],size:(t=r,{small_jpg:"small",medium_jpg:"medium",original:"original"}[t])}}))}return L(L({},e),{},{formats:r})})),e.abrupt("return",g);case 17:throw e.prev=17,e.t0=e.catch(1),e.t0;case 20:case"end":return e.stop()}}),e,null,[[1,17]])})));return function(t){return e.apply(this,arguments)}}(),x=function(){var e=a()(i.a.mark((function e(){var t,n,r,o=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=o.length>0&&void 0!==o[0]?o[0]:"images",n=o.length>1&&void 0!==o[1]?o[1]:1,e.prev=2,e.next=5,w()({path:"shutterstock/images/licenses?mediaType=".concat(t,"&page=").concat(n)});case 5:return r=e.sent,e.abrupt("return",r);case 9:throw e.prev=9,e.t0=e.catch(2),e.t0;case 12:case"end":return e.stop()}}),e,null,[[2,9]])})));return function(){return e.apply(this,arguments)}}(),k=_;function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var D=function(){var e=a()(i.a.mark((function e(t,n){var r,c,s,a,u,l,p,d,g,m,b,I,v,f,y,h,j,C;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=n.toggleOverlay,c=n.licenseId,s=n.size,a=n.setAttributes,u=n.closeModal,l=n.handleError,e.prev=1,r(!0,Object(o.__)("wordpress:downloading_image","shutterstock")),d=null==t||null===(p=t.contributor)||void 0===p?void 0:p.id,g="",!d){e.next=10;break}return e.next=8,w()({path:"shutterstock/contributor/".concat(d)});case 8:I=e.sent,g=(null==I||null===(m=I.data)||void 0===m||null===(b=m[0])||void 0===b?void 0:b.display_name)||d;case 10:return e.next=12,w()({path:"shutterstock/images/".concat(t.id,"?mediaType=images")});case 12:return v=e.sent,f=v.assets,e.next=16,w()({path:"shutterstock/images/licenses/".concat(c,"/downloads"),method:"POST",contentType:"application/json",data:E({mediaType:"images",size:s,contributorName:g,imageId:t.id,description:t.description},null==f?void 0:f["".concat(s,"_jpg")])});case 16:(null==(y=e.sent)?void 0:y.success)?(h=y.data,j=h.url,C=h.id,a({img:E(E({},t),{},{licensedImageUrl:j,contributorName:g,uploadedImageId:C})}),u(),r(!1)):l(y),e.next=24;break;case 20:e.prev=20,e.t0=e.catch(1),r(!1),l(e.t0);case 24:case"end":return e.stop()}}),e,null,[[1,20]])})));return function(t,n){return e.apply(this,arguments)}}();function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var P=function(e){var t=e.timeout,n=void 0===t?5e3:t,r=e.onRemoveSnackbar,o=Object(g.useState)({show:!1,text:""}),c=d()(o,2),i=c[0],s=c[1];return Object(g.useEffect)((function(){var e=setTimeout((function(){s(A(A({},i),{},{show:!1,text:""})),r&&r()}),n);return function(){return clearTimeout(e)}}),[i.show]),{snackbar:i,setSnackbar:s}},N=(n(21),function(e){var t=e.text;return t&&Object(g.createElement)("div",{className:"components-shutterstock-snackbar__container"},Object(g.createElement)(m.Snackbar,null,"Shutterstock: ",t))});function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var B=/<\/?[a-z][^>]*?>/gi,G=/\r?\n|\r/gi,W=function(e){var t,n,r,c,s,u=e.setAttributes,l=e.closeModal,p=e.canLicense,m=void 0!==p&&p,b=e.assetInfo,v=void 0===b?{}:b,f=e.licenseImage,h=void 0!==f&&f,O=e.subscriptions,L=void 0===O?[]:O,_=null===(t=shutterstock)||void 0===t||null===(n=t.permissions)||void 0===n?void 0:n.includes("can_user_search_editorial_images"),M=Object(I.useRef)(),E=Object(I.useState)({show:!1,text:""}),S=d()(E,2),A=S[0],Z=S[1],W=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Z(T(T({},A),{},{show:e,text:t}))},z=P({}),H=z.snackbar,R=z.setSnackbar,U=function(e){var t,n,r,c,i=Object(o.__)("wordpress:text_something_went_wrong","shutterstock");500!==(null==e||null===(t=e.data)||void 0===t?void 0:t.statusCode)&&(null==e||null===(n=e.data)||void 0===n?void 0:n.message)&&(i=null==e||null===(r=e.data)||void 0===r?void 0:r.message);c=i,R(T(T({},H),{},{show:!0,text:c})),W(!1)},F={label:Object(o.__)("wordpress:text_insert_preview","shutterstock"),onClick:function(e,t){e.preventDefault(),u({img:t}),l()}},V=[T(T({},F),{},{icon:C})],J=[{path:"/images/:id",component:ShutterstockWidget.components.ImageDetailsPage,props:{buttons:[T(T({},F),{},{icon:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgZmlsbD0iIzNGNjA3OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+ZG93bmxvYWQtY29tcDwvdGl0bGU+CiAgICA8c3R5bGU+CiAgICAgICAgcGF0aCB7CiAgICAgICAgICAgIGZpbGw6IGJsYWNrOwogICAgICAgIH0KICAgIDwvc3R5bGU+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iZG93bmxvYWQtY29tcCI+CiAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUiIHg9IjAiIHk9IjAiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PC9yZWN0PgogICAgICAgICAgICA8cGF0aCBkPSJNMTUsMjAgTDE1LDIyIEw5LDIyIEw5LDIwIEwxNSwyMCBaIE03LDIwIEw3LDIyIEwyLDIyIEwyLDIwIEw3LDIwIFogTTIyLDIwIEwyMiwyMiBMMTcsMjIgTDE3LDIwIEwyMiwyMCBaIE0xMywyIEwxMywxNC4yIEwxNy4zLDkuOSBMMTguNywxMS4zIEwxMiwxOCBMNS4zLDExLjMgTDYuNyw5LjkgTDExLDE0LjIgTDExLDIgTDEzLDIgWiIgaWQ9IlNoYXBlIiBmaWxsPSIjRkZGRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="})],assetInfo:v}}];if(m){var Q={label:Object(o.__)("wordpress:text_license","shutterstock"),icon:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+c2hvcHBpbmctY2FydDwvdGl0bGU+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0ic2hvcHBpbmctY2FydCI+CiAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUiIHg9IjAiIHk9IjAiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PC9yZWN0PgogICAgICAgICAgICA8cGF0aCBkPSJNMTcsMTggQzE1LjksMTggMTUsMTguOSAxNSwyMCBDMTUsMjEuMSAxNS45LDIyIDE3LDIyIEMxOC4xLDIyIDE5LDIxLjEgMTksMjAgQzE5LDE4LjkgMTguMSwxOCAxNywxOCBaIE05LDE4IEM3LjksMTggNywxOC45IDcsMjAgQzcsMjEuMSA3LjksMjIgOSwyMiBDMTAuMSwyMiAxMSwyMS4xIDExLDIwIEMxMSwxOC45IDEwLjEsMTggOSwxOCBaIE0yMCw5IEwyMCw1IEw3LjMsNSBMNi45LDIgTDYsMiBMMywyIEMzLDMuMSAzLjksNCA1LDQgTDUuMSw0IEw3LjEsMTcgTDE1LDE3IEwxOSwxNyBDMTksMTUuOSAxOC4xLDE1IDE3LDE1IEw4LjksMTUgTDguNiwxMyBMMTYsMTMgQzE4LjIsMTMgMjAsMTEuMiAyMCw5IFogTTguMiwxMSBMNy42LDcgTDE4LDcgTDE4LDkgQzE4LDEwLjEgMTcuMSwxMSAxNiwxMSBMOC4yLDExIFoiIGlkPSJTaGFwZSIgZmlsbD0iI0ZGRkZGRiIgZmlsbC1ydWxlPSJub256ZXJvIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=",isPrimary:!0,onClick:(s=a()(i.a.mark((function e(t,n,r){var c,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),e.prev=1,c=n.media_type,W(!0,Object(o.__)("wordpress:text_loading_please_wait","shutterstock")),e.next=6,k(n.id,c);case 6:s=e.sent,J[1].props=T(T({},J[1].props),{},{assetInfo:n,subscriptions:s}),M.current.updateRoutes({routesConfig:J}),M.current.toggleLoadingIndicator(!1),W(!1),r.history.push("/license/images/".concat(n.id)),e.next=19;break;case 14:e.prev=14,e.t0=e.catch(1),M.current.toggleLoadingIndicator(!1),W(!1),U(e.t0);case 19:case"end":return e.stop()}}),e,null,[[1,14]])}))),function(e,t,n){return s.apply(this,arguments)})};V.push(T({},Q)),J[0].props.buttons.push(T({},Q)),J.push({path:"/license/images/:id",component:ShutterstockWidget.components.LicensingImagePage,props:{buttons:[T(T({},Q),{},{onClick:(c=a()(i.a.mark((function e(t,n,r){var c,s,a,p,d,g,m,b,I,v,f,y,h,j;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(c=r.subscription,e.prev=1,W(!0,Object(o.__)("wordpress:text_licensing_image_please_wait","shutterstock")),p=null==n||null===(s=n.contributor)||void 0===s?void 0:s.id,d=null==n?void 0:n.media_type,m=(g="editorial"===d)?null==n?void 0:n.byline:"",!p||g){e.next=12;break}return e.next=10,w()({path:"shutterstock/contributor/".concat(p)});case 10:v=e.sent,m=(null==v||null===(b=v.data)||void 0===b||null===(I=b[0])||void 0===I?void 0:I.display_name)||p;case 12:return e.next=14,w()({path:"shutterstock/images/licenses",method:"POST",contentType:"application/json",data:T(T(T({subscription_id:null==c?void 0:c.id,size:null==c?void 0:c.size,id:n.id,description:n.description},(null==c?void 0:c.metadata)?{metadata:c.metadata}:{}),{},{contributorName:m},null==c?void 0:c.details_for_image),{},{mediaType:d,license:null==c?void 0:c.license,country:null===(a=shutterstock)||void 0===a?void 0:a.country})});case 14:(null==(f=e.sent)?void 0:f.success)?(y=f.data,h=y.url,j=y.id,u({img:T(T({},n),{},{licensedImageUrl:h,contributorName:m,uploadedImageId:j})}),l(),W(!1)):U(f),e.next=22;break;case 18:e.prev=18,e.t0=e.catch(1),W(!1),U(e.t0);case 22:case"end":return e.stop()}}),e,null,[[1,18]])}))),function(e,t,n){return c.apply(this,arguments)})})],assetInfo:v,subscriptions:L}},{path:"/license-history",component:ShutterstockWidget.components.LicenseHistoryPage,props:{onLicenseHistoryItemClick:function(e,t){var n=t.history;J[0].props=T(T({},J[0].props),{},{assetInfo:e}),M.current.updateRoutes({routesConfig:J}),M.current.toggleLoadingIndicator(!1),n.push("/images/".concat(e.id))},getMoreResults:(r=a()(i.a.mark((function e(t){var n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,x("images",t+1);case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),function(e){return r.apply(this,arguments)}),licenseHistory:[],overlayActions:[{label:Object(o.__)("wordpress:text_dowbload_and_insert","shutterstock"),icon:C,onClick:function(e,t,n){e.preventDefault(),D(t,T(T({},n),{},{toggleOverlay:W,handleError:U,setAttributes:u,closeModal:l}))}}]}})}return Object(I.useEffect)((function(){var e,t,n,r,c=[{label:Object(o.__)("wordpress:text_images","shutterstock"),assetType:"images"},{label:Object(o.__)("wordpress:text_editorial","shutterstock"),assetType:"editorial"}],i={mediaType:"images",imageType:["photo"],title:Object(o.__)("wordpress:text_add_shuttersock_content_to_post","shutterstock"),subtitle:"",container:M.current,showMore:!0,key:null===(e=shutterstock)||void 0===e?void 0:e.api_key,languageCode:null===(t=shutterstock)||void 0===t?void 0:t.language,dynamicTitle:!0,dynamicSubtitle:!0,showSearchBar:!0,assetsPerPage:26,onItemClick:function(e,t,n){e.preventDefault(),J[0].props=T(T({},J[0].props),{},{assetInfo:t}),M.current.updateRoutes({routesConfig:J}),M.current.toggleLoadingIndicator(!1),n.history.push("/images/".concat(t.id))},theme:{searchBar:{searchForm:"components-shutterstock-ui__searchForm",searchContainer:"components-shutterstock-ui__searchContainer",inputGroup:"components-shutterstock-ui__inputgroup",formControlInput:"components-shutterstock-ui__input",filterDrawer:{filterDrawerContainer:"components-shutterstock-ui__filterDrawerContainer",overlay:"components-shutterstock-ui__widget-drawer-position-fixed",filterDrawer:"components-shutterstock-ui__widget-drawer-position-fixed",filterButtonWrapper:"components-shutterstock-ui__filterButtonWrapper"}}},extraRoutes:T(T({},h?{initialRoute:"/license/images/".concat(v.id)}:{}),{},{routesConfig:J,excludeSearchBarRoutes:["^/license-history$"]}),overlayActions:V,customHeaders:{"x-shutterstock-application":"Wordpress/".concat(null===(n=shutterstock)||void 0===n?void 0:n.version)},editorialCountry:null===(r=shutterstock)||void 0===r?void 0:r.country,searchFilters:T({showFilterDrawer:!0,images:{orientationFilter:!0}},_?{searchBarDropdownFilters:c}:{}),searchSuggestions:{enable:!0,textProvider:function(){var e=wp.data.select("core/editor").getEditedPostAttribute("title")||"",t=wp.data.select("core/editor").getEditedPostContent()||"";return Object(j.__unstableStripHTML)("".concat(e," ").concat(t)).replace(B,"").replace(G,"").trim()}}};if("object"===("undefined"==typeof window?"undefined":y()(window))&&window.ShutterstockWidget){var s=new window.ShutterstockWidget(i);s.search({query:""}),M.current=s}}),[]),Object(g.createElement)(g.Fragment,null,m&&Object(g.createElement)("div",{className:"components-shutterstock-ui__navigation ".concat(A.show?"disabled":"")},Object(g.createElement)("a",{onClick:function(e,t){M.current.getHistory().push("/")}},Object(o.__)("wordpress:text_home","shutterstock")),Object(g.createElement)("a",{className:"components-shutterstock-ui__download",onClick:function(){var e=a()(i.a.mark((function e(t){var n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,W(!0,Object(o.__)("wordpress:text_loading_please_wait","shutterstock")),e.next=4,x("images");case 4:n=e.sent,J[2].props=T(T({},J[2].props),{},{licenseHistory:n}),M.current.updateRoutes({routesConfig:J}),M.current.toggleLoadingIndicator(!1),W(!1),M.current.getHistory().push("/license-history"),e.next=17;break;case 12:e.prev=12,e.t0=e.catch(0),M.current.toggleLoadingIndicator(!1),W(!1),U(e.t0);case 17:case"end":return e.stop()}}),e,null,[[0,12]])})));return function(t){return e.apply(this,arguments)}}()},Object(o.__)("wordpress:text_downloads","shutterstock"))),Object(g.createElement)("div",{ref:M,className:"components-shutterstock-ui__widget-container"}),A.show&&Object(g.createElement)("div",{className:"components-shutterstock-ui__widget-container-overlay"},A.text&&Object(g.createElement)("div",{className:"text"},A.text)),H.show&&Object(g.createElement)(N,{text:H.text}))},z=(n(22),function(){return Object(g.createElement)("svg",{className:"components-shutterstock-logo",viewBox:"0 0 175 26",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Object(g.createElement)("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},Object(g.createElement)("g",{className:"components-shutterstock-logo__stck"},Object(g.createElement)("path",{d:"M104.443726,14.7782632 C104.178897,14.7303684 103.290589,14.5784737 103.030418,14.5292105 C101.627091,14.2698947 100.42538,13.9325789 100.42538,12.4806842 C100.42538,11.2340526 101.696293,10.6524737 103.277947,10.6524737 C105.631464,10.6524737 107.695532,11.7492632 107.931084,11.8703684 L109.221293,8.37063158 C108.724905,8.10584211 106.624905,6.95226316 103.317871,6.95226316 C100.288973,6.95226316 96.5893536,8.58752632 96.5893536,12.6565263 C96.5893536,16.2978947 99.1198669,17.4665263 101.558555,17.9078421 C101.895247,17.9714737 102.953897,18.1575789 103.256654,18.2116316 C104.896863,18.4969474 105.797814,19.1250526 105.797814,20.2286842 C105.797814,21.6292632 104.518251,22.2861053 102.581274,22.2861053 C99.4798479,22.2861053 97.659981,21.3357368 97.1343156,21.1133684 L95.705038,24.5371579 C96.1488593,24.7725263 98.2661597,26 102.397624,26 C106.406654,26 109.623859,23.9583158 109.623859,20.1582105 C109.592586,16.6208421 107.280323,15.2791053 104.443726,14.7782632"}),Object(g.createElement)("path",{d:"M116.685076,0.579526316 L112.89097,2.73752632 L112.89097,7.30805263 L110.893441,7.30805263 L110.893441,11.0390526 L112.89097,11.0390526 L112.89097,19.1052105 C112.89097,22.5508947 114.268346,25.6448947 119.126426,25.6448947 L120.645532,25.6448947 L120.645532,21.9104737 L120.075951,21.9104737 C117.687833,21.9104737 116.685076,20.4934737 116.685076,18.5687895 L116.685076,11.0390526 L121.042776,11.0390526 L121.042776,7.30805263 L116.685076,7.30805263 L116.685076,0.579526316"}),Object(g.createElement)("path",{d:"M146.327281,10.7455263 C147.80846,10.7455263 149.324905,11.4379474 149.780038,13.1135789 L153.222814,11.7670526 C152.25865,8.26252632 149.092681,6.95226316 146.3,6.95226316 C141.296198,6.95226316 139.278707,10.1475263 139.278707,13.2531579 L139.278707,19.6977368 C139.278707,22.802 141.296198,26 146.3,26 C149.092681,26 152.25865,24.6876842 153.222814,21.1831579 L149.780038,19.8373158 C149.324905,21.5108947 147.80846,22.2074211 146.327281,22.2074211 C143.749525,22.2074211 143.06616,20.7562105 143.06616,19.1017895 L143.06616,13.8477368 C143.06616,12.1953684 143.749525,10.7455263 146.327281,10.7455263"}),Object(g.createElement)("polyline",{points:"162.551046 15.5438947 169.644202 7.30805263 164.978422 7.30805263 158.877376 14.4867895 158.877376 0.580210526 155.079943 0.580210526 155.079943 25.6448947 158.877376 25.6448947 158.877376 19.8085789 160.123004 18.3621579 165.555989 25.6448947 170.109316 25.6448947 162.551046 15.5438947"})),Object(g.createElement)("g",{className:"components-shutterstock-logo__o"},Object(g.createElement)("path",{d:"M131.656559,11.3093158 L127.711407,11.3093158 C127.083935,11.3093158 126.574905,11.8334211 126.574905,12.4758947 L126.574905,16.8781053 L122.682985,16.8781053 L122.682985,12.4758947 C122.682985,9.62068421 124.9327,7.30805263 127.711407,7.30805263 L131.656559,7.30805263 L131.656559,11.3093158"}),Object(g.createElement)("path",{d:"M128.445342,21.6429474 L132.393156,21.6429474 C133.017966,21.6429474 133.528327,21.1195263 133.528327,20.475 L133.528327,16.0741579 L137.419582,16.0741579 L137.419582,20.475 C137.419582,23.3302105 135.169202,25.6448947 132.393156,25.6448947 L128.445342,25.6448947 L128.445342,21.6429474"})),Object(g.createElement)("g",{className:"components-shutterstock-logo__shutter"},Object(g.createElement)("path",{d:"M64.1032319,7.30805263 L68.4596008,7.30805263 L68.4596008,11.0390526 L64.1032319,11.0390526 L64.1032319,18.5687895 C64.1032319,20.4934737 65.1053232,21.9104737 67.4914449,21.9104737 L68.0610266,21.9104737 L68.0610266,25.6448947 L66.5412548,25.6448947 C61.6818441,25.6448947 60.3084601,22.5508947 60.3084601,19.1052105 L60.3084601,11.0390526 L53.9226236,11.0390526 L53.9226236,18.5687895 C53.9226236,20.4934737 54.926711,21.9104737 57.3128327,21.9104737 L57.8804183,21.9104737 L57.8804183,25.6448947 L56.359981,25.6448947 C51.5025665,25.6448947 50.1265209,22.5508947 50.1265209,19.1052105 L50.1265209,11.0390526 L48.2028517,11.0390526 L48.2028517,7.30805263 L50.1265209,7.30805263 L50.1265209,2.73752632 L53.9226236,0.579526316 L53.9226236,7.30805263 L60.3084601,7.30805263 L60.3084601,2.73752632 L64.1032319,0.579526316 L64.1032319,7.30805263"}),Object(g.createElement)("path",{d:"M23.1419202,6.95226316 C21.9415399,6.95226316 20.7238593,7.19105263 19.6279468,7.66863158 L19.6279468,0.579526316 L15.8331749,0.579526316 L15.8331749,25.6448947 L19.6279468,25.6448947 L19.6279468,11.3161579 C20.3904943,10.8235263 21.4877376,10.5293158 22.5603612,10.5293158 C24.9458175,10.5293158 26.068346,11.8929474 26.068346,13.9038421 L26.068346,25.6448947 L29.8597909,25.6448947 L29.8597909,13.3708421 C29.8597909,9.66994737 27.2527567,6.95226316 23.1419202,6.95226316"}),Object(g.createElement)("path",{d:"M42.3746198,21.9980526 C41.653327,22.3983158 40.7403992,22.6275263 39.8321293,22.6275263 C37.0001901,22.6275263 35.9355513,21.1441579 35.9355513,19.0983684 L35.9355513,7.30805263 L32.1414449,7.30805263 L32.1414449,19.1702105 C32.1414449,23.7811053 34.7331749,26 39.365019,26 C41.5834601,26 44.0401141,25.4232105 46.1673954,24.4762632 L46.1673954,7.30805263 L42.3746198,7.30805263 L42.3746198,21.9980526"}),Object(g.createElement)("path",{d:"M8.73802281,14.7782632 C8.47519011,14.7303684 7.58555133,14.5784737 7.32471483,14.5292105 C5.92404943,14.2698947 4.71967681,13.9325789 4.71967681,12.4806842 C4.71967681,11.2340526 5.98925856,10.6524737 7.57290875,10.6524737 C9.92576046,10.6524737 11.9898289,11.7492632 12.2253802,11.8703684 L13.514924,8.37063158 C13.0218631,8.10584211 10.9198669,6.95226316 7.6108365,6.95226316 C4.58393536,6.95226316 0.88365019,8.58752632 0.88365019,12.6565263 C0.88365019,16.2978947 3.4115019,17.4665263 5.85351711,17.9078421 C6.18954373,17.9714737 7.24885932,18.1575789 7.55361217,18.2116316 C9.19315589,18.4969474 10.0901141,19.1250526 10.0901141,20.2286842 C10.0901141,21.6292632 8.81454373,22.2861053 6.87823194,22.2861053 C3.77414449,22.2861053 1.95427757,21.3357368 1.42794677,21.1133684 L0,24.5371579 C0.445152091,24.7725263 2.56178707,26 6.69325095,26 C10.7022814,26 13.9194867,23.9583158 13.9194867,20.1582105 C13.8848859,16.6208421 11.573289,15.2791053 8.73802281,14.7782632"}),Object(g.createElement)("path",{d:"M80.3536122,15.0861579 L73.9557985,15.0861579 L73.9557985,13.7519474 C73.9557985,12.2637895 74.6824144,10.6675263 77.1743346,10.6675263 C79.5764259,10.6675263 80.3536122,12.2220526 80.3536122,13.6794211 L80.3536122,15.0861579 Z M84.148384,13.2531579 C84.148384,9.89915789 81.6624525,6.95089474 77.1923004,6.95089474 C72.1179658,6.95089474 70.1696768,10.2091053 70.1696768,13.2531579 L70.1696768,19.3433158 C70.1696768,23.5566842 72.7880228,26 77.1923004,26 C81.0775665,26 83.0943916,23.6901053 83.693251,22.3025263 L80.490019,20.3237895 C80.2165399,21.1386842 78.948289,22.282 77.2175856,22.282 C74.8713878,22.282 73.9691065,20.9361579 73.9691065,19.2495789 L73.9557985,18.2451579 L84.148384,18.2451579 L84.148384,13.2531579 L84.148384,13.2531579 Z"}),Object(g.createElement)("path",{d:"M86.5764259,13.26 L86.5764259,25.6448947 L90.3678707,25.6448947 L90.3678707,13.5932105 C90.3678707,12.5408947 90.9487643,10.7421053 93.7334601,10.7421053 C94.1706274,10.7421053 95.1587452,10.8700526 95.4748099,10.9309474 L95.4748099,7.14863158 C95.1327947,7.06378947 94.3489544,6.95089474 93.5391635,6.95089474 C88.7163498,6.95089474 86.5764259,10.0613158 86.5764259,13.26"}))))}),H=(n(23),function(e){var t=e.setAttributes,n=e.closeModal,r=e.canLicense,o=e.assetInfo,c=e.licenseImage,i=e.subscriptions;return Object(g.createElement)(g.Fragment,null,Object(g.createElement)(m.Modal,{overlayClassName:"overlay",shouldCloseOnClickOutside:!1,className:"components-shutterstock-modal__content",title:Object(g.createElement)(z,null),onRequestClose:n},Object(g.createElement)("div",{style:{width:"100%"}},Object(g.createElement)(W,{setAttributes:t,closeModal:n,canLicense:r,assetInfo:o,licenseImage:c,subscriptions:i}))))});function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var F=Object(b.withDispatch)((function(e){return{replaceBlock:e("core/block-editor").replaceBlock}}))((function(e){var t,n,c,s,u,l,p,b,I,f,y,h,w=Object(g.useState)(!1),j=d()(w,2),C=j[0],O=j[1],L=Object(g.useState)(!1),_=d()(L,2),x=_[0],M=_[1],E=Object(g.useState)(!1),D=d()(E,2),S=D[0],A=D[1],Z=Object(g.useState)(!1),T=d()(Z,2),B=T[0],G=T[1],W=Object(g.useState)([]),z=d()(W,2),R=z[0],F=z[1],V=function(){return O(!0)},J=(null===(t=e.attributes)||void 0===t||null===(n=t.img)||void 0===n?void 0:n.media_type)||"image",Q="editorial"===J,Y=shutterstock.permissions,K=void 0===Y?{}:Y,X=K.includes("can_user_license_all_shutterstock_images"),q=K.includes("can_user_license_shutterstock_editorial_image"),$=K.includes("can_user_license_shutterstock_photos"),ee=!1;(X||Q&&q||!Q&&$)&&(ee=!0);var te=function(e){M(e),G(e)},ne=P({onRemoveSnackbar:function(){return te(!1)}}),re=ne.snackbar,oe=ne.setSnackbar;return Object(g.useEffect)((function(){var t,n;if(null===(t=e.attributes)||void 0===t||null===(n=t.img)||void 0===n?void 0:n.licensedImageUrl){var o=e.attributes.img,c=o.licensedImageUrl,i=o.contributorName,s=o.uploadedImageId,a=o.description,u=Object(r.createBlock)("core/image",{url:c,id:s,caption:"Image: ".concat(i,", Shutterstock"),alt:a,align:"center"});e.replaceBlock(e.clientId,u)}}),[null===(c=e.attributes)||void 0===c||null===(s=c.img)||void 0===s?void 0:s.licensedImageUrl]),Object(g.createElement)("div",{className:e.className},Object(g.createElement)("div",null,Object(g.createElement)("span",{className:"components-edit__shutterstock-icon"},Object(g.createElement)(v,null)),Object(g.createElement)("span",{className:"components-edit__heading"},"Shutterstock")),e.attributes.img?Object(g.createElement)("div",{className:"components-edit__image-container"},Object(g.createElement)("img",{src:(null===(u=e.attributes)||void 0===u||null===(l=u.img)||void 0===l?void 0:l.licensedImageUrl)||(null===(p=e.attributes)||void 0===p||null===(b=p.img)||void 0===b||null===(I=b.preview_1500)||void 0===I?void 0:I.url),onLoad:function(){return A(!0)}}),ee&&S&&!(null===(f=e.attributes)||void 0===f||null===(y=f.img)||void 0===y?void 0:y.licensedImageUrl)&&Object(g.createElement)(m.Button,{disabled:B,onClick:a()(i.a.mark((function t(){var n,r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,te(!0),t.next=4,k(null===(n=e.attributes)||void 0===n?void 0:n.img.id,J);case 4:r=t.sent,F(r),V(),G(!1),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(0),c=t.t0,i=void 0,s=void 0,a=void 0,a=Object(o.__)("wordpress:text_something_went_wrong","shutterstock"),500!==(null==c||null===(i=c.data)||void 0===i?void 0:i.statusCode)&&(null==c||null===(s=c.data)||void 0===s?void 0:s.message)&&(a=c.data.message),oe(U(U({},re),{},{show:!0,text:a}));case 13:case"end":return t.stop()}var c,i,s,a}),t,null,[[0,10]])}))),className:"components-edit__license-image-button"},B&&Object(g.createElement)("span",{className:"loading-spinner"}),Object(g.createElement)("span",null,Object(o.__)("wordpress:text_license_this_image","shutterstock")))):Object(g.createElement)("span",null),Object(g.createElement)("div",{className:"components-edit__paragraph"},Object(o.__)("wordpress:text_block_paragraph","shutterstock")),Object(g.createElement)(m.Button,{disabled:B,onClick:function(){V(),M(!1)},className:"components-shutterstock-modal__open-modal-button "},Object(o.__)("wordpress:text_browse","shutterstock")),C&&Object(g.createElement)(H,{setAttributes:e.setAttributes,closeModal:function(){return O(!1)},canLicense:ee,assetInfo:null==e||null===(h=e.attributes)||void 0===h?void 0:h.img,licenseImage:x,subscriptions:R}),re.show&&!C&&Object(g.createElement)(N,{text:re.text}))}));Object(r.registerBlockType)("shutterstock/shutterstock-block",{title:"Shutterstock",description:Object(o.__)("wordpress:text_block_description_in_sidebar","shutterstock"),category:"common",icon:v,supports:{html:!1},edit:F,save:function(e){var t,n,r,c,i;return Object(g.createElement)("img",{alt:Object(o.__)("Alt text"),className:"wp-block-shutterstock-shutterstock-block",src:(null===(t=e.attributes)||void 0===t||null===(n=t.img)||void 0===n?void 0:n.licensedImageUrl)||(null===(r=e.attributes)||void 0===r||null===(c=r.img)||void 0===c||null===(i=c.preview_1500)||void 0===i?void 0:i.url)})},attributes:{img:{type:"object"}}})}]); -
shutterstock/trunk/shutterstock.php
r2419544 r2430369 16 16 * Plugin Name: Shutterstock 17 17 * Description: Access exceptional, royalty-free content straight from WordPress. 18 * Version: 1. 1.118 * Version: 1.2.0 19 19 * Author: Shutterstock 20 20 * License: MIT … … 34 34 * Rename this for your plugin and update it as you release new versions. 35 35 */ 36 define( 'SHUTTERSTOCK_VERSION', '1. 1.1' );36 define( 'SHUTTERSTOCK_VERSION', '1.2.0' ); 37 37 38 38 /**
Note: See TracChangeset
for help on using the changeset viewer.