Popups by OptinMonster – Best WordPress Lead Generation Plugin - Version 2.0.0

Version Description

  • NEW: Overhaul of the plugin to make managing your popup campaigns easier than ever!
  • Added the ability to see all your popup campaigns in your dashboard (draft, pending and published)
  • Added a new dashboard to see stats and details about your popup optins
  • Added the ability to see all popup templates and create new popup campaigns from within the plugin
  • Added a new menu link to see all your popup subscribers
  • Added the ability to create popup split tests from within the plugin
  • Improved the popup output settings for each individual popup campaign
  • Many other performance improvements, product enhancements and bug fixes to the plugin
Download this release

Release Info

Developer jtsternberg
Plugin Icon 128x128 Popups by OptinMonster – Best WordPress Lead Generation Plugin
Version 2.0.0
Comparing to
See all releases

Code changes from version 1.9.18 to 2.0.0

Files changed (148) hide show
  1. CHANGELOG.md +10 -0
  2. OMAPI/Actions.php +13 -186
  3. OMAPI/Ajax.php +0 -106
  4. OMAPI/Api.php +82 -7
  5. OMAPI/ApiKey.php +189 -0
  6. OMAPI/AssetLoader.php +230 -0
  7. OMAPI/Blocks.php +39 -23
  8. OMAPI/ConstantContact.php +15 -5
  9. OMAPI/Inserter.php +254 -0
  10. OMAPI/InstallSkin.php +1 -1
  11. OMAPI/Menu.php +169 -1281
  12. OMAPI/Notifications.php +657 -0
  13. OMAPI/Output.php +24 -1
  14. OMAPI/Pages.php +297 -62
  15. OMAPI/Partners.php +187 -0
  16. OMAPI/Plugins.php +362 -0
  17. OMAPI/Refresh.php +2 -59
  18. OMAPI/RestApi.php +1051 -135
  19. OMAPI/Review.php +0 -6
  20. OMAPI/Rules.php +43 -10
  21. OMAPI/Save.php +19 -354
  22. OMAPI/Sites.php +17 -1
  23. OMAPI/Support.php +1 -0
  24. OMAPI/TrustPulse.php +48 -8
  25. OMAPI/Type.php +0 -2
  26. OMAPI/Validate.php +14 -8
  27. OMAPI/Welcome.php +4 -248
  28. OMAPI/WpErrorException.php +48 -0
  29. assets/css/font-awesome.min.css +4 -0
  30. assets/css/images/icons/loading-circle.svg +4 -0
  31. assets/css/images/om-step-1-sm.png +0 -0
  32. assets/css/images/om-step-1.png +0 -0
  33. assets/css/images/om-step-2-sm.png +0 -0
  34. assets/css/images/om-step-2.png +0 -0
  35. assets/css/images/om-step-3-sm.png +0 -0
  36. assets/css/images/om-step-3.png +0 -0
  37. assets/css/images/om-step-4-sm.png +0 -0
  38. assets/css/images/om-step-4.png +0 -0
  39. assets/dist/css/blocks-admin.min.css +98 -3
  40. assets/dist/css/blocks-admin.min.js +1 -1
  41. assets/dist/css/common.min.css +190 -101
  42. assets/dist/css/trustpulse.min.css +42 -42
  43. assets/dist/js/admin.min.js +1 -0
  44. assets/dist/js/campaign-selector.min.js +1 -1
  45. assets/dist/js/trustpulse.min.js +1 -0
  46. assets/fonts/fontawesome-webfont.woff2 +0 -0
  47. assets/images/about/plugin-aioseo.png +0 -0
  48. assets/images/about/plugin-mi.png +0 -0
  49. assets/images/about/plugin-rafflepress.png +0 -0
  50. assets/images/about/plugin-seedprod.png +0 -0
  51. assets/images/about/plugin-trustpulse.png +0 -0
  52. assets/images/about/plugin-wp-forms.png +0 -0
  53. assets/images/about/plugin-wp-mail-smtp.png +0 -0
  54. assets/images/archie-icon.svg +1 -0
  55. assets/images/logo-om.png +0 -0
  56. assets/js/admin.js +40 -0
  57. assets/js/trustpulse.js +56 -0
  58. optin-monster-wp-api.php +154 -117
  59. readme.txt +12 -46
  60. views/archie-loading.php +9 -0
  61. views/constantcontact.php +6 -1
  62. views/jiggle-css.php +30 -0
  63. views/logo.svg +1 -1
  64. views/plugin-banner.php +15 -20
  65. views/review.php +1 -1
  66. views/trustpulse-settings-page.php +2 -8
  67. vue/dist/css/about.d1485509.css +1 -0
  68. vue/dist/css/campaign-edit.53a4526f.css +1 -0
  69. vue/dist/css/campaigns.89824908.css +1 -0
  70. vue/dist/css/common.50d3a5ac.css +1 -0
  71. vue/dist/css/dashboard.bae8db65.css +1 -0
  72. vue/dist/css/monsterleads.9b6ec4a2.css +1 -0
  73. vue/dist/css/onboarding-wizard.ac24be1f.css +1 -0
  74. vue/dist/css/settings.4837c79a.css +1 -0
  75. vue/dist/css/temp.0966b502.css +1 -0
  76. vue/dist/css/templates.68c1286e.css +1 -0
  77. vue/dist/css/uireference.d6421034.css +1 -0
  78. vue/dist/fonts/element-icons.535877f5.woff +0 -0
  79. vue/dist/fonts/element-icons.732389de.ttf +0 -0
  80. vue/dist/img/ab-test.6c5bba94.png +0 -0
  81. vue/dist/img/active-archie.f226317a.svg +56 -0
  82. vue/dist/img/bell.4c686e25.svg +1 -0
  83. vue/dist/img/blue-help.6529ddbb.svg +3 -0
  84. vue/dist/img/blue-information-circle.ec9999c2.svg +12 -0
  85. vue/dist/img/book-blue.27983dbf.svg +1 -0
  86. vue/dist/img/campaigns-not-connected.bfe97ad3.jpg +0 -0
  87. vue/dist/img/card-close.4249544e.svg +1 -0
  88. vue/dist/img/circle-plus.f6e8d6cc.svg +10 -0
  89. vue/dist/img/convert-abandon.bbbb1867.png +0 -0
  90. vue/dist/img/dashboard-sample.af325968.png +0 -0
  91. vue/dist/img/device-desktop.8a5dff08.svg +3 -0
  92. vue/dist/img/device-mobile.1aab316f.svg +3 -0
  93. vue/dist/img/device-tablet.b90738e2.svg +3 -0
  94. vue/dist/img/document.37d72e1e.svg +3 -0
  95. vue/dist/img/expand-more.9be22a9c.svg +3 -0
  96. vue/dist/img/facebook.92226bc8.svg +3 -0
  97. vue/dist/img/featured-in-logos.833528c5.svg +27 -0
  98. vue/dist/img/fire.371bc05d.svg +3 -0
  99. vue/dist/img/floating-icon.0a38a7da.svg +27 -0
  100. vue/dist/img/fullscreen-icon.0b9ce491.svg +23 -0
  101. vue/dist/img/gamified-icon.5c31f01c.svg +19 -0
  102. vue/dist/img/green-success-circle-lg.931544d8.svg +3 -0
  103. vue/dist/img/green-success-circle.52fe5261.svg +3 -0
  104. vue/dist/img/green-success.1c5055ee.svg +10 -0
  105. vue/dist/img/grey-help-circle.23fd784e.svg +3 -0
  106. vue/dist/img/grey-information-circle.81ccfdbe.svg +12 -0
  107. vue/dist/img/help-circle.932aacfb.svg +3 -0
  108. vue/dist/img/help-white-solid.496b8099.svg +3 -0
  109. vue/dist/img/help-white.9e074197.svg +3 -0
  110. vue/dist/img/high-converting.ab2d32e5.png +0 -0
  111. vue/dist/img/inactive-archie.210fa629.svg +57 -0
  112. vue/dist/img/inline-icon.bc38877d.svg +29 -0
  113. vue/dist/img/logo-archie.cbb10cf5.svg +46 -0
  114. vue/dist/img/logo-google-analytics.96bf4718.svg +6 -0
  115. vue/dist/img/logo-om.8293cc14.png +0 -0
  116. vue/dist/img/logo-om.fde9fdb5.svg +174 -0
  117. vue/dist/img/logo-woocommerce.f95a6c30.png +0 -0
  118. vue/dist/img/matthew.f24ebe1c.png +0 -0
  119. vue/dist/img/measuring.a84628fb.png +0 -0
  120. vue/dist/img/michael.673eb875.png +0 -0
  121. vue/dist/img/nav-close.e87b7933.svg +3 -0
  122. vue/dist/img/neil.5d9cdec3.png +0 -0
  123. vue/dist/img/om-effect.0e055208.png +0 -0
  124. vue/dist/img/om-team.d4387068.jpg +0 -0
  125. vue/dist/img/open-book.5d70405e.svg +3 -0
  126. vue/dist/img/orange-warning-circle.80e71989.svg +10 -0
  127. vue/dist/img/play-icon.5eacb21c.svg +3 -0
  128. vue/dist/img/popup-icon.e4f71c68.svg +24 -0
  129. vue/dist/img/rating.9d148e32.svg +3 -0
  130. vue/dist/img/red-alert-circle.32339230.svg +3 -0
  131. vue/dist/img/redx-hollow.8bb523f4.svg +3 -0
  132. vue/dist/img/redx.66010999.svg +3 -0
  133. vue/dist/img/rocket-blue.c44bdac0.svg +1 -0
  134. vue/dist/img/rocket.8cca24c0.svg +5 -0
  135. vue/dist/img/scheduled.a220f4b7.svg +3 -0
  136. vue/dist/img/search.e7c97515.svg +3 -0
  137. vue/dist/img/slide-icon.04b550e8.svg +24 -0
  138. vue/dist/img/split.361671fa.svg +3 -0
  139. vue/dist/img/twitter.301c64c2.svg +3 -0
  140. vue/dist/img/university.a5ee6b23.svg +1 -0
  141. vue/dist/img/video-preview.031a80ba.jpg +0 -0
  142. vue/dist/img/white-checkmark.0c4d10d4.svg +5 -0
  143. vue/dist/img/white-right-arrow.1fd68bed.svg +3 -0
  144. vue/dist/img/youtube.202220b6.svg +3 -0
  145. vue/dist/js/about.c04dc5c5.js +2 -0
  146. vue/dist/js/campaign-edit.581d0fdd.js +2 -0
  147. vue/dist/js/campaigns.350106ce.js +2 -0
  148. vue/dist/js/common.3bdb0f3e.js +47 -0
CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
  # Changelog
2
  All notable changes to the OptinMonster plugin will be documented in this file.
3
 
 
 
 
 
 
 
 
 
 
 
4
  ### 1.9.17
5
  * Fixed a bug where taxonomy settings may not properly display.
6
  * Fixed an error that could occur when non-admins logged in.
1
  # Changelog
2
  All notable changes to the OptinMonster plugin will be documented in this file.
3
 
4
+ ### 2.0.0
5
+ * NEW: Overhaul of the plugin to make managing your popup campaigns easier than ever!
6
+ * Added the ability to see all your popup campaigns in your dashboard (draft, pending and published)
7
+ * Added a new dashboard to see stats and details about your popup optins
8
+ * Added the ability to see all popup templates and create new popup campaigns from within the plugin
9
+ * Added a new menu link to see all your popup subscribers
10
+ * Added the ability to create popup split tests from within the plugin
11
+ * Improved the popup output settings for each individual popup campaign
12
+ * Many other performance improvements, product enhancements and bug fixes to the plugin
13
+
14
  ### 1.9.17
15
  * Fixed a bug where taxonomy settings may not properly display.
16
  * Fixed an error that could occur when non-admins logged in.
OMAPI/Actions.php CHANGED
@@ -38,15 +38,6 @@ class OMAPI_Actions {
38
  */
39
  public $file = __FILE__;
40
 
41
- /**
42
- * Holds any action notices.
43
- *
44
- * @since 1.0.0
45
- *
46
- * @var array
47
- */
48
- public $notices = array();
49
-
50
  /**
51
  * Holds the base class object.
52
  *
@@ -67,10 +58,7 @@ class OMAPI_Actions {
67
  $this->set();
68
 
69
  // Add validation messages.
70
- add_action( 'admin_init', array( $this, 'actions' ) );
71
- add_action( 'admin_init', array( $this, 'fetch_missing_data' ), 99 );
72
- add_action( 'admin_notices', array( $this, 'notices' ) );
73
-
74
  }
75
 
76
  /**
@@ -79,106 +67,8 @@ class OMAPI_Actions {
79
  * @since 1.0.0
80
  */
81
  public function set() {
82
-
83
  self::$instance = $this;
84
  $this->base = OMAPI::get_instance();
85
- $this->view = isset( $_GET['optin_monster_api_view'] ) ? stripslashes( $_GET['optin_monster_api_view'] ) : $this->base->get_view();
86
- $this->optin_id = isset( $_GET['optin_monster_api_id'] ) ? absint( $_GET['optin_monster_api_id'] ) : false;
87
-
88
- }
89
-
90
- /**
91
- * Process admin actions.
92
- *
93
- * @since 1.0.0
94
- */
95
- public function actions() {
96
-
97
- // Ensure action is set and correct and the optin is set.
98
- $action = isset( $_GET['optin_monster_api_action'] ) ? stripslashes( $_GET['optin_monster_api_action'] ) : false;
99
- if ( ! $action || 'edit' == $action ) {
100
- return;
101
- }
102
-
103
- // Verify the nonce URL.
104
- if ( ! isset( $_GET['_wpnonce'] ) || ! wp_verify_nonce( $_GET['_wpnonce'], 'omapi-action' ) ) {
105
- return;
106
- }
107
-
108
- // Prepare variable of args for admin notice.
109
- $args = array();
110
- $args['optin_monster_api_action_done'] = $action;
111
-
112
- switch ( $action ) {
113
- case 'status':
114
- if ( $this->status() ) {
115
- $args['optin_monster_api_action_type'] = 'success';
116
- $args['optin_monster_api_action_id'] = $this->optin_id;
117
- } else {
118
- $args['optin_monster_api_action_type'] = 'error';
119
- }
120
- break;
121
-
122
- case 'cookies':
123
- if ( $this->cookies() ) {
124
- $args['optin_monster_api_action_type'] = 'success';
125
- } else {
126
- $args['optin_monster_api_action_type'] = 'error';
127
- }
128
- break;
129
- default:
130
- break;
131
- }
132
-
133
- // Now redirect to prevent reloads from undoing actions.
134
- $this->base->menu->redirect_to_dashboard( 'optins', $args );
135
- }
136
-
137
- /**
138
- * Changes the status of an optin.
139
- *
140
- * @since 1.0.0
141
- */
142
- public function status() {
143
-
144
- // Prepare variables.
145
- $status = (bool) get_post_meta( $this->optin_id, '_omapi_enabled', true );
146
- $new = $status ? false : true;
147
- $field = 'global';
148
- $type = get_post_meta( $this->optin_id, '_omapi_type', true );
149
-
150
- switch ( $type ) {
151
- case 'post':
152
- $field = 'automatic';
153
- break;
154
- case 'sidebar':
155
- $field = false;
156
- break;
157
- default:
158
- break;
159
- }
160
-
161
- // Maybe update the global/automatic status.
162
- if ( $field ) {
163
- update_post_meta( $this->optin_id, '_omapi_' . $field, $new );
164
- }
165
-
166
- // Set enabled status.
167
- return update_post_meta( $this->optin_id, '_omapi_enabled', $new );
168
-
169
- }
170
-
171
- /**
172
- * Changes test mode for the optin.
173
- *
174
- * @since 1.0.0
175
- */
176
- public function test() {
177
-
178
- $status = (bool) get_post_meta( $this->optin_id, '_omapi_test', true );
179
- $new = $status ? false : true;
180
- return update_post_meta( $this->optin_id, '_omapi_test', $new );
181
-
182
  }
183
 
184
  /**
@@ -223,73 +113,6 @@ class OMAPI_Actions {
223
 
224
  }
225
 
226
- /**
227
- * Retrieves a notice message for an admin action.
228
- *
229
- * @since 1.0.0
230
- *
231
- * @param string $action The admin action to target.
232
- * @param string $type The type of notice to retrieve.
233
- * @return string $notice The admin notice.
234
- */
235
- public function get_notice( $action, $type = 'success' ) {
236
- $notice = '';
237
-
238
- switch ( $action ) {
239
- case 'status':
240
- if ( 'success' === $type ) {
241
- $url = $this->base->menu->get_settings_link(
242
- 'optins',
243
- array(
244
- 'optin_monster_api_action' => 'edit',
245
- 'optin_monster_api_id' => $this->optin_id,
246
- )
247
- );
248
-
249
- $notice = sprintf( __( 'The campaign status was updated successfully. You can configure more specific loading requirements by <a href="%s" title="Click here to edit the output settings for the updated campaign.">editing the output settings</a> for the campaign.', 'optin-monster-api' ), esc_url_raw( $url ) );
250
- } else {
251
- $notice = esc_html__( 'There was an error updating the campaign status. Please try again.', 'optin-monster-api' );
252
- }
253
-
254
- break;
255
- case 'cookies':
256
- $notice = 'success' === $type
257
- ? esc_html__( 'The local cookies have been cleared successfully.', 'optin-monster-api' )
258
- : esc_html__( 'There was an error clearing the local cookies. Please try again.', 'optin-monster-api' );
259
- break;
260
- default:
261
- break;
262
- }
263
-
264
- return $notice;
265
- }
266
-
267
- /**
268
- * Outputs any action notices.
269
- *
270
- * @since 1.0.0
271
- */
272
- public function notices() {
273
-
274
- // Check to see if any notices should be output based on query args.
275
- $action = isset( $_GET['optin_monster_api_action_done'] ) ? strip_tags( stripslashes( $_GET['optin_monster_api_action_done'] ) ) : false;
276
- $type = isset( $_GET['optin_monster_api_action_type'] ) ? strip_tags( stripslashes( $_GET['optin_monster_api_action_type'] ) ) : false;
277
-
278
- // Maybe set the optin ID if it is available.
279
- if ( isset( $_GET['optin_monster_api_action_id'] ) ) {
280
- $this->optin_id = absint( $_GET['optin_monster_api_action_id'] );
281
- }
282
-
283
- if ( $action && $type ) {
284
- $this->notices[ $type ] = $this->get_notice( $action, $type );
285
- }
286
-
287
- foreach ( $this->notices as $id => $message ) {
288
- echo '<div class="notice notice-' . esc_attr( $id ) . '"><p>' . $message . '</p></div>';
289
- }
290
-
291
- }
292
-
293
  /**
294
  * When the plugin is first installed
295
  * Or Migrated from a pre-1.8.0 version
@@ -299,7 +122,7 @@ class OMAPI_Actions {
299
  *
300
  * @return void
301
  */
302
- public function fetch_missing_data() {
303
  $creds = $this->base->get_api_credentials();
304
  $option = $this->base->get_option();
305
  $changed = false;
@@ -310,14 +133,18 @@ class OMAPI_Actions {
310
  }
311
 
312
  // Fetch the userId and accountId, if we don't have them
313
- if ( empty( $option['userId'] ) || empty( $option['accountId'] ) ) {
314
- $api = OMAPI_Api::build( 'v2', 'me', 'GET' );
315
- $body = $api->request();
 
 
 
 
 
316
 
317
- if ( isset( $body->id, $body->accountId ) ) {
318
- $option['userId'] = $body->id;
319
- $option['accountId'] = $body->accountId;
320
- $changed = true;
321
  }
322
  }
323
 
38
  */
39
  public $file = __FILE__;
40
 
 
 
 
 
 
 
 
 
 
41
  /**
42
  * Holds the base class object.
43
  *
58
  $this->set();
59
 
60
  // Add validation messages.
61
+ add_action( 'admin_init', array( $this, 'maybe_fetch_missing_data' ), 99 );
 
 
 
62
  }
63
 
64
  /**
67
  * @since 1.0.0
68
  */
69
  public function set() {
 
70
  self::$instance = $this;
71
  $this->base = OMAPI::get_instance();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
  }
73
 
74
  /**
113
 
114
  }
115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
116
  /**
117
  * When the plugin is first installed
118
  * Or Migrated from a pre-1.8.0 version
122
  *
123
  * @return void
124
  */
125
+ public function maybe_fetch_missing_data() {
126
  $creds = $this->base->get_api_credentials();
127
  $option = $this->base->get_option();
128
  $changed = false;
133
  }
134
 
135
  // Fetch the userId and accountId, if we don't have them
136
+ if (
137
+ empty( $option['userId'] )
138
+ || empty( $option['accountId'] )
139
+ || empty( $option['currentLevel'] )
140
+ || empty( $option['plan'] )
141
+ || empty( $creds['apikey'] )
142
+ ) {
143
+ $result = OMAPI_Api::fetch_me( $option, $creds );
144
 
145
+ if ( ! is_wp_error( $result ) ) {
146
+ $changed = true;
147
+ $option = $result;
 
148
  }
149
  }
150
 
OMAPI/Ajax.php CHANGED
@@ -71,10 +71,8 @@ class OMAPI_Ajax {
71
  * @since 1.0.0
72
  */
73
  public function set() {
74
-
75
  self::$instance = $this;
76
  $this->base = OMAPI::get_instance();
77
- $this->view = 'ajax';
78
  }
79
 
80
  /**
@@ -88,112 +86,8 @@ class OMAPI_Ajax {
88
  case 'mailpoet':
89
  $this->base->mailpoet->handle_ajax_call();
90
  break;
91
- case 'om_plugin_install':
92
- add_action( 'wp_ajax_om_plugin_install', array( $this, 'install_or_activate' ) );
93
- add_action( 'wp_ajax_nopriv_om_plugin_install', array( $this, 'install_or_activate' ) );
94
- break;
95
  default:
96
  break;
97
  }
98
  }
99
-
100
- /**
101
- * Installs and activates a plugin for a given url
102
- *
103
- * @since 1.9.10
104
- *
105
- * @param string $plugin_url The Plugin URL
106
- * @return void
107
- */
108
- public function install_plugin( $plugin_url ) {
109
- // Todo: Add Nonce verification
110
- if ( ! current_user_can( 'install_plugins' ) ) {
111
- wp_send_json_error( esc_html__( 'Sorry, not allowed!', 'optin-monster-api' ) );
112
- }
113
-
114
- $creds = request_filesystem_credentials( admin_url( 'admin.php' ), '', false, false, null );
115
-
116
- // Check for file system permissions.
117
- if ( false === $creds ) {
118
- wp_send_json_error( esc_html__( 'Sorry, not allowed!', 'optin-monster-api' ) );
119
- }
120
-
121
- // We do not need any extra credentials if we have gotten this far, so let's install the plugin.
122
- require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
123
-
124
- // Create the plugin upgrader with our custom skin.
125
- $installer = new Plugin_Upgrader( new OMAPI_InstallSkin() );
126
-
127
- // Error check.
128
- if ( ! method_exists( $installer, 'install' ) ) {
129
- wp_send_json_error();
130
- }
131
-
132
- $installer->install( esc_url_raw( $plugin_url ) ); // phpcs:ignore
133
-
134
- if ( ! $installer->plugin_info() ) {
135
- wp_send_json_error();
136
- }
137
-
138
- $plugin_basename = $installer->plugin_info();
139
-
140
- // Activate the plugin silently.
141
- $activated = activate_plugin( $plugin_basename );
142
-
143
- if ( ! is_wp_error( $activated ) ) {
144
- wp_send_json_success(
145
- array(
146
- 'msg' => esc_html__( 'Plugin installed & activated.', 'optin-monster-api' ),
147
- 'is_activated' => true,
148
- 'basename' => $plugin_basename,
149
- )
150
- );
151
- }
152
-
153
- wp_send_json_success(
154
- array(
155
- 'msg' => esc_html__( 'Plugin installed.', 'optin-monster-api' ),
156
- 'is_activated' => false,
157
- 'basename' => $plugin_basename,
158
- )
159
- );
160
- }
161
-
162
- /**
163
- * Installs or Activates a plugin with a given plugin name
164
- *
165
- * @param string $plugin_name
166
- * @return void
167
- */
168
- public function install_or_activate() {
169
- $plugin = $_POST['plugin'];
170
- $action = $_POST['installAction'];
171
- $url = $_POST['url'];
172
-
173
- if ( 'install' === $action ) {
174
- $this->install_plugin( $url );
175
- } else {
176
- $this->activate_plugin( $plugin );
177
- }
178
- }
179
-
180
- /**
181
- * Activates a plugin with a given plugin name
182
- *
183
- * @param string $plugin_name
184
- * @return void
185
- */
186
- public function activate_plugin( $plugin_name ) {
187
-
188
- // Check for permissions.
189
- if ( ! current_user_can( 'activate_plugins' ) ) {
190
- wp_send_json_error( esc_html__( 'Sorry, not allowed!', 'optin-monster-api' ) );
191
- }
192
-
193
- $activate = activate_plugins( sanitize_text_field( $plugin_name ) );
194
-
195
- if ( ! is_wp_error( $activate ) ) {
196
- wp_send_json_success( esc_html__( 'Plugin activated.', 'optin-monster-api' ) );
197
- }
198
- }
199
  }
71
  * @since 1.0.0
72
  */
73
  public function set() {
 
74
  self::$instance = $this;
75
  $this->base = OMAPI::get_instance();
 
76
  }
77
 
78
  /**
86
  case 'mailpoet':
87
  $this->base->mailpoet->handle_ajax_call();
88
  break;
 
 
 
 
89
  default:
90
  break;
91
  }
92
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  }
OMAPI/Api.php CHANGED
@@ -160,13 +160,16 @@ class OMAPI_Api {
160
  if ( empty( $creds ) ) {
161
  $creds = OMAPI::get_instance()->get_api_credentials();
162
 
163
- // Check if we have the new API and if so only use it
164
- $creds = ! empty( $creds['apikey'] )
165
- ? array( 'apikey' => $creds['apikey'] )
166
- : array(
167
- 'user' => $creds['user'],
168
- 'key' => $creds['key'],
169
- );
 
 
 
170
  }
171
 
172
  return new self( $route, $creds, $method, $version );
@@ -236,6 +239,7 @@ class OMAPI_Api {
236
  'Origin' => site_url(),
237
  'OMAPI-Referer' => site_url(),
238
  'OMAPI-Sender' => 'WordPress',
 
239
  );
240
 
241
  if ( $this->apikey ) {
@@ -262,6 +266,14 @@ class OMAPI_Api {
262
  $this->response_code = wp_remote_retrieve_response_code( $this->response );
263
  $this->response_body = json_decode( wp_remote_retrieve_body( $this->response ) );
264
 
 
 
 
 
 
 
 
 
265
  // Get the correct success response code to check against.
266
  $response_code = 'DELETE' === $this->method ? 204 : 200;
267
 
@@ -343,4 +355,67 @@ class OMAPI_Api {
343
  public static function instance() {
344
  return self::$instance;
345
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
346
  }
160
  if ( empty( $creds ) ) {
161
  $creds = OMAPI::get_instance()->get_api_credentials();
162
 
163
+ if ( ! empty( $creds ) ) {
164
+
165
+ // Check if we have the new API and if so only use it
166
+ $creds = ! empty( $creds['apikey'] )
167
+ ? array( 'apikey' => $creds['apikey'] )
168
+ : array(
169
+ 'user' => ! empty( $creds['user'] ) ? $creds['user'] : '',
170
+ 'key' => ! empty( $creds['key'] ) ? $creds['key'] : '',
171
+ );
172
+ }
173
  }
174
 
175
  return new self( $route, $creds, $method, $version );
239
  'Origin' => site_url(),
240
  'OMAPI-Referer' => site_url(),
241
  'OMAPI-Sender' => 'WordPress',
242
+ 'OMAPI-Site' => esc_attr( get_option( 'blogname' ) ),
243
  );
244
 
245
  if ( $this->apikey ) {
266
  $this->response_code = wp_remote_retrieve_response_code( $this->response );
267
  $this->response_body = json_decode( wp_remote_retrieve_body( $this->response ) );
268
 
269
+ // If we used the legacy api-creds, we'll get back a new api key.
270
+ if (
271
+ empty( $this->apikey )
272
+ && ! empty( $this->response['headers']['x-optinmonster-apikey'] )
273
+ ) {
274
+ $this->apikey = sanitize_text_field( $this->response['headers']['x-optinmonster-apikey'] );
275
+ }
276
+
277
  // Get the correct success response code to check against.
278
  $response_code = 'DELETE' === $this->method ? 204 : 200;
279
 
355
  public static function instance() {
356
  return self::$instance;
357
  }
358
+
359
+ /**
360
+ * Fetch from the OM /me route, and store data to our options.
361
+ *
362
+ * @since 2.0.0
363
+ *
364
+ * @param array $option Existing options array.
365
+ * @param array $creds Existing credentials array.
366
+ *
367
+ * @return array Updated options array.
368
+ */
369
+ public static function fetch_me( $option = array(), $creds = array() ) {
370
+ $api = self::build( 'v2', 'me', 'GET', $creds );
371
+ $result = $api->request();
372
+
373
+ if ( is_wp_error( $result ) ) {
374
+ return $result;
375
+ }
376
+
377
+ $update = empty( $option );
378
+ if ( $update ) {
379
+ $option = OMAPI::get_instance()->get_option();
380
+ }
381
+
382
+ // Make sure to set the new api key, if we have it.
383
+ if ( empty( $option['api']['apikey'] ) && ! empty( $api->apikey ) ) {
384
+ $option['api'] = array( 'apikey' => $api->apikey );
385
+
386
+ if ( $api->user && $api->key ) {
387
+
388
+ // Notifiy user of credentials replacement.
389
+ OMAPI::get_instance()->notifications->add_event( array(
390
+ 'type' => 'success',
391
+ 'title' => 'Your API Access Credentials have been updated',
392
+ 'content' => 'We have automatically replaced your deprecated user/key OptinMonster connection credentials with a new API key.',
393
+ 'btns' => array(
394
+ 'main' => array(
395
+ 'text' => 'Manage API Keys',
396
+ 'url' => esc_url_raw( OPTINMONSTER_APP_URL . '/account/api/' ),
397
+ ),
398
+ ),
399
+ ) );
400
+ }
401
+ }
402
+
403
+ if ( isset( $result->id ) ) {
404
+ $option['userId'] = $result->id;
405
+ }
406
+
407
+ $to_store = array( 'accountId', 'currentLevel', 'plan' );
408
+ foreach ( $to_store as $key ) {
409
+ if ( isset( $result->{$key} ) ) {
410
+ $option[ $key ] = $result->{$key};
411
+ }
412
+ }
413
+
414
+ if ( $update ) {
415
+ OMAPI::get_instance()->save->update_option( $option, $creds );
416
+ }
417
+
418
+ return $option;
419
+ }
420
+
421
  }
OMAPI/ApiKey.php ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Mailpoet integration class.
4
+ *
5
+ * @since 2.0.0
6
+ *
7
+ * @package OMAPI
8
+ * @author Justin Sternberg
9
+ */
10
+
11
+ // Exit if accessed directly.
12
+ if ( ! defined( 'ABSPATH' ) ) {
13
+ exit;
14
+ }
15
+
16
+ /**
17
+ * OM API Key management class.
18
+ *
19
+ * @since 2.0.0
20
+ */
21
+ class OMAPI_ApiKey {
22
+
23
+ /**
24
+ * Handles storing the API key and initiating the API connection.
25
+ *
26
+ * @since 2.0.0
27
+ *
28
+ * @param string $apikey The OM api key.
29
+ *
30
+ * @return bool True if the Key can be validated
31
+ */
32
+ public static function init_connection( $apikey ) {
33
+ $base = OMAPI::get_instance();
34
+
35
+ $creds = compact( 'apikey' );
36
+ $option = $base->get_option();
37
+ $option['api']['apikey'] = $apikey;
38
+
39
+ // Let's store the api-key first.
40
+ $base->save->update_option( $option, $creds );
41
+
42
+ // Go ahead and remove the old user and key.
43
+ $option['api']['user'] = '';
44
+ $option['api']['key'] = '';
45
+
46
+ // Remove any error messages.
47
+ $option['is_invalid'] = false;
48
+ $option['is_expired'] = false;
49
+ $option['is_disabled'] = false;
50
+ $option['connected'] = time();
51
+ $option['auto_updates'] = 'all';
52
+ $option['usage_tracking'] = true;
53
+
54
+ // Remove any pre-saved site/user/account data, so we re-fetch it elsewhere
55
+ unset( $option['siteId'] );
56
+ unset( $option['siteIds'] );
57
+ unset( $option['customApiUrl'] );
58
+
59
+ // Fetch the userId and accountId now.
60
+ $option = OMAPI_Api::fetch_me( $option, $creds );
61
+ if ( is_wp_error( $option ) ) {
62
+ return $option;
63
+ }
64
+
65
+ // Fetch the SiteIds for this site now.
66
+ $result = $base->sites->fetch( $apikey );
67
+ if ( is_wp_error( $result ) ) {
68
+ return $result;
69
+ }
70
+
71
+ $option = array_merge( $option, $result );
72
+
73
+ // Fetch the campaigns for this site now.
74
+ $base->refresh->refresh( $apikey );
75
+
76
+ // Save the option one more time, with all the new good stuff..
77
+ $base->save->update_option( $option, $creds );
78
+
79
+ return true;
80
+ }
81
+
82
+ /**
83
+ * Remove the API key and disconnect from the OptinMonster app.
84
+ *
85
+ * @since 2.0.0
86
+ *
87
+ * @return mixed The results of update_option.
88
+ */
89
+ public static function disconnect() {
90
+ $option = OMAPI::get_instance()->get_option();
91
+
92
+ $option['connected'] = 0;
93
+ $option['api']['apikey'] = '';
94
+
95
+ // Remove any pre-saved site/user/account data, so we re-fetch it elsewhere
96
+ unset( $option['userId'] );
97
+ unset( $option['accountId'] );
98
+ unset( $option['currentLevel'] );
99
+ unset( $option['plan'] );
100
+ unset( $option['siteId'] );
101
+ unset( $option['siteIds'] );
102
+ unset( $option['customApiUrl'] );
103
+ unset( $option['api']['user'] );
104
+ unset( $option['api']['key'] );
105
+
106
+ // Save the updated option.
107
+ return OMAPI::get_instance()->save->update_option( $option );
108
+ }
109
+
110
+ /**
111
+ * Determine if we can store the given api key.
112
+ *
113
+ * @since 2.0.0
114
+ *
115
+ * @param string $apikey The OM api key.
116
+ *
117
+ * @return bool True if the Key can be validated
118
+ */
119
+ public static function verify( $apikey ) {
120
+ $creds = compact( 'apikey' );
121
+
122
+ // Verify this new API Key works by posting to the Legacy route
123
+ return OMAPI_Api::build( 'v1', 'verify/', 'POST', $creds )->request();
124
+ }
125
+
126
+ /**
127
+ * Validate this API Key
128
+ * We validate an API Key by fetching the Sites this key can fetch
129
+ * And then confirming that this key has access to at least one of these sites
130
+ *
131
+ * @since 2.0.0
132
+ *
133
+ * @param string $apikey The OM api key.
134
+ *
135
+ * @return bool True if the Key can be validated
136
+ */
137
+ public static function validate( $apikey ) {
138
+ if ( empty( $apikey ) ) {
139
+ return false;
140
+ }
141
+
142
+ $site_ids = OMAPI::get_instance()->get_site_ids();
143
+
144
+ if ( empty( $site_ids ) ) {
145
+ return false;
146
+ }
147
+
148
+ $api_key_sites = OMAPI::get_instance()->sites->fetch( $apikey, true );
149
+
150
+ if ( is_wp_error( $api_key_sites ) || empty( $api_key_sites['siteIds'] ) ) {
151
+ return false;
152
+ }
153
+
154
+ foreach ( $site_ids as $site_id ) {
155
+ if ( in_array( $site_id, $api_key_sites['siteIds'] ) ) {
156
+ return true;
157
+ }
158
+ }
159
+
160
+ return false;
161
+ }
162
+
163
+ /**
164
+ * Determine if we have a valid api key stored.
165
+ *
166
+ * @since 2.0.0
167
+ *
168
+ * @return bool
169
+ */
170
+ public static function has_credentials() {
171
+ $creds = OMAPI::get_instance()->get_api_credentials();
172
+
173
+ return ! empty( $creds['apikey'] ) || self::has_legacy();
174
+ }
175
+
176
+ /**
177
+ * Determine if we have legacy api credentials.
178
+ *
179
+ * @since 2.0.0
180
+ *
181
+ * @return bool
182
+ */
183
+ public static function has_legacy() {
184
+ $creds = OMAPI::get_instance()->get_api_credentials();
185
+
186
+ return ! empty( $creds['user'] ) && ! empty( $creds['key'] );
187
+ }
188
+ }
189
+
OMAPI/AssetLoader.php ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * A special asset loader built specifically to enqueue
4
+ * JS and CSS built by create-react-app
5
+ *
6
+ * @author Justin Sternberg <jsternberg@awesomemotive.com>
7
+ */
8
+ class OMAPI_AssetLoader {
9
+
10
+ /**
11
+ * The directory in which the assets can be found
12
+ *
13
+ * @since 2.0.0
14
+ *
15
+ * @var string
16
+ */
17
+ protected $directory;
18
+
19
+ /**
20
+ * The asset file to load.
21
+ *
22
+ * @since 2.0.0
23
+ *
24
+ * @var string
25
+ */
26
+ protected $manifestFile = 'manifest.json';
27
+
28
+ /**
29
+ * The array of script handles.
30
+ *
31
+ * @since 2.0.0
32
+ *
33
+ * @var array
34
+ */
35
+ public $handles = array(
36
+ 'js' => array(),
37
+ 'css' => array(),
38
+ );
39
+
40
+ /**
41
+ * The class constructor.
42
+ *
43
+ * @since 2.0.0
44
+ *
45
+ * @param string $directory The base directory to use.
46
+ * @param string $manifestFile The manifest file to use.
47
+ */
48
+ public function __construct( string $directory, $manifestFile = 'manifest.json' ) {
49
+ $this->directory = $directory;
50
+ $this->manifestFile = $manifestFile;
51
+ }
52
+
53
+ /**
54
+ * Uses the built-in WP asset enqueuing to add the manifest assets.
55
+ *
56
+ * @since 2.0.0
57
+ *
58
+ * @param array $options
59
+ * @return void
60
+ */
61
+ public function enqueue( array $options = array() ) {
62
+
63
+ $defaults = array(
64
+ 'base_path' => $this->directory,
65
+ 'base_url' => $this->directory,
66
+ 'version' => time(),
67
+ );
68
+
69
+ $options = wp_parse_args( $options, $defaults );
70
+ $assets = $this->getAssetsList( $options['base_path'] );
71
+
72
+ if ( empty( $assets ) ) {
73
+ throw new \Exception( 'No webpack assets found.' );
74
+ }
75
+
76
+ foreach ( $assets as $assetPath ) {
77
+ $isJs = preg_match( '/\.js$/', $assetPath );
78
+ $isCss = ! $isJs && preg_match( '/\.css$/', $assetPath );
79
+
80
+ // Ignore source maps and images
81
+ if ( ! $isCss && ! $isJs ) {
82
+ continue;
83
+ }
84
+
85
+ $handle = basename( $assetPath );
86
+ $handle = 0 !== strpos( $handle, 'wp-om-' ) ? 'wp-om-' . $handle : $handle;
87
+ $uri = $this->getAssetUri( trim( $assetPath, '/' ), $options['base_url'] );
88
+
89
+ if ( $isJs || $isCss ) {
90
+
91
+ $should_enqueue = apply_filters( 'optin_monster_should_enqueue_asset', true, $handle, $uri, $isJs, $this );
92
+
93
+ if ( ! $should_enqueue ) {
94
+ continue;
95
+ }
96
+
97
+ if ( $isJs ) {
98
+ $this->handles['js'][] = $handle;
99
+ wp_enqueue_script( $handle, $uri, array(), $options['version'], true );
100
+ } else {
101
+ $this->handles['css'][] = $handle;
102
+ wp_enqueue_style( $handle, $uri, array(), $options['version'] );
103
+ }
104
+ }
105
+ }
106
+ }
107
+
108
+ /**
109
+ * Localize data for the enqueued script(s).
110
+ *
111
+ * @since 2.0.0
112
+ *
113
+ * @param array $args Array of data to send to JS.
114
+ *
115
+ * @return OMAPI_AssetLoader
116
+ */
117
+ public function localize( $args ) {
118
+ foreach ( $this->handles['js'] as $handle ) {
119
+ wp_localize_script( $handle, 'omWpApi', $args );
120
+ if ( isset( $args['omStaticDataKey'] ) ) {
121
+ wp_localize_script( $handle, 'omStaticDataKey', $args['omStaticDataKey'] );
122
+ }
123
+ // We only need to output once.
124
+ break;
125
+ }
126
+
127
+ return $this;
128
+ }
129
+
130
+ /**
131
+ * Attempts to load the asset manifest.
132
+ *
133
+ * @since 2.0.0
134
+ *
135
+ * @param string $assetPath
136
+ * @return null|\StdObject
137
+ */
138
+ protected function loadAssetFile( $assetPath ) {
139
+ static $resources = array();
140
+
141
+ if ( isset( $resources[ $assetPath ] ) ) {
142
+ return $resources[ $assetPath ];
143
+ }
144
+
145
+ $url = filter_var( $assetPath, FILTER_VALIDATE_URL );
146
+ $contents = '';
147
+
148
+ if ( $url ) {
149
+ $results = wp_remote_get(
150
+ $assetPath,
151
+ array(
152
+ 'sslverify' => false,
153
+ )
154
+ );
155
+ $contents = wp_remote_retrieve_body( $results );
156
+ } elseif ( file_exists( $assetPath ) ) {
157
+ ob_start();
158
+ include_once $assetPath;
159
+ $contents = ob_get_clean();
160
+ }
161
+
162
+ if ( empty( $contents ) ) {
163
+ return null;
164
+ }
165
+
166
+ $resources[ $assetPath ] = json_decode( $contents, true );
167
+
168
+ return $resources[ $assetPath ];
169
+ }
170
+
171
+ /**
172
+ * Finds the asset manifest in the given directory.
173
+ *
174
+ * @since 2.0.0
175
+ *
176
+ * @param string $directory The directory to append to the manifest file.
177
+ * @param boolean $parse Whether or not to parse the results.
178
+ * @return array The assets themselves or an array of parsed assets.
179
+ */
180
+ public function getAssetsList( string $directory, $parse = true ) {
181
+ $directory = trailingslashit( $directory );
182
+
183
+ $assets = $this->loadAssetFile( $directory . $this->manifestFile );
184
+
185
+ return ! empty( $assets ) ? array_values( $assets ) : array();
186
+ }
187
+
188
+ /**
189
+ * Infer a base web URL for a file system path.
190
+ *
191
+ * @since 2.0.0
192
+ *
193
+ * @param string $path Filesystem path for which to return a URL.
194
+ * @return string|null
195
+ */
196
+ protected function inferBaseUrl( string $path ) {
197
+
198
+ if ( strpos( $path, get_stylesheet_directory() ) === 0 ) {
199
+ return get_theme_file_uri( substr( $path, strlen( get_stylesheet_directory() ) ) );
200
+ }
201
+ if ( strpos( $path, get_template_directory() ) === 0 ) {
202
+ return get_theme_file_uri( substr( $path, strlen( get_template_directory() ) ) );
203
+ }
204
+ // Any path not known to exist within a theme is treated as a plugin path.
205
+ $pluginPath = plugin_dir_path( __FILE__ );
206
+ if ( strpos( $path, $pluginPath ) === 0 ) {
207
+ return plugin_dir_url( __FILE__ ) . substr( $path, strlen( $pluginPath ) );
208
+ }
209
+ return '';
210
+
211
+ }
212
+
213
+ /**
214
+ * Return web URIs or convert relative filesystem paths to absolute paths.
215
+ *
216
+ * @since 2.0.0
217
+ *
218
+ * @param string $assetPath A relative filesystem path or full resource URI.
219
+ * @param string $baseUrl A base URL to prepend to relative bundle URIs.
220
+ * @return string
221
+ */
222
+ public function getAssetUri( string $assetPath, string $baseUrl ) {
223
+
224
+ if ( strpos( $assetPath, '://' ) !== false ) {
225
+ return $assetPath;
226
+ }
227
+
228
+ return trailingslashit( $baseUrl ) . $assetPath;
229
+ }
230
+ }
OMAPI/Blocks.php CHANGED
@@ -119,39 +119,55 @@ class OMAPI_Blocks {
119
 
120
  // For translation of strings.
121
  $i18n = array(
122
- 'title' => esc_html__( 'OptinMonster Campaign', 'optin-monster-api' ),
123
- 'description' => esc_html__( 'Select &amp; display one of your OptinMonster inline Campaigns.', 'optin-monster-api' ),
124
- 'campaign_select' => esc_html__( 'Select a Campaign', 'optin-monster-api' ),
125
- 'campaign_settings' => esc_html__( 'OptinMonster Settings', 'optin-monster-api' ),
126
- 'campaign_selected' => esc_html__( 'Campaign', 'optin-monster-api' ),
127
- 'followrules_label' => esc_html__( 'Use Output Settings' ),
128
- 'followrules_help' => esc_html__( 'Ensure this campaign follows any conditions you\'ve selected in its %s', 'optin-monster-api' ),
129
- 'output_settings' => esc_html__( 'Output Settings', 'optin-monster-api' ),
130
- 'no_campaigns' => esc_html__( 'No inline campaigns available!', 'optin-monster-api' ),
131
- 'no_campaigns_help' => esc_html__( 'Create an inline campaign in order to display them in your WordPress posts/pages. Alternatively, use a Monster Link to trigger another campaign type.', 'optin-monster-api' ),
132
- 'found_error' => esc_html__( 'An error was encountered', 'optin-monster-api' ),
 
 
 
 
 
133
  );
134
  $i18n['description'] = html_entity_decode( $i18n['description'] );
135
 
136
  $campaigns = $this->base->get_optins();
 
137
  wp_localize_script(
138
  $script_id,
139
  'OMAPI',
140
  array(
141
- 'logoUrl' => $this->base->url . 'assets/css/images/logo-om.png',
142
- 'i18n' => $i18n,
143
- 'campaigns' => ! empty( $campaigns ) ? $campaigns : array(),
144
- 'post' => get_post(),
145
- 'omEnv' => defined( 'OPTINMONSTER_ENV' ) ? OPTINMONSTER_ENV : '',
146
- 'apiUrl' => esc_url_raw( $this->base->get_api_url() ),
147
- 'omUserId' => $this->base->get_option( 'userId' ),
148
- 'editUrl' => $this->base->menu->get_settings_link(
149
- 'optins',
150
  array(
151
- 'optin_monster_api_action' => 'edit',
152
- 'optin_monster_api_id' => '%d',
153
- )
154
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
155
  )
156
  );
157
  }
119
 
120
  // For translation of strings.
121
  $i18n = array(
122
+ 'title' => esc_html__( 'OptinMonster', 'optin-monster-api' ),
123
+ 'description' => esc_html__( 'Select and display one of your OptinMonster inline campaigns.', 'optin-monster-api' ),
124
+ 'campaign_select' => esc_html__( 'Select a Campaign', 'optin-monster-api' ),
125
+ 'campaign_settings' => esc_html__( 'OptinMonster Settings', 'optin-monster-api' ),
126
+ 'campaign_selected' => esc_html__( 'Campaign', 'optin-monster-api' ),
127
+ 'followrules_label' => esc_html__( 'Use Output Settings' ),
128
+ 'followrules_help' => esc_html__( 'Ensure this campaign follows any conditions you\'ve selected in its %s.', 'optin-monster-api' ),
129
+ 'output_settings' => esc_html__( 'Output Settings', 'optin-monster-api' ),
130
+ 'no_sites' => esc_html__( 'Please create a free account or connect an existing account to use an OptinMonster block.', 'optin-monster-api' ),
131
+ 'no_sites_button_create_account' => esc_html__( 'Create a Free Account', 'optin-monster-api' ),
132
+ 'no_sites_button_connect_account' => esc_html__( 'Connect an Existing Account', 'optin-monster-api' ),
133
+ 'no_campaigns' => esc_html__( 'You don’t have any campaigns yet!', 'optin-monster-api' ),
134
+ 'no_campaigns_help' => esc_html__( 'Create an inline campaign to display in your posts and pages.', 'optin-monster-api' ),
135
+ 'no_campaigns_button' => esc_html__( 'Create Your First Campaign', 'optin-monster-api' ),
136
+ 'no_campaigns_button_help' => esc_html__( 'Learn how to create your first campaign', 'optin-monster-api' ),
137
+ 'found_error' => esc_html__( 'An error was encountered', 'optin-monster-api' ),
138
  );
139
  $i18n['description'] = html_entity_decode( $i18n['description'] );
140
 
141
  $campaigns = $this->base->get_optins();
142
+ $site_ids = $this->base->get_site_ids();
143
  wp_localize_script(
144
  $script_id,
145
  'OMAPI',
146
  array(
147
+ 'logoUrl' => $this->base->url . 'assets/images/archie-icon.svg',
148
+ 'i18n' => $i18n,
149
+ 'campaigns' => ! empty( $campaigns ) ? $campaigns : array(),
150
+ 'site_ids' => ! empty( $site_ids ) ? $site_ids : array(),
151
+ 'post' => get_post(),
152
+ 'omEnv' => defined( 'OPTINMONSTER_ENV' ) ? OPTINMONSTER_ENV : '',
153
+ 'templatesUri' => add_query_arg(
 
 
154
  array(
155
+ 'page' => 'optin-monster-templates'
156
+ ), admin_url( '/admin.php' )
 
157
  ),
158
+ 'settingsUri' => add_query_arg(
159
+ array(
160
+ 'page' => 'optin-monster-settings'
161
+ ), admin_url( '/admin.php' )
162
+ ),
163
+ 'wizardUri' => add_query_arg(
164
+ array(
165
+ 'page' => 'optin-monster-onboarding-wizard'
166
+ ), admin_url( '/admin.php' )
167
+ ),
168
+ 'apiUrl' => esc_url_raw( $this->base->get_api_url() ),
169
+ 'omUserId' => $this->base->get_option( 'userId' ),
170
+ 'editUrl' => $this->base->menu->edit_output_settings( '%s' ),
171
  )
172
  );
173
  }
OMAPI/ConstantContact.php CHANGED
@@ -109,7 +109,7 @@ class OMAPI_ConstantContact {
109
  $parent_slug, // parent slug
110
  esc_html__( 'OptinMonster with Constant Contact', 'optin-monster-api' ), // page title,
111
  esc_html__( 'OptinMonster + Constant Contact', 'optin-monster-api' ),
112
- apply_filters( 'optin_monster_api_menu_cap', 'manage_options', $slug ), // cap
113
  $slug, // slug
114
  array( $this, 'display_page' ) // callback
115
  );
@@ -157,7 +157,7 @@ class OMAPI_ConstantContact {
157
  return;
158
  }
159
 
160
- $connect = $this->base->menu->get_settings_link();
161
  $learn_more = $this->base->menu->admin_page_url( array( 'page' => 'optin-monster-constant-contact' ) );
162
 
163
  // Output the notice message.
@@ -179,7 +179,7 @@ class OMAPI_ConstantContact {
179
  </a>
180
  <?php if ( ! $is_om_page ) { ?>
181
  <a href="<?php echo esc_url( $connect ); ?>" class="button-secondary">
182
- <?php esc_html_e( 'Connect your existing account', 'optin-monster-api' ); ?>
183
  </a>
184
  <?php } ?>
185
  <?php
@@ -242,11 +242,23 @@ class OMAPI_ConstantContact {
242
  * @since 1.6.0
243
  */
244
  public function assets() {
 
245
  add_action( 'admin_enqueue_scripts', array( $this->base->menu, 'styles' ) );
246
  add_filter( 'admin_footer_text', array( $this, 'footer' ) );
247
  add_action( 'in_admin_header', array( $this->base->menu, 'output_plugin_screen_banner' ) );
248
  }
249
 
 
 
 
 
 
 
 
 
 
 
 
250
  /**
251
  * Customizes the footer text on the OptinMonster settings page.
252
  *
@@ -266,8 +278,6 @@ class OMAPI_ConstantContact {
266
  /**
267
  * Outputs the Review Page.
268
  *
269
- * TODO: Update the copy for OM
270
- *
271
  * @since 1.6.0
272
  */
273
  public function display_page() {
109
  $parent_slug, // parent slug
110
  esc_html__( 'OptinMonster with Constant Contact', 'optin-monster-api' ), // page title,
111
  esc_html__( 'OptinMonster + Constant Contact', 'optin-monster-api' ),
112
+ $this->base->access_capability( $slug ), // cap
113
  $slug, // slug
114
  array( $this, 'display_page' ) // callback
115
  );
157
  return;
158
  }
159
 
160
+ $connect = $this->base->menu->get_onboarding_link();
161
  $learn_more = $this->base->menu->admin_page_url( array( 'page' => 'optin-monster-constant-contact' ) );
162
 
163
  // Output the notice message.
179
  </a>
180
  <?php if ( ! $is_om_page ) { ?>
181
  <a href="<?php echo esc_url( $connect ); ?>" class="button-secondary">
182
+ <?php esc_html_e( 'Get Started', 'optin-monster-api' ); ?>
183
  </a>
184
  <?php } ?>
185
  <?php
242
  * @since 1.6.0
243
  */
244
  public function assets() {
245
+ add_filter( 'admin_body_class', array( $this, 'add_body_classes' ) );
246
  add_action( 'admin_enqueue_scripts', array( $this->base->menu, 'styles' ) );
247
  add_filter( 'admin_footer_text', array( $this, 'footer' ) );
248
  add_action( 'in_admin_header', array( $this->base->menu, 'output_plugin_screen_banner' ) );
249
  }
250
 
251
+ /**
252
+ * Add body classes.
253
+ *
254
+ * @since 2.0.0
255
+ */
256
+ public function add_body_classes( $classes ) {
257
+ $classes .= ' omapi-constant-contact ';
258
+
259
+ return $classes;
260
+ }
261
+
262
  /**
263
  * Customizes the footer text on the OptinMonster settings page.
264
  *
278
  /**
279
  * Outputs the Review Page.
280
  *
 
 
281
  * @since 1.6.0
282
  */
283
  public function display_page() {
OMAPI/Inserter.php ADDED
@@ -0,0 +1,254 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Content Inserter class.
4
+ *
5
+ * @since 2.0.0
6
+ *
7
+ * @package OMAPI
8
+ * @author Justin Sternberg
9
+ */
10
+
11
+ // Exit if accessed directly.
12
+ if ( ! defined( 'ABSPATH' ) ) {
13
+ exit;
14
+ }
15
+
16
+ /**
17
+ * Content Inserter class.
18
+ *
19
+ * @since 2.0.0
20
+ */
21
+ class OMAPI_Inserter {
22
+
23
+ /**
24
+ * Content to insert.
25
+ *
26
+ * @since 2.0.0
27
+ *
28
+ * @var string
29
+ */
30
+ protected $to_insert = '';
31
+
32
+ /**
33
+ * Original content.
34
+ *
35
+ * @since 2.0.0
36
+ *
37
+ * @var string
38
+ */
39
+ protected $content = '';
40
+
41
+ /**
42
+ * Any tags which we should not insert content in.
43
+ * The order is important ("a" tag should be after any other tags starting with "a") in order
44
+ * to avoid false positives (where "a" tag is "found", but it's really an "abbr" tag).
45
+ *
46
+ * @since 2.0.0
47
+ *
48
+ * @var string
49
+ */
50
+ const INSERT_AFTER_TAGS = 'address,abbr,acronym,area,audio,a,bdo,big,button,b,caption,cite,code,col,colgroup,del,dfn,dl,dt,em,figure,figcaption,font,h1,h2,h3,h4,h5,h6,hgroup,ins,i,kbd,label,legend,map,mark,menu,pre,samp,small,strike,strong,sub,sup,s,table,tbody,textarea,tfoot,thead,title,track,tt,tr,ul,u,ol,var,video';
51
+
52
+ /**
53
+ * Constructor.
54
+ *
55
+ * @since 2.0.0
56
+ *
57
+ * @param string $content The original content.
58
+ * @param string $to_insert The content to insert into the original content.
59
+ */
60
+ public function __construct( string $content, string $to_insert ) {
61
+ $this->content = $content;
62
+ $this->to_insert = $to_insert;
63
+ }
64
+
65
+ /**
66
+ * Prepend the original content with the content to insert.
67
+ *
68
+ * @since 2.0.0
69
+ *
70
+ * @return string The combined content.
71
+ */
72
+ public function prepend() {
73
+ return $this->to_insert . $this->content;
74
+ }
75
+
76
+ /**
77
+ * Append the original content with the content to insert.
78
+ *
79
+ * @since 2.0.0
80
+ *
81
+ * @return string The combined content.
82
+ */
83
+ public function append() {
84
+ return $this->content . $this->to_insert;
85
+ }
86
+
87
+ /**
88
+ * Inserts the insert-content after X paragraphs in the original content.
89
+ *
90
+ * @since 2.0.0
91
+ *
92
+ * @param int $paragraph_number The paragraph number to insert after.
93
+ *
94
+ * @return string The combined content.
95
+ */
96
+ public function after_paragraph( int $paragraph_number ) {
97
+
98
+ // If "0", then prepend.
99
+ if ( empty( $paragraph_number ) ) {
100
+ return $this->prepend();
101
+ }
102
+
103
+ $closing_p = '</p>';
104
+ $paragraphs = explode( $closing_p, $this->content );
105
+ $count = count( $paragraphs );
106
+
107
+ // If the number of paragraphs in the content is less than
108
+ // the number we asked for, just append it to the end.
109
+ if ( $count < $paragraph_number ) {
110
+ return $this->append();
111
+ }
112
+
113
+ foreach ( $paragraphs as $index => $paragraph ) {
114
+
115
+ // Only add closing tag to non-empty paragraphs
116
+ if ( trim( $paragraph ) ) {
117
+
118
+ // Adding closing markup now, rather than at implode, means insertion
119
+ // is outside of the paragraph markup, and not just inside of it.
120
+ $paragraphs[ $index ] .= $closing_p;
121
+ }
122
+
123
+ // + 1 allows for considering the first paragraph as #1, not #0.
124
+ if ( $paragraph_number === ( $index + 1 ) ) {
125
+
126
+ // We found our paragraph, so append after it.
127
+ $paragraphs[ $index ] .= $this->to_insert;
128
+ }
129
+ }
130
+
131
+ return implode( '', $paragraphs );
132
+ }
133
+
134
+ /**
135
+ * Inserts the insert-content after X words in the original content.
136
+ *
137
+ * @since 2.0.0
138
+ *
139
+ * @param int $word_number The word number to insert after.
140
+ *
141
+ * @return string The combined content.
142
+ */
143
+ public function after_words( int $word_number ) {
144
+
145
+ // If "0", then prepend.
146
+ if ( empty( $word_number ) ) {
147
+ return $this->prepend();
148
+ }
149
+
150
+ // The following splitting into words code is copied from the wp_trim_words function.
151
+
152
+ $rawtext = wp_strip_all_tags( $this->content );
153
+ /*
154
+ * translators: If your word count is based on single characters (e.g. East Asian characters),
155
+ * enter 'characters_excluding_spaces' or 'characters_including_spaces'. Otherwise, enter 'words'.
156
+ * Do not translate into your own language.
157
+ */
158
+ if ( strpos( _x( 'words', 'Word count type. Do not translate!' ), 'characters' ) === 0 && preg_match( '/^utf\-?8$/i', get_option( 'blog_charset' ) ) ) {
159
+ $rawtext = trim( preg_replace( "/[\n\r\t ]+/", ' ', $rawtext ), ' ' );
160
+ preg_match_all( '/./u', $rawtext, $words_array );
161
+ $words_array = array_slice( $words_array[0], 0, $word_number + 1 );
162
+ } else {
163
+ $words_array = preg_split( "/[\n\r\t ]+/", $rawtext, $word_number + 1, PREG_SPLIT_NO_EMPTY );
164
+ }
165
+
166
+ // If the number of words in the content is less than
167
+ // the number we asked for, just append it to the end.
168
+ if ( count( $words_array ) <= $word_number ) {
169
+ return $this->append();
170
+ }
171
+
172
+ // Now we need to clean up the words, removing punctuation,
173
+ // so our chances of matching are greater.
174
+ foreach ( $words_array as $index => $word ) {
175
+ $words_array[ $index ] = preg_replace( '~[^\w\s]~', '', $word );
176
+ }
177
+
178
+ $after_word = $words_array[ $word_number - 1 ];
179
+ $number_occurrences = 0;
180
+
181
+ $rest = array_pop( $words_array );
182
+
183
+ foreach ( $words_array as $word ) {
184
+ if ( false !== strpos( $word, $after_word ) ) {
185
+ $number_occurrences++;
186
+ }
187
+ }
188
+
189
+ $to_replace = $this->content;
190
+
191
+ // We need to loop through the number of occurrences...
192
+ while ( $number_occurrences-- ) {
193
+
194
+ // Then find the word in the content to replace,
195
+ $pos = strpos( $to_replace, $after_word ) + strlen( $after_word );
196
+
197
+ // And split that content where the word was found...
198
+ $to_replace = substr( $to_replace, $pos );
199
+
200
+ // And keep doing that until we've reached our final occurrence.
201
+ }
202
+
203
+ // Ok, no we know where we want to insert, but we can't insert inside any
204
+ // of our self::INSERT_AFTER_TAGS tags, so we need to insert _after_ them.
205
+ $to_replace = self::after_tags( $to_replace );
206
+
207
+ // Now insert into the content.
208
+ $updated_content = str_replace( $to_replace, $this->to_insert . $to_replace, $this->content );
209
+
210
+ return $updated_content;
211
+ }
212
+
213
+ /**
214
+ * Takes given content and returns first acceptable content outside of any
215
+ * self::INSERT_AFTER_TAGS tags.
216
+ *
217
+ * @since 2.0.0
218
+ *
219
+ * @param string $content Content to replace/find.
220
+ *
221
+ * @return string Updated content.
222
+ */
223
+ protected static function after_tags( $content ) {
224
+ $before = $content;
225
+ foreach ( explode( ',', self::INSERT_AFTER_TAGS ) as $tag ) {
226
+ $opening_tag = '<' . $tag;
227
+ $closing_tag = '</' . $tag;
228
+
229
+ $closing_pos = strpos( $content, $closing_tag );
230
+
231
+ // If no closing tag found, nothing to do with this tag.
232
+ if ( false === $closing_pos ) {
233
+ continue;
234
+ }
235
+
236
+ $opening_pos = strpos( $content, $opening_tag );
237
+
238
+ // If closing tag found _after_ opening tag, nothing to do with this tag.
239
+ if ( false !== $opening_pos && $opening_pos < $closing_pos ) {
240
+ continue;
241
+ }
242
+
243
+ // Ok... we found a tag that we should scoot behind.
244
+ $split = substr( $content, $closing_pos + strlen( $closing_tag ) );
245
+ $content = substr( $split, strpos( $split, '>' ) + 1 );
246
+ }
247
+
248
+ return $before !== $content
249
+ // Recursive checks until we've gotten them all.
250
+ ? self::after_tags( $content )
251
+ : $content;
252
+ }
253
+
254
+ }
OMAPI/InstallSkin.php CHANGED
@@ -42,7 +42,7 @@ class OMAPI_InstallSkin extends WP_Upgrader_Skin {
42
  *
43
  * @param string $string The feedback string.
44
  */
45
- public function feedback( $string, $args = null ) {}
46
 
47
  /**
48
  * Empty out JavaScript output that calls function to decrement the update counts.
42
  *
43
  * @param string $string The feedback string.
44
  */
45
+ public function feedback( $string, ...$args ) {}
46
 
47
  /**
48
  * Empty out JavaScript output that calls function to decrement the update counts.
OMAPI/Menu.php CHANGED
@@ -20,6 +20,13 @@ if ( ! defined( 'ABSPATH' ) ) {
20
  */
21
  class OMAPI_Menu {
22
 
 
 
 
 
 
 
 
23
  /**
24
  * Holds the class object.
25
  *
@@ -47,24 +54,6 @@ class OMAPI_Menu {
47
  */
48
  public $base;
49
 
50
- /**
51
- * Holds the admin menu slug.
52
- *
53
- * @since 1.0.0
54
- *
55
- * @var string
56
- */
57
- public $hook;
58
-
59
- /**
60
- * Holds a tabindex counter for easy navigation through form fields.
61
- *
62
- * @since 1.0.0
63
- *
64
- * @var int
65
- */
66
- public $tabindex = 429;
67
-
68
  /**
69
  * The OMAPI_Pages object.
70
  *
@@ -107,7 +96,6 @@ class OMAPI_Menu {
107
  * @param bool $isTesting
108
  */
109
  public function __construct( $isTesting = false ) {
110
-
111
  if ( ! $isTesting ) {
112
  // Set our object.
113
  $this->set();
@@ -118,19 +106,8 @@ class OMAPI_Menu {
118
  // Load helper body classes
119
  add_filter( 'admin_body_class', array( $this, 'admin_body_classes' ) );
120
 
121
- add_action( 'admin_notices', array( $this, 'maybe_output_notice' ), 2 );
122
- add_action( 'all_admin_notices', array( $this, 'maybe_output_notice' ), 2 );
123
-
124
  add_filter( 'plugin_action_links_' . plugin_basename( OMAPI_FILE ), array( $this, 'output_plugin_links' ) );
125
  }
126
-
127
- $this->panels = array(
128
- 'optins' => esc_html__( 'Campaigns', 'optin-monster-api' ),
129
- 'api' => esc_html__( 'Authorization', 'optin-monster-api' ),
130
- 'woocommerce' => esc_html__( 'WooCommerce', 'optin-monster-api' ),
131
- 'support' => esc_html__( 'Support', 'optin-monster-api' ),
132
- 'migrate' => esc_html__( 'Migration', 'optin-monster-api' ),
133
- );
134
  }
135
 
136
  /**
@@ -139,11 +116,8 @@ class OMAPI_Menu {
139
  * @since 1.0.0
140
  */
141
  public function set() {
142
-
143
  self::$instance = $this;
144
  $this->base = OMAPI::get_instance();
145
- $this->view = isset( $_GET['optin_monster_api_view'] ) ? stripslashes( $_GET['optin_monster_api_view'] ) : $this->base->get_view();
146
-
147
  }
148
 
149
  /**
@@ -153,45 +127,64 @@ class OMAPI_Menu {
153
  */
154
  public function menu() {
155
  $this->pages = new OMAPI_Pages();
156
-
157
- $parent = $this->base->menu->parent_slug();
158
 
159
  // Filter to change the menu position if there is any conflict with another menu on the same position.
160
  $menu_position = apply_filters( 'optin_monster_api_menu_position', 26 );
161
 
162
- $this->hooks[] = $this->hook = add_menu_page(
163
  'OptinMonster',
164
- 'OptinMonster<span class="om-pulse"></span>',
165
- apply_filters( 'optin_monster_api_menu_cap', 'manage_options', $parent ),
166
- $parent,
167
- array( $this, 'settings_page' ),
168
- 'none',
169
  $menu_position
170
  );
171
 
172
- if ( $this->base->get_api_credentials() ) {
 
 
 
 
 
 
 
 
173
 
174
- $title = isset( $this->panels[ $this->view ] )
175
- ? $this->panels[ $this->view ]
176
- : __( 'Campaigns', 'optin-monster-api' );
177
 
178
- // Just add a placeholder secondary page.
179
- $this->hooks[] = add_submenu_page(
180
- $parent, // parent slug
181
- $title, // page title,
182
- __( 'Campaigns', 'optin-monster-api' ),
183
- apply_filters( 'optin_monster_api_menu_cap', 'manage_options', $parent ), // cap
184
- $parent, // slug
185
- array( $this, 'settings_page' )
186
- );
 
 
187
 
188
- $this->hooks = array_merge( $this->hooks, $this->pages->register_submenu_pages( $parent ) );
189
- } else {
190
- $this->pages->register_submenu_redirects( $parent );
 
 
 
 
 
 
 
 
 
 
 
 
 
191
  }
192
 
193
- // Load global icon font styles.
194
- add_action( 'admin_head', array( $this, 'global_admin_styles' ) );
195
  }
196
 
197
  /**
@@ -203,21 +196,20 @@ class OMAPI_Menu {
203
  */
204
  public function after_menu_registration() {
205
  global $submenu;
206
- $parent = $this->base->menu->parent_slug();
207
 
208
  // Make sure the about page is still the last page.
209
- if ( isset( $submenu[ $parent ] ) ) {
210
  $after = array();
211
  $at_end = array( 'optin-monster-about' );
212
- foreach ( $submenu[ $parent ] as $key => $menu ) {
213
  if ( isset( $menu[2] ) && in_array( $menu[2], $at_end ) ) {
214
  $after[] = $menu;
215
- unset( $submenu[ $parent ][ $key ] );
216
  }
217
  }
218
- $submenu[ $parent ] = array_values( $submenu[ $parent ] );
219
  foreach ( $after as $menu ) {
220
- $submenu[ $parent ][] = $menu;
221
  }
222
  }
223
 
@@ -225,74 +217,10 @@ class OMAPI_Menu {
225
  foreach ( $this->hooks as $hook ) {
226
  if ( ! empty( $hook ) ) {
227
  add_action( 'load-' . $hook, array( $this, 'assets' ) );
228
- add_action( 'load-' . $hook, array( $this->pages, 'load_general_styles' ) );
229
  }
230
  }
231
  }
232
 
233
- /**
234
- * Loads the custom Archie icon.
235
- *
236
- * @since 1.0.0
237
- */
238
- public function global_admin_styles() {
239
- $this->base->output_min_css( 'archie-css.php' );
240
-
241
- // Note: Completed 2019.
242
- if ( ! $this->is_om_page() && $this->should_show_notification_pulse() ) {
243
- $this->base->output_min_css( 'notification-pulse-css.php' );
244
- }
245
- }
246
-
247
- /**
248
- * Should we show the OM menu item notification pulse.
249
- *
250
- * Disabled for now.
251
- *
252
- * @see https://github.com/awesomemotive/optin-monster-wp-api/pull/179
253
- *
254
- * @since 1.9.0
255
- *
256
- * @return bool
257
- */
258
- public function should_show_notification_pulse() {
259
- return false;
260
- }
261
-
262
- /**
263
- * Outputs a notice, if allowed.
264
- *
265
- * @see https://github.com/awesomemotive/optin-monster-wp-api/pull/179
266
- *
267
- * @since 1.9.0
268
- */
269
- public function maybe_output_notice() {
270
- static $hooked = false;
271
- if (
272
- ! $hooked
273
- && $this->should_show_notification_pulse()
274
- && $this->is_om_page()
275
- ) {
276
-
277
- $url = '';
278
- $this->base->output_min_css( 'notification-css.php' );
279
- $this->base->output_view( 'notification.php', compact( 'url' ) );
280
- add_action( 'admin_footer', array( $this, 'handle_closing_notice' ) );
281
- }
282
- $hooked = true;
283
- }
284
-
285
- /**
286
- * Handles the notice-closing and setting the cookie.
287
- *
288
- * @see https://github.com/awesomemotive/optin-monster-wp-api/pull/179
289
- *
290
- * @since 1.9.0
291
- */
292
- public function handle_closing_notice() {
293
- $this->base->output_view( 'notification-close-js.php' );
294
- }
295
-
296
  /**
297
  * Add pages to plugin action links in the Plugins table.
298
  *
@@ -306,11 +234,11 @@ class OMAPI_Menu {
306
 
307
  $new_links = $this->base->get_api_credentials()
308
  ? array(
309
- sprintf( '<a href="%s">%s</a>', $this->get_dashboard_link(), __( 'Campaigns', 'optin-monster-api' ) ),
310
- sprintf( '<a href="%s">%s</a>', $this->get_settings_link(), __( 'Settings', 'optin-monster-api' ) ),
311
  )
312
  : array(
313
- sprintf( '<a href="%s">%s</a>', $this->get_dashboard_link(), __( 'Connect', 'optin-monster-api' ) ),
314
  );
315
 
316
  $links = array_merge( $new_links, $links );
@@ -379,7 +307,6 @@ class OMAPI_Menu {
379
  add_filter( 'admin_footer_text', array( $this, 'footer' ) );
380
  add_action( 'in_admin_header', array( $this, 'output_plugin_screen_banner' ) );
381
  add_action( 'admin_enqueue_scripts', array( $this, 'fix_plugin_js_conflicts' ), 100 );
382
-
383
  }
384
 
385
  /**
@@ -389,14 +316,14 @@ class OMAPI_Menu {
389
  */
390
  public function styles() {
391
  $version = $this->base->asset_version();
 
 
 
392
 
393
- wp_register_style( $this->base->plugin_slug . '-select2', $this->base->url . 'assets/css/select2.min.css', array(), $version );
394
- wp_enqueue_style( $this->base->plugin_slug . '-select2' );
395
- wp_register_style( $this->base->plugin_slug . '-settings', $this->base->url . 'assets/dist/css/settings.min.css', array(), $version );
396
- wp_enqueue_style( $this->base->plugin_slug . '-settings' );
397
 
398
  // Run a hook to load in custom styles.
399
- do_action( 'optin_monster_api_admin_styles', $this->view );
400
 
401
  }
402
 
@@ -406,75 +333,20 @@ class OMAPI_Menu {
406
  * @since 1.0.0
407
  */
408
  public function scripts() {
409
- global $wpdb;
410
-
411
  $version = $this->base->asset_version();
412
 
413
- // Posts query.
414
- $postTypes = array_map( 'esc_sql', get_post_types( array( 'public' => true ) ) );
415
- $postTypes = implode( "','", $postTypes );
416
-
417
- $sql = "
418
- SELECT ID AS `id`, post_title AS `text`
419
- FROM $wpdb->posts
420
- WHERE post_type IN ( '{$postTypes}' )
421
- AND post_status IN ('publish','future')
422
- ORDER BY post_title ASC
423
- ";
424
- $posts = $wpdb->get_results( $sql, ARRAY_A );
425
-
426
- // Taxonomies query.
427
- $sql = "
428
- SELECT terms.term_id AS 'id', terms.name AS 'text'
429
- FROM {$wpdb->term_taxonomy} tax
430
- LEFT JOIN {$wpdb->terms} terms ON terms.term_id = tax.term_id
431
- WHERE tax.taxonomy = 'post_tag'
432
- ORDER BY text ASC
433
- ";
434
- $tags = $wpdb->get_results( $sql, ARRAY_A );
435
-
436
- wp_register_script( $this->base->plugin_slug . '-select2', $this->base->url . 'assets/js/select2.min.js', array( 'jquery' ), $version, true );
437
- wp_enqueue_script( $this->base->plugin_slug . '-select2' );
438
- wp_register_script( $this->base->plugin_slug . '-connect', $this->base->url . 'assets/dist/js/connect.min.js', array( 'jquery' ), $version, true );
439
  wp_register_script(
440
- $this->base->plugin_slug . '-settings',
441
- $this->base->url . 'assets/dist/js/settings.min.js',
442
- array(
443
- 'jquery',
444
- 'jquery-ui-core',
445
- 'jquery-ui-datepicker',
446
- 'underscore',
447
- $this->base->plugin_slug . '-select2',
448
- $this->base->plugin_slug . '-connect',
449
- ),
450
  $version,
451
  true
452
  );
453
 
454
- wp_localize_script(
455
- $this->base->plugin_slug . '-connect',
456
- 'OMAPI',
457
- array(
458
- 'posts' => $posts,
459
- 'tags' => $tags,
460
- 'app_url' => trailingslashit( OPTINMONSTER_APP_URL ),
461
- 'blogname' => esc_attr( get_option( 'blogname' ) ),
462
- 'root' => esc_url_raw( rest_url() ),
463
- 'nonce' => wp_create_nonce( 'wp_rest' ),
464
- 'confirm' => __( 'Are you sure you want to reset these settings?', 'optin-monster-api' ),
465
- )
466
- );
467
- wp_enqueue_script( $this->base->plugin_slug . '-settings' );
468
- wp_register_script( $this->base->plugin_slug . '-clipboard', $this->base->url . 'assets/js/clipboard.min.js', array( $this->base->plugin_slug . '-settings' ), $version, true );
469
- wp_enqueue_script( $this->base->plugin_slug . '-clipboard' );
470
- wp_register_script( $this->base->plugin_slug . '-tooltip', $this->base->url . 'assets/js/tooltip.min.js', array( $this->base->plugin_slug . '-settings' ), $version, true );
471
- wp_enqueue_script( $this->base->plugin_slug . '-tooltip' );
472
- wp_register_script( $this->base->plugin_slug . '-jspdf', $this->base->url . 'assets/js/jspdf.min.js', array( $this->base->plugin_slug . '-settings' ), $version, true );
473
- wp_enqueue_script( $this->base->plugin_slug . '-jspdf' );
474
 
475
  // Run a hook to load in custom styles.
476
- do_action( 'optin_monster_api_admin_scripts', $this->view );
477
-
478
  }
479
 
480
  /**
@@ -499,1128 +371,117 @@ class OMAPI_Menu {
499
  * @return string $text Amended admin footer text.
500
  */
501
  public function footer( $text ) {
502
-
503
  $url = 'https://wordpress.org/support/plugin/optinmonster/reviews?filter=5#new-post';
504
  $text = sprintf( __( 'Please rate <strong>OptinMonster</strong> <a href="%1$s" target="_blank" rel="noopener">&#9733;&#9733;&#9733;&#9733;&#9733;</a> on <a href="%2$s" target="_blank" rel="noopener noreferrer">WordPress.org</a> to help us spread the word. Thank you from the OptinMonster team!', 'optin-monster-api' ), $url, $url );
505
- return $text;
506
-
507
- }
508
-
509
- /**
510
- * Outputs the OptinMonster settings page.
511
- *
512
- * @since 1.0.0
513
- */
514
- public function settings_page() {
515
- $first = true;
516
-
517
- ?>
518
- <div class="wrap omapi-page">
519
- <h2></h2>
520
- <div class="omapi-ui">
521
- <div class="omapi-tabs">
522
- <ul class="omapi-panels">
523
- <?php foreach ( $this->get_panels() as $id => $panel ) :
524
- $first = $first ? ' omapi-panel-first' : '';
525
- $active = $id == $this->view ? ' omapi-panel-active' : '';
526
- ?>
527
- <li class="omapi-panel omapi-panel-<?php echo sanitize_html_class( $id ); ?><?php echo $first . $active; ?>"><a href="<?php echo esc_url_raw( $this->get_settings_link( $id ) ); ?>" class="omapi-panel-link" data-panel="<?php echo $id; ?>" data-panel-title="<?php echo $panel; ?>"><?php echo $panel; ?></a></li>
528
- <?php $first = false; endforeach; ?>
529
- </ul>
530
- </div>
531
- <div class="omapi-tabs-content">
532
- <?php
533
- foreach ( $this->get_panels() as $id => $panel ) :
534
- $active = $id == $this->view ? ' omapi-content-active' : '';
535
- ?>
536
- <div class="omapi-content omapi-content-<?php echo sanitize_html_class( $id ); ?><?php echo $active; ?>">
537
- <?php
538
- do_action( 'optin_monster_api_content_before', $id, $panel, $this, $active );
539
- do_action( 'optin_monster_api_content_' . $id, $panel, $this, $active );
540
- do_action( 'optin_monster_api_content_after', $id, $panel, $this, $active );
541
- ?>
542
- </div>
543
- <?php endforeach; ?>
544
- </div>
545
- </div>
546
- </div>
547
- <?php
548
-
549
- }
550
-
551
- /**
552
- * Retrieves the available tab panels.
553
- *
554
- * @since 1.0.0
555
- *
556
- * @return array $panels Array of tab panels.
557
- */
558
- public function get_panels() {
559
-
560
- // Only load the API panel if no API credentials have been set.
561
- $panels = array();
562
- $creds = $this->base->get_api_credentials();
563
- $can_migrate = $this->base->can_migrate();
564
- $is_legacy_active = $this->base->is_legacy_active();
565
- $is_minimum_woo = OMAPI_WooCommerce::is_minimum_version();
566
- $can_manage_woo = current_user_can( 'manage_woocommerce' );
567
-
568
- // Set panels requiring credentials.
569
- if ( $creds ) {
570
- $panels['optins'] = $this->panels['optins'];
571
- }
572
-
573
- // Set default panels.
574
- $panels['api'] = $this->panels['api'];
575
-
576
- // Set the WooCommerce panel.
577
- if ( $creds && ( $is_minimum_woo || OMAPI_WooCommerce::is_connected() ) && $can_manage_woo ) {
578
- $panels['woocommerce'] = $this->panels['woocommerce'];
579
- }
580
-
581
- // Set the Support panel
582
- $panels['support'] = $this->panels['support'];
583
-
584
- // Set the migration panel.
585
- if ( $creds && $can_migrate && $is_legacy_active ) {
586
- $panels['migrate'] = $this->panels['migrate'];
587
- }
588
-
589
- return apply_filters( 'optin_monster_api_panels', $panels );
590
-
591
- }
592
-
593
- /**
594
- * Retrieves the setting UI for the setting specified.
595
- *
596
- * @since 1.0.0
597
- *
598
- * @param string $id The optin ID to target.
599
- * @param string $setting The possible subkey setting for the option.
600
- * @return string HTML setting string.
601
- */
602
- public function get_setting_ui( $id, $setting = '' ) {
603
-
604
- // Prepare variables.
605
- $ret = '';
606
- $optin_id = isset( $_GET['optin_monster_api_id'] ) ? absint( $_GET['optin_monster_api_id'] ) : 0;
607
- $value = 'optins' == $id ? get_post_meta( $optin_id, '_omapi_' . $setting, true ) : $this->base->get_option( $id, $setting );
608
- $optin = get_post( $optin_id );
609
-
610
- // Load the type of setting UI based on the option.
611
- switch ( $id ) {
612
- case 'api':
613
- switch ( $setting ) {
614
- case 'user':
615
- $ret = $this->get_password_field( $setting, $value, $id, esc_html__( 'Legacy API Username', 'optin-monster-api' ), esc_html__( 'The Legacy API Username found in your OptinMonster Account API area.', 'optin-monster-api' ), esc_html__( 'Enter your Legacy API Username here...', 'optin-monster-api' ) );
616
- break 2;
617
-
618
- case 'key':
619
- $ret = $this->get_password_field( $setting, $value, $id, esc_html__( 'Legacy API Key', 'optin-monster-api' ), esc_html__( 'The Legacy API Key found in your OptinMonster Account API area.', 'optin-monster-api' ), esc_html__( 'Enter your Legacy API Key here...', 'optin-monster-api' ) );
620
- break 2;
621
-
622
- case 'apikey':
623
- $ret = $this->get_api_field( $setting, $value, 'omapiAuthorizeButton', esc_html__( 'Authorize OptinMonster', 'optin-monster-api' ), sprintf( esc_html__( 'Click to connect your OptinMonster Account, or %1$s click here to enter an API Key Manually.%2$s', 'optin-monster-api' ), '<a href="#" id="omapiShowApiKey">', '</a>' ) );
624
- $ret .= $this->get_password_field( $setting, $value, $id, esc_html__( 'API Key', 'optin-monster-api' ), esc_html__( 'A single API Key found in your OptinMonster Account API area.', 'optin-monster-api' ), esc_html__( 'Enter your API Key here...', 'optin-monster-api' ), array(), true );
625
- add_filter( 'omapi_hide_submit_buttom', '__return_true' );
626
- break 2;
627
-
628
- case 'omwpdebug':
629
- $ret = $this->get_checkbox_field( $setting, $value, $id, esc_html__( 'Debugging Rules', 'optin-monster-api' ), __( 'Allow logged-out/non-admin debugging of plugin rules with the <code>omwpdebug</code> query variable?', 'optin-monster-api' ) );
630
- break 2;
631
- default:
632
- break 2;
633
- }
634
- break;
635
-
636
- case 'settings':
637
- switch ( $setting ) {
638
- case 'cookies':
639
- $ret = $this->get_checkbox_field( $setting, $value, $id, esc_html__( 'Clear local cookies on campaign update?', 'optin-monster-api' ), esc_html__( 'If checked, local cookies will be cleared for all campaigns after campaign settings are adjusted and saved.', 'optin-monster-api' ) );
640
- break 2;
641
- default:
642
- break 2;
643
- }
644
- break;
645
-
646
- case 'woocommerce':
647
- switch ( $setting ) {
648
- case 'settings':
649
- $ret = $this->get_woocommerce();
650
- break 2;
651
- default:
652
- break 2;
653
- }
654
- break;
655
-
656
- case 'support':
657
- switch ( $setting ) {
658
- case 'video':
659
- $ret = '<div class="omapi-half-column"><div class="omapi-video-container"><iframe width="640" height="360" src="https://www.youtube.com/embed/tUoJcp5Z9H0?rel=0&amp;showinfo=0" frameborder="0" allowfullscreen></iframe></div></div>';
660
- break 2;
661
-
662
- case 'links':
663
- $ret = $this->get_support_links( $setting, esc_html__( 'Helpful Links', 'optin-monster-api' ) );
664
- break 2;
665
-
666
- case 'server-report';
667
- $ret = $this->get_plugin_report( $setting, esc_html__( 'Server / Plugin Report', 'optin-monster-api' ) );
668
- break 2;
669
- default:
670
- break 2;
671
- }
672
- break;
673
-
674
- case 'toggle':
675
- switch ( $setting ) {
676
- case 'advanced-start':
677
- $ret = $this->get_toggle_start( $setting, esc_html__( 'Advanced Settings', 'optin-monster-api' ), esc_html__( 'More specific settings available for campaign visibility.', 'optin-monster-api' ) );
678
- break 2;
679
- case 'advanced-end':
680
- $ret = $this->get_toggle_end();
681
- break 2;
682
- case 'woocommerce-start':
683
- $ret = $this->get_toggle_start( $setting, esc_html__( 'WooCommerce Settings', 'optin-monster-api' ), esc_html__( 'More specific settings available for WooCommerce integration.', 'optin-monster-api' ) );
684
- break 2;
685
- case 'woocommerce-end':
686
- $ret = $this->get_toggle_end();
687
- break 2;
688
- default:
689
- break 2;
690
- }
691
- break;
692
-
693
- case 'optins':
694
- switch ( $setting ) {
695
- case 'enabled':
696
- $ret = $this->get_checkbox_field( $setting, $value, $id, esc_html__( 'Enable campaign on site?', 'optin-monster-api' ), esc_html__( 'The campaign will not be displayed on this site unless this setting is checked.', 'optin-monster-api' ) );
697
- break 2;
698
-
699
- case 'automatic':
700
- $ret = $this->get_checkbox_field( $setting, $value, $id, esc_html__( 'Display the campaign automatically after blog posts', 'optin-monster-api' ), sprintf( __( 'If no advanced settings are selected below, the campaign will display after every post. You can turn this off and add it manually to your posts by <a href="%s" target="_blank" rel="noopener">clicking here and viewing the tutorial.</a>', 'optin-monster-api' ), 'https://optinmonster.com/docs/how-to-manually-add-an-after-post-or-inline-optin/' ), array( 'omapi-after-post-auto-select' ) );
701
- break 2;
702
- case 'automatic_shortcode':
703
- $full_shortcode = '[optin-monster slug="' . $optin->post_name . '"]';
704
- $ret = $this->get_text_field(
705
- $setting,
706
- $full_shortcode,
707
- $id,
708
- esc_html__( 'Shortcode for this campaign', 'optin-monster-api' ),
709
- sprintf( __( 'Use the shortcode to manually add this campaign to inline to a post or page. <a href="%s" title="Click here to learn more about how this work" target="_blank" rel="noopener">Click here to learn more about how this works.</a>', 'optin-monster-api' ), 'https://optinmonster.com/docs/how-to-manually-add-an-after-post-or-inline-optin/' ),
710
- false,
711
- array(),
712
- true
713
- );
714
- break 2;
715
-
716
- case 'users':
717
- $ret = $this->get_dropdown_field( $setting, $value, $id, $this->get_user_output(), esc_html__( 'Who should see this campaign?', 'optin-monster-api' ), sprintf( __( 'Determines who should be able to view this campaign. Want to hide for newsletter subscribers? <a href="%s" target="_blank" rel="noopener">Click here to learn how.</a>', 'optin-monster-api' ), 'https://optinmonster.com/docs/how-to-hide-optinmonster-from-existing-newsletter-subscribers/' ) );
718
- break 2;
719
-
720
- case 'never':
721
- $val = is_array( $value ) ? implode( ',', $value ) : $value;
722
- $ret = $this->get_custom_field( $setting, '<input type="hidden" value="' . esc_attr( $val ) . '" id="omapi-field-' . $setting . '" class="omapi-select" name="omapi[' . $id . '][' . $setting . ']" data-placeholder="' . esc_attr__( 'Type to search and select post(s)...', 'optin-monster-api' ) . '">', esc_html__( 'Never load campaign on:', 'optin-monster-api' ), esc_html__( 'Never loads the campaign on the selected posts and/or pages. Does not disable automatic Global output.', 'optin-monster-api' ) );
723
- break 2;
724
-
725
- case 'only':
726
- $val = is_array( $value ) ? implode( ',', $value ) : $value;
727
- $ret = $this->get_custom_field( $setting, '<input type="hidden" value="' . esc_attr( $val ) . '" id="omapi-field-' . $setting . '" class="omapi-select" name="omapi[' . $id . '][' . $setting . ']" data-placeholder="' . esc_attr__( 'Type to search and select post(s)...', 'optin-monster-api' ) . '">', esc_html__( 'Load campaign specifically on:', 'optin-monster-api' ), esc_html__( 'Loads the campaign on the selected posts and/or pages.', 'optin-monster-api' ) );
728
- break 2;
729
-
730
- case 'categories':
731
- $categories = get_categories();
732
- if ( $categories ) {
733
- ob_start();
734
- $value = ! empty( $value ) ? array_map( 'intval', (array) $value ) : array();
735
- wp_category_checklist( 0, 0, (array) $value, false, null, true );
736
- $cats = ob_get_clean();
737
- $ret = $this->get_custom_field( 'categories', $cats, esc_html__( 'Load campaign on post categories:', 'optin-monster-api' ) );
738
- }
739
- break;
740
-
741
- case 'taxonomies':
742
- // Attempt to load post tags.
743
- $html = '';
744
- $tags = get_taxonomy( 'post_tag' );
745
- if ( $tags ) {
746
- $tag_terms = get_tags();
747
- if ( $tag_terms ) {
748
- $display = (array) $value;
749
- $display = isset( $display['post_tag'] ) ? implode( ',', $display['post_tag'] ) : '';
750
- $html = $this->get_custom_field( $setting, '<input type="hidden" value="' . esc_attr( $display ) . '" id="omapi-field-' . $setting . '" class="omapi-select" name="tax_input[post_tag][]" data-placeholder="' . esc_attr__( 'Type to search and select post tag(s)...', 'optin-monster-api' ) . '">', esc_html__( 'Load campaign on post tags:', 'optin-monster-api' ), esc_html__( 'Loads the campaign on the selected post tags.', 'optin-monster-api' ) );
751
- }
752
- }
753
-
754
- // Possibly load taxonomies setting if they exist.
755
- $taxonomies = get_taxonomies(
756
- array(
757
- 'public' => true,
758
- '_builtin' => false,
759
- )
760
- );
761
- $taxonomies['post_format'] = 'post_format';
762
- $data = array();
763
-
764
- if ( $this->base->is_woocommerce_active() ) {
765
- unset( $taxonomies['product_cat'] );
766
- unset( $taxonomies['product_tag'] );
767
- }
768
-
769
- // Allow returned taxonmies to be filtered before creating UI.
770
- $taxonomies = apply_filters( 'optin_monster_api_setting_ui_taxonomies', $taxonomies );
771
-
772
- if ( $taxonomies ) {
773
- foreach ( $taxonomies as $taxonomy ) {
774
- $terms = get_terms( $taxonomy );
775
- if ( $terms ) {
776
- ob_start();
777
- $display = (array) $value;
778
- $display = isset( $display[ $taxonomy ] ) ? array_map( 'intval', (array) $display[ $taxonomy ] ) : array();
779
- $tax = get_taxonomy( $taxonomy );
780
- $args = array(
781
- 'descendants_and_self' => 0,
782
- 'selected_cats' => (array) $display,
783
- 'popular_cats' => false,
784
- 'walker' => null,
785
- 'taxonomy' => $taxonomy,
786
- 'checked_ontop' => true,
787
- );
788
- wp_terms_checklist( 0, $args );
789
- $output = ob_get_clean();
790
- if ( ! empty( $output ) ) {
791
- $data[ $taxonomy ] = $this->get_custom_field( 'taxonomies', $output, esc_html__( 'Load campaign on ', 'optin-monster-api' ) . strtolower( $tax->labels->name ) . ':' );
792
- }
793
- }
794
- }
795
- }
796
-
797
- // If we have taxonomies, add them to the taxonomies key.
798
- if ( ! empty( $data ) ) {
799
- foreach ( $data as $setting ) {
800
- $html .= $setting;
801
- }
802
- }
803
-
804
- // Return the data.
805
- $ret = $html;
806
- break;
807
-
808
- case 'show':
809
- $ret = $this->get_custom_field( 'show', $this->get_show_fields( $value ), esc_html__( 'Load campaign on post types and archives:', 'optin-monster-api' ) );
810
- break;
811
-
812
- case 'mailpoet':
813
- $ret = $this->get_checkbox_field( $setting, $value, $id, esc_html__( 'Save lead to MailPoet?', 'optin-monster-api' ), esc_html__( 'If checked, successful campaign leads will be saved to MailPoet.', 'optin-monster-api' ) );
814
- break 2;
815
-
816
- case 'mailpoet_list':
817
- $ret = $this->get_dropdown_field( $setting, $value, $id, $this->base->mailpoet->get_lists(), esc_html__( 'Add lead to this MailPoet list:', 'optin-monster-api' ), esc_html__( 'All successful leads for the campaign will be added to this particular MailPoet list.', 'optin-monster-api' ) );
818
- break 2;
819
-
820
- case 'mailpoet_use_phone':
821
- $phone_field = get_post_meta( $optin_id, '_omapi_mailpoet_phone_field', true );
822
-
823
- $ret = $this->get_checkbox_field( $setting, ! empty( $phone_field ), $id, esc_html__( 'Save phone number to MailPoet?', 'optin-monster-api' ), esc_html__( 'If checked, Phone number will be saved in Mailpoet.', 'optin-monster-api' ) );
824
- break 2;
825
-
826
- case 'mailpoet_phone_field':
827
- $ret .= $this->get_dropdown_field( $setting, $value, $id, $this->base->mailpoet->get_custom_fields(), esc_html__( 'Select the custom field for phone:', 'optin-monster-api' ), esc_html__( 'If you have a custom field for phone numbers, select the field here.', 'optin-monster-api' ) );
828
- break 2;
829
-
830
- // Start WooCommerce settings.
831
- case 'show_on_woocommerce':
832
- $ret = $this->get_checkbox_field( $setting, $value, $id, esc_html__( 'Show on all WooCommerce pages', 'optin-monster-api' ), esc_html__( 'The campaign will show on any page where WooCommerce templates are used.', 'optin-monster-api' ) );
833
- break 2;
834
-
835
- case 'is_wc_shop':
836
- $ret = $this->get_checkbox_field( $setting, $value, $id, esc_html__( 'Show on WooCommerce shop', 'optin-monster-api' ), esc_html__( 'The campaign will show on the product archive page (shop).', 'optin-monster-api' ) );
837
- break 2;
838
-
839
- case 'is_wc_product':
840
- $ret = $this->get_checkbox_field( $setting, $value, $id, esc_html__( 'Show on WooCommerce products', 'optin-monster-api' ), esc_html__( 'The campaign will show on any single product.', 'optin-monster-api' ) );
841
- break 2;
842
-
843
- case 'is_wc_cart':
844
- $ret = $this->get_checkbox_field( $setting, $value, $id, esc_html__( 'Show on WooCommerce Cart', 'optin-monster-api' ), esc_html__( 'The campaign will show on the cart page.', 'optin-monster-api' ) );
845
- break 2;
846
-
847
- case 'is_wc_checkout':
848
- $ret = $this->get_checkbox_field( $setting, $value, $id, esc_html__( 'Show on WooCommerce Checkout', 'optin-monster-api' ), esc_html__( 'The campaign will show on the checkout page.', 'optin-monster-api' ) );
849
- break 2;
850
-
851
- case 'is_wc_account':
852
- $ret = $this->get_checkbox_field( $setting, $value, $id, esc_html__( 'Show on WooCommerce Customer Account', 'optin-monster-api' ), esc_html__( 'The campaign will show on the WooCommerce customer account pages.', 'optin-monster-api' ) );
853
- break 2;
854
-
855
- case 'is_wc_endpoint':
856
- $ret = $this->get_checkbox_field( $setting, $value, $id, esc_html__( 'Show on all WooCommerce Endpoints', 'optin-monster-api' ), esc_html__( 'The campaign will show when on any WooCommerce Endpoint.', 'optin-monster-api' ) );
857
- break 2;
858
- case 'is_wc_endpoint_order_pay':
859
- $ret = $this->get_checkbox_field( $setting, $value, $id, esc_html__( 'Show on WooCommerce Order Pay endpoint', 'optin-monster-api' ), esc_html__( 'The campaign will show when the endpoint page for order pay is displayed.', 'optin-monster-api' ) );
860
- break 2;
861
-
862
- case 'is_wc_endpoint_order_received':
863
- $ret = $this->get_checkbox_field( $setting, $value, $id, esc_html__( 'Show on WooCommerce Order Received endpoint', 'optin-monster-api' ), esc_html__( 'The campaign will show when the endpoint page for order received is displayed.', 'optin-monster-api' ) );
864
- break 2;
865
-
866
- case 'is_wc_endpoint_view_order':
867
- $ret = $this->get_checkbox_field( $setting, $value, $id, esc_html__( 'Show on WooCommerce View Order endpoint', 'optin-monster-api' ), esc_html__( 'The campaign will show when the endpoint page for view order is displayed.', 'optin-monster-api' ) );
868
- break 2;
869
-
870
- case 'is_wc_endpoint_edit_account':
871
- $ret = $this->get_checkbox_field( $setting, $value, $id, esc_html__( 'Show on WooCommerce Edit Account endpoint', 'optin-monster-api' ), esc_html__( 'The campaign will show when the endpoint page for edit account is displayed.', 'optin-monster-api' ) );
872
- break 2;
873
-
874
- case 'is_wc_endpoint_edit_address':
875
- $ret = $this->get_checkbox_field( $setting, $value, $id, esc_html__( 'Show on WooCommerce Edit Address endpoint', 'optin-monster-api' ), esc_html__( 'The campaign will show when the endpoint page for edit address is displayed.', 'optin-monster-api' ) );
876
- break 2;
877
-
878
- case 'is_wc_endpoint_lost_password':
879
- $ret = $this->get_checkbox_field( $setting, $value, $id, esc_html__( 'Show on WooCommerce Lost Password endpoint', 'optin-monster-api' ), esc_html__( 'The campaign will show when the endpoint page for lost password is displayed.', 'optin-monster-api' ) );
880
- break 2;
881
-
882
- case 'is_wc_endpoint_customer_logout':
883
- $ret = $this->get_checkbox_field( $setting, $value, $id, esc_html__( 'Show on WooCommerce Customer Logout endpoint', 'optin-monster-api' ), esc_html__( 'The campaign will show when the endpoint page for customer logout is displayed.', 'optin-monster-api' ) );
884
- break 2;
885
-
886
- case 'is_wc_endpoint_add_payment_method':
887
- $ret = $this->get_checkbox_field( $setting, $value, $id, esc_html__( 'Show on WooCommerce Add Payment Method endpoint', 'optin-monster-api' ), esc_html__( 'The campaign will show when the endpoint page for add payment method is displayed.', 'optin-monster-api' ) );
888
- break 2;
889
-
890
- case 'is_wc_product_category':
891
- $taxonomy = 'product_cat';
892
- $terms = get_terms( $taxonomy );
893
- if ( $terms ) {
894
- ob_start();
895
- $display = isset( $value ) ? (array) $value : array();
896
- $args = array(
897
- 'descendants_and_self' => 0,
898
- 'selected_cats' => $display,
899
- 'popular_cats' => false,
900
- 'walker' => null,
901
- 'taxonomy' => $taxonomy,
902
- 'checked_ontop' => true,
903
- );
904
- wp_terms_checklist( 0, $args );
905
- $output = ob_get_clean();
906
- if ( ! empty( $output ) ) {
907
- $ret = $this->get_custom_field( $setting, $output, esc_html__( 'Show on WooCommerce Product Categories:', 'optin-monster-api' ) );
908
- }
909
- }
910
- break 2;
911
-
912
- case 'is_wc_product_tag':
913
- $taxonomy = 'product_tag';
914
- $terms = get_terms( $taxonomy );
915
- if ( $terms ) {
916
- ob_start();
917
- $display = isset( $value ) ? (array) $value : array();
918
- $args = array(
919
- 'descendants_and_self' => 0,
920
- 'selected_cats' => $display,
921
- 'popular_cats' => false,
922
- 'walker' => null,
923
- 'taxonomy' => $taxonomy,
924
- 'checked_ontop' => true,
925
- );
926
- wp_terms_checklist( 0, $args );
927
- $output = ob_get_clean();
928
- if ( ! empty( $output ) ) {
929
- $ret = $this->get_custom_field( $setting, $output, esc_html__( 'Show on WooCommerce Product Tags:', 'optin-monster-api' ) );
930
- }
931
- }
932
- break 2;
933
-
934
- default:
935
- break 2;
936
- }
937
- break;
938
- case 'note':
939
- switch ( $setting ) {
940
- case 'sidebar_widget_notice':
941
- $ret = $this->get_optin_type_note( $setting, esc_html__( 'Use Widgets to set Sidebar output', 'optin-monster-api' ), esc_html__( 'You can set this campaign to show in your sidebars using the OptinMonster widget within your sidebars.', 'optin-monster-api' ), 'widgets.php', esc_html__( 'Go to Widgets', 'optin-monster-api' ) );
942
- break 2;
943
- default:
944
- break 2;
945
- }
946
- break;
947
- default:
948
- break;
949
- }
950
-
951
- // Return the setting output.
952
- return apply_filters( 'optin_monster_api_setting_ui', $ret, $setting, $id );
953
-
954
- }
955
-
956
- /**
957
- * Returns the user output settings available for an optin.
958
- *
959
- * @since 1.0.0
960
- *
961
- * @return array An array of user dropdown values.
962
- */
963
- public function get_user_output() {
964
-
965
- return apply_filters(
966
- 'optin_monster_api_user_output',
967
- array(
968
- array(
969
- 'name' => esc_html__( 'Show campaign to all visitors and users', 'optin-monster-api' ),
970
- 'value' => 'all',
971
- ),
972
- array(
973
- 'name' => esc_html__( 'Show campaign to only visitors (not logged-in)', 'optin-monster-api' ),
974
- 'value' => 'out',
975
- ),
976
- array(
977
- 'name' => esc_html__( 'Show campaign to only users (logged-in)', 'optin-monster-api' ),
978
- 'value' => 'in',
979
- ),
980
- )
981
- );
982
-
983
- }
984
-
985
-
986
- /**
987
- * Retrieves the UI output for the single posts show setting.
988
- *
989
- * @since 1.9.10
990
- *
991
- * @param array $value The meta index value for the show setting.
992
- * @return string $html HTML representation of the data.
993
- */
994
- public function get_show_fields( $value ) {
995
-
996
- // Increment the global tabindex counter.
997
- $this->tabindex++;
998
-
999
- $output = '<label for="omapi-field-show-index" class="omapi-custom-label">';
1000
- $output .= '<input type="checkbox" id="omapi-field-show-index" name="omapi[optins][show][]" value="index"' . checked( in_array( 'index', (array) $value ), 1, false ) . ' /> ' . esc_html__( 'Front Page and Search Pages', 'optin-monster-api' ) . '</label><br />';
1001
- $post_types = get_post_types( array( 'public' => true ) );
1002
- foreach ( (array) $post_types as $show ) {
1003
- $pt_object = get_post_type_object( $show );
1004
- $label = $pt_object->labels->name;
1005
- $output .= '<label for="omapi-field-show-' . esc_html( strtolower( $label ) ) . '" class="omapi-custom-label">';
1006
- $output .= '<input type="checkbox" id="omapi-field-show-' . esc_html( strtolower( $label ) ) . '" name="omapi[optins][show][]" tabindex="' . $this->tabindex . '" value="' . esc_attr( $show ) . '"' . checked( in_array( $show, (array) $value ), 1, false ) . ' /> ' . esc_html( $label ) . '</label><br />';
1007
-
1008
- // Increment the global tabindex counter and iterator.
1009
- $this->tabindex++;
1010
- }
1011
-
1012
- return $output;
1013
-
1014
- }
1015
-
1016
- /**
1017
- * Retrieves the UI output for a plain text input field setting.
1018
- *
1019
- * @since 1.0.0
1020
- *
1021
- * @param string $setting The name of the setting to be saved to the DB.
1022
- * @param mixed $value The value of the setting.
1023
- * @param string $id The setting ID to target for name field.
1024
- * @param string $label The label of the input field.
1025
- * @param string $desc The description for the input field.
1026
- * @param string $place Placeholder text for the field.
1027
- * @param array $classes Array of classes to add to the field.
1028
- * @param boolean $copy Turn on clipboard copy button and make field readonly
1029
- * @return string $html HTML representation of the data.
1030
- */
1031
- public function get_text_field( $setting, $value, $id, $label, $desc = false, $place = false, $classes = array(), $copy = false ) {
1032
-
1033
- // Increment the global tabindex counter.
1034
- $this->tabindex++;
1035
-
1036
- // Check for copy set
1037
- $readonly_output = $copy ? 'readonly' : '';
1038
-
1039
- // Build the HTML.
1040
- $field = '<div class="omapi-field-box omapi-text-field omapi-field-box-' . $setting . ' omapi-clear">';
1041
- $field .= '<p class="omapi-field-wrap"><label for="omapi-field-' . $setting . '">' . $label . '</label><br />';
1042
- $field .= '<input type="text" id="omapi-field-' . $setting . '" class="' . implode( ' ', (array) $classes ) . '" name="omapi[' . $id . '][' . $setting . ']" tabindex="' . $this->tabindex . '" value="' . esc_attr( $value ) . '"' . ( $place ? ' placeholder="' . $place . '"' : '' ) . $readonly_output . ' />';
1043
- if ( $copy ) {
1044
- $field .= '<span class="omapi-copy-button button" data-clipboard-target="#omapi-field-' . $setting . '">Copy to clipboard</span>';
1045
- }
1046
- if ( $desc ) {
1047
- $field .= '<br /><label for="omapi-field-' . $setting . '"><span class="omapi-field-desc">' . $desc . '</span></label>';
1048
- }
1049
- $field .= '</p>';
1050
- $field .= '</div>';
1051
-
1052
- // Return the HTML.
1053
- return apply_filters( 'optin_monster_api_text_field', $field, $setting, $value, $id, $label );
1054
-
1055
- }
1056
-
1057
- /**
1058
- * Retrieves the UI output for a password input field setting.
1059
- *
1060
- * @since 1.0.0
1061
- *
1062
- * @param string $setting The name of the setting to be saved to the DB.
1063
- * @param mixed $value The value of the setting.
1064
- * @param string $id The setting ID to target for name field.
1065
- * @param string $label The label of the input field.
1066
- * @param string $desc The description for the input field.
1067
- * @param string $place Placeholder text for the field.
1068
- * @param array $classes Array of classes to add to the field.
1069
- * @param bool $hidden If the field should be hidden by default.
1070
- * @return string $html HTML representation of the data.
1071
- */
1072
- public function get_password_field( $setting, $value, $id, $label, $desc = false, $place = false, $classes = array(), $hidden = false ) {
1073
-
1074
- // Increment the global tabindex counter.
1075
- $this->tabindex++;
1076
-
1077
- // if the field should be hidden, add the omapi-hidden class
1078
- $hidden_class = $hidden ? 'omapi-hidden' : '';
1079
-
1080
- // Build the HTML.
1081
- $field = '<div class="omapi-field-box omapi-password-field omapi-field-box-' . $setting . ' omapi-clear ' . $hidden_class . '">';
1082
- $field .= '<p class="omapi-field-wrap"><label for="omapi-field-' . $setting . '">' . $label . '</label><br />';
1083
- $field .= '<input type="password" id="omapi-field-' . $setting . '" class="' . implode( ' ', (array) $classes ) . '" name="omapi[' . $id . '][' . $setting . ']" tabindex="' . $this->tabindex . '" value="' . esc_attr( $value ) . '"' . ( $place ? ' placeholder="' . $place . '"' : '' ) . ' />';
1084
- if ( $desc ) {
1085
- $field .= '<br /><label for="omapi-field-' . $setting . '"><span class="omapi-field-desc">' . $desc . '</span></label>';
1086
- }
1087
- $field .= '</p>';
1088
- $field .= '</div>';
1089
-
1090
- // Return the HTML.
1091
- return apply_filters( 'optin_monster_api_password_field', $field, $setting, $value, $id, $label );
1092
 
 
1093
  }
1094
 
1095
  /**
1096
- * Retrieves the UI output for a password input field setting.
1097
- *
1098
- * @since 1.8.0
1099
  *
1100
- * @param string $setting The name of the setting to be saved to the DB.
1101
- * @param mixed $value The value of the setting.
1102
- * @param string $id The setting ID to target for name field.
1103
- * @param string $label The label of the input field.
1104
- * @param string $desc The description for the input field.
1105
- * @return string $html HTML representation of the data.
1106
  */
1107
- public function get_api_field( $setting, $value, $id, $label, $desc = false ) {
1108
-
1109
- // Increment the global tabindex counter.
1110
- $this->tabindex++;
1111
- $value = trim( $value );
1112
-
1113
- // Build the HTML.
1114
- $field = '<div class="omapi-field-box omapi-field-wrap omapi-api-field omapi-field-box-' . $setting . ' omapi-clear">';
1115
- if ( empty( $value ) ) {
1116
- $field .= "<p><input type='submit' id='{$id}' class='button button-primary button-large button-hero' value='{$label}'></p>";
1117
- if ( $desc ) {
1118
- $field .= '<p><label for="omapi-field-' . $setting . '"><span class="omapi-field-desc">' . $desc . '</span></label></p>';
 
 
1119
  }
1120
- } else {
1121
- $field .= '<p>' . __( 'Your account is <strong>connected.</strong>', 'optin-monster-api' ) . '</p><p><button id="omapiDisconnectButton" class="button button-omapi-gray button-hero">' . esc_html__( 'Disconnect', 'optin-monster-api' ) . '</button></p>';
1122
- }
1123
- $field .= '</div>';
1124
-
1125
- // Return the HTML.
1126
- return apply_filters( 'optin_monster_api_field', $field, $setting, $value, $id, $label );
1127
-
1128
- }
1129
-
1130
- /**
1131
- * Retrieves the UI output for a hidden input field setting.
1132
- *
1133
- * @since 1.0.0
1134
- *
1135
- * @param string $setting The name of the setting to be saved to the DB.
1136
- * @param mixed $value The value of the setting.
1137
- * @param string $id The setting ID to target for name field.
1138
- * @param array $classes Array of classes to add to the field.
1139
- * @return string $html HTML representation of the data.
1140
- */
1141
- public function get_hidden_field( $setting, $value, $id, $classes = array() ) {
1142
-
1143
- // Increment the global tabindex counter.
1144
- $this->tabindex++;
1145
 
1146
- // Build the HTML.
1147
- $field = '<div class="omapi-field-box omapi-hidden-field omapi-field-box-' . $setting . ' omapi-clear omapi-hidden">';
1148
- $field .= '<input type="hidden" id="omapi-field-' . $setting . '" class="' . implode( ' ', (array) $classes ) . '" name="omapi[' . $id . '][' . $setting . ']" tabindex="' . $this->tabindex . '" value="' . esc_attr( $value ) . '" />';
1149
- $field .= '</div>';
1150
-
1151
- // Return the HTML.
1152
- return apply_filters( 'optin_monster_api_hidden_field', $field, $setting, $value, $id );
1153
-
1154
- }
1155
- /**
1156
- * Retrieves the UI output for a plain textarea field setting.
1157
- *
1158
- * @since 1.0.0
1159
- *
1160
- * @param string $setting The name of the setting to be saved to the DB.
1161
- * @param mixed $value The value of the setting.
1162
- * @param string $id The setting ID to target for name field.
1163
- * @param string $label The label of the input field.
1164
- * @param string $desc The description for the input field.
1165
- * @param string $place Placeholder text for the field.
1166
- * @param array $classes Array of classes to add to the field.
1167
- * @return string $html HTML representation of the data.
1168
- */
1169
- public function get_textarea_field( $setting, $value, $id, $label, $desc = false, $place = false, $classes = array() ) {
1170
-
1171
- // Increment the global tabindex counter.
1172
- $this->tabindex++;
1173
-
1174
- // Build the HTML.
1175
- $field = '<div class="omapi-field-box omapi-textarea-field omapi-field-box-' . $setting . ' omapi-clear">';
1176
- $field .= '<p class="omapi-field-wrap"><label for="omapi-field-' . $setting . '">' . $label . '</label><br />';
1177
- $field .= '<textarea id="omapi-field-' . $setting . '" class="' . implode( ' ', (array) $classes ) . '" name="omapi[' . $id . '][' . $setting . ']" rows="5" tabindex="' . $this->tabindex . '"' . ( $place ? ' placeholder="' . $place . '"' : '' ) . '>' . $value . '</textarea>';
1178
- if ( $desc ) {
1179
- $field .= '<br /><label for="omapi-field-' . $setting . '"><span class="omapi-field-desc">' . $desc . '</span></label>';
1180
- }
1181
- $field .= '</p>';
1182
- $field .= '</div>';
1183
-
1184
- // Return the HTML.
1185
- return apply_filters( 'optin_monster_api_textarea_field', $field, $setting, $value, $id, $label );
1186
-
1187
- }
1188
-
1189
- /**
1190
- * Retrieves the UI output for a checkbox setting.
1191
- *
1192
- * @since 1.0.0
1193
- *
1194
- * @param string $setting The name of the setting to be saved to the DB.
1195
- * @param mixed $value The value of the setting.
1196
- * @param string $id The setting ID to target for name field.
1197
- * @param string $label The label of the input field.
1198
- * @param string $desc The description for the input field.
1199
- * @param array $classes Array of classes to add to the field.
1200
- * @return string $html HTML representation of the data.
1201
- */
1202
- public function get_checkbox_field( $setting, $value, $id, $label, $desc = false, $classes = array() ) {
1203
-
1204
- // Increment the global tabindex counter.
1205
- $this->tabindex++;
1206
-
1207
- // Build the HTML.
1208
- $field = '<div class="omapi-field-box omapi-checkbox-field omapi-field-box-' . $setting . ' omapi-clear">';
1209
- $field .= '<p class="omapi-field-wrap"><label for="omapi-field-' . $setting . '">' . $label . '</label><br />';
1210
- $field .= '<input type="checkbox" id="omapi-field-' . $setting . '" class="' . implode( ' ', (array) $classes ) . '" name="omapi[' . $id . '][' . $setting . ']" tabindex="' . $this->tabindex . '" value="' . esc_attr( $value ) . '"' . checked( $value, 1, false ) . ' /> ';
1211
- if ( $desc ) {
1212
- $field .= '<label for="omapi-field-' . $setting . '"><span class="omapi-field-desc">' . $desc . '</span></label>';
1213
- }
1214
- $field .= '</p>';
1215
- $field .= '</div>';
1216
-
1217
- // Return the HTML.
1218
- return apply_filters( 'optin_monster_api_checkbox_field', $field, $setting, $value, $id, $label );
1219
-
1220
- }
1221
-
1222
- /**
1223
- * Retrieves the UI output for a dropdown field setting.
1224
- *
1225
- * @since 1.0.0
1226
- *
1227
- * @param string $setting The name of the setting to be saved to the DB.
1228
- * @param mixed $value The value of the setting.
1229
- * @param string $id The setting ID to target for name field.
1230
- * @param array $data The data to be used for option fields.
1231
- * @param string $label The label of the input field.
1232
- * @param string $desc The description for the input field.
1233
- * @param array $classes Array of classes to add to the field.
1234
- * @return string $html HTML representation of the data.
1235
- */
1236
- public function get_dropdown_field( $setting, $value, $id, $data, $label, $desc = false, $classes = array() ) {
1237
-
1238
- // Increment the global tabindex counter.
1239
- $this->tabindex++;
1240
-
1241
- // Build the HTML.
1242
- $field = '<div class="omapi-field-box omapi-dropdown-field omapi-field-box-' . $setting . ' omapi-clear">';
1243
- $field .= '<p class="omapi-field-wrap"><label for="omapi-field-' . $setting . '">' . $label . '</label><br />';
1244
- $field .= '<select id="omapi-field-' . $setting . '" class="' . implode( ' ', (array) $classes ) . '" name="omapi[' . $id . '][' . $setting . ']" tabindex="' . $this->tabindex . '">';
1245
- foreach ( $data as $i => $info ) {
1246
- $field .= '<option value="' . esc_attr( $info['value'] ) . '"' . selected( $info['value'], $value, false ) . '>' . $info['name'] . '</option>';
1247
- }
1248
- $field .= '</select>';
1249
- if ( $desc ) {
1250
- $field .= '<br /><label for="omapi-field-' . $setting . '"><span class="omapi-field-desc">' . $desc . '</span></label>';
1251
  }
1252
- $field .= '</p>';
1253
- $field .= '</div>';
1254
-
1255
- // Return the HTML.
1256
- return apply_filters( 'omapi_dropdown_field', $field, $setting, $value, $id, $label, $data );
1257
 
 
1258
  }
1259
 
1260
  /**
1261
- * Retrieves the UI output for a field with a custom output.
1262
  *
1263
- * @since 1.0.0
1264
  *
1265
- * @param string $setting The name of the setting to be saved to the DB.
1266
- * @param mixed $value The value of the setting.
1267
- * @param string $label The label of the input field.
1268
- * @param string $desc The description for the input field.
1269
- * @return string $html HTML representation of the data.
1270
  */
1271
- public function get_custom_field( $setting, $value, $label, $desc = false ) {
1272
-
1273
- // Build the HTML.
1274
- $field = '<div class="omapi-field-box omapi-custom-field omapi-field-box-' . $setting . ' omapi-clear">';
1275
- $field .= '<p class="omapi-field-wrap"><label for="omapi-field-' . $setting . '">' . $label . '</label></p>';
1276
- $field .= $value;
1277
- if ( $desc ) {
1278
- $field .= '<br /><label for="omapi-field-' . $setting . '"><span class="omapi-field-desc">' . $desc . '</span></label>';
1279
- }
1280
- $field .= '</div>';
1281
-
1282
- // Return the HTML.
1283
- return apply_filters( 'optin_monster_api_custom_field', $field, $setting, $value, $label );
1284
-
1285
  }
1286
 
1287
  /**
1288
- * Starts the toggle wrapper for a toggle section.
1289
  *
1290
- * @since 1.1.5
1291
- *
1292
- * @param $label
1293
- * @param $desc
1294
- *
1295
- * @return mixed|void
1296
- */
1297
- public function get_toggle_start( $setting, $label, $desc ) {
1298
- $field = '<div class="omapi-ui-toggle-controller">';
1299
- $field .= '<p class="omapi-field-wrap"><label for="omapi-field-' . $setting . '">' . $label . '</label></p>';
1300
- if ( $desc ) {
1301
- $field .= '<span class="omapi-field-desc">' . $desc . '</span>';
1302
- }
1303
- $field .= '</div>';
1304
- $field .= '<div class="omapi-ui-toggle-content">';
1305
-
1306
- return apply_filters( 'optin_monster_api_toggle_start_field', $field, $label, $desc );
1307
- }
1308
-
1309
- /**
1310
- * Closes toggle wrapper.
1311
  *
1312
- * @since 1.1.5
1313
- * @return string HTML end for toggle start
1314
  */
1315
- public function get_toggle_end() {
1316
-
1317
- $field = '</div>';
1318
-
1319
- return apply_filters( 'optin_monster_api_toggle_end_field', $field );
1320
  }
1321
 
1322
  /**
1323
- * Helper note output with title, text, and admin linked button.
1324
- *
1325
- * @since 1.1.5
1326
- *
1327
- * @param $setting
1328
- * @param $title
1329
- * @param $text
1330
- * @param $admin_page
1331
- * @param $button
1332
  *
1333
- * @return mixed|void
1334
- */
1335
- public function get_optin_type_note( $setting, $title, $text, $admin_page, $button ) {
1336
-
1337
- $field = '<div class="omapi-field-box omapi-inline-notice omapi-field-box-' . $setting . ' omapi-clear">';
1338
- if ( $title ) {
1339
- $field .= '<p class="omapi-notice-title">' . $title . '</p>';
1340
- }
1341
- if ( $text ) {
1342
- $field .= '<p class="omapi-field-desc">' . $text . '</p>';
1343
- }
1344
- if ( $admin_page && $button ) {
1345
- // Increment the global tabindex counter.
1346
- $this->tabindex++;
1347
- $field .= '<a href="' . esc_url_raw( admin_url( $admin_page ) ) . '" class="button button-small" title="' . $button . '" target="_blank">' . $button . '</a>';
1348
- }
1349
- $field .= '</div>';
1350
-
1351
- return apply_filters( 'optin_monster_api_inline_note_display', $field, $title, $text, $admin_page, $button );
1352
- }
1353
-
1354
- /**
1355
- * Support Link output
1356
  *
1357
- * @param $setting
1358
  *
1359
- * @return mixed|void HTML of the list filtered as needed
1360
  */
1361
- public function get_support_links( $setting, $title ) {
1362
-
1363
- $field = '';
1364
-
1365
- $field .= '<div class="omapi-support-links ' . $setting . '"><h3>' . $title . '</h3><ul>';
1366
- $field .= '<li><a target="_blank" rel="noopener" href="' . esc_url( 'https://optinmonster.com/docs/' ) . '">' . esc_html__( 'Documentation', 'optin-monster-api' ) . '</a></li>';
1367
- $field .= '<li><a target="_blank" rel="noopener noreferrer" href="' . esc_url( 'https://wordpress.org/plugins/optinmonster/changelog/' ) . '">' . esc_html__( 'Changelog', 'optin-monster-api' ) . '</a></li>';
1368
- $field .= '<li><a target="_blank" rel="noopener" href="' . esc_url( OPTINMONSTER_APP_URL . '/account/support/' ) . '">' . esc_html__( 'Create a Support Ticket', 'optin-monster-api' ) . '</a></li>';
1369
- $field .= '</ul></div>';
1370
-
1371
- return apply_filters( 'optin_monster_api_support_links', $field, $setting );
1372
- }
1373
-
1374
- public function get_plugin_report( $setting, $title ) {
1375
-
1376
- $field = '';
1377
-
1378
- $field .= '<div class="omapi-support-data ' . $setting . '"><h3>' . $title . '</h3>';
1379
- $link = OPTINMONSTER_APP_URL . '/account/support/';
1380
- $field .= '<p>' . sprintf( wp_kses( __( 'Download the report and attach to your <a href="%s">support ticket</a> to help speed up the process.', 'optin-monster-api' ), array( 'a' => array( 'href' => array() ) ) ), esc_url( $link ) ) . '</p>';
1381
- $field .= '<a href="#" id="js--omapi-support-pdf" class="button button-primary button-large button-hero omapi-support-data-button" title="' . esc_attr__( 'Download a PDF Report for Support', 'optin-monster-api' ) . '" target="_blank">' . esc_html__( 'Download PDF Report', 'optin-monster-api' ) . '</a>';
1382
- $field .= '</div>';
1383
-
1384
- return apply_filters( 'optin_monster_api_support_data', $field, $setting, $title );
1385
  }
1386
 
1387
  /**
1388
- * Returns the WooCommerce tab output.
1389
  *
1390
- * @since 1.7.0
1391
  *
1392
- * @return string $output The WooCommerce panel output.
1393
- */
1394
- public function get_woocommerce() {
1395
-
1396
- $keys_tab = OMAPI_WooCommerce::version_compare( '3.4.0' ) ? 'advanced' : 'api';
1397
- $keys_admin_url = admin_url( "admin.php?page=wc-settings&tab={$keys_tab}&section=keys" );
1398
- $output = '';
1399
-
1400
- if ( ! OMAPI_WooCommerce::is_minimum_version() && OMAPI_WooCommerce::is_connected() ) {
1401
-
1402
- $output .= '<p>' . esc_html( sprintf( __( 'OptinMonster requires WooCommerce %s or above.', 'optin-monster-api' ), OMAPI_WooCommerce::MINIMUM_VERSION ) ) . '</p>'
1403
- . '<p>' . esc_html_x( 'This site is currently running: ', 'the current version of WooCommerce: "WooCommerce x.y.z"', 'optin-monster-api' )
1404
- . '<code>WooCommerce ' . esc_html( OMAPI_WooCommerce::version() ) . '</code>.</p>'
1405
- . '<p>' . esc_html__( 'Please upgrade to the latest version of WooCommerce to enjoy deeper integration with OptinMonster.', 'optin-monster-api' ) . '</p>';
1406
-
1407
- } elseif ( OMAPI_WooCommerce::is_connected() ) {
1408
-
1409
- // Set some default key details.
1410
- $defaults = array(
1411
- 'key_id' => '',
1412
- 'description' => esc_html__( 'no description found', 'optin-monster-api' ),
1413
- 'truncated_key' => esc_html__( 'no truncated key found', 'optin-monster-api' ),
1414
- );
1415
-
1416
- // Get the key details.
1417
- $key_id = $this->base->get_option( 'woocommerce', 'key_id' );
1418
- $details = OMAPI_WooCommerce::get_key_details_by_id( $key_id );
1419
- $r = wp_parse_args( array_filter( $details ), $defaults );
1420
- $description = esc_html( $r['description'] );
1421
- $truncated_key = esc_html( $r['truncated_key'] );
1422
-
1423
- // Set up the key details for output.
1424
- $key_string = "<code>{$description} (&hellip;{$truncated_key})</code>";
1425
- $key_url = esc_url( add_query_arg( 'edit-key', $r['key_id'], $keys_admin_url ) );
1426
-
1427
- $output .= '<p>' . esc_html__( 'WooCommerce is currently connected to OptinMonster with the following key:', 'optin-monster-api' ) . '</p>';
1428
- $output .= '<p>' . $key_string . ' <a href="' . $key_url . '">View key</a></p>';
1429
- $output .= '<p>' . esc_html__( 'You need to disconnect WooCommerce, below, to remove your keys from OptinMonster, or to change the consumer key/secret pair associated with OptinMonster.', 'optin-monster-api' ) . '</p>';
1430
- $output .= $this->get_hidden_field( 'disconnect', '1', 'woocommerce' );
1431
-
1432
- } else {
1433
-
1434
- $output .= '<p>' . sprintf( __( 'In order to integrate WooCommerce with the Display Rules in the campaign builder, OptinMonster needs <a href="%s" target="_blank">WooCommerce REST API credentials</a>. OptinMonster only needs Read access permissions to work. Click below to have us auto-generate the consumer key/secret pair, you can manually enter your own.', 'optin-monster-api' ), esc_url( $keys_admin_url ) ) . '</p>';
1435
- $output .= '<div class="omapi-hidden">';
1436
- $output .= $this->get_text_field(
1437
- 'consumer_key',
1438
- '',
1439
- 'woocommerce',
1440
- esc_html__( 'Consumer key', 'optin-monster-api' ),
1441
- '',
1442
- 'ck_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
1443
- );
1444
- $output .= $this->get_text_field(
1445
- 'consumer_secret',
1446
- '',
1447
- 'woocommerce',
1448
- esc_html__( 'Consumer secret', 'optin-monster-api' ),
1449
- '',
1450
- 'cs_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
1451
- );
1452
- $output .= '<span class="omapi-hidden"><input class="button button-secondary" type="submit" name="omapi_woocommerce_connect" value="' . esc_attr__( 'Connect WooCommerce', 'optin-monster-api' ) . '" /></span>';
1453
- $output .= '</div>';
1454
- }
1455
-
1456
- return $output;
1457
- }
1458
-
1459
- /**
1460
- * Echo out plugin header banner
1461
- *
1462
- * @since 1.1.5.2
1463
- */
1464
- public function output_plugin_screen_banner() {
1465
- $this->base->output_view( 'plugin-banner.php' );
1466
- }
1467
-
1468
- /**
1469
- * Called whenever a signup link is displayed, this function will
1470
- * check if there's an affiliate ID specified.
1471
- *
1472
- * There are three ways to specify an ID, ordered by highest to lowest priority
1473
- * - add_filter( 'optinmonster_sas_id', function() { return 1234; } );
1474
- * - define( 'OPTINMONSTER_SAS_ID', 1234 );
1475
- * - get_option( 'optinmonster_sas_id' ); (with the option being in the wp_options
1476
- * table) If an ID is present, returns the affiliate link with the affiliate ID. If no ID is
1477
- * present, just returns the OptinMonster WP landing page link instead.
1478
- */
1479
- public function get_sas_link() {
1480
-
1481
- global $omSasId;
1482
- $omSasId = '';
1483
-
1484
- // Check if sas ID is a constant
1485
- if ( defined( 'OPTINMONSTER_SAS_ID' ) ) {
1486
- $omSasId = OPTINMONSTER_SAS_ID;
1487
- }
1488
-
1489
- // Now run any filters that may be on the sas ID
1490
- $omSasId = apply_filters( 'optinmonster_sas_id', $omSasId );
1491
-
1492
- /**
1493
- * If we still don't have a sas ID by this point
1494
- * check the DB for an option
1495
- */
1496
- if ( empty( $omSasId ) ) {
1497
- $sasId = get_option( 'optinmonster_sas_id', $omSasId );
1498
- }
1499
-
1500
- // Return the regular WP landing page by default
1501
- $url = self::LANDING_URL;
1502
-
1503
- // Return the sas link if we have a sas ID
1504
- if ( ! empty( $omSasId ) ) {
1505
- $url = $this->get_affiliate_url( $omSasId );
1506
- }
1507
-
1508
- return apply_filters(
1509
- 'optin_monster_action_link',
1510
- $url,
1511
- array(
1512
- 'type' => 'sas',
1513
- 'id' => $omSasId,
1514
- )
1515
- );
1516
- }
1517
-
1518
- /**
1519
- * Called whenever a signup link is displayed, this function will
1520
- * check if there's a trial ID specified.
1521
- *
1522
- * There are three ways to specify an ID, ordered by highest to lowest priority
1523
- * - add_filter( 'optinmonster_trial_id', function() { return 1234; } );
1524
- * - define( 'OPTINMONSTER_TRIAL_ID', 1234 );
1525
- * - get_option( 'optinmonster_trial_id' ); (with the option being in the wp_options
1526
- * table) If an ID is present, returns the trial link with the affiliate ID. If no ID is
1527
- * present, just returns the OptinMonster WP landing page URL.
1528
  */
1529
- public function get_trial_link() {
1530
-
1531
- global $omTrialId;
1532
- $omTrialId = '';
1533
-
1534
- // Check if trial ID is a constant
1535
- if ( defined( 'OPTINMONSTER_TRIAL_ID' ) ) {
1536
- $omTrialId = OPTINMONSTER_TRIAL_ID;
1537
- }
1538
-
1539
- // Now run any filters that may be on the trial ID
1540
- $omTrialId = apply_filters( 'optinmonster_trial_id', $omTrialId );
1541
-
1542
- /**
1543
- * If we still don't have a trial ID by this point
1544
- * check the DB for an option
1545
- */
1546
- if ( empty( $omTrialId ) ) {
1547
- $omTrialId = get_option( 'optinmonster_trial_id', $omTrialId );
1548
- }
1549
-
1550
- // Return the regular WP landing page by default
1551
- $url = self::LANDING_URL;
1552
-
1553
- // Return the trial link if we have a trial ID
1554
- if ( ! empty( $omTrialId ) ) {
1555
- $url = $this->get_affiliate_url( $omTrialId )
1556
- . '%2Ffree-trial%2F%3Fid%3D' . urlencode( trim( $omTrialId ) );
1557
- }
1558
-
1559
- return apply_filters(
1560
- 'optin_monster_action_link',
1561
- $url,
1562
- array(
1563
- 'type' => 'trial',
1564
- 'id' => $omTrialId,
1565
- )
1566
- );
1567
  }
1568
 
1569
  /**
1570
- * Get the affiliate url for given id.
1571
- *
1572
- * @since 1.8.4
1573
- *
1574
- * @param mixed $reference_id The reference ID.
1575
  *
1576
- * @return string The affilaite url.
1577
- */
1578
- public function get_affiliate_url( $reference_id ) {
1579
- return 'https://www.shareasale.com/r.cfm?u='
1580
- . urlencode( trim( $reference_id ) )
1581
- . '&b=601672&m=49337&afftrack=&urllink=optinmonster.com';
1582
- }
1583
-
1584
- public function get_action_link() {
1585
- global $omTrialId;
1586
-
1587
- if ( ! empty( $omTrialId ) ) {
1588
- return $this->get_trial_link();
1589
- }
1590
-
1591
- // Returns the sas or fallback url, which is self::LANDING_URL.
1592
- return $this->get_sas_link();
1593
- }
1594
-
1595
- public function has_trial_link() {
1596
- $link = $this->get_trial_link();
1597
-
1598
- return strpos( $link, 'optinmonster.com/wp' ) === false;
1599
- }
1600
-
1601
- /**
1602
- * Get the parent slug (contextual based on beta being enabled).
1603
  *
1604
- * @since 1.9.10
1605
  *
1606
  * @return string
1607
  */
1608
- public function parent_slug() {
1609
- return 'optin-monster-api-settings';
 
 
 
1610
  }
1611
 
1612
  /**
1613
- * Get the OM settings url.
1614
- *
1615
- * @since 1.9.10
1616
  *
1617
- * @param string $view The view query arg.
1618
- * @param array $args Array of query args.
1619
  *
1620
  * @return string
1621
  */
1622
- public function get_settings_link( $view = '', $args = array() ) {
1623
- return $this->get_dashboard_link( $view, $args );
 
 
 
1624
  }
1625
 
1626
  /**
@@ -1628,20 +489,12 @@ class OMAPI_Menu {
1628
  *
1629
  * @since 1.9.10
1630
  *
1631
- * @param string $view The view query arg.
1632
  * @param array $args Array of query args.
1633
  *
1634
  * @return string
1635
  */
1636
- public function get_dashboard_link( $view = '', $args = array() ) {
1637
- $page = ! $this->base->get_api_credentials() && ! isset( $_GET['om-bypass-api-check'] )
1638
- ? 'optin-monster-api-welcome'
1639
- : $this->parent_slug();
1640
-
1641
- $defaults = array( 'page' => $page );
1642
- if ( $view && 'optin-monster-api-settings' === $page ) {
1643
- $defaults['optin_monster_api_view'] = $view;
1644
- }
1645
 
1646
  return $this->admin_page_url( wp_parse_args( $args, $defaults ) );
1647
  }
@@ -1666,16 +519,51 @@ class OMAPI_Menu {
1666
  *
1667
  * @since 1.9.10
1668
  *
1669
- * @param string $view The view query arg.
1670
  * @param array $args Array of query args.
1671
  *
1672
  * @return void
1673
  */
1674
- public function redirect_to_dashboard( $view = '', $args = array() ) {
1675
- $url = $this->get_dashboard_link( $view, $args );
1676
  wp_safe_redirect( esc_url_raw( $url ) );
1677
  exit;
1678
  }
1679
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1680
 
 
 
 
 
 
 
 
 
 
 
 
1681
  }
20
  */
21
  class OMAPI_Menu {
22
 
23
+ /**
24
+ * The admin page slug.
25
+ *
26
+ * @since 2.0.0
27
+ */
28
+ const SLUG = 'optin-monster-dashboard';
29
+
30
  /**
31
  * Holds the class object.
32
  *
54
  */
55
  public $base;
56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  /**
58
  * The OMAPI_Pages object.
59
  *
96
  * @param bool $isTesting
97
  */
98
  public function __construct( $isTesting = false ) {
 
99
  if ( ! $isTesting ) {
100
  // Set our object.
101
  $this->set();
106
  // Load helper body classes
107
  add_filter( 'admin_body_class', array( $this, 'admin_body_classes' ) );
108
 
 
 
 
109
  add_filter( 'plugin_action_links_' . plugin_basename( OMAPI_FILE ), array( $this, 'output_plugin_links' ) );
110
  }
 
 
 
 
 
 
 
 
111
  }
112
 
113
  /**
116
  * @since 1.0.0
117
  */
118
  public function set() {
 
119
  self::$instance = $this;
120
  $this->base = OMAPI::get_instance();
 
 
121
  }
122
 
123
  /**
127
  */
128
  public function menu() {
129
  $this->pages = new OMAPI_Pages();
130
+ $this->pages->setup();
 
131
 
132
  // Filter to change the menu position if there is any conflict with another menu on the same position.
133
  $menu_position = apply_filters( 'optin_monster_api_menu_position', 26 );
134
 
135
+ $this->hooks[] = add_menu_page(
136
  'OptinMonster',
137
+ 'OptinMonster' . $this->notifications_count(),
138
+ $this->base->access_capability( self::SLUG ),
139
+ self::SLUG,
140
+ array( $this->pages, 'render_app_loading_page' ),
141
+ $this->icon_svg(),
142
  $menu_position
143
  );
144
 
145
+ // Just add a placeholder secondary page.
146
+ $this->hooks[] = add_submenu_page(
147
+ self::SLUG, // parent slug
148
+ __( 'Dashboard', 'optin-monster-api' ), // page title,
149
+ __( 'Dashboard', 'optin-monster-api' ),
150
+ $this->base->access_capability( self::SLUG ), // cap
151
+ self::SLUG, // slug
152
+ array( $this->pages, 'render_app_loading_page' )
153
+ );
154
 
155
+ $this->hooks = array_merge( $this->hooks, $this->pages->register_submenu_pages( self::SLUG ) );
 
 
156
 
157
+ // Register our old api page and redirect to the new dashboard.
158
+ $hook = add_submenu_page(
159
+ self::SLUG . '-hidden',
160
+ 'OptinMonster',
161
+ 'OptinMonster',
162
+ $this->base->access_capability( self::SLUG ),
163
+ 'optin-monster-api-settings',
164
+ '__return_null'
165
+ );
166
+ add_action( 'load-' . $hook, array( $this, 'redirect_to_dashboard' ) );
167
+ }
168
 
169
+ /**
170
+ * Get the Archie SVG, and maybe encode it.
171
+ *
172
+ * @since 1.0.0
173
+ *
174
+ * @param string $fill Color of Archie.
175
+ * @param bool $return_encoded Whether the svg shoud be base_64 encoded.
176
+ *
177
+ * @return string Archie SVG.
178
+ */
179
+ public function icon_svg( $fill = '#a0a5aa', $return_encoded = true ) {
180
+ $icon = file_get_contents( plugin_dir_path( OMAPI_FILE ) . '/assets/images/archie-icon.svg' );
181
+ $icon = str_replace( 'fill="currentColor"', 'fill="' . $fill . '"', $icon );
182
+
183
+ if ( $return_encoded ) {
184
+ $icon = 'data:image/svg+xml;base64,' . base64_encode( $icon );
185
  }
186
 
187
+ return $icon;
 
188
  }
189
 
190
  /**
196
  */
197
  public function after_menu_registration() {
198
  global $submenu;
 
199
 
200
  // Make sure the about page is still the last page.
201
+ if ( isset( $submenu[ self::SLUG ] ) ) {
202
  $after = array();
203
  $at_end = array( 'optin-monster-about' );
204
+ foreach ( $submenu[ self::SLUG ] as $key => $menu ) {
205
  if ( isset( $menu[2] ) && in_array( $menu[2], $at_end ) ) {
206
  $after[] = $menu;
207
+ unset( $submenu[ self::SLUG ][ $key ] );
208
  }
209
  }
210
+ $submenu[ self::SLUG ] = array_values( $submenu[ self::SLUG ] );
211
  foreach ( $after as $menu ) {
212
+ $submenu[ self::SLUG ][] = $menu;
213
  }
214
  }
215
 
217
  foreach ( $this->hooks as $hook ) {
218
  if ( ! empty( $hook ) ) {
219
  add_action( 'load-' . $hook, array( $this, 'assets' ) );
 
220
  }
221
  }
222
  }
223
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
224
  /**
225
  * Add pages to plugin action links in the Plugins table.
226
  *
234
 
235
  $new_links = $this->base->get_api_credentials()
236
  ? array(
237
+ sprintf( '<a href="%s">%s</a>', $this->get_link( 'campaigns' ), __( 'Campaigns', 'optin-monster-api' ) ),
238
+ sprintf( '<a href="%s">%s</a>', $this->get_link( 'settings' ), __( 'Settings', 'optin-monster-api' ) ),
239
  )
240
  : array(
241
+ sprintf( '<a href="%s">%s</a>', $this->get_onboarding_link(), __( 'Get Started', 'optin-monster-api' ) ),
242
  );
243
 
244
  $links = array_merge( $new_links, $links );
307
  add_filter( 'admin_footer_text', array( $this, 'footer' ) );
308
  add_action( 'in_admin_header', array( $this, 'output_plugin_screen_banner' ) );
309
  add_action( 'admin_enqueue_scripts', array( $this, 'fix_plugin_js_conflicts' ), 100 );
 
310
  }
311
 
312
  /**
316
  */
317
  public function styles() {
318
  $version = $this->base->asset_version();
319
+ $prefix = $this->base->plugin_slug . '-';
320
+
321
+ wp_enqueue_style( $prefix . 'font-awesome', $this->base->url . 'assets/css/font-awesome.min.css', array(), $version );
322
 
323
+ wp_enqueue_style( $prefix . 'common', $this->base->url . 'assets/dist/css/common.min.css', array( $prefix . 'font-awesome' ), $version );
 
 
 
324
 
325
  // Run a hook to load in custom styles.
326
+ do_action( 'optin_monster_api_admin_styles' );
327
 
328
  }
329
 
333
  * @since 1.0.0
334
  */
335
  public function scripts() {
 
 
336
  $version = $this->base->asset_version();
337
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
338
  wp_register_script(
339
+ $this->base->plugin_slug . '-admin',
340
+ $this->base->url . 'assets/dist/js/admin.min.js',
341
+ array( 'jquery' ),
 
 
 
 
 
 
 
342
  $version,
343
  true
344
  );
345
 
346
+ wp_enqueue_script( $this->base->plugin_slug . '-admin' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
347
 
348
  // Run a hook to load in custom styles.
349
+ do_action( 'optin_monster_api_admin_scripts' );
 
350
  }
351
 
352
  /**
371
  * @return string $text Amended admin footer text.
372
  */
373
  public function footer( $text ) {
 
374
  $url = 'https://wordpress.org/support/plugin/optinmonster/reviews?filter=5#new-post';
375
  $text = sprintf( __( 'Please rate <strong>OptinMonster</strong> <a href="%1$s" target="_blank" rel="noopener">&#9733;&#9733;&#9733;&#9733;&#9733;</a> on <a href="%2$s" target="_blank" rel="noopener noreferrer">WordPress.org</a> to help us spread the word. Thank you from the OptinMonster team!', 'optin-monster-api' ), $url, $url );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
376
 
377
+ return $text;
378
  }
379
 
380
  /**
381
+ * Echo out plugin header banner
 
 
382
  *
383
+ * @since 1.1.5.2
 
 
 
 
 
384
  */
385
+ public function output_plugin_screen_banner() {
386
+ $path = 'vue/dist';
387
+ $dir = trailingslashit( dirname( $this->base->file ) ) . $path;
388
+ $loader = new OMAPI_AssetLoader( $dir );
389
+ $logo = '#';
390
+ $help = '#';
391
+
392
+ $list = $loader->getAssetsList( $dir );
393
+ foreach ( $list as $item ) {
394
+ if (
395
+ false !== strpos( $item, 'logo-om' )
396
+ && preg_match( '/\.svg$/', $item )
397
+ ) {
398
+ $logo = $loader->getAssetUri( trim( $item, '/' ), $this->base->url . $path );
399
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
400
 
401
+ if ( false !== strpos( $item, '/help-circle.' ) ) {
402
+ $help = $loader->getAssetUri( trim( $item, '/' ), $this->base->url . $path );
403
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
404
  }
 
 
 
 
 
405
 
406
+ $this->base->output_view( 'plugin-banner.php', compact( 'logo', 'help' ) );
407
  }
408
 
409
  /**
410
+ * Get the parent slug (contextual based on beta being enabled).
411
  *
412
+ * @since 1.9.10
413
  *
414
+ * @return string
 
 
 
 
415
  */
416
+ public function parent_slug() {
417
+ return self::SLUG;
 
 
 
 
 
 
 
 
 
 
 
 
418
  }
419
 
420
  /**
421
+ * Get the settings url.
422
  *
423
+ * @param array $args Array of query args.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
424
  *
425
+ * @return string
 
426
  */
427
+ public function get_settings_link( $args = array() ) {
428
+ return $this->get_link( 'settings' );
 
 
 
429
  }
430
 
431
  /**
432
+ * Get a link to an OM admin page.
 
 
 
 
 
 
 
 
433
  *
434
+ * @since 2.0.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
435
  *
436
+ * @param string $page Page shortened slug.
437
  *
438
+ * @return string
439
  */
440
+ public function get_link( $page ) {
441
+ return $this->admin_page_url( array(
442
+ 'page' => 'optin-monster-' . $page,
443
+ ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
444
  }
445
 
446
  /**
447
+ * Get the OM wizard url.
448
  *
449
+ * @since 2.0.0
450
  *
451
+ * @return string
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
452
  */
453
+ public function get_wizard_link() {
454
+ return $this->get_link( 'onboarding-wizard' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
455
  }
456
 
457
  /**
458
+ * Get the campaign output settings edit url.
 
 
 
 
459
  *
460
+ * @since 2.0.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
461
  *
462
+ * @param string $campaign_slug The campaign slug to edit.
463
  *
464
  * @return string
465
  */
466
+ public function edit_output_settings( $campaign_slug ) {
467
+ return $this->admin_page_url( array(
468
+ 'page' => 'optin-monster-campaigns',
469
+ 'campaignId' => $campaign_slug,
470
+ ) );
471
  }
472
 
473
  /**
474
+ * Get the OM onboarding dashboard url.
 
 
475
  *
476
+ * @since 2.0.0
 
477
  *
478
  * @return string
479
  */
480
+ public function get_onboarding_link() {
481
+ return $this->admin_page_url( array(
482
+ 'page' => self::SLUG,
483
+ 'info' => true,
484
+ ) );
485
  }
486
 
487
  /**
489
  *
490
  * @since 1.9.10
491
  *
 
492
  * @param array $args Array of query args.
493
  *
494
  * @return string
495
  */
496
+ public function get_dashboard_link( $args = array() ) {
497
+ $defaults = array( 'page' => self::SLUG );
 
 
 
 
 
 
 
498
 
499
  return $this->admin_page_url( wp_parse_args( $args, $defaults ) );
500
  }
519
  *
520
  * @since 1.9.10
521
  *
 
522
  * @param array $args Array of query args.
523
  *
524
  * @return void
525
  */
526
+ public function redirect_to_dashboard( $args = array() ) {
527
+ $url = $this->get_dashboard_link( $args );
528
  wp_safe_redirect( esc_url_raw( $url ) );
529
  exit;
530
  }
531
 
532
+ /**
533
+ * Add the notifications bubble to the menu.
534
+ *
535
+ * @since 2.0.0
536
+ *
537
+ * @return string Notifications bubble markup.
538
+ */
539
+ public function notifications_count() {
540
+ $count = apply_filters( 'optin_monster_api_notifications_count', 0, $this );
541
+ $count = absint( $count );
542
+ if ( ! $this->base->get_api_credentials() ) {
543
+ $count++;
544
+ }
545
+ $html = '';
546
+
547
+ if ( $count ) {
548
+ $html .= sprintf(
549
+ ' <span class="om-notifications-count update-plugins count-%1$d"><span class="plugin-count">%2$s</span></span>',
550
+ $count,
551
+ esc_html( number_format_i18n( $count ) )
552
+ );
553
+
554
+ }
555
+
556
+ add_action( 'admin_footer', array( $this, 'add_jiggle_css' ) );
557
 
558
+ return $html;
559
+ }
560
+
561
+ /**
562
+ * Output the css that jiggles the OM notification count bubble.
563
+ *
564
+ * @since 2.0.0
565
+ */
566
+ public function add_jiggle_css() {
567
+ $this->base->output_min_css( 'jiggle-css.php' );
568
+ }
569
  }
OMAPI/Notifications.php ADDED
@@ -0,0 +1,657 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Notifications class.
4
+ *
5
+ * @since 2.0.0
6
+ *
7
+ * @package OMAPI
8
+ * @author Justin Sternberg
9
+ */
10
+
11
+ // Exit if accessed directly.
12
+ if ( ! defined( 'ABSPATH' ) ) {
13
+ exit;
14
+ }
15
+
16
+ /**
17
+ * Notifications class.
18
+ *
19
+ * @since 2.0.0
20
+ */
21
+ class OMAPI_Notifications {
22
+
23
+ /**
24
+ * Holds the class object.
25
+ *
26
+ * @since 2.0.0
27
+ *
28
+ * @var object
29
+ */
30
+ public static $instance;
31
+
32
+ /**
33
+ * Path to the file.
34
+ *
35
+ * @since 2.0.0
36
+ *
37
+ * @var string
38
+ */
39
+ public $file = __FILE__;
40
+
41
+ /**
42
+ * Holds the base class object.
43
+ *
44
+ * @since 2.0.0
45
+ *
46
+ * @var object
47
+ */
48
+ public $base;
49
+
50
+ /**
51
+ * Source of notifications content.
52
+ *
53
+ * @since 2.0.0
54
+ *
55
+ * @var string
56
+ */
57
+ const SOURCE_URL = 'https://a.omwpapi.com/production/wp/notifications.json';
58
+
59
+ /**
60
+ * The option where the notifications are stored.
61
+ *
62
+ * @since 2.0.0
63
+ *
64
+ * @var string
65
+ */
66
+ const OPTION_NAME = 'om_notifications';
67
+
68
+ /**
69
+ * Option value.
70
+ *
71
+ * @since 2.0.0
72
+ *
73
+ * @var bool|array
74
+ */
75
+ protected $option = null;
76
+
77
+ /**
78
+ * Primary class constructor.
79
+ *
80
+ * @since 2.0.0
81
+ */
82
+ public function __construct() {
83
+
84
+ // Set our object.
85
+ $this->set();
86
+ $this->hooks();
87
+ }
88
+
89
+ /**
90
+ * Sets our object instance and base class instance.
91
+ *
92
+ * @since 2.0.0
93
+ */
94
+ public function set() {
95
+ self::$instance = $this;
96
+ $this->base = OMAPI::get_instance();
97
+ }
98
+
99
+ /**
100
+ * Register hooks.
101
+ *
102
+ * @since 2.0.0
103
+ */
104
+ public function hooks() {
105
+ add_action( 'optin_monster_api_admin_notifications_update', array( $this, 'update' ) );
106
+ add_filter( 'optin_monster_api_notifications_count', array( $this, 'get_count' ) );
107
+ }
108
+
109
+ /**
110
+ * Check if user has access and is enabled.
111
+ *
112
+ * @since 2.0.0
113
+ *
114
+ * @return bool
115
+ */
116
+ public function has_access() {
117
+ $access = (
118
+ $this->base->can_access( 'notifications' )
119
+ && ! $this->base->get_option( 'hide_announcements' )
120
+ );
121
+
122
+ return apply_filters( 'optin_monster_api_admin_notifications_has_access', $access );
123
+ }
124
+
125
+ /**
126
+ * Get option value.
127
+ *
128
+ * @since 2.0.0
129
+ *
130
+ * @param string $key The option value to get for given key.
131
+ * @param bool $cache Reference property cache if available.
132
+ *
133
+ * @return mixed The notification option array, or requsted value.
134
+ */
135
+ public function get_option( $key = '', $cache = true ) {
136
+ if ( ! $this->option || ! $cache ) {
137
+ $option = get_option( self::OPTION_NAME, array() );
138
+
139
+ $this->option = array(
140
+ 'updated' => ! empty( $option['updated'] ) ? $option['updated'] : 0,
141
+ 'events' => ! empty( $option['events'] ) ? $option['events'] : array(),
142
+ 'feed' => ! empty( $option['feed'] ) ? $option['feed'] : array(),
143
+ 'dismissed' => ! empty( $option['dismissed'] ) ? $option['dismissed'] : array(),
144
+ );
145
+ }
146
+
147
+ if ( ! empty( $key ) ) {
148
+ return isset( $this->option[ $key ] ) ? $this->option[ $key ] : false;
149
+ }
150
+
151
+ return $this->option;
152
+ }
153
+
154
+ /**
155
+ * Fetch notifications from feed.
156
+ *
157
+ * @since 2.0.0
158
+ *
159
+ * @return array
160
+ */
161
+ public function fetch_feed() {
162
+
163
+ $response = wp_remote_get( self::SOURCE_URL );
164
+
165
+ if ( is_wp_error( $response ) ) {
166
+ return $response;
167
+ }
168
+
169
+ $body = wp_remote_retrieve_body( $response );
170
+
171
+ if ( empty( $body ) ) {
172
+ return array();
173
+ }
174
+
175
+ return $this->verify( json_decode( $body, true ) );
176
+ }
177
+
178
+ /**
179
+ * Verify notification data before it is saved.
180
+ *
181
+ * @since 2.0.0
182
+ *
183
+ * @param array $notifications Array of notifications items to verify.
184
+ * @param array $dismissed Array of dismissed notification ids.
185
+ * Defaults to fetching them from option.
186
+ *
187
+ * @return array
188
+ */
189
+ public function verify( $notifications, $dismissed = null ) {
190
+ $data = array();
191
+ if ( ! empty( $notifications ) && is_array( $notifications ) ) {
192
+
193
+ $dismissed = null !== $dismissed ? $dismissed : $this->get_option( 'dismissed' );
194
+ $installed = $this->base->get_option( 'installed', '', time() );
195
+
196
+ foreach ( $notifications as $notification ) {
197
+ $notification = $this->verify_notification( $notification, $dismissed, $installed );
198
+ if ( ! empty( $notification ) ) {
199
+ $data[] = $notification;
200
+ }
201
+ }
202
+ }
203
+
204
+ return $data;
205
+ }
206
+
207
+
208
+ /**
209
+ * Verify a notification before it is saved.
210
+ *
211
+ * @since 2.0.0
212
+ *
213
+ * @param array $notification Array of notification data.
214
+ * @param array $dismissed Array of dismissed notifications.
215
+ * @param int $installed The installation timestamp.
216
+ *
217
+ * @return bool|array The notification if verified, false if not.
218
+ */
219
+ public function verify_notification( $notification, $dismissed, $installed = null ) {
220
+ $installed = null !== $installed ? $installed : $this->base->get_option( 'installed', '', time() );
221
+
222
+ if ( empty( $notification['content'] ) ) {
223
+
224
+ // The message should never be empty. If they are, ignore.
225
+ return false;
226
+ }
227
+
228
+ /*
229
+ * - Empty levels means show to everyone, regardless of plan/connected status.
230
+ * - `none` is to all who are not connected
231
+ * - `all` is to all who are connected regardless of license
232
+ */
233
+ if ( ! empty( $notification['levels'] ) ) {
234
+ if ( ! $this->verify_notification_level( (array) $notification['levels'] ) ) {
235
+ // If notification level verification fails, stop here.
236
+ return false;
237
+ }
238
+
239
+ // Otherwise, proceed to the next checks.
240
+ }
241
+
242
+ if ( ! empty( $notification['end'] ) && time() > strtotime( $notification['end'] ) ) {
243
+
244
+ // Ignore if expired.
245
+ return false;
246
+ }
247
+
248
+ if ( ! empty( $dismissed ) && in_array( $notification['id'], $dismissed ) ) { // phpcs:ignore WordPress.PHP.StrictInArray.MissingTrueStrict
249
+
250
+ // Ignore if notification has already been dismissed.
251
+ return false;
252
+ }
253
+
254
+ // Ignore if notification existed before installing the plugin.
255
+ // Prevents bombarding the user with notifications after activation.
256
+ if (
257
+ ! empty( $installed ) &&
258
+ ! empty( $notification['start'] ) &&
259
+ $installed > strtotime( $notification['start'] )
260
+ ) {
261
+ return false;
262
+ }
263
+
264
+ return $notification;
265
+ }
266
+
267
+ /**
268
+ * Verify if the notification levels match.
269
+ *
270
+ * @since 2.0.0
271
+ *
272
+ * @param array $levels Array of notification levels.
273
+ *
274
+ * @return bool Whether notification passes level verification.
275
+ */
276
+ public function verify_notification_level( $levels ) {
277
+ $account_level = $this->base->get_level();
278
+ $is_connected = ! empty( $account_level );
279
+ $for_all_connected = in_array( 'all', $levels, true );
280
+ $for_not_connected = in_array( 'none', $levels, true );
281
+ $for_custom = in_array( 'vbp_custom', $levels, true );
282
+ $level_matches = in_array( $account_level, $levels, true );
283
+
284
+ if ( $for_not_connected ) {
285
+ return ! $is_connected;
286
+ }
287
+
288
+ if ( $for_all_connected ) {
289
+ return $is_connected;
290
+ }
291
+
292
+ if ( $for_custom ) {
293
+ return $this->base->is_custom_plan();
294
+ }
295
+
296
+ return $level_matches;
297
+ }
298
+
299
+ /**
300
+ * Verify saved notification data for active notifications.
301
+ *
302
+ * @since 2.0.0
303
+ *
304
+ * @param array $notifications Array of notifications items to verify.
305
+ *
306
+ * @return array
307
+ */
308
+ public function verify_active( $notifications ) {
309
+
310
+ if ( ! is_array( $notifications ) || empty( $notifications ) ) {
311
+ return array();
312
+ }
313
+
314
+ $notifications = $this->verify( $notifications );
315
+ if ( empty( $notifications ) ) {
316
+ return array();
317
+ }
318
+
319
+ $now = time();
320
+
321
+ // Remove notfications that are not active.
322
+ foreach ( $notifications as $key => $notification ) {
323
+ if ( ! empty( $notification['start'] ) && $now < strtotime( $notification['start'] ) ) {
324
+
325
+ // Notification is not yet active.
326
+ unset( $notifications[ $key ] );
327
+ }
328
+
329
+ if ( ! empty( $notification['end'] ) && $now > strtotime( $notification['end'] ) ) {
330
+
331
+ // Notification is expired.
332
+ unset( $notifications[ $key ] );
333
+ }
334
+ }
335
+
336
+ return $notifications;
337
+ }
338
+
339
+ /**
340
+ * Get notification data.
341
+ *
342
+ * @since 2.0.0
343
+ *
344
+ * @param bool $can_update Whether we can fetch/update the feed/options.
345
+ *
346
+ * @return array
347
+ */
348
+ public function get( $can_update = false ) {
349
+
350
+ if ( ! $this->has_access() ) {
351
+ return array();
352
+ }
353
+
354
+ $option = $this->get_option();
355
+
356
+ // Update notifications using async task.
357
+ if ( empty( $option['updated'] ) || time() > ( $option['updated'] + DAY_IN_SECONDS ) ) {
358
+ if ( $can_update ) {
359
+ $this->update();
360
+ $option = $this->get_option();
361
+ }
362
+ }
363
+
364
+ $events = ! empty( $option['events'] ) ? $this->verify_active( $option['events'] ) : array();
365
+ $feed = ! empty( $option['feed'] ) ? $this->verify_active( $option['feed'] ) : array();
366
+
367
+ $notifications = array_merge( $events, $feed );
368
+
369
+ set_transient( 'om_notification_count', count( $notifications ), DAY_IN_SECONDS );
370
+
371
+ return $notifications;
372
+ }
373
+
374
+ /**
375
+ * Get notification count.
376
+ *
377
+ * @since 2.0.0
378
+ *
379
+ * @return int
380
+ */
381
+ public function get_count() {
382
+ $count = get_transient( 'om_notification_count' );
383
+ if ( ! is_numeric( $count ) ) {
384
+ $this->get();
385
+ $count = get_transient( 'om_notification_count' );
386
+ }
387
+
388
+ return absint( $count );
389
+ }
390
+
391
+ /**
392
+ * Add a manual notification event.
393
+ *
394
+ * @since 2.0.0
395
+ *
396
+ * @param array $notification Notification data.
397
+ *
398
+ * @return bool Whether update occurred.
399
+ */
400
+ public function add_event( $notification ) {
401
+ $notification = self::sanitize_notification( (array) $notification );
402
+ $update = ! empty( $notification['update'] );
403
+
404
+ // ID (string) is required!
405
+ if ( empty( $notification['id'] ) && $update ) {
406
+ return new WP_Error(
407
+ 'omapp_notification_event_error',
408
+ esc_html__( 'Event notification update requires the "id" parameter', 'optin-monster-api' )
409
+ );
410
+ }
411
+
412
+ if ( empty( $notification['id'] ) ) {
413
+ $notification['id'] = uniqid('event-');
414
+ }
415
+
416
+ $notification['id'] = (string) $notification['id'];
417
+
418
+ // ID is required to be a string!
419
+ if ( ctype_digit( $notification['id'] ) ) {
420
+ return new WP_Error(
421
+ 'omapp_notification_event_error',
422
+ esc_html__( 'Event notification requires an "id" parameter which is a unique string.', 'optin-monster-api' )
423
+ );
424
+ }
425
+
426
+ $events = (array) $this->get_option( 'events' );
427
+ $dismissed = (array) $this->get_option( 'dismissed' );
428
+
429
+ if ( $update ) {
430
+
431
+ $index = array_search( $notification['id'], $dismissed, true );
432
+ if ( false !== $index ) {
433
+ unset( $dismissed[ $index ] );
434
+ }
435
+
436
+ unset( $notification['update'] );
437
+
438
+ } else {
439
+
440
+ // Already dismissed.
441
+ if ( in_array( $notification['id'], $dismissed, true ) ) {
442
+ return false;
443
+ }
444
+
445
+ foreach ( $events as $item ) {
446
+ if ( $item['id'] === $notification['id'] ) {
447
+ return false;
448
+ }
449
+ }
450
+ }
451
+
452
+ $notification = $this->verify_notification( $notification, $dismissed );
453
+
454
+ if ( empty( $notification ) ) {
455
+ return new WP_Error(
456
+ 'omapp_notification_event_error',
457
+ esc_html__( 'Event notification verification failed.', 'optin-monster-api' )
458
+ );
459
+ }
460
+
461
+ $notification = self::set_created_timestamp( $notification );
462
+
463
+ $updated = false;
464
+ if ( $update ) {
465
+ foreach ( $events as $key => $item ) {
466
+ if ( $item['id'] === $notification['id'] ) {
467
+ $updated = true;
468
+ foreach ( $notification as $name => $val ) {
469
+ $events[ $key ][ $name ] = $val;
470
+ }
471
+ $events[ $key ]['updated'] = time();
472
+ }
473
+ }
474
+ }
475
+
476
+ if ( ! $updated ) {
477
+ $events[] = $notification;
478
+ }
479
+
480
+ $this->handle_update(
481
+ array(
482
+ 'events' => $events,
483
+ 'dismissed' => $dismissed,
484
+ )
485
+ );
486
+
487
+ return true;
488
+ }
489
+
490
+ /**
491
+ * Update notification data from feed.
492
+ *
493
+ * @since 2.0.0
494
+ */
495
+ public function update() {
496
+ $feed = $this->fetch_feed();
497
+
498
+ // If there was an error with the fetch, do not update the option.
499
+ if ( is_wp_error( $feed ) ) {
500
+ return;
501
+ }
502
+
503
+ foreach ( $feed as $key => $notification ) {
504
+ $feed[ $key ] = self::set_created_timestamp( $notification );
505
+ }
506
+
507
+ $this->handle_update(
508
+ array(
509
+ 'updated' => time(),
510
+ 'feed' => $feed,
511
+ )
512
+ );
513
+ }
514
+
515
+ /**
516
+ * Dismiss notification(s).
517
+ *
518
+ * @since 2.0.0
519
+ *
520
+ * @param array|string|int $ids Arrray of ids or single id.
521
+ *
522
+ * @return bool Whether dismiss update occurred.
523
+ */
524
+ public function dismiss( $ids ) {
525
+
526
+ // Check for access and required param.
527
+ if ( ! $this->has_access() || empty( $ids ) ) {
528
+ return false;
529
+ }
530
+
531
+ $ids = self::sanitize_string( (array) $ids );
532
+ $option = $this->get_option();
533
+
534
+ foreach ( $ids as $id ) {
535
+ if ( ! is_scalar( $id ) ) {
536
+ continue;
537
+ }
538
+
539
+ $id = (string) $id;
540
+ $type = ctype_digit( $id ) ? 'feed' : 'events';
541
+
542
+ $option['dismissed'][] = $id;
543
+
544
+ // Remove notification.
545
+ if ( is_array( $option[ $type ] ) && ! empty( $option[ $type ] ) ) {
546
+ foreach ( $option[ $type ] as $key => $notification ) {
547
+ if ( (string) $notification['id'] === $id ) {
548
+ unset( $option[ $type ][ $key ] );
549
+ break;
550
+ }
551
+ }
552
+ }
553
+ }
554
+
555
+ $option['dismissed'] = array_unique( $option['dismissed'] );
556
+ $option['dismissed'] = array_values( $option['dismissed'] );
557
+ $option['dismissed'] = array_filter( $option['dismissed'] );
558
+
559
+ $this->handle_update( $option );
560
+
561
+ return true;
562
+ }
563
+
564
+ /**
565
+ * Sanitize notification data.
566
+ *
567
+ * @since 2.0.0
568
+ *
569
+ * @param array|string|int $data The notification data.
570
+ *
571
+ * @return mixed The sanitized id(s).
572
+ */
573
+ public static function sanitize_notification( array $data ) {
574
+ foreach ( $data as $key => $value ) {
575
+ $data[ $key ] = 'content' === $key
576
+ ? wp_kses_post( $value )
577
+ : self::sanitize_string( $value );
578
+ }
579
+
580
+ return $data;
581
+ }
582
+
583
+ /**
584
+ * Sanitize string(s).
585
+ *
586
+ * @since 2.0.0
587
+ *
588
+ * @param array|string|int $string The notification string(s).
589
+ *
590
+ * @return mixed The sanitized string(s).
591
+ */
592
+ public static function sanitize_string( $string ) {
593
+ if ( is_array( $string ) ) {
594
+ return array_map( array( __CLASS__, __FUNCTION__ ), $string );
595
+ }
596
+
597
+ return sanitize_text_field( wp_unslash( $string ) );
598
+ }
599
+
600
+ /**
601
+ * Updates our notification option in the DB (disable option autoload).
602
+ *
603
+ * @since 2.0.0
604
+ *
605
+ * @param array $option Option value.
606
+ *
607
+ * @return mixed Result from update_option.
608
+ */
609
+ protected function handle_update( $option ) {
610
+ $required_keys = array(
611
+ 'updated',
612
+ 'feed',
613
+ 'events',
614
+ 'dismissed',
615
+ );
616
+
617
+ foreach ( $required_keys as $key ) {
618
+ if ( ! isset( $option[ $key ] ) ) {
619
+ $option[ $key ] = $this->get_option( $key );
620
+ }
621
+ }
622
+
623
+ $result = update_option( self::OPTION_NAME, $option, false );
624
+
625
+ if ( false !== $result ) {
626
+
627
+ // Re-cache value.
628
+ $this->get_option( '', false );
629
+ }
630
+
631
+ return $result;
632
+ }
633
+
634
+ /**
635
+ * Set the created timestamp.
636
+ *
637
+ * Will add it if it doesn't exist, and will convert to timestamp if applicable.
638
+ *
639
+ * @since 2.0.0
640
+ *
641
+ * @param array $notification Notification array.
642
+ */
643
+ protected function set_created_timestamp( array $notification ) {
644
+ // Set created timestamp if it's not already set.
645
+ if ( empty( $notification['created'] ) ) {
646
+ $notification['created'] = time();
647
+ }
648
+
649
+ // Convert to timestamp, if it's not already.
650
+ if ( ! ctype_digit( (string) $notification['created'] ) ) {
651
+ $notification['created'] = strtotime( $notification['created'] );
652
+ }
653
+
654
+ return $notification;
655
+ }
656
+
657
+ }
OMAPI/Output.php CHANGED
@@ -306,7 +306,30 @@ class OMAPI_Output {
306
  $this->set_slug( $optin );
307
 
308
  // Prepare the optin campaign.
309
- $content .= $this->prepare_campaign( $optin );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
310
  }
311
  }
312
 
306
  $this->set_slug( $optin );
307
 
308
  // Prepare the optin campaign.
309
+ $prepared = $this->prepare_campaign( $optin );
310
+ $position = get_post_meta( $optin->ID, '_omapi_auto_location', true );
311
+ $inserter = new OMAPI_Inserter( $content, $prepared );
312
+
313
+ switch ( $position ) {
314
+ case 'paragraphs':
315
+ $paragraphs = get_post_meta( $optin->ID, '_omapi_auto_location_paragraphs', true );
316
+ $content = $inserter->after_paragraph( absint( $paragraphs ) );
317
+ break;
318
+
319
+ case 'words':
320
+ $words = get_post_meta( $optin->ID, '_omapi_auto_location_words', true );
321
+ $content = $inserter->after_words( absint( $words ) );
322
+ break;
323
+
324
+ case 'above_post':
325
+ $content = $inserter->prepend();
326
+ break;
327
+
328
+ case 'below_post':
329
+ default:
330
+ $content = $inserter->append();
331
+ break;
332
+ }
333
  }
334
  }
335
 
OMAPI/Pages.php CHANGED
@@ -36,6 +36,24 @@ class OMAPI_Pages {
36
  */
37
  public $base;
38
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  /**
40
  * Sets our object instance and base class instance.
41
  *
@@ -47,12 +65,29 @@ class OMAPI_Pages {
47
  }
48
 
49
  /**
50
- * Loads Stylesheets that should only be loaded on a specific page
51
  *
52
- * @return void
53
  */
54
- public function load_general_styles() {
55
- wp_enqueue_style( $this->base->plugin_slug . '-common', $this->base->url . 'assets/dist/css/common.min.css', false, $this->base->asset_version() );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  }
57
 
58
  /**
@@ -62,19 +97,76 @@ class OMAPI_Pages {
62
  * @return void
63
  */
64
  public function get_registered_pages() {
65
- $pages = array(
66
- array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
  'name' => __( 'TrustPulse', 'optin-monster-api' ),
68
- 'slug' => 'optin-monster-trustpulse',
69
- ),
70
- array(
 
 
 
 
 
 
71
  'name' => __( 'About Us', 'optin-monster-api' ),
72
- 'slug' => 'optin-monster-about',
73
- 'callback' => array( $this, 'render_about_us_page' ),
74
- ),
75
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
76
 
77
- return $pages;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
  }
79
 
80
  /**
@@ -89,20 +181,79 @@ class OMAPI_Pages {
89
 
90
  foreach ( $pages as $page ) {
91
  if ( ! empty( $page['callback'] ) ) {
92
- $hooks[] = add_submenu_page(
93
- $parent_page_name, // $parent_slug
 
 
 
 
 
 
94
  $page['name'], // $page_title
95
  ! empty( $page['menu'] ) ? $page['menu'] : $page['name'], // $menu_title
96
- apply_filters( 'optin_monster_api_menu_cap', 'manage_options', $page['slug'] ),
97
  $page['slug'],
98
  $page['callback']
99
  );
 
 
 
 
100
  }
101
  }
102
 
103
  return $hooks;
104
  }
105
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
  /**
107
  * Registers our submenu pages, but redirects to main page when navigating to them.
108
  *
@@ -123,57 +274,141 @@ class OMAPI_Pages {
123
  *
124
  * @since 1.9.10
125
  */
126
- public function render_about_us_page() {
127
- $all_plugins = get_plugins();
128
-
129
- $data = array(
130
- 'google-analytics-for-wordpress/googleanalytics.php' => array(
131
- 'icon' => $this->base->url . 'assets/images/about/plugin-mi.png',
132
- 'class' => 'google-analytics-for-wordpressgoogleanalyticsphp',
133
- 'name' => 'MonsterInsights',
134
- 'desc' => sprintf( esc_html__( '%s makes it “effortless” to properly connect your WordPress site with Google Analytics, so you can start making data-driven decisions to grow your business.', 'optin-monster-api' ), 'MonsterInsights' ),
135
- 'url' => 'https://downloads.wordpress.org/plugin/google-analytics-for-wordpress.zip',
136
- 'pro' => array(
137
- 'plugin' => 'google-analytics-premium/googleanalytics-premium.php',
138
- 'name' => 'MonsterInsights Pro',
139
- 'url' => 'https://www.monsterinsights.com/?utm_source=proplugin&utm_medium=pluginheader&utm_campaign=pluginurl&utm_content=7%2E0%2E0',
140
- ),
141
- ),
142
- 'wpforms-lite/wpforms.php' => array(
143
- 'icon' => $this->base->url . 'assets/images/about/plugin-wp-forms.png',
144
- 'class' => 'wpforms-litewpformsphp',
145
- 'name' => 'WPForms',
146
- 'desc' => sprintf( esc_html__( '%s allows you to create beautiful contact forms, feedback form, subscription forms, payment forms, and other types of forms for your site in minutes, not hours!', 'optin-monster-api' ), 'WPForms' ),
147
- 'url' => 'https://downloads.wordpress.org/plugin/wpforms-lite.zip',
148
- 'pro' => array(
149
- 'plugin' => 'wpforms-premium/wpforms.php',
150
- 'name' => 'WPForms Pro',
151
- 'url' => 'https://www.wpforms.com/?utm_source=proplugin&utm_medium=pluginheader&utm_campaign=pluginurl&utm_content=7%2E0%2E0',
152
- ),
153
- ),
154
- );
 
 
155
 
156
- foreach ( $data as $plugin_id => $plugin ) {
157
 
158
- $installed = array_key_exists( $plugin_id, $all_plugins ) || array_key_exists( $plugin['pro']['plugin'], $all_plugins );
159
- $active = is_plugin_active( $plugin_id ) || is_plugin_active( $plugin['pro']['plugin'] );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
160
 
161
- $data[ $plugin_id ]['status'] = $installed ?
162
- $active ?
163
- __( 'Active', 'optin-monster-api' ) :
164
- __( 'Installed', 'optin-monster-api' )
165
- : __( 'Not Installed', 'optin-monster-api' );
166
 
167
- $data[ $plugin_id ]['installed'] = $installed;
168
- $data[ $plugin_id ]['active'] = $active;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
169
  }
170
 
171
- $this->base->output_view(
172
- 'about.php',
173
- array(
174
- 'all_plugins' => $all_plugins,
175
- 'plugins' => $data,
176
- )
 
 
177
  );
178
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
179
  }
36
  */
37
  public $base;
38
 
39
+ /**
40
+ * The admin title tag format.
41
+ *
42
+ * @since 2.0.0
43
+ *
44
+ * @var string
45
+ */
46
+ public $title_tag = '';
47
+
48
+ /**
49
+ * The registered pages.
50
+ *
51
+ * @since 2.0.0
52
+ *
53
+ * @var array
54
+ */
55
+ protected $pages = array();
56
+
57
  /**
58
  * Sets our object instance and base class instance.
59
  *
65
  }
66
 
67
  /**
68
+ * Setup any hooks.
69
  *
70
+ * @since 2.0.0
71
  */
72
+ public function setup() {
73
+ add_filter( 'admin_title', array( $this, 'store_admin_title' ), 999999, 2 );
74
+ add_filter( 'admin_body_class', array( $this, 'admin_body_classes' ) );
75
+ }
76
+
77
+ /**
78
+ * Stores the admin title tag format to be used in JS.
79
+ *
80
+ * @since 2.0.0
81
+ *
82
+ * @param string $admin_title
83
+ * @param string $title
84
+ *
85
+ * @return string
86
+ */
87
+ public function store_admin_title( $admin_title, $title ) {
88
+ $this->title_tag = str_replace( $title, '{replaceme}', $admin_title );
89
+
90
+ return $admin_title;
91
  }
92
 
93
  /**
97
  * @return void
98
  */
99
  public function get_registered_pages() {
100
+ if ( empty( $this->pages ) ) {
101
+ $this->pages['optin-monster-campaigns'] = array(
102
+ 'name' => __( 'Campaigns', 'optin-monster-api' ),
103
+ 'app' => true,
104
+ 'callback' => array( $this, 'render_app_loading_page' ),
105
+ );
106
+
107
+ $this->pages['optin-monster-templates'] = array(
108
+ 'name' => __( 'Templates', 'optin-monster-api' ),
109
+ 'app' => true,
110
+ 'callback' => array( $this, 'render_app_loading_page' ),
111
+ );
112
+
113
+ $this->pages['optin-monster-monsterleads'] = $subscribers_hook = array(
114
+ 'name' => __( 'Subscribers', 'optin-monster-api' ),
115
+ 'app' => true,
116
+ 'redirect' => $this->base->app_url( 'leads/' ),
117
+ 'callback' => '__return_null',
118
+ );
119
+
120
+ $this->pages['optin-monster-trustpulse'] = array(
121
  'name' => __( 'TrustPulse', 'optin-monster-api' ),
122
+ );
123
+
124
+ $this->pages['optin-monster-settings'] = array(
125
+ 'name' => __( 'Settings', 'optin-monster-api' ),
126
+ 'app' => true,
127
+ 'callback' => array( $this, 'render_app_loading_page' ),
128
+ );
129
+
130
+ $this->pages['optin-monster-about'] = array(
131
  'name' => __( 'About Us', 'optin-monster-api' ),
132
+ 'app' => true,
133
+ 'callback' => array( $this, 'render_app_loading_page' ),
134
+ );
135
+
136
+ $this->pages['optin-monster-onboarding-wizard'] = array(
137
+ 'name' => __( 'Onboarding Wizard', 'optin-monster-api' ),
138
+ 'callback' => array( $this, 'render_app_loading_page' ),
139
+ 'hidden' => true,
140
+ );
141
+
142
+ foreach ( $this->pages as $slug => $page ) {
143
+ $this->pages[ $slug ]['slug'] = $slug;
144
+ }
145
+ }
146
+
147
+ return $this->pages;
148
+ }
149
 
150
+ /**
151
+ * Returns an array of our registered JS app pages.
152
+ *
153
+ * @return void
154
+ */
155
+ public function get_registered_app_pages() {
156
+ return wp_list_filter( $this->get_registered_pages(), array( 'app' => true ) );
157
+ }
158
+
159
+ /**
160
+ * Whether given page slug is one of our registered JS app pages.
161
+ *
162
+ * @return boolean
163
+ */
164
+ public function is_registered_app_page( $page_slug ) {
165
+ $pages = wp_list_pluck( $this->get_registered_app_pages(), 'slug' );
166
+ $pages[] = 'optin-monster-api-settings';
167
+ $pages[] = 'optin-monster-dashboard';
168
+
169
+ return in_array( $page_slug, $pages, true );
170
  }
171
 
172
  /**
181
 
182
  foreach ( $pages as $page ) {
183
  if ( ! empty( $page['callback'] ) ) {
184
+ $parent_slug = $parent_page_name;
185
+
186
+ if ( ! empty( $page['hidden'] ) ) {
187
+ $parent_slug .= '-hidden';
188
+ }
189
+
190
+ $hooks[] = $hook = add_submenu_page(
191
+ $parent_slug, // $parent_slug
192
  $page['name'], // $page_title
193
  ! empty( $page['menu'] ) ? $page['menu'] : $page['name'], // $menu_title
194
+ $this->base->access_capability( $page['slug'] ),
195
  $page['slug'],
196
  $page['callback']
197
  );
198
+
199
+ if ( ! empty( $page['redirect'] ) ) {
200
+ add_action( 'load-' . $hook, array( $this, 'handle_redirect' ), 999 );
201
+ }
202
  }
203
  }
204
 
205
  return $hooks;
206
  }
207
 
208
+ /**
209
+ * Handle redirect for registered page.
210
+ *
211
+ * @since 2.0.0
212
+ *
213
+ * @return void
214
+ */
215
+ public function handle_redirect() {
216
+ global $plugin_page;
217
+
218
+ $pages = $this->get_registered_pages();
219
+ if (
220
+ empty( $pages[ $plugin_page ]['redirect'] )
221
+ || is_bool( $pages[ $plugin_page ]['redirect'] )
222
+ ) {
223
+ return $this->base->menu->redirect_to_dashboard();
224
+ }
225
+
226
+ wp_redirect( esc_url_raw( $pages[ $plugin_page ]['redirect'] ) );
227
+ exit;
228
+ }
229
+
230
+ /**
231
+ * Adds om app admin body classes
232
+ *
233
+ * @since 2.0.0
234
+ *
235
+ * @param string $classes
236
+ *
237
+ * @return string
238
+ */
239
+ public function admin_body_classes( $classes ) {
240
+ global $plugin_page;
241
+
242
+ $classes = explode( ' ', $classes );
243
+ $classes = array_filter( $classes );
244
+ $classes = array_map( 'trim', $classes );
245
+
246
+ if ( $this->is_registered_app_page( $plugin_page ) ) {
247
+ $classes[] = 'omapi-app';
248
+ $classes[] = 'omapi-app-'. str_replace( 'optin-monster-', '', $plugin_page );
249
+ }
250
+
251
+ $classes = implode( ' ', $classes );
252
+
253
+ return $classes;
254
+
255
+ }
256
+
257
  /**
258
  * Registers our submenu pages, but redirects to main page when navigating to them.
259
  *
274
  *
275
  * @since 1.9.10
276
  */
277
+ public function render_app_loading_page() {
278
+ $this->load_scripts();
279
+ echo '<div id="om-app">';
280
+ echo $this->base->output_view( 'archie-loading.php' );
281
+ echo '</div>';
282
+ }
283
+
284
+ public function load_scripts( $args = array() ) {
285
+ $path = 'vue/dist';
286
+ $loader = new OMAPI_AssetLoader( trailingslashit( dirname( $this->base->file ) ) . $path );
287
+ try {
288
+
289
+ add_filter( 'optin_monster_should_enqueue_asset', array( $this, 'should_enqueue' ), 10, 2 );
290
+ $loader->enqueue(
291
+ array(
292
+ 'base_url' => $this->base->url . $path,
293
+ 'version' => $this->base->asset_version(),
294
+ )
295
+ );
296
+
297
+ $pages = array(
298
+ 'optin-monster-dashboard' => __( 'Dashboard', 'optin-monster-api' )
299
+ );
300
+ foreach ( $this->get_registered_pages() as $page ) {
301
+ $pages[ $page['slug'] ] = ! empty( $page['title'] ) ? $page['title'] : $page['name'];
302
+ }
303
+
304
+ $creds = $this->base->get_api_credentials();
305
+
306
+ $admin_parts = parse_url( admin_url( 'admin.php' ) );
307
+ $url_parts = parse_url( $this->base->url );
308
 
309
+ $current_user = wp_get_current_user();
310
 
311
+ $js_args = wp_parse_args(
312
+ $args,
313
+ array(
314
+ 'key' => ! empty( $creds['apikey'] ) ? $creds['apikey'] : '',
315
+ 'nonce' => wp_create_nonce( 'wp_rest' ),
316
+ 'siteId' => $this->base->get_site_id(),
317
+ 'siteIds' => $this->base->get_site_ids(),
318
+ 'wpUrl' => trailingslashit( site_url() ),
319
+ 'adminUrl' => $this->base->menu->admin_page_url(),
320
+ 'restUrl' => rest_url(),
321
+ 'adminPath' => $admin_parts['path'],
322
+ 'apijsUrl' => OPTINMONSTER_APIJS_URL,
323
+ 'omAppUrl' => untrailingslashit( OPTINMONSTER_APP_URL ),
324
+ 'omAppApiUrl' => untrailingslashit( OPTINMONSTER_API_URL ),
325
+ 'omAppCdnURL' => untrailingslashit( OPTINMONSTER_CDN_URL ),
326
+ 'newCampaignUrl' => untrailingslashit( esc_url_raw( admin_url( 'admin.php?page=optin-monster-templates' ) ) ),
327
+ 'pluginPath' => $url_parts['path'],
328
+ 'omStaticDataKey' => 'omWpApi',
329
+ 'isItWp' => true,
330
+ // 'scriptPath' => $path,
331
+ 'pages' => $pages,
332
+ 'titleTag' => $this->title_tag,
333
+ 'isWooActive' => OMAPI::is_woocommerce_active(),
334
+ 'isWooConnected' => OMAPI_WooCommerce::is_connected(),
335
+ 'blogname' => esc_attr( get_option( 'blogname' ) ),
336
+ 'userEmail' => esc_attr( $current_user->user_email ),
337
+ 'userFirstName' => esc_attr( $current_user->user_firstname ),
338
+ 'userLastName' => esc_attr( $current_user->user_lastname ),
339
+ 'betaVersion' => $this->base->beta_version(),
340
+ 'partnerId' => OMAPI_Partners::get_id(),
341
+ 'partnerUrl' => OMAPI_Partners::has_partner_url(),
342
+ )
343
+ );
344
 
345
+ $js_args = apply_filters( 'optin_monster_campaigns_js_api_args', $js_args );
 
 
 
 
346
 
347
+ $loader->localize( $js_args );
348
+
349
+ wp_enqueue_script( $this->base->plugin_slug . '-api-script', $this->base->get_api_url(), $loader->handles['js'], null, true );
350
+ add_filter( 'script_loader_tag', array( $this, 'filter_api_script' ), 10, 2 );
351
+
352
+ return $loader;
353
+
354
+ } catch ( \Exception $e ) {
355
+ }
356
+
357
+ return false;
358
+ }
359
+
360
+ /**
361
+ * Filters the API script tag to add the preview user/account data attributes.
362
+ *
363
+ * @since 2.0.0
364
+ *
365
+ * @param string $tag The HTML script output.
366
+ * @param string $handle The script handle to target.
367
+ * @return string $tag Amended HTML script with our ID attribute appended.
368
+ */
369
+ public function filter_api_script( $tag, $handle ) {
370
+
371
+ // If the handle is not ours, do nothing.
372
+ if ( $this->base->plugin_slug . '-api-script' !== $handle ) {
373
+ return $tag;
374
  }
375
 
376
+ // Adjust the output to add our custom script ID.
377
+ return str_replace(
378
+ ' src',
379
+ sprintf(
380
+ ' data-account="56690" data-user="50374" async %s src',
381
+ defined( 'OPTINMONSTER_ENV' ) ? 'data-env="' . OPTINMONSTER_ENV . '"' : ''
382
+ ),
383
+ $tag
384
  );
385
  }
386
+
387
+ /**
388
+ * Determine if given asset should be enqueued.
389
+ *
390
+ * We only want app/common, since remaining assets are chunked/lazy-loaded.
391
+ *
392
+ * @since 2.0.0
393
+ *
394
+ * @param bool $should Whether asset should be enqueued.
395
+ * @param string $handle The asset handle.
396
+ *
397
+ * @return bool Whether asset should be enqueued.
398
+ */
399
+ public function should_enqueue( $should, $handle ) {
400
+ $allowed = array(
401
+ 'wp-om-app',
402
+ 'wp-om-common',
403
+ );
404
+
405
+ foreach ( $allowed as $search ) {
406
+ if ( 0 === strpos( $handle, $search ) ) {
407
+ return true;
408
+ }
409
+ }
410
+
411
+ return false;
412
+ }
413
+
414
  }
OMAPI/Partners.php ADDED
@@ -0,0 +1,187 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Partners class.
4
+ *
5
+ * @since 2.0.0
6
+ *
7
+ * @package OMAPI
8
+ * @author Justin Sternberg
9
+ */
10
+
11
+ // Exit if accessed directly.
12
+ if ( ! defined( 'ABSPATH' ) ) {
13
+ exit;
14
+ }
15
+
16
+ /**
17
+ * The Partners class.
18
+ *
19
+ * @since 2.0.0
20
+ */
21
+ class OMAPI_Partners {
22
+
23
+ /**
24
+ * The OM landing page url.
25
+ *
26
+ * @since 1.8.4
27
+ */
28
+ const LANDING_URL = 'https://optinmonster.com/wp/?utm_source=orgplugin&utm_medium=link&utm_campaign=wpdashboard';
29
+
30
+ /**
31
+ * The SaS affiliate url.
32
+ *
33
+ * @since 2.0.0
34
+ */
35
+ const SAS_URL = 'https://www.shareasale.com/r.cfm?u=%1$s&b=601672&m=49337&afftrack=&urllink=optinmonster.com';
36
+
37
+ /**
38
+ * Get the SAS Partner ID.
39
+ *
40
+ * 3 ways to specify an ID, ordered by highest to lowest priority:
41
+ * - add_filter( 'optinmonster_sas_id', function() { return 1234; } );
42
+ * - define( 'OPTINMONSTER_SAS_ID', 1234 );
43
+ * - get_option( 'optinmonster_sas_id' ); (with the option being in the
44
+ * wp_options table) If an ID is present, returns the affiliate link
45
+ * with the affiliate ID.
46
+ *
47
+ * @since 2.0.0
48
+ *
49
+ * @return string
50
+ */
51
+ public static function get_sas_id() {
52
+ $sasId = '';
53
+
54
+ // Check if sas ID is a constant
55
+ if ( defined( 'OPTINMONSTER_SAS_ID' ) ) {
56
+ $sasId = OPTINMONSTER_SAS_ID;
57
+ }
58
+
59
+ // Now run any filters that may be on the sas ID
60
+ $sasId = apply_filters( 'optinmonster_sas_id', $sasId );
61
+
62
+ /**
63
+ * If we still don't have a sas ID by this point
64
+ * check the DB for an option
65
+ */
66
+ if ( empty( $sasId ) ) {
67
+ $sasId = get_option( 'optinmonster_sas_id', $sasId );
68
+ }
69
+
70
+ return $sasId;
71
+ }
72
+
73
+ /**
74
+ * Get the trial Partner ID.
75
+ *
76
+ * 3 ways to specify an ID, ordered by highest to lowest priority:
77
+ * - add_filter( 'optinmonster_trial_id', function() { return 1234; } );
78
+ * - define( 'OPTINMONSTER_TRIAL_ID', 1234 );
79
+ * - get_option( 'optinmonster_trial_id' ); (with the option being in the
80
+ * wp_options table) If an ID is present, returns the affiliate link
81
+ * with the affiliate ID.
82
+ *
83
+ * @since 2.0.0
84
+ *
85
+ * @return string
86
+ */
87
+ public static function get_trial_id() {
88
+ $trialId = '';
89
+
90
+ // Check if trial ID is a constant
91
+ if ( defined( 'OPTINMONSTER_TRIAL_ID' ) ) {
92
+ $trialId = OPTINMONSTER_TRIAL_ID;
93
+ }
94
+
95
+ // Now run any filters that may be on the trial ID
96
+ $trialId = apply_filters( 'optinmonster_trial_id', $trialId );
97
+
98
+ /**
99
+ * If we still don't have a trial ID by this point
100
+ * check the DB for an option
101
+ */
102
+ if ( empty( $trialId ) ) {
103
+ $trialId = get_option( 'optinmonster_trial_id', $trialId );
104
+ }
105
+
106
+ return $trialId;
107
+ }
108
+
109
+ /**
110
+ * Get the affiliate url for given id.
111
+ *
112
+ * @since 1.8.4
113
+ *
114
+ * @param mixed $partner_id The Partner ID.
115
+ *
116
+ * @return string The affilaite url.
117
+ */
118
+ protected static function get_affiliate_url( $partner_id ) {
119
+ return sprintf( self::SAS_URL, urlencode( trim( $partner_id ) ) );
120
+ }
121
+
122
+ /**
123
+ * The partner urls are no longer used, but this method is in place to ensure
124
+ * back-compatibility with the optin_monster_action_link filter, to determine
125
+ * if certain partner features are visible.
126
+ *
127
+ * @since 2.0.0
128
+ *
129
+ * @return boolean
130
+ */
131
+ protected static function get_partner_url() {
132
+ $id = self::get_trial_id();
133
+ $type = 'trial';
134
+ if ( empty( $id ) ) {
135
+ $id = self::get_sas_id();
136
+ $type = 'sas';
137
+ }
138
+
139
+
140
+ // Return the regular WP landing page by default
141
+ $url = self::LANDING_URL;
142
+
143
+ // Return the trial link if we have a trial ID
144
+ if ( ! empty( $id ) ) {
145
+ $url = self::get_affiliate_url( $id );
146
+ }
147
+
148
+ return apply_filters( 'optin_monster_action_link', $url, array(
149
+ 'type' => $type,
150
+ 'id' => $id,
151
+ ) );
152
+ }
153
+
154
+ /**
155
+ * The partner urls are no longer used, but this method is in place to ensure
156
+ * back-compatibility with the optin_monster_action_link filter, to determine
157
+ * if certain partner features are visible.
158
+ *
159
+ * @since 2.0.0
160
+ *
161
+ * @return string|boolean
162
+ */
163
+ public static function has_partner_url() {
164
+ $url = self::get_partner_url();
165
+
166
+ return false === strpos( $url, 'optinmonster.com/wp' )
167
+ ? $url
168
+ : false;
169
+ }
170
+
171
+ /**
172
+ * Get the Partner ID.
173
+ *
174
+ * @since 2.0.0
175
+ *
176
+ * @return string
177
+ */
178
+ public static function get_id() {
179
+ $id = self::get_trial_id();
180
+ if ( empty( $id ) ) {
181
+ $id = self::get_sas_id();
182
+ }
183
+
184
+ return $id;
185
+ }
186
+
187
+ }
OMAPI/Plugins.php ADDED
@@ -0,0 +1,362 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * AM Plugins class.
4
+ *
5
+ * @since 1.9.10
6
+ *
7
+ * @package OMAPI
8
+ * @author Justin Sternberg
9
+ */
10
+
11
+ // Exit if accessed directly.
12
+ if ( ! defined( 'ABSPATH' ) ) {
13
+ exit;
14
+ }
15
+
16
+ /**
17
+ * AM Plugins class.
18
+ *
19
+ * @since 1.9.10
20
+ */
21
+ class OMAPI_Plugins {
22
+
23
+ /**
24
+ * The Base OMAPI Object
25
+ *
26
+ * @since 1.8.0
27
+ *
28
+ * @var OMAPI
29
+ */
30
+ protected $base;
31
+
32
+ public function __construct() {
33
+ $this->base = OMAPI::get_instance();
34
+ }
35
+
36
+ /**
37
+ * Gets the list of AM plugins.
38
+ *
39
+ * @since 2.0.0
40
+ *
41
+ * @param boolean $include_status Whether to include plugin status (installed/activated).
42
+ *
43
+ * @return array List of AM plugins.
44
+ */
45
+ public function get_list( $include_status = false ) {
46
+ $data = array(
47
+ 'wpforms-lite/wpforms.php' => array(
48
+ 'icon' => $this->base->url . 'assets/images/about/plugin-wp-forms.png',
49
+ 'class' => 'wpforms-litewpformsphp',
50
+ 'check' => array( 'function' => 'wpforms' ),
51
+ 'name' => 'WPForms',
52
+ 'desc' => __( 'WPForm’s easy drag & drop WordPress form builder allows you to create contact forms, online surveys, donation forms, order forms and morein just a few minutes without writing any code.', 'optin-monster-api' ),
53
+ 'url' => 'https://downloads.wordpress.org/plugin/wpforms-lite.zip',
54
+ 'pro' => array(
55
+ 'plugin' => 'wpforms-premium/wpforms.php',
56
+ 'name' => 'WPForms Pro',
57
+ 'url' => 'https://wpforms.com/?utm_source=WordPress&utm_medium=Plugin&utm_campaign=OptinMonsterAboutUs',
58
+ ),
59
+ ),
60
+ 'google-analytics-for-wordpress/googleanalytics.php' => array(
61
+ 'icon' => $this->base->url . 'assets/images/about/plugin-mi.png',
62
+ 'class' => 'google-analytics-for-wordpressgoogleanalyticsphp',
63
+ 'check' => array( 'function' => 'MonsterInsights' ),
64
+ 'name' => 'MonsterInsights',
65
+ 'desc' => sprintf( __( '%s makes it effortless to properly connect your WordPress site with Google Analytics, so you can start making data-driven decisions to grow your business.', 'optin-monster-api' ), 'MonsterInsights' ),
66
+ 'url' => 'https://downloads.wordpress.org/plugin/google-analytics-for-wordpress.zip',
67
+ 'pro' => array(
68
+ 'plugin' => 'google-analytics-premium/googleanalytics-premium.php',
69
+ 'name' => 'MonsterInsights Pro',
70
+ 'url' => 'https://www.monsterinsights.com/?utm_source=WordPress&utm_medium=Plugin&utm_campaign=OptinMonsterAboutUs',
71
+ ),
72
+ ),
73
+ 'rafflepress/rafflepress.php' => array(
74
+ 'icon' => $this->base->url . 'assets/images/about/plugin-rafflepress.png',
75
+ 'class' => 'rafflepressrafflepressphp',
76
+ 'check' => array(
77
+ 'constant' => array(
78
+ 'RAFFLEPRESS_VERSION',
79
+ 'RAFFLEPRESS_PRO_VERSION',
80
+ ),
81
+ ),
82
+ 'name' => 'RafflePress',
83
+ 'desc' => __( 'Turn your visitors into brand ambassadors! Easily grow your email list, website traffic, and social media followers with powerful viral giveaways & contests.', 'optin-monster-api' ),
84
+ 'url' => 'https://downloads.wordpress.org/plugin/rafflepress.zip',
85
+ 'pro' => array(
86
+ 'plugin' => '',
87
+ 'name' => 'RafflePress',
88
+ 'url' => 'https://rafflepress.com/?utm_source=WordPress&utm_medium=Plugin&utm_campaign=OptinMonsterAboutUs',
89
+ ),
90
+ ),
91
+ 'wp-mail-smtp/wp_mail_smtp.php' => array(
92
+ 'icon' => $this->base->url . 'assets/images/about/plugin-wp-mail-smtp.png',
93
+ 'class' => 'wp-mail-smtpwp-mail-smtpphp',
94
+ 'check' => array( 'function' => 'wp_mail_smtp' ),
95
+ 'name' => 'WP Mail SMTP',
96
+ 'desc' => __( 'Make sure your website’s emails reach the inbox. Our goal is to make email deliverability easy and reliable. Trusted by over 1 MILLION websites.', 'optin-monster-api' ),
97
+ 'url' => 'https://downloads.wordpress.org/plugin/wp-mail-smtp.zip',
98
+ 'pro' => array(
99
+ 'plugin' => 'wp-mail-smtp-pro/wp_mail_smtp.php',
100
+ 'name' => 'WP Mail SMTP',
101
+ 'url' => 'https://wpmailsmtp.com/?utm_source=WordPress&utm_medium=Plugin&utm_campaign=OptinMonsterAboutUs',
102
+ ),
103
+ ),
104
+ 'all-in-one-seo-pack/all_in_one_seo_pack.php' => array(
105
+ 'icon' => $this->base->url . 'assets/images/about/plugin-aioseo.png',
106
+ 'class' => 'all-in-one-seo-packall-in-one-seo-packphp',
107
+ 'check' => array(
108
+ 'constant' => array(
109
+ 'AIOSEOP_VERSION',
110
+ 'AIOSEO_VERSION',
111
+ ),
112
+ ),
113
+ 'name' => 'AIOSEO',
114
+ 'desc' => sprintf( __( 'Easily set up proper SEO foundations for your site in less than 10 minutes with %s. It’s the most powerful and user-friendly WordPress SEO plugin, used by over 2 MILLION sites.', 'optin-monster-api' ), 'All-in-One SEO' ),
115
+ 'url' => 'https://downloads.wordpress.org/plugin/all-in-one-seo-pack.zip',
116
+ 'pro' => array(
117
+ 'plugin' => '',
118
+ 'name' => 'All-in-One SEO Pack',
119
+ 'url' => 'https://aioseo.com/?utm_source=WordPress&utm_medium=Plugin&utm_campaign=OptinMonsterAboutUs',
120
+ ),
121
+ ),
122
+ 'coming-soon/coming-soon.php' => array(
123
+ 'icon' => $this->base->url . 'assets/images/about/plugin-seedprod.png',
124
+ 'class' => 'coming-sooncoming-soonphp',
125
+ 'check' => array(
126
+ 'constant' => array(
127
+ 'SEEDPROD_PRO_VERSION',
128
+ 'SEEDPROD_VERSION',
129
+ ),
130
+ ),
131
+ 'name' => 'SeedProd',
132
+ 'desc' => __( 'Professionally design landing page templates like coming soon pages and sales pages that get you up and going with just a few clicks of a mouse. Used on over 1 MILLION sites! ', 'optin-monster-api' ),
133
+ 'url' => 'https://downloads.wordpress.org/plugin/coming-soon.zip',
134
+ 'pro' => array(
135
+ 'plugin' => '',
136
+ 'name' => 'SeedProd',
137
+ 'url' => 'https://www.seedprod.com/?utm_source=WordPress&utm_medium=Plugin&utm_campaign=OptinMonsterAboutUs',
138
+ ),
139
+ ),
140
+ 'trustpulse-api/trustpulse.php' => array(
141
+ 'icon' => $this->base->url . 'assets/images/about/plugin-trustpulse.png',
142
+ 'class' => 'trustpulse-apitrustpulsephp',
143
+ 'check' => array( 'class' => 'TPAPI' ),
144
+ 'name' => 'TrustPulse',
145
+ 'desc' => __( 'TrustPulse is the honest marketing platform that leverages and automates the real power of social proof to instantly increase trust, conversions and sales.', 'optin-monster-api' ),
146
+ 'url' => 'https://downloads.wordpress.org/plugin/trustpulse-api.zip',
147
+ 'pro' => array(
148
+ 'plugin' => '',
149
+ 'name' => 'TrustPulse',
150
+ 'url' => 'https://trustpulse.com/?utm_source=WordPress&utm_medium=Plugin&utm_campaign=OptinMonsterAboutUs',
151
+ ),
152
+ ),
153
+ );
154
+
155
+ foreach ( $data as $plugin_id => $plugin ) {
156
+ $plugin['id'] = $plugin_id;
157
+ $data[ $plugin_id ]['id'] = $plugin_id;
158
+
159
+ if ( $include_status ) {
160
+
161
+ list( $installed, $active ) = $this->plugin_exists_checks( $plugin );
162
+
163
+ $data[ $plugin_id ]['status'] = $installed ?
164
+ $active ?
165
+ __( 'Active', 'optin-monster-api' ) :
166
+ __( 'Inactive', 'optin-monster-api' )
167
+ : __( 'Not Installed', 'optin-monster-api' );
168
+
169
+ $data[ $plugin_id ]['installed'] = $installed;
170
+ $data[ $plugin_id ]['active'] = $installed && $active;
171
+ }
172
+ }
173
+
174
+ return $data;
175
+ }
176
+
177
+ /**
178
+ * Check if plugin is active/installed.
179
+ *
180
+ * @since 2.0.0
181
+ *
182
+ * @param array $plugin Array of plugin data.
183
+ *
184
+ * @return bool
185
+ */
186
+ public function plugin_exists_checks( $plugin ) {
187
+
188
+ // Check if plugin is active by checking if class/function/constant exists.
189
+ // This gets around limitations with the normal `is_plugin_active` checks.
190
+ // Those limitations include:
191
+ // - The install path could be modified (e.g. using -beta version, or version downloaded from github)
192
+ // - The plugin is considered "active", but the actual plugin has been deleted from the server.
193
+ $active = $this->plugin_code_exists_checks( $plugin );
194
+
195
+ // If plugin is active, it's definitely installed.
196
+ $installed = $active
197
+ // Otherwise, check if it exists in the list of plugins.
198
+ || $this->plugin_installed( $plugin );
199
+
200
+ return array( $installed, $active );
201
+ }
202
+
203
+ /**
204
+ * Check if plugin is active via code checks.
205
+ *
206
+ * @since 2.0.0
207
+ *
208
+ * @param array $plugin Array of plugin data.
209
+ *
210
+ * @return bool
211
+ */
212
+ protected function plugin_code_exists_checks( $plugin ) {
213
+
214
+ // Loop through all checks.
215
+ foreach ( $plugin['check'] as $check_type => $to_check ) {
216
+
217
+ // Now loop through all the things to checks.
218
+ foreach ( (array) $to_check as $thing_to_check ) {
219
+ switch ( $check_type ) {
220
+ case 'function':
221
+ if ( function_exists( $thing_to_check ) ) {
222
+ return true;
223
+ }
224
+ break;
225
+ case 'class':
226
+ if ( class_exists( $thing_to_check ) ) {
227
+ return true;
228
+ }
229
+ break;
230
+ case 'constant':
231
+ if ( defined( $thing_to_check ) ) {
232
+ return true;
233
+ }
234
+ break;
235
+ }
236
+ }
237
+ }
238
+
239
+ return false;
240
+ }
241
+
242
+ /**
243
+ * Check if plugin is installed (exists in array of plugin data).
244
+ *
245
+ * @since 2.0.0
246
+ *
247
+ * @param array $plugin Array of plugin data.
248
+ *
249
+ * @return bool
250
+ */
251
+ protected function plugin_installed( $plugin ) {
252
+ static $all_plugins = null;
253
+
254
+ if ( null === $all_plugins ) {
255
+ if ( ! function_exists( 'get_plugins' ) ) {
256
+ require_once ABSPATH . 'wp-admin/includes/plugin.php';
257
+ }
258
+
259
+ $all_plugins = get_plugins();
260
+ }
261
+
262
+ return array_key_exists( $plugin['id'], $all_plugins )
263
+ || array_key_exists( $plugin['pro']['plugin'], $all_plugins );
264
+ }
265
+
266
+ /**
267
+ * Installs and activates a plugin for a given url (if user is allowed).
268
+ *
269
+ * @since 2.0.0
270
+ *
271
+ * @param string $plugin_url The Plugin URL
272
+ * @return array On success.
273
+ * @throws Exception On error.
274
+ */
275
+ public function install_plugin( $plugin_url ) {
276
+
277
+ $not_allowed_exception = new Exception( esc_html__( 'Sorry, not allowed!', 'optin-monster-api' ), rest_authorization_required_code() );
278
+
279
+ // Check for permissions.
280
+ if ( ! current_user_can( 'install_plugins' ) ) {
281
+ throw $not_allowed_exception;
282
+ }
283
+
284
+ require_once ABSPATH . 'wp-admin/includes/file.php';
285
+ $creds = request_filesystem_credentials( admin_url( 'admin.php' ), '', false, false, null );
286
+
287
+ // Check for file system permissions.
288
+ if ( false === $creds ) {
289
+ throw $not_allowed_exception;
290
+ }
291
+
292
+ // We do not need any extra credentials if we have gotten this far, so let's install the plugin.
293
+ require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
294
+ if ( ! function_exists( 'get_plugin_data' ) ) {
295
+ require_once ABSPATH . 'wp-admin/includes/plugin.php';
296
+ }
297
+
298
+ // Create the plugin upgrader with our custom skin.
299
+ $installer = new Plugin_Upgrader( new OMAPI_InstallSkin() );
300
+
301
+ // Error check.
302
+ if ( ! method_exists( $installer, 'install' ) ) {
303
+ throw new Exception( esc_html__( 'Missing required installer!', 'optin-monster-api' ), 500 );
304
+ }
305
+
306
+ $result = $installer->install( esc_url_raw( $plugin_url ) ); // phpcs:ignore
307
+
308
+ if ( ! $installer->plugin_info() ) {
309
+ throw new Exception( esc_html__( 'Plugin failed to install!', 'optin-monster-api' ), 500 );
310
+ }
311
+
312
+ $plugin_basename = $installer->plugin_info();
313
+
314
+ // Activate the plugin silently.
315
+ if ( ! is_wp_error( activate_plugin( $plugin_basename ) ) ) {
316
+ return array(
317
+ 'message' => esc_html__( 'Plugin installed & activated.', 'optin-monster-api' ),
318
+ 'is_activated' => true,
319
+ 'basename' => $plugin_basename,
320
+ );
321
+ }
322
+
323
+ return array(
324
+ 'message' => esc_html__( 'Plugin installed.', 'optin-monster-api' ),
325
+ 'is_activated' => false,
326
+ 'basename' => $plugin_basename,
327
+ );
328
+ }
329
+
330
+ /**
331
+ * Activates a plugin with a given plugin name (if user is allowed).
332
+ *
333
+ * @since 2.0.0
334
+ *
335
+ * @param string $plugin_id
336
+ * @return array On success.
337
+ * @throws Exception On error.
338
+ */
339
+ public function activate_plugin( $plugin_id ) {
340
+
341
+ // Check for permissions.
342
+ if ( ! current_user_can( 'activate_plugins' ) ) {
343
+ throw new Exception( esc_html__( 'Sorry, not allowed!', 'optin-monster-api' ), rest_authorization_required_code() );
344
+ }
345
+
346
+ if ( ! function_exists( 'get_plugin_data' ) ) {
347
+ require_once ABSPATH . 'wp-admin/includes/plugin.php';
348
+ }
349
+
350
+ $activate = activate_plugins( sanitize_text_field( $plugin_id ) );
351
+
352
+ if ( is_wp_error( $activate ) ) {
353
+ $e = new OMAPI_WpErrorException();
354
+ throw $e->setWpError( $activate );
355
+ }
356
+
357
+ return array(
358
+ 'message' => esc_html__( 'Plugin activated.', 'optin-monster-api' ),
359
+ );
360
+ }
361
+
362
+ }
OMAPI/Refresh.php CHANGED
@@ -90,32 +90,8 @@ class OMAPI_Refresh {
90
  * @since 1.0.0
91
  */
92
  public function set() {
93
-
94
  self::$instance = $this;
95
  $this->base = OMAPI::get_instance();
96
- $this->view = isset( $_GET['optin_monster_api_view'] ) ? stripslashes( $_GET['optin_monster_api_view'] ) : $this->base->get_view();
97
- }
98
-
99
- /**
100
- * Maybe refresh optins if the action has been requested.
101
- *
102
- * @since 1.0.0
103
- */
104
- public function maybe_refresh() {
105
-
106
- // If we are missing our save action, return early.
107
- if ( empty( $_POST['omapi_refresh'] ) ) {
108
- return;
109
- }
110
-
111
- // Verify the nonce field.
112
- check_admin_referer( 'omapi_nonce_' . $this->view, 'omapi_nonce_' . $this->view );
113
-
114
- // Refresh the optins.
115
- $this->refresh();
116
-
117
- // Provide action to refresh optins.
118
- do_action( 'optin_monster_api_refresh_optins', $this->view );
119
  }
120
 
121
  /**
@@ -174,15 +150,7 @@ class OMAPI_Refresh {
174
  $option = array_merge( $option, $result );
175
  }
176
 
177
- $this->base->save->update_option( $option, $this->view );
178
- }
179
-
180
- add_action( 'all_admin_notices', array( $this, 'error' ) );
181
-
182
- if ( ! $this->error ) {
183
-
184
- // Set success message.
185
- add_action( 'all_admin_notices', array( $this, 'message' ) );
186
  }
187
 
188
  return $this->error ? $this->error : true;
@@ -198,7 +166,7 @@ class OMAPI_Refresh {
198
  *
199
  * @return WP_Error|bool True if successful.
200
  */
201
- public function sync( $campaign_id, $is_legacy ) {
202
  $time = time();
203
  $path = "for-wp/{$campaign_id}?t={$time}";
204
  if ( $is_legacy ) {
@@ -229,31 +197,6 @@ class OMAPI_Refresh {
229
  return $this->error ? $this->error : true;
230
  }
231
 
232
- /**
233
- * Output an error message.
234
- *
235
- * @since 1.0.0
236
- */
237
- public function error() {
238
- if ( is_wp_error( $this->error ) ) {
239
- ?>
240
- <div class="updated error"><p><?php echo $this->error->get_error_message(); ?></p></div>
241
- <?php
242
- }
243
- }
244
-
245
- /**
246
- * Output a refresh message.
247
- *
248
- * @since 1.0.0
249
- */
250
- public function message() {
251
-
252
- ?>
253
- <div class="updated"><p><?php esc_html_e( 'Your campaigns have been refreshed successfully.', 'optin-monster-api' ); ?></p></div>
254
- <?php
255
- }
256
-
257
  /**
258
  * Gets contextual info for API requests.
259
  *
90
  * @since 1.0.0
91
  */
92
  public function set() {
 
93
  self::$instance = $this;
94
  $this->base = OMAPI::get_instance();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
95
  }
96
 
97
  /**
150
  $option = array_merge( $option, $result );
151
  }
152
 
153
+ $this->base->save->update_option( $option );
 
 
 
 
 
 
 
 
154
  }
155
 
156
  return $this->error ? $this->error : true;
166
  *
167
  * @return WP_Error|bool True if successful.
168
  */
169
+ public function sync( $campaign_id, $is_legacy = false ) {
170
  $time = time();
171
  $path = "for-wp/{$campaign_id}?t={$time}";
172
  if ( $is_legacy ) {
197
  return $this->error ? $this->error : true;
198
  }
199
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
200
  /**
201
  * Gets contextual info for API requests.
202
  *
OMAPI/RestApi.php CHANGED
@@ -38,6 +38,15 @@ class OMAPI_RestApi {
38
  */
39
  protected $namespace = 'omapp/v1';
40
 
 
 
 
 
 
 
 
 
 
41
  /**
42
  * Whether Access-Control-Allow-Headers header was set/updated by us.
43
  *
@@ -95,10 +104,9 @@ class OMAPI_RestApi {
95
  );
96
 
97
  // Route for triggering refreshing/syncing of all campaigns.
98
- // TODO: Keeping for future settings revamp.
99
  register_rest_route(
100
  $this->namespace,
101
- '/campaigns/refresh',
102
  array(
103
  'methods' => 'POST',
104
  'permission_callback' => array( $this, 'has_valid_api_key' ),
@@ -107,10 +115,9 @@ class OMAPI_RestApi {
107
  );
108
 
109
  // Route for fetching the campaign data for specific campaign.
110
- // TODO: Keeping for future settings revamp.
111
  register_rest_route(
112
  $this->namespace,
113
- '/campaigns/(?P<id>\w+)',
114
  array(
115
  'methods' => 'GET',
116
  'permission_callback' => array( $this, 'logged_in_or_has_api_key' ),
@@ -119,10 +126,9 @@ class OMAPI_RestApi {
119
  );
120
 
121
  // Route for updating the campaign data.
122
- // TODO: Keeping for future settings revamp.
123
  register_rest_route(
124
  $this->namespace,
125
- '/campaigns/(?P<id>\w+)',
126
  array(
127
  'methods' => 'PUT',
128
  'permission_callback' => array( $this, 'has_valid_api_key' ),
@@ -131,10 +137,9 @@ class OMAPI_RestApi {
131
  );
132
 
133
  // Route for triggering refreshing/syncing of a single campaign.
134
- // TODO: Keeping for future settings revamp.
135
  register_rest_route(
136
  $this->namespace,
137
- '/campaigns/(?P<id>[\w-]+)/sync',
138
  array(
139
  'methods' => 'POST',
140
  'permission_callback' => array( $this, 'has_valid_api_key' ),
@@ -142,15 +147,144 @@ class OMAPI_RestApi {
142
  )
143
  );
144
 
145
- // Route for fetching the campaign data.
146
- // TODO: Keeping for future settings revamp.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
147
  register_rest_route(
148
  $this->namespace,
149
- '/campaign-dashboard',
150
  array(
151
  'methods' => 'GET',
152
  'permission_callback' => array( $this, 'logged_in_or_has_api_key' ),
153
- 'callback' => array( $this, 'get_campaigns_data' ),
 
 
 
 
 
 
 
 
 
 
154
  )
155
  );
156
  }
@@ -166,7 +300,7 @@ class OMAPI_RestApi {
166
  * @return string[]
167
  */
168
  public function set_allow_headers( $allow_headers ) {
169
- $allow_headers[] = 'X-OptinMonster-ApiKey';
170
  $this->allow_header_set = true;
171
 
172
  // remove fall-through.
@@ -208,6 +342,8 @@ class OMAPI_RestApi {
208
  /**
209
  * Triggers refreshing our campaigns.
210
  *
 
 
211
  * @since 1.9.10
212
  *
213
  * @param WP_REST_Request $request The REST Request.
@@ -226,6 +362,8 @@ class OMAPI_RestApi {
226
  * Fetch some quick info about this WP installation
227
  * (WP version, plugin version, rest url, home url, WooCommerce version)
228
  *
 
 
229
  * @since 1.9.10
230
  *
231
  * @param WP_REST_Request $request The REST Request.
@@ -240,6 +378,8 @@ class OMAPI_RestApi {
240
  * Fetch in-depth support info about this WP installation.
241
  * Used for the debug PDF, but can also be requested by support staff with the right api key.
242
  *
 
 
243
  * @since 1.9.10
244
  *
245
  * @param WP_REST_Request $request The REST Request.
@@ -260,6 +400,8 @@ class OMAPI_RestApi {
260
  /**
261
  * Triggering refreshing/syncing of a single campaign.
262
  *
 
 
263
  * @since 1.9.10
264
  *
265
  * @param WP_REST_Request $request The REST Request.
@@ -286,42 +428,62 @@ class OMAPI_RestApi {
286
  /**
287
  * Gets all the data needed for the campaign dashboard for a given campaign.
288
  *
 
 
289
  * @since 1.9.10
290
  *
291
  * @param WP_REST_Request $request The REST Request.
292
  * @return WP_REST_Response The API Response
293
  */
294
  public function get_campaign_data( $request ) {
295
- $campaign_id = $request->get_param( 'id' );
 
 
 
 
 
 
 
 
296
 
297
- if ( empty( $campaign_id ) ) {
298
- return new WP_REST_Response(
299
- array( 'message' => esc_html__( 'No campaign ID given.', 'optin-monster-api' ) ),
300
- 400
301
- );
302
- }
303
 
304
- $campaign = $this->base->get_optin_by_slug( $campaign_id );
305
- if ( empty( $campaign->ID ) ) {
306
- return new WP_REST_Response(
307
- array(
308
- /* translators: %s: the campaign post id. */
309
- 'message' => sprintf( esc_html__( 'Could not find campaign by given ID: %s.', 'optin-monster-api' ), $campaign_id ),
310
- ),
311
- 404
312
- );
313
- }
314
 
315
- // Get Campaigns Data.
316
- $data = $this->base->collect_campaign_data( $campaign );
317
- $data = apply_filters( 'optin_monster_api_setting_ui_data_for_campaign', $data, $campaign );
 
 
 
 
 
 
 
 
 
 
318
 
319
- return new WP_REST_Response( $data, 200 );
 
 
 
 
320
  }
321
 
322
  /**
323
  * Updates data for given campaign.
324
  *
 
 
325
  * @since 1.9.10
326
  *
327
  * @param WP_REST_Request $request The REST Request.
@@ -374,84 +536,109 @@ class OMAPI_RestApi {
374
  }
375
 
376
  /**
377
- * Gets all the data needed for the campaigns.
 
 
378
  *
379
  * @since 1.9.10
380
  *
381
  * @param WP_REST_Request $request The REST Request.
382
  * @return WP_REST_Response The API Response
383
  */
384
- public function get_campaigns_data( $request ) {
385
  global $wpdb;
386
 
 
 
 
 
 
387
  if ( $request->get_param( 'refresh' ) ) {
388
  $this->base->refresh->refresh();
389
  }
390
 
391
- // Get Campaigns Data.
392
- $campaigns = $this->base->get_optins();
393
- $campaigns = ! empty( $campaigns ) ? $campaigns : array();
394
  $campaign_data = array();
 
 
 
 
395
 
396
- foreach ( $campaigns as $campaign ) {
397
- $campaign_data[] = $this->base->collect_campaign_data( $campaign );
 
398
  }
399
 
400
- $woo = $this->base->is_woocommerce_active();
401
- $mp = $this->base->is_mailpoet_active();
402
-
403
- // Get Taxonomies Data.
404
- $taxonomies = get_taxonomies( array( 'public' => true ), 'objects' );
405
- $taxonomies = apply_filters( 'optin_monster_api_setting_ui_taxonomies', $taxonomies );
406
- $taxonomy_map = array();
407
- $cats = get_categories();
408
- $taxonomy_map['categories'] = array(
409
- 'name' => 'categories',
410
- 'label' => 'Post categories',
411
- 'terms' => is_array( $cats ) ? array_values( $cats ) : array(),
412
- 'wc' => false,
413
- );
 
 
 
 
 
 
 
414
 
415
- $ignore = array(
416
- 'category' => 1,
417
- );
418
- foreach ( $taxonomies as $taxonomy ) {
419
- if ( isset( $ignore[ $taxonomy->name ] ) ) {
420
- continue;
 
 
 
 
 
 
 
421
  }
422
- $terms = get_terms(
423
- array(
424
- 'taxonomy' => $taxonomy->name,
425
- 'get' => 'all',
426
- )
427
- );
428
- $taxonomy_map[ $taxonomy->name ] = array(
429
- 'name' => $taxonomy->name,
430
- 'label' => ucwords( $taxonomy->label ),
431
- 'terms' => is_array( $terms ) ? array_values( $terms ) : array(),
432
- 'wc' => $woo && 0 === strpos( $taxonomy->name, 'product_' ),
433
- );
434
  }
435
 
 
 
 
 
 
 
 
 
 
 
 
 
436
  // Get "Config" data.
437
  $config = array(
438
- 'hasMailPoet' => $mp,
439
- 'hasWooCommerce' => $woo,
440
- 'mailPoetLists' => $mp ? $this->base->mailpoet->get_lists() : array(),
 
 
 
 
 
 
441
  );
442
 
443
- // Posts query.
444
- $post_types = sanitize_text_field( implode( '","', get_post_types( array( 'public' => true ) ) ) );
445
- $posts = $wpdb->get_results( "SELECT ID AS `value`, post_title AS `name` FROM {$wpdb->prefix}posts WHERE post_type IN (\"{$post_types}\") AND post_status IN('publish', 'future') ORDER BY post_title ASC", ARRAY_A );
446
-
447
  $response_data = apply_filters(
448
  'optin_monster_api_setting_ui_data',
449
  array(
 
450
  'campaigns' => $campaign_data,
451
  'taxonomies' => $taxonomy_map,
452
- 'config' => $config,
453
  'posts' => $posts,
454
- 'post_types' => array_values( get_post_types( array( 'public' => true ), 'object' ) ),
455
  )
456
  );
457
 
@@ -459,101 +646,830 @@ class OMAPI_RestApi {
459
  }
460
 
461
  /**
462
- * Sanitize value recursively.
463
  *
464
- * @since 1.9.10
465
  *
466
- * @param mixed $value The value to sanitize.
467
  *
468
- * @return mixed The sanitized value.
 
 
469
  */
470
- public function sanitize( $value ) {
471
- if ( empty( $value ) ) {
472
- return $value;
473
- }
474
 
475
- if ( is_scalar( $value ) ) {
476
- return sanitize_text_field( $value );
 
 
 
477
  }
478
 
479
- if ( is_array( $value ) ) {
480
- return array_map( array( $this, 'sanitize' ), $value );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
481
  }
 
 
 
 
 
 
 
 
 
 
 
482
  }
483
 
484
  /**
485
- * Determine if OM API key is provided and valid.
486
  *
487
- * @since 1.9.10
488
  *
489
- * @param WP_REST_Request $request The REST Request.
490
  *
491
- * @return bool
 
 
492
  */
493
- public function has_valid_api_key( $request ) {
494
- $header = $request->get_header( 'X-OptinMonster-ApiKey' );
495
 
496
- // Use this API Key to validate.
497
- if ( ! $this->validate_api_key( $header ) ) {
498
- return new WP_Error(
499
- 'omapp_rest_forbidden',
500
- esc_html__( 'Could not verify your API Key.', 'optin-monster-api' ),
501
- array(
502
- 'status' => rest_authorization_required_code(),
 
 
 
 
 
 
 
 
 
 
 
503
  )
 
 
 
 
 
 
 
 
 
 
 
 
504
  );
505
  }
506
 
507
- return true;
508
  }
509
 
510
  /**
511
- * Determine if logged in or OM API key is provided and valid.
512
  *
513
- * @since 1.9.10
514
  *
515
- * @param WP_REST_Request $request The REST Request.
516
  *
517
- * @return bool
518
  */
519
- public function logged_in_or_has_api_key( $request ) {
520
- return is_user_logged_in() || true === $this->has_valid_api_key( $request );
 
 
 
 
 
 
521
  }
522
 
523
  /**
524
- * Validate this API Key
525
- * We validate an API Key by fetching the Sites this key can fetch
526
- * And then confirming that this key has access to at least one of these sites
527
  *
528
- * @since 1.8.0
529
  *
530
- * @param string $api_key The OM api key.
531
  *
532
- * @return bool True if the Key can be validated
 
 
533
  */
534
- public function validate_api_key( $api_key ) {
535
- if ( empty( $api_key ) ) {
536
- return false;
537
- }
538
 
539
- $site_ids = $this->base->get_site_ids();
 
540
 
541
- if ( empty( $site_ids ) ) {
542
- return false;
 
543
  }
544
 
545
- $api_key_sites = $this->base->sites->fetch( $api_key );
 
546
 
547
- if ( is_wp_error( $api_key_sites ) || empty( $api_key_sites['siteIds'] ) ) {
548
- return false;
549
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
550
 
551
- foreach ( $site_ids as $site_id ) {
552
- if ( in_array( $site_id, $api_key_sites['siteIds'] ) ) {
553
- return true;
554
  }
 
 
 
 
 
555
  }
 
556
 
557
- return false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
558
  }
559
  }
38
  */
39
  protected $namespace = 'omapp/v1';
40
 
41
+ /**
42
+ * Whether request was given a valid api key.
43
+ *
44
+ * @since 2.0.0
45
+ *
46
+ * @var null|bool
47
+ */
48
+ protected $has_valid_api_key = null;
49
+
50
  /**
51
  * Whether Access-Control-Allow-Headers header was set/updated by us.
52
  *
104
  );
105
 
106
  // Route for triggering refreshing/syncing of all campaigns.
 
107
  register_rest_route(
108
  $this->namespace,
109
+ 'campaigns/refresh',
110
  array(
111
  'methods' => 'POST',
112
  'permission_callback' => array( $this, 'has_valid_api_key' ),
115
  );
116
 
117
  // Route for fetching the campaign data for specific campaign.
 
118
  register_rest_route(
119
  $this->namespace,
120
+ 'campaigns/(?P<id>\w+)',
121
  array(
122
  'methods' => 'GET',
123
  'permission_callback' => array( $this, 'logged_in_or_has_api_key' ),
126
  );
127
 
128
  // Route for updating the campaign data.
 
129
  register_rest_route(
130
  $this->namespace,
131
+ 'campaigns/(?P<id>\w+)',
132
  array(
133
  'methods' => 'PUT',
134
  'permission_callback' => array( $this, 'has_valid_api_key' ),
137
  );
138
 
139
  // Route for triggering refreshing/syncing of a single campaign.
 
140
  register_rest_route(
141
  $this->namespace,
142
+ 'campaigns/(?P<id>[\w-]+)/sync',
143
  array(
144
  'methods' => 'POST',
145
  'permission_callback' => array( $this, 'has_valid_api_key' ),
147
  )
148
  );
149
 
150
+ // Route for fetching data/resources needed for the campaigns.
151
+ register_rest_route(
152
+ $this->namespace,
153
+ 'resources',
154
+ array(
155
+ 'methods' => 'GET',
156
+ 'permission_callback' => array( $this, 'logged_in_or_has_api_key' ),
157
+ 'callback' => array( $this, 'get_wp_resources' ),
158
+ )
159
+ );
160
+
161
+ register_rest_route(
162
+ $this->namespace,
163
+ 'notifications',
164
+ array(
165
+ 'methods' => 'GET',
166
+ 'permission_callback' => array( $this, 'logged_in_or_has_api_key' ),
167
+ 'callback' => array( $this, 'get_notifications' ),
168
+ )
169
+ );
170
+
171
+ register_rest_route(
172
+ $this->namespace,
173
+ 'notifications/dismiss',
174
+ array(
175
+ 'methods' => 'POST',
176
+ 'permission_callback' => array( $this, 'logged_in_or_has_api_key' ),
177
+ 'callback' => array( $this, 'dismiss_notification' ),
178
+ )
179
+ );
180
+
181
+ register_rest_route(
182
+ $this->namespace,
183
+ 'notifications/create',
184
+ array(
185
+ 'methods' => 'POST',
186
+ 'permission_callback' => array( $this, 'logged_in_or_has_api_key' ),
187
+ 'callback' => array( $this, 'create_event_notification' ),
188
+ )
189
+ );
190
+
191
+ register_rest_route(
192
+ $this->namespace,
193
+ 'plugins',
194
+ array(
195
+ 'methods' => 'GET',
196
+ 'permission_callback' => array( $this, 'logged_in_or_has_api_key' ),
197
+ 'callback' => array( $this, 'get_am_plugins_list' ),
198
+ )
199
+ );
200
+
201
+ register_rest_route(
202
+ $this->namespace,
203
+ 'plugins',
204
+ array(
205
+ 'methods' => 'POST',
206
+ 'permission_callback' => array( $this, 'logged_in_or_has_api_key' ),
207
+ 'callback' => array( $this, 'handle_plugin_action' ),
208
+ )
209
+ );
210
+
211
+ register_rest_route(
212
+ $this->namespace,
213
+ 'woocommerce/autogenerate',
214
+ array(
215
+ 'methods' => 'POST',
216
+ 'permission_callback' => array( $this, 'can_update_settings' ),
217
+ 'callback' => array( $this, 'woocommerce_autogenerate' ),
218
+ )
219
+ );
220
+
221
+ register_rest_route(
222
+ $this->namespace,
223
+ 'woocommerce/save',
224
+ array(
225
+ 'methods' => 'POST',
226
+ 'permission_callback' => array( $this, 'can_update_settings' ),
227
+ 'callback' => array( $this, 'woocommerce_save' ),
228
+ )
229
+ );
230
+
231
+ register_rest_route(
232
+ $this->namespace,
233
+ 'woocommerce/disconnect',
234
+ array(
235
+ 'methods' => 'POST',
236
+ 'permission_callback' => array( $this, 'can_update_settings' ),
237
+ 'callback' => array( $this, 'woocommerce_disconnect' ),
238
+ )
239
+ );
240
+
241
+ register_rest_route(
242
+ $this->namespace,
243
+ 'woocommerce/key',
244
+ array(
245
+ 'methods' => 'GET',
246
+ 'permission_callback' => array( $this, 'logged_in_or_has_api_key' ),
247
+ 'callback' => array( $this, 'woocommerce_get_key' ),
248
+ )
249
+ );
250
+
251
+ register_rest_route(
252
+ $this->namespace,
253
+ 'api',
254
+ array(
255
+ 'methods' => 'POST',
256
+ 'permission_callback' => array( $this, 'can_store_api_key' ),
257
+ 'callback' => array( $this, 'init_api_key_connection' ),
258
+ )
259
+ );
260
+
261
+ register_rest_route(
262
+ $this->namespace,
263
+ 'api',
264
+ array(
265
+ 'methods' => 'DELETE',
266
+ 'permission_callback' => array( $this, 'can_delete_api_key' ),
267
+ 'callback' => array( $this, 'disconnect' ),
268
+ )
269
+ );
270
+
271
  register_rest_route(
272
  $this->namespace,
273
+ 'settings',
274
  array(
275
  'methods' => 'GET',
276
  'permission_callback' => array( $this, 'logged_in_or_has_api_key' ),
277
+ 'callback' => array( $this, 'get_settings' ),
278
+ )
279
+ );
280
+
281
+ register_rest_route(
282
+ $this->namespace,
283
+ 'settings',
284
+ array(
285
+ 'methods' => 'POST',
286
+ 'permission_callback' => array( $this, 'can_update_settings' ),
287
+ 'callback' => array( $this, 'update_settings' ),
288
  )
289
  );
290
  }
300
  * @return string[]
301
  */
302
  public function set_allow_headers( $allow_headers ) {
303
+ $allow_headers[] = 'X-OptinMonster-ApiKey';
304
  $this->allow_header_set = true;
305
 
306
  // remove fall-through.
342
  /**
343
  * Triggers refreshing our campaigns.
344
  *
345
+ * Route: POST omapp/v1/campaigns/refresh
346
+ *
347
  * @since 1.9.10
348
  *
349
  * @param WP_REST_Request $request The REST Request.
362
  * Fetch some quick info about this WP installation
363
  * (WP version, plugin version, rest url, home url, WooCommerce version)
364
  *
365
+ * Route: GET omapp/v1/info
366
+ *
367
  * @since 1.9.10
368
  *
369
  * @param WP_REST_Request $request The REST Request.
378
  * Fetch in-depth support info about this WP installation.
379
  * Used for the debug PDF, but can also be requested by support staff with the right api key.
380
  *
381
+ * Route: GET omapp/v1/support
382
+ *
383
  * @since 1.9.10
384
  *
385
  * @param WP_REST_Request $request The REST Request.
400
  /**
401
  * Triggering refreshing/syncing of a single campaign.
402
  *
403
+ * Route: POST omapp/v1/campaigns/(?P<id>[\w-]+)/sync
404
+ *
405
  * @since 1.9.10
406
  *
407
  * @param WP_REST_Request $request The REST Request.
428
  /**
429
  * Gets all the data needed for the campaign dashboard for a given campaign.
430
  *
431
+ * Route: GET omapp/v1/campaigns/(?P<id>\w+)
432
+ *
433
  * @since 1.9.10
434
  *
435
  * @param WP_REST_Request $request The REST Request.
436
  * @return WP_REST_Response The API Response
437
  */
438
  public function get_campaign_data( $request ) {
439
+ try {
440
+ $campaign_id = $request->get_param( 'id' );
441
+
442
+ if ( empty( $campaign_id ) ) {
443
+ return new WP_REST_Response(
444
+ array( 'message' => esc_html__( 'No campaign ID given.', 'optin-monster-api' ) ),
445
+ 400
446
+ );
447
+ }
448
 
449
+ $campaign = $this->base->get_optin_by_slug( $campaign_id );
 
 
 
 
 
450
 
451
+ if ( empty( $campaign->ID ) ) {
452
+ $this->base->refresh->sync( $campaign_id );
453
+ if ( is_wp_error( $this->base->refresh->error ) ) {
454
+ $e = new OMAPI_WpErrorException();
455
+ throw $e->setWpError( $this->base->refresh->error );
456
+ }
457
+
458
+ $campaign = $this->base->get_optin_by_slug( $campaign_id );
459
+ }
 
460
 
461
+ if ( empty( $campaign->ID ) ) {
462
+ return new WP_REST_Response(
463
+ array(
464
+ /* translators: %s: the campaign post id. */
465
+ 'message' => sprintf( esc_html__( 'Could not find campaign by given ID: %s. Are you sure campaign is associated with this site?', 'optin-monster-api' ), $campaign_id ),
466
+ ),
467
+ 404
468
+ );
469
+ }
470
+
471
+ // Get Campaigns Data.
472
+ $data = $this->base->collect_campaign_data( $campaign );
473
+ $data = apply_filters( 'optin_monster_api_setting_ui_data_for_campaign', $data, $campaign );
474
 
475
+ return new WP_REST_Response( $data, 200 );
476
+
477
+ } catch ( Exception $e ) {
478
+ return $this->exception_to_response( $e );
479
+ }
480
  }
481
 
482
  /**
483
  * Updates data for given campaign.
484
  *
485
+ * Route: PUT omapp/v1/campaigns/(?P<id>\w+)
486
+ *
487
  * @since 1.9.10
488
  *
489
  * @param WP_REST_Request $request The REST Request.
536
  }
537
 
538
  /**
539
+ * Gets all the data/resources needed for the campaigns.
540
+ *
541
+ * Route: GET omapp/v1/resources
542
  *
543
  * @since 1.9.10
544
  *
545
  * @param WP_REST_Request $request The REST Request.
546
  * @return WP_REST_Response The API Response
547
  */
548
+ public function get_wp_resources( $request ) {
549
  global $wpdb;
550
 
551
+ $excluded = $request->get_param( 'excluded' );
552
+ $excluded = ! empty( $excluded )
553
+ ? explode( ',', $excluded )
554
+ : array();
555
+
556
  if ( $request->get_param( 'refresh' ) ) {
557
  $this->base->refresh->refresh();
558
  }
559
 
 
 
 
560
  $campaign_data = array();
561
+ if ( ! in_array( 'campaigns', $excluded, true ) ) {
562
+ // Get Campaigns Data.
563
+ $campaigns = $this->base->get_optins( array( 'post_status' => 'any' ) );
564
+ $campaigns = ! empty( $campaigns ) ? $campaigns : array();
565
 
566
+ foreach ( $campaigns as $campaign ) {
567
+ $campaign_data[] = $this->base->collect_campaign_data( $campaign );
568
+ }
569
  }
570
 
571
+ $has_woo = OMAPI::is_woocommerce_active();
572
+ $mailpoet = $this->base->is_mailpoet_active();
573
+
574
+ $taxonomy_map = array();
575
+ if ( ! in_array( 'taxonomies', $excluded, true ) ) {
576
+
577
+ // Get Taxonomies Data.
578
+ $taxonomies = get_taxonomies( array( 'public' => true ), 'objects' );
579
+ $taxonomies = apply_filters( 'optin_monster_api_setting_ui_taxonomies', $taxonomies );
580
+
581
+ foreach ( $taxonomies as $taxonomy ) {
582
+ if ( 'category' === $taxonomy->name ) {
583
+ $cats = get_categories();
584
+ $taxonomy_map['categories'] = array(
585
+ 'name' => 'categories',
586
+ 'label' => ucwords( $taxonomy->label ),
587
+ 'terms' => is_array( $cats ) ? array_values( $cats ) : array(),
588
+ 'for' => $taxonomy->object_type,
589
+ );
590
+ continue;
591
+ }
592
 
593
+ $terms = get_terms(
594
+ array(
595
+ 'taxonomy' => $taxonomy->name,
596
+ 'get' => 'all',
597
+ )
598
+ );
599
+
600
+ $taxonomy_map[ $taxonomy->name ] = array(
601
+ 'name' => $taxonomy->name,
602
+ 'label' => ucwords( $taxonomy->label ),
603
+ 'terms' => is_array( $terms ) ? array_values( $terms ) : array(),
604
+ 'for' => $taxonomy->object_type,
605
+ );
606
  }
 
 
 
 
 
 
 
 
 
 
 
 
607
  }
608
 
609
+ $posts = array();
610
+ if ( ! in_array( 'posts', $excluded, true ) ) {
611
+
612
+ // Posts query.
613
+ $post_types = sanitize_text_field( implode( '","', get_post_types( array( 'public' => true ) ) ) );
614
+ $posts = $wpdb->get_results( "SELECT ID AS `value`, post_title AS `name` FROM {$wpdb->prefix}posts WHERE post_type IN (\"{$post_types}\") AND post_status IN('publish', 'future') ORDER BY post_title ASC", ARRAY_A );
615
+ }
616
+
617
+ $post_types = ! in_array( 'post_types', $excluded, true )
618
+ ? array_values( get_post_types( array( 'public' => true ), 'object' ) )
619
+ : array();
620
+
621
  // Get "Config" data.
622
  $config = array(
623
+ 'hasMailPoet' => $mailpoet,
624
+ 'isWooActive' => $has_woo,
625
+ 'isWooConnected' => OMAPI_WooCommerce::is_connected(),
626
+ 'mailPoetLists' => $mailpoet && ! in_array( 'mailPoetLists', $excluded, true )
627
+ ? $this->base->mailpoet->get_lists()
628
+ : array(),
629
+ 'mailPoetFields' => $mailpoet && ! in_array( 'mailPoetFields', $excluded, true )
630
+ ? $this->base->mailpoet->get_custom_fields()
631
+ : array(),
632
  );
633
 
 
 
 
 
634
  $response_data = apply_filters(
635
  'optin_monster_api_setting_ui_data',
636
  array(
637
+ 'config' => $config,
638
  'campaigns' => $campaign_data,
639
  'taxonomies' => $taxonomy_map,
 
640
  'posts' => $posts,
641
+ 'post_types' => $post_types,
642
  )
643
  );
644
 
646
  }
647
 
648
  /**
649
+ * Gets the list of AM notifications.
650
  *
651
+ * Route: GET omapp/v1/notifications
652
  *
653
+ * @since 2.0.0
654
  *
655
+ * @param WP_REST_Request $request The REST Request.
656
+ *
657
+ * @return WP_REST_Response The API Response
658
  */
659
+ public function get_notifications( $request ) {
660
+ add_filter( 'optin_monster_api_admin_notifications_has_access', array( $this, 'maybe_allow' ) );
 
 
661
 
662
+ // Make sure we have all the required user parameters.
663
+ $this->base->actions->maybe_fetch_missing_data();
664
+
665
+ if ( ! $this->base->notifications->has_access() ) {
666
+ return new WP_REST_Response( array(), 206 );
667
  }
668
 
669
+ return new WP_REST_Response( $this->base->notifications->get( true ), 200 );
670
+ }
671
+
672
+ /**
673
+ * Dismiss a given notifications.
674
+ *
675
+ * Route: POST omapp/v1/notifications/dismiss
676
+ *
677
+ * @since 2.0.0
678
+ *
679
+ * @param WP_REST_Request $request The REST Request.
680
+ *
681
+ * @return WP_REST_Response The API Response
682
+ */
683
+ public function dismiss_notification( $request ) {
684
+ add_filter( 'optin_monster_api_admin_notifications_has_access', array( $this, 'maybe_allow' ) );
685
+
686
+ $ids = $request->get_json_params();
687
+ if ( $this->base->notifications->dismiss( $ids ) ) {
688
+ return new WP_REST_Response( $this->base->notifications->get( true ), 200 );
689
  }
690
+
691
+ return new WP_REST_Response(
692
+ array(
693
+ 'message' => sprintf(
694
+ /* translators: %s: the notification id(s). */
695
+ esc_html__( 'Could not dismiss: %s', 'optin-monster-api' ),
696
+ implode( ', ', $ids )
697
+ ),
698
+ ),
699
+ 400
700
+ );
701
  }
702
 
703
  /**
704
+ * Dismiss a given notifications.
705
  *
706
+ * Route: POST omapp/v1/notifications/create
707
  *
708
+ * @since 2.0.0
709
  *
710
+ * @param WP_REST_Request $request The REST Request.
711
+ *
712
+ * @return WP_REST_Response The API Response
713
  */
714
+ public function create_event_notification( $request ) {
715
+ add_filter( 'optin_monster_api_admin_notifications_has_access', array( $this, 'maybe_allow' ) );
716
 
717
+ $payload = $request->get_json_params();
718
+
719
+ $errors = array();
720
+ foreach ( $payload as $notification ) {
721
+ $added = $this->base->notifications->add_event( $notification );
722
+ if ( is_wp_error( $added ) ) {
723
+ $errors[] = $added;
724
+ }
725
+ }
726
+
727
+ $updated = $this->base->notifications->get( true );
728
+
729
+ if ( ! empty( $errors ) ) {
730
+ $message = count( $payload ) > 1
731
+ ? sprintf(
732
+ /* translators: %s: "Some" or "one". */
733
+ esc_html__( 'Could not create %s of the event notifications!', 'optin-monster-api' ),
734
+ count( $errors ) > 1 ? esc_html__( 'some', 'optin-monster-api' ) : esc_html__( 'one', 'optin-monster-api' )
735
  )
736
+ : esc_html__( 'Could not create event notification!', 'optin-monster-api' );
737
+
738
+ foreach ( $errors as $error ) {
739
+ $message .= '<br>- ' . $error->get_error_message();
740
+ }
741
+
742
+ return new WP_REST_Response(
743
+ array(
744
+ 'message' => $message,
745
+ 'notifications' => $updated,
746
+ ),
747
+ 400
748
  );
749
  }
750
 
751
+ return new WP_REST_Response( $updated, 200 );
752
  }
753
 
754
  /**
755
+ * Maybe allow api-key authenticted user to see notifications.
756
  *
757
+ * @since 2.0.0
758
  *
759
+ * @param bool $access If current user has access to notifications.
760
  *
761
+ * @return bool Maybe modified access.
762
  */
763
+ public function maybe_allow( $access ) {
764
+ if ( ! $access && $this->has_valid_api_key ) {
765
+
766
+ // $access = ! $this->base->get_option( 'hide-announcements' );
767
+ $access = true;
768
+ }
769
+
770
+ return $access;
771
  }
772
 
773
  /**
774
+ * Gets the list of AM plugins.
 
 
775
  *
776
+ * Route: GET omapp/v1/plugins
777
  *
778
+ * @since 2.0.0
779
  *
780
+ * @param WP_REST_Request $request The REST Request.
781
+ *
782
+ * @return WP_REST_Response The API Response
783
  */
784
+ public function get_am_plugins_list( $request ) {
785
+ $plugins = new OMAPI_Plugins();
786
+ $data = $plugins->get_list( true );
 
787
 
788
+ $install_nonce = wp_create_nonce( 'install_plugin' );
789
+ $activate_nonce = wp_create_nonce( 'activate_plugin' );
790
 
791
+ foreach ( $data as $plugin_id => $plugin ) {
792
+ $data[ $plugin_id ]['install_nonce'] = $install_nonce;
793
+ $data[ $plugin_id ]['activate_nonce'] = $activate_nonce;
794
  }
795
 
796
+ return new WP_REST_Response( array_values( $data ), 200 );
797
+ }
798
 
799
+ /**
800
+ * Handles installing or activating an AM plugin.
801
+ *
802
+ * Route: POST omapp/v1/plugins
803
+ *
804
+ * @since 2.0.0
805
+ *
806
+ * @param WP_REST_Request $request The REST Request.
807
+ *
808
+ * @return WP_REST_Response The API Response
809
+ * @throws Exception If plugin action fails.
810
+ */
811
+ public function handle_plugin_action( $request ) {
812
+ try {
813
+
814
+ $nonce = $request->get_param( 'nonce' );
815
+ if ( empty( $nonce ) ) {
816
+ throw new Exception( esc_html__( 'Missing security token!', 'optin-monster-api' ), rest_authorization_required_code() );
817
+ }
818
+
819
+ $action = $request->get_param( 'installAction' );
820
+ $nonce_action = 'install' === $action ? 'install' : 'activate';
821
+
822
+ // Check the nonce.
823
+ $result = wp_verify_nonce( $nonce, $nonce_action . '_plugin' );
824
+ if ( ! $result ) {
825
+ throw new Exception( esc_html__( 'Security token invalid!', 'optin-monster-api' ), rest_authorization_required_code() );
826
+ }
827
+
828
+ $plugins = new OMAPI_Plugins();
829
+ $url = $request->get_param( 'url' );
830
+
831
+ if ( 'install' === $nonce_action ) {
832
+ if ( empty( $url ) ) {
833
+ throw new Exception( esc_html__( 'Plugin install URL required.', 'optin-monster-api' ), 400 );
834
+ }
835
+
836
+ return new WP_REST_Response( $plugins->install_plugin( $url ), 200 );
837
+ }
838
 
839
+ $id = $request->get_param( 'id' );
840
+ if ( empty( $id ) ) {
841
+ throw new Exception( esc_html__( 'Plugin Id required.', 'optin-monster-api' ), 400 );
842
  }
843
+
844
+ return new WP_REST_Response( $plugins->activate_plugin( $id ), 200 );
845
+
846
+ } catch ( Exception $e ) {
847
+ return $this->exception_to_response( $e );
848
  }
849
+ }
850
 
851
+ /**
852
+ * Handles auto-generating the WooCommerce API key/secret.
853
+ *
854
+ * Route: POST omapp/v1/woocommerce/autogenerate
855
+ *
856
+ * @since 2.0.0
857
+ *
858
+ * @param WP_REST_Request $request The REST Request.
859
+ *
860
+ * @return WP_REST_Response The API Response
861
+ * @throws Exception If plugin action fails.
862
+ */
863
+ public function woocommerce_autogenerate( $request ) {
864
+ try {
865
+
866
+ $auto_generated_keys = $this->base->save->woocommerce_autogenerate();
867
+ if ( is_wp_error( $auto_generated_keys ) ) {
868
+ $e = new OMAPI_WpErrorException();
869
+ throw $e->setWpError( $auto_generated_keys );
870
+ }
871
+
872
+ if ( empty( $auto_generated_keys ) ) {
873
+ throw new Exception( esc_html__( 'WooCommerce REST API keys could not be auto-generated on your behalf. Please try again.', 'optin-monster-api' ), 400 );
874
+ }
875
+
876
+ $data = $this->base->get_option();
877
+
878
+ // Merge data array, with auto-generated keys array.
879
+ $data = array_merge( $data, $auto_generated_keys );
880
+
881
+ $this->base->save->woocommerce_connect( $data );
882
+
883
+ if ( ! empty( $this->base->save->error ) ) {
884
+ throw new Exception( $this->base->save->error, 400 );
885
+ }
886
+
887
+ return $this->woocommerce_get_key( $request );
888
+
889
+ } catch ( Exception $e ) {
890
+ return $this->exception_to_response( $e );
891
+ }
892
+ }
893
+
894
+ /**
895
+ * Handles saving the WooCommerce API key/secret.
896
+ *
897
+ * Route: POST omapp/v1/woocommerce/save
898
+ *
899
+ * @since 2.0.0
900
+ *
901
+ * @param WP_REST_Request $request The REST Request.
902
+ *
903
+ * @return WP_REST_Response The API Response
904
+ * @throws Exception If plugin action fails.
905
+ */
906
+ public function woocommerce_save( $request ) {
907
+ try {
908
+
909
+ $woo_key = $request->get_param( 'key' );
910
+ if ( empty( $woo_key ) ) {
911
+ throw new Exception( esc_html__( 'Consumer key missing!', 'optin-monster-api' ), 400 );
912
+ }
913
+
914
+ $woo_secret = $request->get_param( 'secret' );
915
+ if ( empty( $woo_secret ) ) {
916
+ throw new Exception( esc_html__( 'Consumer secret missing!', 'optin-monster-api' ), 400 );
917
+ }
918
+
919
+ $data = array(
920
+ 'consumer_key' => $woo_key,
921
+ 'consumer_secret' => $woo_secret,
922
+ );
923
+
924
+ $this->base->save->woocommerce_connect( $data );
925
+
926
+ if ( ! empty( $this->base->save->error ) ) {
927
+ throw new Exception( $this->base->save->error, 400 );
928
+ }
929
+
930
+ return $this->woocommerce_get_key( $request );
931
+
932
+ } catch ( Exception $e ) {
933
+ return $this->exception_to_response( $e );
934
+ }
935
+ }
936
+
937
+ /**
938
+ * Handles disconnecting the WooCommerce API key/secret.
939
+ *
940
+ * Route: POST omapp/v1/woocommerce/disconnect
941
+ *
942
+ * @since 2.0.0
943
+ *
944
+ * @param WP_REST_Request $request The REST Request.
945
+ *
946
+ * @return WP_REST_Response The API Response
947
+ * @throws Exception If plugin action fails.
948
+ */
949
+ public function woocommerce_disconnect( $request ) {
950
+ try {
951
+
952
+ $this->base->save->woocommerce_disconnect( array() );
953
+
954
+ if ( ! empty( $this->base->save->error ) ) {
955
+ throw new Exception( $this->base->save->error, 400 );
956
+ }
957
+
958
+ return new WP_REST_Response(
959
+ array( 'message' => esc_html__( 'OK', 'optin-monster-api' ) ),
960
+ 200
961
+ );
962
+
963
+ } catch ( Exception $e ) {
964
+ return $this->exception_to_response( $e );
965
+ }
966
+ }
967
+
968
+ /**
969
+ * Gets the associated WooCommerce API key data.
970
+ *
971
+ * Route: GET omapp/v1/woocommerce/key
972
+ *
973
+ * @since 2.0.0
974
+ *
975
+ * @param WP_REST_Request $request The REST Request.
976
+ *
977
+ * @return WP_REST_Response The API Response
978
+ * @throws Exception If plugin action fails.
979
+ */
980
+ public function woocommerce_get_key( $request ) {
981
+ try {
982
+
983
+ $keys_tab = OMAPI_WooCommerce::version_compare( '3.4.0' ) ? 'advanced' : 'api';
984
+ $keys_admin_url = admin_url( "admin.php?page=wc-settings&tab={$keys_tab}&section=keys" );
985
+
986
+ if ( ! OMAPI_WooCommerce::is_minimum_version() && OMAPI_WooCommerce::is_connected() ) {
987
+
988
+ $error = '<p>' . esc_html( sprintf( __( 'OptinMonster requires WooCommerce %s or above.', 'optin-monster-api' ), OMAPI_WooCommerce::MINIMUM_VERSION ) ) . '</p>'
989
+ . '<p>' . esc_html_x( 'This site is currently running: ', 'the current version of WooCommerce: "WooCommerce x.y.z"', 'optin-monster-api' )
990
+ . '<code>WooCommerce ' . esc_html( OMAPI_WooCommerce::version() ) . '</code>.</p>'
991
+ . '<p>' . esc_html__( 'Please upgrade to the latest version of WooCommerce to enjoy deeper integration with OptinMonster.', 'optin-monster-api' ) . '</p>';
992
+
993
+ throw new Exception( $error, 404 );
994
+ }
995
+
996
+ if ( ! OMAPI_WooCommerce::is_connected() ) {
997
+ $error = '<p>' . sprintf( __( 'In order to integrate WooCommerce with the Display Rules in the campaign builder, OptinMonster needs <a href="%s" target="_blank">WooCommerce REST API credentials</a>. OptinMonster only needs Read access permissions to work.', 'optin-monster-api' ), esc_url( $keys_admin_url ) ) . '</p>';
998
+
999
+ throw new Exception( $error, 404 );
1000
+ }
1001
+
1002
+ // Set some default key details.
1003
+ $defaults = array(
1004
+ 'key_id' => '',
1005
+ 'description' => esc_html__( 'no description found', 'optin-monster-api' ),
1006
+ 'truncated_key' => esc_html__( 'no truncated key found', 'optin-monster-api' ),
1007
+ );
1008
+
1009
+ // Get the key details.
1010
+ $key_id = $this->base->get_option( 'woocommerce', 'key_id' );
1011
+ $details = OMAPI_WooCommerce::get_key_details_by_id( $key_id );
1012
+ $r = wp_parse_args( array_filter( $details ), $defaults );
1013
+
1014
+ return new WP_REST_Response(
1015
+ array(
1016
+ 'id' => $key_id,
1017
+ 'description' => esc_html( $r['description'] ),
1018
+ 'truncated' => esc_html( $r['truncated_key'] ),
1019
+ 'editUrl' => esc_url_raw( add_query_arg( 'edit-key', $r['key_id'], $keys_admin_url ) ),
1020
+ ),
1021
+ 200
1022
+ );
1023
+
1024
+ } catch ( Exception $e ) {
1025
+ return $this->exception_to_response( $e );
1026
+ }
1027
+ }
1028
+
1029
+ /**
1030
+ * Determine if we can store settings.
1031
+ *
1032
+ * @since 2.0.0
1033
+ *
1034
+ * @param WP_REST_Request $request The REST Request.
1035
+ *
1036
+ * @return bool
1037
+ */
1038
+ public function can_update_settings( $request ) {
1039
+ $result = $this->check_dev_server_request( $request );
1040
+ if ( is_bool( $result ) ) {
1041
+ return $result;
1042
+ }
1043
+
1044
+ try {
1045
+
1046
+ $this->verify_request_nonce( $request );
1047
+
1048
+ } catch ( Exception $e ) {
1049
+ return $this->exception_to_response( $e );
1050
+ }
1051
+
1052
+ return true;
1053
+ }
1054
+
1055
+ /**
1056
+ * Handles storing the API key and initiating the API connection.
1057
+ *
1058
+ * Route: POST omapp/v1/api
1059
+ *
1060
+ * @since 2.0.0
1061
+ *
1062
+ * @param WP_REST_Request $request The REST Request.
1063
+ *
1064
+ * @return WP_REST_Response The API Response
1065
+ * @throws Exception If plugin action fails.
1066
+ */
1067
+ public function init_api_key_connection( $request ) {
1068
+ try {
1069
+ $apikey = $request->get_param( 'key' );
1070
+ if ( empty( $apikey ) ) {
1071
+ throw new Exception( esc_html__( 'API Key Missing!', 'optin-monster-api' ), 400 );
1072
+ }
1073
+
1074
+ $result = OMAPI_ApiKey::init_connection( $apikey );
1075
+ if ( is_wp_error( $result ) ) {
1076
+ $e = new OMAPI_WpErrorException();
1077
+ throw $e->setWpError( $result );
1078
+ }
1079
+
1080
+ return new WP_REST_Response(
1081
+ array( 'message' => esc_html__( 'OK', 'optin-monster-api' ) ),
1082
+ 200
1083
+ );
1084
+
1085
+ } catch ( Exception $e ) {
1086
+ return $this->exception_to_response( $e );
1087
+ }
1088
+ }
1089
+
1090
+ /**
1091
+ * Determine if we can store the given api key.
1092
+ *
1093
+ * @since 2.0.0
1094
+ *
1095
+ * @param WP_REST_Request $request The REST Request.
1096
+ *
1097
+ * @return bool
1098
+ */
1099
+ public function can_store_api_key( $request ) {
1100
+ $result = $this->check_dev_server_request( $request );
1101
+ if ( is_bool( $result ) ) {
1102
+ return $result;
1103
+ }
1104
+
1105
+ try {
1106
+
1107
+ $this->verify_request_nonce( $request );
1108
+
1109
+ $apikey = $request->get_param( 'key' );
1110
+ if ( empty( $apikey ) ) {
1111
+ throw new Exception( esc_html__( 'API Key Missing!', 'optin-monster-api' ), 400 );
1112
+ }
1113
+
1114
+ $result = OMAPI_ApiKey::verify( $apikey );
1115
+
1116
+ if ( is_wp_error( $result ) ) {
1117
+ $e = new OMAPI_WpErrorException();
1118
+ throw $e->setWpError( $result );
1119
+ }
1120
+ } catch ( Exception $e ) {
1121
+ return $this->exception_to_response( $e );
1122
+ }
1123
+
1124
+ return true;
1125
+ }
1126
+
1127
+ /**
1128
+ * Handles disconnecting the API key.
1129
+ *
1130
+ * Route: DELETE omapp/v1/api
1131
+ *
1132
+ * @since 2.0.0
1133
+ *
1134
+ * @param WP_REST_Request $request The REST Request.
1135
+ *
1136
+ * @return WP_REST_Response The API Response
1137
+ * @throws Exception If plugin action fails.
1138
+ */
1139
+ public function disconnect( $request ) {
1140
+ try {
1141
+
1142
+ OMAPI_ApiKey::disconnect();
1143
+
1144
+ return new WP_REST_Response(
1145
+ array( 'message' => esc_html__( 'OK', 'optin-monster-api' ) ),
1146
+ 204
1147
+ );
1148
+
1149
+ } catch ( Exception $e ) {
1150
+ return $this->exception_to_response( $e );
1151
+ }
1152
+ }
1153
+
1154
+ /**
1155
+ * Determine if we can disconnect the api key.
1156
+ *
1157
+ * @since 2.0.0
1158
+ *
1159
+ * @param WP_REST_Request $request The REST Request.
1160
+ *
1161
+ * @return bool
1162
+ */
1163
+ public function can_delete_api_key( $request ) {
1164
+ $result = $this->check_dev_server_request( $request );
1165
+ if ( is_bool( $result ) ) {
1166
+ return $result;
1167
+ }
1168
+
1169
+ try {
1170
+
1171
+ $this->verify_request_nonce( $request );
1172
+
1173
+ if ( ! OMAPI_ApiKey::has_credentials() ) {
1174
+ throw new Exception( esc_html__( 'API Key Missing!', 'optin-monster-api' ), 400 );
1175
+ }
1176
+ } catch ( Exception $e ) {
1177
+ return $this->exception_to_response( $e );
1178
+ }
1179
+
1180
+ return true;
1181
+ }
1182
+
1183
+ /**
1184
+ * Handles getting the misc. settings.
1185
+ *
1186
+ * Route: GET omapp/v1/settings
1187
+ *
1188
+ * @since 2.0.0
1189
+ *
1190
+ * @param WP_REST_Request $request The REST Request.
1191
+ *
1192
+ * @return WP_REST_Response The API Response
1193
+ * @throws Exception If plugin action fails.
1194
+ */
1195
+ public function get_settings( $request ) {
1196
+
1197
+ $defaults = $this->base->default_options();
1198
+ $options = $this->base->get_option();
1199
+
1200
+ $misc_settings = array();
1201
+ foreach ( array( 'auto_updates', 'usage_tracking', 'hide_announcements' ) as $key ) {
1202
+ $misc_settings[ $key ] = isset( $options[ $key ] )
1203
+ ? $options[ $key ]
1204
+ : $defaults[ $key ];
1205
+ }
1206
+
1207
+ return new WP_REST_Response( $misc_settings, 200 );
1208
+ }
1209
+
1210
+ /**
1211
+ * Handles updating settings.
1212
+ *
1213
+ * Route: POST omapp/v1/settings
1214
+ *
1215
+ * @since 2.0.0
1216
+ *
1217
+ * @param WP_REST_Request $request The REST Request.
1218
+ *
1219
+ * @return WP_REST_Response The API Response
1220
+ * @throws Exception If plugin action fails.
1221
+ */
1222
+ public function update_settings( $request ) {
1223
+ try {
1224
+
1225
+ $settings = $request->get_param( 'settings' );
1226
+ if ( empty( $settings ) ) {
1227
+ throw new Exception( esc_html__( 'Settings Missing!', 'optin-monster-api' ), 400 );
1228
+ }
1229
+
1230
+ $allowed_settings = array(
1231
+ 'auto_updates' => array(
1232
+ 'validate' => 'is_string',
1233
+ ),
1234
+ 'usage_tracking' => array(
1235
+ 'validate' => 'is_bool',
1236
+ ),
1237
+ 'hide_announcements' => array(
1238
+ 'validate' => 'is_bool',
1239
+ ),
1240
+ );
1241
+
1242
+ $options = $this->base->get_option();
1243
+ $hasSettings = false;
1244
+
1245
+ foreach ( $settings as $setting => $value ) {
1246
+ if ( empty( $allowed_settings[ $setting ] ) ) {
1247
+ continue;
1248
+ }
1249
+
1250
+ $hasSettings = true;
1251
+
1252
+ if ( isset( $options[ $setting ] ) && $value === $options[ $setting ] ) {
1253
+ continue;
1254
+ }
1255
+
1256
+ $validator = $allowed_settings[ $setting ]['validate'];
1257
+
1258
+ if ( call_user_func( $validator, $value ) ) {
1259
+ switch ( $validator ) {
1260
+ case 'is_bool':
1261
+ $options[ $setting ] = ! ! $value;
1262
+ break;
1263
+ case 'is_string':
1264
+ $options[ $setting ] = sanitize_text_field( $value );
1265
+ break;
1266
+ }
1267
+ }
1268
+ }
1269
+
1270
+ if ( ! $hasSettings ) {
1271
+ throw new Exception( esc_html__( 'Invalid Settings!', 'optin-monster-api' ), 400 );
1272
+ }
1273
+
1274
+ // Save the updated option.
1275
+ $this->base->save->update_option( $options );
1276
+
1277
+ return $this->get_settings( $request );
1278
+
1279
+ } catch ( Exception $e ) {
1280
+ return $this->exception_to_response( $e );
1281
+ }
1282
+ }
1283
+
1284
+ /**
1285
+ * Sanitize value recursively.
1286
+ *
1287
+ * @since 1.9.10
1288
+ *
1289
+ * @param mixed $value The value to sanitize.
1290
+ *
1291
+ * @return mixed The sanitized value.
1292
+ */
1293
+ public function sanitize( $value ) {
1294
+ if ( empty( $value ) ) {
1295
+ return $value;
1296
+ }
1297
+
1298
+ if ( is_scalar( $value ) ) {
1299
+ return sanitize_text_field( $value );
1300
+ }
1301
+
1302
+ if ( is_array( $value ) ) {
1303
+ return array_map( array( $this, 'sanitize' ), $value );
1304
+ }
1305
+ }
1306
+
1307
+ /**
1308
+ * Determine if OM API key is provided and valid.
1309
+ *
1310
+ * @since 1.9.10
1311
+ *
1312
+ * @param WP_REST_Request $request The REST Request.
1313
+ *
1314
+ * @return bool
1315
+ */
1316
+ public function has_valid_api_key( $request ) {
1317
+ $header = $request->get_header( 'X-OptinMonster-ApiKey' );
1318
+
1319
+ // Use this API Key to validate.
1320
+ if ( ! $this->validate_api_key( $header ) ) {
1321
+ return new WP_Error(
1322
+ 'omapp_rest_forbidden',
1323
+ esc_html__( 'Could not verify your API Key.', 'optin-monster-api' ),
1324
+ array(
1325
+ 'status' => rest_authorization_required_code(),
1326
+ )
1327
+ );
1328
+ }
1329
+
1330
+ return $this->has_valid_api_key;
1331
+ }
1332
+
1333
+ /**
1334
+ * Determine if logged in or OM API key is provided and valid.
1335
+ *
1336
+ * @since 1.9.10
1337
+ *
1338
+ * @param WP_REST_Request $request The REST Request.
1339
+ *
1340
+ * @return bool
1341
+ */
1342
+ public function logged_in_or_has_api_key( $request ) {
1343
+ if (
1344
+ false !== strpos( $_SERVER['HTTP_REFERER'], 'https://wp.app.optinmonster.test' )
1345
+ && 'OPTIONS' === $_SERVER['REQUEST_METHOD']
1346
+ ) {
1347
+ return true;
1348
+ }
1349
+
1350
+ return is_user_logged_in() || true === $this->has_valid_api_key( $request );
1351
+ }
1352
+
1353
+ /**
1354
+ * Validate this API Key
1355
+ * We validate an API Key by fetching the Sites this key can fetch
1356
+ * And then confirming that this key has access to at least one of these sites
1357
+ *
1358
+ * @since 1.8.0
1359
+ *
1360
+ * @param string $apikey The OM api key.
1361
+ *
1362
+ * @return bool True if the Key can be validated
1363
+ */
1364
+ public function validate_api_key( $apikey ) {
1365
+ $this->has_valid_api_key = OMAPI_ApiKey::validate( $apikey );
1366
+
1367
+ return $this->has_valid_api_key;
1368
+ }
1369
+
1370
+ /**
1371
+ * Convert an exception to a REST API response object.
1372
+ *
1373
+ * @since 2.0.0
1374
+ *
1375
+ * @param Exception $e The exception.
1376
+ *
1377
+ * @return WP_REST_Response
1378
+ */
1379
+ protected function exception_to_response( Exception $e ) {
1380
+
1381
+ // Return WP_Error objects directly.
1382
+ if ( $e instanceof OMAPI_WpErrorException && $e->getWpError() ) {
1383
+ return $e->getWpError();
1384
+ }
1385
+
1386
+ $data = ! empty( $e->data ) ? $e->data : array();
1387
+
1388
+ if ( rest_authorization_required_code() === $e->getCode() ) {
1389
+
1390
+ $data = wp_parse_args(
1391
+ $data,
1392
+ array(
1393
+ 'status' => $e->getCode(),
1394
+ )
1395
+ );
1396
+
1397
+ return new WP_Error( 'omapp_rest_forbidden', $e->getMessage(), $data );
1398
+ }
1399
+
1400
+ $data = wp_parse_args(
1401
+ $data,
1402
+ array(
1403
+ 'message' => $e->getMessage(),
1404
+ )
1405
+ );
1406
+
1407
+ return new WP_REST_Response( $data, $e->getCode() );
1408
+ }
1409
+
1410
+ /**
1411
+ * Whether request is being generated from the Vue dev server.
1412
+ *
1413
+ * @since 2.0.0
1414
+ *
1415
+ * @return boolean
1416
+ */
1417
+ public function is_dev_server_request() {
1418
+ return false !== strpos( $_SERVER['HTTP_REFERER'], 'https://wp.app.optinmonster.test' );
1419
+ }
1420
+
1421
+ /**
1422
+ * Check if initial logged-in check passes (or it's a dev server OPTIONS request).
1423
+ *
1424
+ * @since 2.0.0
1425
+ *
1426
+ * @param WP_REST_Request $request The REST request.
1427
+ *
1428
+ * @return bool|null True if passed, false if not, null if we can continue checking.
1429
+ */
1430
+ protected function check_dev_server_request( $request ) {
1431
+ $dev_server_request = $this->is_dev_server_request();
1432
+
1433
+ $dev_server_options_request = $dev_server_request && 'OPTIONS' === $_SERVER['REQUEST_METHOD'];
1434
+
1435
+ // If this is an OPTIONS requst from the dev server, then pass it.
1436
+ if ( $dev_server_options_request ) {
1437
+ return true;
1438
+ }
1439
+
1440
+ // To to this action, user has to be logged in,
1441
+ if ( ! is_user_logged_in() && ! $dev_server_request ) {
1442
+ return false;
1443
+ }
1444
+
1445
+ return null;
1446
+ }
1447
+
1448
+ /**
1449
+ * Verify the request nonce and throw an exception if verification fails.
1450
+ *
1451
+ * @since 2.0.0
1452
+ *
1453
+ * @param WP_REST_Request $request The REST request.
1454
+ *
1455
+ * @return void
1456
+ */
1457
+ public function verify_request_nonce( $request ) {
1458
+ $nonce = $request->get_param( 'nonce' );
1459
+ if ( empty( $nonce ) ) {
1460
+ $nonce = $request->get_header( 'X-WP-Nonce' );
1461
+ }
1462
+
1463
+ $dev_server_request = $this->is_dev_server_request();
1464
+
1465
+ if ( ! $dev_server_request && empty( $nonce ) ) {
1466
+ throw new Exception( esc_html__( 'Missing security token!', 'optin-monster-api' ), rest_authorization_required_code() );
1467
+ }
1468
+
1469
+ // Check the nonce.
1470
+ $result = wp_verify_nonce( $nonce, 'wp_rest' );
1471
+ if ( ! $dev_server_request && ! $result ) {
1472
+ throw new Exception( esc_html__( 'Security token invalid!', 'optin-monster-api' ), rest_authorization_required_code() );
1473
+ }
1474
  }
1475
  }
OMAPI/Review.php CHANGED
@@ -98,12 +98,6 @@ class OMAPI_Review {
98
  * @since 1.1.6.1
99
  */
100
  public function review() {
101
-
102
- // Don't show review request notice on welcome page.
103
- if ( ! empty( $_GET['page'] ) && 'optin-monster-api-welcome' === $_GET['page'] ) {
104
- return;
105
- }
106
-
107
  $review = get_option( 'omapi_review' );
108
 
109
  // If already dismissed...
98
  * @since 1.1.6.1
99
  */
100
  public function review() {
 
 
 
 
 
 
101
  $review = get_option( 'omapi_review' );
102
 
103
  // If already dismissed...
OMAPI/Rules.php CHANGED
@@ -19,7 +19,7 @@ if ( ! defined( 'ABSPATH' ) ) {
19
  * @since 1.5.0
20
  */
21
  class OMAPI_Rules_Exception extends Exception {
22
- protected $bool = null;
23
  protected $exceptions = array();
24
  public function __construct( $message = null, $code = 0, Exception $previous = null ) {
25
  if ( is_bool( $message ) ) {
@@ -324,15 +324,8 @@ class OMAPI_Rules {
324
  $should_output = $e instanceof OMAPI_Rules_True;
325
  }
326
 
327
- $rules_debug = ! empty( $_GET['omwpdebug'] );
328
-
329
- if ( $rules_debug ) {
330
- $option = OMAPI::get_instance()->get_option();
331
- $rules_debug = ! empty( $option['api']['omwpdebug'] ) || is_user_logged_in() && apply_filters( 'optin_monster_api_menu_cap', 'manage_options', '' );
332
- }
333
-
334
  // If query var is set and user can manage OM, output debug data.
335
- if ( apply_filters( 'optin_monster_api_should_output_rules_debug', $rules_debug ) ) {
336
  $this->output_debug();
337
  }
338
 
@@ -770,6 +763,46 @@ class OMAPI_Rules {
770
  throw new Exception( sprintf( esc_html__( 'Invalid %1$s property: %2$s', 'optin-monster-api' ), __CLASS__, $property ) );
771
  }
772
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
773
  /**
774
  * Outputs some debug data for the current campaign object.
775
  *
@@ -781,6 +814,7 @@ class OMAPI_Rules {
781
  $show = $this->caught instanceof OMAPI_Rules_True;
782
 
783
  echo '<xmp class="_om-post-id">$post_id: ' . print_r( $this->post_id, true ) . '</xmp>';
 
784
  echo '<xmp class="_om-campaign-status" style="color: ' . ( $show ? 'green' : 'red' ) . ';">' . $this->optin->post_name . ":\n" . print_r( $this->caught->getMessage(), true );
785
  $reasons = $this->caught->get_exceptions();
786
  if ( ! empty( $reasons ) ) {
@@ -793,7 +827,6 @@ class OMAPI_Rules {
793
  }
794
  echo '</xmp>';
795
 
796
-
797
  if ( ! empty( $this->advanced_settings ) ) {
798
  echo '<xmp class="_om-advanced-settings">$advanced_settings: ' . print_r( $this->advanced_settings, true ) . '</xmp>';
799
  }
19
  * @since 1.5.0
20
  */
21
  class OMAPI_Rules_Exception extends Exception {
22
+ protected $bool = null;
23
  protected $exceptions = array();
24
  public function __construct( $message = null, $code = 0, Exception $previous = null ) {
25
  if ( is_bool( $message ) ) {
324
  $should_output = $e instanceof OMAPI_Rules_True;
325
  }
326
 
 
 
 
 
 
 
 
327
  // If query var is set and user can manage OM, output debug data.
328
+ if ( $this->can_output_debug() ) {
329
  $this->output_debug();
330
  }
331
 
763
  throw new Exception( sprintf( esc_html__( 'Invalid %1$s property: %2$s', 'optin-monster-api' ), __CLASS__, $property ) );
764
  }
765
 
766
+ /**
767
+ * Check if rules debug can be output.
768
+ *
769
+ * @since 2.0.0
770
+ *
771
+ * @return bool
772
+ */
773
+ public function can_output_debug() {
774
+ $rules_debug = ! empty( $_GET['omwpdebug'] ) ? $_GET['omwpdebug'] : '';
775
+
776
+ if ( $rules_debug ) {
777
+ $omapi = OMAPI::get_instance();
778
+ $disable = 'off' === $rules_debug;
779
+ $decoded = base64_decode( base64_decode( $rules_debug ) );
780
+ $debug_enabled = $omapi->get_option( 'api', 'omwpdebug' );
781
+ $creds = $omapi->get_api_credentials();
782
+ if (
783
+ ! empty( $creds['apikey'] )
784
+ && ( $decoded === $creds['apikey'] || $disable )
785
+ ) {
786
+
787
+ $option = $omapi->get_option();
788
+
789
+ if ( $disable ) {
790
+ unset( $option['api']['omwpdebug'] );
791
+ $debug_enabled = false;
792
+ } else {
793
+ $option['api']['omwpdebug'] = true;
794
+ $debug_enabled = true;
795
+ }
796
+ update_option( 'optin_monster_api', $option );
797
+ }
798
+
799
+ $rules_debug = $debug_enabled || is_user_logged_in() && $omapi->can_access( 'rules_debug' );
800
+ }
801
+
802
+ // If query var is set and user can manage OM, output debug data.
803
+ return apply_filters( 'optin_monster_api_should_output_rules_debug', ! empty( $rules_debug ) );
804
+ }
805
+
806
  /**
807
  * Outputs some debug data for the current campaign object.
808
  *
814
  $show = $this->caught instanceof OMAPI_Rules_True;
815
 
816
  echo '<xmp class="_om-post-id">$post_id: ' . print_r( $this->post_id, true ) . '</xmp>';
817
+ echo '<xmp class="_om-post-id">$debug_enabled: ' . print_r( OMAPI::get_instance()->get_option( 'api', 'omwpdebug' ), true ) . '</xmp>';
818
  echo '<xmp class="_om-campaign-status" style="color: ' . ( $show ? 'green' : 'red' ) . ';">' . $this->optin->post_name . ":\n" . print_r( $this->caught->getMessage(), true );
819
  $reasons = $this->caught->get_exceptions();
820
  if ( ! empty( $reasons ) ) {
827
  }
828
  echo '</xmp>';
829
 
 
830
  if ( ! empty( $this->advanced_settings ) ) {
831
  echo '<xmp class="_om-advanced-settings">$advanced_settings: ' . print_r( $this->advanced_settings, true ) . '</xmp>';
832
  }
OMAPI/Save.php CHANGED
@@ -39,13 +39,13 @@ class OMAPI_Save {
39
  public $file = __FILE__;
40
 
41
  /**
42
- * Holds any save errors.
43
  *
44
  * @since 1.0.0
45
  *
46
- * @var array
47
  */
48
- public $errors = array();
49
 
50
  /**
51
  * Holds the base class object.
@@ -73,300 +73,8 @@ class OMAPI_Save {
73
  * @since 1.0.0
74
  */
75
  public function set() {
76
-
77
  self::$instance = $this;
78
  $this->base = OMAPI::get_instance();
79
- $this->view = isset( $_GET['optin_monster_api_view'] ) ? stripslashes( $_GET['optin_monster_api_view'] ) : $this->base->get_view();
80
-
81
- }
82
-
83
- /**
84
- * Maybe save options if the action has been requested.
85
- *
86
- * @since 1.0.0
87
- */
88
- public function maybe_save() {
89
-
90
- // If we are missing our save action, return early.
91
- if ( empty( $_POST['omapi_save'] ) ) {
92
- return;
93
- }
94
-
95
- // If the subkey is empty, return early.
96
- if ( empty( $_POST['omapi'][ $this->view ] ) ) {
97
- return;
98
- }
99
-
100
- // Run a current user check on saving.
101
- if ( ! current_user_can( apply_filters( 'optin_monster_api_save_cap', 'manage_options' ) ) ) {
102
- return;
103
- }
104
-
105
- // Verify the nonce field.
106
- check_admin_referer( 'omapi_nonce_' . $this->view, 'omapi_nonce_' . $this->view );
107
-
108
- // Save the settings.
109
- $this->save();
110
-
111
- // Provide action to save settings.
112
- do_action( 'optin_monster_api_save_settings', $this->view );
113
-
114
- }
115
-
116
- /**
117
- * Save the plugin options.
118
- *
119
- * @since 1.0.0
120
- */
121
- public function save() {
122
-
123
- // Prepare variables.
124
- $data = stripslashes_deep( $_POST['omapi'][ $this->view ] );
125
-
126
- // Save the data.
127
- switch ( $this->view ) {
128
- case 'api':
129
- // Create a new API instance to verify API credentials.
130
- $option = $this->base->get_option();
131
- $apikey = isset( $data['apikey'] ) ? $data['apikey'] : false;
132
- $user = isset( $data['user'] ) ? $data['user'] : false;
133
- $key = isset( $data['key'] ) ? $data['key'] : false;
134
- $old_user = isset( $option['api']['user'] ) ? $option['api']['user'] : false;
135
- $old_key = isset( $option['api']['key'] ) ? $option['api']['key'] : false;
136
- $old_apikey = isset( $option['api']['apikey'] ) ? $option['api']['apikey'] : false;
137
- if ( isset( $data['omwpdebug'] ) ) {
138
- $option['api']['omwpdebug'] = true;
139
- } else {
140
- unset( $option['api']['omwpdebug'] );
141
- }
142
-
143
- // Check for new single apikey and break early with only that data check
144
- if ( $apikey ) {
145
-
146
- $creds = array( 'apikey' => $apikey );
147
-
148
- // Verify this new API Key works but posting to the Legacy route
149
- $result = OMAPI_Api::build( 'v1', 'verify/', 'POST', $creds )->request();
150
-
151
- if ( is_wp_error( $result ) ) {
152
- $this->errors['error'] = $result->get_error_message();
153
- break;
154
- }
155
-
156
- // Store the optin data.
157
- $this->store_optins( $result );
158
-
159
- $option['api']['apikey'] = $apikey;
160
-
161
- // Go ahead and remove the old user and key so we get the 'new' user stuff
162
- $option['api']['user'] = '';
163
- $option['api']['key'] = '';
164
-
165
- // Remove any error messages.
166
- $option['is_invalid'] = false;
167
- $option['is_expired'] = false;
168
- $option['is_disabled'] = false;
169
- $option['connected'] = time();
170
-
171
- // Remove any pre-saved site/user/account data, so we re-fetch it elsewhere
172
- unset( $option['userId'] );
173
- unset( $option['accountId'] );
174
- unset( $option['siteId'] );
175
- unset( $option['siteIds'] );
176
- unset( $option['customApiUrl'] );
177
-
178
- // Fetch the userId and accountId now.
179
- $result = OMAPI_Api::build( 'v2', 'me', 'GET', $creds )->request();
180
- if ( is_wp_error( $result ) ) {
181
- $this->errors['error'] = $result->get_error_message();
182
- break;
183
- }
184
-
185
- if ( isset( $result->id, $result->accountId ) ) {
186
- $option['userId'] = $result->id;
187
- $option['accountId'] = $result->accountId;
188
- }
189
-
190
- // Fetch the SiteIds for this site now.
191
- $result = $this->base->sites->fetch( $apikey );
192
- if ( is_wp_error( $result ) ) {
193
- $this->errors['error'] = $result->get_error_message();
194
- break;
195
- }
196
-
197
- $option = array_merge( $option, $result );
198
-
199
- // Fetch the campaigns for this site now.
200
- $this->base->refresh->refresh( $apikey );
201
-
202
- // Save the option.
203
- $this->update_optin_monster_api_option( $option, $data );
204
-
205
- $this->base->menu->redirect_to_dashboard( 'optins' );
206
- }
207
-
208
- // Catch apikey not set errors
209
- else {
210
-
211
- // Did we used to have one and user is trying to remove it?
212
- if ( $old_apikey ) {
213
- $option['api']['apikey'] = '';
214
-
215
- // Save the option.
216
- update_option( 'optin_monster_api', $option );
217
-
218
- // Explicitly end here so we don't accidentally try grabbing the next round of checks on $user and $key
219
- $this->base->menu->redirect_to_dashboard();
220
- }
221
- }
222
-
223
- // If one or both items are missing, fail.
224
- if ( ! $user || ! $key ) {
225
-
226
- // If it had been stored and it is now empty, reset the keys altogether.
227
- if ( ! $user && $old_user || ! $key && $old_key ) {
228
- $option['api']['user'] = '';
229
- $option['api']['key'] = '';
230
-
231
- // Save the option.
232
- $this->update_optin_monster_api_option( $option, $data );
233
- } else {
234
- $this->errors['error'] = esc_html__( 'You must provide a valid API Key to authenticate with OptinMonster.', 'optin-monster-api' );
235
- }
236
- } else {
237
- $api = new OMAPI_Api(
238
- 'verify/',
239
- array(
240
- 'user' => $user,
241
- 'key' => $key,
242
- )
243
- );
244
- $ret = $api->request();
245
- if ( is_wp_error( $ret ) ) {
246
- $this->errors['error'] = $ret->get_error_message();
247
- } else {
248
- // This user and key are good to go!
249
- $option['api']['user'] = $user;
250
- $option['api']['key'] = $key;
251
-
252
- // Remove any error messages.
253
- $option['is_invalid'] = false;
254
- $option['is_expired'] = false;
255
- $option['is_disabled'] = false;
256
- $option['connected'] = time();
257
-
258
- // Store the optin data.
259
- $this->store_optins( $ret );
260
-
261
- // Save the option.
262
- $this->update_optin_monster_api_option( $option, $data );
263
- }
264
- }
265
- break;
266
-
267
- case 'optins':
268
- // Prepare variables.
269
- $data['categories'] = isset( $_POST['post_category'] ) ? stripslashes_deep( $_POST['post_category'] ) : array();
270
- $data['taxonomies'] = isset( $_POST['tax_input'] ) ? stripslashes_deep( $_POST['tax_input'] ) : array();
271
- $optin_id = absint( $_GET['optin_monster_api_id'] );
272
- $fields = array();
273
- $fields['enabled'] = isset( $data['enabled'] ) ? 1 : 0;
274
-
275
- $fields['automatic'] = isset( $data['automatic'] ) ? 1 : 0;
276
- $fields['users'] = isset( $data['users'] ) ? esc_attr( $data['users'] ) : 'all';
277
- $fields['never'] = isset( $data['never'] ) ? explode( ',', $data['never'] ) : array();
278
- $fields['only'] = isset( $data['only'] ) ? explode( ',', $data['only'] ) : array();
279
- $fields['categories'] = isset( $data['categories'] ) ? $data['categories'] : array();
280
- $fields['taxonomies'] = isset( $data['taxonomies'] ) ? $data['taxonomies'] : array();
281
- $fields['show'] = isset( $data['show'] ) ? $data['show'] : array();
282
-
283
- // WooCommerce Fields.
284
- $fields['show_on_woocommerce'] = isset( $data['show_on_woocommerce'] ) ? 1 : 0;
285
- $fields['is_wc_shop'] = isset( $data['is_wc_shop'] ) ? 1 : 0;
286
- $fields['is_wc_product'] = isset( $data['is_wc_product'] ) ? 1 : 0;
287
- $fields['is_wc_cart'] = isset( $data['is_wc_cart'] ) ? 1 : 0;
288
- $fields['is_wc_checkout'] = isset( $data['is_wc_checkout'] ) ? 1 : 0;
289
- $fields['is_wc_account'] = isset( $data['is_wc_account'] ) ? 1 : 0;
290
- $fields['is_wc_endpoint'] = isset( $data['is_wc_endpoint'] ) ? 1 : 0;
291
- $fields['is_wc_endpoint_order_pay'] = isset( $data['is_wc_endpoint_order_pay'] ) ? 1 : 0;
292
- $fields['is_wc_endpoint_order_received'] = isset( $data['is_wc_endpoint_order_received'] ) ? 1 : 0;
293
- $fields['is_wc_endpoint_view_order'] = isset( $data['is_wc_endpoint_view_order'] ) ? 1 : 0;
294
- $fields['is_wc_endpoint_edit_account'] = isset( $data['is_wc_endpoint_edit_account'] ) ? 1 : 0;
295
- $fields['is_wc_endpoint_edit_address'] = isset( $data['is_wc_endpoint_edit_address'] ) ? 1 : 0;
296
- $fields['is_wc_endpoint_lost_password'] = isset( $data['is_wc_endpoint_lost_password'] ) ? 1 : 0;
297
- $fields['is_wc_endpoint_customer_logout'] = isset( $data['is_wc_endpoint_customer_logout'] ) ? 1 : 0;
298
- $fields['is_wc_endpoint_add_payment_method'] = isset( $data['is_wc_endpoint_add_payment_method'] ) ? 1 : 0;
299
-
300
- // Save the data from the regular taxonomies fields into the WC specific tax field.
301
- $fields['is_wc_product_category'] = isset( $data['taxonomies']['product_cat'] ) ? $data['taxonomies']['product_cat'] : array();
302
- $fields['is_wc_product_tag'] = isset( $data['taxonomies']['product_tag'] ) ? $data['taxonomies']['product_tag'] : array();
303
-
304
- // Convert old test mode data and remove.
305
- $test_mode = get_post_meta( $optin_id, '_omapi_test', true );
306
- if ( isset( $test_mode ) && $test_mode ) {
307
- $fields['users'] = 'in';
308
- delete_post_meta( $optin_id, '_omapi_test' );
309
- }
310
-
311
- if ( $this->base->is_mailpoet_active() ) {
312
- $fields['mailpoet'] = isset( $data['mailpoet'] ) ? 1 : 0;
313
- $fields['mailpoet_list'] = isset( $data['mailpoet_list'] ) ? esc_attr( $data['mailpoet_list'] ) : 'none';
314
- $fields['mailpoet_phone_field'] = isset( $data['mailpoet_use_phone'], $data['mailpoet_phone_field'] ) ? esc_attr( $data['mailpoet_phone_field'] ) : '';
315
- }
316
-
317
- // Allow fields to be filtered.
318
- $fields = apply_filters( 'optin_monster_save_fields', $fields, $optin_id );
319
-
320
- // Loop through each field and save the data.
321
- foreach ( $fields as $key => $val ) {
322
- update_post_meta( $optin_id, '_omapi_' . $key, $val );
323
- }
324
- break;
325
-
326
- case 'settings':
327
- $option = $this->base->get_option();
328
- $option['settings']['cookies'] = isset( $data['cookies'] ) ? 1 : 0;
329
-
330
- // Save the option.
331
- $this->update_optin_monster_api_option( $option, $data );
332
- break;
333
-
334
- case 'woocommerce':
335
- if ( ! empty( $data['autogenerate'] ) ) {
336
- // Auto-generate a key pair.
337
- $auto_generated_keys = $this->woocommerce_autogenerate();
338
- if ( empty( $auto_generated_keys ) ) {
339
- $this->errors['error'] = esc_html__( 'WooCommerce REST API keys could not be auto-generated on your behalf. Please try again.', 'optin-monster-api' );
340
- break;
341
- }
342
-
343
- // Merge data array, with auto-generated keys array.
344
- $data = array_merge( $data, $auto_generated_keys );
345
- }
346
-
347
- if ( empty( $data['disconnect'] ) ) {
348
- $this->woocommerce_connect( $data );
349
- } else {
350
- $this->woocommerce_disconnect( $data );
351
- }
352
- break;
353
- default:
354
- break;
355
- }
356
-
357
- // If selected, clear out all local cookies.
358
- if ( $this->base->get_option( 'settings', 'cookies' ) ) {
359
- $this->base->actions->cookies();
360
- }
361
-
362
- // Add message to show error or success messages.
363
- if ( ! empty( $this->errors ) ) {
364
- add_action( 'all_admin_notices', array( $this, 'errors' ) );
365
- } else {
366
- // Add a success message.
367
- add_action( 'all_admin_notices', array( $this, 'message' ) );
368
- }
369
-
370
  }
371
 
372
  /**
@@ -621,34 +329,17 @@ class OMAPI_Save {
621
  }
622
  }
623
 
624
- /**
625
- * Updated the `optin_monster_api` option in the database.
626
- *
627
- * @since 1.7.0
628
- *
629
- * @param array $option The full `optin_monster_api` option array.
630
- * @param array $data The parameters passed in via POST request.
631
- * @param string $view The current settings menu view.
632
- *
633
- * @return void
634
- */
635
- public function update_optin_monster_api_option( $option, $data, $view = '' ) {
636
- $this->update_option( $option, $view, $data );
637
- }
638
-
639
  /**
640
  * Updated the `optin_monster_api` option in the database.
641
  *
642
  * @since 1.9.8
643
  *
644
  * @param array $option The full `optin_monster_api` option array.
645
- * @param string $view Optional. The current settings menu view.
646
  * @param array $data Optional. The parameters passed in via POST request.
647
  *
648
  * @return mixed The results of update_option.
649
  */
650
- public function update_option( $option, $view = '', $data = array() ) {
651
- $view = $view ? $view : $this->view;
652
 
653
  // Allow storing the timestamp of when the API is connected for "first time".
654
  // We are not changing it if the user disconnects and reconnects.
@@ -664,9 +355,8 @@ class OMAPI_Save {
664
  *
665
  * @param array $option The full `optin_monster_api` option array.
666
  * @param array $data The parameters passed in via POST request.
667
- * @param string $view The current settings menu view.
668
  */
669
- $option = apply_filters( 'optin_monster_api_save', $option, $data, $view );
670
 
671
  // Save the option.
672
  return update_option( 'optin_monster_api', $option );
@@ -679,7 +369,7 @@ class OMAPI_Save {
679
  *
680
  * @return array
681
  */
682
- public function woocommerce_autogenerate() {
683
  $cookies = array();
684
  foreach ( $_COOKIE as $name => $val ) {
685
  $cookies[] = "$name=" . urlencode( is_array( $val ) ? serialize( $val ) : $val );
@@ -701,8 +391,12 @@ class OMAPI_Save {
701
  ),
702
  );
703
  $response = wp_remote_post( admin_url( 'admin-ajax.php' ), $request_args );
704
- $code = wp_remote_retrieve_response_code( $response );
705
- $body = json_decode( wp_remote_retrieve_body( $response ) );
 
 
 
 
706
 
707
  if (
708
  200 === intval( $code )
@@ -726,11 +420,11 @@ class OMAPI_Save {
726
  *
727
  * @return void
728
  */
729
- protected function woocommerce_connect( $data ) {
730
  $keys = $this->base->woocommerce->validate_keys( $data );
731
 
732
  if ( isset( $keys['error'] ) ) {
733
- $this->errors['error'] = $keys['error'];
734
  } else {
735
 
736
  // Get the version of the REST API we should use. The
@@ -755,7 +449,7 @@ class OMAPI_Save {
755
 
756
  // Output an error or register a successful connection.
757
  if ( is_wp_error( $response ) ) {
758
- $this->errors['error'] = isset( $response->message )
759
  ? $response->message
760
  : esc_html__( 'WooCommerce could not be connected to OptinMonster. The OptinMonster API returned with the following response: ', 'optin-monster-api' ) . $response->get_error_message();
761
  } else {
@@ -777,7 +471,7 @@ class OMAPI_Save {
777
  );
778
 
779
  // Save the option.
780
- $this->update_optin_monster_api_option( $option, $data );
781
  }
782
  }
783
  }
@@ -791,12 +485,12 @@ class OMAPI_Save {
791
  *
792
  * @return void
793
  */
794
- protected function woocommerce_disconnect( $data ) {
795
  $response = $this->base->woocommerce->disconnect();
796
 
797
  // Output an error or register a successful disconnection.
798
  if ( is_wp_error( $response ) ) {
799
- $this->errors['error'] = isset( $response->message )
800
  ? $response->message
801
  : esc_html__( 'WooCommerce could not be disconnected from OptinMonster. The OptinMonster API returned with the following response: ', 'optin-monster-api' ) . $response->get_error_message();
802
  } else {
@@ -805,36 +499,7 @@ class OMAPI_Save {
805
  unset( $option['woocommerce'] );
806
 
807
  // Save the option.
808
- $this->update_optin_monster_api_option( $option, $data );
809
  }
810
  }
811
-
812
- /**
813
- * Output any error messages.
814
- *
815
- * @since 1.0.0
816
- */
817
- public function errors() {
818
-
819
- foreach ( $this->errors as $id => $message ) :
820
- ?>
821
- <div class="<?php echo sanitize_html_class( $id, 'error' ); ?>"><p><?php echo $message; ?></p></div>
822
- <?php
823
- endforeach;
824
-
825
- }
826
-
827
- /**
828
- * Output a save message.
829
- *
830
- * @since 1.0.0
831
- */
832
- public function message() {
833
-
834
- ?>
835
- <div class="updated"><p><?php esc_html_e( 'Your settings have been saved successfully.', 'optin-monster-api' ); ?></p></div>
836
- <?php
837
-
838
- }
839
-
840
  }
39
  public $file = __FILE__;
40
 
41
  /**
42
+ * Holds save error.
43
  *
44
  * @since 1.0.0
45
  *
46
+ * @var mixed
47
  */
48
+ public $error = null;
49
 
50
  /**
51
  * Holds the base class object.
73
  * @since 1.0.0
74
  */
75
  public function set() {
 
76
  self::$instance = $this;
77
  $this->base = OMAPI::get_instance();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
  }
79
 
80
  /**
329
  }
330
  }
331
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
332
  /**
333
  * Updated the `optin_monster_api` option in the database.
334
  *
335
  * @since 1.9.8
336
  *
337
  * @param array $option The full `optin_monster_api` option array.
 
338
  * @param array $data Optional. The parameters passed in via POST request.
339
  *
340
  * @return mixed The results of update_option.
341
  */
342
+ public function update_option( $option, $data = array() ) {
 
343
 
344
  // Allow storing the timestamp of when the API is connected for "first time".
345
  // We are not changing it if the user disconnects and reconnects.
355
  *
356
  * @param array $option The full `optin_monster_api` option array.
357
  * @param array $data The parameters passed in via POST request.
 
358
  */
359
+ $option = apply_filters( 'optin_monster_api_save', $option, $data );
360
 
361
  // Save the option.
362
  return update_option( 'optin_monster_api', $option );
369
  *
370
  * @return array
371
  */
372
+ public function woocommerce_autogenerate( $wp_error = true ) {
373
  $cookies = array();
374
  foreach ( $_COOKIE as $name => $val ) {
375
  $cookies[] = "$name=" . urlencode( is_array( $val ) ? serialize( $val ) : $val );
391
  ),
392
  );
393
  $response = wp_remote_post( admin_url( 'admin-ajax.php' ), $request_args );
394
+ if ( $wp_error && is_wp_error( $response ) ) {
395
+ return $response;
396
+ }
397
+
398
+ $code = wp_remote_retrieve_response_code( $response );
399
+ $body = json_decode( wp_remote_retrieve_body( $response ) );
400
 
401
  if (
402
  200 === intval( $code )
420
  *
421
  * @return void
422
  */
423
+ public function woocommerce_connect( $data ) {
424
  $keys = $this->base->woocommerce->validate_keys( $data );
425
 
426
  if ( isset( $keys['error'] ) ) {
427
+ $this->error = $keys['error'];
428
  } else {
429
 
430
  // Get the version of the REST API we should use. The
449
 
450
  // Output an error or register a successful connection.
451
  if ( is_wp_error( $response ) ) {
452
+ $this->error = isset( $response->message )
453
  ? $response->message
454
  : esc_html__( 'WooCommerce could not be connected to OptinMonster. The OptinMonster API returned with the following response: ', 'optin-monster-api' ) . $response->get_error_message();
455
  } else {
471
  );
472
 
473
  // Save the option.
474
+ $this->update_option( $option, $data );
475
  }
476
  }
477
  }
485
  *
486
  * @return void
487
  */
488
+ public function woocommerce_disconnect( $data ) {
489
  $response = $this->base->woocommerce->disconnect();
490
 
491
  // Output an error or register a successful disconnection.
492
  if ( is_wp_error( $response ) ) {
493
+ $this->error = isset( $response->message )
494
  ? $response->message
495
  : esc_html__( 'WooCommerce could not be disconnected from OptinMonster. The OptinMonster API returned with the following response: ', 'optin-monster-api' ) . $response->get_error_message();
496
  } else {
499
  unset( $option['woocommerce'] );
500
 
501
  // Save the option.
502
+ $this->update_option( $option, $data );
503
  }
504
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
505
  }
OMAPI/Sites.php CHANGED
@@ -39,7 +39,19 @@ class OMAPI_Sites {
39
  *
40
  * @return array|null $sites An array of sites if the request is successful
41
  */
42
- public function fetch( $api_key = null ) {
 
 
 
 
 
 
 
 
 
 
 
 
43
  $creds = ! empty( $api_key ) ? array( 'apikey' => $api_key ) : array();
44
  $body = OMAPI_Api::build( 'v2', 'sites/origin', 'GET', $creds )->request();
45
 
@@ -113,6 +125,10 @@ class OMAPI_Sites {
113
  }
114
  }
115
 
 
 
 
 
116
  return $results;
117
  }
118
 
39
  *
40
  * @return array|null $sites An array of sites if the request is successful
41
  */
42
+ public function fetch( $api_key = null, $get_cached = false ) {
43
+ $cache_key = 'om_sites' . md5( $api_key );
44
+
45
+ if ( $get_cached ) {
46
+ $results = get_transient( $cache_key );
47
+ if ( ! empty( $results ) ) {
48
+ return $results;
49
+ }
50
+ }
51
+
52
+ // Delete any cached sites.
53
+ delete_transient( $cache_key );
54
+
55
  $creds = ! empty( $api_key ) ? array( 'apikey' => $api_key ) : array();
56
  $body = OMAPI_Api::build( 'v2', 'sites/origin', 'GET', $creds )->request();
57
 
125
  }
126
  }
127
 
128
+ if ( ! is_wp_error( $results ) && ! empty( $results['siteIds'] ) ) {
129
+ set_transient( $cache_key, $results, 5 * MINUTE_IN_SECONDS );
130
+ }
131
+
132
  return $results;
133
  }
134
 
OMAPI/Support.php CHANGED
@@ -88,6 +88,7 @@ class OMAPI_Support {
88
 
89
  if ( OMAPI_Utils::is_inline_type( $design_type ) ) {
90
  $data[ $slug ]['Automatic Output Status'] = get_post_meta( $campaign->ID, '_omapi_automatic', true ) ? 'Enabled' : 'Disabled';
 
91
  }
92
 
93
  if ( 'raw' === $format ) {
88
 
89
  if ( OMAPI_Utils::is_inline_type( $design_type ) ) {
90
  $data[ $slug ]['Automatic Output Status'] = get_post_meta( $campaign->ID, '_omapi_automatic', true ) ? 'Enabled' : 'Disabled';
91
+ $data[ $slug ]['Automatic Output Location'] = get_post_meta( $campaign->ID, '_omapi_auto_location', true );
92
  }
93
 
94
  if ( 'raw' === $format ) {
OMAPI/TrustPulse.php CHANGED
@@ -63,7 +63,25 @@ class OMAPI_TrustPulse {
63
  *
64
  * @var bool
65
  */
66
- public $trustpulse_active;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
 
68
  /**
69
  * Whether the TrustPulse plugin has been setup.
@@ -104,7 +122,7 @@ class OMAPI_TrustPulse {
104
  }
105
 
106
  // If user cannot manage_options, return.
107
- if ( ! current_user_can( 'manage_options' ) ) {
108
  return;
109
  }
110
 
@@ -124,7 +142,13 @@ class OMAPI_TrustPulse {
124
  self::$instance = $this;
125
  $this->base = OMAPI::get_instance();
126
 
127
- $this->trustpulse_active = function_exists( 'trustpulse_dir_uri' );
 
 
 
 
 
 
128
 
129
  $account_id = get_option( 'trustpulse_script_id', null );
130
  $this->trustpulse_setup = ! empty( $account_id );
@@ -138,18 +162,18 @@ class OMAPI_TrustPulse {
138
  public function register_welcome_page() {
139
  $this->hook = add_submenu_page(
140
  // If trustpulse is active/setup, don't show the TP sub-menu item under OM.
141
- $this->trustpulse_active && $this->trustpulse_setup
142
  ? $this->base->menu->parent_slug() . '-no-menu'
143
  : $this->base->menu->parent_slug(), // Parent slug
144
  esc_html__( 'TrustPulse', 'optin-monster-api' ), // Page title
145
  esc_html__( 'Social Proof Widget', 'optin-monster-api' ),
146
- apply_filters( 'optin_monster_api_menu_cap', 'manage_options', 'optin-monster-trustpulse' ), // Cap
147
  'optin-monster-trustpulse', // Slug
148
  array( $this, 'display_page' ) // Callback
149
  );
150
 
151
  // If TrustPulse is active, we want to redirect to its own landing page.
152
- if ( $this->trustpulse_active ) {
153
  add_action( 'load-' . $this->hook, array( __CLASS__, 'redirect_trustpulse_plugin' ) );
154
  }
155
 
@@ -174,11 +198,15 @@ class OMAPI_TrustPulse {
174
  * @since 1.9.0
175
  */
176
  public function display_page() {
177
- $all = get_plugins();
 
 
 
178
  $this->base->output_view(
179
  'trustpulse-settings-page.php',
180
  array(
181
- 'has_plugin' => ! empty( $all['trustpulse-api/trustpulse.php'] ),
 
182
  )
183
  );
184
  }
@@ -194,6 +222,18 @@ class OMAPI_TrustPulse {
194
  $this->base->menu->scripts();
195
 
196
  wp_enqueue_style( 'om-tp-admin-css', $this->base->url . 'assets/dist/css/trustpulse.min.css', false, $this->base->asset_version() );
 
 
 
 
 
 
 
 
 
 
 
 
197
  add_action( 'in_admin_header', array( $this, 'render_banner' ) );
198
  }
199
 
63
  *
64
  * @var bool
65
  */
66
+ public $active;
67
+
68
+ /**
69
+ * TrustPulse plugin data.
70
+ *
71
+ * @since 2.0.0
72
+ *
73
+ * @var array
74
+ */
75
+ public $plugin_data = array();
76
+
77
+ /**
78
+ * Whether the TrustPulse plugin is installed.
79
+ *
80
+ * @since 2.0.0
81
+ *
82
+ * @var bool
83
+ */
84
+ public $installed;
85
 
86
  /**
87
  * Whether the TrustPulse plugin has been setup.
122
  }
123
 
124
  // If user cannot manage_options, return.
125
+ if ( ! OMAPI::get_instance()->can_access( 'trustpulse' ) ) {
126
  return;
127
  }
128
 
142
  self::$instance = $this;
143
  $this->base = OMAPI::get_instance();
144
 
145
+ $plugins = new OMAPI_Plugins();
146
+ $data = $plugins->get_list();
147
+ $this->plugin_data = ! empty( $data['trustpulse-api/trustpulse.php'] ) ? $data['trustpulse-api/trustpulse.php'] : false;
148
+
149
+ list( $this->installed, $this->active ) = $this->plugin_data
150
+ ? $plugins->plugin_exists_checks( $this->plugin_data )
151
+ : array( false, false );
152
 
153
  $account_id = get_option( 'trustpulse_script_id', null );
154
  $this->trustpulse_setup = ! empty( $account_id );
162
  public function register_welcome_page() {
163
  $this->hook = add_submenu_page(
164
  // If trustpulse is active/setup, don't show the TP sub-menu item under OM.
165
+ $this->active && $this->trustpulse_setup
166
  ? $this->base->menu->parent_slug() . '-no-menu'
167
  : $this->base->menu->parent_slug(), // Parent slug
168
  esc_html__( 'TrustPulse', 'optin-monster-api' ), // Page title
169
  esc_html__( 'Social Proof Widget', 'optin-monster-api' ),
170
+ $this->base->access_capability( 'optin-monster-trustpulse' ), // Cap
171
  'optin-monster-trustpulse', // Slug
172
  array( $this, 'display_page' ) // Callback
173
  );
174
 
175
  // If TrustPulse is active, we want to redirect to its own landing page.
176
+ if ( $this->active ) {
177
  add_action( 'load-' . $this->hook, array( __CLASS__, 'redirect_trustpulse_plugin' ) );
178
  }
179
 
198
  * @since 1.9.0
199
  */
200
  public function display_page() {
201
+ $plugin_search_url = is_multisite()
202
+ ? network_admin_url( 'plugin-install.php?tab=search&type=term&s=trustpulse' )
203
+ : admin_url( 'plugin-install.php?tab=search&type=term&s=trustpulse' );
204
+
205
  $this->base->output_view(
206
  'trustpulse-settings-page.php',
207
  array(
208
+ 'has_plugin' => $this->installed,
209
+ 'plugin_search_url' => $plugin_search_url,
210
  )
211
  );
212
  }
222
  $this->base->menu->scripts();
223
 
224
  wp_enqueue_style( 'om-tp-admin-css', $this->base->url . 'assets/dist/css/trustpulse.min.css', false, $this->base->asset_version() );
225
+ wp_enqueue_script( 'om-tp-admin-js', $this->base->url . 'assets/dist/js/trustpulse.min.js', false, $this->base->asset_version() );
226
+
227
+ wp_localize_script( 'om-tp-admin-js', 'omapiTp', array(
228
+ 'restUrl' => rest_url(),
229
+ 'action' => $this->installed ? 'activate' : 'install',
230
+ 'installNonce' => wp_create_nonce( 'install_plugin' ),
231
+ 'activateNonce' => wp_create_nonce( 'activate_plugin' ),
232
+ 'restNonce' => wp_create_nonce( 'wp_rest' ),
233
+ 'pluginUrl' => isset( $this->plugin_data['url'] )
234
+ ? $this->plugin_data['url']
235
+ : 'https://downloads.wordpress.org/plugin/trustpulse-api.zip',
236
+ ) );
237
  add_action( 'in_admin_header', array( $this, 'render_banner' ) );
238
  }
239
 
OMAPI/Type.php CHANGED
@@ -67,10 +67,8 @@ class OMAPI_Type {
67
  * @since 1.0.0
68
  */
69
  public function set() {
70
-
71
  self::$instance = $this;
72
  $this->base = OMAPI::get_instance();
73
- $this->view = isset( $_GET['optin_monster_api_view'] ) ? stripslashes( $_GET['optin_monster_api_view'] ) : $this->base->get_view();
74
  }
75
 
76
  /**
67
  * @since 1.0.0
68
  */
69
  public function set() {
 
70
  self::$instance = $this;
71
  $this->base = OMAPI::get_instance();
 
72
  }
73
 
74
  /**
OMAPI/Validate.php CHANGED
@@ -71,11 +71,8 @@ class OMAPI_Validate {
71
  * @since 1.0.0
72
  */
73
  public function set() {
74
-
75
  self::$instance = $this;
76
  $this->base = OMAPI::get_instance();
77
- $this->view = isset( $_GET['optin_monster_api_view'] ) ? stripslashes( $_GET['optin_monster_api_view'] ) : $this->base->get_view();
78
-
79
  }
80
 
81
  /**
@@ -102,7 +99,7 @@ class OMAPI_Validate {
102
  $this->validate();
103
 
104
  // Provide action to refresh optins.
105
- do_action( 'optin_monster_api_validate_api', $this->view );
106
 
107
  }
108
 
@@ -181,8 +178,8 @@ class OMAPI_Validate {
181
 
182
  $option = $this->base->get_option();
183
  if ( isset( $option['is_invalid'] ) && $option['is_invalid'] ) {
184
- if ( 'optin-monster-api-settings' !== $page && 'optin-monster-api-welcome' !== $page ) {
185
- if ( ! $this->base->menu->has_trial_link() ) {
186
  echo '<div class="notice notice-error"><p>' . esc_html__( 'There was an error verifying your OptinMonster API credentials. They are either missing or they are no longer valid.', 'optin-monster-api' ) . '</p>';
187
  echo '<p><a href="' . esc_url_raw( $this->base->menu->get_settings_link() ) . '" class="button button-primary button-large omapi-new-optin" title="' . esc_html__( 'View API Settings', 'optin-monster-api' ) . '">' . esc_html__( 'View API Settings', 'optin-monster-api' ) . '</a></p></div>';
188
  }
@@ -196,8 +193,17 @@ class OMAPI_Validate {
196
  } else {
197
  if ( $this->should_user_see_connect_nag() ) {
198
 
199
- echo '<div id="omapi-please-connect-notice" class="notice notice-success is-dismissible"><h3 style="padding:2px;font-weight:normal;margin:.5em 0 0;">' . esc_html__( 'Get More Email Subscribers with OptinMonster', 'optin-monster-api' ) . '</h3><p>' . esc_html__( 'Please connect to or create an OptinMonster account to start using OptinMonster. This will enable you to start turning website visitors into subscribers & customers.', 'optin-monster-api' ) . '</p>';
200
- echo '<p><a href="' . esc_url_raw( $this->base->menu->get_dashboard_link() ) . '" class="button button-primary button-large omapi-new-optin" title="' . esc_html__( 'Connect OptinMonster', 'optin-monster-api' ) . '">' . esc_html__( 'Connect OptinMonster' ) . '</a></p></div>';
 
 
 
 
 
 
 
 
 
201
  }
202
  }
203
 
71
  * @since 1.0.0
72
  */
73
  public function set() {
 
74
  self::$instance = $this;
75
  $this->base = OMAPI::get_instance();
 
 
76
  }
77
 
78
  /**
99
  $this->validate();
100
 
101
  // Provide action to refresh optins.
102
+ do_action( 'optin_monster_api_validate_api' );
103
 
104
  }
105
 
178
 
179
  $option = $this->base->get_option();
180
  if ( isset( $option['is_invalid'] ) && $option['is_invalid'] ) {
181
+ if ( 'optin-monster-dashboard' !== $page ) {
182
+ if ( ! OMAPI_Partners::has_partner_url() ) {
183
  echo '<div class="notice notice-error"><p>' . esc_html__( 'There was an error verifying your OptinMonster API credentials. They are either missing or they are no longer valid.', 'optin-monster-api' ) . '</p>';
184
  echo '<p><a href="' . esc_url_raw( $this->base->menu->get_settings_link() ) . '" class="button button-primary button-large omapi-new-optin" title="' . esc_html__( 'View API Settings', 'optin-monster-api' ) . '">' . esc_html__( 'View API Settings', 'optin-monster-api' ) . '</a></p></div>';
185
  }
193
  } else {
194
  if ( $this->should_user_see_connect_nag() ) {
195
 
196
+ echo '
197
+ <div id="omapi-please-connect-notice" class="notice notice-success is-dismissible">
198
+ <h3 style="padding:2px;font-weight:normal;margin:.5em 0 0;">' . esc_html__( 'Get More Email Subscribers with OptinMonster', 'optin-monster-api' ) . '</h3>
199
+ <p>' . esc_html__( 'Please connect to or create an OptinMonster account to start using OptinMonster. This will enable you to start turning website visitors into subscribers & customers.', 'optin-monster-api' ) . '
200
+ </p>
201
+ <p>
202
+ <a href="' . esc_url_raw( $this->base->menu->get_onboarding_link() ) . '" class="button button-primary button-large omapi-new-optin" title="' . esc_html__( 'Get Started', 'optin-monster-api' ) . '">' . esc_html__( 'Get Started' ) . '</a>
203
+ <a style="margin-left:8px" href="'. esc_url( $this->base->menu->get_onboarding_link() ) . '" title="' . esc_attr( 'Learn More', 'optin-monster-api' ) . '">' . esc_html( 'Learn More &rarr;', 'optin-monster-api' ) . '</a>
204
+ </p>
205
+ </div>
206
+ ';
207
  }
208
  }
209
 
OMAPI/Welcome.php CHANGED
@@ -12,7 +12,6 @@
12
  if ( ! defined( 'ABSPATH' ) ) {
13
  exit;
14
  }
15
-
16
  /**
17
  * Welcome class.
18
  *
@@ -47,15 +46,6 @@ class OMAPI_Welcome {
47
  */
48
  public $base;
49
 
50
- /**
51
- * Holds the welcome slug.
52
- *
53
- * @since 1.1.4.2
54
- *
55
- * @var string
56
- */
57
- public $hook;
58
-
59
  /**
60
  * Primary class constructor.
61
  *
@@ -78,22 +68,13 @@ class OMAPI_Welcome {
78
  }
79
 
80
  // If user cannot manage_options, return.
81
- if ( ! current_user_can( 'manage_options' ) ) {
82
  return;
83
  }
84
 
85
  // Set our object.
86
  $this->set();
87
 
88
- // Load the Welcome screen
89
- add_action( 'admin_menu', array( $this, 'register_welcome_page' ) );
90
-
91
- // maybe redirect
92
- add_action( 'admin_init', array( $this, 'maybe_welcome_redirect' ) );
93
-
94
- // maybe add body classes
95
- add_action( 'current_screen', array( $this, 'welcome_screen_helpers' ) );
96
-
97
  // Maybe load a dashboard widget.
98
  add_action( 'wp_dashboard_setup', array( $this, 'dashboard_widget' ) );
99
  }
@@ -104,145 +85,8 @@ class OMAPI_Welcome {
104
  * @since 1.1.4.2
105
  */
106
  public function set() {
107
-
108
  self::$instance = $this;
109
  $this->base = OMAPI::get_instance();
110
- $this->view = isset( $_GET['optin_monster_api_view'] ) ? stripslashes( $_GET['optin_monster_api_view'] ) : $this->base->get_view();
111
-
112
- }
113
-
114
- public function welcome_screen_helpers() {
115
-
116
- $screen = get_current_screen();
117
- if ( 'optinmonster_page_optin-monster-api-welcome' === $screen->id ) {
118
- add_filter( 'admin_body_class', array( $this, 'add_body_classes' ) );
119
- }
120
-
121
- // Make sure welcome page is always first page to view.
122
- if ( 'toplevel_page_' . $this->base->menu->parent_slug() === $screen->id ) {
123
-
124
- // If We don't have the OM API Key set, and the "Bypass welcome screen" query string isn't set
125
- if ( ! $this->base->get_api_credentials() && ! isset( $_GET['om-bypass-api-check'] ) ) {
126
- $this->redirect_to();
127
- }
128
- }
129
- }
130
- /**
131
- * Add body classes
132
- */
133
- public function add_body_classes( $classes ) {
134
-
135
- $classes .= ' omapi-welcome ';
136
-
137
- return $classes;
138
- }
139
-
140
- /**
141
- * Maybe Redirect new users to the welcome page after install.
142
- *
143
- * @since 1.1.4.2
144
- */
145
- public function maybe_welcome_redirect() {
146
-
147
- $options = $this->base->get_option();
148
-
149
- // Check for the new option
150
- if ( ! empty( $options['welcome']['status'] ) ) {
151
-
152
- // Check if they have been welcomed
153
- if ( 'none' === $options['welcome']['status'] ) {
154
-
155
- // Update the option.
156
- $options['welcome']['status'] = 'welcomed';
157
- update_option( 'optin_monster_api', $options );
158
-
159
- // If this was not a bulk activate send them to the page
160
- if ( ! isset( $_GET['activate-multi'] ) ) {
161
- // Only redirect if no trial is found.
162
- $trial = $this->base->menu->has_trial_link();
163
- if ( ! $trial ) {
164
- $this->redirect_to();
165
- }
166
- }
167
- }
168
- } else {
169
- // welcome option didn't exist so must be pre-existing user updating
170
- $options['welcome']['status'] = 'welcomed';
171
- update_option( 'optin_monster_api', $options );
172
- }
173
-
174
- }
175
-
176
- /**
177
- * Loads the OptinMonster admin menu.
178
- *
179
- * @since 1.1.4.2
180
- */
181
- public function register_welcome_page() {
182
- $slug = 'optin-monster-api-welcome';
183
- $is_current = isset( $_GET['page'] ) && $slug === $_GET['page'];
184
-
185
- $this->hook = add_submenu_page(
186
- $is_current ? 'optin-monster-api-settings' : 'optin-monster-api-settings-no-menu', // parent slug
187
- esc_html__( 'Welcome to OptinMonster', 'optin-monster-api' ), // page title,
188
- esc_html__( 'Welcome', 'optin-monster-api' ),
189
- apply_filters( 'optin_monster_api_menu_cap', 'manage_options', $slug ), // cap
190
- $slug, // slug
191
- array( $this, 'callback_to_display_page' ) // callback
192
- );
193
-
194
- // Load settings page assets.
195
- if ( $this->hook ) {
196
- add_action( 'load-' . $this->hook, array( $this, 'maybe_redirect' ) );
197
- add_action( 'load-' . $this->hook, array( $this, 'assets' ) );
198
- }
199
-
200
- }
201
-
202
- /**
203
- * If user already has credentials set, redirect them to the main page.
204
- *
205
- * @since 1.9.10
206
- *
207
- * @return void
208
- */
209
- public function maybe_redirect() {
210
- if ( $this->base->get_api_credentials() ) {
211
- $this->base->menu->redirect_to_dashboard();
212
- }
213
- }
214
-
215
- /**
216
- * Outputs the OptinMonster settings page.
217
- *
218
- * @since 1.1.4.2
219
- */
220
- public function callback_to_display_page() {
221
- wp_enqueue_script(
222
- $this->base->plugin_slug . '-connect',
223
- $this->base->url . 'assets/dist/js/connect.min.js',
224
- array( 'jquery' ),
225
- $this->base->asset_version(),
226
- true
227
- );
228
-
229
- wp_localize_script(
230
- $this->base->plugin_slug . '-connect',
231
- 'OMAPI',
232
- array(
233
- 'app_url' => trailingslashit( OPTINMONSTER_APP_URL ),
234
- 'blogname' => esc_attr( get_option( 'blogname' ) ),
235
- )
236
- );
237
-
238
- $this->base->output_view(
239
- 'welcome.php',
240
- array(
241
- 'button_text' => $this->base->menu->has_trial_link() ? __( 'Get Started for Free', 'optin-monster-api' ) : __( 'Get OptinMonster Now', 'optin-monster-api' ),
242
- 'button_link' => esc_url( $this->base->menu->get_action_link() ),
243
- 'api_link' => esc_url_raw( admin_url( 'admin.php?page=' . $this->base->menu->parent_slug() . '&om-bypass-api-check=true' ) ),
244
- )
245
- );
246
  }
247
 
248
  /**
@@ -277,100 +121,12 @@ class OMAPI_Welcome {
277
  public function dashboard_widget_callback() {
278
  ?>
279
  <div class="optin-monster-db-widget" style="text-align:center;">
280
- <p><img src="<?php echo plugins_url( '/assets/css/images/dashboard-icon.png', OMAPI_FILE ); ?>" alt="<?php esc_attr_e( 'Archie', 'optin-monster-api' ); ?>" width="64px" height="64px"></p>
281
  <h3 style="font-weight:normal;font-size:1.3em;"><?php esc_html_e( 'Please Connect OptinMonster', 'optin-monster-api' ); ?></h3>
282
- <p><?php _e( 'OptinMonster helps you convert abandoning website visitors into subscribers and customers. <strong>Get more email subscribers now.</strong>', 'optin-monster-api' ); ?></p>
283
- <p><a href="<?php echo esc_url( $this->base->menu->get_dashboard_link() ); ?>" class="button button-primary" title="<?php esc_attr_e( 'Connect OptinMonster', 'optin-monster-api' ); ?>"><?php esc_html_e( 'Connect OptinMonster', 'optin-monster-api' ); ?></a></p>
284
  </div>
285
  <?php
286
  }
287
 
288
- /**
289
- * Loads assets for the settings page.
290
- *
291
- * @since 1.1.4.2
292
- */
293
- public function assets() {
294
-
295
- add_action( 'admin_enqueue_scripts', array( $this, 'styles' ) );
296
- add_action( 'admin_print_footer_scripts', array( $this, 'scripts' ) );
297
- add_filter( 'admin_footer_text', array( $this, 'footer' ) );
298
- add_action( 'in_admin_header', array( $this->base->menu, 'output_plugin_screen_banner' ) );
299
-
300
- }
301
-
302
- /**
303
- * Register and enqueue settings page specific CSS.
304
- *
305
- * @since 1.1.4.2
306
- */
307
- public function styles() {
308
-
309
- wp_register_style( $this->base->plugin_slug . '-settings', plugins_url( '/assets/dist/css/settings.min.css', OMAPI_FILE ), array(), $this->base->asset_version() );
310
- wp_enqueue_style( $this->base->plugin_slug . '-settings' );
311
-
312
- }
313
-
314
- public function scripts() {
315
- ?>
316
- <script type="text/javascript">
317
- jQuery( '#js_omapi-welcome-video-link' )
318
- .on( 'click', function ( e ) {
319
- e.preventDefault();
320
- jQuery( this ).parents( '#js__omapi-video-well' ).addClass( 'active' );
321
- jQuery( '#js__omapi-welcome-video-frame' ).show().prop( 'src', jQuery( e.currentTarget ).attr( 'href' ) );
322
- })
323
- </script>
324
- <?php
325
- }
326
-
327
- /**
328
- * Customizes the footer text on the OptinMonster settings page.
329
- *
330
- * @since 1.0.0
331
- *
332
- * @param string $text The default admin footer text.
333
- * @return string $text Amended admin footer text.
334
- */
335
- public function footer( $text ) {
336
-
337
- $new_text = sprintf(
338
- __( 'Thank you for using <a href="%1$s" target="_blank">OptinMonster</a>!', 'optin-monster-api' ),
339
- 'https://optinmonster.com'
340
- );
341
- return str_replace( '</span>', '', $text ) . ' | ' . $new_text . '</span>';
342
-
343
- }
344
-
345
- /**
346
- * Get the OM welcome url.
347
- *
348
- * @since 1.9.10
349
- *
350
- * @return string
351
- */
352
- public function get_link() {
353
- return $this->base->menu->admin_page_url(
354
- array(
355
- 'page' => 'optin-monster-api-welcome',
356
- )
357
- );
358
- }
359
-
360
- /**
361
- * Redirect to the welcome page.
362
- *
363
- * @since 1.9.10
364
- *
365
- * @return void
366
- */
367
- public function redirect_to() {
368
- $this->base->menu->redirect_to_dashboard(
369
- '',
370
- array(
371
- 'page' => 'optin-monster-api-welcome',
372
- )
373
- );
374
- }
375
-
376
  }
12
  if ( ! defined( 'ABSPATH' ) ) {
13
  exit;
14
  }
 
15
  /**
16
  * Welcome class.
17
  *
46
  */
47
  public $base;
48
 
 
 
 
 
 
 
 
 
 
49
  /**
50
  * Primary class constructor.
51
  *
68
  }
69
 
70
  // If user cannot manage_options, return.
71
+ if ( ! OMAPI::get_instance()->can_access( 'welcome' ) ) {
72
  return;
73
  }
74
 
75
  // Set our object.
76
  $this->set();
77
 
 
 
 
 
 
 
 
 
 
78
  // Maybe load a dashboard widget.
79
  add_action( 'wp_dashboard_setup', array( $this, 'dashboard_widget' ) );
80
  }
85
  * @since 1.1.4.2
86
  */
87
  public function set() {
 
88
  self::$instance = $this;
89
  $this->base = OMAPI::get_instance();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  }
91
 
92
  /**
121
  public function dashboard_widget_callback() {
122
  ?>
123
  <div class="optin-monster-db-widget" style="text-align:center;">
124
+ <p><img src="<?php echo plugins_url( '/assets/images/logo-om.png', OMAPI_FILE ); ?>" alt="<?php esc_attr_e( 'OptinMonster', 'optin-monster-api' ); ?>" width="300px" height="45px"></p>
125
  <h3 style="font-weight:normal;font-size:1.3em;"><?php esc_html_e( 'Please Connect OptinMonster', 'optin-monster-api' ); ?></h3>
126
+ <p><?php _e( 'Instantly grow your email list, get more leads and increase sales with the <strong>#1 most powerful conversion optimization toolkit in the world.</strong>', 'optin-monster-api' ); ?></p>
127
+ <p><a href="<?php echo esc_url( $this->base->menu->get_onboarding_link() ); ?>" class="button button-primary" title="<?php esc_attr_e( 'Get Started', 'optin-monster-api' ); ?>"><?php esc_html_e( 'Get Started', 'optin-monster-api' ); ?></a><a style="margin-left:8px" href="<?php echo esc_url( $this->base->menu->get_onboarding_link() ); ?>" title="<?php esc_attr_e( 'Learn More', 'optin-monster-api' ); ?>"><?php esc_html_e( 'Learn More &rarr;', 'optin-monster-api' ); ?></a></p>
128
  </div>
129
  <?php
130
  }
131
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
132
  }
OMAPI/WpErrorException.php ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * WP_Error Exception class.
4
+ *
5
+ * @since 2.0.0
6
+ *
7
+ * @package OMAPI
8
+ * @author Justin Sternberg
9
+ */
10
+
11
+ // Exit if accessed directly.
12
+ if ( ! defined( 'ABSPATH' ) ) {
13
+ exit;
14
+ }
15
+
16
+ /**
17
+ * WP_Error Exception class.
18
+ *
19
+ * @since 2.0.0
20
+ */
21
+ class OMAPI_WpErrorException extends Exception {
22
+
23
+ /**
24
+ * The WP_Error object to this exception.
25
+ *
26
+ * @since 2.0.0
27
+ *
28
+ * @var null|WP_Error
29
+ */
30
+ protected $wp_error = null;
31
+
32
+ /**
33
+ * Sets the WP_Error object to this exception.
34
+ *
35
+ * @since 2.0.0
36
+ *
37
+ * @param WP_Error $error The WP_Error object.
38
+ */
39
+ public function setWpError( WP_Error $error ) {
40
+ $this->wp_error = $error;
41
+
42
+ return $this;
43
+ }
44
+
45
+ public function getWpError() {
46
+ return $this->wp_error;
47
+ }
48
+ }
assets/css/font-awesome.min.css ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ /*!
2
+ * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
3
+ * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
4
+ */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.7.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}.fa-gitlab:before{content:"\f296"}.fa-wpbeginner:before{content:"\f297"}.fa-wpforms:before{content:"\f298"}.fa-envira:before{content:"\f299"}.fa-universal-access:before{content:"\f29a"}.fa-wheelchair-alt:before{content:"\f29b"}.fa-question-circle-o:before{content:"\f29c"}.fa-blind:before{content:"\f29d"}.fa-audio-description:before{content:"\f29e"}.fa-volume-control-phone:before{content:"\f2a0"}.fa-braille:before{content:"\f2a1"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\f2a4"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\f2a7"}.fa-low-vision:before{content:"\f2a8"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-pied-piper:before{content:"\f2ae"}.fa-first-order:before{content:"\f2b0"}.fa-yoast:before{content:"\f2b1"}.fa-themeisle:before{content:"\f2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\f2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\f2b4"}.fa-handshake-o:before{content:"\f2b5"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-o:before{content:"\f2b7"}.fa-linode:before{content:"\f2b8"}.fa-address-book:before{content:"\f2b9"}.fa-address-book-o:before{content:"\f2ba"}.fa-vcard:before,.fa-address-card:before{content:"\f2bb"}.fa-vcard-o:before,.fa-address-card-o:before{content:"\f2bc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-circle-o:before{content:"\f2be"}.fa-user-o:before{content:"\f2c0"}.fa-id-badge:before{content:"\f2c1"}.fa-drivers-license:before,.fa-id-card:before{content:"\f2c2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\f2c3"}.fa-quora:before{content:"\f2c4"}.fa-free-code-camp:before{content:"\f2c5"}.fa-telegram:before{content:"\f2c6"}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\f2cb"}.fa-shower:before{content:"\f2cc"}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:"\f2cd"}.fa-podcast:before{content:"\f2ce"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\f2d3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\f2d4"}.fa-bandcamp:before{content:"\f2d5"}.fa-grav:before{content:"\f2d6"}.fa-etsy:before{content:"\f2d7"}.fa-imdb:before{content:"\f2d8"}.fa-ravelry:before{content:"\f2d9"}.fa-eercast:before{content:"\f2da"}.fa-microchip:before{content:"\f2db"}.fa-snowflake-o:before{content:"\f2dc"}.fa-superpowers:before{content:"\f2dd"}.fa-wpexplorer:before{content:"\f2de"}.fa-meetup:before{content:"\f2e0"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}
assets/css/images/icons/loading-circle.svg ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+
2
+ <svg width="44" height="44" viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg" stroke="currentColor">
3
+ <g fill="none" fill-rule="evenodd" stroke-width="2"><circle cx="22" cy="22" r="1"><animate attributeName="r" begin="0s" dur="1.8s" values="1; 20" calcMode="spline" keyTimes="0; 1" keySplines="0.165, 0.84, 0.44, 1" repeatCount="indefinite"/><animate attributeName="stroke-opacity" begin="0s" dur="1.8s" values="1; 0" calcMode="spline" keyTimes="0; 1" keySplines="0.3, 0.61, 0.355, 1" repeatCount="indefinite"/></circle><circle cx="22" cy="22" r="1"><animate attributeName="r" begin="-0.9s" dur="1.8s" values="1; 20" calcMode="spline" keyTimes="0; 1" keySplines="0.165, 0.84, 0.44, 1" repeatCount="indefinite"/><animate attributeName="stroke-opacity" begin="-0.9s" dur="1.8s" values="1; 0" calcMode="spline" keyTimes="0; 1" keySplines="0.3, 0.61, 0.355, 1" repeatCount="indefinite"/></circle></g>
4
+ </svg>
assets/css/images/om-step-1-sm.png CHANGED
Binary file
assets/css/images/om-step-1.png CHANGED
Binary file
assets/css/images/om-step-2-sm.png CHANGED
Binary file
assets/css/images/om-step-2.png CHANGED
Binary file
assets/css/images/om-step-3-sm.png CHANGED
Binary file
assets/css/images/om-step-3.png CHANGED
Binary file
assets/css/images/om-step-4-sm.png CHANGED
Binary file
assets/css/images/om-step-4.png CHANGED
Binary file
assets/dist/css/blocks-admin.min.css CHANGED
@@ -1,11 +1,106 @@
 
1
  .optinmonster-gutenberg-campaign-selector-wrap {
2
  text-align: center !important;
3
  -webkit-box-align: center !important;
4
  -ms-flex-align: center !important;
5
  align-items: center !important; }
6
- .optinmonster-gutenberg-campaign-selector-wrap h2 {
7
- margin-bottom: 0.65em !important;
8
- padding-top: 20px !important; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  .optinmonster-gutenberg-campaign-selector-wrap .components-base-control {
10
  width: 100% !important; }
11
  .optinmonster-gutenberg-campaign-selector-wrap .components-base-control select {
1
+ @charset "UTF-8";
2
  .optinmonster-gutenberg-campaign-selector-wrap {
3
  text-align: center !important;
4
  -webkit-box-align: center !important;
5
  -ms-flex-align: center !important;
6
  align-items: center !important; }
7
+ .optinmonster-gutenberg-campaign-selector-wrap .optinmonster-gutenberg-campaign-selector-label {
8
+ -webkit-box-align: center;
9
+ -ms-flex-align: center;
10
+ align-items: center;
11
+ color: #23282D;
12
+ display: -webkit-box;
13
+ display: -ms-flexbox;
14
+ display: flex;
15
+ font-size: 14px;
16
+ margin-bottom: -1em;
17
+ /** Undo WordPress default **/
18
+ padding-bottom: 10px; }
19
+ .optinmonster-gutenberg-campaign-selector-wrap .optinmonster-gutenberg-campaign-selector-label img {
20
+ height: 19px;
21
+ margin-right: 7px;
22
+ width: 22.79px; }
23
+ .optinmonster-gutenberg-campaign-selector-wrap .optinmonster-gutenberg-campaign-selector-no_campaigns p,
24
+ .optinmonster-gutenberg-campaign-selector-wrap .optinmonster-gutenberg-campaign-selector-no_sites p {
25
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
26
+ line-height: 1.5;
27
+ margin: 0 0 10px; }
28
+ .optinmonster-gutenberg-campaign-selector-wrap .optinmonster-gutenberg-campaign-selector-no_campaigns-help,
29
+ .optinmonster-gutenberg-campaign-selector-wrap .optinmonster-gutenberg-campaign-selector-no_sites-help {
30
+ color: #4A4A4A; }
31
+ .optinmonster-gutenberg-campaign-selector-wrap .optinmonster-gutenberg-campaign-selector-no_campaigns-header {
32
+ color: #23282D;
33
+ font-size: 14px;
34
+ font-weight: bold; }
35
+ .optinmonster-gutenberg-campaign-selector-wrap .optinmonster-gutenberg-campaign-selector-no_campaigns-button a {
36
+ background: #087CE1;
37
+ border: 0;
38
+ -webkit-box-shadow: none;
39
+ box-shadow: none;
40
+ color: white;
41
+ font-weight: bold;
42
+ height: auto;
43
+ line-height: 1;
44
+ outline: none;
45
+ padding: 10px;
46
+ text-decoration: none; }
47
+ .optinmonster-gutenberg-campaign-selector-wrap .optinmonster-gutenberg-campaign-selector-no_campaigns-button a:after {
48
+ content: "→";
49
+ margin-left: 5px; }
50
+ .optinmonster-gutenberg-campaign-selector-wrap .optinmonster-gutenberg-campaign-selector-no_campaigns-button a:focus, .optinmonster-gutenberg-campaign-selector-wrap .optinmonster-gutenberg-campaign-selector-no_campaigns-button a:active, .optinmonster-gutenberg-campaign-selector-wrap .optinmonster-gutenberg-campaign-selector-no_campaigns-button a:hover {
51
+ background: #0661b0 !important;
52
+ border: 0 !important;
53
+ -webkit-box-shadow: none !important;
54
+ box-shadow: none !important;
55
+ color: white;
56
+ outline: none !important; }
57
+ .optinmonster-gutenberg-campaign-selector-wrap .optinmonster-gutenberg-campaign-selector-no_campaigns-button-help a {
58
+ border: 0;
59
+ -webkit-box-shadow: none;
60
+ box-shadow: none;
61
+ color: #087CE1;
62
+ font-size: 12px;
63
+ height: auto;
64
+ line-height: 1;
65
+ outline: none;
66
+ padding: 0;
67
+ text-decoration: none; }
68
+ .optinmonster-gutenberg-campaign-selector-wrap .optinmonster-gutenberg-campaign-selector-no_campaigns-button-help a:focus, .optinmonster-gutenberg-campaign-selector-wrap .optinmonster-gutenberg-campaign-selector-no_campaigns-button-help a:active, .optinmonster-gutenberg-campaign-selector-wrap .optinmonster-gutenberg-campaign-selector-no_campaigns-button-help a:hover {
69
+ border: 0;
70
+ -webkit-box-shadow: none;
71
+ box-shadow: none;
72
+ color: #087CE1 !important;
73
+ outline: none;
74
+ text-decoration: underline; }
75
+ .optinmonster-gutenberg-campaign-selector-wrap .optinmonster-gutenberg-campaign-selector-no_sites-button {
76
+ -webkit-box-align: center;
77
+ -ms-flex-align: center;
78
+ align-items: center;
79
+ display: -webkit-box;
80
+ display: -ms-flexbox;
81
+ display: flex;
82
+ -webkit-box-pack: center;
83
+ -ms-flex-pack: center;
84
+ justify-content: center; }
85
+ .optinmonster-gutenberg-campaign-selector-wrap .optinmonster-gutenberg-campaign-selector-no_sites-button a {
86
+ background: transparent !important;
87
+ border: 1px solid #CCCCCC;
88
+ -webkit-box-shadow: none;
89
+ box-shadow: none;
90
+ color: #555555 !important;
91
+ height: auto;
92
+ line-height: 1;
93
+ margin: 0 10px;
94
+ outline: none;
95
+ padding: 10px;
96
+ text-decoration: none; }
97
+ .optinmonster-gutenberg-campaign-selector-wrap .optinmonster-gutenberg-campaign-selector-no_sites-button a:focus, .optinmonster-gutenberg-campaign-selector-wrap .optinmonster-gutenberg-campaign-selector-no_sites-button a:active, .optinmonster-gutenberg-campaign-selector-wrap .optinmonster-gutenberg-campaign-selector-no_sites-button a:hover {
98
+ background: transparent !important;
99
+ border: 1px solid #CCCCCC;
100
+ -webkit-box-shadow: none !important;
101
+ box-shadow: none !important;
102
+ color: #555555 !important;
103
+ outline: none !important; }
104
  .optinmonster-gutenberg-campaign-selector-wrap .components-base-control {
105
  width: 100% !important; }
106
  .optinmonster-gutenberg-campaign-selector-wrap .components-base-control select {
assets/dist/css/blocks-admin.min.js CHANGED
@@ -1 +1 @@
1
- (function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={i:d,l:!1,exports:{}};return a[d].call(e.exports,e,e.exports,b),e.l=!0,e.exports}var c={};return b.m=a,b.c=c,b.d=function(a,c,d){b.o(a,c)||Object.defineProperty(a,c,{configurable:!1,enumerable:!0,get:d})},b.n=function(a){var c=a&&a.__esModule?function(){return a['default']}:function(){return a};return b.d(c,'a',c),c},b.o=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},b.p='',b(b.s=102)})({102:function(){}});
1
+ (function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={i:d,l:!1,exports:{}};return a[d].call(e.exports,e,e.exports,b),e.l=!0,e.exports}var c={};return b.m=a,b.c=c,b.d=function(a,c,d){b.o(a,c)||Object.defineProperty(a,c,{configurable:!1,enumerable:!0,get:d})},b.n=function(a){var c=a&&a.__esModule?function(){return a['default']}:function(){return a};return b.d(c,'a',c),c},b.o=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},b.p='',b(b.s=103)})({103:function(){}});
assets/dist/css/common.min.css CHANGED
@@ -1,82 +1,14 @@
1
- .optinmonster_page_optin-monster-about * {
2
- font-family: 'proxima-nova'; }
3
-
4
- .optinmonster_page_optin-monster-about .dashicons {
5
- font-family: 'dashicons'; }
6
-
7
- .optinmonster_page_optin-monster-about p, .optinmonster_page_optin-monster-about ul {
8
- color: #60656f; }
9
-
10
- .optinmonster_page_optin-monster-about h1, .optinmonster_page_optin-monster-about h2, .optinmonster_page_optin-monster-about h3, .optinmonster_page_optin-monster-about h4, .optinmonster_page_optin-monster-about h5 {
11
- color: #41495b; }
12
-
13
- .optinmonster_page_optin-monster-about h1 {
14
- font-weight: 400; }
15
-
16
- .optinmonster_page_optin-monster-about p, .optinmonster_page_optin-monster-about li {
17
- font-size: 15px;
18
- margin: 10px 0;
19
- font-weight: 400; }
20
-
21
- .optinmonster_page_optin-monster-about #wpbody-content > .notice {
22
- margin: 28px 30px 30px; }
23
-
24
- .optinmonster_page_optin-monster-about .omapi-box {
25
- border: 0;
26
- border-radius: 5px; }
27
-
28
- .omapi-plugin-recommendations {
29
- display: -webkit-box;
30
- display: -ms-flexbox;
31
- display: flex;
32
- -webkit-box-pack: justify;
33
- -ms-flex-pack: justify;
34
- justify-content: space-between;
35
- margin: 30px; }
36
- .omapi-plugin-recommendations .omapi-plugin-recommendation {
37
- width: 49%;
38
- background-color: #fff;
39
- border-radius: 5px;
40
- margin: 0 0 40px 0; }
41
- .omapi-plugin-recommendations .omapi-plugin-recommendation__name {
42
- font-size: 22px; }
43
- .omapi-plugin-recommendations .omapi-plugin-recommendation__details {
44
- display: -webkit-box;
45
- display: -ms-flexbox;
46
- display: flex;
47
- -webkit-box-orient: horizontal;
48
- -webkit-box-direction: normal;
49
- -ms-flex-direction: row;
50
- flex-direction: row;
51
- padding: 30px 30px 15px;
52
- border-bottom: 2px solid #eee; }
53
- .omapi-plugin-recommendations .omapi-plugin-recommendation__details h5 {
54
- font-weight: 600;
55
- margin: 0 0 20px 0; }
56
- .omapi-plugin-recommendations .omapi-plugin-recommendation__text-wrapper {
57
- margin-left: 30px; }
58
- .omapi-plugin-recommendations .omapi-plugin-recommendation__status {
59
- font-size: 15px; }
60
- .omapi-plugin-recommendations .omapi-plugin-recommendation__description {
61
- color: #41495B;
62
- line-height: 1.75; }
63
- .omapi-plugin-recommendations .omapi-plugin-recommendation__actions {
64
- padding: 30px;
65
- display: -webkit-box;
66
- display: -ms-flexbox;
67
- display: flex;
68
- -webkit-box-align: center;
69
- -ms-flex-align: center;
70
- align-items: center;
71
- -webkit-box-pack: justify;
72
- -ms-flex-pack: justify;
73
- justify-content: space-between; }
74
- .omapi-plugin-recommendations .omapi-plugin-recommendation img {
75
- padding: 10px;
76
- border: 1px solid #eee;
77
- background-color: #eee;
78
- float: left;
79
- max-width: 75px; }
80
 
81
  .omapi-box {
82
  margin: 30px 30px;
@@ -106,10 +38,12 @@
106
  color: #41495B;
107
  text-align: center; }
108
 
109
- /* Static Banner */
 
 
110
  .omapi-screen .omapi-static-banner {
111
  background: #0d82df;
112
- height: 50px;
113
  line-height: 1;
114
  margin-left: -20px; }
115
 
@@ -122,6 +56,67 @@
122
  height: 24px;
123
  width: 159px; }
124
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
125
  .logo-wrapper span.omapi-logo-version {
126
  color: #fff;
127
  vertical-align: middle;
@@ -129,25 +124,119 @@
129
  margin-left: 5px;
130
  display: inline-block; }
131
 
 
 
 
132
  .omapi-screen .static-menu {
133
  float: right; }
134
-
135
- .omapi-screen .static-menu ul {
136
- margin: 0; }
137
-
138
- .omapi-screen .static-menu ul li {
139
- display: inline-block;
140
- padding: 18px 0;
141
- margin: 0;
142
- font-size: 14px; }
143
-
144
- .omapi-screen .static-menu ul li:last-of-type {
145
- padding-right: 0; }
146
-
147
- .omapi-screen .static-menu ul li a {
148
- text-decoration: none;
149
- color: #fff;
150
- font-size: 13px;
151
- font-weight: 400;
152
- letter-spacing: .04em;
153
- padding: 5px 10px; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* ========================================
2
+ Colors
3
+ ======================================== */
4
+ /* ========================================
5
+ Fonts
6
+ ======================================== */
7
+ /* ========================================
8
+ Item-Specific
9
+ ======================================== */
10
+ .om-notifications-count {
11
+ position: relative; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
 
13
  .omapi-box {
14
  margin: 30px 30px;
38
  color: #41495B;
39
  text-align: center; }
40
 
41
+ .omapi-screen #wpcontent {
42
+ padding: 0 0 40px; }
43
+
44
  .omapi-screen .omapi-static-banner {
45
  background: #0d82df;
46
+ height: 80px;
47
  line-height: 1;
48
  margin-left: -20px; }
49
 
56
  height: 24px;
57
  width: 159px; }
58
 
59
+ .omapi-static-banner .inner-container {
60
+ height: 80px;
61
+ padding: 0 40px;
62
+ display: -webkit-box;
63
+ display: -ms-flexbox;
64
+ display: flex;
65
+ -webkit-box-align: center;
66
+ -ms-flex-align: center;
67
+ align-items: center;
68
+ -webkit-box-pack: justify;
69
+ -ms-flex-pack: justify;
70
+ justify-content: space-between; }
71
+
72
+ .omapi-plugin-banner {
73
+ background-color: #087CE1;
74
+ display: -webkit-box;
75
+ display: -ms-flexbox;
76
+ display: flex;
77
+ -webkit-box-align: center;
78
+ -ms-flex-align: center;
79
+ align-items: center;
80
+ height: 74px; }
81
+ .omapi-plugin-banner__wrapper {
82
+ padding: 22px 40px;
83
+ display: -webkit-box;
84
+ display: -ms-flexbox;
85
+ display: flex;
86
+ -webkit-box-pack: justify;
87
+ -ms-flex-pack: justify;
88
+ justify-content: space-between;
89
+ -webkit-box-align: center;
90
+ -ms-flex-align: center;
91
+ align-items: center;
92
+ width: 100%; }
93
+ .omapi-plugin-banner__logo {
94
+ display: -webkit-box;
95
+ display: -ms-flexbox;
96
+ display: flex;
97
+ -webkit-box-align: end;
98
+ -ms-flex-align: end;
99
+ align-items: flex-end;
100
+ color: #FFFFFF; }
101
+ .omapi-plugin-banner__logo img {
102
+ width: 164px;
103
+ margin-right: 13px; }
104
+ .omapi-plugin-banner__page {
105
+ font-size: 18px;
106
+ line-height: 130%; }
107
+ .omapi-plugin-banner__icons {
108
+ display: -webkit-box;
109
+ display: -ms-flexbox;
110
+ display: flex;
111
+ margin: 0; }
112
+ .omapi-plugin-banner__icons > li {
113
+ margin: 0; }
114
+ .omapi-plugin-banner__icons > li > a, .omapi-plugin-banner__icons > li > button {
115
+ color: #FFFFFF; }
116
+ .omapi-plugin-banner__icon {
117
+ margin: 0 0 0 20px;
118
+ cursor: pointer; }
119
+
120
  .logo-wrapper span.omapi-logo-version {
121
  color: #fff;
122
  vertical-align: middle;
124
  margin-left: 5px;
125
  display: inline-block; }
126
 
127
+ .omapi-app #wpbody-content > .notice {
128
+ margin: 15px 40px 5px; }
129
+
130
  .omapi-screen .static-menu {
131
  float: right; }
132
+ .omapi-screen .static-menu > ul {
133
+ display: -webkit-box;
134
+ display: -ms-flexbox;
135
+ display: flex;
136
+ -webkit-box-align: center;
137
+ -ms-flex-align: center;
138
+ align-items: center;
139
+ -webkit-box-pack: center;
140
+ -ms-flex-pack: center;
141
+ justify-content: center;
142
+ margin: 0;
143
+ padding: 0; }
144
+ .omapi-screen .static-menu > ul > li {
145
+ margin: 0;
146
+ padding: 0; }
147
+ .omapi-screen .static-menu > ul > li .static-menu-item {
148
+ cursor: pointer;
149
+ text-decoration: none;
150
+ color: #fff;
151
+ font-size: 13px;
152
+ font-weight: 400;
153
+ letter-spacing: .04em;
154
+ padding: 13px;
155
+ padding: 9px;
156
+ margin: 4px;
157
+ display: block; }
158
+ .omapi-screen .static-menu > ul > li .static-menu-item:focus {
159
+ outline: 0;
160
+ -webkit-box-shadow: 0px 0px 12px rgba(255, 255, 255, 0.32);
161
+ box-shadow: 0px 0px 12px rgba(255, 255, 255, 0.32); }
162
+ .omapi-screen .static-menu > ul > li .static-menu-item:focus > * {
163
+ outline: 0;
164
+ -webkit-box-shadow: none;
165
+ box-shadow: none; }
166
+
167
+ .unbutton {
168
+ -webkit-appearance: none;
169
+ border: inherit;
170
+ padding: inherit;
171
+ background-color: inherit;
172
+ width: inherit;
173
+ color: inherit; }
174
+
175
+ .om-archie-loading {
176
+ display: -webkit-box;
177
+ display: -ms-flexbox;
178
+ display: flex;
179
+ -webkit-box-align: center;
180
+ -ms-flex-align: center;
181
+ align-items: center;
182
+ -webkit-box-pack: center;
183
+ -ms-flex-pack: center;
184
+ justify-content: center;
185
+ margin-top: 50px; }
186
+
187
+ .om-archie-loading svg {
188
+ max-width: 200px; }
189
+
190
+ .om-archie-loading circle {
191
+ -webkit-animation: 2s linear infinite circle-animation;
192
+ animation: 2s linear infinite circle-animation;
193
+ display: block;
194
+ fill: transparent;
195
+ stroke: #858b98;
196
+ stroke-dasharray: 157;
197
+ stroke-width: 2;
198
+ -webkit-transform-origin: 50% 50%;
199
+ transform-origin: 50% 50%; }
200
+
201
+ @-webkit-keyframes circle-animation {
202
+ 0% {
203
+ stroke-dashoffset: 33;
204
+ -webkit-transform: rotate(0deg);
205
+ transform: rotate(0deg); }
206
+ 50% {
207
+ stroke-dashoffset: 157;
208
+ -webkit-transform: rotate(720deg);
209
+ transform: rotate(720deg); }
210
+ 100% {
211
+ stroke-dashoffset: 33;
212
+ -webkit-transform: rotate(1080deg);
213
+ transform: rotate(1080deg); } }
214
+
215
+ @keyframes circle-animation {
216
+ 0% {
217
+ stroke-dashoffset: 33;
218
+ -webkit-transform: rotate(0deg);
219
+ transform: rotate(0deg); }
220
+ 50% {
221
+ stroke-dashoffset: 157;
222
+ -webkit-transform: rotate(720deg);
223
+ transform: rotate(720deg); }
224
+ 100% {
225
+ stroke-dashoffset: 33;
226
+ -webkit-transform: rotate(1080deg);
227
+ transform: rotate(1080deg); } }
228
+
229
+ .om-circle-loading {
230
+ background: url(../../css/images/icons/loading-circle.svg) no-repeat center;
231
+ background-size: 60px;
232
+ height: 60px;
233
+ margin: 20px; }
234
+
235
+ .transitioning {
236
+ background: url(../../css/images/icons/loading-circle.svg) no-repeat center 100px;
237
+ background-size: 60px; }
238
+
239
+ .transitioning > * {
240
+ -webkit-transition: opacity .2s;
241
+ transition: opacity .2s;
242
+ opacity: 0; }
assets/dist/css/trustpulse.min.css CHANGED
@@ -134,36 +134,36 @@
134
  #adminmenu .toplevel-page-trustpulse-settings div.wp-menu-image {
135
  height: 30px; }
136
 
137
- .optinmonster_page_optin-monster-trustpulse #wpwrap {
138
  background: #f7faff; }
139
 
140
- .optinmonster_page_optin-monster-trustpulse #wpcontent {
141
  padding: 0; }
142
 
143
- .optinmonster_page_optin-monster-trustpulse #wpbody {
144
  font-family: "Averta", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
145
  color: #364150; }
146
- .optinmonster_page_optin-monster-trustpulse #wpbody .button {
147
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; }
148
- .optinmonster_page_optin-monster-trustpulse #wpbody .text-center {
149
  text-align: center; }
150
- .optinmonster_page_optin-monster-trustpulse #wpbody .notice {
151
  margin-top: 20px; }
152
- .optinmonster_page_optin-monster-trustpulse #wpbody .update-nag {
153
  display: none; }
154
- .optinmonster_page_optin-monster-trustpulse #wpbody p {
155
  font-size: 16px; }
156
- .optinmonster_page_optin-monster-trustpulse #wpbody a:not(.button-primary) {
157
  color: #364150;
158
  -webkit-text-decoration-color: #0db1eb;
159
  text-decoration-color: #0db1eb;
160
  font-weight: 500; }
161
- .optinmonster_page_optin-monster-trustpulse #wpbody a:not(.button-primary):hover {
162
  color: #0db1eb; }
163
- .optinmonster_page_optin-monster-trustpulse #wpbody .trustpulse-wrap {
164
  max-width: 720px;
165
  margin: 0 auto; }
166
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-admin-box {
167
  position: relative;
168
  -webkit-box-sizing: border-box;
169
  box-sizing: border-box;
@@ -174,29 +174,29 @@
174
  border-radius: 10px;
175
  border: 1px solid #e5ecf6;
176
  text-align: center; }
177
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-admin-box p {
178
  margin-bottom: 30px; }
179
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-admin-box--video {
180
  margin-top: 40px;
181
  height: 360px; }
182
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-admin-box--video .tp-video-button {
183
  cursor: pointer;
184
  position: absolute;
185
  left: calc(50% - 125px);
186
  top: calc(50% - 40px);
187
  width: 250px;
188
  z-index: 1; }
189
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-admin-box--video .tp-video-background {
190
  position: absolute;
191
  left: 0;
192
  bottom: 0;
193
  width: 100%;
194
  opacity: .3; }
195
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-admin-box--video p {
196
  margin-top: 0; }
197
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-or-line {
198
  margin: 5px auto; }
199
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-admin-box-group {
200
  display: -webkit-box;
201
  display: -ms-flexbox;
202
  display: flex;
@@ -205,23 +205,23 @@
205
  justify-content: space-between;
206
  width: 840px;
207
  margin: 20px auto; }
208
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-admin-box-group .tp-admin-box {
209
  width: 32%; }
210
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-heading, .optinmonster_page_optin-monster-trustpulse #wpbody .tp-subheading {
211
  line-height: 1.5em;
212
  text-align: center; }
213
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-heading {
214
  font-size: 28px;
215
  font-weight: bold;
216
  letter-spacing: -1px;
217
  margin-top: 50px; }
218
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-subheading {
219
  margin-top: -15px;
220
  margin-bottom: 70px; }
221
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-features {
222
  max-width: 840px;
223
  margin: 0 auto; }
224
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-features .tp-feature {
225
  display: -webkit-box;
226
  display: -ms-flexbox;
227
  display: flex;
@@ -231,18 +231,18 @@
231
  -ms-flex-pack: justify;
232
  justify-content: space-between;
233
  margin-bottom: 20px; }
234
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-features .tp-feature.tp-feature--text-left {
235
  -webkit-box-orient: horizontal;
236
  -webkit-box-direction: reverse;
237
  -ms-flex-direction: row-reverse;
238
  flex-direction: row-reverse; }
239
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-features .tp-feature__image {
240
  width: 325px; }
241
  @media screen and (max-width: 400px) {
242
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-features .tp-feature__image {
243
  width: 100%;
244
  margin-bottom: 20px; } }
245
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-features .tp-feature__text {
246
  display: -webkit-box;
247
  display: -ms-flexbox;
248
  display: flex;
@@ -255,13 +255,13 @@
255
  justify-content: center;
256
  width: 350px; }
257
  @media screen and (max-width: 400px) {
258
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-features .tp-feature__text {
259
  width: 100%; } }
260
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-features .tp-feature__text h3 {
261
  font-size: 22px;
262
  font-weight: bold;
263
  margin-bottom: 0; }
264
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-content-row {
265
  display: -webkit-box;
266
  display: -ms-flexbox;
267
  display: flex;
@@ -270,7 +270,7 @@
270
  -webkit-box-pack: center;
271
  -ms-flex-pack: center;
272
  justify-content: center; }
273
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-content-row__item {
274
  display: -webkit-box;
275
  display: -ms-flexbox;
276
  display: flex;
@@ -278,7 +278,7 @@
278
  -ms-flex-align: center;
279
  align-items: center;
280
  margin: 0 5px; }
281
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-button {
282
  cursor: pointer;
283
  display: -webkit-inline-box;
284
  display: -ms-inline-flexbox;
@@ -300,15 +300,15 @@
300
  white-space: nowrap;
301
  min-width: 100px;
302
  text-decoration: none; }
303
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-button:hover {
304
  background-color: #19d191;
305
  color: #ffffff; }
306
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-button--full {
307
  width: 100%; }
308
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-button--large {
309
  padding: 15px 60px;
310
  font-size: 22px; }
311
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-button--blue {
312
  cursor: pointer;
313
  background: #fff;
314
  border: 1px solid #e5ecf6;
@@ -316,14 +316,14 @@
316
  padding: 10px 25px;
317
  color: #364150;
318
  font-weight: 700; }
319
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-button--blue:hover {
320
  background-color: #205fbd;
321
  border-color: #205fbd; }
322
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-button--white {
323
  color: #364150;
324
  background-color: #ffffff;
325
  border: 1px solid #e5ecf6; }
326
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-button--white:hover {
327
  background-color: #205fbd; }
328
- .optinmonster_page_optin-monster-trustpulse #wpbody .tp-alert {
329
  color: #ee7979; }
134
  #adminmenu .toplevel-page-trustpulse-settings div.wp-menu-image {
135
  height: 30px; }
136
 
137
+ .omapi-trustpulse #wpwrap {
138
  background: #f7faff; }
139
 
140
+ .omapi-trustpulse #wpcontent {
141
  padding: 0; }
142
 
143
+ .omapi-trustpulse #wpbody {
144
  font-family: "Averta", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
145
  color: #364150; }
146
+ .omapi-trustpulse #wpbody .button {
147
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; }
148
+ .omapi-trustpulse #wpbody .text-center {
149
  text-align: center; }
150
+ .omapi-trustpulse #wpbody .notice {
151
  margin-top: 20px; }
152
+ .omapi-trustpulse #wpbody .update-nag {
153
  display: none; }
154
+ .omapi-trustpulse #wpbody p {
155
  font-size: 16px; }
156
+ .omapi-trustpulse #wpbody a:not(.button-primary) {
157
  color: #364150;
158
  -webkit-text-decoration-color: #0db1eb;
159
  text-decoration-color: #0db1eb;
160
  font-weight: 500; }
161
+ .omapi-trustpulse #wpbody a:not(.button-primary):hover {
162
  color: #0db1eb; }
163
+ .omapi-trustpulse #wpbody .trustpulse-wrap {
164
  max-width: 720px;
165
  margin: 0 auto; }
166
+ .omapi-trustpulse #wpbody .tp-admin-box {
167
  position: relative;
168
  -webkit-box-sizing: border-box;
169
  box-sizing: border-box;
174
  border-radius: 10px;
175
  border: 1px solid #e5ecf6;
176
  text-align: center; }
177
+ .omapi-trustpulse #wpbody .tp-admin-box p {
178
  margin-bottom: 30px; }
179
+ .omapi-trustpulse #wpbody .tp-admin-box--video {
180
  margin-top: 40px;
181
  height: 360px; }
182
+ .omapi-trustpulse #wpbody .tp-admin-box--video .tp-video-button {
183
  cursor: pointer;
184
  position: absolute;
185
  left: calc(50% - 125px);
186
  top: calc(50% - 40px);
187
  width: 250px;
188
  z-index: 1; }
189
+ .omapi-trustpulse #wpbody .tp-admin-box--video .tp-video-background {
190
  position: absolute;
191
  left: 0;
192
  bottom: 0;
193
  width: 100%;
194
  opacity: .3; }
195
+ .omapi-trustpulse #wpbody .tp-admin-box--video p {
196
  margin-top: 0; }
197
+ .omapi-trustpulse #wpbody .tp-or-line {
198
  margin: 5px auto; }
199
+ .omapi-trustpulse #wpbody .tp-admin-box-group {
200
  display: -webkit-box;
201
  display: -ms-flexbox;
202
  display: flex;
205
  justify-content: space-between;
206
  width: 840px;
207
  margin: 20px auto; }
208
+ .omapi-trustpulse #wpbody .tp-admin-box-group .tp-admin-box {
209
  width: 32%; }
210
+ .omapi-trustpulse #wpbody .tp-heading, .omapi-trustpulse #wpbody .tp-subheading {
211
  line-height: 1.5em;
212
  text-align: center; }
213
+ .omapi-trustpulse #wpbody .tp-heading {
214
  font-size: 28px;
215
  font-weight: bold;
216
  letter-spacing: -1px;
217
  margin-top: 50px; }
218
+ .omapi-trustpulse #wpbody .tp-subheading {
219
  margin-top: -15px;
220
  margin-bottom: 70px; }
221
+ .omapi-trustpulse #wpbody .tp-features {
222
  max-width: 840px;
223
  margin: 0 auto; }
224
+ .omapi-trustpulse #wpbody .tp-features .tp-feature {
225
  display: -webkit-box;
226
  display: -ms-flexbox;
227
  display: flex;
231
  -ms-flex-pack: justify;
232
  justify-content: space-between;
233
  margin-bottom: 20px; }
234
+ .omapi-trustpulse #wpbody .tp-features .tp-feature.tp-feature--text-left {
235
  -webkit-box-orient: horizontal;
236
  -webkit-box-direction: reverse;
237
  -ms-flex-direction: row-reverse;
238
  flex-direction: row-reverse; }
239
+ .omapi-trustpulse #wpbody .tp-features .tp-feature__image {
240
  width: 325px; }
241
  @media screen and (max-width: 400px) {
242
+ .omapi-trustpulse #wpbody .tp-features .tp-feature__image {
243
  width: 100%;
244
  margin-bottom: 20px; } }
245
+ .omapi-trustpulse #wpbody .tp-features .tp-feature__text {
246
  display: -webkit-box;
247
  display: -ms-flexbox;
248
  display: flex;
255
  justify-content: center;
256
  width: 350px; }
257
  @media screen and (max-width: 400px) {
258
+ .omapi-trustpulse #wpbody .tp-features .tp-feature__text {
259
  width: 100%; } }
260
+ .omapi-trustpulse #wpbody .tp-features .tp-feature__text h3 {
261
  font-size: 22px;
262
  font-weight: bold;
263
  margin-bottom: 0; }
264
+ .omapi-trustpulse #wpbody .tp-content-row {
265
  display: -webkit-box;
266
  display: -ms-flexbox;
267
  display: flex;
270
  -webkit-box-pack: center;
271
  -ms-flex-pack: center;
272
  justify-content: center; }
273
+ .omapi-trustpulse #wpbody .tp-content-row__item {
274
  display: -webkit-box;
275
  display: -ms-flexbox;
276
  display: flex;
278
  -ms-flex-align: center;
279
  align-items: center;
280
  margin: 0 5px; }
281
+ .omapi-trustpulse #wpbody .tp-button {
282
  cursor: pointer;
283
  display: -webkit-inline-box;
284
  display: -ms-inline-flexbox;
300
  white-space: nowrap;
301
  min-width: 100px;
302
  text-decoration: none; }
303
+ .omapi-trustpulse #wpbody .tp-button:hover {
304
  background-color: #19d191;
305
  color: #ffffff; }
306
+ .omapi-trustpulse #wpbody .tp-button--full {
307
  width: 100%; }
308
+ .omapi-trustpulse #wpbody .tp-button--large {
309
  padding: 15px 60px;
310
  font-size: 22px; }
311
+ .omapi-trustpulse #wpbody .tp-button--blue {
312
  cursor: pointer;
313
  background: #fff;
314
  border: 1px solid #e5ecf6;
316
  padding: 10px 25px;
317
  color: #364150;
318
  font-weight: 700; }
319
+ .omapi-trustpulse #wpbody .tp-button--blue:hover {
320
  background-color: #205fbd;
321
  border-color: #205fbd; }
322
+ .omapi-trustpulse #wpbody .tp-button--white {
323
  color: #364150;
324
  background-color: #ffffff;
325
  border: 1px solid #e5ecf6; }
326
+ .omapi-trustpulse #wpbody .tp-button--white:hover {
327
  background-color: #205fbd; }
328
+ .omapi-trustpulse #wpbody .tp-alert {
329
  color: #ee7979; }
assets/dist/js/admin.min.js ADDED
@@ -0,0 +1 @@
 
1
+ (function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={i:d,l:!1,exports:{}};return a[d].call(e.exports,e,e.exports,b),e.l=!0,e.exports}var c={};return b.m=a,b.c=c,b.d=function(a,c,d){b.o(a,c)||Object.defineProperty(a,c,{configurable:!1,enumerable:!0,get:d})},b.n=function(a){var c=a&&a.__esModule?function(){return a['default']}:function(){return a};return b.d(c,'a',c),c},b.o=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},b.p='',b(b.s=46)})({46:function(){'use strict';jQuery(document).ready(function(a){(function(){var b=document.querySelectorAll('a[href*="?page=optin-monster-"]');b.forEach(function(b){b.addEventListener('click',function(b){if(window.omWpApi&&window.omWpApi.main){var c=window.omWpApi.main.app.$router,d=b.target.search||b.target.closest('a').search,e=c.getRouteForQuery(d);e&&(window.omWpApi.elRemove&&a(window.omWpApi.elRemove).remove(),b.preventDefault(),c.push({name:e.name}))}})})})()})}});
assets/dist/js/campaign-selector.min.js CHANGED
@@ -1 +1 @@
1
- (function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e['default']}:function(){return e};return t.d(n,'a',n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p='',t(t.s=49)})([function(e){var t=e.exports={version:'2.6.9'};'number'==typeof __e&&(__e=t)},function(e){var t=e.exports='undefined'!=typeof window&&window.Math==Math?window:'undefined'!=typeof self&&self.Math==Math?self:Function('return this')();'number'==typeof __g&&(__g=t)},function(e,t,n){e.exports=!n(9)(function(){return 7!=Object.defineProperty({},'a',{get:function(){return 7}}).a})},function(e){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},function(e,t,n){var o=n(1),r=n(0),l=n(34),a=n(7),s=n(3),i='prototype',p=function(e,t,n){var d,c,u,m=e&p.F,C=e&p.G,f=e&p.S,g=e&p.P,y=e&p.B,E=e&p.W,h=C?r:r[t]||(r[t]={}),_=h[i],b=C?o:f?o[t]:(o[t]||{})[i];for(d in C&&(n=t),n)c=!m&&b&&void 0!==b[d],c&&s(h,d)||(u=c?b[d]:n[d],h[d]=C&&'function'!=typeof b[d]?n[d]:y&&c?l(u,o):E&&b[d]==u?function(e){var t=function(t,n,o){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n);}return new e(t,n,o)}return e.apply(this,arguments)};return t[i]=e[i],t}(u):g&&'function'==typeof u?l(Function.call,u):u,g&&((h.virtual||(h.virtual={}))[d]=u,e&p.R&&_&&!_[d]&&a(_,d,u)))};p.F=1,p.G=2,p.S=4,p.P=8,p.B=16,p.W=32,p.U=64,p.R=128,e.exports=p},function(e,t,n){var o=n(13),r=n(35),l=n(23),a=Object.defineProperty;t.f=n(2)?Object.defineProperty:function(e,t,n){if(o(e),t=l(t,!0),o(n),r)try{return a(e,t,n)}catch(t){}if('get'in n||'set'in n)throw TypeError('Accessors not supported!');return'value'in n&&(e[t]=n.value),e}},function(e,t,n){var o=n(31),r=n(18);e.exports=function(e){return o(r(e))}},function(e,t,n){var o=n(5),r=n(16);e.exports=n(2)?function(e,t,n){return o.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e){e.exports=function(e){return'object'==typeof e?null!==e:'function'==typeof e}},function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,n){var o=n(21)('wks'),r=n(15),l=n(1).Symbol,a='function'==typeof l,s=e.exports=function(e){return o[e]||(o[e]=a&&l[e]||(a?l:r)('Symbol.'+e))};s.store=o},function(e,t,n){var o=n(18);e.exports=function(e){return Object(o(e))}},function(e,t,n){var o=n(30),r=n(22);e.exports=Object.keys||function(e){return o(e,r)}},function(e,t,n){var o=n(8);e.exports=function(e){if(!o(e))throw TypeError(e+' is not an object!');return e}},function(e){e.exports=!0},function(e){var t=0,n=Math.random();e.exports=function(e){return'Symbol('.concat(e===void 0?'':e,')_',(++t+n).toString(36))}},function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){t.f={}.propertyIsEnumerable},function(e){e.exports=function(e){if(e==void 0)throw TypeError('Can\'t call method on '+e);return e}},function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0<e?n:t)(e)}},function(e,t,n){var o=n(21)('keys'),r=n(15);e.exports=function(e){return o[e]||(o[e]=r(e))}},function(e,t,n){var o=n(0),r=n(1),l='__core-js_shared__',a=r[l]||(r[l]={});(e.exports=function(e,t){return a[e]||(a[e]=t===void 0?{}:t)})('versions',[]).push({version:o.version,mode:n(14)?'pure':'global',copyright:'\xA9 2019 Denis Pushkarev (zloirock.ru)'})},function(e){e.exports=['constructor','hasOwnProperty','isPrototypeOf','propertyIsEnumerable','toLocaleString','toString','valueOf']},function(e,t,n){var o=n(8);e.exports=function(e,t){if(!o(e))return e;var n,r;if(t&&'function'==typeof(n=e.toString)&&!o(r=n.call(e)))return r;if('function'==typeof(n=e.valueOf)&&!o(r=n.call(e)))return r;if(!t&&'function'==typeof(n=e.toString)&&!o(r=n.call(e)))return r;throw TypeError('Can\'t convert object to primitive value')}},function(e){e.exports={}},function(e,t,n){var o=n(13),r=n(71),l=n(22),a=n(20)('IE_PROTO'),s=function(){},p='prototype',d=function(){var e,t=n(36)('iframe'),o=l.length,r='<',a='>';for(t.style.display='none',n(72).appendChild(t),t.src='javascript:',e=t.contentWindow.document,e.open(),e.write(r+'script'+a+'document.F=Object'+r+'/script'+a),e.close(),d=e.F;o--;)delete d[p][l[o]];return d()};e.exports=Object.create||function(e,t){var n;return null===e?n=d():(s[p]=o(e),n=new s,s[p]=null,n[a]=e),void 0===t?n:r(n,t)}},function(e,t,n){var o=n(5).f,r=n(3),l=n(10)('toStringTag');e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,l)&&o(e,l,{configurable:!0,value:t})}},function(e,t,n){t.f=n(10)},function(e,t,n){var o=n(1),r=n(0),l=n(14),a=n(27),s=n(5).f;e.exports=function(e){var t=r.Symbol||(r.Symbol=l?{}:o.Symbol||{});'_'==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var o=n(3),r=n(6),l=n(53)(!1),a=n(20)('IE_PROTO');e.exports=function(e,t){var n,s=r(e),p=0,i=[];for(n in s)n!=a&&o(s,n)&&i.push(n);for(;t.length>p;)o(s,n=t[p++])&&(~l(i,n)||i.push(n));return i}},function(e,t,n){var o=n(32);e.exports=Object('z').propertyIsEnumerable(0)?Object:function(e){return'String'==o(e)?e.split(''):Object(e)}},function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},function(e,t,n){var o=n(4),r=n(0),l=n(9);e.exports=function(e,t){var n=(r.Object||{})[e]||Object[e],a={};a[e]=t(n),o(o.S+o.F*l(function(){n(1)}),'Object',a)}},function(e,t,n){var o=n(56);e.exports=function(e,t,n){return(o(e),void 0===t)?e:1===n?function(n){return e.call(t,n)}:2===n?function(n,o){return e.call(t,n,o)}:3===n?function(n,o,r){return e.call(t,n,o,r)}:function(){return e.apply(t,arguments)}}},function(e,t,n){e.exports=!n(2)&&!n(9)(function(){return 7!=Object.defineProperty(n(36)('div'),'a',{get:function(){return 7}}).a})},function(e,t,n){var o=n(8),r=n(1).document,l=o(r)&&o(r.createElement);e.exports=function(e){return l?r.createElement(e):{}}},function(e,t,n){var o=n(3),r=n(11),l=n(20)('IE_PROTO'),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),o(e,l)?e[l]:'function'==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){'use strict';function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=n(66),l=o(r),a=n(77),s=o(a),i='function'==typeof s.default&&'symbol'==typeof l.default?function(e){return typeof e}:function(e){return e&&'function'==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?'symbol':typeof e};t.default='function'==typeof s.default&&'symbol'===i(l.default)?function(e){return'undefined'==typeof e?'undefined':i(e)}:function(e){return e&&'function'==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?'symbol':'undefined'==typeof e?'undefined':i(e)}},function(e,t,n){'use strict';var o=n(14),r=n(4),l=n(40),a=n(7),s=n(24),i=n(70),p=n(26),d=n(37),c=n(10)('iterator'),u=!([].keys&&'next'in[].keys()),m='keys',C='values',f=function(){return this};e.exports=function(e,t,n,g,y,E,h){i(n,t,g);var _,b,x,O=function(e){return!u&&e in k?k[e]:e===m?function(){return new n(this,e)}:e===C?function(){return new n(this,e)}:function(){return new n(this,e)}},v=t+' Iterator',S=y==C,P=!1,k=e.prototype,M=k[c]||k['@@iterator']||y&&k[y],T=M||O(y),w=y?S?O('entries'):T:void 0,L='Array'==t?k.entries||M:M;if(L&&(x=d(L.call(new e)),x!==Object.prototype&&x.next&&(p(x,v,!0),!o&&'function'!=typeof x[c]&&a(x,c,f))),S&&M&&M.name!==C&&(P=!0,T=function(){return M.call(this)}),(!o||h)&&(u||P||!k[c])&&a(k,c,T),s[t]=T,s[v]=f,y)if(_={values:S?T:O(C),keys:E?T:O(m),entries:w},h)for(b in _)b in k||l(k,b,_[b]);else r(r.P+r.F*(u||P),t,_);return _}},function(e,t,n){e.exports=n(7)},function(e,t,n){var o=n(30),r=n(22).concat('length','prototype');t.f=Object.getOwnPropertyNames||function(e){return o(e,r)}},function(e,t,n){var o=n(17),r=n(16),l=n(6),a=n(23),s=n(3),i=n(35),p=Object.getOwnPropertyDescriptor;t.f=n(2)?p:function(e,t){if(e=l(e),t=a(t,!0),i)try{return p(e,t)}catch(t){}return s(e,t)?r(!o.f.call(e,t),e[t]):void 0}},function(e){e.exports=React},,,,,,function(e,t,n){'use strict';function o(e){return e&&e.__esModule?e:{default:e}}var r,l,a,s=n(50),i=o(s),p=n(57),d=o(p),c=n(60),u=o(c),m=n(61),C=o(m),f=n(65),g=o(f),y=n(87),E=o(y),h=n(95),_=o(h),b=n(101),x=o(b),O=wp.i18n.__,v=wp.element,S=v.Component,P=v.Fragment,k=wp.blockEditor.InspectorControls,M=wp.components,T=M.SelectControl,w=M.ToggleControl,L=M.PanelBody,R=M.Placeholder,I=M.Notice,A=[];wp.blocks.registerBlockType('optinmonster/campaign-selector',{title:OMAPI.i18n.title,description:OMAPI.i18n.description,icon:x.default,category:'embed',keywords:[O('Popup','optin-monster-api'),O('Form','optin-monster-api'),O('Campaign','optin-monster-api'),O('Email','optin-monster-api'),O('Conversion','optin-monster-api')],attributes:{slug:{type:'string'},followrules:{type:'boolean'}},edit:(l=r=function(e){function t(e){(0,u.default)(this,t);var n=(0,g.default)(this,(t.__proto__||(0,d.default)(t)).apply(this,arguments));return a.call(n),n.props=e,n.state={embed:{},loading:!1,hasError:null},n}return(0,E.default)(t,e),(0,C.default)(t,[{key:'componentDidMount',value:function(){document.addEventListener('om.Campaign.init',this.setAsPreview),document.addEventListener('om.Campaign.afterShow',this.loadingStop),document.addEventListener('om.Main.getCampaigns.error',this.foundError),document.addEventListener('om.Campaign.show.error',this.foundError),document.addEventListener('om.Campaign.load.error',this.foundError),this.slug()&&this.fetch()}},{key:'componentWillUnmount',value:function(){var e=this.campaign();e&&(A.push(e),e.off()),document.removeEventListener('om.Campaign.init',this.setAsPreview),document.removeEventListener('om.Campaign.afterShow',this.loadingStop),document.removeEventListener('om.Main.getCampaigns.error',this.foundError),document.removeEventListener('om.Campaign.show.error',this.foundError),document.removeEventListener('om.Campaign.load.error',this.foundError)}},{key:'componentDidUpdate',value:function(e){var t=this.slug(),n=this.getSlug(e);if(t&&n!==t){var o=this.campaign(),r=this.getCampaign(n);this.setState({loading:!0,hasError:!1}),o?o.reset():this.fetch()}}},{key:'render',value:function(){var e=this,t=this.props,n=t.attributes,o=n.slug,r=void 0===o?'':o,l=n.followrules,a=t.setAttributes,s=this.state,i=s.embed,p=s.hasError,d=this.getAvailableOptions(),c=this.getAvailableOptions(!0),u=function(e){return a({slug:e})},m=r&&(!i||this.state.loading);return wp.element.createElement(P,null,function(){return 0<c.length||r?wp.element.createElement(k,{key:'optinmonster-gutenberg-campaign-selector-inspector-controls'},wp.element.createElement(L,{title:OMAPI.i18n.campaign_settings},wp.element.createElement(T,{label:OMAPI.i18n.campaign_selected,value:r,options:c,onChange:u}),r?wp.element.createElement(w,{label:OMAPI.i18n.followrules_label,help:function(){var t=OMAPI.i18n.followrules_help.replace('%s',''),n=OMAPI.editUrl.replace('%d',e.getCampaignId(r));return wp.element.createElement('span',null,wp.element.createElement('span',{dangerouslySetInnerHTML:{__html:t}}),' ',wp.element.createElement('a',{target:'_blank',href:n},OMAPI.i18n.output_settings),'.')}(),checked:!!l,onChange:function(){return a({followrules:!l})}}):null)):null}(),function(){return!p&&m&&wp.element.createElement(_.default,null)}(),function(){if(!p)return null;var e=OMAPI.i18n.found_error;return r&&-1===p.indexOf(r)&&(e=wp.element.createElement(P,null,e,' ',wp.element.createElement('code',null,wp.element.createElement('small',null,r)))),wp.element.createElement('p',{className:'error'},wp.element.createElement('strong',null,e,':'),' ',p)}(),i&&r?this.getOutput():function(){return wp.element.createElement(R,{key:'optinmonster-gutenberg-campaign-selector-wrap',className:'optinmonster-gutenberg-campaign-selector-wrap',label:wp.element.createElement('div',null,wp.element.createElement('img',{src:OMAPI.logoUrl}),wp.element.createElement('h2',null,OMAPI.i18n.title)),instructions:0<d.length?null:wp.element.createElement(I,{status:'warning',isDismissible:!1},wp.element.createElement('div',{style:{marginBottom:'.5em'}},wp.element.createElement('strong',null,OMAPI.i18n.no_campaigns)),wp.element.createElement('p',{class:'description'},OMAPI.i18n.no_campaigns_help))},0<d.length?wp.element.createElement(T,{key:'optinmonster-gutenberg-campaign-selector-select-control',value:r,options:d,onChange:u}):null)}())}}]),t}(S),a=function(){var e=this;this.setAsPreview=function(e){e.detail.Campaign.preview=!0},this.loadingStop=function(t){e.slug()===t.detail.Campaign.id&&e.setState({loading:!1,hasError:!1})},this.foundError=function(t){var n=t.detail,o=n.Campaign,r=n.error,l=e.slug();if(!(o&&l!==o.id)&&!(r.responseURL&&0>r.responseURL.indexOf(l))){var a=r;r.response&&(a=JSON.parse(r.response).message||JSON.parse(r.response).error),r.message&&(a=r.message),e.setState({loading:!1,hasError:a})}},this.fetch=function(){e.setState({loading:!0,hasError:!1});var t=e.slug(),n={type:'text/javascript',src:OMAPI.apiUrl,async:!0,"data-user":OMAPI.omUserId,"data-campaign":t};OMAPI.omEnv&&(n['data-env']=OMAPI.omEnv),e.setState({embed:n})},this.getSlug=function(e){var t=e.attributes.slug,n=t===void 0?'':t;return n},this.slug=function(){return e.getSlug(e.props)},this.getCampaign=function(){var e=0<arguments.length&&arguments[0]!==void 0?arguments[0]:'',t='om'+e;return window[t]?window[t]:null},this.campaign=function(){return e.getCampaign(e.slug())},this.getOutput=function(){var t=e.slug(),n=e.state.embed,o=e.campaign();if(!o&&(A.length&&(o=A.find(function(e){return t===e.id}),o&&(A.splice(A.indexOf(o),1),o.reset())),!o&&n&&0<(0,i.default)(n).length)){var r=document.getElementsByTagName('head')[0]||document.documentElement,l=document.createElement('script'),a=void 0;for(a in n)l.setAttribute(a,n[a]);r.appendChild(l)}return wp.element.createElement('div',{key:'om-'+t+'-holder',id:'om-'+t+'-holder'})},this.getAvailableOptions=function(){var t=!!(0<arguments.length&&void 0!==arguments[0])&&arguments[0],n=e.slug();if(!OMAPI.campaigns||1>OMAPI.campaigns.length||!OMAPI.omUserId)return[];var o=OMAPI.campaigns.filter(function(e){return'inline'===e.campaign_type}),r=o.map(function(e){return{value:e.post_name,label:e.post_title}});return 0<r.length&&r.unshift({value:'',label:OMAPI.i18n.campaign_select}),r},this.getCampaignId=function(e){var t=OMAPI.campaigns.find(function(t){return e===t.post_name});return t?t.ID:0}},l),save:function(){return null}})},function(e,t,n){e.exports={default:n(51),__esModule:!0}},function(e,t,n){n(52),e.exports=n(0).Object.keys},function(e,t,n){var o=n(11),r=n(12);n(33)('keys',function(){return function(e){return r(o(e))}})},function(e,t,n){var o=n(6),r=n(54),l=n(55);e.exports=function(e){return function(t,n,a){var s,i=o(t),p=r(i.length),d=l(a,p);if(e&&n!=n){for(;p>d;)if(s=i[d++],s!=s)return!0;}else for(;p>d;d++)if((e||d in i)&&i[d]===n)return e||d||0;return!e&&-1}}},function(e,t,n){var o=n(19),r=Math.min;e.exports=function(e){return 0<e?r(o(e),9007199254740991):0}},function(e,t,n){var o=n(19),r=Math.max,l=Math.min;e.exports=function(e,t){return e=o(e),0>e?r(e+t,0):l(e,t)}},function(e){e.exports=function(e){if('function'!=typeof e)throw TypeError(e+' is not a function!');return e}},function(e,t,n){e.exports={default:n(58),__esModule:!0}},function(e,t,n){n(59),e.exports=n(0).Object.getPrototypeOf},function(e,t,n){var o=n(11),r=n(37);n(33)('getPrototypeOf',function(){return function(e){return r(o(e))}})},function(e,t){'use strict';t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}},function(e,t,n){'use strict';t.__esModule=!0;var o=n(62),r=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default=function(){function e(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),(0,r.default)(e,n.key,n)}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}()},function(e,t,n){e.exports={default:n(63),__esModule:!0}},function(e,t,n){n(64);var o=n(0).Object;e.exports=function(e,t,n){return o.defineProperty(e,t,n)}},function(e,t,n){var o=n(4);o(o.S+o.F*!n(2),'Object',{defineProperty:n(5).f})},function(e,t,n){'use strict';t.__esModule=!0;var o=n(38),r=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default=function(e,t){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return t&&('object'===('undefined'==typeof t?'undefined':(0,r.default)(t))||'function'==typeof t)?t:e}},function(e,t,n){e.exports={default:n(67),__esModule:!0}},function(e,t,n){n(68),n(73),e.exports=n(27).f('iterator')},function(e,t,n){'use strict';var o=n(69)(!0);n(39)(String,'String',function(e){this._t=e+'',this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=o(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var o=n(19),r=n(18);e.exports=function(e){return function(t,n){var p,a,d=r(t)+'',s=o(n),i=d.length;return 0>s||s>=i?e?'':void 0:(p=d.charCodeAt(s),55296>p||56319<p||s+1===i||56320>(a=d.charCodeAt(s+1))||57343<a?e?d.charAt(s):p:e?d.slice(s,s+2):(p-55296<<10)+(a-56320)+65536)}}},function(e,t,n){'use strict';var o=n(25),r=n(16),l=n(26),a={};n(7)(a,n(10)('iterator'),function(){return this}),e.exports=function(e,t,n){e.prototype=o(a,{next:r(1,n)}),l(e,t+' Iterator')}},function(e,t,n){var o=n(5),r=n(13),l=n(12);e.exports=n(2)?Object.defineProperties:function(e,t){r(e);for(var n,a=l(t),s=a.length,p=0;s>p;)o.f(e,n=a[p++],t[n]);return e}},function(e,t,n){var o=n(1).document;e.exports=o&&o.documentElement},function(e,t,n){n(74);for(var o=n(1),r=n(7),l=n(24),a=n(10)('toStringTag'),s='CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList'.split(','),p=0;p<s.length;p++){var i=s[p],d=o[i],c=d&&d.prototype;c&&!c[a]&&r(c,a,i),l[i]=l.Array}},function(e,t,n){'use strict';var o=n(75),r=n(76),l=n(24),a=n(6);e.exports=n(39)(Array,'Array',function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):'keys'==t?r(0,n):'values'==t?r(0,e[n]):r(0,[n,e[n]])},'values'),l.Arguments=l.Array,o('keys'),o('values'),o('entries')},function(e){e.exports=function(){}},function(e){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){e.exports={default:n(78),__esModule:!0}},function(e,t,n){n(79),n(84),n(85),n(86),e.exports=n(0).Symbol},function(e,t,n){'use strict';var o=n(1),r=n(3),l=n(2),a=n(4),s=n(40),p=n(80).KEY,i=n(9),d=n(21),c=n(26),u=n(15),m=n(10),C=n(27),f=n(28),g=n(81),y=n(82),E=n(13),h=n(8),_=n(11),b=n(6),x=n(23),O=n(16),v=n(25),S=n(83),P=n(42),M=n(29),T=n(5),w=n(12),L=P.f,R=T.f,I=S.f,A=o.Symbol,D=o.JSON,N=D&&D.stringify,Z='prototype',F=m('_hidden'),Y=m('toPrimitive'),z={}.propertyIsEnumerable,H=d('symbol-registry'),G=d('symbols'),U=d('op-symbols'),W=Object[Z],V='function'==typeof A&&!!M.f,B=o.QObject,K=!B||!B[Z]||!B[Z].findChild,J=l&&i(function(){return 7!=v(R({},'a',{get:function(){return R(this,'a',{value:7}).a}})).a})?function(e,t,n){var o=L(W,t);o&&delete W[t],R(e,t,n),o&&e!==W&&R(W,t,o)}:R,q=function(e){var t=G[e]=v(A[Z]);return t._k=e,t},Q=V&&'symbol'==typeof A.iterator?function(e){return'symbol'==typeof e}:function(e){return e instanceof A},X=function(e,t,n){return e===W&&X(U,t,n),E(e),t=x(t,!0),E(n),r(G,t)?(n.enumerable?(r(e,F)&&e[F][t]&&(e[F][t]=!1),n=v(n,{enumerable:O(0,!1)})):(!r(e,F)&&R(e,F,O(1,{})),e[F][t]=!0),J(e,t,n)):R(e,t,n)},$=function(e,t){E(e);for(var n,o=g(t=b(t)),r=0,a=o.length;a>r;)X(e,n=o[r++],t[n]);return e},ee=function(e){var t=z.call(this,e=x(e,!0));return(this!==W||!r(G,e)||r(U,e))&&(!(t||!r(this,e)||!r(G,e)||r(this,F)&&this[F][e])||t)},te=function(e,t){if(e=b(e),t=x(t,!0),e!==W||!r(G,t)||r(U,t)){var n=L(e,t);return n&&r(G,t)&&!(r(e,F)&&e[F][t])&&(n.enumerable=!0),n}},ne=function(e){for(var t,n=I(b(e)),o=[],l=0;n.length>l;)r(G,t=n[l++])||t==F||t==p||o.push(t);return o},oe=function(e){for(var t,n=e===W,o=I(n?U:b(e)),l=[],a=0;o.length>a;)r(G,t=o[a++])&&(!n||r(W,t))&&l.push(G[t]);return l};V||(A=function(){if(this instanceof A)throw TypeError('Symbol is not a constructor!');var e=u(0<arguments.length?arguments[0]:void 0),t=function(n){this===W&&t.call(U,n),r(this,F)&&r(this[F],e)&&(this[F][e]=!1),J(this,e,O(1,n))};return l&&K&&J(W,e,{configurable:!0,set:t}),q(e)},s(A[Z],'toString',function(){return this._k}),P.f=te,T.f=X,n(41).f=S.f=ne,n(17).f=ee,M.f=oe,l&&!n(14)&&s(W,'propertyIsEnumerable',ee,!0),C.f=function(e){return q(m(e))}),a(a.G+a.W+a.F*!V,{Symbol:A});for(var re=['hasInstance','isConcatSpreadable','iterator','match','replace','search','species','split','toPrimitive','toStringTag','unscopables'],le=0;re.length>le;)m(re[le++]);for(var j=w(m.store),ae=0;j.length>ae;)f(j[ae++]);a(a.S+a.F*!V,'Symbol',{for:function(e){return r(H,e+='')?H[e]:H[e]=A(e)},keyFor:function(e){if(!Q(e))throw TypeError(e+' is not a symbol!');for(var t in H)if(H[t]===e)return t},useSetter:function(){K=!0},useSimple:function(){K=!1}}),a(a.S+a.F*!V,'Object',{create:function(e,t){return t===void 0?v(e):$(v(e),t)},defineProperty:X,defineProperties:$,getOwnPropertyDescriptor:te,getOwnPropertyNames:ne,getOwnPropertySymbols:oe});var k=i(function(){M.f(1)});a(a.S+a.F*k,'Object',{getOwnPropertySymbols:function(e){return M.f(_(e))}}),D&&a(a.S+a.F*(!V||i(function(){var e=A();return'[null]'!=N([e])||'{}'!=N({a:e})||'{}'!=N(Object(e))})),'JSON',{stringify:function(e){for(var t,n,o=[e],r=1;arguments.length>r;)o.push(arguments[r++]);if(n=t=o[1],(h(t)||void 0!==e)&&!Q(e))return y(t)||(t=function(e,t){if('function'==typeof n&&(t=n.call(this,e,t)),!Q(t))return t}),o[1]=t,N.apply(D,o)}}),A[Z][Y]||n(7)(A[Z],Y,A[Z].valueOf),c(A,'Symbol'),c(Math,'Math',!0),c(o.JSON,'JSON',!0)},function(e,t,n){var o=n(15)('meta'),r=n(8),l=n(3),a=n(5).f,s=0,i=Object.isExtensible||function(){return!0},p=!n(9)(function(){return i(Object.preventExtensions({}))}),d=function(e){a(e,o,{value:{i:'O'+ ++s,w:{}}})},c=e.exports={KEY:o,NEED:!1,fastKey:function(e,t){if(!r(e))return'symbol'==typeof e?e:('string'==typeof e?'S':'P')+e;if(!l(e,o)){if(!i(e))return'F';if(!t)return'E';d(e)}return e[o].i},getWeak:function(e,t){if(!l(e,o)){if(!i(e))return!0;if(!t)return!1;d(e)}return e[o].w},onFreeze:function(e){return p&&c.NEED&&i(e)&&!l(e,o)&&d(e),e}}},function(e,t,n){var o=n(12),r=n(29),l=n(17);e.exports=function(e){var t=o(e),n=r.f;if(n)for(var a,s=n(e),p=l.f,d=0;s.length>d;)p.call(e,a=s[d++])&&t.push(a);return t}},function(e,t,n){var o=n(32);e.exports=Array.isArray||function(e){return'Array'==o(e)}},function(e,t,n){var o=n(6),r=n(41).f,l={}.toString,a='object'==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return r(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&'[object Window]'==l.call(e)?s(e):r(o(e))}},function(){},function(e,t,n){n(28)('asyncIterator')},function(e,t,n){n(28)('observable')},function(e,t,n){'use strict';function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=n(88),l=o(r),a=n(92),s=o(a),i=n(38),p=o(i);t.default=function(e,t){if('function'!=typeof t&&null!==t)throw new TypeError('Super expression must either be null or a function, not '+('undefined'==typeof t?'undefined':(0,p.default)(t)));e.prototype=(0,s.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(l.default?(0,l.default)(e,t):e.__proto__=t)}},function(e,t,n){e.exports={default:n(89),__esModule:!0}},function(e,t,n){n(90),e.exports=n(0).Object.setPrototypeOf},function(e,t,n){var o=n(4);o(o.S,'Object',{setPrototypeOf:n(91).set})},function(e,t,n){var o=n(8),r=n(13),l=function(e,t){if(r(e),!o(t)&&null!==t)throw TypeError(t+': can\'t set as prototype!')};e.exports={set:Object.setPrototypeOf||('__proto__'in{}?function(e,t,o){try{o=n(34)(Function.call,n(42).f(Object.prototype,'__proto__').set,2),o(e,[]),t=!(e instanceof Array)}catch(n){t=!0}return function(e,n){return l(e,n),t?e.__proto__=n:o(e,n),e}}({},!1):void 0),check:l}},function(e,t,n){e.exports={default:n(93),__esModule:!0}},function(e,t,n){n(94);var o=n(0).Object;e.exports=function(e,t){return o.create(e,t)}},function(e,t,n){var o=n(4);o(o.S,'Object',{create:n(25)})},function(e,t,n){'use strict';function o(e){return e&&e.__esModule?e:{default:e}}function r(e){var t=e.width,n=e.fill,o=(0,a.default)({},e.wrapperStyles,{display:'flex',alignItems:'center',justifyContent:'center'});return wp.element.createElement('div',{style:o,className:'om-archie-loader'},wp.element.createElement('svg',{height:'100%',width:'100%',version:'1.1',viewBox:'0 0 50 50',style:{maxWidth:t+'px'}},wp.element.createElement('circle',{cx:'25',cy:'25',r:'23',style:{stroke:n}}),wp.element.createElement('path',{d:'M12.75 27.84c.3.06.83.12 1.07.42l.12.11c.36-.05.72-.05 1.08-.11-.18-.12-.36-.24-.54-.3-.36-.6-.9-.72-1.61-.78V27c-1.32-.06-2.94-.36-3.66-1.2-.84-.9-.96-2.46-.84-3.66A4.7 4.7 0 0110 18.91c.54-.36 1.44-.06 1.5.66.06.3.12 1.38.36 1.5.3.18.84.24 1.38.24a8.83 8.83 0 011.73-1.32c-.96-.12-1.91.12-2.93.24l.84-.84a15.24 15.24 0 018.03-3.54c-1.26-.54-2.64-.78-3.96-1.08 5.1-1.07 11.63-1.5 16.24 2.52 1.2 1.02 2.16 2.4 2.81 4.02.72.11 1.68.11 2.16-.18.3-.18.36-1.2.36-1.5.06-.66.96-1.02 1.5-.66.96.72 1.5 2.04 1.62 3.17.12 1.2 0 2.76-.84 3.66-.72.84-2.28 1.14-3.6 1.2v.18c-.71 0-1.31.18-1.67.78-.18.06-.36.18-.54.3.36.06.78.11 1.14.11 0-.05.06-.11.12-.11.23-.3.77-.36 1.07-.42h.24c.12-.36.48-.78.96-.66s.96.66 1.02 1.08c.72.3 1.5.77 1.68 1.73a17.55 17.55 0 01-2.15 3.67 4 4 0 01-.6.17c-.13 0-.25.06-.3.06v.86c-.28.31-.57.6-.87.9.02-.67.02-1.35.02-2-.18-.12-.36-.3-.54-.48a1.72 1.72 0 01-1.01-.6c-.12-.3.12-.48.42-.66 0-.06-.06-.12-.06-.18a1.21 1.21 0 01-.48-.24 31.57 31.57 0 01-6.9 5.1c1.65.5 3.24 1.1 4.8 1.83-.37.2-.74.4-1.12.57a25.37 25.37 0 00-4.7-1.87c-.9.42-1.85.78-2.81 1.02-.12.06-.12.06-.3 0-.78-.24-1.56-.54-2.34-.9A29 29 0 0017.7 39c-.38-.17-.76-.36-1.12-.56 1.5-.73 3.04-1.34 4.62-1.8a26.15 26.15 0 01-6.48-5.15c-.12.06-.36.18-.53.24 0 .06 0 .12-.07.18.3.18.55.42.42.66-.11.3-.6.48-1.01.6-.12.18-.36.3-.54.42v2.24c-.38-.35-.74-.72-1.08-1.1v-.84c-.12 0-.18 0-.3-.06a4.24 4.24 0 01-.57-.16 17.6 17.6 0 01-2.18-3.7 2.7 2.7 0 011.67-1.71c.06-.42.54-.96 1.02-1.08.48-.12.84.3.96.66h.24zm1.73 2.21c2.94 3.12 6.18 5.7 10.37 7.07 4.5-1.25 7.67-4.01 10.84-7.13-.3-.12-.6-.36-.53-.6 0-.06.06-.12.06-.18l-1.74-.18c-.66 2.22-2.4 3.54-3.12 2.1-.18-.36-.24-.78-.3-1.14-.24.54-.9.54-1.61.6-.9.06-2.1.06-2.94-.18-.18.84-.72.84-1.8.96-.96.06-3.23.3-3.65-.72-.06 1.92-2.34.66-3-.48-.24-.36-.36-.78-.48-1.2l-1.56.18c.06.06.06.12.06.18 0 .42-.24.6-.6.72zm16.24.54c.06.42.18.48.6.3 1.08-.54 1.5-2.63 1.56-3.77-.84-.06-1.74-.06-2.64-.06.24 1.14.3 2.33.48 3.53zm-11.92.24c.36.18.6.18.66-.3.12-.6.18-2.45.3-3.47-.84 0-1.62.06-2.46.12-.3 1.32.06 3 1.5 3.65zM24.55 27c-1.32 0-2.58 0-3.83.06-.12.6-.3 3.23.11 3.41.84.36 2.76.36 3.66.12.24-.18.12-3.05.06-3.6zm.9 0c0 .3 0 2.51.3 2.7.72.35 2.64.3 3.41.05.36-.12.18-2.45.12-2.81-1.26 0-2.57 0-3.83.06zm-11.2-4.92c-.37.06-.67.18-1.02.3l-.84.36a5.36 5.36 0 00-.36 3.54c.3.06.6.06.84.06.18-1.5.66-2.94 1.37-4.26zm22.94-.06h-.78c.48 1.38.84 2.82.96 4.32.24 0 .48 0 .78-.06.42-1.62 0-3.42-.96-4.26zm-25.7 4.14a5.3 5.3 0 01.84-4.2c-.3-.06-.72-.18-.96-.36-1.26.36-1.86 1.8-1.98 3.24.12.18.18.36.3.48.42.42 1.08.66 1.8.84zm27.26 0a3.34 3.34 0 001.74-.78c.12-.12.24-.3.3-.48-.06-1.44-.66-2.82-1.98-3.24-.24.24-.6.3-.96.36.9.96 1.14 2.7.9 4.14zm-18.63-5.63a5.09 5.09 0 1010.18 0 5.04 5.04 0 00-5.09-5.04 5.08 5.08 0 00-5.1 5.04zm5.15-1.62c-.48 0-.96.06-1.38.24.6.18 1.08.78 1.08 1.44 0 .83-.72 1.55-1.68 1.55-.6 0-1.14-.3-1.44-.78-.06.24-.06.48-.06.78 0 1.8 1.56 3.24 3.42 3.24 1.92 0 3.47-1.44 3.47-3.24.06-1.8-1.5-3.23-3.41-3.23zm-14.2 2.22c-.06-.18-.18-.54-.18-.96 0-.42-.48-.54-.96-.06-.78.78-.96 2.7-.9 3.41.3-.9.9-1.92 2.04-2.4zm28.04 0a3.78 3.78 0 012.04 2.4c.06-.73-.18-2.64-.9-3.42-.48-.48-.96-.36-.96.06s-.12.78-.18.96zm-16.78-7.67c1.68-3.72 8.15-3.24 8.4 1.55-2.34-2.63-5.4-3.17-8.4-1.55z',fill:n})))}Object.defineProperty(t,'__esModule',{value:!0});var l=n(96),a=o(l),s=n(43),i=o(s);r.defaultProps={fill:'#858b98',width:100},t.default=r},function(e,t,n){'use strict';t.__esModule=!0;var o=n(97),r=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default=r.default||function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}},function(e,t,n){e.exports={default:n(98),__esModule:!0}},function(e,t,n){n(99),e.exports=n(0).Object.assign},function(e,t,n){var o=n(4);o(o.S+o.F,'Object',{assign:n(100)})},function(e,t,n){'use strict';var o=n(2),r=n(12),l=n(29),a=n(17),s=n(11),i=n(31),p=Object.assign;e.exports=!p||n(9)(function(){var e={},t={},n=Symbol(),o='abcdefghijklmnopqrst';return e[n]=7,o.split('').forEach(function(e){t[e]=e}),7!=p({},e)[n]||Object.keys(p({},t)).join('')!=o})?function(e){for(var t=s(e),n=arguments.length,p=1,d=l.f,c=a.f;n>p;)for(var u,m=i(arguments[p++]),C=d?r(m).concat(d(m)):r(m),f=C.length,g=0;f>g;)u=C[g++],(!o||c.call(m,u))&&(t[u]=m[u]);return t}:p},function(e,t,n){'use strict';Object.defineProperty(t,'__esModule',{value:!0});var o=n(43),r=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default=function(){return wp.element.createElement('svg',{width:'100%',height:'100%',viewBox:'0 0 73 56',version:'1.1',xmlns:'http://www.w3.org/2000/svg',xmlnsXlink:'http://www.w3.org/1999/xlink',xmlSpace:'preserve',style:{fillRule:'evenodd',clipRule:'evenodd',strokeLinejoin:'round',strokeMiterlimit:'1.41421',maxWidth:'28px',maxHeight:'28px',minWidth:'28px',minHeight:'28px'}},wp.element.createElement('g',{transform:'matrix(1.00193,0,0,1.00199,3.98066,-4.90841)'},wp.element.createElement('path',{d:'M63.6,50C63.7,50.4 63.8,50.8 63.8,51.2C63.9,54.7 58.9,58.3 55.6,58.4C53.7,58.5 51.8,57.5 50.9,55.8C38.3,56.3 25.7,56.3 13.1,55.8C12.2,57.5 10.2,58.5 8.3,58.4C5.1,58.3 0.1,54.7 0.1,51.2C0.1,50.8 0.2,50.4 0.3,50C0,49.5 -0.2,49 0,48.7C0.1,48.5 0.5,48.5 0.9,48.7C1.3,48.1 1.7,47.7 2.1,47.2C2,46.7 2,46.2 2.2,46.1C2.4,45.9 2.9,46 3.4,46.2C3.9,45.8 4.5,45.5 5.2,45.2C5.2,44.7 5.4,44.2 5.6,44.1C6,43.9 6.6,44 7.1,44.6C7.7,44.5 8.4,44.5 8.9,44.7C9.3,44.8 9.7,45 10,45.3C10,44.6 10,43.9 10,43.1C9.8,43.1 9.7,43.1 9.5,43C7.5,42.6 5.4,41.3 4.9,39C4.7,38.3 4.7,37.4 4.9,36.6C5.3,35.1 6.5,34.2 7.7,33.7C7.8,33 8.6,32.1 9.4,31.9C10.2,31.7 10.8,32.4 11,33C11.1,33 11.3,33 11.4,33C11.9,33.1 12.8,33.2 13.2,33.7C13.3,33.8 13.3,33.8 13.4,33.9C14,33.8 14.6,33.8 15.2,33.7C14.9,33.5 14.6,33.3 14.3,33.2C13.7,32.2 12.8,32 11.6,31.9C11.6,31.8 11.6,31.7 11.6,31.6C9.4,31.5 6.7,31 5.5,29.6C4.1,28.1 3.9,25.5 4.1,23.5C4.3,21.5 5.2,19.3 6.8,18.1C7.7,17.5 9.2,18 9.3,19.2C9.4,19.7 9.5,21.5 9.9,21.7C10.4,22 11.3,22.1 12.2,22.1C13.1,21.2 14.1,20.5 15.1,19.9C13.5,19.7 11.9,20.1 10.2,20.3L11.6,18.9C13,17.6 14.8,16.4 16.5,15.6C19.1,14.3 22.1,13.3 25,13C22.9,12.1 20.6,11.7 18.4,11.2C26.9,9.4 37.8,8.7 45.5,15.4C47.5,17.1 49.1,19.4 50.2,22.1C51.4,22.3 53,22.3 53.8,21.8C54.3,21.5 54.4,19.8 54.4,19.3C54.5,18.2 56,17.6 56.9,18.2C58.5,19.4 59.4,21.6 59.6,23.5C59.8,25.5 59.6,28.1 58.2,29.6C57,31 54.4,31.5 52.2,31.6C52.2,31.7 52.2,31.8 52.2,31.9C51,31.9 50,32.2 49.4,33.2C49.1,33.3 48.8,33.5 48.5,33.7C49.1,33.8 49.8,33.9 50.4,33.9C50.4,33.8 50.5,33.7 50.6,33.7C51,33.2 51.9,33.1 52.4,33C52.5,33 52.6,33 52.8,33C53,32.4 53.6,31.7 54.4,31.9C55.2,32.1 56,33 56.1,33.7C57.3,34.2 58.6,35 58.9,36.6C59.1,37.5 59.1,38.3 58.9,39C58.4,41.3 56.3,42.6 54.3,43C54.1,43 53.9,43.1 53.8,43.1C53.8,43.9 53.8,44.6 53.8,45.3C54.2,45 54.5,44.8 54.9,44.7C55.5,44.5 56.1,44.5 56.7,44.6C57.2,44.1 57.9,43.9 58.2,44.1C58.4,44.2 58.6,44.7 58.6,45.2C59.2,45.5 59.9,45.9 60.4,46.2C60.9,46 61.3,45.9 61.5,46.1C61.7,46.3 61.7,46.7 61.6,47.2C62.1,47.7 62.5,48.2 62.8,48.7C63.2,48.5 63.6,48.5 63.7,48.7C64.1,49 63.9,49.5 63.6,50ZM12.8,53.6C12.2,51 10.7,48.1 9.1,47.6C6.6,46.9 1.4,50.2 1.7,53.7C3.1,55.9 6.1,57.7 8.3,57.8C10.3,57.9 12.3,56.6 12.7,54.6C12.8,54.2 12.8,53.9 12.8,53.6ZM6.4,54.9C4.6,55.4 2.8,54.5 2.8,53.2C2.8,51.2 6.6,48.6 8.3,48.4C10,48.2 11,50.5 10.4,51.8C9.8,52.9 7.7,54.5 6.4,54.9ZM8.6,21.8C8.5,21.5 8.3,20.9 8.3,20.2C8.3,19.5 7.5,19.3 6.7,20.1C5.4,21.4 5.1,24.6 5.2,25.8C5.7,24.3 6.7,22.6 8.6,21.8ZM9.3,30.2C8.8,27.8 9.3,24.9 10.7,23.2C10.2,23.1 9.5,22.9 9.1,22.6C7,23.2 6,25.6 5.8,28C6,28.3 6.1,28.6 6.3,28.8C7,29.5 8.1,29.9 9.3,30.2ZM10,56.9C8.9,57.3 7.7,56.6 7.6,55.8C7.5,54.9 9.9,53.2 10.8,53C11.8,52.8 12.2,54.3 11.9,55C11.6,55.8 10.7,56.6 10,56.9ZM13.9,23.4C13.3,23.5 12.8,23.7 12.2,23.9L10.8,24.5C10,26.1 9.7,28.3 10.2,30.4C10.7,30.5 11.2,30.5 11.6,30.5C11.9,28 12.7,25.6 13.9,23.4ZM13.7,52.9C17.4,50.7 21.4,48.9 25.5,47.7C21.2,45.4 17.9,42.4 14.7,39.1C14.5,39.2 14.1,39.4 13.8,39.5C13.8,39.6 13.8,39.7 13.7,39.8C14.2,40.1 14.6,40.5 14.4,40.9C14.2,41.4 13.4,41.7 12.7,41.9C12.5,42.2 12.1,42.4 11.8,42.6C11.8,44.1 11.8,45.6 11.8,47.1C12.2,47.9 12.6,48.6 12.9,49.3C13.2,50.4 13.6,51.7 13.7,52.9ZM14.3,36.7C19.2,41.9 24.6,46.2 31.6,48.5C39.1,46.4 44.4,41.8 49.7,36.6C49.2,36.4 48.7,36 48.8,35.6C48.8,35.5 48.9,35.4 48.9,35.3C47.9,35.2 46.9,35.1 46,35C44.9,38.7 42,40.9 40.8,38.5C40.5,37.9 40.4,37.2 40.3,36.6C39.9,37.5 38.8,37.5 37.6,37.6C36.1,37.7 34.1,37.7 32.7,37.3C32.4,38.7 31.5,38.7 29.7,38.9C28.1,39 24.3,39.4 23.6,37.7C23.5,40.9 19.7,38.8 18.6,36.9C18.2,36.3 18,35.6 17.8,34.9C16.9,35 16.1,35.1 15.2,35.2C15.3,35.3 15.3,35.4 15.3,35.5C15.3,36.2 14.9,36.5 14.3,36.7ZM49.3,54.4C45.2,52 41.1,49.8 36.4,48.5C34.9,49.2 33.3,49.8 31.7,50.2C31.5,50.3 31.5,50.3 31.2,50.2C29.9,49.8 28.6,49.3 27.3,48.7C22.8,50 18.7,51.9 14.8,54.3C26.4,54.8 37.9,54.7 49.3,54.4ZM21.5,38C22.1,38.3 22.5,38.3 22.6,37.5C22.8,36.5 22.9,33.4 23.1,31.7C21.7,31.7 20.4,31.8 19,31.9C18.5,34.1 19.1,36.9 21.5,38ZM23.7,20.8C23.7,25.5 27.5,29.3 32.2,29.3C36.9,29.3 40.7,25.5 40.7,20.8C40.7,16.1 36.9,12.4 32.2,12.4C27.5,12.4 23.7,16.2 23.7,20.8ZM31.1,31.6C28.9,31.6 26.8,31.6 24.7,31.7C24.5,32.7 24.2,37.1 24.9,37.4C26.3,38 29.5,38 31,37.6C31.4,37.3 31.2,32.5 31.1,31.6ZM32.3,18.1C31.5,18.1 30.7,18.2 30,18.5C31,18.8 31.8,19.8 31.8,20.9C31.8,22.3 30.6,23.5 29,23.5C28,23.5 27.1,23 26.6,22.2C26.5,22.6 26.5,23 26.5,23.5C26.5,26.5 29.1,28.9 32.2,28.9C35.4,28.9 38,26.5 38,23.5C38.1,20.5 35.5,18.1 32.3,18.1ZM27.4,9C30.2,2.8 41,3.6 41.4,11.6C37.5,7.2 32.4,6.3 27.4,9ZM32.6,31.6C32.6,32.1 32.6,35.8 33.1,36.1C34.3,36.7 37.5,36.6 38.8,36.2C39.4,36 39.1,32.1 39,31.5C36.9,31.5 34.7,31.5 32.6,31.6ZM51.3,49.4C51.5,48.7 51.9,48 52.3,47.3C52.4,45.8 52.4,44.2 52.4,42.7C52.1,42.5 51.8,42.2 51.5,41.9C50.8,41.8 50.1,41.3 49.8,40.9C49.6,40.4 50,40.1 50.5,39.8C50.5,39.7 50.4,39.6 50.4,39.5C50.1,39.4 49.8,39.3 49.6,39.1C46.1,42.4 42.3,45.4 38.1,47.6C42.4,48.9 46.5,50.7 50.5,52.9C50.6,51.7 50.9,50.4 51.3,49.4ZM41.4,37.6C41.5,38.3 41.7,38.4 42.4,38.1C44.2,37.2 44.9,33.7 45,31.8C43.6,31.7 42.1,31.7 40.6,31.7C41,33.6 41.1,35.6 41.4,37.6ZM50.9,23.3C51.7,25.6 52.3,28 52.5,30.5C52.9,30.5 53.3,30.5 53.8,30.4C54.5,27.7 53.8,24.7 52.2,23.3C51.8,23.3 51.3,23.3 50.9,23.3ZM54.9,47.6C53.3,48.1 51.8,51 51.2,53.6C51.2,53.9 51.2,54.2 51.3,54.5C51.7,56.5 53.7,57.8 55.7,57.7C57.8,57.6 60.9,55.8 62.3,53.6C62.6,50.2 57.4,46.8 54.9,47.6ZM54.1,56.9C55.1,57.3 56.4,56.6 56.5,55.8C56.6,54.9 54.3,53.2 53.3,53C52.4,52.8 51.9,54.3 52.3,55C52.4,55.8 53.3,56.6 54.1,56.9ZM54.8,30.2C56,30 57.1,29.5 57.7,28.9C57.9,28.7 58.1,28.4 58.2,28.1C58.1,25.7 57.1,23.4 54.9,22.7C54.5,23.1 53.9,23.2 53.3,23.3C54.8,24.9 55.2,27.8 54.8,30.2ZM57.6,54.9C59.4,55.4 61.2,54.5 61.2,53.2C61.2,51.2 57.4,48.6 55.7,48.4C54,48.2 53,50.5 53.6,51.8C54.1,52.9 56.3,54.5 57.6,54.9ZM55.4,21.8C57.3,22.6 58.3,24.3 58.8,25.8C58.9,24.6 58.5,21.4 57.3,20.1C56.5,19.3 55.7,19.5 55.7,20.2C55.7,20.9 55.5,21.5 55.4,21.8Z',fill:'currentColor',style:{fillRule:'nonzero'}})))}}]);
1
+ (function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e['default']}:function(){return e};return t.d(n,'a',n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p='',t(t.s=50)})([function(e){var t=e.exports={version:'2.6.9'};'number'==typeof __e&&(__e=t)},function(e){var t=e.exports='undefined'!=typeof window&&window.Math==Math?window:'undefined'!=typeof self&&self.Math==Math?self:Function('return this')();'number'==typeof __g&&(__g=t)},function(e,t,n){e.exports=!n(9)(function(){return 7!=Object.defineProperty({},'a',{get:function(){return 7}}).a})},function(e){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},function(e,t,n){var o=n(1),r=n(0),a=n(34),l=n(7),s=n(3),i='prototype',c=function(e,t,n){var p,m,u,d=e&c.F,g=e&c.G,f=e&c.S,y=e&c.P,_=e&c.B,h=e&c.W,E=g?r:r[t]||(r[t]={}),b=E[i],x=g?o:f?o[t]:(o[t]||{})[i];for(p in g&&(n=t),n)m=!d&&x&&void 0!==x[p],m&&s(E,p)||(u=m?x[p]:n[p],E[p]=g&&'function'!=typeof x[p]?n[p]:_&&m?a(u,o):h&&x[p]==u?function(e){var t=function(t,n,o){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n);}return new e(t,n,o)}return e.apply(this,arguments)};return t[i]=e[i],t}(u):y&&'function'==typeof u?a(Function.call,u):u,y&&((E.virtual||(E.virtual={}))[p]=u,e&c.R&&b&&!b[p]&&l(b,p,u)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){var o=n(13),r=n(35),a=n(23),l=Object.defineProperty;t.f=n(2)?Object.defineProperty:function(e,t,n){if(o(e),t=a(t,!0),o(n),r)try{return l(e,t,n)}catch(t){}if('get'in n||'set'in n)throw TypeError('Accessors not supported!');return'value'in n&&(e[t]=n.value),e}},function(e,t,n){var o=n(31),r=n(18);e.exports=function(e){return o(r(e))}},function(e,t,n){var o=n(5),r=n(16);e.exports=n(2)?function(e,t,n){return o.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e){e.exports=function(e){return'object'==typeof e?null!==e:'function'==typeof e}},function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,n){var o=n(21)('wks'),r=n(15),a=n(1).Symbol,l='function'==typeof a,s=e.exports=function(e){return o[e]||(o[e]=l&&a[e]||(l?a:r)('Symbol.'+e))};s.store=o},function(e,t,n){var o=n(18);e.exports=function(e){return Object(o(e))}},function(e,t,n){var o=n(30),r=n(22);e.exports=Object.keys||function(e){return o(e,r)}},function(e,t,n){var o=n(8);e.exports=function(e){if(!o(e))throw TypeError(e+' is not an object!');return e}},function(e){e.exports=!0},function(e){var t=0,n=Math.random();e.exports=function(e){return'Symbol('.concat(e===void 0?'':e,')_',(++t+n).toString(36))}},function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){t.f={}.propertyIsEnumerable},function(e){e.exports=function(e){if(e==void 0)throw TypeError('Can\'t call method on '+e);return e}},function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0<e?n:t)(e)}},function(e,t,n){var o=n(21)('keys'),r=n(15);e.exports=function(e){return o[e]||(o[e]=r(e))}},function(e,t,n){var o=n(0),r=n(1),a='__core-js_shared__',l=r[a]||(r[a]={});(e.exports=function(e,t){return l[e]||(l[e]=t===void 0?{}:t)})('versions',[]).push({version:o.version,mode:n(14)?'pure':'global',copyright:'\xA9 2019 Denis Pushkarev (zloirock.ru)'})},function(e){e.exports=['constructor','hasOwnProperty','isPrototypeOf','propertyIsEnumerable','toLocaleString','toString','valueOf']},function(e,t,n){var o=n(8);e.exports=function(e,t){if(!o(e))return e;var n,r;if(t&&'function'==typeof(n=e.toString)&&!o(r=n.call(e)))return r;if('function'==typeof(n=e.valueOf)&&!o(r=n.call(e)))return r;if(!t&&'function'==typeof(n=e.toString)&&!o(r=n.call(e)))return r;throw TypeError('Can\'t convert object to primitive value')}},function(e){e.exports={}},function(e,t,n){var o=n(13),r=n(72),a=n(22),l=n(20)('IE_PROTO'),s=function(){},c='prototype',p=function(){var e,t=n(36)('iframe'),o=a.length,r='<',l='>';for(t.style.display='none',n(73).appendChild(t),t.src='javascript:',e=t.contentWindow.document,e.open(),e.write(r+'script'+l+'document.F=Object'+r+'/script'+l),e.close(),p=e.F;o--;)delete p[c][a[o]];return p()};e.exports=Object.create||function(e,t){var n;return null===e?n=p():(s[c]=o(e),n=new s,s[c]=null,n[l]=e),void 0===t?n:r(n,t)}},function(e,t,n){var o=n(5).f,r=n(3),a=n(10)('toStringTag');e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,a)&&o(e,a,{configurable:!0,value:t})}},function(e,t,n){t.f=n(10)},function(e,t,n){var o=n(1),r=n(0),a=n(14),l=n(27),s=n(5).f;e.exports=function(e){var t=r.Symbol||(r.Symbol=a?{}:o.Symbol||{});'_'==e.charAt(0)||e in t||s(t,e,{value:l.f(e)})}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var o=n(3),r=n(6),a=n(54)(!1),l=n(20)('IE_PROTO');e.exports=function(e,t){var n,s=r(e),c=0,i=[];for(n in s)n!=l&&o(s,n)&&i.push(n);for(;t.length>c;)o(s,n=t[c++])&&(~a(i,n)||i.push(n));return i}},function(e,t,n){var o=n(32);e.exports=Object('z').propertyIsEnumerable(0)?Object:function(e){return'String'==o(e)?e.split(''):Object(e)}},function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},function(e,t,n){var o=n(4),r=n(0),a=n(9);e.exports=function(e,t){var n=(r.Object||{})[e]||Object[e],l={};l[e]=t(n),o(o.S+o.F*a(function(){n(1)}),'Object',l)}},function(e,t,n){var o=n(57);e.exports=function(e,t,n){return(o(e),void 0===t)?e:1===n?function(n){return e.call(t,n)}:2===n?function(n,o){return e.call(t,n,o)}:3===n?function(n,o,r){return e.call(t,n,o,r)}:function(){return e.apply(t,arguments)}}},function(e,t,n){e.exports=!n(2)&&!n(9)(function(){return 7!=Object.defineProperty(n(36)('div'),'a',{get:function(){return 7}}).a})},function(e,t,n){var o=n(8),r=n(1).document,a=o(r)&&o(r.createElement);e.exports=function(e){return a?r.createElement(e):{}}},function(e,t,n){var o=n(3),r=n(11),a=n(20)('IE_PROTO'),l=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),o(e,a)?e[a]:'function'==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},function(e,t,n){'use strict';function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=n(67),a=o(r),l=n(78),s=o(l),i='function'==typeof s.default&&'symbol'==typeof a.default?function(e){return typeof e}:function(e){return e&&'function'==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?'symbol':typeof e};t.default='function'==typeof s.default&&'symbol'===i(a.default)?function(e){return'undefined'==typeof e?'undefined':i(e)}:function(e){return e&&'function'==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?'symbol':'undefined'==typeof e?'undefined':i(e)}},function(e,t,n){'use strict';var o=n(14),r=n(4),a=n(40),l=n(7),s=n(24),i=n(71),c=n(26),p=n(37),m=n(10)('iterator'),u=!([].keys&&'next'in[].keys()),d='keys',g='values',f=function(){return this};e.exports=function(e,t,n,y,_,h,E){i(n,t,y);var b,x,O,S=function(e){return!u&&e in T?T[e]:e===d?function(){return new n(this,e)}:e===g?function(){return new n(this,e)}:function(){return new n(this,e)}},P=t+' Iterator',v=_==g,k=!1,T=e.prototype,M=T[m]||T['@@iterator']||_&&T[_],w=M||S(_),C=_?v?S('entries'):w:void 0,L='Array'==t?T.entries||M:M;if(L&&(O=p(L.call(new e)),O!==Object.prototype&&O.next&&(c(O,P,!0),!o&&'function'!=typeof O[m]&&l(O,m,f))),v&&M&&M.name!==g&&(k=!0,w=function(){return M.call(this)}),(!o||E)&&(u||k||!T[m])&&l(T,m,w),s[t]=w,s[P]=f,_)if(b={values:v?w:S(g),keys:h?w:S(d),entries:C},E)for(x in b)x in T||a(T,x,b[x]);else r(r.P+r.F*(u||k),t,b);return b}},function(e,t,n){e.exports=n(7)},function(e,t,n){var o=n(30),r=n(22).concat('length','prototype');t.f=Object.getOwnPropertyNames||function(e){return o(e,r)}},function(e,t,n){var o=n(17),r=n(16),a=n(6),l=n(23),s=n(3),i=n(35),c=Object.getOwnPropertyDescriptor;t.f=n(2)?c:function(e,t){if(e=a(e),t=l(t,!0),i)try{return c(e,t)}catch(t){}return s(e,t)?r(!o.f.call(e,t),e[t]):void 0}},function(e){e.exports=React},,,,,,,function(e,t,n){'use strict';function o(e){return e&&e.__esModule?e:{default:e}}var r,a,l,s=n(51),i=o(s),c=n(58),p=o(c),m=n(61),u=o(m),d=n(62),g=o(d),f=n(66),y=o(f),_=n(88),h=o(_),E=n(96),b=o(E),x=n(102),O=o(x),S=wp.i18n.__,P=wp.element,v=P.Component,k=P.Fragment,T=wp.blockEditor.InspectorControls,M=wp.components,w=M.Button,C=M.SelectControl,L=M.ToggleControl,N=M.PanelBody,I=M.Placeholder,R=M.Notice,A=[];wp.blocks.registerBlockType('optinmonster/campaign-selector',{title:OMAPI.i18n.title,description:OMAPI.i18n.description,icon:O.default,category:'embed',keywords:[S('Popup','optin-monster-api'),S('Form','optin-monster-api'),S('Campaign','optin-monster-api'),S('Email','optin-monster-api'),S('Conversion','optin-monster-api')],attributes:{slug:{type:'string'},followrules:{type:'boolean'}},edit:(a=r=function(e){function t(e){(0,u.default)(this,t);var n=(0,y.default)(this,(t.__proto__||(0,p.default)(t)).apply(this,arguments));return l.call(n),n.props=e,n.state={embed:{},loading:!1,hasError:null},n}return(0,h.default)(t,e),(0,g.default)(t,[{key:'componentDidMount',value:function(){document.addEventListener('om.Campaign.init',this.setAsPreview),document.addEventListener('om.Campaign.afterShow',this.loadingStop),document.addEventListener('om.Main.getCampaigns.error',this.foundError),document.addEventListener('om.Campaign.show.error',this.foundError),document.addEventListener('om.Campaign.load.error',this.foundError),this.slug()&&this.fetch()}},{key:'componentWillUnmount',value:function(){var e=this.campaign();e&&(A.push(e),e.off()),document.removeEventListener('om.Campaign.init',this.setAsPreview),document.removeEventListener('om.Campaign.afterShow',this.loadingStop),document.removeEventListener('om.Main.getCampaigns.error',this.foundError),document.removeEventListener('om.Campaign.show.error',this.foundError),document.removeEventListener('om.Campaign.load.error',this.foundError)}},{key:'componentDidUpdate',value:function(e){var t=this.slug(),n=this.getSlug(e);if(t&&n!==t){var o=this.campaign(),r=this.getCampaign(n);this.setState({loading:!0,hasError:!1}),o?o.reset():this.fetch()}}},{key:'render',value:function(){var e=this.props,t=e.attributes,n=t.slug,o=void 0===n?'':n,r=t.followrules,a=e.setAttributes,l=this.state,s=l.embed,i=l.hasError,c=this.getAvailableOptions(),p=this.hasSites(),m=this.getAvailableOptions(!0),u=function(e){return a({slug:e})},d=o&&(!s||this.state.loading),g=function(){return wp.element.createElement('div',{className:'optinmonster-gutenberg-campaign-selector-no_campaigns'},wp.element.createElement('p',{className:'optinmonster-gutenberg-campaign-selector-no_campaigns-header'},OMAPI.i18n.no_campaigns),wp.element.createElement('p',{className:'optinmonster-gutenberg-campaign-selector-no_campaigns-help'},OMAPI.i18n.no_campaigns_help),wp.element.createElement('p',{className:'optinmonster-gutenberg-campaign-selector-no_campaigns-button'},wp.element.createElement(w,{isPrimary:!0,href:OMAPI.templatesUri},OMAPI.i18n.no_campaigns_button)),wp.element.createElement('p',{className:'optinmonster-gutenberg-campaign-selector-no_campaigns-button-help'},wp.element.createElement(w,{href:'https://optinmonster.com/docs/creating-your-first-optin/?utm_source=plugin&utm_medium=link&utm_campaign=gutenbergblock'},OMAPI.i18n.no_campaigns_button_help)))},f=function(){return wp.element.createElement('div',{className:'optinmonster-gutenberg-campaign-selector-no_sites'},wp.element.createElement('p',{className:'optinmonster-gutenberg-campaign-selector-no_sites-help'},OMAPI.i18n.no_sites),wp.element.createElement('p',{className:'optinmonster-gutenberg-campaign-selector-no_sites-button'},wp.element.createElement(w,{isSecondary:!0,href:OMAPI.wizardUri},OMAPI.i18n.no_sites_button_create_account),'or',wp.element.createElement(w,{isSecondary:!0,href:OMAPI.settingsUri},OMAPI.i18n.no_sites_button_connect_account)))},y=function(){return p?0===c.length?g():null:f()};return wp.element.createElement(k,null,function(){return 0<m.length||o?wp.element.createElement(T,{key:'optinmonster-gutenberg-campaign-selector-inspector-controls'},wp.element.createElement(N,{title:OMAPI.i18n.campaign_settings},wp.element.createElement(C,{label:OMAPI.i18n.campaign_selected,value:o,options:m,onChange:u}),o?wp.element.createElement(L,{label:OMAPI.i18n.followrules_label,help:function(){var e=OMAPI.i18n.followrules_help.replace('%s',''),t=OMAPI.editUrl.replace('%s',o);return wp.element.createElement('span',null,wp.element.createElement('span',{dangerouslySetInnerHTML:{__html:e}}),' ',wp.element.createElement('a',{target:'_blank',href:t},OMAPI.i18n.output_settings),'.')}(),checked:!!r,onChange:function(){return a({followrules:!r})}}):null)):null}(),function(){return!i&&d&&wp.element.createElement(b.default,null)}(),function(){if(!i)return null;var e=OMAPI.i18n.found_error;return o&&-1===i.indexOf(o)&&(e=wp.element.createElement(k,null,e,' ',wp.element.createElement('code',null,wp.element.createElement('small',null,o)))),wp.element.createElement('p',{className:'error'},wp.element.createElement('strong',null,e,':'),' ',i)}(),s&&o?this.getOutput():function(){return wp.element.createElement(I,{key:'optinmonster-gutenberg-campaign-selector-wrap',className:'optinmonster-gutenberg-campaign-selector-wrap',label:wp.element.createElement('div',{className:'optinmonster-gutenberg-campaign-selector-label'},wp.element.createElement('img',{src:OMAPI.logoUrl}),'OptinMonster'),instructions:y()},0<c.length?wp.element.createElement(C,{key:'optinmonster-gutenberg-campaign-selector-select-control',value:o,options:c,onChange:u}):null)}())}}]),t}(v),l=function(){var e=this;this.setAsPreview=function(e){e.detail.Campaign.preview=!0},this.loadingStop=function(t){e.slug()===t.detail.Campaign.id&&e.setState({loading:!1,hasError:!1})},this.foundError=function(t){var n=t.detail,o=n.Campaign,r=n.error,a=e.slug();if(!(o&&a!==o.id)&&!(r.responseURL&&0>r.responseURL.indexOf(a))){var l=r;r.response&&(l=JSON.parse(r.response).message||JSON.parse(r.response).error),r.message&&(l=r.message),e.setState({loading:!1,hasError:l})}},this.fetch=function(){e.setState({loading:!0,hasError:!1});var t=e.slug(),n={type:'text/javascript',src:OMAPI.apiUrl,async:!0,"data-user":OMAPI.omUserId,"data-campaign":t};OMAPI.omEnv&&(n['data-env']=OMAPI.omEnv),e.setState({embed:n})},this.getSlug=function(e){var t=e.attributes.slug,n=t===void 0?'':t;return n},this.slug=function(){return e.getSlug(e.props)},this.getCampaign=function(){var e=0<arguments.length&&arguments[0]!==void 0?arguments[0]:'',t='om'+e;return window[t]?window[t]:null},this.campaign=function(){return e.getCampaign(e.slug())},this.getOutput=function(){var t=e.slug(),n=e.state.embed,o=e.campaign();if(!o&&(A.length&&(o=A.find(function(e){return t===e.id}),o&&(A.splice(A.indexOf(o),1),o.reset())),!o&&n&&0<(0,i.default)(n).length)){var r=document.getElementsByTagName('head')[0]||document.documentElement,a=document.createElement('script'),l=void 0;for(l in n)a.setAttribute(l,n[l]);r.appendChild(a)}return wp.element.createElement('div',{key:'om-'+t+'-holder',id:'om-'+t+'-holder'})},this.getAvailableOptions=function(){var t=!!(0<arguments.length&&void 0!==arguments[0])&&arguments[0],n=e.slug();if(!OMAPI.campaigns||1>OMAPI.campaigns.length||!OMAPI.omUserId)return[];if(!e.hasSites())return[];var o=OMAPI.campaigns.filter(function(e){return'inline'===e.campaign_type}),r=o.map(function(e){return{value:e.post_name,label:e.post_title}});return 0<r.length&&r.unshift({value:'',label:OMAPI.i18n.campaign_select}),r},this.hasSites=function(){return OMAPI.site_ids&&0<OMAPI.site_ids.length}},a),save:function(){return null}})},function(e,t,n){e.exports={default:n(52),__esModule:!0}},function(e,t,n){n(53),e.exports=n(0).Object.keys},function(e,t,n){var o=n(11),r=n(12);n(33)('keys',function(){return function(e){return r(o(e))}})},function(e,t,n){var o=n(6),r=n(55),a=n(56);e.exports=function(e){return function(t,n,l){var s,i=o(t),c=r(i.length),p=a(l,c);if(e&&n!=n){for(;c>p;)if(s=i[p++],s!=s)return!0;}else for(;c>p;p++)if((e||p in i)&&i[p]===n)return e||p||0;return!e&&-1}}},function(e,t,n){var o=n(19),r=Math.min;e.exports=function(e){return 0<e?r(o(e),9007199254740991):0}},function(e,t,n){var o=n(19),r=Math.max,a=Math.min;e.exports=function(e,t){return e=o(e),0>e?r(e+t,0):a(e,t)}},function(e){e.exports=function(e){if('function'!=typeof e)throw TypeError(e+' is not a function!');return e}},function(e,t,n){e.exports={default:n(59),__esModule:!0}},function(e,t,n){n(60),e.exports=n(0).Object.getPrototypeOf},function(e,t,n){var o=n(11),r=n(37);n(33)('getPrototypeOf',function(){return function(e){return r(o(e))}})},function(e,t){'use strict';t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}},function(e,t,n){'use strict';t.__esModule=!0;var o=n(63),r=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default=function(){function e(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),(0,r.default)(e,n.key,n)}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}()},function(e,t,n){e.exports={default:n(64),__esModule:!0}},function(e,t,n){n(65);var o=n(0).Object;e.exports=function(e,t,n){return o.defineProperty(e,t,n)}},function(e,t,n){var o=n(4);o(o.S+o.F*!n(2),'Object',{defineProperty:n(5).f})},function(e,t,n){'use strict';t.__esModule=!0;var o=n(38),r=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default=function(e,t){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return t&&('object'===('undefined'==typeof t?'undefined':(0,r.default)(t))||'function'==typeof t)?t:e}},function(e,t,n){e.exports={default:n(68),__esModule:!0}},function(e,t,n){n(69),n(74),e.exports=n(27).f('iterator')},function(e,t,n){'use strict';var o=n(70)(!0);n(39)(String,'String',function(e){this._t=e+'',this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=o(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var o=n(19),r=n(18);e.exports=function(e){return function(t,n){var c,a,p=r(t)+'',s=o(n),i=p.length;return 0>s||s>=i?e?'':void 0:(c=p.charCodeAt(s),55296>c||56319<c||s+1===i||56320>(a=p.charCodeAt(s+1))||57343<a?e?p.charAt(s):c:e?p.slice(s,s+2):(c-55296<<10)+(a-56320)+65536)}}},function(e,t,n){'use strict';var o=n(25),r=n(16),a=n(26),l={};n(7)(l,n(10)('iterator'),function(){return this}),e.exports=function(e,t,n){e.prototype=o(l,{next:r(1,n)}),a(e,t+' Iterator')}},function(e,t,n){var o=n(5),r=n(13),a=n(12);e.exports=n(2)?Object.defineProperties:function(e,t){r(e);for(var n,l=a(t),s=l.length,c=0;s>c;)o.f(e,n=l[c++],t[n]);return e}},function(e,t,n){var o=n(1).document;e.exports=o&&o.documentElement},function(e,t,n){n(75);for(var o=n(1),r=n(7),a=n(24),l=n(10)('toStringTag'),s='CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList'.split(','),c=0;c<s.length;c++){var i=s[c],p=o[i],m=p&&p.prototype;m&&!m[l]&&r(m,l,i),a[i]=a.Array}},function(e,t,n){'use strict';var o=n(76),r=n(77),a=n(24),l=n(6);e.exports=n(39)(Array,'Array',function(e,t){this._t=l(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):'keys'==t?r(0,n):'values'==t?r(0,e[n]):r(0,[n,e[n]])},'values'),a.Arguments=a.Array,o('keys'),o('values'),o('entries')},function(e){e.exports=function(){}},function(e){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){e.exports={default:n(79),__esModule:!0}},function(e,t,n){n(80),n(85),n(86),n(87),e.exports=n(0).Symbol},function(e,t,n){'use strict';var o=n(1),r=n(3),a=n(2),l=n(4),s=n(40),c=n(81).KEY,i=n(9),p=n(21),m=n(26),u=n(15),d=n(10),g=n(27),f=n(28),y=n(82),_=n(83),h=n(13),E=n(8),b=n(11),x=n(6),O=n(23),S=n(16),v=n(25),P=n(84),T=n(42),M=n(29),w=n(5),C=n(12),L=T.f,N=w.f,I=P.f,R=o.Symbol,A=o.JSON,z=A&&A.stringify,D='prototype',F=d('_hidden'),Y=d('toPrimitive'),H={}.propertyIsEnumerable,U=p('symbol-registry'),G=p('symbols'),V=p('op-symbols'),W=Object[D],B='function'==typeof R&&!!M.f,K=o.QObject,J=!K||!K[D]||!K[D].findChild,q=a&&i(function(){return 7!=v(N({},'a',{get:function(){return N(this,'a',{value:7}).a}})).a})?function(e,t,n){var o=L(W,t);o&&delete W[t],N(e,t,n),o&&e!==W&&N(W,t,o)}:N,Q=function(e){var t=G[e]=v(R[D]);return t._k=e,t},X=B&&'symbol'==typeof R.iterator?function(e){return'symbol'==typeof e}:function(e){return e instanceof R},Z=function(e,t,n){return e===W&&Z(V,t,n),h(e),t=O(t,!0),h(n),r(G,t)?(n.enumerable?(r(e,F)&&e[F][t]&&(e[F][t]=!1),n=v(n,{enumerable:S(0,!1)})):(!r(e,F)&&N(e,F,S(1,{})),e[F][t]=!0),q(e,t,n)):N(e,t,n)},$=function(e,t){h(e);for(var n,o=y(t=x(t)),r=0,a=o.length;a>r;)Z(e,n=o[r++],t[n]);return e},ee=function(e){var t=H.call(this,e=O(e,!0));return(this!==W||!r(G,e)||r(V,e))&&(!(t||!r(this,e)||!r(G,e)||r(this,F)&&this[F][e])||t)},te=function(e,t){if(e=x(e),t=O(t,!0),e!==W||!r(G,t)||r(V,t)){var n=L(e,t);return n&&r(G,t)&&!(r(e,F)&&e[F][t])&&(n.enumerable=!0),n}},ne=function(e){for(var t,n=I(x(e)),o=[],a=0;n.length>a;)r(G,t=n[a++])||t==F||t==c||o.push(t);return o},oe=function(e){for(var t,n=e===W,o=I(n?V:x(e)),a=[],l=0;o.length>l;)r(G,t=o[l++])&&(!n||r(W,t))&&a.push(G[t]);return a};B||(R=function(){if(this instanceof R)throw TypeError('Symbol is not a constructor!');var e=u(0<arguments.length?arguments[0]:void 0),t=function(n){this===W&&t.call(V,n),r(this,F)&&r(this[F],e)&&(this[F][e]=!1),q(this,e,S(1,n))};return a&&J&&q(W,e,{configurable:!0,set:t}),Q(e)},s(R[D],'toString',function(){return this._k}),T.f=te,w.f=Z,n(41).f=P.f=ne,n(17).f=ee,M.f=oe,a&&!n(14)&&s(W,'propertyIsEnumerable',ee,!0),g.f=function(e){return Q(d(e))}),l(l.G+l.W+l.F*!B,{Symbol:R});for(var re=['hasInstance','isConcatSpreadable','iterator','match','replace','search','species','split','toPrimitive','toStringTag','unscopables'],ae=0;re.length>ae;)d(re[ae++]);for(var j=C(d.store),le=0;j.length>le;)f(j[le++]);l(l.S+l.F*!B,'Symbol',{for:function(e){return r(U,e+='')?U[e]:U[e]=R(e)},keyFor:function(e){if(!X(e))throw TypeError(e+' is not a symbol!');for(var t in U)if(U[t]===e)return t},useSetter:function(){J=!0},useSimple:function(){J=!1}}),l(l.S+l.F*!B,'Object',{create:function(e,t){return t===void 0?v(e):$(v(e),t)},defineProperty:Z,defineProperties:$,getOwnPropertyDescriptor:te,getOwnPropertyNames:ne,getOwnPropertySymbols:oe});var k=i(function(){M.f(1)});l(l.S+l.F*k,'Object',{getOwnPropertySymbols:function(e){return M.f(b(e))}}),A&&l(l.S+l.F*(!B||i(function(){var e=R();return'[null]'!=z([e])||'{}'!=z({a:e})||'{}'!=z(Object(e))})),'JSON',{stringify:function(e){for(var t,n,o=[e],r=1;arguments.length>r;)o.push(arguments[r++]);if(n=t=o[1],(E(t)||void 0!==e)&&!X(e))return _(t)||(t=function(e,t){if('function'==typeof n&&(t=n.call(this,e,t)),!X(t))return t}),o[1]=t,z.apply(A,o)}}),R[D][Y]||n(7)(R[D],Y,R[D].valueOf),m(R,'Symbol'),m(Math,'Math',!0),m(o.JSON,'JSON',!0)},function(e,t,n){var o=n(15)('meta'),r=n(8),a=n(3),l=n(5).f,s=0,i=Object.isExtensible||function(){return!0},c=!n(9)(function(){return i(Object.preventExtensions({}))}),p=function(e){l(e,o,{value:{i:'O'+ ++s,w:{}}})},m=e.exports={KEY:o,NEED:!1,fastKey:function(e,t){if(!r(e))return'symbol'==typeof e?e:('string'==typeof e?'S':'P')+e;if(!a(e,o)){if(!i(e))return'F';if(!t)return'E';p(e)}return e[o].i},getWeak:function(e,t){if(!a(e,o)){if(!i(e))return!0;if(!t)return!1;p(e)}return e[o].w},onFreeze:function(e){return c&&m.NEED&&i(e)&&!a(e,o)&&p(e),e}}},function(e,t,n){var o=n(12),r=n(29),a=n(17);e.exports=function(e){var t=o(e),n=r.f;if(n)for(var l,s=n(e),c=a.f,p=0;s.length>p;)c.call(e,l=s[p++])&&t.push(l);return t}},function(e,t,n){var o=n(32);e.exports=Array.isArray||function(e){return'Array'==o(e)}},function(e,t,n){var o=n(6),r=n(41).f,a={}.toString,l='object'==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return r(e)}catch(t){return l.slice()}};e.exports.f=function(e){return l&&'[object Window]'==a.call(e)?s(e):r(o(e))}},function(){},function(e,t,n){n(28)('asyncIterator')},function(e,t,n){n(28)('observable')},function(e,t,n){'use strict';function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=n(89),a=o(r),l=n(93),s=o(l),i=n(38),c=o(i);t.default=function(e,t){if('function'!=typeof t&&null!==t)throw new TypeError('Super expression must either be null or a function, not '+('undefined'==typeof t?'undefined':(0,c.default)(t)));e.prototype=(0,s.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(a.default?(0,a.default)(e,t):e.__proto__=t)}},function(e,t,n){e.exports={default:n(90),__esModule:!0}},function(e,t,n){n(91),e.exports=n(0).Object.setPrototypeOf},function(e,t,n){var o=n(4);o(o.S,'Object',{setPrototypeOf:n(92).set})},function(e,t,n){var o=n(8),r=n(13),a=function(e,t){if(r(e),!o(t)&&null!==t)throw TypeError(t+': can\'t set as prototype!')};e.exports={set:Object.setPrototypeOf||('__proto__'in{}?function(e,t,o){try{o=n(34)(Function.call,n(42).f(Object.prototype,'__proto__').set,2),o(e,[]),t=!(e instanceof Array)}catch(n){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:o(e,n),e}}({},!1):void 0),check:a}},function(e,t,n){e.exports={default:n(94),__esModule:!0}},function(e,t,n){n(95);var o=n(0).Object;e.exports=function(e,t){return o.create(e,t)}},function(e,t,n){var o=n(4);o(o.S,'Object',{create:n(25)})},function(e,t,n){'use strict';function o(e){return e&&e.__esModule?e:{default:e}}function r(e){var t=e.width,n=e.fill,o=(0,l.default)({},e.wrapperStyles,{display:'flex',alignItems:'center',justifyContent:'center'});return wp.element.createElement('div',{style:o,className:'om-archie-loader'},wp.element.createElement('svg',{height:'100%',width:'100%',version:'1.1',viewBox:'0 0 50 50',style:{maxWidth:t+'px'}},wp.element.createElement('circle',{cx:'25',cy:'25',r:'23',style:{stroke:n}}),wp.element.createElement('path',{d:'M12.75 27.84c.3.06.83.12 1.07.42l.12.11c.36-.05.72-.05 1.08-.11-.18-.12-.36-.24-.54-.3-.36-.6-.9-.72-1.61-.78V27c-1.32-.06-2.94-.36-3.66-1.2-.84-.9-.96-2.46-.84-3.66A4.7 4.7 0 0110 18.91c.54-.36 1.44-.06 1.5.66.06.3.12 1.38.36 1.5.3.18.84.24 1.38.24a8.83 8.83 0 011.73-1.32c-.96-.12-1.91.12-2.93.24l.84-.84a15.24 15.24 0 018.03-3.54c-1.26-.54-2.64-.78-3.96-1.08 5.1-1.07 11.63-1.5 16.24 2.52 1.2 1.02 2.16 2.4 2.81 4.02.72.11 1.68.11 2.16-.18.3-.18.36-1.2.36-1.5.06-.66.96-1.02 1.5-.66.96.72 1.5 2.04 1.62 3.17.12 1.2 0 2.76-.84 3.66-.72.84-2.28 1.14-3.6 1.2v.18c-.71 0-1.31.18-1.67.78-.18.06-.36.18-.54.3.36.06.78.11 1.14.11 0-.05.06-.11.12-.11.23-.3.77-.36 1.07-.42h.24c.12-.36.48-.78.96-.66s.96.66 1.02 1.08c.72.3 1.5.77 1.68 1.73a17.55 17.55 0 01-2.15 3.67 4 4 0 01-.6.17c-.13 0-.25.06-.3.06v.86c-.28.31-.57.6-.87.9.02-.67.02-1.35.02-2-.18-.12-.36-.3-.54-.48a1.72 1.72 0 01-1.01-.6c-.12-.3.12-.48.42-.66 0-.06-.06-.12-.06-.18a1.21 1.21 0 01-.48-.24 31.57 31.57 0 01-6.9 5.1c1.65.5 3.24 1.1 4.8 1.83-.37.2-.74.4-1.12.57a25.37 25.37 0 00-4.7-1.87c-.9.42-1.85.78-2.81 1.02-.12.06-.12.06-.3 0-.78-.24-1.56-.54-2.34-.9A29 29 0 0017.7 39c-.38-.17-.76-.36-1.12-.56 1.5-.73 3.04-1.34 4.62-1.8a26.15 26.15 0 01-6.48-5.15c-.12.06-.36.18-.53.24 0 .06 0 .12-.07.18.3.18.55.42.42.66-.11.3-.6.48-1.01.6-.12.18-.36.3-.54.42v2.24c-.38-.35-.74-.72-1.08-1.1v-.84c-.12 0-.18 0-.3-.06a4.24 4.24 0 01-.57-.16 17.6 17.6 0 01-2.18-3.7 2.7 2.7 0 011.67-1.71c.06-.42.54-.96 1.02-1.08.48-.12.84.3.96.66h.24zm1.73 2.21c2.94 3.12 6.18 5.7 10.37 7.07 4.5-1.25 7.67-4.01 10.84-7.13-.3-.12-.6-.36-.53-.6 0-.06.06-.12.06-.18l-1.74-.18c-.66 2.22-2.4 3.54-3.12 2.1-.18-.36-.24-.78-.3-1.14-.24.54-.9.54-1.61.6-.9.06-2.1.06-2.94-.18-.18.84-.72.84-1.8.96-.96.06-3.23.3-3.65-.72-.06 1.92-2.34.66-3-.48-.24-.36-.36-.78-.48-1.2l-1.56.18c.06.06.06.12.06.18 0 .42-.24.6-.6.72zm16.24.54c.06.42.18.48.6.3 1.08-.54 1.5-2.63 1.56-3.77-.84-.06-1.74-.06-2.64-.06.24 1.14.3 2.33.48 3.53zm-11.92.24c.36.18.6.18.66-.3.12-.6.18-2.45.3-3.47-.84 0-1.62.06-2.46.12-.3 1.32.06 3 1.5 3.65zM24.55 27c-1.32 0-2.58 0-3.83.06-.12.6-.3 3.23.11 3.41.84.36 2.76.36 3.66.12.24-.18.12-3.05.06-3.6zm.9 0c0 .3 0 2.51.3 2.7.72.35 2.64.3 3.41.05.36-.12.18-2.45.12-2.81-1.26 0-2.57 0-3.83.06zm-11.2-4.92c-.37.06-.67.18-1.02.3l-.84.36a5.36 5.36 0 00-.36 3.54c.3.06.6.06.84.06.18-1.5.66-2.94 1.37-4.26zm22.94-.06h-.78c.48 1.38.84 2.82.96 4.32.24 0 .48 0 .78-.06.42-1.62 0-3.42-.96-4.26zm-25.7 4.14a5.3 5.3 0 01.84-4.2c-.3-.06-.72-.18-.96-.36-1.26.36-1.86 1.8-1.98 3.24.12.18.18.36.3.48.42.42 1.08.66 1.8.84zm27.26 0a3.34 3.34 0 001.74-.78c.12-.12.24-.3.3-.48-.06-1.44-.66-2.82-1.98-3.24-.24.24-.6.3-.96.36.9.96 1.14 2.7.9 4.14zm-18.63-5.63a5.09 5.09 0 1010.18 0 5.04 5.04 0 00-5.09-5.04 5.08 5.08 0 00-5.1 5.04zm5.15-1.62c-.48 0-.96.06-1.38.24.6.18 1.08.78 1.08 1.44 0 .83-.72 1.55-1.68 1.55-.6 0-1.14-.3-1.44-.78-.06.24-.06.48-.06.78 0 1.8 1.56 3.24 3.42 3.24 1.92 0 3.47-1.44 3.47-3.24.06-1.8-1.5-3.23-3.41-3.23zm-14.2 2.22c-.06-.18-.18-.54-.18-.96 0-.42-.48-.54-.96-.06-.78.78-.96 2.7-.9 3.41.3-.9.9-1.92 2.04-2.4zm28.04 0a3.78 3.78 0 012.04 2.4c.06-.73-.18-2.64-.9-3.42-.48-.48-.96-.36-.96.06s-.12.78-.18.96zm-16.78-7.67c1.68-3.72 8.15-3.24 8.4 1.55-2.34-2.63-5.4-3.17-8.4-1.55z',fill:n})))}Object.defineProperty(t,'__esModule',{value:!0});var a=n(97),l=o(a),s=n(43),i=o(s);r.defaultProps={fill:'#858b98',width:100},t.default=r},function(e,t,n){'use strict';t.__esModule=!0;var o=n(98),r=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default=r.default||function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}},function(e,t,n){e.exports={default:n(99),__esModule:!0}},function(e,t,n){n(100),e.exports=n(0).Object.assign},function(e,t,n){var o=n(4);o(o.S+o.F,'Object',{assign:n(101)})},function(e,t,n){'use strict';var o=n(2),r=n(12),a=n(29),l=n(17),s=n(11),i=n(31),c=Object.assign;e.exports=!c||n(9)(function(){var e={},t={},n=Symbol(),o='abcdefghijklmnopqrst';return e[n]=7,o.split('').forEach(function(e){t[e]=e}),7!=c({},e)[n]||Object.keys(c({},t)).join('')!=o})?function(e){for(var t=s(e),n=arguments.length,c=1,p=a.f,m=l.f;n>c;)for(var u,d=i(arguments[c++]),g=p?r(d).concat(p(d)):r(d),f=g.length,y=0;f>y;)u=g[y++],(!o||m.call(d,u))&&(t[u]=d[u]);return t}:c},function(e,t,n){'use strict';Object.defineProperty(t,'__esModule',{value:!0});var o=n(43),r=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default=function(){return wp.element.createElement('svg',{xmlns:'http://www.w3.org/2000/svg',viewBox:'0 0 189 159',style:{maxWidth:'28px',maxHeight:'28px',minWidth:'28px',minHeight:'28px'}},wp.element.createElement('path',{d:'M112.547 55.298c0 8.867-7.57 16.055-16.91 16.055-9.339 0-16.91-7.188-16.91-16.055s7.571-16.056 16.91-16.056c.955 0 1.89.075 2.802.22a8.824 8.824 0 1011.077 6.661c1.911 2.6 3.031 5.763 3.031 9.175z'}),wp.element.createElement('path',{d:'M134.604 31.662C120.805 19.652 103.51 15.729 86.45 15.69h-.33c-10.827.008-21.55 1.57-31.216 3.619 1.185.27 2.38.529 3.58.79 5.349 1.16 10.787 2.342 15.831 4.502-8.53.884-17.35 3.825-24.997 7.65-5.002 2.35-10.294 5.882-14.412 9.704l-4.119 4.118c1.324-.155 2.627-.352 3.914-.546 3.578-.54 7.038-1.063 10.499-.631-2.941 1.764-5.883 3.825-8.53 6.472-2.648 0-5.293-.296-6.763-1.177-.892-.447-1.276-3.59-1.538-5.728-.084-.685-.155-1.268-.226-1.625-.297-3.531-4.706-5.002-7.353-3.235-4.706 3.529-7.353 9.998-7.94 15.88-.59 5.883 0 13.532 4.115 17.941 3.531 4.118 11.201 5.56 17.67 5.856 0 .294-.181 4.174-.316 4.145H33.14c-.587-1.764-2.354-3.822-4.705-3.235-2.354.587-4.705 3.235-4.999 5.295-3.53 1.47-7.06 4.116-8.236 8.527-.587 2.355-.587 5.002 0 7.06 1.47 6.766 7.646 10.587 13.529 11.765.587.293.883.293 1.47.293v6.472c-.883-.883-2.057-1.47-3.234-1.764-1.471-.59-3.529-.59-5.296-.296-1.47-1.764-3.234-2.058-4.412-1.471-.586.297-1.174 1.767-1.174 3.238-2.06.88-3.824 1.764-5.295 2.941-1.47-.59-2.941-.883-3.528-.296-.587.296-.587 1.767-.294 3.237-.392.49-.784.948-1.177 1.405-.784.914-1.57 1.829-2.354 3.007-1.174-.59-2.351-.59-2.645 0-.59.881 0 2.351.881 3.822-.293 1.177-.587 2.354-.587 3.528 0 10.294 14.706 20.885 24.117 21.178 5.585.294 11.468-2.647 14.115-7.646 37.056 1.47 74.114 1.47 111.169 0 2.648 4.999 8.234 7.94 13.823 7.646 9.704-.293 24.41-10.884 24.116-21.178 0-1.174-.293-2.351-.59-3.528.884-1.471 1.471-2.941.297-3.822-.297-.59-1.471-.59-2.648 0-.883-1.471-2.057-2.941-3.528-4.412.293-1.47.293-2.647-.297-3.237-.587-.587-1.764-.294-3.234.296-1.471-.883-3.528-2.061-5.293-2.941 0-1.471-.59-2.941-1.177-3.238-.883-.587-2.941 0-4.411 1.471-1.765-.294-3.529-.294-5.293.296-1.177.294-2.06.881-3.237 1.764v-6.472c.123 0 .296-.051.498-.11.286-.083.629-.183.972-.183 5.882-1.178 12.058-4.999 13.529-11.765.59-2.058.59-4.412 0-7.06-.881-4.705-4.705-7.056-8.234-8.527-.293-2.06-2.647-4.708-4.998-5.295-2.355-.587-4.119 1.47-4.706 3.235-.59 0-.643-3.76-.643-4.054 6.47-.293 12.995-1.829 16.523-5.947 4.119-4.409 4.706-12.058 4.119-17.94-.59-5.586-3.235-12.059-7.943-15.587-2.645-1.764-7.057 0-7.35 3.235 0 1.47-.297 6.47-1.767 7.353-2.352 1.47-7.057 1.47-10.585.883-3.238-7.943-7.943-14.706-13.825-19.707zM27.553 126.365c4.705 1.471 9.117 10.001 10.88 17.647 0 .884 0 1.765-.293 2.942-1.177 5.882-7.056 9.707-12.939 9.413-6.472-.296-15.292-5.589-19.41-12.061-.884-10.294 14.409-19.998 21.762-17.941zm123.814 17.647c1.767-7.646 6.179-16.176 10.884-17.647 7.35-2.351 22.643 7.647 21.763 17.647-4.119 6.473-13.236 11.765-19.412 12.059-5.882.296-11.764-3.528-12.938-9.411-.297-.883-.297-1.764-.297-2.648zm-43.525-14.999c13.823 3.825 25.881 10.294 37.939 17.354-33.527.88-67.348 1.177-101.465-.294 11.471-7.059 23.53-12.648 36.762-16.47a91.5 91.5 0 0011.471 4.409c.506.17.721.242.924.217.151-.018.296-.091.547-.217 4.705-1.174 9.41-2.941 13.822-4.999zm-32.056-2.351c-12.059 3.528-23.823 8.82-34.705 15.293-.251-3.029-1.153-6.271-1.96-9.174-.134-.481-.265-.954-.39-1.414-.58-1.351-1.285-2.701-2.034-4.134-.394-.752-.799-1.528-1.204-2.338V111.66c.19-.126.394-.252.602-.382.76-.471 1.585-.982 2.045-1.675 2.06-.587 4.412-1.471 5-2.941.59-1.177-.588-2.354-2.059-3.235.294-.294.294-.59.294-.884.884-.293 2.06-.88 2.648-1.177 9.41 9.707 19.117 18.531 31.763 25.297zm37.055-.297c12.255-6.419 23.353-15.155 33.58-24.771l.241-.229c.59.59 1.47.884 2.354 1.177 0 .13.056.259.12.388l.053.108c.065.13.12.259.12.388-1.47.881-2.647 1.764-2.057 3.235.88 1.177 2.941 2.647 4.999 2.941.883.883 1.764 1.764 2.647 2.354 0 4.412 0 9.117-.293 13.529-1.177 2.057-2.354 4.118-2.941 6.176-1.178 2.941-2.061 6.763-2.355 10.294-11.764-6.473-23.823-11.765-36.468-15.59zM49.32 89.456c1.093-.128 2.185-.257 3.327-.386l.493-.055c.587 2.057 1.177 4.118 2.354 5.882 3.235 5.589 14.41 11.765 14.703 2.354 1.91 4.634 11.654 3.961 16.814 3.604a236.6 236.6 0 011.127-.076l1.011-.109c4.622-.496 6.987-.749 7.812-4.596 4.115 1.177 9.998 1.177 14.409.88l.925-.072c3.16-.242 5.945-.454 7.016-2.869l.066.4c.277 1.672.589 3.556 1.404 5.19 3.531 7.059 12.058.589 15.293-10.295 2.648.294 5.589.59 8.53.884 0 .129-.056.258-.12.384l-.053.112c-.065.129-.12.258-.12.384-.294 1.177 1.177 2.354 2.647 2.941-15.589 15.296-31.176 28.825-53.232 35.001-20.588-6.763-36.468-19.411-50.88-34.704 1.764-.59 2.94-1.47 2.94-3.531 0-.294 0-.587-.293-.88a592.84 592.84 0 003.827-.443zm76.166 8.97c-2.057.883-2.644.59-2.938-1.471-.346-2.304-.601-4.608-.855-6.894-.394-3.551-.783-7.059-1.499-10.457 4.412 0 8.824 0 12.942.293-.297 5.59-2.354 15.883-7.65 18.528zm-58.23-1.765c-.294 2.354-1.47 2.354-3.235 1.47-7.056-3.234-8.824-11.47-7.353-17.94l.771-.055c3.828-.274 7.43-.532 11.287-.532-.261 2.225-.464 5.265-.661 8.214-.246 3.676-.482 7.21-.81 8.843zm6.176-17.057c6.175-.296 12.351-.296 18.824-.296.293 2.647.88 16.766-.297 17.647-4.409 1.177-13.822 1.177-17.937-.587-2.061-.884-1.178-13.823-.59-16.764zm24.706 12.939c-1.47-.88-1.47-11.765-1.47-13.236 6.175-.293 12.645-.293 18.821-.293.293 1.764 1.177 13.235-.587 13.825-3.825 1.174-13.236 1.47-16.764-.296zM20.496 45.487c1.048-1.048 2.093-1.515 2.936-1.524h.044c1.021.003 1.726.69 1.726 1.817 0 1.84.47 3.45.78 4.397 0 0 .72 1.988 1.773 2.8l.027.021c1.2.793 3.096 1.33 4.476 1.606l1.177.05-2.474 4.285 5.709-2.278c.366-.121.72-.243 1.066-.363 1.321-.456 2.535-.875 3.933-1.107-3.529 6.472-5.88 13.529-6.763 20.882-1.177 0-2.648-.003-4.119-.297-.179-.035-2.553-.522-2.63-.58l-.017-.013c-3.531-.883-6.763-2.051-8.82-4.11-.58-.577-3.242-4.09-3.236-8.823l-.008-.085c-.273-3.59.625-12.886 4.42-16.678zm148.812 0c3.496 3.786 4.684 13.056 4.42 16.664-.088 2.662-.854 6.1-3.243 9.217-1.506 1.966-4.949 3.21-8.445 3.81l-3.026.601c-1.468.294-2.645.294-3.822.294-.587-7.353-2.354-14.41-4.706-21.176h3.822c.027.021.05.044.074.065l-.012-.059.233-.014c2.409-.154 4.15-.264 5.723-1.075 1.429-.733 2.694-1.573 3.402-3.346.294-.892.874-2.65.874-4.688 0-2.06 2.354-2.647 4.706-.293zM95.491 72.544c-13.823 0-25-11.177-25-25 0-13.528 11.177-24.706 25-24.706 13.822 0 24.997 10.884 24.997 24.706 0 13.823-11.175 25-24.998 25z'}),wp.element.createElement('path',{d:'M104.608 1C95.49-.249 85.49 3.72 81.374 12.836c14.704-7.94 29.703-5.292 41.174 7.65-.59-11.765-8.823-18.237-17.94-19.488z'}))}}]);
assets/dist/js/trustpulse.min.js ADDED
@@ -0,0 +1 @@
 
1
+ (function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={i:d,l:!1,exports:{}};return a[d].call(e.exports,e,e.exports,b),e.l=!0,e.exports}var c={};return b.m=a,b.c=c,b.d=function(a,c,d){b.o(a,c)||Object.defineProperty(a,c,{configurable:!1,enumerable:!0,get:d})},b.n=function(a){var c=a&&a.__esModule?function(){return a['default']}:function(){return a};return b.d(c,'a',c),c},b.o=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},b.p='',b(b.s=47)})({0:function(a){var b=a.exports={version:'2.6.9'};'number'==typeof __e&&(__e=b)},47:function(a,b,c){'use strict';var d=c(48),e=function(a){return a&&a.__esModule?a:{default:a}}(d);jQuery(document).ready(function(a){a('.install-plugin-form').submit(function(b){b.preventDefault();var c=a('.button-install'),d=a('.button-activate'),f=c.html(),g=d.html();c.html('Installing...'),d.html('Activating...'),a('#om-plugin-alerts').hide(),a.ajax({type:'POST',beforeSend:function(a){a.setRequestHeader('X-WP-Nonce',omapiTp.restNonce)},url:omapiTp.restUrl+'omapp/v1/plugins/',data:{id:'trustpulse-api/trustpulse.php',url:omapiTp.pluginUrl,nonce:'install'===omapiTp.action?omapiTp.installNonce:omapiTp.activateNonce,installAction:omapiTp.action},success:function(){window.location.reload()},error:function(b,h,i){c.html(f),d.html(g);var j='Something went wrong!';if(b.responseJSON&&b.responseJSON.message&&(j+='<br>Error found: '+b.responseJSON.message),b.responseJSON&&b.responseJSON.data)try{j+='<br>(data: '+(0,e.default)(b.responseJSON.data)+')'}catch(a){}console.error('Could not '+omapiTp.action+' the TrustPulse plugin',{jqXHR:b,textStatus:h,errorThrown:i}),a('#om-plugin-alerts').show().html(a('<p/>').html(j))}})})})},48:function(a,b,c){a.exports={default:c(49),__esModule:!0}},49:function(a,b,c){var d=c(0),e=d.JSON||(d.JSON={stringify:JSON.stringify});a.exports=function(){return e.stringify.apply(e,arguments)}}});
assets/fonts/fontawesome-webfont.woff2 ADDED
Binary file
assets/images/about/plugin-aioseo.png ADDED
Binary file
assets/images/about/plugin-mi.png CHANGED
Binary file
assets/images/about/plugin-rafflepress.png ADDED
Binary file
assets/images/about/plugin-seedprod.png ADDED
Binary file
assets/images/about/plugin-trustpulse.png ADDED
Binary file
assets/images/about/plugin-wp-forms.png CHANGED
Binary file
assets/images/about/plugin-wp-mail-smtp.png ADDED
Binary file
assets/images/archie-icon.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="189" height="159" fill="currentColor"><defs/><path d="M112.547 55.298c0 8.867-7.57 16.055-16.91 16.055-9.339 0-16.91-7.188-16.91-16.055s7.571-16.056 16.91-16.056c.955 0 1.89.075 2.802.22a8.824 8.824 0 1011.077 6.661c1.911 2.6 3.031 5.763 3.031 9.175z"/><path d="M134.604 31.662C120.805 19.652 103.51 15.729 86.45 15.69h-.33c-10.827.008-21.55 1.57-31.216 3.619 1.185.27 2.38.529 3.58.79 5.349 1.16 10.787 2.342 15.831 4.502-8.53.884-17.35 3.825-24.997 7.65-5.002 2.35-10.294 5.882-14.412 9.704l-4.119 4.118c1.324-.155 2.627-.352 3.914-.546 3.578-.54 7.038-1.063 10.499-.631-2.941 1.764-5.883 3.825-8.53 6.472-2.648 0-5.293-.296-6.763-1.177-.892-.447-1.276-3.59-1.538-5.728-.084-.685-.155-1.268-.226-1.625-.297-3.531-4.706-5.002-7.353-3.235-4.706 3.529-7.353 9.998-7.94 15.88-.59 5.883 0 13.532 4.115 17.941 3.531 4.118 11.201 5.56 17.67 5.856 0 .294-.181 4.174-.316 4.145H33.14c-.587-1.764-2.354-3.822-4.705-3.235-2.354.587-4.705 3.235-4.999 5.295-3.53 1.47-7.06 4.116-8.236 8.527-.587 2.355-.587 5.002 0 7.06 1.47 6.766 7.646 10.587 13.529 11.765.587.293.883.293 1.47.293v6.472c-.883-.883-2.057-1.47-3.234-1.764-1.471-.59-3.529-.59-5.296-.296-1.47-1.764-3.234-2.058-4.412-1.471-.586.297-1.174 1.767-1.174 3.238-2.06.88-3.824 1.764-5.295 2.941-1.47-.59-2.941-.883-3.528-.296-.587.296-.587 1.767-.294 3.237-.392.49-.784.948-1.177 1.405-.784.914-1.57 1.829-2.354 3.007-1.174-.59-2.351-.59-2.645 0-.59.881 0 2.351.881 3.822-.293 1.177-.587 2.354-.587 3.528 0 10.294 14.706 20.885 24.117 21.178 5.585.294 11.468-2.647 14.115-7.646 37.056 1.47 74.114 1.47 111.169 0 2.648 4.999 8.234 7.94 13.823 7.646 9.704-.293 24.41-10.884 24.116-21.178 0-1.174-.293-2.351-.59-3.528.884-1.471 1.471-2.941.297-3.822-.297-.59-1.471-.59-2.648 0-.883-1.471-2.057-2.941-3.528-4.412.293-1.47.293-2.647-.297-3.237-.587-.587-1.764-.294-3.234.296-1.471-.883-3.528-2.061-5.293-2.941 0-1.471-.59-2.941-1.177-3.238-.883-.587-2.941 0-4.411 1.471-1.765-.294-3.529-.294-5.293.296-1.177.294-2.06.881-3.237 1.764v-6.472c.123 0 .296-.051.498-.11.286-.083.629-.183.972-.183 5.882-1.178 12.058-4.999 13.529-11.765.59-2.058.59-4.412 0-7.06-.881-4.705-4.705-7.056-8.234-8.527-.293-2.06-2.647-4.708-4.998-5.295-2.355-.587-4.119 1.47-4.706 3.235-.59 0-.643-3.76-.643-4.054 6.47-.293 12.995-1.829 16.523-5.947 4.119-4.409 4.706-12.058 4.119-17.94-.59-5.586-3.235-12.059-7.943-15.587-2.645-1.764-7.057 0-7.35 3.235 0 1.47-.297 6.47-1.767 7.353-2.352 1.47-7.057 1.47-10.585.883-3.238-7.943-7.943-14.706-13.825-19.707zM27.553 126.365c4.705 1.471 9.117 10.001 10.88 17.647 0 .884 0 1.765-.293 2.942-1.177 5.882-7.056 9.707-12.939 9.413-6.472-.296-15.292-5.589-19.41-12.061-.884-10.294 14.409-19.998 21.762-17.941zm123.814 17.647c1.767-7.646 6.179-16.176 10.884-17.647 7.35-2.351 22.643 7.647 21.763 17.647-4.119 6.473-13.236 11.765-19.412 12.059-5.882.296-11.764-3.528-12.938-9.411-.297-.883-.297-1.764-.297-2.648zm-43.525-14.999c13.823 3.825 25.881 10.294 37.939 17.354-33.527.88-67.348 1.177-101.465-.294 11.471-7.059 23.53-12.648 36.762-16.47a91.5 91.5 0 0011.471 4.409c.506.17.721.242.924.217.151-.018.296-.091.547-.217 4.705-1.174 9.41-2.941 13.822-4.999zm-32.056-2.351c-12.059 3.528-23.823 8.82-34.705 15.293-.251-3.029-1.153-6.271-1.96-9.174-.134-.481-.265-.954-.39-1.414-.58-1.351-1.285-2.701-2.034-4.134-.394-.752-.799-1.528-1.204-2.338V111.66c.19-.126.394-.252.602-.382.76-.471 1.585-.982 2.045-1.675 2.06-.587 4.412-1.471 5-2.941.59-1.177-.588-2.354-2.059-3.235.294-.294.294-.59.294-.884.884-.293 2.06-.88 2.648-1.177 9.41 9.707 19.117 18.531 31.763 25.297zm37.055-.297c12.255-6.419 23.353-15.155 33.58-24.771l.241-.229c.59.59 1.47.884 2.354 1.177 0 .13.056.259.12.388l.053.108c.065.13.12.259.12.388-1.47.881-2.647 1.764-2.057 3.235.88 1.177 2.941 2.647 4.999 2.941.883.883 1.764 1.764 2.647 2.354 0 4.412 0 9.117-.293 13.529-1.177 2.057-2.354 4.118-2.941 6.176-1.178 2.941-2.061 6.763-2.355 10.294-11.764-6.473-23.823-11.765-36.468-15.59zM49.32 89.456c1.093-.128 2.185-.257 3.327-.386l.493-.055c.587 2.057 1.177 4.118 2.354 5.882 3.235 5.589 14.41 11.765 14.703 2.354 1.91 4.634 11.654 3.961 16.814 3.604a236.6 236.6 0 011.127-.076l1.011-.109c4.622-.496 6.987-.749 7.812-4.596 4.115 1.177 9.998 1.177 14.409.88l.925-.072c3.16-.242 5.945-.454 7.016-2.869l.066.4c.277 1.672.589 3.556 1.404 5.19 3.531 7.059 12.058.589 15.293-10.295 2.648.294 5.589.59 8.53.884 0 .129-.056.258-.12.384l-.053.112c-.065.129-.12.258-.12.384-.294 1.177 1.177 2.354 2.647 2.941-15.589 15.296-31.176 28.825-53.232 35.001-20.588-6.763-36.468-19.411-50.88-34.704 1.764-.59 2.94-1.47 2.94-3.531 0-.294 0-.587-.293-.88a592.84 592.84 0 003.827-.443zm76.166 8.97c-2.057.883-2.644.59-2.938-1.471-.346-2.304-.601-4.608-.855-6.894-.394-3.551-.783-7.059-1.499-10.457 4.412 0 8.824 0 12.942.293-.297 5.59-2.354 15.883-7.65 18.528zm-58.23-1.765c-.294 2.354-1.47 2.354-3.235 1.47-7.056-3.234-8.824-11.47-7.353-17.94l.771-.055c3.828-.274 7.43-.532 11.287-.532-.261 2.225-.464 5.265-.661 8.214-.246 3.676-.482 7.21-.81 8.843zm6.176-17.057c6.175-.296 12.351-.296 18.824-.296.293 2.647.88 16.766-.297 17.647-4.409 1.177-13.822 1.177-17.937-.587-2.061-.884-1.178-13.823-.59-16.764zm24.706 12.939c-1.47-.88-1.47-11.765-1.47-13.236 6.175-.293 12.645-.293 18.821-.293.293 1.764 1.177 13.235-.587 13.825-3.825 1.174-13.236 1.47-16.764-.296zM20.496 45.487c1.048-1.048 2.093-1.515 2.936-1.524h.044c1.021.003 1.726.69 1.726 1.817 0 1.84.47 3.45.78 4.397 0 0 .72 1.988 1.773 2.8l.027.021c1.2.793 3.096 1.33 4.476 1.606l1.177.05-2.474 4.285 5.709-2.278c.366-.121.72-.243 1.066-.363 1.321-.456 2.535-.875 3.933-1.107-3.529 6.472-5.88 13.529-6.763 20.882-1.177 0-2.648-.003-4.119-.297-.179-.035-2.553-.522-2.63-.58l-.017-.013c-3.531-.883-6.763-2.051-8.82-4.11-.58-.577-3.242-4.09-3.236-8.823l-.008-.085c-.273-3.59.625-12.886 4.42-16.678zm148.812 0c3.496 3.786 4.684 13.056 4.42 16.664-.088 2.662-.854 6.1-3.243 9.217-1.506 1.966-4.949 3.21-8.445 3.81l-3.026.601c-1.468.294-2.645.294-3.822.294-.587-7.353-2.354-14.41-4.706-21.176h3.822c.027.021.05.044.074.065l-.012-.059.233-.014c2.409-.154 4.15-.264 5.723-1.075 1.429-.733 2.694-1.573 3.402-3.346.294-.892.874-2.65.874-4.688 0-2.06 2.354-2.647 4.706-.293zM95.491 72.544c-13.823 0-25-11.177-25-25 0-13.528 11.177-24.706 25-24.706 13.822 0 24.997 10.884 24.997 24.706 0 13.823-11.175 25-24.998 25z"/><path d="M104.608 1C95.49-.249 85.49 3.72 81.374 12.836c14.704-7.94 29.703-5.292 41.174 7.65-.59-11.765-8.823-18.237-17.94-19.488z"/></svg>
assets/images/logo-om.png CHANGED
Binary file
assets/js/admin.js ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* ==========================================================
2
+ * admin.js
3
+ * ==========================================================
4
+ * Copyright 2020 Awesome Motive.
5
+ * https://awesomemotive.com
6
+ * ========================================================== */
7
+ jQuery(document).ready(function ($) {
8
+ /**
9
+ * Updates links which correspond to Vue's router to use the Vue router instead,
10
+ * if it's available.
11
+ *
12
+ * @since 2.0.0
13
+ *
14
+ * @return {void}
15
+ */
16
+ function omapiHandleAppRouterLinks() {
17
+ const links = document.querySelectorAll('a[href*="?page=optin-monster-"]');
18
+ links.forEach( a => {
19
+ a.addEventListener( 'click', evt => {
20
+ if ( window.omWpApi && window.omWpApi.main ) {
21
+ const router = window.omWpApi.main.app.$router;
22
+ const url = evt.target.search || evt.target.closest('a').search
23
+ const route = router.getRouteForQuery( url );
24
+
25
+ if ( route ) {
26
+
27
+ if ( window.omWpApi.elRemove ) {
28
+ $( window.omWpApi.elRemove ).remove();
29
+ }
30
+
31
+ evt.preventDefault();
32
+ router.push({ name: route.name })
33
+ }
34
+ }
35
+ })
36
+ })
37
+ }
38
+
39
+ omapiHandleAppRouterLinks();
40
+ });
assets/js/trustpulse.js ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* ==========================================================
2
+ * trustpulse.js
3
+ * ==========================================================
4
+ * Copyright 2020 Awesome Motive.
5
+ * https://awesomemotive.com
6
+ * ========================================================== */
7
+ jQuery(document).ready(function ($) {
8
+ $('.install-plugin-form').submit((e) => {
9
+ e.preventDefault();
10
+
11
+ const $install = $('.button-install');
12
+ const $activate = $('.button-activate');
13
+ const installText = $install.html();
14
+ const activateText = $activate.html();
15
+
16
+ $install.html('Installing...');
17
+ $activate.html('Activating...');
18
+
19
+ $('#om-plugin-alerts').hide();
20
+
21
+ $.ajax({
22
+ type: "POST",
23
+ beforeSend: function(request) {
24
+ request.setRequestHeader('X-WP-Nonce', omapiTp.restNonce);
25
+ },
26
+ url: omapiTp.restUrl + 'omapp/v1/plugins/',
27
+ data:{
28
+ id : 'trustpulse-api/trustpulse.php',
29
+ url : omapiTp.pluginUrl,
30
+ nonce : omapiTp.action === 'install' ? omapiTp.installNonce : omapiTp.activateNonce,
31
+ installAction: omapiTp.action,
32
+ },
33
+ success: function(data) {
34
+ window.location.reload();
35
+ },
36
+ error: function(jqXHR, textStatus, errorThrown) {
37
+ $install.html(installText);
38
+ $activate.html(activateText);
39
+
40
+ let message = 'Something went wrong!'
41
+ if (jqXHR.responseJSON && jqXHR.responseJSON.message) {
42
+ message += '<br>Error found: ' + jqXHR.responseJSON.message
43
+ }
44
+ if (jqXHR.responseJSON && jqXHR.responseJSON.data) {
45
+ try {
46
+ message += `<br>(data: ${JSON.stringify( jqXHR.responseJSON.data )})`
47
+ } catch(e) {}
48
+ }
49
+
50
+ console.error(`Could not ${omapiTp.action} the TrustPulse plugin`, { jqXHR, textStatus, errorThrown })
51
+
52
+ $('#om-plugin-alerts').show().html($( '<p/>' ).html( message ));
53
+ }
54
+ });
55
+ })
56
+ });
optin-monster-wp-api.php CHANGED
@@ -1,15 +1,15 @@
1
  <?php
2
  /**
3
- * Plugin Name: OptinMonster API
4
  * Plugin URI: https://optinmonster.com
5
  * Description: OptinMonster is the best WordPress popup plugin that helps you grow your email list and sales with email popups, exit intent popups, floating bars and more!
6
  * Author: OptinMonster Team
7
  * Author URI: https://optinmonster.com
8
- * Version: 1.9.18
9
  * Text Domain: optin-monster-api
10
  * Domain Path: languages
11
  * WC requires at least: 3.2.0
12
- * WC tested up to: 4.5.2
13
  *
14
  * OptinMonster is free software: you can redistribute it and/or modify
15
  * it under the terms of the GNU General Public License as published by
@@ -62,7 +62,7 @@ class OMAPI {
62
  *
63
  * @var string
64
  */
65
- public $version = '1.9.18';
66
 
67
  /**
68
  * The name of the plugin.
@@ -71,7 +71,7 @@ class OMAPI {
71
  *
72
  * @var string
73
  */
74
- public $plugin_name = 'OptinMonster API';
75
 
76
  /**
77
  * Unique plugin slug identifier.
@@ -154,13 +154,6 @@ class OMAPI {
154
  */
155
  public $menu;
156
 
157
- /**
158
- * OMAPI_Content object (loaded only in the admin)
159
- *
160
- * @var OMAPI_Content
161
- */
162
- public $content;
163
-
164
  /**
165
  * OMAPI_Save object (loaded only in the admin)
166
  *
@@ -218,9 +211,9 @@ class OMAPI {
218
  public $rest_api;
219
 
220
  /**
221
- * AM_Notification object (loaded only in the admin)
222
  *
223
- * @var AM_Notification
224
  */
225
  public $notifications;
226
 
@@ -392,10 +385,12 @@ class OMAPI {
392
  public function load_rest() {
393
 
394
  // Register global components.
395
- $this->sites = new OMAPI_Sites();
396
- $this->rest_api = new OMAPI_RestApi();
397
- $this->refresh = new OMAPI_Refresh();
398
- $this->save = new OMAPI_Save();
 
 
399
 
400
  // Fire a hook to say that the global classes are loaded.
401
  do_action( 'optin_monster_api_rest_loaded' );
@@ -408,30 +403,22 @@ class OMAPI {
408
  */
409
  public function load_admin() {
410
 
411
- // Manually load notification api.
412
- require_once plugin_dir_path( __FILE__ ) . 'includes/class-am-notification.php';
413
-
414
  // Register admin components.
415
  $this->actions = new OMAPI_Actions();
416
  $this->menu = new OMAPI_Menu();
417
- $this->content = new OMAPI_Content();
418
  $this->save = new OMAPI_Save();
419
  $this->refresh = new OMAPI_Refresh();
420
  $this->validate = new OMAPI_Validate();
421
  $this->welcome = new OMAPI_Welcome();
422
  $this->trustpulse = new OMAPI_TrustPulse();
423
  $this->review = new OMAPI_Review();
424
- $this->pointer = new OMAPI_Pointer();
425
  $this->sites = new OMAPI_Sites();
426
- $this->notifications = new AM_Notification( 'om', $this->version );
427
 
428
- if ( $this->menu->has_trial_link() ) {
429
  $this->cc = new OMAPI_ConstantContact();
430
  }
431
 
432
- $this->save->maybe_save();
433
- $this->refresh->maybe_refresh();
434
-
435
  // Fire a hook to say that the admin classes are loaded.
436
  do_action( 'optin_monster_api_admin_loaded' );
437
 
@@ -543,19 +530,31 @@ class OMAPI {
543
  *
544
  * @since 1.0.0
545
  *
546
- * @return array The main option array for the plugin.
 
 
 
 
547
  */
548
- public function get_option( $key = '', $subkey = '', $default = false ) {
549
 
550
  $option = get_option( 'optin_monster_api' );
551
- if ( ! empty( $key ) && ! empty( $subkey ) ) {
552
- return isset( $option[ $key ][ $subkey ] ) ? $option[ $key ][ $subkey ] : $default;
553
- } elseif ( ! empty( $key ) ) {
554
- return isset( $option[ $key ] ) ? $option[ $key ] : $default;
555
- } else {
556
- return $option;
 
 
 
 
 
 
 
557
  }
558
 
 
559
  }
560
 
561
  /**
@@ -631,42 +630,6 @@ class OMAPI {
631
  return ! empty( $customApiUrl ) ? $customApiUrl : OPTINMONSTER_APIJS_URL;
632
  }
633
 
634
- /**
635
- * Check to see if we have any optins to migrate to the SaaS
636
- *
637
- * @since 1.0.0
638
- *
639
- * @return bool
640
- */
641
- public function can_migrate() {
642
- if ( false == ( $old_optins = get_transient( '_om_old_optins' ) ) ) {
643
- $args = array(
644
- 'post_type' => 'optin',
645
- 'posts_per_page' => -1,
646
- );
647
- $old_optins = get_posts( $args );
648
- set_transient( '_om_old_optins', $old_optins, DAY_IN_SECONDS );
649
- }
650
-
651
- if ( empty( $old_optins ) ) {
652
- return false;
653
- }
654
-
655
- return true;
656
-
657
- }
658
-
659
- /**
660
- * Check for legacy Optin_Monster class
661
- *
662
- * @since 1.1.5
663
- *
664
- * @return bool
665
- */
666
- public static function is_legacy_active() {
667
- return class_exists( 'Optin_Monster' );
668
- }
669
-
670
  /**
671
  * Check if the main WooCommerce class is active.
672
  *
@@ -726,23 +689,8 @@ class OMAPI {
726
  * @return bool True if there are API key errors, false otherwise.
727
  */
728
  public function get_api_key_errors() {
729
-
730
  $option = $this->get_option();
731
  return isset( $option['is_expired'] ) && $option['is_expired'] || isset( $option['is_disabled'] ) && $option['is_disabled'] || isset( $option['is_invalid'] ) && $option['is_invalid'];
732
-
733
- }
734
-
735
- /**
736
- * Retrieves the proper default view for the OptinMonster settings page.
737
- *
738
- * @since 1.0.0
739
- *
740
- * @return string $view The default view for the OptinMonster settings page.
741
- */
742
- public function get_view() {
743
-
744
- return $this->get_api_credentials() ? 'optins' : 'api';
745
-
746
  }
747
 
748
  /**
@@ -775,6 +723,28 @@ class OMAPI {
775
  echo str_replace( array( "\n", "\r", "\t" ), '', ob_get_clean() );
776
  }
777
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
778
  /**
779
  * Loads the default plugin options.
780
  *
@@ -785,15 +755,18 @@ class OMAPI {
785
  public static function default_options() {
786
 
787
  $options = array(
788
- 'api' => array(),
789
- 'optins' => array(),
790
- 'is_expired' => false,
791
- 'is_disabled' => false,
792
- 'is_invalid' => false,
793
- 'installed' => time(),
794
- 'connected' => '',
795
- 'beta' => false,
796
- 'welcome' => array(
 
 
 
797
  'status' => 'none',
798
  ),
799
  );
@@ -944,9 +917,45 @@ class OMAPI {
944
  '</div>';
945
  }
946
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
947
  /**
948
  * Get beta version.
949
  *
 
 
950
  * @param string $format The php date format.
951
  *
952
  * @return bool
@@ -970,35 +979,65 @@ class OMAPI {
970
  }
971
 
972
  /**
973
- * Get the asset version for enqueued assets.
974
  *
975
- * @since 1.9.10
976
  *
977
- * @return mixed
 
 
978
  */
979
- public function asset_version() {
980
- if ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) {
981
- return time();
982
- }
983
-
984
- if ( defined( 'OPTINMONSTER_ENV' ) && 'dev' === strtolower( OPTINMONSTER_ENV ) ) {
985
- return time();
986
- }
987
 
988
- return $this->beta_enabled() && $this->beta_version( 'U' )
989
- ? $this->beta_version( 'U' )
990
- : $this->version;
 
 
 
 
 
 
 
 
991
  }
992
 
993
  /**
994
- * Check if beta is enabled.
 
995
  *
996
- * @return bool
 
 
 
 
 
997
  */
998
- public function beta_enabled() {
999
- $option = $this->get_option();
 
1000
 
1001
- return apply_filters( 'optin_monster_beta_enabled', ! empty( $option['beta'] ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1002
  }
1003
 
1004
  /**
@@ -1009,13 +1048,11 @@ class OMAPI {
1009
  * @return OMAPI
1010
  */
1011
  public static function get_instance() {
1012
-
1013
  if ( ! isset( self::$instance ) && ! ( self::$instance instanceof OMAPI ) ) {
1014
  self::$instance = new OMAPI();
1015
  }
1016
 
1017
  return self::$instance;
1018
-
1019
  }
1020
  }
1021
 
1
  <?php
2
  /**
3
+ * Plugin Name: OptinMonster
4
  * Plugin URI: https://optinmonster.com
5
  * Description: OptinMonster is the best WordPress popup plugin that helps you grow your email list and sales with email popups, exit intent popups, floating bars and more!
6
  * Author: OptinMonster Team
7
  * Author URI: https://optinmonster.com
8
+ * Version: 2.0.0
9
  * Text Domain: optin-monster-api
10
  * Domain Path: languages
11
  * WC requires at least: 3.2.0
12
+ * WC tested up to: 4.7.0
13
  *
14
  * OptinMonster is free software: you can redistribute it and/or modify
15
  * it under the terms of the GNU General Public License as published by
62
  *
63
  * @var string
64
  */
65
+ public $version = '2.0.0';
66
 
67
  /**
68
  * The name of the plugin.
71
  *
72
  * @var string
73
  */
74
+ public $plugin_name = 'OptinMonster';
75
 
76
  /**
77
  * Unique plugin slug identifier.
154
  */
155
  public $menu;
156
 
 
 
 
 
 
 
 
157
  /**
158
  * OMAPI_Save object (loaded only in the admin)
159
  *
211
  public $rest_api;
212
 
213
  /**
214
+ * OMAPI_Notifications object (loaded only in the admin/REST API)
215
  *
216
+ * @var OMAPI_Notifications
217
  */
218
  public $notifications;
219
 
385
  public function load_rest() {
386
 
387
  // Register global components.
388
+ $this->actions = new OMAPI_Actions();
389
+ $this->sites = new OMAPI_Sites();
390
+ $this->rest_api = new OMAPI_RestApi();
391
+ $this->refresh = new OMAPI_Refresh();
392
+ $this->save = new OMAPI_Save();
393
+ $this->notifications = new OMAPI_Notifications();
394
 
395
  // Fire a hook to say that the global classes are loaded.
396
  do_action( 'optin_monster_api_rest_loaded' );
403
  */
404
  public function load_admin() {
405
 
 
 
 
406
  // Register admin components.
407
  $this->actions = new OMAPI_Actions();
408
  $this->menu = new OMAPI_Menu();
 
409
  $this->save = new OMAPI_Save();
410
  $this->refresh = new OMAPI_Refresh();
411
  $this->validate = new OMAPI_Validate();
412
  $this->welcome = new OMAPI_Welcome();
413
  $this->trustpulse = new OMAPI_TrustPulse();
414
  $this->review = new OMAPI_Review();
 
415
  $this->sites = new OMAPI_Sites();
416
+ $this->notifications = new OMAPI_Notifications();
417
 
418
+ if ( OMAPI_Partners::has_partner_url() ) {
419
  $this->cc = new OMAPI_ConstantContact();
420
  }
421
 
 
 
 
422
  // Fire a hook to say that the admin classes are loaded.
423
  do_action( 'optin_monster_api_admin_loaded' );
424
 
530
  *
531
  * @since 1.0.0
532
  *
533
+ * @param string $key The option value to get for given key.
534
+ * @param string $subkey The option value to get for given key and sub-key.
535
+ * @param mixed $fallback The fallback value.
536
+ *
537
+ * @return mixed The main option array for the plugin, or requsted value.
538
  */
539
+ public function get_option( $key = '', $subkey = '', $fallback = false ) {
540
 
541
  $option = get_option( 'optin_monster_api' );
542
+
543
+ if ( ! empty( $key ) ) {
544
+ if ( ! isset( $option[ $key ] ) ) {
545
+ return $fallback;
546
+ }
547
+
548
+ if ( ! empty( $subkey ) ) {
549
+ return isset( $option[ $key ], $option[ $key ][ $subkey ] )
550
+ ? $option[ $key ][ $subkey ]
551
+ : $fallback;
552
+ }
553
+
554
+ return $option[ $key ];
555
  }
556
 
557
+ return $option;
558
  }
559
 
560
  /**
630
  return ! empty( $customApiUrl ) ? $customApiUrl : OPTINMONSTER_APIJS_URL;
631
  }
632
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
633
  /**
634
  * Check if the main WooCommerce class is active.
635
  *
689
  * @return bool True if there are API key errors, false otherwise.
690
  */
691
  public function get_api_key_errors() {
 
692
  $option = $this->get_option();
693
  return isset( $option['is_expired'] ) && $option['is_expired'] || isset( $option['is_disabled'] ) && $option['is_disabled'] || isset( $option['is_invalid'] ) && $option['is_invalid'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
694
  }
695
 
696
  /**
723
  echo str_replace( array( "\n", "\r", "\t" ), '', ob_get_clean() );
724
  }
725
 
726
+ /**
727
+ * Return the level of the OM user.
728
+ *
729
+ * @since 2.0.0
730
+ *
731
+ * @return string The level.
732
+ */
733
+ public function get_level() {
734
+ return $this->get_option( 'currentLevel', '', '' );
735
+ }
736
+
737
+ /**
738
+ * Check if the OM user has a custom plan.
739
+ *
740
+ * @since 2.0.0
741
+ *
742
+ * @return string The level.
743
+ */
744
+ public function is_custom_plan() {
745
+ return 'vbp_custom' === $this->get_option( 'plan' );
746
+ }
747
+
748
  /**
749
  * Loads the default plugin options.
750
  *
755
  public static function default_options() {
756
 
757
  $options = array(
758
+ 'api' => array(),
759
+ 'optins' => array(),
760
+ 'is_expired' => false,
761
+ 'is_disabled' => false,
762
+ 'is_invalid' => false,
763
+ 'installed' => time(),
764
+ 'connected' => '',
765
+ 'beta' => false,
766
+ 'auto_updates' => '',
767
+ 'usage_tracking' => false,
768
+ 'hide_announcements' => false,
769
+ 'welcome' => array(
770
  'status' => 'none',
771
  ),
772
  );
917
  '</div>';
918
  }
919
 
920
+ /**
921
+ * Get the asset version for enqueued assets.
922
+ *
923
+ * @since 1.9.10
924
+ *
925
+ * @return mixed
926
+ */
927
+ public function asset_version() {
928
+ if ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) {
929
+ return time();
930
+ }
931
+
932
+ if ( defined( 'OPTINMONSTER_ENV' ) && 'dev' === strtolower( OPTINMONSTER_ENV ) ) {
933
+ return time();
934
+ }
935
+
936
+ return $this->beta_enabled() && $this->beta_version( 'U' )
937
+ ? $this->beta_version( 'U' )
938
+ : $this->version;
939
+ }
940
+
941
+ /**
942
+ * Check if beta is enabled.
943
+ *
944
+ * @since 2.0.0
945
+ *
946
+ * @return bool
947
+ */
948
+ public function beta_enabled() {
949
+ $option = $this->get_option();
950
+
951
+ return apply_filters( 'optin_monster_beta_enabled', ! empty( $option['beta'] ) );
952
+ }
953
+
954
  /**
955
  * Get beta version.
956
  *
957
+ * @since 2.0.0
958
+ *
959
  * @param string $format The php date format.
960
  *
961
  * @return bool
979
  }
980
 
981
  /**
982
+ * The access capability required for access to OptinMonster pages/settings.
983
  *
984
+ * @since 2.0.0
985
  *
986
+ * @param string|null $slug The menu slug. Null by default.
987
+ *
988
+ * @return string The access capability.
989
  */
990
+ public function access_capability( $slug = null ) {
991
+ return apply_filters( 'optin_monster_api_menu_cap', 'manage_options', $slug );
992
+ }
 
 
 
 
 
993
 
994
+ /**
995
+ * Check if user has access capability required for access to OptinMonster pages/settings.
996
+ *
997
+ * @since 2.0.0
998
+ *
999
+ * @param string|null $slug The menu slug. Null by default.
1000
+ *
1001
+ * @return bool Whether user has access.
1002
+ */
1003
+ public function can_access( $slug = null ) {
1004
+ return current_user_can( $this->access_capability( $slug ) );
1005
  }
1006
 
1007
  /**
1008
+ * Get app url, with proper query args set to ensure going to correct account, and setting return
1009
+ * query arg to come back (if relevant on the destination page).
1010
  *
1011
+ * @since 2.0.0
1012
+ *
1013
+ * @param string $path The path on the app.
1014
+ * @param string $return_url Url to return. Will default to wp_get_referer().
1015
+ *
1016
+ * @return string The app url.
1017
  */
1018
+ public function app_url( $path, $return_url = '' ) {
1019
+ $app_url = OPTINMONSTER_APP_URL . '/';
1020
+ $final_destination = $app_url . $path;
1021
 
1022
+ if ( empty( $return_url ) ) {
1023
+
1024
+ $return_url = wp_get_referer();
1025
+ if ( empty( $return_url ) ) {
1026
+ $return_url = $this->menu->get_dashboard_link();
1027
+ }
1028
+ }
1029
+ $return_url = urlencode( $return_url );
1030
+
1031
+ $final_destination = add_query_arg( 'return', $return_url, $final_destination );
1032
+
1033
+ $url = add_query_arg( 'redirect_to', urlencode( $final_destination ), $app_url );
1034
+
1035
+ $account_id = $this->get_option( 'userId' );
1036
+ if ( ! empty( $account_id ) ) {
1037
+ $url = add_query_arg( 'accountId', $account_id, $url );
1038
+ }
1039
+
1040
+ return $url;
1041
  }
1042
 
1043
  /**
1048
  * @return OMAPI
1049
  */
1050
  public static function get_instance() {
 
1051
  if ( ! isset( self::$instance ) && ! ( self::$instance instanceof OMAPI ) ) {
1052
  self::$instance = new OMAPI();
1053
  }
1054
 
1055
  return self::$instance;
 
1056
  }
1057
  }
1058
 
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: optinmonster, griffinjt, smub
3
  Tags: marketing, popups, popup builder, newsletter, conversion, optin forms, forms, subscribers, exit intent popup, email marketing, crm, popup maker, popup plugin, cart abandonment, spin a wheel popup, conversion optimization, a/b testing, email opt-in, retargeting, ecommerce, cro, lightbox, promotion, shipping bar, announcement bar, advertising, mailing list, popup slide-in
4
  Requires at least: 4.7.0
5
- Tested up to: 5.5
6
  Requires PHP: 5.3
7
- Stable tag: 1.9.18
8
  License: GNU General Public License v2.0 or later
9
 
10
  Create popups, opt-in forms, & floating bars to get more email newsletter subscribers, leads, and increase sales conversion - #1 marketing popup plugin.
@@ -471,6 +471,16 @@ Syed Balkhi
471
 
472
  **Most Recent Changes:**
473
 
 
 
 
 
 
 
 
 
 
 
474
  = 1.9.18 =
475
  * Fixed a bug where review notice wouldn't get dismissed.
476
  * Update the readme to be explicit about OptinMonster being a service.
@@ -485,48 +495,4 @@ Syed Balkhi
485
  = 1.9.15 =
486
  * Fixed a bug that caused issues for non-admin users when the plugin was not yet connected to an OptinMonster account.
487
 
488
- = 1.9.14 =
489
- * Fixed a bug that occasionally prevented changes in campaigns via the OptinMonster App to not properly sync to the plugin, due to cached responses.
490
-
491
- = 1.9.13 =
492
- * Fixed a bug that caused campaigns to be incorrectly referenced in the admin dashboard.
493
-
494
- = 1.9.12 =
495
- * Fixed a bug where the `Access-Control-Allow-Headers` was being improperly reset for REST requests.
496
-
497
- = 1.9.11 =
498
- * Fixed a bug that caused too many redirects in the admin when clicking on certain plugin settings links.
499
- * Removed a plugin action link that was not used.
500
-
501
- = 1.9.10 =
502
- * New Gutenberg block for embedding inline campaigns.
503
- * Improved syncing of data between the OptinMonster app and the WordPress plugin to help with shortcode parsing, and adding/removing campaigns when going live or pausing. Will also retain previously saved Output Settings when un-pausing a campaign and refreshing.
504
- * Improvements to a11y across the plugin's admin pages.
505
- * Updated Constant Contact branding
506
- * Updates to improve performance on the plugin's admin pages.
507
- * Minified assets to improve performance on the plugin's admin pages.
508
- * Increase timeout time for the WooCommerce auto-generate keys request to accomodate for some servers.
509
- * Clean up admin notices when on the OptinMonster plugin's admin pages.
510
- * New About Us page.
511
- * Added filter for auto-enabling new campaigns (true by default).
512
- * Added filter for changing the API enqueue location from the default footer.
513
- * Added plugin settings menu links to plugin action links in the Plugins table.
514
- * Improvements to the Welcome page to allow connecting account directly.
515
- * Improvements to the account-connection process.
516
- * Improvements to the Campaigns page.
517
- * Improvements to the Campaigns' Output Settings pages.
518
- * Fix bug with mailpoet phone number possibly being set to 0.
519
- * Fix bug to allow campaigns to show on categories, even when the category is registered to a non-"post" post-type.
520
- * Fixed potential issues with storing our embed code for multisite installations.
521
- * Fixed bug where cookie-delete button was not deleting all OptinMonster cookies for given user.
522
- * Improved WooCommerce connect screen by showing the auto-generate option by default.
523
- * Removed duplicate WooCommerce categories/tags from the Output Settings.
524
- * Various other bug fixes, and performance updates.
525
- * Improved debug output.
526
-
527
- = 1.9.9 =
528
- * Fix issue where if multiple post tags were selected, popups and other campaigns would only appear on the first tag selected.
529
- * Fix campaign shortcode suggestion in admin being incorrect.
530
- * Full security audit to patch any potential issues.
531
-
532
  **[View entire changelog](https://plugins.svn.wordpress.org/optinmonster/trunk/CHANGELOG.md)**
2
  Contributors: optinmonster, griffinjt, smub
3
  Tags: marketing, popups, popup builder, newsletter, conversion, optin forms, forms, subscribers, exit intent popup, email marketing, crm, popup maker, popup plugin, cart abandonment, spin a wheel popup, conversion optimization, a/b testing, email opt-in, retargeting, ecommerce, cro, lightbox, promotion, shipping bar, announcement bar, advertising, mailing list, popup slide-in
4
  Requires at least: 4.7.0
5
+ Tested up to: 5.6
6
  Requires PHP: 5.3
7
+ Stable tag: 2.0.0
8
  License: GNU General Public License v2.0 or later
9
 
10
  Create popups, opt-in forms, & floating bars to get more email newsletter subscribers, leads, and increase sales conversion - #1 marketing popup plugin.
471
 
472
  **Most Recent Changes:**
473
 
474
+ = 2.0.0 =
475
+ * NEW: Overhaul of the plugin to make managing your popup campaigns easier than ever!
476
+ * Added the ability to see all your popup campaigns in your dashboard (draft, pending and published)
477
+ * Added a new dashboard to see stats and details about your popup optins
478
+ * Added the ability to see all popup templates and create new popup campaigns from within the plugin
479
+ * Added a new menu link to see all your popup subscribers
480
+ * Added the ability to create popup split tests from within the plugin
481
+ * Improved the popup output settings for each individual popup campaign
482
+ * Many other performance improvements, product enhancements and bug fixes to the plugin
483
+
484
  = 1.9.18 =
485
  * Fixed a bug where review notice wouldn't get dismissed.
486
  * Update the readme to be explicit about OptinMonster being a service.
495
  = 1.9.15 =
496
  * Fixed a bug that caused issues for non-admin users when the plugin was not yet connected to an OptinMonster account.
497
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
498
  **[View entire changelog](https://plugins.svn.wordpress.org/optinmonster/trunk/CHANGELOG.md)**
views/archie-loading.php ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <div class="om-archie-loading">
2
+ <svg height="100%" width="100%" version="1.1" viewBox="0 0 50 50">
3
+ <circle cx="25" cy="25" r="23" fill="none" />
4
+ <path
5
+ d="M12.75 27.84c.3.06.83.12 1.07.42l.12.11c.36-.05.72-.05 1.08-.11-.18-.12-.36-.24-.54-.3-.36-.6-.9-.72-1.61-.78V27c-1.32-.06-2.94-.36-3.66-1.2-.84-.9-.96-2.46-.84-3.66A4.7 4.7 0 0110 18.91c.54-.36 1.44-.06 1.5.66.06.3.12 1.38.36 1.5.3.18.84.24 1.38.24a8.83 8.83 0 011.73-1.32c-.96-.12-1.91.12-2.93.24l.84-.84a15.24 15.24 0 018.03-3.54c-1.26-.54-2.64-.78-3.96-1.08 5.1-1.07 11.63-1.5 16.24 2.52 1.2 1.02 2.16 2.4 2.81 4.02.72.11 1.68.11 2.16-.18.3-.18.36-1.2.36-1.5.06-.66.96-1.02 1.5-.66.96.72 1.5 2.04 1.62 3.17.12 1.2 0 2.76-.84 3.66-.72.84-2.28 1.14-3.6 1.2v.18c-.71 0-1.31.18-1.67.78-.18.06-.36.18-.54.3.36.06.78.11 1.14.11 0-.05.06-.11.12-.11.23-.3.77-.36 1.07-.42h.24c.12-.36.48-.78.96-.66s.96.66 1.02 1.08c.72.3 1.5.77 1.68 1.73a17.55 17.55 0 01-2.15 3.67 4 4 0 01-.6.17c-.13 0-.25.06-.3.06v.86c-.28.31-.57.6-.87.9.02-.67.02-1.35.02-2-.18-.12-.36-.3-.54-.48a1.72 1.72 0 01-1.01-.6c-.12-.3.12-.48.42-.66 0-.06-.06-.12-.06-.18a1.21 1.21 0 01-.48-.24 31.57 31.57 0 01-6.9 5.1c1.65.5 3.24 1.1 4.8 1.83-.37.2-.74.4-1.12.57a25.37 25.37 0 00-4.7-1.87c-.9.42-1.85.78-2.81 1.02-.12.06-.12.06-.3 0-.78-.24-1.56-.54-2.34-.9A29 29 0 0017.7 39c-.38-.17-.76-.36-1.12-.56 1.5-.73 3.04-1.34 4.62-1.8a26.15 26.15 0 01-6.48-5.15c-.12.06-.36.18-.53.24 0 .06 0 .12-.07.18.3.18.55.42.42.66-.11.3-.6.48-1.01.6-.12.18-.36.3-.54.42v2.24c-.38-.35-.74-.72-1.08-1.1v-.84c-.12 0-.18 0-.3-.06a4.24 4.24 0 01-.57-.16 17.6 17.6 0 01-2.18-3.7 2.7 2.7 0 011.67-1.71c.06-.42.54-.96 1.02-1.08.48-.12.84.3.96.66h.24zm1.73 2.21c2.94 3.12 6.18 5.7 10.37 7.07 4.5-1.25 7.67-4.01 10.84-7.13-.3-.12-.6-.36-.53-.6 0-.06.06-.12.06-.18l-1.74-.18c-.66 2.22-2.4 3.54-3.12 2.1-.18-.36-.24-.78-.3-1.14-.24.54-.9.54-1.61.6-.9.06-2.1.06-2.94-.18-.18.84-.72.84-1.8.96-.96.06-3.23.3-3.65-.72-.06 1.92-2.34.66-3-.48-.24-.36-.36-.78-.48-1.2l-1.56.18c.06.06.06.12.06.18 0 .42-.24.6-.6.72zm16.24.54c.06.42.18.48.6.3 1.08-.54 1.5-2.63 1.56-3.77-.84-.06-1.74-.06-2.64-.06.24 1.14.3 2.33.48 3.53zm-11.92.24c.36.18.6.18.66-.3.12-.6.18-2.45.3-3.47-.84 0-1.62.06-2.46.12-.3 1.32.06 3 1.5 3.65zM24.55 27c-1.32 0-2.58 0-3.83.06-.12.6-.3 3.23.11 3.41.84.36 2.76.36 3.66.12.24-.18.12-3.05.06-3.6zm.9 0c0 .3 0 2.51.3 2.7.72.35 2.64.3 3.41.05.36-.12.18-2.45.12-2.81-1.26 0-2.57 0-3.83.06zm-11.2-4.92c-.37.06-.67.18-1.02.3l-.84.36a5.36 5.36 0 00-.36 3.54c.3.06.6.06.84.06.18-1.5.66-2.94 1.37-4.26zm22.94-.06h-.78c.48 1.38.84 2.82.96 4.32.24 0 .48 0 .78-.06.42-1.62 0-3.42-.96-4.26zm-25.7 4.14a5.3 5.3 0 01.84-4.2c-.3-.06-.72-.18-.96-.36-1.26.36-1.86 1.8-1.98 3.24.12.18.18.36.3.48.42.42 1.08.66 1.8.84zm27.26 0a3.34 3.34 0 001.74-.78c.12-.12.24-.3.3-.48-.06-1.44-.66-2.82-1.98-3.24-.24.24-.6.3-.96.36.9.96 1.14 2.7.9 4.14zm-18.63-5.63a5.09 5.09 0 1010.18 0 5.04 5.04 0 00-5.09-5.04 5.08 5.08 0 00-5.1 5.04zm5.15-1.62c-.48 0-.96.06-1.38.24.6.18 1.08.78 1.08 1.44 0 .83-.72 1.55-1.68 1.55-.6 0-1.14-.3-1.44-.78-.06.24-.06.48-.06.78 0 1.8 1.56 3.24 3.42 3.24 1.92 0 3.47-1.44 3.47-3.24.06-1.8-1.5-3.23-3.41-3.23zm-14.2 2.22c-.06-.18-.18-.54-.18-.96 0-.42-.48-.54-.96-.06-.78.78-.96 2.7-.9 3.41.3-.9.9-1.92 2.04-2.4zm28.04 0a3.78 3.78 0 012.04 2.4c.06-.73-.18-2.64-.9-3.42-.48-.48-.96-.36-.96.06s-.12.78-.18.96zm-16.78-7.67c1.68-3.72 8.15-3.24 8.4 1.55-2.34-2.63-5.4-3.17-8.4-1.55z"
6
+ fill="#858b98"
7
+ />
8
+ </svg>
9
+ </div>
views/constantcontact.php CHANGED
@@ -1,6 +1,11 @@
1
  <style type="text/css">
2
- .admin_page_optin-monster-constant-contact #wpbody {
 
 
 
3
  background: #fff;
 
 
4
  }
5
 
6
  .notice {
1
  <style type="text/css">
2
+ .omapi-constant-contact #wpcontent {
3
+ padding: 0;
4
+ }
5
+ .omapi-constant-contact #wpbody {
6
  background: #fff;
7
+ padding-left: 40px;
8
+ padding-right: 40px;
9
  }
10
 
11
  .notice {
views/jiggle-css.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <style type="text/css">
2
+ .om-notifications-count:not(.count-0) {
3
+ animation-duration: 10s;
4
+ animation-timing-function: ease-out;
5
+ animation-delay: 3s;
6
+ animation-iteration-count: infinite;
7
+ animation-direction: normal;
8
+ animation-fill-mode: both;
9
+ animation-play-state: running;
10
+ animation-name: omjiggle;
11
+ }
12
+ @keyframes omjiggle {
13
+ <?php // these percentages cause the animation to occur for 1s, followed by 9s pause ?>
14
+ 1%, 9% {
15
+ transform: translate3d(-1px, 0, 0);
16
+ }
17
+
18
+ 2%, 8% {
19
+ transform: translate3d(2px, 0, 0);
20
+ }
21
+
22
+ 3%, 5%, 7% {
23
+ transform: translate3d(-3px, 0, 0);
24
+ }
25
+
26
+ 4%, 6% {
27
+ transform: translate3d(3px, 0, 0);
28
+ }
29
+ }
30
+ </style>
views/logo.svg CHANGED
@@ -1,4 +1,4 @@
1
- <svg class ="omapi-svg-logo" width="100%" height="100%" viewBox="0 0 716 112" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;">
2
  <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
3
  <path d="M565.437,342.797C565.437,343.888 564.892,344.524 563.711,344.707C561.166,345.071 547.717,345.071 545.355,344.616C544.174,344.344 543.54,343.526 543.54,342.162C543.54,338.891 543.903,328.168 543.903,324.897C543.903,322.354 543.63,313.993 543.63,311.447C543.63,305.905 541.268,303.179 536.451,303.179C533.543,303.179 527.546,306.541 527.546,309.813L527.546,342.526C527.546,343.889 526.91,344.616 525.635,344.799C523,345.161 510.097,345.072 507.735,344.708C506.462,344.525 505.827,343.798 505.827,342.709L505.917,314.176C505.917,304.089 505.099,296.183 503.555,290.458C503.372,289.64 503.281,288.459 504.371,288.187C506.916,287.914 510.277,287.46 514.549,286.823C520.999,285.551 524.544,284.916 525.361,284.916C526.544,284.916 526.272,293.094 527.451,293.094C527.906,293.094 529.178,291.731 533.994,288.914C538.81,286.097 542.992,284.733 546.536,284.733C556.35,284.733 565.164,289.548 565.164,299.998C565.164,311.63 565.164,318.809 565.255,331.167C565.255,336.44 565.346,340.346 565.346,342.981L565.437,342.797ZM605.785,295.545C605.785,295.908 605.51,296.453 604.875,297.18C599.967,295.908 592.516,297.453 592.516,303.45C592.516,308.72 604.421,313.358 604.421,325.352C604.421,329.35 602.695,334.984 599.697,337.436C593.699,342.525 584.975,346.795 577.251,346.795C575.343,346.795 567.619,333.892 567.619,332.165C567.619,331.802 567.891,331.62 568.255,331.529C571.071,330.984 573.98,330.439 576.796,329.984C580.342,328.802 582.158,326.986 582.158,324.351C582.158,322.533 581.158,320.534 579.07,318.171C575.344,314.082 573.434,311.901 573.254,311.629C562.803,296.088 580.615,281.277 597.063,281.277C598.607,281.277 605.695,294.272 605.695,295.453L605.785,295.545ZM652.946,326.804C652.946,328.714 652.038,335.8 652.038,337.71C652.038,340.073 651.765,340.162 649.675,341.345C644.496,344.16 638.679,345.615 632.319,345.615C620.596,345.615 614.781,341.162 614.781,332.166C614.781,327.716 615.417,312.631 615.417,308.086C615.417,303.272 608.42,307.27 608.42,303.815C608.42,302.725 608.693,298.908 608.693,297.909C608.693,296.454 608.42,291.547 608.42,290.185C608.42,289.367 609.692,288.913 612.328,288.821C613.782,288.821 614.599,288.367 614.69,287.64C614.962,286.095 615.053,283.642 614.962,280.371C614.781,275.191 614.69,273.192 614.69,272.919C614.69,268.194 615.145,265.922 616.053,265.922C617.78,265.922 624.049,267.376 625.504,267.557C627.592,267.83 630.683,268.284 634.864,268.739C635.864,268.83 636.408,269.193 636.408,269.738C636.408,272.464 635.589,281.734 635.589,284.46C635.589,286.459 636.137,287.458 637.317,287.458C639.679,287.458 647.767,287.094 650.222,287.094C651.13,287.094 651.584,287.368 651.584,288.004C651.584,289.821 650.947,294.547 650.947,296.364L651.039,304.815C651.039,305.633 650.494,306.087 649.311,306.087C645.132,305.996 640.863,305.905 636.68,305.905C636.044,305.905 635.772,306.814 635.772,308.54L635.864,317.173C635.864,323.534 636.679,326.805 643.405,326.805C647.222,326.805 652.946,323.718 652.946,326.716L652.946,326.804ZM690.476,307.903C690.476,299.906 680.572,294.727 675.119,301.633C673.575,303.632 672.847,305.904 672.847,308.63C672.847,309.719 673.392,310.266 674.575,310.266C677.573,310.266 682.208,309.811 688.568,308.902C689.931,308.719 690.568,308.358 690.568,307.903L690.476,307.903ZM711.74,311.629C711.74,315.719 710.379,318.079 707.742,318.626C707.289,318.717 703.107,319.171 695.202,319.989C690.385,320.534 683.298,321.17 673.847,321.898C675.575,330.166 689.295,331.712 697.836,326.714C699.381,325.714 700.927,324.804 702.471,323.804C704.289,324.715 709.741,335.163 709.741,337.073C709.741,337.346 709.469,337.798 708.834,338.437C703.926,343.706 696.292,346.342 685.842,346.342C666.759,346.342 653.492,334.256 653.492,315.08C653.492,296.726 665.124,283.003 683.844,283.003C691.567,283.003 698.201,285.82 703.653,291.545C709.103,297.179 711.83,303.903 711.83,311.717L711.74,311.629ZM752.813,306.813C752.813,309.902 749.363,309.175 746.816,308.995C743.092,308.72 738.639,308.72 736.64,310.447C735.457,311.446 734.822,313.629 734.822,316.808C734.822,319.718 735.005,329.714 735.005,332.62C735.005,334.528 735.459,341.161 735.459,343.07C735.459,344.07 734.822,344.615 733.46,344.706C729.552,345.069 719.376,345.069 715.287,344.615C713.923,344.434 713.288,343.797 713.288,342.615L713.377,313.537C713.377,303.995 712.469,296.181 710.743,290.092C710.56,289.274 710.469,288.184 711.56,288.002C713.832,287.73 717.012,287.275 721.375,286.639C727.735,285.367 731.097,284.731 731.279,284.731C733.097,284.731 732.37,292.364 733.733,292.364C734.278,292.364 734.821,291.274 738.731,289.184C742.637,287.093 746.364,286.003 749.906,286.003C752.177,286.003 753.268,286.457 753.268,287.457C753.268,288.638 753.177,290.274 752.905,292.455C752.268,298.361 752.632,301.815 752.632,306.813L752.813,306.813ZM404.505,342.344C404.505,343.706 403.869,344.524 402.687,344.706C400.236,345.069 386.967,345.069 384.515,344.615C383.333,344.343 382.698,343.343 382.698,341.616C382.698,338.437 383.061,328.075 383.061,324.987C383.061,317.899 382.97,312.901 382.788,309.902C382.516,305.086 380.244,302.724 375.973,302.724C372.156,302.724 367.613,306.54 367.159,310.447C366.977,312.174 366.886,317.08 366.886,325.352C366.886,328.531 367.249,339.436 367.249,342.708C367.249,344.071 366.704,344.707 365.523,344.707L347.166,344.707C346.077,344.707 345.44,343.889 345.44,342.253C345.44,338.983 345.804,328.351 345.804,325.081C345.804,322.534 345.531,313.994 345.531,311.447C345.531,296.546 329.72,304.178 329.72,309.54L329.81,342.436C329.81,344.524 329.628,344.616 327.539,344.797C323.177,345.159 315.816,345.159 310.273,344.707C308.274,344.524 308.274,344.524 308.274,342.436L308.365,313.358C308.365,306.723 307.91,299.272 306.911,291.002C306.729,290.003 306.548,288.913 307.638,288.549C309.637,287.731 316.725,287.368 318.088,287.094C319.451,286.822 325.358,285.005 327.629,285.005C329.447,285.005 328.538,293.547 329.356,293.456C331.81,292.819 337.535,284.551 349.439,284.551C356.526,284.551 363.796,287.913 365.704,294.819C369.976,289.003 378.335,284.551 385.515,284.551C395.69,284.551 404.234,289.548 404.234,300.18C404.234,303.815 403.871,315.901 403.871,319.535C403.871,323.807 404.234,338.255 404.234,342.526L404.505,342.344Z" style="fill:white;fill-rule:nonzero;"/>
4
  </g>
1
+ <svg class="omapi-svg-logo" width="100%" height="100%" viewBox="0 0 716 112" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;">
2
  <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
3
  <path d="M565.437,342.797C565.437,343.888 564.892,344.524 563.711,344.707C561.166,345.071 547.717,345.071 545.355,344.616C544.174,344.344 543.54,343.526 543.54,342.162C543.54,338.891 543.903,328.168 543.903,324.897C543.903,322.354 543.63,313.993 543.63,311.447C543.63,305.905 541.268,303.179 536.451,303.179C533.543,303.179 527.546,306.541 527.546,309.813L527.546,342.526C527.546,343.889 526.91,344.616 525.635,344.799C523,345.161 510.097,345.072 507.735,344.708C506.462,344.525 505.827,343.798 505.827,342.709L505.917,314.176C505.917,304.089 505.099,296.183 503.555,290.458C503.372,289.64 503.281,288.459 504.371,288.187C506.916,287.914 510.277,287.46 514.549,286.823C520.999,285.551 524.544,284.916 525.361,284.916C526.544,284.916 526.272,293.094 527.451,293.094C527.906,293.094 529.178,291.731 533.994,288.914C538.81,286.097 542.992,284.733 546.536,284.733C556.35,284.733 565.164,289.548 565.164,299.998C565.164,311.63 565.164,318.809 565.255,331.167C565.255,336.44 565.346,340.346 565.346,342.981L565.437,342.797ZM605.785,295.545C605.785,295.908 605.51,296.453 604.875,297.18C599.967,295.908 592.516,297.453 592.516,303.45C592.516,308.72 604.421,313.358 604.421,325.352C604.421,329.35 602.695,334.984 599.697,337.436C593.699,342.525 584.975,346.795 577.251,346.795C575.343,346.795 567.619,333.892 567.619,332.165C567.619,331.802 567.891,331.62 568.255,331.529C571.071,330.984 573.98,330.439 576.796,329.984C580.342,328.802 582.158,326.986 582.158,324.351C582.158,322.533 581.158,320.534 579.07,318.171C575.344,314.082 573.434,311.901 573.254,311.629C562.803,296.088 580.615,281.277 597.063,281.277C598.607,281.277 605.695,294.272 605.695,295.453L605.785,295.545ZM652.946,326.804C652.946,328.714 652.038,335.8 652.038,337.71C652.038,340.073 651.765,340.162 649.675,341.345C644.496,344.16 638.679,345.615 632.319,345.615C620.596,345.615 614.781,341.162 614.781,332.166C614.781,327.716 615.417,312.631 615.417,308.086C615.417,303.272 608.42,307.27 608.42,303.815C608.42,302.725 608.693,298.908 608.693,297.909C608.693,296.454 608.42,291.547 608.42,290.185C608.42,289.367 609.692,288.913 612.328,288.821C613.782,288.821 614.599,288.367 614.69,287.64C614.962,286.095 615.053,283.642 614.962,280.371C614.781,275.191 614.69,273.192 614.69,272.919C614.69,268.194 615.145,265.922 616.053,265.922C617.78,265.922 624.049,267.376 625.504,267.557C627.592,267.83 630.683,268.284 634.864,268.739C635.864,268.83 636.408,269.193 636.408,269.738C636.408,272.464 635.589,281.734 635.589,284.46C635.589,286.459 636.137,287.458 637.317,287.458C639.679,287.458 647.767,287.094 650.222,287.094C651.13,287.094 651.584,287.368 651.584,288.004C651.584,289.821 650.947,294.547 650.947,296.364L651.039,304.815C651.039,305.633 650.494,306.087 649.311,306.087C645.132,305.996 640.863,305.905 636.68,305.905C636.044,305.905 635.772,306.814 635.772,308.54L635.864,317.173C635.864,323.534 636.679,326.805 643.405,326.805C647.222,326.805 652.946,323.718 652.946,326.716L652.946,326.804ZM690.476,307.903C690.476,299.906 680.572,294.727 675.119,301.633C673.575,303.632 672.847,305.904 672.847,308.63C672.847,309.719 673.392,310.266 674.575,310.266C677.573,310.266 682.208,309.811 688.568,308.902C689.931,308.719 690.568,308.358 690.568,307.903L690.476,307.903ZM711.74,311.629C711.74,315.719 710.379,318.079 707.742,318.626C707.289,318.717 703.107,319.171 695.202,319.989C690.385,320.534 683.298,321.17 673.847,321.898C675.575,330.166 689.295,331.712 697.836,326.714C699.381,325.714 700.927,324.804 702.471,323.804C704.289,324.715 709.741,335.163 709.741,337.073C709.741,337.346 709.469,337.798 708.834,338.437C703.926,343.706 696.292,346.342 685.842,346.342C666.759,346.342 653.492,334.256 653.492,315.08C653.492,296.726 665.124,283.003 683.844,283.003C691.567,283.003 698.201,285.82 703.653,291.545C709.103,297.179 711.83,303.903 711.83,311.717L711.74,311.629ZM752.813,306.813C752.813,309.902 749.363,309.175 746.816,308.995C743.092,308.72 738.639,308.72 736.64,310.447C735.457,311.446 734.822,313.629 734.822,316.808C734.822,319.718 735.005,329.714 735.005,332.62C735.005,334.528 735.459,341.161 735.459,343.07C735.459,344.07 734.822,344.615 733.46,344.706C729.552,345.069 719.376,345.069 715.287,344.615C713.923,344.434 713.288,343.797 713.288,342.615L713.377,313.537C713.377,303.995 712.469,296.181 710.743,290.092C710.56,289.274 710.469,288.184 711.56,288.002C713.832,287.73 717.012,287.275 721.375,286.639C727.735,285.367 731.097,284.731 731.279,284.731C733.097,284.731 732.37,292.364 733.733,292.364C734.278,292.364 734.821,291.274 738.731,289.184C742.637,287.093 746.364,286.003 749.906,286.003C752.177,286.003 753.268,286.457 753.268,287.457C753.268,288.638 753.177,290.274 752.905,292.455C752.268,298.361 752.632,301.815 752.632,306.813L752.813,306.813ZM404.505,342.344C404.505,343.706 403.869,344.524 402.687,344.706C400.236,345.069 386.967,345.069 384.515,344.615C383.333,344.343 382.698,343.343 382.698,341.616C382.698,338.437 383.061,328.075 383.061,324.987C383.061,317.899 382.97,312.901 382.788,309.902C382.516,305.086 380.244,302.724 375.973,302.724C372.156,302.724 367.613,306.54 367.159,310.447C366.977,312.174 366.886,317.08 366.886,325.352C366.886,328.531 367.249,339.436 367.249,342.708C367.249,344.071 366.704,344.707 365.523,344.707L347.166,344.707C346.077,344.707 345.44,343.889 345.44,342.253C345.44,338.983 345.804,328.351 345.804,325.081C345.804,322.534 345.531,313.994 345.531,311.447C345.531,296.546 329.72,304.178 329.72,309.54L329.81,342.436C329.81,344.524 329.628,344.616 327.539,344.797C323.177,345.159 315.816,345.159 310.273,344.707C308.274,344.524 308.274,344.524 308.274,342.436L308.365,313.358C308.365,306.723 307.91,299.272 306.911,291.002C306.729,290.003 306.548,288.913 307.638,288.549C309.637,287.731 316.725,287.368 318.088,287.094C319.451,286.822 325.358,285.005 327.629,285.005C329.447,285.005 328.538,293.547 329.356,293.456C331.81,292.819 337.535,284.551 349.439,284.551C356.526,284.551 363.796,287.913 365.704,294.819C369.976,289.003 378.335,284.551 385.515,284.551C395.69,284.551 404.234,289.548 404.234,300.18C404.234,303.815 403.871,315.901 403.871,319.535C403.871,323.807 404.234,338.255 404.234,342.526L404.505,342.344Z" style="fill:white;fill-rule:nonzero;"/>
4
  </g>
views/plugin-banner.php CHANGED
@@ -1,29 +1,24 @@
1
  <script src="//use.typekit.net/pef1xgi.js"></script>
2
  <script>try{Typekit.load();}catch(e){}</script>
3
- <div class="omapi-static-banner">
4
- <div class="inner-container">
5
- <div class="logo-wrapper">
6
- <?php require dirname( __FILE__ ) . '/logo.svg' ?>
7
- <span class="omapi-logo-version">
8
- <?php printf( esc_html__( 'v%s', 'optin-monster-api' ), $this->version ); ?>
 
 
 
9
  <?php if ( $this->beta_version() ) : ?>
10
- &mdash; <strong>Beta Version: <?php echo $this->beta_version(); ?></strong>
11
  <?php endif; ?>
12
- </span>
13
- </div>
14
- <div class="static-menu">
15
- <ul>
16
- <li>
17
- <a target="_blank" rel="noopener" href="https://optinmonster.com/docs/"><?php esc_html_e( 'Need Help?', 'optin-monster-api' ); ?> </a>
18
- </li>
19
  <li>
20
- <a href="https://optinmonster.com/contact-us/" target="_blank" rel="noopener"><?php esc_html_e( 'Send Us Feedback', 'optin-monster-api' ); ?></a>
 
 
21
  </li>
22
- <?php if ( $this->get_api_credentials() ) : ?>
23
- <li class="omapi-menu-button">
24
- <a id="omapi-create-new-optin-button" href="<?php echo esc_url( OPTINMONSTER_APP_URL . '/campaigns/new/' ); ?>" class="button button-secondary omapi-new-optin" title="<?php echo esc_attr_e( 'Create New Campaign', 'optin-monster-api' ); ?>" rel="noopener"><?php esc_html_e( 'Create New Campaign', 'optin-monster-api' ); ?></a>
25
- </li>
26
- <?php endif; ?>
27
  </ul>
28
  </div>
29
  </div>
1
  <script src="//use.typekit.net/pef1xgi.js"></script>
2
  <script>try{Typekit.load();}catch(e){}</script>
3
+ <div class="omapi-plugin-header" id="omwp-plugin-banner">
4
+ <style>.omapi-svg-logo {width: 164px;margin-right: 13px;}</style>
5
+ <div class="omapi-plugin-banner">
6
+ <div class="omapi-plugin-banner__wrapper">
7
+ <div class="omapi-plugin-banner__logo">
8
+ <img src="<?php echo esc_url( $data['logo'] ); ?>" alt="OptinMonster Logo">
9
+ <span class="omapi-plugin-banner__page">
10
+ <?php echo get_admin_page_title(); ?>
11
+ </span>
12
  <?php if ( $this->beta_version() ) : ?>
13
+ &nbsp;&mdash;&nbsp;<strong>Beta Version: <?php echo $this->beta_version(); ?></strong>
14
  <?php endif; ?>
15
+ </div>
16
+ <ul class="omapi-plugin-banner__icons">
 
 
 
 
 
17
  <li>
18
+ <a class="static-menu-item" target="_blank" rel="noopener" href="https://optinmonster.com/docs/?utm_source=WordPress&utm_medium=BannerHelpButton&utm_campaign=Plugin">
19
+ <img src="<?php echo esc_url( $data['help'] ); ?>" alt="Need Help?">
20
+ </a>
21
  </li>
 
 
 
 
 
22
  </ul>
23
  </div>
24
  </div>
views/review.php CHANGED
@@ -5,7 +5,7 @@
5
  <a href="#" class="button button-primary om-review-btns" data-res="yes" rel="noopener"><?php esc_html_e( 'Yes!', 'optin-monster-api' ); ?> 🙂</a>
6
  <a href="#" class="button button-secondary om-review-btns" data-res="no" target="_blank" rel="noopener"><?php esc_html_e( 'Not Really!', 'optin-monster-api' ); ?></a>
7
  <?php if ( ! $this->get_api_credentials() ) : ?>
8
- <a href="<?php echo esc_url( $this->welcome->get_link() ); ?>" class="om-dismiss-review-notice om-dismiss-review-notice-delay button button-secondary" rel="noopener">
9
  <?php esc_html_e( 'What is OptinMonster?', 'optin-monster-api' ); ?>
10
  </a>
11
  <?php endif; ?>
5
  <a href="#" class="button button-primary om-review-btns" data-res="yes" rel="noopener"><?php esc_html_e( 'Yes!', 'optin-monster-api' ); ?> 🙂</a>
6
  <a href="#" class="button button-secondary om-review-btns" data-res="no" target="_blank" rel="noopener"><?php esc_html_e( 'Not Really!', 'optin-monster-api' ); ?></a>
7
  <?php if ( ! $this->get_api_credentials() ) : ?>
8
+ <a href="https://optinmonster.com/?utm_source=WordPress&utm_campaign=Plugin&utm_medium=ReviewNotice" class="om-dismiss-review-notice om-dismiss-review-notice-delay button button-secondary" target="_blank" rel="noopener">
9
  <?php esc_html_e( 'What is OptinMonster?', 'optin-monster-api' ); ?>
10
  </a>
11
  <?php endif; ?>
views/trustpulse-settings-page.php CHANGED
@@ -2,17 +2,11 @@
2
  <h1 class="tp-heading">Boost Your Sales and Conversions with Social Proof Notifications</h1>
3
  <div class="tp-admin-box">
4
  <p>TrustPulse helps you leverage the true power of social proof to instantly increase trust, conversions and sales by up to 15%</p>
5
- <div class="notice notice-error" style="display:none;" id="om-plugin-alerts"></div>
6
- <form class="install-plugin-form">
7
- <?php wp_nonce_field( 'install_plugin', 'nonce' ); ?>
8
- <input type="hidden" name="plugin" value="trustpulse-api/trustpulse.php">
9
- <input type="hidden" name="url" value="https://downloads.wordpress.org/plugin/trustpulse-api.zip">
10
-
11
  <?php if ( $data['has_plugin'] ) : ?>
12
- <input type="hidden" name="action" value="activate">
13
  <button type="submit" id="activateButton" class="button button-primary button-activate">Activate the TrustPulse Plugin</button>
14
  <?php else : ?>
15
- <input type="hidden" name="action" value="install">
16
  <button type="submit" id="installButton" class="button button-primary button-install">Install & Activate the TrustPulse Plugin</button>
17
  <?php endif; ?>
18
  </form>
2
  <h1 class="tp-heading">Boost Your Sales and Conversions with Social Proof Notifications</h1>
3
  <div class="tp-admin-box">
4
  <p>TrustPulse helps you leverage the true power of social proof to instantly increase trust, conversions and sales by up to 15%</p>
5
+ <div class="notice notice-error" style="display:none;margin-bottom: 15px;" id="om-plugin-alerts"></div>
6
+ <form class="install-plugin-form" action="<?php echo esc_url( $data['plugin_search_url'] ); ?>" method="post">
 
 
 
 
7
  <?php if ( $data['has_plugin'] ) : ?>
 
8
  <button type="submit" id="activateButton" class="button button-primary button-activate">Activate the TrustPulse Plugin</button>
9
  <?php else : ?>
 
10
  <button type="submit" id="installButton" class="button button-primary button-install">Install & Activate the TrustPulse Plugin</button>
11
  <?php endif; ?>
12
  </form>
vue/dist/css/about.d1485509.css ADDED
@@ -0,0 +1 @@
 
1
+ .omapi-about-us .omapi-section__about-us .omapi-plugins{flex:1}.omapi-about-us .omapi-section__about-us .omapi-plugins .omapi-multi-column__title{font-size:16px;margin-top:0;line-height:130%}.omapi-about-us .omapi-section__about-us .omapi-plugins .omapi-multi-column__text{font-size:14px;line-height:150%}.omapi-about-us .omapi-section__about-us .omapi-plugins__form .omapi-button[disabled]{opacity:1}.omapi-about-us .omapi-section__about-us .omapi-multi-column__secondary:not(.omapi-icon-wrapper){padding-left:40px}.omapi-about-us .omapi-section__about-us .omapi-multi-column__secondary:not(.omapi-icon-wrapper) img{max-width:450px}@media screen and (max-width:1350px){.omapi-about-us .omapi-section__about-us .omapi-multi-column__secondary:not(.omapi-icon-wrapper) img{max-width:350px}}@media screen and (max-width:1080px){.omapi-about-us .omapi-section__about-us .omapi-multi-column__secondary:not(.omapi-icon-wrapper){padding:10px 20px;text-align:center}}.omapi-about-us .omapi-section__about-us .omapi-icon-wrapper img{max-width:50px}.omapi-about-us .omapi-section__about-us .omapi-card__half .omapi-status{line-height:32px}@media screen and (max-width:1080px){.omapi-about-us .omapi-section__about-us .omapi-card__half{flex-basis:100%}}.omapi-about-us .omapi-section__getting-started .omapi-get-pro__image{float:right;margin-right:-30px;padding-left:30px}.omapi-about-us .omapi-section__getting-started .omapi-get-pro__image img{max-width:376px}@media screen and (max-width:1045px){.omapi-about-us .omapi-section__getting-started .omapi-get-pro__image{float:none;margin-right:0;padding:0 20px}}.omapi-about-us .omapi-section__getting-started .omapi-get-pro__title{font-size:24px;line-height:140%}.omapi-about-us .omapi-section__getting-started .omapi-get-pro__text{line-height:160%;margin-bottom:40px}.omapi-about-us .omapi-section__getting-started .omapi-get-pro__features{margin-bottom:25px}.omapi-about-us .omapi-section__getting-started .omapi-get-pro__features li{font-size:16px;line-height:150%;margin-bottom:15px}@media screen and (max-width:1160px){.omapi-about-us .omapi-section__getting-started .omapi-get-pro__features li{width:100%}}@media screen and (max-width:1045px){.omapi-about-us .omapi-section__getting-started .omapi-get-pro{text-align:center}}.omapi-about-us .omapi-section__getting-started .omapi-multi-column__title{font-size:16px;font-weight:600;line-height:140%}.omapi-about-us .omapi-section__getting-started .omapi-multi-column__text{font-size:14px;line-height:160%}.omapi-about-us .omapi-section__getting-started .omapi-multi-column__secondary.omapi-icon-wrapper{padding-right:30px}.omapi-about-us .omapi-section__getting-started .omapi-multi-column__secondary.omapi-icon-wrapper img{max-width:115px}.omapi-about-us .omapi-section__getting-started .omapi-resource-list{width:100%}.omapi-about-us .omapi-section__getting-started .omapi-resource-list__title{font-size:16px;font-weight:600;line-height:140%}.omapi-about-us .omapi-section__getting-started .omapi-resource-list__more{font-size:13px;line-height:150%;font-weight:400}.omapi-about-us .omapi-section__getting-started .omapi-resource-list__item{font-size:13px;line-height:150%}@media screen and (max-width:980px){.omapi-about-us .omapi-section__getting-started .omapi-resource-list__item{width:100%}}@media screen and (max-width:1156px){.omapi-about-us .omapi-section__lite-pro .omapi-feature-table .omapi-card-title{flex-wrap:wrap}.omapi-about-us .omapi-section__lite-pro .omapi-feature-table .omapi-card-title .omapi-multi-column__secondary{margin-top:10px}}.omapi-about-us .omapi-section__lite-pro .omapi-feature-table__title{font-size:20px;line-height:140%;margin:0 0 10px}.omapi-about-us .omapi-section__lite-pro .omapi-feature-table__subtitle{font-weight:400;line-height:150%}.omapi-about-us .omapi-section__lite-pro .omapi-feature-table__button{text-align:right}.omapi-about-us .omapi-section__lite-pro .omapi-feature-table__button a{margin:0 0 0 10px}.omapi-about-us .omapi-section__lite-pro .omapi-feature-table__table .omapi-multi-column__primary{flex:1 0 230px}@media screen and (max-width:1030px){.omapi-about-us .omapi-section__lite-pro .omapi-feature-table__table .omapi-multi-column__primary{flex:1 0 190px}}@media screen and (max-width:870px){.omapi-about-us .omapi-section__lite-pro .omapi-feature-table__table .omapi-multi-column__primary{flex:1 0 150px}}.omapi-about-us .omapi-section__lite-pro .omapi-feature-table__table .omapi-multi-column__secondary{margin:0 40px}.omapi-about-us .omapi-section__lite-pro .omapi-feature-table__table .omapi-multi-column__secondary div{padding-left:37px}@media screen and (max-width:1175px){.omapi-about-us .omapi-section__lite-pro .omapi-feature-table__table .omapi-multi-column__secondary{margin:0 10px 0 30px}}@media screen and (max-width:1030px){.omapi-about-us .omapi-section__lite-pro .omapi-feature-table__table .omapi-multi-column__secondary{margin:0 5px 0 20px}}.omapi-about-us .omapi-section__lite-pro .omapi-feature-table__table li div{font-size:15px;line-height:130%;margin-bottom:0}.omapi-about-us .omapi-section__lite-pro .omapi-feature-table__header{align-items:center}.omapi-about-us .omapi-section__lite-pro .omapi-feature-table__header h5{font-size:16px;line-height:150%;margin:0}.omapi-about-us .omapi-section__lite-pro .omapi-feature-table__header h4{font-size:20px;line-height:140%;padding-left:37px;margin:0}.omapi-about-us .omapi-section__lite-pro .omapi-feature-table__support{font-weight:600}.omapi-about-us .omapi-section__lite-pro .omapi-feature-table__meta{font-weight:400}.omapi-about-us .omapi-section__lite-pro .omapi-feature-table .omapi-multi-column__secondary{flex-basis:265px}.omapi-about-us .omapi-section__lite-pro .omapi-feature-table .omapi-multi-column__secondary:before{float:left}.omapi-about-us .omapi-section__lite-pro .omapi-pro-upsell{text-align:center;width:100%;padding-bottom:30px}.omapi-about-us .omapi-section__lite-pro .omapi-pro-upsell__title{font-size:24px;line-height:140%;margin-bottom:20px}
vue/dist/css/campaign-edit.53a4526f.css ADDED
@@ -0,0 +1 @@
 
1
+ .omapi-screen .omapi-campaign-settings p{font-size:14px}.omapi-screen .omapi-campaign-settings p.omapi-field-desc{font-size:13px}.omapi-screen .omapi-campaign-settings__wrapper{align-self:flex-start}@media screen and (max-width:1210px){.omapi-screen .omapi-campaign-settings__wrapper{max-width:59%}}@media screen and (max-width:1075px){.omapi-screen .omapi-campaign-settings__wrapper{max-width:100%;flex-basis:100%}}.omapi-screen .omapi-campaign-settings h1{display:flex;justify-content:space-between;align-items:center}.omapi-screen .omapi-campaign-settings .om-circle-loading{width:100%}.omapi-screen .omapi-campaign-settings .setting-label{font-weight:700;display:block;font-size:14px;line-height:1.4}.omapi-screen .omapi-campaign-settings .setting-label.inline{display:inline}.omapi-screen .omapi-campaign-settings .text-setting{margin-top:0}.omapi-screen .omapi-campaign-settings .omapi-codebox{margin:0 0 20px}.omapi-screen .omapi-campaign-settings__minor-publishing .omapi-input.omapi-input__select{max-width:1000px}.omapi-screen .omapi-campaign-settings .advanced-settings-enabled-flag{display:inline-block;visibility:hidden;background:rgba(70,180,80,.1);border-radius:4px;padding:5px 7px;font-style:normal;font-weight:700;font-size:13px;line-height:100%;color:#555d66;margin-left:10px}.omapi-screen .omapi-campaign-settings .advanced-settings-enabled-flag.advanced-settings-enabled{visibility:visible}.omapi-screen .omapi-campaign-settings-sections{align-items:flex-start}.omapi-screen .omapi-campaign-settings-sections.disabled>*{position:relative}.omapi-screen .omapi-campaign-settings-sections.disabled>:after,.omapi-screen .omapi-campaign-settings-sections.disabled>:before{content:"";background:#fff;position:absolute;top:0;right:0;left:0;bottom:0;display:block;z-index:99;opacity:.25}.omapi-screen .omapi-campaign-settings .omapi-woocommerce-settings__inactive{background-color:#f7f8fb;display:flex;border-radius:3px;padding:20px 40px;justify-content:space-between;align-items:center;margin-bottom:30px}@media screen and (max-width:585px){.omapi-screen .omapi-campaign-settings .omapi-woocommerce-settings__inactive{flex-direction:column;text-align:center}}.omapi-screen .omapi-campaign-settings .omapi-woocommerce-settings__logo{margin:0 20px;flex:0 0 98px}.omapi-screen .omapi-campaign-settings .omapi-woocommerce-settings__logo img{max-width:100%}.omapi-screen .omapi-campaign-settings .omapi-woocommerce-settings__text{font-size:14px;line-height:150%;margin-bottom:20px;color:#23282d}.omapi-screen .omapi-campaign-settings .omapi-woocommerce-settings__select-all{padding:4px 10px;font-size:12px;color:#6c7781}.omapi-screen .omapi-campaign-settings .omapi-woocommerce-settings__select-all:hover{color:#fff}.omapi-screen .omapi-campaign-settings__right-column{align-self:flex-start;max-width:32%}@media screen and (max-width:1210px){.omapi-screen .omapi-campaign-settings__right-column{max-width:40%;flex-basis:40%}}@media screen and (max-width:1075px){.omapi-screen .omapi-campaign-settings__right-column{max-width:100%;flex-basis:100%}}.omapi-screen .omapi-campaign-settings__publish .omapi-card__border{padding-bottom:4px}.omapi-screen .omapi-campaign-settings__publish .omapi-card-footer{background:#f5f5f5;justify-content:flex-end}.omapi-screen .omapi-campaign-settings__publish .omapi-button{margin:0}.omapi-screen .omapi-campaign-settings__publish .omapi-input__select{margin:12px 0 20px}.omapi-screen .omapi-campaign-settings__publish label{display:block}.omapi-screen .omapi-campaign-settings__status .omapi-has-tooltip .popper{max-width:840px;width:auto;white-space:normal}.omapi-screen .omapi-campaign-settings .omapi-rules-list{margin-top:0}.omapi-screen .omapi-campaign-settings .omapi-rules-list__wrapper .omapi-card-content>div{padding-bottom:25px}.omapi-screen .omapi-campaign-settings .omapi-rules-list__item{font-size:14px;color:#646970;line-height:200%}.omapi-screen .omapi-campaign-settings .omapi-rules-list__type{font-weight:600}.omapi-screen .omapi-campaign-settings .omapi-rules-list__toggle{text-align:center;height:1px;margin-top:30px;background:#f1f1f1}.omapi-screen .omapi-campaign-settings .omapi-rules-list__toggle .omapi-button__small{padding:2px 9px;font-size:12px;position:relative;top:-10px}
vue/dist/css/campaigns.89824908.css ADDED
@@ -0,0 +1 @@
 
1
+ .omapi-screen .omapi-campaign-table{margin-top:6px}.omapi-screen .omapi-campaign-table .omapi-add-new.omapi-button__small{margin:0 0 0 15px;padding:4px 8px;margin-bottom:10px;vertical-align:middle}.omapi-screen .omapi-campaign-table__mods{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;padding-bottom:3px}.omapi-screen .omapi-campaign-table__mods.omapi-campaign-table__search-wrap,.omapi-screen .omapi-campaign-table__mods>div{margin-bottom:12px}.omapi-screen .omapi-campaign-table__mods .omapi-campaign-table__search-wrap{display:flex;align-items:center;justify-content:center}.omapi-screen .omapi-campaign-table__mods .omapi-campaign-table__search-wrap .subtitle{padding-left:0}.omapi-screen .omapi-campaign-table__mods .omapi-button.omapi-button__large{font-size:13px;line-height:13px;padding:7px 14px}@media screen and (max-width:782px){.omapi-screen .omapi-campaign-table__mods .omapi-button.omapi-button__large{min-height:40px}}.omapi-screen .omapi-campaign-table__mods-bottom{margin:12px 0 4px;justify-content:space-between}.omapi-screen .omapi-campaign-table__mods-bottom>div:only-child{align-self:flex-end;margin-left:auto}.omapi-screen .omapi-campaign-table select{height:30px;border-color:#c9d0d6;vertical-align:top}.omapi-screen .omapi-campaign-table button{vertical-align:top}.omapi-screen .omapi-campaign-table__status{line-height:150%;color:#23282d}.omapi-screen .omapi-campaign-table__status-current{font-weight:600}.omapi-screen .omapi-campaign-table__status-option{color:#087ce1;cursor:pointer}.omapi-screen .omapi-campaign-table__search .omapi-input[type=search].omapi-input__inline{margin:0 10px;height:30px;flex-grow:1}.omapi-screen .omapi-campaign-table__search .omapi-button{margin-right:0}.omapi-screen .omapi-campaign-table__filters-date{align-items:flex-start}.omapi-screen .omapi-campaign-table__filters-date .omapi-dropdown__select{max-width:167px;margin-right:6px}.omapi-screen .omapi-campaign-table__filters-date .omapi-dropdown__select .omapi-dropdown__container{max-width:187px}.omapi-screen .omapi-campaign-table__filters-columns{align-items:flex-start;margin-left:38px}.omapi-screen .omapi-campaign-table__filters-columns .omapi-dropdown__select{max-width:138px;margin-right:6px}.omapi-screen .omapi-campaign-table__filters-columns .omapi-dropdown__select .omapi-dropdown__container{max-width:158px}.omapi-screen .omapi-campaign-table__pagination{margin-left:10px}.omapi-screen .omapi-campaign-table__pagination .omapi-pagination{margin-top:0}.omapi-screen .omapi-campaign-table .om-circle-loading{width:100%}
vue/dist/css/common.50d3a5ac.css ADDED
@@ -0,0 +1 @@
 
1
+ .close-alert [data-v-09ff7f10]{cursor:pointer}.form-checkbox-no-label,.form-checkbox-no-label .form-checkbox-wrapper{display:inline-block;width:18px;height:18px;line-height:18px}.form-checkbox{position:relative;display:inline-block;width:18px;height:18px;font:normal normal normal 14px/1 FontAwesome;color:#fff;vertical-align:bottom;text-align:center}.form-checkbox input{display:none}.form-checkbox input:checked+.fancy-checkbox{background:#0d82df}.form-checkbox input:checked+.fancy-checkbox:before{background:transparent}.form-checkbox input:disabled+.fancy-checkbox{cursor:default}.form-checkbox input.error+.fancy-checkbox{background:#f99}.form-checkbox .fancy-checkbox svg{color:#fff;width:12px;height:12px}.form-checkbox span{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#d7e5ff;transition:.2s;border-radius:3px;display:flex;align-items:center;justify-content:center}.form-checkbox span:before{position:absolute;content:"";height:16px;width:16px;left:1px;bottom:1px;background-color:#fff;transition:.2s;font-size:16px;line-height:18px;border-radius:2px}.input-copy-group{display:flex;align-items:flex-start}.input-copy-group input{margin-right:10px;font-family:monospace!important;font-size:.9em!important;line-height:14px;height:37px}.create-new-button{margin-left:10px;max-height:37px;position:relative;display:inline-block;width:auto}.create-new-button svg{width:32px;height:32px;vertical-align:top;transform:translateY(-50%) translateX(-50%);top:50%;left:50%;position:absolute}.preloader{position:relative}.preloader svg{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#8a94ab}.circle-clipper,.gap-patch{overflow:hidden;border-color:inherit}.circle,.circle-clipper,.gap-patch,.preloader,.preloader-wrapper,.spinner-layer{font-size:0;box-sizing:border-box}.preloader-aligner{display:flex;justify-content:center}.preloader-wrapper{width:240px;height:240px;display:inline-block;position:relative;-webkit-animation:container-rotate 1568ms linear infinite;animation:container-rotate 1568ms linear infinite}.gap-patch,.spinner-layer{position:absolute;height:100%}@-webkit-keyframes container-rotate{to{transform:rotate(1turn)}}@keyframes container-rotate{to{transform:rotate(1turn)}}.spinner-layer{width:100%;opacity:0;border-color:#8a94ab}.active .spinner-layer{opacity:1;-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both}@-webkit-keyframes fill-unfill-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes fill-unfill-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}.gap-patch{top:0;left:45%;width:10%}.gap-patch .circle{width:1000%;left:-450%}.circle-clipper{display:inline-block;position:relative;width:50%;height:100%}.circle-clipper .circle{width:200%;height:100%;border-style:solid;border-color:inherit;border-bottom-color:transparent!important;border-radius:50%;-webkit-animation:none;animation:none;position:absolute;top:0;right:0;bottom:0}.circle-clipper.left .circle{left:0;border-right-color:transparent!important;transform:rotate(129deg)}.circle-clipper.right .circle{left:-100%;border-left-color:transparent!important;transform:rotate(-129deg)}.active .circle-clipper.left .circle{-webkit-animation:left-spin 1333ms cubic-bezier(.4,0,.2,1) infinite both;animation:left-spin 1333ms cubic-bezier(.4,0,.2,1) infinite both}.active .circle-clipper.right .circle{-webkit-animation:right-spin 1333ms cubic-bezier(.4,0,.2,1) infinite both;animation:right-spin 1333ms cubic-bezier(.4,0,.2,1) infinite both}@-webkit-keyframes left-spin{0%,to{transform:rotate(130deg)}50%{transform:rotate(-5deg)}}@keyframes left-spin{0%,to{transform:rotate(130deg)}50%{transform:rotate(-5deg)}}@-webkit-keyframes right-spin{0%,to{transform:rotate(-130deg)}50%{transform:rotate(5deg)}}@keyframes right-spin{0%,to{transform:rotate(-130deg)}50%{transform:rotate(5deg)}}.dashboard-card{background:#fff;border-radius:5px}.dashboard-card .content,.dashboard-card .toolbar{display:block}.dashboard-card .toolbar{padding:20px}.dashboard-card .content{padding:0 20px 20px}body .v--modal-overlay{background:hsla(0,0%,100%,.7)}body .v--modal-overlay .v--modal{color:#41495b;border-radius:5px}body .v--modal-overlay .v--modal-box{overflow:visible}body .v--modal-overlay .v--modal .header{color:#fff;background:#41495b;padding:14px 20px;font-size:18px;font-weight:700;display:flex;align-items:center;max-height:50px;border-radius:5px 5px 0 0}body .v--modal-overlay .v--modal .header svg{width:20px;margin-right:10px}body .v--modal-overlay .v--modal .header .close{color:#fff;display:flex;flex-grow:1;max-height:50px;justify-content:flex-end;align-items:center}body .v--modal-overlay .v--modal .header .close button{display:flex;align-items:center}body .v--modal-overlay .v--modal .header .close svg{width:16px!important;height:16px;margin-right:0;cursor:pointer}body .v--modal-overlay .v--modal .content{padding:20px}.popper{width:auto;background-color:#fafafa;color:#212121;text-align:center;padding:2px;display:inline-block;border-radius:3px;position:absolute;font-size:14px;font-weight:400;border:1px solid #ebebeb;z-index:200000;box-shadow:0 0 6px 0 #3a3a3a}.popper .popper__arrow{width:0;height:0;border-style:solid;position:absolute;margin:5px}.popper[x-placement^=top]{margin-bottom:5px}.popper[x-placement^=top] .popper__arrow{border-width:5px 5px 0 5px;border-color:#fafafa transparent transparent transparent;bottom:-5px;left:calc(50% - 5px);margin-top:0;margin-bottom:0}.popper[x-placement^=bottom]{margin-top:5px}.popper[x-placement^=bottom] .popper__arrow{border-width:0 5px 5px 5px;border-color:transparent transparent #fafafa transparent;top:-5px;left:calc(50% - 5px);margin-top:0;margin-bottom:0}.popper[x-placement^=right]{margin-left:5px}.popper[x-placement^=right] .popper__arrow{border-width:5px 5px 5px 0;border-color:transparent #fafafa transparent transparent;left:-5px;top:calc(50% - 5px);margin-left:0;margin-right:0}.popper[x-placement^=left]{margin-right:5px}.popper[x-placement^=left] .popper__arrow{border-width:5px 0 5px 5px;border-color:transparent transparent transparent #fafafa;right:-5px;top:calc(50% - 5px);margin-left:0;margin-right:0}.input-select{display:inline-block;position:relative}.input-select .caret,.input-select .clear-results{position:absolute;top:14px;right:14px;z-index:50;color:#9db3dc}.input-select .caret svg,.input-select .clear-results svg{vertical-align:top;width:10px;height:auto;transition:.2s;cursor:pointer}.input-select .caret+.multiselect__clear .clear-results{top:13px;right:38px}.input-select .caret+.multiselect__clear .clear-results .clear-results-icon{width:8px;height:auto}.form-toggle{position:relative;display:inline-block;width:21px;height:14px}.form-toggle input{display:none}.form-toggle input:checked+.toggle-switch{background-color:#74ba0d}.form-toggle input:checked+.toggle-switch:before{transform:translateX(7px)}.form-toggle input:focus+.toggle-switch{box-shadow:0 0 1px #74ba0d}.form-toggle .toggle-switch{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ce1f32;border-radius:15px;transition:.2s}.form-toggle .toggle-switch:before{position:absolute;content:"";height:12px;width:12px;left:1px;bottom:1px;background-color:#fff;border-radius:50%;transition:.2s}._om_inbox-icon-fill[data-v-d69bdb96]{display:none}._om_inbox-icon-hover-fill:hover ._om_inbox-icon-fill[data-v-d69bdb96],._om_inbox-icon-solid ._om_inbox-icon-fill[data-v-d69bdb96]{display:block}.omapi-card{background-color:#fff;box-shadow:0 3px 2px rgba(0,0,0,.05);margin-bottom:16px;position:relative;flex-grow:0;flex-shrink:1;flex-basis:100%;color:#23282d;flex-direction:column}.omapi-card,.omapi-card__flex{display:flex;justify-content:space-between}.omapi-card__flex{flex-wrap:wrap}.omapi-card__half{flex-basis:49%}.omapi-card__third{flex-basis:32%}.omapi-card__third-two{flex-basis:67%}.omapi-card__fourth{flex-basis:23.5%}.omapi-card__fifth{flex-basis:calc(20% - 16px)}.omapi-card__sixth{flex-basis:calc(16% - 16px)}.omapi-card__closed{margin:0}.omapi-card-title{font-size:16px;font-weight:600;padding:24px 30px 22px;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;align-items:center}.omapi-card-content{padding:20px 30px 0;cursor:default}.omapi-card.omapi-card__notitle .omapi-card-content{padding-top:30px}.omapi-card.omapi-card__notitle .omapi-card-icon__close{position:absolute;right:20px;top:20px}.omapi-card.omapi-card__nofooter .omapi-card-content{padding-bottom:30px}.omapi-card-footer{padding:20px 30px;display:flex;justify-content:space-between;align-items:center;cursor:default}.omapi-card-footer :last-child{margin-right:0}.omapi-card-footer .omapi-status .omapi-multi-column__meta-attr{color:#646970;font-size:14px;line-height:21px}.omapi-card-footer .omapi-status .omapi-multi-column__meta-value{font-size:14px;line-height:21px;font-weight:600;color:#23282d}.omapi-card-footer .omapi-status .omapi-multi-column__meta-green{color:#46b450}.omapi-card-footer .omapi-status .omapi-multi-column__meta-red{color:#dc3232}.omapi-card-icon{color:#606a73;cursor:pointer}.omapi-card-icon__close{content:url(../img/card-close.4249544e.svg)}.omapi-card-icon__min-closed,.omapi-card-icon__min-open{content:url(../img/expand-more.9be22a9c.svg);transition:transform .5s}.omapi-card-icon__min-closed{transform:rotate(180deg)}.omapi-card__border{border-bottom:1px solid #ddd;padding-bottom:10px}.omapi-card__no-border{border-bottom:none}.omapi-card__child{padding:0}.omapi-card__child .omapi-card{margin-bottom:0}.omapi-card-setting-section{border-bottom:1px solid #f1f1f1;display:flex;flex-direction:row;margin-bottom:30px;padding-bottom:30px}.omapi-card-setting-section.disabled>*{position:relative}.omapi-card-setting-section.disabled>:before{content:"";background:#fff;position:absolute;top:0;bottom:0;left:0;right:0;opacity:.5;z-index:1}.omapi-card-setting-section:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.omapi-card-setting-section>header{flex:0 0 210px;padding-right:20px}@media screen and (max-width:850px){.omapi-card-setting-section>header{flex:0 0 150px}}.omapi-card-setting-section>header>*{font-size:16px;font-weight:600;margin:0}.omapi-codebox[data-v-4be92179]{background-color:#f7f8fb;border-radius:3px;padding:25px;font-size:13px;color:#646970;line-height:150%;cursor:default}.omapi-codebox__help[data-v-4be92179]{margin-bottom:12px}.omapi-codebox__copy[data-v-4be92179]{display:inline-flex}.omapi-codebox__copy[data-v-4be92179]:focus{box-shadow:0 0 0 1px #007cba;outline:2px solid transparent;border-radius:3px}.omapi-codebox__copy span[data-v-4be92179]{border:1px solid #ddd;border-radius:3px;padding:16px;background-color:#fff;font-weight:600;cursor:copy}.omapi-codebox__copy span.omapi-codebox__copy-icon[data-v-4be92179]{border-top-left-radius:0;border-bottom-left-radius:0;border-left:none;color:#606a73;font-size:20px}.omapi-codebox__copy span.omapi-codebox__copy-icon .fa[data-v-4be92179]{font-weight:600}.omapi-codebox__copy span.omapi-codebox__code[data-v-4be92179]{color:#23282d;font-family:Courier,serif;border-top-right-radius:0;border-bottom-right-radius:0}.omapi-no-campaigns[data-v-387168e8]{text-align:center}.omapi-no-campaigns-title[data-v-387168e8]{font-size:16px;line-height:140%;font-weight:600}.omapi-no-campaigns-buttons[data-v-387168e8],.omapi-no-campaigns-subtitle[data-v-387168e8]{font-size:13px;line-height:150%;color:#646970;margin:5px 0 15px}.omapi-no-campaigns-buttons .omapi-button.omapi-button__medium[data-v-387168e8],.omapi-no-campaigns-subtitle .omapi-button.omapi-button__medium[data-v-387168e8]{margin:0 10px;font-size:14px}.omapi-no-connection[data-v-3baa3680]{text-align:center}.omapi-no-connection-title[data-v-3baa3680]{font-size:16px;line-height:140%;font-weight:600}.omapi-no-connection-buttons[data-v-3baa3680],.omapi-no-connection-subtitle[data-v-3baa3680]{font-size:13px;line-height:150%;color:#646970;margin:5px 0 15px}.omapi-no-connection-buttons .omapi-button.omapi-button__medium[data-v-3baa3680],.omapi-no-connection-subtitle .omapi-button.omapi-button__medium[data-v-3baa3680]{margin:0 10px 10px;font-size:14px}.omapi-no-connection .omapi-no-connection-buttons[data-v-3baa3680]{display:flex;justify-content:center;align-items:center}.omapi-no-connection .omapi-no-connection-buttons .omapi-button[data-v-3baa3680]{margin-bottom:0;padding:10px}.omapi-no-connection .omapi-no-connection-buttons .omapi-button[data-v-3baa3680]:last-child{padding:11px 10px}.omapi-progress-bar{display:flex;margin:0 auto 40px;justify-content:center}.omapi-progress-bar:after{background:#ddd;content:"";display:block;height:2px}.omapi-progress-bar__step{align-items:center;display:flex;justify-content:center}.omapi-progress-bar__step:before{background:#ddd;content:"";display:block;height:2px;width:76px}.omapi-progress-bar__step:after{background:#dcdde1;border:4px solid #f6f7f8;border-radius:50%;content:"";display:block;height:13.3px;width:13.3px}.omapi-progress-bar__step-active:after,.omapi-progress-bar__step-active:before{background:#087ce1}.omapi-progress-bar__step:first-child:before{display:none}#om-flyout[data-v-4839773f]{position:fixed;z-index:9998;transition:all .2s ease-in-out;right:40px;bottom:40px;opacity:1}@media (max-width:960px){#om-flyout[data-v-4839773f]{display:none}}#om-flyout .om-flyout-head[data-v-4839773f]{display:block}#om-flyout .om-flyout-head img[data-v-4839773f]{background-color:#fff;width:54px;height:54px;display:block;border-radius:50%;border:3px solid #a3c47b;overflow:hidden;box-shadow:0 3px 20px rgba(0,0,0,.2);transition:all .2s ease-in-out}#om-flyout .om-flyout-head:hover img[data-v-4839773f]{box-shadow:0 3px 30px rgba(0,0,0,.25)}#om-flyout .om-flyout-head .om-flyout-label[data-v-4839773f]{opacity:0;transform:translateY(-50%) scale(0);margin-right:-50px}#om-flyout .om-flyout-head:hover .om-flyout-label[data-v-4839773f]{opacity:1;transform:translateY(-50%) scale(1);margin-right:0}#om-flyout .om-flyout-head[data-v-4839773f]:focus{box-shadow:none}#om-flyout .om-flyout-head .om-flyout-label[data-v-4839773f]{right:calc(100% + 15px)}#om-flyout .om-flyout-label[data-v-4839773f]{position:absolute;display:block;top:50%;right:calc(100% + 25px);transform:translateY(-50%);-moz-transform:translateY(-50%);-webkit-transform:translateY(-50%);color:#fff;background:#5f5e5e 0 0 no-repeat padding-box;font-size:12px;white-space:nowrap;padding:5px 10px;height:auto!important;line-height:normal;transition:all .2s ease-out;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px}#om-flyout .om-flyout-item[data-v-4839773f]{position:absolute;left:10px;width:40px;height:40px;opacity:0;visibility:hidden;transition:all .2s ease-in-out;transform:scale(0);border-radius:50%;box-shadow:0 3px 20px rgba(0,0,0,.2);background:#036aab 0 0 no-repeat padding-box;text-align:center;vertical-align:middle}#om-flyout .om-flyout-item i[data-v-4839773f]{color:#fff;font-size:20px;line-height:40px;vertical-align:middle}#om-flyout .om-flyout-item.om-flyout-item-0[data-v-4839773f]{bottom:75px}#om-flyout .om-flyout-item.om-flyout-item-1[data-v-4839773f]{bottom:130px}#om-flyout .om-flyout-item.om-flyout-item-2[data-v-4839773f]{bottom:185px}#om-flyout .om-flyout-item.om-flyout-item-3[data-v-4839773f]{bottom:240px}#om-flyout .om-flyout-item.om-flyout-item-4[data-v-4839773f]{bottom:295px}#om-flyout .om-flyout-item[data-v-4839773f]:hover{box-shadow:0 3px 30px rgba(0,0,0,.25);background:#0096f0 0 0 no-repeat padding-box}#om-flyout .om-flyout-item:hover .om-flyout-label[data-v-4839773f]{background:#444 0 0 no-repeat padding-box}#om-flyout.opened .om-flyout-item[data-v-4839773f]{opacity:1;visibility:visible;transform:scale(1)}#om-flyout.opened .om-flyout-head .om-flyout-label[data-v-4839773f]{display:none}#om-flyout.opened .om-flyout-item-0[data-v-4839773f]{transition:transform .2s 0ms,background-color .2s}#om-flyout.opened .om-flyout-item-1[data-v-4839773f]{transition:transform .2s 35ms,background-color .2s}#om-flyout.opened .om-flyout-item-2[data-v-4839773f]{transition:transform .2s 70ms,background-color .2s}#om-flyout.opened .om-flyout-item-3[data-v-4839773f]{transition:transform .2s 105ms,background-color .2s}#om-flyout.opened .om-flyout-item-4[data-v-4839773f]{transition:transform .2s .14s,background-color .2s}#om-flyout.out[data-v-4839773f]{opacity:0;visibility:hidden}.omapi-tabnav{display:flex;border-bottom:2px solid #e8e8eb;margin-bottom:25px}.omapi-tabnav__item{display:flex;align-items:center;justify-content:center;height:60px;font-size:15px;color:#6c7781;padding:0 18px;cursor:pointer}.omapi-tabnav__item-active{font-weight:600;color:#23282d;border-bottom:2px solid #087ce1;margin-bottom:-2px}.omapi-create-campaign-card.omapi-card.omapi-card__notitle .omapi-card-content{padding:40px 40px 10px}@media screen and (max-width:1024px){.omapi-create-campaign-card .omapi-card-footer{text-align:center}}.omapi-create-campaign{display:flex;align-items:center}.omapi-create-campaign .omapi-multi-column__primary{flex-basis:60%}@media screen and (max-width:1024px){.omapi-create-campaign .omapi-multi-column__primary{margin-top:20px}}.omapi-create-campaign__subtitle{color:#6c7781;font-size:16px;font-weight:600;line-height:130%;margin-bottom:6px}.omapi-create-campaign__title{line-height:130%;font-size:32px;margin-top:0;letter-spacing:-1px;margin-bottom:20px}.omapi-create-campaign p.omapi-create-campaign__text{line-height:160%}.omapi-create-campaign__video{padding-left:5%;cursor:pointer}.omapi-create-campaign__video img{max-width:525px;display:block;box-shadow:0 2px 5px rgba(0,0,0,.2);width:100%}.omapi-create-campaign__link-more.omapi-create-campaign__link-more{display:block;width:400px;margin-top:10px;text-align:center;line-height:150%}@media screen and (max-width:1024px){.omapi-create-campaign__link-more.omapi-create-campaign__link-more{width:100%}}@media screen and (max-width:1024px){.omapi-create-campaign{flex-direction:column-reverse;text-align:center}}.omapi-welcomebox .omapi-card-footer{padding-left:40px;padding-right:40px}.omapi-welcomebox .omapi-card-footer .learn-more-content{width:100%}.omapi-welcomebox .omapi-card-footer .learn-more-content .omapi-connect{display:flex;justify-content:center;margin:60px 0}.omapi-welcomebox .omapi-card-footer .learn-more-content .omapi-connect.omapi-no-connection-buttons span{display:flex;align-items:center}.omapi-welcomebox .omapi-card-footer .learn-more-content .omapi-join-thousands{text-align:center;margin:60px auto;width:60%}@media screen and (max-width:1005px){.omapi-welcomebox .omapi-card-footer .learn-more-content .omapi-join-thousands{width:89%}}.omapi-welcomebox hr{margin:40px 0 60px 0}.welcome-video.v--modal-overlay{background:rgba(0,0,0,.9)}.welcome-video.v--modal-overlay .v--modal{background:#000}.welcome-video.v--modal-overlay .v--modal .content{padding:0}.welcome-video.v--modal-overlay .v--modal .content iframe{margin-bottom:-6px}.omapi-featured-in{text-align:center}.omapi-featured-in h2{font-size:20px;font-weight:700;margin-bottom:40px}.omapi-featured-in img{margin-bottom:60px;max-width:100%}.omapi-effect{display:flex;margin-bottom:80px;width:100%}.omapi-effect .omapi-effect_col:first-of-type{width:55%}@media screen and (max-width:1065px){.omapi-effect .omapi-effect_col:first-of-type{width:100%}}.omapi-effect .omapi-effect_col:last-of-type{width:45%}.omapi-effect .omapi-effect_col:last-of-type img{height:auto;width:100%}@media screen and (max-width:1065px){.omapi-effect .omapi-effect_col:last-of-type img{max-width:500px;margin:10px auto 0}}@media screen and (max-width:1065px){.omapi-effect .omapi-effect_col:last-of-type{width:100%}}.omapi-effect h2{font-size:28px;font-weight:700;margin-top:0;line-height:1.25}@media screen and (max-width:1065px){.omapi-effect{flex-direction:column;text-align:center;margin-bottom:30px}}.omapi-testimonials{display:flex;justify-content:space-between;margin:0 auto!important;width:90%}.omapi-testimonials .omapi-testimonials__item{border:1px solid #ddd;box-shadow:0 3px 2px rgba(0,0,0,.05);flex:0 0 25%;padding:30px;text-align:center;display:flex;flex-direction:column;align-items:center}.omapi-testimonials .omapi-testimonials__item .icon-rating{display:block;margin-bottom:20px}.omapi-testimonials .omapi-testimonials__item .icon-rating .person{width:80px;margin-bottom:10px}.omapi-testimonials .omapi-testimonials__item .copy p{color:#646970;font-size:14px}@media screen and (max-width:950px){.omapi-testimonials{flex-direction:column}}.omapi-top-4__title{margin-bottom:80px;text-align:center}.omapi-top-4__title h2{font-size:20px;font-weight:700}.omapi-top-4__title h3{color:#646970!important;font-size:15px;font-weight:700}.omapi-top-4__items{margin:0 auto!important;width:90%}.omapi-top-4__items .omapi-top-4__item{display:flex;margin-bottom:40px}.omapi-top-4__items .omapi-top-4__item .omapi-top-4__copy,.omapi-top-4__items .omapi-top-4__item .omapi-top-4__icon{display:flex;flex-direction:column;justify-content:center}.omapi-top-4__items .omapi-top-4__item .omapi-top-4__icon img{height:auto;width:350px}@media screen and (max-width:1065px){.omapi-top-4__items .omapi-top-4__item .omapi-top-4__icon img{max-width:350px;margin:0 auto 10px}}.omapi-top-4__items .omapi-top-4__item .omapi-top-4__icon.mr{margin-right:80px}@media screen and (max-width:1065px){.omapi-top-4__items .omapi-top-4__item .omapi-top-4__icon.mr{margin-right:0}}.omapi-top-4__items .omapi-top-4__item .omapi-top-4__icon.ml{margin-left:80px}@media screen and (max-width:1065px){.omapi-top-4__items .omapi-top-4__item .omapi-top-4__icon.ml{margin-left:0}}.omapi-top-4__items .omapi-top-4__item .omapi-top-4__copy h4{font-size:16px;font-weight:700}.omapi-top-4__items .omapi-top-4__item .omapi-top-4__copy p{font-size:14px}.omapi-top-4__items .omapi-top-4__item.measuring .omapi-top-4__copy{margin-right:40px}.omapi-top-4__items .omapi-top-4__item.measuring .omapi-top-4__icon img{height:auto;width:400px}@media screen and (max-width:1065px){.omapi-top-4__items .omapi-top-4__item.measuring .omapi-top-4__icon img{max-width:400px;margin:0 auto 10px}}@media screen and (max-width:1065px){.omapi-top-4__items .omapi-top-4__item{flex-direction:column;text-align:center}.omapi-top-4__items .omapi-top-4__item:nth-child(2n){flex-direction:column-reverse}}.close-alert [data-v-3e84c686]{cursor:pointer}.omapi-alert.omapi-alert-closed[data-v-3e84c686]{display:none}.omapi-screen .omapi-alert-bar{background:#f7f8fb;padding:8px 0 9px;height:38px;box-sizing:border-box;text-align:center;line-height:18px;position:relative}@media screen and (max-width:950px){.omapi-screen .omapi-alert-bar{height:60px}}.omapi-screen .omapi-alert-bar a,.omapi-screen .omapi-alert-bar a:hover{color:#f56e28!important;text-decoration:underline}@media screen and (max-width:950px){.omapi-screen .omapi-alert-bar a,.omapi-screen .omapi-alert-bar a:hover{display:block}}.omapi-screen .omapi-alert-bar:before{content:"";background:url(../img/bell.4c686e25.svg) 50% no-repeat;display:inline-block;width:15px;height:15px;position:relative;left:-4px;top:3px}.omapi-screen .omapi-alert-bar__needs-connection .om-circle-loading{display:inline-block;margin:0 5px -5px}.omapi-screen .omapi-alert-bar__needs-connection.ringing:before,.omapi-screen .omapi-alert-bar__needs-upgrade.ringing:before{-webkit-animation:omringbell 4s ease-in-out 0s 1;animation:omringbell 4s ease-in-out 0s 1;transform-origin:50% 4px}.omapi-screen.omapi-has-alert .omapi-plugin-header{padding-top:38px}@media screen and (max-width:950px){.omapi-screen.omapi-has-alert .omapi-plugin-header{padding-top:60px}}.omapi-screen.omapi-has-alert .omapi-alert-bar{position:fixed;right:0;left:0;margin-left:160px;border:1px solid #e0e0e0}.omapi-screen.omapi-has-alert .omapi-alert-bar-wrapper{position:absolute;top:-112px;right:0;width:100%;height:38px;background:#f7f8fb;z-index:1}@media screen and (max-width:950px){.omapi-screen.omapi-has-alert .omapi-alert-bar-wrapper{height:60px;top:-134px}}@media screen and (max-width:960px){.omapi-screen.omapi-has-alert .omapi-alert-bar{margin-left:36px}}@media screen and (max-width:782px){.omapi-screen.omapi-has-alert .omapi-alert-bar{margin-left:0}}.omapi-screen.omapi-has-alert.folded .omapi-alert-bar{margin-left:36px}@-webkit-keyframes omringbell{0%{transform:rotate(0)}1%{transform:rotate(30deg)}3%{transform:rotate(-28deg)}5%{transform:rotate(34deg)}7%{transform:rotate(-32deg)}9%{transform:rotate(30deg)}11%{transform:rotate(-28deg)}13%{transform:rotate(26deg)}15%{transform:rotate(-24deg)}17%{transform:rotate(22deg)}19%{transform:rotate(-20deg)}21%{transform:rotate(18deg)}23%{transform:rotate(-16deg)}25%{transform:rotate(14deg)}27%{transform:rotate(-12deg)}29%{transform:rotate(10deg)}31%{transform:rotate(-8deg)}33%{transform:rotate(6deg)}35%{transform:rotate(-4deg)}37%{transform:rotate(2deg)}39%{transform:rotate(-1deg)}41%{transform:rotate(1deg)}43%{transform:rotate(0)}to{transform:rotate(0)}}@keyframes omringbell{0%{transform:rotate(0)}1%{transform:rotate(30deg)}3%{transform:rotate(-28deg)}5%{transform:rotate(34deg)}7%{transform:rotate(-32deg)}9%{transform:rotate(30deg)}11%{transform:rotate(-28deg)}13%{transform:rotate(26deg)}15%{transform:rotate(-24deg)}17%{transform:rotate(22deg)}19%{transform:rotate(-20deg)}21%{transform:rotate(18deg)}23%{transform:rotate(-16deg)}25%{transform:rotate(14deg)}27%{transform:rotate(-12deg)}29%{transform:rotate(10deg)}31%{transform:rotate(-8deg)}33%{transform:rotate(6deg)}35%{transform:rotate(-4deg)}37%{transform:rotate(2deg)}39%{transform:rotate(-1deg)}41%{transform:rotate(1deg)}43%{transform:rotate(0)}to{transform:rotate(0)}}.omapi-no-connection-buttons span{display:inline-block;margin-right:10px}.loading-button[data-v-78056e4f],nav[data-v-4adeb596]{display:inline-block;position:relative}.loading-button .loading-button-spinner[data-v-78056e4f]{position:absolute;width:20px;height:20px;top:calc(50% - 10px);left:calc(50% - 10px)}.om-page{padding:30px 40px 0}#om-notifications-trigger .fade-enter-active,#om-notifications-trigger .fade-leave-active{transition:opacity .2s}#om-notifications-trigger .fade-enter,#om-notifications-trigger .fade-leave-to{opacity:0}.youve-got-mail{position:relative}.youve-got-mail:active .om-pulse:after,.youve-got-mail:focus .om-pulse:after,.youve-got-mail:hover .om-pulse:after{display:none}.om-pulse{text-align:center;cursor:pointer;display:inline-block;width:10px;height:10px;top:-5px;right:-7px;border:3px solid #087ce1;border-radius:100%}.om-pulse,.om-pulse:after{background-color:#df2a4a;position:absolute}.om-pulse:after{content:"";top:-2px;left:-2px;width:13px;height:13px;border-radius:100%;z-index:0;-webkit-animation:ompulse 10s infinite;animation:ompulse 10s infinite;will-change:transform}@-webkit-keyframes ompulse{0%{transform:scale(1);opacity:1}20%{transform:scale(2);opacity:0}to{transform:scale(2);opacity:0}}@keyframes ompulse{0%{transform:scale(1);opacity:1}20%{transform:scale(2);opacity:0}to{transform:scale(2);opacity:0}}@font-face{font-family:element-icons;src:url(../fonts/element-icons.535877f5.woff) format("woff"),url(../fonts/element-icons.732389de.ttf) format("truetype");font-weight:400;font-display:"auto";font-style:normal}[class*=" el-icon-"],[class^=el-icon-]{font-family:element-icons!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;vertical-align:baseline;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.el-icon-ice-cream-round:before{content:"\E6A0"}.el-icon-ice-cream-square:before{content:"\E6A3"}.el-icon-lollipop:before{content:"\E6A4"}.el-icon-potato-strips:before{content:"\E6A5"}.el-icon-milk-tea:before{content:"\E6A6"}.el-icon-ice-drink:before{content:"\E6A7"}.el-icon-ice-tea:before{content:"\E6A9"}.el-icon-coffee:before{content:"\E6AA"}.el-icon-orange:before{content:"\E6AB"}.el-icon-pear:before{content:"\E6AC"}.el-icon-apple:before{content:"\E6AD"}.el-icon-cherry:before{content:"\E6AE"}.el-icon-watermelon:before{content:"\E6AF"}.el-icon-grape:before{content:"\E6B0"}.el-icon-refrigerator:before{content:"\E6B1"}.el-icon-goblet-square-full:before{content:"\E6B2"}.el-icon-goblet-square:before{content:"\E6B3"}.el-icon-goblet-full:before{content:"\E6B4"}.el-icon-goblet:before{content:"\E6B5"}.el-icon-cold-drink:before{content:"\E6B6"}.el-icon-coffee-cup:before{content:"\E6B8"}.el-icon-water-cup:before{content:"\E6B9"}.el-icon-hot-water:before{content:"\E6BA"}.el-icon-ice-cream:before{content:"\E6BB"}.el-icon-dessert:before{content:"\E6BC"}.el-icon-sugar:before{content:"\E6BD"}.el-icon-tableware:before{content:"\E6BE"}.el-icon-burger:before{content:"\E6BF"}.el-icon-knife-fork:before{content:"\E6C1"}.el-icon-fork-spoon:before{content:"\E6C2"}.el-icon-chicken:before{content:"\E6C3"}.el-icon-food:before{content:"\E6C4"}.el-icon-dish-1:before{content:"\E6C5"}.el-icon-dish:before{content:"\E6C6"}.el-icon-moon-night:before{content:"\E6EE"}.el-icon-moon:before{content:"\E6F0"}.el-icon-cloudy-and-sunny:before{content:"\E6F1"}.el-icon-partly-cloudy:before{content:"\E6F2"}.el-icon-cloudy:before{content:"\E6F3"}.el-icon-sunny:before{content:"\E6F6"}.el-icon-sunset:before{content:"\E6F7"}.el-icon-sunrise-1:before{content:"\E6F8"}.el-icon-sunrise:before{content:"\E6F9"}.el-icon-heavy-rain:before{content:"\E6FA"}.el-icon-lightning:before{content:"\E6FB"}.el-icon-light-rain:before{content:"\E6FC"}.el-icon-wind-power:before{content:"\E6FD"}.el-icon-baseball:before{content:"\E712"}.el-icon-soccer:before{content:"\E713"}.el-icon-football:before{content:"\E715"}.el-icon-basketball:before{content:"\E716"}.el-icon-ship:before{content:"\E73F"}.el-icon-truck:before{content:"\E740"}.el-icon-bicycle:before{content:"\E741"}.el-icon-mobile-phone:before{content:"\E6D3"}.el-icon-service:before{content:"\E6D4"}.el-icon-key:before{content:"\E6E2"}.el-icon-unlock:before{content:"\E6E4"}.el-icon-lock:before{content:"\E6E5"}.el-icon-watch:before{content:"\E6FE"}.el-icon-watch-1:before{content:"\E6FF"}.el-icon-timer:before{content:"\E702"}.el-icon-alarm-clock:before{content:"\E703"}.el-icon-map-location:before{content:"\E704"}.el-icon-delete-location:before{content:"\E705"}.el-icon-add-location:before{content:"\E706"}.el-icon-location-information:before{content:"\E707"}.el-icon-location-outline:before{content:"\E708"}.el-icon-location:before{content:"\E79E"}.el-icon-place:before{content:"\E709"}.el-icon-discover:before{content:"\E70A"}.el-icon-first-aid-kit:before{content:"\E70B"}.el-icon-trophy-1:before{content:"\E70C"}.el-icon-trophy:before{content:"\E70D"}.el-icon-medal:before{content:"\E70E"}.el-icon-medal-1:before{content:"\E70F"}.el-icon-stopwatch:before{content:"\E710"}.el-icon-mic:before{content:"\E711"}.el-icon-copy-document:before{content:"\E718"}.el-icon-full-screen:before{content:"\E719"}.el-icon-switch-button:before{content:"\E71B"}.el-icon-aim:before{content:"\E71C"}.el-icon-crop:before{content:"\E71D"}.el-icon-odometer:before{content:"\E71E"}.el-icon-time:before{content:"\E71F"}.el-icon-bangzhu:before{content:"\E724"}.el-icon-close-notification:before{content:"\E726"}.el-icon-microphone:before{content:"\E727"}.el-icon-turn-off-microphone:before{content:"\E728"}.el-icon-position:before{content:"\E729"}.el-icon-postcard:before{content:"\E72A"}.el-icon-message:before{content:"\E72B"}.el-icon-chat-line-square:before{content:"\E72D"}.el-icon-chat-dot-square:before{content:"\E72E"}.el-icon-chat-dot-round:before{content:"\E72F"}.el-icon-chat-square:before{content:"\E730"}.el-icon-chat-line-round:before{content:"\E731"}.el-icon-chat-round:before{content:"\E732"}.el-icon-set-up:before{content:"\E733"}.el-icon-turn-off:before{content:"\E734"}.el-icon-open:before{content:"\E735"}.el-icon-connection:before{content:"\E736"}.el-icon-link:before{content:"\E737"}.el-icon-cpu:before{content:"\E738"}.el-icon-thumb:before{content:"\E739"}.el-icon-female:before{content:"\E73A"}.el-icon-male:before{content:"\E73B"}.el-icon-guide:before{content:"\E73C"}.el-icon-news:before{content:"\E73E"}.el-icon-price-tag:before{content:"\E744"}.el-icon-discount:before{content:"\E745"}.el-icon-wallet:before{content:"\E747"}.el-icon-coin:before{content:"\E748"}.el-icon-money:before{content:"\E749"}.el-icon-bank-card:before{content:"\E74A"}.el-icon-box:before{content:"\E74B"}.el-icon-present:before{content:"\E74C"}.el-icon-sell:before{content:"\E6D5"}.el-icon-sold-out:before{content:"\E6D6"}.el-icon-shopping-bag-2:before{content:"\E74D"}.el-icon-shopping-bag-1:before{content:"\E74E"}.el-icon-shopping-cart-2:before{content:"\E74F"}.el-icon-shopping-cart-1:before{content:"\E750"}.el-icon-shopping-cart-full:before{content:"\E751"}.el-icon-smoking:before{content:"\E752"}.el-icon-no-smoking:before{content:"\E753"}.el-icon-house:before{content:"\E754"}.el-icon-table-lamp:before{content:"\E755"}.el-icon-school:before{content:"\E756"}.el-icon-office-building:before{content:"\E757"}.el-icon-toilet-paper:before{content:"\E758"}.el-icon-notebook-2:before{content:"\E759"}.el-icon-notebook-1:before{content:"\E75A"}.el-icon-files:before{content:"\E75B"}.el-icon-collection:before{content:"\E75C"}.el-icon-receiving:before{content:"\E75D"}.el-icon-suitcase-1:before{content:"\E760"}.el-icon-suitcase:before{content:"\E761"}.el-icon-film:before{content:"\E763"}.el-icon-collection-tag:before{content:"\E765"}.el-icon-data-analysis:before{content:"\E766"}.el-icon-pie-chart:before{content:"\E767"}.el-icon-data-board:before{content:"\E768"}.el-icon-data-line:before{content:"\E76D"}.el-icon-reading:before{content:"\E769"}.el-icon-magic-stick:before{content:"\E76A"}.el-icon-coordinate:before{content:"\E76B"}.el-icon-mouse:before{content:"\E76C"}.el-icon-brush:before{content:"\E76E"}.el-icon-headset:before{content:"\E76F"}.el-icon-umbrella:before{content:"\E770"}.el-icon-scissors:before{content:"\E771"}.el-icon-mobile:before{content:"\E773"}.el-icon-attract:before{content:"\E774"}.el-icon-monitor:before{content:"\E775"}.el-icon-search:before{content:"\E778"}.el-icon-takeaway-box:before{content:"\E77A"}.el-icon-paperclip:before{content:"\E77D"}.el-icon-printer:before{content:"\E77E"}.el-icon-document-add:before{content:"\E782"}.el-icon-document:before{content:"\E785"}.el-icon-document-checked:before{content:"\E786"}.el-icon-document-copy:before{content:"\E787"}.el-icon-document-delete:before{content:"\E788"}.el-icon-document-remove:before{content:"\E789"}.el-icon-tickets:before{content:"\E78B"}.el-icon-folder-checked:before{content:"\E77F"}.el-icon-folder-delete:before{content:"\E780"}.el-icon-folder-remove:before{content:"\E781"}.el-icon-folder-add:before{content:"\E783"}.el-icon-folder-opened:before{content:"\E784"}.el-icon-folder:before{content:"\E78A"}.el-icon-edit-outline:before{content:"\E764"}.el-icon-edit:before{content:"\E78C"}.el-icon-date:before{content:"\E78E"}.el-icon-c-scale-to-original:before{content:"\E7C6"}.el-icon-view:before{content:"\E6CE"}.el-icon-loading:before{content:"\E6CF"}.el-icon-rank:before{content:"\E6D1"}.el-icon-sort-down:before{content:"\E7C4"}.el-icon-sort-up:before{content:"\E7C5"}.el-icon-sort:before{content:"\E6D2"}.el-icon-finished:before{content:"\E6CD"}.el-icon-refresh-left:before{content:"\E6C7"}.el-icon-refresh-right:before{content:"\E6C8"}.el-icon-refresh:before{content:"\E6D0"}.el-icon-video-play:before{content:"\E7C0"}.el-icon-video-pause:before{content:"\E7C1"}.el-icon-d-arrow-right:before{content:"\E6DC"}.el-icon-d-arrow-left:before{content:"\E6DD"}.el-icon-arrow-up:before{content:"\E6E1"}.el-icon-arrow-down:before{content:"\E6DF"}.el-icon-arrow-right:before{content:"\E6E0"}.el-icon-arrow-left:before{content:"\E6DE"}.el-icon-top-right:before{content:"\E6E7"}.el-icon-top-left:before{content:"\E6E8"}.el-icon-top:before{content:"\E6E6"}.el-icon-bottom:before{content:"\E6EB"}.el-icon-right:before{content:"\E6E9"}.el-icon-back:before{content:"\E6EA"}.el-icon-bottom-right:before{content:"\E6EC"}.el-icon-bottom-left:before{content:"\E6ED"}.el-icon-caret-top:before{content:"\E78F"}.el-icon-caret-bottom:before{content:"\E790"}.el-icon-caret-right:before{content:"\E791"}.el-icon-caret-left:before{content:"\E792"}.el-icon-d-caret:before{content:"\E79A"}.el-icon-share:before{content:"\E793"}.el-icon-menu:before{content:"\E798"}.el-icon-s-grid:before{content:"\E7A6"}.el-icon-s-check:before{content:"\E7A7"}.el-icon-s-data:before{content:"\E7A8"}.el-icon-s-opportunity:before{content:"\E7AA"}.el-icon-s-custom:before{content:"\E7AB"}.el-icon-s-claim:before{content:"\E7AD"}.el-icon-s-finance:before{content:"\E7AE"}.el-icon-s-comment:before{content:"\E7AF"}.el-icon-s-flag:before{content:"\E7B0"}.el-icon-s-marketing:before{content:"\E7B1"}.el-icon-s-shop:before{content:"\E7B4"}.el-icon-s-open:before{content:"\E7B5"}.el-icon-s-management:before{content:"\E7B6"}.el-icon-s-ticket:before{content:"\E7B7"}.el-icon-s-release:before{content:"\E7B8"}.el-icon-s-home:before{content:"\E7B9"}.el-icon-s-promotion:before{content:"\E7BA"}.el-icon-s-operation:before{content:"\E7BB"}.el-icon-s-unfold:before{content:"\E7BC"}.el-icon-s-fold:before{content:"\E7A9"}.el-icon-s-platform:before{content:"\E7BD"}.el-icon-s-order:before{content:"\E7BE"}.el-icon-s-cooperation:before{content:"\E7BF"}.el-icon-bell:before{content:"\E725"}.el-icon-message-solid:before{content:"\E799"}.el-icon-video-camera:before{content:"\E772"}.el-icon-video-camera-solid:before{content:"\E796"}.el-icon-camera:before{content:"\E779"}.el-icon-camera-solid:before{content:"\E79B"}.el-icon-download:before{content:"\E77C"}.el-icon-upload2:before{content:"\E77B"}.el-icon-upload:before{content:"\E7C3"}.el-icon-picture-outline-round:before{content:"\E75F"}.el-icon-picture-outline:before{content:"\E75E"}.el-icon-picture:before{content:"\E79F"}.el-icon-close:before{content:"\E6DB"}.el-icon-check:before{content:"\E6DA"}.el-icon-plus:before{content:"\E6D9"}.el-icon-minus:before{content:"\E6D8"}.el-icon-help:before{content:"\E73D"}.el-icon-s-help:before{content:"\E7B3"}.el-icon-circle-close:before{content:"\E78D"}.el-icon-circle-check:before{content:"\E720"}.el-icon-circle-plus-outline:before{content:"\E723"}.el-icon-remove-outline:before{content:"\E722"}.el-icon-zoom-out:before{content:"\E776"}.el-icon-zoom-in:before{content:"\E777"}.el-icon-error:before{content:"\E79D"}.el-icon-success:before{content:"\E79C"}.el-icon-circle-plus:before{content:"\E7A0"}.el-icon-remove:before{content:"\E7A2"}.el-icon-info:before{content:"\E7A1"}.el-icon-question:before{content:"\E7A4"}.el-icon-warning-outline:before{content:"\E6C9"}.el-icon-warning:before{content:"\E7A3"}.el-icon-goods:before{content:"\E7C2"}.el-icon-s-goods:before{content:"\E7B2"}.el-icon-star-off:before{content:"\E717"}.el-icon-star-on:before{content:"\E797"}.el-icon-more-outline:before{content:"\E6CC"}.el-icon-more:before{content:"\E794"}.el-icon-phone-outline:before{content:"\E6CB"}.el-icon-phone:before{content:"\E795"}.el-icon-user:before{content:"\E6E3"}.el-icon-user-solid:before{content:"\E7A5"}.el-icon-setting:before{content:"\E6CA"}.el-icon-s-tools:before{content:"\E7AC"}.el-icon-delete:before{content:"\E6D7"}.el-icon-delete-solid:before{content:"\E7C9"}.el-icon-eleme:before{content:"\E7C7"}.el-icon-platform-eleme:before{content:"\E7CA"}.el-icon-loading{-webkit-animation:rotating 2s linear infinite;animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@-webkit-keyframes rotating{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes rotating{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.el-pagination{white-space:nowrap;padding:2px 5px;color:#303133;font-weight:700}.el-pagination:after,.el-pagination:before{display:table;content:""}.el-pagination:after{clear:both}.el-pagination button,.el-pagination span:not([class*=suffix]){display:inline-block;font-size:13px;min-width:35.5px;height:28px;line-height:28px;vertical-align:top;box-sizing:border-box}.el-pagination .el-input__inner{text-align:center;-moz-appearance:textfield;line-height:normal}.el-pagination .el-input__suffix{right:0;transform:scale(.8)}.el-pagination .el-select .el-input{width:100px;margin:0 5px}.el-pagination .el-select .el-input .el-input__inner{padding-right:25px;border-radius:3px}.el-pagination button{border:none;padding:0 6px;background:transparent}.el-pagination button:focus{outline:none}.el-pagination button:hover{color:#087ce1}.el-pagination button:disabled{color:#c0c4cc;background-color:#fff;cursor:not-allowed}.el-pagination .btn-next,.el-pagination .btn-prev{background:50% no-repeat;background-size:16px;background-color:#fff;cursor:pointer;margin:0;color:#303133}.el-pagination .btn-next .el-icon,.el-pagination .btn-prev .el-icon{display:block;font-size:12px;font-weight:700}.el-pagination .btn-prev{padding-right:12px}.el-pagination .btn-next{padding-left:12px}.el-pagination .el-pager li.disabled{color:#c0c4cc;cursor:not-allowed}.el-pagination--small .btn-next,.el-pagination--small .btn-prev,.el-pagination--small .el-pager li,.el-pagination--small .el-pager li.btn-quicknext,.el-pagination--small .el-pager li.btn-quickprev,.el-pagination--small .el-pager li:last-child{border-color:transparent;font-size:12px;line-height:22px;height:22px;min-width:22px}.el-pagination--small .arrow.disabled{visibility:hidden}.el-pagination--small .more:before,.el-pagination--small li.more:before{line-height:24px}.el-pagination--small button,.el-pagination--small span:not([class*=suffix]){height:22px;line-height:22px}.el-pagination--small .el-pagination__editor,.el-pagination--small .el-pagination__editor.el-input .el-input__inner{height:22px}.el-pagination__sizes{margin:0 10px 0 0;font-weight:400;color:#646970}.el-pagination__sizes .el-input .el-input__inner{font-size:13px;padding-left:8px}.el-pagination__sizes .el-input .el-input__inner:hover{border-color:#087ce1}.el-pagination__total{margin-right:10px;font-weight:400;color:#646970}.el-pagination__jump{margin-left:24px;font-weight:400;color:#646970}.el-pagination__jump .el-input__inner{padding:0 3px}.el-pagination__rightwrapper{float:right}.el-pagination__editor{line-height:18px;padding:0 2px;height:28px;text-align:center;margin:0 2px;box-sizing:border-box;border-radius:3px}.el-pagination__editor.el-input{width:50px}.el-pagination__editor.el-input .el-input__inner{height:28px}.el-pagination__editor .el-input__inner::-webkit-inner-spin-button,.el-pagination__editor .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev,.el-pagination.is-background .el-pager li{margin:0 5px;background-color:#f4f4f5;color:#646970;min-width:30px;border-radius:2px}.el-pagination.is-background .btn-next.disabled,.el-pagination.is-background .btn-prev.disabled,.el-pagination.is-background .el-pager li.disabled{color:#c0c4cc}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev{padding:0}.el-pagination.is-background .btn-next:disabled,.el-pagination.is-background .btn-prev:disabled{color:#c0c4cc}.el-pagination.is-background .el-pager li:not(.disabled):hover{color:#087ce1}.el-pagination.is-background .el-pager li:not(.disabled).active{background-color:#087ce1;color:#fff}.el-pagination.is-background.el-pagination--small .btn-next,.el-pagination.is-background.el-pagination--small .btn-prev,.el-pagination.is-background.el-pagination--small .el-pager li{margin:0 3px;min-width:22px}.el-pager{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;list-style:none;display:inline-block;vertical-align:top;font-size:0;padding:0;margin:0}.el-pager .more:before{line-height:30px}.el-pager li{padding:0 4px;background:#fff;vertical-align:top;display:inline-block;font-size:13px;min-width:35.5px;height:28px;line-height:28px;cursor:pointer;box-sizing:border-box;text-align:center;margin:0}.el-pager li.btn-quicknext,.el-pager li.btn-quickprev{line-height:28px;color:#303133}.el-pager li.btn-quicknext.disabled,.el-pager li.btn-quickprev.disabled{color:#c0c4cc}.el-pager li.btn-quicknext:hover,.el-pager li.btn-quickprev:hover{cursor:pointer}.el-pager li.active+li{border-left:0}.el-pager li:hover{color:#087ce1}.el-pager li.active{color:#087ce1;cursor:default}@-webkit-keyframes v-modal-in{0%{opacity:0}}@-webkit-keyframes v-modal-out{to{opacity:0}}.el-dialog{position:relative;margin:0 auto 50px;background:#fff;border-radius:2px;box-shadow:0 1px 3px rgba(0,0,0,.3);box-sizing:border-box;width:50%}.el-dialog.is-fullscreen{width:100%;margin-top:0;margin-bottom:0;height:100%;overflow:auto}.el-dialog__wrapper{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;margin:0}.el-dialog__header{padding:20px;padding-bottom:10px}.el-dialog__headerbtn{position:absolute;top:20px;right:20px;padding:0;background:transparent;border:none;outline:none;cursor:pointer;font-size:16px}.el-dialog__headerbtn .el-dialog__close{color:#909399}.el-dialog__headerbtn:focus .el-dialog__close,.el-dialog__headerbtn:hover .el-dialog__close{color:#087ce1}.el-dialog__title{line-height:24px;font-size:18px;color:#303133}.el-dialog__body{padding:30px 20px;color:#646970;font-size:14px;word-break:break-all}.el-dialog__footer{padding:20px;padding-top:10px;text-align:right;box-sizing:border-box}.el-dialog--center{text-align:center}.el-dialog--center .el-dialog__body{text-align:initial;padding:25px 25px 30px}.el-dialog--center .el-dialog__footer{text-align:inherit}.dialog-fade-enter-active{-webkit-animation:dialog-fade-in .3s;animation:dialog-fade-in .3s}.dialog-fade-leave-active{-webkit-animation:dialog-fade-out .3s;animation:dialog-fade-out .3s}@-webkit-keyframes dialog-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes dialog-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@-webkit-keyframes dialog-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}@keyframes dialog-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}.el-autocomplete{position:relative;display:inline-block}.el-autocomplete-suggestion{margin:5px 0;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);border-radius:4px;border:1px solid #e4e7ed;box-sizing:border-box;background-color:#fff}.el-autocomplete-suggestion__wrap{max-height:280px;padding:10px 0;box-sizing:border-box}.el-autocomplete-suggestion__list{margin:0;padding:0}.el-autocomplete-suggestion li{padding:0 20px;margin:0;line-height:34px;cursor:pointer;color:#646970;font-size:14px;list-style:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.el-autocomplete-suggestion li.highlighted,.el-autocomplete-suggestion li:hover{background-color:#f5f7fa}.el-autocomplete-suggestion li.divider{margin-top:6px;border-top:1px solid #000}.el-autocomplete-suggestion li.divider:last-child{margin-bottom:-6px}.el-autocomplete-suggestion.is-loading li{text-align:center;height:100px;line-height:100px;font-size:20px;color:#999}.el-autocomplete-suggestion.is-loading li:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-autocomplete-suggestion.is-loading li:hover{background-color:#fff}.el-autocomplete-suggestion.is-loading .el-icon-loading{vertical-align:middle}.el-dropdown{display:inline-block;position:relative;color:#646970;font-size:14px}.el-dropdown .el-button-group{display:block}.el-dropdown .el-button-group .el-button{float:none}.el-dropdown .el-dropdown__caret-button{padding-left:5px;padding-right:5px;position:relative;border-left:none}.el-dropdown .el-dropdown__caret-button:before{content:"";position:absolute;display:block;width:1px;top:5px;bottom:5px;left:0;background:hsla(0,0%,100%,.5)}.el-dropdown .el-dropdown__caret-button.el-button--default:before{background:rgba(220,223,230,.5)}.el-dropdown .el-dropdown__caret-button:hover:before{top:0;bottom:0}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{padding-left:0}.el-dropdown__icon{font-size:12px;margin:0 3px}.el-dropdown .el-dropdown-selfdefine:focus:active,.el-dropdown .el-dropdown-selfdefine:focus:not(.focusing){outline-width:0}.el-dropdown-menu{position:absolute;top:0;left:0;z-index:10;padding:10px 0;margin:5px 0;background-color:#fff;border:1px solid #ebeef5;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-dropdown-menu__item{list-style:none;line-height:36px;padding:0 20px;margin:0;font-size:14px;color:#646970;cursor:pointer;outline:none}.el-dropdown-menu__item:focus,.el-dropdown-menu__item:not(.is-disabled):hover{background-color:#e6f2fc;color:#3996e7}.el-dropdown-menu__item i{margin-right:5px}.el-dropdown-menu__item--divided{position:relative;margin-top:6px;border-top:1px solid #ebeef5}.el-dropdown-menu__item--divided:before{content:"";height:6px;display:block;margin:0 -20px;background-color:#fff}.el-dropdown-menu__item.is-disabled{cursor:default;color:#bbb;pointer-events:none}.el-dropdown-menu--medium{padding:6px 0}.el-dropdown-menu--medium .el-dropdown-menu__item{line-height:30px;padding:0 17px;font-size:14px}.el-dropdown-menu--medium .el-dropdown-menu__item.el-dropdown-menu__item--divided{margin-top:6px}.el-dropdown-menu--medium .el-dropdown-menu__item.el-dropdown-menu__item--divided:before{height:6px;margin:0 -17px}.el-dropdown-menu--small{padding:6px 0}.el-dropdown-menu--small .el-dropdown-menu__item{line-height:27px;padding:0 15px;font-size:13px}.el-dropdown-menu--small .el-dropdown-menu__item.el-dropdown-menu__item--divided{margin-top:4px}.el-dropdown-menu--small .el-dropdown-menu__item.el-dropdown-menu__item--divided:before{height:4px;margin:0 -15px}.el-dropdown-menu--mini{padding:3px 0}.el-dropdown-menu--mini .el-dropdown-menu__item{line-height:24px;padding:0 10px;font-size:12px}.el-dropdown-menu--mini .el-dropdown-menu__item.el-dropdown-menu__item--divided{margin-top:3px}.el-dropdown-menu--mini .el-dropdown-menu__item.el-dropdown-menu__item--divided:before{height:3px;margin:0 -10px}.el-menu{border-right:1px solid #e6e6e6;list-style:none;position:relative;margin:0;padding-left:0;background-color:#fff}.el-menu:after,.el-menu:before{display:table;content:""}.el-menu:after{clear:both}.el-menu.el-menu--horizontal{border-bottom:1px solid #e6e6e6}.el-menu--horizontal{border-right:none}.el-menu--horizontal>.el-menu-item{float:left;height:60px;line-height:60px;margin:0;border-bottom:2px solid transparent;color:#909399}.el-menu--horizontal>.el-menu-item a,.el-menu--horizontal>.el-menu-item a:hover{color:inherit}.el-menu--horizontal>.el-menu-item:not(.is-disabled):focus,.el-menu--horizontal>.el-menu-item:not(.is-disabled):hover{background-color:#fff}.el-menu--horizontal>.el-submenu{float:left}.el-menu--horizontal>.el-submenu:focus,.el-menu--horizontal>.el-submenu:hover{outline:none}.el-menu--horizontal>.el-submenu:focus .el-submenu__title,.el-menu--horizontal>.el-submenu:hover .el-submenu__title{color:#303133}.el-menu--horizontal>.el-submenu.is-active .el-submenu__title{border-bottom:2px solid #087ce1;color:#303133}.el-menu--horizontal>.el-submenu .el-submenu__title{height:60px;line-height:60px;border-bottom:2px solid transparent;color:#909399}.el-menu--horizontal>.el-submenu .el-submenu__title:hover{background-color:#fff}.el-menu--horizontal>.el-submenu .el-submenu__icon-arrow{position:static;vertical-align:middle;margin-left:8px;margin-top:-3px}.el-menu--horizontal .el-menu .el-menu-item,.el-menu--horizontal .el-menu .el-submenu__title{background-color:#fff;float:none;height:36px;line-height:36px;padding:0 10px;color:#909399}.el-menu--horizontal .el-menu .el-menu-item.is-active,.el-menu--horizontal .el-menu .el-submenu.is-active>.el-submenu__title{color:#303133}.el-menu--horizontal .el-menu-item:not(.is-disabled):focus,.el-menu--horizontal .el-menu-item:not(.is-disabled):hover{outline:none;color:#303133}.el-menu--horizontal>.el-menu-item.is-active{border-bottom:2px solid #087ce1;color:#303133}.el-menu--collapse{width:64px}.el-menu--collapse>.el-menu-item [class^=el-icon-],.el-menu--collapse>.el-submenu>.el-submenu__title [class^=el-icon-]{margin:0;vertical-align:middle;width:24px;text-align:center}.el-menu--collapse>.el-menu-item .el-submenu__icon-arrow,.el-menu--collapse>.el-submenu>.el-submenu__title .el-submenu__icon-arrow{display:none}.el-menu--collapse>.el-menu-item span,.el-menu--collapse>.el-submenu>.el-submenu__title span{height:0;width:0;overflow:hidden;visibility:hidden;display:inline-block}.el-menu--collapse>.el-menu-item.is-active i{color:inherit}.el-menu--collapse .el-menu .el-submenu{min-width:200px}.el-menu--collapse .el-submenu{position:relative}.el-menu--collapse .el-submenu .el-menu{position:absolute;margin-left:5px;top:0;left:100%;z-index:10;border:1px solid #e4e7ed;border-radius:2px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-menu--collapse .el-submenu.is-opened>.el-submenu__title .el-submenu__icon-arrow{transform:none}.el-menu--popup{z-index:100;min-width:200px;border:none;padding:5px 0;border-radius:2px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-menu--popup-bottom-start{margin-top:5px}.el-menu--popup-right-start{margin-left:5px;margin-right:5px}.el-menu-item{height:56px;line-height:56px;font-size:14px;color:#303133;padding:0 20px;list-style:none;cursor:pointer;position:relative;transition:border-color .3s,background-color .3s,color .3s;box-sizing:border-box;white-space:nowrap}.el-menu-item *{vertical-align:middle}.el-menu-item i{color:#909399}.el-menu-item:focus,.el-menu-item:hover{outline:none;background-color:#e6f2fc}.el-menu-item.is-disabled{opacity:.25;cursor:not-allowed;background:none!important}.el-menu-item [class^=el-icon-]{margin-right:5px;width:24px;text-align:center;font-size:18px;vertical-align:middle}.el-menu-item.is-active{color:#087ce1}.el-menu-item.is-active i{color:inherit}.el-submenu{list-style:none;margin:0;padding-left:0}.el-submenu__title{height:56px;line-height:56px;font-size:14px;color:#303133;padding:0 20px;list-style:none;cursor:pointer;position:relative;transition:border-color .3s,background-color .3s,color .3s;box-sizing:border-box;white-space:nowrap}.el-submenu__title *{vertical-align:middle}.el-submenu__title i{color:#909399}.el-submenu__title:focus,.el-submenu__title:hover{outline:none;background-color:#e6f2fc}.el-submenu__title.is-disabled{opacity:.25;cursor:not-allowed;background:none!important}.el-submenu__title:hover{background-color:#e6f2fc}.el-submenu .el-menu{border:none}.el-submenu .el-menu-item{height:50px;line-height:50px;padding:0 45px;min-width:200px}.el-submenu__icon-arrow{position:absolute;top:50%;right:20px;margin-top:-7px;transition:transform .3s;font-size:12px}.el-submenu.is-active .el-submenu__title{border-bottom-color:#087ce1}.el-submenu.is-opened>.el-submenu__title .el-submenu__icon-arrow{transform:rotate(180deg)}.el-submenu.is-disabled .el-menu-item,.el-submenu.is-disabled .el-submenu__title{opacity:.25;cursor:not-allowed;background:none!important}.el-submenu [class^=el-icon-]{vertical-align:middle;margin-right:5px;width:24px;text-align:center;font-size:18px}.el-menu-item-group>ul{padding:0}.el-menu-item-group__title{padding:7px 0 7px 20px;line-height:normal;font-size:12px;color:#909399}.horizontal-collapse-transition .el-submenu__title .el-submenu__icon-arrow{transition:.2s;opacity:0}.el-radio-group{display:inline-block;line-height:1;vertical-align:middle;font-size:0}.el-radio-button,.el-radio-button__inner{position:relative;display:inline-block;outline:none}.el-radio-button__inner{line-height:1;white-space:nowrap;vertical-align:middle;background:#fff;border:1px solid #dcdfe6;font-weight:500;border-left:0;color:#646970;-webkit-appearance:none;text-align:center;box-sizing:border-box;margin:0;cursor:pointer;transition:all .3s cubic-bezier(.645,.045,.355,1);padding:12px 20px;font-size:14px;border-radius:0}.el-radio-button__inner.is-round{padding:12px 20px}.el-radio-button__inner:hover{color:#087ce1}.el-radio-button__inner [class*=el-icon-]{line-height:.9}.el-radio-button__inner [class*=el-icon-]+span{margin-left:5px}.el-radio-button:first-child .el-radio-button__inner{border-left:1px solid #dcdfe6;border-radius:4px 0 0 4px;box-shadow:none!important}.el-radio-button__orig-radio{opacity:0;outline:none;position:absolute;z-index:-1}.el-radio-button__orig-radio:checked+.el-radio-button__inner{color:#fff;background-color:#087ce1;border-color:#087ce1;box-shadow:-1px 0 0 0 #087ce1}.el-radio-button__orig-radio:disabled+.el-radio-button__inner{color:#c0c4cc;cursor:not-allowed;background-image:none;background-color:#fff;border-color:#ebeef5;box-shadow:none}.el-radio-button__orig-radio:disabled:checked+.el-radio-button__inner{background-color:#f2f6fc}.el-radio-button:last-child .el-radio-button__inner{border-radius:0 4px 4px 0}.el-radio-button:first-child:last-child .el-radio-button__inner{border-radius:4px}.el-radio-button--medium .el-radio-button__inner{padding:10px 20px;font-size:14px;border-radius:0}.el-radio-button--medium .el-radio-button__inner.is-round{padding:10px 20px}.el-radio-button--small .el-radio-button__inner{padding:9px 15px;font-size:12px;border-radius:0}.el-radio-button--small .el-radio-button__inner.is-round{padding:9px 15px}.el-radio-button--mini .el-radio-button__inner{padding:7px 15px;font-size:12px;border-radius:0}.el-radio-button--mini .el-radio-button__inner.is-round{padding:7px 15px}.el-radio-button:focus:not(.is-focus):not(:active):not(.is-disabled){box-shadow:0 0 2px 2px #087ce1}.el-switch{display:inline-flex;align-items:center;position:relative;font-size:14px;line-height:20px;height:20px;vertical-align:middle}.el-switch.is-disabled .el-switch__core,.el-switch.is-disabled .el-switch__label{cursor:not-allowed}.el-switch__label{transition:.2s;height:20px;display:inline-block;font-size:14px;font-weight:500;cursor:pointer;vertical-align:middle;color:#303133}.el-switch__label.is-active{color:#087ce1}.el-switch__label--left{margin-right:10px}.el-switch__label--right{margin-left:10px}.el-switch__label *{line-height:1;font-size:14px;display:inline-block}.el-switch__input{position:absolute;width:0;height:0;opacity:0;margin:0}.el-switch__core{margin:0;display:inline-block;position:relative;width:40px;height:20px;border:1px solid #dcdfe6;outline:none;border-radius:10px;box-sizing:border-box;background:#dcdfe6;cursor:pointer;transition:border-color .3s,background-color .3s;vertical-align:middle}.el-switch__core:after{content:"";position:absolute;top:1px;left:1px;border-radius:100%;transition:all .3s;width:16px;height:16px;background-color:#fff}.el-switch.is-checked .el-switch__core{border-color:#087ce1;background-color:#087ce1}.el-switch.is-checked .el-switch__core:after{left:100%;margin-left:-17px}.el-switch.is-disabled{opacity:.6}.el-switch--wide .el-switch__label.el-switch__label--left span{left:10px}.el-switch--wide .el-switch__label.el-switch__label--right span{right:10px}.el-switch .label-fade-enter,.el-switch .label-fade-leave-active{opacity:0}.el-select-dropdown{position:absolute;z-index:1001;border:1px solid #e4e7ed;border-radius:4px;background-color:#fff;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);box-sizing:border-box;margin:5px 0}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected{color:#087ce1;background-color:#fff}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover{background-color:#f5f7fa}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected:after{position:absolute;right:20px;font-family:element-icons;content:"\E6DA";font-size:12px;font-weight:700;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.el-select-dropdown .el-scrollbar.is-empty .el-select-dropdown__list{padding:0}.el-select-dropdown__empty{padding:10px 0;margin:0;text-align:center;color:#999;font-size:14px}.el-select-dropdown__wrap{max-height:274px}.el-select-dropdown__list{list-style:none;padding:6px 0;margin:0;box-sizing:border-box}.el-select-dropdown__item{font-size:14px;padding:0 20px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#646970;height:34px;line-height:34px;box-sizing:border-box;cursor:pointer}.el-select-dropdown__item.is-disabled{color:#c0c4cc;cursor:not-allowed}.el-select-dropdown__item.is-disabled:hover{background-color:#fff}.el-select-dropdown__item.hover,.el-select-dropdown__item:hover{background-color:#f5f7fa}.el-select-dropdown__item.selected{color:#087ce1;font-weight:700}.el-select-group{margin:0;padding:0}.el-select-group__wrap{position:relative;list-style:none;margin:0;padding:0}.el-select-group__wrap:not(:last-of-type){padding-bottom:24px}.el-select-group__wrap:not(:last-of-type):after{content:"";position:absolute;display:block;left:20px;right:20px;bottom:12px;height:1px;background:#e4e7ed}.el-select-group__title{padding-left:20px;font-size:12px;color:#909399;line-height:30px}.el-select-group .el-select-dropdown__item{padding-left:20px}.el-select{display:inline-block;position:relative}.el-select .el-select__tags>span{display:contents}.el-select:hover .el-input__inner{border-color:#c0c4cc}.el-select .el-input__inner{cursor:pointer;padding-right:35px}.el-select .el-input__inner:focus{border-color:#087ce1}.el-select .el-input .el-select__caret{color:#c0c4cc;font-size:14px;transition:transform .3s;transform:rotate(180deg);cursor:pointer}.el-select .el-input .el-select__caret.is-reverse{transform:rotate(0deg)}.el-select .el-input .el-select__caret.is-show-close{font-size:14px;text-align:center;transform:rotate(180deg);border-radius:100%;color:#c0c4cc;transition:color .2s cubic-bezier(.645,.045,.355,1)}.el-select .el-input .el-select__caret.is-show-close:hover{color:#909399}.el-select .el-input.is-disabled .el-input__inner{cursor:not-allowed}.el-select .el-input.is-disabled .el-input__inner:hover{border-color:#e4e7ed}.el-select .el-input.is-focus .el-input__inner{border-color:#087ce1}.el-select>.el-input{display:block}.el-select__input{border:none;outline:none;padding:0;margin-left:15px;color:#666;font-size:14px;-webkit-appearance:none;-moz-appearance:none;appearance:none;height:28px;background-color:transparent}.el-select__input.is-mini{height:14px}.el-select__close{cursor:pointer;position:absolute;top:8px;z-index:1000;right:25px;color:#c0c4cc;line-height:18px;font-size:14px}.el-select__close:hover{color:#909399}.el-select__tags{position:absolute;line-height:normal;white-space:normal;z-index:1;top:50%;transform:translateY(-50%);display:flex;align-items:center;flex-wrap:wrap}.el-select .el-tag__close{margin-top:-2px}.el-select .el-tag{box-sizing:border-box;border-color:transparent;margin:2px 0 2px 6px;background-color:#f0f2f5}.el-select .el-tag__close.el-icon-close{background-color:#c0c4cc;right:-7px;top:0;color:#fff}.el-select .el-tag__close.el-icon-close:hover{background-color:#909399}.el-select .el-tag__close.el-icon-close:before{display:block;transform:translateY(.5px)}.el-table{position:relative;overflow:hidden;box-sizing:border-box;flex:1;width:100%;max-width:100%;background-color:#fff;font-size:14px;color:#646970}.el-table__empty-block{min-height:60px;text-align:center;width:100%;display:flex;justify-content:center;align-items:center}.el-table__empty-text{line-height:60px;width:50%;color:#909399}.el-table__expand-column .cell{padding:0;text-align:center}.el-table__expand-icon{position:relative;cursor:pointer;color:#666;font-size:12px;transition:transform .2s ease-in-out;height:20px}.el-table__expand-icon--expanded{transform:rotate(90deg)}.el-table__expand-icon>.el-icon{position:absolute;left:50%;top:50%;margin-left:-5px;margin-top:-5px}.el-table__expanded-cell{background-color:#fff}.el-table__expanded-cell[class*=cell]{padding:20px 50px}.el-table__expanded-cell:hover{background-color:transparent!important}.el-table__placeholder{display:inline-block;width:20px}.el-table__append-wrapper{overflow:hidden}.el-table--fit{border-right:0;border-bottom:0}.el-table--fit td.gutter,.el-table--fit th.gutter{border-right-width:1px}.el-table--scrollable-x .el-table__body-wrapper{overflow-x:auto}.el-table--scrollable-y .el-table__body-wrapper{overflow-y:auto}.el-table thead{color:#909399;font-weight:500}.el-table thead.is-group th{background:#f5f7fa}.el-table td,.el-table th{padding:12px 0;min-width:0;box-sizing:border-box;text-overflow:ellipsis;vertical-align:middle;position:relative;text-align:left}.el-table td.is-center,.el-table th.is-center{text-align:center}.el-table td.is-right,.el-table th.is-right{text-align:right}.el-table td.gutter,.el-table th.gutter{width:15px;border-right-width:0;border-bottom-width:0;padding:0}.el-table td.is-hidden>*,.el-table th.is-hidden>*{visibility:hidden}.el-table--medium td,.el-table--medium th{padding:10px 0}.el-table--small{font-size:12px}.el-table--small td,.el-table--small th{padding:8px 0}.el-table--mini{font-size:12px}.el-table--mini td,.el-table--mini th{padding:6px 0}.el-table tr{background-color:#fff}.el-table tr input[type=checkbox]{margin:0}.el-table td,.el-table th.is-leaf{border-bottom:1px solid #ebeef5}.el-table th.is-sortable{cursor:pointer}.el-table th{overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fff}.el-table th>.cell{display:inline-block;box-sizing:border-box;position:relative;vertical-align:middle;padding-left:10px;padding-right:10px;width:100%}.el-table th>.cell.highlight{color:#087ce1}.el-table th.required>div:before{display:inline-block;content:"";width:8px;height:8px;border-radius:50%;background:#ff4d51;margin-right:5px;vertical-align:middle}.el-table td div{box-sizing:border-box}.el-table td.gutter{width:0}.el-table .cell{box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:normal;word-break:break-all;line-height:23px;padding-left:10px;padding-right:10px}.el-table .cell.el-tooltip{white-space:nowrap;min-width:50px}.el-table--border,.el-table--group{border:1px solid #ebeef5}.el-table--border:after,.el-table--group:after,.el-table:before{content:"";position:absolute;background-color:#ebeef5;z-index:1}.el-table--border:after,.el-table--group:after{top:0;right:0;width:1px;height:100%}.el-table:before{left:0;bottom:0;width:100%;height:1px}.el-table--border{border-right:none;border-bottom:none}.el-table--border.el-loading-parent--relative{border-color:transparent}.el-table--border td,.el-table--border th{border-right:1px solid #ebeef5}.el-table--border td:first-child .cell,.el-table--border th:first-child .cell{padding-left:10px}.el-table--border th.gutter:last-of-type{border-bottom:1px solid #ebeef5;border-bottom-width:1px}.el-table--border th{border-bottom:1px solid #ebeef5}.el-table--hidden{visibility:hidden}.el-table__fixed,.el-table__fixed-right{position:absolute;top:0;left:0;overflow-x:hidden;overflow-y:hidden;box-shadow:0 0 10px rgba(0,0,0,.12)}.el-table__fixed-right:before,.el-table__fixed:before{content:"";position:absolute;left:0;bottom:0;width:100%;height:1px;background-color:#ebeef5;z-index:4}.el-table__fixed-right-patch{position:absolute;top:-1px;right:0;background-color:#fff;border-bottom:1px solid #ebeef5}.el-table__fixed-right{top:0;left:auto;right:0}.el-table__fixed-right .el-table__fixed-body-wrapper,.el-table__fixed-right .el-table__fixed-footer-wrapper,.el-table__fixed-right .el-table__fixed-header-wrapper{left:auto;right:0}.el-table__fixed-header-wrapper{position:absolute;left:0;top:0;z-index:3}.el-table__fixed-footer-wrapper{position:absolute;left:0;bottom:0;z-index:3}.el-table__fixed-footer-wrapper tbody td{border-top:1px solid #ebeef5;background-color:#f5f7fa;color:#646970}.el-table__fixed-body-wrapper{position:absolute;left:0;top:37px;overflow:hidden;z-index:3}.el-table__body-wrapper,.el-table__footer-wrapper,.el-table__header-wrapper{width:100%}.el-table__footer-wrapper{margin-top:-1px}.el-table__footer-wrapper td{border-top:1px solid #ebeef5}.el-table__body,.el-table__footer,.el-table__header{table-layout:fixed;border-collapse:separate}.el-table__footer-wrapper,.el-table__header-wrapper{overflow:hidden}.el-table__footer-wrapper tbody td,.el-table__header-wrapper tbody td{background-color:#f5f7fa;color:#646970}.el-table__body-wrapper{overflow:hidden;position:relative}.el-table__body-wrapper.is-scrolling-left~.el-table__fixed,.el-table__body-wrapper.is-scrolling-none~.el-table__fixed,.el-table__body-wrapper.is-scrolling-none~.el-table__fixed-right,.el-table__body-wrapper.is-scrolling-right~.el-table__fixed-right{box-shadow:none}.el-table__body-wrapper .el-table--border.is-scrolling-right~.el-table__fixed-right{border-left:1px solid #ebeef5}.el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed{border-right:1px solid #ebeef5}.el-table .caret-wrapper{display:inline-flex;flex-direction:column;align-items:center;height:34px;width:24px;vertical-align:middle;cursor:pointer;overflow:initial;position:relative}.el-table .sort-caret{width:0;height:0;border:5px solid transparent;position:absolute;left:7px}.el-table .sort-caret.ascending{border-bottom-color:#c0c4cc;top:5px}.el-table .sort-caret.descending{border-top-color:#c0c4cc;bottom:7px}.el-table .ascending .sort-caret.ascending{border-bottom-color:#087ce1}.el-table .descending .sort-caret.descending{border-top-color:#087ce1}.el-table .hidden-columns{visibility:hidden;position:absolute;z-index:-1}.el-table--striped .el-table__body tr.el-table__row--striped td{background:#fafafa}.el-table--striped .el-table__body tr.el-table__row--striped.current-row td{background-color:#e6f2fc}.el-table__body tr.hover-row.current-row>td,.el-table__body tr.hover-row.el-table__row--striped.current-row>td,.el-table__body tr.hover-row.el-table__row--striped>td,.el-table__body tr.hover-row>td{background-color:#f5f7fa}.el-table__body tr.current-row>td{background-color:#e6f2fc}.el-table__column-resize-proxy{position:absolute;left:200px;top:0;bottom:0;width:0;border-left:1px solid #ebeef5;z-index:10}.el-table__column-filter-trigger{display:inline-block;line-height:34px;cursor:pointer}.el-table__column-filter-trigger i{color:#909399;font-size:12px;transform:scale(.75)}.el-table--enable-row-transition .el-table__body td{transition:background-color .25s ease}.el-table--enable-row-hover .el-table__body tr:hover>td{background-color:#f5f7fa}.el-table--fluid-height .el-table__fixed,.el-table--fluid-height .el-table__fixed-right{bottom:0;overflow:hidden}.el-table [class*=el-table__row--level] .el-table__expand-icon{display:inline-block;width:20px;line-height:20px;height:20px;text-align:center;margin-right:3px}.el-table-column--selection .cell{padding-left:14px;padding-right:14px}.el-table-filter{border:1px solid #ebeef5;border-radius:2px;background-color:#fff;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);box-sizing:border-box;margin:2px 0}.el-table-filter__list{padding:5px 0;margin:0;list-style:none;min-width:100px}.el-table-filter__list-item{line-height:36px;padding:0 10px;cursor:pointer;font-size:14px}.el-table-filter__list-item:hover{background-color:#e6f2fc;color:#3996e7}.el-table-filter__list-item.is-active{background-color:#087ce1;color:#fff}.el-table-filter__content{min-width:100px}.el-table-filter__bottom{border-top:1px solid #ebeef5;padding:8px}.el-table-filter__bottom button{background:transparent;border:none;color:#646970;cursor:pointer;font-size:13px;padding:0 3px}.el-table-filter__bottom button:hover{color:#087ce1}.el-table-filter__bottom button:focus{outline:none}.el-table-filter__bottom button.is-disabled{color:#c0c4cc;cursor:not-allowed}.el-table-filter__wrap{max-height:280px}.el-table-filter__checkbox-group{padding:10px}.el-table-filter__checkbox-group label.el-checkbox{display:block;margin-right:5px;margin-bottom:8px;margin-left:5px}.el-table-filter__checkbox-group .el-checkbox:last-child{margin-bottom:0}.el-date-table{font-size:12px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.el-date-table.is-week-mode .el-date-table__row:hover div{background-color:#f2f7fd}.el-date-table.is-week-mode .el-date-table__row:hover td.available:hover{color:#646970}.el-date-table.is-week-mode .el-date-table__row:hover td:first-child div{margin-left:5px;border-top-left-radius:15px;border-bottom-left-radius:15px}.el-date-table.is-week-mode .el-date-table__row:hover td:last-child div{margin-right:5px;border-top-right-radius:15px;border-bottom-right-radius:15px}.el-date-table.is-week-mode .el-date-table__row.current div{background-color:#f2f7fd}.el-date-table td{width:32px;height:30px;padding:4px 0;box-sizing:border-box;text-align:center;cursor:pointer;position:relative}.el-date-table td div{height:30px;padding:3px 0;box-sizing:border-box}.el-date-table td span{width:24px;height:24px;display:block;margin:0 auto;line-height:24px;position:absolute;left:50%;transform:translateX(-50%);border-radius:50%}.el-date-table td.next-month,.el-date-table td.prev-month{color:#c0c4cc}.el-date-table td.today{position:relative}.el-date-table td.today span{color:#087ce1;font-weight:700}.el-date-table td.today.end-date span,.el-date-table td.today.start-date span{color:#fff}.el-date-table td.available:hover{color:#087ce1}.el-date-table td.in-range div{background-color:#f2f7fd}.el-date-table td.in-range div:hover{background-color:#f2f6fc}.el-date-table td.current:not(.disabled) span{color:#fff;background-color:#087ce1}.el-date-table td.end-date div,.el-date-table td.start-date div{color:#fff}.el-date-table td.end-date span,.el-date-table td.start-date span{background-color:#087ce1}.el-date-table td.start-date div{margin-left:5px;border-top-left-radius:15px;border-bottom-left-radius:15px}.el-date-table td.end-date div{margin-right:5px;border-top-right-radius:15px;border-bottom-right-radius:15px}.el-date-table td.disabled div{background-color:#f5f7fa;opacity:1;cursor:not-allowed;color:#c0c4cc}.el-date-table td.selected div{margin-left:5px;margin-right:5px;background-color:#f2f7fd;border-radius:15px}.el-date-table td.selected div:hover{background-color:#f2f6fc}.el-date-table td.selected span{background-color:#087ce1;color:#fff;border-radius:15px}.el-date-table td.week{font-size:80%;color:#646970}.el-date-table th{padding:5px;color:#646970;font-weight:400;border-bottom:1px solid #ebeef5}.el-month-table{font-size:12px;margin:-1px;border-collapse:collapse}.el-month-table td{text-align:center;padding:8px 0;cursor:pointer}.el-month-table td div{height:48px;padding:6px 0;box-sizing:border-box}.el-month-table td.today .cell{color:#087ce1;font-weight:700}.el-month-table td.today.end-date .cell,.el-month-table td.today.start-date .cell{color:#fff}.el-month-table td.disabled .cell{background-color:#f5f7fa;cursor:not-allowed;color:#c0c4cc}.el-month-table td.disabled .cell:hover{color:#c0c4cc}.el-month-table td .cell{width:60px;height:36px;display:block;line-height:36px;color:#646970;margin:0 auto;border-radius:18px}.el-month-table td .cell:hover{color:#087ce1}.el-month-table td.in-range div{background-color:#f2f7fd}.el-month-table td.in-range div:hover{background-color:#f2f6fc}.el-month-table td.end-date div,.el-month-table td.start-date div{color:#fff}.el-month-table td.end-date .cell,.el-month-table td.start-date .cell{color:#fff;background-color:#087ce1}.el-month-table td.start-date div{border-top-left-radius:24px;border-bottom-left-radius:24px}.el-month-table td.end-date div{border-top-right-radius:24px;border-bottom-right-radius:24px}.el-month-table td.current:not(.disabled) .cell{color:#087ce1}.el-year-table{font-size:12px;margin:-1px;border-collapse:collapse}.el-year-table .el-icon{color:#303133}.el-year-table td{text-align:center;padding:20px 3px;cursor:pointer}.el-year-table td.today .cell{color:#087ce1;font-weight:700}.el-year-table td.disabled .cell{background-color:#f5f7fa;cursor:not-allowed;color:#c0c4cc}.el-year-table td.disabled .cell:hover{color:#c0c4cc}.el-year-table td .cell{width:48px;height:32px;display:block;line-height:32px;color:#646970;margin:0 auto}.el-year-table td .cell:hover,.el-year-table td.current:not(.disabled) .cell{color:#087ce1}.el-date-range-picker{width:646px}.el-date-range-picker.has-sidebar{width:756px}.el-date-range-picker table{table-layout:fixed;width:100%}.el-date-range-picker .el-picker-panel__body{min-width:513px}.el-date-range-picker .el-picker-panel__content{margin:0}.el-date-range-picker__header{position:relative;text-align:center;height:28px}.el-date-range-picker__header [class*=arrow-left]{float:left}.el-date-range-picker__header [class*=arrow-right]{float:right}.el-date-range-picker__header div{font-size:16px;font-weight:500;margin-right:50px}.el-date-range-picker__content{float:left;width:50%;box-sizing:border-box;margin:0;padding:16px}.el-date-range-picker__content.is-left{border-right:1px solid #e4e4e4}.el-date-range-picker__content .el-date-range-picker__header div{margin-left:50px;margin-right:50px}.el-date-range-picker__editors-wrap{box-sizing:border-box;display:table-cell}.el-date-range-picker__editors-wrap.is-right{text-align:right}.el-date-range-picker__time-header{position:relative;border-bottom:1px solid #e4e4e4;font-size:12px;padding:8px 5px 5px 5px;display:table;width:100%;box-sizing:border-box}.el-date-range-picker__time-header>.el-icon-arrow-right{font-size:20px;vertical-align:middle;display:table-cell;color:#303133}.el-date-range-picker__time-picker-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-range-picker__time-picker-wrap .el-picker-panel{position:absolute;top:13px;right:0;z-index:1;background:#fff}.el-date-picker{width:322px}.el-date-picker.has-sidebar.has-time{width:434px}.el-date-picker.has-sidebar{width:438px}.el-date-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-picker .el-picker-panel__content{width:292px}.el-date-picker table{table-layout:fixed;width:100%}.el-date-picker__editor-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-picker__time-header{position:relative;border-bottom:1px solid #e4e4e4;font-size:12px;padding:8px 5px 5px 5px;display:table;width:100%;box-sizing:border-box}.el-date-picker__header{margin:12px;text-align:center}.el-date-picker__header--bordered{margin-bottom:0;padding-bottom:12px;border-bottom:1px solid #ebeef5}.el-date-picker__header--bordered+.el-picker-panel__content{margin-top:0}.el-date-picker__header-label{font-size:16px;font-weight:500;padding:0 5px;line-height:22px;text-align:center;cursor:pointer;color:#646970}.el-date-picker__header-label.active,.el-date-picker__header-label:hover{color:#087ce1}.el-date-picker__prev-btn{float:left}.el-date-picker__next-btn{float:right}.el-date-picker__time-wrap{padding:10px;text-align:center}.el-date-picker__time-label{float:left;cursor:pointer;line-height:30px;margin-left:10px}.time-select{margin:5px 0;min-width:0}.time-select .el-picker-panel__content{max-height:200px;margin:0}.time-select-item{padding:8px 10px;font-size:14px;line-height:20px}.time-select-item.selected:not(.disabled){color:#087ce1;font-weight:700}.time-select-item.disabled{color:#e4e7ed;cursor:not-allowed}.time-select-item:hover{background-color:#f5f7fa;font-weight:700;cursor:pointer}.el-date-editor{position:relative;display:inline-block;text-align:left}.el-date-editor.el-input,.el-date-editor.el-input__inner{width:220px}.el-date-editor--monthrange.el-input,.el-date-editor--monthrange.el-input__inner{width:300px}.el-date-editor--daterange.el-input,.el-date-editor--daterange.el-input__inner,.el-date-editor--timerange.el-input,.el-date-editor--timerange.el-input__inner{width:350px}.el-date-editor--datetimerange.el-input,.el-date-editor--datetimerange.el-input__inner{width:400px}.el-date-editor--dates .el-input__inner{text-overflow:ellipsis;white-space:nowrap}.el-date-editor .el-icon-circle-close{cursor:pointer}.el-date-editor .el-range__icon{font-size:14px;margin-left:-5px;color:#c0c4cc;float:left;line-height:32px}.el-date-editor .el-range-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;outline:none;display:inline-block;height:100%;margin:0;padding:0;width:39%;text-align:center;font-size:14px;color:#646970}.el-date-editor .el-range-input::-webkit-input-placeholder{color:#c0c4cc}.el-date-editor .el-range-input::-moz-placeholder{color:#c0c4cc}.el-date-editor .el-range-input:-ms-input-placeholder{color:#c0c4cc}.el-date-editor .el-range-input::-ms-input-placeholder{color:#c0c4cc}.el-date-editor .el-range-input::placeholder{color:#c0c4cc}.el-date-editor .el-range-separator{display:inline-block;height:100%;padding:0 5px;margin:0;text-align:center;line-height:32px;font-size:14px;width:5%;color:#303133}.el-date-editor .el-range__close-icon{font-size:14px;color:#c0c4cc;width:25px;display:inline-block;float:right;line-height:32px}.el-range-editor.el-input__inner{display:inline-flex;align-items:center;padding:3px 10px}.el-range-editor .el-range-input{line-height:1}.el-range-editor.is-active,.el-range-editor.is-active:hover{border-color:#087ce1}.el-range-editor--medium.el-input__inner{height:36px}.el-range-editor--medium .el-range-separator{line-height:28px;font-size:14px}.el-range-editor--medium .el-range-input{font-size:14px}.el-range-editor--medium .el-range__close-icon,.el-range-editor--medium .el-range__icon{line-height:28px}.el-range-editor--small.el-input__inner{height:32px}.el-range-editor--small .el-range-separator{line-height:24px;font-size:13px}.el-range-editor--small .el-range-input{font-size:13px}.el-range-editor--small .el-range__close-icon,.el-range-editor--small .el-range__icon{line-height:24px}.el-range-editor--mini.el-input__inner{height:28px}.el-range-editor--mini .el-range-separator{line-height:20px;font-size:12px}.el-range-editor--mini .el-range-input{font-size:12px}.el-range-editor--mini .el-range__close-icon,.el-range-editor--mini .el-range__icon{line-height:20px}.el-range-editor.is-disabled{background-color:#f5f7fa;border-color:#e4e7ed;color:#c0c4cc;cursor:not-allowed}.el-range-editor.is-disabled:focus,.el-range-editor.is-disabled:hover{border-color:#e4e7ed}.el-range-editor.is-disabled input{background-color:#f5f7fa;color:#c0c4cc;cursor:not-allowed}.el-range-editor.is-disabled input::-webkit-input-placeholder{color:#c0c4cc}.el-range-editor.is-disabled input::-moz-placeholder{color:#c0c4cc}.el-range-editor.is-disabled input:-ms-input-placeholder{color:#c0c4cc}.el-range-editor.is-disabled input::-ms-input-placeholder{color:#c0c4cc}.el-range-editor.is-disabled input::placeholder{color:#c0c4cc}.el-range-editor.is-disabled .el-range-separator{color:#c0c4cc}.el-picker-panel{color:#646970;border:1px solid #e4e7ed;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);background:#fff;border-radius:4px;line-height:30px;margin:5px 0}.el-picker-panel__body-wrapper:after,.el-picker-panel__body:after{content:"";display:table;clear:both}.el-picker-panel__content{position:relative;margin:15px}.el-picker-panel__footer{border-top:1px solid #e4e4e4;padding:4px;text-align:right;background-color:#fff;position:relative;font-size:0}.el-picker-panel__shortcut{display:block;width:100%;border:0;background-color:transparent;line-height:28px;font-size:14px;color:#646970;padding-left:12px;text-align:left;outline:none;cursor:pointer}.el-picker-panel__shortcut:hover{color:#087ce1}.el-picker-panel__shortcut.active{background-color:#e6f1fe;color:#087ce1}.el-picker-panel__btn{border:1px solid #dcdcdc;color:#333;line-height:24px;border-radius:2px;padding:0 20px;cursor:pointer;background-color:transparent;outline:none;font-size:12px}.el-picker-panel__btn[disabled]{color:#ccc;cursor:not-allowed}.el-picker-panel__icon-btn{font-size:12px;color:#303133;border:0;background:transparent;cursor:pointer;outline:none;margin-top:8px}.el-picker-panel__icon-btn:hover{color:#087ce1}.el-picker-panel__icon-btn.is-disabled{color:#bbb}.el-picker-panel__icon-btn.is-disabled:hover{cursor:not-allowed}.el-picker-panel__link-btn{vertical-align:middle}.el-picker-panel [slot=sidebar],.el-picker-panel__sidebar{position:absolute;top:0;bottom:0;width:110px;border-right:1px solid #e4e4e4;box-sizing:border-box;padding-top:6px;background-color:#fff;overflow:auto}.el-picker-panel [slot=sidebar]+.el-picker-panel__body,.el-picker-panel__sidebar+.el-picker-panel__body{margin-left:110px}.el-time-spinner.has-seconds .el-time-spinner__wrapper{width:33.3%}.el-time-spinner__wrapper{max-height:190px;overflow:auto;display:inline-block;width:50%;vertical-align:top;position:relative}.el-time-spinner__wrapper .el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default){padding-bottom:15px}.el-time-spinner__wrapper.is-arrow{box-sizing:border-box;text-align:center;overflow:hidden}.el-time-spinner__wrapper.is-arrow .el-time-spinner__list{transform:translateY(-32px)}.el-time-spinner__wrapper.is-arrow .el-time-spinner__item:hover:not(.disabled):not(.active){background:#fff;cursor:default}.el-time-spinner__arrow{font-size:12px;color:#909399;position:absolute;left:0;width:100%;z-index:1;text-align:center;height:30px;line-height:30px;cursor:pointer}.el-time-spinner__arrow:hover{color:#087ce1}.el-time-spinner__arrow.el-icon-arrow-up{top:10px}.el-time-spinner__arrow.el-icon-arrow-down{bottom:10px}.el-time-spinner__input.el-input{width:70%}.el-time-spinner__input.el-input .el-input__inner,.el-time-spinner__list{padding:0;text-align:center}.el-time-spinner__list{margin:0;list-style:none}.el-time-spinner__list:after,.el-time-spinner__list:before{content:"";display:block;width:100%;height:80px}.el-time-spinner__item{height:32px;line-height:32px;font-size:12px;color:#646970}.el-time-spinner__item:hover:not(.disabled):not(.active){background:#f5f7fa;cursor:pointer}.el-time-spinner__item.active:not(.disabled){color:#303133;font-weight:700}.el-time-spinner__item.disabled{color:#c0c4cc;cursor:not-allowed}.el-time-panel{margin:5px 0;border:1px solid #e4e7ed;background-color:#fff;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);border-radius:2px;position:absolute;width:180px;left:0;z-index:1000;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:content-box}.el-time-panel__content{font-size:0;position:relative;overflow:hidden}.el-time-panel__content:after,.el-time-panel__content:before{content:"";top:50%;position:absolute;margin-top:-15px;height:32px;z-index:-1;left:0;right:0;box-sizing:border-box;padding-top:6px;text-align:left;border-top:1px solid #e4e7ed;border-bottom:1px solid #e4e7ed}.el-time-panel__content:after{left:50%;margin-left:12%;margin-right:12%}.el-time-panel__content:before{padding-left:50%;margin-right:12%;margin-left:12%}.el-time-panel__content.has-seconds:after{left:66.66667%}.el-time-panel__content.has-seconds:before{padding-left:33.33333%}.el-time-panel__footer{border-top:1px solid #e4e4e4;padding:4px;height:36px;line-height:25px;text-align:right;box-sizing:border-box}.el-time-panel__btn{border:none;line-height:28px;padding:0 5px;margin:0 5px;cursor:pointer;background-color:transparent;outline:none;font-size:12px;color:#303133}.el-time-panel__btn.confirm{font-weight:800;color:#087ce1}.el-time-range-picker{width:354px;overflow:visible}.el-time-range-picker__content{position:relative;text-align:center;padding:10px}.el-time-range-picker__cell{box-sizing:border-box;margin:0;padding:4px 7px 7px;width:50%;display:inline-block}.el-time-range-picker__header{margin-bottom:5px;text-align:center;font-size:14px}.el-time-range-picker__body{border-radius:2px;border:1px solid #e4e7ed}.el-popover{position:absolute;background:#fff;min-width:150px;border-radius:4px;border:1px solid #ebeef5;padding:12px;z-index:2000;color:#646970;line-height:1.4;text-align:justify;font-size:14px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);word-break:break-all}.el-popover--plain{padding:18px 20px}.el-popover__title{color:#303133;font-size:16px;line-height:1;margin-bottom:12px}.el-popover:focus,.el-popover:focus:active,.el-popover__reference:focus:hover,.el-popover__reference:focus:not(.focusing){outline-width:0}.v-modal-enter{-webkit-animation:v-modal-in .2s ease;animation:v-modal-in .2s ease}.v-modal-leave{-webkit-animation:v-modal-out .2s ease forwards;animation:v-modal-out .2s ease forwards}@keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{position:fixed;left:0;top:0;width:100%;height:100%;opacity:.5;background:#000}.el-popup-parent--hidden{overflow:hidden}.el-message-box{display:inline-block;width:420px;padding-bottom:10px;vertical-align:middle;background-color:#fff;border-radius:4px;border:1px solid #ebeef5;font-size:18px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);text-align:left;overflow:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden}.el-message-box__wrapper{position:fixed;top:0;bottom:0;left:0;right:0;text-align:center}.el-message-box__wrapper:after{content:"";display:inline-block;height:100%;width:0;vertical-align:middle}.el-message-box__header{position:relative;padding:15px;padding-bottom:10px}.el-message-box__title{padding-left:0;margin-bottom:0;font-size:18px;line-height:1;color:#303133}.el-message-box__headerbtn{position:absolute;top:15px;right:15px;padding:0;border:none;outline:none;background:transparent;font-size:16px;cursor:pointer}.el-message-box__headerbtn .el-message-box__close{color:#909399}.el-message-box__headerbtn:focus .el-message-box__close,.el-message-box__headerbtn:hover .el-message-box__close{color:#087ce1}.el-message-box__content{padding:10px 15px;color:#646970;font-size:14px}.el-message-box__container{position:relative}.el-message-box__input{padding-top:15px}.el-message-box__input input.invalid,.el-message-box__input input.invalid:focus{border-color:#f56c6c}.el-message-box__status{position:absolute;top:50%;transform:translateY(-50%);font-size:24px!important}.el-message-box__status:before{padding-left:1px}.el-message-box__status+.el-message-box__message{padding-left:36px;padding-right:12px}.el-message-box__status.el-icon-success{color:#67c23a}.el-message-box__status.el-icon-info{color:#909399}.el-message-box__status.el-icon-warning{color:#e6a23c}.el-message-box__status.el-icon-error{color:#f56c6c}.el-message-box__message{margin:0}.el-message-box__message p{margin:0;line-height:24px}.el-message-box__errormsg{color:#f56c6c;font-size:12px;min-height:18px;margin-top:2px}.el-message-box__btns{padding:5px 15px 0;text-align:right}.el-message-box__btns button:nth-child(2){margin-left:10px}.el-message-box__btns-reverse{flex-direction:row-reverse}.el-message-box--center{padding-bottom:30px}.el-message-box--center .el-message-box__header{padding-top:30px}.el-message-box--center .el-message-box__title{position:relative;display:flex;align-items:center;justify-content:center}.el-message-box--center .el-message-box__status{position:relative;top:auto;padding-right:5px;text-align:center;transform:translateY(-1px)}.el-message-box--center .el-message-box__message{margin-left:0}.el-message-box--center .el-message-box__btns,.el-message-box--center .el-message-box__content{text-align:center}.el-message-box--center .el-message-box__content{padding-left:27px;padding-right:27px}.msgbox-fade-enter-active{-webkit-animation:msgbox-fade-in .3s;animation:msgbox-fade-in .3s}.msgbox-fade-leave-active{-webkit-animation:msgbox-fade-out .3s;animation:msgbox-fade-out .3s}@-webkit-keyframes msgbox-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes msgbox-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@-webkit-keyframes msgbox-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}@keyframes msgbox-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}.el-breadcrumb{font-size:14px;line-height:1}.el-breadcrumb:after,.el-breadcrumb:before{display:table;content:""}.el-breadcrumb:after{clear:both}.el-breadcrumb__separator{margin:0 9px;font-weight:700;color:#c0c4cc}.el-breadcrumb__separator[class*=icon]{margin:0 6px;font-weight:400}.el-breadcrumb__item{float:left}.el-breadcrumb__inner{color:#646970}.el-breadcrumb__inner.is-link,.el-breadcrumb__inner a{font-weight:700;text-decoration:none;transition:color .2s cubic-bezier(.645,.045,.355,1);color:#303133}.el-breadcrumb__inner.is-link:hover,.el-breadcrumb__inner a:hover{color:#087ce1;cursor:pointer}.el-breadcrumb__item:last-child .el-breadcrumb__inner,.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner a,.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover{font-weight:400;color:#646970;cursor:text}.el-breadcrumb__item:last-child .el-breadcrumb__separator{display:none}.el-form--label-left .el-form-item__label{text-align:left}.el-form--label-top .el-form-item__label{float:none;display:inline-block;text-align:left;padding:0 0 10px 0}.el-form--inline .el-form-item{display:inline-block;margin-right:10px;vertical-align:top}.el-form--inline .el-form-item__label{float:none;display:inline-block}.el-form--inline .el-form-item__content{display:inline-block;vertical-align:top}.el-form--inline.el-form--label-top .el-form-item__content{display:block}.el-form-item{margin-bottom:22px}.el-form-item:after,.el-form-item:before{display:table;content:""}.el-form-item:after{clear:both}.el-form-item .el-form-item{margin-bottom:0}.el-form-item .el-input__validateIcon{display:none}.el-form-item--medium .el-form-item__content,.el-form-item--medium .el-form-item__label{line-height:36px}.el-form-item--small .el-form-item__content,.el-form-item--small .el-form-item__label{line-height:32px}.el-form-item--small.el-form-item{margin-bottom:18px}.el-form-item--small .el-form-item__error{padding-top:2px}.el-form-item--mini .el-form-item__content,.el-form-item--mini .el-form-item__label{line-height:28px}.el-form-item--mini.el-form-item{margin-bottom:18px}.el-form-item--mini .el-form-item__error{padding-top:1px}.el-form-item__label-wrap{float:left}.el-form-item__label-wrap .el-form-item__label{display:inline-block;float:none}.el-form-item__label{text-align:right;vertical-align:middle;float:left;font-size:14px;color:#646970;line-height:40px;padding:0 12px 0 0;box-sizing:border-box}.el-form-item__content{line-height:40px;position:relative;font-size:14px}.el-form-item__content:after,.el-form-item__content:before{display:table;content:""}.el-form-item__content:after{clear:both}.el-form-item__content .el-input-group{vertical-align:top}.el-form-item__error{color:#f56c6c;font-size:12px;line-height:1;padding-top:4px;position:absolute;top:100%;left:0}.el-form-item__error--inline{position:relative;top:auto;left:auto;display:inline-block;margin-left:10px}.el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap>.el-form-item__label:before,.el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before{content:"*";color:#f56c6c;margin-right:4px}.el-form-item.is-error .el-input__inner,.el-form-item.is-error .el-input__inner:focus,.el-form-item.is-error .el-textarea__inner,.el-form-item.is-error .el-textarea__inner:focus{border-color:#f56c6c}.el-form-item.is-error .el-input-group__append .el-input__inner,.el-form-item.is-error .el-input-group__prepend .el-input__inner{border-color:transparent}.el-form-item.is-error .el-input__validateIcon{color:#f56c6c}.el-form-item--feedback .el-input__validateIcon{display:inline-block}.el-tabs__header{padding:0;position:relative;margin:0 0 15px}.el-tabs__active-bar{position:absolute;bottom:0;left:0;height:2px;background-color:#087ce1;z-index:1;transition:transform .3s cubic-bezier(.645,.045,.355,1);list-style:none}.el-tabs__new-tab{float:right;border:1px solid #d3dce6;height:18px;width:18px;line-height:18px;margin:12px 0 9px 10px;border-radius:3px;text-align:center;font-size:12px;color:#d3dce6;cursor:pointer;transition:all .15s}.el-tabs__new-tab .el-icon-plus{transform:scale(.8)}.el-tabs__new-tab:hover{color:#087ce1}.el-tabs__nav-wrap{overflow:hidden;margin-bottom:-1px;position:relative}.el-tabs__nav-wrap:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:2px;background-color:#e4e7ed;z-index:1}.el-tabs__nav-wrap.is-scrollable{padding:0 20px;box-sizing:border-box}.el-tabs__nav-scroll{overflow:hidden}.el-tabs__nav-next,.el-tabs__nav-prev{position:absolute;cursor:pointer;line-height:44px;font-size:12px;color:#909399}.el-tabs__nav-next{right:0}.el-tabs__nav-prev{left:0}.el-tabs__nav{white-space:nowrap;position:relative;transition:transform .3s;float:left;z-index:2}.el-tabs__nav.is-stretch{min-width:100%;display:flex}.el-tabs__nav.is-stretch>*{flex:1;text-align:center}.el-tabs__item{padding:0 20px;height:40px;box-sizing:border-box;line-height:40px;display:inline-block;list-style:none;font-size:14px;font-weight:500;color:#303133;position:relative}.el-tabs__item:focus,.el-tabs__item:focus:active{outline:none}.el-tabs__item:focus.is-active.is-focus:not(:active){box-shadow:inset 0 0 2px 2px #087ce1;border-radius:3px}.el-tabs__item .el-icon-close{border-radius:50%;text-align:center;transition:all .3s cubic-bezier(.645,.045,.355,1);margin-left:5px}.el-tabs__item .el-icon-close:before{transform:scale(.9);display:inline-block}.el-tabs__item .el-icon-close:hover{background-color:#c0c4cc;color:#fff}.el-tabs__item.is-active{color:#087ce1}.el-tabs__item:hover{color:#087ce1;cursor:pointer}.el-tabs__item.is-disabled{color:#c0c4cc;cursor:default}.el-tabs__content{overflow:hidden;position:relative}.el-tabs--card>.el-tabs__header{border-bottom:1px solid #e4e7ed}.el-tabs--card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--card>.el-tabs__header .el-tabs__nav{border:1px solid #e4e7ed;border-bottom:none;border-radius:4px 4px 0 0;box-sizing:border-box}.el-tabs--card>.el-tabs__header .el-tabs__active-bar{display:none}.el-tabs--card>.el-tabs__header .el-tabs__item .el-icon-close{position:relative;font-size:12px;width:0;height:14px;vertical-align:middle;line-height:15px;overflow:hidden;top:-1px;right:-2px;transform-origin:100% 50%}.el-tabs--card>.el-tabs__header .el-tabs__item{border-bottom:1px solid transparent;border-left:1px solid #e4e7ed;transition:color .3s cubic-bezier(.645,.045,.355,1),padding .3s cubic-bezier(.645,.045,.355,1)}.el-tabs--card>.el-tabs__header .el-tabs__item:first-child{border-left:none}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover{padding-left:13px;padding-right:13px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover .el-icon-close{width:14px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active{border-bottom-color:#fff}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable{padding-left:20px;padding-right:20px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable .el-icon-close{width:14px}.el-tabs--border-card{background:#fff;border:1px solid #dcdfe6;box-shadow:0 2px 4px 0 rgba(0,0,0,.12),0 0 6px 0 rgba(0,0,0,.04)}.el-tabs--border-card>.el-tabs__content{padding:15px}.el-tabs--border-card>.el-tabs__header{background-color:#f5f7fa;border-bottom:1px solid #e4e7ed;margin:0}.el-tabs--border-card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--border-card>.el-tabs__header .el-tabs__item{transition:all .3s cubic-bezier(.645,.045,.355,1);border:1px solid transparent;margin-top:-1px;color:#909399}.el-tabs--border-card>.el-tabs__header .el-tabs__item+.el-tabs__item,.el-tabs--border-card>.el-tabs__header .el-tabs__item:first-child{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{color:#087ce1;background-color:#fff;border-right-color:#dcdfe6;border-left-color:#dcdfe6}.el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover{color:#087ce1}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-disabled{color:#c0c4cc}.el-tabs--border-card>.el-tabs__header .is-scrollable .el-tabs__item:first-child{margin-left:0}.el-tabs--bottom .el-tabs__item.is-bottom:nth-child(2),.el-tabs--bottom .el-tabs__item.is-top:nth-child(2),.el-tabs--top .el-tabs__item.is-bottom:nth-child(2),.el-tabs--top .el-tabs__item.is-top:nth-child(2){padding-left:0}.el-tabs--bottom .el-tabs__item.is-bottom:last-child,.el-tabs--bottom .el-tabs__item.is-top:last-child,.el-tabs--top .el-tabs__item.is-bottom:last-child,.el-tabs--top .el-tabs__item.is-top:last-child{padding-right:0}.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:20px}.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:last-child{padding-right:20px}.el-tabs--bottom .el-tabs__header.is-bottom{margin-bottom:0;margin-top:10px}.el-tabs--bottom.el-tabs--border-card .el-tabs__header.is-bottom{border-bottom:0;border-top:1px solid #dcdfe6}.el-tabs--bottom.el-tabs--border-card .el-tabs__nav-wrap.is-bottom{margin-top:-1px;margin-bottom:0}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom:not(.is-active){border:1px solid transparent}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom{margin:0 -1px -1px -1px}.el-tabs--left,.el-tabs--right{overflow:hidden}.el-tabs--left .el-tabs__header.is-left,.el-tabs--left .el-tabs__header.is-right,.el-tabs--left .el-tabs__nav-scroll,.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__header.is-left,.el-tabs--right .el-tabs__header.is-right,.el-tabs--right .el-tabs__nav-scroll,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{height:100%}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__active-bar.is-right,.el-tabs--right .el-tabs__active-bar.is-left,.el-tabs--right .el-tabs__active-bar.is-right{top:0;bottom:auto;width:2px;height:auto}.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{margin-bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{height:30px;line-height:30px;width:100%;text-align:center;cursor:pointer}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i{transform:rotate(90deg)}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{left:auto;top:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next{right:auto;bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--left .el-tabs__nav-wrap.is-right.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-right.is-scrollable{padding:30px 0}.el-tabs--left .el-tabs__nav-wrap.is-left:after,.el-tabs--left .el-tabs__nav-wrap.is-right:after,.el-tabs--right .el-tabs__nav-wrap.is-left:after,.el-tabs--right .el-tabs__nav-wrap.is-right:after{height:100%;width:2px;bottom:auto;top:0}.el-tabs--left .el-tabs__nav.is-left,.el-tabs--left .el-tabs__nav.is-right,.el-tabs--right .el-tabs__nav.is-left,.el-tabs--right .el-tabs__nav.is-right{float:none}.el-tabs--left .el-tabs__item.is-left,.el-tabs--left .el-tabs__item.is-right,.el-tabs--right .el-tabs__item.is-left,.el-tabs--right .el-tabs__item.is-right{display:block}.el-tabs--left .el-tabs__header.is-left{float:left;margin-bottom:0;margin-right:10px}.el-tabs--left .el-tabs__nav-wrap.is-left{margin-right:-1px}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__nav-wrap.is-left:after{left:auto;right:0}.el-tabs--left .el-tabs__item.is-left{text-align:right}.el-tabs--left.el-tabs--card .el-tabs__active-bar.is-left{display:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left{border-left:none;border-right:1px solid #e4e7ed;border-bottom:none;border-top:1px solid #e4e7ed;text-align:left}.el-tabs--left.el-tabs--card .el-tabs__item.is-left:first-child{border-right:1px solid #e4e7ed;border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active{border:1px solid #e4e7ed;border-right-color:#fff;border-left:none;border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:first-child{border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:last-child{border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__nav{border-radius:4px 0 0 4px;border-bottom:1px solid #e4e7ed;border-right:none}.el-tabs--left.el-tabs--card .el-tabs__new-tab{float:none}.el-tabs--left.el-tabs--border-card .el-tabs__header.is-left{border-right:1px solid #dfe4ed}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left{border:1px solid transparent;margin:-1px 0 -1px -1px}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left.is-active{border-color:transparent;border-top-color:#d1dbe5;border-bottom-color:#d1dbe5}.el-tabs--right .el-tabs__header.is-right{float:right;margin-bottom:0;margin-left:10px}.el-tabs--right .el-tabs__nav-wrap.is-right{margin-left:-1px}.el-tabs--right .el-tabs__nav-wrap.is-right:after{left:0;right:auto}.el-tabs--right .el-tabs__active-bar.is-right{left:0}.el-tabs--right.el-tabs--card .el-tabs__active-bar.is-right{display:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right{border-bottom:none;border-top:1px solid #e4e7ed}.el-tabs--right.el-tabs--card .el-tabs__item.is-right:first-child{border-left:1px solid #e4e7ed;border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active{border:1px solid #e4e7ed;border-left-color:#fff;border-right:none;border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:first-child{border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:last-child{border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__nav{border-radius:0 4px 4px 0;border-bottom:1px solid #e4e7ed;border-left:none}.el-tabs--right.el-tabs--border-card .el-tabs__header.is-right{border-left:1px solid #dfe4ed}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right{border:1px solid transparent;margin:-1px -1px -1px 0}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right.is-active{border-color:transparent;border-top-color:#d1dbe5;border-bottom-color:#d1dbe5}.slideInLeft-transition,.slideInRight-transition{display:inline-block}.slideInRight-enter{-webkit-animation:slideInRight-enter .3s;animation:slideInRight-enter .3s}.slideInRight-leave{position:absolute;left:0;right:0;-webkit-animation:slideInRight-leave .3s;animation:slideInRight-leave .3s}.slideInLeft-enter{-webkit-animation:slideInLeft-enter .3s;animation:slideInLeft-enter .3s}.slideInLeft-leave{position:absolute;left:0;right:0;-webkit-animation:slideInLeft-leave .3s;animation:slideInLeft-leave .3s}@-webkit-keyframes slideInRight-enter{0%{opacity:0;transform-origin:0 0;transform:translateX(100%)}to{opacity:1;transform-origin:0 0;transform:translateX(0)}}@keyframes slideInRight-enter{0%{opacity:0;transform-origin:0 0;transform:translateX(100%)}to{opacity:1;transform-origin:0 0;transform:translateX(0)}}@-webkit-keyframes slideInRight-leave{0%{transform-origin:0 0;transform:translateX(0);opacity:1}to{transform-origin:0 0;transform:translateX(100%);opacity:0}}@keyframes slideInRight-leave{0%{transform-origin:0 0;transform:translateX(0);opacity:1}to{transform-origin:0 0;transform:translateX(100%);opacity:0}}@-webkit-keyframes slideInLeft-enter{0%{opacity:0;transform-origin:0 0;transform:translateX(-100%)}to{opacity:1;transform-origin:0 0;transform:translateX(0)}}@keyframes slideInLeft-enter{0%{opacity:0;transform-origin:0 0;transform:translateX(-100%)}to{opacity:1;transform-origin:0 0;transform:translateX(0)}}@-webkit-keyframes slideInLeft-leave{0%{transform-origin:0 0;transform:translateX(0);opacity:1}to{transform-origin:0 0;transform:translateX(-100%);opacity:0}}@keyframes slideInLeft-leave{0%{transform-origin:0 0;transform:translateX(0);opacity:1}to{transform-origin:0 0;transform:translateX(-100%);opacity:0}}.el-tree{position:relative;cursor:default;background:#fff;color:#646970}.el-tree__empty-block{position:relative;min-height:60px;text-align:center;width:100%;height:100%}.el-tree__empty-text{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#909399;font-size:14px}.el-tree__drop-indicator{position:absolute;left:0;right:0;height:1px;background-color:#087ce1}.el-tree-node{white-space:nowrap;outline:none}.el-tree-node:focus>.el-tree-node__content{background-color:#f5f7fa}.el-tree-node.is-drop-inner>.el-tree-node__content .el-tree-node__label{background-color:#087ce1;color:#fff}.el-tree-node__content{display:flex;align-items:center;height:26px;cursor:pointer}.el-tree-node__content>.el-tree-node__expand-icon{padding:6px}.el-tree-node__content>label.el-checkbox{margin-right:8px}.el-tree-node__content:hover{background-color:#f5f7fa}.el-tree.is-dragging .el-tree-node__content{cursor:move}.el-tree.is-dragging .el-tree-node__content *{pointer-events:none}.el-tree.is-dragging.is-drop-not-allow .el-tree-node__content{cursor:not-allowed}.el-tree-node__expand-icon{cursor:pointer;color:#c0c4cc;font-size:12px;transform:rotate(0deg);transition:transform .3s ease-in-out}.el-tree-node__expand-icon.expanded{transform:rotate(90deg)}.el-tree-node__expand-icon.is-leaf{color:transparent;cursor:default}.el-tree-node__label{font-size:14px}.el-tree-node__loading-icon{margin-right:8px;font-size:14px;color:#c0c4cc}.el-tree-node>.el-tree-node__children{overflow:hidden;background-color:transparent}.el-tree-node.is-expanded>.el-tree-node__children{display:block}.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{background-color:#ebf5fd}.el-alert{width:100%;padding:8px 16px;margin:0;box-sizing:border-box;border-radius:4px;position:relative;background-color:#fff;overflow:hidden;opacity:1;display:flex;align-items:center;transition:opacity .2s}.el-alert.is-light .el-alert__closebtn{color:#c0c4cc}.el-alert.is-dark .el-alert__closebtn,.el-alert.is-dark .el-alert__description{color:#fff}.el-alert.is-center{justify-content:center}.el-alert--success.is-light{background-color:#f0f9eb;color:#67c23a}.el-alert--success.is-light .el-alert__description{color:#67c23a}.el-alert--success.is-dark{background-color:#67c23a;color:#fff}.el-alert--info.is-light{background-color:#f4f4f5;color:#909399}.el-alert--info.is-dark{background-color:#909399;color:#fff}.el-alert--info .el-alert__description{color:#909399}.el-alert--warning.is-light{background-color:#fdf6ec;color:#e6a23c}.el-alert--warning.is-light .el-alert__description{color:#e6a23c}.el-alert--warning.is-dark{background-color:#e6a23c;color:#fff}.el-alert--error.is-light{background-color:#fef0f0;color:#f56c6c}.el-alert--error.is-light .el-alert__description{color:#f56c6c}.el-alert--error.is-dark{background-color:#f56c6c;color:#fff}.el-alert__content{display:table-cell;padding:0 8px}.el-alert__icon{font-size:16px;width:16px}.el-alert__icon.is-big{font-size:28px;width:28px}.el-alert__title{font-size:13px;line-height:18px}.el-alert__title.is-bold{font-weight:700}.el-alert .el-alert__description{font-size:12px;margin:5px 0 0 0}.el-alert__closebtn{font-size:12px;opacity:1;position:absolute;top:12px;right:15px;cursor:pointer}.el-alert__closebtn.is-customed{font-style:normal;font-size:13px;top:9px}.el-alert-fade-enter,.el-alert-fade-leave-active{opacity:0}.el-notification{display:flex;width:330px;padding:14px 26px 14px 13px;border-radius:8px;box-sizing:border-box;border:1px solid #ebeef5;position:fixed;background-color:#fff;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);transition:opacity .3s,transform .3s,left .3s,right .3s,top .4s,bottom .3s;overflow:hidden}.el-notification.right{right:16px}.el-notification.left{left:16px}.el-notification__group{margin-left:13px;margin-right:8px}.el-notification__title{font-weight:700;font-size:16px;color:#303133;margin:0}.el-notification__content{font-size:14px;line-height:21px;margin:6px 0 0 0;color:#646970;text-align:justify}.el-notification__content p{margin:0}.el-notification__icon{height:24px;width:24px;font-size:24px}.el-notification__closeBtn{position:absolute;top:18px;right:15px;cursor:pointer;color:#909399;font-size:16px}.el-notification__closeBtn:hover{color:#646970}.el-notification .el-icon-success{color:#67c23a}.el-notification .el-icon-error{color:#f56c6c}.el-notification .el-icon-info{color:#909399}.el-notification .el-icon-warning{color:#e6a23c}.el-notification-fade-enter.right{right:0;transform:translateX(100%)}.el-notification-fade-enter.left{left:0;transform:translateX(-100%)}.el-notification-fade-leave-active{opacity:0}.el-input-number{position:relative;display:inline-block;width:180px;line-height:38px}.el-input-number .el-input{display:block}.el-input-number .el-input__inner{-webkit-appearance:none;padding-left:50px;padding-right:50px;text-align:center}.el-input-number__decrease,.el-input-number__increase{position:absolute;z-index:1;top:1px;width:40px;height:auto;text-align:center;background:#f5f7fa;color:#646970;cursor:pointer;font-size:13px}.el-input-number__decrease:hover,.el-input-number__increase:hover{color:#087ce1}.el-input-number__decrease:hover:not(.is-disabled)~.el-input .el-input__inner:not(.is-disabled),.el-input-number__increase:hover:not(.is-disabled)~.el-input .el-input__inner:not(.is-disabled){border-color:#087ce1}.el-input-number__decrease.is-disabled,.el-input-number__increase.is-disabled{color:#c0c4cc;cursor:not-allowed}.el-input-number__increase{right:1px;border-radius:0 4px 4px 0;border-left:1px solid #dcdfe6}.el-input-number__decrease{left:1px;border-radius:4px 0 0 4px;border-right:1px solid #dcdfe6}.el-input-number.is-disabled .el-input-number__decrease,.el-input-number.is-disabled .el-input-number__increase{border-color:#e4e7ed;color:#e4e7ed}.el-input-number.is-disabled .el-input-number__decrease:hover,.el-input-number.is-disabled .el-input-number__increase:hover{color:#e4e7ed;cursor:not-allowed}.el-input-number--medium{width:200px;line-height:34px}.el-input-number--medium .el-input-number__decrease,.el-input-number--medium .el-input-number__increase{width:36px;font-size:14px}.el-input-number--medium .el-input__inner{padding-left:43px;padding-right:43px}.el-input-number--small{width:130px;line-height:30px}.el-input-number--small .el-input-number__decrease,.el-input-number--small .el-input-number__increase{width:32px;font-size:13px}.el-input-number--small .el-input-number__decrease [class*=el-icon],.el-input-number--small .el-input-number__increase [class*=el-icon]{transform:scale(.9)}.el-input-number--small .el-input__inner{padding-left:39px;padding-right:39px}.el-input-number--mini{width:130px;line-height:26px}.el-input-number--mini .el-input-number__decrease,.el-input-number--mini .el-input-number__increase{width:28px;font-size:12px}.el-input-number--mini .el-input-number__decrease [class*=el-icon],.el-input-number--mini .el-input-number__increase [class*=el-icon]{transform:scale(.8)}.el-input-number--mini .el-input__inner{padding-left:35px;padding-right:35px}.el-input-number.is-without-controls .el-input__inner{padding-left:15px;padding-right:15px}.el-input-number.is-controls-right .el-input__inner{padding-left:15px;padding-right:50px}.el-input-number.is-controls-right .el-input-number__decrease,.el-input-number.is-controls-right .el-input-number__increase{height:auto;line-height:19px}.el-input-number.is-controls-right .el-input-number__decrease [class*=el-icon],.el-input-number.is-controls-right .el-input-number__increase [class*=el-icon]{transform:scale(.8)}.el-input-number.is-controls-right .el-input-number__increase{border-radius:0 4px 0 0;border-bottom:1px solid #dcdfe6}.el-input-number.is-controls-right .el-input-number__decrease{right:1px;bottom:1px;top:auto;left:auto;border-right:none;border-left:1px solid #dcdfe6;border-radius:0 0 4px 0}.el-input-number.is-controls-right[class*=medium] [class*=decrease],.el-input-number.is-controls-right[class*=medium] [class*=increase]{line-height:17px}.el-input-number.is-controls-right[class*=small] [class*=decrease],.el-input-number.is-controls-right[class*=small] [class*=increase]{line-height:15px}.el-input-number.is-controls-right[class*=mini] [class*=decrease],.el-input-number.is-controls-right[class*=mini] [class*=increase]{line-height:13px}.el-tooltip:focus:hover,.el-tooltip:focus:not(.focusing){outline-width:0}.el-tooltip__popper{position:absolute;border-radius:4px;padding:10px;z-index:2000;font-size:12px;line-height:1.2;min-width:10px;word-wrap:break-word}.el-tooltip__popper .popper__arrow,.el-tooltip__popper .popper__arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.el-tooltip__popper .popper__arrow{border-width:6px}.el-tooltip__popper .popper__arrow:after{content:" ";border-width:5px}.el-tooltip__popper[x-placement^=top]{margin-bottom:12px}.el-tooltip__popper[x-placement^=top] .popper__arrow{bottom:-6px;border-top-color:#303133;border-bottom-width:0}.el-tooltip__popper[x-placement^=top] .popper__arrow:after{bottom:1px;margin-left:-5px;border-top-color:#303133;border-bottom-width:0}.el-tooltip__popper[x-placement^=bottom]{margin-top:12px}.el-tooltip__popper[x-placement^=bottom] .popper__arrow{top:-6px;border-top-width:0;border-bottom-color:#303133}.el-tooltip__popper[x-placement^=bottom] .popper__arrow:after{top:1px;margin-left:-5px;border-top-width:0;border-bottom-color:#303133}.el-tooltip__popper[x-placement^=right]{margin-left:12px}.el-tooltip__popper[x-placement^=right] .popper__arrow{left:-6px;border-right-color:#303133;border-left-width:0}.el-tooltip__popper[x-placement^=right] .popper__arrow:after{bottom:-5px;left:1px;border-right-color:#303133;border-left-width:0}.el-tooltip__popper[x-placement^=left]{margin-right:12px}.el-tooltip__popper[x-placement^=left] .popper__arrow{right:-6px;border-right-width:0;border-left-color:#303133}.el-tooltip__popper[x-placement^=left] .popper__arrow:after{right:1px;bottom:-5px;margin-left:-5px;border-right-width:0;border-left-color:#303133}.el-tooltip__popper.is-dark{background:#303133;color:#fff}.el-tooltip__popper.is-light{background:#fff;border:1px solid #303133}.el-tooltip__popper.is-light[x-placement^=top] .popper__arrow{border-top-color:#303133}.el-tooltip__popper.is-light[x-placement^=top] .popper__arrow:after{border-top-color:#fff}.el-tooltip__popper.is-light[x-placement^=bottom] .popper__arrow{border-bottom-color:#303133}.el-tooltip__popper.is-light[x-placement^=bottom] .popper__arrow:after{border-bottom-color:#fff}.el-tooltip__popper.is-light[x-placement^=left] .popper__arrow{border-left-color:#303133}.el-tooltip__popper.is-light[x-placement^=left] .popper__arrow:after{border-left-color:#fff}.el-tooltip__popper.is-light[x-placement^=right] .popper__arrow{border-right-color:#303133}.el-tooltip__popper.is-light[x-placement^=right] .popper__arrow:after{border-right-color:#fff}.el-slider:after,.el-slider:before{display:table;content:""}.el-slider:after{clear:both}.el-slider__runway{width:100%;height:6px;margin:16px 0;background-color:#e4e7ed;border-radius:3px;position:relative;cursor:pointer;vertical-align:middle}.el-slider__runway.show-input{margin-right:160px;width:auto}.el-slider__runway.disabled{cursor:default}.el-slider__runway.disabled .el-slider__bar{background-color:#c0c4cc}.el-slider__runway.disabled .el-slider__button{border-color:#c0c4cc}.el-slider__runway.disabled .el-slider__button-wrapper.dragging,.el-slider__runway.disabled .el-slider__button-wrapper.hover,.el-slider__runway.disabled .el-slider__button-wrapper:hover{cursor:not-allowed}.el-slider__runway.disabled .el-slider__button.dragging,.el-slider__runway.disabled .el-slider__button.hover,.el-slider__runway.disabled .el-slider__button:hover{transform:scale(1)}.el-slider__runway.disabled .el-slider__button.dragging,.el-slider__runway.disabled .el-slider__button.hover,.el-slider__runway.disabled .el-slider__button:hover{cursor:not-allowed}.el-slider__input{float:right;margin-top:3px;width:130px}.el-slider__input.el-input-number--mini{margin-top:5px}.el-slider__input.el-input-number--medium{margin-top:0}.el-slider__input.el-input-number--large{margin-top:-2px}.el-slider__bar{height:6px;background-color:#087ce1;border-top-left-radius:3px;border-bottom-left-radius:3px;position:absolute}.el-slider__button-wrapper{height:36px;width:36px;position:absolute;z-index:1001;top:-15px;transform:translateX(-50%);background-color:transparent;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;line-height:normal}.el-slider__button-wrapper:after{content:"";height:100%}.el-slider__button-wrapper .el-tooltip,.el-slider__button-wrapper:after{display:inline-block;vertical-align:middle}.el-slider__button-wrapper.hover,.el-slider__button-wrapper:hover{cursor:-webkit-grab;cursor:grab}.el-slider__button-wrapper.dragging{cursor:-webkit-grabbing;cursor:grabbing}.el-slider__button{width:16px;height:16px;border:2px solid #087ce1;background-color:#fff;border-radius:50%;transition:.2s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.el-slider__button.dragging,.el-slider__button.hover,.el-slider__button:hover{transform:scale(1.2)}.el-slider__button.hover,.el-slider__button:hover{cursor:-webkit-grab;cursor:grab}.el-slider__button.dragging{cursor:-webkit-grabbing;cursor:grabbing}.el-slider__stop{position:absolute;height:6px;width:6px;border-radius:100%;background-color:#fff;transform:translateX(-50%)}.el-slider__marks{top:0;left:12px;width:18px;height:100%}.el-slider__marks-text{position:absolute;transform:translateX(-50%);font-size:14px;color:#909399;margin-top:15px}.el-slider.is-vertical{position:relative}.el-slider.is-vertical .el-slider__runway{width:6px;height:100%;margin:0 16px}.el-slider.is-vertical .el-slider__bar{width:6px;height:auto;border-radius:0 0 3px 3px}.el-slider.is-vertical .el-slider__button-wrapper{top:auto;left:-15px;transform:translateY(50%)}.el-slider.is-vertical .el-slider__stop{transform:translateY(50%)}.el-slider.is-vertical.el-slider--with-input{padding-bottom:58px}.el-slider.is-vertical.el-slider--with-input .el-slider__input{overflow:visible;float:none;position:absolute;bottom:22px;width:36px;margin-top:15px}.el-slider.is-vertical.el-slider--with-input .el-slider__input .el-input__inner{text-align:center;padding-left:5px;padding-right:5px}.el-slider.is-vertical.el-slider--with-input .el-slider__input .el-input-number__decrease,.el-slider.is-vertical.el-slider--with-input .el-slider__input .el-input-number__increase{top:32px;margin-top:-1px;border:1px solid #dcdfe6;line-height:20px;box-sizing:border-box;transition:border-color .2s cubic-bezier(.645,.045,.355,1)}.el-slider.is-vertical.el-slider--with-input .el-slider__input .el-input-number__decrease{width:18px;right:18px;border-bottom-left-radius:4px}.el-slider.is-vertical.el-slider--with-input .el-slider__input .el-input-number__increase{width:19px;border-bottom-right-radius:4px}.el-slider.is-vertical.el-slider--with-input .el-slider__input .el-input-number__increase~.el-input .el-input__inner{border-bottom-left-radius:0;border-bottom-right-radius:0}.el-slider.is-vertical.el-slider--with-input .el-slider__input:hover .el-input-number__decrease,.el-slider.is-vertical.el-slider--with-input .el-slider__input:hover .el-input-number__increase{border-color:#c0c4cc}.el-slider.is-vertical.el-slider--with-input .el-slider__input:active .el-input-number__decrease,.el-slider.is-vertical.el-slider--with-input .el-slider__input:active .el-input-number__increase{border-color:#087ce1}.el-slider.is-vertical .el-slider__marks-text{margin-top:0;left:15px;transform:translateY(50%)}.el-loading-parent--relative{position:relative!important}.el-loading-parent--hidden{overflow:hidden!important}.el-loading-mask{position:absolute;z-index:2000;background-color:hsla(0,0%,100%,.9);margin:0;top:0;right:0;bottom:0;left:0;transition:opacity .3s}.el-loading-mask.is-fullscreen{position:fixed}.el-loading-mask.is-fullscreen .el-loading-spinner{margin-top:-25px}.el-loading-mask.is-fullscreen .el-loading-spinner .circular{height:50px;width:50px}.el-loading-spinner{top:50%;margin-top:-21px;width:100%;text-align:center;position:absolute}.el-loading-spinner .el-loading-text{color:#087ce1;margin:3px 0;font-size:14px}.el-loading-spinner .circular{height:42px;width:42px;-webkit-animation:loading-rotate 2s linear infinite;animation:loading-rotate 2s linear infinite}.el-loading-spinner .path{-webkit-animation:loading-dash 1.5s ease-in-out infinite;animation:loading-dash 1.5s ease-in-out infinite;stroke-dasharray:90,150;stroke-dashoffset:0;stroke-width:2;stroke:#087ce1;stroke-linecap:round}.el-loading-spinner i{color:#087ce1}.el-loading-fade-enter,.el-loading-fade-leave-active{opacity:0}@-webkit-keyframes loading-rotate{to{transform:rotate(1turn)}}@keyframes loading-rotate{to{transform:rotate(1turn)}}@-webkit-keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}to{stroke-dasharray:90,150;stroke-dashoffset:-120px}}@keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}to{stroke-dasharray:90,150;stroke-dashoffset:-120px}}.el-row{position:relative;box-sizing:border-box}.el-row:after,.el-row:before{display:table;content:""}.el-row:after{clear:both}.el-row--flex{display:flex}.el-row--flex:after,.el-row--flex:before{display:none}.el-row--flex.is-justify-center{justify-content:center}.el-row--flex.is-justify-end{justify-content:flex-end}.el-row--flex.is-justify-space-between{justify-content:space-between}.el-row--flex.is-justify-space-around{justify-content:space-around}.el-row--flex.is-align-middle{align-items:center}.el-row--flex.is-align-bottom{align-items:flex-end}[class*=el-col-]{float:left;box-sizing:border-box}.el-col-0{display:none;width:0}.el-col-offset-0{margin-left:0}.el-col-pull-0{position:relative;right:0}.el-col-push-0{position:relative;left:0}.el-col-1{width:4.1666666667%}.el-col-offset-1{margin-left:4.1666666667%}.el-col-pull-1{position:relative;right:4.1666666667%}.el-col-push-1{position:relative;left:4.1666666667%}.el-col-2{width:8.3333333333%}.el-col-offset-2{margin-left:8.3333333333%}.el-col-pull-2{position:relative;right:8.3333333333%}.el-col-push-2{position:relative;left:8.3333333333%}.el-col-3{width:12.5%}.el-col-offset-3{margin-left:12.5%}.el-col-pull-3{position:relative;right:12.5%}.el-col-push-3{position:relative;left:12.5%}.el-col-4{width:16.6666666667%}.el-col-offset-4{margin-left:16.6666666667%}.el-col-pull-4{position:relative;right:16.6666666667%}.el-col-push-4{position:relative;left:16.6666666667%}.el-col-5{width:20.8333333333%}.el-col-offset-5{margin-left:20.8333333333%}.el-col-pull-5{position:relative;right:20.8333333333%}.el-col-push-5{position:relative;left:20.8333333333%}.el-col-6{width:25%}.el-col-offset-6{margin-left:25%}.el-col-pull-6{position:relative;right:25%}.el-col-push-6{position:relative;left:25%}.el-col-7{width:29.1666666667%}.el-col-offset-7{margin-left:29.1666666667%}.el-col-pull-7{position:relative;right:29.1666666667%}.el-col-push-7{position:relative;left:29.1666666667%}.el-col-8{width:33.3333333333%}.el-col-offset-8{margin-left:33.3333333333%}.el-col-pull-8{position:relative;right:33.3333333333%}.el-col-push-8{position:relative;left:33.3333333333%}.el-col-9{width:37.5%}.el-col-offset-9{margin-left:37.5%}.el-col-pull-9{position:relative;right:37.5%}.el-col-push-9{position:relative;left:37.5%}.el-col-10{width:41.6666666667%}.el-col-offset-10{margin-left:41.6666666667%}.el-col-pull-10{position:relative;right:41.6666666667%}.el-col-push-10{position:relative;left:41.6666666667%}.el-col-11{width:45.8333333333%}.el-col-offset-11{margin-left:45.8333333333%}.el-col-pull-11{position:relative;right:45.8333333333%}.el-col-push-11{position:relative;left:45.8333333333%}.el-col-12{width:50%}.el-col-offset-12{margin-left:50%}.el-col-pull-12{position:relative;right:50%}.el-col-push-12{position:relative;left:50%}.el-col-13{width:54.1666666667%}.el-col-offset-13{margin-left:54.1666666667%}.el-col-pull-13{position:relative;right:54.1666666667%}.el-col-push-13{position:relative;left:54.1666666667%}.el-col-14{width:58.3333333333%}.el-col-offset-14{margin-left:58.3333333333%}.el-col-pull-14{position:relative;right:58.3333333333%}.el-col-push-14{position:relative;left:58.3333333333%}.el-col-15{width:62.5%}.el-col-offset-15{margin-left:62.5%}.el-col-pull-15{position:relative;right:62.5%}.el-col-push-15{position:relative;left:62.5%}.el-col-16{width:66.6666666667%}.el-col-offset-16{margin-left:66.6666666667%}.el-col-pull-16{position:relative;right:66.6666666667%}.el-col-push-16{position:relative;left:66.6666666667%}.el-col-17{width:70.8333333333%}.el-col-offset-17{margin-left:70.8333333333%}.el-col-pull-17{position:relative;right:70.8333333333%}.el-col-push-17{position:relative;left:70.8333333333%}.el-col-18{width:75%}.el-col-offset-18{margin-left:75%}.el-col-pull-18{position:relative;right:75%}.el-col-push-18{position:relative;left:75%}.el-col-19{width:79.1666666667%}.el-col-offset-19{margin-left:79.1666666667%}.el-col-pull-19{position:relative;right:79.1666666667%}.el-col-push-19{position:relative;left:79.1666666667%}.el-col-20{width:83.3333333333%}.el-col-offset-20{margin-left:83.3333333333%}.el-col-pull-20{position:relative;right:83.3333333333%}.el-col-push-20{position:relative;left:83.3333333333%}.el-col-21{width:87.5%}.el-col-offset-21{margin-left:87.5%}.el-col-pull-21{position:relative;right:87.5%}.el-col-push-21{position:relative;left:87.5%}.el-col-22{width:91.6666666667%}.el-col-offset-22{margin-left:91.6666666667%}.el-col-pull-22{position:relative;right:91.6666666667%}.el-col-push-22{position:relative;left:91.6666666667%}.el-col-23{width:95.8333333333%}.el-col-offset-23{margin-left:95.8333333333%}.el-col-pull-23{position:relative;right:95.8333333333%}.el-col-push-23{position:relative;left:95.8333333333%}.el-col-24{width:100%}.el-col-offset-24{margin-left:100%}.el-col-pull-24{position:relative;right:100%}.el-col-push-24{position:relative;left:100%}@media only screen and (max-width:767px){.el-col-xs-0{display:none;width:0}.el-col-xs-offset-0{margin-left:0}.el-col-xs-pull-0{position:relative;right:0}.el-col-xs-push-0{position:relative;left:0}.el-col-xs-1{width:4.1666666667%}.el-col-xs-offset-1{margin-left:4.1666666667%}.el-col-xs-pull-1{position:relative;right:4.1666666667%}.el-col-xs-push-1{position:relative;left:4.1666666667%}.el-col-xs-2{width:8.3333333333%}.el-col-xs-offset-2{margin-left:8.3333333333%}.el-col-xs-pull-2{position:relative;right:8.3333333333%}.el-col-xs-push-2{position:relative;left:8.3333333333%}.el-col-xs-3{width:12.5%}.el-col-xs-offset-3{margin-left:12.5%}.el-col-xs-pull-3{position:relative;right:12.5%}.el-col-xs-push-3{position:relative;left:12.5%}.el-col-xs-4{width:16.6666666667%}.el-col-xs-offset-4{margin-left:16.6666666667%}.el-col-xs-pull-4{position:relative;right:16.6666666667%}.el-col-xs-push-4{position:relative;left:16.6666666667%}.el-col-xs-5{width:20.8333333333%}.el-col-xs-offset-5{margin-left:20.8333333333%}.el-col-xs-pull-5{position:relative;right:20.8333333333%}.el-col-xs-push-5{position:relative;left:20.8333333333%}.el-col-xs-6{width:25%}.el-col-xs-offset-6{margin-left:25%}.el-col-xs-pull-6{position:relative;right:25%}.el-col-xs-push-6{position:relative;left:25%}.el-col-xs-7{width:29.1666666667%}.el-col-xs-offset-7{margin-left:29.1666666667%}.el-col-xs-pull-7{position:relative;right:29.1666666667%}.el-col-xs-push-7{position:relative;left:29.1666666667%}.el-col-xs-8{width:33.3333333333%}.el-col-xs-offset-8{margin-left:33.3333333333%}.el-col-xs-pull-8{position:relative;right:33.3333333333%}.el-col-xs-push-8{position:relative;left:33.3333333333%}.el-col-xs-9{width:37.5%}.el-col-xs-offset-9{margin-left:37.5%}.el-col-xs-pull-9{position:relative;right:37.5%}.el-col-xs-push-9{position:relative;left:37.5%}.el-col-xs-10{width:41.6666666667%}.el-col-xs-offset-10{margin-left:41.6666666667%}.el-col-xs-pull-10{position:relative;right:41.6666666667%}.el-col-xs-push-10{position:relative;left:41.6666666667%}.el-col-xs-11{width:45.8333333333%}.el-col-xs-offset-11{margin-left:45.8333333333%}.el-col-xs-pull-11{position:relative;right:45.8333333333%}.el-col-xs-push-11{position:relative;left:45.8333333333%}.el-col-xs-12{width:50%}.el-col-xs-offset-12{margin-left:50%}.el-col-xs-pull-12{position:relative;right:50%}.el-col-xs-push-12{position:relative;left:50%}.el-col-xs-13{width:54.1666666667%}.el-col-xs-offset-13{margin-left:54.1666666667%}.el-col-xs-pull-13{position:relative;right:54.1666666667%}.el-col-xs-push-13{position:relative;left:54.1666666667%}.el-col-xs-14{width:58.3333333333%}.el-col-xs-offset-14{margin-left:58.3333333333%}.el-col-xs-pull-14{position:relative;right:58.3333333333%}.el-col-xs-push-14{position:relative;left:58.3333333333%}.el-col-xs-15{width:62.5%}.el-col-xs-offset-15{margin-left:62.5%}.el-col-xs-pull-15{position:relative;right:62.5%}.el-col-xs-push-15{position:relative;left:62.5%}.el-col-xs-16{width:66.6666666667%}.el-col-xs-offset-16{margin-left:66.6666666667%}.el-col-xs-pull-16{position:relative;right:66.6666666667%}.el-col-xs-push-16{position:relative;left:66.6666666667%}.el-col-xs-17{width:70.8333333333%}.el-col-xs-offset-17{margin-left:70.8333333333%}.el-col-xs-pull-17{position:relative;right:70.8333333333%}.el-col-xs-push-17{position:relative;left:70.8333333333%}.el-col-xs-18{width:75%}.el-col-xs-offset-18{margin-left:75%}.el-col-xs-pull-18{position:relative;right:75%}.el-col-xs-push-18{position:relative;left:75%}.el-col-xs-19{width:79.1666666667%}.el-col-xs-offset-19{margin-left:79.1666666667%}.el-col-xs-pull-19{position:relative;right:79.1666666667%}.el-col-xs-push-19{position:relative;left:79.1666666667%}.el-col-xs-20{width:83.3333333333%}.el-col-xs-offset-20{margin-left:83.3333333333%}.el-col-xs-pull-20{position:relative;right:83.3333333333%}.el-col-xs-push-20{position:relative;left:83.3333333333%}.el-col-xs-21{width:87.5%}.el-col-xs-offset-21{margin-left:87.5%}.el-col-xs-pull-21{position:relative;right:87.5%}.el-col-xs-push-21{position:relative;left:87.5%}.el-col-xs-22{width:91.6666666667%}.el-col-xs-offset-22{margin-left:91.6666666667%}.el-col-xs-pull-22{position:relative;right:91.6666666667%}.el-col-xs-push-22{position:relative;left:91.6666666667%}.el-col-xs-23{width:95.8333333333%}.el-col-xs-offset-23{margin-left:95.8333333333%}.el-col-xs-pull-23{position:relative;right:95.8333333333%}.el-col-xs-push-23{position:relative;left:95.8333333333%}.el-col-xs-24{width:100%}.el-col-xs-offset-24{margin-left:100%}.el-col-xs-pull-24{position:relative;right:100%}.el-col-xs-push-24{position:relative;left:100%}}@media only screen and (min-width:768px){.el-col-sm-0{display:none;width:0}.el-col-sm-offset-0{margin-left:0}.el-col-sm-pull-0{position:relative;right:0}.el-col-sm-push-0{position:relative;left:0}.el-col-sm-1{width:4.1666666667%}.el-col-sm-offset-1{margin-left:4.1666666667%}.el-col-sm-pull-1{position:relative;right:4.1666666667%}.el-col-sm-push-1{position:relative;left:4.1666666667%}.el-col-sm-2{width:8.3333333333%}.el-col-sm-offset-2{margin-left:8.3333333333%}.el-col-sm-pull-2{position:relative;right:8.3333333333%}.el-col-sm-push-2{position:relative;left:8.3333333333%}.el-col-sm-3{width:12.5%}.el-col-sm-offset-3{margin-left:12.5%}.el-col-sm-pull-3{position:relative;right:12.5%}.el-col-sm-push-3{position:relative;left:12.5%}.el-col-sm-4{width:16.6666666667%}.el-col-sm-offset-4{margin-left:16.6666666667%}.el-col-sm-pull-4{position:relative;right:16.6666666667%}.el-col-sm-push-4{position:relative;left:16.6666666667%}.el-col-sm-5{width:20.8333333333%}.el-col-sm-offset-5{margin-left:20.8333333333%}.el-col-sm-pull-5{position:relative;right:20.8333333333%}.el-col-sm-push-5{position:relative;left:20.8333333333%}.el-col-sm-6{width:25%}.el-col-sm-offset-6{margin-left:25%}.el-col-sm-pull-6{position:relative;right:25%}.el-col-sm-push-6{position:relative;left:25%}.el-col-sm-7{width:29.1666666667%}.el-col-sm-offset-7{margin-left:29.1666666667%}.el-col-sm-pull-7{position:relative;right:29.1666666667%}.el-col-sm-push-7{position:relative;left:29.1666666667%}.el-col-sm-8{width:33.3333333333%}.el-col-sm-offset-8{margin-left:33.3333333333%}.el-col-sm-pull-8{position:relative;right:33.3333333333%}.el-col-sm-push-8{position:relative;left:33.3333333333%}.el-col-sm-9{width:37.5%}.el-col-sm-offset-9{margin-left:37.5%}.el-col-sm-pull-9{position:relative;right:37.5%}.el-col-sm-push-9{position:relative;left:37.5%}.el-col-sm-10{width:41.6666666667%}.el-col-sm-offset-10{margin-left:41.6666666667%}.el-col-sm-pull-10{position:relative;right:41.6666666667%}.el-col-sm-push-10{position:relative;left:41.6666666667%}.el-col-sm-11{width:45.8333333333%}.el-col-sm-offset-11{margin-left:45.8333333333%}.el-col-sm-pull-11{position:relative;right:45.8333333333%}.el-col-sm-push-11{position:relative;left:45.8333333333%}.el-col-sm-12{width:50%}.el-col-sm-offset-12{margin-left:50%}.el-col-sm-pull-12{position:relative;right:50%}.el-col-sm-push-12{position:relative;left:50%}.el-col-sm-13{width:54.1666666667%}.el-col-sm-offset-13{margin-left:54.1666666667%}.el-col-sm-pull-13{position:relative;right:54.1666666667%}.el-col-sm-push-13{position:relative;left:54.1666666667%}.el-col-sm-14{width:58.3333333333%}.el-col-sm-offset-14{margin-left:58.3333333333%}.el-col-sm-pull-14{position:relative;right:58.3333333333%}.el-col-sm-push-14{position:relative;left:58.3333333333%}.el-col-sm-15{width:62.5%}.el-col-sm-offset-15{margin-left:62.5%}.el-col-sm-pull-15{position:relative;right:62.5%}.el-col-sm-push-15{position:relative;left:62.5%}.el-col-sm-16{width:66.6666666667%}.el-col-sm-offset-16{margin-left:66.6666666667%}.el-col-sm-pull-16{position:relative;right:66.6666666667%}.el-col-sm-push-16{position:relative;left:66.6666666667%}.el-col-sm-17{width:70.8333333333%}.el-col-sm-offset-17{margin-left:70.8333333333%}.el-col-sm-pull-17{position:relative;right:70.8333333333%}.el-col-sm-push-17{position:relative;left:70.8333333333%}.el-col-sm-18{width:75%}.el-col-sm-offset-18{margin-left:75%}.el-col-sm-pull-18{position:relative;right:75%}.el-col-sm-push-18{position:relative;left:75%}.el-col-sm-19{width:79.1666666667%}.el-col-sm-offset-19{margin-left:79.1666666667%}.el-col-sm-pull-19{position:relative;right:79.1666666667%}.el-col-sm-push-19{position:relative;left:79.1666666667%}.el-col-sm-20{width:83.3333333333%}.el-col-sm-offset-20{margin-left:83.3333333333%}.el-col-sm-pull-20{position:relative;right:83.3333333333%}.el-col-sm-push-20{position:relative;left:83.3333333333%}.el-col-sm-21{width:87.5%}.el-col-sm-offset-21{margin-left:87.5%}.el-col-sm-pull-21{position:relative;right:87.5%}.el-col-sm-push-21{position:relative;left:87.5%}.el-col-sm-22{width:91.6666666667%}.el-col-sm-offset-22{margin-left:91.6666666667%}.el-col-sm-pull-22{position:relative;right:91.6666666667%}.el-col-sm-push-22{position:relative;left:91.6666666667%}.el-col-sm-23{width:95.8333333333%}.el-col-sm-offset-23{margin-left:95.8333333333%}.el-col-sm-pull-23{position:relative;right:95.8333333333%}.el-col-sm-push-23{position:relative;left:95.8333333333%}.el-col-sm-24{width:100%}.el-col-sm-offset-24{margin-left:100%}.el-col-sm-pull-24{position:relative;right:100%}.el-col-sm-push-24{position:relative;left:100%}}@media only screen and (min-width:992px){.el-col-md-0{display:none;width:0}.el-col-md-offset-0{margin-left:0}.el-col-md-pull-0{position:relative;right:0}.el-col-md-push-0{position:relative;left:0}.el-col-md-1{width:4.1666666667%}.el-col-md-offset-1{margin-left:4.1666666667%}.el-col-md-pull-1{position:relative;right:4.1666666667%}.el-col-md-push-1{position:relative;left:4.1666666667%}.el-col-md-2{width:8.3333333333%}.el-col-md-offset-2{margin-left:8.3333333333%}.el-col-md-pull-2{position:relative;right:8.3333333333%}.el-col-md-push-2{position:relative;left:8.3333333333%}.el-col-md-3{width:12.5%}.el-col-md-offset-3{margin-left:12.5%}.el-col-md-pull-3{position:relative;right:12.5%}.el-col-md-push-3{position:relative;left:12.5%}.el-col-md-4{width:16.6666666667%}.el-col-md-offset-4{margin-left:16.6666666667%}.el-col-md-pull-4{position:relative;right:16.6666666667%}.el-col-md-push-4{position:relative;left:16.6666666667%}.el-col-md-5{width:20.8333333333%}.el-col-md-offset-5{margin-left:20.8333333333%}.el-col-md-pull-5{position:relative;right:20.8333333333%}.el-col-md-push-5{position:relative;left:20.8333333333%}.el-col-md-6{width:25%}.el-col-md-offset-6{margin-left:25%}.el-col-md-pull-6{position:relative;right:25%}.el-col-md-push-6{position:relative;left:25%}.el-col-md-7{width:29.1666666667%}.el-col-md-offset-7{margin-left:29.1666666667%}.el-col-md-pull-7{position:relative;right:29.1666666667%}.el-col-md-push-7{position:relative;left:29.1666666667%}.el-col-md-8{width:33.3333333333%}.el-col-md-offset-8{margin-left:33.3333333333%}.el-col-md-pull-8{position:relative;right:33.3333333333%}.el-col-md-push-8{position:relative;left:33.3333333333%}.el-col-md-9{width:37.5%}.el-col-md-offset-9{margin-left:37.5%}.el-col-md-pull-9{position:relative;right:37.5%}.el-col-md-push-9{position:relative;left:37.5%}.el-col-md-10{width:41.6666666667%}.el-col-md-offset-10{margin-left:41.6666666667%}.el-col-md-pull-10{position:relative;right:41.6666666667%}.el-col-md-push-10{position:relative;left:41.6666666667%}.el-col-md-11{width:45.8333333333%}.el-col-md-offset-11{margin-left:45.8333333333%}.el-col-md-pull-11{position:relative;right:45.8333333333%}.el-col-md-push-11{position:relative;left:45.8333333333%}.el-col-md-12{width:50%}.el-col-md-offset-12{margin-left:50%}.el-col-md-pull-12{position:relative;right:50%}.el-col-md-push-12{position:relative;left:50%}.el-col-md-13{width:54.1666666667%}.el-col-md-offset-13{margin-left:54.1666666667%}.el-col-md-pull-13{position:relative;right:54.1666666667%}.el-col-md-push-13{position:relative;left:54.1666666667%}.el-col-md-14{width:58.3333333333%}.el-col-md-offset-14{margin-left:58.3333333333%}.el-col-md-pull-14{position:relative;right:58.3333333333%}.el-col-md-push-14{position:relative;left:58.3333333333%}.el-col-md-15{width:62.5%}.el-col-md-offset-15{margin-left:62.5%}.el-col-md-pull-15{position:relative;right:62.5%}.el-col-md-push-15{position:relative;left:62.5%}.el-col-md-16{width:66.6666666667%}.el-col-md-offset-16{margin-left:66.6666666667%}.el-col-md-pull-16{position:relative;right:66.6666666667%}.el-col-md-push-16{position:relative;left:66.6666666667%}.el-col-md-17{width:70.8333333333%}.el-col-md-offset-17{margin-left:70.8333333333%}.el-col-md-pull-17{position:relative;right:70.8333333333%}.el-col-md-push-17{position:relative;left:70.8333333333%}.el-col-md-18{width:75%}.el-col-md-offset-18{margin-left:75%}.el-col-md-pull-18{position:relative;right:75%}.el-col-md-push-18{position:relative;left:75%}.el-col-md-19{width:79.1666666667%}.el-col-md-offset-19{margin-left:79.1666666667%}.el-col-md-pull-19{position:relative;right:79.1666666667%}.el-col-md-push-19{position:relative;left:79.1666666667%}.el-col-md-20{width:83.3333333333%}.el-col-md-offset-20{margin-left:83.3333333333%}.el-col-md-pull-20{position:relative;right:83.3333333333%}.el-col-md-push-20{position:relative;left:83.3333333333%}.el-col-md-21{width:87.5%}.el-col-md-offset-21{margin-left:87.5%}.el-col-md-pull-21{position:relative;right:87.5%}.el-col-md-push-21{position:relative;left:87.5%}.el-col-md-22{width:91.6666666667%}.el-col-md-offset-22{margin-left:91.6666666667%}.el-col-md-pull-22{position:relative;right:91.6666666667%}.el-col-md-push-22{position:relative;left:91.6666666667%}.el-col-md-23{width:95.8333333333%}.el-col-md-offset-23{margin-left:95.8333333333%}.el-col-md-pull-23{position:relative;right:95.8333333333%}.el-col-md-push-23{position:relative;left:95.8333333333%}.el-col-md-24{width:100%}.el-col-md-offset-24{margin-left:100%}.el-col-md-pull-24{position:relative;right:100%}.el-col-md-push-24{position:relative;left:100%}}@media only screen and (min-width:1200px){.el-col-lg-0{display:none;width:0}.el-col-lg-offset-0{margin-left:0}.el-col-lg-pull-0{position:relative;right:0}.el-col-lg-push-0{position:relative;left:0}.el-col-lg-1{width:4.1666666667%}.el-col-lg-offset-1{margin-left:4.1666666667%}.el-col-lg-pull-1{position:relative;right:4.1666666667%}.el-col-lg-push-1{position:relative;left:4.1666666667%}.el-col-lg-2{width:8.3333333333%}.el-col-lg-offset-2{margin-left:8.3333333333%}.el-col-lg-pull-2{position:relative;right:8.3333333333%}.el-col-lg-push-2{position:relative;left:8.3333333333%}.el-col-lg-3{width:12.5%}.el-col-lg-offset-3{margin-left:12.5%}.el-col-lg-pull-3{position:relative;right:12.5%}.el-col-lg-push-3{position:relative;left:12.5%}.el-col-lg-4{width:16.6666666667%}.el-col-lg-offset-4{margin-left:16.6666666667%}.el-col-lg-pull-4{position:relative;right:16.6666666667%}.el-col-lg-push-4{position:relative;left:16.6666666667%}.el-col-lg-5{width:20.8333333333%}.el-col-lg-offset-5{margin-left:20.8333333333%}.el-col-lg-pull-5{position:relative;right:20.8333333333%}.el-col-lg-push-5{position:relative;left:20.8333333333%}.el-col-lg-6{width:25%}.el-col-lg-offset-6{margin-left:25%}.el-col-lg-pull-6{position:relative;right:25%}.el-col-lg-push-6{position:relative;left:25%}.el-col-lg-7{width:29.1666666667%}.el-col-lg-offset-7{margin-left:29.1666666667%}.el-col-lg-pull-7{position:relative;right:29.1666666667%}.el-col-lg-push-7{position:relative;left:29.1666666667%}.el-col-lg-8{width:33.3333333333%}.el-col-lg-offset-8{margin-left:33.3333333333%}.el-col-lg-pull-8{position:relative;right:33.3333333333%}.el-col-lg-push-8{position:relative;left:33.3333333333%}.el-col-lg-9{width:37.5%}.el-col-lg-offset-9{margin-left:37.5%}.el-col-lg-pull-9{position:relative;right:37.5%}.el-col-lg-push-9{position:relative;left:37.5%}.el-col-lg-10{width:41.6666666667%}.el-col-lg-offset-10{margin-left:41.6666666667%}.el-col-lg-pull-10{position:relative;right:41.6666666667%}.el-col-lg-push-10{position:relative;left:41.6666666667%}.el-col-lg-11{width:45.8333333333%}.el-col-lg-offset-11{margin-left:45.8333333333%}.el-col-lg-pull-11{position:relative;right:45.8333333333%}.el-col-lg-push-11{position:relative;left:45.8333333333%}.el-col-lg-12{width:50%}.el-col-lg-offset-12{margin-left:50%}.el-col-lg-pull-12{position:relative;right:50%}.el-col-lg-push-12{position:relative;left:50%}.el-col-lg-13{width:54.1666666667%}.el-col-lg-offset-13{margin-left:54.1666666667%}.el-col-lg-pull-13{position:relative;right:54.1666666667%}.el-col-lg-push-13{position:relative;left:54.1666666667%}.el-col-lg-14{width:58.3333333333%}.el-col-lg-offset-14{margin-left:58.3333333333%}.el-col-lg-pull-14{position:relative;right:58.3333333333%}.el-col-lg-push-14{position:relative;left:58.3333333333%}.el-col-lg-15{width:62.5%}.el-col-lg-offset-15{margin-left:62.5%}.el-col-lg-pull-15{position:relative;right:62.5%}.el-col-lg-push-15{position:relative;left:62.5%}.el-col-lg-16{width:66.6666666667%}.el-col-lg-offset-16{margin-left:66.6666666667%}.el-col-lg-pull-16{position:relative;right:66.6666666667%}.el-col-lg-push-16{position:relative;left:66.6666666667%}.el-col-lg-17{width:70.8333333333%}.el-col-lg-offset-17{margin-left:70.8333333333%}.el-col-lg-pull-17{position:relative;right:70.8333333333%}.el-col-lg-push-17{position:relative;left:70.8333333333%}.el-col-lg-18{width:75%}.el-col-lg-offset-18{margin-left:75%}.el-col-lg-pull-18{position:relative;right:75%}.el-col-lg-push-18{position:relative;left:75%}.el-col-lg-19{width:79.1666666667%}.el-col-lg-offset-19{margin-left:79.1666666667%}.el-col-lg-pull-19{position:relative;right:79.1666666667%}.el-col-lg-push-19{position:relative;left:79.1666666667%}.el-col-lg-20{width:83.3333333333%}.el-col-lg-offset-20{margin-left:83.3333333333%}.el-col-lg-pull-20{position:relative;right:83.3333333333%}.el-col-lg-push-20{position:relative;left:83.3333333333%}.el-col-lg-21{width:87.5%}.el-col-lg-offset-21{margin-left:87.5%}.el-col-lg-pull-21{position:relative;right:87.5%}.el-col-lg-push-21{position:relative;left:87.5%}.el-col-lg-22{width:91.6666666667%}.el-col-lg-offset-22{margin-left:91.6666666667%}.el-col-lg-pull-22{position:relative;right:91.6666666667%}.el-col-lg-push-22{position:relative;left:91.6666666667%}.el-col-lg-23{width:95.8333333333%}.el-col-lg-offset-23{margin-left:95.8333333333%}.el-col-lg-pull-23{position:relative;right:95.8333333333%}.el-col-lg-push-23{position:relative;left:95.8333333333%}.el-col-lg-24{width:100%}.el-col-lg-offset-24{margin-left:100%}.el-col-lg-pull-24{position:relative;right:100%}.el-col-lg-push-24{position:relative;left:100%}}@media only screen and (min-width:1920px){.el-col-xl-0{display:none;width:0}.el-col-xl-offset-0{margin-left:0}.el-col-xl-pull-0{position:relative;right:0}.el-col-xl-push-0{position:relative;left:0}.el-col-xl-1{width:4.1666666667%}.el-col-xl-offset-1{margin-left:4.1666666667%}.el-col-xl-pull-1{position:relative;right:4.1666666667%}.el-col-xl-push-1{position:relative;left:4.1666666667%}.el-col-xl-2{width:8.3333333333%}.el-col-xl-offset-2{margin-left:8.3333333333%}.el-col-xl-pull-2{position:relative;right:8.3333333333%}.el-col-xl-push-2{position:relative;left:8.3333333333%}.el-col-xl-3{width:12.5%}.el-col-xl-offset-3{margin-left:12.5%}.el-col-xl-pull-3{position:relative;right:12.5%}.el-col-xl-push-3{position:relative;left:12.5%}.el-col-xl-4{width:16.6666666667%}.el-col-xl-offset-4{margin-left:16.6666666667%}.el-col-xl-pull-4{position:relative;right:16.6666666667%}.el-col-xl-push-4{position:relative;left:16.6666666667%}.el-col-xl-5{width:20.8333333333%}.el-col-xl-offset-5{margin-left:20.8333333333%}.el-col-xl-pull-5{position:relative;right:20.8333333333%}.el-col-xl-push-5{position:relative;left:20.8333333333%}.el-col-xl-6{width:25%}.el-col-xl-offset-6{margin-left:25%}.el-col-xl-pull-6{position:relative;right:25%}.el-col-xl-push-6{position:relative;left:25%}.el-col-xl-7{width:29.1666666667%}.el-col-xl-offset-7{margin-left:29.1666666667%}.el-col-xl-pull-7{position:relative;right:29.1666666667%}.el-col-xl-push-7{position:relative;left:29.1666666667%}.el-col-xl-8{width:33.3333333333%}.el-col-xl-offset-8{margin-left:33.3333333333%}.el-col-xl-pull-8{position:relative;right:33.3333333333%}.el-col-xl-push-8{position:relative;left:33.3333333333%}.el-col-xl-9{width:37.5%}.el-col-xl-offset-9{margin-left:37.5%}.el-col-xl-pull-9{position:relative;right:37.5%}.el-col-xl-push-9{position:relative;left:37.5%}.el-col-xl-10{width:41.6666666667%}.el-col-xl-offset-10{margin-left:41.6666666667%}.el-col-xl-pull-10{position:relative;right:41.6666666667%}.el-col-xl-push-10{position:relative;left:41.6666666667%}.el-col-xl-11{width:45.8333333333%}.el-col-xl-offset-11{margin-left:45.8333333333%}.el-col-xl-pull-11{position:relative;right:45.8333333333%}.el-col-xl-push-11{position:relative;left:45.8333333333%}.el-col-xl-12{width:50%}.el-col-xl-offset-12{margin-left:50%}.el-col-xl-pull-12{position:relative;right:50%}.el-col-xl-push-12{position:relative;left:50%}.el-col-xl-13{width:54.1666666667%}.el-col-xl-offset-13{margin-left:54.1666666667%}.el-col-xl-pull-13{position:relative;right:54.1666666667%}.el-col-xl-push-13{position:relative;left:54.1666666667%}.el-col-xl-14{width:58.3333333333%}.el-col-xl-offset-14{margin-left:58.3333333333%}.el-col-xl-pull-14{position:relative;right:58.3333333333%}.el-col-xl-push-14{position:relative;left:58.3333333333%}.el-col-xl-15{width:62.5%}.el-col-xl-offset-15{margin-left:62.5%}.el-col-xl-pull-15{position:relative;right:62.5%}.el-col-xl-push-15{position:relative;left:62.5%}.el-col-xl-16{width:66.6666666667%}.el-col-xl-offset-16{margin-left:66.6666666667%}.el-col-xl-pull-16{position:relative;right:66.6666666667%}.el-col-xl-push-16{position:relative;left:66.6666666667%}.el-col-xl-17{width:70.8333333333%}.el-col-xl-offset-17{margin-left:70.8333333333%}.el-col-xl-pull-17{position:relative;right:70.8333333333%}.el-col-xl-push-17{position:relative;left:70.8333333333%}.el-col-xl-18{width:75%}.el-col-xl-offset-18{margin-left:75%}.el-col-xl-pull-18{position:relative;right:75%}.el-col-xl-push-18{position:relative;left:75%}.el-col-xl-19{width:79.1666666667%}.el-col-xl-offset-19{margin-left:79.1666666667%}.el-col-xl-pull-19{position:relative;right:79.1666666667%}.el-col-xl-push-19{position:relative;left:79.1666666667%}.el-col-xl-20{width:83.3333333333%}.el-col-xl-offset-20{margin-left:83.3333333333%}.el-col-xl-pull-20{position:relative;right:83.3333333333%}.el-col-xl-push-20{position:relative;left:83.3333333333%}.el-col-xl-21{width:87.5%}.el-col-xl-offset-21{margin-left:87.5%}.el-col-xl-pull-21{position:relative;right:87.5%}.el-col-xl-push-21{position:relative;left:87.5%}.el-col-xl-22{width:91.6666666667%}.el-col-xl-offset-22{margin-left:91.6666666667%}.el-col-xl-pull-22{position:relative;right:91.6666666667%}.el-col-xl-push-22{position:relative;left:91.6666666667%}.el-col-xl-23{width:95.8333333333%}.el-col-xl-offset-23{margin-left:95.8333333333%}.el-col-xl-pull-23{position:relative;right:95.8333333333%}.el-col-xl-push-23{position:relative;left:95.8333333333%}.el-col-xl-24{width:100%}.el-col-xl-offset-24{margin-left:100%}.el-col-xl-pull-24{position:relative;right:100%}.el-col-xl-push-24{position:relative;left:100%}}@-webkit-keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}.el-upload{display:inline-block;text-align:center;cursor:pointer;outline:none}.el-upload__input{display:none}.el-upload__tip{font-size:12px;color:#646970;margin-top:7px}.el-upload iframe{position:absolute;z-index:-1;top:0;left:0;opacity:0;filter:alpha(opacity=0)}.el-upload--picture-card{background-color:#fbfdff;border:1px dashed #c0ccda;border-radius:6px;box-sizing:border-box;width:148px;height:148px;cursor:pointer;line-height:146px;vertical-align:top}.el-upload--picture-card i{font-size:28px;color:#8c939d}.el-upload--picture-card:hover,.el-upload:focus{border-color:#087ce1;color:#087ce1}.el-upload:focus .el-upload-dragger{border-color:#087ce1}.el-upload-dragger{background-color:#fff;border:1px dashed #d9d9d9;border-radius:6px;box-sizing:border-box;width:360px;height:180px;text-align:center;cursor:pointer;position:relative;overflow:hidden}.el-upload-dragger .el-icon-upload{font-size:67px;color:#c0c4cc;margin:40px 0 16px;line-height:50px}.el-upload-dragger+.el-upload__tip{text-align:center}.el-upload-dragger~.el-upload__files{border-top:1px solid #dcdfe6;margin-top:7px;padding-top:5px}.el-upload-dragger .el-upload__text{color:#646970;font-size:14px;text-align:center}.el-upload-dragger .el-upload__text em{color:#087ce1;font-style:normal}.el-upload-dragger:hover{border-color:#087ce1}.el-upload-dragger.is-dragover{background-color:rgba(32,159,255,.06);border:2px dashed #087ce1}.el-upload-list{margin:0;padding:0;list-style:none}.el-upload-list__item{transition:all .5s cubic-bezier(.55,0,.1,1);font-size:14px;color:#646970;line-height:1.8;margin-top:5px;position:relative;box-sizing:border-box;border-radius:4px;width:100%}.el-upload-list__item .el-progress{position:absolute;top:20px;width:100%}.el-upload-list__item .el-progress__text{position:absolute;right:0;top:-13px}.el-upload-list__item .el-progress-bar{margin-right:0;padding-right:0}.el-upload-list__item:first-child{margin-top:10px}.el-upload-list__item .el-icon-upload-success{color:#67c23a}.el-upload-list__item .el-icon-close{display:none;position:absolute;top:5px;right:5px;cursor:pointer;opacity:.75;color:#646970}.el-upload-list__item .el-icon-close:hover{opacity:1}.el-upload-list__item .el-icon-close-tip{display:none;position:absolute;top:5px;right:5px;font-size:12px;cursor:pointer;opacity:1;color:#087ce1}.el-upload-list__item:hover{background-color:#f5f7fa}.el-upload-list__item:hover .el-icon-close{display:inline-block}.el-upload-list__item:hover .el-progress__text{display:none}.el-upload-list__item.is-success .el-upload-list__item-status-label{display:block}.el-upload-list__item.is-success .el-upload-list__item-name:focus,.el-upload-list__item.is-success .el-upload-list__item-name:hover{color:#087ce1;cursor:pointer}.el-upload-list__item.is-success:focus:not(:hover) .el-icon-close-tip{display:inline-block}.el-upload-list__item.is-success:active,.el-upload-list__item.is-success:not(.focusing):focus{outline-width:0}.el-upload-list__item.is-success:active .el-icon-close-tip,.el-upload-list__item.is-success:focus .el-upload-list__item-status-label,.el-upload-list__item.is-success:hover .el-upload-list__item-status-label,.el-upload-list__item.is-success:not(.focusing):focus .el-icon-close-tip{display:none}.el-upload-list.is-disabled .el-upload-list__item:hover .el-upload-list__item-status-label{display:block}.el-upload-list__item-name{color:#646970;display:block;margin-right:40px;overflow:hidden;padding-left:4px;text-overflow:ellipsis;transition:color .3s;white-space:nowrap}.el-upload-list__item-name [class^=el-icon]{height:100%;margin-right:7px;color:#909399;line-height:inherit}.el-upload-list__item-status-label{position:absolute;right:5px;top:0;line-height:inherit;display:none}.el-upload-list__item-delete{position:absolute;right:10px;top:0;font-size:12px;color:#646970;display:none}.el-upload-list__item-delete:hover{color:#087ce1}.el-upload-list--picture-card{margin:0;display:inline;vertical-align:top}.el-upload-list--picture-card .el-upload-list__item{overflow:hidden;background-color:#fff;border:1px solid #c0ccda;border-radius:6px;box-sizing:border-box;width:148px;height:148px;margin:0 8px 8px 0;display:inline-block}.el-upload-list--picture-card .el-upload-list__item .el-icon-check,.el-upload-list--picture-card .el-upload-list__item .el-icon-circle-check{color:#fff}.el-upload-list--picture-card .el-upload-list__item .el-icon-close,.el-upload-list--picture-card .el-upload-list__item:hover .el-upload-list__item-status-label{display:none}.el-upload-list--picture-card .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture-card .el-upload-list__item-name{display:none}.el-upload-list--picture-card .el-upload-list__item-thumbnail{width:100%;height:100%}.el-upload-list--picture-card .el-upload-list__item-status-label{position:absolute;right:-15px;top:-6px;width:40px;height:24px;background:#13ce66;text-align:center;transform:rotate(45deg);box-shadow:0 0 1pc 1px rgba(0,0,0,.2)}.el-upload-list--picture-card .el-upload-list__item-status-label i{font-size:12px;margin-top:11px;transform:rotate(-45deg)}.el-upload-list--picture-card .el-upload-list__item-actions{position:absolute;width:100%;height:100%;left:0;top:0;cursor:default;text-align:center;color:#fff;opacity:0;font-size:20px;background-color:rgba(0,0,0,.5);transition:opacity .3s}.el-upload-list--picture-card .el-upload-list__item-actions:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-upload-list--picture-card .el-upload-list__item-actions span{display:none;cursor:pointer}.el-upload-list--picture-card .el-upload-list__item-actions span+span{margin-left:15px}.el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-delete{position:static;font-size:inherit;color:inherit}.el-upload-list--picture-card .el-upload-list__item-actions:hover{opacity:1}.el-upload-list--picture-card .el-upload-list__item-actions:hover span{display:inline-block}.el-upload-list--picture-card .el-progress{top:50%;left:50%;transform:translate(-50%,-50%);bottom:auto;width:126px}.el-upload-list--picture-card .el-progress .el-progress__text{top:50%}.el-upload-list--picture .el-upload-list__item{overflow:hidden;z-index:0;background-color:#fff;border:1px solid #c0ccda;border-radius:6px;box-sizing:border-box;margin-top:10px;padding:10px 10px 10px 90px;height:92px}.el-upload-list--picture .el-upload-list__item .el-icon-check,.el-upload-list--picture .el-upload-list__item .el-icon-circle-check{color:#fff}.el-upload-list--picture .el-upload-list__item:hover .el-upload-list__item-status-label{background:transparent;box-shadow:none;top:-2px;right:-12px}.el-upload-list--picture .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name{line-height:70px;margin-top:0}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name i{display:none}.el-upload-list--picture .el-upload-list__item-thumbnail{vertical-align:middle;display:inline-block;width:70px;height:70px;float:left;position:relative;z-index:1;margin-left:-80px;background-color:#fff}.el-upload-list--picture .el-upload-list__item-name{display:block;margin-top:20px}.el-upload-list--picture .el-upload-list__item-name i{font-size:70px;line-height:1;position:absolute;left:9px;top:10px}.el-upload-list--picture .el-upload-list__item-status-label{position:absolute;right:-17px;top:-7px;width:46px;height:26px;background:#13ce66;text-align:center;transform:rotate(45deg);box-shadow:0 1px 1px #ccc}.el-upload-list--picture .el-upload-list__item-status-label i{font-size:12px;margin-top:12px;transform:rotate(-45deg)}.el-upload-list--picture .el-progress{position:relative;top:-7px}.el-upload-cover{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;z-index:10;cursor:default}.el-upload-cover:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-upload-cover img{display:block;width:100%;height:100%}.el-upload-cover__label{position:absolute;right:-15px;top:-6px;width:40px;height:24px;background:#13ce66;text-align:center;transform:rotate(45deg);box-shadow:0 0 1pc 1px rgba(0,0,0,.2)}.el-upload-cover__label i{font-size:12px;margin-top:11px;transform:rotate(-45deg);color:#fff}.el-upload-cover__progress{display:inline-block;vertical-align:middle;position:static;width:243px}.el-upload-cover__progress+.el-upload__inner{opacity:0}.el-upload-cover__content{position:absolute;top:0;left:0;width:100%;height:100%}.el-upload-cover__interact{position:absolute;bottom:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.72);text-align:center}.el-upload-cover__interact .btn{display:inline-block;color:#fff;font-size:14px;cursor:pointer;vertical-align:middle;transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);margin-top:60px}.el-upload-cover__interact .btn i{margin-top:0}.el-upload-cover__interact .btn span{opacity:0;transition:opacity .15s linear}.el-upload-cover__interact .btn:not(:first-child){margin-left:35px}.el-upload-cover__interact .btn:hover{transform:translateY(-13px)}.el-upload-cover__interact .btn:hover span{opacity:1}.el-upload-cover__interact .btn i{color:#fff;display:block;font-size:24px;line-height:inherit;margin:0 auto 5px}.el-upload-cover__title{position:absolute;bottom:0;left:0;background-color:#fff;height:36px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400;text-align:left;padding:0 10px;margin:0;line-height:36px;font-size:14px;color:#303133}.el-upload-cover+.el-upload__inner{opacity:0;position:relative;z-index:1}.el-progress{position:relative;line-height:1}.el-progress__text{font-size:14px;color:#646970;display:inline-block;vertical-align:middle;margin-left:10px;line-height:1}.el-progress__text i{vertical-align:middle;display:block}.el-progress--circle,.el-progress--dashboard{display:inline-block}.el-progress--circle .el-progress__text,.el-progress--dashboard .el-progress__text{position:absolute;top:50%;left:0;width:100%;text-align:center;margin:0;transform:translateY(-50%)}.el-progress--circle .el-progress__text i,.el-progress--dashboard .el-progress__text i{vertical-align:middle;display:inline-block}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{padding-right:0;margin-right:0;display:block}.el-progress--text-inside .el-progress-bar{padding-right:0;margin-right:0}.el-progress.is-success .el-progress-bar__inner{background-color:#67c23a}.el-progress.is-success .el-progress__text{color:#67c23a}.el-progress.is-warning .el-progress-bar__inner{background-color:#e6a23c}.el-progress.is-warning .el-progress__text{color:#e6a23c}.el-progress.is-exception .el-progress-bar__inner{background-color:#f56c6c}.el-progress.is-exception .el-progress__text{color:#f56c6c}.el-progress-bar{padding-right:50px;display:inline-block;vertical-align:middle;width:100%;margin-right:-55px;box-sizing:border-box}.el-progress-bar__outer{height:6px;border-radius:100px;background-color:#ebeef5;overflow:hidden;position:relative;vertical-align:middle}.el-progress-bar__inner{position:absolute;left:0;top:0;height:100%;background-color:#087ce1;text-align:right;border-radius:100px;line-height:1;white-space:nowrap;transition:width .6s ease}.el-progress-bar__inner:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-progress-bar__innerText{display:inline-block;vertical-align:middle;color:#fff;font-size:12px;margin:0 5px}@keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}.el-time-spinner{width:100%;white-space:nowrap}.el-spinner{display:inline-block;vertical-align:middle}.el-spinner-inner{-webkit-animation:rotate 2s linear infinite;animation:rotate 2s linear infinite;width:50px;height:50px}.el-spinner-inner .path{stroke:#ececec;stroke-linecap:round;-webkit-animation:dash 1.5s ease-in-out infinite;animation:dash 1.5s ease-in-out infinite}@-webkit-keyframes rotate{to{transform:rotate(1turn)}}@keyframes rotate{to{transform:rotate(1turn)}}@-webkit-keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}.el-message{min-width:380px;box-sizing:border-box;border-radius:4px;border-width:1px;border-style:solid;border-color:#ebeef5;position:fixed;left:50%;top:20px;transform:translateX(-50%);background-color:#edf2fc;transition:opacity .3s,transform .4s,top .4s;overflow:hidden;padding:15px 15px 15px 20px;display:flex;align-items:center}.el-message.is-center{justify-content:center}.el-message.is-closable .el-message__content{padding-right:16px}.el-message p{margin:0}.el-message--info .el-message__content{color:#909399}.el-message--success{background-color:#f0f9eb;border-color:#e1f3d8}.el-message--success .el-message__content{color:#67c23a}.el-message--warning{background-color:#fdf6ec;border-color:#faecd8}.el-message--warning .el-message__content{color:#e6a23c}.el-message--error{background-color:#fef0f0;border-color:#fde2e2}.el-message--error .el-message__content{color:#f56c6c}.el-message__icon{margin-right:10px}.el-message__content{padding:0;font-size:14px;line-height:1}.el-message__content:focus{outline-width:0}.el-message__closeBtn{position:absolute;top:50%;right:15px;transform:translateY(-50%);cursor:pointer;color:#c0c4cc;font-size:16px}.el-message__closeBtn:focus{outline-width:0}.el-message__closeBtn:hover{color:#909399}.el-message .el-icon-success{color:#67c23a}.el-message .el-icon-error{color:#f56c6c}.el-message .el-icon-info{color:#909399}.el-message .el-icon-warning{color:#e6a23c}.el-message-fade-enter,.el-message-fade-leave-active{opacity:0;transform:translate(-50%,-100%)}.el-badge{position:relative;vertical-align:middle;display:inline-block}.el-badge__content{background-color:#f56c6c;border-radius:10px;color:#fff;display:inline-block;font-size:12px;height:18px;line-height:18px;padding:0 6px;text-align:center;white-space:nowrap;border:1px solid #fff}.el-badge__content.is-fixed{position:absolute;top:0;right:10px;transform:translateY(-50%) translateX(100%)}.el-badge__content.is-fixed.is-dot{right:5px}.el-badge__content.is-dot{height:8px;width:8px;padding:0;right:0;border-radius:50%}.el-badge__content--primary{background-color:#087ce1}.el-badge__content--success{background-color:#67c23a}.el-badge__content--warning{background-color:#e6a23c}.el-badge__content--info{background-color:#909399}.el-badge__content--danger{background-color:#f56c6c}.el-card{border-radius:4px;border:1px solid #ebeef5;background-color:#fff;overflow:hidden;color:#303133;transition:.3s}.el-card.is-always-shadow,.el-card.is-hover-shadow:focus,.el-card.is-hover-shadow:hover{box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-card__header{padding:18px 20px;border-bottom:1px solid #ebeef5;box-sizing:border-box}.el-card__body{padding:20px}.el-rate{height:20px;line-height:1}.el-rate:active,.el-rate:focus{outline-width:0}.el-rate__item{font-size:0;vertical-align:middle}.el-rate__icon,.el-rate__item{display:inline-block;position:relative}.el-rate__icon{font-size:18px;margin-right:6px;color:#c0c4cc;transition:.3s}.el-rate__icon.hover{transform:scale(1.15)}.el-rate__decimal,.el-rate__icon .path2{position:absolute;left:0;top:0}.el-rate__decimal{display:inline-block;overflow:hidden}.el-rate__text{font-size:14px;vertical-align:middle}.el-steps{display:flex}.el-steps--simple{padding:13px 8%;border-radius:4px;background:#f5f7fa}.el-steps--horizontal{white-space:nowrap}.el-steps--vertical{height:100%;flex-flow:column}.el-step{position:relative;flex-shrink:1}.el-step:last-of-type .el-step__line{display:none}.el-step:last-of-type.is-flex{flex-basis:auto!important;flex-shrink:0;flex-grow:0}.el-step:last-of-type .el-step__description,.el-step:last-of-type .el-step__main{padding-right:0}.el-step__head{position:relative;width:100%}.el-step__head.is-process{color:#303133;border-color:#303133}.el-step__head.is-wait{color:#c0c4cc;border-color:#c0c4cc}.el-step__head.is-success{color:#67c23a;border-color:#67c23a}.el-step__head.is-error{color:#f56c6c;border-color:#f56c6c}.el-step__head.is-finish{color:#087ce1;border-color:#087ce1}.el-step__icon{position:relative;z-index:1;display:inline-flex;justify-content:center;align-items:center;width:24px;height:24px;font-size:14px;box-sizing:border-box;background:#fff;transition:.15s ease-out}.el-step__icon.is-text{border-radius:50%;border:2px solid;border-color:inherit}.el-step__icon.is-icon{width:40px}.el-step__icon-inner{display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-align:center;font-weight:700;line-height:1;color:inherit}.el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:25px;font-weight:400}.el-step__icon-inner.is-status{transform:translateY(1px)}.el-step__line{position:absolute;border-color:inherit;background-color:#c0c4cc}.el-step__line-inner{display:block;border-width:1px;border-style:solid;border-color:inherit;transition:.15s ease-out;box-sizing:border-box;width:0;height:0}.el-step__main{white-space:normal;text-align:left}.el-step__title{font-size:16px;line-height:38px}.el-step__title.is-process{font-weight:700;color:#303133}.el-step__title.is-wait{color:#c0c4cc}.el-step__title.is-success{color:#67c23a}.el-step__title.is-error{color:#f56c6c}.el-step__title.is-finish{color:#087ce1}.el-step__description{padding-right:10%;margin-top:-5px;font-size:12px;line-height:20px;font-weight:400}.el-step__description.is-process{color:#303133}.el-step__description.is-wait{color:#c0c4cc}.el-step__description.is-success{color:#67c23a}.el-step__description.is-error{color:#f56c6c}.el-step__description.is-finish{color:#087ce1}.el-step.is-horizontal{display:inline-block}.el-step.is-horizontal .el-step__line{height:2px;top:11px;left:0;right:0}.el-step.is-vertical{display:flex}.el-step.is-vertical .el-step__head{flex-grow:0;width:24px}.el-step.is-vertical .el-step__main{padding-left:10px;flex-grow:1}.el-step.is-vertical .el-step__title{line-height:24px;padding-bottom:8px}.el-step.is-vertical .el-step__line{width:2px;top:0;bottom:0;left:11px}.el-step.is-vertical .el-step__icon.is-icon{width:24px}.el-step.is-center .el-step__head,.el-step.is-center .el-step__main{text-align:center}.el-step.is-center .el-step__description{padding-left:20%;padding-right:20%}.el-step.is-center .el-step__line{left:50%;right:-50%}.el-step.is-simple{display:flex;align-items:center}.el-step.is-simple .el-step__head{width:auto;font-size:0;padding-right:10px}.el-step.is-simple .el-step__icon{background:transparent;width:16px;height:16px;font-size:12px}.el-step.is-simple .el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:18px}.el-step.is-simple .el-step__icon-inner.is-status{transform:scale(.8) translateY(1px)}.el-step.is-simple .el-step__main{position:relative;display:flex;align-items:stretch;flex-grow:1}.el-step.is-simple .el-step__title{font-size:16px;line-height:20px}.el-step.is-simple:not(:last-of-type) .el-step__title{max-width:50%;word-break:break-all}.el-step.is-simple .el-step__arrow{flex-grow:1;display:flex;align-items:center;justify-content:center}.el-step.is-simple .el-step__arrow:after,.el-step.is-simple .el-step__arrow:before{content:"";display:inline-block;position:absolute;height:15px;width:1px;background:#c0c4cc}.el-step.is-simple .el-step__arrow:before{transform:rotate(-45deg) translateY(-4px);transform-origin:0 0}.el-step.is-simple .el-step__arrow:after{transform:rotate(45deg) translateY(4px);transform-origin:100% 100%}.el-step.is-simple:last-of-type .el-step__arrow{display:none}.el-carousel{position:relative}.el-carousel--horizontal{overflow-x:hidden}.el-carousel--vertical{overflow-y:hidden}.el-carousel__container{position:relative;height:300px}.el-carousel__arrow{border:none;outline:none;padding:0;margin:0;height:36px;width:36px;cursor:pointer;transition:.3s;border-radius:50%;background-color:rgba(31,45,61,.11);color:#fff;position:absolute;top:50%;z-index:10;transform:translateY(-50%);text-align:center;font-size:12px}.el-carousel__arrow--left{left:16px}.el-carousel__arrow--right{right:16px}.el-carousel__arrow:hover{background-color:rgba(31,45,61,.23)}.el-carousel__arrow i{cursor:pointer}.el-carousel__indicators{position:absolute;list-style:none;margin:0;padding:0;z-index:2}.el-carousel__indicators--horizontal{bottom:0;left:50%;transform:translateX(-50%)}.el-carousel__indicators--vertical{right:0;top:50%;transform:translateY(-50%)}.el-carousel__indicators--outside{bottom:26px;text-align:center;position:static;transform:none}.el-carousel__indicators--outside .el-carousel__indicator:hover button{opacity:.64}.el-carousel__indicators--outside button{background-color:#c0c4cc;opacity:.24}.el-carousel__indicators--labels{left:0;right:0;transform:none;text-align:center}.el-carousel__indicators--labels .el-carousel__button{height:auto;width:auto;padding:2px 18px;font-size:12px}.el-carousel__indicators--labels .el-carousel__indicator{padding:6px 4px}.el-carousel__indicator{background-color:transparent;cursor:pointer}.el-carousel__indicator:hover button{opacity:.72}.el-carousel__indicator--horizontal{display:inline-block;padding:12px 4px}.el-carousel__indicator--vertical{padding:4px 12px}.el-carousel__indicator--vertical .el-carousel__button{width:2px;height:15px}.el-carousel__indicator.is-active button{opacity:1}.el-carousel__button{display:block;opacity:.48;width:30px;height:2px;background-color:#fff;border:none;outline:none;padding:0;margin:0;cursor:pointer;transition:.3s}.carousel-arrow-left-enter,.carousel-arrow-left-leave-active{transform:translateY(-50%) translateX(-10px);opacity:0}.carousel-arrow-right-enter,.carousel-arrow-right-leave-active{transform:translateY(-50%) translateX(10px);opacity:0}.el-carousel__item{position:absolute;top:0;left:0;width:100%;height:100%;display:inline-block;overflow:hidden;z-index:0}.el-carousel__item.is-active{z-index:2}.el-carousel__item--card,.el-carousel__item.is-animating{transition:transform .4s ease-in-out}.el-carousel__item--card{width:50%}.el-carousel__item--card.is-in-stage{cursor:pointer;z-index:1}.el-carousel__item--card.is-in-stage.is-hover .el-carousel__mask,.el-carousel__item--card.is-in-stage:hover .el-carousel__mask{opacity:.12}.el-carousel__item--card.is-active{z-index:2}.el-carousel__mask{position:absolute;width:100%;height:100%;top:0;left:0;background-color:#fff;opacity:.24;transition:.2s}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:opacity .2s linear}.fade-in-linear-enter,.fade-in-linear-leave,.fade-in-linear-leave-active{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:opacity .2s linear}.el-fade-in-linear-enter,.el-fade-in-linear-leave,.el-fade-in-linear-leave-active{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all .3s cubic-bezier(.55,0,.1,1)}.el-fade-in-enter,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all .3s cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transform-origin:center top}.el-zoom-in-top-enter,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transform-origin:center bottom}.el-zoom-in-bottom-enter,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transform-origin:top left}.el-zoom-in-left-enter,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:height .3s ease-in-out,padding-top .3s ease-in-out,padding-bottom .3s ease-in-out}.horizontal-collapse-transition{transition:width .3s ease-in-out,padding-left .3s ease-in-out,padding-right .3s ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter,.el-list-leave-active{opacity:0;transform:translateY(-30px)}.el-opacity-transition{transition:opacity .3s cubic-bezier(.55,0,.1,1)}.el-collapse{border-top:1px solid #ebeef5;border-bottom:1px solid #ebeef5}.el-collapse-item.is-disabled .el-collapse-item__header{color:#bbb;cursor:not-allowed}.el-collapse-item__header{display:flex;align-items:center;height:48px;line-height:48px;background-color:#fff;color:#303133;cursor:pointer;border-bottom:1px solid #ebeef5;font-size:13px;font-weight:500;transition:border-bottom-color .3s;outline:none}.el-collapse-item__arrow{margin:0 8px 0 auto;transition:transform .3s;font-weight:300}.el-collapse-item__arrow.is-active{transform:rotate(90deg)}.el-collapse-item__header.focusing:focus:not(:hover){color:#087ce1}.el-collapse-item__header.is-active{border-bottom-color:transparent}.el-collapse-item__wrap{will-change:height;background-color:#fff;overflow:hidden;box-sizing:border-box;border-bottom:1px solid #ebeef5}.el-collapse-item__content{padding-bottom:25px;font-size:13px;color:#303133;line-height:1.7692307692}.el-collapse-item:last-child{margin-bottom:-1px}.el-popper .popper__arrow,.el-popper .popper__arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.el-popper .popper__arrow{border-width:6px;-webkit-filter:drop-shadow(0 2px 12px rgba(0,0,0,.03));filter:drop-shadow(0 2px 12px rgba(0,0,0,.03))}.el-popper .popper__arrow:after{content:" ";border-width:6px}.el-popper[x-placement^=top]{margin-bottom:12px}.el-popper[x-placement^=top] .popper__arrow{bottom:-6px;left:50%;margin-right:3px;border-top-color:#ebeef5;border-bottom-width:0}.el-popper[x-placement^=top] .popper__arrow:after{bottom:1px;margin-left:-6px;border-top-color:#fff;border-bottom-width:0}.el-popper[x-placement^=bottom]{margin-top:12px}.el-popper[x-placement^=bottom] .popper__arrow{top:-6px;left:50%;margin-right:3px;border-top-width:0;border-bottom-color:#ebeef5}.el-popper[x-placement^=bottom] .popper__arrow:after{top:1px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff}.el-popper[x-placement^=right]{margin-left:12px}.el-popper[x-placement^=right] .popper__arrow{top:50%;left:-6px;margin-bottom:3px;border-right-color:#ebeef5;border-left-width:0}.el-popper[x-placement^=right] .popper__arrow:after{bottom:-6px;left:1px;border-right-color:#fff;border-left-width:0}.el-popper[x-placement^=left]{margin-right:12px}.el-popper[x-placement^=left] .popper__arrow{top:50%;right:-6px;margin-bottom:3px;border-right-width:0;border-left-color:#ebeef5}.el-popper[x-placement^=left] .popper__arrow:after{right:1px;bottom:-6px;margin-left:-6px;border-right-width:0;border-left-color:#fff}.el-tag{background-color:#e6f2fc;border-color:#cee5f9;display:inline-block;height:32px;padding:0 10px;line-height:30px;font-size:12px;color:#087ce1;border-width:1px;border-style:solid;border-radius:4px;box-sizing:border-box;white-space:nowrap}.el-tag.is-hit{border-color:#087ce1}.el-tag .el-tag__close{color:#087ce1}.el-tag .el-tag__close:hover{color:#fff;background-color:#087ce1}.el-tag.el-tag--info{background-color:#f4f4f5;border-color:#e9e9eb;color:#909399}.el-tag.el-tag--info.is-hit{border-color:#909399}.el-tag.el-tag--info .el-tag__close{color:#909399}.el-tag.el-tag--info .el-tag__close:hover{color:#fff;background-color:#909399}.el-tag.el-tag--success{background-color:#f0f9eb;border-color:#e1f3d8;color:#67c23a}.el-tag.el-tag--success.is-hit{border-color:#67c23a}.el-tag.el-tag--success .el-tag__close{color:#67c23a}.el-tag.el-tag--success .el-tag__close:hover{color:#fff;background-color:#67c23a}.el-tag.el-tag--warning{background-color:#fdf6ec;border-color:#faecd8;color:#e6a23c}.el-tag.el-tag--warning.is-hit{border-color:#e6a23c}.el-tag.el-tag--warning .el-tag__close{color:#e6a23c}.el-tag.el-tag--warning .el-tag__close:hover{color:#fff;background-color:#e6a23c}.el-tag.el-tag--danger{background-color:#fef0f0;border-color:#fde2e2;color:#f56c6c}.el-tag.el-tag--danger.is-hit{border-color:#f56c6c}.el-tag.el-tag--danger .el-tag__close{color:#f56c6c}.el-tag.el-tag--danger .el-tag__close:hover{color:#fff;background-color:#f56c6c}.el-tag .el-icon-close{border-radius:50%;text-align:center;position:relative;cursor:pointer;font-size:12px;height:16px;width:16px;line-height:16px;vertical-align:middle;top:-1px;right:-5px}.el-tag .el-icon-close:before{display:block}.el-tag--dark{background-color:#087ce1;color:#fff}.el-tag--dark,.el-tag--dark.is-hit{border-color:#087ce1}.el-tag--dark .el-tag__close{color:#fff}.el-tag--dark .el-tag__close:hover{color:#fff;background-color:#3996e7}.el-tag--dark.el-tag--info{background-color:#909399;border-color:#909399;color:#fff}.el-tag--dark.el-tag--info.is-hit{border-color:#909399}.el-tag--dark.el-tag--info .el-tag__close{color:#fff}.el-tag--dark.el-tag--info .el-tag__close:hover{color:#fff;background-color:#a6a9ad}.el-tag--dark.el-tag--success{background-color:#67c23a;border-color:#67c23a;color:#fff}.el-tag--dark.el-tag--success.is-hit{border-color:#67c23a}.el-tag--dark.el-tag--success .el-tag__close{color:#fff}.el-tag--dark.el-tag--success .el-tag__close:hover{color:#fff;background-color:#85ce61}.el-tag--dark.el-tag--warning{background-color:#e6a23c;border-color:#e6a23c;color:#fff}.el-tag--dark.el-tag--warning.is-hit{border-color:#e6a23c}.el-tag--dark.el-tag--warning .el-tag__close{color:#fff}.el-tag--dark.el-tag--warning .el-tag__close:hover{color:#fff;background-color:#ebb563}.el-tag--dark.el-tag--danger{background-color:#f56c6c;border-color:#f56c6c;color:#fff}.el-tag--dark.el-tag--danger.is-hit{border-color:#f56c6c}.el-tag--dark.el-tag--danger .el-tag__close{color:#fff}.el-tag--dark.el-tag--danger .el-tag__close:hover{color:#fff;background-color:#f78989}.el-tag--plain{background-color:#fff;border-color:#9ccbf3;color:#087ce1}.el-tag--plain.is-hit{border-color:#087ce1}.el-tag--plain .el-tag__close{color:#087ce1}.el-tag--plain .el-tag__close:hover{color:#fff;background-color:#087ce1}.el-tag--plain.el-tag--info{background-color:#fff;border-color:#d3d4d6;color:#909399}.el-tag--plain.el-tag--info.is-hit{border-color:#909399}.el-tag--plain.el-tag--info .el-tag__close{color:#909399}.el-tag--plain.el-tag--info .el-tag__close:hover{color:#fff;background-color:#909399}.el-tag--plain.el-tag--success{background-color:#fff;border-color:#c2e7b0;color:#67c23a}.el-tag--plain.el-tag--success.is-hit{border-color:#67c23a}.el-tag--plain.el-tag--success .el-tag__close{color:#67c23a}.el-tag--plain.el-tag--success .el-tag__close:hover{color:#fff;background-color:#67c23a}.el-tag--plain.el-tag--warning{background-color:#fff;border-color:#f5dab1;color:#e6a23c}.el-tag--plain.el-tag--warning.is-hit{border-color:#e6a23c}.el-tag--plain.el-tag--warning .el-tag__close{color:#e6a23c}.el-tag--plain.el-tag--warning .el-tag__close:hover{color:#fff;background-color:#e6a23c}.el-tag--plain.el-tag--danger{background-color:#fff;border-color:#fbc4c4;color:#f56c6c}.el-tag--plain.el-tag--danger.is-hit{border-color:#f56c6c}.el-tag--plain.el-tag--danger .el-tag__close{color:#f56c6c}.el-tag--plain.el-tag--danger .el-tag__close:hover{color:#fff;background-color:#f56c6c}.el-tag--medium{height:28px;line-height:26px}.el-tag--medium .el-icon-close{transform:scale(.8)}.el-tag--small{height:24px;padding:0 8px;line-height:22px}.el-tag--small .el-icon-close{transform:scale(.8)}.el-tag--mini{height:20px;padding:0 5px;line-height:19px}.el-tag--mini .el-icon-close{margin-left:-3px;transform:scale(.7)}.el-cascader{display:inline-block;position:relative;font-size:14px;line-height:40px}.el-cascader:not(.is-disabled):hover .el-input__inner{cursor:pointer;border-color:#c0c4cc}.el-cascader .el-input{cursor:pointer}.el-cascader .el-input .el-input__inner{text-overflow:ellipsis}.el-cascader .el-input .el-input__inner:focus{border-color:#087ce1}.el-cascader .el-input .el-icon-arrow-down{transition:transform .3s;font-size:14px}.el-cascader .el-input .el-icon-arrow-down.is-reverse{transform:rotate(180deg)}.el-cascader .el-input .el-icon-circle-close:hover{color:#909399}.el-cascader .el-input.is-focus .el-input__inner{border-color:#087ce1}.el-cascader--medium{font-size:14px;line-height:36px}.el-cascader--small{font-size:13px;line-height:32px}.el-cascader--mini{font-size:12px;line-height:28px}.el-cascader.is-disabled .el-cascader__label{z-index:2;color:#c0c4cc}.el-cascader__dropdown{margin:5px 0;font-size:14px;background:#fff;border:1px solid #e4e7ed;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-cascader__tags{position:absolute;left:0;right:30px;top:50%;transform:translateY(-50%);display:flex;flex-wrap:wrap;line-height:normal;text-align:left;box-sizing:border-box}.el-cascader__tags .el-tag{display:inline-flex;align-items:center;max-width:100%;margin:2px 0 2px 6px;text-overflow:ellipsis;background:#f0f2f5}.el-cascader__tags .el-tag:not(.is-hit){border-color:transparent}.el-cascader__tags .el-tag>span{flex:1;overflow:hidden;text-overflow:ellipsis}.el-cascader__tags .el-tag .el-icon-close{flex:none;background-color:#c0c4cc;color:#fff}.el-cascader__tags .el-tag .el-icon-close:hover{background-color:#909399}.el-cascader__suggestion-panel{border-radius:4px}.el-cascader__suggestion-list{max-height:204px;margin:0;padding:6px 0;font-size:14px;color:#646970;text-align:center}.el-cascader__suggestion-item{display:flex;justify-content:space-between;align-items:center;height:34px;padding:0 15px;text-align:left;outline:none;cursor:pointer}.el-cascader__suggestion-item:focus,.el-cascader__suggestion-item:hover{background:#f5f7fa}.el-cascader__suggestion-item.is-checked{color:#087ce1;font-weight:700}.el-cascader__suggestion-item>span{margin-right:10px}.el-cascader__empty-text{margin:10px 0;color:#c0c4cc}.el-cascader__search-input{flex:1;height:24px;min-width:60px;margin:2px 0 2px 15px;padding:0;color:#646970;border:none;outline:none;box-sizing:border-box}.el-cascader__search-input::-webkit-input-placeholder{color:#c0c4cc}.el-cascader__search-input::-moz-placeholder{color:#c0c4cc}.el-cascader__search-input:-ms-input-placeholder{color:#c0c4cc}.el-cascader__search-input::-ms-input-placeholder{color:#c0c4cc}.el-cascader__search-input::placeholder{color:#c0c4cc}.el-color-predefine{display:flex;font-size:12px;margin-top:8px;width:280px}.el-color-predefine__colors{display:flex;flex:1;flex-wrap:wrap}.el-color-predefine__color-selector{margin:0 0 8px 8px;width:20px;height:20px;border-radius:4px;cursor:pointer}.el-color-predefine__color-selector:nth-child(10n+1){margin-left:0}.el-color-predefine__color-selector.selected{box-shadow:0 0 3px 2px #087ce1}.el-color-predefine__color-selector>div{display:flex;height:100%;border-radius:3px}.el-color-predefine__color-selector.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-hue-slider{position:relative;box-sizing:border-box;width:280px;height:12px;background-color:red;padding:0 2px}.el-color-hue-slider__bar{position:relative;background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);height:100%}.el-color-hue-slider__thumb{position:absolute;cursor:pointer;box-sizing:border-box;left:0;top:0;width:4px;height:100%;border-radius:1px;background:#fff;border:1px solid #f0f0f0;box-shadow:0 0 2px rgba(0,0,0,.6);z-index:1}.el-color-hue-slider.is-vertical{width:12px;height:180px;padding:2px 0}.el-color-hue-slider.is-vertical .el-color-hue-slider__bar{background:linear-gradient(180deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.el-color-hue-slider.is-vertical .el-color-hue-slider__thumb{left:0;top:0;width:100%;height:4px}.el-color-svpanel{position:relative;width:280px;height:180px}.el-color-svpanel__black,.el-color-svpanel__white{position:absolute;top:0;left:0;right:0;bottom:0}.el-color-svpanel__white{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.el-color-svpanel__black{background:linear-gradient(0deg,#000,transparent)}.el-color-svpanel__cursor{position:absolute}.el-color-svpanel__cursor>div{cursor:head;width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);border-radius:50%;transform:translate(-2px,-2px)}.el-color-alpha-slider{position:relative;box-sizing:border-box;width:280px;height:12px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-alpha-slider__bar{position:relative;background:linear-gradient(90deg,hsla(0,0%,100%,0) 0,#fff);height:100%}.el-color-alpha-slider__thumb{position:absolute;cursor:pointer;box-sizing:border-box;left:0;top:0;width:4px;height:100%;border-radius:1px;background:#fff;border:1px solid #f0f0f0;box-shadow:0 0 2px rgba(0,0,0,.6);z-index:1}.el-color-alpha-slider.is-vertical{width:20px;height:180px}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__bar{background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,#fff)}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__thumb{left:0;top:0;width:100%;height:4px}.el-color-dropdown{width:300px}.el-color-dropdown__main-wrapper{margin-bottom:6px}.el-color-dropdown__main-wrapper:after{content:"";display:table;clear:both}.el-color-dropdown__btns{margin-top:6px;text-align:right}.el-color-dropdown__value{float:left;line-height:26px;font-size:12px;color:#000;width:160px}.el-color-dropdown__btn{border:1px solid #dcdcdc;color:#333;line-height:24px;border-radius:2px;padding:0 20px;cursor:pointer;background-color:transparent;outline:none;font-size:12px}.el-color-dropdown__btn[disabled]{color:#ccc;cursor:not-allowed}.el-color-dropdown__btn:hover{color:#087ce1;border-color:#087ce1}.el-color-dropdown__link-btn{cursor:pointer;color:#087ce1;text-decoration:none;padding:15px;font-size:12px}.el-color-dropdown__link-btn:hover{color:tint(#087ce1,20%)}.el-color-picker{display:inline-block;position:relative;line-height:normal;height:40px}.el-color-picker.is-disabled .el-color-picker__trigger{cursor:not-allowed}.el-color-picker--medium{height:36px}.el-color-picker--medium .el-color-picker__trigger{height:36px;width:36px}.el-color-picker--medium .el-color-picker__mask{height:34px;width:34px}.el-color-picker--small{height:32px}.el-color-picker--small .el-color-picker__trigger{height:32px;width:32px}.el-color-picker--small .el-color-picker__mask{height:30px;width:30px}.el-color-picker--small .el-color-picker__empty,.el-color-picker--small .el-color-picker__icon{transform:translate3d(-50%,-50%,0) scale(.8)}.el-color-picker--mini{height:28px}.el-color-picker--mini .el-color-picker__trigger{height:28px;width:28px}.el-color-picker--mini .el-color-picker__mask{height:26px;width:26px}.el-color-picker--mini .el-color-picker__empty,.el-color-picker--mini .el-color-picker__icon{transform:translate3d(-50%,-50%,0) scale(.8)}.el-color-picker__mask{height:38px;width:38px;border-radius:4px;position:absolute;top:1px;left:1px;z-index:1;cursor:not-allowed;background-color:hsla(0,0%,100%,.7)}.el-color-picker__trigger{display:inline-block;box-sizing:border-box;height:40px;width:40px;padding:4px;border:1px solid #e6e6e6;border-radius:4px;font-size:0;position:relative;cursor:pointer}.el-color-picker__color{position:relative;display:block;box-sizing:border-box;border:1px solid #999;border-radius:2px;width:100%;height:100%;text-align:center}.el-color-picker__color.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-picker__color-inner{position:absolute;left:0;top:0;right:0;bottom:0}.el-color-picker__empty{color:#999}.el-color-picker__empty,.el-color-picker__icon{font-size:12px;position:absolute;top:50%;left:50%;transform:translate3d(-50%,-50%,0)}.el-color-picker__icon{display:inline-block;width:100%;color:#fff;text-align:center}.el-color-picker__panel{position:absolute;z-index:10;padding:6px;box-sizing:content-box;background-color:#fff;border:1px solid #ebeef5;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-textarea{position:relative;display:inline-block;width:100%;vertical-align:bottom;font-size:14px}.el-textarea__inner{display:block;resize:vertical;padding:5px 15px;line-height:1.5;box-sizing:border-box;width:100%;font-size:inherit;color:#646970;background-color:#fff;background-image:none;border:1px solid #dcdfe6;border-radius:4px;transition:border-color .2s cubic-bezier(.645,.045,.355,1)}.el-textarea__inner::-webkit-input-placeholder{color:#c0c4cc}.el-textarea__inner::-moz-placeholder{color:#c0c4cc}.el-textarea__inner:-ms-input-placeholder{color:#c0c4cc}.el-textarea__inner::-ms-input-placeholder{color:#c0c4cc}.el-textarea__inner::placeholder{color:#c0c4cc}.el-textarea__inner:hover{border-color:#c0c4cc}.el-textarea__inner:focus{outline:none;border-color:#087ce1}.el-textarea .el-input__count{color:#909399;background:#fff;position:absolute;font-size:12px;bottom:5px;right:10px}.el-textarea.is-disabled .el-textarea__inner{background-color:#f5f7fa;border-color:#e4e7ed;color:#c0c4cc;cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::-webkit-input-placeholder{color:#c0c4cc}.el-textarea.is-disabled .el-textarea__inner::-moz-placeholder{color:#c0c4cc}.el-textarea.is-disabled .el-textarea__inner:-ms-input-placeholder{color:#c0c4cc}.el-textarea.is-disabled .el-textarea__inner::-ms-input-placeholder{color:#c0c4cc}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:#c0c4cc}.el-textarea.is-exceed .el-textarea__inner{border-color:#f56c6c}.el-textarea.is-exceed .el-input__count{color:#f56c6c}.el-input{position:relative;font-size:14px;display:inline-block;width:100%}.el-input::-webkit-scrollbar{z-index:11;width:6px}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{border-radius:5px;width:6px;background:#b4bccc}.el-input::-webkit-scrollbar-corner,.el-input::-webkit-scrollbar-track{background:#fff}.el-input::-webkit-scrollbar-track-piece{background:#fff;width:6px}.el-input .el-input__clear{color:#c0c4cc;font-size:14px;cursor:pointer;transition:color .2s cubic-bezier(.645,.045,.355,1)}.el-input .el-input__clear:hover{color:#909399}.el-input .el-input__count{height:100%;display:inline-flex;align-items:center;color:#909399;font-size:12px}.el-input .el-input__count .el-input__count-inner{background:#fff;line-height:normal;display:inline-block;padding:0 5px}.el-input__inner{-webkit-appearance:none;background-color:#fff;background-image:none;border-radius:4px;border:1px solid #dcdfe6;box-sizing:border-box;color:#646970;display:inline-block;font-size:inherit;height:40px;line-height:40px;outline:none;padding:0 15px;transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%}.el-input__inner::-webkit-input-placeholder{color:#c0c4cc}.el-input__inner::-moz-placeholder{color:#c0c4cc}.el-input__inner:-ms-input-placeholder{color:#c0c4cc}.el-input__inner::-ms-input-placeholder{color:#c0c4cc}.el-input__inner::placeholder{color:#c0c4cc}.el-input__inner:hover{border-color:#c0c4cc}.el-input__inner:focus{outline:none;border-color:#087ce1}.el-input__suffix{position:absolute;height:100%;right:5px;top:0;text-align:center;color:#c0c4cc;transition:all .3s;pointer-events:none}.el-input__suffix-inner{pointer-events:all}.el-input__prefix{position:absolute;left:5px;top:0;color:#c0c4cc}.el-input__icon,.el-input__prefix{height:100%;text-align:center;transition:all .3s}.el-input__icon{width:25px;line-height:40px}.el-input__icon:after{content:"";height:100%;width:0;display:inline-block;vertical-align:middle}.el-input__validateIcon{pointer-events:none}.el-input.is-active .el-input__inner{outline:none;border-color:#087ce1}.el-input.is-disabled .el-input__inner{background-color:#f5f7fa;border-color:#e4e7ed;color:#c0c4cc;cursor:not-allowed}.el-input.is-disabled .el-input__inner::-webkit-input-placeholder{color:#c0c4cc}.el-input.is-disabled .el-input__inner::-moz-placeholder{color:#c0c4cc}.el-input.is-disabled .el-input__inner:-ms-input-placeholder{color:#c0c4cc}.el-input.is-disabled .el-input__inner::-ms-input-placeholder{color:#c0c4cc}.el-input.is-disabled .el-input__inner::placeholder{color:#c0c4cc}.el-input.is-disabled .el-input__icon{cursor:not-allowed}.el-input.is-exceed .el-input__inner{border-color:#f56c6c}.el-input.is-exceed .el-input__suffix .el-input__count{color:#f56c6c}.el-input--suffix .el-input__inner{padding-right:30px}.el-input--prefix .el-input__inner{padding-left:30px}.el-input--medium{font-size:14px}.el-input--medium .el-input__inner{height:36px;line-height:36px}.el-input--medium .el-input__icon{line-height:36px}.el-input--small{font-size:13px}.el-input--small .el-input__inner{height:32px;line-height:32px}.el-input--small .el-input__icon{line-height:32px}.el-input--mini{font-size:12px}.el-input--mini .el-input__inner{height:28px;line-height:28px}.el-input--mini .el-input__icon{line-height:28px}.el-input-group{line-height:normal;display:inline-table;width:100%;border-collapse:separate;border-spacing:0}.el-input-group>.el-input__inner{vertical-align:middle;display:table-cell}.el-input-group__append,.el-input-group__prepend{background-color:#f5f7fa;color:#909399;vertical-align:middle;display:table-cell;position:relative;border:1px solid #dcdfe6;border-radius:4px;padding:0 20px;width:1px;white-space:nowrap}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:none}.el-input-group__append .el-button,.el-input-group__append .el-select,.el-input-group__prepend .el-button,.el-input-group__prepend .el-select{display:inline-block;margin:-10px -20px}.el-input-group__append button.el-button,.el-input-group__append div.el-select .el-input__inner,.el-input-group__append div.el-select:hover .el-input__inner,.el-input-group__prepend button.el-button,.el-input-group__prepend div.el-select .el-input__inner,.el-input-group__prepend div.el-select:hover .el-input__inner{border-color:transparent;background-color:transparent;color:inherit;border-top:0;border-bottom:0}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input{font-size:inherit}.el-input-group__prepend{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group__append{border-left:0}.el-input-group--prepend .el-input__inner,.el-input-group__append{border-top-left-radius:0;border-bottom-left-radius:0}.el-input-group--prepend .el-select .el-input.is-focus .el-input__inner{border-color:transparent}.el-input-group--append .el-input__inner{border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group--append .el-select .el-input.is-focus .el-input__inner{border-color:transparent}.el-input__inner::-ms-clear{display:none;width:0;height:0}.el-transfer{font-size:14px}.el-transfer__buttons{display:inline-block;vertical-align:middle;padding:0 30px}.el-transfer__button{display:block;margin:0 auto;padding:10px;border-radius:50%;color:#fff;background-color:#087ce1;font-size:0}.el-transfer__button.is-with-texts{border-radius:4px}.el-transfer__button.is-disabled,.el-transfer__button.is-disabled:hover{border:1px solid #dcdfe6;background-color:#f5f7fa;color:#c0c4cc}.el-transfer__button:first-child{margin-bottom:10px}.el-transfer__button:nth-child(2){margin:0}.el-transfer__button i,.el-transfer__button span{font-size:14px}.el-transfer__button [class*=el-icon-]+span{margin-left:0}.el-transfer-panel{border:1px solid #ebeef5;border-radius:4px;overflow:hidden;background:#fff;display:inline-block;vertical-align:middle;width:200px;max-height:100%;box-sizing:border-box;position:relative}.el-transfer-panel__body{height:246px}.el-transfer-panel__body.is-with-footer{padding-bottom:40px}.el-transfer-panel__list{margin:0;padding:6px 0;list-style:none;height:246px;overflow:auto;box-sizing:border-box}.el-transfer-panel__list.is-filterable{height:194px;padding-top:0}.el-transfer-panel__item{height:30px;line-height:30px;padding-left:15px;display:block!important}.el-transfer-panel__item+.el-transfer-panel__item{margin-left:0}.el-transfer-panel__item.el-checkbox{color:#646970}.el-transfer-panel__item:hover{color:#087ce1}.el-transfer-panel__item.el-checkbox .el-checkbox__label{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;box-sizing:border-box;padding-left:24px;line-height:30px}.el-transfer-panel__item .el-checkbox__input{position:absolute;top:8px}.el-transfer-panel__filter{text-align:center;margin:15px;box-sizing:border-box;display:block;width:auto}.el-transfer-panel__filter .el-input__inner{height:32px;width:100%;font-size:12px;display:inline-block;box-sizing:border-box;border-radius:16px;padding-right:10px;padding-left:30px}.el-transfer-panel__filter .el-input__icon{margin-left:5px}.el-transfer-panel__filter .el-icon-circle-close{cursor:pointer}.el-transfer-panel .el-transfer-panel__header{height:40px;line-height:40px;background:#f5f7fa;margin:0;padding-left:15px;border-bottom:1px solid #ebeef5;box-sizing:border-box;color:#000}.el-transfer-panel .el-transfer-panel__header .el-checkbox{display:block;line-height:40px}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label{font-size:16px;color:#303133;font-weight:400}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label span{position:absolute;right:15px;color:#909399;font-size:12px;font-weight:400}.el-transfer-panel .el-transfer-panel__footer{height:40px;background:#fff;margin:0;padding:0;border-top:1px solid #ebeef5;position:absolute;bottom:0;left:0;width:100%;z-index:1}.el-transfer-panel .el-transfer-panel__footer:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-transfer-panel .el-transfer-panel__footer .el-checkbox{padding-left:20px;color:#646970}.el-transfer-panel .el-transfer-panel__empty{margin:0;height:30px;line-height:30px;padding:6px 15px 0;color:#909399;text-align:center}.el-transfer-panel .el-checkbox__label{padding-left:8px}.el-transfer-panel .el-checkbox__inner{height:14px;width:14px;border-radius:3px}.el-transfer-panel .el-checkbox__inner:after{height:6px;width:3px;left:4px}.el-container{display:flex;flex-direction:row;flex:1;flex-basis:auto;box-sizing:border-box;min-width:0}.el-container.is-vertical{flex-direction:column}.el-header{padding:0 20px}.el-aside,.el-header{box-sizing:border-box;flex-shrink:0}.el-aside,.el-main{overflow:auto}.el-main{display:block;flex:1;flex-basis:auto;padding:20px}.el-footer,.el-main{box-sizing:border-box}.el-footer{padding:0 20px;flex-shrink:0}.el-timeline{margin:0;font-size:14px;list-style:none}.el-timeline .el-timeline-item:last-child .el-timeline-item__tail{display:none}.el-timeline-item{position:relative;padding-bottom:20px}.el-timeline-item__wrapper{position:relative;padding-left:28px;top:-3px}.el-timeline-item__tail{position:absolute;left:4px;height:100%;border-left:2px solid #e4e7ed}.el-timeline-item__icon{color:#fff;font-size:13px}.el-timeline-item__node{position:absolute;background-color:#e4e7ed;border-radius:50%;display:flex;justify-content:center;align-items:center}.el-timeline-item__node--normal{left:-1px;width:12px;height:12px}.el-timeline-item__node--large{left:-2px;width:14px;height:14px}.el-timeline-item__node--primary{background-color:#087ce1}.el-timeline-item__node--success{background-color:#67c23a}.el-timeline-item__node--warning{background-color:#e6a23c}.el-timeline-item__node--danger{background-color:#f56c6c}.el-timeline-item__node--info{background-color:#909399}.el-timeline-item__dot{position:absolute;display:flex;justify-content:center;align-items:center}.el-timeline-item__content{color:#303133}.el-timeline-item__timestamp{color:#909399;line-height:1;font-size:13px}.el-timeline-item__timestamp.is-top{margin-bottom:8px;padding-top:4px}.el-timeline-item__timestamp.is-bottom{margin-top:8px}.el-link{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;vertical-align:middle;position:relative;text-decoration:none;outline:none;cursor:pointer;padding:0;font-size:14px;font-weight:500}.el-link.is-underline:hover:after{content:"";position:absolute;left:0;right:0;height:0;bottom:0;border-bottom:1px solid #087ce1}.el-link.is-disabled{cursor:not-allowed}.el-link [class*=el-icon-]+span{margin-left:5px}.el-link.el-link--default{color:#646970}.el-link.el-link--default:hover{color:#087ce1}.el-link.el-link--default:after{border-color:#087ce1}.el-link.el-link--default.is-disabled{color:#c0c4cc}.el-link.el-link--primary{color:#087ce1}.el-link.el-link--primary:hover{color:#3996e7}.el-link.el-link--primary:after{border-color:#087ce1}.el-link.el-link--primary.is-disabled{color:#84bef0}.el-link.el-link--primary.is-underline:hover:after{border-color:#087ce1}.el-link.el-link--danger{color:#f56c6c}.el-link.el-link--danger:hover{color:#f78989}.el-link.el-link--danger:after{border-color:#f56c6c}.el-link.el-link--danger.is-disabled{color:#fab6b6}.el-link.el-link--danger.is-underline:hover:after{border-color:#f56c6c}.el-link.el-link--success{color:#67c23a}.el-link.el-link--success:hover{color:#85ce61}.el-link.el-link--success:after{border-color:#67c23a}.el-link.el-link--success.is-disabled{color:#b3e19d}.el-link.el-link--success.is-underline:hover:after{border-color:#67c23a}.el-link.el-link--warning{color:#e6a23c}.el-link.el-link--warning:hover{color:#ebb563}.el-link.el-link--warning:after{border-color:#e6a23c}.el-link.el-link--warning.is-disabled{color:#f3d19e}.el-link.el-link--warning.is-underline:hover:after{border-color:#e6a23c}.el-link.el-link--info{color:#909399}.el-link.el-link--info:hover{color:#a6a9ad}.el-link.el-link--info:after{border-color:#909399}.el-link.el-link--info.is-disabled{color:#c8c9cc}.el-link.el-link--info.is-underline:hover:after{border-color:#909399}.el-divider{background-color:#dcdfe6;position:relative}.el-divider--horizontal{display:block;height:1px;width:100%;margin:24px 0}.el-divider--vertical{display:inline-block;width:1px;height:1em;margin:0 8px;vertical-align:middle;position:relative}.el-divider__text{position:absolute;background-color:#fff;padding:0 20px;font-weight:500;color:#303133;font-size:14px}.el-divider__text.is-left{left:20px;transform:translateY(-50%)}.el-divider__text.is-center{left:50%;transform:translateX(-50%) translateY(-50%)}.el-divider__text.is-right{right:20px;transform:translateY(-50%)}.el-image__error,.el-image__inner,.el-image__placeholder{width:100%;height:100%}.el-image{position:relative;display:inline-block;overflow:hidden}.el-image__inner{vertical-align:top}.el-image__inner--center{position:relative;top:50%;left:50%;transform:translate(-50%,-50%);display:block}.el-image__error,.el-image__placeholder{background:#f5f7fa}.el-image__error{display:flex;justify-content:center;align-items:center;font-size:14px;color:#c0c4cc;vertical-align:middle}.el-image__preview{cursor:pointer}.el-image-viewer__wrapper{position:fixed;top:0;right:0;bottom:0;left:0}.el-image-viewer__btn{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;border-radius:50%;opacity:.8;cursor:pointer;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.el-image-viewer__close{top:40px;right:40px;width:40px;height:40px;font-size:40px}.el-image-viewer__canvas{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.el-image-viewer__actions{left:50%;bottom:30px;transform:translateX(-50%);width:282px;height:44px;padding:0 23px;background-color:#606266;border-color:#fff;border-radius:22px}.el-image-viewer__actions__inner{width:100%;height:100%;text-align:justify;cursor:default;font-size:23px;color:#fff;display:flex;align-items:center;justify-content:space-around}.el-image-viewer__prev{left:40px}.el-image-viewer__next,.el-image-viewer__prev{top:50%;transform:translateY(-50%);width:44px;height:44px;font-size:24px;color:#fff;background-color:#606266;border-color:#fff}.el-image-viewer__next{right:40px;text-indent:2px}.el-image-viewer__mask{position:absolute;width:100%;height:100%;top:0;left:0;opacity:.5;background:#000}.viewer-fade-enter-active{-webkit-animation:viewer-fade-in .3s;animation:viewer-fade-in .3s}.viewer-fade-leave-active{-webkit-animation:viewer-fade-out .3s;animation:viewer-fade-out .3s}@-webkit-keyframes viewer-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes viewer-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@-webkit-keyframes viewer-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}@keyframes viewer-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}.el-button{display:inline-block;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;border-color:#dcdfe6;color:#646970;-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:none;margin:0;transition:.1s;font-weight:500;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;padding:12px 20px;font-size:14px;border-radius:4px}.el-button+.el-button{margin-left:10px}.el-button.is-round{padding:12px 20px}.el-button:focus,.el-button:hover{color:#087ce1;border-color:#b5d8f6;background-color:#e6f2fc}.el-button:active{color:#0770cb;border-color:#0770cb;outline:none}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon-]+span{margin-left:5px}.el-button.is-plain:focus,.el-button.is-plain:hover{background:#fff;border-color:#087ce1;color:#087ce1}.el-button.is-plain:active{background:#fff;outline:none}.el-button.is-active,.el-button.is-plain:active{border-color:#0770cb;color:#0770cb}.el-button.is-disabled,.el-button.is-disabled:focus,.el-button.is-disabled:hover{color:#c0c4cc;cursor:not-allowed;background-image:none;background-color:#fff;border-color:#ebeef5}.el-button.is-disabled.el-button--text{background-color:transparent}.el-button.is-disabled.is-plain,.el-button.is-disabled.is-plain:focus,.el-button.is-disabled.is-plain:hover{background-color:#fff;border-color:#ebeef5;color:#c0c4cc}.el-button.is-loading{position:relative;pointer-events:none}.el-button.is-loading:before{pointer-events:none;content:"";position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border-radius:inherit;background-color:hsla(0,0%,100%,.35)}.el-button.is-round{border-radius:20px;padding:12px 23px}.el-button.is-circle{border-radius:50%;padding:12px}.el-button--primary{color:#fff;background-color:#087ce1;border-color:#087ce1}.el-button--primary:focus,.el-button--primary:hover{background:#3996e7;border-color:#3996e7;color:#fff}.el-button--primary:active{outline:none}.el-button--primary.is-active,.el-button--primary:active{background:#0770cb;border-color:#0770cb;color:#fff}.el-button--primary.is-disabled,.el-button--primary.is-disabled:active,.el-button--primary.is-disabled:focus,.el-button--primary.is-disabled:hover{color:#fff;background-color:#84bef0;border-color:#84bef0}.el-button--primary.is-plain{color:#087ce1;background:#e6f2fc;border-color:#9ccbf3}.el-button--primary.is-plain:focus,.el-button--primary.is-plain:hover{background:#087ce1;border-color:#087ce1;color:#fff}.el-button--primary.is-plain:active{background:#0770cb;border-color:#0770cb;color:#fff;outline:none}.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:hover{color:#6bb0ed;background-color:#e6f2fc;border-color:#cee5f9}.el-button--success{color:#fff;background-color:#67c23a;border-color:#67c23a}.el-button--success:focus,.el-button--success:hover{background:#85ce61;border-color:#85ce61;color:#fff}.el-button--success:active{outline:none}.el-button--success.is-active,.el-button--success:active{background:#5daf34;border-color:#5daf34;color:#fff}.el-button--success.is-disabled,.el-button--success.is-disabled:active,.el-button--success.is-disabled:focus,.el-button--success.is-disabled:hover{color:#fff;background-color:#b3e19d;border-color:#b3e19d}.el-button--success.is-plain{color:#67c23a;background:#f0f9eb;border-color:#c2e7b0}.el-button--success.is-plain:focus,.el-button--success.is-plain:hover{background:#67c23a;border-color:#67c23a;color:#fff}.el-button--success.is-plain:active{background:#5daf34;border-color:#5daf34;color:#fff;outline:none}.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:hover{color:#a4da89;background-color:#f0f9eb;border-color:#e1f3d8}.el-button--warning{color:#fff;background-color:#e6a23c;border-color:#e6a23c}.el-button--warning:focus,.el-button--warning:hover{background:#ebb563;border-color:#ebb563;color:#fff}.el-button--warning:active{outline:none}.el-button--warning.is-active,.el-button--warning:active{background:#cf9236;border-color:#cf9236;color:#fff}.el-button--warning.is-disabled,.el-button--warning.is-disabled:active,.el-button--warning.is-disabled:focus,.el-button--warning.is-disabled:hover{color:#fff;background-color:#f3d19e;border-color:#f3d19e}.el-button--warning.is-plain{color:#e6a23c;background:#fdf6ec;border-color:#f5dab1}.el-button--warning.is-plain:focus,.el-button--warning.is-plain:hover{background:#e6a23c;border-color:#e6a23c;color:#fff}.el-button--warning.is-plain:active{background:#cf9236;border-color:#cf9236;color:#fff;outline:none}.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:hover{color:#f0c78a;background-color:#fdf6ec;border-color:#faecd8}.el-button--danger{color:#fff;background-color:#f56c6c;border-color:#f56c6c}.el-button--danger:focus,.el-button--danger:hover{background:#f78989;border-color:#f78989;color:#fff}.el-button--danger:active{outline:none}.el-button--danger.is-active,.el-button--danger:active{background:#dd6161;border-color:#dd6161;color:#fff}.el-button--danger.is-disabled,.el-button--danger.is-disabled:active,.el-button--danger.is-disabled:focus,.el-button--danger.is-disabled:hover{color:#fff;background-color:#fab6b6;border-color:#fab6b6}.el-button--danger.is-plain{color:#f56c6c;background:#fef0f0;border-color:#fbc4c4}.el-button--danger.is-plain:focus,.el-button--danger.is-plain:hover{background:#f56c6c;border-color:#f56c6c;color:#fff}.el-button--danger.is-plain:active{background:#dd6161;border-color:#dd6161;color:#fff;outline:none}.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:hover{color:#f9a7a7;background-color:#fef0f0;border-color:#fde2e2}.el-button--info{color:#fff;background-color:#909399;border-color:#909399}.el-button--info:focus,.el-button--info:hover{background:#a6a9ad;border-color:#a6a9ad;color:#fff}.el-button--info:active{outline:none}.el-button--info.is-active,.el-button--info:active{background:#82848a;border-color:#82848a;color:#fff}.el-button--info.is-disabled,.el-button--info.is-disabled:active,.el-button--info.is-disabled:focus,.el-button--info.is-disabled:hover{color:#fff;background-color:#c8c9cc;border-color:#c8c9cc}.el-button--info.is-plain{color:#909399;background:#f4f4f5;border-color:#d3d4d6}.el-button--info.is-plain:focus,.el-button--info.is-plain:hover{background:#909399;border-color:#909399;color:#fff}.el-button--info.is-plain:active{background:#82848a;border-color:#82848a;color:#fff;outline:none}.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:hover{color:#bcbec2;background-color:#f4f4f5;border-color:#e9e9eb}.el-button--medium{padding:10px 20px;font-size:14px;border-radius:4px}.el-button--medium.is-round{padding:10px 20px}.el-button--medium.is-circle{padding:10px}.el-button--small{padding:9px 15px;font-size:12px;border-radius:3px}.el-button--small.is-round{padding:9px 15px}.el-button--small.is-circle{padding:9px}.el-button--mini{padding:7px 15px;font-size:12px;border-radius:3px}.el-button--mini.is-round{padding:7px 15px}.el-button--mini.is-circle{padding:7px}.el-button--text{border-color:transparent;color:#087ce1;background:transparent;padding-left:0;padding-right:0}.el-button--text:focus,.el-button--text:hover{color:#3996e7;border-color:transparent;background-color:transparent}.el-button--text:active{color:#0770cb;background-color:transparent}.el-button--text.is-disabled,.el-button--text.is-disabled:focus,.el-button--text.is-disabled:hover,.el-button--text:active{border-color:transparent}.el-button-group{display:inline-block;vertical-align:middle}.el-button-group:after,.el-button-group:before{display:table;content:""}.el-button-group:after{clear:both}.el-button-group>.el-button{float:left;position:relative}.el-button-group>.el-button+.el-button{margin-left:0}.el-button-group>.el-button.is-disabled{z-index:1}.el-button-group>.el-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.el-button-group>.el-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.el-button-group>.el-button:first-child:last-child{border-top-right-radius:4px;border-bottom-right-radius:4px;border-top-left-radius:4px;border-bottom-left-radius:4px}.el-button-group>.el-button:first-child:last-child.is-round{border-radius:20px}.el-button-group>.el-button:first-child:last-child.is-circle{border-radius:50%}.el-button-group>.el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group>.el-button:not(:last-child){margin-right:-1px}.el-button-group>.el-button.is-active,.el-button-group>.el-button:active,.el-button-group>.el-button:focus,.el-button-group>.el-button:hover{z-index:1}.el-button-group>.el-dropdown>.el-button{border-top-left-radius:0;border-bottom-left-radius:0;border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--primary:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--primary:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--primary:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--success:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--success:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--success:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--warning:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--warning:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--warning:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--danger:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--danger:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--danger:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--info:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--info:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--info:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-calendar{background-color:#fff}.el-calendar__header{display:flex;justify-content:space-between;padding:12px 20px;border-bottom:1px solid #ebeef5}.el-calendar__title{color:#000;align-self:center}.el-calendar__body{padding:12px 20px 35px}.el-calendar-table{table-layout:fixed;width:100%}.el-calendar-table thead th{padding:12px 0;color:#646970;font-weight:400}.el-calendar-table:not(.is-range) td.next,.el-calendar-table:not(.is-range) td.prev{color:#c0c4cc}.el-calendar-table td{border-bottom:1px solid #ebeef5;border-right:1px solid #ebeef5;vertical-align:top;transition:background-color .2s ease}.el-calendar-table td.is-selected{background-color:#f2f8fe}.el-calendar-table td.is-today{color:#087ce1}.el-calendar-table tr:first-child td{border-top:1px solid #ebeef5}.el-calendar-table tr td:first-child{border-left:1px solid #ebeef5}.el-calendar-table tr.el-calendar-table__row--hide-border td{border-top:none}.el-calendar-table .el-calendar-day{box-sizing:border-box;padding:8px;height:85px}.el-calendar-table .el-calendar-day:hover{cursor:pointer;background-color:#f2f8fe}.el-backtop{position:fixed;background-color:#fff;width:40px;height:40px;border-radius:50%;color:#087ce1;display:flex;align-items:center;justify-content:center;font-size:20px;box-shadow:0 0 6px rgba(0,0,0,.12);cursor:pointer;z-index:5}.el-backtop:hover{background-color:#f2f6fc}.el-page-header{display:flex;line-height:24px}.el-page-header__left{display:flex;cursor:pointer;margin-right:40px;position:relative}.el-page-header__left:after{content:"";position:absolute;width:1px;height:16px;right:-20px;top:50%;transform:translateY(-50%);background-color:#dcdfe6}.el-page-header__left .el-icon-back{font-size:18px;margin-right:6px;align-self:center}.el-page-header__title{font-size:14px;font-weight:500}.el-page-header__content{font-size:18px;color:#303133}.el-checkbox{color:#646970;font-weight:500;font-size:14px;position:relative;cursor:pointer;display:inline-block;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin-right:30px}.el-checkbox.is-bordered{padding:9px 20px 9px 10px;border-radius:4px;border:1px solid #dcdfe6;box-sizing:border-box;line-height:normal;height:40px}.el-checkbox.is-bordered.is-checked{border-color:#087ce1}.el-checkbox.is-bordered.is-disabled{border-color:#ebeef5;cursor:not-allowed}.el-checkbox.is-bordered+.el-checkbox.is-bordered{margin-left:10px}.el-checkbox.is-bordered.el-checkbox--medium{padding:7px 20px 7px 10px;border-radius:4px;height:36px}.el-checkbox.is-bordered.el-checkbox--medium .el-checkbox__label{line-height:17px;font-size:14px}.el-checkbox.is-bordered.el-checkbox--medium .el-checkbox__inner{height:14px;width:14px}.el-checkbox.is-bordered.el-checkbox--small{padding:5px 15px 5px 10px;border-radius:3px;height:32px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__label{line-height:15px;font-size:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox.is-bordered.el-checkbox--mini{padding:3px 15px 3px 10px;border-radius:3px;height:28px}.el-checkbox.is-bordered.el-checkbox--mini .el-checkbox__label{line-height:12px;font-size:12px}.el-checkbox.is-bordered.el-checkbox--mini .el-checkbox__inner{height:12px;width:12px}.el-checkbox.is-bordered.el-checkbox--mini .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox__input{white-space:nowrap;cursor:pointer;outline:none;display:inline-block;line-height:1;position:relative;vertical-align:middle}.el-checkbox__input.is-disabled .el-checkbox__inner{background-color:#edf2fc;border-color:#dcdfe6;cursor:not-allowed}.el-checkbox__input.is-disabled .el-checkbox__inner:after{cursor:not-allowed;border-color:#c0c4cc}.el-checkbox__input.is-disabled .el-checkbox__inner+.el-checkbox__label{cursor:not-allowed}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:#f2f6fc;border-color:#dcdfe6}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:#c0c4cc}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner{background-color:#f2f6fc;border-color:#dcdfe6}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner:before{background-color:#c0c4cc;border-color:#c0c4cc}.el-checkbox__input.is-disabled+span.el-checkbox__label{color:#c0c4cc;cursor:not-allowed}.el-checkbox__input.is-checked .el-checkbox__inner{background-color:#087ce1;border-color:#087ce1}.el-checkbox__input.is-checked .el-checkbox__inner:after{transform:rotate(45deg) scaleY(1)}.el-checkbox__input.is-checked+.el-checkbox__label{color:#087ce1}.el-checkbox__input.is-focus .el-checkbox__inner{border-color:#087ce1}.el-checkbox__input.is-indeterminate .el-checkbox__inner{background-color:#087ce1;border-color:#087ce1}.el-checkbox__input.is-indeterminate .el-checkbox__inner:before{content:"";position:absolute;display:block;background-color:#fff;height:2px;transform:scale(.5);left:0;right:0;top:5px}.el-checkbox__input.is-indeterminate .el-checkbox__inner:after{display:none}.el-checkbox__inner{display:inline-block;position:relative;border:1px solid #dcdfe6;border-radius:2px;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.el-checkbox__inner:hover{border-color:#087ce1}.el-checkbox__inner:after{box-sizing:content-box;content:"";border:1px solid #fff;border-left:0;border-top:0;height:7px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:3px;transition:transform .15s ease-in .05s;transform-origin:center}.el-checkbox__original{opacity:0;outline:none;position:absolute;margin:0;width:0;height:0;z-index:-1}.el-checkbox__label{display:inline-block;padding-left:10px;line-height:19px;font-size:14px}.el-checkbox:last-of-type{margin-right:0}.el-checkbox-button,.el-checkbox-button__inner{position:relative;display:inline-block}.el-checkbox-button__inner{line-height:1;font-weight:500;white-space:nowrap;vertical-align:middle;cursor:pointer;background:#fff;border:1px solid #dcdfe6;border-left:0;color:#646970;-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:none;margin:0;transition:all .3s cubic-bezier(.645,.045,.355,1);-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;padding:12px 20px;font-size:14px;border-radius:0}.el-checkbox-button__inner.is-round{padding:12px 20px}.el-checkbox-button__inner:hover{color:#087ce1}.el-checkbox-button__inner [class*=el-icon-]{line-height:.9}.el-checkbox-button__inner [class*=el-icon-]+span{margin-left:5px}.el-checkbox-button__original{opacity:0;outline:none;position:absolute;margin:0;z-index:-1}.el-checkbox-button.is-checked .el-checkbox-button__inner{color:#fff;background-color:#087ce1;border-color:#087ce1;box-shadow:-1px 0 0 0 #6bb0ed}.el-checkbox-button.is-checked:first-child .el-checkbox-button__inner{border-left-color:#087ce1}.el-checkbox-button.is-disabled .el-checkbox-button__inner{color:#c0c4cc;cursor:not-allowed;background-image:none;background-color:#fff;border-color:#ebeef5;box-shadow:none}.el-checkbox-button.is-disabled:first-child .el-checkbox-button__inner{border-left-color:#ebeef5}.el-checkbox-button:first-child .el-checkbox-button__inner{border-left:1px solid #dcdfe6;border-radius:4px 0 0 4px;box-shadow:none!important}.el-checkbox-button.is-focus .el-checkbox-button__inner{border-color:#087ce1}.el-checkbox-button:last-child .el-checkbox-button__inner{border-radius:0 4px 4px 0}.el-checkbox-button--medium .el-checkbox-button__inner{padding:10px 20px;font-size:14px;border-radius:0}.el-checkbox-button--medium .el-checkbox-button__inner.is-round{padding:10px 20px}.el-checkbox-button--small .el-checkbox-button__inner{padding:9px 15px;font-size:12px;border-radius:0}.el-checkbox-button--small .el-checkbox-button__inner.is-round{padding:9px 15px}.el-checkbox-button--mini .el-checkbox-button__inner{padding:7px 15px;font-size:12px;border-radius:0}.el-checkbox-button--mini .el-checkbox-button__inner.is-round{padding:7px 15px}.el-checkbox-group{font-size:0}.el-radio{color:#646970;font-weight:500;line-height:1;position:relative;cursor:pointer;display:inline-block;white-space:nowrap;outline:none;font-size:14px;margin-right:30px;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}.el-radio.is-bordered{padding:12px 20px 0 10px;border-radius:4px;border:1px solid #dcdfe6;box-sizing:border-box;height:40px}.el-radio.is-bordered.is-checked{border-color:#087ce1}.el-radio.is-bordered.is-disabled{cursor:not-allowed;border-color:#ebeef5}.el-radio.is-bordered+.el-radio.is-bordered{margin-left:10px}.el-radio--medium.is-bordered{padding:10px 20px 0 10px;border-radius:4px;height:36px}.el-radio--medium.is-bordered .el-radio__label{font-size:14px}.el-radio--medium.is-bordered .el-radio__inner{height:14px;width:14px}.el-radio--small.is-bordered{padding:8px 15px 0 10px;border-radius:3px;height:32px}.el-radio--small.is-bordered .el-radio__label{font-size:12px}.el-radio--small.is-bordered .el-radio__inner{height:12px;width:12px}.el-radio--mini.is-bordered{padding:6px 15px 0 10px;border-radius:3px;height:28px}.el-radio--mini.is-bordered .el-radio__label{font-size:12px}.el-radio--mini.is-bordered .el-radio__inner{height:12px;width:12px}.el-radio:last-child{margin-right:0}.el-radio__input{white-space:nowrap;cursor:pointer;outline:none;display:inline-block;line-height:1;position:relative;vertical-align:middle}.el-radio__input.is-disabled .el-radio__inner{background-color:#f5f7fa;border-color:#e4e7ed;cursor:not-allowed}.el-radio__input.is-disabled .el-radio__inner:after{cursor:not-allowed;background-color:#f5f7fa}.el-radio__input.is-disabled .el-radio__inner+.el-radio__label{cursor:not-allowed}.el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:#f5f7fa;border-color:#e4e7ed}.el-radio__input.is-disabled.is-checked .el-radio__inner:after{background-color:#c0c4cc}.el-radio__input.is-disabled+span.el-radio__label{color:#c0c4cc;cursor:not-allowed}.el-radio__input.is-checked .el-radio__inner{border-color:#087ce1;background:#087ce1}.el-radio__input.is-checked .el-radio__inner:after{transform:translate(-50%,-50%) scale(1)}.el-radio__input.is-checked+.el-radio__label{color:#087ce1}.el-radio__input.is-focus .el-radio__inner{border-color:#087ce1}.el-radio__inner{border:1px solid #dcdfe6;border-radius:100%;width:14px;height:14px;background-color:#fff;position:relative;cursor:pointer;display:inline-block;box-sizing:border-box}.el-radio__inner:hover{border-color:#087ce1}.el-radio__inner:after{width:4px;height:4px;border-radius:100%;background-color:#fff;content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(0);transition:transform .15s ease-in}.el-radio__original{opacity:0;outline:none;position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;margin:0}.el-radio:focus:not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner{box-shadow:0 0 2px 2px #087ce1}.el-radio__label{font-size:14px;padding-left:10px}.el-scrollbar{overflow:hidden;position:relative}.el-scrollbar:active>.el-scrollbar__bar,.el-scrollbar:focus>.el-scrollbar__bar,.el-scrollbar:hover>.el-scrollbar__bar{opacity:1;transition:opacity .34s ease-out}.el-scrollbar__wrap{overflow:scroll;height:100%}.el-scrollbar__wrap--hidden-default{scrollbar-width:none}.el-scrollbar__wrap--hidden-default::-webkit-scrollbar{width:0;height:0}.el-scrollbar__thumb{position:relative;display:block;width:0;height:0;cursor:pointer;border-radius:inherit;background-color:rgba(144,147,153,.3);transition:background-color .3s}.el-scrollbar__thumb:hover{background-color:rgba(144,147,153,.5)}.el-scrollbar__bar{position:absolute;right:2px;bottom:2px;z-index:1;border-radius:4px;opacity:0;transition:opacity .12s ease-out}.el-scrollbar__bar.is-vertical{width:6px;top:2px}.el-scrollbar__bar.is-vertical>div{width:100%}.el-scrollbar__bar.is-horizontal{height:6px;left:2px}.el-scrollbar__bar.is-horizontal>div{height:100%}.el-cascader-panel{display:flex;border-radius:4px;font-size:14px}.el-cascader-panel.is-bordered{border:1px solid #e4e7ed;border-radius:4px}.el-cascader-menu{min-width:180px;box-sizing:border-box;color:#646970;border-right:1px solid #e4e7ed}.el-cascader-menu:last-child{border-right:none}.el-cascader-menu:last-child .el-cascader-node{padding-right:20px}.el-cascader-menu__wrap{height:204px}.el-cascader-menu__list{position:relative;min-height:100%;margin:0;padding:6px 0;list-style:none;box-sizing:border-box}.el-cascader-menu__hover-zone{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.el-cascader-menu__empty-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;color:#c0c4cc}.el-cascader-node{position:relative;display:flex;align-items:center;padding:0 30px 0 20px;height:34px;line-height:34px;outline:none}.el-cascader-node.is-selectable.in-active-path{color:#646970}.el-cascader-node.in-active-path,.el-cascader-node.is-active,.el-cascader-node.is-selectable.in-checked-path{color:#087ce1;font-weight:700}.el-cascader-node:not(.is-disabled){cursor:pointer}.el-cascader-node:not(.is-disabled):focus,.el-cascader-node:not(.is-disabled):hover{background:#f5f7fa}.el-cascader-node.is-disabled{color:#c0c4cc;cursor:not-allowed}.el-cascader-node__prefix{position:absolute;left:10px}.el-cascader-node__postfix{position:absolute;right:10px}.el-cascader-node__label{flex:1;padding:0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.el-cascader-node>.el-radio{margin-right:0}.el-cascader-node>.el-radio .el-radio__label{padding-left:0}.el-avatar{display:inline-block;box-sizing:border-box;text-align:center;overflow:hidden;color:#fff;background:#c0c4cc;width:40px;height:40px;line-height:40px;font-size:14px}.el-avatar>img{display:block;height:100%;vertical-align:middle}.el-avatar--circle{border-radius:50%}.el-avatar--square{border-radius:4px}.el-avatar--icon{font-size:18px}.el-avatar--large{width:40px;height:40px;line-height:40px}.el-avatar--medium{width:36px;height:36px;line-height:36px}.el-avatar--small{width:28px;height:28px;line-height:28px}@-webkit-keyframes el-drawer-fade-in{0%{opacity:0}to{opacity:1}}@keyframes el-drawer-fade-in{0%{opacity:0}to{opacity:1}}@-webkit-keyframes rtl-drawer-in{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes rtl-drawer-in{0%{transform:translate(100%)}to{transform:translate(0)}}@-webkit-keyframes rtl-drawer-out{0%{transform:translate(0)}to{transform:translate(100%)}}@keyframes rtl-drawer-out{0%{transform:translate(0)}to{transform:translate(100%)}}@-webkit-keyframes ltr-drawer-in{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes ltr-drawer-in{0%{transform:translate(-100%)}to{transform:translate(0)}}@-webkit-keyframes ltr-drawer-out{0%{transform:translate(0)}to{transform:translate(-100%)}}@keyframes ltr-drawer-out{0%{transform:translate(0)}to{transform:translate(-100%)}}@-webkit-keyframes ttb-drawer-in{0%{transform:translateY(-100%)}to{transform:translate(0)}}@keyframes ttb-drawer-in{0%{transform:translateY(-100%)}to{transform:translate(0)}}@-webkit-keyframes ttb-drawer-out{0%{transform:translate(0)}to{transform:translateY(-100%)}}@keyframes ttb-drawer-out{0%{transform:translate(0)}to{transform:translateY(-100%)}}@-webkit-keyframes btt-drawer-in{0%{transform:translateY(100%)}to{transform:translate(0)}}@keyframes btt-drawer-in{0%{transform:translateY(100%)}to{transform:translate(0)}}@-webkit-keyframes btt-drawer-out{0%{transform:translate(0)}to{transform:translateY(100%)}}@keyframes btt-drawer-out{0%{transform:translate(0)}to{transform:translateY(100%)}}.el-drawer{position:absolute;box-sizing:border-box;background-color:#fff;display:flex;flex-direction:column;box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);overflow:hidden}.el-drawer.rtl{-webkit-animation:rtl-drawer-out .3s;animation:rtl-drawer-out .3s}.el-drawer__open .el-drawer.rtl{-webkit-animation:rtl-drawer-in .3s 1ms;animation:rtl-drawer-in .3s 1ms}.el-drawer.ltr{-webkit-animation:ltr-drawer-out .3s;animation:ltr-drawer-out .3s}.el-drawer__open .el-drawer.ltr{-webkit-animation:ltr-drawer-in .3s 1ms;animation:ltr-drawer-in .3s 1ms}.el-drawer.ttb{-webkit-animation:ttb-drawer-out .3s;animation:ttb-drawer-out .3s}.el-drawer__open .el-drawer.ttb{-webkit-animation:ttb-drawer-in .3s 1ms;animation:ttb-drawer-in .3s 1ms}.el-drawer.btt{-webkit-animation:btt-drawer-out .3s;animation:btt-drawer-out .3s}.el-drawer__open .el-drawer.btt{-webkit-animation:btt-drawer-in .3s 1ms;animation:btt-drawer-in .3s 1ms}.el-drawer__wrapper{position:fixed;top:0;right:0;bottom:0;left:0;overflow:hidden;margin:0}.el-drawer__header{align-items:center;color:#72767b;display:flex;margin-bottom:32px;padding:20px;padding-bottom:0}.el-drawer__header>:first-child{flex:1}.el-drawer__title{margin:0;flex:1;line-height:inherit;font-size:1rem}.el-drawer__close-btn{border:none;cursor:pointer;font-size:20px;color:inherit;background-color:transparent}.el-drawer__body{flex:1}.el-drawer__body>*{box-sizing:border-box}.el-drawer.ltr,.el-drawer.rtl{height:100%;top:0;bottom:0}.el-drawer.btt,.el-drawer.ttb{width:100%;left:0;right:0}.el-drawer.ltr{left:0}.el-drawer.rtl{right:0}.el-drawer.ttb{top:0}.el-drawer.btt{bottom:0}.el-drawer__container{position:relative;left:0;right:0;top:0;bottom:0;height:100%;width:100%}.el-drawer-fade-enter-active{-webkit-animation:el-drawer-fade-in .3s;animation:el-drawer-fade-in .3s}.el-drawer-fade-leave-active{animation:el-drawer-fade-in .3s reverse}.el-popconfirm__main{display:flex;align-items:center}.el-popconfirm__icon{margin-right:5px}.el-popconfirm__action{text-align:right;margin:0}.omapi-datepicker-input{text-align:left}.omapi-datepicker-input label{font-size:18px;font-weight:700;margin-bottom:10px}fieldset[disabled] .multiselect{pointer-events:none}.multiselect__spinner{position:absolute;right:1px;top:1px;width:48px;height:35px;background:#fff;display:block}.multiselect__spinner:after,.multiselect__spinner:before{position:absolute;content:"";top:50%;left:50%;margin:-8px 0 0 -8px;width:16px;height:16px;border-radius:100%;border:2px solid transparent;border-top-color:#41b883;box-shadow:0 0 0 1px transparent}.multiselect__spinner:before{-webkit-animation:spinning 2.4s cubic-bezier(.41,.26,.2,.62);animation:spinning 2.4s cubic-bezier(.41,.26,.2,.62);-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.multiselect__spinner:after{-webkit-animation:spinning 2.4s cubic-bezier(.51,.09,.21,.8);animation:spinning 2.4s cubic-bezier(.51,.09,.21,.8);-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.multiselect__loading-enter-active,.multiselect__loading-leave-active{transition:opacity .4s ease-in-out;opacity:1}.multiselect__loading-enter,.multiselect__loading-leave-active{opacity:0}.multiselect,.multiselect__input,.multiselect__single{font-family:inherit;font-size:16px;touch-action:manipulation}.multiselect{box-sizing:content-box;display:block;position:relative;width:100%;min-height:40px;text-align:left;color:#35495e}.multiselect *{box-sizing:border-box}.multiselect:focus{outline:none}.multiselect--disabled{background:#ededed;pointer-events:none;opacity:.6}.multiselect--active{z-index:50}.multiselect--active:not(.multiselect--above) .multiselect__current,.multiselect--active:not(.multiselect--above) .multiselect__input,.multiselect--active:not(.multiselect--above) .multiselect__tags{border-bottom-left-radius:0;border-bottom-right-radius:0}.multiselect--active .multiselect__select{transform:rotate(180deg)}.multiselect--above.multiselect--active .multiselect__current,.multiselect--above.multiselect--active .multiselect__input,.multiselect--above.multiselect--active .multiselect__tags{border-top-left-radius:0;border-top-right-radius:0}.multiselect__input,.multiselect__single{position:relative;display:inline-block;min-height:20px;line-height:20px;border:none;border-radius:5px;background:#fff;padding:0 0 0 5px;width:100%;transition:border .1s ease;box-sizing:border-box;margin-bottom:8px;vertical-align:top}.multiselect__input:-ms-input-placeholder{color:#35495e}.multiselect__input::-webkit-input-placeholder{color:#35495e}.multiselect__input::-moz-placeholder{color:#35495e}.multiselect__input::-ms-input-placeholder{color:#35495e}.multiselect__input::placeholder{color:#35495e}.multiselect__tag~.multiselect__input,.multiselect__tag~.multiselect__single{width:auto}.multiselect__input:hover,.multiselect__single:hover{border-color:#cfcfcf}.multiselect__input:focus,.multiselect__single:focus{border-color:#a8a8a8;outline:none}.multiselect__single{padding-left:5px;margin-bottom:8px}.multiselect__tags-wrap{display:inline}.multiselect__tags{min-height:40px;display:block;padding:8px 40px 0 8px;border-radius:5px;border:1px solid #e8e8e8;background:#fff;font-size:14px}.multiselect__tag{position:relative;display:inline-block;padding:4px 26px 4px 10px;border-radius:5px;margin-right:10px;color:#fff;line-height:1;background:#41b883;margin-bottom:5px;white-space:nowrap;overflow:hidden;max-width:100%;text-overflow:ellipsis}.multiselect__tag-icon{cursor:pointer;margin-left:7px;position:absolute;right:0;top:0;bottom:0;font-weight:700;font-style:normal;width:22px;text-align:center;line-height:22px;transition:all .2s ease;border-radius:5px}.multiselect__tag-icon:after{content:"\D7";color:#266d4d;font-size:14px}.multiselect__tag-icon:focus,.multiselect__tag-icon:hover{background:#369a6e}.multiselect__tag-icon:focus:after,.multiselect__tag-icon:hover:after{color:#fff}.multiselect__current{min-height:40px;overflow:hidden;padding:8px 30px 0 12px;white-space:nowrap;border-radius:5px;border:1px solid #e8e8e8}.multiselect__current,.multiselect__select{line-height:16px;box-sizing:border-box;display:block;margin:0;text-decoration:none;cursor:pointer}.multiselect__select{position:absolute;width:40px;height:38px;right:1px;top:1px;padding:4px 8px;text-align:center;transition:transform .2s ease}.multiselect__select:before{position:relative;right:0;top:65%;color:#999;margin-top:4px;border-color:#999 transparent transparent;border-style:solid;border-width:5px 5px 0;content:""}.multiselect__placeholder{color:#adadad;display:inline-block;margin-bottom:10px;padding-top:2px}.multiselect--active .multiselect__placeholder{display:none}.multiselect__content-wrapper{position:absolute;display:block;background:#fff;width:100%;max-height:240px;overflow:auto;border:1px solid #e8e8e8;border-top:none;border-bottom-left-radius:5px;border-bottom-right-radius:5px;z-index:50;-webkit-overflow-scrolling:touch}.multiselect__content{list-style:none;display:inline-block;padding:0;margin:0;min-width:100%;vertical-align:top}.multiselect--above .multiselect__content-wrapper{bottom:100%;border-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom:none;border-top:1px solid #e8e8e8}.multiselect__content::webkit-scrollbar{display:none}.multiselect__element{display:block}.multiselect__option{display:block;padding:12px;min-height:40px;line-height:16px;text-decoration:none;text-transform:none;vertical-align:middle;position:relative;cursor:pointer;white-space:nowrap}.multiselect__option:after{top:0;right:0;position:absolute;line-height:40px;padding-right:12px;padding-left:20px;font-size:13px}.multiselect__option--highlight{background:#41b883;outline:none;color:#fff}.multiselect__option--highlight:after{content:attr(data-select);background:#41b883;color:#fff}.multiselect__option--selected{background:#f3f3f3;color:#35495e;font-weight:700}.multiselect__option--selected:after{content:attr(data-selected);color:silver}.multiselect__option--selected.multiselect__option--highlight{background:#ff6a6a;color:#fff}.multiselect__option--selected.multiselect__option--highlight:after{background:#ff6a6a;content:attr(data-deselect);color:#fff}.multiselect--disabled .multiselect__current,.multiselect--disabled .multiselect__select{background:#ededed;color:#a6a6a6}.multiselect__option--disabled{background:#ededed!important;color:#a6a6a6!important;cursor:text;pointer-events:none}.multiselect__option--group{background:#ededed;color:#35495e}.multiselect__option--group.multiselect__option--highlight{background:#35495e;color:#fff}.multiselect__option--group.multiselect__option--highlight:after{background:#35495e}.multiselect__option--disabled.multiselect__option--highlight{background:#dedede}.multiselect__option--group-selected.multiselect__option--highlight{background:#ff6a6a;color:#fff}.multiselect__option--group-selected.multiselect__option--highlight:after{background:#ff6a6a;content:attr(data-deselect);color:#fff}.multiselect-enter-active,.multiselect-leave-active{transition:all .15s ease}.multiselect-enter,.multiselect-leave-active{opacity:0}.multiselect__strong{margin-bottom:8px;line-height:20px;display:inline-block;vertical-align:top}[dir=rtl] .multiselect{text-align:right}[dir=rtl] .multiselect__select{right:auto;left:1px}[dir=rtl] .multiselect__tags{padding:8px 8px 0 40px}[dir=rtl] .multiselect__content{text-align:right}[dir=rtl] .multiselect__option:after{right:auto;left:0}[dir=rtl] .multiselect__clear{right:auto;left:12px}[dir=rtl] .multiselect__spinner{right:auto;left:1px}@-webkit-keyframes spinning{0%{transform:rotate(0)}to{transform:rotate(2turn)}}@keyframes spinning{0%{transform:rotate(0)}to{transform:rotate(2turn)}}.omapi-multi-select-input{text-align:left;margin-bottom:10px}.om-pro-feature .header{background-color:transparent!important;padding:30px 30px 0!important}.om-pro-feature .header .close button{color:#b2b4b8}.om-pro-feature .content{align-items:center;display:flex;flex-direction:column;padding:0 100px 40px!important}.om-pro-feature .content h2{font-weight:600;text-align:center;font-size:24px;line-height:140%;margin-top:10px}.om-pro-feature .content p{text-align:center;padding:0 35px}.om-pro-feature .content .omapi-list__twocol{justify-content:flex-end}.om-pro-feature .content .omapi-list__twocol .omapi-list__item{color:#23282d;margin-bottom:16px;display:flex;align-items:center;flex:0 0 45%}.om-pro-feature .content .omapi-button.omapi-button__monster{margin:18px 0 24px;line-height:100%}.om-pro-feature .content .omapi-button__link{font-size:14px;line-height:130%}.om-circle-loading[data-v-179cdd5b]{margin:10px auto}.checkbox-cell[data-v-179cdd5b]{width:25px}.form-checkbox-no-label .form-checkbox-wrapper[data-v-179cdd5b],.form-checkbox-no-label[data-v-179cdd5b]{display:block}.om-table-cell-has-checkbox[data-v-a22e214e]{padding:8px 10px}.om-table-cell-has-checkbox input[type=checkbox][data-v-a22e214e]{margin:0 0 0 8px}.omapi-dash__notifications[data-v-298726aa]{overflow:hidden}.om-show-notifications{height:100%;overflow:hidden}.overlay[data-v-7a30d148]{background-color:#6c7781;opacity:.5;left:160px;display:block;z-index:2}.drawer[data-v-7a30d148],.overlay[data-v-7a30d148]{position:fixed;top:106px;right:0;bottom:0;transition:.5s}.drawer[data-v-7a30d148]{width:572px;min-width:300px;background:#fff;left:auto;z-index:9991;overflow:scroll}.drawer.notifications-slide-enter[data-v-7a30d148],.drawer.notifications-slide-leave-to[data-v-7a30d148]{right:-600px}.omapi-has-alert .drawer[data-v-7a30d148],.omapi-has-alert .overlay[data-v-7a30d148]{top:144px}.notifications-fade-enter-active[data-v-7a30d148],.notifications-fade-leave-active[data-v-7a30d148]{transition:opacity .5s}.notifications-fade-enter[data-v-7a30d148],.notifications-fade-leave-to[data-v-7a30d148]{opacity:0}.notifications-slide-enter-active[data-v-7a30d148],.notifications-slide-leave-active[data-v-7a30d148]{transition:all .5s ease-in-out}.omapi-notifications-list .alerts{padding-bottom:5px;margin-bottom:25px;border-bottom:1px solid #f1f1f1}.omapi-notifications-list .om-circle-loading{margin:10px auto;height:44px;background-size:44px;background-position:top}.omapi-notifications-list .om-circle-loading.notifications-slide-enter,.omapi-notifications-list .om-circle-loading.notifications-slide-leave-to{opacity:0;height:0;overflow:hidden;padding:0;margin:0;border:0}.omapi-notifications-list .swipe-right-enter-active,.omapi-notifications-list .swipe-right-leave-active{transition:all .5s ease-in-out}.omapi-notifications-list .swipe-right-leave-to{transform:translateX(110%)}.omapi-notifications-list .omapi-detailed-list li .omapi-multi-column__secondary{font-size:11px;flex:0 0 85px;margin-left:10px}.omapi-notifications-list .omapi-detailed-list>.dismiss-all-notices{justify-content:flex-end;border-bottom:0}.omapi-screen .omapi-notifications-list .omapi-detailed-list>.notifications-loading{display:block;margin-bottom:20px}.om-notification-loading[data-v-0c9aaa74]{opacity:.5}.om-circle-loading[data-v-0c9aaa74]{width:20px;height:20px;background-size:20px;margin:0;display:inline-block;position:relative;top:5px;margin-left:10px}.dismiss[data-v-0c9aaa74]{display:inline-block}.omapi-monsterleads__actions[data-v-5da76f35]{display:flex;justify-content:space-between}.omapi-monsterleads__filters[data-v-5da76f35]{display:flex}.om-circle-loading[data-v-5da76f35]{margin:10px auto}.campaign-type-filter{margin-bottom:33px}.campaign-type-filter__nav{border-bottom:2px solid #e8e8eb}.campaign-type-filter__filters{display:flex;margin-bottom:-2px}.campaign-type-filter__filter{font-size:15px;font-weight:400;border-bottom:2px solid transparent;cursor:pointer;color:#6c7781;height:60px;display:flex;align-items:center;justify-content:center;position:relative}.campaign-type-filter__filter.selected>span,.campaign-type-filter__filter:hover>span{color:#23282d;font-weight:600}.campaign-type-filter__filter.selected{border-bottom:2px solid #087ce1}.campaign-type-filter__filter-options{display:none;position:absolute;left:0;top:calc(100% + 2px);height:auto;z-index:2;font-size:13px}.campaign-type-filter__filter:hover .campaign-type-filter__filter-options{display:block}.campaign-type-filter__filter-featured{width:97px}@media screen and (max-width:990px){.campaign-type-filter__filter-featured{width:82px}}.campaign-type-filter__filter-latest{width:81px}@media screen and (max-width:990px){.campaign-type-filter__filter-latest{width:66px}}.campaign-type-filter__filter-device{width:201px}@media screen and (max-width:990px){.campaign-type-filter__filter-device{width:186px}}.campaign-type-filter__filter-device .campaign-type-filter__filter-options{width:199px;background:#f7f8fb;border:1px solid #c9d0d6;box-shadow:0 3px 2px rgba(0,0,0,.05);border-radius:0 0 3px 3px}.campaign-type-filter__filter-device .campaign-type-filter__filter-options>div{margin:11px;padding:9px 0 9px 62px;border:1px solid transparent;position:relative;color:#23282d;line-height:100%;background:#fff;color:#6c7781}.campaign-type-filter__filter-device .campaign-type-filter__filter-options>div .device-icons{position:absolute;top:0;left:0}.campaign-type-filter__filter-device .campaign-type-filter__filter-options>div small{font-size:11px;position:relative;top:2px}.campaign-type-filter__filter-device .campaign-type-filter__filter-options>div.selected,.campaign-type-filter__filter-device .campaign-type-filter__filter-options>div:hover{border:1px solid #087ce1;color:#23282d;background:#fcfdff}.campaign-type-filter__filter-device .campaign-type-filter__filter-options>div.selected:after{content:"";background:#f7f8fb url(../img/green-success-circle.52fe5261.svg) 0 0 no-repeat;background-size:15px 15px;position:absolute;top:-7px;right:-7px;width:15px;height:15px}.campaign-type-filter__filter-device-desktop .device-icons-desktop{position:absolute;top:10px;left:23px}.campaign-type-filter__filter-device-desktop .device-icons-tablet{background:#f7f8fb;position:absolute;top:13px;left:18px;border:1px solid #f7f8fb}.campaign-type-filter__filter-device-mobile .device-icons-mobile{position:absolute;top:8px;left:26px}.campaign-type-filter__filter-category{width:152px}.campaign-type-filter__filter-category>span{display:flex;align-items:center;justify-content:center}.campaign-type-filter__filter-category>span>svg{width:14px;margin-right:5px}.campaign-type-filter__filter-category.active>span,.campaign-type-filter__filter-category:hover>span{padding:8px 14px;font-weight:400;font-size:15px;line-height:14px;border-radius:3px;background-color:#087ce1;color:#fff;border:1px solid #087ce1}.campaign-type-filter__filter-category.active>span:hover,.campaign-type-filter__filter-category:hover>span:hover{background-color:#096bc1;border-color:#096bc1}.campaign-type-filter__search{position:relative;justify-self:flex-end;align-self:center;width:212px}@media screen and (max-width:990px){.campaign-type-filter__search{width:155px}}.campaign-type-filter__search svg{position:absolute;right:8px;top:13px;width:13px;height:13px}.campaign-type-filter__search svg.clear-search{cursor:pointer}.campaign-type-filter__search .omapi-input[type=text]{width:212px;height:30px;padding-right:24px;margin:0}.campaign-type-filter-device-options{background:#fff;border:1px solid #c9d0d6;box-sizing:border-box;box-shadow:0 3px 2px rgba(0,0,0,.05);border-radius:0 0 3px 3px}.campaign-type-filter-device-options>.omapi-card__flex{justify-content:space-between;align-items:center;flex-wrap:nowrap}.campaign-type-filter-device-options .filters-top{padding:10px 10px}@media screen and (max-width:950px){.campaign-type-filter-device-options .filters-top{flex-direction:column}}.campaign-type-filter-device-options .filters-left{justify-content:flex-start}.campaign-type-filter-device-options .filters-left .omapi-radio-group{padding:20px}.campaign-type-filter-device-options .filters-left .omapi-radio-group strong{font-weight:700;font-size:14px;line-height:140%;padding:0 0 15px}.campaign-type-filter-device-options .filters-bottom{padding:16px 29px 14px;background:#f7f8fb;border-radius:0 0 3px 3px}.campaign-type-filter .did-you-know{max-width:442px;border-left:1px solid #ddd;padding:20px 15px;display:flex;justify-content:flex-start}@media screen and (max-width:950px){.campaign-type-filter .did-you-know{border-left:none;border-top:1px solid #ddd;max-width:100%}}.campaign-type-filter .did-you-know>img{width:108px;flex-basis:108px;margin-right:16px}.campaign-type-filter .did-you-know>div{flex-basis:calc(100% - 154px)}.campaign-type-filter .did-you-know>div>strong{display:block;font-size:15px;line-height:150%;color:#23282d;margin-bottom:2px}.campaign-type-filter .did-you-know>div p{font-size:14px;line-height:150%;color:#23282d;margin-bottom:9px}.campaign-type-selector{align-items:center;margin:0 -8px 33px;justify-content:flex-start}.campaign-type-selector .omapi-card{align-items:center;margin:8px;flex-grow:1;justify-content:center;cursor:pointer;box-sizing:border-box;height:161px}.campaign-type-selector .omapi-card.selected,.campaign-type-selector .omapi-card:hover{position:relative;border:2px solid #087ce1}.campaign-type-selector .omapi-card.selected:before{content:url(../img/green-success-circle.52fe5261.svg);position:absolute;top:8px;right:8px;width:21px;height:21px}.campaign-type-selector .omapi-card__half{max-width:calc(50% - 16px)}.campaign-type-selector .omapi-card__third{max-width:calc(33.33333% - 16px)}.campaign-type-selector .omapi-card__fourth{max-width:calc(25% - 16px)}@media screen and (max-width:580px){.campaign-type-selector .omapi-card__fourth{max-width:160px}}.campaign-type-selector .omapi-card__fifth{max-width:calc(20% - 16px)}@media screen and (max-width:1000px){.campaign-type-selector .omapi-card__fifth{max-width:160px}}.campaign-type-selector .omapi-card__sixth{max-width:calc(16.66667% - 16px)}@media screen and (max-width:1024px){.campaign-type-selector .omapi-card__sixth{max-width:calc(33.33333% - 16px);flex-basis:33%}}.campaign-type-selector .omapi-card .omapi-card-content{cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0}.campaign-type-selector .omapi-card .omapi-card-content h5{font-size:15px;font-weight:600;padding-top:3px;margin:0}.upsell-alert{margin-bottom:30px;padding-right:12px!important}.upsell-alert .alert-message{width:100%;display:flex!important;justify-content:space-between;align-items:center}.upsell-alert .alert-message>span{padding-right:50px}.upsell-alert .alert-message a.button{min-width:118px}.upsell-alert-button{flex-shrink:0;text-align:center}.om-no-access img{width:200px}.om-no-access .header{background-color:transparent!important;padding:30px 30px 0!important}.om-no-access .header .close button{background:transparent;border:0;color:#b2b4b8;padding:0!important}.om-no-access .content{align-items:center;color:#646970;display:flex;flex-direction:column;padding:0 80px 55px!important;text-align:center}.om-no-access .content h2{font-size:1.5em;font-weight:700;margin:5px 0 13px;letter-spacing:.2px}.om-no-access .content p{margin-bottom:25px}.om-no-access .content .no-access__buttons .omapi-button__primary{margin-bottom:20px;font-size:16px;padding:14px 20px}.om-not-connected .header{background-color:transparent!important;padding:30px 30px 0!important}.om-not-connected .header .close button{background:transparent;border:0;color:#b2b4b8;padding:0!important}.om-not-connected .content{align-items:center;color:#646970;display:flex;flex-direction:column;padding:0 40px 55px!important}.om-not-connected .content h2{font-size:1.5em;font-weight:700;margin:5px 0 13px;letter-spacing:.2px}.om-not-connected .content p{margin-bottom:25px}.om-not-connected .content .not-connected__buttons{display:flex}.om-not-connected .content .not-connected__buttons span{margin-right:0!important;font-size:.9em;display:flex;align-items:center}.om-not-connected .content .not-connected__buttons .omapi-button{margin:0 10px;font-size:18px;padding:9px 16px}.no-campaigns-content[data-v-5c486508]{display:flex;flex-direction:column;justify-content:center;align-items:center;max-width:45%;margin:0 auto;text-align:center;padding:40px 0}.no-campaigns-content .omapi-button.omapi-button__large[data-v-5c486508]{font-size:16px;padding:14px 18px;margin:0 0 20px 0}.no-campaigns-content .omapi-button__link[data-v-5c486508]{font-size:14px}.omapi-campaign-table__not-connected[data-v-042eb298]{background:url(../img/campaigns-not-connected.bfe97ad3.jpg) 50% no-repeat;background-size:contain;min-height:1337px;background-position:top}.omapi-campaign-table__not-connected[data-v-042eb298] .omapi-no-connection-title{font-size:24px;margin:0 auto 14px}.omapi-campaign-table__not-connected[data-v-042eb298] .omapi-no-connection-subtitle{max-width:560px;margin:0 auto 24px;font-size:16px}.omapi-campaign-table__not-connected .omapi-list__twocol[data-v-042eb298]{justify-content:flex-end}@media screen and (max-width:1050px){.omapi-campaign-table__not-connected .omapi-list__twocol[data-v-042eb298]{justify-content:center}}.omapi-campaign-table__not-connected .omapi-list__twocol .omapi-list__item[data-v-042eb298]{display:flex;align-items:center;flex:0 0 49%}@media screen and (max-width:1050px){.omapi-campaign-table__not-connected .omapi-list__twocol .omapi-list__item[data-v-042eb298]{flex:0 1 75%}}.row-bg-odd[data-v-abc9c41c]{background-color:#f9f9f9}.omapi-table .campaign-table-name .no-link-style[data-v-abc9c41c]{color:#6c7781;font-weight:400}.omapi-table .campaign-table-ab[data-v-abc9c41c]{position:relative}.omapi-table .campaign-table-ab .split-button[data-v-abc9c41c]{align-items:center;background-color:#fafafb;border:1px solid #c9d0d6;border-radius:2px;bottom:-10px;color:#6c7781;display:flex;font-family:Proxima Nova,sans-serif;font-size:.75rem;font-weight:600;height:20px;justify-content:center;left:15px;position:absolute;z-index:99}.omapi-table .campaign-table-ab .split-button[data-v-abc9c41c]:hover{background-color:#087ce1;border-color:#087ce1;color:#fff;cursor:pointer}.omapi-table .campaign-table-ab .split-button.hidden[data-v-abc9c41c]{display:none}.omapi-table .campaign-table-ab .split-button span[data-v-abc9c41c]{margin-right:2px}.omapi-table .campaign-table-ab .split-button svg[data-v-abc9c41c]{height:12px;width:auto}.omapi-table .campaign-table-status .content[data-v-abc9c41c]{display:flex}.omapi-table .campaign-table-status .scheduled-button[data-v-abc9c41c]{background-color:transparent;border:none;margin-left:2px;padding:0}.omapi-table .campaign-table-actions .omapi-button[data-v-abc9c41c]{display:inline-flex;justify-content:center;align-items:center;margin-right:0;height:36px;width:36px;box-sizing:border-box;padding:0}.omapi-table .campaign-table-actions .action-more .omapi-button[data-v-abc9c41c],.omapi-table .campaign-table-actions .action-trash-campaign .omapi-button[data-v-abc9c41c]{width:33px}.omapi-screen .campaign-table-additional-actions .omapi-button[data-v-abc9c41c]{margin-right:0}.omapi-table th.campaign-table-actions[data-v-abc9c41c]{width:180px}.omapi-table .campaign-table-status-dates{border-collapse:collapse}.omapi-table .campaign-table-status-dates td,.omapi-table .campaign-table-status-dates th{font-weight:400;text-align:left;font-size:13px;color:#fff;padding:0 4px 0 0;white-space:nowrap}.omapi-table .campaign-table-status-dates td:last-child{padding-right:0}.omapi-table .campaign-table-status-dates th{text-align:right}.content .screenshot{margin:20px 0 25px}.content .screenshot .toggles{text-align:center;padding-bottom:20px;font-size:12px;font-weight:600}.content .screenshot .toggles span{display:inline-block}.content .screenshot .toggles span a{text-decoration:none;border:1px solid #c9d0d6;border-right:none;padding:7px 10px;display:block}.content .screenshot .toggles span a.active,.content .screenshot .toggles span a:hover{background-color:#087ce1;color:#fff;border-color:#087ce1;text-decoration:none}.content .screenshot .toggles span:last-child a{border-right:1px solid #c9d0d6;border-top-right-radius:3px;border-bottom-right-radius:3px}.content .screenshot .toggles span:last-child a.active,.content .screenshot .toggles span:last-child a:hover{border-color:#087ce1}.content .screenshot .toggles span:first-child a{border-top-left-radius:3px;border-bottom-left-radius:3px}.content .screenshot .image{text-align:center;margin-bottom:20px;transition:height .3s ease;overflow:hidden;margin:0 auto}.content .screenshot .image img{width:100%;height:auto}.content .screenshot .image .mobile-preview{width:300px;height:644px;margin:0 auto;background:#fff;border-top:50px solid #41495b;border-bottom:50px solid #41495b;border-left:10px solid #41495b;border-right:10px solid #41495b;border-radius:10px;display:flex}.content .screenshot .image .mobile-preview img{display:inherit}.omapi-campaign-settings__status-text{display:flex;justify-content:space-between;align-items:center}.omapi-campaign-settings__status-text svg{margin-left:4px}.omapi-campaign-settings__status .setting-label-text{display:flex;justify-content:space-between;align-items:center}.omapi-campaign-settings__status .setting-label-text a{font-weight:400!important;font-size:.9em}.omapi-campaign-settings__status-alert{font-size:1.5em}@media screen and (max-width:1145px){.omapi-app-campaigns #wpbody-content{overflow-x:scroll!important}.omapi-app-campaigns #wpbody-content .omapi-campaigns-table{min-width:765px}}.omapi-table th.checkbox-cell{width:1px}.omapi-table th.campaign-table-name{width:155px}@media screen and (max-width:1055px){.omapi-table th.campaign-table-name{width:120px}}.omapi-table th.campaign-table-stats{width:76px}.omapi-table th.campaign-table-ab{width:44px}.omapi-table th.campaign-table-status{width:36px}.omapi-table th.campaign-table-actions{width:214px}.omapi-table th.campaign-table-actions span{display:block;text-align:right;padding-right:169px}.omapi-table td.campaign-table-actions{text-align:right}.omapi-table td.campaign-table-actions>span{vertical-align:top}.omapi-table td.campaign-table-actions .omapi-has-tooltip{display:inline-block;margin-right:10px}.omapi-table td.campaign-table-actions .omapi-has-tooltip:last-child{margin-right:0}.omapi-table td.campaign-table-actions .omapi-dropdown__container{text-align:left}.omapi-table tr.child-row tr.child-row td{position:relative}.omapi-table tr.child-row tr.child-row td:before{content:"";background-color:#f1f1f1;width:calc(100% + 20px);top:0;left:0;position:absolute;height:1px}.omapi-table tr.child-row tr.child-row td:last-child:before{width:calc(100% - 13px)}.omapi-table tr.child-row tr.child-row td:first-child:before{display:none}.omapi-table th{color:#23282d}.omapi-table td{color:#6c7781;padding:12px 13px 11px 9px}.omapi-table td .form-checkbox-wrapper{position:relative}.omapi-table .campaign-table-indicators{display:inline-flex;justify-content:flex-start;align-items:center;flex-direction:column;padding:3px 6px 0 0}.omapi-table .campaign-table-row-title a{display:block;font-weight:600;color:#23282d}.omapi-table .campaign-table-row-title a:hover{color:#087ce1;text-decoration:none!important}.omapi-table .campaign-on-fire{color:#fe3b00}.omapi-table .row-actions{font-size:.9em;flex-basis:100%}.omapi-table .campaign-table-name{padding-left:6px}.omapi-table .campaign-table-name-has-indicators{display:flex;flex-wrap:wrap}.omapi-table .campaign-table-name .campaign-table-icon{font-size:14px;padding:0 0 3px 0;max-width:24px;display:flex;align-items:center;justify-content:center;padding:0 0 5px 0}.omapi-table .campaign-table-name .campaign-table-icon.campaign-on-fire{padding-top:2px}.omapi-table .campaign-table-name .campaign-table-icon svg{height:auto;width:100%;height:15px;width:auto}.omapi-table .campaign-table-name .campaign-table-icon div:first-child:not(.popper){max-width:17px}.omapi-table .campaign-table-name .campaign-table-icon div{flex-grow:1}.omapi-table .campaign-table-name .campaign-table-icon.on-fire svg{color:#fe3b00}.omapi-table .campaign-table-name .campaign-table-icon.has-split svg{color:#a0a5aa}.omapi-table .campaign-table-stats ul{margin:0}.omapi-table .campaign-table-stats ul li{margin-bottom:2px}.omapi-table .campaign-table-stats__scheduled:after,.omapi-table .campaign-table-status__scheduled:after{content:url(../img/scheduled.a220f4b7.svg);width:20px;height:20px;padding:3px 14px 3px 3px;vertical-align:text-top}.omapi-table .campaign-table-status-indicators button.omapi-button__link{display:flex;justify-content:flex-start;align-items:center;color:#6c7781;border-bottom:1px solid transparent}.omapi-table .campaign-table-status-indicators button.omapi-button__link .omapi-has-tooltip{display:block;margin-left:3px;height:14px}.omapi-table .campaign-table-status-indicators button.omapi-button__link:hover{color:#087ce1;text-decoration:underline;text-decoration:none!important;border-bottom:1px solid #087ce1}.omapi-table .campaign-table-status-indicators.status-is-scheduled+.omapi-has-tooltip svg{padding:2px 0 0 3px}.omapi-table .campaign-table-status-indicators.status-is-scheduled+.omapi-has-tooltip svg:hover{color:#087ce1}.omapi-table .campaign-table-status-indicators .omapi-has-tooltip .popper{max-width:840px;width:auto;white-space:normal}.omapi-table .omapi-has-tooltip .popper{max-width:200px;white-space:nowrap}.omapi-table td .fancy-checkbox,.omapi-table th .fancy-checkbox{background-color:#c9d0d6}.omapi-campaigns-table table.omapi-table{border:0}.omapi-campaigns-table table.omapi-table thead th{border-color:#ddd;padding-bottom:12px;padding-top:15px}.omapi-campaigns-table table.omapi-table .alternate{background-color:#f7f8fb}.omapi-campaigns-table .stripe-gray{background-color:#f9f9f9}.omapi-campaigns-table-refreshing{opacity:.5}.omapi-campaigns-table-refreshing.omapi-campaigns-table-no-data td{padding-top:34px;padding-bottom:33px}.omapi-campaign-table__mods .bulk-actions{display:flex;justify-content:center;align-items:center;margin-bottom:12px}.omapi-campaign-table__mods .bulk-actions select{max-width:168px;margin-right:5px}.omapi-campaign-table__mods .bulk-actions .omapi-dropdown__container{max-width:168px}.omapi-campaign-table__mods-bottom .bulk-actions{margin-bottom:0}.omapi-screen .omapi-campaign-table__filters .omapi-button{margin-left:6px;margin-right:0}.text-setting-indented{padding-left:26px}.monster-link-modal .buttons{justify-content:flex-end!important}.monster-link-modal .buttons .omapi-button{margin-right:0}.monster-link-modal .omapi-codebox{background-color:transparent;padding:0 0 25px 0}.monster-link-modal .omapi-codebox .omapi-has-tooltip{display:block;width:100%}.monster-link-modal .omapi-codebox__copy{display:flex;width:100%}.monster-link-modal .omapi-codebox__copy span{background-color:#f7f8fb}.monster-link-modal .omapi-codebox__code{flex:1}.omapi-modal.preview-modal .campaign-meta{font-weight:400;text-align:center}.omapi-modal.preview-modal .campaign-meta .campaign-meta__item{font-size:.75rem}.omapi-modal.preview-modal .campaign-meta .campaign-meta__item .campaign-meta__key{color:#6c7781;margin-right:5px}.omapi-modal.preview-modal .campaign-meta .campaign-meta__item .campaign-meta__value{color:#23282d}body .v--modal-overlay.preview-modal .v--modal{border-radius:0}body .v--modal-overlay.preview-modal .v--modal .header{background-color:#f7f8fb!important;color:#23282d!important;text-align:center;display:block!important}body .v--modal-overlay.preview-modal .v--modal .header .close{position:absolute;right:20px;top:0;height:55px;max-height:none!important;color:#6c7781!important}body .v--modal-overlay.preview-modal .v--modal .content .screenshot{margin:0}body .v--modal-overlay.preview-modal .v--modal .content .toggle{border-color:#c9d0d6;color:#555d66;font-size:13px}body .v--modal-overlay.preview-modal .v--modal .content .toggle.active,body .v--modal-overlay.preview-modal .v--modal .content .toggle:active,body .v--modal-overlay.preview-modal .v--modal .content .toggle:focus,body .v--modal-overlay.preview-modal .v--modal .content .toggle:hover{border-color:#087ce1;color:#fff}body .v--modal-overlay.preview-modal .v--modal .footer{font-size:13px;line-height:1.5;padding:0 20px 20px}.omapi-campaign-settings .omapi-rules-list__item .omapi-rules-list__item{display:inline!important}.omapi-campaign-settings .omapi-rules-list__condition>span{font-style:italic;font-weight:600;padding-left:1px}.omapi-rules-list__ruleset[data-v-5c1b6616]{max-width:100%;overflow-wrap:break-word;margin-top:15px}.omapi-rules-list__ruleset-title[data-v-5c1b6616]{font-size:14px;margin:0 0 8px}.omapi-rules-list__ruleset[data-v-5c1b6616]:first-child{margin-top:0}.omapi-rules-list__summary[data-v-5c1b6616]{position:relative}.omapi-rules-list__fadeout[data-v-5c1b6616]{background:linear-gradient(transparent,#fff);bottom:0;display:block;height:50px;left:0;position:absolute;width:100%}.rulesets-loading[data-v-5c1b6616]{margin:0 0 20px}.omapi-screen .omapi-panel__1 .omapi-input__select{display:block;max-width:100%}.omapi-screen .omapi-panel__4-2 .omapi-box__gray[data-v-5451955f]{margin:50px 0 33px}.omapi-screen .omapi-panel__4-2 .omapi-box__gray p[data-v-5451955f]{font-size:14px;margin-bottom:10px}.omapi-screen .omapi-panel__4-2 .omapi-wizard-forward[data-v-5451955f]{border-radius:3px;font-size:16px;margin-top:10px;padding:16px 24px}.omapi-screen .omapi-panel__4-2 a.omapi-wizard-forward-link[data-v-5451955f]{color:#6c7781;font-size:14px;line-height:100%}.omapi-screen .omapi-panel__4 .omapi-wizard-forward[data-v-cac888f6]{border-radius:3px;font-size:16px;margin:0 0 40px;padding:16px 60px}.omapi-screen .omapi-panel__4 .om-circle-loading[data-v-cac888f6]{margin:0 0 20px}.omapi-screen .omapi-panel__4 .omapi-button__large[data-v-cac888f6]{margin-bottom:33px!important}.omapi-screen .omapi-panel__5 .omapi-next-link a[data-v-6ce55f3d]:hover{color:#087ce1;text-decoration:none}.omapi-next-link img[data-v-6ce55f3d]{display:inline-block;margin-right:16px}.omapi-panel__5 .omapi-card-footer[data-v-6ce55f3d]{justify-content:center}@media screen and (max-width:815px){.omapi-panel__5 .omapi-card-footer[data-v-6ce55f3d]{flex-direction:column}}.omapi-panel__5 .omapi-card-footer .omapi-button[data-v-6ce55f3d]{font-size:16px;font-weight:700;margin-right:10px;padding:16px 24px}@media screen and (max-width:815px){.omapi-panel__5 .omapi-card-footer .omapi-button[data-v-6ce55f3d]{margin:0 0 10px}}.omapi-panel__5 .omapi-card-footer .omapi-button[data-v-6ce55f3d]:not(.omapi-button__blue):not(:hover){color:#23282d}.omapi-panel__5 .omapi-card-footer .omapi-button.omapi-button__blue[data-v-6ce55f3d]{margin-right:0}.omapi-next-social-buttons img[data-v-6ce55f3d]{margin-right:5px}.omapi-panel__welcome a.omapi-wizard-forward[data-v-e4c5e6fe]{margin-bottom:20px}.omapi-screen .omapi-settings-general .omapi-button:not(.loading-button)[disabled]{display:flex;justify-content:center;align-items:center;flex-direction:column;opacity:1}.omapi-screen .omapi-settings-general .omapi-button:not(.loading-button)[disabled]>span{color:transparent;height:0}.omapi-screen .omapi-settings-page .omapi-button .om-circle-loading{margin:0}.omapi-screen .omapi-settings-page .omapi-settings-page__woo-connected.omapi-alert{padding:6px 20px 5px;display:inline-flex}.omapi-screen .omapi-settings-page .omapi-settings-page__woo-connected.omapi-alert .alert-message{font-weight:600}.omapi-screen .omapi-settings-page .omapi-has-tooltip .popper{max-width:1000px}.omapi-screen .omapi-settings-page__disconnect.omapi-button{display:inline-flex;justify-content:center;align-items:center}.omapi-screen .omapi-settings-page__disconnect.omapi-button svg{width:10px;height:10px;margin-right:3px}.your-plan{margin:0 0 20px}.row-connect-buttons{align-content:center;align-items:center;display:flex;margin:0 0 20px}@media screen and (max-width:920px){.row-connect-buttons{flex-wrap:wrap;align-items:flex-start;margin-bottom:0}}.row-connect-buttons .omapi-button{margin:0!important}@media screen and (max-width:920px){.row-connect-buttons .omapi-button{margin-bottom:10px!important}}.row-connect-buttons .omapi-settings-page__connected.omapi-alert{padding:6px 20px 5px;margin-right:18px;margin-bottom:0}@media screen and (max-width:920px){.row-connect-buttons .omapi-settings-page__connected.omapi-alert{margin-bottom:10px}}.row-connect-buttons .omapi-settings-page__connected.omapi-alert .alert-message{font-weight:600}.row-connect-buttons .omapi-button.omapi-button__medium{font-size:14px}.row-connect-buttons-or{align-self:center;margin:0 10px}.omapi-settings-page[data-v-3667fe97]{position:relative}.omapi-settings-page .omapi-settings-page__top-save[data-v-3667fe97]{position:absolute;top:12px;right:0;margin-right:0}.omapi-settings-page__not-connected[data-v-ddcdfe92] .omapi-no-connection-title{font-size:24px;margin:0 auto 14px}.omapi-settings-page__not-connected[data-v-ddcdfe92] .omapi-no-connection-title:before{content:"";display:block;height:32px;padding:0 0 8px 0;vertical-align:text-top;background:url(../img/red-alert-circle.32339230.svg) top no-repeat;background-size:32px}.omapi-settings-page__not-connected[data-v-ddcdfe92] .omapi-no-connection-subtitle{max-width:560px;margin:0 auto 24px;font-size:16px}.omapi-settings-page[data-v-560460ae]{position:relative}.omapi-settings-page .omapi-settings-page__top-save[data-v-560460ae]{position:absolute;top:12px;right:0;margin-right:0}#omapi-affiliate-link-position{border-color:#c9d0d6}.omapi-analytics-settings__options-ga>label{display:block;margin-bottom:10px}.omapi-analytics-settings__options-ga-more{display:block;margin-top:10px}.omapi-analytics-settings__options-ga-selects{display:flex;flex-wrap:wrap;justify-content:space-between}.omapi-analytics-settings__options-ga-selects>div{flex-basis:calc(50% - 9px);width:calc(50% - 9px)}.omapi-horizontal-label{display:flex;align-items:center;margin:5px 0}.omapi-horizontal-label .omapi-horizontal-label{margin:0}.omapi-horizontal-label .omapi-toggle{margin-right:20px}.omapi-horizontal-label [type=number]{width:75px!important;margin:0 0 0 2px!important}.omapi-integration-settings__defaults{position:relative}.omapi-integration-settings__defaults:before{content:"";width:100%;height:100px;position:absolute;top:-25px;left:90px}.omapi-screen #wpcontent{padding:0 0 40px}.omapi-screen .wp-heading-inline{display:inline}.omapi-screen a{text-decoration:none;color:#087ce1}.omapi-screen a:not(.omapi-button):not(.omapi-link-title):hover{text-decoration:underline}.omapi-screen a.omapi-link-title{color:#23282d}.omapi-screen a.omapi-link-title:hover{color:#087ce1}.omapi-screen a:focus{box-shadow:none;outline:none}.omapi-screen p{margin:0 0 20px;font-size:16px;line-height:150%;color:#646970}.omapi-screen p.focus{font-size:18px;line-height:140%}.omapi-screen h1,.omapi-screen h2,.omapi-screen h3,.omapi-screen h4,.omapi-screen h5,.omapi-screen h6,.omapi-screen p.focus{font-weight:600;color:#23282d}.omapi-screen caption{display:block;font-size:14px;line-height:150%;color:#6c7781}.omapi-screen .omapi-flex{display:flex}.omapi-screen .omapi-flex-row{flex-direction:row}@media screen and (max-width:1080px){.omapi-screen .omapi-flex-row__1080{flex-direction:column}}.omapi-screen .omapi-flex-col{flex-direction:column}.omapi-screen .omapi-flex-wrap{flex-wrap:wrap}.omapi-screen .omapi-flex-child{flex:1 1;margin-left:20px}.omapi-screen .omapi-flex-child:first-child{margin-left:0}.omapi-screen .omapi-c-green{color:#46b450}.omapi-screen .omapi-c-red{color:#dc3232}.omapi-screen .omapi-c-orange{color:#f56e28}.omapi-screen .omapi-alert{border-radius:3px;padding:15px 20px;border:1px solid;margin-bottom:16px;display:flex;align-items:center;position:relative}.omapi-screen .omapi-alert.omapi-red{background-color:#fdf3f2;border-color:#dc3232}.omapi-screen .omapi-alert.omapi-blue{background-color:#f2f7fd;border-color:#087ce1}.omapi-screen .omapi-alert.omapi-orange{background-color:#fef8f2;border-color:#f56e28}.omapi-screen .omapi-alert.omapi-green{background-color:#fafffa;border-color:#46b450}.omapi-screen .omapi-alert .omapi-alert__primary{font-weight:600}.omapi-screen .omapi-alert.can-close{padding-right:40px}.omapi-screen .omapi-alert .close-alert{width:11px;position:absolute;right:15px;top:15px;color:inherit;height:11px;cursor:pointer;display:flex;justify-content:center;align-items:center;padding:10px;border:0}.omapi-screen .omapi-alert .close-alert:before{content:url(../img/nav-close.e87b7933.svg)}.omapi-screen .omapi-button{border-radius:3px;background-color:#fafafb;color:#555d66;border:1px solid #c9d0d6;text-decoration:none;margin-right:10px;display:inline-block}.omapi-screen .omapi-button[disabled]{opacity:.5}.omapi-screen .omapi-button[disabled]:hover{background-color:#fafafb;color:#555d66;border-color:#c9d0d6;cursor:default}.omapi-screen .omapi-button:not(.nohover):hover{background-color:#087ce1;border-color:#087ce1;color:#fff}.omapi-screen .omapi-button:not(.nohover):hover svg path{fill:#fff}.omapi-screen .omapi-button:hover{cursor:pointer}.omapi-screen .omapi-button.omapi-button__primary{font-weight:600}.omapi-screen .omapi-button.omapi-button__green{background-color:#46b450;border-color:#46b450;color:#fff}.omapi-screen .omapi-button.omapi-button__green:not(.nohover):hover{background-color:#3fa548;border-color:#3fa548}.omapi-screen .omapi-button.omapi-button__blue{background-color:#087ce1;border-color:#087ce1;color:#fff}.omapi-screen .omapi-button.omapi-button__blue:not(.nohover):hover{background-color:#096bc1;border-color:#096bc1}.omapi-screen .omapi-button.omapi-button__white{background-color:#fff;color:#6c7781}.omapi-screen .omapi-button.omapi-button__white:not(.nohover):hover{background-color:#087ce1;color:#fff}.omapi-screen .omapi-button.omapi-button__transparent{background-color:transparent;color:#fff}.omapi-screen .omapi-button.omapi-button__transparent:not(.nohover):hover{background-color:rgba(0,0,0,.05);color:#fff;border-color:#fff}.omapi-screen .omapi-button.omapi-button__icon{font-size:14px;padding:8px 10px}.omapi-screen .omapi-button.omapi-button__small{font-size:13px;padding:7px 10px}.omapi-screen .omapi-button.omapi-button__medium{font-size:13px;padding:10.5px 10px}.omapi-screen .omapi-button.omapi-button__large{font-size:14px;padding:8px 14px}.omapi-screen .omapi-button.omapi-button__xlarge{font-size:16px;padding:16px 24px}.omapi-screen .omapi-button.omapi-button__monster{font-size:22px;padding:16px 56px;line-height:150%}.omapi-screen .omapi-button.omapi-link-arrow-after:after{font-size:inherit;margin-left:10px}.omapi-screen button.omapi-button__link{background-color:transparent;border:0;color:#087ce1;display:inline-block;margin:0;padding:0}.omapi-screen button.omapi-button__link:not(.nohover):hover{text-decoration:underline}.omapi-screen button.omapi-button__link:hover{cursor:pointer}.omapi-screen .omapi-multi-column__vert{flex-direction:column}.omapi-screen .omapi-multi-column__primary{flex-grow:1;flex-shrink:1}.omapi-screen .omapi-multi-column__title{color:#23282d;font-size:15px;line-height:21px;margin-bottom:7px}.omapi-screen .omapi-multi-column__text{color:#646970;font-size:13px;line-height:20px;margin-bottom:15px}.omapi-screen .omapi-multi-column__meta{display:flex}.omapi-screen .omapi-multi-column__meta li{margin-bottom:0;margin-right:25px}.omapi-screen .omapi-multi-column__meta-attr{color:#6c7781}.omapi-screen .omapi-multi-column__meta-value{color:#23282d}.omapi-screen .omapi-action:not(.no-icon):before{content:url(../img/red-alert-circle.32339230.svg);width:20px;height:20px;padding:3px 14px 3px 3px;vertical-align:text-top}.omapi-screen .omapi-info:not(.no-icon):before{content:url(../img/blue-information-circle.ec9999c2.svg);width:20px;height:20px;padding:3px 14px 3px 3px;vertical-align:text-top}.omapi-screen .omapi-warning:not(.no-icon):before{content:url(../img/orange-warning-circle.80e71989.svg);width:20px;height:20px;padding:3px 14px 3px 3px;vertical-align:text-top}.omapi-screen .omapi-success:before{content:url(../img/green-success-circle.52fe5261.svg);width:20px;height:20px;padding:3px 14px 3px 3px;vertical-align:text-top}.omapi-screen .omapi-success.inverted:before{content:url(../img/green-success.1c5055ee.svg)}.omapi-screen .omapi-success.large:before{content:url(../img/green-success-circle-lg.931544d8.svg);width:25px;height:25px}.omapi-screen .omapi-redx:before{content:url(../img/redx.66010999.svg);width:20px;height:20px;padding:3px 14px 3px 3px;vertical-align:text-top}.omapi-screen .omapi-redx.hollow:before{content:url(../img/redx-hollow.8bb523f4.svg)}.omapi-screen .omapi-rocket:before{content:url(../img/rocket.8cca24c0.svg);width:20px;height:20px;padding:3px 8px 3px 3px}.omapi-screen .omapi-rocket.rocket-blue:before{content:url(../img/rocket-blue.c44bdac0.svg)}.omapi-screen .omapi-book:before{content:url(../img/book-blue.27983dbf.svg);width:20px;height:20px;padding:3px 14px 3px 3px}.omapi-screen .omapi-document:before{content:url(../img/document.37d72e1e.svg)}.omapi-screen .omapi-document:before,.omapi-screen .omapi-help:before{width:20px;height:20px;padding:3px 14px 3px 3px}.omapi-screen .omapi-help:before{content:url(../img/blue-help.6529ddbb.svg);width:24px;height:25px}.omapi-screen .omapi-help.help-white:before{content:url(../img/help-white.9e074197.svg)}.omapi-screen .omapi-help.help-white.inverted:before,.omapi-screen .omapi-help.help-white:hover:before{content:url(../img/help-white-solid.496b8099.svg)}.omapi-screen .omapi-university:before{content:url(../img/university.a5ee6b23.svg);width:20px;height:20px;padding:3px 14px 3px 3px}.omapi-screen .omapi-icon-wrapper__left{padding-right:30px}.omapi-screen .omapi-icon-wrapper__right{padding-left:30px}.omapi-screen .omapi-icon-wrapper img{max-width:100px}.omapi-screen .omapi-input-wrap-column{margin-bottom:24px}.omapi-screen .omapi-input-wrap:last-child{margin-bottom:0}.omapi-screen .omapi-input-wrap label{color:#23282d;font-weight:600}.omapi-screen .omapi-input-wrap .omapi-input-description{color:#646970;line-height:1;margin:10px 0 15px}.omapi-screen .omapi-input{margin:12px 0 20px}.omapi-screen .omapi-input[type=number],.omapi-screen .omapi-input[type=password],.omapi-screen .omapi-input[type=search],.omapi-screen .omapi-input[type=text],.omapi-screen .omapi-input[type=url]{border:1px solid #c9d0d6;border-radius:3px;color:#646970;font-size:14px;line-height:2.5;padding:0 6px 0 10px;width:100%}.omapi-screen .omapi-input[type=number].omapi-input__inline,.omapi-screen .omapi-input[type=password].omapi-input__inline,.omapi-screen .omapi-input[type=search].omapi-input__inline,.omapi-screen .omapi-input[type=text].omapi-input__inline,.omapi-screen .omapi-input[type=url].omapi-input__inline{flex-grow:0;flex-shrink:0;flex-basis:48px;margin:0 10px 6px}.omapi-screen .omapi-input[type=number] ::-webkit-input-placeholder,.omapi-screen .omapi-input[type=password] ::-webkit-input-placeholder,.omapi-screen .omapi-input[type=search] ::-webkit-input-placeholder,.omapi-screen .omapi-input[type=text] ::-webkit-input-placeholder,.omapi-screen .omapi-input[type=url] ::-webkit-input-placeholder{color:rgba(100,105,112,.5)}.omapi-screen .omapi-input[type=number] ::-moz-placeholder,.omapi-screen .omapi-input[type=password] ::-moz-placeholder,.omapi-screen .omapi-input[type=search] ::-moz-placeholder,.omapi-screen .omapi-input[type=text] ::-moz-placeholder,.omapi-screen .omapi-input[type=url] ::-moz-placeholder{color:rgba(100,105,112,.5)}.omapi-screen .omapi-input[type=number] :-ms-input-placeholder,.omapi-screen .omapi-input[type=password] :-ms-input-placeholder,.omapi-screen .omapi-input[type=search] :-ms-input-placeholder,.omapi-screen .omapi-input[type=text] :-ms-input-placeholder,.omapi-screen .omapi-input[type=url] :-ms-input-placeholder{color:rgba(100,105,112,.5)}.omapi-screen .omapi-input[type=number] ::-ms-input-placeholder,.omapi-screen .omapi-input[type=password] ::-ms-input-placeholder,.omapi-screen .omapi-input[type=search] ::-ms-input-placeholder,.omapi-screen .omapi-input[type=text] ::-ms-input-placeholder,.omapi-screen .omapi-input[type=url] ::-ms-input-placeholder{color:rgba(100,105,112,.5)}.omapi-screen .omapi-input[type=number] ::placeholder,.omapi-screen .omapi-input[type=password] ::placeholder,.omapi-screen .omapi-input[type=search] ::placeholder,.omapi-screen .omapi-input[type=text] ::placeholder,.omapi-screen .omapi-input[type=url] ::placeholder{color:rgba(100,105,112,.5)}.omapi-screen .omapi-input[type=number]{padding:0 0 0 10px}.omapi-screen .omapi-checkbox{align-items:center;display:flex;font-size:14px;position:relative;margin-bottom:15px}.omapi-screen .omapi-checkbox [type=checkbox]{opacity:0;pointer-events:none;position:absolute}.omapi-screen .omapi-checkbox [type=checkbox]:disabled{opacity:0}.omapi-screen .omapi-checkbox-group{display:flex;flex-direction:column}.omapi-screen .omapi-checkbox__input{background:#fff;border:1px solid #c9d0d6;border-radius:4px;display:inline-block;height:16px;line-height:1;margin-right:10px;width:16px;min-width:16px}.omapi-screen .omapi-checkbox :checked+.omapi-checkbox__input{align-items:center;background:#087ce1;background-image:url(../img/white-checkmark.0c4d10d4.svg);background-size:10px;background-repeat:no-repeat;background-position:50%;border-color:#087ce1;display:flex;justify-content:center}.omapi-screen .omapi-checkbox :focus+.omapi-checkbox__input{outline:1px auto -webkit-focus-ring-color}.omapi-screen .omapi-checkbox__helper{color:#646970}.omapi-screen .omapi-checkbox__helper:before{content:"-";margin-left:.25rem}.omapi-screen .el-date-editor.el-input__inner{width:235px;min-height:31px;padding:0 10px;height:31px;margin:0 10px;border:1px solid #c9d0d6;border-radius:3px}.omapi-screen .el-date-editor.el-input__inner>*{color:#555d66;font-weight:400;font-size:13px;line-height:31px}.omapi-screen .el-date-editor.el-input__inner .el-input__icon.el-range__close-icon{display:none}.omapi-screen .el-date-editor.el-input__inner .el-range-separator{padding:0}.omapi-screen .el-picker-panel{z-index:999999!important}.omapi-screen .el-picker-panel__body th{color:#23282d}.omapi-screen .el-picker-panel__sidebar{width:154px}.omapi-screen .el-picker-panel__sidebar+.el-picker-panel__body{margin-left:154px}.omapi-screen .el-picker-panel .el-date-range-picker__header{color:#23282d}.omapi-screen .el-picker-panel .el-date-table td.today:not(.end-date) span{color:#23282d;background-color:#f7f8fb;border-radius:50%}.omapi-screen .el-picker-panel .el-date-table td.disabled span{color:#646970;opacity:.5}.omapi-screen .omapi-radio{align-items:center;display:flex;font-size:14px;line-height:2;position:relative}.omapi-screen .omapi-radio [type=radio]{opacity:0;pointer-events:none;position:absolute}.omapi-screen .omapi-radio-group{display:flex;flex-direction:column}.omapi-screen .omapi-radio-group__indent{color:#646970;padding:0 0 0 26px}.omapi-screen .omapi-radio-group__with-inputs .omapi-screen .omapi-radio{padding-bottom:10px}.omapi-screen .omapi-radio-group__with-inputs .omapi-screen .omapi-radio input{border-color:#c9d0d6;border-radius:3px;color:#646970;margin:0 10px;width:auto}.omapi-screen .omapi-radio-group__with-inputs .omapi-screen .omapi-radio input::-webkit-input-placeholder{color:rgba(100,105,112,.5)}.omapi-screen .omapi-radio-group__with-inputs .omapi-screen .omapi-radio input::-moz-placeholder{color:rgba(100,105,112,.5)}.omapi-screen .omapi-radio-group__with-inputs .omapi-screen .omapi-radio input:-ms-input-placeholder{color:rgba(100,105,112,.5)}.omapi-screen .omapi-radio-group__with-inputs .omapi-screen .omapi-radio input::-ms-input-placeholder{color:rgba(100,105,112,.5)}.omapi-screen .omapi-radio-group__with-inputs .omapi-screen .omapi-radio input::placeholder{color:rgba(100,105,112,.5)}.omapi-screen .omapi-radio__input{background:#fff;border:1px solid #c9d0d6;border-radius:50%;display:inline-block;height:16px;line-height:1;margin-right:10px;width:16px;min-width:16px}.omapi-screen .omapi-radio :checked+.omapi-radio__input{align-content:center;border-color:#087ce1;display:flex;justify-content:center}.omapi-screen .omapi-radio :checked+.omapi-radio__input:after{background:#087ce1;border:1px solid #fff;border-radius:50%;content:"";display:inline-block;height:14px;padding:0;width:14px}.omapi-screen .omapi-radio :focus+.omapi-radio__input{outline:1px auto -webkit-focus-ring-color}.omapi-screen .omapi-radio__helper{color:#646970}.omapi-screen .omapi-radio__helper:before{content:"-";margin-left:.25rem}.omapi-screen .omapi-dropdown{display:inline-block;position:relative}.omapi-screen .omapi-dropdown__button .omapi-button{margin-right:0}.omapi-screen .omapi-dropdown__container{background-color:#fff;border:1px solid #c9d0d6;border-radius:3px;box-shadow:0 3px 2px rgba(0,0,0,.05);display:block;position:absolute;margin-top:3px;z-index:9998;max-width:350px}.omapi-screen .omapi-dropdown__container ul{margin:0}.omapi-screen .omapi-dropdown__container ul li{margin:0;line-height:130%}.omapi-screen .omapi-dropdown__container ul li a{display:block;padding:7px 11px 8px}.omapi-screen .omapi-dropdown__container ul li:hover{background-color:#f2f7fd}.omapi-screen .omapi-dropdown__container ul li:hover a,.omapi-screen .omapi-dropdown__container ul li:hover a:hover{color:#087ce1;text-decoration:none}.omapi-screen .omapi-dropdown__container ul li a,.omapi-screen .omapi-dropdown__container ul li a:active,.omapi-screen .omapi-dropdown__container ul li a:visited{color:#555d66}.omapi-screen .omapi-dropdown__container ul li a.current,.omapi-screen .omapi-dropdown__container ul li a:active.current,.omapi-screen .omapi-dropdown__container ul li a:visited.current{color:#087ce1}.omapi-screen .omapi-dropdown__select{max-width:350px;width:100%}.omapi-screen .omapi-dropdown__select .omapi-dropdown__toggle{width:100%;display:flex;justify-content:space-between;color:#555d66;line-height:130%;padding-bottom:6px}.omapi-screen .omapi-dropdown__select .omapi-dropdown__toggle:after{content:url(../img/expand-more.9be22a9c.svg);transform:rotate(180deg);transition:transform .5s}.omapi-screen .omapi-input__select{border-color:#c9d0d6;border-radius:3px;color:#646970;font-size:14px;line-height:2.5;margin:0;max-width:350px;min-height:0;width:100%}.omapi-screen .omapi-input__select ::-webkit-input-placeholder{color:rgba(100,105,112,.5)}.omapi-screen .omapi-input__select ::-moz-placeholder{color:rgba(100,105,112,.5)}.omapi-screen .omapi-input__select :-ms-input-placeholder{color:rgba(100,105,112,.5)}.omapi-screen .omapi-input__select ::-ms-input-placeholder{color:rgba(100,105,112,.5)}.omapi-screen .omapi-input__select ::placeholder{color:rgba(100,105,112,.5)}.omapi-screen .omapi-input__select:focus{border-color:#c9d0d6;color:#646970}.omapi-screen .omapi-input__multiselect .multiselect{background-color:#fff;z-index:1}.omapi-screen .omapi-input__multiselect .multiselect:focus{box-shadow:none!important}.omapi-screen .omapi-input__multiselect .multiselect--active,.omapi-screen .omapi-input__multiselect .multiselect--disabled{z-index:55}.omapi-screen .omapi-input__multiselect .multiselect--active .multiselect__tags,.omapi-screen .omapi-input__multiselect .multiselect--disabled .multiselect__tags{border:1px solid #c9d0d6}.omapi-screen .omapi-input__multiselect .multiselect--active .multiselect__tags-wrap,.omapi-screen .omapi-input__multiselect .multiselect--disabled .multiselect__tags-wrap{border-bottom:1px solid #c9d0d6}.omapi-screen .omapi-input__multiselect .multiselect--active.multiselect__has-value .multiselect__tags:after{top:52px;right:15px}.omapi-screen .omapi-input__multiselect .multiselect--active .multiselect__tags:after{content:url(../img/search.e7c97515.svg);position:absolute;top:11px;right:35px}.omapi-screen .omapi-input__multiselect .multiselect--active .multiselect__select{transform:rotate(0deg)}.omapi-screen .omapi-input__multiselect .multiselect--active .multiselect__select:before{top:2px}.omapi-screen .omapi-input__multiselect .multiselect__help{font-size:13px;line-height:130%;color:#c9d0d6;font-weight:400;padding:9px 10px;border-bottom:1px solid #c9d0d6}.omapi-screen .omapi-input__multiselect .multiselect__placeholder{display:block;color:#646970;padding-top:4px;padding-left:10px;padding-right:32px;margin:5px 0 10px}.omapi-screen .omapi-input__multiselect .multiselect__tags{min-height:37px;padding:0;cursor:pointer;border:1px solid #c9d0d6;background-color:#fff;border-radius:3px}.omapi-screen .omapi-input__multiselect .multiselect__tags-wrap{padding:6px 6px 4px;display:block}.omapi-screen .omapi-input__multiselect .multiselect__tags input[type=text]{border-radius:0;margin:0;padding:9px 10px;border-radius:3px}.omapi-screen .omapi-input__multiselect .multiselect__tags input[type=text]::-webkit-input-placeholder{font-size:13px;line-height:130%;color:#c9d0d6}.omapi-screen .omapi-input__multiselect .multiselect__tags input[type=text]::-moz-placeholder{font-size:13px;line-height:130%;color:#c9d0d6}.omapi-screen .omapi-input__multiselect .multiselect__tags input[type=text]:-ms-input-placeholder{font-size:13px;line-height:130%;color:#c9d0d6}.omapi-screen .omapi-input__multiselect .multiselect__tags input[type=text]::-ms-input-placeholder{font-size:13px;line-height:130%;color:#c9d0d6}.omapi-screen .omapi-input__multiselect .multiselect__tags input[type=text]::placeholder{font-size:13px;line-height:130%;color:#c9d0d6}.omapi-screen .omapi-input__multiselect .multiselect__tag{background:#f0f2f4;color:#555d66;border-radius:3px;font-weight:600;padding:6px 24px 6px 6px;margin-bottom:0;max-width:320px}.omapi-screen .omapi-input__multiselect .multiselect__tag-icon{line-height:25px;width:18px;transition:none;margin-right:4px}.omapi-screen .omapi-input__multiselect .multiselect__tag-icon:after{color:#555d66}.omapi-screen .omapi-input__multiselect .multiselect__tag .remove-tag{position:absolute;right:0;top:0;display:flex;align-items:center;justify-content:center;width:30px;height:26px}.omapi-screen .omapi-input__multiselect .multiselect__tag .remove-tag svg{width:10px;height:10px;position:static}.omapi-screen .omapi-input__multiselect .multiselect__tag:hover,.omapi-screen .omapi-input__multiselect .multiselect__tag:hover i:after,.omapi-screen .omapi-input__multiselect .multiselect__tag:hover i:hover{background-color:#dc3232;color:#fff}.omapi-screen .omapi-input__multiselect .multiselect__single{padding:0 0 0 12px;margin-bottom:0;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;min-height:38px;max-width:calc(100% - 60px)}.omapi-screen .omapi-input__multiselect .multiselect__content>li{font-size:13px;color:#555d66;line-height:130%;margin-bottom:0}.omapi-screen .omapi-input__multiselect .multiselect__content>li:hover .multiselect__option{overflow:initial}.omapi-screen .omapi-input__multiselect .multiselect__nooptions .multiselect__option{cursor:default}.omapi-screen .omapi-input__multiselect .multiselect__option{padding:16px 12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block}.omapi-screen .omapi-input__multiselect .multiselect__option--selected{font-weight:600;background:#dce9fa}.omapi-screen .omapi-input__multiselect .multiselect__option--selected span{color:#087ce1}.omapi-screen .omapi-input__multiselect .multiselect__option--highlight.multiselect__option{background:#f2f7fd}.omapi-screen .omapi-input__multiselect .multiselect__option--highlight.multiselect__option span{color:#087ce1}.omapi-screen .omapi-input__multiselect .multiselect__option--highlight.multiselect__option.multiselect__option--selected:after{content:url(../img/card-close.4249544e.svg);padding-left:10px;bottom:0;line-height:50px;text-align:center;background-color:#f2f7fd}.omapi-screen .omapi-input__multiselect .multiselect__select{background:none;height:42px;transform:rotate(180deg);z-index:99;padding:8px 8px;top:0}.omapi-screen .omapi-input__multiselect .multiselect__select:before{border:none;top:3px;content:url(../img/expand-more.9be22a9c.svg)}.omapi-screen .omapi-input__multiselect .multiselect__input[type=text]{border:none;padding:3px 0 0;box-shadow:none!important;line-height:1.4em;font-size:14px}.omapi-screen .omapi-input__multiselect .multiselect__content-wrapper{border:1px solid #c9d0d6;border-top:none;z-index:999}.omapi-screen .omapi-input__multiselect .multiselect__content{max-width:100%}.omapi-screen .omapi-input__multiselect .multiselect .omapi-input__multiselect-close-all{position:absolute;right:40px;z-index:999;cursor:pointer;height:42px}.omapi-screen .omapi-input__multiselect .multiselect .omapi-input__multiselect-close-all img{padding:15px 0}.omapi-screen .omapi-input__multiselect .multiselect__spinner{margin-right:25px}.omapi-screen .omapi-input__multiselect .multiselect__spinner:after,.omapi-screen .omapi-input__multiselect .multiselect__spinner:before{border-top-color:#087ce1}.omapi-screen .omapi-input__multiselect .multiselect__is-loading.multiselect__has-value .multiselect__spinner{margin-right:52px;z-index:1}.omapi-screen .omapi-toggle{display:flex;position:relative}.omapi-screen .omapi-toggle [type=checkbox]{opacity:0;pointer-events:none;position:absolute}.omapi-screen .omapi-toggle__button{background:#f7f8fb;color:#23282d;cursor:pointer;font-size:14px;font-weight:600;line-height:1;padding:11px 20px}.omapi-screen .omapi-toggle__button:first-of-type{border-top-left-radius:4px;border-bottom-left-radius:4px}.omapi-screen .omapi-toggle__button:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px}.omapi-screen .omapi-toggle input:checked+.omapi-toggle__button+.omapi-toggle__button,.omapi-screen .omapi-toggle input:not(:checked)+.omapi-toggle__button{background:#087ce1;color:#fff;cursor:default}.omapi-screen .omapi-toggle input[disabled]+.omapi-toggle__button,.omapi-screen .omapi-toggle input[disabled]+.omapi-toggle__button+.omapi-toggle__button{opacity:.5}.omapi-screen .omapi-link-arrow-after{margin-right:1em;padding-right:7px;position:relative}.omapi-screen .omapi-link-arrow-after:after{content:"\2192";font-family:FontAwesome;font-size:13px;margin-left:2px}.omapi-screen .omapi-link-arrow-before{margin-left:1em;padding-left:7px;position:relative}.omapi-screen .omapi-link-arrow-before:before{content:"\2190";font-family:FontAwesome;font-size:13px;position:absolute;right:100%;top:0}.omapi-screen a.omapi-link-green{color:#46b450}.omapi-screen a.omapi-link-underline{text-decoration:underline}.omapi-screen .omapi-list{display:flex;flex-wrap:wrap;list-style:none}.omapi-screen .omapi-list__item{width:100%}.omapi-screen .omapi-list__twocol .omapi-list__item{width:50%}.omapi-screen .omapi-list__threecol .omapi-list__item{width:33%}.omapi-screen .omapi-list__fourcol .omapi-list__item{width:25%}.omapi-screen .omapi-detailed-list{margin:0}.omapi-screen .omapi-detailed-list>li{display:flex;padding-bottom:23px;border-bottom:1px solid #f1f1f1;margin-bottom:25px;justify-content:space-between}.omapi-screen .omapi-detailed-list>li:last-child{margin-bottom:0}.omapi-screen .omapi-modal__static{background-color:#fff;max-width:688px;width:100%;box-shadow:0 20px 60px -2px rgba(27,33,58,.4);padding:40px 100px;position:fixed;left:50%;transform:translateX(-50%);margin:80px 0 0 80px}@media screen and (max-width:1050px){.omapi-screen .omapi-modal__static{max-width:433px;margin-top:50px}}@media screen and (max-width:960px){.omapi-screen .omapi-modal__static{margin:30px 0 0 18px}}@media screen and (max-width:782px){.omapi-screen .omapi-modal__static{margin-left:0}}.omapi-screen .omapi-modal .content .alert{margin-bottom:20px}.omapi-screen .omapi-modal .content p{color:inherit;font-size:16px;font-weight:300;line-height:1.5;margin:0 0 1.5em}.omapi-screen .omapi-modal .content .buttons{display:flex;justify-content:space-between;padding:0}.omapi-screen .omapi-modal .content .buttons .omapi-button:last-of-type{margin-right:0}.omapi-screen .omapi-modal .footer{padding:10px}.omapi-screen .omapi-modal .omapi-modal-form .omapi-modal-form__section{display:flex;justify-content:space-between}.omapi-screen .omapi-modal .omapi-modal-form label:not(.form-toggle){font-weight:700;flex:0 1 25%;line-height:37px;margin-bottom:20px}.omapi-screen .omapi-modal .omapi-modal-form label.form-toggle{margin-bottom:23px;flex:0 1 75%;align-self:center}.omapi-screen .omapi-modal .omapi-modal-form label.form-toggle .toggle-switch{max-width:21px;margin-left:5px}.omapi-screen .omapi-modal .omapi-modal-form label.form-toggle:focus{box-shadow:none}.omapi-screen .omapi-modal .omapi-modal-form .input-select,.omapi-screen .omapi-modal .omapi-modal-form .omapi-input__multiselect,.omapi-screen .omapi-modal .omapi-modal-form .omapi-toggle,.omapi-screen .omapi-modal .omapi-modal-form input,.omapi-screen .omapi-modal .omapi-modal-form select,.omapi-screen .omapi-modal .omapi-modal-form textarea{margin-bottom:20px;flex:0 1 73%}.omapi-screen .omapi-modal .omapi-modal-form select{max-width:9999em}.omapi-screen .omapi-modal .omapi-modal-form textarea{min-height:150px}.omapi-screen .v--modal-overlay{color:inherit;font-size:16px;font-weight:300;line-height:1.5;z-index:9999}.omapi-screen .omapi-pagination{align-items:center;display:flex;margin-top:17px;color:#23282d}.omapi-screen .omapi-pagination__total{margin-right:7.5px}.omapi-screen .omapi-pagination__button{align-items:center;background:#fff;border-radius:4px;color:#23282d;display:flex;justify-content:center;margin-left:5px;margin-right:0;padding:6px 11px!important;min-height:30px}.omapi-screen .omapi-pagination__button:active,.omapi-screen .omapi-pagination__button:focus,.omapi-screen .omapi-pagination__button:hover{background:#087ce1;border-color:#087ce1;color:#fff}.omapi-screen .omapi-pagination__button[disabled]{background:transparent;color:#a0a5aa;cursor:default;pointer-events:none;opacity:1}.omapi-screen .omapi-pagination__button-symbol{font-size:16px}.omapi-screen .omapi-pagination__text{margin-left:5px;margin-right:0}.omapi-screen .omapi-pagination__input{background:#fff;border-radius:4px;color:#23282d;margin-left:5px;margin-right:0;padding-top:2px;padding-bottom:2px;width:30px;height:30px;font-size:13px;text-align:center}.omapi-screen .omapi-pagination__style-2 .omapi-pagination__button{border-radius:2px;border:1px solid #f1f1f1}.omapi-screen .omapi-pagination__style-2 .omapi-pagination__button:active,.omapi-screen .omapi-pagination__style-2 .omapi-pagination__button:focus,.omapi-screen .omapi-pagination__style-2 .omapi-pagination__button:hover{background:#fafafb;border-color:#6c7781;color:#23282d}.omapi-screen .omapi-pagination__style-2 .omapi-pagination__button-inactive{background:#f0f2f4;color:#23282d}.omapi-screen .omapi-plugin-banner{background-color:#087ce1;display:flex;align-items:center;height:74px}.omapi-screen .omapi-plugin-banner__wrapper{padding:22px 40px;display:flex;justify-content:space-between;align-items:center;width:100%}.omapi-screen .omapi-plugin-banner__logo{display:flex;align-items:flex-end;color:#fff}.omapi-screen .omapi-plugin-banner__logo img{width:164px;margin-right:13px}.omapi-screen .omapi-plugin-banner__page{font-size:18px;line-height:130%}.omapi-screen .omapi-plugin-banner__icons{display:flex;margin:0}.omapi-screen .omapi-plugin-banner__icons>li{margin:0}.omapi-screen .omapi-plugin-banner__icons>li>a,.omapi-screen .omapi-plugin-banner__icons>li>button{color:#fff}.omapi-screen .omapi-plugin-banner__icon{margin:0 0 0 20px;cursor:pointer}.omapi-screen .omapi-tabnav{display:flex;border-bottom:2px solid #e8e8eb;margin-bottom:25px}.omapi-screen .omapi-tabnav__item{display:flex;align-items:center;justify-content:center;height:60px;font-size:15px;color:#6c7781;padding:0 18px;cursor:pointer}.omapi-screen .omapi-tabnav__item-active{font-weight:600;color:#23282d;border-bottom:2px solid #087ce1;margin-bottom:-2px}.omapi-screen .omapi-has-tooltip:not(.omapi-has-tooltip__no-icon)>:last-child:after{content:url(../img/grey-help-circle.23fd784e.svg);color:#c9d0d6;vertical-align:middle;padding:1px 5px}.omapi-screen .omapi-has-tooltip .popper{background-color:#23282d;border-color:#23282d;border-radius:2px;max-width:200px;padding:6px 12px;color:#fff;text-align:center;box-shadow:none;font-size:13px;font-weight:300}.omapi-screen .omapi-has-tooltip .popper .popper__arrow{border-color:#23282d transparent transparent transparent;border-width:6px;bottom:-13px}.omapi-screen .omapi-has-tooltip.omapi-has-tooltip__no-arrow .popper .popper__arrow{display:none}.omapi-screen .omapi-action-box{background-color:#f7f8fb;color:#646970;padding:20px}.omapi-screen .omapi-action-box header{color:#23282d;font-size:16px;font-weight:600;margin-bottom:10px}.omapi-screen .text-black{color:#23282d}.omapi-screen .text-white{color:#fff}.omapi-screen .text-dark{color:#555d66}.omapi-screen .text-setting{color:#646970}.omapi-screen .text-secondary{color:#6c7781}.omapi-screen .bg-white-background{background-color:#fafafb}.omapi-screen .bg-white-button{background-color:#f7f8fb}.omapi-screen .bg-grey-cloud{background-color:#e8e8eb}.omapi-screen .upper{text-transform:uppercase}.omapi-screen .capital{text-transform:capitalize}.omapi-screen .font-bold{font-weight:600}.omapi-screen .stars{color:#ffd10e}.omapi-screen .inline{display:inline}.omapi-screen .block{display:block}.omapi-screen .flex{display:flex}.omapi-screen .omapi-text-center{text-align:center}.omapi-screen .omapi-mb-20{margin-bottom:20px}.omapi-screen .fade-enter-active,.omapi-screen .fade-leave-active{transition:opacity .2s}.omapi-screen .fade-enter,.omapi-screen .fade-leave-to{opacity:0}
vue/dist/css/dashboard.bae8db65.css ADDED
@@ -0,0 +1 @@
 
1
+ .omapi-screen .omapi-dash__stats{flex-basis:100%}.omapi-screen .omapi-dash__stats-heading{flex-basis:100%;display:flex;align-items:center;justify-content:space-between}.omapi-screen .omapi-dash__stats-heading h5{font-size:16px;line-height:140%}.omapi-screen .omapi-dash__stats-heading .omapi-dropdown__select .omapi-dropdown__toggle{width:168px;margin:0}.omapi-screen .omapi-dash__stats-nums{text-align:center;flex-basis:calc(33.33333% - 10.5px)}.omapi-screen .omapi-dash__stats-stat{font-size:48px;font-weight:600;line-height:130%}.omapi-screen .omapi-dash__stats-desc{color:#6c7781;font-size:18px;margin-top:5px}.omapi-screen .omapi-dash__cards-wrapper{width:calc(49% + 6px)}@media screen and (max-width:969px){.omapi-screen .omapi-dash__cards-wrapper{width:100%}}.omapi-screen .omapi-dash__cards-wrapper div{-moz-column-break-inside:avoid;break-inside:avoid}@media screen and (max-width:1024px){.omapi-screen .omapi-dash__cards-wrapper div.omapi-card__half{flex-basis:100%}}.omapi-screen .omapi-dash__create-card{flex-basis:calc(50% - 8px)}.omapi-screen .omapi-dash__create-card .omapi-card-content{text-align:center;cursor:pointer;border:2px solid transparent}.omapi-screen .omapi-dash__create-card .omapi-card-content:hover{border-color:#087ce1;background-color:#fcfdff}.omapi-screen .omapi-dash__create-card .omapi-card-content h5{font-size:16px;margin:0 0 8px;line-height:140%}.omapi-screen .omapi-dash__resources .omapi-link-title{line-height:150%}.omapi-screen .omapi-dash__resources .omapi-link-title:before{position:relative;top:4px;width:24px;display:inline-block}.omapi-screen .omapi-dash__resources .omapi-detailed-list>li:last-child{border-bottom:none;padding-bottom:7px}.omapi-screen .omapi-dash__top-none{padding:70px 0 65px}
vue/dist/css/monsterleads.9b6ec4a2.css ADDED
@@ -0,0 +1 @@
 
1
+ .omapi-datepicker-inline{display:flex;justify-content:space-between}
vue/dist/css/onboarding-wizard.ac24be1f.css ADDED
@@ -0,0 +1 @@
 
1
+ .omapi-app-onboarding-wizard:after{content:"";background:#f6f7f8;position:absolute;top:0;right:0;left:0;bottom:0;z-index:9990}.omapi-screen .omapi-onboarding{background:#f6f7f8;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;bottom:0;left:0;margin:0;overflow:auto;padding:140px;position:fixed;right:0;top:0;z-index:100000}@media screen and (max-width:915px){.omapi-screen .omapi-onboarding{padding:70px 100px}}@media screen and (max-width:800px){.omapi-screen .omapi-onboarding{padding:50px}}.omapi-screen .omapi-onboarding__steps{color:#8c8f9a;font-size:14px;margin-bottom:20px}.omapi-screen .omapi-onboarding .omapi-panel{margin:0 auto;max-width:900px}.omapi-screen .omapi-onboarding .omapi-panel-header{margin:0 auto 40px;text-align:center}.omapi-screen .omapi-onboarding .omapi-panel-header img{width:350px}.omapi-screen .omapi-onboarding .omapi-wizard-exit{margin-top:96px;text-align:center}@media screen and (max-width:915px){.omapi-screen .omapi-onboarding .omapi-wizard-exit{margin-top:50px}}.omapi-screen .omapi-onboarding .omapi-wizard-exit a{color:#6c7781;text-decoration:underline}.omapi-screen .omapi-onboarding a.omapi-wizard-back{color:#6c7781}.omapi-screen .omapi-onboarding .omapi-wizard-forward{border:none;border-radius:4px;color:#fff;font-size:22px;font-weight:500;line-height:1;margin:0;padding:16px 56px}@media screen and (max-width:540px){.omapi-screen .omapi-onboarding .omapi-wizard-forward{font-size:18px;padding:16px 32px}}.omapi-screen .omapi-onboarding .omapi-wizard-forward:after{content:url(../img/white-right-arrow.1fd68bed.svg);margin-left:10px;top:-2px;position:relative}.omapi-screen .omapi-onboarding .omapi-radio-group__row{display:flex}@media screen and (max-width:600px){.omapi-screen .omapi-onboarding .omapi-radio-group__row{flex-wrap:wrap}}.omapi-screen .omapi-onboarding .omapi-radio-group__row .omapi-radio-group{flex-grow:1;flex-shrink:1}@media screen and (max-width:600px){.omapi-screen .omapi-onboarding .omapi-radio-group__row .omapi-radio-group{flex-basis:100%;margin-bottom:0}}.omapi-screen .omapi-onboarding .omapi-radio-group{margin-bottom:20px}.omapi-screen .omapi-onboarding .omapi-radio{color:#646970;font-size:16px}.omapi-screen .omapi-onboarding .omapi-radio__input{height:20px;width:20px;min-width:20px}.omapi-screen .omapi-onboarding .omapi-radio :checked+.omapi-radio__input{background-color:#087ce1;background-image:url(../img/white-checkmark.0c4d10d4.svg);background-size:12px;background-position:50%;background-repeat:no-repeat}.omapi-screen .omapi-onboarding .omapi-radio :checked+.omapi-radio__input:after{display:none}.omapi-screen .omapi-onboarding .omapi-card-content{padding:80px 140px}@media screen and (max-width:1000px){.omapi-screen .omapi-onboarding .omapi-card-content{padding:60px 100px}}@media screen and (max-width:800px){.omapi-screen .omapi-onboarding .omapi-card-content{padding:50px 60px}}.omapi-screen .omapi-onboarding .omapi-card-content__section{margin-top:40px}.omapi-screen .omapi-onboarding .omapi-card-content h2{font-size:24px;font-weight:600;line-height:1.3;margin:0 0 20px}.omapi-screen .omapi-onboarding .omapi-card-content h3{font-size:18px;font-weight:600;margin:0 0 10px}.omapi-screen .omapi-onboarding .omapi-card-content .omapi-happy-text{color:#646970;font-size:16px;line-height:150%;margin:0 0 40px}.omapi-screen .omapi-onboarding .omapi-card-footer{align-items:center;border-top:1px solid #e8e8eb;padding:30px}.omapi-screen .omapi-onboarding .omapi-card-footer .omapi-wizard-forward{border-radius:3px;font-size:16px;line-height:1;padding:16px 24px}.omapi-screen .omapi-onboarding .omapi-button{margin:0}.omapi-screen .omapi-onboarding .omapi-box__gray{background:#f7f8fb;color:#646970;font-size:14px;line-height:1.5;padding:20px}.omapi-screen .omapi-onboarding .omapi-box__gray h3{font-size:15px}.omapi-screen .omapi-onboarding .omapi-will-be-installed{color:#6c7781;font-size:12px}.omapi-screen .omapi-onboarding .omapi-link-arrow-after,.omapi-screen .omapi-onboarding .omapi-link-arrow-before{text-decoration:underline}.omapi-screen .omapi-onboarding .omapi-feature .omapi-checkbox{align-items:center;border-bottom:1px solid #f1f1f1;color:#646970;display:flex;font-size:14px;justify-content:space-between;padding:16px 0;margin:0 0 10px}.omapi-screen .omapi-onboarding .omapi-feature:last-child .omapi-checkbox{border:none}.omapi-screen .omapi-onboarding .omapi-feature h3{font-size:16px;margin:0 0 10px}.omapi-screen .omapi-onboarding .omapi-feature .omapi-checkbox__input{border-radius:50%;height:24px;width:24px;flex:0 0 24px;margin-left:10px}.omapi-screen .omapi-onboarding .omapi-feature :checked+.omapi-checkbox__input-green{background-color:#46b450;border-color:#46b450}.omapi-screen .omapi-onboarding .omapi-free{color:#6c7781;font-size:12px}.omapi-screen .omapi-onboarding .omapi-next-social-buttons{display:flex;padding-bottom:30px}@media screen and (max-width:815px){.omapi-screen .omapi-onboarding .omapi-next-social-buttons{flex-direction:column}}.omapi-screen .omapi-onboarding .omapi-next-social-buttons a.omapi-next-social-button{align-items:center;border-radius:3px;color:#fff;display:flex;font-size:14px;line-height:1;margin-right:10px;padding:8px 12px}@media screen and (max-width:815px){.omapi-screen .omapi-onboarding .omapi-next-social-buttons a.omapi-next-social-button{margin:0 0 10px}}.omapi-screen .omapi-onboarding .omapi-next-social-buttons a.omapi-next-social-button__twitter{background:#1da1f2}.omapi-screen .omapi-onboarding .omapi-next-social-buttons a.omapi-next-social-button__twitter:hover{background:#0d8cda}.omapi-screen .omapi-onboarding .omapi-next-social-buttons a.omapi-next-social-button__facebook{background:#4064ac}.omapi-screen .omapi-onboarding .omapi-next-social-buttons a.omapi-next-social-button__facebook:hover{background:#35538e}.omapi-screen .omapi-onboarding .omapi-next-social-buttons a.omapi-next-social-button__youtube{background:#cd1f29}.omapi-screen .omapi-onboarding .omapi-next-social-buttons a.omapi-next-social-button__youtube:hover{background:#aa1a22}.omapi-screen .omapi-onboarding .omapi-next-social-buttons a.omapi-next-social-button svg{margin-right:5px}.omapi-screen .omapi-onboarding .omapi-next-social-buttons a.omapi-next-social-button:active,.omapi-screen .omapi-onboarding .omapi-next-social-buttons a.omapi-next-social-button:focus,.omapi-screen .omapi-onboarding .omapi-next-social-buttons a.omapi-next-social-button:hover{text-decoration:none!important}.omapi-screen .omapi-onboarding .omapi-next-link{border-top:1px solid #e8e8eb;font-size:16px;padding:20px 0}.omapi-screen .omapi-onboarding .omapi-next-link a{align-items:center;color:#6c7781;display:flex}.omapi-screen .omapi-onboarding .omapi-next-link a svg{margin-right:15px}
vue/dist/css/settings.4837c79a.css ADDED
@@ -0,0 +1 @@
 
1
+ .omapi-settings-page{font-size:14px;margin-top:6px}.omapi-settings-page p{font-size:14px}.omapi-settings-page .omapi-card-title{font-size:18px}.omapi-settings-page .omapi-dropdown__select .omapi-dropdown__toggle{margin-top:8px}.omapi-settings-page .omapi-dropdown__container{min-width:200px}.omapi-settings-page__top-save{position:absolute;right:30px;top:30px}.omapi-settings-page .omapi-settings-upgrade{color:#23282d;font-size:16px;text-align:center}.omapi-settings-page .omapi-settings-upgrade p{font-size:16px;line-height:1;text-align:center}.omapi-settings-page .omapi-settings-upgrade p.omapi-settings-upgrade__title{color:#23282d;font-size:24px;font-weight:600}.omapi-settings-page .omapi-settings-upgrade__coupon{color:#23282d}.omapi-settings-page .omapi-settings-upgrade__coupon-code{background:rgba(8,124,225,.05);border:2px dotted #087ce1;color:#087ce1;display:inline-block;font-weight:500;margin:0 8px;padding:10px 20px;text-transform:capitalize}.omapi-settings-page .omapi-settings-upgrade__features{display:flex;flex-wrap:wrap;margin:40px auto;max-width:660px}.omapi-settings-page .omapi-settings-upgrade__features li{align-items:center;display:flex;flex:1 0 33%;text-align:left}@media screen and (max-width:810px){.omapi-settings-page .omapi-settings-upgrade__features li{flex:0 0 43%;flex:0 0 46%;margin-left:7%}}.omapi-settings-page .omapi-settings-upgrade__features li:before{background-image:url(../img/circle-plus.f6e8d6cc.svg);background-size:15px;content:"";display:inline-block;margin-right:10px;width:15px;height:15px}@media screen and (max-width:810px){.omapi-settings-page .omapi-settings-upgrade__features{justify-content:flex-end;justify-content:center}}.omapi-settings-page .omapi-settings-upgrade .omapi-button{display:inline-block;font-size:16px;line-height:1;margin:0 auto;padding:16px 24px}.omapi-analytics-settings{flex-wrap:wrap}.omapi-analytics-settings__options{display:flex;flex-wrap:wrap;flex:1 1}.omapi-analytics-settings__options-ga{flex-basis:100%;margin-top:18px;padding:20px;background-color:#f7f8fb;border-radius:3px}.omapi-analytics-settings__options-ga label{font-weight:600}.omapi-analytics-settings__options-ga .omapi-dropdown__select{margin:5px 20px 10px 0;width:396px}.omapi-analytics-settings__options-ga .omapi-dropdown__select:last-of-type{margin-right:0}.omapi-analytics-settings__options-ga-more{font-size:13px}.omapi-analytics-settings__options .omapi-big-select{display:flex;flex-wrap:wrap}@media screen and (max-width:975px){.omapi-analytics-settings__options .omapi-big-select{flex-direction:column}}.omapi-analytics-settings__options .omapi-big-select__om-analytics{padding:30px 63px 20px}.omapi-analytics-settings__options .omapi-big-select input{opacity:0;pointer-events:none;position:absolute}.omapi-analytics-settings__options .omapi-big-select label{align-items:center;align-content:center;border:1px solid #ddd;border-radius:3px;color:#646970;display:flex;flex-direction:column;justify-content:center;margin-right:16px;padding:30px 60px 20px;position:relative;text-align:center}.omapi-analytics-settings__options .omapi-big-select label.omapi-big-select__om-analytics{padding:30px 63px 20px}@media screen and (max-width:1034px){.omapi-analytics-settings__options .omapi-big-select label.omapi-big-select__om-analytics{padding:30px 48px 20px}}@media screen and (max-width:1034px){.omapi-analytics-settings__options .omapi-big-select label{padding:30px 45px 20px}}@media screen and (max-width:975px){.omapi-analytics-settings__options .omapi-big-select label{margin-right:0;margin-bottom:10px}}.omapi-analytics-settings__options .omapi-big-select label:active,.omapi-analytics-settings__options .omapi-big-select label:focus,.omapi-analytics-settings__options .omapi-big-select label:hover{background:#fcfdff;border-color:#087ce1}.omapi-analytics-settings__options .omapi-big-select label svg{display:block;margin:0 auto 5px}.omapi-analytics-settings__options .omapi-big-select label b{clear:both;color:#23282d;display:block;margin:0 auto}.omapi-analytics-settings__options .omapi-big-select .omapi-big-select-checkmark{background-color:#46b450;background-image:url(../img/white-checkmark.0c4d10d4.svg);background-size:10px;background-repeat:no-repeat;background-position:50%;border-radius:50%;opacity:0;position:absolute;right:10px;top:10px;height:20px;width:20px}.omapi-analytics-settings__options .omapi-big-select input:checked+.omapi-big-select-checkmark{opacity:1}.omapi-integration-settings__options{width:100%}.omapi-integration-settings__defaults{display:flex}.omapi-integration-settings__defaults>div{flex:0 1 400px}.omapi-integration-settings__defaults label{font-weight:600;display:block}.omapi-integration-settings__defaults .omapi-dropdown__select{max-width:396px}.omapi-integration-settings__defaults-provider{margin-right:18px}@media screen and (max-width:1070px){.omapi-spam-settings{flex-direction:column}.omapi-spam-settings .omapi-flex-child{margin-left:0}}.omapi-checkbox{color:#646970}
vue/dist/css/temp.0966b502.css ADDED
@@ -0,0 +1 @@
 
1
+ .omapi-screen .om-app-404 h1.omapi-warning:before{padding-right:5px}.omapi-screen .om-app-404 .omapi-box{margin-right:0;margin-left:0}
vue/dist/css/templates.68c1286e.css ADDED
@@ -0,0 +1 @@
 
1
+ .templates-wrapper h1{font-size:16px}.templates-wrapper .templates-content{max-width:1640px}.templates-wrapper .omapi-content-area{overflow:auto}.templates-wrapper .omapi-template-buttons{width:100%;max-width:1200px;display:flex;justify-content:space-between}.templates-wrapper .omapi-template-sections h3{font-size:1.17em;margin-top:0;margin-bottom:1em;font-weight:700}.templates-wrapper .omapi-template-listing{display:flex;flex-wrap:wrap;box-sizing:border-box;overflow:auto}.templates-wrapper .archie-loader-wrapper{height:100%;display:flex;justify-content:center;align-items:center;flex-grow:1}.templates-wrapper .omapi-card__fourth{max-width:calc(25% - 16px)}@media screen and (max-width:1000px){.templates-wrapper .omapi-card__fourth{max-width:calc(33.33333% - 16px);flex-basis:33%}}@media screen and (max-width:800px){.templates-wrapper .omapi-card__fourth{max-width:calc(50% - 16px);flex-basis:50%}}@media screen and (max-width:580px){.templates-wrapper .omapi-card__fourth{max-width:160px}}.templates-wrapper .omapi-template-preview{margin-bottom:30px}.templates-wrapper .omapi-template-preview__mobile-badge{margin:2px 4px 0 0!important}.templates-wrapper .omapi-template-preview__mobile-badge svg{height:14px}.templates-wrapper .omapi-template-preview__new-badge{padding:5px 10px;background:#f2f7fd;border-radius:3px;font-style:normal;font-weight:700;font-size:10px;line-height:100%;display:flex;align-items:center;color:#6c7781}.templates-wrapper .omapi-template-preview__title{align-items:center}.templates-wrapper .omapi-template-preview .omapi-card-content{padding:0!important;display:flex;position:relative;flex-grow:1;justify-content:center;align-items:center;background:#f7f8fb;margin:10px 10px 0;width:calc(100% - 20px);min-height:182px}.templates-wrapper .omapi-template-preview .omapi-card-footer{padding:17px 10px;font-style:normal;font-weight:700;font-size:13px;line-height:100%;color:#6c7781;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.templates-wrapper .omapi-template-preview .omapi-card-footer:hover{overflow:visible}.templates-wrapper .omapi-template-preview__image{max-height:146px;max-width:73%}.templates-wrapper .omapi-template-preview__actions{display:none;position:absolute;top:0;left:0;bottom:0;right:0;background:#646970;align-items:center;justify-content:center;flex-direction:column}.templates-wrapper .omapi-template-preview__actions .omapi-button{display:block;width:121px;margin:0;text-align:center;box-sizing:content-box}.templates-wrapper .omapi-template-preview__actions .omapi-button:first-child{margin-bottom:5px}.templates-wrapper .omapi-template-preview.previewing .omapi-template-preview__actions,.templates-wrapper .omapi-template-preview:hover .omapi-template-preview__actions{display:flex}.templates-wrapper .omapi-template-preview.previewing .omapi-template-preview__actions__open:hover,.templates-wrapper .omapi-template-preview:hover .omapi-template-preview__actions__open:hover{background:#fff;color:#555d66}.campaign-inline-preview{position:fixed;display:flex;align-items:center;justify-content:center;top:0;left:0;height:100%;width:100%;background-color:rgba(0,0,0,.5);z-index:9999}.campaign-inline-preview__inner{position:relative;max-width:80%;background:#fff;border-radius:10px;padding:5%}.campaign-inline-preview__inner svg{display:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.campaign-inline-preview.is-loading svg{display:block!important}.Preview{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);z-index:99999}.Preview,.Preview *{box-sizing:border-box}.Preview .MobilePreview{width:395px;height:767px;margin:0 auto;margin-top:30px;background:#000;border-top:50px solid #c9d0d6;border-bottom:50px solid #c9d0d6;border-left:10px solid #c9d0d6;border-right:10px solid #c9d0d6;border-radius:10px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.Preview .MobilePreview .Campaign.MagicMediaQuery-mobile{position:absolute!important}.Preview .MobilePreview .Campaign.MagicMediaQuery-mobile.CampaignType--floating{bottom:0!important}.Preview .MobilePreview .Campaign.MagicMediaQuery-mobile.CampaignType--popup>div:first-child{top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important}.Preview .MobilePreview .Campaign.MagicMediaQuery-mobile [class*=-ClosePosition--top-right]{right:0!important}.Preview .MobilePreview .Campaign.MagicMediaQuery-mobile [class*=-ClosePosition--top-left]{left:0!important}.Preview .MobilePreview .Campaign.MagicMediaQuery-mobile [class*=-ClosePosition--bottom-right]{right:0!important}.Preview .MobilePreview .Campaign.MagicMediaQuery-mobile [class*=-ClosePosition--bottom-left]{left:0!important}.Preview .MobilePreview .Campaign.MagicMediaQuery-mobile .Row .Row__content{flex-direction:column!important}.Preview .MobilePreview .Campaign.MagicMediaQuery-mobile .FieldsElement--horizontal button,.Preview .MobilePreview .Campaign.MagicMediaQuery-mobile .FieldsElement--horizontal input,.Preview .MobilePreview .Campaign.MagicMediaQuery-mobile .Row .Row__content .Column{width:100%!important}
vue/dist/css/uireference.d6421034.css ADDED
@@ -0,0 +1 @@
 
1
+ #ref-nav[data-v-8dac91ba]{display:flex}#ref-nav li[data-v-8dac91ba]:after{content:"|";padding:0 7px}#ref-nav lilast-child[data-v-8dac91ba]:after{padding:0 0 0 7px}#ref-nav[data-v-8dac91ba]:before{content:"|";padding:0 7px 0 0}summary[data-v-8dac91ba]{cursor:pointer}summary h2[data-v-8dac91ba]{display:inline-block}section[data-v-8dac91ba]{padding:0 0 1.5em;margin:0 0 1.5em;border-bottom:1px solid #ccc}
vue/dist/fonts/element-icons.535877f5.woff ADDED
Binary file
vue/dist/fonts/element-icons.732389de.ttf ADDED
Binary file
vue/dist/img/ab-test.6c5bba94.png ADDED
Binary file
vue/dist/img/active-archie.f226317a.svg ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="56" height="56">
3
+ <circle cx="28.1229" cy="28.1231" r="27.1721" fill="#C4C4C4"/>
4
+ </mask>
5
+ <g mask="url(#mask0)">
6
+ <path d="M48.8203 23.6771C49.2602 23.4132 49.3477 21.7876 49.3921 21.3052C49.5236 20.2069 50.8853 19.724 51.7641 20.2944C53.3017 21.3926 54.092 23.5016 54.311 25.3022C54.5309 27.1468 54.3555 29.6067 53.0378 31.0564C51.6321 32.638 48.074 33.1214 45.9659 32.9014C45.3951 32.8574 44.8677 32.7255 44.3404 32.638L43.3301 23.5886L44.4293 23.8086C45.527 24.028 47.7675 24.2485 48.7778 23.6771H48.8203Z" fill="#999966"/>
7
+ <path d="M52.2433 21.9389C51.9799 21.5875 51.6724 21.2361 51.321 21.0166C50.9696 20.7527 50.3108 20.9726 50.2658 21.412L50.2228 21.719C50.8821 21.4995 51.6285 21.6755 52.2433 21.9389ZM53.4735 28.1325C53.7369 26.7268 53.605 25.1012 53.1221 23.696C52.7707 23.2566 52.4188 22.9057 51.7599 22.6418C50.9251 22.2903 50.4862 22.4223 50.0923 22.7737C50.0478 23.1251 49.9589 23.3886 49.8723 23.652C52.1563 24.3988 53.1226 26.5948 53.474 28.176V28.1325H53.4735ZM46.7966 24.8817C46.0063 24.8817 45.1715 24.7937 44.3372 24.6183L45.127 31.9096C46.1827 32.1295 47.4114 32.1295 48.5092 31.998C49.3 29.1867 48.5092 25.8925 46.7531 24.8382L46.7966 24.8817ZM49.2565 24.3988C48.9496 24.5743 48.5087 24.7063 47.9833 24.7938C49.5639 26.4633 50.0473 29.4941 49.475 31.8661C50.7932 31.6026 51.8909 31.1193 52.4623 30.5044C52.5942 30.3724 52.6817 30.1965 52.8142 30.065C52.8142 27.5611 51.8039 24.8817 49.388 24.3548C49.3435 24.3988 49.3435 24.3988 49.299 24.3988H49.2565Z" fill="#C0C0A0"/>
8
+ <path d="M48.8176 29.128C47.7634 29.3919 46.6216 29.4359 45.7864 29.3479C45.4354 29.3039 45.1275 29.2599 44.8201 29.172L44.2932 24.648C45.1275 24.8235 45.9628 24.9114 46.7531 24.9114C47.8953 25.6143 48.6431 27.2834 48.7746 29.128H48.8176ZM52.0248 22.759C52.0674 23.0229 52.1118 23.2863 52.1558 23.5493C52.2438 24.0766 52.2438 24.6915 52.1998 25.3069C51.628 24.604 50.8821 23.9892 49.8724 23.6377C49.9594 23.3743 50.0478 23.1104 50.0918 22.759C50.4418 22.4515 50.9252 22.2756 51.7599 22.6275C51.8489 22.671 51.9364 22.715 52.0248 22.759ZM51.3655 21.0459C51.4975 21.2658 51.5845 21.4853 51.6729 21.7047C51.1896 21.5732 50.7067 21.5288 50.1793 21.6612L50.2233 21.3538C50.2663 20.9139 50.9252 20.6944 51.2775 20.9584L51.366 21.0019V21.0459H51.3655ZM49.257 24.3846C48.9496 24.56 48.5092 24.6915 47.9833 24.7795C48.9496 25.7897 49.4755 27.2834 49.6519 28.865C50.2663 28.6446 50.8377 28.3376 51.1896 27.8987C51.5415 27.5468 50.6182 24.604 49.345 24.3406C49.3005 24.3846 49.3005 24.3846 49.257 24.3846Z" fill="#FBFAC4"/>
9
+ <path d="M7.61795 23.6771C7.1776 23.4132 7.09059 21.7876 7.04564 21.3052C6.91416 20.2069 5.55248 19.724 4.67418 20.2944C3.13607 21.3926 2.34624 23.5016 2.12678 25.3022C1.90733 27.1468 2.08278 29.6067 3.40047 31.0564C4.80614 32.638 8.36381 33.1214 10.4723 32.9014C11.0432 32.8574 11.5705 32.7255 12.0979 32.638L13.1077 23.5886L12.009 23.8086C10.9112 24.028 8.67076 24.2485 7.6605 23.6771H7.61795Z" fill="#999966"/>
10
+ <path d="M4.19082 21.9389C4.45426 21.5875 4.7617 21.2361 5.11263 21.0166C5.46453 20.7527 6.12337 20.9726 6.16833 21.412L6.21087 21.719C5.55203 21.4995 4.80519 21.6755 4.19082 21.9389ZM2.96014 28.1325C2.69718 26.7268 2.82914 25.1012 3.31204 23.696C3.66345 23.2566 4.01488 22.9057 4.67373 22.6418C5.50852 22.2903 5.94791 22.4223 6.34187 22.7737C6.38634 23.1251 6.47529 23.3886 6.56181 23.652C4.27784 24.3988 3.31155 26.5948 2.95965 28.176V28.1325H2.96014ZM9.63755 24.8817C10.4279 24.8817 11.2627 24.7937 12.097 24.6183L11.3067 31.9096C10.2514 32.1295 9.02222 32.1295 7.92446 31.998C7.13365 29.1867 7.92445 25.8925 9.68105 24.8382L9.63755 24.8817ZM7.17763 24.3988C7.48458 24.5743 7.92542 24.7063 8.45086 24.7938C6.86972 26.4633 6.38682 29.4941 6.95866 31.8661C5.64097 31.6026 4.54321 31.1193 3.97137 30.5044C3.83941 30.3724 3.75239 30.1965 3.61995 30.065C3.61995 27.5611 4.63022 24.8817 7.04615 24.3548C7.09014 24.3988 7.09013 24.3988 7.13509 24.3988H7.17763Z" fill="#C0C0A0"/>
11
+ <path d="M7.6188 29.128C8.67305 29.3919 9.81479 29.4359 10.6496 29.3479C11.001 29.3039 11.3084 29.2599 11.6159 29.172L12.1428 24.648C11.3084 24.8235 10.4736 24.9114 9.68331 24.9114C8.54108 25.6143 7.79426 27.2834 7.66181 29.128H7.6188ZM4.41157 22.759C4.36855 23.0229 4.32458 23.2863 4.28011 23.5493C4.19261 24.0766 4.1926 24.6915 4.23707 25.3069C4.80795 24.604 5.55428 23.9892 6.56406 23.6377C6.47705 23.3743 6.3886 23.1104 6.34413 22.759C5.99416 22.4515 5.51126 22.2756 4.67647 22.6275C4.58752 22.671 4.50003 22.715 4.41157 22.759ZM5.07091 21.0459C4.93894 21.2658 4.85194 21.4853 4.76348 21.7047C5.24638 21.5732 5.72976 21.5288 6.25713 21.6612L6.21265 21.3538C6.17011 20.9139 5.51127 20.6944 5.15889 20.9584L5.07042 21.0019V21.0459H5.07091ZM7.17941 24.3846C7.48684 24.56 7.9272 24.6915 8.45312 24.7795C7.48684 25.7897 6.96044 27.2834 6.78449 28.865C6.17012 28.6446 5.59828 28.3376 5.24638 27.8987C4.89544 27.5468 5.81821 24.604 7.09143 24.3406C7.13542 24.3846 7.13542 24.3846 7.17941 24.3846Z" fill="#FBFAC4"/>
12
+ <path d="M12.4913 21.9272C10.9541 21.7952 9.46 22.1026 7.96684 22.3226L9.28453 21.0484C10.5587 19.8187 12.2718 18.7204 13.8984 17.9296C16.3133 16.6999 19.0812 15.7776 21.8476 15.5142C19.914 14.6794 17.718 14.284 15.6545 13.8006C23.6056 12.132 33.7948 11.5166 41.0875 17.7102C45.261 21.2683 47.5445 27.8572 47.5445 33.8308C47.5445 56.3654 9.15402 56.3654 9.15402 33.8308C9.15402 30.8001 9.90035 27.9012 11.306 25.2654C10.7796 25.3973 10.2962 25.5728 9.7679 25.7927L7.44141 26.759L9.10907 24.87C10.1198 23.7282 11.262 22.762 12.5797 22.0151L12.4913 21.9272Z" fill="#8ED41E"/>
13
+ <path d="M29.7112 14.9849C33.4453 15.4238 37.0904 16.654 40.1203 19.2454C43.8099 22.3641 45.7869 28.1623 45.7869 33.3895C45.7869 42.9643 37.8803 47.9286 29.7107 48.1921V14.9849H29.7112Z" fill="#70A91B"/>
14
+ <path d="M15.5655 19.8688C18.4649 17.9357 23.2092 17.3209 28.9199 17.6288C27.9096 16.443 26.9873 15.6957 25.6256 15.0369C28.217 14.9489 30.2811 15.5203 35.4204 17.2774C30.9849 14.6855 25.5386 13.4997 20.4424 14.0706C22.2869 14.5975 24.044 15.4323 25.6691 16.5305C20.4424 15.9597 14.4238 18.4631 12.0079 20.5276C13.59 20.3521 14.9947 20.6591 16.4893 21.3184C14.3808 22.0647 13.0186 22.7241 11.7004 23.9978C13.9844 22.8555 15.7855 21.8893 18.6848 21.2744C17.5426 20.879 16.9277 20.1762 15.5655 19.8688Z" fill="#A1E141"/>
15
+ <path d="M28.3059 14.5454C33.5782 14.5454 37.8382 18.6744 37.8382 23.8137C37.8382 28.909 33.5782 33.082 28.3059 33.082C23.0357 33.082 18.7756 28.953 18.7756 23.8137C18.7747 18.7184 23.0357 14.5454 28.3059 14.5454Z" fill="#70A91B"/>
16
+ <path d="M13.1969 32.4618C13.5043 31.8905 42.407 31.671 42.9784 32.4618C43.9877 33.7795 43.4178 35.0533 42.9784 36.1515H13.1969C12.9334 34.9653 12.494 33.6916 13.1969 32.4618Z" fill="#70A91B"/>
17
+ <path d="M13.5919 33.3018C13.8993 32.555 42.0547 32.2476 42.6261 33.3018C43.5924 35.1024 43.021 36.8595 42.6261 38.3532H13.5919C13.3279 36.7276 12.933 35.0149 13.5919 33.3018Z" fill="#4B7113"/>
18
+ <path d="M37.0035 14.1692C36.6081 6.65794 26.505 5.86713 23.8696 11.7532C28.5255 9.20534 33.2694 10.1281 37.0035 14.1692Z" fill="#70A91B"/>
19
+ <path d="M31.3799 7.92078C28.438 7.48139 25.2313 8.75558 23.9136 11.6979C25.6702 10.7316 27.4717 10.2927 29.1844 10.2927C29.5363 9.63387 30.3706 8.36017 31.4248 7.92078H31.3799Z" fill="#85C51F"/>
20
+ <path d="M28.3065 13.5786C33.0504 13.5786 36.8724 17.4002 36.8724 22.1441C36.8724 26.888 33.0504 30.7096 28.3065 30.7096C23.5636 30.7096 19.7424 26.888 19.7424 22.1441C19.7424 17.4002 23.5631 13.5786 28.3065 13.5786Z" fill="#D3E8EF"/>
21
+ <path d="M22.9042 15.7859C25.759 13.414 29.7566 13.414 31.7766 15.8739C33.7972 18.2898 33.0948 22.1989 30.2395 24.6149C27.3837 26.9868 23.3871 26.9868 21.3656 24.5269C19.346 22.1109 20.0494 18.2019 22.9042 15.7859Z" fill="white"/>
22
+ <path d="M28.5249 15.262C31.8631 15.262 34.543 17.7659 34.543 20.8842C34.543 24.0029 31.8621 26.5068 28.5249 26.5068C25.1876 26.5068 22.5073 24.0029 22.5073 20.8842C22.5073 17.7659 25.1872 15.262 28.5249 15.262Z" fill="#0D82DF"/>
23
+ <path d="M28.5249 15.262C30.15 15.262 31.6437 15.8768 32.6979 16.8431C32.303 18.2048 31.4682 19.5665 30.238 20.6207C27.8661 22.5972 24.7043 22.9051 22.5513 21.587C22.5073 21.3675 22.5073 21.1481 22.5073 20.8841C22.5073 17.7659 25.1872 15.262 28.5249 15.262Z" fill="#0399ED"/>
24
+ <path d="M28.5257 16.2834C30.6342 16.2834 32.3913 17.9086 32.3913 19.8851C32.3913 21.8621 30.6782 23.4868 28.5257 23.4868C26.4177 23.4868 24.6606 21.8621 24.6606 19.8851C24.6606 17.9086 26.3733 16.2834 28.5257 16.2834Z" fill="#232323"/>
25
+ <path d="M25.1424 15.5549C26.7236 15.5549 27.9973 16.7411 27.9973 18.2343C27.9973 19.7279 26.7236 20.9141 25.1424 20.9141C23.5613 20.9141 22.2876 19.7279 22.2876 18.2343C22.2876 16.7411 23.5613 15.5549 25.1424 15.5549Z" fill="white" fill-opacity="0.5"/>
26
+ <path d="M8.32025 35.4157C21.5856 33.4391 34.896 33.6146 48.1614 35.4157C49.1276 42.3555 48.6003 48.9454 48.1614 55.5769C34.896 56.1043 21.5856 56.1927 8.32025 55.5769C7.52944 48.857 7.44243 42.1361 8.32025 35.4157Z" fill="#9CAEB3"/>
27
+ <path d="M12.1413 54.2255C22.9032 54.6199 33.6212 54.5774 44.3822 54.2255C40.5171 52.0285 36.6515 49.9215 32.303 48.7352C30.8964 49.3941 29.4042 49.9215 27.9105 50.3604C27.6906 50.4039 27.6906 50.4039 27.4711 50.3604C26.2405 49.965 25.0112 49.4816 23.8245 48.9552C19.6075 50.1844 15.7864 51.9855 12.0968 54.2699L12.1413 54.2255ZM9.59336 37.7094C9.02249 43.0246 9.10998 48.3833 9.68181 53.6981C13.5474 51.2827 17.676 49.3496 22.0239 47.9884C17.0166 45.353 13.5025 41.575 9.59336 37.7094ZM45.7873 36.6556C34.0601 35.249 22.2879 35.1175 10.5601 36.6556C15.3915 42.0574 20.7077 46.4948 27.7795 48.8218C35.2898 46.6707 40.4726 41.9704 45.7873 36.6556ZM46.7981 53.6981C47.15 48.3833 47.5009 43.0686 46.9301 37.7538C42.9775 41.6634 38.76 45.3965 33.8401 47.9875C38.4086 49.3491 42.67 51.3706 46.8431 53.6976H46.7981V53.6981Z" fill="#D3E8EF"/>
28
+ <path d="M12.1413 54.2196C17.3236 54.3955 22.5064 54.483 27.7346 54.483V50.3545C27.6907 50.3545 27.6471 50.3545 27.5152 50.31C26.2855 49.9161 25.0562 49.4322 23.8695 48.9048C19.6525 50.1345 15.8314 51.9351 12.1413 54.2196ZM9.59336 37.7035C9.02249 43.0187 9.10998 48.3775 9.68181 53.6922C13.5474 51.2768 17.676 49.3437 22.024 47.9825C17.0166 45.3472 13.5025 41.5691 9.59336 37.7035ZM27.7346 35.551C21.9805 35.551 16.2703 35.9024 10.5601 36.6502C15.3485 42.0525 20.7077 46.4454 27.7346 48.8164V35.551Z" fill="white"/>
29
+ <path d="M20.2682 38.7057C20.2247 38.8811 20.1367 39.0576 20.0497 39.233C19.9607 39.4965 19.7853 39.759 19.5663 39.9349C19.0389 40.3303 18.3806 40.1993 17.8082 39.9789C16.5345 39.4515 15.6567 38.1778 15.1289 36.9481C14.5145 35.5415 14.47 34.5322 14.8214 32.9946C23.6944 32.5117 32.7872 32.4237 41.3962 32.9506V32.9946H41.5286C41.6606 34.4882 41.5286 35.1031 41.1777 36.3342C40.7818 37.7394 39.9465 39.4515 38.5418 40.1104C38.0145 40.3748 37.3996 40.5063 36.9162 40.1544C36.6973 39.9789 36.5223 39.7155 36.3893 39.4515C36.0819 38.9686 35.9949 38.2668 35.9065 37.7389C35.731 38.0903 35.5115 38.3098 35.1596 38.3973C34.5888 38.5292 33.9299 38.6162 33.3586 38.6607C32.7877 38.7052 32.1738 38.7497 31.5575 38.7497C30.6352 38.7497 29.6245 38.6607 28.7471 38.3982C28.6156 38.9256 28.3957 39.4075 27.8688 39.583C27.298 39.759 26.5946 39.8474 25.9798 39.8919C25.3209 39.9349 24.6621 39.9794 24.0472 39.9794C23.037 39.9794 21.8947 39.8919 20.9725 39.4965C20.6206 39.3645 20.4001 39.1006 20.2696 38.7497V38.7057H20.2682Z" fill="#999966"/>
30
+ <path d="M35.1569 32.6937C35.5088 34.6703 35.4204 37.2182 34.8495 37.3497C33.9707 37.5696 30.5885 37.9215 28.9199 37.3066C28.4795 36.4723 28.4795 34.3638 28.524 32.6507C30.8085 32.6502 33.0924 32.6502 35.1569 32.6937ZM20.9688 33.0891C20.6618 34.0119 20.3544 35.0657 20.047 36.3404C19.871 37.1312 19.7391 37.9215 19.6066 38.4919C19.4312 39.2822 19.0358 39.4146 18.2889 39.1067C16.3559 38.2729 15.3471 35.0227 15.4336 33.0452C16.7518 32.9572 18.7288 32.8697 20.9683 32.7817C23.1213 32.7377 25.5372 32.6937 27.9531 32.6937C28.1716 35.1097 28.1716 38.009 27.6457 38.6234C26.722 38.9322 23.1213 39.3711 21.3632 38.5803C20.5724 38.2294 20.8798 35.2861 20.9238 33.1336L20.9688 33.0891ZM35.5088 32.6937C35.7713 33.748 36.0792 34.8462 36.3862 36.2519C36.5616 37.1302 36.6506 37.966 36.7816 38.5359C36.9575 39.4142 37.309 39.5461 38.0113 39.1952C39.7254 38.3159 40.6916 35.0652 40.6467 32.9137C39.3739 32.8257 37.5729 32.7377 35.5088 32.6937Z" fill="#C0C0A0"/>
31
+ <path d="M28.5251 33.8811C30.5896 33.8811 32.6551 33.8811 34.5432 33.9246C34.8506 35.0233 34.8506 36.9999 33.5325 37.4827C32.1273 37.6152 30.1063 37.6582 28.9205 37.2193C28.6136 36.604 28.5251 35.2423 28.5251 33.8811ZM20.9259 34.0126C22.815 33.9686 24.9675 33.9246 27.12 33.9246C27.3384 35.5062 27.7343 38.669 25.7578 38.8444C24.3081 38.9764 22.5075 38.9764 21.3648 38.493C20.7074 38.1856 20.7945 35.9896 20.8819 34.0566L20.9259 34.0126ZM15.5237 34.2765C16.446 34.1885 17.6752 34.1441 19.1244 34.1005C19.3003 34.1005 19.6517 38.449 19.6517 38.449C19.4758 39.2398 19.0809 39.3718 18.3341 39.0644C16.7964 38.4055 15.8302 36.2081 15.5662 34.32L15.5237 34.2765ZM36.7832 38.537C36.9587 39.4153 37.3106 39.5473 38.0129 39.1963C39.4195 38.493 40.2974 36.2086 40.5613 34.2325C39.727 34.1441 38.7167 34.1006 37.5295 34.0566C36.8272 34.5839 36.6947 38.2296 36.7832 38.537Z" fill="#FBFAC4"/>
32
+ <path d="M24.7479 33.9686C24.8369 35.6827 24.7479 37.3948 24.5295 37.5263C24.0906 37.7912 22.465 38.1416 21.6746 37.4828C21.3658 37.2638 21.4102 35.5937 21.4547 34.0126C22.5085 33.9686 23.6072 33.9686 24.7929 33.9246L24.7479 33.9686ZM32.1282 33.9246C32.1717 35.1988 32.0837 36.3845 31.9083 36.4725C31.5133 36.6915 29.9752 36.9559 29.1849 36.4285C28.9215 36.253 28.9214 35.0664 28.9649 33.8811H32.1287V33.9246H32.1282ZM18.2475 34.1441C18.2035 34.6274 18.2035 35.1993 18.2035 35.7697V37.5263C18.2035 38.1856 18.028 38.3171 17.6761 38.0097C16.9743 37.4828 16.3584 35.8137 16.095 34.2765C16.7098 34.232 17.4571 34.1885 18.2475 34.1441ZM40.0344 34.1885C39.462 34.1441 38.8037 34.1005 38.0573 34.1005C38.0573 34.5834 38.1018 35.1103 38.1018 35.6822V37.5707C38.1018 38.2736 38.2333 38.4055 38.5847 38.0976C39.1995 37.5263 39.7709 35.8576 40.0344 34.1885Z" fill="white"/>
33
+ <path d="M10.9566 54.5755C10.4732 56.7715 8.27573 58.2212 6.0807 58.1332C3.04991 58.0007 -1.65048 54.663 -1.5625 51.3688C-1.51852 49.5242 -0.156831 47.8541 1.24884 46.8008C2.61052 45.7451 4.89449 44.6483 6.65206 45.1312C8.40866 45.6146 9.63837 48.0305 10.2097 49.6112C10.7361 50.9734 11.264 53.1268 10.9116 54.576H10.9566V54.5755Z" fill="#85C51F"/>
34
+ <path d="M10.2089 54.3527C10.2519 54.0893 10.2968 53.8254 10.2968 53.5179C9.72596 51.102 8.36381 48.3352 6.82666 47.8962C4.45472 47.1924 -0.332675 50.3557 -0.0701995 53.6064C1.24798 55.6269 4.05979 57.296 6.07983 57.383C7.92441 57.4715 9.81345 56.2408 10.2093 54.3962V54.3527H10.2089Z" fill="#70A91B"/>
35
+ <path d="M8.01301 51.8928C8.62738 50.6631 7.61856 48.5107 6.08045 48.6861C4.45532 48.9061 0.941162 51.322 0.941162 53.211C0.941162 54.3972 2.56628 55.232 4.2789 54.7491C5.55308 54.3972 7.52963 52.9036 8.01301 51.8928ZM9.37468 54.9676C9.68211 54.2208 9.24272 52.9036 8.36442 53.0346C7.44213 53.211 5.24518 54.7917 5.33363 55.6705C5.37665 56.3738 6.60733 56.9886 7.57409 56.6367C8.27644 56.3738 9.11075 55.5825 9.37468 54.9676Z" fill="#5D8D17"/>
36
+ <path d="M5.59743 46.1667C5.64142 46.9575 4.10379 47.6594 3.48893 47.089C2.96157 46.0783 3.0945 44.8485 3.53292 44.5851C4.0163 44.3217 5.20251 44.805 5.59743 46.1667Z" fill="#2C440C"/>
37
+ <path d="M2.61053 47.6251C2.78503 48.5025 1.60026 49.2503 1.02843 48.8549C0.282088 48.108 0.0191236 46.7903 0.36909 46.4829C0.721473 46.1755 1.99519 46.6589 2.61053 47.6251Z" fill="#2C440C"/>
38
+ <path d="M11.6144 41.6626C11.9663 41.0038 11 40.5634 10.2092 40.256C9.4174 39.993 9.02297 39.993 8.71554 40.6519C8.36364 41.3107 8.18818 42.3205 9.02298 42.584C9.8133 42.8479 11.3069 42.3205 11.6588 41.6617H11.6144V41.6626Z" fill="#2C440C"/>
39
+ <path d="M12.3174 39.1913C12.4054 39.9376 11.3502 40.333 10.4729 40.509C9.63807 40.6849 9.28617 40.5965 9.19916 39.8497C9.11022 39.1019 9.33064 37.9171 10.2094 37.7417C11.0428 37.5662 12.229 38.444 12.3174 39.1913Z" fill="#2C440C"/>
40
+ <path d="M12.4925 36.7449C12.5819 37.4482 11.5262 37.8006 10.6489 37.9761C9.81412 38.1506 9.46223 38.0636 9.37522 37.3172C9.28579 36.6139 9.50621 35.5161 10.341 35.3402C11.1763 35.1642 12.3615 35.999 12.4495 36.7009L12.4925 36.7449Z" fill="#2C440C"/>
41
+ <path d="M5.59836 35.118C5.72984 35.6903 6.82807 35.5569 7.66286 35.3828C8.49717 35.1629 8.80508 34.987 8.62913 34.4161C8.49717 33.8447 7.96982 33.0544 7.13696 33.2739C6.30216 33.4933 5.46736 34.5481 5.59836 35.1629V35.118Z" fill="#2C440C"/>
42
+ <path d="M4.85106 42.0935L5.11403 42.8398L4.54315 42.4009C4.27874 42.1809 4.06025 41.8735 3.8843 41.5221C3.92732 41.8735 3.97228 42.0939 4.06026 42.4009C3.22595 41.0387 2.47815 39.5456 2.96104 37.5695C3.4014 35.768 5.20248 34.9332 6.47619 34.5823C7.26652 34.3628 8.14434 34.2308 8.93466 34.3188C9.41804 34.3628 10.2528 34.4943 10.6043 34.9332C10.9557 35.374 11.1316 36.2953 11.2191 36.9102C11.3506 37.8765 11.3076 38.8867 11.1761 39.853C11.0437 40.7308 10.7807 41.5661 10.3413 42.2689C9.98988 42.7963 9.59399 43.1912 9.06808 43.4116C8.45177 43.6746 7.83692 43.7186 7.17758 43.5871C6.30025 43.4116 5.50943 42.8843 4.80612 42.1374L4.85106 42.0935Z" fill="#85C51F"/>
43
+ <path d="M10.1654 35.5449C10.6928 36.1607 10.9562 38.7531 10.3409 40.6412C10.1654 40.6856 9.94549 40.7291 9.72652 40.7291C8.75976 40.8176 7.83651 40.3787 7.22213 39.8513C7.26612 40.1147 7.3541 40.2902 7.44208 40.4222C6.91471 40.2037 6.47579 39.5444 6.16788 38.7971C6.2109 39.4124 6.29985 39.6758 6.38734 40.0277C5.72801 39.8078 5.20161 39.061 4.80572 38.2711C4.4543 37.5678 4.49828 36.5571 5.11314 36.1186C6.73826 34.9324 9.5061 34.8445 10.1205 35.5913L10.1654 35.5449Z" fill="#A1E141"/>
44
+ <path d="M45.524 54.5755C46.0069 56.7715 48.2028 58.2212 50.3998 58.1332C53.4301 58.0007 58.13 54.663 58.0416 51.3688C57.999 49.5242 56.6359 47.8541 55.2312 46.8008C53.8695 45.7451 51.5846 44.6483 49.828 45.1312C48.0719 45.6146 46.8417 48.0305 46.2703 49.6112C45.7429 50.9734 45.2161 53.1268 45.5684 54.576H45.524V54.5755Z" fill="#85C51F"/>
45
+ <path d="M46.2283 54.3527C46.1839 54.0893 46.1389 53.8254 46.1389 53.5179C46.7103 51.102 48.072 48.3352 49.6096 47.8962C51.981 47.1924 56.7684 50.3557 56.506 53.6064C55.1878 55.6269 52.376 57.296 50.3564 57.383C48.5113 57.4715 46.6223 56.2408 46.2269 54.3962V54.3527H46.2283Z" fill="#70A91B"/>
46
+ <path d="M48.4663 51.8928C47.8505 50.6631 48.8608 48.5107 50.3994 48.6861C52.0245 48.9061 55.5382 51.322 55.5382 53.211C55.5382 54.3972 53.9131 55.232 52.2 54.7491C50.9258 54.3972 48.9497 52.9036 48.4663 51.8928ZM47.1047 54.9676C46.7972 54.2208 47.2362 52.9036 48.1149 53.0346C49.0372 53.211 51.2327 54.7917 51.1457 55.6705C51.1017 56.3738 49.872 56.9886 48.9053 56.6367C48.2024 56.3738 47.3681 55.5825 47.1047 54.9676Z" fill="#5D8D17"/>
47
+ <path d="M50.8383 46.1667C50.7939 46.9575 52.332 47.6594 52.9464 47.089C53.4738 46.0783 53.3413 44.8485 52.9029 44.5851C52.4195 44.3217 51.2328 44.805 50.8383 46.1667Z" fill="#2C440C"/>
48
+ <path d="M53.8247 47.6251C53.6502 48.5025 54.835 49.2503 55.4068 48.8549C56.1532 48.108 56.4161 46.7903 56.0662 46.4829C55.7138 46.1755 54.4396 46.6589 53.8247 47.6251Z" fill="#2C440C"/>
49
+ <path d="M44.8216 41.6626C44.4702 41.0038 45.4365 40.5634 46.2282 40.256C47.019 39.993 47.413 39.993 47.7209 40.6519C48.0723 41.3107 48.2483 42.3205 47.413 42.584C46.6232 42.8479 45.129 42.3205 44.7776 41.6617H44.8216V41.6626Z" fill="#2C440C"/>
50
+ <path d="M44.1628 39.1913C44.0753 39.9376 45.1291 40.333 46.0079 40.509C46.8427 40.6849 47.1941 40.5965 47.2816 39.8497C47.3696 39.1019 47.1506 37.9171 46.2713 37.7417C45.437 37.5662 44.2513 38.444 44.1628 39.1913Z" fill="#2C440C"/>
51
+ <path d="M43.9433 36.7449C43.8543 37.4482 44.9095 37.8006 45.7869 37.9761C46.6217 38.1506 46.9736 38.0636 47.0606 37.3172C47.15 36.6139 46.9296 35.5161 46.0943 35.3402C45.26 35.1642 44.0743 35.999 43.9863 36.7009L43.9433 36.7449Z" fill="#2C440C"/>
52
+ <path d="M50.8844 35.118C50.7519 35.6903 49.6537 35.5569 48.8189 35.3828C47.9856 35.1629 47.6772 34.987 47.8527 34.4161C47.9856 33.8447 48.5115 33.0544 49.3458 33.2739C50.1811 33.4933 51.0154 34.5481 50.8844 35.1629V35.118Z" fill="#2C440C"/>
53
+ <path d="M51.587 42.0935L51.3236 42.8398L51.8944 42.4009C52.1593 42.1809 52.3778 41.8735 52.5533 41.5221C52.5103 41.8735 52.4658 42.0939 52.3778 42.4009C53.2121 41.0387 53.9599 39.5456 53.4765 37.5695C53.0367 35.768 51.2351 34.9332 49.9619 34.5823C49.1711 34.3628 48.2937 34.2308 47.5029 34.3188C47.02 34.3628 46.1852 34.4943 45.8338 34.9332C45.4819 35.374 45.3065 36.2953 45.219 36.9102C45.0875 37.8765 45.13 38.8867 45.2625 39.853C45.3944 40.7308 45.6569 41.5661 46.0968 42.2689C46.4477 42.7963 46.8441 43.1912 47.37 43.4116C47.9863 43.6746 48.6007 43.7186 49.26 43.5871C50.1374 43.4116 50.9282 42.8843 51.632 42.1374L51.587 42.0935Z" fill="#85C51F"/>
54
+ <path d="M46.2713 35.5449C45.7439 36.1607 45.4805 38.7531 46.0958 40.6412C46.2713 40.6856 46.4912 40.7291 46.7102 40.7291C47.677 40.8176 48.5998 40.3787 49.2146 39.8513C49.1701 40.1147 49.0826 40.2902 48.9947 40.4222C49.522 40.2037 49.9609 39.5444 50.2684 38.7971C50.2254 39.4124 50.1364 39.6758 50.0494 40.0277C50.7087 39.8078 51.2347 39.061 51.631 38.2711C51.982 37.5678 51.9385 36.5571 51.3236 36.1186C49.6985 34.9324 46.9306 34.8445 46.3163 35.5913L46.2713 35.5449Z" fill="#A1E141"/>
55
+ </g>
56
+ </svg>
vue/dist/img/bell.4c686e25.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M10.2 18.9c0 .1-.1.2-.2.2-1.1 0-2-.9-2-2 0-.1.1-.1.2-.1s.2.1.2.2c0 .9.7 1.6 1.6 1.6.1-.1.2 0 .2.1zm9.1-3.2c-1.7-1.4-3.6-3.9-3.6-9.3 0-2.1-1.8-4.5-4.7-4.9.1-.1.1-.3.1-.4C11.1.5 10.6 0 10 0S8.9.5 8.9 1.1c0 .2 0 .3.1.4-3 .4-4.7 2.8-4.7 4.9 0 5.4-1.9 7.9-3.6 9.3 0 .8.6 1.4 1.4 1.4h5c0 1.6 1.3 2.9 2.9 2.9s2.9-1.3 2.9-2.9h5c.7 0 1.4-.6 1.4-1.4z" fill="#F2A64C"/></svg>
vue/dist/img/blue-help.6529ddbb.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="19" height="20" viewBox="0 0 19 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0 10C0 4.756 4.256 0.5 9.5 0.5C14.744 0.5 19 4.756 19 10C19 15.244 14.744 19.5 9.5 19.5C4.256 19.5 0 15.244 0 10ZM10.6944 16.0556H8.75V14.1111H10.6944V16.0556ZM9.5 18C5.09 18 1.5 14.41 1.5 10C1.5 5.59 5.09 2 9.5 2C13.91 2 17.5 5.59 17.5 10C17.5 14.41 13.91 18 9.5 18ZM5.83333 8.27779C5.83333 6.12917 7.57361 4.3889 9.72222 4.3889C11.8708 4.3889 13.6111 6.12917 13.6111 8.27779C13.6111 9.52507 12.843 10.1963 12.0952 10.8498C11.3857 11.4698 10.6944 12.0739 10.6944 13.1389H8.75C8.75 11.3682 9.66595 10.6661 10.4713 10.0489C11.103 9.56463 11.6667 9.13258 11.6667 8.27779C11.6667 7.20834 10.7917 6.33334 9.72222 6.33334C8.65278 6.33334 7.77778 7.20834 7.77778 8.27779H5.83333Z" fill="#087CE1"/>
3
+ </svg>
vue/dist/img/blue-information-circle.ec9999c2.svg ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0)">
3
+ <circle cx="10" cy="10" r="10" fill="#087CE1"/>
4
+ <path d="M10.2173 7.43462C10.8896 7.43462 11.4346 6.88962 11.4346 6.21731C11.4346 5.54501 10.8896 5 10.2173 5C9.54501 5 9 5.54501 9 6.21731C9 6.88962 9.54501 7.43462 10.2173 7.43462Z" fill="white"/>
5
+ <path d="M11.4347 9.46344C11.4347 8.79113 10.8897 8.24613 10.2174 8.24613C9.54506 8.24613 9.00005 8.79113 9.00005 9.46344L9.00005 14.3327C9.00005 15.005 9.54506 15.55 10.2174 15.55C10.8897 15.55 11.4347 15.005 11.4347 14.3327L11.4347 9.46344Z" fill="white"/>
6
+ </g>
7
+ <defs>
8
+ <clipPath id="clip0">
9
+ <rect width="20" height="20" fill="white"/>
10
+ </clipPath>
11
+ </defs>
12
+ </svg>
vue/dist/img/book-blue.27983dbf.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg fill="none" height="17" viewBox="0 0 20 17" width="20" xmlns="http://www.w3.org/2000/svg"><path d="m9.544 4.89227c-1.854-2.643-4.401-4.122995-7.669-4.391995v11.899025c3.308.216 5.772 1.617 7.669 3.816zm.912 0c1.854-2.643 4.401-4.122995 7.669-4.391995v11.899025c-3.308.216-5.772 1.617-7.669 3.816zm-9.441-1.763v10.15803c2.904-.081 5.498 1.165 7.111 2.76l.01.027c-3.224-1.301-6.794-.887-8.136-.353v-12.32303c.411-.074.743-.165 1.015-.269zm17.97 0v10.15803c-2.904-.081-5.498 1.165-7.111 2.76l-.01.027c3.224-1.301 6.794-.887 8.136-.353v-12.32303c-.411-.074-.743-.165-1.015-.269zm-6.382 8.72503s1.557-1.244 3.719-1.766c.268-.065.433-.33603.368-.60403s-.335-.433-.603-.368c-2.39.577-4.11 1.95803-4.11 1.95803-.215.172-.25.487-.077.702.172.216.487.251.703.078zm-5.249 0s-1.558-1.244-3.719-1.766c-.268-.065-.433-.33603-.369-.60403.065-.268.336-.433.604-.368 2.39.577 4.109 1.95803 4.109 1.95803.215.172.25.487.078.702-.173.216-.488.251-.703.078zm5.247-2.82803s1.558-1.232 3.721-1.754c.268-.065.433-.336.368-.604s-.335-.433-.603-.368c-2.389.577-4.108 1.942-4.108 1.942-.216.172-.252.486-.081.703.172.216.486.252.703.081zm-5.245 0s-1.558-1.232-3.721-1.754c-.268-.065-.433-.336-.369-.604.065-.268.336-.433.604-.368 2.388.577 4.107 1.942 4.107 1.942.216.172.253.486.081.703-.171.216-.486.252-.702.081zm5.252-2.643s1.555-1.276 3.714-1.798c.268-.065.433-.335.368-.603-.065-.269-.335-.434-.603-.369-2.393.578-4.115 1.997-4.115 1.997-.213.176-.243.491-.068.704s.491.244.704.069zm-5.259 0s-1.555-1.276-3.714-1.798c-.268-.065-.433-.335-.369-.603.065-.269.336-.434.604-.369 2.392.578 4.114 1.997 4.114 1.997.213.176.244.491.069.704-.176.213-.491.244-.704.069z" fill="#087ce1"/></svg>
vue/dist/img/campaigns-not-connected.bfe97ad3.jpg ADDED
Binary file
vue/dist/img/card-close.4249544e.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg fill="none" height="12" viewBox="0 0 13 12" width="13" xmlns="http://www.w3.org/2000/svg"><path d="m12.1667 1.175-1.175-1.175-4.65837 4.65833-4.65833-4.65833-1.175 1.175 4.65833 4.65833-4.65833 4.65837 1.175 1.175 4.65833-4.65837 4.65837 4.65837 1.175-1.175-4.65837-4.65837z" fill="#606a73"/></svg>
vue/dist/img/circle-plus.f6e8d6cc.svg ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <svg width="12" height="12" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0)">
3
+ <path d="M7.5 0.500122C3.61111 0.500122 0.5 3.61123 0.5 7.50012C0.5 11.389 3.61111 14.5001 7.5 14.5001C11.3889 14.5001 14.5 11.389 14.5 7.50012C14.5 3.61123 11.3889 0.500122 7.5 0.500122ZM7.5 12.9446C4.46667 12.9446 2.05556 10.5335 2.05556 7.50012C2.05556 4.46679 4.46667 2.05568 7.5 2.05568C10.5333 2.05568 12.9444 4.46679 12.9444 7.50012C12.9444 10.5335 10.5333 12.9446 7.5 12.9446ZM8.27778 4.38901H6.72222V6.72234H4.38889V8.2779H6.72222V10.6112H8.27778V8.2779H10.6111V6.72234H8.27778V4.38901ZM7.5 0.500122C3.61111 0.500122 0.5 3.61123 0.5 7.50012C0.5 11.389 3.61111 14.5001 7.5 14.5001C11.3889 14.5001 14.5 11.389 14.5 7.50012C14.5 3.61123 11.3889 0.500122 7.5 0.500122ZM7.5 12.9446C4.46667 12.9446 2.05556 10.5335 2.05556 7.50012C2.05556 4.46679 4.46667 2.05568 7.5 2.05568C10.5333 2.05568 12.9444 4.46679 12.9444 7.50012C12.9444 10.5335 10.5333 12.9446 7.5 12.9446ZM8.27778 4.38901H6.72222V6.72234H4.38889V8.2779H6.72222V10.6112H8.27778V8.2779H10.6111V6.72234H8.27778V4.38901Z" fill="#46B450"/>
4
+ </g>
5
+ <defs>
6
+ <clipPath id="clip0">
7
+ <rect width="15" height="14" fill="white" transform="translate(0 0.500122)"/>
8
+ </clipPath>
9
+ </defs>
10
+ </svg>
vue/dist/img/convert-abandon.bbbb1867.png ADDED
Binary file
vue/dist/img/dashboard-sample.af325968.png ADDED
Binary file
vue/dist/img/device-desktop.8a5dff08.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="31" height="26" viewBox="0 0 31 26" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M28.002 15.5C28.002 15.7656 27.7676 16 27.502 16H2.50195C2.23633 16 2.00195 15.7656 2.00195 15.5V2.5C2.00195 2.23437 2.23633 2 2.50195 2H27.502C27.7676 2 28.002 2.23437 28.002 2.5V15.5ZM30.002 2.5C30.002 1.125 28.877 -1.90735e-06 27.502 -1.90735e-06H2.50195C1.12695 -1.90735e-06 0.00195312 1.125 0.00195312 2.5V19.5C0.00195312 20.875 1.12695 22 2.50195 22H11.002C11.002 23.3594 10.002 24.4219 10.002 25C10.002 25.5469 10.4551 26 11.002 26H19.002C19.5488 26 20.002 25.5469 20.002 25C20.002 24.4531 19.002 23.3281 19.002 22H27.502C28.877 22 30.002 20.875 30.002 19.5V2.5Z" fill="#23282D"/>
3
+ </svg>
vue/dist/img/device-mobile.1aab316f.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="16" height="26" viewBox="0 0 16 26" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M9.60463 23.4286C9.60463 24.3125 8.88142 25.0357 7.99749 25.0357C7.11356 25.0357 6.39035 24.3125 6.39035 23.4286C6.39035 22.5446 7.11356 21.8214 7.99749 21.8214C8.88142 21.8214 9.60463 22.5446 9.60463 23.4286ZM13.7832 20.2143C13.7832 20.5558 13.4819 20.8571 13.1403 20.8571H2.85463C2.51311 20.8571 2.21177 20.5558 2.21177 20.2143V6.07143C2.21177 5.72991 2.51311 5.42857 2.85463 5.42857H13.1403C13.4819 5.42857 13.7832 5.72991 13.7832 6.07143V20.2143ZM9.92606 3.17857C9.92606 3.35938 9.78544 3.5 9.60463 3.5H6.39035C6.20954 3.5 6.06892 3.35938 6.06892 3.17857C6.06892 2.99777 6.20954 2.85714 6.39035 2.85714H9.60463C9.78544 2.85714 9.92606 2.99777 9.92606 3.17857ZM15.7118 2.85714C15.7118 1.45089 14.5466 0.285714 13.1403 0.285714H2.85463C1.44838 0.285714 0.283203 1.45089 0.283203 2.85714V23.4286C0.283203 24.8348 1.44838 26 2.85463 26H13.1403C14.5466 26 15.7118 24.8348 15.7118 23.4286V2.85714Z" fill="#23282D"/>
3
+ </svg>
vue/dist/img/device-tablet.b90738e2.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="15" height="18" viewBox="0 0 15 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8.28878 16.4286C8.28878 16.8583 7.93276 17.2143 7.50307 17.2143C7.07338 17.2143 6.71736 16.8583 6.71736 16.4286C6.71736 15.9989 7.07338 15.6429 7.50307 15.6429C7.93276 15.6429 8.28878 15.9989 8.28878 16.4286ZM13.0031 14.4643C13.0031 14.673 12.8189 14.8571 12.6102 14.8571H2.39593C2.18722 14.8571 2.00307 14.673 2.00307 14.4643V2.67857C2.00307 2.46987 2.18722 2.28571 2.39593 2.28571H12.6102C12.8189 2.28571 13.0031 2.46987 13.0031 2.67857V14.4643ZM14.5745 2.67857C14.5745 1.59821 13.6906 0.714285 12.6102 0.714285H2.39593C1.31557 0.714285 0.431641 1.59821 0.431641 2.67857V16.0357C0.431641 17.1161 1.31557 18 2.39593 18H12.6102C13.6906 18 14.5745 17.1161 14.5745 16.0357V2.67857Z" fill="#23282D"/>
3
+ </svg>
vue/dist/img/document.37d72e1e.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="16" height="19" viewBox="0 0 16 19" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M14.742 4.3189L11.61 1.1869C11.232 0.808899 10.494 0.502899 9.972 0.502899H0.972C0.432 0.502899 0 0.934899 0 1.4569V17.5309C0 18.0709 0.432 18.5029 0.972 18.5029H14.472C14.994 18.5029 15.426 18.0709 15.426 17.5309V5.9569C15.426 5.4349 15.12 4.6969 14.742 4.3189ZM10.278 1.8709C10.458 1.9249 10.62 2.0149 10.692 2.0869L13.842 5.2369C13.914 5.3089 14.004 5.4709 14.058 5.6509H10.278V1.8709ZM14.148 17.2069H1.278V1.7809H9V5.9569C9 6.4969 9.432 6.9289 9.972 6.9289H14.148V17.2069ZM3.852 8.5309V9.1789C3.852 9.3589 3.996 9.5029 4.176 9.5029H11.25C11.43 9.5029 11.574 9.3589 11.574 9.1789V8.5309C11.574 8.3509 11.43 8.2069 11.25 8.2069H4.176C3.996 8.2069 3.852 8.3509 3.852 8.5309ZM11.25 10.7809H4.176C3.996 10.7809 3.852 10.9249 3.852 11.1049V11.7529C3.852 11.9329 3.996 12.0769 4.176 12.0769H11.25C11.43 12.0769 11.574 11.9329 11.574 11.7529V11.1049C11.574 10.9249 11.43 10.7809 11.25 10.7809ZM11.25 13.3549H4.176C3.996 13.3549 3.852 13.4989 3.852 13.6789V14.3269C3.852 14.5069 3.996 14.6509 4.176 14.6509H11.25C11.43 14.6509 11.574 14.5069 11.574 14.3269V13.6789C11.574 13.4989 11.43 13.3549 11.25 13.3549Z" fill="#087CE1"/>
3
+ </svg>
vue/dist/img/expand-more.9be22a9c.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M1.41 7.70505L6 3.12505L10.59 7.70505L12 6.29505L6 0.295047L1.23266e-07 6.29505L1.41 7.70505Z" fill="#6C7781"/>
3
+ </svg>
vue/dist/img/facebook.92226bc8.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="12" height="13" viewBox="0 0 12 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M9.75 0.597335H2.25C1.00781 0.597335 0 1.60515 0 2.84734V10.3473C0 11.5895 1.00781 12.5973 2.25 12.5973H6.40625V7.9489H4.84375V6.1364H6.40625V4.80046C6.40625 3.25359 7.35938 2.40984 8.74219 2.40984C9.39844 2.40984 9.96875 2.45671 10.1328 2.48015V4.09734L9.17969 4.10515C8.42188 4.10515 8.28125 4.45671 8.28125 4.98015V6.1364H10.0703L9.83594 7.9489H8.28125V12.5973H9.75C10.9922 12.5973 12 11.5895 12 10.3473V2.84734C12 1.60515 10.9922 0.597335 9.75 0.597335Z" fill="white"/>
3
+ </svg>
vue/dist/img/featured-in-logos.833528c5.svg ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <svg width="636" height="129" viewBox="0 0 636 129" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M123.137 36.5594C123.137 39.2431 125.312 41.4147 127.995 41.4147C130.676 41.4147 132.851 39.2431 132.851 36.5594C132.851 33.8773 130.676 31.7023 127.995 31.7023C125.312 31.7023 123.137 33.8773 123.137 36.5594Z" fill="#C9D0D6"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M17.2898 2.09042V11.2812H22.4035V32.7374H17.2898V41.2745H44.5569V32.7311H39.4462V11.2812H44.5569V2.09042H17.2898Z" fill="#C9D0D6"/>
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M45.9724 11.289V19.8404H49.8227V32.7247H45.9724V41.2651H67.3064V32.7247H63.2394V25.3212C63.2394 22.1891 65.6002 19.8787 68.7371 19.8787C71.2082 19.8787 73.1311 21.0893 73.1311 23.7805V32.7247H69.1741V41.2651H90.0086V32.8553C89.9888 32.8113 89.971 32.7656 89.9482 32.7217H86.5437V21.4194C86.5437 14.217 81.2678 11.5775 74.7811 11.5775C70.1646 11.5775 66.6453 12.842 63.5679 16.3627C63.3478 16.6367 63.0721 16.9653 62.7982 17.1855V11.289H45.9724Z" fill="#C9D0D6"/>
5
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M107.625 11.4299C98.1165 11.4299 88.7776 16.0971 88.7678 26.697C88.771 28.9521 89.1948 30.9394 89.9515 32.6695H90.0119V32.8031C92.8633 39.1111 100.191 41.9628 107.625 41.9628C113.684 41.9628 122.1 40.505 123.991 31.1839L124.084 30.1912L112.996 30.1845L112.619 30.1829C112.619 33.3346 110.332 34.8247 107.734 34.8247C102.786 34.8247 102.401 30.6965 102.401 26.7411V26.6611V26.6547C102.401 22.6991 102.786 18.5745 107.734 18.5745C111.626 18.5745 112.285 21.952 112.425 25.15L123.936 23.8847C122.707 12.153 111.163 11.4153 108.274 11.4153C107.86 11.4153 107.625 11.4299 107.625 11.4299Z" fill="#C9D0D6"/>
6
+ <path d="M505.431 117.449H510.906L513.842 100.65H508.367L507.284 106.666H502.538L503.62 100.65H498.146L495.21 117.449H500.685L501.788 111.163H506.535L505.431 117.449Z" fill="#C9D0D6"/>
7
+ <path d="M516.951 100.525L515.285 109.872C515.14 110.601 515.077 111.309 515.077 111.975C515.077 116.929 519.407 117.678 522.009 117.678C527.464 117.678 529.816 115.868 530.669 110.975L532.501 100.504H527.026L525.465 109.289C524.965 112.037 524.612 113.474 522.571 113.474C521.239 113.474 520.594 112.766 520.594 111.309C520.594 110.746 520.677 110.06 520.844 109.206L522.426 100.504H516.951V100.525Z" fill="#C9D0D6"/>
8
+ <path d="M569.975 108.852H568.392L569.121 104.897H570.599C571.806 104.897 572.452 105.5 572.452 106.604C572.452 107.998 571.515 108.852 569.975 108.852ZM561.439 117.324H566.914L567.685 112.995H570.266C575.033 112.995 577.677 110.413 577.677 105.709C577.677 102.399 575.387 100.504 571.369 100.504H564.375L561.439 117.324Z" fill="#C9D0D6"/>
9
+ <path d="M586.708 113.388C585.292 113.388 584.46 112.369 584.46 110.662C584.46 110.016 584.522 109.454 584.647 108.809C585.063 106.602 585.771 104.583 587.999 104.583C589.414 104.583 590.247 105.603 590.247 107.31C590.247 107.955 590.185 108.517 590.06 109.162C589.643 111.348 588.935 113.388 586.708 113.388ZM588.311 100.211C582.357 100.211 578.798 104.062 578.798 110.536C578.798 115.033 581.629 117.739 586.375 117.739C592.329 117.739 595.888 113.888 595.888 107.414C595.909 102.897 593.078 100.211 588.311 100.211Z" fill="#C9D0D6"/>
10
+ <path d="M614.939 117.449H620.414L622.579 105.147H626.7L627.491 100.65H613.482L612.691 105.147H617.062L614.939 117.449Z" fill="#C9D0D6"/>
11
+ <path d="M605.859 106.79C604.132 106.248 603.424 106.019 603.424 105.207C603.424 104.666 603.778 104.021 604.819 104.021C605.589 104.021 606.234 104.458 606.484 105.103L611.313 103.792C610.751 101.419 608.711 100.211 605.193 100.211C598.573 100.211 598.053 104.645 598.053 105.998C598.053 108.746 599.51 110.433 602.674 111.307C603.507 111.536 604.465 111.785 604.465 112.701C604.465 113.43 603.923 113.888 602.987 113.888C602.133 113.888 601.217 113.388 600.905 112.514L596.138 113.805C596.658 116.303 599.011 117.718 602.695 117.718C605.505 117.718 610.21 116.969 610.21 111.89C610.231 109.35 608.794 107.684 605.859 106.79Z" fill="#C9D0D6"/>
12
+ <path d="M492.154 117.449L495.11 100.65H486.055V117.449H492.154Z" fill="#C9D0D6"/>
13
+ <path d="M629.835 100.65L626.9 117.449H635.955V100.65H629.835Z" fill="#C9D0D6"/>
14
+ <path d="M535.627 100.504L532.692 117.324H538.167L539.041 112.37H543.642L544.391 108.144H539.791L540.311 105.022H546.744L547.535 100.504H535.627Z" fill="#C9D0D6"/>
15
+ <path d="M549.983 100.504L547.047 117.324H552.522L553.376 112.37H557.997L558.746 108.144H554.146L554.667 105.022H561.099L561.89 100.504H549.983Z" fill="#C9D0D6"/>
16
+ <g clip-path="url(#clip0)">
17
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M283.172 14.5931C291.793 14.5931 296.103 20.4553 296.103 28.2131C296.103 35.6265 291.275 41.8351 282.654 41.8351C274.034 41.8351 269.724 35.9719 269.724 28.2131C269.724 20.7998 274.551 14.5931 283.172 14.5931ZM354.892 27.0064C354.719 33.3853 357.822 38.0408 364.03 38.0408C366.789 38.0408 368.167 37.3529 369.893 36.1452L370.581 37.0064C368.856 39.4198 365.064 41.8351 360.237 41.8351C352.479 41.8341 346.962 36.3174 346.962 28.3864C346.962 21.3175 351.444 14.5931 360.237 14.5931C367.477 14.5931 370.926 19.9386 370.926 27.0064H354.892ZM334.377 14.9376C331.964 14.9376 330.068 15.4553 328.172 16.4888C328.172 10.9721 328.172 5.97312 328.345 4.24971L316.793 6.3176V7.35204L318 7.52428C319.55 7.86876 320.069 8.72997 320.411 10.7999C320.758 14.9376 320.584 37.0054 320.411 40.6264C323.514 41.3164 326.791 41.8341 330.067 41.8341C339.205 41.8341 344.722 36.1442 344.722 27.1787C344.722 20.1108 340.24 14.9376 334.377 14.9376ZM391.446 15.9731C389.377 15.1099 386.619 14.5931 383.516 14.5931C377.138 14.5931 373.17 18.3854 373.17 22.8687C373.17 27.3519 376.099 29.2476 380.241 30.6275C384.55 32.1777 385.758 33.3853 385.758 35.4542C385.758 37.5231 384.206 39.4188 381.447 39.4188C378.172 39.4188 375.757 37.5231 373.861 32.3499L372.654 32.6964L372.827 40.282C374.896 41.1432 378.688 41.8341 381.965 41.8341C388.689 41.8341 393 38.3843 393 33.0409C393 29.4198 391.102 27.3519 386.62 25.6265C381.791 23.7309 380.069 22.5242 380.069 20.2821C380.069 18.0409 381.623 16.4888 383.692 16.4888C386.793 16.4888 388.862 18.3854 390.416 23.0409L391.622 22.6964L391.446 15.9731ZM318.515 15.2831C315.585 13.5607 310.412 14.4209 307.654 20.6285L307.825 14.5941L296.275 16.8353V17.8697L297.482 18.0419C299.035 18.2152 299.723 19.0764 299.896 21.3185C300.241 25.4563 300.069 32.6984 299.896 36.3184C299.723 38.3853 299.035 39.4198 297.482 39.593L296.275 39.7662V41.1451H312.309V39.7662L310.24 39.593C308.516 39.4198 307.999 38.3853 307.825 36.3184C307.481 33.0419 307.481 26.4907 307.654 22.3529C308.515 21.1453 312.309 20.1118 315.756 22.3529L318.515 15.2831ZM273.344 4.93867L273.518 15.1109L271.793 15.6286C270.07 10.4554 267.656 7.52528 263 7.52528H256.966C256.793 10.8008 256.621 16.3175 256.621 22.1797L260.758 22.0065C263.344 22.0065 264.549 19.9386 265.068 17.0075H266.62V29.2446H265.068C264.55 26.3145 263.344 24.2456 260.758 24.2456L256.62 24.0734C256.62 28.5546 256.792 32.1757 256.965 34.4178C257.31 37.6944 258.172 39.2455 260.413 39.4168L262.482 39.7632V41.1422H243V39.7632L244.724 39.4168C246.966 39.2465 247.827 37.6944 248.171 34.4178C248.517 29.0753 248.69 17.8677 248.171 11.6611C247.828 8.38549 246.965 7.00656 244.724 6.66208L243 6.48984V4.93867H273.344ZM282.654 16.3175C278.861 16.3175 277.827 21.4898 277.827 28.2131C277.827 34.7643 279.551 40.1087 283 40.1087C286.962 40.1087 287.999 34.9365 287.999 28.2131C287.999 21.662 286.276 16.3175 282.654 16.3175ZM330.412 39.9365C334.033 39.9365 336.62 34.593 336.62 27.6944C336.62 22.1787 334.552 17.6965 330.756 17.6965C329.893 17.6965 329.204 17.8687 328.17 18.2142C327.998 27.1787 328.17 37.3519 328.343 39.7652C328.859 39.9365 329.722 39.9365 330.412 39.9365ZM354.892 25.1108L362.995 24.9376C362.995 21.4897 362.478 16.3175 359.547 16.3175C356.617 16.3175 355.063 21.1443 354.892 25.1108Z" fill="#C9D0D6"/>
18
+ </g>
19
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M583.796 0.114365C583.815 0.112839 599.833 -1.2544 599.833 12.2571C599.833 13.8827 600.13 19.5794 592.608 22.4497C596.9 23.6203 601.147 26.5698 601.147 33.6584C601.147 44.3293 592.273 45.9184 584.371 45.9854V45.9875H563.488V36.5531H567.633V9.5488H560.851L549.668 45.9875H534.987L523.46 9.5488H520.863V0.114365H540.102V9.5488H536.227L542.798 35.4802L549.939 9.5488H545.932V0.114365H583.796ZM583.796 27.3236H579.389V36.5531H583.796C589.69 36.5642 588.935 31.8809 588.938 31.9295C588.866 30.947 588.566 27.2091 583.796 27.3236ZM583.796 18.5902V18.6039C587.84 17.9412 587.957 14.9308 587.969 13.8249C587.988 12.248 587.157 9.60635 583.996 9.5488H579.389V18.5902H583.796Z" fill="#C9D0D6"/>
20
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M15.2557 128.086C17.4609 128.086 18.2696 126.86 18.2696 125.684C18.2696 122.634 13.4303 123.687 13.4303 121.85C13.4303 121.078 14.1409 120.551 15.1086 120.551C16.003 120.551 16.8607 120.845 17.4733 121.531L18.0859 120.784C17.3998 120.061 16.4319 119.632 15.1945 119.632C13.5774 119.632 12.3767 120.563 12.3767 121.911C12.3767 124.827 17.216 123.651 17.216 125.758C17.216 126.395 16.7503 127.179 15.2926 127.179C14.1409 127.179 13.2587 126.616 12.732 126.003L12.1194 126.787C12.7932 127.547 13.8468 128.086 15.2557 128.086ZM136.74 128.086C138.945 128.086 139.754 126.86 139.754 125.684C139.754 122.634 134.915 123.687 134.915 121.85C134.915 121.078 135.625 120.551 136.593 120.551C137.487 120.551 138.345 120.845 138.958 121.531L139.57 120.784C138.884 120.061 137.916 119.632 136.679 119.632C135.062 119.632 133.861 120.563 133.861 121.911C133.861 124.827 138.701 123.651 138.701 125.758C138.701 126.395 138.235 127.179 136.777 127.179C135.625 127.179 134.743 126.616 134.216 126.003L133.604 126.787C134.278 127.547 135.331 128.086 136.74 128.086ZM78.9016 119.767V124.741C78.9016 126.236 79.6979 127.179 81.2049 127.179C82.7116 127.179 83.5203 126.236 83.5203 124.741V119.767H84.5494V124.753C84.5494 126.787 83.4223 128.086 81.2049 128.086C78.9996 128.086 77.8725 126.775 77.8725 124.765V119.767H78.9016ZM91.5571 128.086C93.7624 128.086 94.5711 126.86 94.5711 125.684C94.5711 122.634 89.7317 123.687 89.7317 121.85C89.7317 121.078 90.4424 120.551 91.4103 120.551C92.3044 120.551 93.1621 120.845 93.7747 121.531L94.3873 120.784C93.7012 120.061 92.7333 119.632 91.496 119.632C89.8788 119.632 88.6781 120.563 88.6781 121.911C88.6781 124.827 93.5175 123.651 93.5175 125.758C93.5175 126.395 93.0519 127.179 91.594 127.179C90.4424 127.179 89.5601 126.616 89.0334 126.003L88.4208 126.787C89.0946 127.547 90.1482 128.086 91.5571 128.086ZM127.111 128.086C129.316 128.086 130.124 126.86 130.124 125.684C130.124 122.634 125.285 123.687 125.285 121.85C125.285 121.078 125.996 120.551 126.964 120.551C127.858 120.551 128.716 120.845 129.328 121.531L129.941 120.784C129.255 120.061 128.287 119.632 127.049 119.632C125.432 119.632 124.231 120.563 124.231 121.911C124.231 124.827 129.071 123.651 129.071 125.758C129.071 126.395 128.605 127.179 127.147 127.179C125.996 127.179 125.114 126.616 124.587 126.003L123.974 126.787C124.648 127.547 125.702 128.086 127.111 128.086ZM23.2558 127.939H22.2389V119.767H23.6969L26.2453 126.064L28.7813 119.767H30.2391V127.939H29.2223V121.066L26.4535 127.939H26.037L23.2558 121.066V127.939ZM54.4846 127.032H58.2825V127.939H53.4677V119.767H54.4846V127.032ZM71.4405 127.939H67.7161V119.767H71.3548C72.7759 119.767 73.6457 120.625 73.6457 121.85C73.6457 122.879 72.9596 123.565 72.2123 123.724C73.0822 123.859 73.805 124.753 73.805 125.733C73.805 127.044 72.9351 127.939 71.4405 127.939ZM99.5573 127.939H98.5406V119.767H99.5573V127.939ZM104.936 127.939H103.919V119.767H104.96L109.665 126.15V119.767H110.682V127.939H109.701L104.936 121.421V127.939ZM120.397 120.674H116.06V123.308H120.311V124.214H116.06V127.032H120.397V127.939H115.043V119.767H120.397V120.674ZM41.5961 127.939H40.4323L39.7095 126.113H35.642L34.9192 127.939H33.7552L37.0509 119.767H38.3127L41.5961 127.939ZM45.9945 127.032H49.7924V127.939H44.9775V119.767H45.9945V127.032ZM71.2444 124.214H68.7328V127.032H71.2444C72.1878 127.032 72.7514 126.493 72.7514 125.623C72.7514 124.876 72.2368 124.214 71.2444 124.214ZM39.4154 125.219L37.6756 120.808L35.9483 125.219H39.4154ZM71.1832 120.674H68.7328V123.308H71.1832C72.1021 123.308 72.5921 122.744 72.5921 121.997C72.5921 121.262 72.1021 120.674 71.1832 120.674ZM140.485 114.373C140.485 113.193 141.203 112.095 142.641 112.095C144.018 112.095 145.048 112.919 145.048 114.234C145.048 115.873 143.964 116.477 142.97 116.477C141.597 116.477 140.485 115.764 140.485 114.373ZM27.468 81.7118L27.472 81.7091C25.7582 84.0256 19.549 94.787 15.7289 101.488L15.6391 101.646L15.9135 116.37L15.9099 116.369C15.8377 116.356 14.6683 116.149 13.7226 116.149C12.8685 116.149 11.6046 116.356 11.5266 116.369L11.5228 116.37L11.7972 101.646L11.7731 101.604C9.70795 98.0305 3.73291 87.3349 0 81.7091L0.022039 81.7142C1.89423 82.1382 2.68718 82.1112 4.57219 81.7091L4.6003 81.7588C6.98816 85.9851 10.6352 91.8762 13.7181 96.9819L13.8623 96.7446C16.9187 91.7215 21.584 84.0924 22.8625 81.7091L22.8798 81.7136C24.3497 82.0952 25.8306 82.0813 27.4707 81.7091L27.468 81.7118ZM122.569 83.3449C112.909 83.3449 105.525 88.8304 105.525 99.029C105.525 107.432 110.436 114.828 122.649 114.828C132.989 114.828 139.74 109.143 139.74 99.1777C139.74 89.7805 133.442 83.3449 122.569 83.3449ZM122.581 85.0511C129.835 85.0511 135.178 89.458 135.178 99.1777C135.178 109.744 128.715 113.17 122.592 113.17C116.051 113.17 110.092 109.331 110.092 98.9692C110.092 88.229 116.697 85.0511 122.581 85.0511ZM89.0804 84.9969C79.3801 84.9969 74.2909 91.1476 74.2909 99.1205C74.2909 107.848 79.8468 113.17 89.0663 113.17C99.0335 113.17 103.902 107.172 103.902 99.2121C103.902 90.3376 98.0881 84.9969 89.0804 84.9969ZM32.5972 85.3588C33.7149 85.7321 34.6419 85.7544 35.7812 85.357L35.7798 85.3579C39.2867 94.2315 44.8046 107.662 47.5543 112.797L47.5581 112.798L47.5545 112.797C46.3266 112.489 44.6656 112.37 42.9965 112.806L42.9969 112.806C41.9546 110.121 40.885 107.436 39.8193 104.755L39.8184 104.755C36.069 104.634 32.3202 104.649 28.5697 104.755L28.5643 104.752C27.4563 107.553 26.3485 110.338 25.3756 112.796L25.3671 112.793C25.3705 112.795 25.3738 112.797 25.3772 112.798C24.2766 112.5 22.6106 112.366 20.866 112.8L20.85 112.806L20.8516 112.803L20.866 112.8L20.8783 112.794L20.8516 112.803C24.6663 105.026 28.9086 94.596 32.5916 85.3554L32.5972 85.3588ZM72.9668 85.4746C72.5732 94.5999 72.6092 103.708 72.9713 112.803L72.954 112.799C71.4744 112.445 69.9596 112.431 68.4045 112.803L68.4133 112.798L68.3987 112.803C68.624 108.544 68.7425 104.289 68.7569 100.037C63.6441 99.9681 58.5315 99.9715 53.4187 100.043L53.416 100.041C53.4304 104.292 53.5487 108.546 53.774 112.803L53.7594 112.798L53.7684 112.803C52.2133 112.431 50.6984 112.445 49.2189 112.799L49.2014 112.803C49.565 103.672 49.5996 94.5286 49.2014 85.3673L49.2196 85.3716C50.765 85.7386 52.2823 85.7271 53.774 85.3673L53.7686 85.4744C53.5505 89.7036 53.4319 93.9364 53.4162 98.1726L53.4187 98.1715C58.5256 98.3004 63.6387 98.2905 68.7567 98.1715C68.7407 93.9 68.6204 89.6319 68.3987 85.3673L68.4162 85.3716C69.9083 85.7287 71.4259 85.7373 72.9713 85.3673L72.9668 85.4746ZM88.8434 86.6602C88.9277 86.6584 89.013 86.6602 89.0978 86.6602C95.0296 86.6602 99.3861 90.7008 99.3861 99.1435C99.3861 107.576 95.0355 111.615 89.109 111.615C82.643 111.615 78.8436 106.982 78.8436 99.1664C78.8436 90.3272 83.525 86.769 88.8434 86.6602ZM142.783 108.778C143.898 100.898 144.576 92.6166 145.227 84.3594C145.227 82.7132 146.315 82.0696 147.413 82.0696C147.605 82.0696 147.889 82.1096 147.889 82.1096L147.889 82.1114L147.89 82.1092C149.039 82.3012 149.807 83.0047 149.807 84.2154C149.807 84.6162 149.642 85.1802 149.531 85.6574C148.762 89.0505 145.756 101.038 144.49 109.041L144.492 109.046C143.986 108.842 143.465 108.666 142.793 108.78L142.782 108.782V108.782L142.778 108.782L142.783 108.778ZM34.1829 90.0909C33.1873 92.9539 31.3028 97.8095 29.3188 102.841L29.3226 102.84C32.5646 102.954 35.8082 102.952 39.0504 102.84L39.0601 102.844C37.366 98.5736 35.6993 94.3167 34.1829 90.0909Z" fill="#C9D0D6"/>
21
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M307.67 128.46H298.863C298.91 127.749 298.953 127.114 298.996 126.459C299.646 126.315 300.247 126.183 300.885 126.042V101.198C300.16 101.088 299.426 100.977 298.645 100.858V98.7841C300.58 98.5154 302.541 98.2431 304.571 97.9607C304.785 98.725 304.984 99.4351 305.192 100.18C305.274 100.108 305.362 100.046 305.43 99.9667C306.876 98.3037 308.741 97.731 310.87 97.9355C313.542 98.1928 315.013 99.8788 315.75 102.286C316.079 103.359 316.3 104.489 316.385 105.607C316.56 107.909 316.599 110.224 316.153 112.506C315.989 113.348 315.757 114.196 315.421 114.983C314.393 117.386 312.51 118.653 309.924 118.879C308.603 118.995 307.309 118.867 306.08 118.321C306.003 118.287 305.916 118.276 305.79 118.244V126.044C306.428 126.175 307.069 126.308 307.805 126.459C307.76 127.117 307.717 127.768 307.67 128.46ZM402.709 118.582H397.032C396.869 118.083 396.694 117.547 396.498 116.945C396.312 117.09 396.173 117.184 396.051 117.296C393.734 119.413 390.622 119.197 388.644 118.239C387.111 117.496 386.282 116.201 385.993 114.554C385.898 114.011 385.858 113.452 385.857 112.9C385.845 109.171 385.851 105.441 385.851 101.712V100.876C385.074 100.791 384.355 100.714 383.603 100.633V98.7388C385.759 98.4887 387.927 98.2371 390.167 97.9778C390.349 98.7253 390.669 99.3988 390.667 100.173C390.657 104.08 390.658 107.986 390.666 111.893C390.667 112.423 390.701 112.957 390.771 113.483C390.961 114.917 391.882 115.767 393.318 115.792C393.819 115.8 394.333 115.7 394.824 115.581C395.363 115.45 396.044 114.526 396.044 113.984C396.047 109.678 396.044 105.372 396.041 101.065C396.041 101.024 396.017 100.983 395.978 100.86C395.24 100.787 394.516 100.715 393.737 100.638V98.7352C395.923 98.486 398.116 98.2357 400.332 97.9832C400.601 98.8078 400.889 99.5553 400.886 100.403C400.866 105.353 400.876 110.303 400.876 115.253V116.054C401.585 116.199 402.227 116.331 402.925 116.474C402.852 117.19 402.782 117.865 402.709 118.582ZM287.885 109.684C287.883 111.342 288.14 112.812 289.025 114.105C289.815 115.261 290.906 115.866 292.333 115.89C293.667 115.912 294.93 115.648 296.15 115.131C296.311 115.064 296.475 115.003 296.698 114.916C296.967 115.531 297.23 116.133 297.526 116.812C297.166 117.056 296.824 117.333 296.443 117.539C293.985 118.867 291.398 119.325 288.677 118.531C286.396 117.866 284.902 116.287 283.919 114.189C282.835 111.877 282.59 109.425 282.801 106.91C282.929 105.374 283.261 103.885 283.914 102.482C284.975 100.201 286.634 98.6105 289.154 98.08C291.56 97.5739 293.8 97.8797 295.649 99.6623C296.747 100.721 297.354 102.073 297.775 103.518C298.208 104.999 298.358 106.523 298.363 108.052C298.365 108.552 298.071 109.052 297.91 109.56C294.546 109.601 291.25 109.642 287.885 109.684ZM347.098 109.56C343.716 109.602 340.42 109.643 337.069 109.684C337.088 111.488 337.373 113.118 338.511 114.488C339.243 115.369 340.187 115.836 341.343 115.882C342.65 115.935 343.905 115.72 345.113 115.225C345.357 115.126 345.602 115.03 345.895 114.913C346.163 115.533 346.423 116.135 346.71 116.799C346.477 116.971 346.262 117.152 346.025 117.3C343.723 118.741 341.213 119.238 338.564 118.724C336.089 118.244 334.362 116.698 333.248 114.478C332.115 112.219 331.795 109.799 331.966 107.299C332.08 105.628 332.399 104.003 333.11 102.475C333.943 100.685 335.157 99.2395 337.033 98.5016C339.23 97.6365 341.446 97.5514 343.583 98.7076C344.988 99.468 345.87 100.711 346.486 102.152C347.284 104.019 347.551 105.996 347.55 108.003C347.55 108.525 347.255 109.047 347.098 109.56ZM382.756 109.561C379.35 109.602 376.069 109.642 372.736 109.682C372.658 110.404 372.775 111.074 372.903 111.738C373.099 112.752 373.474 113.689 374.149 114.491C374.91 115.392 375.873 115.847 377.049 115.887C378.332 115.932 379.565 115.712 380.751 115.224C380.994 115.124 381.241 115.034 381.54 114.919C381.809 115.544 382.069 116.148 382.367 116.843C382.258 116.915 382.147 116.984 382.039 117.06C379.907 118.545 377.519 119.127 374.969 118.847C371.824 118.501 369.724 116.652 368.585 113.789C367.11 110.084 367.174 106.319 368.691 102.636C369.665 100.271 371.384 98.6359 373.958 98.0842C375.975 97.6518 377.928 97.7814 379.694 99C380.948 99.8656 381.714 101.095 382.255 102.481C382.951 104.261 383.216 106.125 383.173 108.023C383.161 108.531 382.906 109.033 382.756 109.561ZM263.532 94.2803V98.409H267.162C267.081 99.3277 267.009 100.149 266.934 101.001C265.82 101.128 264.767 101.248 263.672 101.374C263.648 101.562 263.607 101.732 263.607 101.901C263.609 105.872 263.614 109.843 263.622 113.813C263.622 114.079 263.623 114.347 263.659 114.609C263.775 115.44 264.346 115.961 265.188 115.986C265.85 116.005 266.512 115.99 267.254 115.99C267.329 116.729 267.399 117.424 267.471 118.128C266.95 118.478 266.384 118.572 265.824 118.679C264.596 118.913 263.366 119.002 262.123 118.787C260.228 118.459 258.992 117.179 258.77 115.273C258.725 114.878 258.722 114.476 258.722 114.078C258.718 110.085 258.72 106.092 258.717 102.099C258.716 101.862 258.685 101.625 258.668 101.377C257.895 101.249 257.178 101.129 256.376 100.995C256.413 100.168 256.45 99.3592 256.49 98.4686C257.343 98.427 258.173 98.3865 259.072 98.3424C259.454 97.0527 259.835 95.7664 260.224 94.4512C261.311 94.3955 262.369 94.3409 263.532 94.2803ZM417.864 117.337C417.864 118.144 417.116 118.79 416.166 118.79C415.216 118.79 414.459 118.144 414.459 117.337C414.459 116.54 415.216 115.893 416.166 115.893C417.116 115.893 417.864 116.54 417.864 117.337ZM403.922 98.9904C405.937 98.7124 407.882 98.4443 409.867 98.1706C410.026 98.7916 410.171 99.3604 410.306 99.8851C411.144 99.4992 411.957 99.0383 412.828 98.749C413.682 98.4647 414.593 98.3475 415.482 98.1703C416.251 98.0165 416.878 98.2434 417.349 98.9814C417.155 100.715 416.954 102.515 416.743 104.397C415.652 104.356 414.597 104.316 413.486 104.275C413.361 103.279 413.24 102.321 413.106 101.258C412.383 101.51 411.724 101.74 411.052 101.974V116.081C411.695 116.227 412.355 116.377 413.071 116.539C413.027 117.224 412.984 117.898 412.94 118.597H404.155C404.187 117.881 404.217 117.222 404.249 116.534C404.857 116.384 405.435 116.242 406.059 116.087V101.405C405.384 101.323 404.693 101.24 403.922 101.146V98.9904ZM356.965 118.589H348.223V116.481C348.894 116.336 349.514 116.203 350.173 116.062V101.402C349.456 101.32 348.719 101.236 347.943 101.147V98.9871C349.844 98.7151 351.725 98.4458 353.707 98.1631C353.884 98.8057 354.056 99.4291 354.223 100.039C354.66 99.7094 355.111 99.3181 355.61 99.0012C357.514 97.7907 359.565 97.5835 361.663 98.3445C363.426 98.9847 364.35 100.38 364.656 102.192C364.741 102.693 364.774 103.207 364.776 103.716C364.785 107.579 364.781 111.442 364.781 115.305V116.056C365.534 116.207 366.18 116.336 366.868 116.474C366.829 117.194 366.792 117.87 366.753 118.586H359.972C359.964 118.433 359.951 118.285 359.951 118.138C359.951 113.631 359.964 109.124 359.939 104.617C359.935 104.011 359.796 103.386 359.61 102.805C359.384 102.1 358.822 101.718 358.092 101.558C357.393 101.404 356.705 101.461 356.067 101.73C355.504 101.967 355.054 102.412 355.052 103.079C355.039 107.342 355.048 111.604 355.051 115.867C355.051 115.91 355.072 115.952 355.1 116.063C355.71 116.187 356.352 116.318 357.094 116.47C357.052 117.167 357.009 117.861 356.965 118.589ZM246.67 118.585H237.838C237.876 117.89 237.911 117.217 237.951 116.478C238.588 116.34 239.207 116.205 239.823 116.07C239.963 115.594 239.999 102.147 239.851 101.398C239.135 101.318 238.396 101.235 237.627 101.149V98.9931C239.516 98.7223 241.414 98.4503 243.405 98.1649C243.579 98.8042 243.745 99.412 243.929 100.085C244.091 99.9415 244.273 99.773 244.463 99.6129C246.31 98.053 248.43 97.5853 250.752 98.1508C252.766 98.6422 253.921 100.013 254.327 102.016C254.432 102.534 254.468 103.073 254.47 103.602C254.482 107.486 254.476 111.371 254.476 115.255V116.055C255.19 116.195 255.836 116.323 256.553 116.464C256.536 116.819 256.513 117.162 256.505 117.506C256.497 117.856 256.503 118.206 256.503 118.589H249.679V117.819C249.679 113.558 249.683 109.296 249.673 105.034C249.672 104.527 249.63 104.013 249.552 103.512C249.369 102.332 248.672 101.632 247.481 101.519C246.618 101.437 245.746 101.457 245.114 102.235C244.865 102.541 244.744 102.854 244.746 103.261C244.761 106.501 244.754 109.741 244.754 112.982C244.754 113.781 244.752 114.58 244.755 115.379C244.756 115.596 244.775 115.813 244.787 116.062C245.493 116.206 246.118 116.333 246.796 116.471C246.754 117.187 246.713 117.866 246.67 118.585ZM326.925 118.586H318.222V116.551C318.846 116.392 319.438 116.243 320.071 116.082V101.398C319.364 101.316 318.671 101.236 317.945 101.153V98.9937C319.878 98.7226 321.822 98.45 323.847 98.1661C324.017 98.7586 324.182 99.3412 324.348 99.9202C324.921 99.621 325.48 99.3067 326.057 99.0321C327.132 98.5214 328.287 98.3262 329.456 98.1646C330.233 98.0569 330.847 98.2482 331.354 98.9565C331.164 100.691 330.967 102.493 330.758 104.396C329.668 104.356 328.597 104.317 327.487 104.276C327.364 103.278 327.249 102.341 327.113 101.24C326.341 101.524 325.687 101.763 325.034 102.003V116.081C325.726 116.235 326.39 116.383 327.096 116.541L326.925 118.586ZM236.226 118.586H218.416V116.029C219.276 115.881 220.077 115.743 220.917 115.598V92.3058C219.963 92.2015 219.043 92.101 218.122 92V89.4689H235.84C235.706 91.7898 235.571 94.1109 235.432 96.5085C234.25 96.4665 233.131 96.427 231.954 96.3856C231.873 94.922 231.794 93.51 231.713 92.0458H226.3V102.422H228.645C228.826 101.668 229.006 100.919 229.194 100.137H231.611V107.275H229.237C229.043 106.508 228.845 105.724 228.641 104.915H226.31V115.93H231.752C231.925 114.364 232.098 112.807 232.279 111.166C233.499 111.207 234.687 111.246 235.941 111.288C236.037 113.736 236.13 116.139 236.226 118.586ZM277.757 118.576H269.033V116.548C269.658 116.389 270.25 116.237 270.856 116.083V101.396C270.149 101.314 269.474 101.236 268.758 101.153V98.9877C270.73 98.7142 272.674 98.4443 274.678 98.1667C274.832 98.782 274.974 99.3526 275.129 99.9715C275.364 99.8291 275.601 99.6809 275.842 99.5403C277.247 98.7208 278.775 98.3283 280.384 98.1523C281.162 98.0677 281.713 98.319 282.162 98.9706C281.963 100.74 281.762 102.541 281.554 104.403C280.438 104.357 279.383 104.314 278.289 104.269C278.166 103.275 278.051 102.337 277.931 101.361C277.137 101.425 276.474 101.667 275.849 102.087V116.076C276.505 116.225 277.165 116.375 277.872 116.535C277.833 117.217 277.796 117.871 277.757 118.576ZM414.967 117.346C414.967 117.95 415.476 118.429 416.166 118.429C416.857 118.429 417.365 117.95 417.365 117.337C417.365 116.741 416.857 116.254 416.157 116.254C415.476 116.254 414.967 116.741 414.967 117.346ZM415.955 118.026H415.485V116.691C415.591 116.674 415.84 116.649 416.157 116.649C416.502 116.649 416.655 116.691 416.77 116.75C416.867 116.808 416.934 116.909 416.934 117.044C416.934 117.178 416.79 117.295 416.579 117.346V117.362C416.752 117.413 416.847 117.513 416.895 117.707C416.943 117.9 416.972 117.976 417.001 118.026H416.473C416.425 117.976 416.397 117.858 416.368 117.74C416.339 117.606 416.262 117.539 416.109 117.539H415.955V118.026ZM415.974 117.262H416.109C416.281 117.262 416.397 117.203 416.397 117.102C416.397 116.993 416.291 116.934 416.128 116.934C416.07 116.934 416.013 116.943 415.974 116.943V117.262ZM305.755 115.473C307.337 116.143 308.856 116.178 310.408 115.634C310.717 115.526 310.896 115.343 310.969 115.046C311.156 114.275 311.39 113.508 311.503 112.724C311.844 110.344 311.8 107.948 311.623 105.559C311.562 104.749 311.411 103.928 311.169 103.152C310.641 101.461 309.493 100.809 307.74 101.099C307.653 101.113 307.567 101.14 307.481 101.157C306.427 101.359 305.758 102.16 305.757 103.238C305.754 107.117 305.755 110.996 305.755 114.875V115.473ZM343.127 107.059C343.066 106.39 343.033 105.799 342.956 105.215C342.81 104.114 342.592 103.029 342.034 102.048C341.311 100.777 340.226 100.412 338.873 100.962C338.531 101.101 338.291 101.312 338.131 101.663C337.539 102.968 337.247 104.347 337.078 105.759C337.019 106.254 336.99 106.754 336.938 107.348C339.046 107.25 341.044 107.156 343.127 107.059ZM293.939 107.061C293.885 106.445 293.855 105.938 293.794 105.435C293.648 104.244 293.423 103.07 292.821 102.01C292.16 100.846 291.159 100.482 289.89 100.891C289.39 101.052 289.06 101.333 288.861 101.825C288.196 103.466 287.868 105.173 287.786 106.934C287.781 107.055 287.829 107.178 287.86 107.345C289.876 107.251 291.859 107.158 293.939 107.061ZM378.757 107.064C378.696 105.665 378.54 104.381 378.145 103.13C377.944 102.491 377.628 101.923 377.215 101.388C376.428 100.369 373.984 100.575 373.609 101.972C373.305 103.102 372.922 104.208 372.767 105.374C372.683 106.004 372.566 106.631 372.688 107.345C374.7 107.252 376.68 107.159 378.757 107.064Z" fill="#C9D0D6"/>
22
+ <defs>
23
+ <clipPath id="clip0">
24
+ <rect width="150" height="38" fill="white" transform="translate(243 4)"/>
25
+ </clipPath>
26
+ </defs>
27
+ </svg>
vue/dist/img/fire.371bc05d.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="10" height="16" viewBox="0 0 10 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M6.64027 1.12191C6.64027 1.12191 4.21868 -0.450641 2.74655 2.07067C1.99585 3.35635 2.99758 5.43268 2.80613 5.39408C1.56245 5.15642 0.772853 5.34875 0.40159 5.93724C1.32062 6.21294 1.69114 6.73941 1.17793 7.92708C0.738872 8.94324 -0.0465933 9.88242 0.00216803 10.987C0.0904008 13.3031 1.36224 14.5958 3.34085 15.1625C2.35737 14.2753 1.95741 12.5829 2.22752 11.7665C2.65345 10.4792 3.66108 9.9063 4.31719 8.96529C4.64093 8.50092 4.64688 7.96919 4.40241 7.13855C6.2112 8.6701 6.09878 10.1465 5.05262 11.5477C5.75596 11.9557 6.42491 11.6861 7.05282 10.6072C7.67024 12.521 6.89568 13.9079 5.8167 15.1201C8.16289 14.4268 9.41917 12.7843 9.43118 10.1235C9.34621 8.0262 8.30918 6.16698 6.10208 4.04061C4.85993 2.84387 5.31756 1.20113 6.64027 1.12191Z" fill="#FE3B00"/>
3
+ </svg>
vue/dist/img/floating-icon.0a38a7da.svg ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <svg width="114" height="100" viewBox="0 0 114 100" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0)">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M58.2507 37.0532C56.728 36.2291 54.8939 36.2492 53.3913 37.1085C44.4416 42.214 13.2054 60.0381 3.42151 65.621C2.81347 65.9678 2.44158 66.611 2.44158 67.3044C2.43655 68.0029 2.81347 68.6462 3.41648 68.9929C12.8235 74.3849 42.1401 91.1789 53.0647 97.4351C55.6325 98.9075 58.7934 98.8924 61.3512 97.3999C71.9693 91.1838 100.065 74.7467 109.929 68.9728C110.638 68.5557 111.065 67.7919 111.055 66.9728C111.04 66.1537 110.582 65.4 109.864 65.013C99.1501 59.209 67.3311 41.9728 58.2507 37.0532Z" fill="#D7DFE5" fill-opacity="0.16"/>
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M30.0231 79.0669C29.5105 78.7302 29.199 78.1523 29.199 77.5342C29.199 71.2177 29.199 36.5895 29.199 28.6196C29.199 27.6046 29.7366 26.6699 30.611 26.1624C37.5608 22.1373 67.9377 4.53925 74.0432 1.00156C74.7166 0.609605 75.5357 0.559349 76.2492 0.870907C77.204 1.28297 78.5356 1.86089 79.3748 2.2227C79.8522 2.42873 80.1638 2.90109 80.1638 3.41868C80.1638 9.45385 80.1638 45.5292 80.1638 53.092C80.1638 53.9513 79.7015 54.7403 78.9527 55.1674C72.3045 58.9513 40.2392 77.1926 34.214 80.6197C33.616 80.9614 32.8773 80.9363 32.2994 80.5594C31.611 80.1071 30.6864 79.499 30.0231 79.0669Z" fill="#E5F1FC"/>
5
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M29.6562 79.6247C30.3195 80.0619 31.2441 80.6649 31.9325 81.1172C32.7164 81.6348 33.7265 81.6649 34.5456 81.2026C40.5707 77.7754 72.636 59.5342 79.2843 55.7503C80.239 55.2076 80.832 54.1925 80.832 53.092C80.832 45.5292 80.832 9.45387 80.832 3.41869C80.832 2.62975 80.3647 1.92115 79.6411 1.60457C78.8019 1.24276 77.4702 0.669927 76.5155 0.257867C75.6059 -0.139118 74.5657 -0.0788439 73.7064 0.418644C67.6008 3.95633 37.224 21.5544 30.2793 25.5795C29.1938 26.2076 28.5255 27.3684 28.5255 28.6196C28.5255 36.5895 28.5255 71.2177 28.5255 77.5343C28.5255 78.3785 28.9526 79.1674 29.6562 79.6247ZM30.3948 78.5091C30.0632 78.293 29.8672 77.9262 29.8672 77.5343C29.8672 71.2177 29.8672 36.5895 29.8672 28.6196C29.8672 27.8458 30.2793 27.1272 30.9476 26.7403C37.8973 22.7151 68.2743 5.11717 74.3798 1.57948C74.8672 1.29807 75.4652 1.26286 75.9828 1.48397C76.9375 1.89603 78.2692 2.47395 79.1084 2.83576C79.3395 2.93626 79.4903 3.16743 79.4903 3.41869C79.4903 9.45387 79.4903 45.5292 79.4903 53.092C79.4903 53.7101 79.1586 54.278 78.621 54.5845C71.9727 58.3684 39.9074 76.6096 33.8823 80.0368C33.5003 80.2528 33.033 80.2377 32.6662 79.9965L30.3948 78.5091Z" fill="#1B374C"/>
6
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M79.7431 2.55428C79.7431 2.55428 42.6024 23.8457 35.0194 28.1925C34.1099 28.7101 33.5521 29.6799 33.5471 30.7252C33.5169 39.3181 33.3762 80.8006 33.3762 80.8006C33.3762 80.9362 33.4868 81.0518 33.6275 81.0518C33.7632 81.0518 33.8787 80.9413 33.8787 80.8006C33.8787 80.8006 34.0195 39.3181 34.0496 30.7252C34.0496 29.8608 34.5169 29.0618 35.2707 28.6297C42.8486 24.2829 79.9893 2.99146 79.9893 2.99146C80.1099 2.92111 80.1551 2.77039 80.0848 2.64979C80.0144 2.52918 79.8637 2.48393 79.7431 2.55428Z" fill="#1B374C"/>
7
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M77.0738 7.78751L45.7924 25.883L45.8174 29.672L77.0738 11.883V7.78751Z" fill="white"/>
8
+ <path d="M42.5211 31.2589C43.5421 30.6708 44.3698 29.3664 44.3698 28.3454C44.3698 27.3244 43.5421 26.9735 42.5211 27.5616C41.5001 28.1496 40.6725 29.454 40.6725 30.475C40.6725 31.496 41.5001 31.8469 42.5211 31.2589Z" fill="#83C11F" fill-opacity="0.16"/>
9
+ <path d="M38.2054 33.6528C39.2264 33.0647 40.0541 31.7603 40.0541 30.7394C40.0541 29.7184 39.2264 29.3674 38.2054 29.9555C37.1845 30.5436 36.3568 31.848 36.3568 32.869C36.3568 33.8899 37.1845 34.2409 38.2054 33.6528Z" fill="#FF0002" fill-opacity="0.13"/>
10
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M77.0737 15.4153L36.4606 38.1539L36.3551 76.169L77.0737 52.9379V15.4153Z" fill="#FEFFFF"/>
11
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M73.8896 35.0752L40.0409 54.0896L39.9865 56.6432L73.8896 37.5647V35.0752Z" fill="#E5F1FC"/>
12
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M73.8896 39.02L40.0409 58.0343L39.9865 60.5879L73.8896 41.5094V39.02Z" fill="#E5F1FC"/>
13
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M73.8896 45.8591L40.0409 64.8735L39.9865 67.4271L73.8896 48.3486V45.8591Z" fill="#E5F1FC"/>
14
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M73.8896 49.8039L40.0409 68.8183L39.9865 71.3719L73.8896 52.2933V49.8039Z" fill="#E5F1FC"/>
15
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M77.325 15.4152C77.325 15.3248 77.2798 15.2444 77.2044 15.1992C77.124 15.154 77.0285 15.154 76.9531 15.1942L36.335 37.9329C36.2597 37.9781 36.2094 38.0635 36.2094 38.1539L36.1039 76.164C36.1039 76.2544 36.1541 76.3399 36.2295 76.3851C36.3099 76.4304 36.4054 76.4304 36.4808 76.3851L77.1994 53.159C77.2798 53.1138 77.325 53.0283 77.325 52.9379V15.4152ZM36.7119 38.2997L36.6114 75.7318L76.8225 52.7921V15.8424L36.7119 38.2997Z" fill="#1B374C"/>
16
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M73.9062 18.8637L40.0574 37.9037L39.9695 49.3479L73.9062 30.6002V18.8637Z" fill="#0482DF" fill-opacity="0.2"/>
17
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M73.909 18.7824L88.7079 19.7573L88.5119 32.8527L48.5069 55.1542L39.9692 49.3452L40.0547 37.903L73.909 18.7824Z" fill="#63AEED" fill-opacity="0.15"/>
18
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M89.0788 20.2029C89.0788 20.0435 88.9984 19.894 88.8577 19.8143C88.722 19.731 88.5511 19.7288 88.4104 19.8065C83.4808 22.5105 52.9331 39.2678 48.9029 41.4787C48.6316 41.6272 48.4657 41.911 48.4607 42.2204C48.4456 44.3473 48.3853 52.6339 48.3652 54.8837C48.3652 55.0014 48.4255 55.1108 48.5311 55.1683C48.6316 55.2294 48.7572 55.2311 48.8577 55.1745C53.119 52.8219 83.5411 36.0158 88.4205 33.3202C88.8275 33.0958 89.0788 32.6683 89.0788 32.203C89.0788 29.837 89.0788 22.5833 89.0788 20.2029Z" fill="#0482DF"/>
19
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M87.3061 25.7844C87.3061 25.6253 87.2227 25.4774 87.0851 25.3958C86.9486 25.3139 86.7781 25.3107 86.6379 25.3866C84.7067 26.4335 79.1532 29.4443 77.5415 30.3184C77.2674 30.4666 77.0969 30.7518 77.0957 31.0627C77.0906 31.9129 77.0805 33.6251 77.0755 34.5122C77.0742 34.6294 77.1361 34.7385 77.2371 34.7981C77.3382 34.8582 77.4619 34.8608 77.5655 34.8046C79.2428 33.8866 84.7295 30.8849 86.6417 29.8385C87.0522 29.6141 87.3061 29.1848 87.3061 28.7175C87.3061 27.8997 87.3061 26.6034 87.3061 25.7844Z" fill="#83C11F"/>
20
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M75.5668 32.4032C75.5668 32.244 75.4836 32.096 75.3468 32.0144C75.21 31.9328 75.0404 31.9289 74.9006 32.0047C71.3674 33.9106 54.8847 42.8015 51.97 44.374C51.6964 44.5213 51.5269 44.8035 51.5239 45.1124C51.512 45.9644 51.4882 47.6893 51.4763 48.5819C51.4733 48.7 51.5358 48.8092 51.6369 48.8691C51.735 48.9309 51.8629 48.9329 51.964 48.8778C55.0304 47.2178 71.3763 38.3651 74.8977 36.4584C75.3111 36.2347 75.5668 35.8035 75.5668 35.3344C75.5668 34.5155 75.5668 33.2209 75.5668 32.4032Z" fill="white"/>
21
+ </g>
22
+ <defs>
23
+ <clipPath id="clip0">
24
+ <rect width="113.065" height="100" fill="white" transform="translate(0.467285)"/>
25
+ </clipPath>
26
+ </defs>
27
+ </svg>
vue/dist/img/fullscreen-icon.0b9ce491.svg ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <svg width="114" height="100" viewBox="0 0 114 100" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0)">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M58.2508 37.0532C56.7282 36.2291 54.894 36.2492 53.3915 37.1085C44.4417 42.214 13.2056 60.0381 3.42164 65.621C2.8136 65.9678 2.4417 66.611 2.4417 67.3044C2.43667 68.0029 2.81359 68.6462 3.41661 68.9929C12.8236 74.3849 42.1402 91.1789 53.0648 97.4351C55.6327 98.9075 58.7935 98.8924 61.3513 97.3999C71.9694 91.1838 100.065 74.7467 109.929 68.9728C110.638 68.5557 111.065 67.7919 111.055 66.9728C111.04 66.1537 110.582 65.4 109.864 65.013C99.1503 59.209 67.3312 41.9728 58.2508 37.0532Z" fill="#D7DFE5" fill-opacity="0.16"/>
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M30.0232 79.0669C29.5106 78.7302 29.199 78.1523 29.199 77.5342C29.199 71.2177 29.199 36.5895 29.199 28.6196C29.199 27.6046 29.7367 26.6699 30.6111 26.1624C37.5608 22.1373 67.9377 4.53925 74.0432 1.00156C74.7166 0.609605 75.5357 0.559349 76.2493 0.870907C77.2041 1.28297 78.5357 1.86089 79.3749 2.2227C79.8523 2.42873 80.1638 2.90109 80.1638 3.41868C80.1638 9.45385 80.1638 45.5292 80.1638 53.092C80.1638 53.9513 79.7015 54.7403 78.9528 55.1674C72.3046 58.9513 40.2392 77.1926 34.2141 80.6197C33.6161 80.9614 32.8774 80.9363 32.2995 80.5594C31.6111 80.1071 30.6865 79.499 30.0232 79.0669Z" fill="#E5F1FC"/>
5
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M29.6563 79.6247C30.3197 80.0619 31.2442 80.6649 31.9327 81.1172C32.7166 81.6348 33.7267 81.6649 34.5458 81.2026C40.5709 77.7754 72.6362 59.5342 79.2844 55.7503C80.2392 55.2076 80.8322 54.1925 80.8322 53.092C80.8322 45.5292 80.8322 9.45387 80.8322 3.41869C80.8322 2.62975 80.3649 1.92115 79.6413 1.60457C78.8021 1.24276 77.4704 0.669927 76.5156 0.257867C75.6061 -0.139118 74.5659 -0.0788439 73.7066 0.418644C67.601 3.95633 37.2242 21.5544 30.2795 25.5795C29.194 26.2076 28.5257 27.3684 28.5257 28.6196C28.5257 36.5895 28.5257 71.2177 28.5257 77.5343C28.5257 78.3785 28.9528 79.1674 29.6563 79.6247ZM30.395 78.5091C30.0634 78.293 29.8674 77.9262 29.8674 77.5343C29.8674 71.2177 29.8674 36.5895 29.8674 28.6196C29.8674 27.8458 30.2794 27.1272 30.9478 26.7403C37.8975 22.7151 68.2744 5.11717 74.38 1.57948C74.8674 1.29807 75.4654 1.26286 75.983 1.48397C76.9377 1.89603 78.2694 2.47395 79.1086 2.83576C79.3397 2.93626 79.4905 3.16743 79.4905 3.41869C79.4905 9.45387 79.4905 45.5292 79.4905 53.092C79.4905 53.7101 79.1588 54.278 78.6211 54.5845C71.9729 58.3684 39.9076 76.6096 33.8824 80.0368C33.5005 80.2528 33.0332 80.2377 32.6664 79.9965L30.395 78.5091Z" fill="#1B374C"/>
6
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M79.7433 2.55428C79.7433 2.55428 42.6025 23.8457 35.0196 28.1925C34.1101 28.7101 33.5523 29.6799 33.5473 30.7252C33.5171 39.3181 33.3764 80.8006 33.3764 80.8006C33.3764 80.9362 33.487 81.0518 33.6277 81.0518C33.7633 81.0518 33.8789 80.9413 33.8789 80.8006C33.8789 80.8006 34.0196 39.3181 34.0498 30.7252C34.0498 29.8608 34.5171 29.0618 35.2709 28.6297C42.8488 24.2829 79.9895 2.99146 79.9895 2.99146C80.1101 2.92111 80.1553 2.77039 80.0849 2.64979C80.0146 2.52918 79.8639 2.48393 79.7433 2.55428Z" fill="#1B374C"/>
7
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M77.0739 7.78751L45.7925 25.883L45.8176 29.672L77.0739 11.883V7.78751Z" fill="white"/>
8
+ <path d="M42.5212 31.2589C43.5422 30.6708 44.3698 29.3664 44.3698 28.3454C44.3698 27.3244 43.5422 26.9735 42.5212 27.5616C41.5002 28.1496 40.6725 29.454 40.6725 30.475C40.6725 31.496 41.5002 31.8469 42.5212 31.2589Z" fill="#83C11F" fill-opacity="0.16"/>
9
+ <path d="M38.2056 33.6528C39.2266 33.0647 40.0543 31.7603 40.0543 30.7394C40.0543 29.7184 39.2266 29.3674 38.2056 29.9555C37.1847 30.5436 36.357 31.848 36.357 32.869C36.357 33.8899 37.1847 34.2409 38.2056 33.6528Z" fill="#FF0002" fill-opacity="0.13"/>
10
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M77.0739 15.4153L36.4608 38.1539L36.3553 76.169L77.0739 52.9379V15.4153Z" fill="#BCDEF7"/>
11
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M77.3251 15.4152C77.3251 15.3248 77.2799 15.2444 77.2045 15.1992C77.1241 15.154 77.0286 15.154 76.9533 15.1942L36.3352 37.9329C36.2598 37.9781 36.2095 38.0635 36.2095 38.1539L36.104 76.164C36.104 76.2544 36.1543 76.3399 36.2296 76.3851C36.31 76.4304 36.4055 76.4304 36.4809 76.3851L77.1995 53.159C77.2799 53.1138 77.3251 53.0283 77.3251 52.9379V15.4152ZM36.7121 38.2997L36.6115 75.7318L76.8226 52.7921V15.8424L36.7121 38.2997Z" fill="#1B374C"/>
12
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M77.0748 15.4162L89.7231 16.0243L86.115 44.7529L49.8286 75.5469L36.3563 76.165L36.4568 38.1549L77.0748 15.4162Z" fill="#63AEED" fill-opacity="0.15"/>
13
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M89.7232 16.0231L49.9292 38.3032L49.8257 75.5517L89.7232 52.789V16.0231Z" fill="#0482DF"/>
14
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M83.6884 26.305C83.6884 26.2062 83.6359 26.1136 83.5494 26.0642C83.463 26.0148 83.3581 26.0148 83.2716 26.0611C80.3422 27.7002 62.7843 37.5318 59.3271 39.4673C58.9628 39.671 58.7375 40.0568 58.7344 40.4736C58.7282 42.6436 58.7097 49.4161 58.7066 51.5954C58.7035 51.7374 58.7807 51.867 58.9011 51.938C59.0246 52.009 59.1758 52.009 59.2962 51.9411C62.7658 49.9625 80.3546 39.9303 83.2994 38.248C83.5587 38.0998 83.7192 37.825 83.7192 37.5256C83.713 35.5686 83.6915 28.2466 83.6884 26.305Z" fill="#BCDEF7"/>
15
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M83.6884 40.241C83.6884 40.1514 83.6421 40.0712 83.568 40.028C83.4908 39.9847 83.3982 39.9817 83.321 40.0249C80.4348 41.6424 61.3428 52.329 58.9783 53.6563C58.827 53.7366 58.7375 53.894 58.7375 54.0638C58.7344 54.7984 58.7282 56.8018 58.7252 57.6661C58.7252 57.7494 58.7715 57.8266 58.8425 57.8698C58.9165 57.9131 59.0061 57.9131 59.0771 57.8698C61.8737 56.2801 80.4626 45.7077 83.3457 44.0686C83.5772 43.9359 83.7192 43.6889 83.7161 43.4235C83.71 42.6425 83.6976 41.0096 83.6884 40.241Z" fill="white"/>
16
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M83.6884 46.29C83.6884 46.2159 83.6513 46.1511 83.5865 46.1141C83.5247 46.077 83.4445 46.077 83.3828 46.111C80.7127 47.605 61.3088 58.4706 58.969 59.7795C58.8239 59.8597 58.7375 60.011 58.7375 60.1746C58.7344 60.9 58.7282 62.928 58.7252 63.7923C58.7252 63.8757 58.7715 63.9498 58.8425 63.993C58.9135 64.0331 58.9999 64.0362 59.074 63.993C61.8984 62.3878 81.0738 51.479 83.4723 50.1146C83.6266 50.0281 83.7192 49.8676 83.7192 49.6917C83.7131 48.9725 83.6945 47.074 83.6884 46.29Z" fill="#83C11F"/>
17
+ </g>
18
+ <defs>
19
+ <clipPath id="clip0">
20
+ <rect width="113.065" height="100" fill="white" transform="translate(0.467346)"/>
21
+ </clipPath>
22
+ </defs>
23
+ </svg>
vue/dist/img/gamified-icon.5c31f01c.svg ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <svg width="114" height="100" viewBox="0 0 114 100" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M58.2445 37.158C56.7295 36.338 54.9045 36.3579 53.4095 37.2129C44.5045 42.2929 13.4245 60.0279 3.6895 65.5829C3.0845 65.9279 2.71447 66.5679 2.71447 67.2579C2.70947 67.9529 3.0845 68.593 3.6845 68.938C13.0445 74.303 42.2145 91.013 53.0845 97.238C55.6395 98.703 58.7845 98.6879 61.3295 97.2029C71.8945 91.0179 99.8495 74.663 109.664 68.918C110.369 68.503 110.794 67.743 110.784 66.928C110.769 66.113 110.314 65.363 109.599 64.978C98.9395 59.203 67.2795 42.0529 58.2445 37.158Z" fill="#D7DFE5" fill-opacity="0.16"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M30.158 78.9615C29.648 78.6265 29.338 78.0516 29.338 77.4366C29.338 71.1516 29.338 36.6965 29.338 28.7665C29.338 27.7565 29.873 26.8266 30.743 26.3216C37.658 22.3166 67.883 4.80655 73.958 1.28655C74.628 0.896549 75.443 0.846544 76.153 1.15654C77.103 1.56654 78.428 2.14158 79.263 2.50158C79.738 2.70658 80.048 3.17658 80.048 3.69158C80.048 9.69658 80.048 45.5916 80.048 53.1166C80.048 53.9716 79.588 54.7566 78.843 55.1816C72.228 58.9466 40.323 77.0966 34.328 80.5066C33.733 80.8466 32.998 80.8216 32.423 80.4466C31.738 79.9966 30.818 79.3915 30.158 78.9615Z" fill="#E5F1FC"/>
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M29.793 79.5165C30.453 79.9515 31.373 80.5516 32.058 81.0016C32.838 81.5166 33.843 81.5466 34.658 81.0866C40.653 77.6766 72.558 59.5265 79.173 55.7615C80.123 55.2215 80.713 54.2116 80.713 53.1166C80.713 45.5916 80.713 9.69659 80.713 3.69159C80.713 2.90659 80.248 2.20154 79.528 1.88654C78.693 1.52654 77.368 0.956574 76.418 0.546574C75.513 0.151574 74.478 0.211547 73.623 0.706547C67.548 4.22655 37.323 21.7366 30.413 25.7416C29.333 26.3666 28.668 27.5215 28.668 28.7665C28.668 36.6965 28.668 71.1516 28.668 77.4366C28.668 78.2766 29.093 79.0615 29.793 79.5165ZM30.528 78.4066C30.198 78.1916 30.003 77.8266 30.003 77.4366C30.003 71.1516 30.003 36.6965 30.003 28.7665C30.003 27.9965 30.413 27.2815 31.078 26.8965C37.993 22.8915 68.218 5.38158 74.293 1.86158C74.778 1.58158 75.373 1.54654 75.888 1.76654C76.838 2.17654 78.163 2.75158 78.998 3.11158C79.228 3.21158 79.378 3.44159 79.378 3.69159C79.378 9.69659 79.378 45.5916 79.378 53.1166C79.378 53.7316 79.048 54.2966 78.513 54.6016C71.898 58.3666 39.993 76.5166 33.998 79.9266C33.618 80.1416 33.153 80.1265 32.788 79.8865L30.528 78.4066Z" fill="#1B374C"/>
5
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M79.6295 2.83152C79.6295 2.83152 42.6745 24.0165 35.1295 28.3415C34.2245 28.8565 33.6695 29.8215 33.6645 30.8615C33.6345 39.4115 33.4945 80.6866 33.4945 80.6866C33.4945 80.8216 33.6045 80.9366 33.7445 80.9366C33.8795 80.9366 33.9945 80.8266 33.9945 80.6866C33.9945 80.6866 34.1345 39.4115 34.1645 30.8615C34.1645 30.0015 34.6295 29.2065 35.3795 28.7765C42.9195 24.4515 79.8745 3.26651 79.8745 3.26651C79.9945 3.19651 80.0394 3.04655 79.9694 2.92655C79.8994 2.80655 79.7495 2.76152 79.6295 2.83152Z" fill="#1B374C"/>
6
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M76.9735 8.03857L45.8485 26.0436L45.8734 29.8136L76.9735 12.1136V8.03857Z" fill="white"/>
7
+ <path d="M42.5936 31.3926C43.6095 30.8075 44.433 29.5096 44.433 28.4938C44.433 27.4779 43.6095 27.1287 42.5936 27.7138C41.5777 28.299 40.7542 29.5968 40.7542 30.6127C40.7542 31.6286 41.5777 31.9778 42.5936 31.3926Z" fill="#83C11F" fill-opacity="0.16"/>
8
+ <path d="M38.2996 33.7745C39.3154 33.1894 40.139 31.8915 40.139 30.8756C40.139 29.8597 39.3154 29.5106 38.2996 30.0957C37.2837 30.6808 36.4602 31.9787 36.4602 32.9946C36.4602 34.0105 37.2837 34.3596 38.2996 33.7745Z" fill="#FF0002" fill-opacity="0.13"/>
9
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M76.9735 15.6282L36.5635 38.2532L36.4585 76.0782L76.9735 52.9632V15.6282Z" fill="#BCDEF7"/>
10
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M77.2235 15.6282C77.2235 15.5382 77.1785 15.4582 77.1035 15.4132C77.0235 15.3682 76.9285 15.3682 76.8535 15.4082L36.4385 38.0332C36.3635 38.0782 36.3135 38.1632 36.3135 38.2532L36.2085 76.0732C36.2085 76.1632 36.2585 76.2482 36.3335 76.2932C36.4135 76.3382 36.5085 76.3382 36.5835 76.2932L77.0985 53.1832C77.1785 53.1382 77.2235 53.0532 77.2235 52.9632V15.6282ZM36.8135 38.3982L36.7135 75.6432L76.7235 52.8182V16.0532L36.8135 38.3982Z" fill="#1B374C"/>
11
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M76.9745 15.6292L89.5595 16.2342L85.9695 44.8192L49.8645 75.4592L36.4595 76.0742L36.5595 38.2542L76.9745 15.6292Z" fill="#63AEED" fill-opacity="0.15"/>
12
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M89.5596 16.233L49.9645 38.4017L49.8616 75.464L89.5596 52.8151V16.233Z" fill="#0482DF"/>
13
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M86.5478 28.7038C86.5478 28.6085 86.4976 28.5182 86.4148 28.4681C86.3296 28.4204 86.2267 28.4179 86.144 28.4655C84.476 29.3961 78.1502 32.9277 76.3192 33.9485C76.0082 34.1216 75.8176 34.4477 75.8176 34.8013C75.8176 36.4843 75.8176 41.3804 75.8176 42.8151C75.8176 42.9004 75.8627 42.9756 75.933 43.0183C76.0057 43.0609 76.0935 43.0634 76.1688 43.0208C77.7941 42.1153 84.5964 38.3179 86.2067 37.4199C86.4174 37.302 86.5478 37.0763 86.5478 36.8355C86.5478 35.3782 86.5478 30.2765 86.5478 28.7038Z" fill="#BCDEF7"/>
14
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M86.5478 39.011C86.5478 38.9584 86.5227 38.9107 86.4776 38.8856C86.4324 38.858 86.3772 38.8581 86.3321 38.8831C84.9475 39.6557 77.3501 43.8971 76.0158 44.6395C75.8929 44.7097 75.8176 44.8402 75.8176 44.9806C75.8176 45.4823 75.8176 46.6862 75.8176 47.2581C75.8176 47.3233 75.8527 47.3835 75.9079 47.4161C75.9656 47.4512 76.0333 47.4512 76.091 47.4186C77.611 46.5708 84.9952 42.4498 86.3396 41.6999C86.4675 41.6271 86.5478 41.4917 86.5478 41.3412C86.5478 40.812 86.5478 39.5478 86.5478 39.011Z" fill="white"/>
15
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M86.5478 43.2035C86.5478 43.1509 86.5227 43.1032 86.4776 43.0781C86.4324 43.0505 86.3772 43.0506 86.3321 43.0757C84.9475 43.8482 77.3501 48.0896 76.0158 48.832C75.8929 48.9022 75.8176 49.0327 75.8176 49.1731C75.8176 49.6748 75.8176 50.8787 75.8176 51.4506C75.8176 51.5158 75.8527 51.576 75.9079 51.6086C75.9656 51.6437 76.0333 51.6437 76.091 51.6111C77.611 50.7633 84.9952 46.6423 86.3396 45.8924C86.4675 45.8196 86.5478 45.6842 86.5478 45.5337C86.5478 45.0045 86.5478 43.7403 86.5478 43.2035Z" fill="#83C11F"/>
16
+ <path d="M63.0066 58.7306C68.0097 55.8489 72.0654 49.457 72.0654 44.4539C72.0654 39.4508 68.0097 37.7311 63.0066 40.6129C58.0035 43.4946 53.9477 49.8865 53.9477 54.8896C53.9477 59.8927 58.0035 61.6124 63.0066 58.7306Z" fill="#BCDEF7"/>
17
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M63.708 48.9805L69.565 37.71C69.6075 37.6285 69.7085 37.5965 69.79 37.639C69.8715 37.6815 69.9035 37.7825 69.861 37.864L64.013 49.116L74.9065 43.0705C74.987 43.026 75.0885 43.055 75.1335 43.1355C75.178 43.216 75.149 43.3175 75.0685 43.362L64.045 49.4795L72.461 52.148C72.5485 52.176 72.5975 52.27 72.5695 52.3575C72.5415 52.445 72.448 52.4935 72.36 52.466L63.782 49.746L64.9885 62.1815C64.9975 62.273 64.9305 62.3545 64.839 62.3635C64.7475 62.372 64.6655 62.305 64.657 62.2135L63.4845 50.133L56.866 62.8675C56.8235 62.9495 56.723 62.981 56.6415 62.939C56.56 62.8965 56.528 62.7955 56.5705 62.714L63.2065 49.945L52.1765 56.0665C52.096 56.111 51.9945 56.082 51.9495 56.0015C51.905 55.921 51.934 55.8195 52.0145 55.775L63.2065 49.5635L53.902 46.6135C53.8145 46.5855 53.7655 46.492 53.7935 46.404C53.8215 46.3165 53.915 46.268 54.0025 46.2955L63.4015 49.2755L62.383 38.778C62.374 38.6865 62.441 38.605 62.5325 38.596C62.624 38.5875 62.706 38.6545 62.7145 38.746L63.708 48.9805Z" fill="#0482DF"/>
18
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M72.6299 43.6802C72.8108 43.4819 73.0065 43.3088 73.2281 43.2138C73.8051 42.9665 74.2736 43.3223 74.2736 44.0078C74.2736 44.6933 73.8051 45.4507 73.2281 45.698C73.0799 45.7615 72.9389 45.7852 72.8112 45.7738L72.8109 45.7737C72.7197 45.7671 72.6694 45.7587 72.6086 45.7404L71.0995 45.364C71.6117 44.805 72.1515 44.2048 72.6299 43.6802ZM73.7978 44.2117C73.7978 44.5908 73.5386 45.0096 73.2194 45.1465C72.9001 45.2833 72.6409 45.0866 72.6409 44.7075C72.6409 44.3285 72.9001 43.9096 73.2194 43.7728C73.5386 43.6359 73.7978 43.8327 73.7978 44.2117Z" fill="white"/>
19
+ </svg>
vue/dist/img/green-success-circle-lg.931544d8.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="25" height="25" viewBox="0 1 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.99689 1.00009C15.5142 1.00009 19.9936 5.47946 19.9936 10.9968C19.9936 16.5141 15.5142 20.9935 9.99689 20.9935C4.47955 20.9935 0.000183105 16.5141 0.000183105 10.9968C0.000183105 5.47946 4.47955 1.00009 9.99689 1.00009ZM15.2574 8.54082C15.2574 8.3706 15.1896 8.20135 15.067 8.0798L14.1439 7.15675C14.0224 7.03418 13.8521 6.96629 13.6829 6.96629C13.5127 6.96629 13.3435 7.03418 13.2209 7.15675L8.76788 11.6138L6.77287 9.61278C6.65026 9.49016 6.48106 9.42227 6.31084 9.42227C6.14164 9.42227 5.97142 9.49016 5.84987 9.61278L4.92682 10.5358C4.8042 10.6574 4.73636 10.8276 4.73636 10.9968C4.73636 11.166 4.8042 11.3362 4.92682 11.4578L8.30687 14.8368C8.42846 14.9595 8.59868 15.0273 8.76788 15.0273C8.9381 15.0273 9.1073 14.9595 9.22992 14.8368L15.067 9.00179C15.1896 8.88024 15.2574 8.71002 15.2574 8.54082Z" fill="#46B450"/>
3
+ </svg>
vue/dist/img/green-success-circle.52fe5261.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="20" height="20" viewBox="0 1 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.99689 1.00009C15.5142 1.00009 19.9936 5.47946 19.9936 10.9968C19.9936 16.5141 15.5142 20.9935 9.99689 20.9935C4.47955 20.9935 0.000183105 16.5141 0.000183105 10.9968C0.000183105 5.47946 4.47955 1.00009 9.99689 1.00009ZM15.2574 8.54082C15.2574 8.3706 15.1896 8.20135 15.067 8.0798L14.1439 7.15675C14.0224 7.03418 13.8521 6.96629 13.6829 6.96629C13.5127 6.96629 13.3435 7.03418 13.2209 7.15675L8.76788 11.6138L6.77287 9.61278C6.65026 9.49016 6.48106 9.42227 6.31084 9.42227C6.14164 9.42227 5.97142 9.49016 5.84987 9.61278L4.92682 10.5358C4.8042 10.6574 4.73636 10.8276 4.73636 10.9968C4.73636 11.166 4.8042 11.3362 4.92682 11.4578L8.30687 14.8368C8.42846 14.9595 8.59868 15.0273 8.76788 15.0273C8.9381 15.0273 9.1073 14.9595 9.22992 14.8368L15.067 9.00179C15.1896 8.88024 15.2574 8.71002 15.2574 8.54082Z" fill="#46B450"/>
3
+ </svg>
vue/dist/img/green-success.1c5055ee.svg ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <svg width="18" height="14" viewBox="0 0 18 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0)">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M17.7934 2.66314C17.7934 2.95029 17.6786 3.23743 17.472 3.444L7.59943 13.3166C7.39286 13.5231 7.10571 13.638 6.81857 13.638C6.53143 13.638 6.24429 13.5231 6.03771 13.3166L0.321429 7.59943C0.114857 7.39286 0 7.10571 0 6.81857C0 6.53229 0.114857 6.24514 0.321429 6.03857L1.88229 4.47686C2.08886 4.27029 2.376 4.15543 2.66314 4.15543C2.95029 4.15543 3.23657 4.27029 3.444 4.47686L6.81857 7.86343L14.3494 0.321429C14.556 0.114857 14.8431 0 15.1303 0C15.4166 0 15.7037 0.114857 15.9103 0.321429L17.472 1.88229C17.6786 2.08971 17.7934 2.376 17.7934 2.66314Z" fill="#46B450"/>
4
+ </g>
5
+ <defs>
6
+ <clipPath id="clip0">
7
+ <rect width="18" height="13.7143" fill="white"/>
8
+ </clipPath>
9
+ </defs>
10
+ </svg>
vue/dist/img/grey-help-circle.23fd784e.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="16" height="16" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM9.00005 16H11.0001V14.0001H9.00005V16ZM5.99995 8.00005C5.99995 5.79005 7.78995 4.00005 9.99995 4.00005C12.2099 4.00005 13.9999 5.79005 13.9999 8.00005C13.9999 9.28297 13.2099 9.97337 12.4407 10.6456C11.711 11.2833 10.9999 11.9047 10.9999 13.0001H8.99995C8.99995 11.1788 9.94207 10.4566 10.7704 9.82172C11.4202 9.32366 11.9999 8.87927 11.9999 8.00005C11.9999 6.90005 11.0999 6.00005 9.99995 6.00005C8.89995 6.00005 7.99995 6.90005 7.99995 8.00005H5.99995Z" fill="#C9D0D6"/>
3
+ </svg>
vue/dist/img/grey-information-circle.81ccfdbe.svg ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0)">
3
+ <circle cx="10" cy="10" r="10" fill="#B5BFC9"/>
4
+ <path d="M10.2173 7.43462C10.8896 7.43462 11.4346 6.88962 11.4346 6.21731C11.4346 5.54501 10.8896 5 10.2173 5C9.54501 5 9 5.54501 9 6.21731C9 6.88962 9.54501 7.43462 10.2173 7.43462Z" fill="white"/>
5
+ <path d="M11.4347 9.46344C11.4347 8.79113 10.8897 8.24613 10.2174 8.24613C9.54506 8.24613 9.00005 8.79113 9.00005 9.46344L9.00005 14.3327C9.00005 15.005 9.54506 15.55 10.2174 15.55C10.8897 15.55 11.4347 15.005 11.4347 14.3327L11.4347 9.46344Z" fill="white"/>
6
+ </g>
7
+ <defs>
8
+ <clipPath id="clip0">
9
+ <rect width="20" height="20" fill="white"/>
10
+ </clipPath>
11
+ </defs>
12
+ </svg>
vue/dist/img/help-circle.932aacfb.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0.926025 12.4259C0.926025 5.8019 6.30203 0.425903 12.926 0.425903C19.55 0.425903 24.926 5.8019 24.926 12.4259C24.926 19.0499 19.55 24.4259 12.926 24.4259C6.30203 24.4259 0.926025 19.0499 0.926025 12.4259ZM14.1261 19.6258H11.7261V17.2258H14.1261V19.6258ZM12.9259 22.0258C7.6339 22.0258 3.3259 17.7178 3.3259 12.4258C3.3259 7.13378 7.6339 2.82578 12.9259 2.82578C18.2179 2.82578 22.5259 7.13378 22.5259 12.4258C22.5259 17.7178 18.2179 22.0258 12.9259 22.0258ZM8.12591 10.0259C8.12591 7.37391 10.2739 5.22591 12.9259 5.22591C15.5779 5.22591 17.7259 7.37391 17.7259 10.0259C17.7259 11.5654 16.7779 12.3939 15.8548 13.2006C14.9791 13.9658 14.1259 14.7115 14.1259 16.0259H11.7259C11.7259 13.8404 12.8565 12.9738 13.8504 12.2119C14.6302 11.6142 15.3259 11.081 15.3259 10.0259C15.3259 8.70591 14.2459 7.62591 12.9259 7.62591C11.6059 7.62591 10.5259 8.70591 10.5259 10.0259H8.12591Z" fill="white"/>
3
+ </svg>
vue/dist/img/help-white-solid.496b8099.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="25" height="26" viewBox="0 0 25 26" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M12.9258 1.42593C6.30178 1.42593 0.925781 6.80193 0.925781 13.4259C0.925781 20.0499 6.30178 25.4259 12.9258 25.4259C19.5498 25.4259 24.9258 20.0499 24.9258 13.4259C24.9258 6.80193 19.5498 1.42593 12.9258 1.42593ZM11.7259 20.6258H14.1259V18.2258H11.7259V20.6258ZM8.12567 11.0259C8.12567 8.37393 10.2737 6.22593 12.9257 6.22593C15.5777 6.22593 17.7257 8.37393 17.7257 11.0259C17.7257 12.5654 16.7776 13.3939 15.8546 14.2006C14.9789 14.9658 14.1257 15.7115 14.1257 17.0259H11.7257C11.7257 14.8404 12.8562 13.9738 13.8502 13.2119C14.6299 12.6143 15.3257 12.081 15.3257 11.0259C15.3257 9.70593 14.2457 8.62593 12.9257 8.62593C11.6057 8.62593 10.5257 9.70593 10.5257 11.0259H8.12567Z" fill="white"/>
3
+ </svg>
vue/dist/img/help-white.9e074197.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="25" height="26" viewBox="0 0 25 26" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0.925781 13.4259C0.925781 6.80193 6.30178 1.42593 12.9258 1.42593C19.5498 1.42593 24.9258 6.80193 24.9258 13.4259C24.9258 20.0499 19.5498 25.4259 12.9258 25.4259C6.30178 25.4259 0.925781 20.0499 0.925781 13.4259ZM14.1259 20.6258H11.7259V18.2258H14.1259V20.6258ZM12.9257 23.0258C7.63366 23.0258 3.32566 18.7178 3.32566 13.4258C3.32566 8.13381 7.63366 3.82581 12.9257 3.82581C18.2177 3.82581 22.5257 8.13381 22.5257 13.4258C22.5257 18.7178 18.2177 23.0258 12.9257 23.0258ZM8.12567 11.0259C8.12567 8.37394 10.2737 6.22594 12.9257 6.22594C15.5777 6.22594 17.7257 8.37394 17.7257 11.0259C17.7257 12.5654 16.7776 13.3939 15.8546 14.2006C14.9789 14.9659 14.1257 15.7115 14.1257 17.0259H11.7257C11.7257 14.8404 12.8562 13.9738 13.8502 13.212C14.6299 12.6143 15.3257 12.081 15.3257 11.0259C15.3257 9.70594 14.2457 8.62594 12.9257 8.62594C11.6057 8.62594 10.5257 9.70594 10.5257 11.0259H8.12567Z" fill="white"/>
3
+ </svg>
vue/dist/img/high-converting.ab2d32e5.png ADDED
Binary file
vue/dist/img/inactive-archie.210fa629.svg ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="56" height="56">
3
+ <circle cx="28.1229" cy="28.1231" r="27.1721" fill="#C4C4C4"/>
4
+ </mask>
5
+ <g mask="url(#mask0)">
6
+ <path d="M48.8203 23.6771C49.2602 23.4132 49.3477 21.7876 49.3921 21.3052C49.5236 20.2069 50.8853 19.724 51.7641 20.2944C53.3017 21.3926 54.092 23.5016 54.311 25.3022C54.5309 27.1468 54.3555 29.6067 53.0378 31.0564C51.6321 32.638 48.074 33.1214 45.9659 32.9014C45.3951 32.8574 44.8677 32.7255 44.3404 32.638L43.3301 23.5886L44.4293 23.8086C45.527 24.028 47.7675 24.2485 48.7778 23.6771H48.8203Z" fill="#999966"/>
7
+ <path d="M52.2434 21.9389C51.9799 21.5875 51.6725 21.2361 51.3211 21.0166C50.9697 20.7527 50.3108 20.9726 50.2659 21.412L50.2228 21.719C50.8822 21.4995 51.6285 21.6755 52.2434 21.9389ZM53.4736 28.1325C53.737 26.7268 53.605 25.1012 53.1222 23.696C52.7707 23.2566 52.4188 22.9057 51.76 22.6418C50.9252 22.2903 50.4863 22.4223 50.0923 22.7737C50.0479 23.1251 49.9589 23.3886 49.8724 23.652C52.1564 24.3988 53.1226 26.5948 53.4741 28.176V28.1325H53.4736ZM46.7966 24.8817C46.0063 24.8817 45.1715 24.7937 44.3372 24.6183L45.127 31.9096C46.1827 32.1295 47.4115 32.1295 48.5093 31.998C49.3001 29.1867 48.5093 25.8925 46.7531 24.8382L46.7966 24.8817ZM49.2566 24.3988C48.9496 24.5743 48.5088 24.7063 47.9834 24.7938C49.564 26.4633 50.0474 29.4941 49.4751 31.8661C50.7932 31.6026 51.891 31.1193 52.4623 30.5044C52.5943 30.3724 52.6818 30.1965 52.8142 30.065C52.8142 27.5611 51.804 24.8817 49.388 24.3548C49.3436 24.3988 49.3436 24.3988 49.2991 24.3988H49.2566Z" fill="#C0C0A0"/>
8
+ <path d="M48.8177 29.128C47.7634 29.3919 46.6217 29.4359 45.7864 29.3479C45.4355 29.3039 45.1276 29.2599 44.8202 29.172L44.2933 24.648C45.1276 24.8235 45.9629 24.9114 46.7532 24.9114C47.8954 25.6143 48.6432 27.2834 48.7747 29.128H48.8177ZM52.0249 22.759C52.0674 23.0229 52.1119 23.2863 52.1559 23.5493C52.2439 24.0766 52.2439 24.6915 52.1999 25.3069C51.628 24.604 50.8822 23.9892 49.8724 23.6377C49.9594 23.3743 50.0479 23.1104 50.0919 22.759C50.4418 22.4515 50.9252 22.2756 51.76 22.6275C51.849 22.671 51.9364 22.715 52.0249 22.759ZM51.3656 21.0459C51.4975 21.2658 51.5845 21.4853 51.673 21.7047C51.1896 21.5732 50.7067 21.5288 50.1794 21.6612L50.2234 21.3538C50.2664 20.9139 50.9252 20.6944 51.2776 20.9584L51.3661 21.0019V21.0459H51.3656ZM49.2571 24.3846C48.9496 24.56 48.5093 24.6915 47.9834 24.7795C48.9497 25.7897 49.4756 27.2834 49.652 28.865C50.2664 28.6446 50.8377 28.3376 51.1896 27.8987C51.5415 27.5468 50.6183 24.604 49.3451 24.3406C49.3006 24.3846 49.3006 24.3846 49.2571 24.3846Z" fill="#FBFAC4"/>
9
+ <path d="M7.61802 23.6771C7.17766 23.4132 7.09065 21.7876 7.0457 21.3052C6.91422 20.2069 5.55254 19.724 4.67424 20.2944C3.13613 21.3926 2.3463 23.5016 2.12684 25.3022C1.90739 27.1468 2.08284 29.6067 3.40053 31.0564C4.8062 32.638 8.36387 33.1214 10.4724 32.9014C11.0432 32.8574 11.5706 32.7255 12.098 32.638L13.1077 23.5886L12.009 23.8086C10.9113 24.028 8.67082 24.2485 7.66056 23.6771H7.61802Z" fill="#999966"/>
10
+ <path d="M4.19088 21.9389C4.45432 21.5875 4.76176 21.2361 5.11269 21.0166C5.46459 20.7527 6.12344 20.9726 6.16839 21.412L6.21093 21.719C5.55209 21.4995 4.80526 21.6755 4.19088 21.9389ZM2.9602 28.1325C2.69724 26.7268 2.8292 25.1012 3.3121 23.696C3.66352 23.2566 4.01494 22.9057 4.67379 22.6418C5.50859 22.2903 5.94797 22.4223 6.34193 22.7737C6.3864 23.1251 6.47535 23.3886 6.56187 23.652C4.2779 24.3988 3.31161 26.5948 2.95971 28.176V28.1325H2.9602ZM9.63761 24.8817C10.4279 24.8817 11.2627 24.7937 12.0971 24.6183L11.3067 31.9096C10.2515 32.1295 9.02228 32.1295 7.92452 31.998C7.13371 29.1867 7.92451 25.8925 9.68111 24.8382L9.63761 24.8817ZM7.17769 24.3988C7.48464 24.5743 7.92548 24.7063 8.45092 24.7938C6.86978 26.4633 6.38688 29.4941 6.95872 31.8661C5.64103 31.6026 4.54327 31.1193 3.97143 30.5044C3.83947 30.3724 3.75245 30.1965 3.62001 30.065C3.62001 27.5611 4.63028 24.8817 7.04621 24.3548C7.0902 24.3988 7.0902 24.3988 7.13515 24.3988H7.17769Z" fill="#C0C0A0"/>
11
+ <path d="M7.61886 29.128C8.67311 29.3919 9.81485 29.4359 10.6496 29.3479C11.0011 29.3039 11.3085 29.2599 11.6159 29.172L12.1428 24.648C11.3085 24.8235 10.4737 24.9114 9.68337 24.9114C8.54115 25.6143 7.79432 27.2834 7.66188 29.128H7.61886ZM4.41163 22.759C4.36861 23.0229 4.32464 23.2863 4.28017 23.5493C4.19267 24.0766 4.19266 24.6915 4.23714 25.3069C4.80801 24.604 5.55434 23.9892 6.56412 23.6377C6.47711 23.3743 6.38866 23.1104 6.34419 22.759C5.99422 22.4515 5.51132 22.2756 4.67653 22.6275C4.58758 22.671 4.50009 22.715 4.41163 22.759ZM5.07097 21.0459C4.93901 21.2658 4.852 21.4853 4.76355 21.7047C5.24644 21.5732 5.72982 21.5288 6.25719 21.6612L6.21271 21.3538C6.17017 20.9139 5.51133 20.6944 5.15895 20.9584L5.07048 21.0019V21.0459H5.07097ZM7.17947 24.3846C7.4869 24.56 7.92726 24.6915 8.45318 24.7795C7.4869 25.7897 6.96051 27.2834 6.78455 28.865C6.17018 28.6446 5.59834 28.3376 5.24644 27.8987C4.8955 27.5468 5.81827 24.604 7.09149 24.3406C7.13548 24.3846 7.13548 24.3846 7.17947 24.3846Z" fill="#FBFAC4"/>
12
+ <path d="M12.4913 21.9272C10.9542 21.7952 9.46006 22.1026 7.9669 22.3226L9.28459 21.0484C10.5588 19.8187 12.2719 18.7204 13.8984 17.9296C16.3134 16.6999 19.0812 15.7776 21.8476 15.5142C19.9141 14.6794 17.7181 14.284 15.6546 13.8006C23.6057 12.132 33.7948 11.5166 41.0876 17.7102C45.2611 21.2683 47.5445 27.8572 47.5445 33.8308C47.5445 56.3654 9.15408 56.3654 9.15408 33.8308C9.15408 30.8001 9.90042 27.9012 11.3061 25.2654C10.7797 25.3973 10.2963 25.5728 9.76797 25.7927L7.44147 26.759L9.10913 24.87C10.1199 23.7282 11.2621 22.762 12.5798 22.0151L12.4913 21.9272Z" fill="#8ED41E"/>
13
+ <path d="M29.7112 14.9849C33.4453 15.4238 37.0905 16.654 40.1203 19.2454C43.8099 22.3641 45.787 28.1623 45.787 33.3895C45.787 42.9643 37.8803 47.9286 29.7108 48.1921V14.9849H29.7112Z" fill="#70A91B"/>
14
+ <path d="M15.5657 19.8688C18.465 17.9357 23.2093 17.3209 28.92 17.6288C27.9097 16.443 26.9874 15.6957 25.6258 15.0369C28.2172 14.9489 30.2812 15.5203 35.4205 17.2774C30.985 14.6855 25.5388 13.4997 20.4425 14.0706C22.2871 14.5975 24.0441 15.4323 25.6693 16.5305C20.4425 15.9597 14.4239 18.4631 12.008 20.5276C13.5901 20.3521 14.9948 20.6591 16.4894 21.3184C14.3809 22.0647 13.0187 22.7241 11.7006 23.9978C13.9845 22.8555 15.7856 21.8893 18.6849 21.2744C17.5427 20.879 16.9278 20.1762 15.5657 19.8688Z" fill="#A1E141"/>
15
+ <path d="M28.306 14.5454C33.5782 14.5454 37.8382 18.6744 37.8382 23.8137C37.8382 28.909 33.5782 33.082 28.306 33.082C23.0357 33.082 18.7757 28.953 18.7757 23.8137C18.7747 18.7184 23.0357 14.5454 28.306 14.5454Z" fill="#70A91B"/>
16
+ <path d="M13.1969 32.4618C13.5044 31.8905 42.4071 31.671 42.9784 32.4618C43.9877 33.7795 43.4178 35.0533 42.9784 36.1515H13.1969C12.9335 34.9653 12.4941 33.6916 13.1969 32.4618Z" fill="#70A91B"/>
17
+ <path d="M13.5919 33.3018C13.8994 32.555 42.0548 32.2476 42.6261 33.3018C43.5924 35.1024 43.0211 36.8595 42.6261 38.3532H13.5919C13.328 36.7276 12.9331 35.0149 13.5919 33.3018Z" fill="#4B7113"/>
18
+ <path d="M37.0036 14.1692C36.6082 6.65794 26.5051 5.86713 23.8697 11.7532C28.5256 9.20534 33.2695 10.1281 37.0036 14.1692Z" fill="#70A91B"/>
19
+ <path d="M31.3799 7.92078C28.4381 7.48139 25.2313 8.75558 23.9136 11.6979C25.6702 10.7316 27.4718 10.2927 29.1844 10.2927C29.5363 9.63387 30.3706 8.36017 31.4249 7.92078H31.3799Z" fill="#85C51F"/>
20
+ <path d="M28.3065 13.5786C33.0504 13.5786 36.8725 17.4002 36.8725 22.1441C36.8725 26.888 33.0504 30.7096 28.3065 30.7096C23.5636 30.7096 19.7425 26.888 19.7425 22.1441C19.7425 17.4002 23.5631 13.5786 28.3065 13.5786Z" fill="#D3E8EF"/>
21
+ <path d="M22.9043 15.7859C25.7591 13.414 29.7566 13.414 31.7767 15.8739C33.7972 18.2898 33.0949 22.1989 30.2395 24.6149C27.3837 26.9868 23.3872 26.9868 21.3657 24.5269C19.3461 22.1109 20.0494 18.2019 22.9043 15.7859Z" fill="white"/>
22
+ <path d="M28.525 19.2617C31.8632 19.2617 34.543 21.7656 34.543 24.8839C34.543 28.0027 31.8622 30.5066 28.525 30.5066C25.1877 30.5066 22.5074 28.0027 22.5074 24.8839C22.5074 21.7656 25.1872 19.2617 28.525 19.2617Z" fill="#0D82DF"/>
23
+ <path d="M28.525 19.2617C30.1501 19.2617 31.6437 19.8766 32.698 20.8428C32.3031 22.2045 31.4683 23.5662 30.2381 24.6205C27.8661 26.597 24.7043 26.9049 22.5514 25.5867C22.5074 25.3673 22.5074 25.1478 22.5074 24.8839C22.5074 21.7656 25.1872 19.2617 28.525 19.2617Z" fill="#0399ED"/>
24
+ <path d="M28.5258 21.2832C30.6343 21.2832 32.3914 22.9083 32.3914 24.8849C32.3914 26.8619 30.6783 28.4865 28.5258 28.4865C26.4178 28.4865 24.6607 26.8619 24.6607 24.8849C24.6607 22.9083 26.3733 21.2832 28.5258 21.2832Z" fill="#232323"/>
25
+ <path d="M28.5258 21.2688C29.8875 21.2688 31.0737 21.9277 31.7765 22.894C31.3806 23.5088 30.8538 24.0797 30.2389 24.5631C28.6568 25.8812 26.7238 26.4521 25.0116 26.3202C24.7922 25.8812 24.6607 25.3539 24.6607 24.8265C24.6607 22.85 26.3733 21.2249 28.5258 21.2249V21.2688Z" fill="#323232"/>
26
+ <path d="M25.1425 19.5549C26.7236 19.5549 27.9973 20.7411 27.9973 22.2343C27.9973 23.7279 26.7236 24.9141 25.1425 24.9141C23.5614 24.9141 22.2877 23.7279 22.2877 22.2343C22.2877 20.7411 23.5614 19.5549 25.1425 19.5549Z" fill="white"/>
27
+ <path d="M8.32031 35.4157C21.5857 33.4391 34.896 33.6146 48.1614 35.4157C49.1277 42.3555 48.6003 48.9454 48.1614 55.5769C34.896 56.1043 21.5857 56.1927 8.32031 55.5769C7.5295 48.857 7.4425 42.1361 8.32031 35.4157Z" fill="#9CAEB3"/>
28
+ <path d="M12.1413 54.2255C22.9033 54.6199 33.6212 54.5774 44.3822 54.2255C40.5171 52.0285 36.6515 49.9215 32.3031 48.7352C30.8964 49.3941 29.4042 49.9215 27.9106 50.3604C27.6907 50.4039 27.6907 50.4039 27.4712 50.3604C26.2405 49.965 25.0113 49.4816 23.8246 48.9552C19.6076 50.1844 15.7865 51.9855 12.0968 54.2699L12.1413 54.2255ZM9.59342 37.7094C9.02255 43.0246 9.11004 48.3833 9.68187 53.6981C13.5475 51.2827 17.676 49.3496 22.024 47.9884C17.0167 45.353 13.5025 41.575 9.59342 37.7094ZM45.7874 36.6556C34.0601 35.249 22.2879 35.1175 10.5602 36.6556C15.3916 42.0574 20.7078 46.4948 27.7796 48.8218C35.2899 46.6707 40.4727 41.9704 45.7874 36.6556ZM46.7982 53.6981C47.1501 48.3833 47.501 43.0686 46.9301 37.7538C42.9775 41.6634 38.76 45.3965 33.8402 47.9875C38.4086 49.3491 42.6701 51.3706 46.8431 53.6976H46.7982V53.6981Z" fill="#D3E8EF"/>
29
+ <path d="M12.1413 54.2196C17.3236 54.3955 22.5065 54.483 27.7347 54.483V50.3545C27.6907 50.3545 27.6472 50.3545 27.5152 50.31C26.2855 49.9161 25.0563 49.4322 23.8696 48.9048C19.6526 50.1345 15.8315 51.9351 12.1413 54.2196ZM9.59343 37.7035C9.02255 43.0187 9.11004 48.3775 9.68188 53.6922C13.5475 51.2768 17.676 49.3437 22.024 47.9825C17.0167 45.3472 13.5025 41.5691 9.59343 37.7035ZM27.7347 35.551C21.9805 35.551 16.2704 35.9024 10.5602 36.6502C15.3486 42.0525 20.7078 46.4454 27.7347 48.8164V35.551Z" fill="white"/>
30
+ <path d="M20.2682 38.7057C20.2247 38.8811 20.1368 39.0576 20.0497 39.233C19.9608 39.4965 19.7853 39.759 19.5664 39.9349C19.039 40.3303 18.3806 40.1993 17.8083 39.9789C16.5346 39.4515 15.6568 38.1778 15.1289 36.9481C14.5146 35.5415 14.4701 34.5322 14.8215 32.9946C23.6944 32.5117 32.7873 32.4237 41.3962 32.9506V32.9946H41.5287C41.6607 34.4882 41.5287 35.1031 41.1778 36.3342C40.7819 37.7394 39.9466 39.4515 38.5419 40.1104C38.0145 40.3748 37.3997 40.5063 36.9163 40.1544C36.6973 39.9789 36.5223 39.7155 36.3894 39.4515C36.082 38.9686 35.995 38.2668 35.9065 37.7389C35.731 38.0903 35.5116 38.3098 35.1597 38.3973C34.5888 38.5292 33.93 38.6162 33.3586 38.6607C32.7878 38.7052 32.1739 38.7497 31.5575 38.7497C30.6353 38.7497 29.6245 38.6607 28.7472 38.3982C28.6157 38.9256 28.3958 39.4075 27.8689 39.583C27.298 39.759 26.5947 39.8474 25.9798 39.8919C25.321 39.9349 24.6621 39.9794 24.0473 39.9794C23.037 39.9794 21.8948 39.8919 20.9725 39.4965C20.6206 39.3645 20.4002 39.1006 20.2697 38.7497V38.7057H20.2682Z" fill="#999966"/>
31
+ <path d="M35.157 32.6937C35.5089 34.6703 35.4204 37.2182 34.8496 37.3497C33.9708 37.5696 30.5886 37.9215 28.92 37.3066C28.4796 36.4723 28.4796 34.3638 28.5241 32.6507C30.8085 32.6502 33.0925 32.6502 35.157 32.6937ZM20.9689 33.0891C20.6619 34.0119 20.3545 35.0657 20.047 36.3404C19.8711 37.1312 19.7391 37.9215 19.6067 38.4919C19.4312 39.2822 19.0358 39.4146 18.289 39.1067C16.356 38.2729 15.3471 35.0227 15.4337 33.0452C16.7518 32.9572 18.7289 32.8697 20.9684 32.7817C23.1213 32.7377 25.5373 32.6937 27.9532 32.6937C28.1717 35.1097 28.1717 38.009 27.6458 38.6234C26.722 38.9322 23.1213 39.3711 21.3633 38.5803C20.5725 38.2294 20.8799 35.2861 20.9239 33.1336L20.9689 33.0891ZM35.5089 32.6937C35.7714 33.748 36.0793 34.8462 36.3862 36.2519C36.5617 37.1302 36.6506 37.966 36.7816 38.5359C36.9576 39.4142 37.309 39.5461 38.0114 39.1952C39.7254 38.3159 40.6917 35.0652 40.6467 32.9137C39.374 32.8257 37.5729 32.7377 35.5089 32.6937Z" fill="#C0C0A0"/>
32
+ <path d="M28.5252 33.8811C30.5897 33.8811 32.6552 33.8811 34.5433 33.9246C34.8507 35.0233 34.8507 36.9999 33.5325 37.4827C32.1273 37.6152 30.1063 37.6582 28.9206 37.2193C28.6137 36.604 28.5252 35.2423 28.5252 33.8811ZM20.926 34.0126C22.815 33.9686 24.9675 33.9246 27.12 33.9246C27.3385 35.5062 27.7344 38.669 25.7579 38.8444C24.3082 38.9764 22.5076 38.9764 21.3649 38.493C20.7075 38.1856 20.7945 35.9896 20.882 34.0566L20.926 34.0126ZM15.5237 34.2765C16.446 34.1885 17.6753 34.1441 19.1244 34.1005C19.3004 34.1005 19.6518 38.449 19.6518 38.449C19.4759 39.2398 19.0809 39.3718 18.3341 39.0644C16.7965 38.4055 15.8302 36.2081 15.5663 34.32L15.5237 34.2765ZM36.7832 38.537C36.9587 39.4153 37.3106 39.5473 38.013 39.1963C39.4196 38.493 40.2974 36.2086 40.5613 34.2325C39.727 34.1441 38.7168 34.1006 37.5296 34.0566C36.8272 34.5839 36.6948 38.2296 36.7832 38.537Z" fill="#FBFAC4"/>
33
+ <path d="M24.748 33.9686C24.837 35.6827 24.748 37.3948 24.5295 37.5263C24.0906 37.7912 22.465 38.1416 21.6747 37.4828C21.3658 37.2638 21.4103 35.5937 21.4547 34.0126C22.5085 33.9686 23.6072 33.9686 24.793 33.9246L24.748 33.9686ZM32.1282 33.9246C32.1718 35.1988 32.0838 36.3845 31.9083 36.4725C31.5134 36.6915 29.9753 36.9559 29.185 36.4285C28.9215 36.253 28.9215 35.0664 28.965 33.8811H32.1287V33.9246H32.1282ZM18.2475 34.1441C18.2035 34.6274 18.2035 35.1993 18.2035 35.7697V37.5263C18.2035 38.1856 18.0281 38.3171 17.6762 38.0097C16.9743 37.4828 16.3585 35.8137 16.095 34.2765C16.7099 34.232 17.4572 34.1885 18.2475 34.1441ZM40.0344 34.1885C39.4621 34.1441 38.8037 34.1005 38.0574 34.1005C38.0574 34.5834 38.1019 35.1103 38.1019 35.6822V37.5707C38.1019 38.2736 38.2333 38.4055 38.5847 38.0976C39.1996 37.5263 39.771 35.8576 40.0344 34.1885Z" fill="white"/>
34
+ <path d="M10.9566 54.5755C10.4732 56.7715 8.27579 58.2212 6.08076 58.1332C3.04997 58.0007 -1.65042 54.663 -1.56244 51.3688C-1.51845 49.5242 -0.15677 47.8541 1.2489 46.8008C2.61058 45.7451 4.89455 44.6483 6.65212 45.1312C8.40872 45.6146 9.63843 48.0305 10.2098 49.6112C10.7362 50.9734 11.264 53.1268 10.9116 54.576H10.9566V54.5755Z" fill="#85C51F"/>
35
+ <path d="M10.2089 54.3527C10.2519 54.0893 10.2969 53.8254 10.2969 53.5179C9.72602 51.102 8.36387 48.3352 6.82672 47.8962C4.45478 47.1924 -0.332613 50.3557 -0.0701385 53.6064C1.24804 55.6269 4.05985 57.296 6.07989 57.383C7.92447 57.4715 9.81351 56.2408 10.2094 54.3962V54.3527H10.2089Z" fill="#70A91B"/>
36
+ <path d="M8.01307 51.8928C8.62744 50.6631 7.61862 48.5107 6.08051 48.6861C4.45539 48.9061 0.941223 51.322 0.941223 53.211C0.941223 54.3972 2.56634 55.232 4.27896 54.7491C5.55315 54.3972 7.52969 52.9036 8.01307 51.8928ZM9.37474 54.9676C9.68217 54.2208 9.24278 52.9036 8.36448 53.0346C7.44219 53.211 5.24524 54.7917 5.33369 55.6705C5.37672 56.3738 6.60739 56.9886 7.57415 56.6367C8.2765 56.3738 9.11081 55.5825 9.37474 54.9676Z" fill="#5D8D17"/>
37
+ <path d="M5.59749 46.1667C5.64148 46.9575 4.10385 47.6594 3.489 47.089C2.96163 46.0783 3.09456 44.8485 3.53298 44.5851C4.01636 44.3217 5.20257 44.805 5.59749 46.1667Z" fill="#2C440C"/>
38
+ <path d="M2.61059 47.6251C2.78509 48.5025 1.60032 49.2503 1.02849 48.8549C0.282149 48.108 0.0191846 46.7903 0.369151 46.4829C0.721534 46.1755 1.99525 46.6589 2.61059 47.6251Z" fill="#2C440C"/>
39
+ <path d="M11.6144 41.6626C11.9663 41.0038 11 40.5634 10.2092 40.256C9.41746 39.993 9.02303 39.993 8.7156 40.6519C8.3637 41.3107 8.18824 42.3205 9.02304 42.584C9.81336 42.8479 11.307 42.3205 11.6589 41.6617H11.6144V41.6626Z" fill="#2C440C"/>
40
+ <path d="M12.3175 39.1913C12.4055 39.9376 11.3503 40.333 10.4729 40.509C9.63813 40.6849 9.28623 40.5965 9.19922 39.8497C9.11028 39.1019 9.3307 37.9171 10.2095 37.7417C11.0428 37.5662 12.229 38.444 12.3175 39.1913Z" fill="#2C440C"/>
41
+ <path d="M12.4926 36.7449C12.582 37.4482 11.5263 37.8006 10.649 37.9761C9.81418 38.1506 9.46229 38.0636 9.37528 37.3172C9.28585 36.6139 9.50627 35.5161 10.3411 35.3402C11.1763 35.1642 12.3616 35.999 12.4496 36.7009L12.4926 36.7449Z" fill="#2C440C"/>
42
+ <path d="M5.59842 35.118C5.7299 35.6903 6.82813 35.5569 7.66292 35.3828C8.49723 35.1629 8.80514 34.987 8.62919 34.4161C8.49723 33.8447 7.96988 33.0544 7.13702 33.2739C6.30223 33.4933 5.46743 34.5481 5.59842 35.1629V35.118Z" fill="#2C440C"/>
43
+ <path d="M4.85113 42.0935L5.11409 42.8398L4.54321 42.4009C4.27881 42.1809 4.06031 41.8735 3.88436 41.5221C3.92738 41.8735 3.97235 42.0939 4.06032 42.4009C3.22601 41.0387 2.47821 39.5456 2.96111 37.5695C3.40147 35.768 5.20254 34.9332 6.47625 34.5823C7.26658 34.3628 8.1444 34.2308 8.93472 34.3188C9.4181 34.3628 10.2529 34.4943 10.6043 34.9332C10.9557 35.374 11.1317 36.2953 11.2192 36.9102C11.3507 37.8765 11.3076 38.8867 11.1762 39.853C11.0437 40.7308 10.7808 41.5661 10.3414 42.2689C9.98995 42.7963 9.59406 43.1912 9.06814 43.4116C8.45183 43.6746 7.83698 43.7186 7.17765 43.5871C6.30031 43.4116 5.5095 42.8843 4.80618 42.1374L4.85113 42.0935Z" fill="#85C51F"/>
44
+ <path d="M10.1655 35.5449C10.6929 36.1607 10.9563 38.7531 10.341 40.6412C10.1655 40.6856 9.94555 40.7291 9.72658 40.7291C8.75982 40.8176 7.83657 40.3787 7.22219 39.8513C7.26618 40.1147 7.35416 40.2902 7.44214 40.4222C6.91477 40.2037 6.47585 39.5444 6.16794 38.7971C6.21096 39.4124 6.29991 39.6758 6.3874 40.0277C5.72807 39.8078 5.20167 39.061 4.80578 38.2711C4.45436 37.5678 4.49834 36.5571 5.1132 36.1186C6.73833 34.9324 9.50616 34.8445 10.1205 35.5913L10.1655 35.5449Z" fill="#A1E141"/>
45
+ <path d="M45.524 54.5755C46.0069 56.7715 48.2029 58.2212 50.3999 58.1332C53.4302 58.0007 58.1301 54.663 58.0416 51.3688C57.9991 49.5242 56.6359 47.8541 55.2312 46.8008C53.8696 45.7451 51.5846 44.6483 49.828 45.1312C48.0719 45.6146 46.8417 48.0305 46.2704 49.6112C45.743 50.9734 45.2161 53.1268 45.5685 54.576H45.524V54.5755Z" fill="#85C51F"/>
46
+ <path d="M46.2284 54.3527C46.1839 54.0893 46.139 53.8254 46.139 53.5179C46.7103 51.102 48.072 48.3352 49.6096 47.8962C51.9811 47.1924 56.7685 50.3557 56.506 53.6064C55.1879 55.6269 52.376 57.296 50.3565 57.383C48.5114 57.4715 46.6224 56.2408 46.227 54.3962V54.3527H46.2284Z" fill="#70A91B"/>
47
+ <path d="M48.4664 51.8928C47.8506 50.6631 48.8608 48.5107 50.3994 48.6861C52.0246 48.9061 55.5382 51.322 55.5382 53.211C55.5382 54.3972 53.9131 55.232 52.2 54.7491C50.9258 54.3972 48.9498 52.9036 48.4664 51.8928ZM47.1047 54.9676C46.7973 54.2208 47.2362 52.9036 48.115 53.0346C49.0373 53.211 51.2328 54.7917 51.1458 55.6705C51.1018 56.3738 49.8721 56.9886 48.9053 56.6367C48.2025 56.3738 47.3682 55.5825 47.1047 54.9676Z" fill="#5D8D17"/>
48
+ <path d="M50.8384 46.1667C50.7939 46.9575 52.3321 47.6594 52.9465 47.089C53.4738 46.0783 53.3414 44.8485 52.9029 44.5851C52.4196 44.3217 51.2328 44.805 50.8384 46.1667Z" fill="#2C440C"/>
49
+ <path d="M53.8248 47.6251C53.6503 48.5025 54.8351 49.2503 55.4069 48.8549C56.1532 48.108 56.4162 46.7903 56.0662 46.4829C55.7138 46.1755 54.4397 46.6589 53.8248 47.6251Z" fill="#2C440C"/>
50
+ <path d="M44.8217 41.6626C44.4703 41.0038 45.4365 40.5634 46.2283 40.256C47.0191 39.993 47.413 39.993 47.721 40.6519C48.0724 41.3107 48.2483 42.3205 47.413 42.584C46.6232 42.8479 45.1291 42.3205 44.7777 41.6617H44.8217V41.6626Z" fill="#2C440C"/>
51
+ <path d="M44.1629 39.1913C44.0754 39.9376 45.1292 40.333 46.008 40.509C46.8428 40.6849 47.1942 40.5965 47.2817 39.8497C47.3696 39.1019 47.1507 37.9171 46.2714 37.7417C45.4371 37.5662 44.2513 38.444 44.1629 39.1913Z" fill="#2C440C"/>
52
+ <path d="M43.9433 36.7449C43.8544 37.4482 44.9096 37.8006 45.7869 37.9761C46.6217 38.1506 46.9736 38.0636 47.0606 37.3172C47.1501 36.6139 46.9297 35.5161 46.0944 35.3402C45.2601 35.1642 44.0743 35.999 43.9863 36.7009L43.9433 36.7449Z" fill="#2C440C"/>
53
+ <path d="M50.8844 35.118C50.7519 35.6903 49.6537 35.5569 48.8189 35.3828C47.9856 35.1629 47.6772 34.987 47.8527 34.4161C47.9856 33.8447 48.5115 33.0544 49.3458 33.2739C50.1811 33.4933 51.0154 34.5481 50.8844 35.1629V35.118Z" fill="#2C440C"/>
54
+ <path d="M51.5871 42.0935L51.3236 42.8398L51.8945 42.4009C52.1594 42.1809 52.3779 41.8735 52.5533 41.5221C52.5103 41.8735 52.4659 42.0939 52.3779 42.4009C53.2122 41.0387 53.96 39.5456 53.4766 37.5695C53.0367 35.768 51.2352 34.9332 49.9619 34.5823C49.1711 34.3628 48.2938 34.2308 47.503 34.3188C47.0201 34.3628 46.1853 34.4943 45.8339 34.9332C45.482 35.374 45.3065 36.2953 45.219 36.9102C45.0875 37.8765 45.1301 38.8867 45.2625 39.853C45.3945 40.7308 45.657 41.5661 46.0968 42.2689C46.4478 42.7963 46.8441 43.1912 47.3701 43.4116C47.9864 43.6746 48.6008 43.7186 49.2601 43.5871C50.1374 43.4116 50.9282 42.8843 51.632 42.1374L51.5871 42.0935Z" fill="#85C51F"/>
55
+ <path d="M46.2714 35.5449C45.744 36.1607 45.4805 38.7531 46.0959 40.6412C46.2714 40.6856 46.4913 40.7291 46.7103 40.7291C47.677 40.8176 48.5998 40.3787 49.2147 39.8513C49.1702 40.1147 49.0827 40.2902 48.9947 40.4222C49.5221 40.2037 49.961 39.5444 50.2684 38.7971C50.2254 39.4124 50.1365 39.6758 50.0495 40.0277C50.7088 39.8078 51.2347 39.061 51.6311 38.2711C51.982 37.5678 51.9385 36.5571 51.3237 36.1186C49.6985 34.9324 46.9307 34.8445 46.3163 35.5913L46.2714 35.5449Z" fill="#A1E141"/>
56
+ </g>
57
+ </svg>
vue/dist/img/inline-icon.bc38877d.svg ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <svg width="114" height="100" viewBox="0 0 114 100" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0)">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M58.2508 37.0532C56.7282 36.2291 54.894 36.2492 53.3915 37.1085C44.4417 42.214 13.2056 60.0381 3.42164 65.621C2.8136 65.9678 2.4417 66.611 2.4417 67.3044C2.43667 68.0029 2.81359 68.6462 3.41661 68.9929C12.8236 74.3849 42.1402 91.1789 53.0648 97.4351C55.6327 98.9075 58.7935 98.8924 61.3513 97.3999C71.9694 91.1838 100.065 74.7467 109.929 68.9728C110.638 68.5557 111.065 67.7919 111.055 66.9728C111.04 66.1537 110.582 65.4 109.864 65.013C99.1503 59.209 67.3312 41.9728 58.2508 37.0532Z" fill="#D7DFE5" fill-opacity="0.16"/>
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M30.0232 79.0669C29.5106 78.7302 29.199 78.1524 29.199 77.5343C29.199 71.2177 29.199 36.5895 29.199 28.6196C29.199 27.6046 29.7367 26.6699 30.6111 26.1624C37.5608 22.1373 67.9377 4.53925 74.0432 1.00156C74.7166 0.609605 75.5357 0.559349 76.2493 0.870907C77.2041 1.28297 78.5357 1.86089 79.3749 2.2227C79.8523 2.42873 80.1638 2.90109 80.1638 3.41868C80.1638 9.45386 80.1638 45.5292 80.1638 53.092C80.1638 53.9513 79.7015 54.7403 78.9528 55.1674C72.3046 58.9513 40.2392 77.1926 34.2141 80.6197C33.6161 80.9614 32.8774 80.9363 32.2995 80.5594C31.6111 80.1071 30.6865 79.499 30.0232 79.0669Z" fill="#E5F1FC"/>
5
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M29.6563 79.6247C30.3197 80.0619 31.2442 80.6649 31.9327 81.1172C32.7166 81.6348 33.7267 81.6649 34.5458 81.2026C40.5709 77.7754 72.6362 59.5342 79.2844 55.7503C80.2392 55.2076 80.8322 54.1925 80.8322 53.092C80.8322 45.5292 80.8322 9.45387 80.8322 3.41869C80.8322 2.62975 80.3649 1.92115 79.6413 1.60457C78.8021 1.24276 77.4704 0.669927 76.5156 0.257867C75.6061 -0.139118 74.5659 -0.0788439 73.7066 0.418644C67.601 3.95633 37.2242 21.5544 30.2795 25.5795C29.194 26.2076 28.5257 27.3684 28.5257 28.6196C28.5257 36.5895 28.5257 71.2177 28.5257 77.5343C28.5257 78.3785 28.9528 79.1674 29.6563 79.6247ZM30.395 78.5091C30.0634 78.293 29.8674 77.9262 29.8674 77.5343C29.8674 71.2177 29.8674 36.5895 29.8674 28.6196C29.8674 27.8458 30.2794 27.1272 30.9478 26.7403C37.8975 22.7151 68.2744 5.11717 74.38 1.57948C74.8674 1.29807 75.4654 1.26286 75.983 1.48397C76.9377 1.89603 78.2694 2.47395 79.1086 2.83576C79.3397 2.93626 79.4905 3.16743 79.4905 3.41869C79.4905 9.45387 79.4905 45.5292 79.4905 53.092C79.4905 53.7101 79.1588 54.278 78.6211 54.5845C71.9729 58.3684 39.9076 76.6096 33.8824 80.0368C33.5005 80.2529 33.0332 80.2377 32.6664 79.9965L30.395 78.5091Z" fill="#1B374C"/>
6
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M79.7433 2.55428C79.7433 2.55428 42.6025 23.8457 35.0196 28.1925C34.1101 28.7101 33.5523 29.6799 33.5473 30.7252C33.5171 39.3181 33.3764 80.8006 33.3764 80.8006C33.3764 80.9362 33.487 81.0518 33.6277 81.0518C33.7633 81.0518 33.8789 80.9413 33.8789 80.8006C33.8789 80.8006 34.0196 39.3181 34.0498 30.7252C34.0498 29.8608 34.5171 29.0618 35.2709 28.6297C42.8488 24.2829 79.9895 2.99146 79.9895 2.99146C80.1101 2.92111 80.1553 2.77039 80.0849 2.64979C80.0146 2.52918 79.8639 2.48393 79.7433 2.55428Z" fill="#1B374C"/>
7
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M77.0739 7.78751L45.7925 25.883L45.8176 29.672L77.0739 11.883V7.78751Z" fill="white"/>
8
+ <path d="M42.5212 31.2589C43.5422 30.6708 44.3698 29.3664 44.3698 28.3454C44.3698 27.3244 43.5422 26.9735 42.5212 27.5616C41.5002 28.1496 40.6725 29.454 40.6725 30.475C40.6725 31.496 41.5002 31.8469 42.5212 31.2589Z" fill="#83C11F" fill-opacity="0.16"/>
9
+ <path d="M38.2056 33.6528C39.2266 33.0648 40.0543 31.7604 40.0543 30.7394C40.0543 29.7184 39.2266 29.3675 38.2056 29.9556C37.1847 30.5436 36.357 31.848 36.357 32.869C36.357 33.89 37.1847 34.2409 38.2056 33.6528Z" fill="#FF0002" fill-opacity="0.13"/>
10
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M77.0739 15.4153L36.4608 38.1539L36.3553 76.169L77.0739 52.9379V15.4153Z" fill="#FEFFFF"/>
11
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M77.3251 15.4152C77.3251 15.3248 77.2799 15.2444 77.2045 15.1992C77.1241 15.154 77.0286 15.154 76.9533 15.1942L36.3352 37.9329C36.2598 37.9781 36.2095 38.0635 36.2095 38.1539L36.104 76.164C36.104 76.2544 36.1543 76.3399 36.2296 76.3851C36.31 76.4304 36.4055 76.4304 36.4809 76.3851L77.1995 53.159C77.2799 53.1138 77.3251 53.0283 77.3251 52.9379V15.4152ZM36.7121 38.2997L36.6115 75.7318L76.8226 52.7921V15.8424L36.7121 38.2997Z" fill="#1B374C"/>
12
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M73.9063 20.8742L40.0576 39.8886L40.0032 42.4422L73.9063 23.3637V20.8742Z" fill="#E5F1FC"/>
13
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M73.9063 24.824L40.0576 43.8383L40.0032 46.3919L73.9063 27.3134V24.824Z" fill="#E5F1FC"/>
14
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M73.9063 45.0049L40.0576 64.0193L40.0032 66.5729L73.9063 47.4944V45.0049Z" fill="#E5F1FC"/>
15
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M73.9063 48.9496L40.0576 67.964L40.0032 70.5176L73.9063 51.439V48.9496Z" fill="#E5F1FC"/>
16
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M73.9063 29.4114L40.0576 48.4514L39.9696 59.8956L73.9063 41.1479V29.4114Z" fill="#0482DF" fill-opacity="0.2"/>
17
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M73.9091 29.4108L88.5121 29.9636V43.4811L48.5975 67.6872L39.9694 59.9736L40.0548 48.5314L73.9091 29.4108Z" fill="#63AEED" fill-opacity="0.15"/>
18
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M89.0789 30.4139C89.0789 30.2546 88.9985 30.1051 88.8578 30.0254C88.7221 29.9421 88.5513 29.9398 88.4106 30.0176C83.4809 32.7215 52.9332 49.4789 48.9031 51.6898C48.6317 51.8382 48.4659 52.122 48.4608 52.4315C48.4407 54.7882 48.3704 64.769 48.3503 67.2615C48.3503 67.3792 48.4106 67.4886 48.5111 67.5496C48.6116 67.6107 48.7372 67.6124 48.8428 67.5541C53.1041 65.196 83.5412 48.3521 88.4206 45.6529C88.8277 45.4266 89.0789 44.9992 89.0789 44.5339C89.0789 41.8946 89.0789 33.0732 89.0789 30.4139Z" fill="#0482DF"/>
19
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M87.3062 40.6739C87.3062 40.5147 87.2229 40.3668 87.0852 40.2853C86.9488 40.2034 86.7783 40.2001 86.6381 40.276C84.7069 41.3229 79.1533 44.3338 77.5416 45.2078C77.2676 45.3561 77.097 45.6413 77.0958 45.9522C77.0907 46.8023 77.0806 48.5146 77.0756 49.4017C77.0743 49.5188 77.1362 49.628 77.2372 49.6875C77.3383 49.7477 77.4621 49.7502 77.5656 49.694C79.243 48.7761 84.7296 45.7743 86.6419 44.7279C87.0523 44.5036 87.3062 44.0742 87.3062 43.6069C87.3062 42.7892 87.3062 41.4928 87.3062 40.6739Z" fill="#83C11F"/>
20
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M61.6997 48.3774C61.6997 48.2183 61.6163 48.0704 61.4787 47.9888C61.3423 47.9069 61.1717 47.9037 61.0315 47.9796C59.1004 49.0265 53.5468 52.0373 51.9351 52.9113C51.6611 53.0596 51.4905 53.3448 51.4893 53.6557C51.4842 54.5059 51.4741 56.2181 51.4691 57.1052C51.4678 57.2224 51.5297 57.3315 51.6307 57.3911C51.7318 57.4512 51.8556 57.4537 51.9591 57.3975C53.6365 56.4796 59.1231 53.4779 61.0353 52.4315C61.4458 52.2071 61.6997 51.7778 61.6997 51.3105C61.6997 50.4927 61.6997 49.1963 61.6997 48.3774Z" fill="#BCDEF7"/>
21
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M75.5669 47.2926C75.5669 47.1335 75.4836 46.9855 75.3468 46.9039C75.21 46.8222 75.0405 46.8184 74.9007 46.8942C71.3674 48.8001 54.8847 57.691 51.9701 59.2634C51.6964 59.4107 51.5269 59.693 51.5239 60.0018C51.512 60.8538 51.4883 62.5788 51.4764 63.4713C51.4734 63.5894 51.5358 63.6986 51.637 63.7586C51.7351 63.8203 51.863 63.8223 51.9641 63.7672C55.0304 62.1073 71.3763 53.2546 74.8977 51.3478C75.3111 51.1241 75.5669 50.693 75.5669 50.2239C75.5669 49.4049 75.5669 48.1104 75.5669 47.2926Z" fill="white"/>
22
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M87.3055 34.3931C87.3055 34.234 87.2222 34.086 87.0854 34.0044C86.9486 33.9228 86.7791 33.9189 86.6393 33.9947C83.106 35.9006 66.6233 44.7915 63.7086 46.364C63.435 46.5113 63.2655 46.7935 63.2625 47.1023C63.2506 47.9544 63.2268 49.6793 63.2149 50.5719C63.212 50.69 63.2744 50.7992 63.3755 50.8591C63.4737 50.9209 63.6016 50.9228 63.7027 50.8677C66.769 49.2078 83.1149 40.3551 86.6363 38.4483C87.0497 38.2246 87.3055 37.7935 87.3055 37.3244C87.3055 36.5055 87.3055 35.2109 87.3055 34.3931Z" fill="#BCDEF7"/>
23
+ </g>
24
+ <defs>
25
+ <clipPath id="clip0">
26
+ <rect width="113.065" height="100" fill="white" transform="translate(0.467346)"/>
27
+ </clipPath>
28
+ </defs>
29
+ </svg>
vue/dist/img/logo-archie.cbb10cf5.svg ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <svg width="70" height="58" viewBox="0 0 887 744" version="1.1" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M747.6 234.4c6.5-4 7.8-28 8.5-35 2-16.3 22-23.5 35-15 22.8 16.2 34.5 47.4 37.7 74 3.3 27.3.7 63.6-18.8 85-20.8 23.5-73.4 30.6-104.6 27.3-8.4-.6-16.2-2.6-24-3.8l-15-133.8 16.3 3.2c16.3 3.3 49.4 6.5 64.3-2h.6z" fill="#996"/>
3
+ <path d="M798.3 208.4a54.3 54.3 0 0 0-13.6-13.6c-5.2-4-15-.7-15.6 5.8l-.7 4.6c9.8-3.3 20.8-.7 29.9 3.2m18.2 91.6c3.9-20.8 2-44.8-5.2-65.6a45.5 45.5 0 0 0-20.1-15.6c-12.4-5.2-18.9-3.3-24.7 2-.7 5.1-2 9-3.3 13 33.8 11 48 43.4 53.3 66.8v-.6zm-98.7-48a178 178 0 0 1-36.4-4l11.7 107.8a161 161 0 0 0 50 1.3c11.7-41.6 0-90.2-26-105.8l.7.6zm36.3-7.2c-4.5 2.6-11 4.5-18.8 5.8 23.4 24.7 30.5 69.5 22 104.6 19.6-4 35.8-11 44.2-20.2 2-2 3.3-4.5 5.2-6.5 0-37-14.9-76.6-50.6-84.4-.7.7-.7.7-1.3.7h-.7z" fill="#c0c0a0"/>
4
+ <path d="M747.6 314.9a136.3 136.3 0 0 1-44.8 3.2c-5.2-.6-9.7-1.3-14.3-2.6l-7.7-66.8a178 178 0 0 0 36.3 3.9c17 10.3 28 35 30 62.3h.5zm47.5-94.2l1.9 11.7c1.3 7.8 1.3 17 .6 26a76.1 76.1 0 0 0-34.4-24.7c1.3-3.9 2.6-7.8 3.3-13 5.2-4.5 12.3-7.1 24.6-2l4 2m-9.8-25.3c2 3.3 3.2 6.5 4.6 9.8-7.2-2-14.3-2.6-22.1-.7l.6-4.5c.7-6.5 10.4-9.8 15.6-5.9l1.3.7v.6zm-31.2 49.4c-4.5 2.6-11 4.5-18.8 5.8 14.3 15 22 37 24.7 60.4 9-3.3 17.5-7.8 22.7-14.3 5.2-5.2-8.4-48.7-27.3-52.6-.6.7-.6.7-1.3.7" fill="#fbfac4"/>
5
+ <path d="M138.6 234.4c-6.6-4-7.8-28-8.5-35-2-16.3-22-23.5-35-15-22.8 16.2-34.5 47.4-37.7 74-3.3 27.3-.7 63.6 18.8 85C97 367 149.6 374 180.7 370.8c8.5-.6 16.3-2.6 24-3.8l15-133.8-16.2 3.2c-16.3 3.3-49.4 6.5-64.3-2h-.6z" fill="#996"/>
6
+ <path d="M87.9 208.4a54.4 54.4 0 0 1 13.6-13.6c5.2-4 15-.7 15.6 5.8l.7 4.6a43.3 43.3 0 0 0-29.9 3.2M69.7 300c-3.9-20.8-2-44.8 5.2-65.6A45.5 45.5 0 0 1 95 218.8c12.4-5.2 18.9-3.3 24.7 2 .7 5.1 2 9 3.3 13-33.8 11-48.1 43.4-53.3 66.8v-.6zm98.7-48c11.7 0 24-1.4 36.4-4L193 355.8a161 161 0 0 1-50 1.3c-11.7-41.6 0-90.2 26-105.8l-.7.6zm-36.3-7.2c4.5 2.6 11 4.5 18.8 5.8-23.4 24.7-30.5 69.5-22 104.6-19.6-4-35.8-11-44.2-20.2-2-2-3.3-4.5-5.2-6.5 0-37 14.9-76.6 50.6-84.4.7.7.7.7 1.3.7h.7z" fill="#c0c0a0"/>
7
+ <path d="M138.6 314.9c15.5 3.9 32.4 4.5 44.8 3.2a93 93 0 0 0 14.2-2.6l7.8-66.8a178 178 0 0 1-36.3 3.9c-17 10.3-28 35-30 62.3h-.5zM91 220.7l-1.9 11.7c-1.3 7.8-1.3 17-.6 26a76 76 0 0 1 34.4-24.7c-1.3-3.9-2.6-7.8-3.3-13-5.2-4.5-12.3-7.1-24.6-2l-4 2m9.8-25.3c-2 3.3-3.3 6.5-4.6 9.8 7.2-2 14.3-2.6 22.1-.7l-.6-4.5c-.7-6.5-10.4-9.8-15.6-5.9l-1.3.7v.6zm31.2 49.4c4.5 2.6 11 4.5 18.8 5.8-14.3 15-22 37-24.7 60.4-9-3.3-17.5-7.8-22.7-14.3-5.2-5.2 8.4-48.7 27.3-52.6.6.7.6.7 1.3.7" fill="#fbfac4"/>
8
+ <path d="M210.6 208.4c-22.7-2-44.8 2.6-66.9 5.8l19.5-18.8a274 274 0 0 1 68.2-46A334.1 334.1 0 0 1 349 113.5c-28.5-12.3-61-18.2-91.5-25.3 117.5-24.7 268.2-33.8 376 57.8 61.7 52.6 95.4 150 95.4 238.3 0 333.1-567.5 333.1-567.5 0 0-44.8 11-87.7 31.8-126.6-7.8 1.9-15 4.5-22.7 7.7L136 279.8l24.6-27.9c15-16.9 31.8-31.2 51.3-42.2l-1.3-1.3z" fill="#8ed41e"/>
9
+ <path d="M465.2 105.8c55.2 6.5 109 24.7 153.9 63 54.5 46 83.7 131.8 83.7 209 0 141.6-116.9 215-237.6 219v-491z" fill="#70a91b"/>
10
+ <path d="M256 177.9c43-28.6 113-37.7 197.5-33.1a138.9 138.9 0 0 0-48.7-38.3c38.3-1.3 68.8 7.1 144.8 33a366.8 366.8 0 0 0-221.4-47.3 271 271 0 0 1 77.2 36.3c-77.2-8.4-166.2 28.6-202 59.1 23.5-2.6 44.2 2 66.3 11.7-31.1 11-51.3 20.8-70.8 39.6 33.8-16.9 60.4-31.1 103.3-40.2-16.9-5.9-26-16.3-46.1-20.8" fill="#a1e141"/>
11
+ <path d="M444.4 99.3c78 0 140.9 61 140.9 137 0 75.3-63 137-141 137-77.8 0-140.8-61-140.8-137 0-75.3 63-137 140.9-137" fill="#70a91b"/>
12
+ <path d="M221 364.2c4.6-8.4 431.8-11.6 440.3 0 15 19.5 6.5 38.4 0 54.6H221c-3.9-17.5-10.4-36.4 0-54.6" fill="#70a91b"/>
13
+ <path d="M226.9 376.6c4.5-11 420.7-15.6 429.2 0 14.3 26.6 5.8 52.6 0 74.7H226.9c-4-24-9.8-49.4 0-74.7" fill="#4b7113"/>
14
+ <path d="M573 93.5C567-17.5 417.8-29.3 378.8 57.8c68.8-37.7 139-24 194.2 35.7" fill="#70a91b"/>
15
+ <path d="M489.8 1.3C446.4-5.2 399 13.6 379.5 57c26-14.3 52.6-20.8 77.9-20.8 5.2-9.7 17.5-28.5 33.1-35h-.7z" fill="#85c51f"/>
16
+ <path d="M444.4 85C514.5 85 571 141.5 571 211.6c0 70.2-56.5 126.7-126.6 126.7a126.4 126.4 0 0 1-126.6-126.7c0-70 56.5-126.6 126.6-126.6" fill="#d3e8ef"/>
17
+ <path d="M364.5 117.5c42.2-35 101.3-35 131.2 1.3 29.9 35.7 19.5 93.5-22.7 129.2-42.2 35-101.3 35-131.2-1.3-29.9-35.7-19.5-93.5 22.7-129.2" fill="#fff"/>
18
+ <path d="M447.6 168.8c49.4 0 89 37 89 83.1 0 46.1-39.6 83.1-89 83.1-49.3 0-89-37-89-83 0-46.2 39.7-83.2 89-83.2" fill="#0d82df"/>
19
+ <path d="M447.6 168.8c24 0 46.1 9 61.7 23.4A117.7 117.7 0 0 1 473 248c-35.1 29.2-81.8 33.8-113.7 14.3-.6-3.2-.6-6.5-.6-10.4 0-46 39.6-83.1 89-83.1" fill="#0399ed"/>
20
+ <path d="M447.6 198.7c31.2 0 57.2 24 57.2 53.2 0 29.2-25.3 53.3-57.2 53.3-31.1 0-57.1-24-57.1-53.3 0-29.2 25.3-53.2 57.1-53.2" fill="#232323"/>
21
+ <path d="M447.6 198.7c20.2 0 37.7 9.7 48 24-5.8 9-13.5 17.5-22.6 24.7-23.4 19.5-52 27.9-77.3 26a50.2 50.2 0 0 1-5.2-22.1c0-29.3 25.3-53.3 57.1-53.3v.7z" fill="#323232"/>
22
+ <path d="M397.6 173.3c23.4 0 42.2 17.6 42.2 39.6 0 22.1-18.8 39.7-42.2 39.7-23.3 0-42.2-17.6-42.2-39.7 0-22 18.9-39.6 42.2-39.6" fill="#fff"/>
23
+ <path d="M149 407.8c196-29.3 392.8-26.7 589 0 14.2 102.5 6.4 200 0 298a6845.3 6845.3 0 0 1-589 0 1205 1205 0 0 1 0-298" fill="#9caeb3"/>
24
+ <path d="M205.4 685.7c159.1 5.8 317.6 5.2 476.7 0-57.2-32.5-114.3-63.6-178.6-81.2a457.8 457.8 0 0 1-65 24c-3.2.7-3.2.7-6.4 0-18.2-5.8-36.4-13-54-20.7a696.3 696.3 0 0 0-173.3 78.5l.6-.6zm-37.6-244.2c-8.5 78.6-7.2 157.8 1.3 236.4a789.2 789.2 0 0 1 182.4-84.4c-74-39-126-94.8-183.7-152m535-15.6c-173.3-20.8-347.4-22.7-520.7 0 71.4 79.9 150 145.5 254.5 179.9 111-31.8 187.7-101.3 266.2-179.9m15 252c5.2-78.6 10.4-157.2 2-235.7-58.5 57.8-120.9 113-193.6 151.3 67.6 20 130.5 50 192.2 84.4h-.6z" fill="#d3e8ef"/>
25
+ <path d="M205.4 685.7c76.6 2.6 153.3 3.9 230.6 3.9v-61c-.7 0-1.3 0-3.3-.7-18.2-5.8-36.3-13-53.9-20.8a696.7 696.7 0 0 0-173.4 78.6m-37.6-244.2c-8.5 78.6-7.2 157.8 1.3 236.4a789.2 789.2 0 0 1 182.4-84.4c-74-39-126-94.8-183.7-152M436 409.7c-85.1 0-169.5 5.2-254 16.2 70.8 80 150 144.9 254 179.9V409.7z" fill="#fff"/>
26
+ <path d="M325.6 456.5c-.7 2.6-2 5.2-3.3 7.8-1.3 3.9-3.9 7.7-7.1 10.3-7.8 5.9-17.5 4-26 .7-18.8-7.8-31.8-26.6-39.6-44.8-9.1-20.8-9.8-35.7-4.6-58.5 131.2-7.1 265.6-8.4 393-.6v.6h1.9c2 22.1 0 31.2-5.2 49.4-5.9 20.8-18.2 46-39 55.8-7.8 4-16.9 5.9-24 .7a31.5 31.5 0 0 1-7.8-10.4c-4.6-7.2-5.8-17.5-7.2-25.3-2.5 5.2-5.8 8.4-11 9.7-8.4 2-18.2 3.2-26.6 3.9-8.5.7-17.5 1.3-26.6 1.3-13.7 0-28.6-1.3-41.6-5.2-2 7.8-5.2 15-13 17.5-8.4 2.6-18.8 4-27.9 4.6-9.7.6-19.5 1.3-28.6 1.3-15 0-31.8-1.3-45.4-7.1-5.2-2-8.5-5.9-10.4-11v-.7z" fill="#996"/>
27
+ <path d="M545.7 367.5c5.2 29.2 3.9 66.9-4.6 68.8-13 3.3-63 8.5-87.6-.6-6.5-12.3-6.5-43.5-5.9-68.8 33.8 0 67.6 0 98 .6M336 373.3a586 586 0 0 0-13.6 48.1c-2.6 11.7-4.5 23.4-6.5 31.8-2.6 11.7-8.4 13.7-19.5 9.1-28.5-12.3-43.5-60.4-42.2-89.6 19.5-1.3 48.7-2.6 81.8-4 31.9-.6 67.6-1.2 103.3-1.2 3.2 35.7 3.2 78.6-4.5 87.7-13.7 4.5-67 11-93-.7-11.6-5.2-7-48.7-6.4-80.5l.6-.7zm215-5.8c3.9 15.6 8.4 31.8 13 52.6 2.6 13 3.9 25.3 5.8 33.8 2.6 13 7.8 14.9 18.2 9.7 25.3-13 39.6-61 39-92.9-18.9-1.3-45.5-2.6-76-3.2" fill="#c0c0a0"/>
28
+ <path d="M447.6 385c30.6 0 61 0 89 .7 4.5 16.2 4.5 45.4-15 52.6-20.7 2-50.6 2.6-68.1-4-4.6-9-5.9-29.1-5.9-49.3m-112.3 2c28-.7 59.7-1.3 91.6-1.3 3.2 23.4 9 70.1-20.2 72.7-21.4 2-48 2-65-5.2-9.6-4.5-8.3-37-7-65.6l.6-.6zm-79.9 3.9c13.7-1.3 31.8-2 53.3-2.6 2.6 0 7.8 64.3 7.8 64.3-2.6 11.7-8.5 13.6-19.5 9-22.8-9.7-37-42.2-41-70l-.6-.7zm314.3 63c2.6 13 7.8 14.9 18.2 9.7 20.8-10.4 33.8-44.2 37.7-73.4-12.4-1.3-27.3-2-44.8-2.6-10.4 7.8-12.4 61.7-11 66.3" fill="#fbfac4"/>
29
+ <path d="M391.8 386.3c1.3 25.4 0 50.7-3.2 52.6-6.5 4-30.6 9.1-42.2-.6-4.6-3.3-4-28-3.3-51.3 15.6-.7 31.8-.7 49.4-1.3l-.7.6zm109.1-.6c.6 18.8-.7 36.3-3.3 37.6-5.8 3.3-28.5 7.2-40.2-.6-4-2.6-4-20.1-3.3-37.7H501v.7zm-205.2 3.2c-.7 7.2-.7 15.6-.7 24v26c0 9.8-2.6 11.7-7.8 7.2-10.3-7.8-19.4-32.5-23.3-55.2 9-.7 20.1-1.3 31.8-2m322 .7c-8.4-.7-18.1-1.3-29.2-1.3 0 7.1.7 14.9.7 23.4v27.9c0 10.4 2 12.3 7.1 7.8 9.1-8.5 17.6-33.2 21.5-57.8" fill="#fff"/>
30
+ <path d="M187.9 690.9c-7.1 32.4-39.6 53.9-72 52.6-44.9-2-114.4-51.3-113-100 .6-27.3 20.7-52 41.5-67.6 20.1-15.6 53.9-31.8 79.9-24.6 26 7.1 44.1 42.8 52.6 66.2 7.7 20.1 15.5 52 10.3 73.4h.7z" fill="#85c51f"/>
31
+ <path d="M176.9 687.6c.6-3.9 1.3-7.8 1.3-12.3-8.5-35.7-28.6-76.6-51.3-83.1-35.1-10.4-105.9 36.3-102 84.4 19.5 29.9 61 54.5 91 55.8 27.2 1.3 55.1-16.9 61-44.1v-.7z" fill="#70a91b"/>
32
+ <path d="M144.4 651.3c9-18.2-5.8-50-28.6-47.4-24 3.2-76 39-76 66.8 0 17.6 24 30 49.4 22.8 18.8-5.2 48-27.3 55.2-42.2m20.1 45.4c4.6-11-2-30.5-15-28.6-13.5 2.6-46 26-44.7 39 .6 10.4 18.8 19.5 33.1 14.3a55 55 0 0 0 26.6-24.7" fill="#5d8d17"/>
33
+ <path d="M108.7 566.9c.6 11.6-22.1 22-31.2 13.6-7.8-15-5.8-33.1.7-37 7.1-4 24.6 3.2 30.5 23.4M64.5 588.3c2.6 13-15 24-23.4 18.2-11-11-14.9-30.6-9.7-35.1 5.2-4.5 24 2.6 33.1 16.9M31.4 620.7c4 8.5-4.5 20.2-14.3 19.5C6.7 632.4-3 614.2 1 609.7c3.9-5.2 21.4 0 30.5 11M197.6 500c5.2-9.8-9-16.3-20.7-20.8-11.7-4-17.6-4-22.1 5.8-5.2 9.8-7.8 24.7 4.5 28.6 11.7 3.9 33.8-4 39-13.6h-.7z" fill="#2c440c"/>
34
+ <path d="M208 463.6c1.3 11-14.3 16.9-27.2 19.5-12.4 2.6-17.6 1.3-18.9-9.8-1.3-11 2-28.5 15-31.1 12.3-2.6 29.8 10.4 31.1 21.4" fill="#2c440c"/>
35
+ <path d="M210.6 427.2c1.3 10.4-14.3 15.6-27.2 18.2-12.4 2.6-17.6 1.3-18.9-9.7-1.3-10.4 2-26.6 14.3-29.2 12.4-2.6 29.9 9.7 31.2 20l.6.7zM108.7 403.2c2 8.5 18.2 6.5 30.5 4 12.3-3.3 16.9-6 14.3-14.4-2-8.4-9.8-20.1-22-16.9-12.4 3.3-24.8 18.9-22.8 28v-.7z" fill="#2c440c"/>
36
+ <path d="M97.6 506.5l4 11L93 511a40 40 0 0 1-9.8-13 75 75 0 0 0 2.7 13c-12.4-20.1-23.4-42.2-16.3-71.4 6.5-26.7 33.1-39 52-44.2a99.4 99.4 0 0 1 36.3-3.9c7.2.7 19.5 2.6 24.7 9.1 5.2 6.5 7.8 20.1 9 29.2a163 163 0 0 1-.6 43.5c-2 13-5.8 25.4-12.3 35.8a42.7 42.7 0 0 1-18.8 16.8 45.9 45.9 0 0 1-28 2.6 67.3 67.3 0 0 1-35-21.4l.6-.6z" fill="#85c51f"/>
37
+ <path d="M176.2 409.7c7.8 9.1 11.7 47.4 2.6 75.3a51.6 51.6 0 0 1-46.1-11.7c.7 4 2 6.5 3.3 8.5-7.8-3.2-14.3-13-18.9-24 .7 9 2 13 3.3 18.2-9.8-3.3-17.6-14.3-23.4-26-5.2-10.4-4.6-25.3 4.5-31.8 24-17.6 65-18.9 74-7.8l.7-.7z" fill="#a1e141"/>
38
+ <path d="M699 690.9c7 32.4 39.5 53.9 72 52.6 44.8-2 114.3-51.3 113-100-.6-27.3-20.8-52-41.5-67.6-20.2-15.6-54-31.8-80-24.6-25.9 7.1-44 42.8-52.5 66.2-7.8 20.1-15.6 52-10.4 73.4h-.7z" fill="#85c51f"/>
39
+ <path d="M709.3 687.6c-.6-3.9-1.3-7.8-1.3-12.3 8.5-35.7 28.6-76.6 51.3-83.1 35-10.4 105.9 36.3 102 84.4-19.5 29.9-61 54.5-91 55.8-27.2 1.3-55.1-16.9-61-44.1v-.7z" fill="#70a91b"/>
40
+ <path d="M742.5 651.3c-9.2-18.2 5.8-50 28.5-47.4 24 3.2 76 39 76 66.8 0 17.6-24 30-49.4 22.8-18.8-5.2-48-27.3-55.1-42.2m-20.2 45.4c-4.5-11 2-30.5 15-28.6 13.6 2.6 46 26 44.8 39-.7 10.4-18.9 19.5-33.2 14.3a54.9 54.9 0 0 1-26.6-24.7" fill="#5d8d17"/>
41
+ <path d="M777.5 566.9c-.6 11.6 22.1 22 31.2 13.6 7.8-15 5.8-33.1-.7-37-7.1-4-24.6 3.2-30.5 23.4M821.7 588.3c-2.6 13 15 24 23.4 18.2 11-11 14.9-30.6 9.7-35.1-5.2-4.5-24 2.6-33.1 16.9M854.8 620.7c-4 8.5 4.5 20.2 14.3 19.5 10.4-7.8 20-26 16.2-30.5-3.9-5.2-21.4 0-30.5 11M688.5 500c-5.1-9.8 9.1-16.3 20.8-20.8 11.7-4 17.6-4 22.1 5.8 5.2 9.8 7.8 24.7-4.5 28.6-11.7 3.9-33.8-4-39-13.6h.6z" fill="#2c440c"/>
42
+ <path d="M678.8 463.6c-1.3 11 14.3 16.9 27.3 19.5 12.3 2.6 17.5 1.3 18.8-9.8 1.3-11-2-28.5-15-31.1-12.3-2.6-29.8 10.4-31 21.4" fill="#2c440c"/>
43
+ <path d="M675.6 427.2c-1.3 10.4 14.3 15.6 27.2 18.2 12.4 2.6 17.6 1.3 18.9-9.7 1.3-10.4-2-26.6-14.3-29.2-12.4-2.6-29.9 9.7-31.2 20l-.6.7zM778.2 403.2c-2 8.5-18.2 6.5-30.6 4-12.3-3.3-16.8-6-14.3-14.4 2-8.4 9.8-20.1 22.1-16.9 12.4 3.3 24.7 18.9 22.8 28v-.7z" fill="#2c440c"/>
44
+ <path d="M788.6 506.5l-4 11 8.5-6.5c4-3.2 7.1-7.8 9.7-13a75 75 0 0 1-2.6 13c12.4-20.1 23.4-42.2 16.3-71.4-6.5-26.7-33.1-39-52-44.2a99.4 99.4 0 0 0-36.3-3.9c-7.2.7-19.5 2.6-24.7 9.1-5.2 6.5-7.8 20.1-9 29.2-2 14.3-1.4 29.3.6 43.5 2 13 5.8 25.4 12.3 35.8 5.2 7.8 11 13.6 18.8 16.8a45.9 45.9 0 0 0 28 2.6 67.4 67.4 0 0 0 35-21.4l-.6-.6z" fill="#85c51f"/>
45
+ <path d="M710 409.7c-7.8 9.1-11.7 47.4-2.6 75.3a51.6 51.6 0 0 0 46.1-11.7c-.7 4-2 6.5-3.3 8.5 7.8-3.2 14.3-13 18.9-24-.7 9-2 13-3.3 18.2 9.8-3.3 17.6-14.3 23.4-26 5.2-10.4 4.6-25.3-4.5-31.8-24-17.6-65-18.9-74-7.8l-.7-.7z" fill="#a1e141"/>
46
+ </svg>
vue/dist/img/logo-google-analytics.96bf4718.svg ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <svg width="62" height="62" viewBox="0 0 126 126" version="1.1" xmlns="http://www.w3.org/2000/svg">
2
+ <g transform="matrix(1,0,0,1,-65.292,-0.3225)">
3
+ <path d="M147.996,126.011L75.63,126.011C69.917,126.011 65.292,121.386 65.292,115.673L65.292,93.363C65.292,87.65 69.917,83.025 75.63,83.025L105.012,83.025L105.012,50.38C105.012,44.667 109.637,40.042 115.35,40.042L147.996,40.042L147.996,126.011Z" style="fill:rgb(255,197,23);"/>
4
+ <path d="M180.642,126.011L147.996,126.011L147.996,10.661C147.996,4.948 152.621,0.323 158.334,0.323L180.642,0.323C186.355,0.323 190.98,4.948 190.98,10.661L190.98,115.673C190.708,121.385 186.083,126.01 180.642,126.01Z" style="fill:rgb(245,126,2);"/>
5
+ </g>
6
+ </svg>
vue/dist/img/logo-om.8293cc14.png ADDED
Binary file
vue/dist/img/logo-om.fde9fdb5.svg ADDED
@@ -0,0 +1,174 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <svg class ="omapi-svg-logo" width="100%" height="100%" viewBox="0 0 716 112" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;">
2
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
3
+ <path d="M565.437,342.797C565.437,343.888 564.892,344.524 563.711,344.707C561.166,345.071 547.717,345.071 545.355,344.616C544.174,344.344 543.54,343.526 543.54,342.162C543.54,338.891 543.903,328.168 543.903,324.897C543.903,322.354 543.63,313.993 543.63,311.447C543.63,305.905 541.268,303.179 536.451,303.179C533.543,303.179 527.546,306.541 527.546,309.813L527.546,342.526C527.546,343.889 526.91,344.616 525.635,344.799C523,345.161 510.097,345.072 507.735,344.708C506.462,344.525 505.827,343.798 505.827,342.709L505.917,314.176C505.917,304.089 505.099,296.183 503.555,290.458C503.372,289.64 503.281,288.459 504.371,288.187C506.916,287.914 510.277,287.46 514.549,286.823C520.999,285.551 524.544,284.916 525.361,284.916C526.544,284.916 526.272,293.094 527.451,293.094C527.906,293.094 529.178,291.731 533.994,288.914C538.81,286.097 542.992,284.733 546.536,284.733C556.35,284.733 565.164,289.548 565.164,299.998C565.164,311.63 565.164,318.809 565.255,331.167C565.255,336.44 565.346,340.346 565.346,342.981L565.437,342.797ZM605.785,295.545C605.785,295.908 605.51,296.453 604.875,297.18C599.967,295.908 592.516,297.453 592.516,303.45C592.516,308.72 604.421,313.358 604.421,325.352C604.421,329.35 602.695,334.984 599.697,337.436C593.699,342.525 584.975,346.795 577.251,346.795C575.343,346.795 567.619,333.892 567.619,332.165C567.619,331.802 567.891,331.62 568.255,331.529C571.071,330.984 573.98,330.439 576.796,329.984C580.342,328.802 582.158,326.986 582.158,324.351C582.158,322.533 581.158,320.534 579.07,318.171C575.344,314.082 573.434,311.901 573.254,311.629C562.803,296.088 580.615,281.277 597.063,281.277C598.607,281.277 605.695,294.272 605.695,295.453L605.785,295.545ZM652.946,326.804C652.946,328.714 652.038,335.8 652.038,337.71C652.038,340.073 651.765,340.162 649.675,341.345C644.496,344.16 638.679,345.615 632.319,345.615C620.596,345.615 614.781,341.162 614.781,332.166C614.781,327.716 615.417,312.631 615.417,308.086C615.417,303.272 608.42,307.27 608.42,303.815C608.42,302.725 608.693,298.908 608.693,297.909C608.693,296.454 608.42,291.547 608.42,290.185C608.42,289.367 609.692,288.913 612.328,288.821C613.782,288.821 614.599,288.367 614.69,287.64C614.962,286.095 615.053,283.642 614.962,280.371C614.781,275.191 614.69,273.192 614.69,272.919C614.69,268.194 615.145,265.922 616.053,265.922C617.78,265.922 624.049,267.376 625.504,267.557C627.592,267.83 630.683,268.284 634.864,268.739C635.864,268.83 636.408,269.193 636.408,269.738C636.408,272.464 635.589,281.734 635.589,284.46C635.589,286.459 636.137,287.458 637.317,287.458C639.679,287.458 647.767,287.094 650.222,287.094C651.13,287.094 651.584,287.368 651.584,288.004C651.584,289.821 650.947,294.547 650.947,296.364L651.039,304.815C651.039,305.633 650.494,306.087 649.311,306.087C645.132,305.996 640.863,305.905 636.68,305.905C636.044,305.905 635.772,306.814 635.772,308.54L635.864,317.173C635.864,323.534 636.679,326.805 643.405,326.805C647.222,326.805 652.946,323.718 652.946,326.716L652.946,326.804ZM690.476,307.903C690.476,299.906 680.572,294.727 675.119,301.633C673.575,303.632 672.847,305.904 672.847,308.63C672.847,309.719 673.392,310.266 674.575,310.266C677.573,310.266 682.208,309.811 688.568,308.902C689.931,308.719 690.568,308.358 690.568,307.903L690.476,307.903ZM711.74,311.629C711.74,315.719 710.379,318.079 707.742,318.626C707.289,318.717 703.107,319.171 695.202,319.989C690.385,320.534 683.298,321.17 673.847,321.898C675.575,330.166 689.295,331.712 697.836,326.714C699.381,325.714 700.927,324.804 702.471,323.804C704.289,324.715 709.741,335.163 709.741,337.073C709.741,337.346 709.469,337.798 708.834,338.437C703.926,343.706 696.292,346.342 685.842,346.342C666.759,346.342 653.492,334.256 653.492,315.08C653.492,296.726 665.124,283.003 683.844,283.003C691.567,283.003 698.201,285.82 703.653,291.545C709.103,297.179 711.83,303.903 711.83,311.717L711.74,311.629ZM752.813,306.813C752.813,309.902 749.363,309.175 746.816,308.995C743.092,308.72 738.639,308.72 736.64,310.447C735.457,311.446 734.822,313.629 734.822,316.808C734.822,319.718 735.005,329.714 735.005,332.62C735.005,334.528 735.459,341.161 735.459,343.07C735.459,344.07 734.822,344.615 733.46,344.706C729.552,345.069 719.376,345.069 715.287,344.615C713.923,344.434 713.288,343.797 713.288,342.615L713.377,313.537C713.377,303.995 712.469,296.181 710.743,290.092C710.56,289.274 710.469,288.184 711.56,288.002C713.832,287.73 717.012,287.275 721.375,286.639C727.735,285.367 731.097,284.731 731.279,284.731C733.097,284.731 732.37,292.364 733.733,292.364C734.278,292.364 734.821,291.274 738.731,289.184C742.637,287.093 746.364,286.003 749.906,286.003C752.177,286.003 753.268,286.457 753.268,287.457C753.268,288.638 753.177,290.274 752.905,292.455C752.268,298.361 752.632,301.815 752.632,306.813L752.813,306.813ZM404.505,342.344C404.505,343.706 403.869,344.524 402.687,344.706C400.236,345.069 386.967,345.069 384.515,344.615C383.333,344.343 382.698,343.343 382.698,341.616C382.698,338.437 383.061,328.075 383.061,324.987C383.061,317.899 382.97,312.901 382.788,309.902C382.516,305.086 380.244,302.724 375.973,302.724C372.156,302.724 367.613,306.54 367.159,310.447C366.977,312.174 366.886,317.08 366.886,325.352C366.886,328.531 367.249,339.436 367.249,342.708C367.249,344.071 366.704,344.707 365.523,344.707L347.166,344.707C346.077,344.707 345.44,343.889 345.44,342.253C345.44,338.983 345.804,328.351 345.804,325.081C345.804,322.534 345.531,313.994 345.531,311.447C345.531,296.546 329.72,304.178 329.72,309.54L329.81,342.436C329.81,344.524 329.628,344.616 327.539,344.797C323.177,345.159 315.816,345.159 310.273,344.707C308.274,344.524 308.274,344.524 308.274,342.436L308.365,313.358C308.365,306.723 307.91,299.272 306.911,291.002C306.729,290.003 306.548,288.913 307.638,288.549C309.637,287.731 316.725,287.368 318.088,287.094C319.451,286.822 325.358,285.005 327.629,285.005C329.447,285.005 328.538,293.547 329.356,293.456C331.81,292.819 337.535,284.551 349.439,284.551C356.526,284.551 363.796,287.913 365.704,294.819C369.976,289.003 378.335,284.551 385.515,284.551C395.69,284.551 404.234,289.548 404.234,300.18C404.234,303.815 403.871,315.901 403.871,319.535C403.871,323.807 404.234,338.255 404.234,342.526L404.505,342.344Z" style="fill:white;fill-rule:nonzero;"/>
4
+ </g>
5
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
6
+ <path d="M79.096,314.536C79.096,308.448 75.098,302.45 68.465,302.45C58.559,302.45 54.379,315.445 60.558,322.988C66.738,330.529 79.096,326.35 79.096,314.536M145.432,315.081C145.432,303.359 132.619,298.815 126.713,306.63C121.806,313.173 123.714,327.35 134.709,327.35C141.798,327.349 145.432,323.26 145.432,315.081M167.878,315.173C167.878,332.165 156.973,345.523 139.525,345.523C132.801,345.523 124.441,340.889 124.714,340.889C124.168,340.889 123.896,341.524 123.896,342.707C123.896,346.342 124.532,357.7 124.532,361.335C124.532,362.607 123.896,363.243 122.533,363.243C119.443,363.243 106.993,363.515 104.813,362.971C103.631,362.698 102.995,361.971 102.995,360.699L103.087,313.991C103.087,304.54 102.359,296.635 100.996,290.183C100.814,289.365 100.724,288.274 101.632,287.911C104.904,286.639 116.445,284.913 120.079,284.913C123.805,284.913 122.442,291.182 123.623,291.182C123.169,291.182 124.986,290.092 128.803,287.911C132.71,285.729 136.163,284.64 139.344,284.64C157.245,284.64 167.968,297.453 167.968,315.081L167.878,315.173ZM214.221,326.622C214.221,329.258 213.313,334.982 213.313,337.526C213.313,339.709 213.131,339.98 210.95,341.161C205.771,343.978 199.955,345.434 193.594,345.434C181.871,345.434 176.056,340.981 176.056,331.985C176.056,327.35 176.692,312.538 176.692,307.904C176.692,302.997 169.695,307.177 169.695,303.634C169.695,302.543 169.967,298.726 169.967,297.726C169.967,296.273 169.695,291.366 169.695,290.002C169.695,289.184 170.967,288.73 173.602,288.64C175.056,288.64 175.874,288.185 175.965,287.458C176.238,285.913 176.328,283.46 176.238,280.188C176.056,275.009 175.965,272.464 175.965,272.737C175.965,268.012 176.419,265.74 177.328,265.74C179.509,265.74 184.507,267.103 186.779,267.376C188.868,267.648 191.958,268.102 196.138,268.557C197.138,268.648 197.683,269.012 197.683,269.557C197.683,272.646 196.865,281.188 196.865,284.277C196.865,286.277 197.41,287.276 198.592,287.276C200.954,287.276 209.042,286.913 211.496,286.913C212.404,286.913 212.858,287.185 212.858,287.822C212.858,289.639 212.222,294.364 212.222,296.182L212.313,304.633C212.313,305.451 211.768,305.905 210.587,305.905C206.225,305.814 202.318,305.723 197.956,305.723C197.32,305.723 197.047,306.632 197.047,308.359L197.138,316.991C197.138,323.352 198.047,326.624 204.68,326.624C208.951,326.624 214.221,323.441 214.221,326.532L214.221,326.622ZM237.757,316.535C237.757,321.533 238.12,337.89 238.12,342.888C238.12,343.706 237.575,344.251 236.575,344.434C233.759,344.887 220.764,344.979 217.947,344.434C217.038,344.251 216.493,343.98 216.312,343.616C216.039,343.071 216.584,318.719 216.584,316.537C216.584,305.087 216.13,295.909 215.221,289.094C214.857,286.095 215.585,286.277 221.946,287.004C230.124,287.822 231.487,286.731 237.757,286.731C239.484,286.731 239.211,287.822 239.12,289.094C238.212,296.998 237.757,306.086 237.757,316.535M239.302,271.464C239.302,278.46 235.304,282.005 227.398,282.005C214.857,282.005 212.04,269.464 219.129,263.739C226.58,257.742 239.302,261.831 239.302,271.464M304.366,342.615C304.366,343.706 303.821,344.343 302.639,344.523C300.095,344.887 286.646,344.887 284.283,344.434C283.102,344.16 282.466,343.344 282.466,341.98C282.466,338.71 282.829,327.987 282.829,324.716C282.829,322.17 282.556,313.809 282.556,311.266C282.556,305.723 280.194,302.997 275.378,302.997C272.288,302.997 266.472,306.45 266.472,309.631L266.472,342.345C266.472,343.708 265.836,344.434 264.564,344.616C261.565,344.979 249.479,344.979 246.662,344.524C245.39,344.344 244.754,343.616 244.754,342.525L244.845,313.994C244.845,303.907 244.027,296.001 242.482,290.276C242.301,289.368 242.301,288.277 243.3,288.005C245.845,287.732 249.207,287.277 253.478,286.641C259.93,285.369 263.473,284.733 264.292,284.733C265.472,284.733 265.2,292.912 266.382,292.912C265.928,292.912 268.108,291.549 272.924,288.732C277.741,285.915 281.921,284.552 285.465,284.552C295.279,284.552 304.093,289.368 304.093,299.818C304.093,311.449 304.093,318.629 304.184,330.987C304.184,336.257 304.275,340.163 304.275,342.799L304.366,342.615ZM98.907,314.536C98.907,332.983 86.73,345.614 68.192,345.614C50.381,345.614 37.659,333.165 37.659,315.264C37.659,296.726 49.2,283.64 68.192,283.64C86.548,283.64 98.907,296.181 98.907,314.536" style="fill:white;fill-rule:nonzero;"/>
7
+ </g>
8
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
9
+ <g opacity="0.149002">
10
+ <clipPath id="_clip1">
11
+ <rect x="385.878" y="344.16" width="139.94" height="15.086"/>
12
+ </clipPath>
13
+ <g clip-path="url(#_clip1)">
14
+ <path d="M455.848,344.16C494.47,344.16 525.819,347.522 525.819,351.704C525.819,355.884 494.469,359.246 455.848,359.246C417.228,359.246 385.879,355.884 385.879,351.704C385.878,347.522 417.228,344.16 455.848,344.16" style="fill:black;fill-rule:nonzero;"/>
15
+ </g>
16
+ </g>
17
+ </g>
18
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
19
+ <path d="M497.921,284.186C498.831,283.641 499.012,280.278 499.104,279.279C499.376,277.007 502.193,276.008 504.011,277.189C507.192,279.46 508.827,283.823 509.28,287.548C509.735,291.364 509.372,296.453 506.646,299.452C503.738,302.724 496.377,303.724 492.016,303.269C490.835,303.178 489.744,302.905 488.653,302.724L486.563,284.004L488.837,284.458C491.108,284.912 495.743,285.368 497.833,284.186L497.921,284.186Z" style="fill:rgb(153,153,102);fill-rule:nonzero;"/>
20
+ </g>
21
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
22
+ <path d="M505.009,280.551C504.464,279.824 503.828,279.097 503.101,278.643C502.374,278.097 501.011,278.552 500.918,279.461L500.829,280.096C502.193,279.642 503.737,280.006 505.009,280.551M507.554,293.364C508.099,290.456 507.826,287.093 506.827,284.186C506.1,283.277 505.372,282.551 504.009,282.005C502.282,281.278 501.374,281.551 500.559,282.278C500.467,283.005 500.283,283.55 500.104,284.095C504.829,285.64 506.828,290.183 507.555,293.454L507.555,293.364L507.554,293.364ZM493.741,286.639C492.106,286.639 490.379,286.457 488.653,286.094L490.287,301.178C492.471,301.633 495.013,301.633 497.284,301.361C498.92,295.545 497.284,288.73 493.651,286.549L493.741,286.639ZM498.83,285.64C498.195,286.003 497.283,286.276 496.196,286.457C499.466,289.911 500.466,296.181 499.282,301.088C502.009,300.543 504.28,299.543 505.462,298.271C505.735,297.998 505.916,297.634 506.19,297.362C506.19,292.182 504.1,286.639 499.102,285.549C499.01,285.64 499.01,285.64 498.918,285.64L498.83,285.64Z" style="fill:rgb(192,192,160);fill-rule:nonzero;"/>
23
+ </g>
24
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
25
+ <path d="M497.921,295.453C495.74,295.999 493.378,296.09 491.65,295.908C490.924,295.817 490.287,295.726 489.651,295.544L488.561,286.185C490.287,286.548 492.015,286.73 493.65,286.73C496.013,288.184 497.56,291.637 497.832,295.453L497.921,295.453ZM504.556,282.277C504.644,282.823 504.736,283.368 504.827,283.912C505.009,285.003 505.009,286.275 504.918,287.548C503.735,286.094 502.192,284.822 500.103,284.095C500.283,283.55 500.466,283.004 500.557,282.277C501.281,281.641 502.281,281.277 504.008,282.005C504.192,282.095 504.373,282.186 504.556,282.277M503.192,278.733C503.465,279.188 503.645,279.642 503.828,280.096C502.828,279.824 501.829,279.732 500.738,280.006L500.829,279.37C500.918,278.46 502.281,278.006 503.01,278.552L503.193,278.642L503.193,278.733L503.192,278.733ZM498.83,285.64C498.194,286.003 497.283,286.275 496.195,286.457C498.194,288.547 499.282,291.637 499.647,294.909C500.918,294.453 502.1,293.818 502.828,292.91C503.556,292.182 501.646,286.094 499.012,285.549C498.92,285.64 498.92,285.64 498.83,285.64" style="fill:rgb(251,250,196);fill-rule:nonzero;"/>
26
+ </g>
27
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
28
+ <path d="M412.685,284.186C411.774,283.641 411.594,280.278 411.501,279.279C411.229,277.007 408.412,276.008 406.595,277.189C403.413,279.46 401.779,283.823 401.325,287.548C400.871,291.364 401.234,296.453 403.96,299.452C406.868,302.724 414.228,303.724 418.59,303.269C419.771,303.178 420.862,302.905 421.953,302.724L424.042,284.004L421.769,284.458C419.498,284.912 414.863,285.368 412.773,284.186L412.685,284.186Z" style="fill:rgb(153,153,102);fill-rule:nonzero;"/>
29
+ </g>
30
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
31
+ <path d="M405.597,280.551C406.142,279.824 406.778,279.097 407.504,278.643C408.232,278.097 409.595,278.552 409.688,279.461L409.776,280.096C408.413,279.642 406.868,280.006 405.597,280.551M403.051,293.364C402.507,290.456 402.78,287.093 403.779,284.186C404.506,283.277 405.233,282.551 406.596,282.005C408.323,281.278 409.232,281.551 410.047,282.278C410.139,283.005 410.323,283.55 410.502,284.095C405.777,285.64 403.778,290.183 403.05,293.454L403.05,293.364L403.051,293.364ZM416.865,286.639C418.5,286.639 420.227,286.457 421.953,286.094L420.318,301.178C418.135,301.633 415.592,301.633 413.321,301.361C411.685,295.545 413.321,288.73 416.955,286.549L416.865,286.639ZM411.776,285.64C412.411,286.003 413.323,286.276 414.41,286.457C411.139,289.911 410.14,296.181 411.323,301.088C408.597,300.543 406.326,299.543 405.143,298.271C404.87,297.998 404.69,297.634 404.416,297.362C404.416,292.182 406.506,286.639 411.504,285.549C411.595,285.64 411.595,285.64 411.688,285.64L411.776,285.64Z" style="fill:rgb(192,192,160);fill-rule:nonzero;"/>
32
+ </g>
33
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
34
+ <path d="M412.685,295.453C414.866,295.999 417.228,296.09 418.955,295.908C419.682,295.817 420.318,295.726 420.954,295.544L422.044,286.185C420.318,286.548 418.591,286.73 416.956,286.73C414.593,288.184 413.048,291.637 412.774,295.453L412.685,295.453ZM406.05,282.277C405.961,282.823 405.87,283.368 405.778,283.912C405.597,285.003 405.597,286.275 405.689,287.548C406.87,286.094 408.414,284.822 410.503,284.095C410.323,283.55 410.14,283.004 410.048,282.277C409.324,281.641 408.325,281.277 406.598,282.005C406.414,282.095 406.233,282.186 406.05,282.277M407.414,278.733C407.141,279.188 406.961,279.642 406.778,280.096C407.777,279.824 408.777,279.732 409.868,280.006L409.776,279.37C409.688,278.46 408.325,278.006 407.596,278.552L407.413,278.642L407.413,278.733L407.414,278.733ZM411.776,285.64C412.412,286.003 413.323,286.275 414.411,286.457C412.412,288.547 411.323,291.637 410.959,294.909C409.688,294.453 408.505,293.818 407.777,292.91C407.051,292.182 408.96,286.094 411.594,285.549C411.685,285.64 411.685,285.64 411.776,285.64" style="fill:rgb(251,250,196);fill-rule:nonzero;"/>
35
+ </g>
36
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
37
+ <path d="M422.77,280.551C419.59,280.278 416.499,280.914 413.41,281.369L416.136,278.733C418.773,276.189 422.316,273.917 425.681,272.281C430.677,269.737 436.403,267.829 442.126,267.284C438.126,265.557 433.583,264.739 429.314,263.739C445.763,260.287 466.843,259.014 481.929,271.827C490.563,279.188 495.287,292.819 495.287,305.177C495.287,351.796 415.866,351.796 415.866,305.177C415.866,298.907 417.41,292.91 420.319,287.457C419.229,287.73 418.229,288.093 417.136,288.548L412.323,290.547L415.773,286.639C417.864,284.277 420.227,282.278 422.953,280.733L422.77,280.551Z" style="fill:rgb(142,212,30);fill-rule:nonzero;"/>
38
+ </g>
39
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
40
+ <path d="M458.393,266.193C466.118,267.101 473.659,269.646 479.927,275.007C487.56,281.459 491.65,293.454 491.65,304.268C491.65,324.076 475.293,334.346 458.392,334.891L458.392,266.193L458.393,266.193Z" style="fill:rgb(112,169,27);fill-rule:nonzero;"/>
41
+ </g>
42
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
43
+ <path d="M429.131,276.28C435.129,272.281 444.944,271.009 456.758,271.646C454.668,269.193 452.76,267.647 449.943,266.284C455.304,266.102 459.574,267.284 470.206,270.919C461.03,265.557 449.763,263.104 439.22,264.285C443.036,265.375 446.671,267.102 450.033,269.374C439.22,268.193 426.769,273.372 421.771,277.643C425.044,277.28 427.95,277.915 431.042,279.279C426.68,280.823 423.862,282.187 421.135,284.822C425.86,282.459 429.586,280.46 435.584,279.188C433.221,278.37 431.949,276.916 429.131,276.28" style="fill:rgb(161,225,65);fill-rule:nonzero;"/>
44
+ </g>
45
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
46
+ <path d="M455.483,265.284C466.39,265.284 475.203,273.826 475.203,284.458C475.203,294.999 466.39,303.632 455.483,303.632C444.58,303.632 435.767,295.09 435.767,284.458C435.765,273.917 444.58,265.284 455.483,265.284" style="fill:rgb(112,169,27);fill-rule:nonzero;"/>
47
+ </g>
48
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
49
+ <path d="M424.225,302.36C424.861,301.178 484.654,300.724 485.836,302.36C487.924,305.086 486.745,307.721 485.836,309.993L424.225,309.993C423.68,307.539 422.771,304.904 424.225,302.36" style="fill:rgb(112,169,27);fill-rule:nonzero;"/>
50
+ </g>
51
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
52
+ <path d="M425.043,304.086C425.679,302.541 483.926,301.905 485.108,304.086C487.107,307.811 485.925,311.446 485.108,314.536L425.043,314.536C424.497,311.173 423.68,307.63 425.043,304.086" style="fill:rgb(75,113,19);fill-rule:nonzero;"/>
53
+ </g>
54
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
55
+ <path d="M473.477,264.467C472.66,248.928 451.758,247.292 446.307,259.469C455.939,254.198 465.752,256.107 473.477,264.467" style="fill:rgb(112,169,27);fill-rule:nonzero;"/>
56
+ </g>
57
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
58
+ <path d="M461.845,251.563C455.759,250.654 449.125,253.29 446.399,259.377C450.033,257.378 453.76,256.47 457.303,256.47C458.031,255.107 459.757,252.472 461.938,251.563L461.845,251.563Z" style="fill:rgb(133,197,31);fill-rule:nonzero;"/>
59
+ </g>
60
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
61
+ <path d="M455.483,263.285C465.297,263.285 473.204,271.191 473.204,281.005C473.204,290.819 465.297,298.725 455.483,298.725C445.671,298.725 437.766,290.819 437.766,281.005C437.766,271.191 445.67,263.285 455.483,263.285" style="fill:rgb(211,232,239);fill-rule:nonzero;"/>
62
+ </g>
63
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
64
+ <path d="M444.308,267.829C450.214,262.922 458.484,262.922 462.663,268.011C466.843,273.009 465.39,281.096 459.483,286.094C453.575,291.001 445.307,291.001 441.125,285.912C436.947,280.914 438.402,272.827 444.308,267.829" style="fill:white;fill-rule:nonzero;"/>
65
+ </g>
66
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
67
+ <path d="M455.938,275.008C462.844,275.008 468.388,280.188 468.388,286.639C468.388,293.091 462.842,298.271 455.938,298.271C449.034,298.271 443.489,293.091 443.489,286.639C443.489,280.188 449.033,275.008 455.938,275.008" style="fill:rgb(13,130,223);fill-rule:nonzero;"/>
68
+ </g>
69
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
70
+ <path d="M455.938,275.008C459.3,275.008 462.39,276.28 464.571,278.279C463.754,281.096 462.027,283.913 459.482,286.094C454.575,290.183 448.034,290.82 443.58,288.093C443.489,287.639 443.489,287.185 443.489,286.639C443.489,280.188 449.033,275.008 455.938,275.008" style="fill:rgb(3,153,237);fill-rule:nonzero;"/>
71
+ </g>
72
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
73
+ <path d="M455.938,279.188C460.3,279.188 463.935,282.55 463.935,286.639C463.935,290.729 460.391,294.09 455.938,294.09C451.577,294.09 447.942,290.729 447.942,286.639C447.942,282.55 451.485,279.188 455.938,279.188" style="fill:rgb(35,35,35);fill-rule:nonzero;"/>
74
+ </g>
75
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
76
+ <path d="M455.938,279.188C458.755,279.188 461.209,280.551 462.663,282.55C461.844,283.822 460.754,285.003 459.482,286.003C456.209,288.73 452.21,289.911 448.668,289.638C448.214,288.73 447.942,287.639 447.942,286.548C447.942,282.459 451.485,279.097 455.938,279.097L455.938,279.188Z" style="fill:rgb(50,50,50);fill-rule:nonzero;"/>
77
+ </g>
78
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
79
+ <path d="M448.941,275.644C452.212,275.644 454.847,278.098 454.847,281.187C454.847,284.277 452.212,286.731 448.941,286.731C445.67,286.731 443.035,284.277 443.035,281.187C443.035,278.098 445.67,275.644 448.941,275.644" style="fill:white;fill-rule:nonzero;"/>
80
+ </g>
81
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
82
+ <path d="M414.138,308.448C441.581,304.359 469.117,304.722 496.56,308.448C498.559,322.805 497.468,336.438 496.56,350.157C469.117,351.248 441.581,351.431 414.138,350.157C412.502,336.255 412.322,322.351 414.138,308.448" style="fill:rgb(156,174,179);fill-rule:nonzero;"/>
83
+ </g>
84
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
85
+ <path d="M422.044,347.341C444.308,348.157 466.481,348.069 488.743,347.341C480.747,342.796 472.75,338.437 463.754,335.983C460.844,337.346 457.757,338.437 454.667,339.345C454.212,339.435 454.212,339.435 453.758,339.345C451.212,338.527 448.669,337.527 446.214,336.438C437.49,338.981 429.585,342.707 421.952,347.433L422.044,347.341ZM416.773,313.173C415.592,324.169 415.773,335.255 416.956,346.25C424.953,341.253 433.494,337.254 442.489,334.438C432.13,328.986 424.86,321.17 416.773,313.173M491.65,310.993C467.389,308.083 443.035,307.811 418.773,310.993C428.768,322.168 439.766,331.348 454.396,336.162C469.933,331.712 480.655,321.988 491.65,310.993M493.741,346.25C494.469,335.255 495.195,324.26 494.014,313.265C485.837,321.353 477.112,329.076 466.934,334.436C476.385,337.253 485.201,341.435 493.834,346.249L493.741,346.249L493.741,346.25Z" style="fill:rgb(211,232,239);fill-rule:nonzero;"/>
86
+ </g>
87
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
88
+ <path d="M422.044,347.341C432.765,347.705 443.487,347.886 454.303,347.886L454.303,339.345C454.212,339.345 454.122,339.345 453.849,339.253C451.305,338.438 448.762,337.437 446.307,336.346C437.583,338.89 429.678,342.615 422.044,347.341M416.773,313.173C415.592,324.169 415.773,335.255 416.956,346.25C424.953,341.253 433.494,337.254 442.489,334.438C432.13,328.986 424.86,321.17 416.773,313.173M454.303,308.72C442.399,308.72 430.586,309.447 418.773,310.994C428.679,322.17 439.766,331.258 454.303,336.163L454.303,308.72Z" style="fill:white;fill-rule:nonzero;"/>
89
+ </g>
90
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
91
+ <path d="M438.855,315.264C438.765,315.627 438.583,315.992 438.403,316.355C438.219,316.9 437.856,317.443 437.403,317.807C436.312,318.625 434.95,318.354 433.766,317.898C431.131,316.807 429.315,314.172 428.223,311.628C426.952,308.718 426.86,306.63 427.587,303.449C445.943,302.45 464.754,302.268 482.564,303.358L482.564,303.449L482.838,303.449C483.111,306.539 482.838,307.811 482.112,310.358C481.293,313.265 479.565,316.807 476.659,318.17C475.568,318.717 474.296,318.989 473.296,318.261C472.843,317.898 472.481,317.353 472.206,316.807C471.57,315.808 471.39,314.356 471.207,313.264C470.844,313.991 470.39,314.445 469.662,314.626C468.481,314.899 467.118,315.079 465.936,315.171C464.755,315.263 463.485,315.355 462.21,315.355C460.302,315.355 458.211,315.171 456.396,314.628C456.124,315.719 455.669,316.716 454.579,317.079C453.398,317.443 451.943,317.626 450.671,317.718C449.308,317.807 447.945,317.899 446.673,317.899C444.583,317.899 442.22,317.718 440.312,316.9C439.584,316.627 439.128,316.081 438.858,315.355L438.858,315.264L438.855,315.264Z" style="fill:rgb(153,153,102);fill-rule:nonzero;"/>
92
+ </g>
93
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
94
+ <path d="M469.66,302.814C470.388,306.903 470.205,312.174 469.024,312.446C467.206,312.901 460.209,313.629 456.757,312.357C455.846,310.631 455.846,306.269 455.938,302.725C460.664,302.724 465.389,302.724 469.66,302.814M440.308,303.632C439.673,305.541 439.037,307.721 438.401,310.358C438.037,311.994 437.764,313.629 437.49,314.809C437.127,316.444 436.309,316.718 434.764,316.081C430.765,314.356 428.678,307.632 428.857,303.541C431.584,303.359 435.674,303.178 440.307,302.996C444.761,302.905 449.759,302.814 454.757,302.814C455.209,307.812 455.209,313.81 454.121,315.081C452.21,315.72 444.761,316.628 441.124,314.992C439.488,314.266 440.124,308.177 440.215,303.724L440.308,303.632ZM470.388,302.814C470.931,304.995 471.568,307.267 472.203,310.175C472.566,311.992 472.75,313.721 473.021,314.9C473.385,316.717 474.112,316.99 475.565,316.264C479.111,314.445 481.11,307.72 481.017,303.269C478.384,303.087 474.658,302.905 470.388,302.814" style="fill:rgb(192,192,160);fill-rule:nonzero;"/>
95
+ </g>
96
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
97
+ <path d="M455.938,305.268C460.209,305.268 464.482,305.268 468.388,305.358C469.024,307.631 469.024,311.72 466.297,312.719C463.39,312.993 459.209,313.082 456.756,312.174C456.121,310.901 455.938,308.084 455.938,305.268M440.217,305.54C444.125,305.449 448.578,305.358 453.031,305.358C453.483,308.63 454.302,315.173 450.213,315.536C447.214,315.809 443.489,315.809 441.125,314.809C439.765,314.173 439.945,309.63 440.126,305.631L440.217,305.54ZM429.041,306.086C430.949,305.904 433.492,305.812 436.49,305.722C436.854,305.722 437.581,314.718 437.581,314.718C437.217,316.354 436.4,316.627 434.855,315.991C431.674,314.628 429.675,310.082 429.129,306.176L429.041,306.086ZM473.022,314.9C473.385,316.717 474.113,316.99 475.566,316.264C478.476,314.809 480.292,310.083 480.838,305.995C479.112,305.812 477.022,305.722 474.566,305.631C473.113,306.722 472.839,314.264 473.022,314.9" style="fill:rgb(251,250,196);fill-rule:nonzero;"/>
98
+ </g>
99
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
100
+ <path d="M448.123,305.449C448.307,308.995 448.123,312.537 447.671,312.809C446.763,313.357 443.4,314.082 441.765,312.719C441.126,312.266 441.218,308.811 441.31,305.54C443.49,305.449 445.763,305.449 448.216,305.358L448.123,305.449ZM463.391,305.358C463.481,307.994 463.299,310.447 462.936,310.629C462.119,311.082 458.937,311.629 457.302,310.538C456.757,310.175 456.757,307.72 456.847,305.268L463.392,305.268L463.392,305.358L463.391,305.358ZM434.675,305.812C434.584,306.812 434.584,307.995 434.584,309.175L434.584,312.809C434.584,314.173 434.221,314.445 433.493,313.809C432.041,312.719 430.767,309.266 430.222,306.086C431.494,305.994 433.04,305.904 434.675,305.812M479.747,305.904C478.563,305.812 477.201,305.722 475.657,305.722C475.657,306.721 475.749,307.811 475.749,308.994L475.749,312.901C475.749,314.355 476.021,314.628 476.748,313.991C478.02,312.809 479.202,309.357 479.747,305.904" style="fill:white;fill-rule:nonzero;"/>
101
+ </g>
102
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
103
+ <path d="M419.591,348.068C418.591,352.611 414.045,355.61 409.504,355.428C403.234,355.154 393.51,348.249 393.692,341.434C393.783,337.618 396.6,334.163 399.508,331.984C402.325,329.8 407.05,327.531 410.686,328.53C414.32,329.53 416.864,334.528 418.046,337.798C419.135,340.616 420.227,345.071 419.498,348.069L419.591,348.069L419.591,348.068Z" style="fill:rgb(133,197,31);fill-rule:nonzero;"/>
104
+ </g>
105
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
106
+ <path d="M418.046,347.613C418.135,347.068 418.228,346.522 418.228,345.886C417.047,340.888 414.229,335.164 411.049,334.256C406.142,332.8 396.238,339.344 396.781,346.069C399.508,350.249 405.325,353.702 409.504,353.882C413.32,354.065 417.228,351.519 418.047,347.703L418.047,347.613L418.046,347.613Z" style="fill:rgb(112,169,27);fill-rule:nonzero;"/>
107
+ </g>
108
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
109
+ <path d="M413.502,342.524C414.773,339.98 412.686,335.527 409.504,335.89C406.142,336.345 398.872,341.343 398.872,345.251C398.872,347.705 402.234,349.432 405.777,348.433C408.413,347.705 412.502,344.615 413.502,342.524M416.319,348.885C416.955,347.34 416.046,344.615 414.229,344.886C412.321,345.251 407.776,348.521 407.959,350.339C408.048,351.794 410.594,353.066 412.594,352.338C414.047,351.794 415.773,350.157 416.319,348.885" style="fill:rgb(93,141,23);fill-rule:nonzero;"/>
110
+ </g>
111
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
112
+ <path d="M408.504,330.712C408.595,332.348 405.414,333.8 404.142,332.62C403.051,330.529 403.326,327.985 404.233,327.44C405.233,326.895 407.687,327.895 408.504,330.712" style="fill:rgb(44,68,12);fill-rule:nonzero;"/>
113
+ </g>
114
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
115
+ <path d="M402.325,333.711C402.686,335.526 400.235,337.073 399.052,336.255C397.508,334.71 396.964,331.984 397.688,331.348C398.417,330.712 401.052,331.712 402.325,333.711" style="fill:rgb(44,68,12);fill-rule:nonzero;"/>
116
+ </g>
117
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
118
+ <path d="M397.69,338.254C398.238,339.436 397.054,341.071 395.691,340.981C394.239,339.89 392.876,337.346 393.419,336.709C393.965,335.983 396.419,336.709 397.69,338.254" style="fill:rgb(44,68,12);fill-rule:nonzero;"/>
119
+ </g>
120
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
121
+ <path d="M420.953,321.352C421.681,319.989 419.682,319.078 418.046,318.442C416.408,317.898 415.592,317.898 414.956,319.261C414.228,320.624 413.865,322.713 415.592,323.258C417.227,323.804 420.317,322.713 421.045,321.35L420.953,321.35L420.953,321.352Z" style="fill:rgb(44,68,12);fill-rule:nonzero;"/>
122
+ </g>
123
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
124
+ <path d="M422.408,316.264C422.59,317.808 420.407,318.626 418.592,318.99C416.865,319.354 416.137,319.171 415.957,317.626C415.773,316.079 416.229,313.628 418.047,313.265C419.771,312.902 422.225,314.718 422.408,316.264" style="fill:rgb(44,68,12);fill-rule:nonzero;"/>
125
+ </g>
126
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
127
+ <path d="M422.77,311.174C422.955,312.629 420.771,313.358 418.956,313.721C417.229,314.082 416.501,313.902 416.321,312.358C416.136,310.903 416.593,308.632 418.319,308.268C420.047,307.904 422.499,309.631 422.682,311.083L422.77,311.174Z" style="fill:rgb(44,68,12);fill-rule:nonzero;"/>
128
+ </g>
129
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
130
+ <path d="M408.504,307.812C408.776,308.996 411.048,308.72 412.775,308.36C414.501,307.905 415.138,307.541 414.774,306.36C414.501,305.178 413.41,303.543 411.687,303.997C409.96,304.451 408.233,306.633 408.504,307.905L408.504,307.812Z" style="fill:rgb(44,68,12);fill-rule:nonzero;"/>
131
+ </g>
132
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
133
+ <path d="M406.96,322.261L407.504,323.805L406.323,322.897C405.776,322.442 405.324,321.806 404.96,321.079C405.049,321.806 405.142,322.262 405.324,322.897C403.598,320.079 402.051,316.99 403.05,312.902C403.961,309.175 407.687,307.448 410.322,306.722C411.957,306.268 413.773,305.995 415.408,306.177C416.408,306.268 418.135,306.54 418.862,307.448C419.589,308.36 419.953,310.266 420.134,311.538C420.406,313.537 420.317,315.627 420.045,317.626C419.771,319.442 419.227,321.17 418.318,322.624C417.591,323.715 416.772,324.532 415.684,324.988C414.409,325.532 413.137,325.623 411.773,325.351C409.958,324.988 408.322,323.897 406.867,322.352L406.96,322.261Z" style="fill:rgb(133,197,31);fill-rule:nonzero;"/>
134
+ </g>
135
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
136
+ <path d="M417.955,308.72C419.046,309.994 419.591,315.357 418.318,319.263C417.955,319.355 417.5,319.445 417.047,319.445C415.047,319.628 413.137,318.72 411.866,317.629C411.957,318.174 412.139,318.537 412.321,318.81C411.23,318.358 410.322,316.994 409.685,315.448C409.774,316.721 409.958,317.266 410.139,317.994C408.775,317.539 407.686,315.994 406.867,314.36C406.14,312.905 406.231,310.814 407.503,309.907C410.865,307.453 416.591,307.271 417.862,308.816L417.955,308.72Z" style="fill:rgb(161,225,65);fill-rule:nonzero;"/>
137
+ </g>
138
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
139
+ <path d="M491.106,348.068C492.105,352.611 496.648,355.61 501.193,355.428C507.462,355.154 517.185,348.249 517.002,341.434C516.914,337.618 514.094,334.163 511.188,331.984C508.371,329.8 503.644,327.531 500.01,328.53C496.377,329.53 493.832,334.528 492.65,337.798C491.559,340.616 490.469,345.071 491.198,348.069L491.106,348.069L491.106,348.068Z" style="fill:rgb(133,197,31);fill-rule:nonzero;"/>
140
+ </g>
141
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
142
+ <path d="M492.561,347.613C492.469,347.068 492.376,346.522 492.376,345.886C493.559,340.888 496.375,335.164 499.556,334.256C504.463,332.8 514.367,339.344 513.823,346.069C511.096,350.249 505.279,353.702 501.101,353.882C497.284,354.065 493.376,351.519 492.558,347.703L492.558,347.613L492.561,347.613Z" style="fill:rgb(112,169,27);fill-rule:nonzero;"/>
143
+ </g>
144
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
145
+ <path d="M497.194,342.524C495.92,339.98 498.01,335.527 501.193,335.89C504.555,336.345 511.824,341.343 511.824,345.251C511.824,347.705 508.462,349.432 504.918,348.433C502.282,347.705 498.194,344.615 497.194,342.524M494.377,348.885C493.741,347.34 494.649,344.615 496.467,344.886C498.375,345.251 502.917,348.521 502.737,350.339C502.646,351.794 500.102,353.066 498.102,352.338C496.648,351.794 494.922,350.157 494.377,348.885" style="fill:rgb(93,141,23);fill-rule:nonzero;"/>
146
+ </g>
147
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
148
+ <path d="M502.102,330.712C502.01,332.348 505.192,333.8 506.463,332.62C507.554,330.529 507.28,327.985 506.373,327.44C505.373,326.895 502.918,327.895 502.102,330.712" style="fill:rgb(44,68,12);fill-rule:nonzero;"/>
149
+ </g>
150
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
151
+ <path d="M508.28,333.711C507.919,335.526 510.37,337.073 511.553,336.255C513.097,334.71 513.641,331.984 512.917,331.348C512.188,330.712 509.552,331.712 508.28,333.711" style="fill:rgb(44,68,12);fill-rule:nonzero;"/>
152
+ </g>
153
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
154
+ <path d="M512.915,338.254C512.368,339.436 513.552,341.071 514.914,340.981C516.366,339.89 517.729,337.346 517.186,336.709C516.64,335.983 514.187,336.709 512.915,338.254" style="fill:rgb(44,68,12);fill-rule:nonzero;"/>
155
+ </g>
156
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
157
+ <path d="M489.651,321.352C488.924,319.989 490.923,319.078 492.561,318.442C494.197,317.898 495.012,317.898 495.649,319.261C496.376,320.624 496.74,322.713 495.012,323.258C493.378,323.804 490.287,322.713 489.56,321.35L489.651,321.35L489.651,321.352Z" style="fill:rgb(44,68,12);fill-rule:nonzero;"/>
158
+ </g>
159
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
160
+ <path d="M488.288,316.264C488.107,317.808 490.287,318.626 492.105,318.99C493.832,319.354 494.559,319.171 494.74,317.626C494.922,316.079 494.469,313.628 492.65,313.265C490.924,312.902 488.471,314.718 488.288,316.264" style="fill:rgb(44,68,12);fill-rule:nonzero;"/>
161
+ </g>
162
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
163
+ <path d="M487.835,311.174C487.651,312.629 489.834,313.358 491.649,313.721C493.376,314.082 494.104,313.902 494.284,312.358C494.469,310.903 494.013,308.632 492.285,308.268C490.559,307.904 488.106,309.631 487.924,311.083L487.835,311.174Z" style="fill:rgb(44,68,12);fill-rule:nonzero;"/>
164
+ </g>
165
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
166
+ <path d="M502.192,307.812C501.918,308.996 499.646,308.72 497.919,308.36C496.195,307.905 495.557,307.541 495.92,306.36C496.195,305.178 497.283,303.543 499.009,303.997C500.737,304.451 502.463,306.633 502.192,307.905L502.192,307.812Z" style="fill:rgb(44,68,12);fill-rule:nonzero;"/>
167
+ </g>
168
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
169
+ <path d="M503.646,322.261L503.101,323.805L504.282,322.897C504.83,322.442 505.282,321.806 505.645,321.079C505.556,321.806 505.464,322.262 505.282,322.897C507.008,320.079 508.555,316.99 507.555,312.902C506.645,309.175 502.918,307.448 500.284,306.722C498.648,306.268 496.833,305.995 495.197,306.177C494.198,306.268 492.471,306.54 491.744,307.448C491.016,308.36 490.653,310.266 490.472,311.538C490.2,313.537 490.288,315.627 490.562,317.626C490.835,319.442 491.378,321.17 492.288,322.624C493.014,323.715 493.834,324.532 494.922,324.988C496.197,325.532 497.468,325.623 498.832,325.351C500.647,324.988 502.283,323.897 503.739,322.352L503.646,322.261Z" style="fill:rgb(133,197,31);fill-rule:nonzero;"/>
170
+ </g>
171
+ <g transform="matrix(1,0,0,1,-37.6592,-251.388)">
172
+ <path d="M492.65,308.72C491.559,309.994 491.014,315.357 492.287,319.263C492.65,319.355 493.105,319.445 493.558,319.445C495.558,319.628 497.467,318.72 498.739,317.629C498.647,318.174 498.466,318.537 498.284,318.81C499.375,318.358 500.283,316.994 500.919,315.448C500.83,316.721 500.646,317.266 500.466,317.994C501.83,317.539 502.918,315.994 503.738,314.36C504.464,312.905 504.374,310.814 503.102,309.907C499.74,307.453 494.014,307.271 492.743,308.816L492.65,308.72Z" style="fill:rgb(161,225,65);fill-rule:nonzero;"/>
173
+ </g>
174
+ </svg>
vue/dist/img/logo-woocommerce.f95a6c30.png ADDED
Binary file
vue/dist/img/matthew.f24ebe1c.png ADDED
Binary file
vue/dist/img/measuring.a84628fb.png ADDED
Binary file
vue/dist/img/michael.673eb875.png ADDED
Binary file
vue/dist/img/nav-close.e87b7933.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="13" height="12" viewBox="0 0 13 12" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M12.1667 1.175L10.9917 0L6.33333 4.65833L1.675 0L0.5 1.175L5.15833 5.83333L0.5 10.4917L1.675 11.6667L6.33333 7.00833L10.9917 11.6667L12.1667 10.4917L7.50833 5.83333L12.1667 1.175Z" fill="#606A73"/>
3
+ </svg>
vue/dist/img/neil.5d9cdec3.png ADDED
Binary file
vue/dist/img/om-effect.0e055208.png ADDED
Binary file
vue/dist/img/om-team.d4387068.jpg ADDED
Binary file
vue/dist/img/open-book.5d70405e.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="24" height="18" viewBox="0 0 24 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M11.3542 5.30945C9.14783 2.47388 6.11669 0.886042 2.2275 0.597443V13.3634C6.16429 13.5951 9.09666 15.0982 11.3542 17.4574V5.30945ZM12.4396 5.30945C14.646 2.47388 17.6772 0.886042 21.5663 0.597443V13.3634C17.6295 13.5951 14.6972 15.0982 12.4396 17.4574V5.30945ZM1.20403 3.41799V14.3161C4.66003 14.2292 7.7471 15.566 9.66671 17.2772L9.67861 17.3062C5.84178 15.9104 1.59318 16.3545 -0.00390625 16.9275V3.70659C0.485218 3.6272 0.880326 3.52957 1.20403 3.41799ZM22.5898 3.41799V14.3161C19.1338 14.2292 16.0467 15.566 14.1271 17.2772L14.1152 17.3062C17.9521 15.9104 22.2007 16.3545 23.7977 16.9275V3.70659C23.3086 3.6272 22.9135 3.52957 22.5898 3.41799ZM14.9947 12.7787C14.9947 12.7787 16.8477 11.4441 19.4206 10.884C19.7396 10.8143 19.9359 10.5235 19.8586 10.236C19.7812 9.94849 19.4599 9.77147 19.141 9.84121C16.2967 10.4602 14.2497 11.9419 14.2497 11.9419C13.9938 12.1264 13.9522 12.4644 14.1581 12.695C14.3628 12.9268 14.7376 12.9643 14.9947 12.7787ZM8.74796 12.7787C8.74796 12.7787 6.89381 11.4441 4.32204 10.884C4.0031 10.8143 3.80674 10.5235 3.8829 10.236C3.96026 9.94849 4.28277 9.77147 4.60171 9.84121C7.44601 10.4602 9.49176 11.9419 9.49176 11.9419C9.74763 12.1264 9.78928 12.4644 9.58459 12.695C9.37871 12.9268 9.00383 12.9643 8.74796 12.7787ZM14.9923 9.74465C14.9923 9.74465 16.8465 8.42289 19.4206 7.86285C19.7396 7.79312 19.9359 7.50237 19.8586 7.21485C19.7812 6.92732 19.4599 6.7503 19.141 6.82003C16.2978 7.43907 14.2521 8.90353 14.2521 8.90353C13.995 9.08806 13.9522 9.42494 14.1557 9.65775C14.3604 9.88949 14.7341 9.92811 14.9923 9.74465ZM8.75034 9.74465C8.75034 9.74465 6.89619 8.42289 4.32204 7.86285C4.0031 7.79312 3.80674 7.50237 3.8829 7.21485C3.96026 6.92732 4.28277 6.7503 4.60171 6.82003C7.44363 7.43907 9.48938 8.90353 9.48938 8.90353C9.74644 9.08806 9.79047 9.42494 9.58578 9.65775C9.38228 9.88949 9.0074 9.92811 8.75034 9.74465ZM15.0007 6.90908C15.0007 6.90908 16.8512 5.54011 19.4206 4.98008C19.7396 4.91034 19.9359 4.62067 19.8586 4.33314C19.7812 4.04454 19.4599 3.86752 19.141 3.93726C16.2931 4.55737 14.2438 6.07976 14.2438 6.07976C13.9903 6.26858 13.9546 6.60653 14.1628 6.83505C14.3711 7.06357 14.7472 7.09683 15.0007 6.90908ZM8.74201 6.90908C8.74201 6.90908 6.89143 5.54011 4.32204 4.98008C4.0031 4.91034 3.80674 4.62067 3.8829 4.33314C3.96026 4.04454 4.28277 3.86752 4.60171 3.93726C7.44839 4.55737 9.49771 6.07976 9.49771 6.07976C9.7512 6.26858 9.78809 6.60653 9.57983 6.83505C9.37037 7.06357 8.9955 7.09683 8.74201 6.90908Z" fill="#6C7781"/>
3
+ </svg>
vue/dist/img/orange-warning-circle.80e71989.svg ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <svg width="20" height="20" viewBox="2 0 22 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0)">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M10.3179 1.94999C10.6649 1.36225 11.3061 1.00018 11.9999 1.00018C12.6938 1.00018 13.335 1.36225 13.682 1.94999C15.8443 5.61301 19.5772 11.9366 21.7397 15.5998C22.0867 16.1876 22.0867 16.9119 21.7397 17.4997C21.3928 18.0876 20.7516 18.4497 20.0577 18.4497H3.9422C3.2483 18.4497 2.60709 18.0876 2.26011 17.4997C1.91318 16.9119 1.91322 16.1876 2.2602 15.5998C4.42272 11.9366 8.15559 5.61301 10.3179 1.94999ZM12.0072 15.8402C11.7122 15.8402 11.4546 15.7468 11.2346 15.5599C11.0146 15.3731 10.9046 15.1117 10.9046 14.7758C10.9046 14.4825 11.0097 14.233 11.2201 14.0272C11.4305 13.8214 11.688 13.7185 11.9927 13.7185C12.2974 13.7185 12.5573 13.8214 12.7725 14.0272C12.9877 14.233 13.0953 14.4825 13.0953 14.7758C13.0953 15.107 12.9865 15.3672 12.7689 15.5564C12.5513 15.7456 12.2974 15.8402 12.0072 15.8402ZM11.202 11.1711L10.9699 7.77222C10.9263 7.10993 10.9046 6.6345 10.9046 6.34593C10.9046 5.95329 11.0097 5.64699 11.2201 5.42703C11.4305 5.20707 11.7074 5.09709 12.0507 5.09709C12.4667 5.09709 12.7447 5.23781 12.885 5.51928C13.0252 5.80076 13.0953 6.2064 13.0953 6.73621C13.0953 7.04846 13.0784 7.3654 13.0445 7.68707L12.7326 11.1853C12.6988 11.6016 12.6262 11.9209 12.515 12.1433C12.4038 12.3656 12.22 12.4768 11.9637 12.4768C11.7025 12.4768 11.5212 12.3692 11.4196 12.1539C11.318 11.9387 11.2455 11.6111 11.202 11.1711Z" fill="#F56E28"/>
4
+ </g>
5
+ <defs>
6
+ <clipPath id="clip0">
7
+ <rect width="20" height="17.5" fill="white" transform="translate(2 1)"/>
8
+ </clipPath>
9
+ </defs>
10
+ </svg>
vue/dist/img/play-icon.5eacb21c.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="24" height="18" viewBox="0 0 24 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M17.1429 9.02614C17.1429 9.32078 16.9955 9.60203 16.7411 9.74935L9.88393 14.0351C9.75 14.1288 9.58929 14.169 9.42857 14.169C9.28125 14.169 9.14732 14.1288 9.01339 14.0619C8.74554 13.9145 8.57143 13.6199 8.57143 13.3119V4.74042C8.57143 4.43239 8.74554 4.13774 9.01339 3.99042C9.28125 3.8431 9.61607 3.8431 9.88393 4.01721L16.7411 8.30292C16.9955 8.45024 17.1429 8.73149 17.1429 9.02614ZM24 9.02614C24 7.11096 24 5.07524 23.5848 3.21364C23.2902 1.90114 22.2455 0.93685 20.9866 0.789528C18.0134 0.454707 15 0.454707 12 0.454707C9 0.454707 5.98661 0.454707 3.01339 0.789528C1.75446 0.93685 0.723214 1.90114 0.428571 3.21364C0 5.07524 0 7.11096 0 9.02614C0 10.9413 0 12.977 0.415179 14.8386C0.709821 16.1511 1.75446 17.1154 3.01339 17.2627C5.98661 17.5976 9 17.5976 12 17.5976C15 17.5976 18.0134 17.5976 20.9866 17.2627C22.2455 17.1154 23.2902 16.1511 23.5714 14.8386C24 12.977 24 10.9413 24 9.02614Z" fill="#6C7781"/>
3
+ </svg>
vue/dist/img/popup-icon.e4f71c68.svg ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <svg width="114" height="100" viewBox="0 0 114 100" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0)">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M58.2507 37.0532C56.728 36.2291 54.8939 36.2492 53.3913 37.1085C44.4416 42.214 13.2054 60.0381 3.42151 65.621C2.81347 65.9678 2.44158 66.611 2.44158 67.3044C2.43655 68.0029 2.81347 68.6462 3.41648 68.9929C12.8235 74.3849 42.1401 91.1789 53.0647 97.4351C55.6325 98.9075 58.7934 98.8924 61.3512 97.3999C71.9693 91.1838 100.065 74.7467 109.929 68.9728C110.638 68.5557 111.065 67.7919 111.055 66.9728C111.04 66.1537 110.582 65.4 109.864 65.013C99.1501 59.209 67.3311 41.9728 58.2507 37.0532Z" fill="#D7DFE5" fill-opacity="0.16"/>
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M30.0231 79.0669C29.5105 78.7302 29.199 78.1523 29.199 77.5342C29.199 71.2177 29.199 36.5895 29.199 28.6196C29.199 27.6046 29.7366 26.6699 30.611 26.1624C37.5608 22.1373 67.9377 4.53925 74.0432 1.00156C74.7166 0.609605 75.5357 0.559349 76.2492 0.870907C77.204 1.28297 78.5356 1.86089 79.3748 2.2227C79.8522 2.42873 80.1638 2.90109 80.1638 3.41868C80.1638 9.45385 80.1638 45.5292 80.1638 53.092C80.1638 53.9513 79.7015 54.7403 78.9527 55.1674C72.3045 58.9513 40.2392 77.1926 34.214 80.6197C33.616 80.9614 32.8773 80.9363 32.2994 80.5594C31.611 80.1071 30.6864 79.499 30.0231 79.0669Z" fill="#E5F1FC"/>
5
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M29.6562 79.6247C30.3195 80.0619 31.2441 80.6649 31.9325 81.1172C32.7164 81.6348 33.7265 81.6649 34.5456 81.2026C40.5707 77.7754 72.636 59.5342 79.2843 55.7503C80.239 55.2076 80.832 54.1925 80.832 53.092C80.832 45.5292 80.832 9.45387 80.832 3.41869C80.832 2.62975 80.3647 1.92115 79.6411 1.60457C78.8019 1.24276 77.4702 0.669927 76.5155 0.257867C75.6059 -0.139118 74.5657 -0.0788439 73.7064 0.418644C67.6008 3.95633 37.224 21.5544 30.2793 25.5795C29.1938 26.2076 28.5255 27.3684 28.5255 28.6196C28.5255 36.5895 28.5255 71.2177 28.5255 77.5343C28.5255 78.3785 28.9526 79.1674 29.6562 79.6247ZM30.3948 78.5091C30.0632 78.293 29.8672 77.9262 29.8672 77.5343C29.8672 71.2177 29.8672 36.5895 29.8672 28.6196C29.8672 27.8458 30.2793 27.1272 30.9476 26.7403C37.8973 22.7151 68.2743 5.11717 74.3798 1.57948C74.8672 1.29807 75.4652 1.26286 75.9828 1.48397C76.9375 1.89603 78.2692 2.47395 79.1084 2.83576C79.3395 2.93626 79.4903 3.16743 79.4903 3.41869C79.4903 9.45387 79.4903 45.5292 79.4903 53.092C79.4903 53.7101 79.1586 54.278 78.621 54.5845C71.9727 58.3684 39.9074 76.6096 33.8823 80.0368C33.5003 80.2528 33.033 80.2377 32.6662 79.9965L30.3948 78.5091Z" fill="#1B374C"/>
6
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M79.7431 2.55428C79.7431 2.55428 42.6024 23.8457 35.0194 28.1925C34.1099 28.7101 33.5521 29.6799 33.5471 30.7252C33.5169 39.3181 33.3762 80.8006 33.3762 80.8006C33.3762 80.9362 33.4868 81.0518 33.6275 81.0518C33.7632 81.0518 33.8787 80.9413 33.8787 80.8006C33.8787 80.8006 34.0195 39.3181 34.0496 30.7252C34.0496 29.8608 34.5169 29.0618 35.2707 28.6297C42.8486 24.2829 79.9893 2.99146 79.9893 2.99146C80.1099 2.92111 80.1551 2.77039 80.0848 2.64979C80.0144 2.52918 79.8637 2.48393 79.7431 2.55428Z" fill="#1B374C"/>
7
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M77.0738 7.78751L45.7924 25.883L45.8174 29.672L77.0738 11.883V7.78751Z" fill="white"/>
8
+ <path d="M42.5211 31.2589C43.5421 30.6708 44.3698 29.3664 44.3698 28.3454C44.3698 27.3244 43.5421 26.9735 42.5211 27.5616C41.5001 28.1496 40.6725 29.454 40.6725 30.475C40.6725 31.496 41.5001 31.8469 42.5211 31.2589Z" fill="#83C11F" fill-opacity="0.16"/>
9
+ <path d="M38.2054 33.6528C39.2264 33.0647 40.0541 31.7603 40.0541 30.7394C40.0541 29.7184 39.2264 29.3674 38.2054 29.9555C37.1845 30.5436 36.3568 31.848 36.3568 32.869C36.3568 33.8899 37.1845 34.2409 38.2054 33.6528Z" fill="#FF0002" fill-opacity="0.13"/>
10
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M77.0737 15.4153L36.4606 38.1539L36.3551 76.169L77.0737 52.9379V15.4153Z" fill="#FEFFFF"/>
11
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M77.325 15.4152C77.325 15.3248 77.2798 15.2444 77.2044 15.1992C77.124 15.154 77.0285 15.154 76.9531 15.1942L36.335 37.9329C36.2597 37.9781 36.2094 38.0635 36.2094 38.1539L36.1039 76.164C36.1039 76.2544 36.1541 76.3399 36.2295 76.3851C36.3099 76.4304 36.4054 76.4304 36.4808 76.3851L77.1994 53.159C77.2798 53.1138 77.325 53.0283 77.325 52.9379V15.4152ZM36.7119 38.2997L36.6114 75.7318L76.8225 52.7921V15.8424L36.7119 38.2997Z" fill="#1B374C"/>
12
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M69.6929 27.562L88.7682 26.3308L86.1149 44.7529L63.4466 65.4866L47.4768 60.7077L47.5321 39.969L69.6929 27.562Z" fill="#63AEED" fill-opacity="0.15"/>
13
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M69.6895 27.5637L47.5332 39.9687L47.4756 60.7078L69.6895 48.0341V27.5637Z" fill="#BCDEF7"/>
14
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M89.7237 27.203C89.7237 26.9119 89.5682 26.6407 89.3168 26.4918C89.0621 26.3429 88.7511 26.3396 88.4931 26.4819C83.736 29.1482 66.6363 38.7186 63.487 40.4818C63.1793 40.6571 62.9874 40.9814 62.9841 41.3353C62.9775 44.6302 62.9312 61.108 62.9213 64.9752C62.9213 65.1439 63.0106 65.2994 63.1561 65.3821C63.3017 65.4681 63.4803 65.4681 63.6259 65.3854C67.3078 63.2847 84.3149 53.582 88.6949 51.0844C89.33 50.7205 89.7237 50.0423 89.7237 49.3112C89.7237 45.2058 89.7237 31.6326 89.7237 27.203Z" fill="#0482DF"/>
15
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M87.2393 30.9681C87.2393 30.7463 87.1209 30.5421 86.9293 30.4312C86.7377 30.3177 86.5032 30.3152 86.3091 30.4236C82.7874 32.395 70.3188 39.3754 67.4525 40.9813C67.087 41.1855 66.8626 41.5712 66.8601 41.9871C66.8551 43.8375 66.8424 48.9651 66.8374 50.8205C66.8374 50.9617 66.9105 51.0927 67.034 51.1633C67.155 51.2364 67.3063 51.2364 67.4273 51.1658C70.4701 49.4314 84.2571 41.5661 86.8461 40.0888C87.1057 39.9426 87.2645 39.6653 87.2645 39.3679C87.2595 37.8427 87.2469 33.1059 87.2393 30.9681Z" fill="#BCDEF7"/>
16
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M87.2419 41.7489C87.2394 41.6607 87.194 41.58 87.1184 41.5372C87.0427 41.4918 86.9494 41.4918 86.8738 41.5347C84.3226 42.964 69.197 51.4319 67.1021 52.6041C66.9534 52.6873 66.8626 52.8436 66.8601 53.0125C66.8601 53.6276 66.8551 55.1099 66.8551 55.8284C66.8526 55.9141 66.8979 55.9922 66.971 56.0326C67.0416 56.0754 67.1324 56.0754 67.2055 56.0351C69.6735 54.6309 84.3479 46.2841 86.8915 44.8371C87.1209 44.706 87.2646 44.459 87.2621 44.1943C87.257 43.559 87.2469 42.3767 87.2419 41.7489Z" fill="white"/>
17
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M87.2419 46.7273C87.2394 46.6441 87.1965 46.5685 87.1234 46.5256C87.0503 46.4827 86.962 46.4827 86.8889 46.5231C84.3856 47.9272 69.1542 56.453 67.092 57.6076C66.9509 57.6883 66.8626 57.837 66.8626 58.0009C66.8601 58.6084 66.8551 60.1109 66.8525 60.8344C66.8525 60.9176 66.8979 60.9933 66.9685 61.0336C67.0391 61.0764 67.1273 61.0764 67.2004 61.0361C69.7113 59.6067 85.0461 50.8868 87.0503 49.7474C87.1814 49.6692 87.2645 49.528 87.262 49.3743C87.2595 48.8096 87.2469 47.4155 87.2419 46.7273Z" fill="#83C11F"/>
18
+ </g>
19
+ <defs>
20
+ <clipPath id="clip0">
21
+ <rect width="113.065" height="100" fill="white" transform="translate(0.467285)"/>
22
+ </clipPath>
23
+ </defs>
24
+ </svg>
vue/dist/img/rating.9d148e32.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="113" height="21" viewBox="0 0 113 21" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M3.848 20.408L6.416 12.776L0.224 8.624H7.808L10.52 0.439999L13.28 8.624H20.816L14.624 12.776L17.24 20.408L10.52 15.536L3.848 20.408ZM26.8871 20.408L29.4551 12.776L23.2631 8.624H30.8471L33.5591 0.439999L36.3191 8.624H43.8551L37.6631 12.776L40.2791 20.408L33.5591 15.536L26.8871 20.408ZM49.9261 20.408L52.4941 12.776L46.3021 8.624H53.8861L56.5981 0.439999L59.3581 8.624H66.8941L60.7021 12.776L63.3181 20.408L56.5981 15.536L49.9261 20.408ZM72.9652 20.408L75.5332 12.776L69.3412 8.624H76.9252L79.6372 0.439999L82.3972 8.624H89.9332L83.7412 12.776L86.3572 20.408L79.6372 15.536L72.9652 20.408ZM96.0043 20.408L98.5723 12.776L92.3803 8.624H99.9643L102.676 0.439999L105.436 8.624H112.972L106.78 12.776L109.396 20.408L102.676 15.536L96.0043 20.408Z" fill="#FFD10E"/>
3
+ </svg>
vue/dist/img/red-alert-circle.32339230.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.99688 9.15527e-05C15.5142 9.15527e-05 19.9936 4.47946 19.9936 9.9968C19.9936 15.5141 15.5142 19.9935 9.99688 19.9935C4.47955 19.9935 0.000183105 15.5141 0.000183105 9.9968C0.000183105 4.47946 4.47955 9.15527e-05 9.99688 9.15527e-05ZM10.005 16.1581C9.67403 16.1581 9.38512 16.0509 9.13819 15.8366C8.89131 15.6223 8.76788 15.3225 8.76788 14.9372C8.76788 14.6008 8.88589 14.3146 9.12192 14.0785C9.35795 13.8425 9.64691 13.7245 9.98875 13.7245C10.3306 13.7245 10.6223 13.8425 10.8637 14.0785C11.1052 14.3146 11.2259 14.6008 11.2259 14.9372C11.2259 15.317 11.1038 15.6155 10.8596 15.8325C10.6154 16.0496 10.3306 16.1581 10.005 16.1581ZM9.10158 10.8026L8.84114 6.90397C8.79228 6.1443 8.76788 5.59898 8.76788 5.26799C8.76788 4.81762 8.88589 4.46629 9.12192 4.21399C9.35795 3.96169 9.6686 3.83549 10.0539 3.83549C10.5205 3.83549 10.8325 3.99694 10.9899 4.3198C11.1472 4.64266 11.2259 5.10794 11.2259 5.71564C11.2259 6.07375 11.2069 6.43733 11.1689 6.80629L10.8189 10.8188C10.7809 11.2964 10.6995 11.6626 10.5748 11.9176C10.45 12.1726 10.2438 12.3001 9.9562 12.3001C9.66318 12.3001 9.45969 12.1767 9.34574 11.9298C9.2318 11.6829 9.15039 11.3072 9.10158 10.8026Z" fill="#DC3232"/>
3
+ </svg>
vue/dist/img/redx-hollow.8bb523f4.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="16" height="15" viewBox="0 0 16 15" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M13.2448 0.646447C13.151 0.552678 13.0239 0.5 12.8913 0.5C12.7586 0.5 12.6315 0.552678 12.5377 0.646447L12.1301 1.05405L12.4836 1.4076L11.6684 2.22281L11.3149 1.86926L10.4997 2.68447L10.8532 3.03802L10.038 3.85323L9.68447 3.49968L8.86926 4.31488L9.22281 4.66844L8.4076 5.48365L8.05405 5.13009L8 5.18414L7.94595 5.13009L7.5924 5.48365L6.77719 4.66844L7.13074 4.31488L6.31553 3.49968L5.96198 3.85323L5.14677 3.03802L5.50032 2.68447L4.68512 1.86926L4.33156 2.22281L3.51635 1.4076L3.86991 1.05405L3.4623 0.646447C3.36854 0.552678 3.24136 0.5 3.10875 0.5C2.97614 0.5 2.84896 0.552678 2.7552 0.646447L2.44676 0.954884L2.80031 1.30844L2.7552 1.35355L2.22855 1.8802L2.18344 1.92531L1.82988 1.57176L1.52145 1.8802C1.42768 1.97396 1.375 2.10114 1.375 2.23375C1.375 2.36636 1.42768 2.49354 1.52145 2.5873L1.92905 2.99491L2.2826 2.64135L3.09781 3.45656L2.74426 3.81012L3.55947 4.62532L3.91302 4.27177L4.72823 5.08698L4.37468 5.44053L5.18988 6.25574L5.54344 5.90219L6.35865 6.7174L6.00509 7.07095L6.05914 7.125L6.00509 7.17905L6.35865 7.5326L5.54344 8.34781L5.18988 7.99426L4.37468 8.80947L4.72823 9.16302L3.91302 9.97823L3.55947 9.62468L2.74426 10.4399L3.09781 10.7934L2.2826 11.6086L1.92905 11.2551L1.52145 11.6627C1.42768 11.7565 1.375 11.8836 1.375 12.0163C1.375 12.1489 1.42768 12.276 1.52145 12.3698L1.82988 12.6782L2.18344 12.3247L2.22855 12.3698L2.7552 12.8964L2.80031 12.9416L2.44676 13.2951L2.7552 13.6036C2.95046 13.7988 3.26704 13.7988 3.4623 13.6036L3.86991 13.1959L3.51635 12.8424L4.33156 12.0272L4.68512 12.3807L5.50032 11.5655L5.14677 11.212L5.96198 10.3968L6.31553 10.7503L7.13074 9.93512L6.77719 9.58156L7.5924 8.76635L7.94595 9.11991L8 9.06586L8.05405 9.11991L8.4076 8.76635L9.22281 9.58156L8.86926 9.93512L9.68447 10.7503L10.038 10.3968L10.8532 11.212L10.4997 11.5655L11.3149 12.3807L11.6684 12.0272L12.4836 12.8424L12.1301 13.1959L12.5377 13.6036C12.733 13.7988 13.0495 13.7988 13.2448 13.6036L13.5532 13.2951L13.1997 12.9416L13.2448 12.8964L13.7714 12.3698L13.8166 12.3247L14.1701 12.6782L14.4786 12.3698C14.6738 12.1745 14.6738 11.858 14.4786 11.6627L14.0709 11.2551L13.7174 11.6086L12.9022 10.7934L13.2557 10.4399L12.4405 9.62468L12.087 9.97823L11.2718 9.16302L11.6253 8.80947L10.8101 7.99426L10.4566 8.34781L9.64135 7.5326L9.99491 7.17905L9.94086 7.125L9.99491 7.07095L9.64135 6.7174L10.4566 5.90219L10.8101 6.25574L11.6253 5.44053L11.2718 5.08698L12.087 4.27177L12.4405 4.62532L13.2557 3.81012L12.9022 3.45656L13.7174 2.64135L14.0709 2.99491L14.4786 2.5873C14.6738 2.39204 14.6738 2.07546 14.4786 1.8802L14.1701 1.57176L13.8166 1.92531L13.7714 1.8802L13.2448 1.35355L13.1997 1.30844L13.5532 0.954884L13.2448 0.646447Z" stroke="#DC3232" stroke-linejoin="round" stroke-dasharray="1 1"/>
3
+ </svg>
vue/dist/img/redx.66010999.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="16" height="15" viewBox="0 0 16 15" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M13.2448 0.646447C13.151 0.552678 13.0239 0.5 12.8913 0.5C12.7586 0.5 12.6315 0.552678 12.5377 0.646447L8 5.18414L3.4623 0.646447C3.36854 0.552678 3.24136 0.5 3.10875 0.5C2.97614 0.5 2.84896 0.552678 2.7552 0.646447L1.52145 1.8802C1.42768 1.97396 1.375 2.10114 1.375 2.23375C1.375 2.36636 1.42768 2.49354 1.52145 2.5873L6.05914 7.125L1.52145 11.6627C1.42768 11.7565 1.375 11.8836 1.375 12.0163C1.375 12.1489 1.42768 12.276 1.52145 12.3698L2.7552 13.6036C2.95046 13.7988 3.26704 13.7988 3.4623 13.6036L8 9.06586L12.5377 13.6036C12.733 13.7988 13.0495 13.7988 13.2448 13.6036L14.4786 12.3698C14.6738 12.1745 14.6738 11.858 14.4786 11.6627L9.94086 7.125L14.4786 2.5873C14.6738 2.39204 14.6738 2.07546 14.4786 1.8802L13.2448 0.646447Z" fill="#DC3232" stroke="#DC3232" stroke-linejoin="round"/>
3
+ </svg>
vue/dist/img/rocket-blue.c44bdac0.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg fill="none" height="19" viewBox="0 0 19 19" width="19" xmlns="http://www.w3.org/2000/svg"><g fill="#087ce1"><path clip-rule="evenodd" d="m6.65 16.15c-.95 0-3.8-2.85-3.8-3.8 0-.3164.31635-.95.95-1.9l-3.8-.95 1.9-2.85 3.8.95c3.8-5.7 9.5-7.6 13.3-7.6 0 3.8-1.9 9.5-7.6 13.3l.95 3.8-2.85 1.9-.95-3.8c-.95.6336-1.58365.95-1.9.95zm-.912-2.888c.3363.3372.68305.6384.97185.8455.21185-.1178.47595-.2812.7866-.4883l2.84995-1.9c3.7032-2.47 5.9271-6.0952 6.5626-9.62825-3.533.6365-7.15915 2.8595-9.6282 6.5626l-1.9 2.84995c-.2071.3107-.3705.5748-.48925.7866.209.2888.5092.6366.8455.9728z" fill-rule="evenodd"/><path d="m12.825 7.6c.787 0 1.425-.63799 1.425-1.425s-.638-1.425-1.425-1.425-1.425.63799-1.425 1.425.638 1.425 1.425 1.425z"/><path clip-rule="evenodd" d="m1.9 13.3.95 1.425c-.63365.6337-.95 1.425-.95 2.375.95 0 1.74135-.3164 2.375-.95l1.425.95c-1.26635 1.2664-3.16635 1.9-5.7 1.9 0-2.5336.63365-4.4337 1.9-5.7z" fill-rule="evenodd"/></g></svg>
vue/dist/img/rocket.8cca24c0.svg ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <svg width="18" height="19" viewBox="0 0 18 19" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M5.95 16.45C5.1 16.45 2.55 13.9 2.55 13.05C2.55 12.767 2.83305 12.2 3.4 11.35L0 10.5L1.7 7.95L5.1 8.8C8.5 3.7 13.6 2 17 2C17 5.4 15.3 10.5 10.2 13.9L11.05 17.3L8.5 19L7.65 15.6C6.8 16.167 6.23305 16.45 5.95 16.45ZM5.134 13.866C5.4349 14.1678 5.74515 14.4372 6.00355 14.6225C6.1931 14.5171 6.4294 14.3709 6.70735 14.1856L9.25735 12.4856C12.5707 10.2756 14.5605 7.032 15.1292 3.87085C11.968 4.44035 8.72355 6.42935 6.5144 9.74265L4.8144 12.2927C4.6291 12.5706 4.4829 12.8069 4.37665 12.9965C4.56365 13.2549 4.83225 13.566 5.13315 13.8669L5.134 13.866Z" fill="white"/>
3
+ <path d="M11.475 8.8C12.1792 8.8 12.75 8.22916 12.75 7.525C12.75 6.82084 12.1792 6.25 11.475 6.25C10.7708 6.25 10.2 6.82084 10.2 7.525C10.2 8.22916 10.7708 8.8 11.475 8.8Z" fill="white"/>
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M1.7 13.9L2.55 15.175C1.98305 15.742 1.7 16.45 1.7 17.3C2.55 17.3 3.25805 17.017 3.825 16.45L5.1 17.3C3.96695 18.4331 2.26695 19 0 19C0 16.7331 0.56695 15.0331 1.7 13.9Z" fill="white"/>
5
+ </svg>
vue/dist/img/scheduled.a220f4b7.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="12" height="13" viewBox="0 0 12 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M10.2857 2.42857H9.42857V1.78571C9.42857 1.19643 8.94643 0.714285 8.35714 0.714285H7.92857C7.33929 0.714285 6.85714 1.19643 6.85714 1.78571V2.42857H4.28571V1.78571C4.28571 1.19643 3.80357 0.714285 3.21429 0.714285H2.78571C2.19643 0.714285 1.71429 1.19643 1.71429 1.78571V2.42857H0.857143C0.388393 2.42857 0 2.81696 0 3.28571V11.8571C0 12.3259 0.388393 12.7143 0.857143 12.7143H10.2857C10.7545 12.7143 11.1429 12.3259 11.1429 11.8571V3.28571C11.1429 2.81696 10.7545 2.42857 10.2857 2.42857ZM7.71429 1.78571C7.71429 1.66518 7.80804 1.57143 7.92857 1.57143H8.35714C8.47768 1.57143 8.57143 1.66518 8.57143 1.78571V3.71429C8.57143 3.83482 8.47768 3.92857 8.35714 3.92857H7.92857C7.80804 3.92857 7.71429 3.83482 7.71429 3.71429V1.78571ZM2.57143 1.78571C2.57143 1.66518 2.66518 1.57143 2.78571 1.57143H3.21429C3.33482 1.57143 3.42857 1.66518 3.42857 1.78571V3.71429C3.42857 3.83482 3.33482 3.92857 3.21429 3.92857H2.78571C2.66518 3.92857 2.57143 3.83482 2.57143 3.71429V1.78571ZM10.2857 11.8571H0.857143V5H10.2857V11.8571ZM6 8V6.5C6 6.37946 5.90625 6.28571 5.78571 6.28571H5.35714C5.23661 6.28571 5.14286 6.37946 5.14286 6.5V8H3.64286C3.52232 8 3.42857 8.09375 3.42857 8.21429V8.64286C3.42857 8.76339 3.52232 8.85714 3.64286 8.85714H5.14286V10.3571C5.14286 10.4777 5.23661 10.5714 5.35714 10.5714H5.78571C5.90625 10.5714 6 10.4777 6 10.3571V8.85714H7.5C7.62054 8.85714 7.71429 8.76339 7.71429 8.64286V8.21429C7.71429 8.09375 7.62054 8 7.5 8H6Z" fill="#6C7781"/>
3
+ </svg>
vue/dist/img/search.e7c97515.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="13" height="13" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8.35714 5.83877C8.35714 7.63062 6.899 9.08877 5.10714 9.08877C3.31529 9.08877 1.85714 7.63062 1.85714 5.83877C1.85714 4.04692 3.31529 2.58877 5.10714 2.58877C6.899 2.58877 8.35714 4.04692 8.35714 5.83877ZM12.0714 11.8745C12.0714 11.6278 11.9699 11.3884 11.803 11.2216L9.31473 8.7333C9.90234 7.88453 10.2143 6.86891 10.2143 5.83877C10.2143 3.01678 7.92913 0.731628 5.10714 0.731628C2.28516 0.731628 0 3.01678 0 5.83877C0 8.66076 2.28516 10.9459 5.10714 10.9459C6.13728 10.9459 7.1529 10.634 8.00167 10.0464L10.49 12.5274C10.6568 12.7015 10.8962 12.8031 11.1429 12.8031C11.6507 12.8031 12.0714 12.3823 12.0714 11.8745Z" fill="#C9D0D6"/>
3
+ </svg>
vue/dist/img/slide-icon.04b550e8.svg ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <svg width="114" height="100" viewBox="0 0 114 100" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0)">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M58.2508 37.0532C56.7282 36.2291 54.894 36.2492 53.3915 37.1085C44.4417 42.214 13.2056 60.0381 3.42164 65.621C2.8136 65.9678 2.4417 66.611 2.4417 67.3044C2.43667 68.0029 2.81359 68.6462 3.41661 68.9929C12.8236 74.3849 42.1402 91.1789 53.0648 97.4351C55.6327 98.9075 58.7935 98.8924 61.3513 97.3999C71.9694 91.1838 100.065 74.7467 109.929 68.9728C110.638 68.5557 111.065 67.7919 111.055 66.9728C111.04 66.1537 110.582 65.4 109.864 65.013C99.1503 59.209 67.3312 41.9728 58.2508 37.0532Z" fill="#D7DFE5" fill-opacity="0.16"/>
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M30.0232 79.0669C29.5106 78.7302 29.199 78.1523 29.199 77.5342C29.199 71.2177 29.199 36.5895 29.199 28.6196C29.199 27.6046 29.7367 26.6699 30.6111 26.1624C37.5608 22.1373 67.9377 4.53925 74.0432 1.00156C74.7166 0.609605 75.5357 0.559349 76.2493 0.870907C77.2041 1.28297 78.5357 1.86089 79.3749 2.2227C79.8523 2.42873 80.1638 2.90109 80.1638 3.41868C80.1638 9.45385 80.1638 45.5292 80.1638 53.092C80.1638 53.9513 79.7015 54.7403 78.9528 55.1674C72.3046 58.9513 40.2392 77.1926 34.2141 80.6197C33.6161 80.9614 32.8774 80.9363 32.2995 80.5594C31.6111 80.1071 30.6865 79.499 30.0232 79.0669Z" fill="#E5F1FC"/>
5
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M29.6563 79.6247C30.3197 80.0619 31.2442 80.6649 31.9327 81.1172C32.7166 81.6348 33.7267 81.6649 34.5458 81.2026C40.5709 77.7754 72.6362 59.5342 79.2844 55.7503C80.2392 55.2076 80.8322 54.1925 80.8322 53.092C80.8322 45.5292 80.8322 9.45387 80.8322 3.41869C80.8322 2.62975 80.3649 1.92115 79.6413 1.60457C78.8021 1.24276 77.4704 0.669927 76.5156 0.257867C75.6061 -0.139118 74.5659 -0.0788439 73.7066 0.418644C67.601 3.95633 37.2242 21.5544 30.2795 25.5795C29.194 26.2076 28.5257 27.3684 28.5257 28.6196C28.5257 36.5895 28.5257 71.2177 28.5257 77.5343C28.5257 78.3785 28.9528 79.1674 29.6563 79.6247ZM30.395 78.5091C30.0634 78.293 29.8674 77.9262 29.8674 77.5343C29.8674 71.2177 29.8674 36.5895 29.8674 28.6196C29.8674 27.8458 30.2794 27.1272 30.9478 26.7403C37.8975 22.7151 68.2744 5.11717 74.38 1.57948C74.8674 1.29807 75.4654 1.26286 75.983 1.48397C76.9377 1.89603 78.2694 2.47395 79.1086 2.83576C79.3397 2.93626 79.4905 3.16743 79.4905 3.41869C79.4905 9.45387 79.4905 45.5292 79.4905 53.092C79.4905 53.7101 79.1588 54.278 78.6211 54.5845C71.9729 58.3684 39.9076 76.6096 33.8824 80.0368C33.5005 80.2528 33.0332 80.2377 32.6664 79.9965L30.395 78.5091Z" fill="#1B374C"/>
6
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M79.7432 2.55428C79.7432 2.55428 42.6025 23.8457 35.0196 28.1925C34.1101 28.7101 33.5523 29.6799 33.5472 30.7252C33.5171 39.3181 33.3764 80.8006 33.3764 80.8006C33.3764 80.9362 33.4869 81.0518 33.6276 81.0518C33.7633 81.0518 33.8789 80.9413 33.8789 80.8006C33.8789 80.8006 34.0196 39.3181 34.0498 30.7252C34.0498 29.8608 34.5171 29.0618 35.2709 28.6297C42.8487 24.2829 79.9895 2.99146 79.9895 2.99146C80.1101 2.92111 80.1553 2.77039 80.0849 2.64979C80.0146 2.52918 79.8638 2.48393 79.7432 2.55428Z" fill="#1B374C"/>
7
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M77.0739 7.78751L45.7925 25.883L45.8176 29.672L77.0739 11.883V7.78751Z" fill="white"/>
8
+ <path d="M42.5212 31.2589C43.5422 30.6708 44.3699 29.3664 44.3699 28.3454C44.3699 27.3244 43.5422 26.9735 42.5212 27.5616C41.5002 28.1496 40.6726 29.454 40.6726 30.475C40.6726 31.496 41.5002 31.8469 42.5212 31.2589Z" fill="#83C11F" fill-opacity="0.16"/>
9
+ <path d="M38.2056 33.6528C39.2266 33.0647 40.0543 31.7603 40.0543 30.7394C40.0543 29.7184 39.2266 29.3674 38.2056 29.9555C37.1847 30.5436 36.357 31.848 36.357 32.869C36.357 33.8899 37.1847 34.2409 38.2056 33.6528Z" fill="#FF0002" fill-opacity="0.13"/>
10
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M77.0739 15.4153L36.4608 38.1539L36.3553 76.169L77.0739 52.9379V15.4153Z" fill="#FEFFFF"/>
11
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M77.3251 15.4152C77.3251 15.3248 77.2799 15.2444 77.2045 15.1992C77.1241 15.154 77.0286 15.154 76.9533 15.1942L36.3352 37.9329C36.2598 37.9781 36.2095 38.0635 36.2095 38.1539L36.104 76.164C36.104 76.2544 36.1543 76.3399 36.2296 76.3851C36.31 76.4304 36.4055 76.4304 36.4809 76.3851L77.1995 53.159C77.2799 53.1138 77.3251 53.0283 77.3251 52.9379V15.4152ZM36.7121 38.2997L36.6115 75.7318L76.8226 52.7921V15.8424L36.7121 38.2997Z" fill="#1B374C"/>
12
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M74.4669 28.8283L88.7683 26.3308L89.7231 48.7831L76.1051 58.0544H61.7784V35.9137L74.4669 28.8283Z" fill="#63AEED" fill-opacity="0.15"/>
13
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M89.7238 26.6275C89.7238 26.4456 89.6279 26.2769 89.4691 26.1843C89.3103 26.0916 89.1151 26.0883 88.9563 26.1776C86.3925 27.6068 78.1917 32.1852 76.0745 33.3662C75.7635 33.5382 75.5717 33.869 75.5717 34.223C75.5717 37.4947 75.5717 53.7376 75.5717 57.5486C75.5717 57.714 75.661 57.8695 75.8032 57.9555C75.9488 58.0382 76.1274 58.0415 76.273 57.9588C78.7243 56.5892 86.9119 52.0207 89.1548 50.7702C89.5055 50.5717 89.7238 50.2013 89.7238 49.7944C89.7238 46.3738 89.7238 30.551 89.7238 26.6275Z" fill="#0482DF"/>
14
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M88.4777 30.1491C88.4777 30.0533 88.4273 29.9625 88.3441 29.9121C88.2584 29.8642 88.1551 29.8617 88.0719 29.9096C86.3955 30.8448 80.038 34.3941 78.1978 35.4201C77.8852 35.594 77.6936 35.9217 77.6936 36.2772C77.6936 37.9687 77.6936 42.8893 77.6936 44.3312C77.6936 44.417 77.739 44.4926 77.8096 44.5354C77.8827 44.5783 77.9709 44.5808 78.0465 44.5379C79.68 43.6279 86.5165 39.8114 88.1349 38.9089C88.3466 38.7905 88.4777 38.5636 88.4777 38.3216C88.4777 36.857 88.4777 31.7296 88.4777 30.1491Z" fill="#BCDEF7"/>
15
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M88.4777 41.0106C88.4777 40.9577 88.4525 40.9098 88.4071 40.8846C88.3618 40.8569 88.3063 40.8569 88.2609 40.8821C86.8694 41.6585 79.2338 45.9212 77.8928 46.6674C77.7692 46.738 77.6936 46.8691 77.6936 47.0102C77.6936 47.5144 77.6936 48.7244 77.6936 49.2991C77.6936 49.3647 77.7289 49.4252 77.7843 49.458C77.8423 49.4932 77.9104 49.4932 77.9684 49.4605C79.496 48.6084 86.9173 44.4667 88.2685 43.713C88.397 43.6399 88.4777 43.5038 88.4777 43.3525C88.4777 42.8206 88.4777 41.5501 88.4777 41.0106Z" fill="white"/>
16
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M88.4777 45.2242C88.4777 45.1713 88.4525 45.1234 88.4071 45.0982C88.3618 45.0704 88.3063 45.0705 88.2609 45.0957C86.8694 45.8721 79.2338 50.1348 77.8928 50.881C77.7692 50.9515 77.6936 51.0826 77.6936 51.2238C77.6936 51.728 77.6936 52.9379 77.6936 53.5127C77.6936 53.5782 77.7289 53.6387 77.7843 53.6715C77.8423 53.7068 77.9104 53.7068 77.9684 53.674C79.496 52.822 86.9173 48.6803 88.2685 47.9266C88.397 47.8535 88.4777 47.7173 88.4777 47.5661C88.4777 47.0342 88.4777 45.7637 88.4777 45.2242Z" fill="#83C11F"/>
17
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M74.4651 28.8308L61.7806 35.9114V58.0514L74.4651 50.9709V28.8308Z" fill="#BCDEF7"/>
18
+ </g>
19
+ <defs>
20
+ <clipPath id="clip0">
21
+ <rect width="113.065" height="100" fill="white" transform="translate(0.467346)"/>
22
+ </clipPath>
23
+ </defs>
24
+ </svg>
vue/dist/img/split.361671fa.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="13" height="13" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.87828 1.64036L8.76266 0.5L12.2876 0.520782L12.288 4.10383L11.1697 2.96083L7.16642 6.96413L7.16642 12.5L5.15817 12.5L5.15817 7.00107L1.11793 2.96083L0 4.10383L0.000329885 0.520782L3.52499 0.5L2.4097 1.64036L6.14382 5.37449L9.87828 1.64036Z" fill="#A0A5AA"/>
3
+ </svg>
vue/dist/img/twitter.301c64c2.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="13" height="11" viewBox="0 0 13 11" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M12.6563 1.78484C12.2031 1.98015 11.7109 2.12077 11.2031 2.17546C11.7266 1.86296 12.125 1.37077 12.3125 0.784836C11.8281 1.0739 11.2813 1.28484 10.7109 1.39421C10.25 0.902023 9.59375 0.597336 8.86719 0.597336C7.46875 0.597336 6.34375 1.73015 6.34375 3.12077C6.34375 3.31609 6.36719 3.5114 6.40625 3.6989C4.3125 3.58952 2.44531 2.58952 1.20313 1.05827C0.984375 1.43327 0.859375 1.86296 0.859375 2.33171C0.859375 3.20671 1.30469 3.98015 1.98438 4.43327C1.57031 4.41765 1.17969 4.30046 0.84375 4.11296C0.84375 4.12077 0.84375 4.1364 0.84375 4.14421C0.84375 5.37077 1.71094 6.3864 2.86719 6.62077C2.65625 6.67546 2.42969 6.70671 2.20313 6.70671C2.03906 6.70671 1.88281 6.69109 1.72656 6.66765C2.04688 7.66765 2.97656 8.39421 4.08594 8.41765C3.21875 9.09734 2.13281 9.49577 0.953125 9.49577C0.742188 9.49577 0.546875 9.48796 0.34375 9.46452C1.46094 10.1833 2.78906 10.5973 4.21875 10.5973C8.85938 10.5973 11.3984 6.75359 11.3984 3.41765C11.3984 3.30827 11.3984 3.1989 11.3906 3.08952C11.8828 2.73015 12.3125 2.28484 12.6563 1.78484Z" fill="white"/>
3
+ </svg>
vue/dist/img/university.a5ee6b23.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg fill="none" height="17" viewBox="0 0 20 17" width="20" xmlns="http://www.w3.org/2000/svg"><path d="m9.54414 4.89259c-1.85375-2.64358-4.40068-4.123329-7.66881-4.392559v11.898969c3.30792.216 5.77242 1.617 7.66881 3.8163zm.91246 0c1.8538-2.64358 4.4007-4.123329 7.6688-4.392559v11.898969c-3.3079.216-5.7724 1.617-7.6688 3.8163zm-9.44134-1.7636v10.15851c2.90388-.0817 5.49791 1.1642 7.11167 2.7601l.00934.0272c-3.22386-1.3011-6.79328-.8877-8.13578172-.3533v-12.32369c.41135772-.07309.74310972-.16487 1.01477172-.26882zm17.97024 0v10.15851c-2.9039-.0817-5.4979 1.1642-7.1117 2.7601l-.0093.0272c3.2238-1.3011 6.7933-.8877 8.1358-.3533v-12.32369c-.4114-.07309-.7432-.16487-1.0148-.26882z" fill="#087ce1"/></svg>
vue/dist/img/video-preview.031a80ba.jpg ADDED
Binary file
vue/dist/img/white-checkmark.0c4d10d4.svg ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <svg width="100%" height="100%" viewBox="0 0 10 8" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
2
+ <g transform="matrix(1.05653,0,0,1.05653,7.92394e-08,-0.589252)">
3
+ <path d="M7.758,1.033C8.148,0.643 8.782,0.643 9.172,1.033C9.563,1.424 9.563,2.057 9.172,2.447L3.965,7.654C3.767,7.852 3.508,7.95 3.249,7.947C2.991,7.949 2.733,7.851 2.536,7.654L0.293,5.411C-0.098,5.021 -0.098,4.388 0.293,3.997C0.683,3.607 1.317,3.607 1.707,3.997L3.25,5.54L7.758,1.033Z" style="fill:white;"/>
4
+ </g>
5
+ </svg>
vue/dist/img/white-right-arrow.1fd68bed.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="16" height="7" viewBox="0 0 16 7" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M11.014 6.12026C11.3073 5.34293 11.6667 4.6756 12.092 4.11826H0.3V2.31426H12.092C11.6813 1.75693 11.3293 1.0896 11.036 0.312264H12.708C13.6173 1.38293 14.6147 2.19693 15.7 2.75426V3.70026C14.6147 4.22826 13.6173 5.03493 12.708 6.12026H11.014Z" fill="white"/>
3
+ </svg>
vue/dist/img/youtube.202220b6.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="14" height="11" viewBox="0 0 14 11" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M10 5.59734C10 5.76921 9.91406 5.93327 9.76563 6.01921L5.76563 8.51921C5.6875 8.5739 5.59375 8.59734 5.5 8.59734C5.41406 8.59734 5.33594 8.5739 5.25781 8.53484C5.10156 8.4489 5 8.27702 5 8.09734V3.09734C5 2.91765 5.10156 2.74577 5.25781 2.65984C5.41406 2.5739 5.60938 2.5739 5.76563 2.67546L9.76563 5.17546C9.91406 5.2614 10 5.42546 10 5.59734ZM14 5.59734C14 4.48015 14 3.29265 13.7578 2.20671C13.5859 1.44109 12.9766 0.878585 12.2422 0.792648C10.5078 0.597336 8.75 0.597336 7 0.597336C5.25 0.597336 3.49219 0.597336 1.75781 0.792648C1.02344 0.878585 0.421875 1.44109 0.25 2.20671C0 3.29265 0 4.48015 0 5.59734C0 6.71452 0 7.90202 0.242188 8.98796C0.414063 9.75359 1.02344 10.3161 1.75781 10.402C3.49219 10.5973 5.25 10.5973 7 10.5973C8.75 10.5973 10.5078 10.5973 12.2422 10.402C12.9766 10.3161 13.5859 9.75359 13.75 8.98796C14 7.90202 14 6.71452 14 5.59734Z" fill="white"/>
3
+ </svg>
vue/dist/js/about.c04dc5c5.js ADDED
@@ -0,0 +1,2 @@
 
 
1
+ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["about"],{"2a45":function(t,e,r){},"849d":function(t,e,r){"use strict";var n=r("2a45"),o=r.n(n);o.a},a1d1:function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("core-page",[r("div",{staticClass:"omapi-about-us"},[r("common-tabnav",{attrs:{active:t.currentTab,tabs:t.allTabs},on:{go:t.goTo}}),t.error?r("core-alerts",{attrs:{id:"om-plugin-alerts",alerts:t.alerts}}):t._e(),"about-us"===t.currentTab?r("about-us"):t._e(),"getting-started"===t.currentTab?r("about-getting-started"):t._e(),"lite-pro"===t.currentTab?r("about-lite-vs-pro"):t._e()],1)])},o=[],a=(r("8e6e"),r("ac6a"),r("456d"),r("bd86")),c=r("2f62"),s=r("f225");function u(t,e){var r=Object.keys(t);return Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(t)),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?u(r,!0).forEach(function(e){Object(a["a"])(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(r).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var b={mixins:[s["a"]],data:function(){return{pageSlug:"about"}},computed:i({},Object(c["f"])(["error","alerts"]))},p=b,l=(r("849d"),r("2877")),f=Object(l["a"])(p,n,o,!1,null,null,null);e["default"]=f.exports},f225:function(t,e,r){"use strict";r.d(e,"a",function(){return i});r("8e6e"),r("ac6a"),r("456d");var n=r("bd86"),o=r("9b02"),a=r.n(o),c=r("2f62");function s(t,e){var r=Object.keys(t);return Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(t)),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(r,!0).forEach(function(e){Object(n["a"])(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s(r).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var i={mounted:function(){this.goToSelected()},watch:{$route:function(t,e){this.goTo(a()(t,"params.selectedTab"))}},computed:u({},Object(c["d"])("tabs",["settingsTab","settingsTabs"]),{allTabs:function(){return this.$store.getters["tabs/".concat(this.pageSlug,"Tabs")]},currentTab:function(){return this.$store.getters["tabs/".concat(this.pageSlug,"Tab")]},selectedTab:function(){return this.$get("$route.params.selectedTab")}}),methods:u({},Object(c["c"])("tabs",["goTab"]),{goTo:function(t){this.goTab({page:this.pageSlug,tab:t})},goToSelected:function(){this.goTo(this.selectedTab)}})}}}]);
2
+ //# sourceMappingURL=about.c04dc5c5.js.map
vue/dist/js/campaign-edit.581d0fdd.js ADDED
@@ -0,0 +1,2 @@
 
 
1
+ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["campaign-edit"],{6439:function(t,e,i){"use strict";var n=i("7836"),a=i.n(n);a.a},7836:function(t,e,i){},fd4fd:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.routeId?i("core-page",{staticClass:"omapi-campaign-settings"},[i("router-link",{attrs:{to:{name:"campaigns"}}},[t._v("← Return to Campaigns List")]),t.isLoading?i("core-loading",[i("h1",[t._v("Loading...")])]):i("form",{on:{submit:function(e){return e.preventDefault(),t.save(e)}}},[i("h1",[i("span",[t._v(t._s(t.title))])]),i("common-transition-slide",{attrs:{id:"om-notification-campaign",active:t.showAlerts}},[i("core-alerts",{attrs:{alerts:t.alerts}})],1),i("div",{staticClass:"omapi-card__flex omapi-campaign-settings-sections",class:t.isDisabled?"disabled":""},[i("common-card",{staticClass:"omapi-campaign-settings__wrapper",attrs:{size:"two-thirds",title:"WordPress Output Settings",contentClass:"omapi-card__border",footerClass:"omapi-card__child"},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("WordPress Output Settings")]},proxy:!0},{key:"footer",fn:function(){return[i("campaigns-advanced-settings",{attrs:{campaign:t.campaign}},[i("core-save-button",{attrs:{color:"green",disabled:!t.changed,saving:t.saving}})],1)]},proxy:!0}],null,!1,702778575)},[i("p",{staticClass:"text-setting"},[t._v("Control when and where your campaigns are displayed once the targeting conditions are met.")]),"Inline"===t.campaignType?i("campaigns-inline-settings",{attrs:{campaign:t.campaign}}):t._e(),t.hasMailPoet?i("campaigns-mailpoet-settings",{attrs:{campaign:t.campaign}}):t._e()],1),i("campaigns-right-column",{attrs:{campaignId:t.id,changed:t.changed,saving:t.saving,newStatus:t.newStatus,statusText:t.statusText},on:{updateStatus:t.onChangeStatus}})],1)],1)],1):t._e()},a=[],s=(i("8e6e"),i("ac6a"),i("456d"),i("bd86")),r=i("9b02"),c=i.n(r),o=i("2f62"),h=i("643a"),g=i("ed08");function u(t,e){var i=Object.keys(t);return Object.getOwnPropertySymbols&&i.push.apply(i,Object.getOwnPropertySymbols(t)),e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i}function d(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?u(i,!0).forEach(function(e){Object(s["a"])(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):u(i).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}var p={mixins:[h["a"]],data:function(){return{changed:!1,orig:!1,origMeta:{},newStatus:"",saving:!1}},mounted:function(){this.routeId&&(this.fetch(),this.updateTitle(),window.addEventListener("beforeunload",this.maybePreventExit))},beforeDestroy:function(){window.removeEventListener("beforeunload",this.maybePreventExit)},watch:{isLoading:function(t){t||this.fetch()},title:function(){this.updateTitle()},campaign:function(t,e){if(this.fetchedCampaign&&c()(e,"wp"))if(this.orig||(this.orig=this.getMetaString(e)),this.newStatus===this.campaignStatus){t=this.getMetaString(t);var i=Object(g["j"])(t,this.orig);this.changed=-1!==i}else this.changed=!0},newStatus:function(t,e){this.changed||(this.changed=this.newStatus!==this.campaignStatus)}},beforeRouteLeave:function(t,e,i){if(!this.changed||confirm("You have unsaved changes. Are you sure you want to lose these changes?"))return this.resetCampaign(),i()},computed:d({},Object(o["f"])("campaigns",["campaigns","alerts"]),{},Object(o["d"])("campaigns",["getCampaign"]),{},Object(o["d"])("wp",["hasMailPoet"]),{},Object(o["d"])(["isFetched","isFetching"]),{routeId:function(){return this.$get("$route.params.campaignId","")},campaign:function(){return this.getCampaign(this.routeId)},fetchedCampaign:function(){return this.isFetched(this.routeId)},fetchingCampaign:function(){return this.isFetching(this.routeId)},shouldFetch:function(){return!this.fetchingCampaign&&!this.fetchedCampaign},isLoading:function(){return!this.showAlerts&&(!this.fetchedCampaign||this.$store.getters.isLoading(["campaigns","me"]))},isDisabled:function(){return this.isLoading||!this.isFetched("wpResources")},showAlerts:function(){return Boolean(this.alerts.length)},title:function(){return this.$get("campaign.name","No Campaign Found")},statusText:function(){return"active"!==this.newStatus?this.settingEnabled?"Pending":"Draft":this.settingEnabled&&this.settingEnabled?"Published":"Pending"}}),methods:d({},Object(o["c"])("campaigns",["fetchCampaign","fetchWpDataForCampaign","saveWordPress"]),{},Object(o["e"])(["fetching","fetched"]),{fetch:function(){var t=this;this.fetchingCampaign||(this.fetchedCampaign||this.fetching(this.routeId),this.fetchCampaign({campaignId:this.routeId}).then(function(){return t.fetchWpData()}).catch(function(t){}))},fetchWpData:function(){var t=this,e=this.fetchedCampaign?Promise.resolve():this.fetchWpDataForCampaign({campaignId:this.routeId});return e.then(function(){return t.fetched(t.routeId)}).then(function(){return t.afterFetched()}).catch(function(t){})},save:function(){var t=this;this.$store.commit("clearAlerts"),this.saving=!0,this.setStatus({campaigns:[this.id],status:this.newStatus}),this.saveWordPress({campaignId:this.id,settings:this.getSettings()}).then(function(){t.fetchWpData()})},afterFetched:function(){this.orig=this.getMetaString(this.campaign),this.origMeta=this.$get("campaign.wp.post_meta",{}),this.newStatus=this.campaignStatus,this.changed=!1,this.saving=!1},updateTitle:function(){var t=this.$get("campaign.name",this.id);t&&(this.$store.dispatch("setTitle",{title:"Output Settings: ".concat(t),setBannerTitle:!1}),this.$store.commit("setBannerTitle","Campaign Output Settings"))},getMetaString:function(t){var e=this.getSettings(c()(t,"wp.post_meta",{}));return JSON.stringify(e)+this.newStatus},maybePreventExit:function(t){if(this.changed)return t.preventDefault(),t.returnValue="You have unsaved changes. Are you sure you want to lose these changes?",t.returnValue},resetCampaign:function(){this.newStatus=this.campaignStatus,this.updateCampaignMeta({campaignId:this.id,meta:this.origMeta})},onChangeStatus:function(t){switch(t){case"Pending":this.toggleEmbed("active"!==this.newStatus);break;case"Published":this.newStatus="active",this.toggleEmbed(!0);break;case"Draft":this.newStatus="paused",this.toggleEmbed(!1);break;default:break}},toggleEmbed:function(t){t!==this.settingEnabled&&(this.settingEnabled=t)}})},m=p,f=(i("6439"),i("2877")),l=Object(f["a"])(m,n,a,!1,null,null,null);e["default"]=l.exports}}]);
2
+ //# sourceMappingURL=campaign-edit.581d0fdd.js.map
vue/dist/js/campaigns.350106ce.js ADDED
@@ -0,0 +1,2 @@
 
 
1
+ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["campaigns"],{"0e4b":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("core-page",{staticClass:"omapi-campaign-table"},[a("h1",{staticClass:"wp-heading-inline"},[t._v("Campaigns")]),a("core-button",{staticClass:"omapi-add-new",attrs:{routerTo:"templates",size:"small"}},[t._v("Add New")]),t.connected?a("common-transition-slide",{attrs:{id:"om-notification-campaigns",active:t.alerts.length>0}},[a("core-alerts",{attrs:{alerts:t.alerts}})],1):t._e(),a("transition",{attrs:{name:"fade",mode:"out-in"}},[t.connected||t.isLoading?t.showNoCampaigns?a("campaigns-no-campaigns"):a("div",{staticStyle:{position:"relative"}},[a("campaigns-table-filters",{attrs:{isBulk:0<t.bulk.length,actionKey:t.actionKey},on:{setAction:t.setAction}}),a("campaigns-table",{attrs:{campaigns:t.campaignsToShow,isBulk:0<t.bulk.length,actionKey:t.actionKey,isRefreshing:t.isRefreshing||t.isLoading},on:{setAction:t.setAction}}),t.isLoading?a("core-loading",{staticStyle:{position:"absolute",top:"128px",opacity:".2"}}):t._e()],1):a("campaigns-not-connected")],1)],1)},i=[],n=(a("8e6e"),a("ac6a"),a("456d"),a("bd86")),r=(a("386d"),a("9b02")),o=a.n(r),c=a("2f62");function h(t,e){var a=Object.keys(t);return Object.getOwnPropertySymbols&&a.push.apply(a,Object.getOwnPropertySymbols(t)),e&&(a=a.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),a}function p(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?h(a,!0).forEach(function(e){Object(n["a"])(t,e,a[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):h(a).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))})}return t}var u={inheritAttrs:!1,data:function(){return{actionKey:"none"}},beforeRouteLeave:function(t,e,a){"campaigns"!==o()(t,"meta.parent")&&"campaigns"!==o()(t,"name")&&this.updatePageVars(),a()},watch:{$route:function(t,e){this.updatePageVars(t),this.refreshDashboard()}},mounted:function(){this.setPageVars({page:this.$get("$route.params.campaignsPage",this.page),search:this.$get("$route.params.searchTerm",this.search)}),this.isLoading||this.initRequests(),this.$bus.$on("fetchedMe",this.initRequests)},beforeDestroy:function(){this.$bus.$off("fetchedMe",this.initRequests)},computed:p({},Object(c["d"])(["connected","isFetched","shouldFetchUser"]),{},Object(c["d"])("campaigns",["campaignsWithSplits"]),{},Object(c["f"])("campaigns",["error","alerts","bulk","page","search","totalCampaignsCount"]),{isLoading:function(){return this.shouldFetchUser||this.$store.getters.isLoading("campaigns")},isRefreshing:function(){return this.$store.getters.isLoading("campaigns-refresh")},campaignsToShow:function(){return this.connected?this.campaignsWithSplits:[]},hasCampaigns:function(){return 0<this.totalCampaignsCount},showNoCampaigns:function(){return!this.hasCampaigns&&!this.isLoading&&this.isFetched("mainQuery")}}),methods:p({},Object(c["c"])("campaigns",["setPageVars","refreshDashboard","fetchRulesetData"]),{initRequests:function(){this.refreshDashboard(),this.fetchRulesetData()},setAction:function(t){this.actionKey=t},updatePageVars:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.setPageVars({page:o()(t,"params.campaignsPage",1),search:o()(t,"params.searchTerm","")})}})},g=u,l=(a("3a1f"),a("2877")),f=Object(l["a"])(g,s,i,!1,null,null,null);e["default"]=f.exports},"0f3c":function(t,e,a){},"3a1f":function(t,e,a){"use strict";var s=a("0f3c"),i=a.n(s);i.a}}]);
2
+ //# sourceMappingURL=campaigns.350106ce.js.map
vue/dist/js/common.3bdb0f3e.js ADDED
@@ -0,0 +1,358 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["common"],{0:function(e,t,n){e.exports=n("56d7")},"001f":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("modal",{ref:"ref",attrs:{name:e.name,height:"auto",width:e.width,minWidth:e.minWidth,clickToClose:e.clickToClose},on:{"before-open":function(t){return e.$emit("before-open")},"before-close":function(t){return e.$emit("before-close")},opened:function(t){return e.$emit("opened")},closed:function(t){return e.$emit("closed")}}},[e._t("default")],2)},r=[],a=(n("c5f6"),{props:{name:{type:String,required:!0},width:{type:Number,required:!1},minWidth:{type:Number,required:!1},clickToClose:{type:Boolean,default:function(){return!0}}}}),o=a,s=(n("40b8"),n("2877")),c=Object(s["a"])(o,i,r,!1,null,null,null);t["default"]=c.exports},"002d":function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return r});var i=function(e,t){return"".concat(e).concat(1<t||0===t?"s":"")},r=function(e){return"string"!==typeof e?"":e.charAt(0).toUpperCase()+e.slice(1)}},"0037":function(e,t,n){},"00fd":function(e,t,n){var i=n("9e69"),r=Object.prototype,a=r.hasOwnProperty,o=r.toString,s=i?i.toStringTag:void 0;function c(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var i=!0}catch(c){}var r=o.call(e);return i&&(t?e[s]=n:delete e[s]),r}e.exports=c},"010e":function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
2
+ //! moment.js locale configuration
3
+ var t=e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}});return t})},"014b":function(e,t,n){"use strict";var i=n("e53d"),r=n("07e3"),a=n("8e60"),o=n("63b6"),s=n("9138"),c=n("ebfd").KEY,l=n("294c"),u=n("dbdb"),d=n("45f2"),p=n("62a0"),f=n("5168"),h=n("ccb9"),m=n("6718"),v=n("47ee"),g=n("9003"),b=n("e4ae"),_=n("f772"),y=n("241e"),M=n("36c3"),w=n("1bc3"),O=n("aebd"),k=n("a159"),x=n("0395"),L=n("bf0b"),C=n("9aa9"),A=n("d9f6"),S=n("c3a1"),T=L.f,D=A.f,z=x.f,E=i.Symbol,j=i.JSON,P=j&&j.stringify,N="prototype",Y=f("_hidden"),$=f("toPrimitive"),W={}.propertyIsEnumerable,B=u("symbol-registry"),q=u("symbols"),I=u("op-symbols"),F=Object[N],H="function"==typeof E&&!!C.f,R=i.QObject,X=!R||!R[N]||!R[N].findChild,V=a&&l(function(){return 7!=k(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(e,t,n){var i=T(F,t);i&&delete F[t],D(e,t,n),i&&e!==F&&D(F,t,i)}:D,U=function(e){var t=q[e]=k(E[N]);return t._k=e,t},G=H&&"symbol"==typeof E.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof E},K=function(e,t,n){return e===F&&K(I,t,n),b(e),t=w(t,!0),b(n),r(q,t)?(n.enumerable?(r(e,Y)&&e[Y][t]&&(e[Y][t]=!1),n=k(n,{enumerable:O(0,!1)})):(r(e,Y)||D(e,Y,O(1,{})),e[Y][t]=!0),V(e,t,n)):D(e,t,n)},J=function(e,t){b(e);var n,i=v(t=M(t)),r=0,a=i.length;while(a>r)K(e,n=i[r++],t[n]);return e},Q=function(e,t){return void 0===t?k(e):J(k(e),t)},Z=function(e){var t=W.call(this,e=w(e,!0));return!(this===F&&r(q,e)&&!r(I,e))&&(!(t||!r(this,e)||!r(q,e)||r(this,Y)&&this[Y][e])||t)},ee=function(e,t){if(e=M(e),t=w(t,!0),e!==F||!r(q,t)||r(I,t)){var n=T(e,t);return!n||!r(q,t)||r(e,Y)&&e[Y][t]||(n.enumerable=!0),n}},te=function(e){var t,n=z(M(e)),i=[],a=0;while(n.length>a)r(q,t=n[a++])||t==Y||t==c||i.push(t);return i},ne=function(e){var t,n=e===F,i=z(n?I:M(e)),a=[],o=0;while(i.length>o)!r(q,t=i[o++])||n&&!r(F,t)||a.push(q[t]);return a};H||(E=function(){if(this instanceof E)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===F&&t.call(I,n),r(this,Y)&&r(this[Y],e)&&(this[Y][e]=!1),V(this,e,O(1,n))};return a&&X&&V(F,e,{configurable:!0,set:t}),U(e)},s(E[N],"toString",function(){return this._k}),L.f=ee,A.f=K,n("6abf").f=x.f=te,n("355d").f=Z,C.f=ne,a&&!n("b8e3")&&s(F,"propertyIsEnumerable",Z,!0),h.f=function(e){return U(f(e))}),o(o.G+o.W+o.F*!H,{Symbol:E});for(var ie="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;ie.length>re;)f(ie[re++]);for(var ae=S(f.store),oe=0;ae.length>oe;)m(ae[oe++]);o(o.S+o.F*!H,"Symbol",{for:function(e){return r(B,e+="")?B[e]:B[e]=E(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in B)if(B[t]===e)return t},useSetter:function(){X=!0},useSimple:function(){X=!1}}),o(o.S+o.F*!H,"Object",{create:Q,defineProperty:K,defineProperties:J,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var se=l(function(){C.f(1)});o(o.S+o.F*se,"Object",{getOwnPropertySymbols:function(e){return C.f(y(e))}}),j&&o(o.S+o.F*(!H||l(function(){var e=E();return"[null]"!=P([e])||"{}"!=P({a:e})||"{}"!=P(Object(e))})),"JSON",{stringify:function(e){var t,n,i=[e],r=1;while(arguments.length>r)i.push(arguments[r++]);if(n=t=i[1],(_(t)||void 0!==e)&&!G(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),i[1]=t,P.apply(j,i)}}),E[N][$]||n("35e8")(E[N],$,E[N].valueOf),d(E,"Symbol"),d(Math,"Math",!0),d(i.JSON,"JSON",!0)},"01e4":function(e,t,n){},"01f9":function(e,t,n){"use strict";var i=n("2d00"),r=n("5ca1"),a=n("2aba"),o=n("32e9"),s=n("84f2"),c=n("41a0"),l=n("7f20"),u=n("38fd"),d=n("2b4c")("iterator"),p=!([].keys&&"next"in[].keys()),f="@@iterator",h="keys",m="values",v=function(){return this};e.exports=function(e,t,n,g,b,_,y){c(n,t,g);var M,w,O,k=function(e){if(!p&&e in A)return A[e];switch(e){case h:return function(){return new n(this,e)};case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},x=t+" Iterator",L=b==m,C=!1,A=e.prototype,S=A[d]||A[f]||b&&A[b],T=S||k(b),D=b?L?k("entries"):T:void 0,z="Array"==t&&A.entries||S;if(z&&(O=u(z.call(new e)),O!==Object.prototype&&O.next&&(l(O,x,!0),i||"function"==typeof O[d]||o(O,d,v))),L&&S&&S.name!==m&&(C=!0,T=function(){return S.call(this)}),i&&!y||!p&&!C&&A[d]||o(A,d,T),s[t]=T,s[x]=v,b)if(M={values:L?T:k(m),keys:_?T:k(h),entries:D},y)for(w in M)w in A||a(A,w,M[w]);else r(r.P+r.F*(p||C),t,M);return M}},"02f4":function(e,t,n){var i=n("4588"),r=n("be13");e.exports=function(e){return function(t,n){var a,o,s=String(r(t)),c=i(n),l=s.length;return c<0||c>=l?e?"":void 0:(a=s.charCodeAt(c),a<55296||a>56319||c+1===l||(o=s.charCodeAt(c+1))<56320||o>57343?e?s.charAt(c):a:e?s.slice(c,c+2):o-56320+(a-55296<<10)+65536)}}},"02fb":function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
4
+ //! moment.js locale configuration
5
+ var t=e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}});return t})},"0390":function(e,t,n){"use strict";var i=n("02f4")(!0);e.exports=function(e,t,n){return t+(n?i(e,t).length:1)}},"0395":function(e,t,n){var i=n("36c3"),r=n("6abf").f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return r(e)}catch(t){return o.slice()}};e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?s(e):r(i(e))}},"03dd":function(e,t,n){var i=n("eac5"),r=n("57a5"),a=Object.prototype,o=a.hasOwnProperty;function s(e){if(!i(e))return r(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}e.exports=s},"03ec":function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
6
+ //! moment.js locale configuration
7
+ var t=e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){var t=/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран";return e+t},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}});return t})},"0558":function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
8
+ //! moment.js locale configuration
9
+ function t(e){return e%100===11||e%10!==1}function n(e,n,i,r){var a=e+" ";switch(i){case"s":return n||r?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?a+(n||r?"sekúndur":"sekúndum"):a+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?a+(n||r?"mínútur":"mínútum"):n?a+"mínúta":a+"mínútu";case"hh":return t(e)?a+(n||r?"klukkustundir":"klukkustundum"):a+"klukkustund";case"d":return n?"dagur":r?"dag":"degi";case"dd":return t(e)?n?a+"dagar":a+(r?"daga":"dögum"):n?a+"dagur":a+(r?"dag":"degi");case"M":return n?"mánuður":r?"mánuð":"mánuði";case"MM":return t(e)?n?a+"mánuðir":a+(r?"mánuði":"mánuðum"):n?a+"mánuður":a+(r?"mánuð":"mánuði");case"y":return n||r?"ár":"ári";case"yy":return t(e)?a+(n||r?"ár":"árum"):a+(n||r?"ár":"ári")}}var i=e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return i})},"05f3":function(e,t,n){"use strict";var i=n("4b44"),r=n.n(i);r.a},"0621":function(e,t,n){var i=n("9e69"),r=n("d370"),a=n("6747"),o=i?i.isConcatSpreadable:void 0;function s(e){return a(e)||r(e)||!!(o&&e&&e[o])}e.exports=s},"0639":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"omapi-dash__stats omapi-card__flex"},[n("div",{staticClass:"omapi-dash__stats-heading flex"},[n("h5",[e._v("Quick Stats")]),n("div",{staticClass:"flex"},["custom"===e.dateRange.filter?n("core-form-datepicker-input",{attrs:{openImmediate:!0,align:"right",dateRange:e.dateSelection},model:{value:e.dateSelection,callback:function(t){e.dateSelection=t},expression:"dateSelection"}}):e._e(),n("core-dropdown-select",{attrs:{align:"right",currentValue:e.dateText},scopedSlots:e._u([{key:"list",fn:function(){return[n("li",[n("a",{class:{current:"7-days"===e.dateRange.filter},attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.updateStats("7-days")}}},[e._v("\n\t\t\t\t\t\tLast 7 Days\n\t\t\t\t\t")])]),n("li",[n("a",{class:{current:"30-days"===e.dateRange.filter},attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.updateStats("30-days")}}},[e._v("\n\t\t\t\t\t\tLast 30 Days\n\t\t\t\t\t")])]),n("li",[n("a",{class:{current:"custom"===e.dateRange.filter},attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.updateStats("custom")}}},[e._v("\n\t\t\t\t\t\tCustom Date Range\n\t\t\t\t\t")])])]},proxy:!0}])})],1)]),n("common-card",{staticClass:"omapi-dash__stats-nums",attrs:{size:"third"}},[n("div",{staticClass:"omapi-dash__stats-stat"},[e._v(e._s(e.impressions))]),n("div",{staticClass:"omapi-dash__stats-desc"},[e._v("Visitors")])]),n("common-card",{staticClass:"omapi-dash__stats-nums",attrs:{size:"third"}},[n("div",{staticClass:"omapi-dash__stats-stat"},[e._v(e._s(e.conversions))]),n("div",{staticClass:"omapi-dash__stats-desc"},[e._v("Subscribers / Leads")])]),n("common-card",{staticClass:"omapi-dash__stats-nums",attrs:{size:"third"}},[n("div",{staticClass:"omapi-dash__stats-stat"},[e._v(e._s(e.rate)+"%")]),n("div",{staticClass:"omapi-dash__stats-desc"},[e._v("Conversion Rate")])])],1)},r=[],a=(n("8e6e"),n("ac6a"),n("456d"),n("bd86")),o=n("2f62");function s(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(n,!0).forEach(function(t){Object(a["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var l={data:function(){return{pickerOpen:!1,dateSelection:[]}},watch:{dateSelection:function(e){var t={filter:"custom",preset:!1,start:e[0],end:e[1]};this.$store.commit("dashboard/updateStats",t),this.$store.dispatch("dashboard/fetch",t)}},computed:c({},Object(o["f"])("dashboard",["dateRange"]),{},Object(o["d"])("dashboard",["impressions","conversions","rate"]),{dateText:function(){switch(this.dateRange.filter){case"30-days":return"Last 30 Days";case"7-days":return"Last 7 Days";case"custom":return"Custom Date Range"}return""}}),methods:{updateStats:function(e){if("custom"===e)this.$store.commit("dashboard/updateStats",{filter:"custom",preset:!1});else{var t={filter:e,preset:!0,start:"",end:""};this.$store.dispatch("dashboard/fetch",t),this.$store.commit("dashboard/updateStats",t)}}}},u=l,d=n("2877"),p=Object(d["a"])(u,i,r,!1,null,null,null);t["default"]=p.exports},"06db":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"omapi-notifications-list"},[n("common-transition-slide",{attrs:{id:"om-notification-alerts",active:e.hasAlerts}},[n("core-alerts",{attrs:{alerts:e.alerts}})],1),n("transition-group",{staticClass:"omapi-detailed-list",attrs:{name:"swipe-right",tag:"ul"}},[e.isLoading?n("li",{key:e.keyPrefix+"om-circle-loading",staticClass:"om-circle-loading"}):e._e(),e._l(e.notificationsToShow,function(t){return n("notifications-single",{directives:[{name:"show",rawName:"v-show",value:!e.dismissingAll,expression:"!dismissingAll"}],key:e.getKey(t,e.keyPrefix),ref:"notifications",refInFor:!0,attrs:{notification:t},on:{remove:e.emitRemove,clicked:e.emitClicked}})}),e.inDrawer?n("li",{key:"dismiss-all-notices",staticClass:"dismiss-all-notices"},[n("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.dismissAll(t)}}},[e._v("\n\t\t\t\t"+e._s(e.hasNotifications?"Dismiss All":"Close")+"\n\t\t\t")])]):e._e()],2)],1)},r=[],a=n("3a08"),o={mixins:[a["a"]],props:{notificationsToShow:{type:Array,default:function(){return[]}},keyPrefix:{type:String,default:""},inDrawer:Boolean},methods:{emitRemove:function(e){this.$emit("remove",e)},emitClicked:function(e){this.$emit("clicked",e)}}},s=o,c=(n("8eae"),n("2877")),l=Object(c["a"])(s,i,r,!1,null,null,null);t["default"]=l.exports},"06ef":function(e,t,n){"use strict";n.d(t,"d",function(){return i}),n.d(t,"c",function(){return r}),n.d(t,"b",function(){return a}),n.d(t,"a",function(){return o});var i=[{slug:"blog_media",title:"Blog"},{slug:"retail_ecommerce",title:"Online Store"},{slug:"small_business",title:"Small Offline Business"},{slug:"corporation",title:"Corporation"},{slug:"portfolio",title:"Portfolio"},{slug:"other",title:"Something else"}],r=[{slug:"grow",title:"Get more email subscribers"},{slug:"generate_leads",title:"Increase website conversions"},{slug:"reduce_abandonment",title:"Reduce cart abandonment"},{slug:"redirect_traffic",title:"Redirect traffic to top pages"},{slug:"time_sensitive",title:"Promote time-sensitive offers"},{slug:"social_media",title:"Increase social media followers"}],a=[{slug:"campaigns",title:"All Campaign Types",description:"Lightbox popups, floating bars, fullscreen welcome mats, slide-ins and more!",free:!0},{slug:"page-level-targeting",title:"Page Level Targeting",description:"Use behavior personalization to display page-specific campaigns on your website.",free:!0},{slug:"google-analytics",title:"Google Analytics for WordPress",description:"Connect your site with Google Analytics to make data-driven decisions for your business.",plugin:{title:"Google Analytics Dashboard Plugin for WordPress by MonsterInsights",slug:"google-analytics-for-wordpress/googleanalytics.php"}},{slug:"social-proof",title:"Social Proof Notifications",description:"Leverage the true power of social proof to increase site conversions by up to 15%!",plugin:{title:"TrustPulse",slug:"trustpulse-api/trustpulse.php"}},{slug:"split-test",featureId:"ab-testing",title:"A/B Split Testing",description:"Eliminate the guesswork by testing your different content in your campaigns."},{slug:"exit-intent",title:"Exit-Intent® Targeting",description:"Personalize your campaigns based on your visitor's behavior to maximize conversions."},{slug:"yesno",featureId:"yesno-buttons",title:"Yes / No Multi-Step Campaigns ",description:"Create multi-step campaigns to boost traffic and grow your email list."},{slug:"coupon-wheel-campaigns",title:"Gamified Coupon Wheel",description:"Create interactive spin-a-wheel games to instantly multiply sales and conversions.",usage:"retail_ecommerce"},{slug:"content-locker",title:"Content Locker",description:"Grow your email list fast by locking your most in-demand content on your website.",usage:"blog_media"},{slug:"onsite-targeting",title:"OnSite Retargeting & Follow Up Campaigns",description:"Reduce abandonment and boost sales by customizing promotions for returning visitors."}],o=[{slug:"mailchimpv3",title:"Mailchimp"},{slug:"constant-contact",title:"Constant Contact"},{slug:"activecampaign",title:"ActiveCampaign"},{slug:"aweber",title:"AWeber"},{slug:"hubspot",title:"HubSpot"},{slug:"klaviyo",title:"Klaviyo"},{slug:"infusionsoft",title:"Infusionsoft"},{slug:"drip",title:"Drip"},{slug:"convertkit",title:"ConvertKit"},{slug:"getresponse",title:"GetResponse"},{slug:"pardot",title:"Pardot"},{slug:"sendinblue-v2",title:"SendinBlue"},{slug:"bronto",title:"Bronto"},{slug:"campaign-monitor",title:"Campaign Monitor"},{slug:"conversio",title:"Conversio"},{slug:"customerio",title:"Customer.io"},{slug:"eloqua",title:"Eloqua"},{slug:"emailoctopus",title:"EmailOctopus"},{slug:"emma",title:"Emma"},{slug:"feedblitz",title:"Feedblitz"},{slug:"icontact",title:"iContact"},{slug:"ipost",title:"iPost"},{slug:"jilt",title:"Jilt"},{slug:"madmimi",title:"Mad Mimi"},{slug:"mailerlite",title:"MailerLite"},{slug:"mailpoet",title:"MailPoet"},{slug:"marketo",title:"Marketo"},{slug:"ontraport",title:"Ontraport"},{slug:"sendloop",title:"Sendloop"},{slug:"sendpulse",title:"SendPulse"},{slug:"sharpspring",title:"SharpSpring"},{slug:"other",title:"Other"}]},"0721":function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
10
+ //! moment.js locale configuration
11
+ var t=e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t})},"079e":function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
12
+ //! moment.js locale configuration
13
+ var t=e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,t){return"元"===t[1]?1:parseInt(t[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return 1===e?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}});return t})},"07c7":function(e,t){function n(){return!1}e.exports=n},"07e3":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"087d":function(e,t){function n(e,t){var n=-1,i=t.length,r=e.length;while(++n<i)e[r+n]=t[n];return e}e.exports=n},"0887":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"omapi-card__flex omapi-dash__top"},[n("common-card",{staticClass:"omapi-dash__top",attrs:{title:"Top Converting Campaigns",type:"minimize"},scopedSlots:e._u([{key:"footer",fn:function(){return[e.connected?n("router-link",{staticClass:"omapi-link-arrow-after",attrs:{to:{name:"campaigns"}}},[e._v("View All Campaigns")]):e._e()]},proxy:!0}])},[e.isLoading?n("core-loading"):n("div",[e.hasCampaigns&&e.connected?n("ul",{staticClass:"omapi-detailed-list"},[e.topCampaigns.length?e._l(e.topCampaigns,function(t){return n("li",{key:"top-campaign-"+t.campaign_id},[n("div",{staticClass:"omapi-multi-column__primary"},[n("div",{staticClass:"omapi-multi-column__title"},[n("a",{staticClass:"omapi-link-title",attrs:{href:e.builderLink(t.campaign_id)}},[e._v(e._s(t.name))])]),n("ul",{staticClass:"omapi-multi-column__meta"},[n("li",[n("span",{staticClass:"omapi-multi-column__meta-attr"},[e._v("Visitors: ")]),n("span",{staticClass:"omapi-multi-column__meta-value"},[e._v(e._s(e.withCommas(t.impressions)))])]),n("li",[n("span",{staticClass:"omapi-multi-column__meta-attr"},[e._v("Conversions: ")]),n("span",{staticClass:"omapi-multi-column__meta-value"},[e._v(e._s(e.withCommas(t.conversions)))])]),n("li",[n("span",{staticClass:"omapi-multi-column__meta-attr"},[e._v("CR%: ")]),n("span",{staticClass:"omapi-multi-column__meta-value"},[e._v(e._s(e.getRate(t.rate)))])])])])])}):n("li",[e._v("\n\t\t\t\t\tNo data to show at this time.\n\t\t\t\t")])],2):!e.hasCampaigns&&e.connected?n("common-no-campaigns",{staticClass:"omapi-dash__top-none omapi-dash__top-no-campaigns"}):n("common-not-connected",{staticClass:"omapi-dash__top-none"})],1)],1)],1)},r=[],a=(n("8e6e"),n("ac6a"),n("456d"),n("96cf"),n("3b8d")),o=n("bd86"),s=n("2f62"),c=n("ed08");function l(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(n,!0).forEach(function(t){Object(o["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var d={data:function(){return{hasCampaigns:null}},watch:{isLoading:function(e){e||this.handleRequest()}},mounted:function(){this.isLoading||this.handleRequest(),this.$bus.$on("fetchedMe",this.handleRequest)},beforeDestroy:function(){this.$bus.$off("fetchedMe",this.handleRequest)},computed:u({},Object(s["d"])(["connected","shouldFetchUser"]),{},Object(s["d"])("dashboard",["topCampaigns"]),{isLoading:function(){return this.shouldFetchUser||this.$store.getters.isLoading(["accountDash","campaigns","campaigns-refresh"])}}),methods:u({},Object(s["c"])("campaigns",["refreshDashboard"]),{builderLink:function(e){return this.$urls.builderLink(e)},withCommas:function(e){return c["n"].withCommas(e)},getRate:function(e){return parseFloat(parseFloat(e).toFixed(2))+"%"},afterConnect:function(){window.location.reload()},handleRequest:function(){var e=Object(a["a"])(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:if(null===this.hasCampaigns&&!this.isLoading){e.next=2;break}return e.abrupt("return");case 2:if(this.hasCampaigns=0<this.topCampaigns.length,this.hasCampaigns){e.next=7;break}return e.next=6,this.refreshDashboard();case 6:this.hasCampaigns=0<this.$store.state.campaigns.campaigns.length;case 7:case"end":return e.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}()})},p=d,f=n("2877"),h=Object(f["a"])(p,i,r,!1,null,null,null);t["default"]=h.exports},"08cc":function(e,t,n){var i=n("1a8c");function r(e){return e===e&&!i(e)}e.exports=r},"08db":function(e,t,n){},"097d":function(e,t,n){"use strict";var i=n("5ca1"),r=n("8378"),a=n("7726"),o=n("ebd6"),s=n("bcaa");i(i.P+i.R,"Promise",{finally:function(e){var t=o(this,r.Promise||a.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},"0a3c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
14
+ //! moment.js locale configuration
15
+ var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,a=e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return a})},"0a49":function(e,t,n){var i=n("9b43"),r=n("626a"),a=n("4bf8"),o=n("9def"),s=n("cd1c");e.exports=function(e,t){var n=1==e,c=2==e,l=3==e,u=4==e,d=6==e,p=5==e||d,f=t||s;return function(t,s,h){for(var m,v,g=a(t),b=r(g),_=i(s,h,3),y=o(b.length),M=0,w=n?f(t,y):c?f(t,0):void 0;y>M;M++)if((p||M in b)&&(m=b[M],v=_(m,M,g),e))if(n)w[M]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return M;case 2:w.push(m)}else if(u)return!1;return d?-1:l||u?u:w}}},"0a68":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{attrs:{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"mobile-alt",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"}},[n("path",{attrs:{fill:"currentColor",d:"M272 0H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h224c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zM160 480c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm112-108c0 6.6-5.4 12-12 12H60c-6.6 0-12-5.4-12-12V60c0-6.6 5.4-12 12-12h200c6.6 0 12 5.4 12 12v312z"}})])},r=[],a=n("2877"),o={},s=Object(a["a"])(o,i,r,!1,null,null,null);t["default"]=s.exports},"0a84":function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
16
+ //! moment.js locale configuration
17
+ var t=e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}});return t})},"0a8d":function(e,t,n){e.exports=n.p+"img/om-team.d4387068.jpg"},"0b07":function(e,t,n){var i=n("34ac"),r=n("3698");function a(e,t){var n=r(e,t);return i(n)?n:void 0}e.exports=a},"0b35":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"omapi-campaigns-table",class:{"omapi-campaigns-table-refreshing":e.isRefreshing,"omapi-campaigns-table-no-data":!e.hasCampaigns}},[n("table-base",{staticClass:"omapi-table",attrs:{headers:e.headers,striped:!1,isLoading:!1},scopedSlots:e._u([{key:"no-data",fn:function(){return[e._v("No campaign data.")]},proxy:!0}])},[e.hasCampaigns?e._l(e.campaigns,function(t){return n("campaigns-row",{key:t.id,class:""+e.rowClasses[t.id],attrs:{campaignId:t.id,rowVisible:e.rowVisible(t),splitsOpen:e.splitsOpen(t)},on:{toggleAbTests:e.toggleAbTests}})}):e._e()],2),n("div",{staticClass:"omapi-campaign-table__mods omapi-campaign-table__mods-bottom"},[n("campaigns-table-bulk-actions",{attrs:{actionKey:e.actionKey,isBulk:e.isBulk},on:{setAction:function(t){return e.$emit("setAction",t)}}}),n("campaigns-table-pagination")],1),e._l(e.campaigns,function(t){return n("div",{key:t.id},e._l(e.modals,function(e){return n("campaigns-modal-"+e,{key:e,tag:"component",attrs:{campaign:t}})}),1)}),e._l(e.bulkModals,function(e){return n("campaigns-modal-"+e,{key:e,tag:"component"})})],2)},r=[],a=(n("6762"),n("2fdb"),n("ac6a"),{inheritAttrs:!1,props:{campaigns:{type:Array,default:function(){return[]}},isBulk:Boolean,actionKey:String,isRefreshing:Boolean},data:function(){return{headers:[{name:"Name",class:"campaign-table-name"},{name:"Stats",class:"campaign-table-stats"},{name:"A/B Tests",class:"campaign-table-ab"},{name:"Status",class:"campaign-table-status"},{name:"<span>Actions</span>",class:"campaign-table-actions"}],modals:["archive","delete","duplicate","preview","monster-link","split","trash"],bulkModals:["bulk-archive","bulk-delete","bulk-trash"],abTestsToggled:[]}},computed:{hasCampaigns:function(){return Boolean(this.campaigns&&0<this.campaigns.length)},rowClasses:function(){var e="",t={};return this.campaigns.forEach(function(n){n.is_split||(e="alternate"===e?"":"alternate"),t[n.id]=e}),t}},methods:{rowVisible:function(e){return!e.is_split||this.abTestsToggled.includes(e.parent_id)},splitsOpen:function(e){return this.abTestsToggled.includes(e.id)},toggleAbTests:function(e){var t=this.abTestsToggled.indexOf(e);-1!==t?this.abTestsToggled.splice(t,1):this.abTestsToggled.push(e)}}}),o=a,s=(n("21d9"),n("2877")),c=Object(s["a"])(o,i,r,!1,null,null,null);t["default"]=c.exports},"0ba7":function(e,t,n){e.exports=n.p+"img/blue-help.6529ddbb.svg"},"0bae":function(e,t,n){"use strict";var i=n("8cbd"),r=n.n(i);r.a},"0bfb":function(e,t,n){"use strict";var i=n("cb7c");e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"0bff":function(e,t,n){"use strict";var i=n("be1e"),r=n.n(i);r.a},"0c19":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"omapi-card-setting-section omapi-integration-settings"},[e._m(0),n("div",{staticClass:"omapi-integration-settings__options"},[n("div",[n("common-selectable-input",{attrs:{type:"checkbox",value:e.showDefaultIntegration?"1":"0",checked:e.showDefaultIntegration},on:{input:function(t){e.showDefaultIntegration=!e.showDefaultIntegration}}},[e._v("\n\t\t\t\tSet the default integration to be used for campaigns associated with this site?\n\t\t\t")])],1),e.showDefaultIntegration?n("div",{staticClass:"omapi-integration-settings__defaults"},[n("div",{staticClass:"omapi-integration-settings__defaults-provider"},[n("common-tooltip",{attrs:{tooltip:"Select your default marketing integration provider for new campaigns."}},[n("label",[e._v("Provider:")])]),n("core-form-fancy-select-input",{attrs:{options:e.providersOptions,placeholder:"Select a Provider...",searchPlaceholder:"Type to search for an integration provider..."},model:{value:e.provider,callback:function(t){e.provider=t},expression:"provider"}})],1),n("div",{staticClass:"omapi-integration-settings__defaults-account"},[n("common-tooltip",{attrs:{tooltip:"Select your default marketing integration provider connection for new campaigns."}},[n("label",[e._v("Account Selection:")])]),n("core-form-fancy-select-input",{attrs:{name:"defaultIntegration",value:e.defaultIntegration,options:e.integrationAccounts,placeholder:e.integrationAccountsPlaceholder,searchPlaceholder:"Type to search for an integration...",showNoOptions:!0},on:{input:e.sendEvent},scopedSlots:e._u([{key:"noOptions",fn:function(){return[e._v(e._s(e.integrationAccountsPlaceholder))]},proxy:!0}],null,!1,4096347822)})],1)]):e._e()])])},r=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("header",[n("h3",[e._v("\n\t\t\tDefault Integration\n\t\t")])])}],a=(n("8e6e"),n("ac6a"),n("456d"),n("7f7f"),n("bd86")),o=n("2f62");function s(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(n,!0).forEach(function(t){Object(a["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var l={props:{defaultIntegration:{type:String,required:!0}},data:function(){return{showDefaultIntegration:!1,provider:""}},mounted:function(){this.defaultIntegrationProvider&&(this.provider=this.defaultIntegrationProvider),this.defaultIntegration&&(this.showDefaultIntegration=!0)},watch:{defaultIntegrationProvider:function(e){this.provider=e},defaultIntegration:function(e){e&&(this.showDefaultIntegration=!0)},showDefaultIntegration:function(e){this.$emit("toggle",e)}},computed:c({},Object(o["f"])("settings",["providers","integrations"]),{},Object(o["d"])("settings",["hasDefaultIntegration","defaultIntegrationProvider","providerIntegrations"]),{providersOptions:function(){return this.providers.map(function(e){return{name:e.name,value:e.id}})},integrationAccounts:function(){return this.provider?this.providerIntegrations(this.provider).map(function(e){return{name:e.name,value:e.id}}):[]},integrationAccountsPlaceholder:function(){return this.provider?this.integrationAccounts.length?"Select an Integration...":"No accounts found...":"Select a provider first..."}}),methods:{sendEvent:function(e,t){this.$emit("input",e,t)}}},u=l,d=(n("6229"),n("2877")),p=Object(d["a"])(u,i,r,!1,null,null,null);t["default"]=p.exports},"0caa":function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
18
+ //! moment.js locale configuration
19
+ function t(e,t,n,i){var r={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return i?r[n][0]:r[n][1]}var n=e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}});return n})},"0ced":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("core-modal",{staticClass:"omapi-modal bulk-trash-modal",attrs:{name:"bulk-trash-modal",clickToClose:!e.isBulkTrashing,isConfirmation:!0}},[n("modals-content",[n("form",{on:{submit:function(t){return t.preventDefault(),e.bulkTrash(t)}}},[n("p",[e._v("Are you sure you want to trash "+e._s(e.bulk.length)+" "+e._s(e.makePlural("campaign",e.bulk.length))+".")]),n("section",{staticClass:"buttons"},[n("core-loading-button",{ref:"toFocus",staticClass:"bulk-trash-campaign",attrs:{size:"large",color:"blue",buttonType:"submit",loading:e.isBulkTrashing}},[e._v("\n\t\t\t\t\tYes, I'm Sure\n\t\t\t\t")]),n("core-button",{attrs:{size:"large",disabled:e.isBulkTrashing},on:{click:function(t){return t.preventDefault(),e.$modal.hide("bulk-trash-modal")}}},[e._v("\n\t\t\t\t\tCancel\n\t\t\t\t")])],1)])])],1)},r=[],a=n("a622"),o=n("9914"),s={mixins:[a["a"],o["a"]]},c=s,l=(n("e9e8"),n("2877")),u=Object(l["a"])(c,i,r,!1,null,null,null);t["default"]=u.exports},"0d0a":function(e,t,n){},"0d24":function(e,t,n){(function(e){var i=n("2b3e"),r=n("07c7"),a=t&&!t.nodeType&&t,o=a&&"object"==typeof e&&e&&!e.nodeType&&e,s=o&&o.exports===a,c=s?i.Buffer:void 0,l=c?c.isBuffer:void 0,u=l||r;e.exports=u}).call(this,n("62e4")(e))},"0d2d":function(e,t,n){"use strict";var i=n("af34"),r=n.n(i);r.a},"0d33":function(e,t,n){e.exports=n.p+"img/split.361671fa.svg"},"0d39":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("core-loading-button",e._g(e._b({attrs:{color:e.disabled?"outline":e.$get("color","green"),loading:e.saving,disabled:e.isDisabled,buttonType:"submit"}},"core-loading-button",e.$attrs,!1),e.$listeners),[e.finished&&!e.hasFailed?[e._v("Saved!")]:e.finished&&e.hasFailed?[e._v("Error!")]:e._t("default",[e._v("Save Changes")])],2)},r=[],a={inheritAttrs:!1,props:{disabled:Boolean,saving:Boolean,failed:Boolean,color:String},data:function(){return{finished:!1,timeout:!1,hasFailed:!1}},watch:{saving:function(e){var t=this;e||(this.finished=!0,this.timeout=setTimeout(function(){return t.completeSave()},1e3))},disabled:function(e){e&&!this.timeout&&this.completeSave()},failed:function(e){this.hasFailed=e}},computed:{isDisabled:function(){return this.disabled&&!this.finished}},methods:{completeSave:function(){this.finished=!1,this.hasFailed=!1,this.timeout&&clearTimeout(this.timeout)}}},o=a,s=n("2877"),c=Object(s["a"])(o,i,r,!1,null,null,null);t["default"]=c.exports},"0d58":function(e,t,n){var i=n("ce10"),r=n("e11e");e.exports=Object.keys||function(e){return i(e,r)}},"0e15":function(e,t,n){var i=n("597f");e.exports=function(e,t,n){return void 0===n?i(e,t,!1):i(e,n,!1!==t)}},"0e49":function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
20
+ //! moment.js locale configuration
21
+ var t=e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}});return t})},"0e6b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
22
+ //! moment.js locale configuration
23
+ var t=e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:0,doy:4}});return t})},"0e81":function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
24
+ //! moment.js locale configuration
25
+ var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"},n=e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){return e<12?n?"öö":"ÖÖ":n?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var i=e%10,r=e%100-i,a=e>=100?100:null;return e+(t[i]||t[r]||t[a])}},week:{dow:1,doy:7}});return n})},"0efb":function(e,t,n){var i,r,a;//! moment-timezone.js
26
+ //! version : 0.5.31
27
+ //! Copyright (c) JS Foundation and other contributors
28
+ //! license : MIT
29
+ //! github.com/moment/moment-timezone
30
+ //! moment-timezone.js
31
+ //! version : 0.5.31
32
+ //! Copyright (c) JS Foundation and other contributors
33
+ //! license : MIT
34
+ //! github.com/moment/moment-timezone
35
+ (function(o,s){"use strict";e.exports?e.exports=s(n("c1df")):(r=[n("c1df")],i=s,a="function"===typeof i?i.apply(t,r):i,void 0===a||(e.exports=a))})(0,function(e){"use strict";void 0===e.version&&e.default&&(e=e.default);var t,n="0.5.31",i={},r={},a={},o={},s={};e&&"string"===typeof e.version||B("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var c=e.version.split("."),l=+c[0],u=+c[1];function d(e){return e>96?e-87:e>64?e-29:e-48}function p(e){var t,n=0,i=e.split("."),r=i[0],a=i[1]||"",o=1,s=0,c=1;for(45===e.charCodeAt(0)&&(n=1,c=-1),n;n<r.length;n++)t=d(r.charCodeAt(n)),s=60*s+t;for(n=0;n<a.length;n++)o/=60,t=d(a.charCodeAt(n)),s+=t*o;return s*c}function f(e){for(var t=0;t<e.length;t++)e[t]=p(e[t])}function h(e,t){for(var n=0;n<t;n++)e[n]=Math.round((e[n-1]||0)+6e4*e[n]);e[t-1]=1/0}function m(e,t){var n,i=[];for(n=0;n<t.length;n++)i[n]=e[t[n]];return i}function v(e){var t=e.split("|"),n=t[2].split(" "),i=t[3].split(""),r=t[4].split(" ");return f(n),f(i),f(r),h(r,i.length),{name:t[0],abbrs:m(t[1].split(" "),i),offsets:m(n,i),untils:r,population:0|t[5]}}function g(e){e&&this._set(v(e))}function b(e,t){this.name=e,this.zones=t}function _(e){var t=e.toTimeString(),n=t.match(/\([a-z ]+\)/i);n&&n[0]?(n=n[0].match(/[A-Z]/g),n=n?n.join(""):void 0):(n=t.match(/[A-Z]{3,5}/g),n=n?n[0]:void 0),"GMT"===n&&(n=void 0),this.at=+e,this.abbr=n,this.offset=e.getTimezoneOffset()}function y(e){this.zone=e,this.offsetScore=0,this.abbrScore=0}function M(e,t){var n,i;while(i=6e4*((t.at-e.at)/12e4|0))n=new _(new Date(e.at+i)),n.offset===e.offset?e=n:t=n;return e}function w(){var e,t,n,i=(new Date).getFullYear()-2,r=new _(new Date(i,0,1)),a=[r];for(n=1;n<48;n++)t=new _(new Date(i,n,1)),t.offset!==r.offset&&(e=M(r,t),a.push(e),a.push(new _(new Date(e.at+6e4)))),r=t;for(n=0;n<4;n++)a.push(new _(new Date(i+n,0,1))),a.push(new _(new Date(i+n,6,1)));return a}function O(e,t){return e.offsetScore!==t.offsetScore?e.offsetScore-t.offsetScore:e.abbrScore!==t.abbrScore?e.abbrScore-t.abbrScore:e.zone.population!==t.zone.population?t.zone.population-e.zone.population:t.zone.name.localeCompare(e.zone.name)}function k(e,t){var n,i;for(f(t),n=0;n<t.length;n++)i=t[n],s[i]=s[i]||{},s[i][e]=!0}function x(e){var t,n,i,r=e.length,a={},c=[];for(t=0;t<r;t++)for(n in i=s[e[t].offset]||{},i)i.hasOwnProperty(n)&&(a[n]=!0);for(t in a)a.hasOwnProperty(t)&&c.push(o[t]);return c}function L(){try{var e=Intl.DateTimeFormat().resolvedOptions().timeZone;if(e&&e.length>3){var t=o[A(e)];if(t)return t;B("Moment Timezone found "+e+" from the Intl api, but did not have that data loaded.")}}catch(u){}var n,i,r,a=w(),s=a.length,c=x(a),l=[];for(i=0;i<c.length;i++){for(n=new y(T(c[i]),s),r=0;r<s;r++)n.scoreOffsetAt(a[r]);l.push(n)}return l.sort(O),l.length>0?l[0].zone.name:void 0}function C(e){return t&&!e||(t=L()),t}function A(e){return(e||"").toLowerCase().replace(/\//g,"_")}function S(e){var t,n,r,a;for("string"===typeof e&&(e=[e]),t=0;t<e.length;t++)r=e[t].split("|"),n=r[0],a=A(n),i[a]=e[t],o[a]=n,k(a,r[2].split(" "))}function T(e,t){e=A(e);var n,a=i[e];return a instanceof g?a:"string"===typeof a?(a=new g(a),i[e]=a,a):r[e]&&t!==T&&(n=T(r[e],T))?(a=i[e]=new g,a._set(n),a.name=o[e],a):null}function D(){var e,t=[];for(e in o)o.hasOwnProperty(e)&&(i[e]||i[r[e]])&&o[e]&&t.push(o[e]);return t.sort()}function z(){return Object.keys(a)}function E(e){var t,n,i,a;for("string"===typeof e&&(e=[e]),t=0;t<e.length;t++)n=e[t].split("|"),i=A(n[0]),a=A(n[1]),r[i]=a,o[i]=n[0],r[a]=i,o[a]=n[1]}function j(e){var t,n,i,r;if(e&&e.length)for(t=0;t<e.length;t++)r=e[t].split("|"),n=r[0].toUpperCase(),i=r[1].split(" "),a[n]=new b(n,i)}function P(e){return e=e.toUpperCase(),a[e]||null}function N(e,t){if(e=P(e),!e)return null;var n=e.zones.sort();return t?n.map(function(e){var t=T(e);return{name:e,offset:t.utcOffset(new Date)}}):n}function Y(e){S(e.zones),E(e.links),j(e.countries),q.dataVersion=e.version}function $(e){return $.didShowError||($.didShowError=!0,B("moment.tz.zoneExists('"+e+"') has been deprecated in favor of !moment.tz.zone('"+e+"')")),!!T(e)}function W(e){var t="X"===e._f||"x"===e._f;return!(!e._a||void 0!==e._tzm||t)}function B(e){"undefined"!==typeof console&&"function"===typeof console.error&&console.error(e)}function q(t){var n=Array.prototype.slice.call(arguments,0,-1),i=arguments[arguments.length-1],r=T(i),a=e.utc.apply(null,n);return r&&!e.isMoment(t)&&W(a)&&a.add(r.parse(a),"minutes"),a.tz(i),a}(l<2||2===l&&u<6)&&B("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+e.version+". See momentjs.com"),g.prototype={_set:function(e){this.name=e.name,this.abbrs=e.abbrs,this.untils=e.untils,this.offsets=e.offsets,this.population=e.population},_index:function(e){var t,n=+e,i=this.untils;for(t=0;t<i.length;t++)if(n<i[t])return t},countries:function(){var e=this.name;return Object.keys(a).filter(function(t){return-1!==a[t].zones.indexOf(e)})},parse:function(e){var t,n,i,r,a=+e,o=this.offsets,s=this.untils,c=s.length-1;for(r=0;r<c;r++)if(t=o[r],n=o[r+1],i=o[r?r-1:r],t<n&&q.moveAmbiguousForward?t=n:t>i&&q.moveInvalidForward&&(t=i),a<s[r]-6e4*t)return o[r];return o[c]},abbr:function(e){return this.abbrs[this._index(e)]},offset:function(e){return B("zone.offset has been deprecated in favor of zone.utcOffset"),this.offsets[this._index(e)]},utcOffset:function(e){return this.offsets[this._index(e)]}},y.prototype.scoreOffsetAt=function(e){this.offsetScore+=Math.abs(this.zone.utcOffset(e.at)-e.offset),this.zone.abbr(e.at).replace(/[^A-Z]/g,"")!==e.abbr&&this.abbrScore++},q.version=n,q.dataVersion="",q._zones=i,q._links=r,q._names=o,q._countries=a,q.add=S,q.link=E,q.load=Y,q.zone=T,q.zoneExists=$,q.guess=C,q.names=D,q.Zone=g,q.unpack=v,q.unpackBase60=p,q.needsOffset=W,q.moveInvalidForward=!0,q.moveAmbiguousForward=!1,q.countries=z,q.zonesForCountry=N;var I=e.fn;function F(e){return function(){return this._z?this._z.abbr(this):e.call(this)}}function H(e){return function(){return this._z=null,e.apply(this,arguments)}}function R(e){return function(){return arguments.length>0&&(this._z=null),e.apply(this,arguments)}}e.tz=q,e.defaultZone=null,e.updateOffset=function(t,n){var i,r=e.defaultZone;if(void 0===t._z&&(r&&W(t)&&!t._isUTC&&(t._d=e.utc(t._a)._d,t.utc().add(r.parse(t),"minutes")),t._z=r),t._z)if(i=t._z.utcOffset(t),Math.abs(i)<16&&(i/=60),void 0!==t.utcOffset){var a=t._z;t.utcOffset(-i,n),t._z=a}else t.zone(i,n)},I.tz=function(t,n){if(t){if("string"!==typeof t)throw new Error("Time zone name must be a string, got "+t+" ["+typeof t+"]");return this._z=T(t),this._z?e.updateOffset(this,n):B("Moment Timezone has no data for "+t+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},I.zoneName=F(I.zoneName),I.zoneAbbr=F(I.zoneAbbr),I.utc=H(I.utc),I.local=H(I.local),I.utcOffset=R(I.utcOffset),e.tz.setDefault=function(t){return(l<2||2===l&&u<9)&&B("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+e.version+"."),e.defaultZone=t?T(t):null,e};var X=e.momentProperties;return"[object Array]"===Object.prototype.toString.call(X)?(X.push("_z"),X.push("_a")):X&&(X._z=null),e})},"0f0f":function(e,t,n){"use strict";var i=n("9b02"),r=n.n(i),a=n("1a8c"),o=n.n(a),s=n("ed2e");const c=(e,t)=>{return"undefined"===typeof c.hasData&&(c.hasData=o()(s["c"].data)&&s["c"].hasData()),c.hasData?s["c"].get(e,t):r()(p,e,t)},l=(s["c"].get("isItWp",localStorage.getItem("isItWp")||Object({NODE_ENV:"production",BASE_URL:"/wp-content/wp-content/plugins/optinmonster/vue/dist/"}).VUE_APP_WP),s["c"].get("siteId",localStorage.getItem("siteId")||Object({NODE_ENV:"production",BASE_URL:"/wp-content/wp-content/plugins/optinmonster/vue/dist/"}).VUE_APP_SITE_ID)),u=e=>{return e&&e.split&&(e=e.split(",")),e},d=u(s["c"].get("siteIds",localStorage.getItem("siteIds")||Object({NODE_ENV:"production",BASE_URL:"/wp-content/wp-content/plugins/optinmonster/vue/dist/"}).VUE_APP_SITE_IDS)),p=(s["c"].get("strings",JSON.parse(localStorage.getItem("wpStrings"))),{embedCode:'\x3c!-- This site is converting visitors into subscribers and customers with OptinMonster - https://optinmonster.com--\x3e\n<script type="text/javascript" src="https://app.optinmonster.test/wp-content/optinmonster-api-js/dist/Api.js" data-account="5" data-user="24910" data-env="dev" async><\/script>\n\x3c!-- / OptinMonster --\x3e'}),f=e=>{switch(e){case"name-a-z":case"name-z-a":return"name";case"domain-a-z":return"domain";case"newest":case"oldest":return"created";case"status-active":case"status-paused":return"status";case"campaign-type-a-z":case"campaign-type-z-a":return"type";case"visitors-asc":case"visitors-desc":return"impressions";case"leads-asc":case"leads-desc":return"conversions";case"conversion-rate-asc":case"conversion-rate-desc":return"rate";default:return e}};var h=(e,t="name-a-z")=>{const n=e.splice(0);let i=f(t);switch(t){case"name-a-z":case"domain-a-z":case"campaign-type-a-z":n.sort((e,t)=>{return e[i].toLowerCase()>t[i].toLowerCase()?1:e[i].toLowerCase()<t[i].toLowerCase()?-1:0});break;case"name-z-a":case"campaign-type-z-a":n.sort((e,t)=>{return e[i].toLowerCase()<t[i].toLowerCase()?1:e[i].toLowerCase()>t[i].toLowerCase()?-1:0});break;case"newest":case"status-paused":n.sort((e,t)=>{return e[i]<t[i]?1:e[i]>t[i]?-1:0});break;case"oldest":case"status-active":n.sort((e,t)=>{return e[i]>t[i]?1:e[i]<t[i]?-1:0});break;case"visitors-asc":case"leads-asc":case"conversion-rate-asc":n.sort((e,t)=>{return e.analytics_data[i]>t.analytics_data[i]?1:e.analytics_data[i]<t.analytics_data[i]?-1:0});break;case"visitors-desc":case"leads-desc":case"conversion-rate-desc":n.sort((e,t)=>{return e.analytics_data[i]<t.analytics_data[i]?1:e.analytics_data[i]>t.analytics_data[i]?-1:0});break}return n},m=n("3b9f");n.d(t,"a",function(){return c}),n.d(t,"b",function(){return l}),n.d(t,"c",function(){return d}),n.d(t,"d",function(){return h}),n.d(t,"e",function(){return m["a"]})},"0f14":function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
36
+ //! moment.js locale configuration
37
+ var t=e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t})},"0f1f":function(e,t,n){"use strict";var i=n("6583"),r=n.n(i);r.a},"0f24":function(e,t,n){"use strict";var i=n("abb0"),r=n.n(i);r.a},"0f2e":function(e,t,n){"use strict";n.d(t,"a",function(){return l});n("8e6e"),n("ac6a"),n("456d"),n("7f7f"),n("96cf");var i=n("3b8d"),r=n("bd86"),a=n("2f62"),o=n("002d");function s(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(n,!0).forEach(function(t){Object(r["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var l={data:function(){return{isArchiving:!1,isBulkArchiving:!1}},computed:c({},Object(a["f"])("campaigns",["bulk"])),methods:c({},Object(a["c"])("campaigns",["bulkArchiveCampaigns"]),{},Object(a["e"])("campaigns",["addAlert"]),{handle:function(){var e=Object(i["a"])(regeneratorRuntime.mark(function e(t,n,i,r){return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return this[i]=!0,e.next=3,this.bulkArchiveCampaigns({campaigns:t});case 3:this.addAlert({message:n,type:"success"}),this[i]=!1,this.$modal.hide("".concat(r,"-archive-modal"));case 6:case"end":return e.stop()}},e,this)}));function t(t,n,i,r){return e.apply(this,arguments)}return t}(),archive:function(){var e="The ".concat(this.campaign.name," campaign was archived successfully.");this.handle([this.campaign.id],e,"isArchiving",this.campaign.id)},bulkArchive:function(){var e=this.bulk.length,t="Successfully archived ".concat(e," ").concat(Object(o["b"])("campaign",e),".");this.handle(this.bulk,t,"isBulkArchiving","bulk")}})}},"0f38":function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
38
+ //! moment.js locale configuration
39
+ var t=e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t})},"0f5c":function(e,t,n){var i=n("159a");function r(e,t,n){return null==e?e:i(e,t,n)}e.exports=r},"0fc9":function(e,t,n){var i=n("3a38"),r=Math.max,a=Math.min;e.exports=function(e,t){return e=i(e),e<0?r(e+t,0):a(e,t)}},"0ff2":function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
40
+ //! moment.js locale configuration
41
+ var t=e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return t})},1098:function(e,t,n){"use strict";t.__esModule=!0;var i=n("17ed"),r=c(i),a=n("f893"),o=c(a),s="function"===typeof o.default&&"symbol"===typeof r.default?function(e){return typeof e}:function(e){return e&&"function"===typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function c(e){return e&&e.__esModule?e:{default:e}}t.default="function"===typeof o.default&&"symbol"===s(r.default)?function(e){return"undefined"===typeof e?"undefined":s(e)}:function(e){return e&&"function"===typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":"undefined"===typeof e?"undefined":s(e)}},"109d":function(e,t,n){e.exports=n.p+"img/white-right-arrow.1fd68bed.svg"},"10e8":function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
42
+ //! moment.js locale configuration
43
+ var t=e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}});return t})},"10fa":function(e,t,n){"use strict";var i=n("7506"),r=n.n(i);r.a},"111f":function(e,t,n){e.exports=n.p+"img/redx.66010999.svg"},1169:function(e,t,n){var i=n("2d95");e.exports=Array.isArray||function(e){return"Array"==i(e)}},1173:function(e,t){e.exports=function(e,t,n,i){if(!(e instanceof t)||void 0!==i&&i in e)throw TypeError(n+": incorrect invocation!");return e}},"11a8":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{staticStyle:{"fill-rule":"evenodd","clip-rule":"evenodd","stroke-linejoin":"round","stroke-miterlimit":"1.41421"},attrs:{width:"100%",height:"100%",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xml:space":"preserve","xmlns:serif":"http://www.serif.com/"}},[n("g",{attrs:{transform:"matrix(1,0,0,1,0,-0.00254394)"}},[n("path",{attrs:{d:"M10.086,8.474C9.87,9.44 9.007,10.163 7.977,10.163C6.947,10.163 6.084,9.44 5.869,8.474L0.48,8.474C0.215,8.474 0,8.259 0,7.994C0,7.728 0.215,7.513 0.48,7.513L5.873,7.513C6.095,6.556 6.953,5.842 7.977,5.842C9.001,5.842 9.859,6.556 10.082,7.513L15.52,7.513C15.785,7.513 16,7.728 16,7.994C16,8.259 15.785,8.474 15.52,8.474L10.086,8.474ZM7.977,6.713C7.266,6.713 6.688,7.291 6.688,8.003C6.688,8.714 7.266,9.292 7.977,9.292C8.689,9.292 9.266,8.714 9.266,8.003C9.266,7.291 8.689,6.713 7.977,6.713Z",fill:"currentColor"}})]),n("g",{attrs:{transform:"matrix(1,0,0,1,0,-0.291756)"}},[n("path",{attrs:{d:"M4.269,2.923C4.053,3.889 3.19,4.612 2.16,4.612C0.968,4.612 0,3.644 0,2.452C0,1.26 0.968,0.292 2.16,0.292C3.184,0.292 4.042,1.006 4.264,1.962L15.52,1.962C15.785,1.963 16,2.178 16,2.443C16,2.708 15.785,2.923 15.52,2.923L4.269,2.923ZM2.16,1.163C2.872,1.163 3.449,1.74 3.449,2.452C3.449,3.163 2.872,3.741 2.16,3.741C1.449,3.741 0.871,3.163 0.871,2.452C0.871,1.74 1.449,1.163 2.16,1.163Z",fill:"currentColor"}})]),n("g",{attrs:{transform:"matrix(-1,0,0,1,16,11.388)"}},[n("path",{attrs:{d:"M4.269,2.923C4.053,3.889 3.19,4.612 2.16,4.612C0.968,4.612 0,3.644 0,2.452C0,1.26 0.968,0.292 2.16,0.292C3.184,0.292 4.042,1.006 4.264,1.962L15.52,1.962C15.785,1.963 16,2.178 16,2.443C16,2.708 15.785,2.923 15.52,2.923L4.269,2.923ZM2.16,1.163C2.872,1.163 3.449,1.74 3.449,2.452C3.449,3.163 2.872,3.741 2.16,3.741C1.449,3.741 0.871,3.163 0.871,2.452C0.871,1.74 1.449,1.163 2.16,1.163Z",fill:"currentColor"}})])])},r=[],a=n("2877"),o={},s=Object(a["a"])(o,i,r,!1,null,null,null);t["default"]=s.exports},"11b4":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("core-dropdown-button",{ref:"statusDropdown",staticClass:"campaign-table-status-indicators",class:{"status-is-scheduled":e.isScheduled},attrs:{linkStyle:!0,width:112,open:e.statusOpened},on:{close:function(t){return e.$emit("close")}},scopedSlots:e._u([{key:"list",fn:function(){return[n("li",[n("a",{class:{current:"Draft"===e.statusText},attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.setDraftStatus(t)}}},[e._v("\n\t\t\tDraft\n\t\t")])]),n("li",[n("a",{class:{current:"Pending"===e.statusText},attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.setPendingStatus(t)}}},[e._v("\n\t\t\tPending\n\t\t")])]),n("li",[n("a",{class:{current:"Published"===e.statusText&&!e.isScheduled},attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.setPublishStatus(t)}}},[e._v("\n\t\t\tPublish\n\t\t")])]),n("li",[n("a",{class:{current:"Published"===e.statusText&&e.isScheduled},attrs:{href:e.publishLink},on:{click:e.maybeEditSchedule}},[e._v("\n\t\t\t"+e._s(e.isScheduled?"Edit Schedule":"Set Schedule")+"\n\t\t")])])]},proxy:!0}])},[e.$store.getters.isFetched("wpResources")?[n("span",{class:e.statusColorClass},[e._v(e._s(e.statusText))]),n("common-tooltip",{directives:[{name:"show",rawName:"v-show",value:e.isScheduled,expression:"isScheduled"}],attrs:{icon:"svg-calendar",delayOnMouseOver:100},scopedSlots:e._u([{key:"tooltip",fn:function(){return[n("campaigns-rules-schedule",{attrs:{rules:e.scheduledRules}})]},proxy:!0}])})]:n("core-loading",{staticStyle:{margin:"0"},attrs:{size:"22px"}})],2)},r=[],a=(n("8e6e"),n("ac6a"),n("456d"),n("bd86")),o=n("643a"),s=n("2f62");function c(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(n,!0).forEach(function(t){Object(a["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var u={mixins:[o["a"]],props:{campaignId:{type:String},statusOpened:Boolean},computed:l({},Object(s["d"])("campaigns",["getCampaign"]),{campaign:function(){return this.getCampaign(this.campaignId)},statusColorClass:function(){switch(this.statusText){case"Pending":return"omapi-c-orange";case"Published":return"omapi-c-green";default:case"Draft":return"omapi-c-red"}},statusText:function(){return this.isPublished?this.settingEnabled&&this.settingEnabled?"Published":"Pending":this.settingEnabled?"Pending":"Draft"}}),methods:{setDraftStatus:function(){this.handleStatus("paused"),this.toggleEmbed(!1)},setPendingStatus:function(){this.toggleEmbed(!this.isPublished)},setPublishStatus:function(){this.handleStatus("active"),this.toggleEmbed(!0)},handleStatus:function(e){this.$refs.statusDropdown.toggle(!0),this.setStatus({campaigns:[this.id],status:e})},toggleEmbed:function(e){var t=this;e=Boolean(e),this.$refs.statusDropdown.toggle(!0),e!==this.settingEnabled&&(this.settingEnabled=e,this.saveWordPress({campaignId:this.id,settings:this.getSettings()}).then(function(){t.fetchWpDataForCampaign({campaignId:t.id}).then(function(){return t.fetched(t.id)}).catch(function(e){})}))}}},d=u,p=n("2877"),f=Object(p["a"])(d,i,r,!1,null,null,null);t["default"]=f.exports},"11c0":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{attrs:{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"check",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[n("path",{attrs:{fill:"currentColor",d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"}})])},r=[],a=n("2877"),o={},s=Object(a["a"])(o,i,r,!1,null,null,null);t["default"]=s.exports},"11e9":function(e,t,n){var i=n("52a7"),r=n("4630"),a=n("6821"),o=n("6a99"),s=n("69a8"),c=n("c69a"),l=Object.getOwnPropertyDescriptor;t.f=n("9e1e")?l:function(e,t){if(e=a(e),t=o(t,!0),c)try{return l(e,t)}catch(n){}if(s(e,t))return r(!i.f.call(e,t),e[t])}},"11fa":function(e,t,n){e.exports=n.p+"img/floating-icon.0a38a7da.svg"},"126d":function(e,t,n){var i=n("6da8"),r=n("aaec"),a=n("d094");function o(e){return r(e)?a(e):i(e)}e.exports=o},1290:function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},"12f2":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return{methods:{focus:function(){this.$refs[e].focus()}}}}},1310:function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},1343:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[e._t("default")],2)},r=[],a=(n("c5f6"),{props:{targetLineCount:{default:1,type:Number},unit:{default:"px",type:String},min:{default:12,type:Number},max:{default:36,type:Number}},data:function(){return{observer:null}},methods:{calculate:function(){var e=this.$el,t=this.max,n="px"===this.unit?1:.05;e.style.display="inline-block",e.style.lineHeight="1px",e.style.fontSize=t+this.unit;while(e.offsetHeight>this.targetLineCount&&t>this.min)t-=n,e.style.fontSize=t+this.unit;this.$emit("resize",{size:t,unit:this.unit}),e.style.display=null,e.style.lineHeight=null}},mounted:function(){this.calculate(),"MutationObserver"in window&&null===this.observer&&(this.observer=new MutationObserver(this.calculate),this.observer.observe(this.$el,{subtree:!0,characterData:!0})),window.addEventListener("resize",this.calculate)},beforeDestroy:function(){this.observer.disconnect(),window.removeEventListener("resize",this.calculate)}}),o=a,s=n("2877"),c=Object(s["a"])(o,i,r,!1,null,null,null);t["default"]=c.exports},1344:function(e,t,n){e.exports=n.p+"img/document.37d72e1e.svg"},1368:function(e,t,n){var i=n("da03"),r=function(){var e=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function a(e){return!!r&&r in e}e.exports=a},"13a4":function(e,t,n){},"13e9":function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
44
+ //! moment.js locale configuration
45
+ var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}},n=e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var e=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},1495:function(e,t,n){var i=n("86cc"),r=n("cb7c"),a=n("0d58");e.exports=n("9e1e")?Object.defineProperties:function(e,t){r(e);var n,o=a(t),s=o.length,c=0;while(s>c)i.f(e,n=o[c++],t[n]);return e}},"14e9":function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},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="/dist/",n(n.s=127)}({127:function(e,t,n){"use strict";n.r(t);var i=n(16),r=n(39),a=n.n(r),o=n(3),s=n(2),c={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}};function l(e){var t=e.move,n=e.size,i=e.bar,r={},a="translate"+i.axis+"("+t+"%)";return r[i.size]=n,r.transform=a,r.msTransform=a,r.webkitTransform=a,r}var u={name:"Bar",props:{vertical:Boolean,size:String,move:Number},computed:{bar:function(){return c[this.vertical?"vertical":"horizontal"]},wrap:function(){return this.$parent.wrap}},render:function(e){var t=this.size,n=this.move,i=this.bar;return e("div",{class:["el-scrollbar__bar","is-"+i.key],on:{mousedown:this.clickTrackHandler}},[e("div",{ref:"thumb",class:"el-scrollbar__thumb",on:{mousedown:this.clickThumbHandler},style:l({size:t,move:n,bar:i})})])},methods:{clickThumbHandler:function(e){e.ctrlKey||2===e.button||(this.startDrag(e),this[this.bar.axis]=e.currentTarget[this.bar.offset]-(e[this.bar.client]-e.currentTarget.getBoundingClientRect()[this.bar.direction]))},clickTrackHandler:function(e){var t=Math.abs(e.target.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),n=this.$refs.thumb[this.bar.offset]/2,i=100*(t-n)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=i*this.wrap[this.bar.scrollSize]/100},startDrag:function(e){e.stopImmediatePropagation(),this.cursorDown=!0,Object(s["on"])(document,"mousemove",this.mouseMoveDocumentHandler),Object(s["on"])(document,"mouseup",this.mouseUpDocumentHandler),document.onselectstart=function(){return!1}},mouseMoveDocumentHandler:function(e){if(!1!==this.cursorDown){var t=this[this.bar.axis];if(t){var n=-1*(this.$el.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),i=this.$refs.thumb[this.bar.offset]-t,r=100*(n-i)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=r*this.wrap[this.bar.scrollSize]/100}}},mouseUpDocumentHandler:function(e){this.cursorDown=!1,this[this.bar.axis]=0,Object(s["off"])(document,"mousemove",this.mouseMoveDocumentHandler),document.onselectstart=null}},destroyed:function(){Object(s["off"])(document,"mouseup",this.mouseUpDocumentHandler)}},d={name:"ElScrollbar",components:{Bar:u},props:{native:Boolean,wrapStyle:{},wrapClass:{},viewClass:{},viewStyle:{},noresize:Boolean,tag:{type:String,default:"div"}},data:function(){return{sizeWidth:"0",sizeHeight:"0",moveX:0,moveY:0}},computed:{wrap:function(){return this.$refs.wrap}},render:function(e){var t=a()(),n=this.wrapStyle;if(t){var i="-"+t+"px",r="margin-bottom: "+i+"; margin-right: "+i+";";Array.isArray(this.wrapStyle)?(n=Object(o["toObject"])(this.wrapStyle),n.marginRight=n.marginBottom=i):"string"===typeof this.wrapStyle?n+=r:n=r}var s=e(this.tag,{class:["el-scrollbar__view",this.viewClass],style:this.viewStyle,ref:"resize"},this.$slots.default),c=e("div",{ref:"wrap",style:n,on:{scroll:this.handleScroll},class:[this.wrapClass,"el-scrollbar__wrap",t?"":"el-scrollbar__wrap--hidden-default"]},[[s]]),l=void 0;return l=this.native?[e("div",{ref:"wrap",class:[this.wrapClass,"el-scrollbar__wrap"],style:n},[[s]])]:[c,e(u,{attrs:{move:this.moveX,size:this.sizeWidth}}),e(u,{attrs:{vertical:!0,move:this.moveY,size:this.sizeHeight}})],e("div",{class:"el-scrollbar"},l)},methods:{handleScroll:function(){var e=this.wrap;this.moveY=100*e.scrollTop/e.clientHeight,this.moveX=100*e.scrollLeft/e.clientWidth},update:function(){var e=void 0,t=void 0,n=this.wrap;n&&(e=100*n.clientHeight/n.scrollHeight,t=100*n.clientWidth/n.scrollWidth,this.sizeHeight=e<100?e+"%":"",this.sizeWidth=t<100?t+"%":"")}},mounted:function(){this.native||(this.$nextTick(this.update),!this.noresize&&Object(i["addResizeListener"])(this.$refs.resize,this.update))},beforeDestroy:function(){this.native||!this.noresize&&Object(i["removeResizeListener"])(this.$refs.resize,this.update)},install:function(e){e.component(d.name,d)}};t["default"]=d},16:function(e,t){e.exports=n("4010")},2:function(e,t){e.exports=n("5924")},3:function(e,t){e.exports=n("8122")},39:function(e,t){e.exports=n("e62d")}})},"159a":function(e,t,n){var i=n("32b3"),r=n("e2e4"),a=n("c098"),o=n("1a8c"),s=n("f4d6");function c(e,t,n,c){if(!o(e))return e;t=r(t,e);var l=-1,u=t.length,d=u-1,p=e;while(null!=p&&++l<u){var f=s(t[l]),h=n;if(l!=d){var m=p[f];h=c?c(m,f,p):void 0,void 0===h&&(h=o(m)?m:a(t[l+1])?[]:{})}i(p,f,h),p=p[f]}return e}e.exports=c},"15a3":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"omapi-settings-page"},[e._t("tabs"),e._v("\n\n\tSub-accounts settings\n")],2)},r=[],a=n("2877"),o={},s=Object(a["a"])(o,i,r,!1,null,null,null);t["default"]=s.exports},1654:function(e,t,n){"use strict";var i=n("71c1")(!0);n("30f1")(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})})},"167b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
46
+ //! moment.js locale configuration
47
+ var t=e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}});return t})},1691:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"16a8":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dashboard-card",class:e.classes,style:e.styles},[e._t("default")],2)},r=[],a={props:{styles:{type:Object,default:function(){return{}}},classes:Object}},o=a,s=(n("10fa"),n("2877")),c=Object(s["a"])(o,i,r,!1,null,null,null);t["default"]=c.exports},"178b":function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("a745"),r=n.n(i);function a(e){if(r()(e))return e}},"17ed":function(e,t,n){e.exports={default:n("d8d6"),__esModule:!0}},"17f2":function(e,t,n){},1818:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"omapi-card-setting-section",class:{disabled:e.showProUpsells},on:{click:function(t){return e.$emit("click",t)}}},[e._m(0),n("div",[e.showTogglePoweredBy?n("div",{staticClass:"omapi-input-wrap omapi-input-wrap-column"},[n("common-toggle-input",{attrs:{disabled:e.showProUpsells},model:{value:e.poweredBy,callback:function(t){e.poweredBy=t},expression:"poweredBy"}})],1):e._e(),e.poweredBy?n("div",[n("div",{staticClass:"omapi-input-wrap"},[n("common-tooltip",{attrs:{tooltip:"We will pay you a 20% commission on every sale you generate using your referral link. All you\n\t\t\t\thave to do is recommend OptinMonster using your affiliate link on your website, blog, Facebook,\n\t\t\t\tTwitter or other social networks."}},[n("label",{attrs:{for:"omapi-affiliate-link"}},[e._v("Affiliate Link:")])]),n("input",{staticClass:"omapi-input",attrs:{id:"omapi-affiliate-link",type:"url",name:"affiliateLink",placeholder:"https://optinmonster.com"},domProps:{value:e.affiliateLink},on:{change:function(t){return e.$emit("input",t)}}})],1),n("p",[e._v("\n\t\t\t\tWe will pay you a 20% commission on every sale you generate using your referral link. All you\n\t\t\t\thave to do is recommend OptinMonster using your affiliate link on your website, blog, Facebook,\n\t\t\t\tTwitter or other social networks.\n\t\t\t\t"),n("a",{staticClass:"omapi-link-arrow-after",attrs:{href:e.$urls.marketing("affiliates/?utm_source=WordPress&utm_medium=AffiliateLink&utm_campaign=Plugin"),rel:"noopener",target:"_blank"}},[e._v("Learn more")])]),n("div",{staticClass:"omapi-input-wrap"},[n("common-tooltip",{attrs:{tooltip:"Determines the position of the OptinMonster badge on your campaigns."}},[n("label",{attrs:{for:"omapi-affiliate-link-position"}},[e._v("Position:")])]),n("div",[n("select",{directives:[{name:"model",rawName:"v-model",value:e.position,expression:"position"}],attrs:{id:"omapi-affiliate-link-position"},on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.position=t.target.multiple?n:n[0]}}},[n("option",{attrs:{value:"bottom"}},[e._v("Bottom")]),n("option",{attrs:{value:"under"}},[e._v("Under")])])])],1)]):e._e()])])},r=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("header",[n("h3",[e._v("\n\t\t\tDisplay Powered By Link\n\t\t")])])}],a=(n("8e6e"),n("ac6a"),n("456d"),n("bd86")),o=n("2f62");function s(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(n,!0).forEach(function(t){Object(a["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var l={props:{affiliateLink:String,affiliateLinkPosition:{type:String,default:"bottom"},showTogglePoweredBy:{type:Boolean,default:!0}},data:function(){return{poweredBy:!0,position:this.affiliateLinkPosition}},watch:{affiliateLinkPosition:function(e){e!==this.position&&(this.position=e)},position:function(e){e!==this.affiliateLinkPosition&&this.$emit("select",e,{name:"affiliateLinkPosition"})},poweredBy:function(e){this.$emit("toggle",e)}},computed:c({},Object(o["d"])(["showProUpsells"]))},u=l,d=(n("7506c"),n("2877")),p=Object(d["a"])(u,i,r,!1,null,null,null);t["default"]=p.exports},1838:function(e,t,n){var i=n("c05f"),r=n("9b02"),a=n("8604"),o=n("f608"),s=n("08cc"),c=n("20ec"),l=n("f4d6"),u=1,d=2;function p(e,t){return o(e)&&s(t)?c(l(e),t):function(n){var o=r(n,e);return void 0===o&&o===t?a(n,e):i(t,o,u|d)}}e.exports=p},1881:function(e,t,n){!function(t,n){e.exports=n()}(window,function(){return n={},e.m=t=[function(e,t,n){var i=n(6);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),(0,n(4).default)("27d83796",i,!1,{})},function(e,t,n){var i=n(8);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),(0,n(4).default)("0e783494",i,!1,{})},function(e,t,n){var i=n(10);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),(0,n(4).default)("17757f60",i,!1,{})},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=function(e,t){var n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"==typeof btoa){var r=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(i),a=i.sources.map(function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"});return[n].concat(a).concat([r]).join("\n")}return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var i={},r=0;r<this.length;r++){var a=this[r][0];"number"==typeof a&&(i[a]=!0)}for(r=0;r<e.length;r++){var o=e[r];"number"==typeof o[0]&&i[o[0]]||(n&&!o[2]?o[2]=n:n&&(o[2]="("+o[2]+") and ("+n+")"),t.push(o))}},t}},function(e,t,n){"use strict";function i(e,t){for(var n=[],i={},r=0;r<t.length;r++){var a=t[r],o=a[0],s={id:e+":"+r,css:a[1],media:a[2],sourceMap:a[3]};i[o]?i[o].parts.push(s):n.push(i[o]={id:o,parts:[s]})}return n}n.r(t),n.d(t,"default",function(){return h});var r="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var a={},o=r&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,l=!1,u=function(){},d=null,p="data-vue-ssr-id",f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e,t,n,r){l=n,d=r||{};var o=i(e,t);return m(o),function(t){for(var n=[],r=0;r<o.length;r++){var s=o[r];(c=a[s.id]).refs--,n.push(c)}for(t?m(o=i(e,t)):o=[],r=0;r<n.length;r++){var c;if(0===(c=n[r]).refs){for(var l=0;l<c.parts.length;l++)c.parts[l]();delete a[c.id]}}}}function m(e){for(var t=0;t<e.length;t++){var n=e[t],i=a[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(g(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var o=[];for(r=0;r<n.parts.length;r++)o.push(g(n.parts[r]));a[n.id]={id:n.id,refs:1,parts:o}}}}function v(){var e=document.createElement("style");return e.type="text/css",o.appendChild(e),e}function g(e){var t,n,i=document.querySelector("style["+p+'~="'+e.id+'"]');if(i){if(l)return u;i.parentNode.removeChild(i)}if(f){var r=c++;i=s=s||v(),t=y.bind(null,i,r,!1),n=y.bind(null,i,r,!0)}else i=v(),t=function(e,t){var n=t.css,i=t.media,r=t.sourceMap;if(i&&e.setAttribute("media",i),d.ssrId&&e.setAttribute(p,t.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,i),n=function(){i.parentNode.removeChild(i)};return t(e),function(i){if(i){if(i.css===e.css&&i.media===e.media&&i.sourceMap===e.sourceMap)return;t(e=i)}else n()}}var b,_=(b=[],function(e,t){return b[e]=t,b.filter(Boolean).join("\n")});function y(e,t,n,i){var r=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=_(t,r);else{var a=document.createTextNode(r),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(a,o[t]):e.appendChild(a)}}},function(e,t,n){"use strict";var i=n(0);n.n(i).a},function(e,t,n){(e.exports=n(3)(!1)).push([e.i,"\n.vue-modal-resizer {\n display: block;\n overflow: hidden;\n position: absolute;\n width: 12px;\n height: 12px;\n right: 0;\n bottom: 0;\n z-index: 9999999;\n background: transparent;\n cursor: se-resize;\n}\n.vue-modal-resizer::after {\n display: block;\n position: absolute;\n content: '';\n background: transparent;\n left: 0;\n top: 0;\n width: 0;\n height: 0;\n border-bottom: 10px solid #ddd;\n border-left: 10px solid transparent;\n}\n.vue-modal-resizer.clicked::after {\n border-bottom: 10px solid #369be9;\n}\n",""])},function(e,t,n){"use strict";var i=n(1);n.n(i).a},function(e,t,n){(e.exports=n(3)(!1)).push([e.i,"\n.v--modal-block-scroll {\n overflow: hidden;\n width: 100vw;\n}\n.v--modal-overlay {\n position: fixed;\n box-sizing: border-box;\n left: 0;\n top: 0;\n width: 100%;\n height: 100vh;\n background: rgba(0, 0, 0, 0.2);\n z-index: 999;\n opacity: 1;\n}\n.v--modal-overlay.scrollable {\n height: 100%;\n min-height: 100vh;\n overflow-y: auto;\n -webkit-overflow-scrolling: touch;\n}\n.v--modal-overlay .v--modal-background-click {\n width: 100%;\n min-height: 100%;\n height: auto;\n}\n.v--modal-overlay .v--modal-box {\n position: relative;\n overflow: hidden;\n box-sizing: border-box;\n}\n.v--modal-overlay.scrollable .v--modal-box {\n margin-bottom: 2px;\n}\n.v--modal {\n background-color: white;\n text-align: left;\n border-radius: 3px;\n box-shadow: 0 20px 60px -2px rgba(27, 33, 58, 0.4);\n padding: 0;\n}\n.v--modal.v--modal-fullscreen {\n width: 100vw;\n height: 100vh;\n margin: 0;\n left: 0;\n top: 0;\n}\n.v--modal-top-right {\n display: block;\n position: absolute;\n right: 0;\n top: 0;\n}\n.overlay-fade-enter-active,\n.overlay-fade-leave-active {\n transition: all 0.2s;\n}\n.overlay-fade-enter,\n.overlay-fade-leave-active {\n opacity: 0;\n}\n.nice-modal-fade-enter-active,\n.nice-modal-fade-leave-active {\n transition: all 0.4s;\n}\n.nice-modal-fade-enter,\n.nice-modal-fade-leave-active {\n opacity: 0;\n transform: translateY(-20px);\n}\n",""])},function(e,t,n){"use strict";var i=n(2);n.n(i).a},function(e,t,n){(e.exports=n(3)(!1)).push([e.i,"\n.vue-dialog div {\n box-sizing: border-box;\n}\n.vue-dialog .dialog-flex {\n width: 100%;\n height: 100%;\n}\n.vue-dialog .dialog-content {\n flex: 1 0 auto;\n width: 100%;\n padding: 15px;\n font-size: 14px;\n}\n.vue-dialog .dialog-c-title {\n font-weight: 600;\n padding-bottom: 15px;\n}\n.vue-dialog .dialog-c-text {\n}\n.vue-dialog .vue-dialog-buttons {\n display: flex;\n flex: 0 1 auto;\n width: 100%;\n border-top: 1px solid #eee;\n}\n.vue-dialog .vue-dialog-buttons-none {\n width: 100%;\n padding-bottom: 15px;\n}\n.vue-dialog-button {\n font-size: 12px !important;\n background: transparent;\n padding: 0;\n margin: 0;\n border: 0;\n cursor: pointer;\n box-sizing: border-box;\n line-height: 40px;\n height: 40px;\n color: inherit;\n font: inherit;\n outline: none;\n}\n.vue-dialog-button:hover {\n background: rgba(0, 0, 0, 0.01);\n}\n.vue-dialog-button:active {\n background: rgba(0, 0, 0, 0.025);\n}\n.vue-dialog-button:not(:first-of-type) {\n border-left: 1px solid #eee;\n}\n",""])},function(e,t,n){"use strict";function i(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:e.overlayTransition}},[e.visibility.overlay?n("div",{ref:"overlay",class:e.overlayClass,attrs:{"aria-expanded":e.visibility.overlay.toString(),"data-modal":e.name}},[n("div",{staticClass:"v--modal-background-click",on:{mousedown:function(t){return t.target!==t.currentTarget?null:e.handleBackgroundClick(t)},touchstart:function(t){return t.target!==t.currentTarget?null:e.handleBackgroundClick(t)}}},[n("div",{staticClass:"v--modal-top-right"},[e._t("top-right")],2),e._v(" "),n("transition",{attrs:{name:e.transition},on:{"before-enter":e.beforeTransitionEnter,"after-enter":e.afterTransitionEnter,"after-leave":e.afterTransitionLeave}},[e.visibility.modal?n("div",{ref:"modal",class:e.modalClass,style:e.modalStyle},[e._t("default"),e._v(" "),e.resizable&&!e.isAutoHeight?n("resizer",{attrs:{"min-width":e.minWidth,"min-height":e.minHeight,"max-width":e.maxWidth,"max-height":e.maxHeight},on:{resize:e.handleModalResize}}):e._e()],2):e._e()])],1)]):e._e()])}function r(){var e=this.$createElement;return(this._self._c||e)("div",{class:this.className})}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);i=!0);}catch(e){r=!0,a=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){s(e,t,n[t])})}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t,n){return n<e?e:t<n?t:n}function l(){var e=window.innerWidth,t=document.documentElement.clientWidth;return e&&t?Math.min(e,t):t||e}n.r(t),n.d(t,"getModalsContainer",function(){return j}),r._withStripped=i._withStripped=!0;var u=function(e){var t=0<arguments.length&&void 0!==e?e:0;return function(){return(t++).toString()}}(),d={name:"VueJsModalResizer",props:{minHeight:{type:Number,default:0},minWidth:{type:Number,default:0},maxWidth:{type:Number,default:Number.MAX_SAFE_INTEGER},maxHeight:{type:Number,default:Number.MAX_SAFE_INTEGER}},data:function(){return{clicked:!1,size:{}}},mounted:function(){this.$el.addEventListener("mousedown",this.start,!1)},computed:{className:function(){return{"vue-modal-resizer":!0,clicked:this.clicked}}},methods:{start:function(e){this.clicked=!0,window.addEventListener("mousemove",this.mousemove,!1),window.addEventListener("mouseup",this.stop,!1),e.stopPropagation(),e.preventDefault()},stop:function(){this.clicked=!1,window.removeEventListener("mousemove",this.mousemove,!1),window.removeEventListener("mouseup",this.stop,!1),this.$emit("resize-stop",{element:this.$el.parentElement,size:this.size})},mousemove:function(e){this.resize(e)},resize:function(e){var t=this.$el.parentElement;if(t){var n=e.clientX-t.offsetLeft,i=e.clientY-t.offsetTop,r=Math.min(l(),this.maxWidth),a=Math.min(window.innerHeight,this.maxHeight);n=c(this.minWidth,r,n),i=c(this.minHeight,a,i),this.size={width:n,height:i},t.style.width=n+"px",t.style.height=i+"px",this.$emit("resize",{element:t,size:this.size})}}}};function p(e,t,n,i,r,a,o,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),o?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},l._ssrRegister=c):r&&(c=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}n(5);var f=p(d,r,[],!1,null,null,null);f.options.__file="src/Resizer.vue";var h=f.exports;function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(e){switch(m(e)){case"number":return{type:"px",value:e};case"string":return function(e){if("auto"===e)return{type:e,value:0};var t=_.find(function(t){return t.regexp.test(e)});return t?{type:t.name,value:parseFloat(e)}:{type:"",value:e}}(e);default:return{type:"",value:e}}}function g(e){if("string"!=typeof e)return 0<=e;var t=v(e);return("%"===t.type||"px"===t.type)&&0<t.value}var b="[-+]?[0-9]*.?[0-9]+",_=[{name:"px",regexp:new RegExp("^".concat(b,"px$"))},{name:"%",regexp:new RegExp("^".concat(b,"%$"))},{name:"px",regexp:new RegExp("^".concat(b,"$"))}];function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var M={name:"VueJsModal",props:{name:{required:!0,type:String},delay:{type:Number,default:0},resizable:{type:Boolean,default:!1},adaptive:{type:Boolean,default:!1},draggable:{type:[Boolean,String],default:!1},scrollable:{type:Boolean,default:!1},reset:{type:Boolean,default:!1},overlayTransition:{type:String,default:"overlay-fade"},transition:{type:String},clickToClose:{type:Boolean,default:!0},classes:{type:[String,Array],default:"v--modal"},styles:{type:[String,Array,Object]},minWidth:{type:Number,default:0,validator:function(e){return 0<=e}},minHeight:{type:Number,default:0,validator:function(e){return 0<=e}},maxWidth:{type:Number,default:Number.MAX_SAFE_INTEGER},maxHeight:{type:Number,default:Number.MAX_SAFE_INTEGER},width:{type:[Number,String],default:600,validator:g},height:{type:[Number,String],default:300,validator:function(e){return"auto"===e||g(e)}},pivotX:{type:Number,default:.5,validator:function(e){return 0<=e&&e<=1}},pivotY:{type:Number,default:.5,validator:function(e){return 0<=e&&e<=1}}},components:{Resizer:h},data:function(){return{visible:!1,visibility:{modal:!1,overlay:!1},shift:{left:0,top:0},modal:{width:0,widthType:"px",height:0,heightType:"px",renderedHeight:0},viewportHeight:0,viewportWidth:0,mutationObserver:null}},created:function(){this.setInitialSize()},beforeMount:function(){var e=this;if(N.event.$on("toggle",this.handleToggleEvent),window.addEventListener("resize",this.handleWindowResize),this.handleWindowResize(),this.scrollable&&!this.isAutoHeight&&console.warn('Modal "'.concat(this.name,'" has scrollable flag set to true ')+'but height is not "auto" ('.concat(this.height,")")),this.isAutoHeight){var t=function(){if("undefined"!=typeof window)for(var e=["","WebKit","Moz","O","Ms"],t=0;t<e.length;t++){var n=e[t]+"MutationObserver";if(n in window)return window[n]}return!1}();t?this.mutationObserver=new t(function(t){e.updateRenderedHeight()}):console.warn("MutationObserver was not found. Vue-js-modal automatic resizing relies heavily on MutationObserver. Please make sure to provide shim for it.")}this.clickToClose&&window.addEventListener("keyup",this.handleEscapeKeyUp)},beforeDestroy:function(){N.event.$off("toggle",this.handleToggleEvent),window.removeEventListener("resize",this.handleWindowResize),this.clickToClose&&window.removeEventListener("keyup",this.handleEscapeKeyUp),this.scrollable&&document.body.classList.remove("v--modal-block-scroll")},computed:{isAutoHeight:function(){return"auto"===this.modal.heightType},position:function(){var e=this.viewportHeight,t=this.viewportWidth,n=this.shift,i=this.pivotX,r=this.pivotY,a=this.trueModalWidth,o=this.trueModalHeight,s=t-a,l=Math.max(e-o,0),u=n.left+i*s,d=n.top+r*l;return{left:parseInt(c(0,s,u)),top:parseInt(c(0,l,d))}},trueModalWidth:function(){var e=this.viewportWidth,t=this.modal,n=this.adaptive,i=this.minWidth,r=this.maxWidth,a="%"===t.widthType?e/100*t.width:t.width,o=Math.max(i,Math.min(e,r));return n?c(i,o,a):a},trueModalHeight:function(){var e=this.viewportHeight,t=this.modal,n=this.isAutoHeight,i=this.adaptive,r=this.minHeight,a=this.maxHeight,o="%"===t.heightType?e/100*t.height:t.height;if(n)return this.modal.renderedHeight;var s=Math.max(r,Math.min(e,a));return i?c(r,s,o):o},overlayClass:function(){return{"v--modal-overlay":!0,scrollable:this.scrollable&&this.isAutoHeight}},modalClass:function(){return["v--modal-box",this.classes]},stylesProp:function(){return"string"==typeof this.styles?this.styles.split(";").map(function(e){return e.trim()}).filter(Boolean).map(function(e){return e.split(":")}).reduce(function(e,t){var n=a(t,2);return o({},e,s({},n[0],n[1]))},{}):this.styles},modalStyle:function(){return[this.stylesProp,{top:this.position.top+"px",left:this.position.left+"px",width:this.trueModalWidth+"px",height:this.isAutoHeight?"auto":this.trueModalHeight+"px"}]}},watch:{visible:function(e){var t=this;e?(this.visibility.overlay=!0,setTimeout(function(){t.visibility.modal=!0,t.$nextTick(function(){t.addDraggableListeners(),t.callAfterEvent(!0)})},this.delay)):(this.visibility.modal=!1,setTimeout(function(){t.visibility.overlay=!1,t.$nextTick(function(){t.removeDraggableListeners(),t.callAfterEvent(!1)})},this.delay))}},methods:{handleToggleEvent:function(e,t,n){if(this.name===e){var i=void 0===t?!this.visible:t;this.toggle(i,n)}},setInitialSize:function(){var e=this.modal,t=v(this.width),n=v(this.height);e.width=t.value,e.widthType=t.type,e.height=n.value,e.heightType=n.type},handleEscapeKeyUp:function(e){27===e.which&&this.visible&&this.$modal.hide(this.name)},handleWindowResize:function(){this.viewportWidth=l(),this.viewportHeight=window.innerHeight,this.ensureShiftInWindowBounds()},createModalEvent:function(e){var t=0<arguments.length&&void 0!==e?e:{};return function(e){var t=0<arguments.length&&void 0!==e?e:{};return o({id:u(),timestamp:Date.now(),canceled:!1},t)}(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){y(e,t,n[t])})}return e}({name:this.name,ref:this.$refs.modal},t))},handleModalResize:function(e){this.modal.widthType="px",this.modal.width=e.size.width,this.modal.heightType="px",this.modal.height=e.size.height;var t=this.modal.size;this.$emit("resize",this.createModalEvent({size:t}))},toggle:function(e,t){var n=this.reset,i=this.scrollable,r=this.visible;if(r!==e){var a=r?"before-close":"before-open";"before-open"==a?("undefined"!=typeof document&&document.activeElement&&"BODY"!==document.activeElement.tagName&&document.activeElement.blur&&document.activeElement.blur(),n&&(this.setInitialSize(),this.shift.left=0,this.shift.top=0),i&&document.body.classList.add("v--modal-block-scroll")):i&&document.body.classList.remove("v--modal-block-scroll");var o=!1,s=this.createModalEvent({stop:function(){o=!0},state:e,params:t});this.$emit(a,s),o||(this.visible=e)}},getDraggableElement:function(){var e="string"!=typeof this.draggable?".v--modal-box":this.draggable;return e?this.$refs.overlay.querySelector(e):null},handleBackgroundClick:function(){this.clickToClose&&this.toggle(!1)},callAfterEvent:function(e){e?this.connectObserver():this.disconnectObserver();var t=e?"opened":"closed",n=this.createModalEvent({state:e});this.$emit(t,n)},addDraggableListeners:function(){var e=this;if(this.draggable){var t=this.getDraggableElement();if(t){var n=0,i=0,r=0,a=0,o=function(e){return e.touches&&0<e.touches.length?e.touches[0]:e},s=function(t){var s=t.target;if(!s||"INPUT"!==s.nodeName&&"TEXTAREA"!==s.nodeName&&"SELECT"!==s.nodeName){var u=o(t),d=u.clientX,p=u.clientY;document.addEventListener("mousemove",c),document.addEventListener("touchmove",c),document.addEventListener("mouseup",l),document.addEventListener("touchend",l),n=d,i=p,r=e.shift.left,a=e.shift.top}},c=function(t){var s=o(t),c=s.clientX,l=s.clientY;e.shift.left=r+c-n,e.shift.top=a+l-i,t.preventDefault()},l=function t(n){e.ensureShiftInWindowBounds(),document.removeEventListener("mousemove",c),document.removeEventListener("touchmove",c),document.removeEventListener("mouseup",t),document.removeEventListener("touchend",t),n.preventDefault()};t.addEventListener("mousedown",s),t.addEventListener("touchstart",s)}}},removeDraggableListeners:function(){},updateRenderedHeight:function(){this.$refs.modal&&(this.modal.renderedHeight=this.$refs.modal.getBoundingClientRect().height)},connectObserver:function(){this.mutationObserver&&this.mutationObserver.observe(this.$refs.overlay,{childList:!0,attributes:!0,subtree:!0})},disconnectObserver:function(){this.mutationObserver&&this.mutationObserver.disconnect()},beforeTransitionEnter:function(){this.connectObserver()},afterTransitionEnter:function(){},afterTransitionLeave:function(){},ensureShiftInWindowBounds:function(){var e=this.viewportHeight,t=this.viewportWidth,n=this.shift,i=this.pivotX,r=this.pivotY,a=this.trueModalWidth,o=this.trueModalHeight,s=t-a,l=Math.max(e-o,0),u=n.left+i*s,d=n.top+r*l;this.shift.left-=u-c(0,s,u),this.shift.top-=d-c(0,l,d)}}},w=(n(7),p(M,i,[],!1,null,null,null));function O(){var e=this,t=e.$createElement,n=e._self._c||t;return n("modal",{attrs:{name:"dialog",height:"auto",classes:["v--modal","vue-dialog",this.params.class],width:e.width,"pivot-y":.3,adaptive:!0,clickToClose:e.clickToClose,transition:e.transition},on:{"before-open":e.beforeOpened,"before-close":e.beforeClosed,opened:function(t){e.$emit("opened",t)},closed:function(t){e.$emit("closed",t)}}},[n("div",{staticClass:"dialog-content"},[e.params.title?n("div",{staticClass:"dialog-c-title",domProps:{innerHTML:e._s(e.params.title||"")}}):e._e(),e._v(" "),e.params.component?n(e.params.component,e._b({tag:"component"},"component",e.params.props,!1)):n("div",{staticClass:"dialog-c-text",domProps:{innerHTML:e._s(e.params.text||"")}})],1),e._v(" "),e.buttons?n("div",{staticClass:"vue-dialog-buttons"},e._l(e.buttons,function(t,i){return n("button",{key:i,class:t.class||"vue-dialog-button",style:e.buttonStyle,attrs:{type:"button"},domProps:{innerHTML:e._s(t.title)},on:{click:function(t){t.stopPropagation(),e.click(i,t)}}},[e._v("\n "+e._s(t.title)+"\n ")])})):n("div",{staticClass:"vue-dialog-buttons-none"})])}w.options.__file="src/Modal.vue";var k=w.exports;O._withStripped=!0;var x={name:"VueJsDialog",props:{width:{type:[Number,String],default:400},clickToClose:{type:Boolean,default:!0},transition:{type:String,default:"fade"}},data:function(){return{params:{},defaultButtons:[{title:"CLOSE"}]}},computed:{buttons:function(){return this.params.buttons||this.defaultButtons},buttonStyle:function(){return{flex:"1 1 ".concat(100/this.buttons.length,"%")}}},methods:{beforeOpened:function(e){window.addEventListener("keyup",this.onKeyUp),this.params=e.params||{},this.$emit("before-opened",e)},beforeClosed:function(e){window.removeEventListener("keyup",this.onKeyUp),this.params={},this.$emit("before-closed",e)},click:function(e,t,n){var i=2<arguments.length&&void 0!==n?n:"click",r=this.buttons[e];r&&"function"==typeof r.handler?r.handler(e,t,{source:i}):this.$modal.hide("dialog")},onKeyUp:function(e){if(13===e.which&&0<this.buttons.length){var t=1===this.buttons.length?0:this.buttons.findIndex(function(e){return e.default});-1!==t&&this.click(t,e,"keypress")}}}},L=(n(9),p(x,O,[],!1,null,null,null));function C(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"modals-container"}},e._l(e.modals,function(t){return n("modal",e._g(e._b({key:t.id,on:{closed:function(n){e.remove(t.id)}}},"modal",t.modalAttrs,!1),t.modalListeners),[n(t.component,e._g(e._b({tag:"component",on:{close:function(n){e.$modal.hide(t.modalAttrs.name)}}},"component",t.componentAttrs,!1),e.$listeners))],1)}))}L.options.__file="src/Dialog.vue";var A=L.exports;function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}C._withStripped=!0;var T=p({data:function(){return{modals:[]}},created:function(){this.$root._dynamicContainer=this},methods:{add:function(e,t,n,i){var r=this,a=1<arguments.length&&void 0!==t?t:{},o=2<arguments.length&&void 0!==n?n:{},s=3<arguments.length&&void 0!==i?i:{},c=u(),l=o.name||"_dynamic_modal_"+c;this.modals.push({id:c,modalAttrs:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t)