PluginProbe ʕ •ᴥ•ʔ
Hustle – Email Marketing, Lead Generation, Optins, Popups / 7.0.2
Hustle – Email Marketing, Lead Generation, Optins, Popups v7.0.2
7.8.13 7.8.13.1 trunk 3.0 3.1 3.1.1 3.1.2 3.1.3 3.1.4 4.3.2 4.4.4 4.4.5 4.4.5.1 4.4.5.4 4.6 4.6.1.1 4.6.1.4 4.7.0.2 4.7.0.3 4.7.0.7 4.7.0.9 4.7.1.0 4.7.1.1 4.8.0.0 5.0.0 5.0.1 5.0.1.1 5.0.1.2 5.1 5.1.1 5.1.2 5.1.3 5.1.3.1 5.1.3.2 5.1.4 5.1.5 6.0 6.0.1 6.0.2 6.0.3 6.0.4.2 6.0.5 6.0.6.1 6.0.7 6.0.8.1 6.0.9 7.0.0.1 7.0.2 7.0.3 7.0.4 7.1.0 7.1.1 7.2.0 7.2.1 7.3.0 7.3.1 7.3.3 7.3.5 7.3.6 7.3.7 7.4.0 7.4.1 7.4.11 7.4.13 7.4.13.1 7.4.2 7.4.3 7.4.4 7.4.5 7.4.5.1 7.4.5.2 7.4.6 7.4.7 7.5.0 7.6.0 7.6.1 7.6.3 7.6.4 7.6.6 7.7.0 7.7.1 7.8.0 7.8.1 7.8.10 7.8.10.1 7.8.10.2 7.8.11 7.8.12 7.8.12.1 7.8.2 7.8.3 7.8.4 7.8.5 7.8.6 7.8.7 7.8.8 7.8.9 7.8.9.1 7.8.9.2 7.8.9.3
wordpress-popup / opt-in-static.php
wordpress-popup Last commit date
assets 6 years ago inc 6 years ago languages 6 years ago lib 6 years ago palettes 6 years ago vendor 6 years ago views 6 years ago humans.txt 7 years ago license.txt 7 years ago opt-in-static.php 6 years ago popover.php 6 years ago readme.txt 6 years ago
opt-in-static.php
538 lines
1 <?php
2 /**
3 * A class to serve static data
4 *
5 * Class Opt_In_Static
6 */
7 if ( ! class_exists( 'Opt_In_Static', false ) ) {
8
9 class Opt_In_Static {
10
11 /**
12 * Returns animations
13 * Returns Popup Pro animations if it's installed and active
14 *
15 *
16 * @return object
17 */
18 public function get_animations() {
19
20 $animations_in = array(
21 '' => array(
22 '' => __( 'No Animation', 'wordpress-popup' ),
23 ),
24 __( 'Bouncing Entrances', 'wordpress-popup' ) => array(
25 'bounceIn' => __( 'Bounce In', 'wordpress-popup' ),
26 'bounceInUp' => __( 'Bounce In Up', 'wordpress-popup' ),
27 'bounceInRight' => __( 'Bounce In Right', 'wordpress-popup' ),
28 'bounceInDown' => __( 'Bounce In Down', 'wordpress-popup' ),
29 'bounceInLeft' => __( 'Bounce In Left', 'wordpress-popup' ),
30 ),
31 __( 'Fading Entrances', 'wordpress-popup' ) => array(
32 'fadeIn' => __( 'Fade In', 'wordpress-popup' ),
33 'fadeInUp' => __( 'Fade In Up', 'wordpress-popup' ),
34 'fadeInRight' => __( 'Fade In Right', 'wordpress-popup' ),
35 'fadeInDown' => __( 'Fade In Down', 'wordpress-popup' ),
36 'fadeInLeft' => __( 'Fade In Left', 'wordpress-popup' ),
37 ),
38 __( 'Falling Entrances', 'wordpress-popup' ) => array(
39 'fall' => __( 'Fall In', 'wordpress-popup' ), // MISSING
40 'sidefall' => __( 'Fade In Side', 'wordpress-popup' ), // MISSING
41 ),
42 __( 'Rotating Entrances', 'wordpress-popup' ) => array(
43 'rotateIn' => __( 'Rotate In', 'wordpress-popup' ),
44 'rotateInDownLeft' => __( 'Rotate In Down Left', 'wordpress-popup' ),
45 'rotateInDownRight' => __( 'Rotate In Down Right', 'wordpress-popup' ),
46 'rotateInUpLeft' => __( 'Rotate In Up Left', 'wordpress-popup' ),
47 'rotateInUpRight' => __( 'Rotate In Up Right', 'wordpress-popup' ),
48 ),
49 __( 'Sliding Entrances', 'wordpress-popup' ) => array(
50 'slideInUp' => __( 'Slide In Up', 'wordpress-popup' ),
51 'slideInRight' => __( 'Slide In Right', 'wordpress-popup' ),
52 'slideInDown' => __( 'Slide In Down', 'wordpress-popup' ),
53 'slideInLeft' => __( 'Slide In Left', 'wordpress-popup' ),
54 ),
55 __( 'Zoom Entrances', 'wordpress-popup' ) => array(
56 'zoomIn' => __( 'Zoom In', 'wordpress-popup' ),
57 'zoomInUp' => __( 'Zoom In Up', 'wordpress-popup' ),
58 'zoomInRight' => __( 'Zoom In Right', 'wordpress-popup' ),
59 'zoomInDown' => __( 'Zoom In Down', 'wordpress-popup' ),
60 'zoomInLeft' => __( 'Zoom In Left', 'wordpress-popup' ),
61 'scaled' => __( 'Super Scaled', 'wordpress-popup' ), // MISSING
62 ),
63 __( '3D Entrances', 'wordpress-popup' ) => array(
64 'sign wpoi-modal' => __( '3D Sign', 'wordpress-popup' ), // MISSING
65 'slit wpoi-modal' => __( '3D Slit', 'wordpress-popup' ), // MISSING
66 'flipx wpoi-modal' => __( '3D Flip (Horizontal)', 'wordpress-popup' ), // MISSING
67 'flipy wpoi-modal' => __( '3D Flip (Vertical)', 'wordpress-popup' ), // MISSING
68 'rotatex wpoi-modal' => __( '3D Rotate (Left)', 'wordpress-popup' ), // MISSING
69 'rotatey wpoi-modal' => __( '3D Rotate (Bottom)', 'wordpress-popup' ), // MISSING
70 ),
71 __( 'Special Entrances', 'wordpress-popup' ) => array(
72 'rollIn' => __( 'Roll In', 'wordpress-popup' ),
73 'lightSpeedIn' => __( 'Light Speed In', 'wordpress-popup' ),
74 'newspaperIn' => __( 'Newspaper In', 'wordpress-popup' ),
75 ),
76 );
77
78 $animations_out = array(
79 '' => array(
80 '' => __( 'No Animation', 'wordpress-popup' ),
81 ),
82 __( 'Bouncing Exits', 'wordpress-popup' ) => array(
83 'bounceOut' => __( 'Bounce Out', 'wordpress-popup' ),
84 'bounceOutUp' => __( 'Bounce Out Up', 'wordpress-popup' ),
85 'bounceOutRight' => __( 'Bounce Out Right', 'wordpress-popup' ),
86 'bounceOutDown' => __( 'Bounce Out Down', 'wordpress-popup' ),
87 'bounceOutLeft' => __( 'Bounce Out Left', 'wordpress-popup' ),
88 ),
89 __( 'Fading Exits', 'wordpress-popup' ) => array(
90 'fadeOut' => __( 'Fade Out', 'wordpress-popup' ),
91 'fadeOutUp' => __( 'Fade Out Up', 'wordpress-popup' ),
92 'fadeOutRight' => __( 'Fade Out Right', 'wordpress-popup' ),
93 'fadeOutDown' => __( 'Fade Out Down', 'wordpress-popup' ),
94 'fadeOutLeft' => __( 'Fade Out Left', 'wordpress-popup' ),
95 ),
96 __( 'Rotating Exits', 'wordpress-popup' ) => array(
97 'rotateOut' => __( 'Rotate In', 'wordpress-popup' ),
98 'rotateOutUp' => __( 'Rotate In Up', 'wordpress-popup' ),
99 'rotateOutRight' => __( 'Rotate In Right', 'wordpress-popup' ),
100 'rotateOutDown' => __( 'Rotate In Down', 'wordpress-popup' ),
101 'rotateOutLeft' => __( 'Rotate In Left', 'wordpress-popup' ),
102 ),
103 __( 'Sliding Exits', 'wordpress-popup' ) => array(
104 'slideOutUp' => __( 'Slide Out Up', 'wordpress-popup' ),
105 'slideOutRight' => __( 'Slide Out Left', 'wordpress-popup' ),
106 'slideOutDown' => __( 'Slide Out Down', 'wordpress-popup' ),
107 'slideOutLeft' => __( 'Slide Out Right', 'wordpress-popup' ),
108 ),
109 __( 'Zoom Exits', 'wordpress-popup' ) => array(
110 'zoomOut' => __( 'Zoom Out', 'wordpress-popup' ),
111 'zoomOutUp' => __( 'Zoom Out Up', 'wordpress-popup' ),
112 'zoomOutRight' => __( 'Zoom Out Right', 'wordpress-popup' ),
113 'zoomOutDown' => __( 'Slide Out Down', 'wordpress-popup' ),
114 'zoomOutLeft' => __( 'Slide Out Left', 'wordpress-popup' ),
115 'scaled' => __( 'Super Scaled', 'wordpress-popup' ), // MISSING
116 ),
117 __( '3D Effects', 'wordpress-popup' ) => array(
118 'sign wpoi-modal' => __( '3D Sign', 'wordpress-popup' ), // MISSING
119 'flipx wpoi-modal' => __( '3D Flip (Horizontal)', 'wordpress-popup' ), // MISSING
120 'flipy wpoi-modal' => __( '3D Flip (Vertical)', 'wordpress-popup' ), // MISSING
121 'rotatex wpoi-modal' => __( '3D Rotate (Left)', 'wordpress-popup' ), // MISSING
122 'rotatey wpoi-modal' => __( '3D Rotate (Bottom)', 'wordpress-popup' ), // MISSING
123 ),
124 __( 'Special Exits', 'wordpress-popup' ) => array(
125 'rollOut' => __( 'Roll Out', 'wordpress-popup' ),
126 'lightSpeedOut' => __( 'Light Speed Out', 'wordpress-popup' ),
127 'newspaperOut' => __( 'Newspaper Out', 'wordpress-popup' ),
128 ),
129 );
130
131 return (object) array(
132 'in' => $animations_in,
133 'out' => $animations_out,
134 );
135 }
136
137 /**
138 * Returns palete name by slug.
139 *
140 * @since 3.0.6
141 *
142 * @param string $slug Palette slug.
143 *
144 * @return string Palette name.
145 */
146 protected function pallets_ref( $slug ) {
147
148 switch( $slug ) {
149 case 'gray_slate': return 'Gray Slate';
150 case 'coffee': return 'Coffee';
151 case 'ectoplasm': return 'Ectoplasm';
152 case 'blue': return 'Blue';
153 case 'sunrise': return 'Sunrise';
154 case 'midnight': return 'Midnight';
155 }
156
157 return $slug;
158 }
159
160 /**
161 * Load a palette array.
162 *
163 * @param string $name Palette name = file name.
164 *
165 * @return string
166 */
167 public function get_palette_file( $name ) {
168 $file = trailingslashit( dirname( __FILE__ ) ) . "palettes/{$name}.php";
169 $content = array();
170
171 if ( is_file( $file ) ) {
172 /* @noinspection PhpIncludeInspection */
173 $content = include $file;
174 }
175
176 return $content;
177
178 }
179
180 /**
181 * Returns palettes used to color optins
182 *
183 * @return array
184 */
185 public function get_palettes() {
186
187 return array(
188 'gray_slate' => $this->get_palette_array( 'gray_slate' ),
189 'coffee' => $this->get_palette_array( 'coffee' ),
190 'ectoplasm' => $this->get_palette_array( 'ectoplasm' ),
191 'blue' => $this->get_palette_array( 'blue' ),
192 'sunrise' => $this->get_palette_array( 'sunrise' ),
193 'midnight' => $this->get_palette_array( 'midnight' ),
194 );
195 }
196
197 /**
198 * Get the names of the existing color palettes.
199 *
200 * @since 4.0
201 * @return array
202 */
203 public static function get_palettes_names() {
204 return array(
205 'gray_slate', 'coffee', 'ectoplasm', 'blue', 'sunrise', 'midnight',
206 );
207 }
208
209 /**
210 * Returns palette array for palette name
211 *
212 * @param string $palette_name e.g. "gray_slate"
213 *
214 * @return array
215 */
216 public function get_palette_array( $palette_name ) {
217
218 $palette_arr = array();
219 $palette_data = $this->get_palette_file( $palette_name );
220
221 foreach ( $palette_data as $key => $value ) {
222 $palette_arr[$key] = $value;
223 }
224
225 return $palette_arr;
226 }
227
228 /**
229 * Default form filds for a new form
230 *
231 * @since the beginning of time
232 * @since 4.0 is static
233 *
234 */
235 public static function default_form_fields() {
236
237 return array(
238 'first_name' => array(
239 'required' => 'false',
240 'label' => __( 'First Name', 'wordpress-popup' ),
241 'name' => 'first_name',
242 'type' => 'name',
243 'placeholder' => 'John',
244 'can_delete' => true,
245 ),
246 'last_name' => array(
247 'required' => 'false',
248 'label' => __( 'Last Name', 'wordpress-popup' ),
249 'name' => 'last_name',
250 'type' => 'name',
251 'placeholder' => 'Smith',
252 'can_delete' => true,
253 ),
254 'email' => array(
255 'required' => 'true',
256 'label' => __( 'Your email', 'wordpress-popup' ),
257 'name' => 'email',
258 'type' => 'email',
259 'placeholder' => 'johnsmith@example.com',
260 'validate' => 'true',
261 'can_delete' => false,
262 ),
263 'submit' => array(
264 'required' => 'true',
265 'label' => __( 'Submit', 'wordpress-popup' ),
266 'error_message'=> __( 'Please fill out all required fields.', 'wordpress-popup' ),
267 'name' => 'submit',
268 'type' => 'submit',
269 'placeholder' => __( 'Subscribe', 'wordpress-popup' ),
270 'can_delete' => false,
271 ),
272 );
273 }
274
275 /**
276 * Returns array of countries
277 *
278 * @return array|mixed|null|void
279 */
280 public function get_countries() {
281
282 return apply_filters(
283 'opt_in-country-list',
284 array(
285 'AU' => __( 'Australia', 'wordpress-popup' ),
286 'AF' => __( 'Afghanistan', 'wordpress-popup' ),
287 'AL' => __( 'Albania', 'wordpress-popup' ),
288 'DZ' => __( 'Algeria', 'wordpress-popup' ),
289 'AS' => __( 'American Samoa', 'wordpress-popup' ),
290 'AD' => __( 'Andorra', 'wordpress-popup' ),
291 'AO' => __( 'Angola', 'wordpress-popup' ),
292 'AI' => __( 'Anguilla', 'wordpress-popup' ),
293 'AQ' => __( 'Antarctica', 'wordpress-popup' ),
294 'AG' => __( 'Antigua and Barbuda', 'wordpress-popup' ),
295 'AR' => __( 'Argentina', 'wordpress-popup' ),
296 'AM' => __( 'Armenia', 'wordpress-popup' ),
297 'AW' => __( 'Aruba', 'wordpress-popup' ),
298 'AT' => __( 'Austria', 'wordpress-popup' ),
299 'AZ' => __( 'Azerbaijan', 'wordpress-popup' ),
300 'BS' => __( 'Bahamas', 'wordpress-popup' ),
301 'BH' => __( 'Bahrain', 'wordpress-popup' ),
302 'BD' => __( 'Bangladesh', 'wordpress-popup' ),
303 'BB' => __( 'Barbados', 'wordpress-popup' ),
304 'BY' => __( 'Belarus', 'wordpress-popup' ),
305 'BE' => __( 'Belgium', 'wordpress-popup' ),
306 'BZ' => __( 'Belize', 'wordpress-popup' ),
307 'BJ' => __( 'Benin', 'wordpress-popup' ),
308 'BM' => __( 'Bermuda', 'wordpress-popup' ),
309 'BT' => __( 'Bhutan', 'wordpress-popup' ),
310 'BO' => __( 'Bolivia', 'wordpress-popup' ),
311 'BA' => __( 'Bosnia and Herzegovina', 'wordpress-popup' ),
312 'BW' => __( 'Botswana', 'wordpress-popup' ),
313 'BV' => __( 'Bouvet Island', 'wordpress-popup' ),
314 'BR' => __( 'Brazil', 'wordpress-popup' ),
315 'IO' => __( 'British Indian Ocean Territory', 'wordpress-popup' ),
316 'BN' => __( 'Brunei', 'wordpress-popup' ),
317 'BG' => __( 'Bulgaria', 'wordpress-popup' ),
318 'BF' => __( 'Burkina Faso', 'wordpress-popup' ),
319 'BI' => __( 'Burundi', 'wordpress-popup' ),
320 'KH' => __( 'Cambodia', 'wordpress-popup' ),
321 'CM' => __( 'Cameroon', 'wordpress-popup' ),
322 'CA' => __( 'Canada', 'wordpress-popup' ),
323 'CV' => __( 'Cape Verde', 'wordpress-popup' ),
324 'KY' => __( 'Cayman Islands', 'wordpress-popup' ),
325 'CF' => __( 'Central African Republic', 'wordpress-popup' ),
326 'TD' => __( 'Chad', 'wordpress-popup' ),
327 'CL' => __( 'Chile', 'wordpress-popup' ),
328 'CN' => __( 'China, People\'s Republic of', 'wordpress-popup' ),
329 'CX' => __( 'Christmas Island', 'wordpress-popup' ),
330 'CC' => __( 'Cocos Islands', 'wordpress-popup' ),
331 'CO' => __( 'Colombia', 'wordpress-popup' ),
332 'KM' => __( 'Comoros', 'wordpress-popup' ),
333 'CD' => __( 'Congo, Democratic Republic of the', 'wordpress-popup' ),
334 'CG' => __( 'Congo, Republic of the', 'wordpress-popup' ),
335 'CK' => __( 'Cook Islands', 'wordpress-popup' ),
336 'CR' => __( 'Costa Rica', 'wordpress-popup' ),
337 'CI' => __( 'Côte d\'Ivoire', 'wordpress-popup' ),
338 'HR' => __( 'Croatia', 'wordpress-popup' ),
339 'CU' => __( 'Cuba', 'wordpress-popup' ),
340 'CW' => __( 'Curaçao', 'wordpress-popup' ),
341 'CY' => __( 'Cyprus', 'wordpress-popup' ),
342 'CZ' => __( 'Czech Republic', 'wordpress-popup' ),
343 'DK' => __( 'Denmark', 'wordpress-popup' ),
344 'DJ' => __( 'Djibouti', 'wordpress-popup' ),
345 'DM' => __( 'Dominica', 'wordpress-popup' ),
346 'DO' => __( 'Dominican Republic', 'wordpress-popup' ),
347 'TL' => __( 'East Timor', 'wordpress-popup' ),
348 'EC' => __( 'Ecuador', 'wordpress-popup' ),
349 'EG' => __( 'Egypt', 'wordpress-popup' ),
350 'SV' => __( 'El Salvador', 'wordpress-popup' ),
351 'GQ' => __( 'Equatorial Guinea', 'wordpress-popup' ),
352 'ER' => __( 'Eritrea', 'wordpress-popup' ),
353 'EE' => __( 'Estonia', 'wordpress-popup' ),
354 'ET' => __( 'Ethiopia', 'wordpress-popup' ),
355 'FK' => __( 'Falkland Islands', 'wordpress-popup' ),
356 'FO' => __( 'Faroe Islands', 'wordpress-popup' ),
357 'FJ' => __( 'Fiji', 'wordpress-popup' ),
358 'FI' => __( 'Finland', 'wordpress-popup' ),
359 'FR' => __( 'France', 'wordpress-popup' ),
360 'FX' => __( 'France, Metropolitan', 'wordpress-popup' ),
361 'GF' => __( 'French Guiana', 'wordpress-popup' ),
362 'PF' => __( 'French Polynesia', 'wordpress-popup' ),
363 'TF' => __( 'French South Territories', 'wordpress-popup' ),
364 'GA' => __( 'Gabon', 'wordpress-popup' ),
365 'GM' => __( 'Gambia', 'wordpress-popup' ),
366 'GE' => __( 'Georgia', 'wordpress-popup' ),
367 'DE' => __( 'Germany', 'wordpress-popup' ),
368 'GH' => __( 'Ghana', 'wordpress-popup' ),
369 'GI' => __( 'Gibraltar', 'wordpress-popup' ),
370 'GR' => __( 'Greece', 'wordpress-popup' ),
371 'GL' => __( 'Greenland', 'wordpress-popup' ),
372 'GD' => __( 'Grenada', 'wordpress-popup' ),
373 'GP' => __( 'Guadeloupe', 'wordpress-popup' ),
374 'GU' => __( 'Guam', 'wordpress-popup' ),
375 'GT' => __( 'Guatemala', 'wordpress-popup' ),
376 'GN' => __( 'Guinea', 'wordpress-popup' ),
377 'GW' => __( 'Guinea-Bissau', 'wordpress-popup' ),
378 'GY' => __( 'Guyana', 'wordpress-popup' ),
379 'HT' => __( 'Haiti', 'wordpress-popup' ),
380 'HM' => __( 'Heard Island And Mcdonald Island', 'wordpress-popup' ),
381 'HN' => __( 'Honduras', 'wordpress-popup' ),
382 'HK' => __( 'Hong Kong', 'wordpress-popup' ),
383 'HU' => __( 'Hungary', 'wordpress-popup' ),
384 'IS' => __( 'Iceland', 'wordpress-popup' ),
385 'IN' => __( 'India', 'wordpress-popup' ),
386 'ID' => __( 'Indonesia', 'wordpress-popup' ),
387 'IR' => __( 'Iran', 'wordpress-popup' ),
388 'IQ' => __( 'Iraq', 'wordpress-popup' ),
389 'IE' => __( 'Ireland', 'wordpress-popup' ),
390 'IL' => __( 'Israel', 'wordpress-popup' ),
391 'IT' => __( 'Italy', 'wordpress-popup' ),
392 'JM' => __( 'Jamaica', 'wordpress-popup' ),
393 'JP' => __( 'Japan', 'wordpress-popup' ),
394 'JT' => __( 'Johnston Island', 'wordpress-popup' ),
395 'JO' => __( 'Jordan', 'wordpress-popup' ),
396 'KZ' => __( 'Kazakhstan', 'wordpress-popup' ),
397 'KE' => __( 'Kenya', 'wordpress-popup' ),
398 'XK' => __( 'Kosovo', 'wordpress-popup' ),
399 'KI' => __( 'Kiribati', 'wordpress-popup' ),
400 'KP' => __( 'Korea, Democratic People\'s Republic of', 'wordpress-popup' ),
401 'KR' => __( 'Korea, Republic of', 'wordpress-popup' ),
402 'KW' => __( 'Kuwait', 'wordpress-popup' ),
403 'KG' => __( 'Kyrgyzstan', 'wordpress-popup' ),
404 'LA' => __( 'Lao People\'s Democratic Republic', 'wordpress-popup' ),
405 'LV' => __( 'Latvia', 'wordpress-popup' ),
406 'LB' => __( 'Lebanon', 'wordpress-popup' ),
407 'LS' => __( 'Lesotho', 'wordpress-popup' ),
408 'LR' => __( 'Liberia', 'wordpress-popup' ),
409 'LY' => __( 'Libya', 'wordpress-popup' ),
410 'LI' => __( 'Liechtenstein', 'wordpress-popup' ),
411 'LT' => __( 'Lithuania', 'wordpress-popup' ),
412 'LU' => __( 'Luxembourg', 'wordpress-popup' ),
413 'MO' => __( 'Macau', 'wordpress-popup' ),
414 'MK' => __( 'Macedonia', 'wordpress-popup' ),
415 'MG' => __( 'Madagascar', 'wordpress-popup' ),
416 'MW' => __( 'Malawi', 'wordpress-popup' ),
417 'MY' => __( 'Malaysia', 'wordpress-popup' ),
418 'MV' => __( 'Maldives', 'wordpress-popup' ),
419 'ML' => __( 'Mali', 'wordpress-popup' ),
420 'MT' => __( 'Malta', 'wordpress-popup' ),
421 'MH' => __( 'Marshall Islands', 'wordpress-popup' ),
422 'MQ' => __( 'Martinique', 'wordpress-popup' ),
423 'MR' => __( 'Mauritania', 'wordpress-popup' ),
424 'MU' => __( 'Mauritius', 'wordpress-popup' ),
425 'YT' => __( 'Mayotte', 'wordpress-popup' ),
426 'MX' => __( 'Mexico', 'wordpress-popup' ),
427 'FM' => __( 'Micronesia', 'wordpress-popup' ),
428 'MD' => __( 'Moldova', 'wordpress-popup' ),
429 'MC' => __( 'Monaco', 'wordpress-popup' ),
430 'MN' => __( 'Mongolia', 'wordpress-popup' ),
431 'ME' => __( 'Montenegro', 'wordpress-popup' ),
432 'MS' => __( 'Montserrat', 'wordpress-popup' ),
433 'MA' => __( 'Morocco', 'wordpress-popup' ),
434 'MZ' => __( 'Mozambique', 'wordpress-popup' ),
435 'MM' => __( 'Myanmar', 'wordpress-popup' ),
436 'NA' => __( 'Namibia', 'wordpress-popup' ),
437 'NR' => __( 'Nauru', 'wordpress-popup' ),
438 'NP' => __( 'Nepal', 'wordpress-popup' ),
439 'NL' => __( 'Netherlands', 'wordpress-popup' ),
440 'AN' => __( 'Netherlands Antilles', 'wordpress-popup' ),
441 'NC' => __( 'New Caledonia', 'wordpress-popup' ),
442 'NZ' => __( 'New Zealand', 'wordpress-popup' ),
443 'NI' => __( 'Nicaragua', 'wordpress-popup' ),
444 'NE' => __( 'Niger', 'wordpress-popup' ),
445 'NG' => __( 'Nigeria', 'wordpress-popup' ),
446 'NU' => __( 'Niue', 'wordpress-popup' ),
447 'NF' => __( 'Norfolk Island', 'wordpress-popup' ),
448 'MP' => __( 'Northern Mariana Islands', 'wordpress-popup' ),
449 'MP' => __( 'Mariana Islands, Northern', 'wordpress-popup' ),
450 'NO' => __( 'Norway', 'wordpress-popup' ),
451 'OM' => __( 'Oman', 'wordpress-popup' ),
452 'PK' => __( 'Pakistan', 'wordpress-popup' ),
453 'PW' => __( 'Palau', 'wordpress-popup' ),
454 'PS' => __( 'Palestine, State of', 'wordpress-popup' ),
455 'PA' => __( 'Panama', 'wordpress-popup' ),
456 'PG' => __( 'Papua New Guinea', 'wordpress-popup' ),
457 'PY' => __( 'Paraguay', 'wordpress-popup' ),
458 'PE' => __( 'Peru', 'wordpress-popup' ),
459 'PH' => __( 'Philippines', 'wordpress-popup' ),
460 'PN' => __( 'Pitcairn Islands', 'wordpress-popup' ),
461 'PL' => __( 'Poland', 'wordpress-popup' ),
462 'PT' => __( 'Portugal', 'wordpress-popup' ),
463 'PR' => __( 'Puerto Rico', 'wordpress-popup' ),
464 'QA' => __( 'Qatar', 'wordpress-popup' ),
465 'RE' => __( 'Réunion', 'wordpress-popup' ),
466 'RO' => __( 'Romania', 'wordpress-popup' ),
467 'RU' => __( 'Russia', 'wordpress-popup' ),
468 'RW' => __( 'Rwanda', 'wordpress-popup' ),
469 'SH' => __( 'Saint Helena', 'wordpress-popup' ),
470 'KN' => __( 'Saint Kitts and Nevis', 'wordpress-popup' ),
471 'LC' => __( 'Saint Lucia', 'wordpress-popup' ),
472 'PM' => __( 'Saint Pierre and Miquelon', 'wordpress-popup' ),
473 'VC' => __( 'Saint Vincent and the Grenadines', 'wordpress-popup' ),
474 'WS' => __( 'Samoa', 'wordpress-popup' ),
475 'SM' => __( 'San Marino', 'wordpress-popup' ),
476 'ST' => __( 'Sao Tome and Principe', 'wordpress-popup' ),
477 'SA' => __( 'Saudi Arabia', 'wordpress-popup' ),
478 'SN' => __( 'Senegal', 'wordpress-popup' ),
479 'CS' => __( 'Serbia', 'wordpress-popup' ),
480 'SC' => __( 'Seychelles', 'wordpress-popup' ),
481 'SL' => __( 'Sierra Leone', 'wordpress-popup' ),
482 'SG' => __( 'Singapore', 'wordpress-popup' ),
483 'MF' => __( 'Sint Maarten', 'wordpress-popup' ),
484 'SK' => __( 'Slovakia', 'wordpress-popup' ),
485 'SI' => __( 'Slovenia', 'wordpress-popup' ),
486 'SB' => __( 'Solomon Islands', 'wordpress-popup' ),
487 'SO' => __( 'Somalia', 'wordpress-popup' ),
488 'ZA' => __( 'South Africa', 'wordpress-popup' ),
489 'GS' => __( 'South Georgia and the South Sandwich Islands', 'wordpress-popup' ),
490 'ES' => __( 'Spain', 'wordpress-popup' ),
491 'LK' => __( 'Sri Lanka', 'wordpress-popup' ),
492 'XX' => __( 'Stateless Persons', 'wordpress-popup' ),
493 'SD' => __( 'Sudan', 'wordpress-popup' ),
494 'SD' => __( 'Sudan, South', 'wordpress-popup' ),
495 'SR' => __( 'Suriname', 'wordpress-popup' ),
496 'SJ' => __( 'Svalbard and Jan Mayen', 'wordpress-popup' ),
497 'SZ' => __( 'Swaziland', 'wordpress-popup' ),
498 'SE' => __( 'Sweden', 'wordpress-popup' ),
499 'CH' => __( 'Switzerland', 'wordpress-popup' ),
500 'SY' => __( 'Syria', 'wordpress-popup' ),
501 'TW' => __( 'Taiwan, Republic of China', 'wordpress-popup' ),
502 'TJ' => __( 'Tajikistan', 'wordpress-popup' ),
503 'TZ' => __( 'Tanzania', 'wordpress-popup' ),
504 'TH' => __( 'Thailand', 'wordpress-popup' ),
505 'TG' => __( 'Togo', 'wordpress-popup' ),
506 'TK' => __( 'Tokelau', 'wordpress-popup' ),
507 'TO' => __( 'Tonga', 'wordpress-popup' ),
508 'TT' => __( 'Trinidad and Tobago', 'wordpress-popup' ),
509 'TN' => __( 'Tunisia', 'wordpress-popup' ),
510 'TR' => __( 'Turkey', 'wordpress-popup' ),
511 'TM' => __( 'Turkmenistan', 'wordpress-popup' ),
512 'TC' => __( 'Turks and Caicos Islands', 'wordpress-popup' ),
513 'TV' => __( 'Tuvalu', 'wordpress-popup' ),
514 'UG' => __( 'Uganda', 'wordpress-popup' ),
515 'UA' => __( 'Ukraine', 'wordpress-popup' ),
516 'AE' => __( 'United Arab Emirates', 'wordpress-popup' ),
517 'GB' => __( 'United Kingdom', 'wordpress-popup' ),
518 'US' => __( 'United States of America (USA)', 'wordpress-popup' ),
519 'UM' => __( 'US Minor Outlying Islands', 'wordpress-popup' ),
520 'UY' => __( 'Uruguay', 'wordpress-popup' ),
521 'UZ' => __( 'Uzbekistan', 'wordpress-popup' ),
522 'VU' => __( 'Vanuatu', 'wordpress-popup' ),
523 'VA' => __( 'Vatican City', 'wordpress-popup' ),
524 'VE' => __( 'Venezuela', 'wordpress-popup' ),
525 'VN' => __( 'Vietnam', 'wordpress-popup' ),
526 'VG' => __( 'Virgin Islands, British', 'wordpress-popup' ),
527 'VI' => __( 'Virgin Islands, U.S.', 'wordpress-popup' ),
528 'WF' => __( 'Wallis And Futuna', 'wordpress-popup' ),
529 'EH' => __( 'Western Sahara', 'wordpress-popup' ),
530 'YE' => __( 'Yemen', 'wordpress-popup' ),
531 'ZM' => __( 'Zambia', 'wordpress-popup' ),
532 'ZW' => __( 'Zimbabwe', 'wordpress-popup' ),
533 )
534 );
535 }
536 }
537 }
538