Version Description
(28.04.2020) = * Fixed: The license was activated during synchronization with the server, but the license has not expired yet and was active. * Fixed: The notification Please, install premium plugin no longer appears if the plugin was installed manually. * Added: ompatibility with php 7.4 * Added: ompatibility with Wordpress 5.4 * Fixed: [Webcraftic Disable Admin Notices Individually] Conflicts with plugins 404page, Laras Google Analytics, YITH WooCommerce Gift Cards * Fixed: [Minify and combine] Minor bugs.
Download this release
Release Info
Developer | alexkovalevv |
Plugin | Clearfy – WordPress optimization plugin and disable ultimate tweaker |
Version | 1.6.5 |
Comparing to | |
See all releases |
Code changes from version 1.6.4 to 1.6.5
- admin/activation.php +2 -2
- admin/ajax/configurate.php +1 -1
- admin/ajax/import-settings.php +2 -2
- admin/assets/css/components.css +139 -139
- admin/assets/css/general.css +2 -2
- admin/assets/img/titan-icon-256x256.jpg +0 -0
- admin/assets/js/general.js +13 -13
- admin/assets/js/install-addons.js +15 -15
- admin/assets/js/license-manager.js +4 -4
- admin/boot.php +6 -6
- admin/includes/compatibility.php +4 -4
- admin/pages/class-page.php +8 -8
- admin/pages/class-pages-advanced.php +1 -1
- admin/pages/class-pages-clearfy-settings.php +2 -2
- admin/pages/class-pages-components-license.php +5 -5
- admin/pages/class-pages-components.php +212 -197
- admin/pages/class-pages-defence-titan.php +109 -0
- admin/pages/class-pages-defence.php +2 -2
- admin/pages/class-pages-hide-login-page.php +3 -3
- admin/pages/class-pages-image-optimization.php +3 -3
- admin/pages/class-pages-license.php +3 -3
- admin/pages/class-pages-performance-google.php +1 -1
- admin/pages/class-pages-quick-start.php +2 -2
- admin/pages/class-pages-seo-double-pages.php +1 -1
- admin/pages/class-pages-seo.php +1 -1
- admin/pages/class-pages-widgets.php +1 -1
- clearfy.php +11 -11
- components/assets-manager/admin/activation.php +2 -2
- components/assets-manager/admin/ajax/save-settings.php +1 -1
- components/assets-manager/admin/boot.php +2 -2
- components/assets-manager/admin/index.php +2 -2
- components/assets-manager/admin/pages/class-pages-more-features.php +1 -1
- components/assets-manager/admin/pages/class-pages-settings.php +4 -4
- components/assets-manager/admin/pages/index.php +2 -2
- components/assets-manager/assets/css/PNotifyBrightTheme.css +224 -224
- components/assets-manager/assets/css/assets-conditions.css +174 -174
- components/assets-manager/assets/css/assets-manager.css +1208 -1208
- components/assets-manager/assets/css/float-panel.css +251 -251
- components/assets-manager/assets/css/tables.css +84 -84
- components/assets-manager/assets/css/tooltip.css +54 -54
- components/assets-manager/assets/js/libs/wam-jquery-migrate.min.js +1 -1
- components/assets-manager/assets/js/libs/wam-jquery.js +5 -5
- components/assets-manager/assets/js/libs/wam-pnotify-confirm.js +789 -789
- components/assets-manager/assets/js/libs/wam-pnotify-history.js +304 -304
- components/assets-manager/assets/js/libs/wam-pnotify.js +2036 -2036
- components/assets-manager/gonzales.php +7 -7
- components/assets-manager/includes/3rd-party/index.php +2 -2
- components/assets-manager/includes/class-plugin.php +3 -3
- components/assets-manager/includes/classes/class-assets-manager-global.php +2 -2
- components/assets-manager/includes/classes/class-views.php +4 -4
- components/assets-manager/includes/index.php +2 -2
- components/assets-manager/index.php +2 -2
- components/assets-manager/migrations/010100.php +1 -1
- components/assets-manager/migrations/010108.php +1 -1
- components/assets-manager/migrations/020005.php +1 -1
- components/assets-manager/migrations/index.php +2 -2
- components/assets-manager/mu-plugins/assets-manager.php +1 -1
- components/assets-manager/mu-plugins/index.php +2 -2
- components/comments-plus/admin/boot.php +1 -1
- components/comments-plus/admin/pages/class-page-comments.php +3 -3
- components/comments-plus/admin/pages/class-page-delete-comments.php +6 -6
- components/comments-plus/admin/pages/class-page-more-features.php +1 -1
- components/comments-plus/comments-plus.php +7 -7
- components/comments-plus/includes/class-plugin.php +3 -3
- components/comments-plus/includes/classes/class-configurate-comments.php +3 -3
- components/cyrlitera/admin/activation.php +2 -2
- components/cyrlitera/admin/boot.php +1 -1
- components/cyrlitera/admin/pages/class-page-cyrlitera.php +4 -4
- components/cyrlitera/admin/pages/class-page-more-features.php +1 -1
- components/cyrlitera/cyrlitera.php +7 -7
- components/cyrlitera/includes/class-plugin.php +3 -3
- components/cyrlitera/includes/classes/class-configurate-cyrlitera.php +2 -2
- components/cyrlitera/migrations/010004.php +1 -1
- components/disable-admin-notices/admin/boot.php +1 -1
- components/disable-admin-notices/admin/options.php +2 -2
- components/disable-admin-notices/admin/pages/class-pages-more-features.php +1 -1
- components/disable-admin-notices/admin/pages/class-pages-notices.php +4 -4
- components/disable-admin-notices/disable-admin-notices.php +7 -7
- components/disable-admin-notices/includes/class-plugin.php +4 -4
- components/disable-admin-notices/includes/classes/class-configurate-notices.php +169 -161
- components/disable-admin-notices/migrations/010007.php +1 -1
- components/ga-cache/admin/activation.php +2 -2
- components/ga-cache/admin/boot.php +3 -3
- components/ga-cache/admin/options.php +1 -1
- components/ga-cache/admin/pages/class-pages-general-settings.php +3 -3
- components/ga-cache/admin/pages/class-pages-more-features.php +1 -1
- components/ga-cache/includes/class-plugin.php +3 -3
- components/ga-cache/includes/classes/class-configurate-ga.php +1 -1
- components/ga-cache/migrations/030002.php +1 -1
- components/ga-cache/simple_google_analytics.php +6 -6
- components/html-minify/admin/index.php +2 -2
- components/html-minify/admin/pages/class-pages-settings.php +3 -3
- components/html-minify/admin/pages/index.php +2 -2
- components/html-minify/html-minify.php +7 -7
- components/html-minify/includes/3rd-party/index.php +2 -2
- components/html-minify/includes/class-plugin.php +3 -3
- components/html-minify/includes/classes/ext/php/index.php +2 -2
- components/html-minify/includes/classes/index.php +2 -2
- components/html-minify/includes/index.php +2 -2
- components/html-minify/index.php +2 -2
- components/html-minify/migrations/index.php +2 -2
- components/minify-and-combine/admin/index.php +2 -2
- components/minify-and-combine/admin/pages/class-pages-settings.php +3 -3
- components/minify-and-combine/admin/pages/index.php +2 -2
- components/minify-and-combine/includes/3rd-party/index.php +2 -2
- components/minify-and-combine/includes/class-plugin.php +3 -3
- components/minify-and-combine/includes/classes/class-cache.php +1 -1
- components/minify-and-combine/includes/classes/class-helper.php +16 -16
- components/minify-and-combine/includes/classes/index.php +2 -2
- components/minify-and-combine/includes/index.php +2 -2
- components/minify-and-combine/index.php +2 -2
- components/minify-and-combine/migrations/index.php +2 -2
- components/minify-and-combine/minify-and-combine.php +7 -7
- components/updates-manager/admin/activation.php +2 -2
- components/updates-manager/admin/assets/js/ajax-components.js +4 -4
- components/updates-manager/admin/boot.php +1 -1
- components/updates-manager/admin/includes/class-abstract-filters.php +1 -1
- components/updates-manager/admin/pages/class-page-advanced.php +5 -5
- components/updates-manager/admin/pages/class-page-more-features.php +1 -1
- components/updates-manager/admin/pages/class-page-plugins.php +5 -5
- components/updates-manager/admin/pages/class-page-themes.php +4 -4
- components/updates-manager/admin/pages/class-page-updates.php +5 -5
- components/updates-manager/includes/class-plugin.php +3 -3
- components/updates-manager/includes/classes/class-configurate-updates.php +1 -1
- components/updates-manager/migrations/010008.php +1 -1
- components/updates-manager/webcraftic-updates-manager.php +7 -7
- includes/boot.php +1 -1
- includes/class.plugin.php +315 -298
- includes/classes/class.configurate-advanced.php +1 -1
- includes/classes/class.configurate-google-performance.php +1 -1
- includes/classes/class.configurate-performance.php +1 -1
- includes/classes/class.configurate-privacy.php +1 -1
- includes/classes/class.configurate-security.php +1 -1
- includes/classes/class.configurate-seo.php +1 -1
- libs/factory/adverts/boot.php +12 -12
- libs/factory/adverts/includes/class-base.php +6 -6
- libs/factory/adverts/includes/class-dashboard-widget.php +4 -4
- libs/factory/adverts/includes/class-rest-request.php +4 -4
- libs/factory/adverts/langs/{wbcr_factory_adverts_106-ru_RU.mo → wbcr_factory_adverts_107-ru_RU.mo} +0 -0
- libs/factory/adverts/langs/{wbcr_factory_adverts_106-ru_RU.po → wbcr_factory_adverts_107-ru_RU.po} +0 -0
- libs/factory/bootstrap/assets/css-min/bootstrap.accordion.min.css +1 -1
- libs/factory/bootstrap/assets/css-min/bootstrap.blue.min.css +1 -1
- libs/factory/bootstrap/assets/css-min/bootstrap.coffee.min.css +1 -1
- libs/factory/bootstrap/assets/css-min/bootstrap.core.min.css +2 -2
admin/activation.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Webcraftic <wordpress.webraftic@gmail.com>
|
6 |
* @copyright (c) 09.09.2017, Webcraftic
|
7 |
-
* @see
|
8 |
* @version 1.0
|
9 |
*/
|
10 |
|
@@ -13,7 +13,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
13 |
exit;
|
14 |
}
|
15 |
|
16 |
-
class WCL_Activation extends
|
17 |
|
18 |
/**
|
19 |
* Runs activation actions.
|
4 |
*
|
5 |
* @author Webcraftic <wordpress.webraftic@gmail.com>
|
6 |
* @copyright (c) 09.09.2017, Webcraftic
|
7 |
+
* @see Factory427_Activator
|
8 |
* @version 1.0
|
9 |
*/
|
10 |
|
13 |
exit;
|
14 |
}
|
15 |
|
16 |
+
class WCL_Activation extends Wbcr_Factory427_Activator {
|
17 |
|
18 |
/**
|
19 |
* Runs activation actions.
|
admin/ajax/configurate.php
CHANGED
@@ -57,7 +57,7 @@
|
|
57 |
}
|
58 |
|
59 |
if( !$flush_redirect ) {
|
60 |
-
|
61 |
}
|
62 |
|
63 |
do_action('wbcr_clearfy_configurated_quick_mode', $mode_name);
|
57 |
}
|
58 |
|
59 |
if( !$flush_redirect ) {
|
60 |
+
WbcrFactoryClearfy219_Helpers::flushPageCache();
|
61 |
}
|
62 |
|
63 |
do_action('wbcr_clearfy_configurated_quick_mode', $mode_name);
|
admin/ajax/import-settings.php
CHANGED
@@ -62,7 +62,7 @@
|
|
62 |
}
|
63 |
|
64 |
if( is_array($option_value) || is_object($option_value) ) {
|
65 |
-
$option_value =
|
66 |
$option_value = maybe_serialize($option_value);
|
67 |
} else {
|
68 |
$option_value = wp_kses_post($option_value);
|
@@ -140,7 +140,7 @@
|
|
140 |
//$send_data['update_notice'] = $package_plugin->getUpdateNotice();
|
141 |
|
142 |
// Сбрасываем кеш для кеширующих плагинов
|
143 |
-
|
144 |
|
145 |
do_action('wbcr_clearfy_imported_settings');
|
146 |
|
62 |
}
|
63 |
|
64 |
if( is_array($option_value) || is_object($option_value) ) {
|
65 |
+
$option_value = WbcrFactoryClearfy219_Helpers::recursiveSanitizeArray($option_value, 'wp_kses_post');
|
66 |
$option_value = maybe_serialize($option_value);
|
67 |
} else {
|
68 |
$option_value = wp_kses_post($option_value);
|
140 |
//$send_data['update_notice'] = $package_plugin->getUpdateNotice();
|
141 |
|
142 |
// Сбрасываем кеш для кеширующих плагинов
|
143 |
+
WbcrFactoryClearfy219_Helpers::flushPageCache();
|
144 |
|
145 |
do_action('wbcr_clearfy_imported_settings');
|
146 |
|
admin/assets/css/components.css
CHANGED
@@ -1,140 +1,140 @@
|
|
1 |
-
/**
|
2 |
-
* Page components
|
3 |
-
* @author Alex Kovalev <alex.kovalevv@gmail.com>
|
4 |
-
* @copyright Alex Kovalev 30.09.2017
|
5 |
-
*/
|
6 |
-
#WBCR .wbcr-clearfy-components {
|
7 |
-
padding: 0 20px 20px;
|
8 |
-
text-align: center;
|
9 |
-
}
|
10 |
-
#WBCR .wbcr-clearfy-components .plugin-card {
|
11 |
-
position: relative;
|
12 |
-
display: inline-block;
|
13 |
-
width: 32.7%;
|
14 |
-
height: 250px;
|
15 |
-
margin-left: 0;
|
16 |
-
margin-right: 0;
|
17 |
-
text-align: left;
|
18 |
-
float: none;
|
19 |
-
vertical-align: top;
|
20 |
-
}
|
21 |
-
#WBCR .wbcr-clearfy-components .plugin-card:first-child {
|
22 |
-
margin-left: 0;
|
23 |
-
}
|
24 |
-
#WBCR .wbcr-clearfy-components .plugin-card .plugin-card-bottom {
|
25 |
-
position: absolute;
|
26 |
-
bottom: 0;
|
27 |
-
right: 0;
|
28 |
-
left: 0;
|
29 |
-
}
|
30 |
-
#WBCR .wbcr-clearfy-components .plugin-card .plugin-card-top {
|
31 |
-
min-height: 163px;
|
32 |
-
}
|
33 |
-
#WBCR .wbcr-clearfy-components .plugin-card .desc,
|
34 |
-
#WBCR .wbcr-clearfy-components .plugin-card .name {
|
35 |
-
margin-right: 0 !important;
|
36 |
-
}
|
37 |
-
#WBCR .wbcr-clearfy-components .plugin-card .name h3 {
|
38 |
-
font-size: 17px;
|
39 |
-
margin-top: 0 !important;
|
40 |
-
}
|
41 |
-
#WBCR .wbcr-clearfy-components .plugin-card .install-now {
|
42 |
-
float: right;
|
43 |
-
}
|
44 |
-
#WBCR .wbcr-clearfy-components .plugin-card .delete-now {
|
45 |
-
float: right;
|
46 |
-
margin-left: 5px;
|
47 |
-
}
|
48 |
-
#WBCR .wbcr-clearfy-components .plugin-card .delete-now .dashicons,
|
49 |
-
#WBCR .wbcr-clearfy-components .plugin-card .delete-now .dashicons-before:before {
|
50 |
-
font-size: 16px !important;
|
51 |
-
line-height: 1.5 !important;
|
52 |
-
color: #62696f;
|
53 |
-
}
|
54 |
-
#WBCR .wbcr-clearfy-components .plugin-card a.open-plugin-details-modal {
|
55 |
-
color: #5c5d5f;
|
56 |
-
text-decoration: none;
|
57 |
-
font-weight: 600;
|
58 |
-
font-size: 15px;
|
59 |
-
}
|
60 |
-
#WBCR .wbcr-clearfy-components .plugin-card .plugin-card-premium-ribbon {
|
61 |
-
position: absolute;
|
62 |
-
bottom: 60px;
|
63 |
-
right: 0;
|
64 |
-
height: 30px;
|
65 |
-
width: 120px;
|
66 |
-
border-radius: 3px 0 0 3px;
|
67 |
-
background-color: #f7dea9;
|
68 |
-
color: #67532f;
|
69 |
-
text-align: center;
|
70 |
-
font-size: 12px;
|
71 |
-
font-weight: 600;
|
72 |
-
line-height: 2.4;
|
73 |
-
text-transform: uppercase;
|
74 |
-
z-index: 1;
|
75 |
-
}
|
76 |
-
#WBCR .wbcr-clearfy-components .plugin-card .plugin-card-free-ribbon {
|
77 |
-
position: absolute;
|
78 |
-
bottom: 60px;
|
79 |
-
right: 0;
|
80 |
-
height: 30px;
|
81 |
-
width: 120px;
|
82 |
-
border-radius: 3px 0 0 3px;
|
83 |
-
background-color: #cccccc;
|
84 |
-
color: #6b6b6b;
|
85 |
-
text-align: center;
|
86 |
-
font-size: 12px;
|
87 |
-
font-weight: 600;
|
88 |
-
line-height: 2.4;
|
89 |
-
text-transform: uppercase;
|
90 |
-
z-index: 1;
|
91 |
-
}
|
92 |
-
#WBCR .wbcr-clearfy-components .plugin-card .plugin-card-freemium-ribbon {
|
93 |
-
position: absolute;
|
94 |
-
bottom: 60px;
|
95 |
-
right: 0;
|
96 |
-
height: 30px;
|
97 |
-
width: 120px;
|
98 |
-
border-radius: 3px 0 0 3px;
|
99 |
-
background-color: #cae2b3;
|
100 |
-
color: #546742;
|
101 |
-
text-align: center;
|
102 |
-
font-size: 12px;
|
103 |
-
font-weight: 600;
|
104 |
-
line-height: 2.4;
|
105 |
-
text-transform: uppercase;
|
106 |
-
z-index: 1;
|
107 |
-
}
|
108 |
-
#WBCR .wbcr-clearfy-components .plugin-card.premium {
|
109 |
-
border-color: #e8d7b2;
|
110 |
-
background-color: #fff9eb;
|
111 |
-
}
|
112 |
-
#WBCR .wbcr-clearfy-components .plugin-card.plugin-status-deactive {
|
113 |
-
background-color: #f1f1f1;
|
114 |
-
}
|
115 |
-
#WBCR .wbcr-clearfy-components .plugin-card.plugin-status-deactive a.open-plugin-details-modal {
|
116 |
-
color: #ababab;
|
117 |
-
text-decoration: none;
|
118 |
-
font-weight: 600;
|
119 |
-
font-size: 15px;
|
120 |
-
}
|
121 |
-
#WBCR .wbcr-clearfy-components .plugin-card.plugin-status-deactive .plugin-icon {
|
122 |
-
opacity: 0.3;
|
123 |
-
}
|
124 |
-
#WBCR .wbcr-clearfy-components .plugin-card.plugin-status-deactive .desc {
|
125 |
-
color: #afafaf;
|
126 |
-
}
|
127 |
-
#WBCR .wbcr-clearfy-components .plugin-card.plugin-status-deactive.premium {
|
128 |
-
background-color: #f9f2f1;
|
129 |
-
}
|
130 |
-
@media screen and (max-width: 1750px) {
|
131 |
-
#WBCR .wbcr-clearfy-components .plugin-card {
|
132 |
-
width: 49%;
|
133 |
-
}
|
134 |
-
}
|
135 |
-
@media screen and (max-width: 1350px) {
|
136 |
-
#WBCR .wbcr-clearfy-components .plugin-card {
|
137 |
-
width: 100%;
|
138 |
-
}
|
139 |
-
}
|
140 |
/*# sourceMappingURL=components.css.map */
|
1 |
+
/**
|
2 |
+
* Page components
|
3 |
+
* @author Alex Kovalev <alex.kovalevv@gmail.com>
|
4 |
+
* @copyright Alex Kovalev 30.09.2017
|
5 |
+
*/
|
6 |
+
#WBCR .wbcr-clearfy-components {
|
7 |
+
padding: 0 20px 20px;
|
8 |
+
text-align: center;
|
9 |
+
}
|
10 |
+
#WBCR .wbcr-clearfy-components .plugin-card {
|
11 |
+
position: relative;
|
12 |
+
display: inline-block;
|
13 |
+
width: 32.7%;
|
14 |
+
height: 250px;
|
15 |
+
margin-left: 0;
|
16 |
+
margin-right: 0;
|
17 |
+
text-align: left;
|
18 |
+
float: none;
|
19 |
+
vertical-align: top;
|
20 |
+
}
|
21 |
+
#WBCR .wbcr-clearfy-components .plugin-card:first-child {
|
22 |
+
margin-left: 0;
|
23 |
+
}
|
24 |
+
#WBCR .wbcr-clearfy-components .plugin-card .plugin-card-bottom {
|
25 |
+
position: absolute;
|
26 |
+
bottom: 0;
|
27 |
+
right: 0;
|
28 |
+
left: 0;
|
29 |
+
}
|
30 |
+
#WBCR .wbcr-clearfy-components .plugin-card .plugin-card-top {
|
31 |
+
min-height: 163px;
|
32 |
+
}
|
33 |
+
#WBCR .wbcr-clearfy-components .plugin-card .desc,
|
34 |
+
#WBCR .wbcr-clearfy-components .plugin-card .name {
|
35 |
+
margin-right: 0 !important;
|
36 |
+
}
|
37 |
+
#WBCR .wbcr-clearfy-components .plugin-card .name h3 {
|
38 |
+
font-size: 17px;
|
39 |
+
margin-top: 0 !important;
|
40 |
+
}
|
41 |
+
#WBCR .wbcr-clearfy-components .plugin-card .install-now {
|
42 |
+
float: right;
|
43 |
+
}
|
44 |
+
#WBCR .wbcr-clearfy-components .plugin-card .delete-now {
|
45 |
+
float: right;
|
46 |
+
margin-left: 5px;
|
47 |
+
}
|
48 |
+
#WBCR .wbcr-clearfy-components .plugin-card .delete-now .dashicons,
|
49 |
+
#WBCR .wbcr-clearfy-components .plugin-card .delete-now .dashicons-before:before {
|
50 |
+
font-size: 16px !important;
|
51 |
+
line-height: 1.5 !important;
|
52 |
+
color: #62696f;
|
53 |
+
}
|
54 |
+
#WBCR .wbcr-clearfy-components .plugin-card a.open-plugin-details-modal {
|
55 |
+
color: #5c5d5f;
|
56 |
+
text-decoration: none;
|
57 |
+
font-weight: 600;
|
58 |
+
font-size: 15px;
|
59 |
+
}
|
60 |
+
#WBCR .wbcr-clearfy-components .plugin-card .plugin-card-premium-ribbon {
|
61 |
+
position: absolute;
|
62 |
+
bottom: 60px;
|
63 |
+
right: 0;
|
64 |
+
height: 30px;
|
65 |
+
width: 120px;
|
66 |
+
border-radius: 3px 0 0 3px;
|
67 |
+
background-color: #f7dea9;
|
68 |
+
color: #67532f;
|
69 |
+
text-align: center;
|
70 |
+
font-size: 12px;
|
71 |
+
font-weight: 600;
|
72 |
+
line-height: 2.4;
|
73 |
+
text-transform: uppercase;
|
74 |
+
z-index: 1;
|
75 |
+
}
|
76 |
+
#WBCR .wbcr-clearfy-components .plugin-card .plugin-card-free-ribbon {
|
77 |
+
position: absolute;
|
78 |
+
bottom: 60px;
|
79 |
+
right: 0;
|
80 |
+
height: 30px;
|
81 |
+
width: 120px;
|
82 |
+
border-radius: 3px 0 0 3px;
|
83 |
+
background-color: #cccccc;
|
84 |
+
color: #6b6b6b;
|
85 |
+
text-align: center;
|
86 |
+
font-size: 12px;
|
87 |
+
font-weight: 600;
|
88 |
+
line-height: 2.4;
|
89 |
+
text-transform: uppercase;
|
90 |
+
z-index: 1;
|
91 |
+
}
|
92 |
+
#WBCR .wbcr-clearfy-components .plugin-card .plugin-card-freemium-ribbon {
|
93 |
+
position: absolute;
|
94 |
+
bottom: 60px;
|
95 |
+
right: 0;
|
96 |
+
height: 30px;
|
97 |
+
width: 120px;
|
98 |
+
border-radius: 3px 0 0 3px;
|
99 |
+
background-color: #cae2b3;
|
100 |
+
color: #546742;
|
101 |
+
text-align: center;
|
102 |
+
font-size: 12px;
|
103 |
+
font-weight: 600;
|
104 |
+
line-height: 2.4;
|
105 |
+
text-transform: uppercase;
|
106 |
+
z-index: 1;
|
107 |
+
}
|
108 |
+
#WBCR .wbcr-clearfy-components .plugin-card.premium {
|
109 |
+
border-color: #e8d7b2;
|
110 |
+
background-color: #fff9eb;
|
111 |
+
}
|
112 |
+
#WBCR .wbcr-clearfy-components .plugin-card.plugin-status-deactive {
|
113 |
+
background-color: #f1f1f1;
|
114 |
+
}
|
115 |
+
#WBCR .wbcr-clearfy-components .plugin-card.plugin-status-deactive a.open-plugin-details-modal {
|
116 |
+
color: #ababab;
|
117 |
+
text-decoration: none;
|
118 |
+
font-weight: 600;
|
119 |
+
font-size: 15px;
|
120 |
+
}
|
121 |
+
#WBCR .wbcr-clearfy-components .plugin-card.plugin-status-deactive .plugin-icon {
|
122 |
+
opacity: 0.3;
|
123 |
+
}
|
124 |
+
#WBCR .wbcr-clearfy-components .plugin-card.plugin-status-deactive .desc {
|
125 |
+
color: #afafaf;
|
126 |
+
}
|
127 |
+
#WBCR .wbcr-clearfy-components .plugin-card.plugin-status-deactive.premium {
|
128 |
+
background-color: #f9f2f1;
|
129 |
+
}
|
130 |
+
@media screen and (max-width: 1750px) {
|
131 |
+
#WBCR .wbcr-clearfy-components .plugin-card {
|
132 |
+
width: 49%;
|
133 |
+
}
|
134 |
+
}
|
135 |
+
@media screen and (max-width: 1350px) {
|
136 |
+
#WBCR .wbcr-clearfy-components .plugin-card {
|
137 |
+
width: 100%;
|
138 |
+
}
|
139 |
+
}
|
140 |
/*# sourceMappingURL=components.css.map */
|
admin/assets/css/general.css
CHANGED
@@ -33,10 +33,10 @@
|
|
33 |
//float: right;
|
34 |
}*/
|
35 |
}
|
36 |
-
#WBCR .wbcr-factory-pages-
|
37 |
height: 80px !important;
|
38 |
}
|
39 |
-
#WBCR .wbcr-factory-pages-
|
40 |
display: inline-block !important;
|
41 |
}
|
42 |
#WBCR .row {
|
33 |
//float: right;
|
34 |
}*/
|
35 |
}
|
36 |
+
#WBCR .wbcr-factory-pages-427-impressive-page-template .wbcr-factory-page-header {
|
37 |
height: 80px !important;
|
38 |
}
|
39 |
+
#WBCR .wbcr-factory-pages-427-impressive-page-template .wbcr-factory-page-header .wbcr-factory-header-logo span {
|
40 |
display: inline-block !important;
|
41 |
}
|
42 |
#WBCR .row {
|
admin/assets/img/titan-icon-256x256.jpg
ADDED
Binary file
|
admin/assets/js/general.js
CHANGED
@@ -87,13 +87,13 @@
|
|
87 |
* Хук выполняет проивольную функцию, после того как получен ajax ответ о том, что в
|
88 |
* результате конфигурации произошла ошибка Реализация системы фильтров и хуков в файле
|
89 |
* libs/clearfy/admin/assests/js/global.js Пример регистрации хука
|
90 |
-
* $.
|
91 |
* function(noticeId) {});
|
92 |
* @param {string} modeName - имя режима конфигурации
|
93 |
* @param {object} data
|
94 |
*/
|
95 |
|
96 |
-
$.
|
97 |
modeName,
|
98 |
data
|
99 |
]);
|
@@ -110,12 +110,12 @@
|
|
110 |
* Хук выполняет проивольную функцию, после того как получен ajax ответ об успешном выполнении
|
111 |
* конфигурации Реализация системы фильтров и хуков в файле
|
112 |
* libs/clearfy/admin/assests/js/global.js Пример регистрации хука
|
113 |
-
* $.
|
114 |
* {});
|
115 |
* @param {string} modeName - имя режима конфигурации
|
116 |
* @param {object} data
|
117 |
*/
|
118 |
-
$.
|
119 |
|
120 |
if( modeName != 'reset' ) {
|
121 |
switcher.addClass('wbcr-clearfy-active');
|
@@ -183,12 +183,12 @@
|
|
183 |
$this = $(this);
|
184 |
|
185 |
if( !settings ) {
|
186 |
-
$.
|
187 |
return false;
|
188 |
}
|
189 |
|
190 |
if( void 0 == wbcr_clearfy_ajax || !wbcr_clearfy_ajax.import_options_nonce ) {
|
191 |
-
$.
|
192 |
return false;
|
193 |
}
|
194 |
|
@@ -203,7 +203,7 @@
|
|
203 |
|
204 |
if( response.data.update_notice ) {
|
205 |
if( !$('.wbcr-clr-update-package').length ) {
|
206 |
-
$.
|
207 |
}
|
208 |
} else {
|
209 |
if( $('.wbcr-clr-update-package').length ) {
|
@@ -240,15 +240,15 @@
|
|
240 |
console.log(data);
|
241 |
|
242 |
if( data ) {
|
243 |
-
noticeId = $.
|
244 |
} else {
|
245 |
if( void 0 != wbcr_clearfy_ajax ) {
|
246 |
-
noticeId = $.
|
247 |
}
|
248 |
}
|
249 |
|
250 |
setTimeout(function() {
|
251 |
-
$.
|
252 |
}, 5000);
|
253 |
return;
|
254 |
}
|
@@ -257,10 +257,10 @@
|
|
257 |
|
258 |
if( !request_data.flush_redirect ) {
|
259 |
if( void 0 != wbcr_clearfy_ajax ) {
|
260 |
-
noticeId = $.
|
261 |
|
262 |
setTimeout(function() {
|
263 |
-
$.
|
264 |
}, 5000);
|
265 |
}
|
266 |
return;
|
@@ -275,7 +275,7 @@
|
|
275 |
console.log(xhr.responseText);
|
276 |
console.log(thrownError);
|
277 |
|
278 |
-
var noticeId = $.
|
279 |
}
|
280 |
});
|
281 |
}
|
87 |
* Хук выполняет проивольную функцию, после того как получен ajax ответ о том, что в
|
88 |
* результате конфигурации произошла ошибка Реализация системы фильтров и хуков в файле
|
89 |
* libs/clearfy/admin/assests/js/global.js Пример регистрации хука
|
90 |
+
* $.wbcr_factory_clearfy_219.hooks.add('wbcr/factory_clearfy_219/updated',
|
91 |
* function(noticeId) {});
|
92 |
* @param {string} modeName - имя режима конфигурации
|
93 |
* @param {object} data
|
94 |
*/
|
95 |
|
96 |
+
$.wbcr_factory_clearfy_219.hooks.run('clearfy/quick_start/configurated_error', [
|
97 |
modeName,
|
98 |
data
|
99 |
]);
|
110 |
* Хук выполняет проивольную функцию, после того как получен ajax ответ об успешном выполнении
|
111 |
* конфигурации Реализация системы фильтров и хуков в файле
|
112 |
* libs/clearfy/admin/assests/js/global.js Пример регистрации хука
|
113 |
+
* $.wbcr_factory_clearfy_219.hooks.add('wbcr/factory_clearfy_219/updated', function(noticeId)
|
114 |
* {});
|
115 |
* @param {string} modeName - имя режима конфигурации
|
116 |
* @param {object} data
|
117 |
*/
|
118 |
+
$.wbcr_factory_clearfy_219.hooks.run('clearfy/quick_start/configurated', [modeName, data]);
|
119 |
|
120 |
if( modeName != 'reset' ) {
|
121 |
switcher.addClass('wbcr-clearfy-active');
|
183 |
$this = $(this);
|
184 |
|
185 |
if( !settings ) {
|
186 |
+
$.wbcr_factory_clearfy_219.app.showNotice('Import options is empty!', 'danger');
|
187 |
return false;
|
188 |
}
|
189 |
|
190 |
if( void 0 == wbcr_clearfy_ajax || !wbcr_clearfy_ajax.import_options_nonce ) {
|
191 |
+
$.wbcr_factory_clearfy_219.app.showNotice('Unknown Javascript error, most likely the wbcr_clearfy_ajax variable does not exist!', 'danger');
|
192 |
return false;
|
193 |
}
|
194 |
|
203 |
|
204 |
if( response.data.update_notice ) {
|
205 |
if( !$('.wbcr-clr-update-package').length ) {
|
206 |
+
$.wbcr_factory_clearfy_219.app.showNotice(response.data.update_notice);
|
207 |
}
|
208 |
} else {
|
209 |
if( $('.wbcr-clr-update-package').length ) {
|
240 |
console.log(data);
|
241 |
|
242 |
if( data ) {
|
243 |
+
noticeId = $.wbcr_factory_clearfy_219.app.showNotice(data.error_message, 'danger');
|
244 |
} else {
|
245 |
if( void 0 != wbcr_clearfy_ajax ) {
|
246 |
+
noticeId = $.wbcr_factory_clearfy_219.app.showNotice(wbcr_clearfy_ajax.i18n.unknown_error, 'danger');
|
247 |
}
|
248 |
}
|
249 |
|
250 |
setTimeout(function() {
|
251 |
+
$.wbcr_factory_clearfy_219.app.hideNotice(noticeId);
|
252 |
}, 5000);
|
253 |
return;
|
254 |
}
|
257 |
|
258 |
if( !request_data.flush_redirect ) {
|
259 |
if( void 0 != wbcr_clearfy_ajax ) {
|
260 |
+
noticeId = $.wbcr_factory_clearfy_219.app.showNotice(wbcr_clearfy_ajax.i18n.success_update_settings, 'success');
|
261 |
|
262 |
setTimeout(function() {
|
263 |
+
$.wbcr_factory_clearfy_219.app.hideNotice(noticeId);
|
264 |
}, 5000);
|
265 |
}
|
266 |
return;
|
275 |
console.log(xhr.responseText);
|
276 |
console.log(thrownError);
|
277 |
|
278 |
+
var noticeId = $.wbcr_factory_clearfy_219.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
|
279 |
}
|
280 |
});
|
281 |
}
|
admin/assets/js/install-addons.js
CHANGED
@@ -53,16 +53,16 @@
|
|
53 |
|
54 |
$this.addClass('disabled').text(button_i18n.loading);
|
55 |
|
56 |
-
$.
|
57 |
|
58 |
self.sendRequest(data, function(response) {
|
59 |
if( !response || !response.success ) {
|
60 |
|
61 |
if( response.data && response.data.error_message ) {
|
62 |
-
$.
|
63 |
}
|
64 |
|
65 |
-
$.
|
66 |
$this,
|
67 |
data,
|
68 |
response.data.error_message,
|
@@ -78,7 +78,7 @@
|
|
78 |
if( storage == 'freemius' ) {
|
79 |
if( response.data.update_notice ) {
|
80 |
if( !$('.wbcr-clr-update-package').length ) {
|
81 |
-
$.
|
82 |
}
|
83 |
} else {
|
84 |
if( $('.wbcr-clr-update-package').length ) {
|
@@ -97,7 +97,7 @@
|
|
97 |
$this.removeClass('button-default').addClass('button-primary');
|
98 |
}
|
99 |
|
100 |
-
$.
|
101 |
$this,
|
102 |
data,
|
103 |
response
|
@@ -147,7 +147,7 @@
|
|
147 |
$this.closest('.plugin-card').find('.delete-now').remove();
|
148 |
}
|
149 |
|
150 |
-
$.
|
151 |
$this,
|
152 |
data,
|
153 |
response
|
@@ -194,7 +194,7 @@
|
|
194 |
$this.closest('.wbcr-hide-after-action').remove();
|
195 |
}
|
196 |
|
197 |
-
$.
|
198 |
$this,
|
199 |
data,
|
200 |
response
|
@@ -217,7 +217,7 @@
|
|
217 |
$this.remove();
|
218 |
}
|
219 |
|
220 |
-
$.
|
221 |
}
|
222 |
} else {
|
223 |
if( plugin_action == 'install' ) {
|
@@ -228,10 +228,10 @@
|
|
228 |
$this.text(button_i18n[plugin_action]);
|
229 |
|
230 |
if( response.data.need_rewrite_rules && !$('.wbcr-clr-need-rewrite-rules-message').length ) {
|
231 |
-
$.
|
232 |
}
|
233 |
|
234 |
-
$.
|
235 |
});
|
236 |
|
237 |
return false;
|
@@ -254,7 +254,7 @@
|
|
254 |
self.sendRequest(data, function(response) {
|
255 |
if( !response || !response.success ) {
|
256 |
if( response.data && response.data.error_message ) {
|
257 |
-
$.
|
258 |
}
|
259 |
return;
|
260 |
}
|
@@ -317,17 +317,17 @@
|
|
317 |
self.setComponentDeactivate(componentButton);
|
318 |
|
319 |
if( response.data && response.data.error_message ) {
|
320 |
-
$.
|
321 |
}
|
322 |
|
323 |
-
$.
|
324 |
return;
|
325 |
}
|
326 |
|
327 |
componentButton.removeClass('button-primary').text(button_i18n['deactivate']);
|
328 |
self.setComponentActivate(componentButton);
|
329 |
|
330 |
-
$.
|
331 |
});
|
332 |
},
|
333 |
|
@@ -346,7 +346,7 @@
|
|
346 |
console.log(xhr.responseText);
|
347 |
console.log(thrownError);
|
348 |
|
349 |
-
$.
|
350 |
}
|
351 |
});
|
352 |
}
|
53 |
|
54 |
$this.addClass('disabled').text(button_i18n.loading);
|
55 |
|
56 |
+
$.wbcr_factory_clearfy_219.hooks.run('clearfy/components/pre_update', [$this, data]);
|
57 |
|
58 |
self.sendRequest(data, function(response) {
|
59 |
if( !response || !response.success ) {
|
60 |
|
61 |
if( response.data && response.data.error_message ) {
|
62 |
+
$.wbcr_factory_clearfy_219.app.showNotice(response.data.error_message, 'danger');
|
63 |
}
|
64 |
|
65 |
+
$.wbcr_factory_clearfy_219.hooks.run('clearfy/components/update_error', [
|
66 |
$this,
|
67 |
data,
|
68 |
response.data.error_message,
|
78 |
if( storage == 'freemius' ) {
|
79 |
if( response.data.update_notice ) {
|
80 |
if( !$('.wbcr-clr-update-package').length ) {
|
81 |
+
$.wbcr_factory_clearfy_219.app.showNotice(response.data.update_notice);
|
82 |
}
|
83 |
} else {
|
84 |
if( $('.wbcr-clr-update-package').length ) {
|
97 |
$this.removeClass('button-default').addClass('button-primary');
|
98 |
}
|
99 |
|
100 |
+
$.wbcr_factory_clearfy_219.hooks.run('clearfy/components/installed', [
|
101 |
$this,
|
102 |
data,
|
103 |
response
|
147 |
$this.closest('.plugin-card').find('.delete-now').remove();
|
148 |
}
|
149 |
|
150 |
+
$.wbcr_factory_clearfy_219.hooks.run('clearfy/components/pre_activate', [
|
151 |
$this,
|
152 |
data,
|
153 |
response
|
194 |
$this.closest('.wbcr-hide-after-action').remove();
|
195 |
}
|
196 |
|
197 |
+
$.wbcr_factory_clearfy_219.hooks.run('clearfy/components/deactivated', [
|
198 |
$this,
|
199 |
data,
|
200 |
response
|
217 |
$this.remove();
|
218 |
}
|
219 |
|
220 |
+
$.wbcr_factory_clearfy_219.hooks.run('clearfy/components/deleted', [$this, data, response]);
|
221 |
}
|
222 |
} else {
|
223 |
if( plugin_action == 'install' ) {
|
228 |
$this.text(button_i18n[plugin_action]);
|
229 |
|
230 |
if( response.data.need_rewrite_rules && !$('.wbcr-clr-need-rewrite-rules-message').length ) {
|
231 |
+
$.wbcr_factory_clearfy_219.app.showNotice(response.data.need_rewrite_rules, 'warning');
|
232 |
}
|
233 |
|
234 |
+
$.wbcr_factory_clearfy_219.hooks.run('clearfy/components/updated', [$this, data, response]);
|
235 |
});
|
236 |
|
237 |
return false;
|
254 |
self.sendRequest(data, function(response) {
|
255 |
if( !response || !response.success ) {
|
256 |
if( response.data && response.data.error_message ) {
|
257 |
+
$.wbcr_factory_clearfy_219.app.showNotice(response.data.error_message, 'danger');
|
258 |
}
|
259 |
return;
|
260 |
}
|
317 |
self.setComponentDeactivate(componentButton);
|
318 |
|
319 |
if( response.data && response.data.error_message ) {
|
320 |
+
$.wbcr_factory_clearfy_219.app.showNotice(response.data.error_message, 'danger');
|
321 |
}
|
322 |
|
323 |
+
$.wbcr_factory_clearfy_219.hooks.run('clearfy/components/activated_error', [sendData.plugin]);
|
324 |
return;
|
325 |
}
|
326 |
|
327 |
componentButton.removeClass('button-primary').text(button_i18n['deactivate']);
|
328 |
self.setComponentActivate(componentButton);
|
329 |
|
330 |
+
$.wbcr_factory_clearfy_219.hooks.run('clearfy/components/activated', [sendData.plugin]);
|
331 |
});
|
332 |
},
|
333 |
|
346 |
console.log(xhr.responseText);
|
347 |
console.log(thrownError);
|
348 |
|
349 |
+
$.wbcr_factory_clearfy_219.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
|
350 |
}
|
351 |
});
|
352 |
}
|
admin/assets/js/license-manager.js
CHANGED
@@ -20,7 +20,7 @@ jQuery(function($) {
|
|
20 |
// Глобальные уведомления не трогаем
|
21 |
|
22 |
for( i = 0; i < allNotices.length; i++ ) {
|
23 |
-
$.
|
24 |
}
|
25 |
|
26 |
$('.wcl-control-btn').hide();
|
@@ -55,7 +55,7 @@ jQuery(function($) {
|
|
55 |
|
56 |
if( response.data ) {
|
57 |
console.log(response.data.error_message);
|
58 |
-
noticeId = $.
|
59 |
allNotices.push(noticeId);
|
60 |
} else {
|
61 |
console.log(response);
|
@@ -65,7 +65,7 @@ jQuery(function($) {
|
|
65 |
}
|
66 |
|
67 |
if( response.data && response.data.message ) {
|
68 |
-
noticeId = $.
|
69 |
allNotices.push(noticeId);
|
70 |
|
71 |
// todo: доработать генерацию формы, вместо перезагрузки страницы
|
@@ -82,7 +82,7 @@ jQuery(function($) {
|
|
82 |
console.log(xhr.responseText);
|
83 |
console.log(thrownError);
|
84 |
|
85 |
-
var noticeId = $.
|
86 |
|
87 |
allNotices.push(noticeId);
|
88 |
}
|
20 |
// Глобальные уведомления не трогаем
|
21 |
|
22 |
for( i = 0; i < allNotices.length; i++ ) {
|
23 |
+
$.wbcr_factory_clearfy_219.app.hideNotice(allNotices[i]);
|
24 |
}
|
25 |
|
26 |
$('.wcl-control-btn').hide();
|
55 |
|
56 |
if( response.data ) {
|
57 |
console.log(response.data.error_message);
|
58 |
+
noticeId = $.wbcr_factory_clearfy_219.app.showNotice('Error: [' + response.data.error_message + ']', 'danger');
|
59 |
allNotices.push(noticeId);
|
60 |
} else {
|
61 |
console.log(response);
|
65 |
}
|
66 |
|
67 |
if( response.data && response.data.message ) {
|
68 |
+
noticeId = $.wbcr_factory_clearfy_219.app.showNotice(response.data.message, 'success');
|
69 |
allNotices.push(noticeId);
|
70 |
|
71 |
// todo: доработать генерацию формы, вместо перезагрузки страницы
|
82 |
console.log(xhr.responseText);
|
83 |
console.log(thrownError);
|
84 |
|
85 |
+
var noticeId = $.wbcr_factory_clearfy_219.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
|
86 |
|
87 |
allNotices.push(noticeId);
|
88 |
}
|
admin/boot.php
CHANGED
@@ -33,8 +33,8 @@ add_action( 'wbcr/factory/pages/impressive/header', function ( $plugin_name ) {
|
|
33 |
|
34 |
/**
|
35 |
* @param $form
|
36 |
-
* @param
|
37 |
-
* @param
|
38 |
*/
|
39 |
function wbcr_clearfy_multisite_before_save( $form, $plugin, $obj ) {
|
40 |
if ( $plugin->getPluginName() !== WCL_Plugin::app()->getPluginName() ) {
|
@@ -74,7 +74,7 @@ add_action( 'admin_enqueue_scripts', function () {
|
|
74 |
wp_enqueue_style( 'wbcr-clearfy-install-components', WCL_PLUGIN_URL . '/admin/assets/css/install-addons.css', [], WCL_Plugin::app()->getPluginVersion() );
|
75 |
wp_enqueue_script( 'wbcr-clearfy-install-components', WCL_PLUGIN_URL . '/admin/assets/js/install-addons.js', [
|
76 |
'jquery',
|
77 |
-
'wbcr-factory-clearfy-
|
78 |
], WCL_Plugin::app()->getPluginVersion() );
|
79 |
} );
|
80 |
|
@@ -83,7 +83,7 @@ add_action( 'admin_enqueue_scripts', function () {
|
|
83 |
* Уведомление будет показано на всех страницах Clearfy и его компонентах.
|
84 |
*
|
85 |
* @param WCL_Plugin $plugin
|
86 |
-
* @param
|
87 |
*/
|
88 |
function wbcr_clearfy_print_notice_rewrite_rules( $plugin, $obj ) {
|
89 |
if ( WCL_Plugin::app()->getPopulateOption( 'need_rewrite_rules' ) ) {
|
@@ -106,7 +106,7 @@ add_action( 'flush_rewrite_rules_hard', 'wbcr_clearfy_flush_rewrite_rules' );
|
|
106 |
* Обновить постоынные ссылки, после выполнения быстрых настроек
|
107 |
*
|
108 |
* @param WHM_Plugin $plugin
|
109 |
-
* @param
|
110 |
*/
|
111 |
function wbcr_clearfy_after_form_save( $plugin, $obj ) {
|
112 |
if ( ! WCL_Plugin::app()->currentUserCan() ) {
|
@@ -128,7 +128,7 @@ add_action( 'wbcr/factory/pages/impressive/after_form_save', 'wbcr_clearfy_after
|
|
128 |
*
|
129 |
* @param array $widgets
|
130 |
* @param string $position
|
131 |
-
* @param
|
132 |
*/
|
133 |
|
134 |
add_filter( 'wbcr/factory/pages/impressive/widgets', function ( $widgets, $position, $plugin ) {
|
33 |
|
34 |
/**
|
35 |
* @param $form
|
36 |
+
* @param Wbcr_Factory427_Plugin $plugin
|
37 |
+
* @param Wbcr_FactoryPages427_ImpressiveThemplate $obj
|
38 |
*/
|
39 |
function wbcr_clearfy_multisite_before_save( $form, $plugin, $obj ) {
|
40 |
if ( $plugin->getPluginName() !== WCL_Plugin::app()->getPluginName() ) {
|
74 |
wp_enqueue_style( 'wbcr-clearfy-install-components', WCL_PLUGIN_URL . '/admin/assets/css/install-addons.css', [], WCL_Plugin::app()->getPluginVersion() );
|
75 |
wp_enqueue_script( 'wbcr-clearfy-install-components', WCL_PLUGIN_URL . '/admin/assets/js/install-addons.js', [
|
76 |
'jquery',
|
77 |
+
'wbcr-factory-clearfy-219-global'
|
78 |
], WCL_Plugin::app()->getPluginVersion() );
|
79 |
} );
|
80 |
|
83 |
* Уведомление будет показано на всех страницах Clearfy и его компонентах.
|
84 |
*
|
85 |
* @param WCL_Plugin $plugin
|
86 |
+
* @param Wbcr_FactoryPages427_ImpressiveThemplate $obj
|
87 |
*/
|
88 |
function wbcr_clearfy_print_notice_rewrite_rules( $plugin, $obj ) {
|
89 |
if ( WCL_Plugin::app()->getPopulateOption( 'need_rewrite_rules' ) ) {
|
106 |
* Обновить постоынные ссылки, после выполнения быстрых настроек
|
107 |
*
|
108 |
* @param WHM_Plugin $plugin
|
109 |
+
* @param Wbcr_FactoryPages427_ImpressiveThemplate $obj
|
110 |
*/
|
111 |
function wbcr_clearfy_after_form_save( $plugin, $obj ) {
|
112 |
if ( ! WCL_Plugin::app()->currentUserCan() ) {
|
128 |
*
|
129 |
* @param array $widgets
|
130 |
* @param string $position
|
131 |
+
* @param Wbcr_Factory427_Plugin $plugin
|
132 |
*/
|
133 |
|
134 |
add_filter( 'wbcr/factory/pages/impressive/widgets', function ( $widgets, $position, $plugin ) {
|
admin/includes/compatibility.php
CHANGED
@@ -22,8 +22,8 @@ add_action( 'plugins_loaded', function () {
|
|
22 |
* Это необходимо, чтоб напомнить пользователю обновить конфигурацию компонентов плагина,
|
23 |
* иначе вновь активированные компоненты не будет зайдествованы в работе плагина.
|
24 |
*
|
25 |
-
* @param
|
26 |
-
* @param
|
27 |
*
|
28 |
* @return bool
|
29 |
*/
|
@@ -52,8 +52,8 @@ add_action( 'plugins_loaded', function () {
|
|
52 |
* Это необходимо, чтоб напомнить пользователю обновить конфигурацию компонентов плагина,
|
53 |
* иначе вновь активированные компоненты не будет зайдествованы в работе плагина.
|
54 |
*
|
55 |
-
* @param
|
56 |
-
* @param
|
57 |
*
|
58 |
* @return bool
|
59 |
*/
|
22 |
* Это необходимо, чтоб напомнить пользователю обновить конфигурацию компонентов плагина,
|
23 |
* иначе вновь активированные компоненты не будет зайдествованы в работе плагина.
|
24 |
*
|
25 |
+
* @param Wbcr_Factory427_Plugin $plugin
|
26 |
+
* @param Wbcr_FactoryPages427_ImpressiveThemplate $obj
|
27 |
*
|
28 |
* @return bool
|
29 |
*/
|
52 |
* Это необходимо, чтоб напомнить пользователю обновить конфигурацию компонентов плагина,
|
53 |
* иначе вновь активированные компоненты не будет зайдествованы в работе плагина.
|
54 |
*
|
55 |
+
* @param Wbcr_Factory427_Plugin $plugin
|
56 |
+
* @param Wbcr_FactoryPages427_ImpressiveThemplate $obj
|
57 |
*
|
58 |
* @return bool
|
59 |
*/
|
admin/pages/class-page.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @version 1.0
|
8 |
*/
|
9 |
|
10 |
-
class WCL_Page extends
|
11 |
|
12 |
/**
|
13 |
* Действие выполняется для всех страниц Clearfy и его компонентах.
|
@@ -19,15 +19,15 @@ class WCL_Page extends Wbcr_FactoryClearfy217_PageBase {
|
|
19 |
$license_page_url = $this->getBaseUrl( 'clearfy_license' );
|
20 |
$upgrade_url = $this->plugin->get_support()->get_pricing_url( true, 'multisite_save_settings' );
|
21 |
|
22 |
-
$html = '<div class="wbcr-factory-clearfy-
|
23 |
$html .= '<div class="wbcr-factory-inner-contanier">';
|
24 |
-
$html .= '<h3>' . __( 'Upgrade to Clearfy Business', '
|
25 |
-
$html .= '<p>' . __( 'Oops... Sorry for the inconvenience caused!', '
|
26 |
-
$html .= '<p>' . __( 'Complete multisite support is available in Clearfy Business and Clearfy Business Revolution packages only!', '
|
27 |
-
$html .= '<p>' . __( 'You can activate the plugin on each website and use it with zero limitations. But you can’t save the plugin’s settings under the Super Administrator role!', '
|
28 |
$html .= '<p style="margin-top:20px">';
|
29 |
-
$html .= '<a href="' . $license_page_url . '" class="wbcr-factory-activate-premium" rel="noopener">' . __( 'Activate license ', '
|
30 |
-
$html .= '<a href="' . $upgrade_url . '" class="wbcr-factory-purchase-premium" target="_blank" rel="noopener">' . __( 'Upgrade to Clearfy Business', '
|
31 |
$html .= '</p>';
|
32 |
$html .= '</div>';
|
33 |
$html .= '</div>';
|
7 |
* @version 1.0
|
8 |
*/
|
9 |
|
10 |
+
class WCL_Page extends Wbcr_FactoryClearfy219_PageBase {
|
11 |
|
12 |
/**
|
13 |
* Действие выполняется для всех страниц Clearfy и его компонентах.
|
19 |
$license_page_url = $this->getBaseUrl( 'clearfy_license' );
|
20 |
$upgrade_url = $this->plugin->get_support()->get_pricing_url( true, 'multisite_save_settings' );
|
21 |
|
22 |
+
$html = '<div class="wbcr-factory-clearfy-219-multisite-suggetion">';
|
23 |
$html .= '<div class="wbcr-factory-inner-contanier">';
|
24 |
+
$html .= '<h3>' . __( 'Upgrade to Clearfy Business', 'wbcr_factory_clearfy_219' ) . '</h3>';
|
25 |
+
$html .= '<p>' . __( 'Oops... Sorry for the inconvenience caused!', 'wbcr_factory_clearfy_219' ) . '</p>';
|
26 |
+
$html .= '<p>' . __( 'Complete multisite support is available in Clearfy Business and Clearfy Business Revolution packages only!', 'wbcr_factory_clearfy_219' ) . '</p>';
|
27 |
+
$html .= '<p>' . __( 'You can activate the plugin on each website and use it with zero limitations. But you can’t save the plugin’s settings under the Super Administrator role!', 'wbcr_factory_clearfy_219' ) . '</p>';
|
28 |
$html .= '<p style="margin-top:20px">';
|
29 |
+
$html .= '<a href="' . $license_page_url . '" class="wbcr-factory-activate-premium" rel="noopener">' . __( 'Activate license ', 'wbcr_factory_clearfy_219' ) . '</a> ';
|
30 |
+
$html .= '<a href="' . $upgrade_url . '" class="wbcr-factory-purchase-premium" target="_blank" rel="noopener">' . __( 'Upgrade to Clearfy Business', 'wbcr_factory_clearfy_219' ) . '</a>';
|
31 |
$html .= '</p>';
|
32 |
$html .= '</div>';
|
33 |
$html .= '</div>';
|
admin/pages/class-pages-advanced.php
CHANGED
@@ -17,7 +17,7 @@
|
|
17 |
* The id of the page in the admin menu.
|
18 |
*
|
19 |
* Mainly used to navigate between pages.
|
20 |
-
* @see
|
21 |
*
|
22 |
* @since 1.0.0
|
23 |
* @var string
|
17 |
* The id of the page in the admin menu.
|
18 |
*
|
19 |
* Mainly used to navigate between pages.
|
20 |
+
* @see FactoryPages427_AdminPage
|
21 |
*
|
22 |
* @since 1.0.0
|
23 |
* @var string
|
admin/pages/class-pages-clearfy-settings.php
CHANGED
@@ -19,7 +19,7 @@ class WCL_ClearfySettingsPage extends WCL_Page {
|
|
19 |
* Mainly used to navigate between pages.
|
20 |
*
|
21 |
* @since 1.0.0
|
22 |
-
* @see
|
23 |
*
|
24 |
* @var string
|
25 |
*/
|
@@ -58,7 +58,7 @@ class WCL_ClearfySettingsPage extends WCL_Page {
|
|
58 |
*
|
59 |
* @since 1.0.0
|
60 |
* @return void
|
61 |
-
* @see
|
62 |
*
|
63 |
*/
|
64 |
public function assets( $scripts, $styles ) {
|
19 |
* Mainly used to navigate between pages.
|
20 |
*
|
21 |
* @since 1.0.0
|
22 |
+
* @see FactoryPages427_AdminPage
|
23 |
*
|
24 |
* @var string
|
25 |
*/
|
58 |
*
|
59 |
* @since 1.0.0
|
60 |
* @return void
|
61 |
+
* @see FactoryPages427_AdminPage
|
62 |
*
|
63 |
*/
|
64 |
public function assets( $scripts, $styles ) {
|
admin/pages/class-pages-components-license.php
CHANGED
@@ -55,12 +55,12 @@
|
|
55 |
/**
|
56 |
* WCL_LicensePage constructor.
|
57 |
*
|
58 |
-
* @param \
|
59 |
*
|
60 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
61 |
*
|
62 |
*/
|
63 |
-
public function __construct(
|
64 |
$this->menu_title = __( 'License', 'robin-image-optimizer' );
|
65 |
$this->page_menu_short_description = __( 'Product activation', 'robin-image-optimizer' );
|
66 |
$this->plan_name = __( 'Clearfy Business', 'robin-image-optimizer' );
|
@@ -73,7 +73,7 @@
|
|
73 |
*
|
74 |
* @return void
|
75 |
* @since 1.0.0
|
76 |
-
* @see
|
77 |
*
|
78 |
*/
|
79 |
public function assets( $scripts, $styles ) {
|
@@ -82,8 +82,8 @@
|
|
82 |
$this->styles->add( WCL_PLUGIN_URL . '/admin/assets/css/components.css' );
|
83 |
|
84 |
/**
|
85 |
-
* @param
|
86 |
-
* @param
|
87 |
*
|
88 |
* @since 1.4.0
|
89 |
*
|
55 |
/**
|
56 |
* WCL_LicensePage constructor.
|
57 |
*
|
58 |
+
* @param \Wbcr_Factory427_Plugin $plugin
|
59 |
*
|
60 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
61 |
*
|
62 |
*/
|
63 |
+
public function __construct( Wbcr_Factory427_Plugin $plugin ) {
|
64 |
$this->menu_title = __( 'License', 'robin-image-optimizer' );
|
65 |
$this->page_menu_short_description = __( 'Product activation', 'robin-image-optimizer' );
|
66 |
$this->plan_name = __( 'Clearfy Business', 'robin-image-optimizer' );
|
73 |
*
|
74 |
* @return void
|
75 |
* @since 1.0.0
|
76 |
+
* @see FactoryPages427_AdminPage
|
77 |
*
|
78 |
*/
|
79 |
public function assets( $scripts, $styles ) {
|
82 |
$this->styles->add( WCL_PLUGIN_URL . '/admin/assets/css/components.css' );
|
83 |
|
84 |
/**
|
85 |
+
* @param Wbcr_Factory427_StyleList $styles
|
86 |
+
* @param Wbcr_Factory427_ScriptList $scripts
|
87 |
*
|
88 |
* @since 1.4.0
|
89 |
*
|
admin/pages/class-pages-components.php
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
*/
|
10 |
|
11 |
// Exit if accessed directly
|
12 |
-
if
|
13 |
exit;
|
14 |
}
|
15 |
|
@@ -21,7 +21,7 @@ class WCL_ComponentsPage extends WCL_Page {
|
|
21 |
* Mainly used to navigate between pages.
|
22 |
*
|
23 |
* @since 1.0.0
|
24 |
-
* @see
|
25 |
*
|
26 |
* @var string
|
27 |
*/
|
@@ -40,11 +40,12 @@ class WCL_ComponentsPage extends WCL_Page {
|
|
40 |
/**
|
41 |
* @param WCL_Plugin $plugin
|
42 |
*/
|
43 |
-
public function __construct(
|
44 |
-
|
45 |
-
$this->
|
|
|
46 |
|
47 |
-
parent::__construct(
|
48 |
|
49 |
$this->plugin = $plugin;
|
50 |
}
|
@@ -52,57 +53,59 @@ class WCL_ComponentsPage extends WCL_Page {
|
|
52 |
/**
|
53 |
* Requests assets (js and css) for the page.
|
54 |
*
|
55 |
-
* @since 1.0.0
|
56 |
* @return void
|
57 |
-
* @
|
|
|
58 |
*
|
59 |
*/
|
60 |
-
public function assets(
|
61 |
-
|
|
|
62 |
|
63 |
-
$this->styles->add(
|
64 |
|
65 |
/**
|
|
|
|
|
66 |
* @since 1.4.0
|
67 |
*
|
68 |
-
* @param Wbcr_Factory425_StyleList $styles
|
69 |
-
* @param Wbcr_Factory425_ScriptList $scripts
|
70 |
*/
|
71 |
-
do_action(
|
72 |
}
|
73 |
|
74 |
/**
|
75 |
* We register notifications for some actions
|
76 |
*
|
77 |
* @param $notices
|
78 |
-
* @param
|
79 |
*
|
80 |
* @return array
|
81 |
-
* @see libs\factory\pages\themplates\
|
82 |
*/
|
83 |
-
public function getActionNotices(
|
|
|
84 |
$notices[] = [
|
85 |
'conditions' => [
|
86 |
'wbcr-force-update-components-success' => 1
|
87 |
],
|
88 |
-
'type'
|
89 |
-
'message'
|
90 |
];
|
91 |
|
92 |
$notices[] = [
|
93 |
'conditions' => [
|
94 |
'wbcr-force-update-components-error' => 'inactive_licence'
|
95 |
],
|
96 |
-
'type'
|
97 |
-
'message'
|
98 |
];
|
99 |
|
100 |
$notices[] = [
|
101 |
'conditions' => [
|
102 |
'wbcr-force-update-components-error' => 'unknown_error'
|
103 |
],
|
104 |
-
'type'
|
105 |
-
'message'
|
106 |
];
|
107 |
|
108 |
return $notices;
|
@@ -115,19 +118,20 @@ class WCL_ComponentsPage extends WCL_Page {
|
|
115 |
*
|
116 |
* @return array
|
117 |
*/
|
118 |
-
public function order(
|
119 |
-
|
|
|
120 |
|
121 |
$ordered_components = [
|
122 |
-
'premium_active'
|
123 |
'premium_deactive' => [],
|
124 |
-
'other'
|
125 |
];
|
126 |
|
127 |
-
foreach
|
128 |
|
129 |
-
if
|
130 |
-
if
|
131 |
// free component is deactivated
|
132 |
$order_key = 'premium_deactive';
|
133 |
} else {
|
@@ -138,10 +142,10 @@ class WCL_ComponentsPage extends WCL_Page {
|
|
138 |
$order_key = 'other';
|
139 |
}
|
140 |
|
141 |
-
$ordered_components[
|
142 |
}
|
143 |
|
144 |
-
return array_merge(
|
145 |
}
|
146 |
|
147 |
/**
|
@@ -149,239 +153,250 @@ class WCL_ComponentsPage extends WCL_Page {
|
|
149 |
*
|
150 |
* @throws Exception
|
151 |
*/
|
152 |
-
public function showPageContent()
|
|
|
153 |
$default_image = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzNjAiIGhlaWdodD0iMzYwIiB2aWV3Ym94PSIwIDAgMzYwIDM2MCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0icmdiKDcwLCA4MSwgOTMpIiAvPjxwb2x5bGluZSBwb2ludHM9IjE5LjgsMCw0MC4yLDAsNjAsMTkuOCw2MCw0MC4yLDQwLjIsNjAsMTkuOCw2MCwwLDQwLjIsMCwxOS44LDE5LjgsMCIgZmlsbD0iIzIyMiIgZmlsbC1vcGFjaXR5PSIwLjE1IiBzdHJva2U9IiMwMDAiIHN0cm9rZS1vcGFjaXR5PSIwLjAyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLCAwKSIgLz48cG9seWxpbmUgcG9pbnRzPSIxOS44LDAsNDAuMiwwLDYwLDE5LjgsNjAsNDAuMiw0MC4yLDYwLDE5LjgsNjAsMCw0MC4yLDAsMTkuOCwxOS44LDAiIGZpbGw9IiNkZGQiIGZpbGwtb3BhY2l0eT0iMC4wNTQ2NjY2NjY2NjY2NjciIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLW9wYWNpdHk9IjAuMDIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDYwLCAwKSIgLz48cG9seWxpbmUgcG9pbnRzPSIxOS44LDAsNDAuMiwwLDYwLDE5LjgsNjAsNDAuMiw0MC4yLDYwLDE5LjgsNjAsMCw0MC4yLDAsMTkuOCwxOS44LDAiIGZpbGw9IiMyMjIiIGZpbGwtb3BhY2l0eT0iMC4wNDYiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLW9wYWNpdHk9IjAuMDIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEyMCwgMCkiIC8+PHBvbHlsaW5lIHBvaW50cz0iMTkuOCwwLDQwLjIsMCw2MCwxOS44LDYwLDQwLjIsNDAuMiw2MCwxOS44LDYwLDAsNDAuMiwwLDE5LjgsMTkuOCwwIiBmaWxsPSIjZGRkIiBmaWxsLW9wYWNpdHk9IjAuMDIiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLW9wYWNpdHk9IjAuMDIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4MCwgMCkiIC8+PHBvbHlsaW5lIHBvaW50cz0iMTkuOCwwLDQwLjIsMCw2MCwxOS44LDYwLDQwLjIsNDAuMiw2MCwxOS44LDYwLDAsNDAuMiwwLDE5LjgsMTkuOCwwIiBmaWxsPSIjZGRkIiBmaWxsLW9wYWNpdHk9IjAuMDU0NjY2NjY2NjY2NjY3IiBzdHJva2U9IiMwMDAiIHN0cm9rZS1vcGFjaXR5PSIwLjAyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyNDAsIDApIiAvPjxwb2x5bGluZSBwb2ludHM9IjE5LjgsMCw0MC4yLDAsNjAsMTkuOCw2MCw0MC4yLDQwLjIsNjAsMTkuOCw2MCwwLDQwLjIsMCwxOS44LDE5LjgsMCIgZmlsbD0iIzIyMiIgZmlsbC1vcGFjaXR5PSIwLjAyODY2NjY2NjY2NjY2NyIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iMC4wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMzAwLCAwKSIgLz48cG9seWxpbmUgcG9pbnRzPSIxOS44LDAsNDAuMiwwLDYwLDE5LjgsNjAsNDAuMiw0MC4yLDYwLDE5LjgsNjAsMCw0MC4yLDAsMTkuOCwxOS44LDAiIGZpbGw9IiNkZGQiIGZpbGwtb3BhY2l0eT0iMC4xMDY2NjY2NjY2NjY2NyIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iMC4wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCwgNjApIiAvPjxwb2x5bGluZSBwb2ludHM9IjE5LjgsMCw0MC4yLDAsNjAsMTkuOCw2MCw0MC4yLDQwLjIsNjAsMTkuOCw2MCwwLDQwLjIsMCwxOS44LDE5LjgsMCIgZmlsbD0iIzIyMiIgZmlsbC1vcGFjaXR5PSIwLjA5OCIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iMC4wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNjAsIDYwKSIgLz48cG9seWxpbmUgcG9pbnRzPSIxOS44LDAsNDAuMiwwLDYwLDE5LjgsNjAsNDAuMiw0MC4yLDYwLDE5LjgsNjAsMCw0MC4yLDAsMTkuOCwxOS44LDAiIGZpbGw9IiMyMjIiIGZpbGwtb3BhY2l0eT0iMC4xMTUzMzMzMzMzMzMzMyIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iMC4wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTIwLCA2MCkiIC8+PHBvbHlsaW5lIHBvaW50cz0iMTkuOCwwLDQwLjIsMCw2MCwxOS44LDYwLDQwLjIsNDAuMiw2MCwxOS44LDYwLDAsNDAuMiwwLDE5LjgsMTkuOCwwIiBmaWxsPSIjMjIyIiBmaWxsLW9wYWNpdHk9IjAuMDYzMzMzMzMzMzMzMzMzIiBzdHJva2U9IiMwMDAiIHN0cm9rZS1vcGFjaXR5PSIwLjAyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxODAsIDYwKSIgLz48cG9seWxpbmUgcG9pbnRzPSIxOS44LDAsNDAuMiwwLDYwLDE5LjgsNjAsNDAuMiw0MC4yLDYwLDE5LjgsNjAsMCw0MC4yLDAsMTkuOCwxOS44LDAiIGZpbGw9IiNkZGQiIGZpbGwtb3BhY2l0eT0iMC4wMzczMzMzMzMzMzMzMzMiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLW9wYWNpdHk9IjAuMDIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI0MCwgNjApIiAvPjxwb2x5bGluZSBwb2ludHM9IjE5LjgsMCw0MC4yLDAsNjAsMTkuOCw2MCw0MC4yLDQwLjIsNjAsMTkuOCw2MCwwLDQwLjIsMCwxOS44LDE5LjgsMCIgZmlsbD0iI2RkZCIgZmlsbC1vcGFjaXR5PSIwLjE0MTMzMzMzMzMzMzMzIiBzdHJva2U9IiMwMDAiIHN0cm9rZS1vcGFjaXR5PSIwLjAyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzMDAsIDYwKSIgLz48cG9seWxpbmUgcG9pbnRzPSIxOS44LDAsNDAuMiwwLDYwLDE5LjgsNjAsNDAuMiw0MC4yLDYwLDE5LjgsNjAsMCw0MC4yLDAsMTkuOCwxOS44LDAiIGZpbGw9IiNkZGQiIGZpbGwtb3BhY2l0eT0iMC4wMzczMzMzMzMzMzMzMzMiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLW9wYWNpdHk9IjAuMDIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAsIDEyMCkiIC8+PHBvbHlsaW5lIHBvaW50cz0iMTkuOCwwLDQwLjIsMCw2MCwxOS44LDYwLDQwLjIsNDAuMiw2MCwxOS44LDYwLDAsNDAuMiwwLDE5LjgsMTkuOCwwIiBmaWxsPSIjZGRkIiBmaWxsLW9wYWNpdHk9IjAuMDg5MzMzMzMzMzMzMzMzIiBzdHJva2U9IiMwMDAiIHN0cm9rZS1vcGFjaXR5PSIwLjAyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg2MCwgMTIwKSIgLz48cG9seWxpbmUgcG9pbnRzPSIxOS44LDAsNDAuMiwwLDYwLDE5LjgsNjAsNDAuMiw0MC4yLDYwLDE5LjgsNjAsMCw0MC4yLDAsMTkuOCwxOS44LDAiIGZpbGw9IiNkZGQiIGZpbGwtb3BhY2l0eT0iMC4wODkzMzMzMzMzMzMzMzMiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLW9wYWNpdHk9IjAuMDIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEyMCwgMTIwKSIgLz48cG9seWxpbmUgcG9pbnRzPSIxOS44LDAsNDAuMiwwLDYwLDE5LjgsNjAsNDAuMiw0MC4yLDYwLDE5LjgsNjAsMCw0MC4yLDAsMTkuOCwxOS44LDAiIGZpbGw9IiMyMjIiIGZpbGwtb3BhY2l0eT0iMC4wODA2NjY2NjY2NjY2NjciIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLW9wYWNpdHk9IjAuMDIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4MCwgMTIwKSIgLz48cG9seWxpbmUgcG9pbnRzPSIxOS44LDAsNDAuMiwwLDYwLDE5LjgsNjAsNDAuMiw0MC4yLDYwLDE5LjgsNjAsMCw0MC4yLDAsMTkuOCwxOS44LDAiIGZpbGw9IiMyMjIiIGZpbGwtb3BhY2l0eT0iMC4xMzI2NjY2NjY2NjY2NyIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iMC4wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjQwLCAxMjApIiAvPjxwb2x5bGluZSBwb2ludHM9IjE5LjgsMCw0MC4yLDAsNjAsMTkuOCw2MCw0MC4yLDQwLjIsNjAsMTkuOCw2MCwwLDQwLjIsMCwxOS44LDE5LjgsMCIgZmlsbD0iIzIyMiIgZmlsbC1vcGFjaXR5PSIwLjE1IiBzdHJva2U9IiMwMDAiIHN0cm9rZS1vcGFjaXR5PSIwLjAyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzMDAsIDEyMCkiIC8+PHBvbHlsaW5lIHBvaW50cz0iMTkuOCwwLDQwLjIsMCw2MCwxOS44LDYwLDQwLjIsNDAuMiw2MCwxOS44LDYwLDAsNDAuMiwwLDE5LjgsMTkuOCwwIiBmaWxsPSIjMjIyIiBmaWxsLW9wYWNpdHk9IjAuMDk4IiBzdHJva2U9IiMwMDAiIHN0cm9rZS1vcGFjaXR5PSIwLjAyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLCAxODApIiAvPjxwb2x5bGluZSBwb2ludHM9IjE5LjgsMCw0MC4yLDAsNjAsMTkuOCw2MCw0MC4yLDQwLjIsNjAsMTkuOCw2MCwwLDQwLjIsMCwxOS44LDE5LjgsMCIgZmlsbD0iIzIyMiIgZmlsbC1vcGFjaXR5PSIwLjA2MzMzMzMzMzMzMzMzMyIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iMC4wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNjAsIDE4MCkiIC8+PHBvbHlsaW5lIHBvaW50cz0iMTkuOCwwLDQwLjIsMCw2MCwxOS44LDYwLDQwLjIsNDAuMiw2MCwxOS44LDYwLDAsNDAuMiwwLDE5LjgsMTkuOCwwIiBmaWxsPSIjZGRkIiBmaWxsLW9wYWNpdHk9IjAuMDIiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLW9wYWNpdHk9IjAuMDIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEyMCwgMTgwKSIgLz48cG9seWxpbmUgcG9pbnRzPSIxOS44LDAsNDAuMiwwLDYwLDE5LjgsNjAsNDAuMiw0MC4yLDYwLDE5LjgsNjAsMCw0MC4yLDAsMTkuOCwxOS44LDAiIGZpbGw9IiNkZGQiIGZpbGwtb3BhY2l0eT0iMC4wMzczMzMzMzMzMzMzMzMiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLW9wYWNpdHk9IjAuMDIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4MCwgMTgwKSIgLz48cG9seWxpbmUgcG9pbnRzPSIxOS44LDAsNDAuMiwwLDYwLDE5LjgsNjAsNDAuMiw0MC4yLDYwLDE5LjgsNjAsMCw0MC4yLDAsMTkuOCwxOS44LDAiIGZpbGw9IiMyMjIiIGZpbGwtb3BhY2l0eT0iMC4xMTUzMzMzMzMzMzMzMyIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iMC4wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjQwLCAxODApIiAvPjxwb2x5bGluZSBwb2ludHM9IjE5LjgsMCw0MC4yLDAsNjAsMTkuOCw2MCw0MC4yLDQwLjIsNjAsMTkuOCw2MCwwLDQwLjIsMCwxOS44LDE5LjgsMCIgZmlsbD0iIzIyMiIgZmlsbC1vcGFjaXR5PSIwLjA2MzMzMzMzMzMzMzMzMyIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iMC4wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMzAwLCAxODApIiAvPjxwb2x5bGluZSBwb2ludHM9IjE5LjgsMCw0MC4yLDAsNjAsMTkuOCw2MCw0MC4yLDQwLjIsNjAsMTkuOCw2MCwwLDQwLjIsMCwxOS44LDE5LjgsMCIgZmlsbD0iI2RkZCIgZmlsbC1vcGFjaXR5PSIwLjA1NDY2NjY2NjY2NjY2NyIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iMC4wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCwgMjQwKSIgLz48cG9seWxpbmUgcG9pbnRzPSIxOS44LDAsNDAuMiwwLDYwLDE5LjgsNjAsNDAuMiw0MC4yLDYwLDE5LjgsNjAsMCw0MC4yLDAsMTkuOCwxOS44LDAiIGZpbGw9IiNkZGQiIGZpbGwtb3BhY2l0eT0iMC4xMDY2NjY2NjY2NjY2NyIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iMC4wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNjAsIDI0MCkiIC8+PHBvbHlsaW5lIHBvaW50cz0iMTkuOCwwLDQwLjIsMCw2MCwxOS44LDYwLDQwLjIsNDAuMiw2MCwxOS44LDYwLDAsNDAuMiwwLDE5LjgsMTkuOCwwIiBmaWxsPSIjZGRkIiBmaWxsLW9wYWNpdHk9IjAuMDcyIiBzdHJva2U9IiMwMDAiIHN0cm9rZS1vcGFjaXR5PSIwLjAyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMjAsIDI0MCkiIC8+PHBvbHlsaW5lIHBvaW50cz0iMTkuOCwwLDQwLjIsMCw2MCwxOS44LDYwLDQwLjIsNDAuMiw2MCwxOS44LDYwLDAsNDAuMiwwLDE5LjgsMTkuOCwwIiBmaWxsPSIjMjIyIiBmaWxsLW9wYWNpdHk9IjAuMTE1MzMzMzMzMzMzMzMiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLW9wYWNpdHk9IjAuMDIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4MCwgMjQwKSIgLz48cG9seWxpbmUgcG9pbnRzPSIxOS44LDAsNDAuMiwwLDYwLDE5LjgsNjAsNDAuMiw0MC4yLDYwLDE5LjgsNjAsMCw0MC4yLDAsMTkuOCwxOS44LDAiIGZpbGw9IiMyMjIiIGZpbGwtb3BhY2l0eT0iMC4xMzI2NjY2NjY2NjY2NyIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iMC4wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjQwLCAyNDApIiAvPjxwb2x5bGluZSBwb2ludHM9IjE5LjgsMCw0MC4yLDAsNjAsMTkuOCw2MCw0MC4yLDQwLjIsNjAsMTkuOCw2MCwwLDQwLjIsMCwxOS44LDE5LjgsMCIgZmlsbD0iIzIyMiIgZmlsbC1vcGFjaXR5PSIwLjA4MDY2NjY2NjY2NjY2NyIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iMC4wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMzAwLCAyNDApIiAvPjxwb2x5bGluZSBwb2ludHM9IjE5LjgsMCw0MC4yLDAsNjAsMTkuOCw2MCw0MC4yLDQwLjIsNjAsMTkuOCw2MCwwLDQwLjIsMCwxOS44LDE5LjgsMCIgZmlsbD0iIzIyMiIgZmlsbC1vcGFjaXR5PSIwLjEzMjY2NjY2NjY2NjY3IiBzdHJva2U9IiMwMDAiIHN0cm9rZS1vcGFjaXR5PSIwLjAyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLCAzMDApIiAvPjxwb2x5bGluZSBwb2ludHM9IjE5LjgsMCw0MC4yLDAsNjAsMTkuOCw2MCw0MC4yLDQwLjIsNjAsMTkuOCw2MCwwLDQwLjIsMCwxOS44LDE5LjgsMCIgZmlsbD0iI2RkZCIgZmlsbC1vcGFjaXR5PSIwLjAzNzMzMzMzMzMzMzMzMyIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iMC4wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNjAsIDMwMCkiIC8+PHBvbHlsaW5lIHBvaW50cz0iMTkuOCwwLDQwLjIsMCw2MCwxOS44LDYwLDQwLjIsNDAuMiw2MCwxOS44LDYwLDAsNDAuMiwwLDE5LjgsMTkuOCwwIiBmaWxsPSIjZGRkIiBmaWxsLW9wYWNpdHk9IjAuMTI0IiBzdHJva2U9IiMwMDAiIHN0cm9rZS1vcGFjaXR5PSIwLjAyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMjAsIDMwMCkiIC8+PHBvbHlsaW5lIHBvaW50cz0iMTkuOCwwLDQwLjIsMCw2MCwxOS44LDYwLDQwLjIsNDAuMiw2MCwxOS44LDYwLDAsNDAuMiwwLDE5LjgsMTkuOCwwIiBmaWxsPSIjMjIyIiBmaWxsLW9wYWNpdHk9IjAuMDI4NjY2NjY2NjY2NjY3IiBzdHJva2U9IiMwMDAiIHN0cm9rZS1vcGFjaXR5PSIwLjAyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxODAsIDMwMCkiIC8+PHBvbHlsaW5lIHBvaW50cz0iMTkuOCwwLDQwLjIsMCw2MCwxOS44LDYwLDQwLjIsNDAuMiw2MCwxOS44LDYwLDAsNDAuMiwwLDE5LjgsMTkuOCwwIiBmaWxsPSIjZGRkIiBmaWxsLW9wYWNpdHk9IjAuMDcyIiBzdHJva2U9IiMwMDAiIHN0cm9rZS1vcGFjaXR5PSIwLjAyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyNDAsIDMwMCkiIC8+PHBvbHlsaW5lIHBvaW50cz0iMTkuOCwwLDQwLjIsMCw2MCwxOS44LDYwLDQwLjIsNDAuMiw2MCwxOS44LDYwLDAsNDAuMiwwLDE5LjgsMTkuOCwwIiBmaWxsPSIjMjIyIiBmaWxsLW9wYWNpdHk9IjAuMDI4NjY2NjY2NjY2NjY3IiBzdHJva2U9IiMwMDAiIHN0cm9rZS1vcGFjaXR5PSIwLjAyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzMDAsIDMwMCkiIC8+PC9zdmc+';
|
154 |
-
$response
|
155 |
|
156 |
-
$response = array_merge(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
[
|
158 |
-
'name'
|
159 |
-
'title'
|
160 |
-
'type'
|
161 |
-
'build'
|
162 |
-
'url'
|
163 |
-
'icon'
|
164 |
-
'description' => __(
|
165 |
],
|
166 |
[
|
167 |
-
'name'
|
168 |
-
'title'
|
169 |
-
'
|
170 |
-
'
|
171 |
-
'
|
172 |
-
'
|
173 |
-
'
|
|
|
174 |
],
|
175 |
[
|
176 |
-
'name'
|
177 |
-
'title'
|
178 |
-
'url'
|
179 |
-
'type'
|
180 |
-
'build'
|
181 |
-
'base_path'
|
182 |
-
'icon'
|
183 |
-
'description' => __(
|
184 |
],
|
185 |
[
|
186 |
-
'name'
|
187 |
-
'title'
|
188 |
-
'url'
|
189 |
-
'type'
|
190 |
-
'build'
|
191 |
-
'base_path'
|
192 |
-
'icon'
|
193 |
-
'description' => __(
|
194 |
],
|
195 |
[
|
196 |
-
'name'
|
197 |
-
'title'
|
198 |
-
'url'
|
199 |
-
'type'
|
200 |
-
'build'
|
201 |
-
'icon'
|
202 |
-
'description' => __(
|
203 |
],
|
204 |
[
|
205 |
-
'name'
|
206 |
-
'title'
|
207 |
-
'url'
|
208 |
-
'type'
|
209 |
-
'build'
|
210 |
-
'icon'
|
211 |
-
'description' => __(
|
212 |
],
|
213 |
[
|
214 |
-
'name'
|
215 |
-
'title'
|
216 |
-
'url'
|
217 |
-
'type'
|
218 |
-
'build'
|
219 |
-
'icon'
|
220 |
-
'description' => __(
|
221 |
],
|
222 |
[
|
223 |
-
'name'
|
224 |
-
'title'
|
225 |
-
'url'
|
226 |
-
'type'
|
227 |
-
'build'
|
228 |
-
'icon'
|
229 |
-
'description' => __(
|
230 |
],
|
231 |
[
|
232 |
-
'name'
|
233 |
-
'title'
|
234 |
-
'url'
|
235 |
-
'type'
|
236 |
-
'build'
|
237 |
-
'icon'
|
238 |
-
'description' => __(
|
239 |
],
|
240 |
[
|
241 |
-
'name'
|
242 |
-
'title'
|
243 |
-
'url'
|
244 |
-
'type'
|
245 |
-
'build'
|
246 |
-
'icon'
|
247 |
-
'description' => __(
|
248 |
],
|
249 |
[
|
250 |
-
'name'
|
251 |
-
'title'
|
252 |
-
'url'
|
253 |
-
'type'
|
254 |
-
'build'
|
255 |
-
'icon'
|
256 |
-
'description' => __(
|
257 |
],
|
258 |
[
|
259 |
-
'name'
|
260 |
-
'title'
|
261 |
-
'url'
|
262 |
-
'type'
|
263 |
-
'build'
|
264 |
-
'icon'
|
265 |
-
'description' => __(
|
266 |
],
|
267 |
[
|
268 |
-
'name'
|
269 |
-
'title'
|
270 |
-
'url'
|
271 |
-
'type'
|
272 |
-
'build'
|
273 |
-
'icon'
|
274 |
-
'description' => __(
|
275 |
]
|
276 |
-
]
|
277 |
-
|
278 |
-
if
|
279 |
-
array_unshift(
|
280 |
-
'name'
|
281 |
-
'title'
|
282 |
-
'url'
|
283 |
-
'type'
|
284 |
-
'build'
|
285 |
-
'icon'
|
286 |
-
'description' => __(
|
287 |
-
]
|
288 |
} else {
|
289 |
-
array_unshift(
|
290 |
-
'name'
|
291 |
-
'title'
|
292 |
-
'url'
|
293 |
-
'type'
|
294 |
-
'build'
|
295 |
-
'base_path'
|
296 |
-
'icon'
|
297 |
-
'description' => __(
|
298 |
-
]
|
299 |
}
|
300 |
|
301 |
$response[] = [
|
302 |
-
'name'
|
303 |
-
'title'
|
304 |
-
'type'
|
305 |
-
'build'
|
306 |
-
'url'
|
307 |
-
'icon'
|
308 |
-
'description' => __(
|
309 |
];
|
310 |
|
311 |
-
$components = $this->order(
|
312 |
|
313 |
/**
|
|
|
314 |
* @since 1.4.0
|
315 |
*
|
316 |
-
* @param array $components
|
317 |
*/
|
318 |
-
$components = apply_filters(
|
319 |
|
320 |
?>
|
321 |
-
|
322 |
-
|
323 |
-
<?php _e(
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
<?php
|
328 |
/**
|
329 |
* @since 1.4.0
|
330 |
*/
|
331 |
-
do_action(
|
332 |
?>
|
333 |
|
334 |
-
<?php foreach
|
335 |
<?php
|
336 |
|
337 |
$slug = $component['name'];
|
338 |
|
339 |
-
if
|
340 |
$slug = $component['base_path'];
|
341 |
}
|
342 |
|
343 |
-
$install_button = WCL_Plugin::app()->getInstallComponentsButton(
|
344 |
|
345 |
$status_class = '';
|
346 |
-
if
|
347 |
$status_class = ' plugin-status-deactive';
|
348 |
}
|
349 |
|
350 |
-
$install_button->addClass(
|
351 |
|
352 |
// Delete button
|
353 |
-
$delete_button = WCL_Plugin::app()->getDeleteComponentsButton(
|
354 |
-
$delete_button->addClass(
|
355 |
|
356 |
?>
|
357 |
-
|
358 |
-
<?php if
|
359 |
-
|
360 |
<?php endif; ?>
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
<?php echo esc_html(
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
<?php if
|
376 |
-
|
377 |
<?php else: ?>
|
378 |
<?php $delete_button->renderButton(); ?><?php $install_button->renderButton(); ?>
|
379 |
<?php endif; ?>
|
380 |
-
|
381 |
-
|
382 |
<?php endforeach; ?>
|
383 |
-
|
384 |
-
|
385 |
<?php
|
386 |
}
|
387 |
}
|
9 |
*/
|
10 |
|
11 |
// Exit if accessed directly
|
12 |
+
if( !defined('ABSPATH') ) {
|
13 |
exit;
|
14 |
}
|
15 |
|
21 |
* Mainly used to navigate between pages.
|
22 |
*
|
23 |
* @since 1.0.0
|
24 |
+
* @see FactoryPages427_AdminPage
|
25 |
*
|
26 |
* @var string
|
27 |
*/
|
40 |
/**
|
41 |
* @param WCL_Plugin $plugin
|
42 |
*/
|
43 |
+
public function __construct(WCL_Plugin $plugin)
|
44 |
+
{
|
45 |
+
$this->menu_title = __('Components', 'clearfy');
|
46 |
+
$this->page_menu_short_description = __('More features for plugin', 'clearfy');
|
47 |
|
48 |
+
parent::__construct($plugin);
|
49 |
|
50 |
$this->plugin = $plugin;
|
51 |
}
|
53 |
/**
|
54 |
* Requests assets (js and css) for the page.
|
55 |
*
|
|
|
56 |
* @return void
|
57 |
+
* @since 1.0.0
|
58 |
+
* @see FactoryPages427_AdminPage
|
59 |
*
|
60 |
*/
|
61 |
+
public function assets($scripts, $styles)
|
62 |
+
{
|
63 |
+
parent::assets($scripts, $styles);
|
64 |
|
65 |
+
$this->styles->add(WCL_PLUGIN_URL . '/admin/assets/css/components.css');
|
66 |
|
67 |
/**
|
68 |
+
* @param Wbcr_Factory427_StyleList $styles
|
69 |
+
* @param Wbcr_Factory427_ScriptList $scripts
|
70 |
* @since 1.4.0
|
71 |
*
|
|
|
|
|
72 |
*/
|
73 |
+
do_action('wbcr/clearfy/components/page_assets', $scripts, $styles);
|
74 |
}
|
75 |
|
76 |
/**
|
77 |
* We register notifications for some actions
|
78 |
*
|
79 |
* @param $notices
|
80 |
+
* @param Wbcr_Factory427_Plugin $plugin
|
81 |
*
|
82 |
* @return array
|
83 |
+
* @see libs\factory\pages\themplates\FactoryPages427_ImpressiveThemplate
|
84 |
*/
|
85 |
+
public function getActionNotices($notices)
|
86 |
+
{
|
87 |
$notices[] = [
|
88 |
'conditions' => [
|
89 |
'wbcr-force-update-components-success' => 1
|
90 |
],
|
91 |
+
'type' => 'success',
|
92 |
+
'message' => __('Components have been successfully updated to the latest version.', 'clearfy')
|
93 |
];
|
94 |
|
95 |
$notices[] = [
|
96 |
'conditions' => [
|
97 |
'wbcr-force-update-components-error' => 'inactive_licence'
|
98 |
],
|
99 |
+
'type' => 'danger',
|
100 |
+
'message' => __('To use premium components, you need activate a license!', 'clearfy') . '<a href="admin.php?page=license-wbcr_clearfy" class="btn btn-gold">' . __('Activate license', 'clearfy') . '</a>'
|
101 |
];
|
102 |
|
103 |
$notices[] = [
|
104 |
'conditions' => [
|
105 |
'wbcr-force-update-components-error' => 'unknown_error'
|
106 |
],
|
107 |
+
'type' => 'danger',
|
108 |
+
'message' => __('An unknown error occurred while updating plugin components. Please contact the plugin support team to resolve this issue.', 'hide_my_wp')
|
109 |
];
|
110 |
|
111 |
return $notices;
|
118 |
*
|
119 |
* @return array
|
120 |
*/
|
121 |
+
public function order($components)
|
122 |
+
{
|
123 |
+
$deactivate_components = WCL_Plugin::app()->getPopulateOption('deactive_preinstall_components', []);
|
124 |
|
125 |
$ordered_components = [
|
126 |
+
'premium_active' => [],
|
127 |
'premium_deactive' => [],
|
128 |
+
'other' => []
|
129 |
];
|
130 |
|
131 |
+
foreach((array)$components as $component) {
|
132 |
|
133 |
+
if( ('premium' === $component['build'] || 'freemium' === $component['build']) && 'internal' === $component['type'] ) {
|
134 |
+
if( in_array($component['name'], $deactivate_components) ) {
|
135 |
// free component is deactivated
|
136 |
$order_key = 'premium_deactive';
|
137 |
} else {
|
142 |
$order_key = 'other';
|
143 |
}
|
144 |
|
145 |
+
$ordered_components[$order_key][] = $component;
|
146 |
}
|
147 |
|
148 |
+
return array_merge($ordered_components['premium_active'], $ordered_components['premium_deactive'], $ordered_components['other']);
|
149 |
}
|
150 |
|
151 |
/**
|
153 |
*
|
154 |
* @throws Exception
|
155 |
*/
|
156 |
+
public function showPageContent()
|
157 |
+
{
|
158 |
$default_image = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzNjAiIGhlaWdodD0iMzYwIiB2aWV3Ym94PSIwIDAgMzYwIDM2MCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0icmdiKDcwLCA4MSwgOTMpIiAvPjxwb2x5bGluZSBwb2ludHM9IjE5LjgsMCw0MC4yLDAsNjAsMTkuOCw2MCw0MC4yLDQwLjIsNjAsMTkuOCw2MCwwLDQwLjIsMCwxOS44LDE5LjgsMCIgZmlsbD0iIzIyMiIgZmlsbC1vcGFjaXR5PSIwLjE1IiBzdHJva2U9IiMwMDAiIHN0cm9rZS1vcGFjaXR5PSIwLjAyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLCAwKSIgLz48cG9seWxpbmUgcG9pbnRzPSIxOS44LDAsNDAuMiwwLDYwLDE5LjgsNjAsNDAuMiw0MC4yLDYwLDE5LjgsNjAsMCw0MC4yLDAsMTkuOCwxOS44LDAiIGZpbGw9IiNkZGQiIGZpbGwtb3BhY2l0eT0iMC4wNTQ2NjY2NjY2NjY2NjciIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLW9wYWNpdHk9IjAuMDIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDYwLCAwKSIgLz48cG9seWxpbmUgcG9pbnRzPSIxOS44LDAsNDAuMiwwLDYwLDE5LjgsNjAsNDAuMiw0MC4yLDYwLDE5LjgsNjAsMCw0MC4yLDAsMTkuOCwxOS44LDAiIGZpbGw9IiMyMjIiIGZpbGwtb3BhY2l0eT0iMC4wNDYiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLW9wYWNpdHk9IjAuMDIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEyMCwgMCkiIC8+PHBvbHlsaW5lIHBvaW50cz0iMTkuOCwwLDQwLjIsMCw2MCwxOS44LDYwLDQwLjIsNDAuMiw2MCwxOS44LDYwLDAsNDAuMiwwLDE5LjgsMTkuOCwwIiBmaWxsPSIjZGRkIiBmaWxsLW9wYWNpdHk9IjAuMDIiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLW9wYWNpdHk9IjAuMDIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4MCwgMCkiIC8+PHBvbHlsaW5lIHBvaW50cz0iMTkuOCwwLDQwLjIsMCw2MCwxOS44LDYwLDQwLjIsNDAuMiw2MCwxOS44LDYwLDAsNDAuMiwwLDE5LjgsMTkuOCwwIiBmaWxsPSIjZGRkIiBmaWxsLW9wYWNpdHk9IjAuMDU0NjY2NjY2NjY2NjY3IiBzdHJva2U9IiMwMDAiIHN0cm9rZS1vcGFjaXR5PSIwLjAyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyNDAsIDApIiAvPjxwb2x5bGluZSBwb2ludHM9IjE5LjgsMCw0MC4yLDAsNjAsMTkuOCw2MCw0MC4yLDQwLjIsNjAsMTkuOCw2MCwwLDQwLjIsMCwxOS44LDE5LjgsMCIgZmlsbD0iIzIyMiIgZmlsbC1vcGFjaXR5PSIwLjAyODY2NjY2NjY2NjY2NyIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iMC4wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMzAwLCAwKSIgLz48cG9seWxpbmUgcG9pbnRzPSIxOS44LDAsNDAuMiwwLDYwLDE5LjgsNjAsNDAuMiw0MC4yLDYwLDE5LjgsNjAsMCw0MC4yLDAsMTkuOCwxOS44LDAiIGZpbGw9IiNkZGQiIGZpbGwtb3BhY2l0eT0iMC4xMDY2NjY2NjY2NjY2NyIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iMC4wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCwgNjApIiAvPjxwb2x5bGluZSBwb2ludHM9IjE5LjgsMCw0MC4yLDAsNjAsMTkuOCw2MCw0MC4yLDQwLjIsNjAsMTkuOCw2MCwwLDQwLjIsMCwxOS44LDE5LjgsMCIgZmlsbD0iIzIyMiIgZmlsbC1vcGFjaXR5PSIwLjA5OCIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iMC4wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNjAsIDYwKSIgLz48cG9seWxpbmUgcG9pbnRzPSIxOS44LDAsNDAuMiwwLDYwLDE5LjgsNjAsNDAuMiw0MC4yLDYwLDE5LjgsNjAsMCw0MC4yLDAsMTkuOCwxOS44LDAiIGZpbGw9IiMyMjIiIGZpbGwtb3BhY2l0eT0iMC4xMTUzMzMzMzMzMzMzMyIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iMC4wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTIwLCA2MCkiIC8+PHBvbHlsaW5lIHBvaW50cz0iMTkuOCwwLDQwLjIsMCw2MCwxOS44LDYwLDQwLjIsNDAuMiw2MCwxOS44LDYwLDAsNDAuMiwwLDE5LjgsMTkuOCwwIiBmaWxsPSIjMjIyIiBmaWxsLW9wYWNpdHk9IjAuMDYzMzMzMzMzMzMzMzMzIiBzdHJva2U9IiMwMDAiIHN0cm9rZS1vcGFjaXR5PSIwLjAyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxODAsIDYwKSIgLz48cG9seWxpbmUgcG9pbnRzPSIxOS44LDAsNDAuMiwwLDYwLDE5LjgsNjAsNDAuMiw0MC4yLDYwLDE5LjgsNjAsMCw0MC4yLDAsMTkuOCwxOS44LDAiIGZpbGw9IiNkZGQiIGZpbGwtb3BhY2l0eT0iMC4wMzczMzMzMzMzMzMzMzMiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLW9wYWNpdHk9IjAuMDIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI0MCwgNjApIiAvPjxwb2x5bGluZSBwb2ludHM9IjE5LjgsMCw0MC4yLDAsNjAsMTkuOCw2MCw0MC4yLDQwLjIsNjAsMTkuOCw2MCwwLDQwLjIsMCwxOS44LDE5LjgsMCIgZmlsbD0iI2RkZCIgZmlsbC1vcGFjaXR5PSIwLjE0MTMzMzMzMzMzMzMzIiBzdHJva2U9IiMwMDAiIHN0cm9rZS1vcGFjaXR5PSIwLjAyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzMDAsIDYwKSIgLz48cG9seWxpbmUgcG9pbnRzPSIxOS44LDAsNDAuMiwwLDYwLDE5LjgsNjAsNDAuMiw0MC4yLDYwLDE5LjgsNjAsMCw0MC4yLDAsMTkuOCwxOS44LDAiIGZpbGw9IiNkZGQiIGZpbGwtb3BhY2l0eT0iMC4wMzczMzMzMzMzMzMzMzMiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLW9wYWNpdHk9IjAuMDIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAsIDEyMCkiIC8+PHBvbHlsaW5lIHBvaW50cz0iMTkuOCwwLDQwLjIsMCw2MCwxOS44LDYwLDQwLjIsNDAuMiw2MCwxOS44LDYwLDAsNDAuMiwwLDE5LjgsMTkuOCwwIiBmaWxsPSIjZGRkIiBmaWxsLW9wYWNpdHk9IjAuMDg5MzMzMzMzMzMzMzMzIiBzdHJva2U9IiMwMDAiIHN0cm9rZS1vcGFjaXR5PSIwLjAyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg2MCwgMTIwKSIgLz48cG9seWxpbmUgcG9pbnRzPSIxOS44LDAsNDAuMiwwLDYwLDE5LjgsNjAsNDAuMiw0MC4yLDYwLDE5LjgsNjAsMCw0MC4yLDAsMTkuOCwxOS44LDAiIGZpbGw9IiNkZGQiIGZpbGwtb3BhY2l0eT0iMC4wODkzMzMzMzMzMzMzMzMiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLW9wYWNpdHk9IjAuMDIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEyMCwgMTIwKSIgLz48cG9seWxpbmUgcG9pbnRzPSIxOS44LDAsNDAuMiwwLDYwLDE5LjgsNjAsNDAuMiw0MC4yLDYwLDE5LjgsNjAsMCw0MC4yLDAsMTkuOCwxOS44LDAiIGZpbGw9IiMyMjIiIGZpbGwtb3BhY2l0eT0iMC4wODA2NjY2NjY2NjY2NjciIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLW9wYWNpdHk9IjAuMDIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4MCwgMTIwKSIgLz48cG9seWxpbmUgcG9pbnRzPSIxOS44LDAsNDAuMiwwLDYwLDE5LjgsNjAsNDAuMiw0MC4yLDYwLDE5LjgsNjAsMCw0MC4yLDAsMTkuOCwxOS44LDAiIGZpbGw9IiMyMjIiIGZpbGwtb3BhY2l0eT0iMC4xMzI2NjY2NjY2NjY2NyIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iMC4wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjQwLCAxMjApIiAvPjxwb2x5bGluZSBwb2ludHM9IjE5LjgsMCw0MC4yLDAsNjAsMTkuOCw2MCw0MC4yLDQwLjIsNjAsMTkuOCw2MCwwLDQwLjIsMCwxOS44LDE5LjgsMCIgZmlsbD0iIzIyMiIgZmlsbC1vcGFjaXR5PSIwLjE1IiBzdHJva2U9IiMwMDAiIHN0cm9rZS1vcGFjaXR5PSIwLjAyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzMDAsIDEyMCkiIC8+PHBvbHlsaW5lIHBvaW50cz0iMTkuOCwwLDQwLjIsMCw2MCwxOS44LDYwLDQwLjIsNDAuMiw2MCwxOS44LDYwLDAsNDAuMiwwLDE5LjgsMTkuOCwwIiBmaWxsPSIjMjIyIiBmaWxsLW9wYWNpdHk9IjAuMDk4IiBzdHJva2U9IiMwMDAiIHN0cm9rZS1vcGFjaXR5PSIwLjAyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLCAxODApIiAvPjxwb2x5bGluZSBwb2ludHM9IjE5LjgsMCw0MC4yLDAsNjAsMTkuOCw2MCw0MC4yLDQwLjIsNjAsMTkuOCw2MCwwLDQwLjIsMCwxOS44LDE5LjgsMCIgZmlsbD0iIzIyMiIgZmlsbC1vcGFjaXR5PSIwLjA2MzMzMzMzMzMzMzMzMyIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iMC4wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNjAsIDE4MCkiIC8+PHBvbHlsaW5lIHBvaW50cz0iMTkuOCwwLDQwLjIsMCw2MCwxOS44LDYwLDQwLjIsNDAuMiw2MCwxOS44LDYwLDAsNDAuMiwwLDE5LjgsMTkuOCwwIiBmaWxsPSIjZGRkIiBmaWxsLW9wYWNpdHk9IjAuMDIiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLW9wYWNpdHk9IjAuMDIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEyMCwgMTgwKSIgLz48cG9seWxpbmUgcG9pbnRzPSIxOS44LDAsNDAuMiwwLDYwLDE5LjgsNjAsNDAuMiw0MC4yLDYwLDE5LjgsNjAsMCw0MC4yLDAsMTkuOCwxOS44LDAiIGZpbGw9IiNkZGQiIGZpbGwtb3BhY2l0eT0iMC4wMzczMzMzMzMzMzMzMzMiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLW9wYWNpdHk9IjAuMDIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4MCwgMTgwKSIgLz48cG9seWxpbmUgcG9pbnRzPSIxOS44LDAsNDAuMiwwLDYwLDE5LjgsNjAsNDAuMiw0MC4yLDYwLDE5LjgsNjAsMCw0MC4yLDAsMTkuOCwxOS44LDAiIGZpbGw9IiMyMjIiIGZpbGwtb3BhY2l0eT0iMC4xMTUzMzMzMzMzMzMzMyIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iMC4wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjQwLCAxODApIiAvPjxwb2x5bGluZSBwb2ludHM9IjE5LjgsMCw0MC4yLDAsNjAsMTkuOCw2MCw0MC4yLDQwLjIsNjAsMTkuOCw2MCwwLDQwLjIsMCwxOS44LDE5LjgsMCIgZmlsbD0iIzIyMiIgZmlsbC1vcGFjaXR5PSIwLjA2MzMzMzMzMzMzMzMzMyIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iMC4wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMzAwLCAxODApIiAvPjxwb2x5bGluZSBwb2ludHM9IjE5LjgsMCw0MC4yLDAsNjAsMTkuOCw2MCw0MC4yLDQwLjIsNjAsMTkuOCw2MCwwLDQwLjIsMCwxOS44LDE5LjgsMCIgZmlsbD0iI2RkZCIgZmlsbC1vcGFjaXR5PSIwLjA1NDY2NjY2NjY2NjY2NyIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iMC4wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCwgMjQwKSIgLz48cG9seWxpbmUgcG9pbnRzPSIxOS44LDAsNDAuMiwwLDYwLDE5LjgsNjAsNDAuMiw0MC4yLDYwLDE5LjgsNjAsMCw0MC4yLDAsMTkuOCwxOS44LDAiIGZpbGw9IiNkZGQiIGZpbGwtb3BhY2l0eT0iMC4xMDY2NjY2NjY2NjY2NyIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iMC4wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNjAsIDI0MCkiIC8+PHBvbHlsaW5lIHBvaW50cz0iMTkuOCwwLDQwLjIsMCw2MCwxOS44LDYwLDQwLjIsNDAuMiw2MCwxOS44LDYwLDAsNDAuMiwwLDE5LjgsMTkuOCwwIiBmaWxsPSIjZGRkIiBmaWxsLW9wYWNpdHk9IjAuMDcyIiBzdHJva2U9IiMwMDAiIHN0cm9rZS1vcGFjaXR5PSIwLjAyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMjAsIDI0MCkiIC8+PHBvbHlsaW5lIHBvaW50cz0iMTkuOCwwLDQwLjIsMCw2MCwxOS44LDYwLDQwLjIsNDAuMiw2MCwxOS44LDYwLDAsNDAuMiwwLDE5LjgsMTkuOCwwIiBmaWxsPSIjMjIyIiBmaWxsLW9wYWNpdHk9IjAuMTE1MzMzMzMzMzMzMzMiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLW9wYWNpdHk9IjAuMDIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4MCwgMjQwKSIgLz48cG9seWxpbmUgcG9pbnRzPSIxOS44LDAsNDAuMiwwLDYwLDE5LjgsNjAsNDAuMiw0MC4yLDYwLDE5LjgsNjAsMCw0MC4yLDAsMTkuOCwxOS44LDAiIGZpbGw9IiMyMjIiIGZpbGwtb3BhY2l0eT0iMC4xMzI2NjY2NjY2NjY2NyIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iMC4wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjQwLCAyNDApIiAvPjxwb2x5bGluZSBwb2ludHM9IjE5LjgsMCw0MC4yLDAsNjAsMTkuOCw2MCw0MC4yLDQwLjIsNjAsMTkuOCw2MCwwLDQwLjIsMCwxOS44LDE5LjgsMCIgZmlsbD0iIzIyMiIgZmlsbC1vcGFjaXR5PSIwLjA4MDY2NjY2NjY2NjY2NyIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iMC4wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMzAwLCAyNDApIiAvPjxwb2x5bGluZSBwb2ludHM9IjE5LjgsMCw0MC4yLDAsNjAsMTkuOCw2MCw0MC4yLDQwLjIsNjAsMTkuOCw2MCwwLDQwLjIsMCwxOS44LDE5LjgsMCIgZmlsbD0iIzIyMiIgZmlsbC1vcGFjaXR5PSIwLjEzMjY2NjY2NjY2NjY3IiBzdHJva2U9IiMwMDAiIHN0cm9rZS1vcGFjaXR5PSIwLjAyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLCAzMDApIiAvPjxwb2x5bGluZSBwb2ludHM9IjE5LjgsMCw0MC4yLDAsNjAsMTkuOCw2MCw0MC4yLDQwLjIsNjAsMTkuOCw2MCwwLDQwLjIsMCwxOS44LDE5LjgsMCIgZmlsbD0iI2RkZCIgZmlsbC1vcGFjaXR5PSIwLjAzNzMzMzMzMzMzMzMzMyIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iMC4wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNjAsIDMwMCkiIC8+PHBvbHlsaW5lIHBvaW50cz0iMTkuOCwwLDQwLjIsMCw2MCwxOS44LDYwLDQwLjIsNDAuMiw2MCwxOS44LDYwLDAsNDAuMiwwLDE5LjgsMTkuOCwwIiBmaWxsPSIjZGRkIiBmaWxsLW9wYWNpdHk9IjAuMTI0IiBzdHJva2U9IiMwMDAiIHN0cm9rZS1vcGFjaXR5PSIwLjAyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMjAsIDMwMCkiIC8+PHBvbHlsaW5lIHBvaW50cz0iMTkuOCwwLDQwLjIsMCw2MCwxOS44LDYwLDQwLjIsNDAuMiw2MCwxOS44LDYwLDAsNDAuMiwwLDE5LjgsMTkuOCwwIiBmaWxsPSIjMjIyIiBmaWxsLW9wYWNpdHk9IjAuMDI4NjY2NjY2NjY2NjY3IiBzdHJva2U9IiMwMDAiIHN0cm9rZS1vcGFjaXR5PSIwLjAyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxODAsIDMwMCkiIC8+PHBvbHlsaW5lIHBvaW50cz0iMTkuOCwwLDQwLjIsMCw2MCwxOS44LDYwLDQwLjIsNDAuMiw2MCwxOS44LDYwLDAsNDAuMiwwLDE5LjgsMTkuOCwwIiBmaWxsPSIjZGRkIiBmaWxsLW9wYWNpdHk9IjAuMDcyIiBzdHJva2U9IiMwMDAiIHN0cm9rZS1vcGFjaXR5PSIwLjAyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyNDAsIDMwMCkiIC8+PHBvbHlsaW5lIHBvaW50cz0iMTkuOCwwLDQwLjIsMCw2MCwxOS44LDYwLDQwLjIsNDAuMiw2MCwxOS44LDYwLDAsNDAuMiwwLDE5LjgsMTkuOCwwIiBmaWxsPSIjMjIyIiBmaWxsLW9wYWNpdHk9IjAuMDI4NjY2NjY2NjY2NjY3IiBzdHJva2U9IiMwMDAiIHN0cm9rZS1vcGFjaXR5PSIwLjAyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzMDAsIDMwMCkiIC8+PC9zdmc+';
|
159 |
+
$response = [];
|
160 |
|
161 |
+
$response = array_merge($response, [
|
162 |
+
[
|
163 |
+
'name' => 'hide_my_wp',
|
164 |
+
'title' => __('Hide my wp', 'clearfy'),
|
165 |
+
'type' => 'internal',
|
166 |
+
'build' => 'premium',
|
167 |
+
'url' => 'http://clearfy.pro/hide-my-wp/',
|
168 |
+
'icon' => '//s3-us-west-2.amazonaws.com/freemius/plugins/2318/icons/db36219969de82e3d07042cc03eb53b0.png',
|
169 |
+
'description' => __('You can protect your WP by preventing the hacker from knowing which CMS, plugins, themes you use. It disables identification of your CMS.', 'clearfy')
|
170 |
+
],
|
171 |
[
|
172 |
+
'name' => 'seo_friendly_images',
|
173 |
+
'title' => __('Seo friendly images', 'clearfy'),
|
174 |
+
'type' => 'internal',
|
175 |
+
'build' => 'premium',
|
176 |
+
'url' => 'https://clearfy.pro/',
|
177 |
+
'icon' => WCL_PLUGIN_URL . '/admin/assets/img/sfi-icon-256x256.png',
|
178 |
+
'description' => __('Automatically assign alt and title for images, flexibly customize the template.', 'clearfy')
|
179 |
],
|
180 |
[
|
181 |
+
'name' => 'robin_image_optimizer',
|
182 |
+
'title' => __('Robin image optimizer', 'clearfy'),
|
183 |
+
'url' => 'https://wordpress.org/plugins/robin-image-optimizer/',
|
184 |
+
'type' => 'wordpress',
|
185 |
+
'build' => 'freemium',
|
186 |
+
'base_path' => 'robin-image-optimizer/robin-image-optimizer.php',
|
187 |
+
'icon' => WCL_PLUGIN_URL . '/admin/assets/img/rio-icon-128x128.png',
|
188 |
+
'description' => __('Automatic image optimization without any quality loss. No limitations, no paid plans. The best Wordpress image optimization plugin allows optimizing any amount of images for free!', 'clearfy')
|
189 |
],
|
190 |
[
|
191 |
+
'name' => 'titan_security',
|
192 |
+
'title' => __('Firewall and Malware scanner', 'clearfy'),
|
193 |
+
'url' => 'https://wordpress.org/plugins/titan-security/',
|
194 |
+
'type' => 'wordpress',
|
195 |
+
'build' => 'freemium',
|
196 |
+
'base_path' => 'anti-spam/anti-spam.php',
|
197 |
+
'icon' => WCL_PLUGIN_URL . '/admin/assets/img/titan-icon-256x256.jpg',
|
198 |
+
'description' => __('Titan Security - Anti-virus, Firewall and Malware Scan', 'clearfy')
|
199 |
],
|
200 |
[
|
201 |
+
'name' => 'hide_login_page',
|
202 |
+
'title' => __('Hide login page', 'clearfy'),
|
203 |
+
'url' => 'https://wordpress.org/plugins/hide-login-page/',
|
204 |
+
'type' => 'wordpress',
|
205 |
+
'build' => 'free',
|
206 |
+
'base_path' => 'hide-login-page/hide-login-page.php',
|
207 |
+
'icon' => WCL_PLUGIN_URL . '/admin/assets/img/hlp-icon-128x128.png',
|
208 |
+
'description' => __('Hide Login Page is a very light plugin that lets you easily and safely change the url of the login form page to anything you want.', 'clearfy')
|
209 |
],
|
210 |
[
|
211 |
+
'name' => 'html_minify',
|
212 |
+
'title' => __('Html minify', 'clearfy'),
|
213 |
+
'url' => '#',
|
214 |
+
'type' => 'internal',
|
215 |
+
'build' => 'free',
|
216 |
+
'icon' => $default_image,
|
217 |
+
'description' => __('Ever look at the HTML markup of your website and notice how sloppy and amateurish it looks? The Minify HTML options cleans up sloppy looking markup and minifies, which also speeds up download', 'clearfy')
|
218 |
],
|
219 |
[
|
220 |
+
'name' => 'minify_and_combine',
|
221 |
+
'title' => __('Minify and combine (JS, CSS)', 'clearfy'),
|
222 |
+
'url' => '#',
|
223 |
+
'type' => 'internal',
|
224 |
+
'build' => 'free',
|
225 |
+
'icon' => $default_image,
|
226 |
+
'description' => __('Improve your speed score on GTmetrix, Pingdom Tools and Google PageSpeed Insights by merging and minifying CSS, JavaScript.', 'clearfy')
|
227 |
],
|
228 |
[
|
229 |
+
'name' => 'ga_cache',
|
230 |
+
'title' => __('Google Analytics Cache', 'clearfy'),
|
231 |
+
'url' => 'https://wordpress.org/plugins/simple-google-analytics/',
|
232 |
+
'type' => 'internal',
|
233 |
+
'build' => 'free',
|
234 |
+
'icon' => WCL_PLUGIN_URL . '/admin/assets/img/gac-icon-128x128.jpg',
|
235 |
+
'description' => __('To improve Google Page Speed indicators Analytics caching is needed. However, it can also slightly increase your website loading speed, because Analytics js files will load locally.', 'clearfy')
|
236 |
],
|
237 |
[
|
238 |
+
'name' => 'updates_manager',
|
239 |
+
'title' => __('Updates manager', 'clearfy'),
|
240 |
+
'url' => 'https://wordpress.org/plugins/webcraftic-updates-manager/',
|
241 |
+
'type' => 'internal',
|
242 |
+
'build' => 'freemium',
|
243 |
+
'icon' => WCL_PLUGIN_URL . '/admin/assets/img/upm-icon-128x128.png',
|
244 |
+
'description' => __('Disable updates enable auto updates for themes, plugins and WordPress.', 'clearfy')
|
245 |
],
|
246 |
[
|
247 |
+
'name' => 'comments_tools',
|
248 |
+
'title' => __('Comments tools', 'clearfy'),
|
249 |
+
'url' => '#',
|
250 |
+
'type' => 'internal',
|
251 |
+
'build' => 'free',
|
252 |
+
'icon' => WCL_PLUGIN_URL . '/admin/assets/img/dic-icon-128x128.png',
|
253 |
+
'description' => __('Bulk disable and remove comments, disable “Website” field, hides external links, disable XML-RPC.', 'clearfy')
|
254 |
],
|
255 |
[
|
256 |
+
'name' => 'widget_tools',
|
257 |
+
'title' => __('Widgets tools', 'clearfy'),
|
258 |
+
'url' => '#',
|
259 |
+
'type' => 'internal',
|
260 |
+
'build' => 'free',
|
261 |
+
'icon' => $default_image,
|
262 |
+
'description' => __('Disable unused widgets such as tag cloud, links, calendar etc.', 'clearfy')
|
263 |
],
|
264 |
[
|
265 |
+
'name' => 'disable_notices',
|
266 |
+
'title' => __('Disable admin notices', 'clearfy'),
|
267 |
+
'url' => '#',
|
268 |
+
'type' => 'internal',
|
269 |
+
'build' => 'free',
|
270 |
+
'icon' => WCL_PLUGIN_URL . '/admin/assets/img/dan-icon-128x128.png',
|
271 |
+
'description' => __('Disables admin notices bulk or individually. Collects notices into the admin bar.', 'clearfy')
|
272 |
],
|
273 |
[
|
274 |
+
'name' => 'adminbar_manager',
|
275 |
+
'title' => __('Admin bar manager', 'clearfy'),
|
276 |
+
'url' => '#',
|
277 |
+
'type' => 'internal',
|
278 |
+
'build' => 'free',
|
279 |
+
'icon' => $default_image,
|
280 |
+
'description' => __('Disables admin bar. Allows to change and remove admin bar elements.', 'clearfy')
|
281 |
],
|
282 |
[
|
283 |
+
'name' => 'yoast_seo',
|
284 |
+
'title' => __('Yoast SEO optimization', 'clearfy'),
|
285 |
+
'url' => '#',
|
286 |
+
'type' => 'internal',
|
287 |
+
'build' => 'free',
|
288 |
+
'icon' => $default_image,
|
289 |
+
'description' => __('Set of optimization functions for the popular Yoast SEO plugin.', 'clearfy')
|
290 |
]
|
291 |
+
]);
|
292 |
+
|
293 |
+
if( !is_plugin_active('gonzales/gonzales.php') ) {
|
294 |
+
array_unshift($response, [
|
295 |
+
'name' => 'assets_manager',
|
296 |
+
'title' => __('Asset manager', 'clearfy'),
|
297 |
+
'url' => '#',
|
298 |
+
'type' => 'internal',
|
299 |
+
'build' => 'freemium',
|
300 |
+
'icon' => WCL_PLUGIN_URL . '/admin/assets/img/asm-icon-128x128.png',
|
301 |
+
'description' => __('Selectively disable unused scripts and styles on the pages of your website.', 'clearfy')
|
302 |
+
]);
|
303 |
} else {
|
304 |
+
array_unshift($response, [
|
305 |
+
'name' => 'gonzales',
|
306 |
+
'title' => __('Asset manager', 'clearfy'),
|
307 |
+
'url' => 'https://wordpress.org/plugins/robin-image-optimizer/',
|
308 |
+
'type' => 'wordpress',
|
309 |
+
'build' => 'freemium',
|
310 |
+
'base_path' => 'gonzales/gonzales.php',
|
311 |
+
'icon' => WCL_PLUGIN_URL . '/admin/assets/img/asm-icon-128x128.png',
|
312 |
+
'description' => __('Selectively disable unused scripts and styles on the pages of your website.', 'clearfy')
|
313 |
+
]);
|
314 |
}
|
315 |
|
316 |
$response[] = [
|
317 |
+
'name' => 'cyrlitera',
|
318 |
+
'title' => __('Transliteration of Cyrillic alphabet', 'clearfy'),
|
319 |
+
'type' => 'internal',
|
320 |
+
'build' => 'free',
|
321 |
+
'url' => 'https://wordpress.org/plugins/cyrlitera/',
|
322 |
+
'icon' => WCL_PLUGIN_URL . '/admin/assets/img/ctr-icon-128x128.png',
|
323 |
+
'description' => __('Converts Cyrillic permalinks of post, pages, taxonomies and media files to the Latin alphabet. Supports Russian, Ukrainian, Georgian, Bulgarian languages.', 'clearfy')
|
324 |
];
|
325 |
|
326 |
+
$components = $this->order($response);
|
327 |
|
328 |
/**
|
329 |
+
* @param array $components
|
330 |
* @since 1.4.0
|
331 |
*
|
|
|
332 |
*/
|
333 |
+
$components = apply_filters('wbcr/clearfy/components/items_list', $components);
|
334 |
|
335 |
?>
|
336 |
+
<div class="wbcr-factory-page-group-header"><?php _e('<strong>Plugin Components</strong>.', 'clearfy') ?>
|
337 |
+
<p>
|
338 |
+
<?php _e('These are components of the plugin bundle. When you activate the plugin, all the components turned on by default. If you don’t need some function, you can easily turn it off on this page.', 'clearfy') ?>
|
339 |
+
</p>
|
340 |
+
</div>
|
341 |
+
<div class="wbcr-clearfy-components">
|
342 |
<?php
|
343 |
/**
|
344 |
* @since 1.4.0
|
345 |
*/
|
346 |
+
do_action('wbcr/clearfy/components/custom_plugins_card', $components);
|
347 |
?>
|
348 |
|
349 |
+
<?php foreach((array)$components as $component): ?>
|
350 |
<?php
|
351 |
|
352 |
$slug = $component['name'];
|
353 |
|
354 |
+
if( $component['type'] == 'wordpress' ) {
|
355 |
$slug = $component['base_path'];
|
356 |
}
|
357 |
|
358 |
+
$install_button = WCL_Plugin::app()->getInstallComponentsButton($component['type'], $slug);
|
359 |
|
360 |
$status_class = '';
|
361 |
+
if( !$install_button->isPluginActivate() ) {
|
362 |
$status_class = ' plugin-status-deactive';
|
363 |
}
|
364 |
|
365 |
+
$install_button->addClass('install-now');
|
366 |
|
367 |
// Delete button
|
368 |
+
$delete_button = WCL_Plugin::app()->getDeleteComponentsButton($component['type'], $slug);
|
369 |
+
$delete_button->addClass('delete-now');
|
370 |
|
371 |
?>
|
372 |
+
<div class="plugin-card<?php echo esc_attr($status_class) ?>">
|
373 |
+
<?php if( isset($component['build']) ): ?>
|
374 |
+
<div class="plugin-card-<?php echo esc_attr($component['build']) ?>-ribbon"><?php echo ucfirst(esc_html($component['build'])) ?></div>
|
375 |
<?php endif; ?>
|
376 |
+
<div class="plugin-card-top">
|
377 |
+
<div class="name column-name">
|
378 |
+
<h3>
|
379 |
+
<a href="<?php echo esc_url($component['url']) ?>" class="thickbox open-plugin-details-modal">
|
380 |
+
<?php echo esc_html($component['title']) ?>
|
381 |
+
<img src="<?php echo esc_attr($component['icon']) ?>" class="plugin-icon" alt="<?php echo esc_attr($component['title']) ?>">
|
382 |
+
</a>
|
383 |
+
</h3>
|
384 |
+
</div>
|
385 |
+
<div class="desc column-description">
|
386 |
+
<p><?php echo esc_html($component['description']); ?></p>
|
387 |
+
</div>
|
388 |
+
</div>
|
389 |
+
<div class="plugin-card-bottom">
|
390 |
+
<?php if( 'premium' === $component['build'] && !(WCL_plugin::app()->premium->is_activate() && WCL_plugin::app()->premium->is_install_package()) ): ?>
|
391 |
+
<a target="_blank" href="<?php echo esc_url($component['url']) ?>" class="button button-default install-now"><?php _e('Read more', 'clearfy'); ?></a>
|
392 |
<?php else: ?>
|
393 |
<?php $delete_button->renderButton(); ?><?php $install_button->renderButton(); ?>
|
394 |
<?php endif; ?>
|
395 |
+
</div>
|
396 |
+
</div>
|
397 |
<?php endforeach; ?>
|
398 |
+
<div class="clearfix"></div>
|
399 |
+
</div>
|
400 |
<?php
|
401 |
}
|
402 |
}
|
admin/pages/class-pages-defence-titan.php
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* The page Settings.
|
5 |
+
*
|
6 |
+
* @since 1.0.0
|
7 |
+
*/
|
8 |
+
|
9 |
+
// Exit if accessed directly
|
10 |
+
if( !defined('ABSPATH') ) {
|
11 |
+
exit;
|
12 |
+
}
|
13 |
+
|
14 |
+
class WCL_TitanSecurityPage extends WCL_Page {
|
15 |
+
|
16 |
+
/**
|
17 |
+
* The id of the page in the admin menu.
|
18 |
+
*
|
19 |
+
* Mainly used to navigate between pages.
|
20 |
+
*
|
21 |
+
* @since 1.0.0
|
22 |
+
* @see FactoryPages427_AdminPage
|
23 |
+
*
|
24 |
+
* @var string
|
25 |
+
*/
|
26 |
+
public $id = "clearfy_titan";
|
27 |
+
|
28 |
+
/**
|
29 |
+
* @var string
|
30 |
+
*/
|
31 |
+
public $page_parent_page = 'defence';
|
32 |
+
|
33 |
+
/**
|
34 |
+
* Тип страницы
|
35 |
+
* options - предназначена для создании страниц с набором опций и настроек.
|
36 |
+
* page - произвольный контент, любой html код
|
37 |
+
*
|
38 |
+
* @var string
|
39 |
+
*/
|
40 |
+
public $type = 'page';
|
41 |
+
|
42 |
+
/**
|
43 |
+
* Позиция закладки в меню плагина.
|
44 |
+
* 0 - в самом конце, 100 - в самом начале
|
45 |
+
*
|
46 |
+
* @var int
|
47 |
+
*/
|
48 |
+
public $page_menu_position = 30;
|
49 |
+
|
50 |
+
/**
|
51 |
+
* @var string
|
52 |
+
*/
|
53 |
+
public $page_menu_dashicon = 'dashicons-shield-alt';
|
54 |
+
|
55 |
+
/**
|
56 |
+
* @var bool
|
57 |
+
*/
|
58 |
+
public $available_for_multisite = true;
|
59 |
+
|
60 |
+
/**
|
61 |
+
* @param WCL_Plugin $plugin
|
62 |
+
*/
|
63 |
+
public function __construct(WCL_Plugin $plugin)
|
64 |
+
{
|
65 |
+
$this->menu_title = __('Firewall and Malware scanner', 'clearfy');
|
66 |
+
$this->page_menu_short_description = __('Firewall and Anti-virus', 'clearfy');
|
67 |
+
|
68 |
+
parent::__construct($plugin);
|
69 |
+
|
70 |
+
$this->plugin = $plugin;
|
71 |
+
}
|
72 |
+
|
73 |
+
/**
|
74 |
+
* Содержание страницы
|
75 |
+
*/
|
76 |
+
public function showPageContent()
|
77 |
+
{
|
78 |
+
require_once WCL_PLUGIN_DIR . '/admin/includes/classes/class.install-plugins-button.php';
|
79 |
+
$install_button = new WCL_InstallPluginsButton('wordpress', 'anti-spam/anti-spam.php');
|
80 |
+
$install_button->addClass('wbcr-factory-purchase-premium');
|
81 |
+
?>
|
82 |
+
<script>
|
83 |
+
jQuery(document).ready(function($) {
|
84 |
+
$.wbcr_factory_clearfy_219.hooks.add('clearfy/components/updated', function(button, component_name) {
|
85 |
+
if( component_name.plugin_action == 'install' ) {
|
86 |
+
button.removeClass('wbcr-factory-purchase-premium');
|
87 |
+
button.addClass('wbcr-factory-activate-premium');
|
88 |
+
}
|
89 |
+
|
90 |
+
if( component_name.plugin_action == 'activate' ) {
|
91 |
+
button.remove();
|
92 |
+
window.location.href = '<?= admin_url('admin.php?page=dashboard-titan_security'); ?>';
|
93 |
+
}
|
94 |
+
});
|
95 |
+
});
|
96 |
+
</script>
|
97 |
+
<div class="wbcr-factory-clearfy-219-multisite-suggetion">
|
98 |
+
<div class="wbcr-factory-inner-contanier">
|
99 |
+
<h3><?php _e('Install Firewall and Malware scanner (Titan sucurity) component', 'clearfy') ?></h3>
|
100 |
+
<p><?php _e('To start optimizing images, you need to install the additional component Titan security!', 'clearfy') ?></p>
|
101 |
+
<p><?php _e('Installing the component will not take you long, just click the install button, then activate.', 'clearfy') ?></p>
|
102 |
+
<p style="margin-top:20px">
|
103 |
+
<?php $install_button->renderLink(); ?>
|
104 |
+
</p>
|
105 |
+
</div>
|
106 |
+
</div>
|
107 |
+
<?php
|
108 |
+
}
|
109 |
+
}
|
admin/pages/class-pages-defence.php
CHANGED
@@ -17,7 +17,7 @@ class WCL_DefencePage extends WCL_Page {
|
|
17 |
* The id of the page in the admin menu.
|
18 |
*
|
19 |
* Mainly used to navigate between pages.
|
20 |
-
* @see
|
21 |
*
|
22 |
* @since 1.0.0
|
23 |
* @var string
|
@@ -132,7 +132,7 @@ class WCL_DefencePage extends WCL_Page {
|
|
132 |
//'cssClass' => 'postbox'
|
133 |
);
|
134 |
|
135 |
-
return
|
136 |
$form_options,
|
137 |
$this
|
138 |
), '1.3.1', 'wbcr_clearfy_defence_form_options' );
|
17 |
* The id of the page in the admin menu.
|
18 |
*
|
19 |
* Mainly used to navigate between pages.
|
20 |
+
* @see FactoryPages427_AdminPage
|
21 |
*
|
22 |
* @since 1.0.0
|
23 |
* @var string
|
132 |
//'cssClass' => 'postbox'
|
133 |
);
|
134 |
|
135 |
+
return wbcr_factory_427_apply_filters_deprecated( 'wbcr_clr_defence_form_options', array(
|
136 |
$form_options,
|
137 |
$this
|
138 |
), '1.3.1', 'wbcr_clearfy_defence_form_options' );
|
admin/pages/class-pages-hide-login-page.php
CHANGED
@@ -17,7 +17,7 @@
|
|
17 |
* The id of the page in the admin menu.
|
18 |
*
|
19 |
* Mainly used to navigate between pages.
|
20 |
-
* @see
|
21 |
*
|
22 |
* @since 1.0.0
|
23 |
* @var string
|
@@ -78,7 +78,7 @@
|
|
78 |
?>
|
79 |
<script>
|
80 |
jQuery(document).ready(function($) {
|
81 |
-
$.
|
82 |
if( component_name.plugin_action == 'install' ) {
|
83 |
button.removeClass('wbcr-factory-purchase-premium');
|
84 |
button.addClass('wbcr-factory-activate-premium');
|
@@ -91,7 +91,7 @@
|
|
91 |
});
|
92 |
});
|
93 |
</script>
|
94 |
-
<div class="wbcr-factory-clearfy-
|
95 |
<div class="wbcr-factory-inner-contanier">
|
96 |
<h3><?php _e('Install Hide login page component', 'clearfy') ?></h3>
|
97 |
|
17 |
* The id of the page in the admin menu.
|
18 |
*
|
19 |
* Mainly used to navigate between pages.
|
20 |
+
* @see FactoryPages427_AdminPage
|
21 |
*
|
22 |
* @since 1.0.0
|
23 |
* @var string
|
78 |
?>
|
79 |
<script>
|
80 |
jQuery(document).ready(function($) {
|
81 |
+
$.wbcr_factory_clearfy_219.hooks.add('clearfy/components/updated', function(button, component_name) {
|
82 |
if( component_name.plugin_action == 'install' ) {
|
83 |
button.removeClass('wbcr-factory-purchase-premium');
|
84 |
button.addClass('wbcr-factory-activate-premium');
|
91 |
});
|
92 |
});
|
93 |
</script>
|
94 |
+
<div class="wbcr-factory-clearfy-219-multisite-suggetion">
|
95 |
<div class="wbcr-factory-inner-contanier">
|
96 |
<h3><?php _e('Install Hide login page component', 'clearfy') ?></h3>
|
97 |
|
admin/pages/class-pages-image-optimization.php
CHANGED
@@ -19,7 +19,7 @@ class WCL_ImageOptimizationPage extends WCL_Page {
|
|
19 |
* Mainly used to navigate between pages.
|
20 |
*
|
21 |
* @since 1.0.0
|
22 |
-
* @see
|
23 |
*
|
24 |
* @var string
|
25 |
*/
|
@@ -79,7 +79,7 @@ class WCL_ImageOptimizationPage extends WCL_Page {
|
|
79 |
?>
|
80 |
<script>
|
81 |
jQuery(document).ready(function($) {
|
82 |
-
$.
|
83 |
if( component_name.plugin_action == 'install' ) {
|
84 |
button.removeClass('wbcr-factory-purchase-premium');
|
85 |
button.addClass('wbcr-factory-activate-premium');
|
@@ -92,7 +92,7 @@ class WCL_ImageOptimizationPage extends WCL_Page {
|
|
92 |
});
|
93 |
});
|
94 |
</script>
|
95 |
-
<div class="wbcr-factory-clearfy-
|
96 |
<div class="wbcr-factory-inner-contanier">
|
97 |
<h3><?php _e( 'Install Robin Image Optimizer component', 'clearfy' ) ?></h3>
|
98 |
<p><?php _e( 'To start optimizing images, you need to install the additional component Robin image optimizer!', 'clearfy' ) ?></p>
|
19 |
* Mainly used to navigate between pages.
|
20 |
*
|
21 |
* @since 1.0.0
|
22 |
+
* @see FactoryPages427_AdminPage
|
23 |
*
|
24 |
* @var string
|
25 |
*/
|
79 |
?>
|
80 |
<script>
|
81 |
jQuery(document).ready(function($) {
|
82 |
+
$.wbcr_factory_clearfy_219.hooks.add('clearfy/components/updated', function(button, component_name) {
|
83 |
if( component_name.plugin_action == 'install' ) {
|
84 |
button.removeClass('wbcr-factory-purchase-premium');
|
85 |
button.addClass('wbcr-factory-activate-premium');
|
92 |
});
|
93 |
});
|
94 |
</script>
|
95 |
+
<div class="wbcr-factory-clearfy-219-multisite-suggetion">
|
96 |
<div class="wbcr-factory-inner-contanier">
|
97 |
<h3><?php _e( 'Install Robin Image Optimizer component', 'clearfy' ) ?></h3>
|
98 |
<p><?php _e( 'To start optimizing images, you need to install the additional component Robin image optimizer!', 'clearfy' ) ?></p>
|
admin/pages/class-pages-license.php
CHANGED
@@ -13,7 +13,7 @@
|
|
13 |
*
|
14 |
* @copyright (c) 2018 Webraftic Ltd
|
15 |
*/
|
16 |
-
class WCL_LicensePage extends
|
17 |
|
18 |
/**
|
19 |
* {@inheritdoc}
|
@@ -36,12 +36,12 @@
|
|
36 |
/**
|
37 |
* WCL_LicensePage constructor.
|
38 |
*
|
39 |
-
* @param \
|
40 |
*
|
41 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
42 |
*
|
43 |
*/
|
44 |
-
public function __construct(
|
45 |
$this->menu_title = __( 'License', 'robin-image-optimizer' );
|
46 |
$this->page_menu_short_description = __( 'Product activation', 'robin-image-optimizer' );
|
47 |
$this->plan_name = __( 'Clearfy Business', 'robin-image-optimizer' );
|
13 |
*
|
14 |
* @copyright (c) 2018 Webraftic Ltd
|
15 |
*/
|
16 |
+
class WCL_LicensePage extends Wbcr_FactoryClearfy219_LicensePage {
|
17 |
|
18 |
/**
|
19 |
* {@inheritdoc}
|
36 |
/**
|
37 |
* WCL_LicensePage constructor.
|
38 |
*
|
39 |
+
* @param \Wbcr_Factory427_Plugin $plugin
|
40 |
*
|
41 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
42 |
*
|
43 |
*/
|
44 |
+
public function __construct( Wbcr_Factory427_Plugin $plugin ) {
|
45 |
$this->menu_title = __( 'License', 'robin-image-optimizer' );
|
46 |
$this->page_menu_short_description = __( 'Product activation', 'robin-image-optimizer' );
|
47 |
$this->plan_name = __( 'Clearfy Business', 'robin-image-optimizer' );
|
admin/pages/class-pages-performance-google.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* The id of the page in the admin menu.
|
17 |
*
|
18 |
* Mainly used to navigate between pages.
|
19 |
-
* @see
|
20 |
*
|
21 |
* @since 1.0.0
|
22 |
* @var string
|
16 |
* The id of the page in the admin menu.
|
17 |
*
|
18 |
* Mainly used to navigate between pages.
|
19 |
+
* @see FactoryPages427_AdminPage
|
20 |
*
|
21 |
* @since 1.0.0
|
22 |
* @var string
|
admin/pages/class-pages-quick-start.php
CHANGED
@@ -17,7 +17,7 @@
|
|
17 |
* The id of the page in the admin menu.
|
18 |
*
|
19 |
* Mainly used to navigate between pages.
|
20 |
-
* @see
|
21 |
*
|
22 |
* @since 1.0.0
|
23 |
* @var string
|
@@ -79,7 +79,7 @@
|
|
79 |
/**
|
80 |
* Requests assets (js and css) for the page.
|
81 |
*
|
82 |
-
* @see
|
83 |
*
|
84 |
* @since 1.0.0
|
85 |
* @return void
|
17 |
* The id of the page in the admin menu.
|
18 |
*
|
19 |
* Mainly used to navigate between pages.
|
20 |
+
* @see FactoryPages427_AdminPage
|
21 |
*
|
22 |
* @since 1.0.0
|
23 |
* @var string
|
79 |
/**
|
80 |
* Requests assets (js and css) for the page.
|
81 |
*
|
82 |
+
* @see FactoryPages427_AdminPage
|
83 |
*
|
84 |
* @since 1.0.0
|
85 |
* @return void
|
admin/pages/class-pages-seo-double-pages.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* The id of the page in the admin menu.
|
17 |
*
|
18 |
* Mainly used to navigate between pages.
|
19 |
-
* @see
|
20 |
*
|
21 |
* @since 1.0.0
|
22 |
* @var string
|
16 |
* The id of the page in the admin menu.
|
17 |
*
|
18 |
* Mainly used to navigate between pages.
|
19 |
+
* @see FactoryPages427_AdminPage
|
20 |
*
|
21 |
* @since 1.0.0
|
22 |
* @var string
|
admin/pages/class-pages-seo.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* The id of the page in the admin menu.
|
17 |
*
|
18 |
* Mainly used to navigate between pages.
|
19 |
-
* @see
|
20 |
*
|
21 |
* @since 1.0.0
|
22 |
* @var string
|
16 |
* The id of the page in the admin menu.
|
17 |
*
|
18 |
* Mainly used to navigate between pages.
|
19 |
+
* @see FactoryPages427_AdminPage
|
20 |
*
|
21 |
* @since 1.0.0
|
22 |
* @var string
|
admin/pages/class-pages-widgets.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* The id of the page in the admin menu.
|
17 |
*
|
18 |
* Mainly used to navigate between pages.
|
19 |
-
* @see
|
20 |
*
|
21 |
* @since 1.0.0
|
22 |
* @var string
|
16 |
* The id of the page in the admin menu.
|
17 |
*
|
18 |
* Mainly used to navigate between pages.
|
19 |
+
* @see FactoryPages427_AdminPage
|
20 |
*
|
21 |
* @since 1.0.0
|
22 |
* @var string
|
clearfy.php
CHANGED
@@ -4,15 +4,15 @@
|
|
4 |
* Plugin URI: https://wordpress.org/plugins/clearfy/
|
5 |
* Description: Disables unused Wordpress features, improves performance and increases SEO rankings, using Clearfy, which makes WordPress very easy.
|
6 |
* Author: Webcraftic <wordpress.webraftic@gmail.com>
|
7 |
-
* Version: 1.6.
|
8 |
* Text Domain: clearfy
|
9 |
* Domain Path: /languages/
|
10 |
* Author URI: http://clearfy.pro
|
11 |
-
* Framework Version:
|
12 |
*/
|
13 |
|
14 |
// Exit if accessed directly
|
15 |
-
if
|
16 |
exit;
|
17 |
}
|
18 |
|
@@ -71,12 +71,12 @@ $plugin_info = array(
|
|
71 |
),
|
72 |
// FRAMEWORK MODULES
|
73 |
'load_factory_modules' => array(
|
74 |
-
array('libs/factory/bootstrap', '
|
75 |
-
array('libs/factory/forms', '
|
76 |
-
array('libs/factory/pages', '
|
77 |
-
array('libs/factory/clearfy', '
|
78 |
-
array('libs/factory/freemius', '
|
79 |
-
array('libs/factory/adverts', '
|
80 |
),
|
81 |
'load_plugin_components' => array(
|
82 |
'disable_notices' => array(
|
@@ -116,7 +116,7 @@ $plugin_info = array(
|
|
116 |
|
117 |
|
118 |
|
119 |
-
$clearfy_compatibility = new
|
120 |
'plugin_already_activate' => defined('WCL_PLUGIN_ACTIVE'),
|
121 |
'required_php_version' => '5.4',
|
122 |
'required_wp_version' => '4.2.0',
|
@@ -147,7 +147,7 @@ define('WBCR_CLEARFY_PLUGIN_ACTIVE', true);
|
|
147 |
|
148 |
// Plugin version
|
149 |
define('WCL_PLUGIN_VERSION', $clearfy_compatibility->get_plugin_version());
|
150 |
-
define('WCL_FRAMEWORK_VER', '
|
151 |
|
152 |
define('WCL_PLUGIN_DIR', dirname(__FILE__));
|
153 |
define('WCL_PLUGIN_BASE', plugin_basename(__FILE__));
|
4 |
* Plugin URI: https://wordpress.org/plugins/clearfy/
|
5 |
* Description: Disables unused Wordpress features, improves performance and increases SEO rankings, using Clearfy, which makes WordPress very easy.
|
6 |
* Author: Webcraftic <wordpress.webraftic@gmail.com>
|
7 |
+
* Version: 1.6.5
|
8 |
* Text Domain: clearfy
|
9 |
* Domain Path: /languages/
|
10 |
* Author URI: http://clearfy.pro
|
11 |
+
* Framework Version: FACTORY_427_VERSION
|
12 |
*/
|
13 |
|
14 |
// Exit if accessed directly
|
15 |
+
if( !defined('ABSPATH') ) {
|
16 |
exit;
|
17 |
}
|
18 |
|
71 |
),
|
72 |
// FRAMEWORK MODULES
|
73 |
'load_factory_modules' => array(
|
74 |
+
array('libs/factory/bootstrap', 'factory_bootstrap_428', 'admin'),
|
75 |
+
array('libs/factory/forms', 'factory_forms_425', 'admin'),
|
76 |
+
array('libs/factory/pages', 'factory_pages_427', 'admin'),
|
77 |
+
array('libs/factory/clearfy', 'factory_clearfy_219', 'all'),
|
78 |
+
array('libs/factory/freemius', 'factory_freemius_115', 'all'),
|
79 |
+
array('libs/factory/adverts', 'factory_adverts_107', 'admin')
|
80 |
),
|
81 |
'load_plugin_components' => array(
|
82 |
'disable_notices' => array(
|
116 |
|
117 |
|
118 |
|
119 |
+
$clearfy_compatibility = new Wbcr_Factory427_Requirements(__FILE__, array_merge($plugin_info, array(
|
120 |
'plugin_already_activate' => defined('WCL_PLUGIN_ACTIVE'),
|
121 |
'required_php_version' => '5.4',
|
122 |
'required_wp_version' => '4.2.0',
|
147 |
|
148 |
// Plugin version
|
149 |
define('WCL_PLUGIN_VERSION', $clearfy_compatibility->get_plugin_version());
|
150 |
+
define('WCL_FRAMEWORK_VER', 'FACTORY_427_VERSION');
|
151 |
|
152 |
define('WCL_PLUGIN_DIR', dirname(__FILE__));
|
153 |
define('WCL_PLUGIN_BASE', plugin_basename(__FILE__));
|
components/assets-manager/admin/activation.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
*
|
6 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
7 |
* @copyright (c) 09.03.2018, Webcraftic
|
8 |
-
* @see
|
9 |
* @version 1.0
|
10 |
*/
|
11 |
|
@@ -14,7 +14,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
exit;
|
15 |
}
|
16 |
|
17 |
-
class WGNZ_Activation extends
|
18 |
|
19 |
/**
|
20 |
* Runs activation actions.
|
5 |
*
|
6 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
7 |
* @copyright (c) 09.03.2018, Webcraftic
|
8 |
+
* @see Wbcr_Factory427_Activator
|
9 |
* @version 1.0
|
10 |
*/
|
11 |
|
14 |
exit;
|
15 |
}
|
16 |
|
17 |
+
class WGNZ_Activation extends Wbcr_Factory427_Activator {
|
18 |
|
19 |
/**
|
20 |
* Runs activation actions.
|
components/assets-manager/admin/ajax/save-settings.php
CHANGED
@@ -203,7 +203,7 @@ function wam_save_settings_action() {
|
|
203 |
wbcr_gnz_deploy_mu_plugin();
|
204 |
|
205 |
// Flush cache for all cache plugins
|
206 |
-
|
207 |
}
|
208 |
|
209 |
wp_send_json_success( [
|
203 |
wbcr_gnz_deploy_mu_plugin();
|
204 |
|
205 |
// Flush cache for all cache plugins
|
206 |
+
WbcrFactoryClearfy219_Helpers::flushPageCache();
|
207 |
}
|
208 |
|
209 |
wp_send_json_success( [
|
components/assets-manager/admin/boot.php
CHANGED
@@ -167,7 +167,7 @@ if ( defined( 'LOADING_ASSETS_MANAGER_AS_ADDON' ) ) {
|
|
167 |
*
|
168 |
* @param array $widgets
|
169 |
* @param string $position
|
170 |
-
* @param
|
171 |
*/
|
172 |
add_filter( 'wbcr/factory/pages/impressive/widgets', function ( $widgets, $position, $plugin ) {
|
173 |
if ( $plugin->getPluginName() == WGZ_Plugin::app()->getPluginName() ) {
|
@@ -225,5 +225,5 @@ if ( defined( 'LOADING_ASSETS_MANAGER_AS_ADDON' ) ) {
|
|
225 |
return $page_url;
|
226 |
}
|
227 |
|
228 |
-
add_filter( '
|
229 |
}
|
167 |
*
|
168 |
* @param array $widgets
|
169 |
* @param string $position
|
170 |
+
* @param Wbcr_Factory427_Plugin $plugin
|
171 |
*/
|
172 |
add_filter( 'wbcr/factory/pages/impressive/widgets', function ( $widgets, $position, $plugin ) {
|
173 |
if ( $plugin->getPluginName() == WGZ_Plugin::app()->getPluginName() ) {
|
225 |
return $page_url;
|
226 |
}
|
227 |
|
228 |
+
add_filter( 'wbcr_factory_pages_427_imppage_rating_widget_url', 'wbcr_gnz_rating_widget_url', 10, 2 );
|
229 |
}
|
components/assets-manager/admin/index.php
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
<?php
|
2 |
-
// Silence is golden.
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
components/assets-manager/admin/pages/class-pages-more-features.php
CHANGED
@@ -17,6 +17,6 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
17 |
*
|
18 |
* @copyright (c) 2018 Webraftic Ltd
|
19 |
*/
|
20 |
-
class WGZ_MoreFeaturesPage extends
|
21 |
|
22 |
}
|
17 |
*
|
18 |
* @copyright (c) 2018 Webraftic Ltd
|
19 |
*/
|
20 |
+
class WGZ_MoreFeaturesPage extends Wbcr_FactoryClearfy219_MoreFeaturesPage {
|
21 |
|
22 |
}
|
components/assets-manager/admin/pages/class-pages-settings.php
CHANGED
@@ -16,7 +16,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
16 |
*
|
17 |
* @copyright (c) 2018 Webraftic Ltd
|
18 |
*/
|
19 |
-
class WGZ_AssetsManagerPage extends
|
20 |
|
21 |
/**
|
22 |
* The id of the page in the admin menu.
|
@@ -24,7 +24,7 @@ class WGZ_AssetsManagerPage extends Wbcr_FactoryClearfy217_PageBase {
|
|
24 |
* Mainly used to navigate between pages.
|
25 |
*
|
26 |
* @since 1.0.0
|
27 |
-
* @see
|
28 |
*
|
29 |
* @var string
|
30 |
*/
|
@@ -48,9 +48,9 @@ class WGZ_AssetsManagerPage extends Wbcr_FactoryClearfy217_PageBase {
|
|
48 |
public $available_for_multisite = true;
|
49 |
|
50 |
/**
|
51 |
-
* @param
|
52 |
*/
|
53 |
-
public function __construct(
|
54 |
$this->menu_title = __( 'Assets manager', 'gonzales' );
|
55 |
|
56 |
if ( ! defined( 'LOADING_ASSETS_MANAGER_AS_ADDON' ) ) {
|
16 |
*
|
17 |
* @copyright (c) 2018 Webraftic Ltd
|
18 |
*/
|
19 |
+
class WGZ_AssetsManagerPage extends Wbcr_FactoryClearfy219_PageBase {
|
20 |
|
21 |
/**
|
22 |
* The id of the page in the admin menu.
|
24 |
* Mainly used to navigate between pages.
|
25 |
*
|
26 |
* @since 1.0.0
|
27 |
+
* @see FactoryPages427_AdminPage
|
28 |
*
|
29 |
* @var string
|
30 |
*/
|
48 |
public $available_for_multisite = true;
|
49 |
|
50 |
/**
|
51 |
+
* @param Wbcr_Factory427_Plugin $plugin
|
52 |
*/
|
53 |
+
public function __construct( Wbcr_Factory427_Plugin $plugin ) {
|
54 |
$this->menu_title = __( 'Assets manager', 'gonzales' );
|
55 |
|
56 |
if ( ! defined( 'LOADING_ASSETS_MANAGER_AS_ADDON' ) ) {
|
components/assets-manager/admin/pages/index.php
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
<?php
|
2 |
-
// Silence is golden.
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
components/assets-manager/assets/css/PNotifyBrightTheme.css
CHANGED
@@ -1,224 +1,224 @@
|
|
1 |
-
/*
|
2 |
-
Color Scheme: http://paletton.com/palette.php?uid=c1T3n2J040kpEKzpEKzbEPSOEyiNk9W
|
3 |
-
*/
|
4 |
-
[ui-pnotify].ui-pnotify {
|
5 |
-
z-index: 999999999 !important;
|
6 |
-
}
|
7 |
-
|
8 |
-
[ui-pnotify].ui-pnotify .brighttheme {
|
9 |
-
-webkit-border-radius: 0;
|
10 |
-
-moz-border-radius: 0;
|
11 |
-
border-radius: 0;
|
12 |
-
}
|
13 |
-
|
14 |
-
[ui-pnotify].ui-pnotify .brighttheme.ui-pnotify-container {
|
15 |
-
padding: 1.3rem;
|
16 |
-
}
|
17 |
-
|
18 |
-
[ui-pnotify].ui-pnotify-with-icon .brighttheme .ui-pnotify-title,
|
19 |
-
[ui-pnotify].ui-pnotify-with-icon .brighttheme .ui-pnotify-text,
|
20 |
-
[ui-pnotify].ui-pnotify-with-icon .brighttheme .ui-pnotify-confirm {
|
21 |
-
margin-left: 1.8rem;
|
22 |
-
}
|
23 |
-
|
24 |
-
[dir=rtl] [ui-pnotify].ui-pnotify-with-icon .brighttheme .ui-pnotify-title,
|
25 |
-
[dir=rtl] [ui-pnotify].ui-pnotify-with-icon .brighttheme .ui-pnotify-text,
|
26 |
-
[dir=rtl] [ui-pnotify].ui-pnotify-with-icon .brighttheme .ui-pnotify-confirm {
|
27 |
-
margin-right: 1.8rem;
|
28 |
-
margin-left: 0;
|
29 |
-
}
|
30 |
-
|
31 |
-
[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-title {
|
32 |
-
font-size: 1.2rem;
|
33 |
-
line-height: 1.4rem;
|
34 |
-
margin-top: -.2rem;
|
35 |
-
margin-bottom: 1rem;
|
36 |
-
}
|
37 |
-
|
38 |
-
[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-text {
|
39 |
-
font-size: 1rem;
|
40 |
-
line-height: 1.2rem;
|
41 |
-
margin-top: 0;
|
42 |
-
}
|
43 |
-
|
44 |
-
[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-icon {
|
45 |
-
line-height: 1;
|
46 |
-
}
|
47 |
-
|
48 |
-
[ui-pnotify].ui-pnotify .brighttheme-notice {
|
49 |
-
background-color: #FFFFA2;
|
50 |
-
border: 0 solid #FFFF00;
|
51 |
-
}
|
52 |
-
|
53 |
-
[ui-pnotify].ui-pnotify .brighttheme-notice h4,
|
54 |
-
[ui-pnotify].ui-pnotify .brighttheme-notice div {
|
55 |
-
color: #4F4F00;
|
56 |
-
}
|
57 |
-
|
58 |
-
[ui-pnotify].ui-pnotify .brighttheme-info {
|
59 |
-
background-color: #8FCEDD;
|
60 |
-
border: 0 solid #0286A5;
|
61 |
-
}
|
62 |
-
|
63 |
-
[ui-pnotify].ui-pnotify .brighttheme-info h4,
|
64 |
-
[ui-pnotify].ui-pnotify .brighttheme-info div {
|
65 |
-
color: #012831;
|
66 |
-
}
|
67 |
-
|
68 |
-
[ui-pnotify].ui-pnotify .brighttheme-success {
|
69 |
-
background-color: #AFF29A;
|
70 |
-
border: 0 solid #35DB00;
|
71 |
-
}
|
72 |
-
|
73 |
-
[ui-pnotify].ui-pnotify .brighttheme-success h4,
|
74 |
-
[ui-pnotify].ui-pnotify .brighttheme-success div {
|
75 |
-
color: #104300;
|
76 |
-
}
|
77 |
-
|
78 |
-
[ui-pnotify].ui-pnotify .brighttheme-error {
|
79 |
-
background-color: #FFABA2;
|
80 |
-
background-image: repeating-linear-gradient(135deg, transparent, transparent 35px, rgba(255, 255, 255, .3) 35px, rgba(255, 255, 255, .3) 70px);
|
81 |
-
border: 0 solid #FF1800;
|
82 |
-
}
|
83 |
-
|
84 |
-
[ui-pnotify].ui-pnotify .brighttheme-error h4,
|
85 |
-
[ui-pnotify].ui-pnotify .brighttheme-error div {
|
86 |
-
color: #4F0800;
|
87 |
-
}
|
88 |
-
|
89 |
-
[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-closer,
|
90 |
-
[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-sticker {
|
91 |
-
font-size: 1rem;
|
92 |
-
line-height: 1.2rem;
|
93 |
-
}
|
94 |
-
|
95 |
-
[ui-pnotify].ui-pnotify .brighttheme-icon-notice,
|
96 |
-
[ui-pnotify].ui-pnotify .brighttheme-icon-info,
|
97 |
-
[ui-pnotify].ui-pnotify .brighttheme-icon-success,
|
98 |
-
[ui-pnotify].ui-pnotify .brighttheme-icon-error,
|
99 |
-
[ui-pnotify].ui-pnotify .brighttheme-icon-closer,
|
100 |
-
[ui-pnotify].ui-pnotify .brighttheme-icon-sticker {
|
101 |
-
position: relative;
|
102 |
-
width: 1rem;
|
103 |
-
height: 1rem;
|
104 |
-
font-size: 1rem;
|
105 |
-
font-weight: bold;
|
106 |
-
line-height: 1rem;
|
107 |
-
font-family: "Courier New", Courier, monospace;
|
108 |
-
border-radius: 50%;
|
109 |
-
}
|
110 |
-
|
111 |
-
[ui-pnotify].ui-pnotify .brighttheme-icon-notice:after,
|
112 |
-
[ui-pnotify].ui-pnotify .brighttheme-icon-info:after,
|
113 |
-
[ui-pnotify].ui-pnotify .brighttheme-icon-success:after,
|
114 |
-
[ui-pnotify].ui-pnotify .brighttheme-icon-closer:after,
|
115 |
-
[ui-pnotify].ui-pnotify .brighttheme-icon-sticker:after {
|
116 |
-
position: absolute;
|
117 |
-
top: 0;
|
118 |
-
left: .2rem;
|
119 |
-
}
|
120 |
-
|
121 |
-
[ui-pnotify].ui-pnotify .brighttheme-icon-notice {
|
122 |
-
background-color: #2E2E00;
|
123 |
-
color: #FFFFA2;
|
124 |
-
}
|
125 |
-
|
126 |
-
[ui-pnotify].ui-pnotify .brighttheme-icon-notice:after {
|
127 |
-
content: "!";
|
128 |
-
}
|
129 |
-
|
130 |
-
[ui-pnotify].ui-pnotify .brighttheme-icon-info {
|
131 |
-
background-color: #012831;
|
132 |
-
color: #8FCEDD;
|
133 |
-
}
|
134 |
-
|
135 |
-
[ui-pnotify].ui-pnotify .brighttheme-icon-info:after {
|
136 |
-
content: "i";
|
137 |
-
}
|
138 |
-
|
139 |
-
[ui-pnotify].ui-pnotify .brighttheme-icon-success {
|
140 |
-
background-color: #104300;
|
141 |
-
color: #AFF29A;
|
142 |
-
}
|
143 |
-
|
144 |
-
[ui-pnotify].ui-pnotify .brighttheme-icon-success:after {
|
145 |
-
content: "\002713";
|
146 |
-
}
|
147 |
-
|
148 |
-
[ui-pnotify].ui-pnotify .brighttheme-icon-error {
|
149 |
-
width: 0;
|
150 |
-
height: 0;
|
151 |
-
font-size: 0;
|
152 |
-
line-height: 0;
|
153 |
-
border-radius: 0;
|
154 |
-
border-left: .6rem solid transparent;
|
155 |
-
border-right: .6rem solid transparent;
|
156 |
-
border-bottom: 1.2rem solid #2E0400;
|
157 |
-
color: #FFABA2;
|
158 |
-
}
|
159 |
-
|
160 |
-
[ui-pnotify].ui-pnotify .brighttheme-icon-error:after {
|
161 |
-
position: absolute;
|
162 |
-
top: .1rem;
|
163 |
-
left: -0.25rem;
|
164 |
-
font-size: .9rem;
|
165 |
-
font-weight: bold;
|
166 |
-
line-height: 1.4rem;
|
167 |
-
font-family: "Courier New", Courier, monospace;
|
168 |
-
content: "!";
|
169 |
-
}
|
170 |
-
|
171 |
-
[ui-pnotify].ui-pnotify .brighttheme-icon-closer,
|
172 |
-
[ui-pnotify].ui-pnotify .brighttheme-icon-sticker {
|
173 |
-
display: inline-block;
|
174 |
-
}
|
175 |
-
|
176 |
-
[ui-pnotify].ui-pnotify .brighttheme-icon-closer:after {
|
177 |
-
content: "\002715";
|
178 |
-
}
|
179 |
-
|
180 |
-
[ui-pnotify].ui-pnotify .brighttheme-icon-sticker:after {
|
181 |
-
top: -1px;
|
182 |
-
content: "\002016";
|
183 |
-
}
|
184 |
-
|
185 |
-
[ui-pnotify].ui-pnotify .brighttheme-icon-sticker.brighttheme-icon-stuck:after {
|
186 |
-
content: "\00003E";
|
187 |
-
}
|
188 |
-
|
189 |
-
[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-confirm {
|
190 |
-
margin-top: 1rem;
|
191 |
-
}
|
192 |
-
|
193 |
-
[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-prompt-bar {
|
194 |
-
margin-bottom: 1rem;
|
195 |
-
}
|
196 |
-
|
197 |
-
[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-action-button {
|
198 |
-
text-transform: uppercase;
|
199 |
-
font-weight: bold;
|
200 |
-
padding: .4rem 1rem;
|
201 |
-
border: none;
|
202 |
-
background: transparent;
|
203 |
-
cursor: pointer;
|
204 |
-
}
|
205 |
-
|
206 |
-
[ui-pnotify].ui-pnotify .brighttheme-notice .ui-pnotify-action-button.brighttheme-primary {
|
207 |
-
background-color: #FFFF00;
|
208 |
-
color: #4F4F00;
|
209 |
-
}
|
210 |
-
|
211 |
-
[ui-pnotify].ui-pnotify .brighttheme-info .ui-pnotify-action-button.brighttheme-primary {
|
212 |
-
background-color: #0286A5;
|
213 |
-
color: #012831;
|
214 |
-
}
|
215 |
-
|
216 |
-
[ui-pnotify].ui-pnotify .brighttheme-success .ui-pnotify-action-button.brighttheme-primary {
|
217 |
-
background-color: #35DB00;
|
218 |
-
color: #104300;
|
219 |
-
}
|
220 |
-
|
221 |
-
[ui-pnotify].ui-pnotify .brighttheme-error .ui-pnotify-action-button.brighttheme-primary {
|
222 |
-
background-color: #FF1800;
|
223 |
-
color: #4F0800;
|
224 |
-
}
|
1 |
+
/*
|
2 |
+
Color Scheme: http://paletton.com/palette.php?uid=c1T3n2J040kpEKzpEKzbEPSOEyiNk9W
|
3 |
+
*/
|
4 |
+
[ui-pnotify].ui-pnotify {
|
5 |
+
z-index: 999999999 !important;
|
6 |
+
}
|
7 |
+
|
8 |
+
[ui-pnotify].ui-pnotify .brighttheme {
|
9 |
+
-webkit-border-radius: 0;
|
10 |
+
-moz-border-radius: 0;
|
11 |
+
border-radius: 0;
|
12 |
+
}
|
13 |
+
|
14 |
+
[ui-pnotify].ui-pnotify .brighttheme.ui-pnotify-container {
|
15 |
+
padding: 1.3rem;
|
16 |
+
}
|
17 |
+
|
18 |
+
[ui-pnotify].ui-pnotify-with-icon .brighttheme .ui-pnotify-title,
|
19 |
+
[ui-pnotify].ui-pnotify-with-icon .brighttheme .ui-pnotify-text,
|
20 |
+
[ui-pnotify].ui-pnotify-with-icon .brighttheme .ui-pnotify-confirm {
|
21 |
+
margin-left: 1.8rem;
|
22 |
+
}
|
23 |
+
|
24 |
+
[dir=rtl] [ui-pnotify].ui-pnotify-with-icon .brighttheme .ui-pnotify-title,
|
25 |
+
[dir=rtl] [ui-pnotify].ui-pnotify-with-icon .brighttheme .ui-pnotify-text,
|
26 |
+
[dir=rtl] [ui-pnotify].ui-pnotify-with-icon .brighttheme .ui-pnotify-confirm {
|
27 |
+
margin-right: 1.8rem;
|
28 |
+
margin-left: 0;
|
29 |
+
}
|
30 |
+
|
31 |
+
[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-title {
|
32 |
+
font-size: 1.2rem;
|
33 |
+
line-height: 1.4rem;
|
34 |
+
margin-top: -.2rem;
|
35 |
+
margin-bottom: 1rem;
|
36 |
+
}
|
37 |
+
|
38 |
+
[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-text {
|
39 |
+
font-size: 1rem;
|
40 |
+
line-height: 1.2rem;
|
41 |
+
margin-top: 0;
|
42 |
+
}
|
43 |
+
|
44 |
+
[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-icon {
|
45 |
+
line-height: 1;
|
46 |
+
}
|
47 |
+
|
48 |
+
[ui-pnotify].ui-pnotify .brighttheme-notice {
|
49 |
+
background-color: #FFFFA2;
|
50 |
+
border: 0 solid #FFFF00;
|
51 |
+
}
|
52 |
+
|
53 |
+
[ui-pnotify].ui-pnotify .brighttheme-notice h4,
|
54 |
+
[ui-pnotify].ui-pnotify .brighttheme-notice div {
|
55 |
+
color: #4F4F00;
|
56 |
+
}
|
57 |
+
|
58 |
+
[ui-pnotify].ui-pnotify .brighttheme-info {
|
59 |
+
background-color: #8FCEDD;
|
60 |
+
border: 0 solid #0286A5;
|
61 |
+
}
|
62 |
+
|
63 |
+
[ui-pnotify].ui-pnotify .brighttheme-info h4,
|
64 |
+
[ui-pnotify].ui-pnotify .brighttheme-info div {
|
65 |
+
color: #012831;
|
66 |
+
}
|
67 |
+
|
68 |
+
[ui-pnotify].ui-pnotify .brighttheme-success {
|
69 |
+
background-color: #AFF29A;
|
70 |
+
border: 0 solid #35DB00;
|
71 |
+
}
|
72 |
+
|
73 |
+
[ui-pnotify].ui-pnotify .brighttheme-success h4,
|
74 |
+
[ui-pnotify].ui-pnotify .brighttheme-success div {
|
75 |
+
color: #104300;
|
76 |
+
}
|
77 |
+
|
78 |
+
[ui-pnotify].ui-pnotify .brighttheme-error {
|
79 |
+
background-color: #FFABA2;
|
80 |
+
background-image: repeating-linear-gradient(135deg, transparent, transparent 35px, rgba(255, 255, 255, .3) 35px, rgba(255, 255, 255, .3) 70px);
|
81 |
+
border: 0 solid #FF1800;
|
82 |
+
}
|
83 |
+
|
84 |
+
[ui-pnotify].ui-pnotify .brighttheme-error h4,
|
85 |
+
[ui-pnotify].ui-pnotify .brighttheme-error div {
|
86 |
+
color: #4F0800;
|
87 |
+
}
|
88 |
+
|
89 |
+
[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-closer,
|
90 |
+
[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-sticker {
|
91 |
+
font-size: 1rem;
|
92 |
+
line-height: 1.2rem;
|
93 |
+
}
|
94 |
+
|
95 |
+
[ui-pnotify].ui-pnotify .brighttheme-icon-notice,
|
96 |
+
[ui-pnotify].ui-pnotify .brighttheme-icon-info,
|
97 |
+
[ui-pnotify].ui-pnotify .brighttheme-icon-success,
|
98 |
+
[ui-pnotify].ui-pnotify .brighttheme-icon-error,
|
99 |
+
[ui-pnotify].ui-pnotify .brighttheme-icon-closer,
|
100 |
+
[ui-pnotify].ui-pnotify .brighttheme-icon-sticker {
|
101 |
+
position: relative;
|
102 |
+
width: 1rem;
|
103 |
+
height: 1rem;
|
104 |
+
font-size: 1rem;
|
105 |
+
font-weight: bold;
|
106 |
+
line-height: 1rem;
|
107 |
+
font-family: "Courier New", Courier, monospace;
|
108 |
+
border-radius: 50%;
|
109 |
+
}
|
110 |
+
|
111 |
+
[ui-pnotify].ui-pnotify .brighttheme-icon-notice:after,
|
112 |
+
[ui-pnotify].ui-pnotify .brighttheme-icon-info:after,
|
113 |
+
[ui-pnotify].ui-pnotify .brighttheme-icon-success:after,
|
114 |
+
[ui-pnotify].ui-pnotify .brighttheme-icon-closer:after,
|
115 |
+
[ui-pnotify].ui-pnotify .brighttheme-icon-sticker:after {
|
116 |
+
position: absolute;
|
117 |
+
top: 0;
|
118 |
+
left: .2rem;
|
119 |
+
}
|
120 |
+
|
121 |
+
[ui-pnotify].ui-pnotify .brighttheme-icon-notice {
|
122 |
+
background-color: #2E2E00;
|
123 |
+
color: #FFFFA2;
|
124 |
+
}
|
125 |
+
|
126 |
+
[ui-pnotify].ui-pnotify .brighttheme-icon-notice:after {
|
127 |
+
content: "!";
|
128 |
+
}
|
129 |
+
|
130 |
+
[ui-pnotify].ui-pnotify .brighttheme-icon-info {
|
131 |
+
background-color: #012831;
|
132 |
+
color: #8FCEDD;
|
133 |
+
}
|
134 |
+
|
135 |
+
[ui-pnotify].ui-pnotify .brighttheme-icon-info:after {
|
136 |
+
content: "i";
|
137 |
+
}
|
138 |
+
|
139 |
+
[ui-pnotify].ui-pnotify .brighttheme-icon-success {
|
140 |
+
background-color: #104300;
|
141 |
+
color: #AFF29A;
|
142 |
+
}
|
143 |
+
|
144 |
+
[ui-pnotify].ui-pnotify .brighttheme-icon-success:after {
|
145 |
+
content: "\002713";
|
146 |
+
}
|
147 |
+
|
148 |
+
[ui-pnotify].ui-pnotify .brighttheme-icon-error {
|
149 |
+
width: 0;
|
150 |
+
height: 0;
|
151 |
+
font-size: 0;
|
152 |
+
line-height: 0;
|
153 |
+
border-radius: 0;
|
154 |
+
border-left: .6rem solid transparent;
|
155 |
+
border-right: .6rem solid transparent;
|
156 |
+
border-bottom: 1.2rem solid #2E0400;
|
157 |
+
color: #FFABA2;
|
158 |
+
}
|
159 |
+
|
160 |
+
[ui-pnotify].ui-pnotify .brighttheme-icon-error:after {
|
161 |
+
position: absolute;
|
162 |
+
top: .1rem;
|
163 |
+
left: -0.25rem;
|
164 |
+
font-size: .9rem;
|
165 |
+
font-weight: bold;
|
166 |
+
line-height: 1.4rem;
|
167 |
+
font-family: "Courier New", Courier, monospace;
|
168 |
+
content: "!";
|
169 |
+
}
|
170 |
+
|
171 |
+
[ui-pnotify].ui-pnotify .brighttheme-icon-closer,
|
172 |
+
[ui-pnotify].ui-pnotify .brighttheme-icon-sticker {
|
173 |
+
display: inline-block;
|
174 |
+
}
|
175 |
+
|
176 |
+
[ui-pnotify].ui-pnotify .brighttheme-icon-closer:after {
|
177 |
+
content: "\002715";
|
178 |
+
}
|
179 |
+
|
180 |
+
[ui-pnotify].ui-pnotify .brighttheme-icon-sticker:after {
|
181 |
+
top: -1px;
|
182 |
+
content: "\002016";
|
183 |
+
}
|
184 |
+
|
185 |
+
[ui-pnotify].ui-pnotify .brighttheme-icon-sticker.brighttheme-icon-stuck:after {
|
186 |
+
content: "\00003E";
|
187 |
+
}
|
188 |
+
|
189 |
+
[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-confirm {
|
190 |
+
margin-top: 1rem;
|
191 |
+
}
|
192 |
+
|
193 |
+
[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-prompt-bar {
|
194 |
+
margin-bottom: 1rem;
|
195 |
+
}
|
196 |
+
|
197 |
+
[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-action-button {
|
198 |
+
text-transform: uppercase;
|
199 |
+
font-weight: bold;
|
200 |
+
padding: .4rem 1rem;
|
201 |
+
border: none;
|
202 |
+
background: transparent;
|
203 |
+
cursor: pointer;
|
204 |
+
}
|
205 |
+
|
206 |
+
[ui-pnotify].ui-pnotify .brighttheme-notice .ui-pnotify-action-button.brighttheme-primary {
|
207 |
+
background-color: #FFFF00;
|
208 |
+
color: #4F4F00;
|
209 |
+
}
|
210 |
+
|
211 |
+
[ui-pnotify].ui-pnotify .brighttheme-info .ui-pnotify-action-button.brighttheme-primary {
|
212 |
+
background-color: #0286A5;
|
213 |
+
color: #012831;
|
214 |
+
}
|
215 |
+
|
216 |
+
[ui-pnotify].ui-pnotify .brighttheme-success .ui-pnotify-action-button.brighttheme-primary {
|
217 |
+
background-color: #35DB00;
|
218 |
+
color: #104300;
|
219 |
+
}
|
220 |
+
|
221 |
+
[ui-pnotify].ui-pnotify .brighttheme-error .ui-pnotify-action-button.brighttheme-primary {
|
222 |
+
background-color: #FF1800;
|
223 |
+
color: #4F0800;
|
224 |
+
}
|
components/assets-manager/assets/css/assets-conditions.css
CHANGED
@@ -1,175 +1,175 @@
|
|
1 |
-
/* ==*/
|
2 |
-
#WBCR-AM .wam-cleditor {
|
3 |
-
box-sizing: border-box;
|
4 |
-
/* Conditions */
|
5 |
-
/* Buttons */
|
6 |
-
}
|
7 |
-
#WBCR-AM .wam-cleditor input {
|
8 |
-
float: none;
|
9 |
-
position: relative;
|
10 |
-
top: 0;
|
11 |
-
padding: 4px;
|
12 |
-
}
|
13 |
-
#WBCR-AM .wam-cleditor.wam-cleditor__disable-plugin-mode .wam-cleditor__param-select option[value="location-taxonomy"],
|
14 |
-
#WBCR-AM .wam-cleditor.wam-cleditor__disable-plugin-mode .wam-cleditor__param-select option[value="location-post-type"],
|
15 |
-
#WBCR-AM .wam-cleditor.wam-cleditor__disable-plugin-mode .wam-cleditor__param-select option[value="location-some-page"] {
|
16 |
-
display: none;
|
17 |
-
}
|
18 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__text {
|
19 |
-
width: 300px;
|
20 |
-
}
|
21 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__box {
|
22 |
-
padding: 25px 15px 15px 15px;
|
23 |
-
border-left: 1px solid #ddd;
|
24 |
-
background-color: #f9f9f9;
|
25 |
-
}
|
26 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__when-empty {
|
27 |
-
display: none;
|
28 |
-
}
|
29 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__empty .wam-cleditor__when-empty {
|
30 |
-
display: block;
|
31 |
-
}
|
32 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__head {
|
33 |
-
display: flex;
|
34 |
-
overflow: auto;
|
35 |
-
background-color: #fff;
|
36 |
-
border-bottom: 1px solid #ddd;
|
37 |
-
border-left: 1px solid #ddd;
|
38 |
-
padding: 10px 15px;
|
39 |
-
}
|
40 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__head .wam-cleditor__head-left,
|
41 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__head .wam-cleditor__head-right {
|
42 |
-
display: inline-block;
|
43 |
-
}
|
44 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__head .wam-cleditor__head-left {
|
45 |
-
text-align: left;
|
46 |
-
flex: 2 0 0;
|
47 |
-
}
|
48 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__head .wam-cleditor__head-right {
|
49 |
-
text-align: right;
|
50 |
-
flex: 1 0 0;
|
51 |
-
}
|
52 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__head .wam-cleditor__first-group-title {
|
53 |
-
text-transform: uppercase;
|
54 |
-
margin: 0;
|
55 |
-
font-weight: 600;
|
56 |
-
font-size: 14px;
|
57 |
-
line-height: 2.3;
|
58 |
-
}
|
59 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__wrap .wam-cleditor__groups {
|
60 |
-
padding-left: 20px;
|
61 |
-
border-left: 1px solid #ddd;
|
62 |
-
}
|
63 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__groups .wam-cleditor__point {
|
64 |
-
background-color: #fff;
|
65 |
-
border: 1px solid #0073aa;
|
66 |
-
border-radius: 100%;
|
67 |
-
width: 11px;
|
68 |
-
height: 11px;
|
69 |
-
display: block;
|
70 |
-
position: absolute;
|
71 |
-
margin-left: -26px;
|
72 |
-
margin-top: 19px;
|
73 |
-
}
|
74 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__groups .wam-cleditor__point:after {
|
75 |
-
position: absolute;
|
76 |
-
content: " ";
|
77 |
-
display: block;
|
78 |
-
width: 15px;
|
79 |
-
border-top: 1px solid #ddd;
|
80 |
-
margin-left: 10px;
|
81 |
-
margin-top: 4px;
|
82 |
-
}
|
83 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__group {
|
84 |
-
/*@{prefix}__group + @{prefix}__group {
|
85 |
-
margin-top: 20px;
|
86 |
-
}*/
|
87 |
-
}
|
88 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__group .wam-cleditor__group-type {
|
89 |
-
display: none;
|
90 |
-
text-transform: uppercase;
|
91 |
-
margin: 0;
|
92 |
-
line-height: 2.3;
|
93 |
-
font-size: 12px;
|
94 |
-
font-weight: bold;
|
95 |
-
font-style: normal;
|
96 |
-
color: #222;
|
97 |
-
background: #f3f3f3;
|
98 |
-
text-align: center;
|
99 |
-
border-radius: 3px;
|
100 |
-
padding: 5px 10px 5px 10px;
|
101 |
-
}
|
102 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__empty .wam-cleditor__conditions {
|
103 |
-
display: none;
|
104 |
-
}
|
105 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__condition {
|
106 |
-
position: relative;
|
107 |
-
}
|
108 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__condition .wam-cleditor__hint,
|
109 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__condition .wam-cleditor__hint-content {
|
110 |
-
display: none;
|
111 |
-
}
|
112 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__condition .wam-cleditor__hint {
|
113 |
-
position: relative;
|
114 |
-
display: inline-block;
|
115 |
-
padding: 0 6px 0 3px;
|
116 |
-
}
|
117 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__condition .wam-cleditor__hint-icon {
|
118 |
-
background: url('../img/help.png') no-repeat 0 0 transparent;
|
119 |
-
position: relative;
|
120 |
-
height: 14px;
|
121 |
-
width: 13px;
|
122 |
-
display: inline-block;
|
123 |
-
cursor: help;
|
124 |
-
vertical-align: middle;
|
125 |
-
top: -1px;
|
126 |
-
opacity: 0.55;
|
127 |
-
}
|
128 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__condition .wam-cleditor__hint:hover .wam-cleditor__hint-content {
|
129 |
-
display: block;
|
130 |
-
position: absolute;
|
131 |
-
width: 280px;
|
132 |
-
background-color: rgba(0, 0, 0, 0.8);
|
133 |
-
white-space: normal;
|
134 |
-
padding: 10px 12px 12px 12px;
|
135 |
-
font-weight: normal;
|
136 |
-
line-height: 150%;
|
137 |
-
border-radius: 4px;
|
138 |
-
color: #fff;
|
139 |
-
font-size: 13px;
|
140 |
-
z-index: 999;
|
141 |
-
}
|
142 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__condition .wam-cleditor__hint .wam-cleditor__hint-content,
|
143 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__condition .wam-cleditor__hint .wam-cleditor__hint-content a {
|
144 |
-
color: #fff;
|
145 |
-
}
|
146 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__condition .wam-cleditor__operator-and {
|
147 |
-
display: block;
|
148 |
-
color: rgba(0, 0, 0, 0.7);
|
149 |
-
font-weight: bold;
|
150 |
-
border-top: 1px solid #ddd;
|
151 |
-
margin: 18px 0;
|
152 |
-
position: relative;
|
153 |
-
}
|
154 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__condition .wam-cleditor__operator-and span {
|
155 |
-
position: absolute;
|
156 |
-
top: -10px;
|
157 |
-
background-color: #f9f9f9;
|
158 |
-
padding-right: 7px;
|
159 |
-
text-transform: uppercase;
|
160 |
-
}
|
161 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__condition:first-child .wam-cleditor__operator-and {
|
162 |
-
display: none;
|
163 |
-
}
|
164 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__condition > span {
|
165 |
-
display: inline-block;
|
166 |
-
vertical-align: top;
|
167 |
-
}
|
168 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__condition .wam-cleditor__condition-actions {
|
169 |
-
position: absolute;
|
170 |
-
right: 0;
|
171 |
-
}
|
172 |
-
#WBCR-AM .wam-cleditor .wam-cleditor__buttons-group {
|
173 |
-
margin-top: 20px;
|
174 |
-
}
|
175 |
/*# sourceMappingURL=assets-conditions.css.map */
|
1 |
+
/* ==*/
|
2 |
+
#WBCR-AM .wam-cleditor {
|
3 |
+
box-sizing: border-box;
|
4 |
+
/* Conditions */
|
5 |
+
/* Buttons */
|
6 |
+
}
|
7 |
+
#WBCR-AM .wam-cleditor input {
|
8 |
+
float: none;
|
9 |
+
position: relative;
|
10 |
+
top: 0;
|
11 |
+
padding: 4px;
|
12 |
+
}
|
13 |
+
#WBCR-AM .wam-cleditor.wam-cleditor__disable-plugin-mode .wam-cleditor__param-select option[value="location-taxonomy"],
|
14 |
+
#WBCR-AM .wam-cleditor.wam-cleditor__disable-plugin-mode .wam-cleditor__param-select option[value="location-post-type"],
|
15 |
+
#WBCR-AM .wam-cleditor.wam-cleditor__disable-plugin-mode .wam-cleditor__param-select option[value="location-some-page"] {
|
16 |
+
display: none;
|
17 |
+
}
|
18 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__text {
|
19 |
+
width: 300px;
|
20 |
+
}
|
21 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__box {
|
22 |
+
padding: 25px 15px 15px 15px;
|
23 |
+
border-left: 1px solid #ddd;
|
24 |
+
background-color: #f9f9f9;
|
25 |
+
}
|
26 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__when-empty {
|
27 |
+
display: none;
|
28 |
+
}
|
29 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__empty .wam-cleditor__when-empty {
|
30 |
+
display: block;
|
31 |
+
}
|
32 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__head {
|
33 |
+
display: flex;
|
34 |
+
overflow: auto;
|
35 |
+
background-color: #fff;
|
36 |
+
border-bottom: 1px solid #ddd;
|
37 |
+
border-left: 1px solid #ddd;
|
38 |
+
padding: 10px 15px;
|
39 |
+
}
|
40 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__head .wam-cleditor__head-left,
|
41 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__head .wam-cleditor__head-right {
|
42 |
+
display: inline-block;
|
43 |
+
}
|
44 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__head .wam-cleditor__head-left {
|
45 |
+
text-align: left;
|
46 |
+
flex: 2 0 0;
|
47 |
+
}
|
48 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__head .wam-cleditor__head-right {
|
49 |
+
text-align: right;
|
50 |
+
flex: 1 0 0;
|
51 |
+
}
|
52 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__head .wam-cleditor__first-group-title {
|
53 |
+
text-transform: uppercase;
|
54 |
+
margin: 0;
|
55 |
+
font-weight: 600;
|
56 |
+
font-size: 14px;
|
57 |
+
line-height: 2.3;
|
58 |
+
}
|
59 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__wrap .wam-cleditor__groups {
|
60 |
+
padding-left: 20px;
|
61 |
+
border-left: 1px solid #ddd;
|
62 |
+
}
|
63 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__groups .wam-cleditor__point {
|
64 |
+
background-color: #fff;
|
65 |
+
border: 1px solid #0073aa;
|
66 |
+
border-radius: 100%;
|
67 |
+
width: 11px;
|
68 |
+
height: 11px;
|
69 |
+
display: block;
|
70 |
+
position: absolute;
|
71 |
+
margin-left: -26px;
|
72 |
+
margin-top: 19px;
|
73 |
+
}
|
74 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__groups .wam-cleditor__point:after {
|
75 |
+
position: absolute;
|
76 |
+
content: " ";
|
77 |
+
display: block;
|
78 |
+
width: 15px;
|
79 |
+
border-top: 1px solid #ddd;
|
80 |
+
margin-left: 10px;
|
81 |
+
margin-top: 4px;
|
82 |
+
}
|
83 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__group {
|
84 |
+
/*@{prefix}__group + @{prefix}__group {
|
85 |
+
margin-top: 20px;
|
86 |
+
}*/
|
87 |
+
}
|
88 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__group .wam-cleditor__group-type {
|
89 |
+
display: none;
|
90 |
+
text-transform: uppercase;
|
91 |
+
margin: 0;
|
92 |
+
line-height: 2.3;
|
93 |
+
font-size: 12px;
|
94 |
+
font-weight: bold;
|
95 |
+
font-style: normal;
|
96 |
+
color: #222;
|
97 |
+
background: #f3f3f3;
|
98 |
+
text-align: center;
|
99 |
+
border-radius: 3px;
|
100 |
+
padding: 5px 10px 5px 10px;
|
101 |
+
}
|
102 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__empty .wam-cleditor__conditions {
|
103 |
+
display: none;
|
104 |
+
}
|
105 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__condition {
|
106 |
+
position: relative;
|
107 |
+
}
|
108 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__condition .wam-cleditor__hint,
|
109 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__condition .wam-cleditor__hint-content {
|
110 |
+
display: none;
|
111 |
+
}
|
112 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__condition .wam-cleditor__hint {
|
113 |
+
position: relative;
|
114 |
+
display: inline-block;
|
115 |
+
padding: 0 6px 0 3px;
|
116 |
+
}
|
117 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__condition .wam-cleditor__hint-icon {
|
118 |
+
background: url('../img/help.png') no-repeat 0 0 transparent;
|
119 |
+
position: relative;
|
120 |
+
height: 14px;
|
121 |
+
width: 13px;
|
122 |
+
display: inline-block;
|
123 |
+
cursor: help;
|
124 |
+
vertical-align: middle;
|
125 |
+
top: -1px;
|
126 |
+
opacity: 0.55;
|
127 |
+
}
|
128 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__condition .wam-cleditor__hint:hover .wam-cleditor__hint-content {
|
129 |
+
display: block;
|
130 |
+
position: absolute;
|
131 |
+
width: 280px;
|
132 |
+
background-color: rgba(0, 0, 0, 0.8);
|
133 |
+
white-space: normal;
|
134 |
+
padding: 10px 12px 12px 12px;
|
135 |
+
font-weight: normal;
|
136 |
+
line-height: 150%;
|
137 |
+
border-radius: 4px;
|
138 |
+
color: #fff;
|
139 |
+
font-size: 13px;
|
140 |
+
z-index: 999;
|
141 |
+
}
|
142 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__condition .wam-cleditor__hint .wam-cleditor__hint-content,
|
143 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__condition .wam-cleditor__hint .wam-cleditor__hint-content a {
|
144 |
+
color: #fff;
|
145 |
+
}
|
146 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__condition .wam-cleditor__operator-and {
|
147 |
+
display: block;
|
148 |
+
color: rgba(0, 0, 0, 0.7);
|
149 |
+
font-weight: bold;
|
150 |
+
border-top: 1px solid #ddd;
|
151 |
+
margin: 18px 0;
|
152 |
+
position: relative;
|
153 |
+
}
|
154 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__condition .wam-cleditor__operator-and span {
|
155 |
+
position: absolute;
|
156 |
+
top: -10px;
|
157 |
+
background-color: #f9f9f9;
|
158 |
+
padding-right: 7px;
|
159 |
+
text-transform: uppercase;
|
160 |
+
}
|
161 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__condition:first-child .wam-cleditor__operator-and {
|
162 |
+
display: none;
|
163 |
+
}
|
164 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__condition > span {
|
165 |
+
display: inline-block;
|
166 |
+
vertical-align: top;
|
167 |
+
}
|
168 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__condition .wam-cleditor__condition-actions {
|
169 |
+
position: absolute;
|
170 |
+
right: 0;
|
171 |
+
}
|
172 |
+
#WBCR-AM .wam-cleditor .wam-cleditor__buttons-group {
|
173 |
+
margin-top: 20px;
|
174 |
+
}
|
175 |
/*# sourceMappingURL=assets-conditions.css.map */
|
components/assets-manager/assets/css/assets-manager.css
CHANGED
@@ -1,1209 +1,1209 @@
|
|
1 |
-
/**
|
2 |
-
* Assets manager styles
|
3 |
-
* @author Webcraftic <wordpress.webraftic@gmail.com>
|
4 |
-
* @copyright Webcraftic 05.09.2019
|
5 |
-
*/
|
6 |
-
html,
|
7 |
-
body {
|
8 |
-
overflow: hidden !important;
|
9 |
-
}
|
10 |
-
html {
|
11 |
-
line-height: 1.15 !important;
|
12 |
-
-webkit-text-size-adjust: 100% !important;
|
13 |
-
box-sizing: border-box !important;
|
14 |
-
}
|
15 |
-
body {
|
16 |
-
margin: 0 !important;
|
17 |
-
padding: 0 !important;
|
18 |
-
background: #FFF !important;
|
19 |
-
}
|
20 |
-
body,
|
21 |
-
body p {
|
22 |
-
font-family: Arial, "Helvetica Neue", sans-serif;
|
23 |
-
}
|
24 |
-
#WBCR-AM {
|
25 |
-
/**
|
26 |
-
* Reset styles
|
27 |
-
* @author Webcraftic <wordpress.webraftic@gmail.com>
|
28 |
-
* @copyright Webcraftic 15.10.2018
|
29 |
-
*/
|
30 |
-
/**
|
31 |
-
* Placeholderss
|
32 |
-
*/
|
33 |
-
/**
|
34 |
-
* Tabless
|
35 |
-
|
36 |
-
* @author Alex Kovalev <alex.kovalevv@gmail.com>
|
37 |
-
* @copyright Webcraftic 26.08.2019
|
38 |
-
*/
|
39 |
-
/**
|
40 |
-
* Tooltips
|
41 |
-
|
42 |
-
* @author Alex Kovalev <alex.kovalevv@gmail.com>
|
43 |
-
* @copyright Webcraftic 26.08.2019
|
44 |
-
*/
|
45 |
-
/**
|
46 |
-
* Float panel
|
47 |
-
|
48 |
-
* @author Alex Kovalev <alex.kovalevv@gmail.com>
|
49 |
-
* @copyright Webcraftic 26.08.2019
|
50 |
-
*/
|
51 |
-
/**
|
52 |
-
* Tabs
|
53 |
-
|
54 |
-
* @author Alex Kovalev <alex.kovalevv@gmail.com>
|
55 |
-
* @copyright Webcraftic 26.08.2019
|
56 |
-
*/
|
57 |
-
/** ---------------- PLUGINS TABS------------------------- */
|
58 |
-
/** ---------------- /PLUGINS TABS------------------------ */
|
59 |
-
/*.wam-help-hint {
|
60 |
-
//display: inline-block;
|
61 |
-
//width: 16px;
|
62 |
-
//height: 16px;
|
63 |
-
//line-height: 0 !important;
|
64 |
-
//padding: 0;
|
65 |
-
font-size: 11px;
|
66 |
-
font-style: normal;
|
67 |
-
text-align: left;
|
68 |
-
color: #fff;
|
69 |
-
background: #b4b5b5;
|
70 |
-
border-radius: 2px;
|
71 |
-
|
72 |
-
img {
|
73 |
-
display: inline-block;
|
74 |
-
margin: 3px 0 0 4px;
|
75 |
-
}
|
76 |
-
}*/
|
77 |
-
}
|
78 |
-
#WBCR-AM *,
|
79 |
-
#WBCR-AM *:before,
|
80 |
-
#WBCR-AM *:after {
|
81 |
-
-webkit-box-sizing: border-box;
|
82 |
-
-moz-box-sizing: border-box;
|
83 |
-
box-sizing: border-box;
|
84 |
-
}
|
85 |
-
#WBCR-AM,
|
86 |
-
#WBCR-AM h2,
|
87 |
-
#WBCR-AM h3,
|
88 |
-
#WBCR-AM h4,
|
89 |
-
#WBCR-AM h5,
|
90 |
-
#WBCR-AM h6,
|
91 |
-
#WBCR-AM p,
|
92 |
-
#WBCR-AM strong,
|
93 |
-
#WBCR-AM b,
|
94 |
-
#WBCR-AM span,
|
95 |
-
#WBCR-AM em,
|
96 |
-
#WBCR-AM i,
|
97 |
-
#WBCR-AM a,
|
98 |
-
#WBCR-AM div,
|
99 |
-
#WBCR-AM main,
|
100 |
-
#WBCR-AM section,
|
101 |
-
#WBCR-AM li,
|
102 |
-
#WBCR-AM button,
|
103 |
-
#WBCR-AM input[type="submit"],
|
104 |
-
#WBCR-AM input[type="reset"],
|
105 |
-
#WBCR-AM .wbcr-gnz-switch-premium {
|
106 |
-
font-family: Arial, "Helvetica Neue", sans-serif;
|
107 |
-
font-size: 14px;
|
108 |
-
font-style: normal;
|
109 |
-
font-weight: normal;
|
110 |
-
text-transform: none;
|
111 |
-
text-shadow: none;
|
112 |
-
}
|
113 |
-
#WBCR-AM h1 {
|
114 |
-
font-size: 2em;
|
115 |
-
margin: 0.67em 0;
|
116 |
-
}
|
117 |
-
#WBCR-AM hr {
|
118 |
-
box-sizing: content-box;
|
119 |
-
height: 0;
|
120 |
-
overflow: visible;
|
121 |
-
}
|
122 |
-
#WBCR-AM pre {
|
123 |
-
font-family: monospace, monospace;
|
124 |
-
font-size: 1em;
|
125 |
-
}
|
126 |
-
#WBCR-AM a {
|
127 |
-
background-color: transparent;
|
128 |
-
}
|
129 |
-
#WBCR-AM abbr[title] {
|
130 |
-
border-bottom: none;
|
131 |
-
text-decoration: underline dotted;
|
132 |
-
}
|
133 |
-
#WBCR-AM b,
|
134 |
-
#WBCR-AM strong {
|
135 |
-
font-weight: bolder;
|
136 |
-
}
|
137 |
-
#WBCR-AM code,
|
138 |
-
#WBCR-AM kbd,
|
139 |
-
#WBCR-AM samp {
|
140 |
-
font-family: monospace, monospace;
|
141 |
-
font-size: 1em;
|
142 |
-
}
|
143 |
-
#WBCR-AM small {
|
144 |
-
font-size: 80%;
|
145 |
-
}
|
146 |
-
#WBCR-AM sub,
|
147 |
-
#WBCR-AM sup {
|
148 |
-
font-size: 75%;
|
149 |
-
line-height: 0;
|
150 |
-
position: relative;
|
151 |
-
vertical-align: baseline;
|
152 |
-
}
|
153 |
-
#WBCR-AM sub {
|
154 |
-
bottom: -0.25em;
|
155 |
-
}
|
156 |
-
#WBCR-AM sup {
|
157 |
-
top: -0.5em;
|
158 |
-
}
|
159 |
-
#WBCR-AM img {
|
160 |
-
border-style: none;
|
161 |
-
}
|
162 |
-
#WBCR-AM button,
|
163 |
-
#WBCR-AM input,
|
164 |
-
#WBCR-AM optgroup,
|
165 |
-
#WBCR-AM select,
|
166 |
-
#WBCR-AM textarea {
|
167 |
-
font-family: inherit;
|
168 |
-
font-size: 100%;
|
169 |
-
line-height: 1.15;
|
170 |
-
margin: 0;
|
171 |
-
height: auto;
|
172 |
-
width: auto;
|
173 |
-
}
|
174 |
-
#WBCR-AM button,
|
175 |
-
#WBCR-AM input,
|
176 |
-
#WBCR-AM optgroup,
|
177 |
-
#WBCR-AM select,
|
178 |
-
#WBCR-AM textarea,
|
179 |
-
#WBCR-AM button:hover,
|
180 |
-
#WBCR-AM input:hover,
|
181 |
-
#WBCR-AM optgroup:hover,
|
182 |
-
#WBCR-AM select:hover,
|
183 |
-
#WBCR-AM textarea:hover,
|
184 |
-
#WBCR-AM button:focus,
|
185 |
-
#WBCR-AM input:focus,
|
186 |
-
#WBCR-AM optgroup:focus,
|
187 |
-
#WBCR-AM select:focus,
|
188 |
-
#WBCR-AM textarea:focus {
|
189 |
-
-moz-box-shadow: none;
|
190 |
-
-ms-box-shadow: none;
|
191 |
-
-webkit-box-shadow: none;
|
192 |
-
-o-box-shadow: none;
|
193 |
-
}
|
194 |
-
#WBCR-AM button,
|
195 |
-
#WBCR-AM input {
|
196 |
-
overflow: visible;
|
197 |
-
}
|
198 |
-
#WBCR-AM button,
|
199 |
-
#WBCR-AM select {
|
200 |
-
text-transform: none;
|
201 |
-
}
|
202 |
-
#WBCR-AM button,
|
203 |
-
#WBCR-AM [type="button"],
|
204 |
-
#WBCR-AM [type="reset"],
|
205 |
-
#WBCR-AM [type="submit"] {
|
206 |
-
-webkit-appearance: button;
|
207 |
-
}
|
208 |
-
#WBCR-AM button::-moz-focus-inner,
|
209 |
-
#WBCR-AM [type="button"]::-moz-focus-inner,
|
210 |
-
#WBCR-AM [type="reset"]::-moz-focus-inner,
|
211 |
-
#WBCR-AM [type="submit"]::-moz-focus-inner {
|
212 |
-
border-style: none;
|
213 |
-
padding: 0;
|
214 |
-
}
|
215 |
-
#WBCR-AM button:-moz-focusring,
|
216 |
-
#WBCR-AM [type="button"]:-moz-focusring,
|
217 |
-
#WBCR-AM [type="reset"]:-moz-focusring,
|
218 |
-
#WBCR-AM [type="submit"]:-moz-focusring {
|
219 |
-
outline: 1px dotted ButtonText;
|
220 |
-
}
|
221 |
-
#WBCR-AM fieldset {
|
222 |
-
padding: 0.35em 0.75em 0.625em;
|
223 |
-
}
|
224 |
-
#WBCR-AM legend {
|
225 |
-
box-sizing: border-box;
|
226 |
-
color: inherit;
|
227 |
-
display: table;
|
228 |
-
max-width: 100%;
|
229 |
-
padding: 0;
|
230 |
-
white-space: normal;
|
231 |
-
}
|
232 |
-
#WBCR-AM textarea {
|
233 |
-
overflow: auto;
|
234 |
-
}
|
235 |
-
#WBCR-AM [type="checkbox"],
|
236 |
-
#WBCR-AM [type="radio"] {
|
237 |
-
box-sizing: border-box;
|
238 |
-
padding: 0;
|
239 |
-
}
|
240 |
-
#WBCR-AM [type="number"]::-webkit-inner-spin-button,
|
241 |
-
#WBCR-AM [type="number"]::-webkit-outer-spin-button {
|
242 |
-
height: auto;
|
243 |
-
}
|
244 |
-
#WBCR-AM [type="search"] {
|
245 |
-
-webkit-appearance: textfield;
|
246 |
-
outline-offset: -2px;
|
247 |
-
}
|
248 |
-
#WBCR-AM [type="search"]::-webkit-search-decoration {
|
249 |
-
-webkit-appearance: none;
|
250 |
-
}
|
251 |
-
#WBCR-AM ::-webkit-file-upload-button {
|
252 |
-
-webkit-appearance: button;
|
253 |
-
font: inherit;
|
254 |
-
}
|
255 |
-
#WBCR-AM fieldset {
|
256 |
-
padding: 0.35em 0.75em 0.625em;
|
257 |
-
}
|
258 |
-
#WBCR-AM legend {
|
259 |
-
box-sizing: border-box;
|
260 |
-
color: inherit;
|
261 |
-
display: table;
|
262 |
-
max-width: 100%;
|
263 |
-
padding: 0;
|
264 |
-
white-space: normal;
|
265 |
-
}
|
266 |
-
#WBCR-AM progress {
|
267 |
-
vertical-align: baseline;
|
268 |
-
}
|
269 |
-
#WBCR-AM textarea {
|
270 |
-
overflow: auto;
|
271 |
-
}
|
272 |
-
#WBCR-AM [type=checkbox],
|
273 |
-
#WBCR-AM [type=radio] {
|
274 |
-
box-sizing: border-box;
|
275 |
-
padding: 0;
|
276 |
-
}
|
277 |
-
#WBCR-AM [type=number]::-webkit-inner-spin-button,
|
278 |
-
#WBCR-AM [type=number]::-webkit-outer-spin-button {
|
279 |
-
height: auto;
|
280 |
-
}
|
281 |
-
#WBCR-AM [type=search] {
|
282 |
-
-webkit-appearance: textfield;
|
283 |
-
outline-offset: -2px;
|
284 |
-
}
|
285 |
-
#WBCR-AM [type=search]::-webkit-search-decoration {
|
286 |
-
-webkit-appearance: none;
|
287 |
-
}
|
288 |
-
#WBCR-AM ::-webkit-file-upload-button {
|
289 |
-
-webkit-appearance: button;
|
290 |
-
font: inherit;
|
291 |
-
}
|
292 |
-
#WBCR-AM details {
|
293 |
-
display: block;
|
294 |
-
}
|
295 |
-
#WBCR-AM summary {
|
296 |
-
display: list-item;
|
297 |
-
}
|
298 |
-
#WBCR-AM template {
|
299 |
-
display: none;
|
300 |
-
}
|
301 |
-
#WBCR-AM [hidden] {
|
302 |
-
display: none;
|
303 |
-
}
|
304 |
-
#WBCR-AM table,
|
305 |
-
#WBCR-AM caption,
|
306 |
-
#WBCR-AM tbody,
|
307 |
-
#WBCR-AM tfoot,
|
308 |
-
#WBCR-AM thead,
|
309 |
-
#WBCR-AM tr,
|
310 |
-
#WBCR-AM th,
|
311 |
-
#WBCR-AM td {
|
312 |
-
margin: 0;
|
313 |
-
padding: 0;
|
314 |
-
border: 0;
|
315 |
-
font-size: 100%;
|
316 |
-
font: inherit;
|
317 |
-
vertical-align: middle;
|
318 |
-
line-height: 1.2;
|
319 |
-
}
|
320 |
-
#WBCR-AM table {
|
321 |
-
table-layout: auto;
|
322 |
-
border-collapse: collapse;
|
323 |
-
border-spacing: 0;
|
324 |
-
}
|
325 |
-
#WBCR-AM span {
|
326 |
-
display: inline;
|
327 |
-
margin: 0;
|
328 |
-
}
|
329 |
-
#WBCR-AM input[type="text"]::-moz-placeholder {
|
330 |
-
color: #cccccc;
|
331 |
-
}
|
332 |
-
#WBCR-AM input[type="text"]::-webkit-input-placeholder,
|
333 |
-
#WBCR-AM textarea::-webkit-input-placeholder {
|
334 |
-
color: #cccccc;
|
335 |
-
}
|
336 |
-
#WBCR-AM input[type="text"]:-ms-input-placeholder,
|
337 |
-
#WBCR-AM textarea:-ms-input-placeholder {
|
338 |
-
color: #cccccc;
|
339 |
-
}
|
340 |
-
#WBCR-AM input[type="text"]::-ms-input-placeholder,
|
341 |
-
#WBCR-AM textarea::-ms-input-placeholder {
|
342 |
-
color: #cccccc;
|
343 |
-
}
|
344 |
-
#WBCR-AM input[type="text"]::placeholder,
|
345 |
-
#WBCR-AM textarea::placeholder {
|
346 |
-
color: #cccccc;
|
347 |
-
}
|
348 |
-
#WBCR-AM a {
|
349 |
-
text-decoration: none;
|
350 |
-
color: #007acc;
|
351 |
-
border: none;
|
352 |
-
background: none;
|
353 |
-
}
|
354 |
-
#WBCR-AM a:hover {
|
355 |
-
text-decoration: underline;
|
356 |
-
border: inherit;
|
357 |
-
background: inherit;
|
358 |
-
}
|
359 |
-
#WBCR-AM button,
|
360 |
-
#WBCR-AM [type=submit] {
|
361 |
-
color: black;
|
362 |
-
font-weight: 400;
|
363 |
-
padding: 0;
|
364 |
-
line-height: 1.5;
|
365 |
-
}
|
366 |
-
#WBCR-AM label {
|
367 |
-
color: white;
|
368 |
-
margin: 0;
|
369 |
-
font-weight: 400;
|
370 |
-
}
|
371 |
-
#WBCR-AM select,
|
372 |
-
#WBCR-AM [type=text] {
|
373 |
-
height: 32px;
|
374 |
-
}
|
375 |
-
#WBCR-AM .visually-hidden {
|
376 |
-
position: absolute;
|
377 |
-
overflow: hidden;
|
378 |
-
clip: rect(0 0 0 0);
|
379 |
-
-webkit-clip-path: inset(100%);
|
380 |
-
clip-path: inset(100%);
|
381 |
-
width: 1px;
|
382 |
-
height: 1px;
|
383 |
-
margin: -1px;
|
384 |
-
padding: 0;
|
385 |
-
white-space: nowrap;
|
386 |
-
border: 0;
|
387 |
-
}
|
388 |
-
#WBCR-AM .wam-table {
|
389 |
-
width: 100%;
|
390 |
-
box-sizing: border-box;
|
391 |
-
table-layout: fixed;
|
392 |
-
border-collapse: collapse;
|
393 |
-
}
|
394 |
-
#WBCR-AM .wam-table__handle-deps {
|
395 |
-
margin-top: 15px;
|
396 |
-
}
|
397 |
-
#WBCR-AM .wam-table__handle-deps span,
|
398 |
-
#WBCR-AM .wam-table__handle-deps a {
|
399 |
-
font-size: 11px !important;
|
400 |
-
}
|
401 |
-
#WBCR-AM .wam-table__handle-deps a {
|
402 |
-
color: red;
|
403 |
-
text-decoration: underline;
|
404 |
-
}
|
405 |
-
#WBCR-AM .wam-table tr:nth-child(2n) > td {
|
406 |
-
background: #f9f9f9;
|
407 |
-
}
|
408 |
-
#WBCR-AM .wam-table th {
|
409 |
-
padding: 12px 10px;
|
410 |
-
text-align: left;
|
411 |
-
color: #333;
|
412 |
-
background: #ECEDED;
|
413 |
-
box-shadow: none;
|
414 |
-
}
|
415 |
-
#WBCR-AM .wam-table th:not(:last-child) {
|
416 |
-
border-right: 2px solid #FFF;
|
417 |
-
}
|
418 |
-
#WBCR-AM .wam-table__th-actions {
|
419 |
-
width: 200px;
|
420 |
-
}
|
421 |
-
#WBCR-AM .wam-table__th-type {
|
422 |
-
width: 100px;
|
423 |
-
}
|
424 |
-
#WBCR-AM .wam-table__th-version {
|
425 |
-
width: 100px;
|
426 |
-
}
|
427 |
-
#WBCR-AM .wam-table__th-size {
|
428 |
-
width: 100px;
|
429 |
-
}
|
430 |
-
#WBCR-AM .wam-table__th-plugins-list,
|
431 |
-
#WBCR-AM .wam-table__td-plugins-list {
|
432 |
-
width: 350px;
|
433 |
-
}
|
434 |
-
#WBCR-AM .wam-table td {
|
435 |
-
padding: 17px 10px;
|
436 |
-
vertical-align: top;
|
437 |
-
text-align: left;
|
438 |
-
box-shadow: none;
|
439 |
-
}
|
440 |
-
#WBCR-AM .wam-table__td-handle {
|
441 |
-
word-break: break-word;
|
442 |
-
}
|
443 |
-
#WBCR-AM .wam-table__td-plugins-list {
|
444 |
-
padding: 0 !important;
|
445 |
-
}
|
446 |
-
#WBCR-AM .wam-table__th-plugins-settings,
|
447 |
-
#WBCR-AM .wam-table__td-plugins-settings {
|
448 |
-
width: 80%;
|
449 |
-
padding: 15px;
|
450 |
-
text-align: left;
|
451 |
-
}
|
452 |
-
#WBCR-AM .wam-table .js-wam-table__tr--disabled-section {
|
453 |
-
background: #fbf5f4;
|
454 |
-
opacity: 0.7;
|
455 |
-
}
|
456 |
-
#WBCR-AM .wam-table__asset-settings-conditions {
|
457 |
-
display: none;
|
458 |
-
background: #f3f3f3;
|
459 |
-
color: #7b7b7b;
|
460 |
-
font-size: 13px;
|
461 |
-
box-shadow: 0 2px 0 #d4d4d4;
|
462 |
-
}
|
463 |
-
#WBCR-AM .wam-table__asset-settings-conditions > td {
|
464 |
-
padding: 0 25px 15px 25px;
|
465 |
-
}
|
466 |
-
#WBCR-AM .wam-tooltip {
|
467 |
-
position: relative;
|
468 |
-
}
|
469 |
-
#WBCR-AM .wam-tooltip::before {
|
470 |
-
content: "";
|
471 |
-
position: absolute;
|
472 |
-
z-index: 60;
|
473 |
-
left: 5px;
|
474 |
-
display: none;
|
475 |
-
width: 20px;
|
476 |
-
height: 20px;
|
477 |
-
}
|
478 |
-
#WBCR-AM .wam-tooltip::after {
|
479 |
-
content: attr(data-tooltip);
|
480 |
-
position: absolute;
|
481 |
-
z-index: 60;
|
482 |
-
left: 5px;
|
483 |
-
display: none;
|
484 |
-
min-width: 200px;
|
485 |
-
padding: 8px 15px;
|
486 |
-
color: #6d5506;
|
487 |
-
background: #FFCB1E;
|
488 |
-
font-size: 13px;
|
489 |
-
font-weight: normal;
|
490 |
-
line-height: 1.2;
|
491 |
-
}
|
492 |
-
#WBCR-AM .wam-tooltip-top::before {
|
493 |
-
bottom: 100%;
|
494 |
-
background: linear-gradient(135deg, #FFCB1E, #FFCB1E 50%, transparent 50%, transparent) no-repeat;
|
495 |
-
}
|
496 |
-
#WBCR-AM .wam-tooltip-top::after {
|
497 |
-
bottom: 100%;
|
498 |
-
margin: 0 0 10px;
|
499 |
-
border-radius: 6px 6px 6px 0;
|
500 |
-
}
|
501 |
-
#WBCR-AM .wam-tooltip--bottom::before {
|
502 |
-
top: 100%;
|
503 |
-
background: linear-gradient(45deg, #FFCB1E, #FFCB1E 50%, transparent 50%, transparent) no-repeat;
|
504 |
-
}
|
505 |
-
#WBCR-AM .wam-tooltip--bottom::after {
|
506 |
-
top: 100%;
|
507 |
-
margin: 15px 0 0;
|
508 |
-
border-radius: 0 6px 6px 6px;
|
509 |
-
}
|
510 |
-
#WBCR-AM .wam-tooltip:hover::before,
|
511 |
-
#WBCR-AM .wam-tooltip:hover::after {
|
512 |
-
display: block;
|
513 |
-
}
|
514 |
-
#WBCR-AM .wam-float-panel {
|
515 |
-
position: fixed;
|
516 |
-
z-index: 50;
|
517 |
-
top: 0;
|
518 |
-
right: 0;
|
519 |
-
left: 0;
|
520 |
-
width: 100%;
|
521 |
-
display: -webkit-flex;
|
522 |
-
display: -ms-flexbox;
|
523 |
-
display: flex;
|
524 |
-
-ms-flex-pack: justify;
|
525 |
-
-webkit-justify-content: space-between;
|
526 |
-
justify-content: space-between;
|
527 |
-
height: 62px;
|
528 |
-
padding: 0 20px;
|
529 |
-
margin: 0;
|
530 |
-
color: #FFF;
|
531 |
-
background: #23282d;
|
532 |
-
font-size: 16px;
|
533 |
-
border-top: 2px solid #ffcb1e;
|
534 |
-
}
|
535 |
-
#WBCR-AM .wam-float-panel__premium {
|
536 |
-
position: relative;
|
537 |
-
display: block;
|
538 |
-
width: 20px;
|
539 |
-
height: 40px;
|
540 |
-
background: #ffcb1e;
|
541 |
-
margin-left: -30px;
|
542 |
-
}
|
543 |
-
#WBCR-AM .wam-float-panel__premium:hover {
|
544 |
-
cursor: pointer;
|
545 |
-
}
|
546 |
-
#WBCR-AM .wam-float-panel__premium .wam-tooltip {
|
547 |
-
position: relative;
|
548 |
-
right: -30px;
|
549 |
-
top: 8px;
|
550 |
-
font-size: 12px;
|
551 |
-
font-weight: bold;
|
552 |
-
font-style: normal;
|
553 |
-
color: #ffffff;
|
554 |
-
background: #f22714;
|
555 |
-
width: 45px;
|
556 |
-
text-align: center;
|
557 |
-
border-radius: 3px;
|
558 |
-
padding: 5px 0 5px 0;
|
559 |
-
line-height: 1.2;
|
560 |
-
}
|
561 |
-
#WBCR-AM .wam-float-panel__premium:after {
|
562 |
-
display: block;
|
563 |
-
content: '';
|
564 |
-
position: absolute;
|
565 |
-
top: 1px;
|
566 |
-
left: 0;
|
567 |
-
width: 19px;
|
568 |
-
height: 38px;
|
569 |
-
background: #23282d;
|
570 |
-
}
|
571 |
-
#WBCR-AM .wam-float-panel__left,
|
572 |
-
#WBCR-AM .wam-float-panel__right {
|
573 |
-
display: -webkit-flex;
|
574 |
-
display: -ms-flexbox;
|
575 |
-
display: flex;
|
576 |
-
-webkit-align-items: center;
|
577 |
-
align-items: center;
|
578 |
-
-ms-flex-align: center;
|
579 |
-
}
|
580 |
-
#WBCR-AM .wam-float-panel__left {
|
581 |
-
min-width: 800px;
|
582 |
-
margin: 0 44px 0 0;
|
583 |
-
}
|
584 |
-
#WBCR-AM .wam-float-panel__logo {
|
585 |
-
width: 38px;
|
586 |
-
height: 32px;
|
587 |
-
margin: 0 44px 0 0;
|
588 |
-
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAgCAMAAABJuvqBAAAC+lBMVEUAAAD7bBgLxt8LyOP/oRqTVqOWV6T/gALpHxCKT5oMy+bwCgX/dhn/oxeXV6XxJxP/igzxIQztFAP/iQAIwNfoIBP/jgkPz+wOzun/igf/fgD/iggOze3hHxDuDAF0P4KWV6UP0OzyKxX/lw3iHxD/hAaXV6XyGgsPzu3/ggaJTpn/iw6JTZiUVqOUVqTlFQsve3T2Qy1lazvqIhOBHyvvlxW7FRCTaR3xGQX/kBIP0eyGTJbjIBKASJAAXn3uFQMPzewJxNo1JFOLUZuHTZb/xCEAkqmXV6X/ggB5QogNyOD/WSaWV6VjNnBHFTsLUVnrEgMQ0en/ggADtsz/mRTvJRT/igfpDwLgHw//ixD/igYQ0un/xiXlIBP/rhnnIRSXV6X/lgT/ig36OBz/ZzbkJBj/fAAMyeD/iQoFtMkPzeyNUZziHxHgHw/mCwIBobT/yy3kBQNIIVp2dz4PzewAc4L/ckKXV6V6JDr/oRb0DAD9egD/jAcOze2XV6XeHw7jAwPnIRSXV6X/vSoPz+j/fgB+DjKXV6X/ziAPzuzlIBP/iw7/yx7yJxT/YCLpIRQP0uwLxt2TV6T/YSD/nBTuJBT/jhCQVKCNUp2DSpL/xRf8PRf4LhTsIhT/kREQ0egOzOQMyuEJwtiKT5qGTZaASI9xPn//XSH/tRr/Uhf/oBb3KRPjHxAHv9UGvNEDsMUCqLwAjp98RItdMWg3Hkr/VyD/xh//wR7/Xx7/XBv/rxn6NBf/rBb/lxP/lBP+RRP9NQ3/igv/iQv+Kwv3Iwf/pQUOzuYGt813QoZqOnYAYHRULmJBJVQwFz3+Tx//1R3/uxz8Rhz/Shv/pxj/phb/vhL/sgr/mAIPzucEuc4BoLMBnK4AmKoAg5MAf5IAd4cAbYEAbHxkNnAAT2kIVGQASF5KJ1kARlcVU1U+ZEYsGEVfdTtIHDltKzJ6fS2OOCyniinWsCL/YyD3YCDkSyCrNCDvyR+8KR/50Bj/uRH/tQ7/qwnxGwX/kQIQ63s7AAAAh3RSTlMAAyIQCsuvaz8wKx4Y/vn58PDp5+Xk5NbAu6+rqJuVgH15d3dpXE1HRTAoIyAYFhQNCv7+/fz7+vn39vX19PLy8O/u6urk397c29ra19TU087JyMfGxMO6squjoJ+fnpyZmZiUk5GRkI+Oi4uJiINybGZhYV1dWldPTk1LQzo6OCopJSMYEw7x8GTCAAACaUlEQVQ4y2LABzgi6hkIgsZYmzUqhBQZKol2da3JJaBKPXRuP1CZLF5FPMn8vVON+/ErYyzznj2ndyrIuBw8rkrZsfzinN5ekDI8XlBaObnv3O7VYOM4MGSZmZiYmIE0t+D+HX1bIbaK6qMq0VCMlvASEQnOByoTOrCzb/klkHH98YwwFVwaJYoy4lYTbiycuPbmho2lDAxyR4C2go0TRNgp0wkCE+YvmLho3fqNp/wNGNQtZu/oA3lidSrCvloHsKpjQMPW33n43LyaQT/gMMQT/BWMCHVZMMOO37r/9N3RNAaGvCP7QbYeNnHyldeCO18CpGrhonUb7j5+/eOaBw9Dgz3YE9+3nF621CVbD6qOSXwCyEqgw15+O3/1ryoDQzjQE5++vDlzctPMxdNZOWGeBSgQZOXtBy8+nu+YdVSKgaHwz/7Jn99u2Xxi5pIZ0yf5NEHVtaQ7rttw78mHWT0dPdeEecBB9/4V0Moli6dPam9n1YWHXqabndGeFds6Oq5eZwcG3eGvZ5+BrJwxqR0IEhAeNig2vbJrew/IVkaGKrOzZx6dWAq0EqyMTw2hLnHKqj0XgLb+EtZkaPPbsnnZUrBhYMAGV1VjuXfKZZCts0C2Fm1etgnsfj53NoXyOh14Uoyctm8KL8jWnt9BLAwM8p621s6sbApqeihpRFtg2ry9YFs7foq1AgV0ODm1dBnRUxtgqt3d8/ZNuQK2VRl3ks3o7p42b8oqkK0xLLiVSR/qBtl6eYVrAR5VDJKHurtBnohrxpszw0DK5oVUEsjlkgcPdospszAQAFEHBZK0GQgCdmlNfNIAQzEmYu+mR3cAAAAASUVORK5CYII=");
|
589 |
-
}
|
590 |
-
#WBCR-AM .wam-float-panel__data {
|
591 |
-
display: -webkit-flex;
|
592 |
-
display: -ms-flexbox;
|
593 |
-
display: flex;
|
594 |
-
-webkit-align-items: center;
|
595 |
-
align-items: center;
|
596 |
-
-ms-flex-align: center;
|
597 |
-
margin: 0 -22px;
|
598 |
-
padding: 0;
|
599 |
-
list-style: none;
|
600 |
-
}
|
601 |
-
#WBCR-AM .wam-float-panel__data:not(:last-child) {
|
602 |
-
margin-right: 22px;
|
603 |
-
}
|
604 |
-
#WBCR-AM .wam-float-panel__data-item {
|
605 |
-
margin: 0 22px;
|
606 |
-
color: #909090;
|
607 |
-
text-align: center;
|
608 |
-
vertical-align: top;
|
609 |
-
padding: 8px 0 8px;
|
610 |
-
}
|
611 |
-
#WBCR-AM .wam-float-panel__data-hidden {
|
612 |
-
display: none;
|
613 |
-
margin: 0 44px 0 0;
|
614 |
-
}
|
615 |
-
#WBCR-AM .wam-float-panel__data-hidden img {
|
616 |
-
vertical-align: middle;
|
617 |
-
}
|
618 |
-
#WBCR-AM .wam-float-panel__item_value {
|
619 |
-
font-size: 15px;
|
620 |
-
color: #d0d0d0;
|
621 |
-
background: #4c4c4c;
|
622 |
-
border-radius: 2px;
|
623 |
-
padding: 2px 5px;
|
624 |
-
}
|
625 |
-
#WBCR-AM .wam-float-panel__reset,
|
626 |
-
#WBCR-AM .wam-float-panel__save,
|
627 |
-
#WBCR-AM .wam-float-panel__reset.input[type="submit"],
|
628 |
-
#WBCR-AM .wam-float-panel__save.input[type="submit"] {
|
629 |
-
display: inline-block;
|
630 |
-
padding: 8px 15px 7px;
|
631 |
-
cursor: pointer;
|
632 |
-
transition: 0.1s;
|
633 |
-
vertical-align: middle;
|
634 |
-
text-transform: uppercase !important;
|
635 |
-
border: none;
|
636 |
-
border-radius: 2px;
|
637 |
-
font-size: 14px;
|
638 |
-
line-height: 1.5;
|
639 |
-
color: #222 !important;
|
640 |
-
}
|
641 |
-
#WBCR-AM .wam-float-panel__reset:hover,
|
642 |
-
#WBCR-AM .wam-float-panel__save:hover,
|
643 |
-
#WBCR-AM .wam-float-panel__reset:focus,
|
644 |
-
#WBCR-AM .wam-float-panel__save:focus {
|
645 |
-
outline: none;
|
646 |
-
text-decoration: none;
|
647 |
-
}
|
648 |
-
#WBCR-AM .wam-float-panel__reset:active,
|
649 |
-
#WBCR-AM .wam-float-panel__save:active {
|
650 |
-
-webkit-transform: translateY(2px);
|
651 |
-
transform: translateY(2px);
|
652 |
-
}
|
653 |
-
#WBCR-AM .wam-float-panel__reset,
|
654 |
-
#WBCR-AM .wam-float-panel__reset.input[type="submit"] {
|
655 |
-
margin: 0 10px 0 0;
|
656 |
-
padding-right: 30px;
|
657 |
-
padding-left: 30px;
|
658 |
-
background: #E1E5E9;
|
659 |
-
box-shadow: 0 4px #A8AEB3 !important;
|
660 |
-
}
|
661 |
-
#WBCR-AM .wam-float-panel__reset:hover,
|
662 |
-
#WBCR-AM .wam-float-panel__reset:focus {
|
663 |
-
background: #E7EAED !important;
|
664 |
-
}
|
665 |
-
#WBCR-AM .wam-float-panel__reset:active {
|
666 |
-
box-shadow: 0 2px #A8AEB3 !important;
|
667 |
-
}
|
668 |
-
#WBCR-AM .wam-float-panel__save,
|
669 |
-
#WBCR-AM .wam-float-panel__save.input[type="submit"] {
|
670 |
-
margin: 0 10px 0 0;
|
671 |
-
padding-right: 30px;
|
672 |
-
padding-left: 30px;
|
673 |
-
color: #222 !important;
|
674 |
-
background: #FFCB1E !important;
|
675 |
-
box-shadow: 0 4px #BF9A17 !important;
|
676 |
-
}
|
677 |
-
#WBCR-AM .wam-float-panel__save:hover,
|
678 |
-
#WBCR-AM .wam-float-panel__save:focus {
|
679 |
-
background: #FFD340 !important;
|
680 |
-
box-shadow: 0 4px #BF9A17 !important;
|
681 |
-
}
|
682 |
-
#WBCR-AM .wam-float-panel__save:active {
|
683 |
-
background: #FFD340 !important;
|
684 |
-
box-shadow: 0 2px #BF9A17 !important;
|
685 |
-
}
|
686 |
-
#WBCR-AM .wam-float-panel__save + div {
|
687 |
-
margin: 0;
|
688 |
-
}
|
689 |
-
#WBCR-AM .wam-float-panel__checkbox {
|
690 |
-
cursor: pointer;
|
691 |
-
font-size: 15px;
|
692 |
-
transform: none;
|
693 |
-
}
|
694 |
-
#WBCR-AM .wam-float-panel__checkbox-text,
|
695 |
-
#WBCR-AM .wam-float-panel__checkbox-text-premium {
|
696 |
-
position: relative;
|
697 |
-
padding: 0 0 0 26px;
|
698 |
-
}
|
699 |
-
#WBCR-AM .wam-float-panel__checkbox-text::before,
|
700 |
-
#WBCR-AM .wam-float-panel__checkbox-text-premium::before {
|
701 |
-
content: "";
|
702 |
-
position: absolute;
|
703 |
-
top: -1px;
|
704 |
-
left: 0;
|
705 |
-
width: 20px;
|
706 |
-
height: 20px;
|
707 |
-
border-radius: 2px;
|
708 |
-
background: #ffcb1e;
|
709 |
-
}
|
710 |
-
#WBCR-AM .wam-float-panel__checkbox-input:checked + .wam-float-panel__checkbox-text::after,
|
711 |
-
#WBCR-AM .wam-float-panel__checkbox-input:checked + .wam-float-panel__checkbox-text-premium::after {
|
712 |
-
content: "";
|
713 |
-
position: absolute;
|
714 |
-
top: 5px;
|
715 |
-
left: 6px;
|
716 |
-
width: 8px;
|
717 |
-
height: 5px;
|
718 |
-
-webkit-transform: rotate(-45deg);
|
719 |
-
transform: rotate(-45deg);
|
720 |
-
border: solid #444;
|
721 |
-
border-width: 0 0 2px 2px;
|
722 |
-
}
|
723 |
-
#WBCR-AM .wam-float-panel__checkbox-text-premium {
|
724 |
-
display: inline;
|
725 |
-
color: rgba(245, 245, 245, 0.3);
|
726 |
-
}
|
727 |
-
#WBCR-AM .wam-float-panel__checkbox-text-premium b {
|
728 |
-
display: inline-block;
|
729 |
-
font-size: 9px;
|
730 |
-
font-weight: 700;
|
731 |
-
color: #fff;
|
732 |
-
background: #f22714;
|
733 |
-
width: 25px;
|
734 |
-
padding: 3px 0;
|
735 |
-
text-align: center;
|
736 |
-
vertical-align: top;
|
737 |
-
border-radius: 3px;
|
738 |
-
line-height: 1.5;
|
739 |
-
}
|
740 |
-
#WBCR-AM .wam-float-panel__checkbox-text-premium::before {
|
741 |
-
background: rgba(245, 245, 245, 0.3);
|
742 |
-
}
|
743 |
-
#WBCR-AM .wam-float-panel__close,
|
744 |
-
#WBCR-AM .wam-float-panel__close:hover {
|
745 |
-
width: 36px;
|
746 |
-
height: 36px;
|
747 |
-
margin: 0 20px 0 20px;
|
748 |
-
cursor: pointer;
|
749 |
-
transition: 0.2s;
|
750 |
-
border: 4px solid #FFF;
|
751 |
-
border-radius: 50%;
|
752 |
-
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 352 512'%3E%3Cpath fill='%23FFF' d='M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z'/%3E%3C/svg%3E") no-repeat 50% 0px;
|
753 |
-
}
|
754 |
-
#WBCR-AM .wam-float-panel__close:focus,
|
755 |
-
#WBCR-AM .wam-float-panel__close:hover:focus {
|
756 |
-
opacity: 0.5;
|
757 |
-
outline: none;
|
758 |
-
}
|
759 |
-
#WBCR-AM .wam-assets-type-tabs {
|
760 |
-
position: fixed;
|
761 |
-
top: 62px;
|
762 |
-
bottom: 0;
|
763 |
-
left: 0;
|
764 |
-
width: 75px;
|
765 |
-
margin: 0;
|
766 |
-
padding: 0;
|
767 |
-
list-style: none;
|
768 |
-
background: #F4F4F4;
|
769 |
-
box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
|
770 |
-
}
|
771 |
-
#WBCR-AM .wam-assets-type-tabs li {
|
772 |
-
margin: 0;
|
773 |
-
padding: 0;
|
774 |
-
}
|
775 |
-
#WBCR-AM .wam-assets-type-tabs__button {
|
776 |
-
position: relative;
|
777 |
-
display: block;
|
778 |
-
width: 100%;
|
779 |
-
height: 130px;
|
780 |
-
cursor: pointer;
|
781 |
-
border: none;
|
782 |
-
background: #ECEDED;
|
783 |
-
border-radius: 0;
|
784 |
-
box-shadow: none;
|
785 |
-
-moz-box-shadow: none;
|
786 |
-
-ms-box-shadow: none;
|
787 |
-
-webkit-box-shadow: none;
|
788 |
-
-o-box-shadow: none;
|
789 |
-
}
|
790 |
-
#WBCR-AM .wam-assets-type-tabs__button:hover,
|
791 |
-
#WBCR-AM .wam-assets-type-tabs__button:focus,
|
792 |
-
#WBCR-AM .wam-assets-type-tabs__button:after,
|
793 |
-
#WBCR-AM .wam-assets-type-tabs__button:before,
|
794 |
-
#WBCR-AM .wam-assets-type-tabs__button:after:hover,
|
795 |
-
#WBCR-AM .wam-assets-type-tabs__button:before:hover {
|
796 |
-
-moz-box-shadow: none;
|
797 |
-
-ms-box-shadow: none;
|
798 |
-
-webkit-box-shadow: none;
|
799 |
-
-o-box-shadow: none;
|
800 |
-
}
|
801 |
-
#WBCR-AM .wam-assets-type-tabs__button::after {
|
802 |
-
content: "";
|
803 |
-
position: absolute;
|
804 |
-
top: 0;
|
805 |
-
right: 0;
|
806 |
-
bottom: 0;
|
807 |
-
left: 0;
|
808 |
-
opacity: 0.55;
|
809 |
-
}
|
810 |
-
#WBCR-AM .wam-assets-type-tabs__button--misc::after {
|
811 |
-
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAtCAYAAAAgJgIUAAAIhUlEQVRYhe2YXawdVRXHf2vtOXPOvbxUEgUJhdaIQemlbSgkkEZaiiSg4EVBEWKkYIg+qDQoiRFj8QElQT4SjSEitNGAYtKCRjFa21tTUhVbKrcxGFAqfTDBALVpe8587LV8mJlz59wvkBifXMmcMzNrz6z/+q+111575Iu33cZCkqYpSRI4caJPr9fTLM/PU9WLLcY1wFkOpwI9YAC8IsKLguwT1d0i8gxQqgqCoEFRVQQZsfG1zZtJFkQAiIDDScCNWZ5vdPfzYlnOKEflNDdf5fg1uCPwJ1H9gUp4COVfi9nRxZRltCuzLNsLfNvNzhsanwuA2Tp3X2kx3lMUxe9itGveCogUkXtjWf7Uok3MMew+c8y+bu7Vz7j72WVR/CTL8gfd/CTmwT9fOMYQeRSYnOOxO4gcCCHsctgvIi8Dx919XISl7r7Kzde7swZ8hBmL8Zb+YLB8rNe7RoMexRcG0R0CmGVcRH6WdtP786LYnSQhltFQFdwdEFQV3B8lIG5+kZndalaHoWHF7AP9wWDb2FhvUlWPNUBGwyHyzREAFbVHEbkZuEpD2AnEhnG8PuqxTXBE9elOJ7k26STXI/JqO0RutiEbZA+4O80T2uv16I31SDrJ5cCtI96rvtztppcCDw+Nvilx3CFJksd6ve4lIvKXNpAY4015XnzMrQahqqjISWZ273AgICLHer3uR4KGZ9r3R5mbMboAFjpJ8lyv150UkVdbL6csinvKsjwZQE/0+5w40f+URTt7mIgVtZ8fDLJ9/X5/XuPujkVDRBBRRGRmZtToRAVzR0PyfKfTuQV3G+JzXxrNPgMgX73jjmSQZX90s5UNCIFfAB9ssYKoknYSRIQYjSzLAOikHUDodBLcHFHBzcjzgjRNK3C1DLLsMYvxupadF9M0ndAsz1a5+7ktFjztpnePjY8xNj5Gt9utvRXcIYRQz4i5kQlJIKgCggMxRsyMGCPRIiGEuxEpWmy8O1q8UFV1Pe4zcEWm87zY0+8P6PcHDLJsmMV1mBcWn6WXCjR4xRIcEJE/tHPM3TdoLOOadlEKQXd0045107SZ+1AvO/NX6wVKeK0REUJIQKpzVflVy2HMfE0CvKeuhI03+2K0IY012slo9l4x+XmA51p21sYY368ivwf5TWPI3c92t8kY5aWk44+HoB5NajZk36wl4MzE3d/RnhWielhVazyOm9/iZg86kJvdLnChmT0PrEVkp8XYMUBUrwiqT7n7GXmRT7n5KaWVkHF6kiTfGsapKvURCHUElygiY216qNYCRIQkJCByw1DnvqQoy0tUlZAkl+HeaRwoy/LKaEYZywvc/JTmfow2aWbtZD4O5K28SBX3QTuO7j7u7nVSKSGE7UOWRPrdtLsnSQKq+tvmPiIkSfLroEqSJPtF5Ehz391/mecFZYxVXsA41SrdmCwSRP4JvHNoCE4XFVSUJEnQEB5wt9fNfKLX7W4LSXgOoBvCDvAryjJuSELY0+umT3jF79/MfEOM8RNu9oK7P4wIImDmuNnSJhR18h5JROQFNzu3WenMfbU4P4oekSioBlcNWyFW061VFIPqU6b+lEhVF6op6qiwX0LYX7jVK7oQQkCA0mV1m3lEDqtIK1vdcbdLRRAVwcxajQsj9aK+Na8MF1cHUaWTJFWZN8divKzdDAnsU1Xd1UKFOytxLpC6KY0WR80JC5cGaSrKjIQQ0KAEDajqOcCFbXsadKeqyD6BP7fQhTLG24UqjgJV0Wo6JDNiWc6hQajKdIyxAlK/rywKBv0Bg8GALMtu89Gk/LuI7FFRKTSE77fRWYxXlzF+PIQEDdV6EFTJ84I8zymKkizPafoBxxlkOWVZkuc5CBRlSSftMD4+zvj4OGmaXg58ciZmjopsveuub5xQFaWTJA+JyF9bQKQoiu/GWJ4jVWmtXG01JmaG1SuzO1iMdTykTgqvwCcBhHcVZfkwTTtZTfd/9MZ63wFQEVDVo51O50sjzYv72waDbFtRFO9bIPyjv/MuLILFeNagP9jmZqcOx1T/X+73B69QhTugqqRpuj0k4Xsj/aD7e7Isn4oxXtuy+aalLMsPnegPpqzVq9QO/tjdt7pVTM40ugLdbneTqu4Y2Tu4v70oisfLovyhm58/4/nciVJve3D3lcBDRVE86WanzWJpLyKfbW8HZlp+B1U93hvrfbRf0bdhZN9gdoO5XyewV1R3COx34WXwYzjj7rY0mq+O0TZYtLWIdOZQ47632+teFUJ4feF9RwXk6NhYbzIbZPfHGG8eMlKBCe6+1mNcW/tuCBmQ4h6asT7SGgzPHwU+p6KvBdWRGT53G1gBOZam6aeTJLleRF6ab3tXFxEFxoAwslVstwYih4GbcL8BeG1Yd1t7lkU3xCHoYyEJ52sIXxGR5+fsN+c4MKJ7UVW/3ut1LwAeWczOop8GqhVdXg1B7yLovWZ2Ec56M1sDnOFwMpACucDriBwWkf2iukvgaXM/LrqonxWIZcuXv+GgWgbAzvr4r8obw/wfyP9BNDJvYh6cnt4FrAM2r5iYuPPg9PQ6oOk7pHW+vh73CLAMOAJsATbV+mXAfcx8btgCbFoxMXGkbW8xJg7VBgAurq/nk+21bj1wJ9XnhRuBJTXYZcDVwMYazPbZL1hsih5oebAOmKpfPp8sqY8t9XOH6meXActbDhyZ8+SbALHu4PT0KmAV8OQC49ZTedd4OEXl+Zn1dQOAFRMTT8z3gjdKzCngwy1Q88kRYDWVxxtrwPe19Euak4PT08veCojdVCGYWkC/CngJ+AKVx1vq/2XMMHdja/z2g9PTz/6nIKbqF+5eQH+gNrwZeLYGtAp4oNbdT8XKbN2ILJQTW4FDKyYmDhycnt4MNLHc3NI3spHK65X19ZPMhG5TPbYJ6dYVExOHZhv7N8fmQDQfwhMYAAAAAElFTkSuQmCC") no-repeat 50%;
|
812 |
-
}
|
813 |
-
#WBCR-AM .wam-assets-type-tabs__button--theme::after {
|
814 |
-
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAvCAYAAACVDljoAAAGA0lEQVRYhe3Zf6ifVR0H8Nf1TnNb1lYUUS6jX0hhm2lB5XS3WWCQzkqLhmzTiAqsjSjoHrAtOtEvdEERkbWGki1JyyBY2HaNxFbN3RmFkdDVEZHLvK3N1ly7/fF5nu6zs+f53ue7DfrHNzx8v+c5n8857+fz+ZxzPueckfHxcaeAM3ARLsPFeBVehLNxGI/jEezGffg1jjYbyDn36mjeSRJciLVYVxHtwouxDO+pyntxG27FP4bp8IyhKfJOPICvGkyyDUvxZfzSLPleGIboWbgZ9+CCYTppwfm4E99IKS3so9CX6Hxsw4aO+kncguvMxuulWI0v4Tcdeh/E3Sml58xFYKTHYHoWvodVLXU/xmYxUP4zqB+8Geu1u/xnWJVzPtjVQB+Lfr6F5AHcgCuxYw6SMIP7cQ3ejyeK+pX4yqAG5iJ6hbBCE/txOb49h24X7sBb8afi/fUppWu7lAa5fqGIrfMb7w5iBV4vrDNfuLUvZoT1J0Q4/QLPb9Tvw7Kc899LxUHz6JqCJHy0IvsFLMZf8a8hyI7iXLwFD4nBdKdZzy7Bh/C5UrHL9fOqRpr4CbbgHDFV7RKx9UYxyt9Q/XY9F4kB9YOq/XNwF75f9LMupXR2G6E2LMPrGuUZYUU4Vn3gY/gdNlbyhzvaqvs5VMnuwdVVO6p2340zq/Ir8Sbs7EN0zPHu/K2Ipzbdd+m/ANxevsg5T6aUfiXCocbKvkQvLsr3mrVAjdoCN4nYerqon8Gzqz7+LWJ5jxiMJX5aEC377yT66qK8u4VEHd/7RbbUJDpStX0P/ibi84iYf0db+ivbP68v0RcW5X1FeaRB7LParUTMwX8W2dIBXIWnWuQeE9NW/RGL+hKdX5QPdcgx99S0AM8VM8VZHTKHhMXrfk+Q65qeyhG8YACRMnabmGnUHx0gu6AgV8Z7J9H9RfncAWRK6zdxpll31oNvpkVuieNjd7oU6HL9Hx0/j14olrwm6oZvFJl8c4sxUtXvESvZpcK1D4k5s8SFRbkcE51EdxcNXl51XlvjqFiRbsKjFYnSO8fwtur9oUr/Aryjqm9a9u0t/fciurMoL62I7arKR8TMsKlDfy4cUQ3ClNJrxUrUxI5SoStGd+P3jfIoPtnQGSZjakMdGvBxxw+kR524CnYSfRrfKt5djffin6fG8X/9PiXy3euKuq055xPm2kFp3q34CF5RlUfwdSwXicS1YiS3jeJBGBUW24OfFxz+gq+1KQ0iegCfEKlYjcXYLoL/i9qXwz54OX4oDiua+FTO+fE2hbm2Infjm8W7l4gM/Rqx7A37XFHpv6Zod1vOeWsXkT6buw0ie2riBSLhvV0kzH2wVITTj8S828QD+PAg5T5HOofEnHqXyBObWI33VR3diwdFgnFQLItLxGS+EpeYXZ1KklfmnJ88VaJEvK4Se/gbirrRisQlVfmYyD/PMncMfxc3tm3mSgxzpHMQHxD78nKrW7Y532CS+3A9VvchWTc6LO4QcZnw8JC6j+AzYpXbMoziyR47PiG2tDeLneWY2D68FM8Tbj+CJ4X1HhTL8v0G57annWiNw2JdPmFtPt04Gdf/X/AM0dONZ4ieboyMj4/v1L4vH8OnG/9Vcjsb5XInQKSDdZsbxS5gRUN2pGp3Y6E3kXMeSymtr+oXYQqbcs7fmSeSjkXimHFtg8TkwE+cxYYO2amK4CZxrj+FlxUyY43/0ymlZeIuYLNIXtZgS0ppYl6jk8vqL+tJsMZkh86k2SP1FZXM2kJmonkhVhFl9oM2YCum+0z4KwzO4pvun3C8R1aII8llwkIlZlJK9f+NOedNKaV1wqr1R27OOU/0ITpp9tqmdk0TTdeXBwcT4ryJ9vBoun6qlss5L66sexU2ppT29iE6bXA4dLmeuNb52ID60vXrcUtKaSznPJFSmhKD7rxTXesJCzct2bw0m6jqu65mdjZcT+x011TvJ4QHp7F1dPny5bXQiDD/fQ3FEXHR2nTbdCUzXT0PV3r1s0tcyO4Vd57Erd90Q3ek0JnCVM55+44dO7bhD5XsdmzIOU/9FxZhkSePNaNRAAAAAElFTkSuQmCC") no-repeat 50%;
|
815 |
-
}
|
816 |
-
#WBCR-AM .wam-assets-type-tabs__button--plugins::after {
|
817 |
-
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAtCAYAAAA6GuKaAAAKSUlEQVRYhe2Yf4xU1RXHv+feeW8GdpBlQViGqouCmJgKRGpTawsEa2JSKVSspkZl1fqrsYXIaOtSFxQ2wFB+pMXaaiumqVWJYG2iiVGBRkNbi2BrWxOxrFBlV9idnZndmXk/7j394923+3bYWXY21v7Tk7y89+6959zPPe/cc++7tHPnTgwl77777pDlAGDbNmJSolgqIZFICNd1LhUk5iut5wGYCeZGAAkAZQCfENEREB0URPuJ6C0AvhACIMK6deuq9lNNYjVrACACAK4DsNx1nGZmvtSHCupOb57SzHPAvIwD5XcE0a9J0BMClBtN/2I0SspX1ziOewDATzXzpSHsEMCorGPm2UrrzZ7n/1EptWw0/dcKbROwxVfqRaX15ytBOXJVvodloQ4zX+T5/q4fPPDAz1sfeqjuvwU9hoBnAawcChbAYSnFVinETTEp50sp50khvhqT8kYpRIaI/jIUvNL6jrLj7GltfeiskYLQCCdinIBnACyJFjIAIvq9bVvbPNfbb9mWUr4CCQEwg5mDZ9OSmS/XWq/QWi8LwUM7QojXxiTiS9asfbj3TNAj8jQBG6LAxlt5Am4DsFgK+ToAxTygw1EDwQsLojctK3adFYt9m4CuqNe11ovKjrt9RDzVPH3kyPsgEHzfv9r3/Zei/QshjtmWtWxqKvVWfzkzwAylgixSLpehtQYJAcdx7rNisVlTU6nvEuAxgH998MElZcd5jplnRT1uW9b169vanhsOuqqnhRAgojqt9Zao14ioNxG3vxkFBgBBBNfzvua47lVBSAAkBDzPu7u3t3dzdzb7nRMnTjzqeZ7lOg6apk//ayIeX0JEXf22AXi+v7mlpaVhVNClYgnFUukWpfVFUU+A+XtTpjQehPEsmEFEKDvO4k86O/ecOnnyeadcXiClhOe6d+Xz+R3MDAJgW9ZRIaX2fR++7+OCGTPes6zYHQzosF9mPkcrddeooBNjEjEhxB3RMiJ6acbMmU/GLAsxy4Jl7lIIaK1n+UrVaeZkV1fXb/r6+jbnC4VHmZkIwNSpU1dOOvvsNs/zVF+xCGm+xvr1bbulEM9F41tp3bx6dUuiZmjXceew1pdEvMxx294opUT0EkKgVC7HJzY0bJna2JgGAF+pVKG39z5mJiGEk0qlVjRMnLjNdRzkcjk4jrPy1KlTj4FZAoCUciMBXsTbM7TSX6oZWgixkCPpmIC/uZ73RjQszKREb6Hws48++ujpiZMmbW5sbLw/amf8WWf9oi6Z3F4qFtGTy8H3vDsLhcLmU11dd3788cePAcD6trbDRPTn6Nxh5kXV2KruPXyl5kUXECnlqzErpolMqbnnc7nrcrlcMwMgIYrTpk1rBkAdHR0bAaBQKFxj2fbziURiv+e6d+bz+R1aa0FEcFz3aMRJr2ilvmwcBB1svmqDBnAhI7oA8EGlFEJoIoKv1ISTJ09uCD2UzWaXE4DUAPgGX6mm7q6up8eNG7crl8/fo7WWRIRkMrkqJuWP+3sjHKxYZc+rGZqZJw9asUgcF0IMWoZ7stlbXc87P6rXnc0uB8CpadNuBcAdHR0bfaVS2Z6e7wOAIHLG1tU9aMViW7TuTxog0DEACoA0APU1QxMwJvIMAH3MjL7eYJUVQsRz+fzNQ+l2Z7PNAMh4nDs6OjaFdclk8vEJEyZs0VoPXjWBPgAuB3scALBrhmagPOhzMY8FA77vA0TwHWeW67oXVtM3Hg9DBSF4sVRaXJdM7kokEn/giKdBGItgFxmKhyoynKdPAphqBgAQPico+NsgIiilpmitq+bSIcCpo6Njo+/753Z2dr44ZfLkb8UTiVfCtlrrcxCGBgAQ9dQOLeh9rfmS/v2v5rlM/IwOJyOzQ0DlJx4J+AYTegkeHNNzB/UPHK8dGnSQwNfCgDHzlUREHAgs2z5s2fZR13Wnn4Eb3dnscmYem0qlbgYzMfMHtm2/GB2w0vqqMFuZLe/BmqGFEHvD2W3+NGYz+DIp5Z9czwP7/myt1Ij+OIgI5XKZy45jj6+v31AsFqHNngUAVq9uuRhA/wpIAKQQr1dlq9qREAdB9I/Ir5NUvrqfAfie95WeXG63r9TkMwHHpDw2ob7+9uS4cTew1gWtVLCNjYjjuPeBOToJPwTRGzVDCyJPCvHL/kEAUFov7evray0UCruVUpP62wrRG4vF/h3R9S3L+uf48ePXNDQ0fFFIGdihaD4KpKXlwasB3BS+m5X1qba2tmI1tuEmImJW7Aml9T1gvsCAU6lY/JHSun+WSyEKyWTyeinlYQAXM/NYx3VPJOvq/h6zrKLyfbDWQ/6pd506db7v+78KOUwsnxiTiO+oxjU8NAgkKG9ZsbTrersjRwADwFLm6+rqbiAhXmZmxBOJE2CG63nQzODTF5B+6e7umlkql3dpzY2hbXP/4Zq1D38yHHT18JACQgjYtr0nJuXjYecxy0Is2JaqRDz+E0H0MkyMstanxetQ0tnZ+fVSsbRPaz27Yr/x7KZNm546k/6ITpji8fhKXS5P11pf6ZTLYQeyr1hsEUI0CUHbCfQWgvwNEOA4ZRARWDOEFNBKI5fPz3Zd914AzQBERcgcIODukfCMCJoE9Y1JxK8tlZ3dWutF0XMPrfWNrHEDiA4IoldBeJuYjgHoZfDY4PdJz1VKLVJaX0GAVWmfgQOJeHzxI+vWZT816ABc5Mck4kvKjrtNKXUbMOi4SzLzFYr5inAsBDgAbDZLs8n1g846zPPTAO59ZN267pGy1HQAKYTstW3rds/Da0rp9cw8vQK+vynMLjFaPgiY6DiYWzdlMk/WwhAaH7GwyQVSyt/GpPyCFKKFiN6rPK87XW9Q3REhxMOJePwyADUDA6M86uXg23ZJKdsEsIW1vpzBC7XmeQDOBXMDgv2wC6IsAceJ6G1BtBeEN1lzn6ichp8GdFPTGfdBoZQBvG6uz0RGdT79v5b/Q39WQqtWrWqtKHsKQDuABQDmA1g7hF4rgP0A9pn3yrb1CI6GzwOQA/CCsVnZNnz+XSaTOQwA6XR6OYD2TCazL51O1wNYDmA8gA8BvJDJZHoEgDWmYoG5HwXQZIytqTLYNaY+lGjbegB7AWw1NlsBHAIwZ4i24fPWiK1bAMw3wIeM/gLTZi8wEB47ASwEMDeiOFrZasCnG5thGvpGlfbtABak0+kFFeVzEDivOZPJLASwFEBPOp2eU5nymsw9h+CTjEaWIHBC+DfdA2DCMO3bEYRZKwbCDQAOm2tPOp3eZ+qaM5lMe+jpNQgWrUOm4c5RAgOBl0PgVgwsiHuH0VmLCm9nMpkeBF9qpbG3AsChdDrdVBkeYYhUPXMYgRxGEINAMKkXmrKqkslk2g1Df1IwA3gSwM5MJrMUQZjVA7glDI92DP40UVkQee4xAPsQjPwdU748ArYWwB4MZJgwNocFN3pHTR8hyxIzgO0YmPgfjiRP741c4SxfaSD2mKsdwcYeCNLbUjOQvQb+hUj9kBLxdr1532d05hg7KwBsy2QyO/8DenfAKWku08QAAAAASUVORK5CYII=") no-repeat 50%;
|
818 |
-
}
|
819 |
-
#WBCR-AM .wam-assets-type-tabs__button:hover,
|
820 |
-
#WBCR-AM .wam-assets-type-tabs__button:focus {
|
821 |
-
outline: none;
|
822 |
-
background: #E6E7E7;
|
823 |
-
}
|
824 |
-
#WBCR-AM .wam-assets-type-tabs__button:hover::after,
|
825 |
-
#WBCR-AM .wam-assets-type-tabs__button:focus::after {
|
826 |
-
opacity: 1;
|
827 |
-
}
|
828 |
-
#WBCR-AM .wam-assets-type-tabs__button.wam-assets-type-tab__active {
|
829 |
-
background: #CACDCF;
|
830 |
-
}
|
831 |
-
#WBCR-AM .wam-assets-type-tabs__button.wam-assets-type-tab__active::after {
|
832 |
-
opacity: 1;
|
833 |
-
}
|
834 |
-
#WBCR-AM .wam-assets-type-tab-content {
|
835 |
-
display: none;
|
836 |
-
padding: 20px 30px;
|
837 |
-
}
|
838 |
-
#WBCR-AM .wam-assets-type-tab-content.wam-assets-type-tab-content__active {
|
839 |
-
display: block !important;
|
840 |
-
}
|
841 |
-
#WBCR-AM .wam-nav-plugins {
|
842 |
-
padding: 0;
|
843 |
-
margin: 0;
|
844 |
-
list-style: none;
|
845 |
-
}
|
846 |
-
#WBCR-AM .wam-nav-plugins .wam-nav-plugins__tab {
|
847 |
-
position: relative;
|
848 |
-
text-align: left;
|
849 |
-
margin-bottom: 3px;
|
850 |
-
}
|
851 |
-
#WBCR-AM .wam-nav-plugins .wam-nav-plugins__tab a {
|
852 |
-
display: block;
|
853 |
-
padding: 10px 20px;
|
854 |
-
background: #f5f5f5;
|
855 |
-
color: #222;
|
856 |
-
}
|
857 |
-
#WBCR-AM .wam-nav-plugins .wam-nav-plugins__tab a strong,
|
858 |
-
#WBCR-AM .wam-nav-plugins .wam-nav-plugins__tab a span {
|
859 |
-
display: block;
|
860 |
-
}
|
861 |
-
#WBCR-AM .wam-nav-plugins .wam-nav-plugins__tab a span {
|
862 |
-
font-size: 12px;
|
863 |
-
color: #2f2f2f;
|
864 |
-
}
|
865 |
-
#WBCR-AM .wam-nav-plugins .wam-nav-plugins__tab:hover a {
|
866 |
-
background: #efefef;
|
867 |
-
text-decoration: none;
|
868 |
-
}
|
869 |
-
#WBCR-AM .wam-nav-plugins .wam-nav-plugins__tab.wam-nav-plugins__tab--active a {
|
870 |
-
background: #e8e8e8;
|
871 |
-
}
|
872 |
-
#WBCR-AM .wam-nav-plugins .wam-nav-plugins__tab-load-mode--enable::after,
|
873 |
-
#WBCR-AM .wam-nav-plugins .wam-nav-plugins__tab-load-mode--disable-plugin::after,
|
874 |
-
#WBCR-AM .wam-nav-plugins .wam-nav-plugins__tab-load-mode--disable-assets::after {
|
875 |
-
display: block;
|
876 |
-
content: '';
|
877 |
-
position: absolute;
|
878 |
-
bottom: 10px;
|
879 |
-
right: 10px;
|
880 |
-
width: 10px;
|
881 |
-
height: 10px;
|
882 |
-
background: #8bc34a;
|
883 |
-
text-align: center;
|
884 |
-
font-size: 11px;
|
885 |
-
font-weight: 600;
|
886 |
-
border-radius: 4px;
|
887 |
-
}
|
888 |
-
#WBCR-AM .wam-nav-plugins .wam-nav-plugins__tab-load-mode--disable-assets::after,
|
889 |
-
#WBCR-AM .wam-nav-plugins .wam-nav-plugins__tab-load-mode--disable-plugin::after {
|
890 |
-
background: #d47b7b;
|
891 |
-
}
|
892 |
-
#WBCR-AM .wam-nav-plugins__tab-content {
|
893 |
-
display: none;
|
894 |
-
}
|
895 |
-
#WBCR-AM .wam-nav-plugins__tab-content.js-wam-nav-plugins__tab-content--active {
|
896 |
-
display: block !important;
|
897 |
-
}
|
898 |
-
#WBCR-AM .wam-help-hint {
|
899 |
-
display: inline-block;
|
900 |
-
position: relative;
|
901 |
-
background: url(../img/help.png) no-repeat 0 0 transparent;
|
902 |
-
height: 14px;
|
903 |
-
width: 13px;
|
904 |
-
cursor: help;
|
905 |
-
vertical-align: middle;
|
906 |
-
top: -1px;
|
907 |
-
}
|
908 |
-
#WBCR-AM .wam-asset-type {
|
909 |
-
display: inline-block;
|
910 |
-
padding: 5px 10px;
|
911 |
-
font-size: 13px;
|
912 |
-
text-transform: uppercase;
|
913 |
-
text-align: center;
|
914 |
-
border-radius: 3px;
|
915 |
-
vertical-align: middle;
|
916 |
-
margin-right: 15px;
|
917 |
-
}
|
918 |
-
#WBCR-AM .wam-asset-type--js {
|
919 |
-
background: #ffcb1e;
|
920 |
-
color: #403102;
|
921 |
-
}
|
922 |
-
#WBCR-AM .wam-asset-type--css {
|
923 |
-
background: #9757a5;
|
924 |
-
color: #ffffff;
|
925 |
-
}
|
926 |
-
#WBCR-AM .wam-colors--red {
|
927 |
-
color: red;
|
928 |
-
}
|
929 |
-
#WBCR-AM .wam-colors--grey {
|
930 |
-
color: grey;
|
931 |
-
}
|
932 |
-
#WBCR-AM .wam-button {
|
933 |
-
display: inline-block;
|
934 |
-
vertical-align: bottom;
|
935 |
-
padding: 5px 10px;
|
936 |
-
text-decoration: none;
|
937 |
-
box-shadow: none;
|
938 |
-
font-weight: 600;
|
939 |
-
border-radius: 3px;
|
940 |
-
}
|
941 |
-
#WBCR-AM .wam-button--small {
|
942 |
-
padding: 2px 8px;
|
943 |
-
font-size: 13px;
|
944 |
-
}
|
945 |
-
#WBCR-AM .wam-button.js-wam-button--hidden {
|
946 |
-
display: none;
|
947 |
-
}
|
948 |
-
#WBCR-AM .wam-button:hover {
|
949 |
-
cursor: pointer;
|
950 |
-
text-decoration: none;
|
951 |
-
box-shadow: none;
|
952 |
-
}
|
953 |
-
#WBCR-AM .wam-button:focus {
|
954 |
-
outline: none;
|
955 |
-
box-shadow: none;
|
956 |
-
}
|
957 |
-
#WBCR-AM .wam-button__icon {
|
958 |
-
height: 28px;
|
959 |
-
width: 28px;
|
960 |
-
padding: 5px;
|
961 |
-
line-height: 0;
|
962 |
-
}
|
963 |
-
#WBCR-AM .wam-button.js-wam-button__icon--cogs {
|
964 |
-
background: url('../img/cogs.png') center no-repeat;
|
965 |
-
}
|
966 |
-
#WBCR-AM .wam-button.js-wam-button__icon--close {
|
967 |
-
background: url('../img/close.png') center no-repeat;
|
968 |
-
}
|
969 |
-
#WBCR-AM .wam-button--default {
|
970 |
-
background-color: #eceded;
|
971 |
-
color: #222;
|
972 |
-
border: 1px solid #c3c3c3;
|
973 |
-
}
|
974 |
-
#WBCR-AM .wam-button--default:hover {
|
975 |
-
cursor: pointer;
|
976 |
-
background-color: #fff;
|
977 |
-
border: 1px solid #c3c3c3;
|
978 |
-
}
|
979 |
-
#WBCR-AM .wam-button--danger {
|
980 |
-
background-color: #fff;
|
981 |
-
color: #ff7063;
|
982 |
-
border: 1px solid #ff7063;
|
983 |
-
}
|
984 |
-
#WBCR-AM .wam-button--danger:hover {
|
985 |
-
background-color: #fff;
|
986 |
-
color: #222;
|
987 |
-
border: 1px solid #c3c3c3;
|
988 |
-
}
|
989 |
-
#WBCR-AM .wam-button--yellow {
|
990 |
-
background-color: #fff;
|
991 |
-
color: #a5820e;
|
992 |
-
border: 1px solid #ffcb1e;
|
993 |
-
}
|
994 |
-
#WBCR-AM .wam-button--yellow:hover {
|
995 |
-
background-color: #fff;
|
996 |
-
color: #222;
|
997 |
-
border: 1px solid #c3c3c3;
|
998 |
-
}
|
999 |
-
#WBCR-AM .wam-select {
|
1000 |
-
display: inline-block;
|
1001 |
-
vertical-align: bottom;
|
1002 |
-
height: auto;
|
1003 |
-
padding: 4px 10px;
|
1004 |
-
}
|
1005 |
-
#WBCR-AM .wam-select.js-wam-select--enable {
|
1006 |
-
background: #efffde;
|
1007 |
-
color: #4e6f28;
|
1008 |
-
border: 1px solid #8bc34a;
|
1009 |
-
}
|
1010 |
-
#WBCR-AM .wam-select.js-wam-select--disable {
|
1011 |
-
background: #ffdada;
|
1012 |
-
border: 1px solid #efc3c3;
|
1013 |
-
color: #774a4a;
|
1014 |
-
}
|
1015 |
-
#WBCR-AM .wam-select:focus {
|
1016 |
-
outline: none;
|
1017 |
-
box-shadow: none;
|
1018 |
-
}
|
1019 |
-
#WBCR-AM.wam-wrapper {
|
1020 |
-
min-width: 1365px;
|
1021 |
-
position: fixed;
|
1022 |
-
z-index: 99999999;
|
1023 |
-
top: 0;
|
1024 |
-
bottom: 0;
|
1025 |
-
left: 0;
|
1026 |
-
right: 0;
|
1027 |
-
background: #FFF;
|
1028 |
-
overflow-y: auto;
|
1029 |
-
}
|
1030 |
-
#WBCR-AM .wam-content {
|
1031 |
-
display: block;
|
1032 |
-
width: 100%;
|
1033 |
-
margin: 0;
|
1034 |
-
padding: 62px 0 0 75px;
|
1035 |
-
}
|
1036 |
-
#WBCR-AM .wam-info-section {
|
1037 |
-
display: table;
|
1038 |
-
padding: 0 30px 30px;
|
1039 |
-
color: #5C5C5C;
|
1040 |
-
font-size: 15px;
|
1041 |
-
line-height: 21px;
|
1042 |
-
}
|
1043 |
-
#WBCR-AM .wam-info-section p {
|
1044 |
-
font-size: 15px;
|
1045 |
-
margin: 0;
|
1046 |
-
}
|
1047 |
-
#WBCR-AM .wam-info-section p:not(:last-child) {
|
1048 |
-
margin-bottom: 25px;
|
1049 |
-
}
|
1050 |
-
#WBCR-AM .wam-info-section .wam-info-section__warning,
|
1051 |
-
#WBCR-AM .wam-info-section .wam-info-section__go-to-premium {
|
1052 |
-
display: table-cell;
|
1053 |
-
width: 49%;
|
1054 |
-
text-align: left;
|
1055 |
-
vertical-align: top;
|
1056 |
-
padding: 20px;
|
1057 |
-
background: #f9f9f9;
|
1058 |
-
border-right: 2px solid #fff;
|
1059 |
-
}
|
1060 |
-
#WBCR-AM .wam-info-section .wam-info-section__go-to-premium {
|
1061 |
-
background: #f9f9f9;
|
1062 |
-
border-left: 2px solid #fff;
|
1063 |
-
margin-left: 10px;
|
1064 |
-
}
|
1065 |
-
#WBCR-AM .wam-info-section .wam-info-section__go-to-premium h3 {
|
1066 |
-
position: relative;
|
1067 |
-
margin: 0 0 20px;
|
1068 |
-
padding: 10px 0;
|
1069 |
-
text-align: left;
|
1070 |
-
border-bottom: 2px solid #e2e2e2;
|
1071 |
-
vertical-align: bottom;
|
1072 |
-
}
|
1073 |
-
#WBCR-AM .wam-info-section .wam-info-section__go-to-premium h3 span {
|
1074 |
-
display: block;
|
1075 |
-
font-size: 17px;
|
1076 |
-
font-weight: 600;
|
1077 |
-
color: #e47558;
|
1078 |
-
text-transform: uppercase;
|
1079 |
-
}
|
1080 |
-
#WBCR-AM .wam-info-section .wam-info-section__go-to-premium ul {
|
1081 |
-
list-style: none;
|
1082 |
-
margin-left: 5px;
|
1083 |
-
margin-bottom: 20px;
|
1084 |
-
padding: 0;
|
1085 |
-
}
|
1086 |
-
#WBCR-AM .wam-info-section .wam-info-section__go-to-premium ul li {
|
1087 |
-
margin-bottom: 5px;
|
1088 |
-
font-weight: 600;
|
1089 |
-
font-size: 15px;
|
1090 |
-
color: #7d8871;
|
1091 |
-
padding: 0;
|
1092 |
-
}
|
1093 |
-
#WBCR-AM .wam-info-section .wam-info-section__go-to-premium ul li:before {
|
1094 |
-
content: " ";
|
1095 |
-
display: inline-block;
|
1096 |
-
width: 0.4em;
|
1097 |
-
height: 0.7em;
|
1098 |
-
border: solid #8bc34a;
|
1099 |
-
border-width: 0 0.2em 0.2em 0;
|
1100 |
-
left: 0;
|
1101 |
-
margin-right: 10px;
|
1102 |
-
-webkit-transform: rotate(45deg);
|
1103 |
-
-moz-transform: rotate(45deg);
|
1104 |
-
-o-transform: rotate(45deg);
|
1105 |
-
transform: rotate(45deg);
|
1106 |
-
}
|
1107 |
-
#WBCR-AM .wam-plugin-settings {
|
1108 |
-
padding-bottom: 10px;
|
1109 |
-
}
|
1110 |
-
#WBCR-AM .wam-plugin-settings__controls {
|
1111 |
-
vertical-align: top;
|
1112 |
-
}
|
1113 |
-
#WBCR-AM .wam-plugin-settings .js-wam-plugin-settings__conditions {
|
1114 |
-
display: none;
|
1115 |
-
padding: 20px;
|
1116 |
-
}
|
1117 |
-
@media screen and (max-width: 1367px) {
|
1118 |
-
#WBCR p {
|
1119 |
-
font-size: 13px;
|
1120 |
-
}
|
1121 |
-
#WBCR .wam-content {
|
1122 |
-
padding: 32px 0 0 75px;
|
1123 |
-
}
|
1124 |
-
#WBCR .wam-float-panel__left .wam-float-panel__item_value {
|
1125 |
-
display: block;
|
1126 |
-
}
|
1127 |
-
#WBCR .wam-float-panel__right .wam-table__checkbox-text {
|
1128 |
-
font-size: 13px;
|
1129 |
-
}
|
1130 |
-
#WBCR .wam-float-panel__right .wam-float-panel__reset,
|
1131 |
-
#WBCR .wam-float-panel__right .wam-float-panel__save {
|
1132 |
-
font-size: 12px;
|
1133 |
-
}
|
1134 |
-
#WBCR .wam-float-panel__right .wam-float-panel__checkbox-text {
|
1135 |
-
font-size: 12px;
|
1136 |
-
display: block;
|
1137 |
-
line-height: 1.5;
|
1138 |
-
}
|
1139 |
-
#WBCR .wam-float-panel__right .wam-float-panel__close {
|
1140 |
-
width: 30px;
|
1141 |
-
height: 30px;
|
1142 |
-
margin: 0 10px 0 15px;
|
1143 |
-
border: 3px solid #FFF;
|
1144 |
-
}
|
1145 |
-
#WBCR .wam-info-section {
|
1146 |
-
padding: 0;
|
1147 |
-
}
|
1148 |
-
#WBCR .wam-info-section,
|
1149 |
-
#WBCR .wam-info-section p {
|
1150 |
-
font-size: 13px;
|
1151 |
-
}
|
1152 |
-
#WBCR .wam-info-section .wam-info-section__warning {
|
1153 |
-
padding: 20px 20px 30px;
|
1154 |
-
}
|
1155 |
-
#WBCR .wbcr-gnz-button__pro {
|
1156 |
-
font-size: 12px;
|
1157 |
-
}
|
1158 |
-
#WBCR .wam-table {
|
1159 |
-
margin: 0;
|
1160 |
-
}
|
1161 |
-
#WBCR .wam-table th {
|
1162 |
-
font-size: 13px;
|
1163 |
-
}
|
1164 |
-
#WBCR .wam-table .wam-table__item .wam-table__item-name {
|
1165 |
-
font-size: 14px;
|
1166 |
-
}
|
1167 |
-
#WBCR .wam-table .wam-table__item .wam-table__item-author,
|
1168 |
-
#WBCR .wam-table .wam-table__item .wam-table__item-version,
|
1169 |
-
#WBCR .wam-table .wam-table__item .wbcr-use-by-comment,
|
1170 |
-
#WBCR .wam-table .wam-table__item .wam-table__item-author a,
|
1171 |
-
#WBCR .wam-table .wam-table__item .wam-table__item-version a,
|
1172 |
-
#WBCR .wam-table .wam-table__item .wbcr-use-by-comment a {
|
1173 |
-
font-size: 12px;
|
1174 |
-
}
|
1175 |
-
#WBCR .wam-table .wam-table__script-name {
|
1176 |
-
font-size: 14px;
|
1177 |
-
}
|
1178 |
-
#WBCR .wam-table .wam-table__script-name b {
|
1179 |
-
font-size: 11px;
|
1180 |
-
font-weight: lighter;
|
1181 |
-
padding: 3px 7px;
|
1182 |
-
margin-right: 8px;
|
1183 |
-
}
|
1184 |
-
#WBCR .wam-table .wam-table__script-path a {
|
1185 |
-
font-size: 11px;
|
1186 |
-
}
|
1187 |
-
#WBCR .wam-table .wam-table__column_switch {
|
1188 |
-
width: 10%;
|
1189 |
-
}
|
1190 |
-
#WBCR .wam-table .wam-table__column_switch .wam-table__th-external-plugin,
|
1191 |
-
#WBCR .wam-table .wam-table__column_switch em {
|
1192 |
-
font-size: 10px;
|
1193 |
-
}
|
1194 |
-
#WBCR .wam-table .wam-table__column_switch b {
|
1195 |
-
font-size: 12px;
|
1196 |
-
}
|
1197 |
-
#WBCR .wam-table .wam-table__column_condition {
|
1198 |
-
width: 35%;
|
1199 |
-
}
|
1200 |
-
}
|
1201 |
-
@media screen and (max-width: 1600px) {
|
1202 |
-
#WBCR .wam-float-panel__data-main {
|
1203 |
-
display: none;
|
1204 |
-
}
|
1205 |
-
#WBCR .wam-float-panel__data-hidden {
|
1206 |
-
display: block;
|
1207 |
-
}
|
1208 |
-
}
|
1209 |
/*# sourceMappingURL=assets-manager.css.map */
|
1 |
+
/**
|
2 |
+
* Assets manager styles
|
3 |
+
* @author Webcraftic <wordpress.webraftic@gmail.com>
|
4 |
+
* @copyright Webcraftic 05.09.2019
|
5 |
+
*/
|
6 |
+
html,
|
7 |
+
body {
|
8 |
+
overflow: hidden !important;
|
9 |
+
}
|
10 |
+
html {
|
11 |
+
line-height: 1.15 !important;
|
12 |
+
-webkit-text-size-adjust: 100% !important;
|
13 |
+
box-sizing: border-box !important;
|
14 |
+
}
|
15 |
+
body {
|
16 |
+
margin: 0 !important;
|
17 |
+
padding: 0 !important;
|
18 |
+
background: #FFF !important;
|
19 |
+
}
|
20 |
+
body,
|
21 |
+
body p {
|
22 |
+
font-family: Arial, "Helvetica Neue", sans-serif;
|
23 |
+
}
|
24 |
+
#WBCR-AM {
|
25 |
+
/**
|
26 |
+
* Reset styles
|
27 |
+
* @author Webcraftic <wordpress.webraftic@gmail.com>
|
28 |
+
* @copyright Webcraftic 15.10.2018
|
29 |
+
*/
|
30 |
+
/**
|
31 |
+
* Placeholderss
|
32 |
+
*/
|
33 |
+
/**
|
34 |
+
* Tabless
|
35 |
+
|
36 |
+
* @author Alex Kovalev <alex.kovalevv@gmail.com>
|
37 |
+
* @copyright Webcraftic 26.08.2019
|
38 |
+
*/
|
39 |
+
/**
|
40 |
+
* Tooltips
|
41 |
+
|
42 |
+
* @author Alex Kovalev <alex.kovalevv@gmail.com>
|
43 |
+
* @copyright Webcraftic 26.08.2019
|
44 |
+
*/
|
45 |
+
/**
|
46 |
+
* Float panel
|
47 |
+
|
48 |
+
* @author Alex Kovalev <alex.kovalevv@gmail.com>
|
49 |
+
* @copyright Webcraftic 26.08.2019
|
50 |
+
*/
|
51 |
+
/**
|
52 |
+
* Tabs
|
53 |
+
|
54 |
+
* @author Alex Kovalev <alex.kovalevv@gmail.com>
|
55 |
+
* @copyright Webcraftic 26.08.2019
|
56 |
+
*/
|
57 |
+
/** ---------------- PLUGINS TABS------------------------- */
|
58 |
+
/** ---------------- /PLUGINS TABS------------------------ */
|
59 |
+
/*.wam-help-hint {
|
60 |
+
//display: inline-block;
|
61 |
+
//width: 16px;
|
62 |
+
//height: 16px;
|
63 |
+
//line-height: 0 !important;
|
64 |
+
//padding: 0;
|
65 |
+
font-size: 11px;
|
66 |
+
font-style: normal;
|
67 |
+
text-align: left;
|
68 |
+
color: #fff;
|
69 |
+
background: #b4b5b5;
|
70 |
+
border-radius: 2px;
|
71 |
+
|
72 |
+
img {
|
73 |
+
display: inline-block;
|
74 |
+
margin: 3px 0 0 4px;
|
75 |
+
}
|
76 |
+
}*/
|
77 |
+
}
|
78 |
+
#WBCR-AM *,
|
79 |
+
#WBCR-AM *:before,
|
80 |
+
#WBCR-AM *:after {
|
81 |
+
-webkit-box-sizing: border-box;
|
82 |
+
-moz-box-sizing: border-box;
|
83 |
+
box-sizing: border-box;
|
84 |
+
}
|
85 |
+
#WBCR-AM,
|
86 |
+
#WBCR-AM h2,
|
87 |
+
#WBCR-AM h3,
|
88 |
+
#WBCR-AM h4,
|
89 |
+
#WBCR-AM h5,
|
90 |
+
#WBCR-AM h6,
|
91 |
+
#WBCR-AM p,
|
92 |
+
#WBCR-AM strong,
|
93 |
+
#WBCR-AM b,
|
94 |
+
#WBCR-AM span,
|
95 |
+
#WBCR-AM em,
|
96 |
+
#WBCR-AM i,
|
97 |
+
#WBCR-AM a,
|
98 |
+
#WBCR-AM div,
|
99 |
+
#WBCR-AM main,
|
100 |
+
#WBCR-AM section,
|
101 |
+
#WBCR-AM li,
|
102 |
+
#WBCR-AM button,
|
103 |
+
#WBCR-AM input[type="submit"],
|
104 |
+
#WBCR-AM input[type="reset"],
|
105 |
+
#WBCR-AM .wbcr-gnz-switch-premium {
|
106 |
+
font-family: Arial, "Helvetica Neue", sans-serif;
|
107 |
+
font-size: 14px;
|
108 |
+
font-style: normal;
|
109 |
+
font-weight: normal;
|
110 |
+
text-transform: none;
|
111 |
+
text-shadow: none;
|
112 |
+
}
|
113 |
+
#WBCR-AM h1 {
|
114 |
+
font-size: 2em;
|
115 |
+
margin: 0.67em 0;
|
116 |
+
}
|
117 |
+
#WBCR-AM hr {
|
118 |
+
box-sizing: content-box;
|
119 |
+
height: 0;
|
120 |
+
overflow: visible;
|
121 |
+
}
|
122 |
+
#WBCR-AM pre {
|
123 |
+
font-family: monospace, monospace;
|
124 |
+
font-size: 1em;
|
125 |
+
}
|
126 |
+
#WBCR-AM a {
|
127 |
+
background-color: transparent;
|
128 |
+
}
|
129 |
+
#WBCR-AM abbr[title] {
|
130 |
+
border-bottom: none;
|
131 |
+
text-decoration: underline dotted;
|
132 |
+
}
|
133 |
+
#WBCR-AM b,
|
134 |
+
#WBCR-AM strong {
|
135 |
+
font-weight: bolder;
|
136 |
+
}
|
137 |
+
#WBCR-AM code,
|
138 |
+
#WBCR-AM kbd,
|
139 |
+
#WBCR-AM samp {
|
140 |
+
font-family: monospace, monospace;
|
141 |
+
font-size: 1em;
|
142 |
+
}
|
143 |
+
#WBCR-AM small {
|
144 |
+
font-size: 80%;
|
145 |
+
}
|
146 |
+
#WBCR-AM sub,
|
147 |
+
#WBCR-AM sup {
|
148 |
+
font-size: 75%;
|
149 |
+
line-height: 0;
|
150 |
+
position: relative;
|
151 |
+
vertical-align: baseline;
|
152 |
+
}
|
153 |
+
#WBCR-AM sub {
|
154 |
+
bottom: -0.25em;
|
155 |
+
}
|
156 |
+
#WBCR-AM sup {
|
157 |
+
top: -0.5em;
|
158 |
+
}
|
159 |
+
#WBCR-AM img {
|
160 |
+
border-style: none;
|
161 |
+
}
|
162 |
+
#WBCR-AM button,
|
163 |
+
#WBCR-AM input,
|
164 |
+
#WBCR-AM optgroup,
|
165 |
+
#WBCR-AM select,
|
166 |
+
#WBCR-AM textarea {
|
167 |
+
font-family: inherit;
|
168 |
+
font-size: 100%;
|
169 |
+
line-height: 1.15;
|
170 |
+
margin: 0;
|
171 |
+
height: auto;
|
172 |
+
width: auto;
|
173 |
+
}
|
174 |
+
#WBCR-AM button,
|
175 |
+
#WBCR-AM input,
|
176 |
+
#WBCR-AM optgroup,
|
177 |
+
#WBCR-AM select,
|
178 |
+
#WBCR-AM textarea,
|
179 |
+
#WBCR-AM button:hover,
|
180 |
+
#WBCR-AM input:hover,
|
181 |
+
#WBCR-AM optgroup:hover,
|
182 |
+
#WBCR-AM select:hover,
|
183 |
+
#WBCR-AM textarea:hover,
|
184 |
+
#WBCR-AM button:focus,
|
185 |
+
#WBCR-AM input:focus,
|
186 |
+
#WBCR-AM optgroup:focus,
|
187 |
+
#WBCR-AM select:focus,
|
188 |
+
#WBCR-AM textarea:focus {
|
189 |
+
-moz-box-shadow: none;
|
190 |
+
-ms-box-shadow: none;
|
191 |
+
-webkit-box-shadow: none;
|
192 |
+
-o-box-shadow: none;
|
193 |
+
}
|
194 |
+
#WBCR-AM button,
|
195 |
+
#WBCR-AM input {
|
196 |
+
overflow: visible;
|
197 |
+
}
|
198 |
+
#WBCR-AM button,
|
199 |
+
#WBCR-AM select {
|
200 |
+
text-transform: none;
|
201 |
+
}
|
202 |
+
#WBCR-AM button,
|
203 |
+
#WBCR-AM [type="button"],
|
204 |
+
#WBCR-AM [type="reset"],
|
205 |
+
#WBCR-AM [type="submit"] {
|
206 |
+
-webkit-appearance: button;
|
207 |
+
}
|
208 |
+
#WBCR-AM button::-moz-focus-inner,
|
209 |
+
#WBCR-AM [type="button"]::-moz-focus-inner,
|
210 |
+
#WBCR-AM [type="reset"]::-moz-focus-inner,
|
211 |
+
#WBCR-AM [type="submit"]::-moz-focus-inner {
|
212 |
+
border-style: none;
|
213 |
+
padding: 0;
|
214 |
+
}
|
215 |
+
#WBCR-AM button:-moz-focusring,
|
216 |
+
#WBCR-AM [type="button"]:-moz-focusring,
|
217 |
+
#WBCR-AM [type="reset"]:-moz-focusring,
|
218 |
+
#WBCR-AM [type="submit"]:-moz-focusring {
|
219 |
+
outline: 1px dotted ButtonText;
|
220 |
+
}
|
221 |
+
#WBCR-AM fieldset {
|
222 |
+
padding: 0.35em 0.75em 0.625em;
|
223 |
+
}
|
224 |
+
#WBCR-AM legend {
|
225 |
+
box-sizing: border-box;
|
226 |
+
color: inherit;
|
227 |
+
display: table;
|
228 |
+
max-width: 100%;
|
229 |
+
padding: 0;
|
230 |
+
white-space: normal;
|
231 |
+
}
|
232 |
+
#WBCR-AM textarea {
|
233 |
+
overflow: auto;
|
234 |
+
}
|
235 |
+
#WBCR-AM [type="checkbox"],
|
236 |
+
#WBCR-AM [type="radio"] {
|
237 |
+
box-sizing: border-box;
|
238 |
+
padding: 0;
|
239 |
+
}
|
240 |
+
#WBCR-AM [type="number"]::-webkit-inner-spin-button,
|
241 |
+
#WBCR-AM [type="number"]::-webkit-outer-spin-button {
|
242 |
+
height: auto;
|
243 |
+
}
|
244 |
+
#WBCR-AM [type="search"] {
|
245 |
+
-webkit-appearance: textfield;
|
246 |
+
outline-offset: -2px;
|
247 |
+
}
|
248 |
+
#WBCR-AM [type="search"]::-webkit-search-decoration {
|
249 |
+
-webkit-appearance: none;
|
250 |
+
}
|
251 |
+
#WBCR-AM ::-webkit-file-upload-button {
|
252 |
+
-webkit-appearance: button;
|
253 |
+
font: inherit;
|
254 |
+
}
|
255 |
+
#WBCR-AM fieldset {
|
256 |
+
padding: 0.35em 0.75em 0.625em;
|
257 |
+
}
|
258 |
+
#WBCR-AM legend {
|
259 |
+
box-sizing: border-box;
|
260 |
+
color: inherit;
|
261 |
+
display: table;
|
262 |
+
max-width: 100%;
|
263 |
+
padding: 0;
|
264 |
+
white-space: normal;
|
265 |
+
}
|
266 |
+
#WBCR-AM progress {
|
267 |
+
vertical-align: baseline;
|
268 |
+
}
|
269 |
+
#WBCR-AM textarea {
|
270 |
+
overflow: auto;
|
271 |
+
}
|
272 |
+
#WBCR-AM [type=checkbox],
|
273 |
+
#WBCR-AM [type=radio] {
|
274 |
+
box-sizing: border-box;
|
275 |
+
padding: 0;
|
276 |
+
}
|
277 |
+
#WBCR-AM [type=number]::-webkit-inner-spin-button,
|
278 |
+
#WBCR-AM [type=number]::-webkit-outer-spin-button {
|
279 |
+
height: auto;
|
280 |
+
}
|
281 |
+
#WBCR-AM [type=search] {
|
282 |
+
-webkit-appearance: textfield;
|
283 |
+
outline-offset: -2px;
|
284 |
+
}
|
285 |
+
#WBCR-AM [type=search]::-webkit-search-decoration {
|
286 |
+
-webkit-appearance: none;
|
287 |
+
}
|
288 |
+
#WBCR-AM ::-webkit-file-upload-button {
|
289 |
+
-webkit-appearance: button;
|
290 |
+
font: inherit;
|
291 |
+
}
|
292 |
+
#WBCR-AM details {
|
293 |
+
display: block;
|
294 |
+
}
|
295 |
+
#WBCR-AM summary {
|
296 |
+
display: list-item;
|
297 |
+
}
|
298 |
+
#WBCR-AM template {
|
299 |
+
display: none;
|
300 |
+
}
|
301 |
+
#WBCR-AM [hidden] {
|
302 |
+
display: none;
|
303 |
+
}
|
304 |
+
#WBCR-AM table,
|
305 |
+
#WBCR-AM caption,
|
306 |
+
#WBCR-AM tbody,
|
307 |
+
#WBCR-AM tfoot,
|
308 |
+
#WBCR-AM thead,
|
309 |
+
#WBCR-AM tr,
|
310 |
+
#WBCR-AM th,
|
311 |
+
#WBCR-AM td {
|
312 |
+
margin: 0;
|
313 |
+
padding: 0;
|
314 |
+
border: 0;
|
315 |
+
font-size: 100%;
|
316 |
+
font: inherit;
|
317 |
+
vertical-align: middle;
|
318 |
+
line-height: 1.2;
|
319 |
+
}
|
320 |
+
#WBCR-AM table {
|
321 |
+
table-layout: auto;
|
322 |
+
border-collapse: collapse;
|
323 |
+
border-spacing: 0;
|
324 |
+
}
|
325 |
+
#WBCR-AM span {
|
326 |
+
display: inline;
|
327 |
+
margin: 0;
|
328 |
+
}
|
329 |
+
#WBCR-AM input[type="text"]::-moz-placeholder {
|
330 |
+
color: #cccccc;
|
331 |
+
}
|
332 |
+
#WBCR-AM input[type="text"]::-webkit-input-placeholder,
|
333 |
+
#WBCR-AM textarea::-webkit-input-placeholder {
|
334 |
+
color: #cccccc;
|
335 |
+
}
|
336 |
+
#WBCR-AM input[type="text"]:-ms-input-placeholder,
|
337 |
+
#WBCR-AM textarea:-ms-input-placeholder {
|
338 |
+
color: #cccccc;
|
339 |
+
}
|
340 |
+
#WBCR-AM input[type="text"]::-ms-input-placeholder,
|
341 |
+
#WBCR-AM textarea::-ms-input-placeholder {
|
342 |
+
color: #cccccc;
|
343 |
+
}
|
344 |
+
#WBCR-AM input[type="text"]::placeholder,
|
345 |
+
#WBCR-AM textarea::placeholder {
|
346 |
+
color: #cccccc;
|
347 |
+
}
|
348 |
+
#WBCR-AM a {
|
349 |
+
text-decoration: none;
|
350 |
+
color: #007acc;
|
351 |
+
border: none;
|
352 |
+
background: none;
|
353 |
+
}
|
354 |
+
#WBCR-AM a:hover {
|
355 |
+
text-decoration: underline;
|
356 |
+
border: inherit;
|
357 |
+
background: inherit;
|
358 |
+
}
|
359 |
+
#WBCR-AM button,
|
360 |
+
#WBCR-AM [type=submit] {
|
361 |
+
color: black;
|
362 |
+
font-weight: 400;
|
363 |
+
padding: 0;
|
364 |
+
line-height: 1.5;
|
365 |
+
}
|
366 |
+
#WBCR-AM label {
|
367 |
+
color: white;
|
368 |
+
margin: 0;
|
369 |
+
font-weight: 400;
|
370 |
+
}
|
371 |
+
#WBCR-AM select,
|
372 |
+
#WBCR-AM [type=text] {
|
373 |
+
height: 32px;
|
374 |
+
}
|
375 |
+
#WBCR-AM .visually-hidden {
|
376 |
+
position: absolute;
|
377 |
+
overflow: hidden;
|
378 |
+
clip: rect(0 0 0 0);
|
379 |
+
-webkit-clip-path: inset(100%);
|
380 |
+
clip-path: inset(100%);
|
381 |
+
width: 1px;
|
382 |
+
height: 1px;
|
383 |
+
margin: -1px;
|
384 |
+
padding: 0;
|
385 |
+
white-space: nowrap;
|
386 |
+
border: 0;
|
387 |
+
}
|
388 |
+
#WBCR-AM .wam-table {
|
389 |
+
width: 100%;
|
390 |
+
box-sizing: border-box;
|
391 |
+
table-layout: fixed;
|
392 |
+
border-collapse: collapse;
|
393 |
+
}
|
394 |
+
#WBCR-AM .wam-table__handle-deps {
|
395 |
+
margin-top: 15px;
|
396 |
+
}
|
397 |
+
#WBCR-AM .wam-table__handle-deps span,
|
398 |
+
#WBCR-AM .wam-table__handle-deps a {
|
399 |
+
font-size: 11px !important;
|
400 |
+
}
|
401 |
+
#WBCR-AM .wam-table__handle-deps a {
|
402 |
+
color: red;
|
403 |
+
text-decoration: underline;
|
404 |
+
}
|
405 |
+
#WBCR-AM .wam-table tr:nth-child(2n) > td {
|
406 |
+
background: #f9f9f9;
|
407 |
+
}
|
408 |
+
#WBCR-AM .wam-table th {
|
409 |
+
padding: 12px 10px;
|
410 |
+
text-align: left;
|
411 |
+
color: #333;
|
412 |
+
background: #ECEDED;
|
413 |
+
box-shadow: none;
|
414 |
+
}
|
415 |
+
#WBCR-AM .wam-table th:not(:last-child) {
|
416 |
+
border-right: 2px solid #FFF;
|
417 |
+
}
|
418 |
+
#WBCR-AM .wam-table__th-actions {
|
419 |
+
width: 200px;
|
420 |
+
}
|
421 |
+
#WBCR-AM .wam-table__th-type {
|
422 |
+
width: 100px;
|
423 |
+
}
|
424 |
+
#WBCR-AM .wam-table__th-version {
|
425 |
+
width: 100px;
|
426 |
+
}
|
427 |
+
#WBCR-AM .wam-table__th-size {
|
428 |
+
width: 100px;
|
429 |
+
}
|
430 |
+
#WBCR-AM .wam-table__th-plugins-list,
|
431 |
+
#WBCR-AM .wam-table__td-plugins-list {
|
432 |
+
width: 350px;
|
433 |
+
}
|
434 |
+
#WBCR-AM .wam-table td {
|
435 |
+
padding: 17px 10px;
|
436 |
+
vertical-align: top;
|
437 |
+
text-align: left;
|
438 |
+
box-shadow: none;
|
439 |
+
}
|
440 |
+
#WBCR-AM .wam-table__td-handle {
|
441 |
+
word-break: break-word;
|
442 |
+
}
|
443 |
+
#WBCR-AM .wam-table__td-plugins-list {
|
444 |
+
padding: 0 !important;
|
445 |
+
}
|
446 |
+
#WBCR-AM .wam-table__th-plugins-settings,
|
447 |
+
#WBCR-AM .wam-table__td-plugins-settings {
|
448 |
+
width: 80%;
|
449 |
+
padding: 15px;
|
450 |
+
text-align: left;
|
451 |
+
}
|
452 |
+
#WBCR-AM .wam-table .js-wam-table__tr--disabled-section {
|
453 |
+
background: #fbf5f4;
|
454 |
+
opacity: 0.7;
|
455 |
+
}
|
456 |
+
#WBCR-AM .wam-table__asset-settings-conditions {
|
457 |
+
display: none;
|
458 |
+
background: #f3f3f3;
|
459 |
+
color: #7b7b7b;
|
460 |
+
font-size: 13px;
|
461 |
+
box-shadow: 0 2px 0 #d4d4d4;
|
462 |
+
}
|
463 |
+
#WBCR-AM .wam-table__asset-settings-conditions > td {
|
464 |
+
padding: 0 25px 15px 25px;
|
465 |
+
}
|
466 |
+
#WBCR-AM .wam-tooltip {
|
467 |
+
position: relative;
|
468 |
+
}
|
469 |
+
#WBCR-AM .wam-tooltip::before {
|
470 |
+
content: "";
|
471 |
+
position: absolute;
|
472 |
+
z-index: 60;
|
473 |
+
left: 5px;
|
474 |
+
display: none;
|
475 |
+
width: 20px;
|
476 |
+
height: 20px;
|
477 |
+
}
|
478 |
+
#WBCR-AM .wam-tooltip::after {
|
479 |
+
content: attr(data-tooltip);
|
480 |
+
position: absolute;
|
481 |
+
z-index: 60;
|
482 |
+
left: 5px;
|
483 |
+
display: none;
|
484 |
+
min-width: 200px;
|
485 |
+
padding: 8px 15px;
|
486 |
+
color: #6d5506;
|
487 |
+
background: #FFCB1E;
|
488 |
+
font-size: 13px;
|
489 |
+
font-weight: normal;
|
490 |
+
line-height: 1.2;
|
491 |
+
}
|
492 |
+
#WBCR-AM .wam-tooltip-top::before {
|
493 |
+
bottom: 100%;
|
494 |
+
background: linear-gradient(135deg, #FFCB1E, #FFCB1E 50%, transparent 50%, transparent) no-repeat;
|
495 |
+
}
|
496 |
+
#WBCR-AM .wam-tooltip-top::after {
|
497 |
+
bottom: 100%;
|
498 |
+
margin: 0 0 10px;
|
499 |
+
border-radius: 6px 6px 6px 0;
|
500 |
+
}
|
501 |
+
#WBCR-AM .wam-tooltip--bottom::before {
|
502 |
+
top: 100%;
|
503 |
+
background: linear-gradient(45deg, #FFCB1E, #FFCB1E 50%, transparent 50%, transparent) no-repeat;
|
504 |
+
}
|
505 |
+
#WBCR-AM .wam-tooltip--bottom::after {
|
506 |
+
top: 100%;
|
507 |
+
margin: 15px 0 0;
|
508 |
+
border-radius: 0 6px 6px 6px;
|
509 |
+
}
|
510 |
+
#WBCR-AM .wam-tooltip:hover::before,
|
511 |
+
#WBCR-AM .wam-tooltip:hover::after {
|
512 |
+
display: block;
|
513 |
+
}
|
514 |
+
#WBCR-AM .wam-float-panel {
|
515 |
+
position: fixed;
|
516 |
+
z-index: 50;
|
517 |
+
top: 0;
|
518 |
+
right: 0;
|
519 |
+
left: 0;
|
520 |
+
width: 100%;
|
521 |
+
display: -webkit-flex;
|
522 |
+
display: -ms-flexbox;
|
523 |
+
display: flex;
|
524 |
+
-ms-flex-pack: justify;
|
525 |
+
-webkit-justify-content: space-between;
|
526 |
+
justify-content: space-between;
|
527 |
+
height: 62px;
|
528 |
+
padding: 0 20px;
|
529 |
+
margin: 0;
|
530 |
+
color: #FFF;
|
531 |
+
background: #23282d;
|
532 |
+
font-size: 16px;
|
533 |
+
border-top: 2px solid #ffcb1e;
|
534 |
+
}
|
535 |
+
#WBCR-AM .wam-float-panel__premium {
|
536 |
+
position: relative;
|
537 |
+
display: block;
|
538 |
+
width: 20px;
|
539 |
+
height: 40px;
|
540 |
+
background: #ffcb1e;
|
541 |
+
margin-left: -30px;
|
542 |
+
}
|
543 |
+
#WBCR-AM .wam-float-panel__premium:hover {
|
544 |
+
cursor: pointer;
|
545 |
+
}
|
546 |
+
#WBCR-AM .wam-float-panel__premium .wam-tooltip {
|
547 |
+
position: relative;
|
548 |
+
right: -30px;
|
549 |
+
top: 8px;
|
550 |
+
font-size: 12px;
|
551 |
+
font-weight: bold;
|
552 |
+
font-style: normal;
|
553 |
+
color: #ffffff;
|
554 |
+
background: #f22714;
|
555 |
+
width: 45px;
|
556 |
+
text-align: center;
|
557 |
+
border-radius: 3px;
|
558 |
+
padding: 5px 0 5px 0;
|
559 |
+
line-height: 1.2;
|
560 |
+
}
|
561 |
+
#WBCR-AM .wam-float-panel__premium:after {
|
562 |
+
display: block;
|
563 |
+
content: '';
|
564 |
+
position: absolute;
|
565 |
+
top: 1px;
|
566 |
+
left: 0;
|
567 |
+
width: 19px;
|
568 |
+
height: 38px;
|
569 |
+
background: #23282d;
|
570 |
+
}
|
571 |
+
#WBCR-AM .wam-float-panel__left,
|
572 |
+
#WBCR-AM .wam-float-panel__right {
|
573 |
+
display: -webkit-flex;
|
574 |
+
display: -ms-flexbox;
|
575 |
+
display: flex;
|
576 |
+
-webkit-align-items: center;
|
577 |
+
align-items: center;
|
578 |
+
-ms-flex-align: center;
|
579 |
+
}
|
580 |
+
#WBCR-AM .wam-float-panel__left {
|
581 |
+
min-width: 800px;
|
582 |
+
margin: 0 44px 0 0;
|
583 |
+
}
|
584 |
+
#WBCR-AM .wam-float-panel__logo {
|
585 |
+
width: 38px;
|
586 |
+
height: 32px;
|
587 |
+
margin: 0 44px 0 0;
|
588 |
+
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAgCAMAAABJuvqBAAAC+lBMVEUAAAD7bBgLxt8LyOP/oRqTVqOWV6T/gALpHxCKT5oMy+bwCgX/dhn/oxeXV6XxJxP/igzxIQztFAP/iQAIwNfoIBP/jgkPz+wOzun/igf/fgD/iggOze3hHxDuDAF0P4KWV6UP0OzyKxX/lw3iHxD/hAaXV6XyGgsPzu3/ggaJTpn/iw6JTZiUVqOUVqTlFQsve3T2Qy1lazvqIhOBHyvvlxW7FRCTaR3xGQX/kBIP0eyGTJbjIBKASJAAXn3uFQMPzewJxNo1JFOLUZuHTZb/xCEAkqmXV6X/ggB5QogNyOD/WSaWV6VjNnBHFTsLUVnrEgMQ0en/ggADtsz/mRTvJRT/igfpDwLgHw//ixD/igYQ0un/xiXlIBP/rhnnIRSXV6X/lgT/ig36OBz/ZzbkJBj/fAAMyeD/iQoFtMkPzeyNUZziHxHgHw/mCwIBobT/yy3kBQNIIVp2dz4PzewAc4L/ckKXV6V6JDr/oRb0DAD9egD/jAcOze2XV6XeHw7jAwPnIRSXV6X/vSoPz+j/fgB+DjKXV6X/ziAPzuzlIBP/iw7/yx7yJxT/YCLpIRQP0uwLxt2TV6T/YSD/nBTuJBT/jhCQVKCNUp2DSpL/xRf8PRf4LhTsIhT/kREQ0egOzOQMyuEJwtiKT5qGTZaASI9xPn//XSH/tRr/Uhf/oBb3KRPjHxAHv9UGvNEDsMUCqLwAjp98RItdMWg3Hkr/VyD/xh//wR7/Xx7/XBv/rxn6NBf/rBb/lxP/lBP+RRP9NQ3/igv/iQv+Kwv3Iwf/pQUOzuYGt813QoZqOnYAYHRULmJBJVQwFz3+Tx//1R3/uxz8Rhz/Shv/pxj/phb/vhL/sgr/mAIPzucEuc4BoLMBnK4AmKoAg5MAf5IAd4cAbYEAbHxkNnAAT2kIVGQASF5KJ1kARlcVU1U+ZEYsGEVfdTtIHDltKzJ6fS2OOCyniinWsCL/YyD3YCDkSyCrNCDvyR+8KR/50Bj/uRH/tQ7/qwnxGwX/kQIQ63s7AAAAh3RSTlMAAyIQCsuvaz8wKx4Y/vn58PDp5+Xk5NbAu6+rqJuVgH15d3dpXE1HRTAoIyAYFhQNCv7+/fz7+vn39vX19PLy8O/u6urk397c29ra19TU087JyMfGxMO6squjoJ+fnpyZmZiUk5GRkI+Oi4uJiINybGZhYV1dWldPTk1LQzo6OCopJSMYEw7x8GTCAAACaUlEQVQ4y2LABzgi6hkIgsZYmzUqhBQZKol2da3JJaBKPXRuP1CZLF5FPMn8vVON+/ErYyzznj2ndyrIuBw8rkrZsfzinN5ekDI8XlBaObnv3O7VYOM4MGSZmZiYmIE0t+D+HX1bIbaK6qMq0VCMlvASEQnOByoTOrCzb/klkHH98YwwFVwaJYoy4lYTbiycuPbmho2lDAxyR4C2go0TRNgp0wkCE+YvmLho3fqNp/wNGNQtZu/oA3lidSrCvloHsKpjQMPW33n43LyaQT/gMMQT/BWMCHVZMMOO37r/9N3RNAaGvCP7QbYeNnHyldeCO18CpGrhonUb7j5+/eOaBw9Dgz3YE9+3nF621CVbD6qOSXwCyEqgw15+O3/1ryoDQzjQE5++vDlzctPMxdNZOWGeBSgQZOXtBy8+nu+YdVSKgaHwz/7Jn99u2Xxi5pIZ0yf5NEHVtaQ7rttw78mHWT0dPdeEecBB9/4V0Moli6dPam9n1YWHXqabndGeFds6Oq5eZwcG3eGvZ5+BrJwxqR0IEhAeNig2vbJrew/IVkaGKrOzZx6dWAq0EqyMTw2hLnHKqj0XgLb+EtZkaPPbsnnZUrBhYMAGV1VjuXfKZZCts0C2Fm1etgnsfj53NoXyOh14Uoyctm8KL8jWnt9BLAwM8p621s6sbApqeihpRFtg2ry9YFs7foq1AgV0ODm1dBnRUxtgqt3d8/ZNuQK2VRl3ks3o7p42b8oqkK0xLLiVSR/qBtl6eYVrAR5VDJKHurtBnohrxpszw0DK5oVUEsjlkgcPdospszAQAFEHBZK0GQgCdmlNfNIAQzEmYu+mR3cAAAAASUVORK5CYII=");
|
589 |
+
}
|
590 |
+
#WBCR-AM .wam-float-panel__data {
|
591 |
+
display: -webkit-flex;
|
592 |
+
display: -ms-flexbox;
|
593 |
+
display: flex;
|
594 |
+
-webkit-align-items: center;
|
595 |
+
align-items: center;
|
596 |
+
-ms-flex-align: center;
|
597 |
+
margin: 0 -22px;
|
598 |
+
padding: 0;
|
599 |
+
list-style: none;
|
600 |
+
}
|
601 |
+
#WBCR-AM .wam-float-panel__data:not(:last-child) {
|
602 |
+
margin-right: 22px;
|
603 |
+
}
|
604 |
+
#WBCR-AM .wam-float-panel__data-item {
|
605 |
+
margin: 0 22px;
|
606 |
+
color: #909090;
|
607 |
+
text-align: center;
|
608 |
+
vertical-align: top;
|
609 |
+
padding: 8px 0 8px;
|
610 |
+
}
|
611 |
+
#WBCR-AM .wam-float-panel__data-hidden {
|
612 |
+
display: none;
|
613 |
+
margin: 0 44px 0 0;
|
614 |
+
}
|
615 |
+
#WBCR-AM .wam-float-panel__data-hidden img {
|
616 |
+
vertical-align: middle;
|
617 |
+
}
|
618 |
+
#WBCR-AM .wam-float-panel__item_value {
|
619 |
+
font-size: 15px;
|
620 |
+
color: #d0d0d0;
|
621 |
+
background: #4c4c4c;
|
622 |
+
border-radius: 2px;
|
623 |
+
padding: 2px 5px;
|
624 |
+
}
|
625 |
+
#WBCR-AM .wam-float-panel__reset,
|
626 |
+
#WBCR-AM .wam-float-panel__save,
|
627 |
+
#WBCR-AM .wam-float-panel__reset.input[type="submit"],
|
628 |
+
#WBCR-AM .wam-float-panel__save.input[type="submit"] {
|
629 |
+
display: inline-block;
|
630 |
+
padding: 8px 15px 7px;
|
631 |
+
cursor: pointer;
|
632 |
+
transition: 0.1s;
|
633 |
+
vertical-align: middle;
|
634 |
+
text-transform: uppercase !important;
|
635 |
+
border: none;
|
636 |
+
border-radius: 2px;
|
637 |
+
font-size: 14px;
|
638 |
+
line-height: 1.5;
|
639 |
+
color: #222 !important;
|
640 |
+
}
|
641 |
+
#WBCR-AM .wam-float-panel__reset:hover,
|
642 |
+
#WBCR-AM .wam-float-panel__save:hover,
|
643 |
+
#WBCR-AM .wam-float-panel__reset:focus,
|
644 |
+
#WBCR-AM .wam-float-panel__save:focus {
|
645 |
+
outline: none;
|
646 |
+
text-decoration: none;
|
647 |
+
}
|
648 |
+
#WBCR-AM .wam-float-panel__reset:active,
|
649 |
+
#WBCR-AM .wam-float-panel__save:active {
|
650 |
+
-webkit-transform: translateY(2px);
|
651 |
+
transform: translateY(2px);
|
652 |
+
}
|
653 |
+
#WBCR-AM .wam-float-panel__reset,
|
654 |
+
#WBCR-AM .wam-float-panel__reset.input[type="submit"] {
|
655 |
+
margin: 0 10px 0 0;
|
656 |
+
padding-right: 30px;
|
657 |
+
padding-left: 30px;
|
658 |
+
background: #E1E5E9;
|
659 |
+
box-shadow: 0 4px #A8AEB3 !important;
|
660 |
+
}
|
661 |
+
#WBCR-AM .wam-float-panel__reset:hover,
|
662 |
+
#WBCR-AM .wam-float-panel__reset:focus {
|
663 |
+
background: #E7EAED !important;
|
664 |
+
}
|
665 |
+
#WBCR-AM .wam-float-panel__reset:active {
|
666 |
+
box-shadow: 0 2px #A8AEB3 !important;
|
667 |
+
}
|
668 |
+
#WBCR-AM .wam-float-panel__save,
|
669 |
+
#WBCR-AM .wam-float-panel__save.input[type="submit"] {
|
670 |
+
margin: 0 10px 0 0;
|
671 |
+
padding-right: 30px;
|
672 |
+
padding-left: 30px;
|
673 |
+
color: #222 !important;
|
674 |
+
background: #FFCB1E !important;
|
675 |
+
box-shadow: 0 4px #BF9A17 !important;
|
676 |
+
}
|
677 |
+
#WBCR-AM .wam-float-panel__save:hover,
|
678 |
+
#WBCR-AM .wam-float-panel__save:focus {
|
679 |
+
background: #FFD340 !important;
|
680 |
+
box-shadow: 0 4px #BF9A17 !important;
|
681 |
+
}
|
682 |
+
#WBCR-AM .wam-float-panel__save:active {
|
683 |
+
background: #FFD340 !important;
|
684 |
+
box-shadow: 0 2px #BF9A17 !important;
|
685 |
+
}
|
686 |
+
#WBCR-AM .wam-float-panel__save + div {
|
687 |
+
margin: 0;
|
688 |
+
}
|
689 |
+
#WBCR-AM .wam-float-panel__checkbox {
|
690 |
+
cursor: pointer;
|
691 |
+
font-size: 15px;
|
692 |
+
transform: none;
|
693 |
+
}
|
694 |
+
#WBCR-AM .wam-float-panel__checkbox-text,
|
695 |
+
#WBCR-AM .wam-float-panel__checkbox-text-premium {
|
696 |
+
position: relative;
|
697 |
+
padding: 0 0 0 26px;
|
698 |
+
}
|
699 |
+
#WBCR-AM .wam-float-panel__checkbox-text::before,
|
700 |
+
#WBCR-AM .wam-float-panel__checkbox-text-premium::before {
|
701 |
+
content: "";
|
702 |
+
position: absolute;
|
703 |
+
top: -1px;
|
704 |
+
left: 0;
|
705 |
+
width: 20px;
|
706 |
+
height: 20px;
|
707 |
+
border-radius: 2px;
|
708 |
+
background: #ffcb1e;
|
709 |
+
}
|
710 |
+
#WBCR-AM .wam-float-panel__checkbox-input:checked + .wam-float-panel__checkbox-text::after,
|
711 |
+
#WBCR-AM .wam-float-panel__checkbox-input:checked + .wam-float-panel__checkbox-text-premium::after {
|
712 |
+
content: "";
|
713 |
+
position: absolute;
|
714 |
+
top: 5px;
|
715 |
+
left: 6px;
|
716 |
+
width: 8px;
|
717 |
+
height: 5px;
|
718 |
+
-webkit-transform: rotate(-45deg);
|
719 |
+
transform: rotate(-45deg);
|
720 |
+
border: solid #444;
|
721 |
+
border-width: 0 0 2px 2px;
|
722 |
+
}
|
723 |
+
#WBCR-AM .wam-float-panel__checkbox-text-premium {
|
724 |
+
display: inline;
|
725 |
+
color: rgba(245, 245, 245, 0.3);
|
726 |
+
}
|
727 |
+
#WBCR-AM .wam-float-panel__checkbox-text-premium b {
|
728 |
+
display: inline-block;
|
729 |
+
font-size: 9px;
|
730 |
+
font-weight: 700;
|
731 |
+
color: #fff;
|
732 |
+
background: #f22714;
|
733 |
+
width: 25px;
|
734 |
+
padding: 3px 0;
|
735 |
+
text-align: center;
|
736 |
+
vertical-align: top;
|
737 |
+
border-radius: 3px;
|
738 |
+
line-height: 1.5;
|
739 |
+
}
|
740 |
+
#WBCR-AM .wam-float-panel__checkbox-text-premium::before {
|
741 |
+
background: rgba(245, 245, 245, 0.3);
|
742 |
+
}
|
743 |
+
#WBCR-AM .wam-float-panel__close,
|
744 |
+
#WBCR-AM .wam-float-panel__close:hover {
|
745 |
+
width: 36px;
|
746 |
+
height: 36px;
|
747 |
+
margin: 0 20px 0 20px;
|
748 |
+
cursor: pointer;
|
749 |
+
transition: 0.2s;
|
750 |
+
border: 4px solid #FFF;
|
751 |
+
border-radius: 50%;
|
752 |
+
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 352 512'%3E%3Cpath fill='%23FFF' d='M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z'/%3E%3C/svg%3E") no-repeat 50% 0px;
|
753 |
+
}
|
754 |
+
#WBCR-AM .wam-float-panel__close:focus,
|
755 |
+
#WBCR-AM .wam-float-panel__close:hover:focus {
|
756 |
+
opacity: 0.5;
|
757 |
+
outline: none;
|
758 |
+
}
|
759 |
+
#WBCR-AM .wam-assets-type-tabs {
|
760 |
+
position: fixed;
|
761 |
+
top: 62px;
|
762 |
+
bottom: 0;
|
763 |
+
left: 0;
|
764 |
+
width: 75px;
|
765 |
+
margin: 0;
|
766 |
+
padding: 0;
|
767 |
+
list-style: none;
|
768 |
+
background: #F4F4F4;
|
769 |
+
box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
|
770 |
+
}
|
771 |
+
#WBCR-AM .wam-assets-type-tabs li {
|
772 |
+
margin: 0;
|
773 |
+
padding: 0;
|
774 |
+
}
|
775 |
+
#WBCR-AM .wam-assets-type-tabs__button {
|
776 |
+
position: relative;
|
777 |
+
display: block;
|
778 |
+
width: 100%;
|
779 |
+
height: 130px;
|
780 |
+
cursor: pointer;
|
781 |
+
border: none;
|
782 |
+
background: #ECEDED;
|
783 |
+
border-radius: 0;
|
784 |
+
box-shadow: none;
|
785 |
+
-moz-box-shadow: none;
|
786 |
+
-ms-box-shadow: none;
|
787 |
+
-webkit-box-shadow: none;
|
788 |
+
-o-box-shadow: none;
|
789 |
+
}
|
790 |
+
#WBCR-AM .wam-assets-type-tabs__button:hover,
|
791 |
+
#WBCR-AM .wam-assets-type-tabs__button:focus,
|
792 |
+
#WBCR-AM .wam-assets-type-tabs__button:after,
|
793 |
+
#WBCR-AM .wam-assets-type-tabs__button:before,
|
794 |
+
#WBCR-AM .wam-assets-type-tabs__button:after:hover,
|
795 |
+
#WBCR-AM .wam-assets-type-tabs__button:before:hover {
|
796 |
+
-moz-box-shadow: none;
|
797 |
+
-ms-box-shadow: none;
|
798 |
+
-webkit-box-shadow: none;
|
799 |
+
-o-box-shadow: none;
|
800 |
+
}
|
801 |
+
#WBCR-AM .wam-assets-type-tabs__button::after {
|
802 |
+
content: "";
|
803 |
+
position: absolute;
|
804 |
+
top: 0;
|
805 |
+
right: 0;
|
806 |
+
bottom: 0;
|
807 |
+
left: 0;
|
808 |
+
opacity: 0.55;
|
809 |
+
}
|
810 |
+
#WBCR-AM .wam-assets-type-tabs__button--misc::after {
|
811 |
+
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAtCAYAAAAgJgIUAAAIhUlEQVRYhe2YXawdVRXHf2vtOXPOvbxUEgUJhdaIQemlbSgkkEZaiiSg4EVBEWKkYIg+qDQoiRFj8QElQT4SjSEitNGAYtKCRjFa21tTUhVbKrcxGFAqfTDBALVpe8587LV8mJlz59wvkBifXMmcMzNrz6z/+q+111575Iu33cZCkqYpSRI4caJPr9fTLM/PU9WLLcY1wFkOpwI9YAC8IsKLguwT1d0i8gxQqgqCoEFRVQQZsfG1zZtJFkQAiIDDScCNWZ5vdPfzYlnOKEflNDdf5fg1uCPwJ1H9gUp4COVfi9nRxZRltCuzLNsLfNvNzhsanwuA2Tp3X2kx3lMUxe9itGveCogUkXtjWf7Uok3MMew+c8y+bu7Vz7j72WVR/CTL8gfd/CTmwT9fOMYQeRSYnOOxO4gcCCHsctgvIi8Dx919XISl7r7Kzde7swZ8hBmL8Zb+YLB8rNe7RoMexRcG0R0CmGVcRH6WdtP786LYnSQhltFQFdwdEFQV3B8lIG5+kZndalaHoWHF7AP9wWDb2FhvUlWPNUBGwyHyzREAFbVHEbkZuEpD2AnEhnG8PuqxTXBE9elOJ7k26STXI/JqO0RutiEbZA+4O80T2uv16I31SDrJ5cCtI96rvtztppcCDw+Nvilx3CFJksd6ve4lIvKXNpAY4015XnzMrQahqqjISWZ273AgICLHer3uR4KGZ9r3R5mbMboAFjpJ8lyv150UkVdbL6csinvKsjwZQE/0+5w40f+URTt7mIgVtZ8fDLJ9/X5/XuPujkVDRBBRRGRmZtToRAVzR0PyfKfTuQV3G+JzXxrNPgMgX73jjmSQZX90s5UNCIFfAB9ssYKoknYSRIQYjSzLAOikHUDodBLcHFHBzcjzgjRNK3C1DLLsMYvxupadF9M0ndAsz1a5+7ktFjztpnePjY8xNj5Gt9utvRXcIYRQz4i5kQlJIKgCggMxRsyMGCPRIiGEuxEpWmy8O1q8UFV1Pe4zcEWm87zY0+8P6PcHDLJsmMV1mBcWn6WXCjR4xRIcEJE/tHPM3TdoLOOadlEKQXd0045107SZ+1AvO/NX6wVKeK0REUJIQKpzVflVy2HMfE0CvKeuhI03+2K0IY012slo9l4x+XmA51p21sYY368ivwf5TWPI3c92t8kY5aWk44+HoB5NajZk36wl4MzE3d/RnhWielhVazyOm9/iZg86kJvdLnChmT0PrEVkp8XYMUBUrwiqT7n7GXmRT7n5KaWVkHF6kiTfGsapKvURCHUElygiY216qNYCRIQkJCByw1DnvqQoy0tUlZAkl+HeaRwoy/LKaEYZywvc/JTmfow2aWbtZD4O5K28SBX3QTuO7j7u7nVSKSGE7UOWRPrdtLsnSQKq+tvmPiIkSfLroEqSJPtF5Ehz391/mecFZYxVXsA41SrdmCwSRP4JvHNoCE4XFVSUJEnQEB5wt9fNfKLX7W4LSXgOoBvCDvAryjJuSELY0+umT3jF79/MfEOM8RNu9oK7P4wIImDmuNnSJhR18h5JROQFNzu3WenMfbU4P4oekSioBlcNWyFW061VFIPqU6b+lEhVF6op6qiwX0LYX7jVK7oQQkCA0mV1m3lEDqtIK1vdcbdLRRAVwcxajQsj9aK+Na8MF1cHUaWTJFWZN8divKzdDAnsU1Xd1UKFOytxLpC6KY0WR80JC5cGaSrKjIQQ0KAEDajqOcCFbXsadKeqyD6BP7fQhTLG24UqjgJV0Wo6JDNiWc6hQajKdIyxAlK/rywKBv0Bg8GALMtu89Gk/LuI7FFRKTSE77fRWYxXlzF+PIQEDdV6EFTJ84I8zymKkizPafoBxxlkOWVZkuc5CBRlSSftMD4+zvj4OGmaXg58ciZmjopsveuub5xQFaWTJA+JyF9bQKQoiu/GWJ4jVWmtXG01JmaG1SuzO1iMdTykTgqvwCcBhHcVZfkwTTtZTfd/9MZ63wFQEVDVo51O50sjzYv72waDbFtRFO9bIPyjv/MuLILFeNagP9jmZqcOx1T/X+73B69QhTugqqRpuj0k4Xsj/aD7e7Isn4oxXtuy+aalLMsPnegPpqzVq9QO/tjdt7pVTM40ugLdbneTqu4Y2Tu4v70oisfLovyhm58/4/nciVJve3D3lcBDRVE86WanzWJpLyKfbW8HZlp+B1U93hvrfbRf0bdhZN9gdoO5XyewV1R3COx34WXwYzjj7rY0mq+O0TZYtLWIdOZQ47632+teFUJ4feF9RwXk6NhYbzIbZPfHGG8eMlKBCe6+1mNcW/tuCBmQ4h6asT7SGgzPHwU+p6KvBdWRGT53G1gBOZam6aeTJLleRF6ab3tXFxEFxoAwslVstwYih4GbcL8BeG1Yd1t7lkU3xCHoYyEJ52sIXxGR5+fsN+c4MKJ7UVW/3ut1LwAeWczOop8GqhVdXg1B7yLovWZ2Ec56M1sDnOFwMpACucDriBwWkf2iukvgaXM/LrqonxWIZcuXv+GgWgbAzvr4r8obw/wfyP9BNDJvYh6cnt4FrAM2r5iYuPPg9PQ6oOk7pHW+vh73CLAMOAJsATbV+mXAfcx8btgCbFoxMXGkbW8xJg7VBgAurq/nk+21bj1wJ9XnhRuBJTXYZcDVwMYazPbZL1hsih5oebAOmKpfPp8sqY8t9XOH6meXActbDhyZ8+SbALHu4PT0KmAV8OQC49ZTedd4OEXl+Zn1dQOAFRMTT8z3gjdKzCngwy1Q88kRYDWVxxtrwPe19Euak4PT08veCojdVCGYWkC/CngJ+AKVx1vq/2XMMHdja/z2g9PTz/6nIKbqF+5eQH+gNrwZeLYGtAp4oNbdT8XKbN2ILJQTW4FDKyYmDhycnt4MNLHc3NI3spHK65X19ZPMhG5TPbYJ6dYVExOHZhv7N8fmQDQfwhMYAAAAAElFTkSuQmCC") no-repeat 50%;
|
812 |
+
}
|
813 |
+
#WBCR-AM .wam-assets-type-tabs__button--theme::after {
|
814 |
+
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAvCAYAAACVDljoAAAGA0lEQVRYhe3Zf6ifVR0H8Nf1TnNb1lYUUS6jX0hhm2lB5XS3WWCQzkqLhmzTiAqsjSjoHrAtOtEvdEERkbWGki1JyyBY2HaNxFbN3RmFkdDVEZHLvK3N1ly7/fF5nu6zs+f53ue7DfrHNzx8v+c5n8857+fz+ZxzPueckfHxcaeAM3ARLsPFeBVehLNxGI/jEezGffg1jjYbyDn36mjeSRJciLVYVxHtwouxDO+pyntxG27FP4bp8IyhKfJOPICvGkyyDUvxZfzSLPleGIboWbgZ9+CCYTppwfm4E99IKS3so9CX6Hxsw4aO+kncguvMxuulWI0v4Tcdeh/E3Sml58xFYKTHYHoWvodVLXU/xmYxUP4zqB+8Geu1u/xnWJVzPtjVQB+Lfr6F5AHcgCuxYw6SMIP7cQ3ejyeK+pX4yqAG5iJ6hbBCE/txOb49h24X7sBb8afi/fUppWu7lAa5fqGIrfMb7w5iBV4vrDNfuLUvZoT1J0Q4/QLPb9Tvw7Kc899LxUHz6JqCJHy0IvsFLMZf8a8hyI7iXLwFD4nBdKdZzy7Bh/C5UrHL9fOqRpr4CbbgHDFV7RKx9UYxyt9Q/XY9F4kB9YOq/XNwF75f9LMupXR2G6E2LMPrGuUZYUU4Vn3gY/gdNlbyhzvaqvs5VMnuwdVVO6p2340zq/Ir8Sbs7EN0zPHu/K2Ipzbdd+m/ANxevsg5T6aUfiXCocbKvkQvLsr3mrVAjdoCN4nYerqon8Gzqz7+LWJ5jxiMJX5aEC377yT66qK8u4VEHd/7RbbUJDpStX0P/ibi84iYf0db+ivbP68v0RcW5X1FeaRB7LParUTMwX8W2dIBXIWnWuQeE9NW/RGL+hKdX5QPdcgx99S0AM8VM8VZHTKHhMXrfk+Q65qeyhG8YACRMnabmGnUHx0gu6AgV8Z7J9H9RfncAWRK6zdxpll31oNvpkVuieNjd7oU6HL9Hx0/j14olrwm6oZvFJl8c4sxUtXvESvZpcK1D4k5s8SFRbkcE51EdxcNXl51XlvjqFiRbsKjFYnSO8fwtur9oUr/Aryjqm9a9u0t/fciurMoL62I7arKR8TMsKlDfy4cUQ3ClNJrxUrUxI5SoStGd+P3jfIoPtnQGSZjakMdGvBxxw+kR524CnYSfRrfKt5djffin6fG8X/9PiXy3euKuq055xPm2kFp3q34CF5RlUfwdSwXicS1YiS3jeJBGBUW24OfFxz+gq+1KQ0iegCfEKlYjcXYLoL/i9qXwz54OX4oDiua+FTO+fE2hbm2Infjm8W7l4gM/Rqx7A37XFHpv6Zod1vOeWsXkT6buw0ie2riBSLhvV0kzH2wVITTj8S828QD+PAg5T5HOofEnHqXyBObWI33VR3diwdFgnFQLItLxGS+EpeYXZ1KklfmnJ88VaJEvK4Se/gbirrRisQlVfmYyD/PMncMfxc3tm3mSgxzpHMQHxD78nKrW7Y532CS+3A9VvchWTc6LO4QcZnw8JC6j+AzYpXbMoziyR47PiG2tDeLneWY2D68FM8Tbj+CJ4X1HhTL8v0G57annWiNw2JdPmFtPt04Gdf/X/AM0dONZ4ieboyMj4/v1L4vH8OnG/9Vcjsb5XInQKSDdZsbxS5gRUN2pGp3Y6E3kXMeSymtr+oXYQqbcs7fmSeSjkXimHFtg8TkwE+cxYYO2amK4CZxrj+FlxUyY43/0ymlZeIuYLNIXtZgS0ppYl6jk8vqL+tJsMZkh86k2SP1FZXM2kJmonkhVhFl9oM2YCum+0z4KwzO4pvun3C8R1aII8llwkIlZlJK9f+NOedNKaV1wqr1R27OOU/0ITpp9tqmdk0TTdeXBwcT4ryJ9vBoun6qlss5L66sexU2ppT29iE6bXA4dLmeuNb52ID60vXrcUtKaSznPJFSmhKD7rxTXesJCzct2bw0m6jqu65mdjZcT+x011TvJ4QHp7F1dPny5bXQiDD/fQ3FEXHR2nTbdCUzXT0PV3r1s0tcyO4Vd57Erd90Q3ek0JnCVM55+44dO7bhD5XsdmzIOU/9FxZhkSePNaNRAAAAAElFTkSuQmCC") no-repeat 50%;
|
815 |
+
}
|
816 |
+
#WBCR-AM .wam-assets-type-tabs__button--plugins::after {
|
817 |
+
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAtCAYAAAA6GuKaAAAKSUlEQVRYhe2Yf4xU1RXHv+feeW8GdpBlQViGqouCmJgKRGpTawsEa2JSKVSspkZl1fqrsYXIaOtSFxQ2wFB+pMXaaiumqVWJYG2iiVGBRkNbi2BrWxOxrFBlV9idnZndmXk/7j394923+3bYWXY21v7Tk7y89+6959zPPe/cc++7tHPnTgwl77777pDlAGDbNmJSolgqIZFICNd1LhUk5iut5wGYCeZGAAkAZQCfENEREB0URPuJ6C0AvhACIMK6deuq9lNNYjVrACACAK4DsNx1nGZmvtSHCupOb57SzHPAvIwD5XcE0a9J0BMClBtN/2I0SspX1ziOewDATzXzpSHsEMCorGPm2UrrzZ7n/1EptWw0/dcKbROwxVfqRaX15ytBOXJVvodloQ4zX+T5/q4fPPDAz1sfeqjuvwU9hoBnAawcChbAYSnFVinETTEp50sp50khvhqT8kYpRIaI/jIUvNL6jrLj7GltfeiskYLQCCdinIBnACyJFjIAIvq9bVvbPNfbb9mWUr4CCQEwg5mDZ9OSmS/XWq/QWi8LwUM7QojXxiTiS9asfbj3TNAj8jQBG6LAxlt5Am4DsFgK+ToAxTygw1EDwQsLojctK3adFYt9m4CuqNe11ovKjrt9RDzVPH3kyPsgEHzfv9r3/Zei/QshjtmWtWxqKvVWfzkzwAylgixSLpehtQYJAcdx7rNisVlTU6nvEuAxgH998MElZcd5jplnRT1uW9b169vanhsOuqqnhRAgojqt9Zao14ioNxG3vxkFBgBBBNfzvua47lVBSAAkBDzPu7u3t3dzdzb7nRMnTjzqeZ7lOg6apk//ayIeX0JEXf22AXi+v7mlpaVhVNClYgnFUukWpfVFUU+A+XtTpjQehPEsmEFEKDvO4k86O/ecOnnyeadcXiClhOe6d+Xz+R3MDAJgW9ZRIaX2fR++7+OCGTPes6zYHQzosF9mPkcrddeooBNjEjEhxB3RMiJ6acbMmU/GLAsxy4Jl7lIIaK1n+UrVaeZkV1fXb/r6+jbnC4VHmZkIwNSpU1dOOvvsNs/zVF+xCGm+xvr1bbulEM9F41tp3bx6dUuiZmjXceew1pdEvMxx294opUT0EkKgVC7HJzY0bJna2JgGAF+pVKG39z5mJiGEk0qlVjRMnLjNdRzkcjk4jrPy1KlTj4FZAoCUciMBXsTbM7TSX6oZWgixkCPpmIC/uZ73RjQszKREb6Hws48++ujpiZMmbW5sbLw/amf8WWf9oi6Z3F4qFtGTy8H3vDsLhcLmU11dd3788cePAcD6trbDRPTn6Nxh5kXV2KruPXyl5kUXECnlqzErpolMqbnnc7nrcrlcMwMgIYrTpk1rBkAdHR0bAaBQKFxj2fbziURiv+e6d+bz+R1aa0FEcFz3aMRJr2ilvmwcBB1svmqDBnAhI7oA8EGlFEJoIoKv1ISTJ09uCD2UzWaXE4DUAPgGX6mm7q6up8eNG7crl8/fo7WWRIRkMrkqJuWP+3sjHKxYZc+rGZqZJw9asUgcF0IMWoZ7stlbXc87P6rXnc0uB8CpadNuBcAdHR0bfaVS2Z6e7wOAIHLG1tU9aMViW7TuTxog0DEACoA0APU1QxMwJvIMAH3MjL7eYJUVQsRz+fzNQ+l2Z7PNAMh4nDs6OjaFdclk8vEJEyZs0VoPXjWBPgAuB3scALBrhmagPOhzMY8FA77vA0TwHWeW67oXVtM3Hg9DBSF4sVRaXJdM7kokEn/giKdBGItgFxmKhyoynKdPAphqBgAQPico+NsgIiilpmitq+bSIcCpo6Njo+/753Z2dr44ZfLkb8UTiVfCtlrrcxCGBgAQ9dQOLeh9rfmS/v2v5rlM/IwOJyOzQ0DlJx4J+AYTegkeHNNzB/UPHK8dGnSQwNfCgDHzlUREHAgs2z5s2fZR13Wnn4Eb3dnscmYem0qlbgYzMfMHtm2/GB2w0vqqMFuZLe/BmqGFEHvD2W3+NGYz+DIp5Z9czwP7/myt1Ij+OIgI5XKZy45jj6+v31AsFqHNngUAVq9uuRhA/wpIAKQQr1dlq9qREAdB9I/Ir5NUvrqfAfie95WeXG63r9TkMwHHpDw2ob7+9uS4cTew1gWtVLCNjYjjuPeBOToJPwTRGzVDCyJPCvHL/kEAUFov7evray0UCruVUpP62wrRG4vF/h3R9S3L+uf48ePXNDQ0fFFIGdihaD4KpKXlwasB3BS+m5X1qba2tmI1tuEmImJW7Aml9T1gvsCAU6lY/JHSun+WSyEKyWTyeinlYQAXM/NYx3VPJOvq/h6zrKLyfbDWQ/6pd506db7v+78KOUwsnxiTiO+oxjU8NAgkKG9ZsbTrersjRwADwFLm6+rqbiAhXmZmxBOJE2CG63nQzODTF5B+6e7umlkql3dpzY2hbXP/4Zq1D38yHHT18JACQgjYtr0nJuXjYecxy0Is2JaqRDz+E0H0MkyMstanxetQ0tnZ+fVSsbRPaz27Yr/x7KZNm546k/6ITpji8fhKXS5P11pf6ZTLYQeyr1hsEUI0CUHbCfQWgvwNEOA4ZRARWDOEFNBKI5fPz3Zd914AzQBERcgcIODukfCMCJoE9Y1JxK8tlZ3dWutF0XMPrfWNrHEDiA4IoldBeJuYjgHoZfDY4PdJz1VKLVJaX0GAVWmfgQOJeHzxI+vWZT816ABc5Mck4kvKjrtNKXUbMOi4SzLzFYr5inAsBDgAbDZLs8n1g846zPPTAO59ZN267pGy1HQAKYTstW3rds/Da0rp9cw8vQK+vynMLjFaPgiY6DiYWzdlMk/WwhAaH7GwyQVSyt/GpPyCFKKFiN6rPK87XW9Q3REhxMOJePwyADUDA6M86uXg23ZJKdsEsIW1vpzBC7XmeQDOBXMDgv2wC6IsAceJ6G1BtBeEN1lzn6ichp8GdFPTGfdBoZQBvG6uz0RGdT79v5b/Q39WQqtWrWqtKHsKQDuABQDmA1g7hF4rgP0A9pn3yrb1CI6GzwOQA/CCsVnZNnz+XSaTOQwA6XR6OYD2TCazL51O1wNYDmA8gA8BvJDJZHoEgDWmYoG5HwXQZIytqTLYNaY+lGjbegB7AWw1NlsBHAIwZ4i24fPWiK1bAMw3wIeM/gLTZi8wEB47ASwEMDeiOFrZasCnG5thGvpGlfbtABak0+kFFeVzEDivOZPJLASwFEBPOp2eU5nymsw9h+CTjEaWIHBC+DfdA2DCMO3bEYRZKwbCDQAOm2tPOp3eZ+qaM5lMe+jpNQgWrUOm4c5RAgOBl0PgVgwsiHuH0VmLCm9nMpkeBF9qpbG3AsChdDrdVBkeYYhUPXMYgRxGEINAMKkXmrKqkslk2g1Df1IwA3gSwM5MJrMUQZjVA7glDI92DP40UVkQee4xAPsQjPwdU748ArYWwB4MZJgwNocFN3pHTR8hyxIzgO0YmPgfjiRP741c4SxfaSD2mKsdwcYeCNLbUjOQvQb+hUj9kBLxdr1532d05hg7KwBsy2QyO/8DenfAKWku08QAAAAASUVORK5CYII=") no-repeat 50%;
|
818 |
+
}
|
819 |
+
#WBCR-AM .wam-assets-type-tabs__button:hover,
|
820 |
+
#WBCR-AM .wam-assets-type-tabs__button:focus {
|
821 |
+
outline: none;
|
822 |
+
background: #E6E7E7;
|
823 |
+
}
|
824 |
+
#WBCR-AM .wam-assets-type-tabs__button:hover::after,
|
825 |
+
#WBCR-AM .wam-assets-type-tabs__button:focus::after {
|
826 |
+
opacity: 1;
|
827 |
+
}
|
828 |
+
#WBCR-AM .wam-assets-type-tabs__button.wam-assets-type-tab__active {
|
829 |
+
background: #CACDCF;
|
830 |
+
}
|
831 |
+
#WBCR-AM .wam-assets-type-tabs__button.wam-assets-type-tab__active::after {
|
832 |
+
opacity: 1;
|
833 |
+
}
|
834 |
+
#WBCR-AM .wam-assets-type-tab-content {
|
835 |
+
display: none;
|
836 |
+
padding: 20px 30px;
|
837 |
+
}
|
838 |
+
#WBCR-AM .wam-assets-type-tab-content.wam-assets-type-tab-content__active {
|
839 |
+
display: block !important;
|
840 |
+
}
|
841 |
+
#WBCR-AM .wam-nav-plugins {
|
842 |
+
padding: 0;
|
843 |
+
margin: 0;
|
844 |
+
list-style: none;
|
845 |
+
}
|
846 |
+
#WBCR-AM .wam-nav-plugins .wam-nav-plugins__tab {
|
847 |
+
position: relative;
|
848 |
+
text-align: left;
|
849 |
+
margin-bottom: 3px;
|
850 |
+
}
|
851 |
+
#WBCR-AM .wam-nav-plugins .wam-nav-plugins__tab a {
|
852 |
+
display: block;
|
853 |
+
padding: 10px 20px;
|
854 |
+
background: #f5f5f5;
|
855 |
+
color: #222;
|
856 |
+
}
|
857 |
+
#WBCR-AM .wam-nav-plugins .wam-nav-plugins__tab a strong,
|
858 |
+
#WBCR-AM .wam-nav-plugins .wam-nav-plugins__tab a span {
|
859 |
+
display: block;
|
860 |
+
}
|
861 |
+
#WBCR-AM .wam-nav-plugins .wam-nav-plugins__tab a span {
|
862 |
+
font-size: 12px;
|
863 |
+
color: #2f2f2f;
|
864 |
+
}
|
865 |
+
#WBCR-AM .wam-nav-plugins .wam-nav-plugins__tab:hover a {
|
866 |
+
background: #efefef;
|
867 |
+
text-decoration: none;
|
868 |
+
}
|
869 |
+
#WBCR-AM .wam-nav-plugins .wam-nav-plugins__tab.wam-nav-plugins__tab--active a {
|
870 |
+
background: #e8e8e8;
|
871 |
+
}
|
872 |
+
#WBCR-AM .wam-nav-plugins .wam-nav-plugins__tab-load-mode--enable::after,
|
873 |
+
#WBCR-AM .wam-nav-plugins .wam-nav-plugins__tab-load-mode--disable-plugin::after,
|
874 |
+
#WBCR-AM .wam-nav-plugins .wam-nav-plugins__tab-load-mode--disable-assets::after {
|
875 |
+
display: block;
|
876 |
+
content: '';
|
877 |
+
position: absolute;
|
878 |
+
bottom: 10px;
|
879 |
+
right: 10px;
|
880 |
+
width: 10px;
|
881 |
+
height: 10px;
|
882 |
+
background: #8bc34a;
|
883 |
+
text-align: center;
|
884 |
+
font-size: 11px;
|
885 |
+
font-weight: 600;
|
886 |
+
border-radius: 4px;
|
887 |
+
}
|
888 |
+
#WBCR-AM .wam-nav-plugins .wam-nav-plugins__tab-load-mode--disable-assets::after,
|
889 |
+
#WBCR-AM .wam-nav-plugins .wam-nav-plugins__tab-load-mode--disable-plugin::after {
|
890 |
+
background: #d47b7b;
|
891 |
+
}
|
892 |
+
#WBCR-AM .wam-nav-plugins__tab-content {
|
893 |
+
display: none;
|
894 |
+
}
|
895 |
+
#WBCR-AM .wam-nav-plugins__tab-content.js-wam-nav-plugins__tab-content--active {
|
896 |
+
display: block !important;
|
897 |
+
}
|
898 |
+
#WBCR-AM .wam-help-hint {
|
899 |
+
display: inline-block;
|
900 |
+
position: relative;
|
901 |
+
background: url(../img/help.png) no-repeat 0 0 transparent;
|
902 |
+
height: 14px;
|
903 |
+
width: 13px;
|
904 |
+
cursor: help;
|
905 |
+
vertical-align: middle;
|
906 |
+
top: -1px;
|
907 |
+
}
|
908 |
+
#WBCR-AM .wam-asset-type {
|
909 |
+
display: inline-block;
|
910 |
+
padding: 5px 10px;
|
911 |
+
font-size: 13px;
|
912 |
+
text-transform: uppercase;
|
913 |
+
text-align: center;
|
914 |
+
border-radius: 3px;
|
915 |
+
vertical-align: middle;
|
916 |
+
margin-right: 15px;
|
917 |
+
}
|
918 |
+
#WBCR-AM .wam-asset-type--js {
|
919 |
+
background: #ffcb1e;
|
920 |
+
color: #403102;
|
921 |
+
}
|
922 |
+
#WBCR-AM .wam-asset-type--css {
|
923 |
+
background: #9757a5;
|
924 |
+
color: #ffffff;
|
925 |
+
}
|
926 |
+
#WBCR-AM .wam-colors--red {
|
927 |
+
color: red;
|
928 |
+
}
|
929 |
+
#WBCR-AM .wam-colors--grey {
|
930 |
+
color: grey;
|
931 |
+
}
|
932 |
+
#WBCR-AM .wam-button {
|
933 |
+
display: inline-block;
|
934 |
+
vertical-align: bottom;
|
935 |
+
padding: 5px 10px;
|
936 |
+
text-decoration: none;
|
937 |
+
box-shadow: none;
|
938 |
+
font-weight: 600;
|
939 |
+
border-radius: 3px;
|
940 |
+
}
|
941 |
+
#WBCR-AM .wam-button--small {
|
942 |
+
padding: 2px 8px;
|
943 |
+
font-size: 13px;
|
944 |
+
}
|
945 |
+
#WBCR-AM .wam-button.js-wam-button--hidden {
|
946 |
+
display: none;
|
947 |
+
}
|
948 |
+
#WBCR-AM .wam-button:hover {
|
949 |
+
cursor: pointer;
|
950 |
+
text-decoration: none;
|
951 |
+
box-shadow: none;
|
952 |
+
}
|
953 |
+
#WBCR-AM .wam-button:focus {
|
954 |
+
outline: none;
|
955 |
+
box-shadow: none;
|
956 |
+
}
|
957 |
+
#WBCR-AM .wam-button__icon {
|
958 |
+
height: 28px;
|
959 |
+
width: 28px;
|
960 |
+
padding: 5px;
|
961 |
+
line-height: 0;
|
962 |
+
}
|
963 |
+
#WBCR-AM .wam-button.js-wam-button__icon--cogs {
|
964 |
+
background: url('../img/cogs.png') center no-repeat;
|
965 |
+
}
|
966 |
+
#WBCR-AM .wam-button.js-wam-button__icon--close {
|
967 |
+
background: url('../img/close.png') center no-repeat;
|
968 |
+
}
|
969 |
+
#WBCR-AM .wam-button--default {
|
970 |
+
background-color: #eceded;
|
971 |
+
color: #222;
|
972 |
+
border: 1px solid #c3c3c3;
|
973 |
+
}
|
974 |
+
#WBCR-AM .wam-button--default:hover {
|
975 |
+
cursor: pointer;
|
976 |
+
background-color: #fff;
|
977 |
+
border: 1px solid #c3c3c3;
|
978 |
+
}
|
979 |
+
#WBCR-AM .wam-button--danger {
|
980 |
+
background-color: #fff;
|
981 |
+
color: #ff7063;
|
982 |
+
border: 1px solid #ff7063;
|
983 |
+
}
|
984 |
+
#WBCR-AM .wam-button--danger:hover {
|
985 |
+
background-color: #fff;
|
986 |
+
color: #222;
|
987 |
+
border: 1px solid #c3c3c3;
|
988 |
+
}
|
989 |
+
#WBCR-AM .wam-button--yellow {
|
990 |
+
background-color: #fff;
|
991 |
+
color: #a5820e;
|
992 |
+
border: 1px solid #ffcb1e;
|
993 |
+
}
|
994 |
+
#WBCR-AM .wam-button--yellow:hover {
|
995 |
+
background-color: #fff;
|
996 |
+
color: #222;
|
997 |
+
border: 1px solid #c3c3c3;
|
998 |
+
}
|
999 |
+
#WBCR-AM .wam-select {
|
1000 |
+
display: inline-block;
|
1001 |
+
vertical-align: bottom;
|
1002 |
+
height: auto;
|
1003 |
+
padding: 4px 10px;
|
1004 |
+
}
|
1005 |
+
#WBCR-AM .wam-select.js-wam-select--enable {
|
1006 |
+
background: #efffde;
|
1007 |
+
color: #4e6f28;
|
1008 |
+
border: 1px solid #8bc34a;
|
1009 |
+
}
|
1010 |
+
#WBCR-AM .wam-select.js-wam-select--disable {
|
1011 |
+
background: #ffdada;
|
1012 |
+
border: 1px solid #efc3c3;
|
1013 |
+
color: #774a4a;
|
1014 |
+
}
|
1015 |
+
#WBCR-AM .wam-select:focus {
|
1016 |
+
outline: none;
|
1017 |
+
box-shadow: none;
|
1018 |
+
}
|
1019 |
+
#WBCR-AM.wam-wrapper {
|
1020 |
+
min-width: 1365px;
|
1021 |
+
position: fixed;
|
1022 |
+
z-index: 99999999;
|
1023 |
+
top: 0;
|
1024 |
+
bottom: 0;
|
1025 |
+
left: 0;
|
1026 |
+
right: 0;
|
1027 |
+
background: #FFF;
|
1028 |
+
overflow-y: auto;
|
1029 |
+
}
|
1030 |
+
#WBCR-AM .wam-content {
|
1031 |
+
display: block;
|
1032 |
+
width: 100%;
|
1033 |
+
margin: 0;
|
1034 |
+
padding: 62px 0 0 75px;
|
1035 |
+
}
|
1036 |
+
#WBCR-AM .wam-info-section {
|
1037 |
+
display: table;
|
1038 |
+
padding: 0 30px 30px;
|
1039 |
+
color: #5C5C5C;
|
1040 |
+
font-size: 15px;
|
1041 |
+
line-height: 21px;
|
1042 |
+
}
|
1043 |
+
#WBCR-AM .wam-info-section p {
|
1044 |
+
font-size: 15px;
|
1045 |
+
margin: 0;
|
1046 |
+
}
|
1047 |
+
#WBCR-AM .wam-info-section p:not(:last-child) {
|
1048 |
+
margin-bottom: 25px;
|
1049 |
+
}
|
1050 |
+
#WBCR-AM .wam-info-section .wam-info-section__warning,
|
1051 |
+
#WBCR-AM .wam-info-section .wam-info-section__go-to-premium {
|
1052 |
+
display: table-cell;
|
1053 |
+
width: 49%;
|
1054 |
+
text-align: left;
|
1055 |
+
vertical-align: top;
|
1056 |
+
padding: 20px;
|
1057 |
+
background: #f9f9f9;
|
1058 |
+
border-right: 2px solid #fff;
|
1059 |
+
}
|
1060 |
+
#WBCR-AM .wam-info-section .wam-info-section__go-to-premium {
|
1061 |
+
background: #f9f9f9;
|
1062 |
+
border-left: 2px solid #fff;
|
1063 |
+
margin-left: 10px;
|
1064 |
+
}
|
1065 |
+
#WBCR-AM .wam-info-section .wam-info-section__go-to-premium h3 {
|
1066 |
+
position: relative;
|
1067 |
+
margin: 0 0 20px;
|
1068 |
+
padding: 10px 0;
|
1069 |
+
text-align: left;
|
1070 |
+
border-bottom: 2px solid #e2e2e2;
|
1071 |
+
vertical-align: bottom;
|
1072 |
+
}
|
1073 |
+
#WBCR-AM .wam-info-section .wam-info-section__go-to-premium h3 span {
|
1074 |
+
display: block;
|
1075 |
+
font-size: 17px;
|
1076 |
+
font-weight: 600;
|
1077 |
+
color: #e47558;
|
1078 |
+
text-transform: uppercase;
|
1079 |
+
}
|
1080 |
+
#WBCR-AM .wam-info-section .wam-info-section__go-to-premium ul {
|
1081 |
+
list-style: none;
|
1082 |
+
margin-left: 5px;
|
1083 |
+
margin-bottom: 20px;
|
1084 |
+
padding: 0;
|
1085 |
+
}
|
1086 |
+
#WBCR-AM .wam-info-section .wam-info-section__go-to-premium ul li {
|
1087 |
+
margin-bottom: 5px;
|
1088 |
+
font-weight: 600;
|
1089 |
+
font-size: 15px;
|
1090 |
+
color: #7d8871;
|
1091 |
+
padding: 0;
|
1092 |
+
}
|
1093 |
+
#WBCR-AM .wam-info-section .wam-info-section__go-to-premium ul li:before {
|
1094 |
+
content: " ";
|
1095 |
+
display: inline-block;
|
1096 |
+
width: 0.4em;
|
1097 |
+
height: 0.7em;
|
1098 |
+
border: solid #8bc34a;
|
1099 |
+
border-width: 0 0.2em 0.2em 0;
|
1100 |
+
left: 0;
|
1101 |
+
margin-right: 10px;
|
1102 |
+
-webkit-transform: rotate(45deg);
|
1103 |
+
-moz-transform: rotate(45deg);
|
1104 |
+
-o-transform: rotate(45deg);
|
1105 |
+
transform: rotate(45deg);
|
1106 |
+
}
|
1107 |
+
#WBCR-AM .wam-plugin-settings {
|
1108 |
+
padding-bottom: 10px;
|
1109 |
+
}
|
1110 |
+
#WBCR-AM .wam-plugin-settings__controls {
|
1111 |
+
vertical-align: top;
|
1112 |
+
}
|
1113 |
+
#WBCR-AM .wam-plugin-settings .js-wam-plugin-settings__conditions {
|
1114 |
+
display: none;
|
1115 |
+
padding: 20px;
|
1116 |
+
}
|
1117 |
+
@media screen and (max-width: 1367px) {
|
1118 |
+
#WBCR p {
|
1119 |
+
font-size: 13px;
|
1120 |
+
}
|
1121 |
+
#WBCR .wam-content {
|
1122 |
+
padding: 32px 0 0 75px;
|
1123 |
+
}
|
1124 |
+
#WBCR .wam-float-panel__left .wam-float-panel__item_value {
|
1125 |
+
display: block;
|
1126 |
+
}
|
1127 |
+
#WBCR .wam-float-panel__right .wam-table__checkbox-text {
|
1128 |
+
font-size: 13px;
|
1129 |
+
}
|
1130 |
+
#WBCR .wam-float-panel__right .wam-float-panel__reset,
|
1131 |
+
#WBCR .wam-float-panel__right .wam-float-panel__save {
|
1132 |
+
font-size: 12px;
|
1133 |
+
}
|
1134 |
+
#WBCR .wam-float-panel__right .wam-float-panel__checkbox-text {
|
1135 |
+
font-size: 12px;
|
1136 |
+
display: block;
|
1137 |
+
line-height: 1.5;
|
1138 |
+
}
|
1139 |
+
#WBCR .wam-float-panel__right .wam-float-panel__close {
|
1140 |
+
width: 30px;
|
1141 |
+
height: 30px;
|
1142 |
+
margin: 0 10px 0 15px;
|
1143 |
+
border: 3px solid #FFF;
|
1144 |
+
}
|
1145 |
+
#WBCR .wam-info-section {
|
1146 |
+
padding: 0;
|
1147 |
+
}
|
1148 |
+
#WBCR .wam-info-section,
|
1149 |
+
#WBCR .wam-info-section p {
|
1150 |
+
font-size: 13px;
|
1151 |
+
}
|
1152 |
+
#WBCR .wam-info-section .wam-info-section__warning {
|
1153 |
+
padding: 20px 20px 30px;
|
1154 |
+
}
|
1155 |
+
#WBCR .wbcr-gnz-button__pro {
|
1156 |
+
font-size: 12px;
|
1157 |
+
}
|
1158 |
+
#WBCR .wam-table {
|
1159 |
+
margin: 0;
|
1160 |
+
}
|
1161 |
+
#WBCR .wam-table th {
|
1162 |
+
font-size: 13px;
|
1163 |
+
}
|
1164 |
+
#WBCR .wam-table .wam-table__item .wam-table__item-name {
|
1165 |
+
font-size: 14px;
|
1166 |
+
}
|
1167 |
+
#WBCR .wam-table .wam-table__item .wam-table__item-author,
|
1168 |
+
#WBCR .wam-table .wam-table__item .wam-table__item-version,
|
1169 |
+
#WBCR .wam-table .wam-table__item .wbcr-use-by-comment,
|
1170 |
+
#WBCR .wam-table .wam-table__item .wam-table__item-author a,
|
1171 |
+
#WBCR .wam-table .wam-table__item .wam-table__item-version a,
|
1172 |
+
#WBCR .wam-table .wam-table__item .wbcr-use-by-comment a {
|
1173 |
+
font-size: 12px;
|
1174 |
+
}
|
1175 |
+
#WBCR .wam-table .wam-table__script-name {
|
1176 |
+
font-size: 14px;
|
1177 |
+
}
|
1178 |
+
#WBCR .wam-table .wam-table__script-name b {
|
1179 |
+
font-size: 11px;
|
1180 |
+
font-weight: lighter;
|
1181 |
+
padding: 3px 7px;
|
1182 |
+
margin-right: 8px;
|
1183 |
+
}
|
1184 |
+
#WBCR .wam-table .wam-table__script-path a {
|
1185 |
+
font-size: 11px;
|
1186 |
+
}
|
1187 |
+
#WBCR .wam-table .wam-table__column_switch {
|
1188 |
+
width: 10%;
|
1189 |
+
}
|
1190 |
+
#WBCR .wam-table .wam-table__column_switch .wam-table__th-external-plugin,
|
1191 |
+
#WBCR .wam-table .wam-table__column_switch em {
|
1192 |
+
font-size: 10px;
|
1193 |
+
}
|
1194 |
+
#WBCR .wam-table .wam-table__column_switch b {
|
1195 |
+
font-size: 12px;
|
1196 |
+
}
|
1197 |
+
#WBCR .wam-table .wam-table__column_condition {
|
1198 |
+
width: 35%;
|
1199 |
+
}
|
1200 |
+
}
|
1201 |
+
@media screen and (max-width: 1600px) {
|
1202 |
+
#WBCR .wam-float-panel__data-main {
|
1203 |
+
display: none;
|
1204 |
+
}
|
1205 |
+
#WBCR .wam-float-panel__data-hidden {
|
1206 |
+
display: block;
|
1207 |
+
}
|
1208 |
+
}
|
1209 |
/*# sourceMappingURL=assets-manager.css.map */
|
components/assets-manager/assets/css/float-panel.css
CHANGED
@@ -1,252 +1,252 @@
|
|
1 |
-
/**
|
2 |
-
* Float panel
|
3 |
-
|
4 |
-
* @author Alex Kovalev <alex.kovalevv@gmail.com>
|
5 |
-
* @copyright Webcraftic 26.08.2019
|
6 |
-
*/
|
7 |
-
.wam-float-panel {
|
8 |
-
position: fixed;
|
9 |
-
z-index: 50;
|
10 |
-
top: 30px;
|
11 |
-
right: 0;
|
12 |
-
left: 0;
|
13 |
-
width: 100%;
|
14 |
-
display: -webkit-flex;
|
15 |
-
display: -ms-flexbox;
|
16 |
-
display: flex;
|
17 |
-
-ms-flex-pack: justify;
|
18 |
-
-webkit-justify-content: space-between;
|
19 |
-
justify-content: space-between;
|
20 |
-
height: 62px;
|
21 |
-
padding: 0 20px;
|
22 |
-
margin: 0;
|
23 |
-
color: #FFF;
|
24 |
-
background: #23282d;
|
25 |
-
font-size: 16px;
|
26 |
-
border-top: 2px solid #ffcb1e;
|
27 |
-
}
|
28 |
-
.wam-float-panel__premium {
|
29 |
-
position: relative;
|
30 |
-
display: block;
|
31 |
-
width: 20px;
|
32 |
-
height: 40px;
|
33 |
-
background: #ffcb1e;
|
34 |
-
margin-left: -30px;
|
35 |
-
}
|
36 |
-
.wam-float-panel__premium:hover {
|
37 |
-
cursor: pointer;
|
38 |
-
}
|
39 |
-
.wam-float-panel__premium .wam-tooltip {
|
40 |
-
position: relative;
|
41 |
-
right: -30px;
|
42 |
-
top: 8px;
|
43 |
-
font-size: 12px;
|
44 |
-
font-weight: bold;
|
45 |
-
font-style: normal;
|
46 |
-
color: #ffffff;
|
47 |
-
background: #f22714;
|
48 |
-
width: 45px;
|
49 |
-
text-align: center;
|
50 |
-
border-radius: 3px;
|
51 |
-
padding: 5px 0 5px 0;
|
52 |
-
line-height: 1.2;
|
53 |
-
}
|
54 |
-
.wam-float-panel__premium:after {
|
55 |
-
display: block;
|
56 |
-
content: '';
|
57 |
-
position: absolute;
|
58 |
-
top: 1px;
|
59 |
-
left: 0;
|
60 |
-
width: 19px;
|
61 |
-
height: 38px;
|
62 |
-
background: #23282d;
|
63 |
-
}
|
64 |
-
.wam-float-panel__left,
|
65 |
-
.wam-float-panel__right {
|
66 |
-
display: -webkit-flex;
|
67 |
-
display: -ms-flexbox;
|
68 |
-
display: flex;
|
69 |
-
-webkit-align-items: center;
|
70 |
-
align-items: center;
|
71 |
-
-ms-flex-align: center;
|
72 |
-
}
|
73 |
-
.wam-float-panel__left {
|
74 |
-
min-width: 800px;
|
75 |
-
margin: 0 44px 0 0;
|
76 |
-
}
|
77 |
-
.wam-float-panel__logo {
|
78 |
-
width: 38px;
|
79 |
-
height: 32px;
|
80 |
-
margin: 0 44px 0 0;
|
81 |
-
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAgCAMAAABJuvqBAAAC+lBMVEUAAAD7bBgLxt8LyOP/oRqTVqOWV6T/gALpHxCKT5oMy+bwCgX/dhn/oxeXV6XxJxP/igzxIQztFAP/iQAIwNfoIBP/jgkPz+wOzun/igf/fgD/iggOze3hHxDuDAF0P4KWV6UP0OzyKxX/lw3iHxD/hAaXV6XyGgsPzu3/ggaJTpn/iw6JTZiUVqOUVqTlFQsve3T2Qy1lazvqIhOBHyvvlxW7FRCTaR3xGQX/kBIP0eyGTJbjIBKASJAAXn3uFQMPzewJxNo1JFOLUZuHTZb/xCEAkqmXV6X/ggB5QogNyOD/WSaWV6VjNnBHFTsLUVnrEgMQ0en/ggADtsz/mRTvJRT/igfpDwLgHw//ixD/igYQ0un/xiXlIBP/rhnnIRSXV6X/lgT/ig36OBz/ZzbkJBj/fAAMyeD/iQoFtMkPzeyNUZziHxHgHw/mCwIBobT/yy3kBQNIIVp2dz4PzewAc4L/ckKXV6V6JDr/oRb0DAD9egD/jAcOze2XV6XeHw7jAwPnIRSXV6X/vSoPz+j/fgB+DjKXV6X/ziAPzuzlIBP/iw7/yx7yJxT/YCLpIRQP0uwLxt2TV6T/YSD/nBTuJBT/jhCQVKCNUp2DSpL/xRf8PRf4LhTsIhT/kREQ0egOzOQMyuEJwtiKT5qGTZaASI9xPn//XSH/tRr/Uhf/oBb3KRPjHxAHv9UGvNEDsMUCqLwAjp98RItdMWg3Hkr/VyD/xh//wR7/Xx7/XBv/rxn6NBf/rBb/lxP/lBP+RRP9NQ3/igv/iQv+Kwv3Iwf/pQUOzuYGt813QoZqOnYAYHRULmJBJVQwFz3+Tx//1R3/uxz8Rhz/Shv/pxj/phb/vhL/sgr/mAIPzucEuc4BoLMBnK4AmKoAg5MAf5IAd4cAbYEAbHxkNnAAT2kIVGQASF5KJ1kARlcVU1U+ZEYsGEVfdTtIHDltKzJ6fS2OOCyniinWsCL/YyD3YCDkSyCrNCDvyR+8KR/50Bj/uRH/tQ7/qwnxGwX/kQIQ63s7AAAAh3RSTlMAAyIQCsuvaz8wKx4Y/vn58PDp5+Xk5NbAu6+rqJuVgH15d3dpXE1HRTAoIyAYFhQNCv7+/fz7+vn39vX19PLy8O/u6urk397c29ra19TU087JyMfGxMO6squjoJ+fnpyZmZiUk5GRkI+Oi4uJiINybGZhYV1dWldPTk1LQzo6OCopJSMYEw7x8GTCAAACaUlEQVQ4y2LABzgi6hkIgsZYmzUqhBQZKol2da3JJaBKPXRuP1CZLF5FPMn8vVON+/ErYyzznj2ndyrIuBw8rkrZsfzinN5ekDI8XlBaObnv3O7VYOM4MGSZmZiYmIE0t+D+HX1bIbaK6qMq0VCMlvASEQnOByoTOrCzb/klkHH98YwwFVwaJYoy4lYTbiycuPbmho2lDAxyR4C2go0TRNgp0wkCE+YvmLho3fqNp/wNGNQtZu/oA3lidSrCvloHsKpjQMPW33n43LyaQT/gMMQT/BWMCHVZMMOO37r/9N3RNAaGvCP7QbYeNnHyldeCO18CpGrhonUb7j5+/eOaBw9Dgz3YE9+3nF621CVbD6qOSXwCyEqgw15+O3/1ryoDQzjQE5++vDlzctPMxdNZOWGeBSgQZOXtBy8+nu+YdVSKgaHwz/7Jn99u2Xxi5pIZ0yf5NEHVtaQ7rttw78mHWT0dPdeEecBB9/4V0Moli6dPam9n1YWHXqabndGeFds6Oq5eZwcG3eGvZ5+BrJwxqR0IEhAeNig2vbJrew/IVkaGKrOzZx6dWAq0EqyMTw2hLnHKqj0XgLb+EtZkaPPbsnnZUrBhYMAGV1VjuXfKZZCts0C2Fm1etgnsfj53NoXyOh14Uoyctm8KL8jWnt9BLAwM8p621s6sbApqeihpRFtg2ry9YFs7foq1AgV0ODm1dBnRUxtgqt3d8/ZNuQK2VRl3ks3o7p42b8oqkK0xLLiVSR/qBtl6eYVrAR5VDJKHurtBnohrxpszw0DK5oVUEsjlkgcPdospszAQAFEHBZK0GQgCdmlNfNIAQzEmYu+mR3cAAAAASUVORK5CYII=");
|
82 |
-
}
|
83 |
-
.wam-float-panel__data {
|
84 |
-
display: -webkit-flex;
|
85 |
-
display: -ms-flexbox;
|
86 |
-
display: flex;
|
87 |
-
-webkit-align-items: center;
|
88 |
-
align-items: center;
|
89 |
-
-ms-flex-align: center;
|
90 |
-
margin: 0 -22px;
|
91 |
-
padding: 0;
|
92 |
-
list-style: none;
|
93 |
-
}
|
94 |
-
.wam-float-panel__data:not(:last-child) {
|
95 |
-
margin-right: 22px;
|
96 |
-
}
|
97 |
-
.wam-float-panel__data-item {
|
98 |
-
margin: 0 22px;
|
99 |
-
color: #909090;
|
100 |
-
text-align: center;
|
101 |
-
vertical-align: top;
|
102 |
-
padding: 8px 0 8px;
|
103 |
-
}
|
104 |
-
.wam-float-panel__data-hidden {
|
105 |
-
display: none;
|
106 |
-
margin: 0 44px 0 0;
|
107 |
-
}
|
108 |
-
.wam-float-panel__data-hidden img {
|
109 |
-
vertical-align: middle;
|
110 |
-
}
|
111 |
-
.wam-float-panel__item_value {
|
112 |
-
font-size: 15px;
|
113 |
-
color: #d0d0d0;
|
114 |
-
background: #4c4c4c;
|
115 |
-
border-radius: 2px;
|
116 |
-
padding: 2px 5px;
|
117 |
-
}
|
118 |
-
.wam-float-panel__reset,
|
119 |
-
.wam-float-panel__save,
|
120 |
-
.wam-float-panel__reset.input[type="submit"],
|
121 |
-
.wam-float-panel__save.input[type="submit"] {
|
122 |
-
display: inline-block;
|
123 |
-
padding: 8px 15px 7px;
|
124 |
-
cursor: pointer;
|
125 |
-
transition: 0.1s;
|
126 |
-
vertical-align: middle;
|
127 |
-
text-transform: uppercase !important;
|
128 |
-
border: none;
|
129 |
-
border-radius: 2px;
|
130 |
-
font-size: 14px;
|
131 |
-
line-height: 1.5;
|
132 |
-
color: #222 !important;
|
133 |
-
}
|
134 |
-
.wam-float-panel__reset:hover,
|
135 |
-
.wam-float-panel__save:hover,
|
136 |
-
.wam-float-panel__reset:focus,
|
137 |
-
.wam-float-panel__save:focus {
|
138 |
-
outline: none;
|
139 |
-
text-decoration: none;
|
140 |
-
}
|
141 |
-
.wam-float-panel__reset:active,
|
142 |
-
.wam-float-panel__save:active {
|
143 |
-
-webkit-transform: translateY(2px);
|
144 |
-
transform: translateY(2px);
|
145 |
-
}
|
146 |
-
.wam-float-panel__reset,
|
147 |
-
.wam-float-panel__reset.input[type="submit"] {
|
148 |
-
margin: 0 10px 0 0;
|
149 |
-
padding-right: 30px;
|
150 |
-
padding-left: 30px;
|
151 |
-
background: #E1E5E9;
|
152 |
-
box-shadow: 0 4px #A8AEB3 !important;
|
153 |
-
}
|
154 |
-
.wam-float-panel__reset:hover,
|
155 |
-
.wam-float-panel__reset:focus {
|
156 |
-
background: #E7EAED !important;
|
157 |
-
}
|
158 |
-
.wam-float-panel__reset:active {
|
159 |
-
box-shadow: 0 2px #A8AEB3 !important;
|
160 |
-
}
|
161 |
-
.wam-float-panel__save,
|
162 |
-
.wam-float-panel__save.input[type="submit"] {
|
163 |
-
margin: 0 10px 0 0;
|
164 |
-
padding-right: 30px;
|
165 |
-
padding-left: 30px;
|
166 |
-
color: #222 !important;
|
167 |
-
background: #FFCB1E !important;
|
168 |
-
box-shadow: 0 4px #BF9A17 !important;
|
169 |
-
}
|
170 |
-
.wam-float-panel__save:hover,
|
171 |
-
.wam-float-panel__save:focus {
|
172 |
-
background: #FFD340 !important;
|
173 |
-
box-shadow: 0 4px #BF9A17 !important;
|
174 |
-
}
|
175 |
-
.wam-float-panel__save:active {
|
176 |
-
background: #FFD340 !important;
|
177 |
-
box-shadow: 0 2px #BF9A17 !important;
|
178 |
-
}
|
179 |
-
.wam-float-panel__save + div {
|
180 |
-
margin: 0;
|
181 |
-
}
|
182 |
-
.wam-float-panel__checkbox {
|
183 |
-
cursor: pointer;
|
184 |
-
font-size: 15px;
|
185 |
-
transform: none;
|
186 |
-
}
|
187 |
-
.wam-float-panel__checkbox-text,
|
188 |
-
.wam-float-panel__checkbox-text-premium {
|
189 |
-
position: relative;
|
190 |
-
padding: 0 0 0 26px;
|
191 |
-
}
|
192 |
-
.wam-float-panel__checkbox-text::before,
|
193 |
-
.wam-float-panel__checkbox-text-premium::before {
|
194 |
-
content: "";
|
195 |
-
position: absolute;
|
196 |
-
top: -1px;
|
197 |
-
left: 0;
|
198 |
-
width: 20px;
|
199 |
-
height: 20px;
|
200 |
-
border-radius: 2px;
|
201 |
-
background: #ffcb1e;
|
202 |
-
}
|
203 |
-
.wam-float-panel__checkbox-input:checked + .wam-float-panel__checkbox-text::after,
|
204 |
-
.wam-float-panel__checkbox-input:checked + .wam-float-panel__checkbox-text-premium::after {
|
205 |
-
content: "";
|
206 |
-
position: absolute;
|
207 |
-
top: 5px;
|
208 |
-
left: 6px;
|
209 |
-
width: 8px;
|
210 |
-
height: 5px;
|
211 |
-
-webkit-transform: rotate(-45deg);
|
212 |
-
transform: rotate(-45deg);
|
213 |
-
border: solid #444;
|
214 |
-
border-width: 0 0 2px 2px;
|
215 |
-
}
|
216 |
-
.wam-float-panel__checkbox-text-premium {
|
217 |
-
display: inline;
|
218 |
-
color: rgba(245, 245, 245, 0.3);
|
219 |
-
}
|
220 |
-
.wam-float-panel__checkbox-text-premium b {
|
221 |
-
display: inline-block;
|
222 |
-
font-size: 9px;
|
223 |
-
font-weight: 700;
|
224 |
-
color: #fff;
|
225 |
-
background: #f22714;
|
226 |
-
width: 25px;
|
227 |
-
padding: 3px 0;
|
228 |
-
text-align: center;
|
229 |
-
vertical-align: top;
|
230 |
-
border-radius: 3px;
|
231 |
-
line-height: 1.5;
|
232 |
-
}
|
233 |
-
.wam-float-panel__checkbox-text-premium::before {
|
234 |
-
background: rgba(245, 245, 245, 0.3);
|
235 |
-
}
|
236 |
-
.wam-float-panel__close,
|
237 |
-
.wam-float-panel__close:hover {
|
238 |
-
width: 36px;
|
239 |
-
height: 36px;
|
240 |
-
margin: 0 20px 0 20px;
|
241 |
-
cursor: pointer;
|
242 |
-
transition: 0.2s;
|
243 |
-
border: 4px solid #FFF;
|
244 |
-
border-radius: 50%;
|
245 |
-
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 352 512'%3E%3Cpath fill='%23FFF' d='M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z'/%3E%3C/svg%3E") no-repeat 50% 0px;
|
246 |
-
}
|
247 |
-
.wam-float-panel__close:focus,
|
248 |
-
.wam-float-panel__close:hover:focus {
|
249 |
-
opacity: 0.5;
|
250 |
-
outline: none;
|
251 |
-
}
|
252 |
/*# sourceMappingURL=float-panel.css.map */
|
1 |
+
/**
|
2 |
+
* Float panel
|
3 |
+
|
4 |
+
* @author Alex Kovalev <alex.kovalevv@gmail.com>
|
5 |
+
* @copyright Webcraftic 26.08.2019
|
6 |
+
*/
|
7 |
+
.wam-float-panel {
|
8 |
+
position: fixed;
|
9 |
+
z-index: 50;
|
10 |
+
top: 30px;
|
11 |
+
right: 0;
|
12 |
+
left: 0;
|
13 |
+
width: 100%;
|
14 |
+
display: -webkit-flex;
|
15 |
+
display: -ms-flexbox;
|
16 |
+
display: flex;
|
17 |
+
-ms-flex-pack: justify;
|
18 |
+
-webkit-justify-content: space-between;
|
19 |
+
justify-content: space-between;
|
20 |
+
height: 62px;
|
21 |
+
padding: 0 20px;
|
22 |
+
margin: 0;
|
23 |
+
color: #FFF;
|
24 |
+
background: #23282d;
|
25 |
+
font-size: 16px;
|
26 |
+
border-top: 2px solid #ffcb1e;
|
27 |
+
}
|
28 |
+
.wam-float-panel__premium {
|
29 |
+
position: relative;
|
30 |
+
display: block;
|
31 |
+
width: 20px;
|
32 |
+
height: 40px;
|
33 |
+
background: #ffcb1e;
|
34 |
+
margin-left: -30px;
|
35 |
+
}
|
36 |
+
.wam-float-panel__premium:hover {
|
37 |
+
cursor: pointer;
|
38 |
+
}
|
39 |
+
.wam-float-panel__premium .wam-tooltip {
|
40 |
+
position: relative;
|
41 |
+
right: -30px;
|
42 |
+
top: 8px;
|
43 |
+
font-size: 12px;
|
44 |
+
font-weight: bold;
|
45 |
+
font-style: normal;
|
46 |
+
color: #ffffff;
|
47 |
+
background: #f22714;
|
48 |
+
width: 45px;
|
49 |
+
text-align: center;
|
50 |
+
border-radius: 3px;
|
51 |
+
padding: 5px 0 5px 0;
|
52 |
+
line-height: 1.2;
|
53 |
+
}
|
54 |
+
.wam-float-panel__premium:after {
|
55 |
+
display: block;
|
56 |
+
content: '';
|
57 |
+
position: absolute;
|
58 |
+
top: 1px;
|
59 |
+
left: 0;
|
60 |
+
width: 19px;
|
61 |
+
height: 38px;
|
62 |
+
background: #23282d;
|
63 |
+
}
|
64 |
+
.wam-float-panel__left,
|
65 |
+
.wam-float-panel__right {
|
66 |
+
display: -webkit-flex;
|
67 |
+
display: -ms-flexbox;
|
68 |
+
display: flex;
|
69 |
+
-webkit-align-items: center;
|
70 |
+
align-items: center;
|
71 |
+
-ms-flex-align: center;
|
72 |
+
}
|
73 |
+
.wam-float-panel__left {
|
74 |
+
min-width: 800px;
|
75 |
+
margin: 0 44px 0 0;
|
76 |
+
}
|
77 |
+
.wam-float-panel__logo {
|
78 |
+
width: 38px;
|
79 |
+
height: 32px;
|
80 |
+
margin: 0 44px 0 0;
|
81 |
+
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAgCAMAAABJuvqBAAAC+lBMVEUAAAD7bBgLxt8LyOP/oRqTVqOWV6T/gALpHxCKT5oMy+bwCgX/dhn/oxeXV6XxJxP/igzxIQztFAP/iQAIwNfoIBP/jgkPz+wOzun/igf/fgD/iggOze3hHxDuDAF0P4KWV6UP0OzyKxX/lw3iHxD/hAaXV6XyGgsPzu3/ggaJTpn/iw6JTZiUVqOUVqTlFQsve3T2Qy1lazvqIhOBHyvvlxW7FRCTaR3xGQX/kBIP0eyGTJbjIBKASJAAXn3uFQMPzewJxNo1JFOLUZuHTZb/xCEAkqmXV6X/ggB5QogNyOD/WSaWV6VjNnBHFTsLUVnrEgMQ0en/ggADtsz/mRTvJRT/igfpDwLgHw//ixD/igYQ0un/xiXlIBP/rhnnIRSXV6X/lgT/ig36OBz/ZzbkJBj/fAAMyeD/iQoFtMkPzeyNUZziHxHgHw/mCwIBobT/yy3kBQNIIVp2dz4PzewAc4L/ckKXV6V6JDr/oRb0DAD9egD/jAcOze2XV6XeHw7jAwPnIRSXV6X/vSoPz+j/fgB+DjKXV6X/ziAPzuzlIBP/iw7/yx7yJxT/YCLpIRQP0uwLxt2TV6T/YSD/nBTuJBT/jhCQVKCNUp2DSpL/xRf8PRf4LhTsIhT/kREQ0egOzOQMyuEJwtiKT5qGTZaASI9xPn//XSH/tRr/Uhf/oBb3KRPjHxAHv9UGvNEDsMUCqLwAjp98RItdMWg3Hkr/VyD/xh//wR7/Xx7/XBv/rxn6NBf/rBb/lxP/lBP+RRP9NQ3/igv/iQv+Kwv3Iwf/pQUOzuYGt813QoZqOnYAYHRULmJBJVQwFz3+Tx//1R3/uxz8Rhz/Shv/pxj/phb/vhL/sgr/mAIPzucEuc4BoLMBnK4AmKoAg5MAf5IAd4cAbYEAbHxkNnAAT2kIVGQASF5KJ1kARlcVU1U+ZEYsGEVfdTtIHDltKzJ6fS2OOCyniinWsCL/YyD3YCDkSyCrNCDvyR+8KR/50Bj/uRH/tQ7/qwnxGwX/kQIQ63s7AAAAh3RSTlMAAyIQCsuvaz8wKx4Y/vn58PDp5+Xk5NbAu6+rqJuVgH15d3dpXE1HRTAoIyAYFhQNCv7+/fz7+vn39vX19PLy8O/u6urk397c29ra19TU087JyMfGxMO6squjoJ+fnpyZmZiUk5GRkI+Oi4uJiINybGZhYV1dWldPTk1LQzo6OCopJSMYEw7x8GTCAAACaUlEQVQ4y2LABzgi6hkIgsZYmzUqhBQZKol2da3JJaBKPXRuP1CZLF5FPMn8vVON+/ErYyzznj2ndyrIuBw8rkrZsfzinN5ekDI8XlBaObnv3O7VYOM4MGSZmZiYmIE0t+D+HX1bIbaK6qMq0VCMlvASEQnOByoTOrCzb/klkHH98YwwFVwaJYoy4lYTbiycuPbmho2lDAxyR4C2go0TRNgp0wkCE+YvmLho3fqNp/wNGNQtZu/oA3lidSrCvloHsKpjQMPW33n43LyaQT/gMMQT/BWMCHVZMMOO37r/9N3RNAaGvCP7QbYeNnHyldeCO18CpGrhonUb7j5+/eOaBw9Dgz3YE9+3nF621CVbD6qOSXwCyEqgw15+O3/1ryoDQzjQE5++vDlzctPMxdNZOWGeBSgQZOXtBy8+nu+YdVSKgaHwz/7Jn99u2Xxi5pIZ0yf5NEHVtaQ7rttw78mHWT0dPdeEecBB9/4V0Moli6dPam9n1YWHXqabndGeFds6Oq5eZwcG3eGvZ5+BrJwxqR0IEhAeNig2vbJrew/IVkaGKrOzZx6dWAq0EqyMTw2hLnHKqj0XgLb+EtZkaPPbsnnZUrBhYMAGV1VjuXfKZZCts0C2Fm1etgnsfj53NoXyOh14Uoyctm8KL8jWnt9BLAwM8p621s6sbApqeihpRFtg2ry9YFs7foq1AgV0ODm1dBnRUxtgqt3d8/ZNuQK2VRl3ks3o7p42b8oqkK0xLLiVSR/qBtl6eYVrAR5VDJKHurtBnohrxpszw0DK5oVUEsjlkgcPdospszAQAFEHBZK0GQgCdmlNfNIAQzEmYu+mR3cAAAAASUVORK5CYII=");
|
82 |
+
}
|
83 |
+
.wam-float-panel__data {
|
84 |
+
display: -webkit-flex;
|
85 |
+
display: -ms-flexbox;
|
86 |
+
display: flex;
|
87 |
+
-webkit-align-items: center;
|
88 |
+
align-items: center;
|
89 |
+
-ms-flex-align: center;
|
90 |
+
margin: 0 -22px;
|
91 |
+
padding: 0;
|
92 |
+
list-style: none;
|
93 |
+
}
|
94 |
+
.wam-float-panel__data:not(:last-child) {
|
95 |
+
margin-right: 22px;
|
96 |
+
}
|
97 |
+
.wam-float-panel__data-item {
|
98 |
+
margin: 0 22px;
|
99 |
+
color: #909090;
|
100 |
+
text-align: center;
|
101 |
+
vertical-align: top;
|
102 |
+
padding: 8px 0 8px;
|
103 |
+
}
|
104 |
+
.wam-float-panel__data-hidden {
|
105 |
+
display: none;
|
106 |
+
margin: 0 44px 0 0;
|
107 |
+
}
|
108 |
+
.wam-float-panel__data-hidden img {
|
109 |
+
vertical-align: middle;
|
110 |
+
}
|
111 |
+
.wam-float-panel__item_value {
|
112 |
+
font-size: 15px;
|
113 |
+
color: #d0d0d0;
|
114 |
+
background: #4c4c4c;
|
115 |
+
border-radius: 2px;
|
116 |
+
padding: 2px 5px;
|
117 |
+
}
|
118 |
+
.wam-float-panel__reset,
|
119 |
+
.wam-float-panel__save,
|
120 |
+
.wam-float-panel__reset.input[type="submit"],
|
121 |
+
.wam-float-panel__save.input[type="submit"] {
|
122 |
+
display: inline-block;
|
123 |
+
padding: 8px 15px 7px;
|
124 |
+
cursor: pointer;
|
125 |
+
transition: 0.1s;
|
126 |
+
vertical-align: middle;
|
127 |
+
text-transform: uppercase !important;
|
128 |
+
border: none;
|
129 |
+
border-radius: 2px;
|
130 |
+
font-size: 14px;
|
131 |
+
line-height: 1.5;
|
132 |
+
color: #222 !important;
|
133 |
+
}
|
134 |
+
.wam-float-panel__reset:hover,
|
135 |
+
.wam-float-panel__save:hover,
|
136 |
+
.wam-float-panel__reset:focus,
|
137 |
+
.wam-float-panel__save:focus {
|
138 |
+
outline: none;
|
139 |
+
text-decoration: none;
|
140 |
+
}
|
141 |
+
.wam-float-panel__reset:active,
|
142 |
+
.wam-float-panel__save:active {
|
143 |
+
-webkit-transform: translateY(2px);
|
144 |
+
transform: translateY(2px);
|
145 |
+
}
|
146 |
+
.wam-float-panel__reset,
|
147 |
+
.wam-float-panel__reset.input[type="submit"] {
|
148 |
+
margin: 0 10px 0 0;
|
149 |
+
padding-right: 30px;
|
150 |
+
padding-left: 30px;
|
151 |
+
background: #E1E5E9;
|
152 |
+
box-shadow: 0 4px #A8AEB3 !important;
|
153 |
+
}
|
154 |
+
.wam-float-panel__reset:hover,
|
155 |
+
.wam-float-panel__reset:focus {
|
156 |
+
background: #E7EAED !important;
|
157 |
+
}
|
158 |
+
.wam-float-panel__reset:active {
|
159 |
+
box-shadow: 0 2px #A8AEB3 !important;
|
160 |
+
}
|
161 |
+
.wam-float-panel__save,
|
162 |
+
.wam-float-panel__save.input[type="submit"] {
|
163 |
+
margin: 0 10px 0 0;
|
164 |
+
padding-right: 30px;
|
165 |
+
padding-left: 30px;
|
166 |
+
color: #222 !important;
|
167 |
+
background: #FFCB1E !important;
|
168 |
+
box-shadow: 0 4px #BF9A17 !important;
|
169 |
+
}
|
170 |
+
.wam-float-panel__save:hover,
|
171 |
+
.wam-float-panel__save:focus {
|
172 |
+
background: #FFD340 !important;
|
173 |
+
box-shadow: 0 4px #BF9A17 !important;
|
174 |
+
}
|
175 |
+
.wam-float-panel__save:active {
|
176 |
+
background: #FFD340 !important;
|
177 |
+
box-shadow: 0 2px #BF9A17 !important;
|
178 |
+
}
|
179 |
+
.wam-float-panel__save + div {
|
180 |
+
margin: 0;
|
181 |
+
}
|
182 |
+
.wam-float-panel__checkbox {
|
183 |
+
cursor: pointer;
|
184 |
+
font-size: 15px;
|
185 |
+
transform: none;
|
186 |
+
}
|
187 |
+
.wam-float-panel__checkbox-text,
|
188 |
+
.wam-float-panel__checkbox-text-premium {
|
189 |
+
position: relative;
|
190 |
+
padding: 0 0 0 26px;
|
191 |
+
}
|
192 |
+
.wam-float-panel__checkbox-text::before,
|
193 |
+
.wam-float-panel__checkbox-text-premium::before {
|
194 |
+
content: "";
|
195 |
+
position: absolute;
|
196 |
+
top: -1px;
|
197 |
+
left: 0;
|
198 |
+
width: 20px;
|
199 |
+
height: 20px;
|
200 |
+
border-radius: 2px;
|
201 |
+
background: #ffcb1e;
|
202 |
+
}
|
203 |
+
.wam-float-panel__checkbox-input:checked + .wam-float-panel__checkbox-text::after,
|
204 |
+
.wam-float-panel__checkbox-input:checked + .wam-float-panel__checkbox-text-premium::after {
|
205 |
+
content: "";
|
206 |
+
position: absolute;
|
207 |
+
top: 5px;
|
208 |
+
left: 6px;
|
209 |
+
width: 8px;
|
210 |
+
height: 5px;
|
211 |
+
-webkit-transform: rotate(-45deg);
|
212 |
+
transform: rotate(-45deg);
|
213 |
+
border: solid #444;
|
214 |
+
border-width: 0 0 2px 2px;
|
215 |
+
}
|
216 |
+
.wam-float-panel__checkbox-text-premium {
|
217 |
+
display: inline;
|
218 |
+
color: rgba(245, 245, 245, 0.3);
|
219 |
+
}
|
220 |
+
.wam-float-panel__checkbox-text-premium b {
|
221 |
+
display: inline-block;
|
222 |
+
font-size: 9px;
|
223 |
+
font-weight: 700;
|
224 |
+
color: #fff;
|
225 |
+
background: #f22714;
|
226 |
+
width: 25px;
|
227 |
+
padding: 3px 0;
|
228 |
+
text-align: center;
|
229 |
+
vertical-align: top;
|
230 |
+
border-radius: 3px;
|
231 |
+
line-height: 1.5;
|
232 |
+
}
|
233 |
+
.wam-float-panel__checkbox-text-premium::before {
|
234 |
+
background: rgba(245, 245, 245, 0.3);
|
235 |
+
}
|
236 |
+
.wam-float-panel__close,
|
237 |
+
.wam-float-panel__close:hover {
|
238 |
+
width: 36px;
|
239 |
+
height: 36px;
|
240 |
+
margin: 0 20px 0 20px;
|
241 |
+
cursor: pointer;
|
242 |
+
transition: 0.2s;
|
243 |
+
border: 4px solid #FFF;
|
244 |
+
border-radius: 50%;
|
245 |
+
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 352 512'%3E%3Cpath fill='%23FFF' d='M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z'/%3E%3C/svg%3E") no-repeat 50% 0px;
|
246 |
+
}
|
247 |
+
.wam-float-panel__close:focus,
|
248 |
+
.wam-float-panel__close:hover:focus {
|
249 |
+
opacity: 0.5;
|
250 |
+
outline: none;
|
251 |
+
}
|
252 |
/*# sourceMappingURL=float-panel.css.map */
|
components/assets-manager/assets/css/tables.css
CHANGED
@@ -1,85 +1,85 @@
|
|
1 |
-
/**
|
2 |
-
* Tabless
|
3 |
-
|
4 |
-
* @author Alex Kovalev <alex.kovalevv@gmail.com>
|
5 |
-
* @copyright Webcraftic 26.08.2019
|
6 |
-
*/
|
7 |
-
.wam-table {
|
8 |
-
width: 100%;
|
9 |
-
box-sizing: border-box;
|
10 |
-
table-layout: fixed;
|
11 |
-
border-collapse: collapse;
|
12 |
-
}
|
13 |
-
.wam-table__handle-deps {
|
14 |
-
margin-top: 15px;
|
15 |
-
}
|
16 |
-
.wam-table__handle-deps span,
|
17 |
-
.wam-table__handle-deps a {
|
18 |
-
font-size: 11px !important;
|
19 |
-
}
|
20 |
-
.wam-table__handle-deps a {
|
21 |
-
color: red;
|
22 |
-
text-decoration: underline;
|
23 |
-
}
|
24 |
-
.wam-table tr:nth-child(2n) > td {
|
25 |
-
background: #f9f9f9;
|
26 |
-
}
|
27 |
-
.wam-table th {
|
28 |
-
padding: 12px 10px;
|
29 |
-
text-align: left;
|
30 |
-
color: #333;
|
31 |
-
background: #ECEDED;
|
32 |
-
box-shadow: none;
|
33 |
-
}
|
34 |
-
.wam-table th:not(:last-child) {
|
35 |
-
border-right: 2px solid #FFF;
|
36 |
-
}
|
37 |
-
.wam-table__th-actions {
|
38 |
-
width: 200px;
|
39 |
-
}
|
40 |
-
.wam-table__th-type {
|
41 |
-
width: 100px;
|
42 |
-
}
|
43 |
-
.wam-table__th-version {
|
44 |
-
width: 100px;
|
45 |
-
}
|
46 |
-
.wam-table__th-size {
|
47 |
-
width: 100px;
|
48 |
-
}
|
49 |
-
.wam-table__th-plugins-list,
|
50 |
-
.wam-table__td-plugins-list {
|
51 |
-
width: 350px;
|
52 |
-
}
|
53 |
-
.wam-table td {
|
54 |
-
padding: 17px 10px;
|
55 |
-
vertical-align: top;
|
56 |
-
text-align: left;
|
57 |
-
box-shadow: none;
|
58 |
-
}
|
59 |
-
.wam-table__td-handle {
|
60 |
-
word-break: break-word;
|
61 |
-
}
|
62 |
-
.wam-table__td-plugins-list {
|
63 |
-
padding: 0 !important;
|
64 |
-
}
|
65 |
-
.wam-table__th-plugins-settings,
|
66 |
-
.wam-table__td-plugins-settings {
|
67 |
-
width: 80%;
|
68 |
-
padding: 15px;
|
69 |
-
text-align: left;
|
70 |
-
}
|
71 |
-
.wam-table .js-wam-table__tr--disabled-section {
|
72 |
-
background: #fbf5f4;
|
73 |
-
opacity: 0.7;
|
74 |
-
}
|
75 |
-
.wam-table__asset-settings-conditions {
|
76 |
-
display: none;
|
77 |
-
background: #f3f3f3;
|
78 |
-
color: #7b7b7b;
|
79 |
-
font-size: 13px;
|
80 |
-
box-shadow: 0 2px 0 #d4d4d4;
|
81 |
-
}
|
82 |
-
.wam-table__asset-settings-conditions > td {
|
83 |
-
padding: 0 25px 15px 25px;
|
84 |
-
}
|
85 |
/*# sourceMappingURL=tables.css.map */
|
1 |
+
/**
|
2 |
+
* Tabless
|
3 |
+
|
4 |
+
* @author Alex Kovalev <alex.kovalevv@gmail.com>
|
5 |
+
* @copyright Webcraftic 26.08.2019
|
6 |
+
*/
|
7 |
+
.wam-table {
|
8 |
+
width: 100%;
|
9 |
+
box-sizing: border-box;
|
10 |
+
table-layout: fixed;
|
11 |
+
border-collapse: collapse;
|
12 |
+
}
|
13 |
+
.wam-table__handle-deps {
|
14 |
+
margin-top: 15px;
|
15 |
+
}
|
16 |
+
.wam-table__handle-deps span,
|
17 |
+
.wam-table__handle-deps a {
|
18 |
+
font-size: 11px !important;
|
19 |
+
}
|
20 |
+
.wam-table__handle-deps a {
|
21 |
+
color: red;
|
22 |
+
text-decoration: underline;
|
23 |
+
}
|
24 |
+
.wam-table tr:nth-child(2n) > td {
|
25 |
+
background: #f9f9f9;
|
26 |
+
}
|
27 |
+
.wam-table th {
|
28 |
+
padding: 12px 10px;
|
29 |
+
text-align: left;
|
30 |
+
color: #333;
|
31 |
+
background: #ECEDED;
|
32 |
+
box-shadow: none;
|
33 |
+
}
|
34 |
+
.wam-table th:not(:last-child) {
|
35 |
+
border-right: 2px solid #FFF;
|
36 |
+
}
|
37 |
+
.wam-table__th-actions {
|
38 |
+
width: 200px;
|
39 |
+
}
|
40 |
+
.wam-table__th-type {
|
41 |
+
width: 100px;
|
42 |
+
}
|
43 |
+
.wam-table__th-version {
|
44 |
+
width: 100px;
|
45 |
+
}
|
46 |
+
.wam-table__th-size {
|
47 |
+
width: 100px;
|
48 |
+
}
|
49 |
+
.wam-table__th-plugins-list,
|
50 |
+
.wam-table__td-plugins-list {
|
51 |
+
width: 350px;
|
52 |
+
}
|
53 |
+
.wam-table td {
|
54 |
+
padding: 17px 10px;
|
55 |
+
vertical-align: top;
|
56 |
+
text-align: left;
|
57 |
+
box-shadow: none;
|
58 |
+
}
|
59 |
+
.wam-table__td-handle {
|
60 |
+
word-break: break-word;
|
61 |
+
}
|
62 |
+
.wam-table__td-plugins-list {
|
63 |
+
padding: 0 !important;
|
64 |
+
}
|
65 |
+
.wam-table__th-plugins-settings,
|
66 |
+
.wam-table__td-plugins-settings {
|
67 |
+
width: 80%;
|
68 |
+
padding: 15px;
|
69 |
+
text-align: left;
|
70 |
+
}
|
71 |
+
.wam-table .js-wam-table__tr--disabled-section {
|
72 |
+
background: #fbf5f4;
|
73 |
+
opacity: 0.7;
|
74 |
+
}
|
75 |
+
.wam-table__asset-settings-conditions {
|
76 |
+
display: none;
|
77 |
+
background: #f3f3f3;
|
78 |
+
color: #7b7b7b;
|
79 |
+
font-size: 13px;
|
80 |
+
box-shadow: 0 2px 0 #d4d4d4;
|
81 |
+
}
|
82 |
+
.wam-table__asset-settings-conditions > td {
|
83 |
+
padding: 0 25px 15px 25px;
|
84 |
+
}
|
85 |
/*# sourceMappingURL=tables.css.map */
|
components/assets-manager/assets/css/tooltip.css
CHANGED
@@ -1,55 +1,55 @@
|
|
1 |
-
/**
|
2 |
-
* Tooltip
|
3 |
-
|
4 |
-
* @author Alex Kovalev <alex.kovalevv@gmail.com>
|
5 |
-
* @copyright Webcraftic 26.08.2019
|
6 |
-
*/
|
7 |
-
.wam-tooltip {
|
8 |
-
position: relative;
|
9 |
-
}
|
10 |
-
.wam-tooltip::before {
|
11 |
-
content: "";
|
12 |
-
position: absolute;
|
13 |
-
z-index: 60;
|
14 |
-
left: 5px;
|
15 |
-
display: none;
|
16 |
-
width: 20px;
|
17 |
-
height: 20px;
|
18 |
-
}
|
19 |
-
.wam-tooltip::after {
|
20 |
-
content: attr(data-tooltip);
|
21 |
-
position: absolute;
|
22 |
-
z-index: 60;
|
23 |
-
left: 5px;
|
24 |
-
display: none;
|
25 |
-
min-width: 200px;
|
26 |
-
padding: 8px 15px;
|
27 |
-
color: #6d5506;
|
28 |
-
background: #FFCB1E;
|
29 |
-
font-size: 13px;
|
30 |
-
font-weight: normal;
|
31 |
-
line-height: 1.2;
|
32 |
-
}
|
33 |
-
.wam-tooltip-top::before {
|
34 |
-
bottom: 100%;
|
35 |
-
background: linear-gradient(135deg, #FFCB1E, #FFCB1E 50%, transparent 50%, transparent) no-repeat;
|
36 |
-
}
|
37 |
-
.wam-tooltip-top::after {
|
38 |
-
bottom: 100%;
|
39 |
-
margin: 0 0 10px;
|
40 |
-
border-radius: 6px 6px 6px 0;
|
41 |
-
}
|
42 |
-
.wam-tooltip--bottom::before {
|
43 |
-
top: 100%;
|
44 |
-
background: linear-gradient(45deg, #FFCB1E, #FFCB1E 50%, transparent 50%, transparent) no-repeat;
|
45 |
-
}
|
46 |
-
.wam-tooltip--bottom::after {
|
47 |
-
top: 100%;
|
48 |
-
margin: 15px 0 0;
|
49 |
-
border-radius: 0 6px 6px 6px;
|
50 |
-
}
|
51 |
-
.wam-tooltip:hover::before,
|
52 |
-
.wam-tooltip:hover::after {
|
53 |
-
display: block;
|
54 |
-
}
|
55 |
/*# sourceMappingURL=tooltip.css.map */
|
1 |
+
/**
|
2 |
+
* Tooltip
|
3 |
+
|
4 |
+
* @author Alex Kovalev <alex.kovalevv@gmail.com>
|
5 |
+
* @copyright Webcraftic 26.08.2019
|
6 |
+
*/
|
7 |
+
.wam-tooltip {
|
8 |
+
position: relative;
|
9 |
+
}
|
10 |
+
.wam-tooltip::before {
|
11 |
+
content: "";
|
12 |
+
position: absolute;
|
13 |
+
z-index: 60;
|
14 |
+
left: 5px;
|
15 |
+
display: none;
|
16 |
+
width: 20px;
|
17 |
+
height: 20px;
|
18 |
+
}
|
19 |
+
.wam-tooltip::after {
|
20 |
+
content: attr(data-tooltip);
|
21 |
+
position: absolute;
|
22 |
+
z-index: 60;
|
23 |
+
left: 5px;
|
24 |
+
display: none;
|
25 |
+
min-width: 200px;
|
26 |
+
padding: 8px 15px;
|
27 |
+
color: #6d5506;
|
28 |
+
background: #FFCB1E;
|
29 |
+
font-size: 13px;
|
30 |
+
font-weight: normal;
|
31 |
+
line-height: 1.2;
|
32 |
+
}
|
33 |
+
.wam-tooltip-top::before {
|
34 |
+
bottom: 100%;
|
35 |
+
background: linear-gradient(135deg, #FFCB1E, #FFCB1E 50%, transparent 50%, transparent) no-repeat;
|
36 |
+
}
|
37 |
+
.wam-tooltip-top::after {
|
38 |
+
bottom: 100%;
|
39 |
+
margin: 0 0 10px;
|
40 |
+
border-radius: 6px 6px 6px 0;
|
41 |
+
}
|
42 |
+
.wam-tooltip--bottom::before {
|
43 |
+
top: 100%;
|
44 |
+
background: linear-gradient(45deg, #FFCB1E, #FFCB1E 50%, transparent 50%, transparent) no-repeat;
|
45 |
+
}
|
46 |
+
.wam-tooltip--bottom::after {
|
47 |
+
top: 100%;
|
48 |
+
margin: 15px 0 0;
|
49 |
+
border-radius: 0 6px 6px 6px;
|
50 |
+
}
|
51 |
+
.wam-tooltip:hover::before,
|
52 |
+
.wam-tooltip:hover::after {
|
53 |
+
display: block;
|
54 |
+
}
|
55 |
/*# sourceMappingURL=tooltip.css.map */
|
components/assets-manager/assets/js/libs/wam-jquery-migrate.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! jQuery Migrate v1.4.1 | (c) jQuery Foundation and other contributors | jquery.org/license */
|
2 |
"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(a,b,c){function d(c){var d=b.console;f[c]||(f[c]=!0,a.migrateWarnings.push(c),d&&d.warn&&!a.migrateMute&&(d.warn("JQMIGRATE: "+c),a.migrateTrace&&d.trace&&d.trace()))}function e(b,c,e,f){if(Object.defineProperty)try{return void Object.defineProperty(b,c,{configurable:!0,enumerable:!0,get:function(){return d(f),e},set:function(a){d(f),e=a}})}catch(g){}a._definePropertyBroken=!0,b[c]=e}a.migrateVersion="1.4.1";var f={};a.migrateWarnings=[],b.console&&b.console.log&&b.console.log("JQMIGRATE: Migrate is installed"+(a.migrateMute?"":" with logging active")+", version "+a.migrateVersion),a.migrateTrace===c&&(a.migrateTrace=!0),a.migrateReset=function(){f={},a.migrateWarnings.length=0},"BackCompat"===document.compatMode&&d("jQuery is not compatible with Quirks Mode");var g=a("<input/>",{size:1}).attr("size")&&a.attrFn,h=a.attr,i=a.attrHooks.value&&a.attrHooks.value.get||function(){return null},j=a.attrHooks.value&&a.attrHooks.value.set||function(){return c},k=/^(?:input|button)$/i,l=/^[238]$/,m=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,n=/^(?:checked|selected)$/i;e(a,"attrFn",g||{},"jQuery.attrFn is deprecated"),a.attr=function(b,e,f,i){var j=e.toLowerCase(),o=b&&b.nodeType;return i&&(h.length<4&&d("jQuery.fn.attr( props, pass ) is deprecated"),b&&!l.test(o)&&(g?e in g:a.isFunction(a.fn[e])))?a(b)[e](f):("type"===e&&f!==c&&k.test(b.nodeName)&&b.parentNode&&d("Can't change the 'type' of an input or button in IE 6/7/8"),!a.attrHooks[j]&&m.test(j)&&(a.attrHooks[j]={get:function(b,d){var e,f=a.prop(b,d);return f===!0||"boolean"!=typeof f&&(e=b.getAttributeNode(d))&&e.nodeValue!==!1?d.toLowerCase():c},set:function(b,c,d){var e;return c===!1?a.removeAttr(b,d):(e=a.propFix[d]||d,e in b&&(b[e]=!0),b.setAttribute(d,d.toLowerCase())),d}},n.test(j)&&d("jQuery.fn.attr('"+j+"') might use property instead of attribute")),h.call(a,b,e,f))},a.attrHooks.value={get:function(a,b){var c=(a.nodeName||"").toLowerCase();return"button"===c?i.apply(this,arguments):("input"!==c&&"option"!==c&&d("jQuery.fn.attr('value') no longer gets properties"),b in a?a.value:null)},set:function(a,b){var c=(a.nodeName||"").toLowerCase();return"button"===c?j.apply(this,arguments):("input"!==c&&"option"!==c&&d("jQuery.fn.attr('value', val) no longer sets properties"),void(a.value=b))}};var o,p,q=a.fn.init,r=a.find,s=a.parseJSON,t=/^\s*</,u=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,v=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,w=/^([^<]*)(<[\w\W]+>)([^>]*)$/;a.fn.init=function(b,e,f){var g,h;return b&&"string"==typeof b&&!a.isPlainObject(e)&&(g=w.exec(a.trim(b)))&&g[0]&&(t.test(b)||d("$(html) HTML strings must start with '<' character"),g[3]&&d("$(html) HTML text after last tag is ignored"),"#"===g[0].charAt(0)&&(d("HTML string cannot start with a '#' character"),a.error("JQMIGRATE: Invalid selector string (XSS)")),e&&e.context&&e.context.nodeType&&(e=e.context),a.parseHTML)?q.call(this,a.parseHTML(g[2],e&&e.ownerDocument||e||document,!0),e,f):(h=q.apply(this,arguments),b&&b.selector!==c?(h.selector=b.selector,h.context=b.context):(h.selector="string"==typeof b?b:"",b&&(h.context=b.nodeType?b:e||document)),h)},a.fn.init.prototype=a.fn,a.find=function(a){var b=Array.prototype.slice.call(arguments);if("string"==typeof a&&u.test(a))try{document.querySelector(a)}catch(c){a=a.replace(v,function(a,b,c,d){return"["+b+c+'"'+d+'"]'});try{document.querySelector(a),d("Attribute selector with '#' must be quoted: "+b[0]),b[0]=a}catch(e){d("Attribute selector with '#' was not fixed: "+b[0])}}return r.apply(this,b)};var x;for(x in r)Object.prototype.hasOwnProperty.call(r,x)&&(a.find[x]=r[x]);a.parseJSON=function(a){return a?s.apply(this,arguments):(d("jQuery.parseJSON requires a valid JSON string"),null)},a.uaMatch=function(a){a=a.toLowerCase();var b=/(chrome)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},a.browser||(o=a.uaMatch(navigator.userAgent),p={},o.browser&&(p[o.browser]=!0,p.version=o.version),p.chrome?p.webkit=!0:p.webkit&&(p.safari=!0),a.browser=p),e(a,"browser",a.browser,"jQuery.browser is deprecated"),a.boxModel=a.support.boxModel="CSS1Compat"===document.compatMode,e(a,"boxModel",a.boxModel,"jQuery.boxModel is deprecated"),e(a.support,"boxModel",a.support.boxModel,"jQuery.support.boxModel is deprecated"),a.sub=function(){function b(a,c){return new b.fn.init(a,c)}a.extend(!0,b,this),b.superclass=this,b.fn=b.prototype=this(),b.fn.constructor=b,b.sub=this.sub,b.fn.init=function(d,e){var f=a.fn.init.call(this,d,e,c);return f instanceof b?f:b(f)},b.fn.init.prototype=b.fn;var c=b(document);return d("jQuery.sub() is deprecated"),b},a.fn.size=function(){return d("jQuery.fn.size() is deprecated; use the .length property"),this.length};var y=!1;a.swap&&a.each(["height","width","reliableMarginRight"],function(b,c){var d=a.cssHooks[c]&&a.cssHooks[c].get;d&&(a.cssHooks[c].get=function(){var a;return y=!0,a=d.apply(this,arguments),y=!1,a})}),a.swap=function(a,b,c,e){var f,g,h={};y||d("jQuery.swap() is undocumented and deprecated");for(g in b)h[g]=a.style[g],a.style[g]=b[g];f=c.apply(a,e||[]);for(g in b)a.style[g]=h[g];return f},a.ajaxSetup({converters:{"text json":a.parseJSON}});var z=a.fn.data;a.fn.data=function(b){var e,f,g=this[0];return!g||"events"!==b||1!==arguments.length||(e=a.data(g,b),f=a._data(g,b),e!==c&&e!==f||f===c)?z.apply(this,arguments):(d("Use of jQuery.fn.data('events') is deprecated"),f)};var A=/\/(java|ecma)script/i;a.clean||(a.clean=function(b,c,e,f){c=c||document,c=!c.nodeType&&c[0]||c,c=c.ownerDocument||c,d("jQuery.clean() is deprecated");var g,h,i,j,k=[];if(a.merge(k,a.buildFragment(b,c).childNodes),e)for(i=function(a){return!a.type||A.test(a.type)?f?f.push(a.parentNode?a.parentNode.removeChild(a):a):e.appendChild(a):void 0},g=0;null!=(h=k[g]);g++)a.nodeName(h,"script")&&i(h)||(e.appendChild(h),"undefined"!=typeof h.getElementsByTagName&&(j=a.grep(a.merge([],h.getElementsByTagName("script")),i),k.splice.apply(k,[g+1,0].concat(j)),g+=j.length));return k});var B=a.event.add,C=a.event.remove,D=a.event.trigger,E=a.fn.toggle,F=a.fn.live,G=a.fn.die,H=a.fn.load,I="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",J=new RegExp("\\b(?:"+I+")\\b"),K=/(?:^|\s)hover(\.\S+|)\b/,L=function(b){return"string"!=typeof b||a.event.special.hover?b:(K.test(b)&&d("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),b&&b.replace(K,"mouseenter$1 mouseleave$1"))};a.event.props&&"attrChange"!==a.event.props[0]&&a.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),a.event.dispatch&&e(a.event,"handle",a.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),a.event.add=function(a,b,c,e,f){a!==document&&J.test(b)&&d("AJAX events should be attached to document: "+b),B.call(this,a,L(b||""),c,e,f)},a.event.remove=function(a,b,c,d,e){C.call(this,a,L(b)||"",c,d,e)},a.each(["load","unload","error"],function(b,c){a.fn[c]=function(){var a=Array.prototype.slice.call(arguments,0);return"load"===c&&"string"==typeof a[0]?H.apply(this,a):(d("jQuery.fn."+c+"() is deprecated"),a.splice(0,0,c),arguments.length?this.bind.apply(this,a):(this.triggerHandler.apply(this,a),this))}}),a.fn.toggle=function(b,c){if(!a.isFunction(b)||!a.isFunction(c))return E.apply(this,arguments);d("jQuery.fn.toggle(handler, handler...) is deprecated");var e=arguments,f=b.guid||a.guid++,g=0,h=function(c){var d=(a._data(this,"lastToggle"+b.guid)||0)%g;return a._data(this,"lastToggle"+b.guid,d+1),c.preventDefault(),e[d].apply(this,arguments)||!1};for(h.guid=f;g<e.length;)e[g++].guid=f;return this.click(h)},a.fn.live=function(b,c,e){return d("jQuery.fn.live() is deprecated"),F?F.apply(this,arguments):(a(this.context).on(b,this.selector,c,e),this)},a.fn.die=function(b,c){return d("jQuery.fn.die() is deprecated"),G?G.apply(this,arguments):(a(this.context).off(b,this.selector||"**",c),this)},a.event.trigger=function(a,b,c,e){return c||J.test(a)||d("Global events are undocumented and deprecated"),D.call(this,a,b,c||document,e)},a.each(I.split("|"),function(b,c){a.event.special[c]={setup:function(){var b=this;return b!==document&&(a.event.add(document,c+"."+a.guid,function(){a.event.trigger(c,Array.prototype.slice.call(arguments,1),b,!0)}),a._data(this,c,a.guid++)),!1},teardown:function(){return this!==document&&a.event.remove(document,c+"."+a._data(this,c)),!1}}}),a.event.special.ready={setup:function(){this===document&&d("'ready' event is deprecated")}};var M=a.fn.andSelf||a.fn.addBack,N=a.fn.find;if(a.fn.andSelf=function(){return d("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),M.apply(this,arguments)},a.fn.find=function(a){var b=N.apply(this,arguments);return b.context=this.context,b.selector=this.selector?this.selector+" "+a:a,b},a.Callbacks){var O=a.Deferred,P=[["resolve","done",a.Callbacks("once memory"),a.Callbacks("once memory"),"resolved"],["reject","fail",a.Callbacks("once memory"),a.Callbacks("once memory"),"rejected"],["notify","progress",a.Callbacks("memory"),a.Callbacks("memory")]];a.Deferred=function(b){var c=O(),e=c.promise();return c.pipe=e.pipe=function(){var b=arguments;return d("deferred.pipe() is deprecated"),a.Deferred(function(d){a.each(P,function(f,g){var h=a.isFunction(b[f])&&b[f];c[g[1]](function(){var b=h&&h.apply(this,arguments);b&&a.isFunction(b.promise)?b.promise().done(d.resolve).fail(d.reject).progress(d.notify):d[g[0]+"With"](this===e?d.promise():this,h?[b]:arguments)})}),b=null}).promise()},c.isResolved=function(){return d("deferred.isResolved is deprecated"),"resolved"===c.state()},c.isRejected=function(){return d("deferred.isRejected is deprecated"),"rejected"===c.state()},b&&b.call(c,c),c}}}(jQuery,window);
|
1 |
+
/*! jQuery Migrate v1.4.1 | (c) jQuery Foundation and other contributors | jquery.org/license */
|
2 |
"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(a,b,c){function d(c){var d=b.console;f[c]||(f[c]=!0,a.migrateWarnings.push(c),d&&d.warn&&!a.migrateMute&&(d.warn("JQMIGRATE: "+c),a.migrateTrace&&d.trace&&d.trace()))}function e(b,c,e,f){if(Object.defineProperty)try{return void Object.defineProperty(b,c,{configurable:!0,enumerable:!0,get:function(){return d(f),e},set:function(a){d(f),e=a}})}catch(g){}a._definePropertyBroken=!0,b[c]=e}a.migrateVersion="1.4.1";var f={};a.migrateWarnings=[],b.console&&b.console.log&&b.console.log("JQMIGRATE: Migrate is installed"+(a.migrateMute?"":" with logging active")+", version "+a.migrateVersion),a.migrateTrace===c&&(a.migrateTrace=!0),a.migrateReset=function(){f={},a.migrateWarnings.length=0},"BackCompat"===document.compatMode&&d("jQuery is not compatible with Quirks Mode");var g=a("<input/>",{size:1}).attr("size")&&a.attrFn,h=a.attr,i=a.attrHooks.value&&a.attrHooks.value.get||function(){return null},j=a.attrHooks.value&&a.attrHooks.value.set||function(){return c},k=/^(?:input|button)$/i,l=/^[238]$/,m=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,n=/^(?:checked|selected)$/i;e(a,"attrFn",g||{},"jQuery.attrFn is deprecated"),a.attr=function(b,e,f,i){var j=e.toLowerCase(),o=b&&b.nodeType;return i&&(h.length<4&&d("jQuery.fn.attr( props, pass ) is deprecated"),b&&!l.test(o)&&(g?e in g:a.isFunction(a.fn[e])))?a(b)[e](f):("type"===e&&f!==c&&k.test(b.nodeName)&&b.parentNode&&d("Can't change the 'type' of an input or button in IE 6/7/8"),!a.attrHooks[j]&&m.test(j)&&(a.attrHooks[j]={get:function(b,d){var e,f=a.prop(b,d);return f===!0||"boolean"!=typeof f&&(e=b.getAttributeNode(d))&&e.nodeValue!==!1?d.toLowerCase():c},set:function(b,c,d){var e;return c===!1?a.removeAttr(b,d):(e=a.propFix[d]||d,e in b&&(b[e]=!0),b.setAttribute(d,d.toLowerCase())),d}},n.test(j)&&d("jQuery.fn.attr('"+j+"') might use property instead of attribute")),h.call(a,b,e,f))},a.attrHooks.value={get:function(a,b){var c=(a.nodeName||"").toLowerCase();return"button"===c?i.apply(this,arguments):("input"!==c&&"option"!==c&&d("jQuery.fn.attr('value') no longer gets properties"),b in a?a.value:null)},set:function(a,b){var c=(a.nodeName||"").toLowerCase();return"button"===c?j.apply(this,arguments):("input"!==c&&"option"!==c&&d("jQuery.fn.attr('value', val) no longer sets properties"),void(a.value=b))}};var o,p,q=a.fn.init,r=a.find,s=a.parseJSON,t=/^\s*</,u=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,v=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,w=/^([^<]*)(<[\w\W]+>)([^>]*)$/;a.fn.init=function(b,e,f){var g,h;return b&&"string"==typeof b&&!a.isPlainObject(e)&&(g=w.exec(a.trim(b)))&&g[0]&&(t.test(b)||d("$(html) HTML strings must start with '<' character"),g[3]&&d("$(html) HTML text after last tag is ignored"),"#"===g[0].charAt(0)&&(d("HTML string cannot start with a '#' character"),a.error("JQMIGRATE: Invalid selector string (XSS)")),e&&e.context&&e.context.nodeType&&(e=e.context),a.parseHTML)?q.call(this,a.parseHTML(g[2],e&&e.ownerDocument||e||document,!0),e,f):(h=q.apply(this,arguments),b&&b.selector!==c?(h.selector=b.selector,h.context=b.context):(h.selector="string"==typeof b?b:"",b&&(h.context=b.nodeType?b:e||document)),h)},a.fn.init.prototype=a.fn,a.find=function(a){var b=Array.prototype.slice.call(arguments);if("string"==typeof a&&u.test(a))try{document.querySelector(a)}catch(c){a=a.replace(v,function(a,b,c,d){return"["+b+c+'"'+d+'"]'});try{document.querySelector(a),d("Attribute selector with '#' must be quoted: "+b[0]),b[0]=a}catch(e){d("Attribute selector with '#' was not fixed: "+b[0])}}return r.apply(this,b)};var x;for(x in r)Object.prototype.hasOwnProperty.call(r,x)&&(a.find[x]=r[x]);a.parseJSON=function(a){return a?s.apply(this,arguments):(d("jQuery.parseJSON requires a valid JSON string"),null)},a.uaMatch=function(a){a=a.toLowerCase();var b=/(chrome)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},a.browser||(o=a.uaMatch(navigator.userAgent),p={},o.browser&&(p[o.browser]=!0,p.version=o.version),p.chrome?p.webkit=!0:p.webkit&&(p.safari=!0),a.browser=p),e(a,"browser",a.browser,"jQuery.browser is deprecated"),a.boxModel=a.support.boxModel="CSS1Compat"===document.compatMode,e(a,"boxModel",a.boxModel,"jQuery.boxModel is deprecated"),e(a.support,"boxModel",a.support.boxModel,"jQuery.support.boxModel is deprecated"),a.sub=function(){function b(a,c){return new b.fn.init(a,c)}a.extend(!0,b,this),b.superclass=this,b.fn=b.prototype=this(),b.fn.constructor=b,b.sub=this.sub,b.fn.init=function(d,e){var f=a.fn.init.call(this,d,e,c);return f instanceof b?f:b(f)},b.fn.init.prototype=b.fn;var c=b(document);return d("jQuery.sub() is deprecated"),b},a.fn.size=function(){return d("jQuery.fn.size() is deprecated; use the .length property"),this.length};var y=!1;a.swap&&a.each(["height","width","reliableMarginRight"],function(b,c){var d=a.cssHooks[c]&&a.cssHooks[c].get;d&&(a.cssHooks[c].get=function(){var a;return y=!0,a=d.apply(this,arguments),y=!1,a})}),a.swap=function(a,b,c,e){var f,g,h={};y||d("jQuery.swap() is undocumented and deprecated");for(g in b)h[g]=a.style[g],a.style[g]=b[g];f=c.apply(a,e||[]);for(g in b)a.style[g]=h[g];return f},a.ajaxSetup({converters:{"text json":a.parseJSON}});var z=a.fn.data;a.fn.data=function(b){var e,f,g=this[0];return!g||"events"!==b||1!==arguments.length||(e=a.data(g,b),f=a._data(g,b),e!==c&&e!==f||f===c)?z.apply(this,arguments):(d("Use of jQuery.fn.data('events') is deprecated"),f)};var A=/\/(java|ecma)script/i;a.clean||(a.clean=function(b,c,e,f){c=c||document,c=!c.nodeType&&c[0]||c,c=c.ownerDocument||c,d("jQuery.clean() is deprecated");var g,h,i,j,k=[];if(a.merge(k,a.buildFragment(b,c).childNodes),e)for(i=function(a){return!a.type||A.test(a.type)?f?f.push(a.parentNode?a.parentNode.removeChild(a):a):e.appendChild(a):void 0},g=0;null!=(h=k[g]);g++)a.nodeName(h,"script")&&i(h)||(e.appendChild(h),"undefined"!=typeof h.getElementsByTagName&&(j=a.grep(a.merge([],h.getElementsByTagName("script")),i),k.splice.apply(k,[g+1,0].concat(j)),g+=j.length));return k});var B=a.event.add,C=a.event.remove,D=a.event.trigger,E=a.fn.toggle,F=a.fn.live,G=a.fn.die,H=a.fn.load,I="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",J=new RegExp("\\b(?:"+I+")\\b"),K=/(?:^|\s)hover(\.\S+|)\b/,L=function(b){return"string"!=typeof b||a.event.special.hover?b:(K.test(b)&&d("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),b&&b.replace(K,"mouseenter$1 mouseleave$1"))};a.event.props&&"attrChange"!==a.event.props[0]&&a.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),a.event.dispatch&&e(a.event,"handle",a.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),a.event.add=function(a,b,c,e,f){a!==document&&J.test(b)&&d("AJAX events should be attached to document: "+b),B.call(this,a,L(b||""),c,e,f)},a.event.remove=function(a,b,c,d,e){C.call(this,a,L(b)||"",c,d,e)},a.each(["load","unload","error"],function(b,c){a.fn[c]=function(){var a=Array.prototype.slice.call(arguments,0);return"load"===c&&"string"==typeof a[0]?H.apply(this,a):(d("jQuery.fn."+c+"() is deprecated"),a.splice(0,0,c),arguments.length?this.bind.apply(this,a):(this.triggerHandler.apply(this,a),this))}}),a.fn.toggle=function(b,c){if(!a.isFunction(b)||!a.isFunction(c))return E.apply(this,arguments);d("jQuery.fn.toggle(handler, handler...) is deprecated");var e=arguments,f=b.guid||a.guid++,g=0,h=function(c){var d=(a._data(this,"lastToggle"+b.guid)||0)%g;return a._data(this,"lastToggle"+b.guid,d+1),c.preventDefault(),e[d].apply(this,arguments)||!1};for(h.guid=f;g<e.length;)e[g++].guid=f;return this.click(h)},a.fn.live=function(b,c,e){return d("jQuery.fn.live() is deprecated"),F?F.apply(this,arguments):(a(this.context).on(b,this.selector,c,e),this)},a.fn.die=function(b,c){return d("jQuery.fn.die() is deprecated"),G?G.apply(this,arguments):(a(this.context).off(b,this.selector||"**",c),this)},a.event.trigger=function(a,b,c,e){return c||J.test(a)||d("Global events are undocumented and deprecated"),D.call(this,a,b,c||document,e)},a.each(I.split("|"),function(b,c){a.event.special[c]={setup:function(){var b=this;return b!==document&&(a.event.add(document,c+"."+a.guid,function(){a.event.trigger(c,Array.prototype.slice.call(arguments,1),b,!0)}),a._data(this,c,a.guid++)),!1},teardown:function(){return this!==document&&a.event.remove(document,c+"."+a._data(this,c)),!1}}}),a.event.special.ready={setup:function(){this===document&&d("'ready' event is deprecated")}};var M=a.fn.andSelf||a.fn.addBack,N=a.fn.find;if(a.fn.andSelf=function(){return d("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),M.apply(this,arguments)},a.fn.find=function(a){var b=N.apply(this,arguments);return b.context=this.context,b.selector=this.selector?this.selector+" "+a:a,b},a.Callbacks){var O=a.Deferred,P=[["resolve","done",a.Callbacks("once memory"),a.Callbacks("once memory"),"resolved"],["reject","fail",a.Callbacks("once memory"),a.Callbacks("once memory"),"rejected"],["notify","progress",a.Callbacks("memory"),a.Callbacks("memory")]];a.Deferred=function(b){var c=O(),e=c.promise();return c.pipe=e.pipe=function(){var b=arguments;return d("deferred.pipe() is deprecated"),a.Deferred(function(d){a.each(P,function(f,g){var h=a.isFunction(b[f])&&b[f];c[g[1]](function(){var b=h&&h.apply(this,arguments);b&&a.isFunction(b.promise)?b.promise().done(d.resolve).fail(d.reject).progress(d.notify):d[g[0]+"With"](this===e?d.promise():this,h?[b]:arguments)})}),b=null}).promise()},c.isResolved=function(){return d("deferred.isResolved is deprecated"),"resolved"===c.state()},c.isRejected=function(){return d("deferred.isRejected is deprecated"),"rejected"===c.state()},b&&b.call(c,c),c}}}(jQuery,window);
|
components/assets-manager/assets/js/libs/wam-jquery.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
/*! jQuery v1.12.4 | (c) jQuery Foundation | jquery.org/license | WordPress 2019-05-16 */
|
2 |
-
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=a.document,e=c.slice,f=c.concat,g=c.push,h=c.indexOf,i={},j=i.toString,k=i.hasOwnProperty,l={},m="1.12.4",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return e.call(this)},get:function(a){return null!=a?a<0?this[a+this.length]:this[a]:e.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a){return n.each(this,a)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(e.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(a<0?b:0);return this.pushStack(c>=0&&c<b?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:g,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);h<i;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],"__proto__"!==d&&g!==c&&(j&&c&&(n.isPlainObject(c)||(b=n.isArray(c)))?(b?(b=!1,f=a&&n.isArray(a)?a:[]):f=a&&n.isPlainObject(a)?a:{},g[d]=n.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray||function(a){return"array"===n.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){var b=a&&a.toString();return!n.isArray(a)&&b-parseFloat(b)+1>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==n.type(a)||a.nodeType||n.isWindow(a))return!1;try{if(a.constructor&&!k.call(a,"constructor")&&!k.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(!l.ownFirst)for(b in a)return k.call(a,b);for(b in a);return void 0===b||k.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?i[j.call(a)]||"object":typeof a},globalEval:function(b){b&&n.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b){var c,d=0;if(s(a)){for(c=a.length;d<c;d++)if(!1===b.call(a[d],d,a[d]))break}else for(d in a)if(!1===b.call(a[d],d,a[d]))break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):g.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(h)return h.call(b,a,c);for(d=b.length,c=c?c<0?Math.max(0,d+c):c:0;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(d<c)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;f<g;f++)(d=!b(a[f],f))!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,e,g=0,h=[];if(s(a))for(d=a.length;g<d;g++)null!=(e=b(a[g],g,c))&&h.push(e);else for(g in a)null!=(e=b(a[g],g,c))&&h.push(e);return f.apply([],h)},guid:1,proxy:function(a,b){var c,d,f;if("string"==typeof b&&(f=a[b],b=a,a=f),n.isFunction(a))return c=e.call(arguments,2),d=function(){return a.apply(b||this,c.concat(e.call(arguments)))},d.guid=a.guid=a.guid||n.guid++,d},now:function(){return+new Date},support:l}),"function"==typeof Symbol&&(n.fn[Symbol.iterator]=c[Symbol.iterator]),n.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){i["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=!!a&&"length"in a&&a.length,c=n.type(a);return"function"!==c&&!n.isWindow(a)&&("array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a)}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=fa(),z=fa(),A=fa(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+L+"*\\]",O=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+N+")*)|.*)\\)|)",P=new RegExp(L+"+","g"),Q=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),R=new RegExp("^"+L+"*,"+L+"*"),S=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),T=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),U=new RegExp(O),V=new RegExp("^"+M+"$"),W={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,$=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_=/[+~]/,aa=/'|\\/g,ba=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),ca=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},da=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(xa){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ea(a,b,d,e){var f,h,j,k,l,o,r,s,w=b&&b.ownerDocument,x=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==x&&9!==x&&11!==x)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==x&&(o=$.exec(a)))if(f=o[1]){if(9===x){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(w&&(j=w.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(o[2])return H.apply(d,b.getElementsByTagName(a)),d;if((f=o[3])&&c.getElementsByClassName&&b.getElementsByClassName)return H.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==x)w=b,s=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(aa,"\\$&"):b.setAttribute("id",k=u),r=g(a),h=r.length,l=V.test(k)?"#"+k:"[id='"+k+"']";while(h--)r[h]=l+" "+pa(r[h]);s=r.join(","),w=_.test(a)&&na(b.parentNode)||b}if(s)try{return H.apply(d,w.querySelectorAll(s)),d}catch(y){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(Q,"$1"),b,d,e)}function fa(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ga(a){return a[u]=!0,a}function ha(a){var b=n.createElement("div");try{return!!a(b)}catch(xa){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ia(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function ja(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ka(a){return function(b){return"input"===b.nodeName.toLowerCase()&&b.type===a}}function la(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function ma(a){return ga(function(b){return b=+b,ga(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function na(a){return a&&void 0!==a.getElementsByTagName&&a}c=ea.support={},f=ea.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&"HTML"!==b.nodeName},m=ea.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ha(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ha(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Z.test(n.getElementsByClassName),c.getById=ha(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(void 0!==b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){var c=void 0!==a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return void 0!==b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){if(void 0!==b.getElementsByClassName&&p)return b.getElementsByClassName(a)},r=[],q=[],(c.qsa=Z.test(n.querySelectorAll))&&(ha(function(a){o.appendChild(a).innerHTML="<a id='"+u+"'></a><select id='"+u+"-\r\\' msallowcapture=''><option selected=''></option></select>",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ha(function(a){var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Z.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ha(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",O)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Z.test(o.compareDocumentPosition),t=b||Z.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d||(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return ja(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?ja(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},ea.matches=function(a,b){return ea(a,null,null,b)},ea.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(T,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(xa){}return ea(b,n,null,[a]).length>0},ea.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ea.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ea.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ea.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ea.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ea.selectors={cacheLength:50,createPseudo:ga,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ba,ca),a[3]=(a[3]||a[4]||a[5]||"").replace(ba,ca),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||ea.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&ea.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return W.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&U.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ba,ca).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||void 0!==a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ea.attr(d,a);return null==e?"!="===b:!b||(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(P," ")+" ").indexOf(c)>-1:"|="===b&&(e===c||e.slice(0,c.length+1)===c+"-"))}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),!1===t)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return(t-=e)===d||t%d==0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ea.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ga(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ga(function(a){var b=[],c=[],d=h(a.replace(Q,"$1"));return d[u]?ga(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ga(function(a){return function(b){return ea(a,b).length>0}}),contains:ga(function(a){return a=a.replace(ba,ca),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ga(function(a){return V.test(a||"")||ea.error("unsupported lang: "+a),a=a.replace(ba,ca).toLowerCase(),function(b){var c;do{if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return(c=c.toLowerCase())===a||0===c.indexOf(a+"-")}while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return!1===a.disabled},disabled:function(a){return!0===a.disabled},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,!0===a.selected},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Y.test(a.nodeName)},input:function(a){return X.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:ma(function(){return[0]}),last:ma(function(a,b){return[b-1]}),eq:ma(function(a,b,c){return[c<0?c+b:c]}),even:ma(function(a,b){for(var c=0;c<b;c+=2)a.push(c);return a}),odd:ma(function(a,b){for(var c=1;c<b;c+=2)a.push(c);return a}),lt:ma(function(a,b,c){for(var d=c<0?c+b:c;--d>=0;)a.push(d);return a}),gt:ma(function(a,b,c){for(var d=c<0?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=ka(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=la(b);function oa(){}oa.prototype=d.filters=d.pseudos,d.setFilters=new oa,g=ea.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){c&&!(e=R.exec(h))||(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=S.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(Q," ")}),h=h.slice(c.length));for(g in d.filter)!(e=W[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?ea.error(a):z(a,i).slice(0)};function pa(a){for(var b=0,c=a.length,d="";b<c;b++)d+=a[b].value;return d}function qa(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j,k=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(j=b[u]||(b[u]={}),i=j[b.uniqueID]||(j[b.uniqueID]={}),(h=i[d])&&h[0]===w&&h[1]===f)return k[2]=h[2];if(i[d]=k,k[2]=a(b,c,g))return!0}}}function ra(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function sa(a,b,c){for(var d=0,e=b.length;d<e;d++)ea(a,b[d],c);return c}function ta(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;h<i;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function ua(a,b,c,d,e,f){return d&&!d[u]&&(d=ua(d)),e&&!e[u]&&(e=ua(e,f)),ga(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||sa(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ta(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ta(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ta(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function va(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=qa(function(a){return a===b},h,!0),l=qa(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];i<f;i++)if(c=d.relative[a[i].type])m=[qa(ra(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;e<f;e++)if(d.relative[a[e].type])break;return ua(i>1&&ra(m),i>1&&pa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(Q,"$1"),c,i<e&&va(a.slice(i,e)),e<f&&va(a=a.slice(e)),e<f&&pa(a))}m.push(c)}return ra(m)}function wa(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=F.call(i));u=ta(u)}H.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&ea.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ga(f):f}return h=ea.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=va(b[c]),f[u]?d.push(f):e.push(f);f=A(a,wa(e,d)),f.selector=a}return f},i=ea.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(!(b=(d.find.ID(k.matches[0].replace(ba,ca),b)||[])[0]))return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=W.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(ba,ca),_.test(j[0].type)&&na(b.parentNode)||b))){if(j.splice(i,1),!(a=f.length&&pa(j)))return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,!b||_.test(a)&&na(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ha(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ha(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||ia("type|href|height|width",function(a,b,c){if(!c)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ha(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ia("value",function(a,b,c){if(!c&&"input"===a.nodeName.toLowerCase())return a.defaultValue}),ha(function(a){return null==a.getAttribute("disabled")})||ia(K,function(a,b,c){var d;if(!c)return!0===a[b]?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ea}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.uniqueSort=n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},v=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},w=n.expr.match.needsContext,x=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,y=/^.[^:#\[\.,]*$/;function z(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(y.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return n.inArray(a,b)>-1!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;b<e;b++)if(n.contains(d[b],this))return!0}));for(b=0;b<e;b++)n.find(a,d[b],c);return c=this.pushStack(e>1?n.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(z(this,a||[],!1))},not:function(a){return this.pushStack(z(this,a||[],!0))},is:function(a){return!!z(this,"string"==typeof a&&w.test(a)?n(a):a||[],!1).length}});var A,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(n.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||A,"string"==typeof a){if(!(e="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:B.exec(a))||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),x.test(e[1])&&n.isPlainObject(b))for(e in b)n.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}if((f=d.getElementById(e[2]))&&f.parentNode){if(f.id!==e[2])return A.find(a);this.length=1,this[0]=f}return this.context=d,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?void 0!==c.ready?c.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))}).prototype=n.fn,A=n(d);var C=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};n.fn.extend({has:function(a){var b,c=n(a,this),d=c.length;return this.filter(function(){for(b=0;b<d;b++)if(n.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=w.test(a)||"string"!=typeof a?n(a,b||this.context):0;d<e;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?n.inArray(this[0],n(a)):n.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.uniqueSort(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function E(a,b){do{a=a[b]}while(a&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return u(a,"parentNode")},parentsUntil:function(a,b,c){return u(a,"parentNode",c)},next:function(a){return E(a,"nextSibling")},prev:function(a){return E(a,"previousSibling")},nextAll:function(a){return u(a,"nextSibling")},prevAll:function(a){return u(a,"previousSibling")},nextUntil:function(a,b,c){return u(a,"nextSibling",c)},prevUntil:function(a,b,c){return u(a,"previousSibling",c)},siblings:function(a){return v((a.parentNode||{}).firstChild,a)},children:function(a){return v(a.firstChild)},contents:function(a){return n.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(D[a]||(e=n.uniqueSort(e)),C.test(a)&&(e=e.reverse())),this.pushStack(e)}});var F=/\S+/g;function G(a){var b={};return n.each(a.match(F)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?G(a):n.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h<f.length)!1===f[h].apply(c[0],c[1])&&a.stopOnFalse&&(h=f.length,c=!1)}a.memory||(c=!1),b=!1,e&&(f=c?[]:"")},j={add:function(){return f&&(c&&!b&&(h=f.length-1,g.push(c)),function b(c){n.each(c,function(c,d){n.isFunction(d)?a.unique&&j.has(d)||f.push(d):d&&d.length&&"string"!==n.type(d)&&b(d)})}(arguments),c&&!b&&i()),this},remove:function(){return n.each(arguments,function(a,b){var c;while((c=n.inArray(b,f,c))>-1)f.splice(c,1),c<=h&&h--}),this},has:function(a){return a?n.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=!0,c||j.disable(),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().progress(c.notify).done(c.resolve).fail(c.reject):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=e.call(arguments),d=c.length,f=1!==d||a&&n.isFunction(a.promise)?d:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?e.call(arguments):d,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(d>1)for(i=new Array(d),j=new Array(d),k=new Array(d);b<d;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().progress(h(b,j,i)).done(h(b,k,c)).fail(g.reject):--f;return f||g.resolveWith(k,c),g.promise()}});var H;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(!0===a?--n.readyWait:n.isReady)||(n.isReady=!0,!0!==a&&--n.readyWait>0||(H.resolveWith(d,[n]),n.fn.triggerHandler&&(n(d).triggerHandler("ready"),n(d).off("ready"))))}});function I(){d.addEventListener?(d.removeEventListener("DOMContentLoaded",J),a.removeEventListener("load",J)):(d.detachEvent("onreadystatechange",J),a.detachEvent("onload",J))}function J(){(d.addEventListener||"load"===a.event.type||"complete"===d.readyState)&&(I(),n.ready())}n.ready.promise=function(b){if(!H)if(H=n.Deferred(),"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll)a.setTimeout(n.ready);else if(d.addEventListener)d.addEventListener("DOMContentLoaded",J),a.addEventListener("load",J);else{d.attachEvent("onreadystatechange",J),a.attachEvent("onload",J);var c=!1;try{c=null==a.frameElement&&d.documentElement}catch(e){}c&&c.doScroll&&function b(){if(!n.isReady){try{c.doScroll("left")}catch(e){return a.setTimeout(b,50)}I(),n.ready()}}()}return H.promise(b)},n.ready.promise();var K;for(K in n(l))break;l.ownFirst="0"===K,l.inlineBlockNeedsLayout=!1,n(function(){var a,b,c,e;(c=d.getElementsByTagName("body")[0])&&c.style&&(b=d.createElement("div"),e=d.createElement("div"),e.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(e).appendChild(b),void 0!==b.style.zoom&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",l.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(e))}),function(){var a=d.createElement("div");l.deleteExpando=!0;try{delete a.test}catch(b){l.deleteExpando=!1}a=null}();var L=function(a){var b=n.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return(1===c||9===c)&&(!b||!0!==b&&a.getAttribute("classid")===b)},M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function O(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(N,"-$1").toLowerCase();if("string"==typeof(c=a.getAttribute(d))){try{c="true"===c||"false"!==c&&("null"===c?null:+c+""===c?+c:M.test(c)?n.parseJSON(c):c)}catch(e){}n.data(a,b,c)}else c=void 0}return c}function P(a){var b
|
3 |
-
;for(b in a)if(("data"!==b||!n.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function Q(a,b,d,e){if(L(a)){var f,g,h=n.expando,i=a.nodeType,j=i?n.cache:a,k=i?a[h]:a[h]&&h;if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||n.guid++:h),j[k]||(j[k]=i?{}:{toJSON:n.noop}),"object"!=typeof b&&"function"!=typeof b||(e?j[k]=n.extend(j[k],b):j[k].data=n.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[n.camelCase(b)]=d),"string"==typeof b?null==(f=g[b])&&(f=g[n.camelCase(b)]):f=g,f}}function R(a,b,c){if(L(a)){var d,e,f=a.nodeType,g=f?n.cache:a,h=f?a[n.expando]:n.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){n.isArray(b)?b=b.concat(n.map(b,n.camelCase)):b in d?b=[b]:(b=n.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!P(d):!n.isEmptyObject(d))return}(c||(delete g[h].data,P(g[h])))&&(f?n.cleanData([a],!0):l.deleteExpando||g!=g.window?delete g[h]:g[h]=void 0)}}}n.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return!!(a=a.nodeType?n.cache[a[n.expando]]:a[n.expando])&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(a,b,!0)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=n.data(f),1===f.nodeType&&!n._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),O(f,d,e[d])));n._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){n.data(this,a)}):arguments.length>1?this.each(function(){n.data(this,a,b)}):f?O(f,a,n.data(f,a)):void 0},removeData:function(a){return this.each(function(){n.removeData(this,a)})}}),n.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=n._data(a,b),c&&(!d||n.isArray(c)?d=n._data(a,b,n.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return n._data(a,c)||n._data(a,c,{empty:n.Callbacks("once memory").add(function(){n._removeData(a,b+"queue"),n._removeData(a,c)})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?n.queue(this[0],a):void 0===b?this:this.each(function(){var c=n.queue(this,a,b);n._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&n.dequeue(this,a)})},dequeue:function(a){return this.each(function(){n.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=n.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)(c=n._data(f[g],a+"queueHooks"))&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}}),function(){var a;l.shrinkWrapBlocks=function(){if(null!=a)return a;a=!1;var b,c,e;return(c=d.getElementsByTagName("body")[0])&&c.style?(b=d.createElement("div"),e=d.createElement("div"),e.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(e).appendChild(b),void 0!==b.style.zoom&&(b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",b.appendChild(d.createElement("div")).style.width="5px",a=3!==b.offsetWidth),c.removeChild(e),a):void 0}}();var S=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=new RegExp("^(?:([+-])=|)("+S+")([a-z%]*)$","i"),U=["Top","Right","Bottom","Left"],V=function(a,b){return a=b||a,"none"===n.css(a,"display")||!n.contains(a.ownerDocument,a)};function W(a,b,c,d){var e,f=1,g=20,h=d?function(){return d.cur()}:function(){return n.css(a,b,"")},i=h(),j=c&&c[3]||(n.cssNumber[b]?"":"px"),k=(n.cssNumber[b]||"px"!==j&&+i)&&T.exec(n.css(a,b));if(k&&k[3]!==j){j=j||k[3],c=c||[],k=+i||1;do{f=f||".5",k/=f,n.style(a,b,k+j)}while(f!==(f=h()/i)&&1!==f&&--g)}return c&&(k=+k||+i||0,e=c[1]?k+(c[1]+1)*c[2]:+c[2],d&&(d.unit=j,d.start=k,d.end=e)),e}var X=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in c)X(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),c)})),b))for(;h<i;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},Y=/^(?:checkbox|radio)$/i,Z=/<([\w:-]+)/,$=/^$|\/(?:java|ecma)script/i,_=/^\s+/,aa="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";function ba(a){var b=aa.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}!function(){var a=d.createElement("div"),b=d.createDocumentFragment(),c=d.createElement("input");a.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",l.leadingWhitespace=3===a.firstChild.nodeType,l.tbody=!a.getElementsByTagName("tbody").length,l.htmlSerialize=!!a.getElementsByTagName("link").length,l.html5Clone="<:nav></:nav>"!==d.createElement("nav").cloneNode(!0).outerHTML,c.type="checkbox",c.checked=!0,b.appendChild(c),l.appendChecked=c.checked,a.innerHTML="<textarea>x</textarea>",l.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue,b.appendChild(a),c=d.createElement("input"),c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),a.appendChild(c),l.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,l.noCloneEvent=!!a.addEventListener,a[n.expando]=1,l.attributes=!a.getAttribute(n.expando)}();var ca={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:l.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};ca.optgroup=ca.option,ca.tbody=ca.tfoot=ca.colgroup=ca.caption=ca.thead,ca.th=ca.td;function da(a,b){var c,d,e=0,f=void 0!==a.getElementsByTagName?a.getElementsByTagName(b||"*"):void 0!==a.querySelectorAll?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||n.nodeName(d,b)?f.push(d):n.merge(f,da(d,b));return void 0===b||b&&n.nodeName(a,b)?n.merge([a],f):f}function ea(a,b){for(var c,d=0;null!=(c=a[d]);d++)n._data(c,"globalEval",!b||n._data(b[d],"globalEval"))}var fa=/<|&#?\w+;/,ga=/<tbody/i;function ha(a){Y.test(a.type)&&(a.defaultChecked=a.checked)}function ia(a,b,c,d,e){for(var f,g,h,i,j,k,m,o=a.length,p=ba(b),q=[],r=0;r<o;r++)if((g=a[r])||0===g)if("object"===n.type(g))n.merge(q,g.nodeType?[g]:g);else if(fa.test(g)){i=i||p.appendChild(b.createElement("div")),j=(Z.exec(g)||["",""])[1].toLowerCase(),m=ca[j]||ca._default,i.innerHTML=m[1]+n.htmlPrefilter(g)+m[2],f=m[0];while(f--)i=i.lastChild;if(!l.leadingWhitespace&&_.test(g)&&q.push(b.createTextNode(_.exec(g)[0])),!l.tbody){g="table"!==j||ga.test(g)?"<table>"!==m[1]||ga.test(g)?0:i:i.firstChild,f=g&&g.childNodes.length;while(f--)n.nodeName(k=g.childNodes[f],"tbody")&&!k.childNodes.length&&g.removeChild(k)}n.merge(q,i.childNodes),i.textContent="";while(i.firstChild)i.removeChild(i.firstChild);i=p.lastChild}else q.push(b.createTextNode(g));i&&p.removeChild(i),l.appendChecked||n.grep(da(q,"input"),ha),r=0;while(g=q[r++])if(d&&n.inArray(g,d)>-1)e&&e.push(g);else if(h=n.contains(g.ownerDocument,g),i=da(p.appendChild(g),"script"),h&&ea(i),c){f=0;while(g=i[f++])$.test(g.type||"")&&c.push(g)}return i=null,p}!function(){var b,c,e=d.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(l[b]=c in a)||(e.setAttribute(c,"t"),l[b]=!1===e.attributes[c].expando);e=null}();var ja=/^(?:input|select|textarea)$/i,ka=/^key/,la=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ma=/^(?:focusinfocus|focusoutblur)$/,na=/^([^.]*)(?:\.(.+)|)/;function oa(){return!0}function pa(){return!1}function qa(){try{return d.activeElement}catch(a){}}function ra(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)ra(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),!1===e)e=pa;else if(!e)return a;return 1===f&&(g=e,e=function(a){return n().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=n.guid++)),a.each(function(){n.event.add(this,b,e,d,c)})}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=n.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return void 0===n||a&&n.event.triggered===a.type?void 0:n.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(F)||[""],h=b.length;while(h--)f=na.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=n.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=n.event.special[o]||{},l=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},i),(m=g[o])||(m=g[o]=[],m.delegateCount=0,j.setup&&!1!==j.setup.call(a,d,p,k)||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,l):m.push(l),n.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n.hasData(a)&&n._data(a);if(r&&(k=r.events)){b=(b||"").match(F)||[""],j=b.length;while(j--)if(h=na.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=m.length;while(f--)g=m[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(m.splice(f,1),g.selector&&m.delegateCount--,l.remove&&l.remove.call(a,g));i&&!m.length&&(l.teardown&&!1!==l.teardown.call(a,p,r.handle)||n.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(k)&&(delete r.handle,n._removeData(a,"events"))}},trigger:function(b,c,e,f){var g,h,i,j,l,m,o,p=[e||d],q=k.call(b,"type")?b.type:b,r=k.call(b,"namespace")?b.namespace.split("."):[];if(i=m=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!ma.test(q+n.event.triggered)&&(q.indexOf(".")>-1&&(r=q.split("."),q=r.shift(),r.sort()),h=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=r.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:n.makeArray(c,[b]),l=n.event.special[q]||{},f||!l.trigger||!1!==l.trigger.apply(e,c))){if(!f&&!l.noBubble&&!n.isWindow(e)){for(j=l.delegateType||q,ma.test(j+q)||(i=i.parentNode);i;i=i.parentNode)p.push(i),m=i;m===(e.ownerDocument||d)&&p.push(m.defaultView||m.parentWindow||a)}o=0;while((i=p[o++])&&!b.isPropagationStopped())b.type=o>1?j:l.bindType||q,g=(n._data(i,"events")||{})[b.type]&&n._data(i,"handle"),g&&g.apply(i,c),(g=h&&i[h])&&g.apply&&L(i)&&(b.result=g.apply(i,c),!1===b.result&&b.preventDefault());if(b.type=q,!f&&!b.isDefaultPrevented()&&(!l._default||!1===l._default.apply(p.pop(),c))&&L(e)&&h&&e[q]&&!n.isWindow(e)){m=e[h],m&&(e[h]=null),n.event.triggered=q;try{e[q]()}catch(s){}n.event.triggered=void 0,m&&(e[h]=m)}return b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,d,f,g,h=[],i=e.call(arguments),j=(n._data(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||!1!==k.preDispatch.call(this,a)){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())a.rnamespace&&!a.rnamespace.test(g.namespace)||(a.handleObj=g,a.data=g.data,void 0!==(d=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i))&&!1===(a.result=d)&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&("click"!==a.type||isNaN(a.button)||a.button<1))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(!0!==i.disabled||"click"!==a.type)){for(d=[],c=0;c<h;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>-1:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},fix:function(a){if(a[n.expando])return a;var b,c,e,f=a.type,g=a,h=this.fixHooks[f];h||(this.fixHooks[f]=h=la.test(f)?this.mouseHooks:ka.test(f)?this.keyHooks:{}),e=h.props?this.props.concat(h.props):this.props,a=new n.Event(g),b=e.length;while(b--)c=e[b],a[c]=g[c];return a.target||(a.target=g.srcElement||d),3===a.target.nodeType&&(a.target=a.target.parentNode),a.metaKey=!!a.metaKey,h.filter?h.filter(a,g):a},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,e,f,g=b.button,h=b.fromElement;return null==a.pageX&&null!=b.clientX&&(e=a.target.ownerDocument||d,f=e.documentElement,c=e.body,a.pageX=b.clientX+(f&&f.scrollLeft||c&&c.scrollLeft||0)-(f&&f.clientLeft||c&&c.clientLeft||0),a.pageY=b.clientY+(f&&f.scrollTop||c&&c.scrollTop||0)-(f&&f.clientTop||c&&c.clientTop||0)),!a.relatedTarget&&h&&(a.relatedTarget=h===a.target?b.toElement:h),a.which||void 0===g||(a.which=1&g?1:2&g?3:4&g?2:0),a}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==qa()&&this.focus)try{return this.focus(),!1}catch(a){}},delegateType:"focusin"},blur:{trigger:function(){if(this===qa()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(n.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(a){return n.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c){var d=n.extend(new n.Event,c,{type:a,isSimulated:!0});n.event.trigger(d,null,b),d.isDefaultPrevented()&&c.preventDefault()}},n.removeEvent=d.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c)}:function(a,b,c){var d="on"+b;a.detachEvent&&(void 0===a[d]&&(a[d]=null),a.detachEvent(d,c))},n.Event=function(a,b){if(!(this instanceof n.Event))return new n.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&!1===a.returnValue?oa:pa):this.type=a,b&&n.extend(this,b),this.timeStamp=a&&a.timeStamp||n.now(),this[n.expando]=!0},n.Event.prototype={constructor:n.Event,isDefaultPrevented:pa,isPropagationStopped:pa,isImmediatePropagationStopped:pa,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=oa,a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=oa,a&&!this.isSimulated&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=oa,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),this.stopPropagation()}},n.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){n.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return e&&(e===d||n.contains(d,e))||(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),l.submit||(n.event.special.submit={setup:function(){if(n.nodeName(this,"form"))return!1;n.event.add(this,"click._submit keypress._submit",function(a){var b=a.target,c=n.nodeName(b,"input")||n.nodeName(b,"button")?n.prop(b,"form"):void 0;c&&!n._data(c,"submit")&&(n.event.add(c,"submit._submit",function(a){a._submitBubble=!0}),n._data(c,"submit",!0))})},postDispatch:function(a){a._submitBubble&&(delete a._submitBubble,this.parentNode&&!a.isTrigger&&n.event.simulate("submit",this.parentNode,a))},teardown:function(){if(n.nodeName(this,"form"))return!1;n.event.remove(this,"._submit")}}),l.change||(n.event.special.change={setup:function(){if(ja.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(n.event.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&(this._justChanged=!0)}),n.event.add(this,"click._change",function(a){this._justChanged&&!a.isTrigger&&(this._justChanged=!1),n.event.simulate("change",this,a)})),!1;n.event.add(this,"beforeactivate._change",function(a){var b=a.target;ja.test(b.nodeName)&&!n._data(b,"change")&&(n.event.add(b,"change._change",function(a){!this.parentNode||a.isSimulated||a.isTrigger||n.event.simulate("change",this.parentNode,a)}),n._data(b,"change",!0))})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||"radio"!==b.type&&"checkbox"!==b.type)return a.handleObj.handler.apply(this,arguments)},teardown:function(){return n.event.remove(this,"._change"),!ja.test(this.nodeName)}}),l.focusin||n.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){n.event.simulate(b,a.target,n.event.fix(a))};n.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=n._data(d,b);e||d.addEventListener(a,c,!0),n._data(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=n._data(d,b)-1;e?n._data(d,b,e):(d.removeEventListener(a,c,!0),n._removeData(d,b))}}}),n.fn.extend({on:function(a,b,c,d){return ra(this,a,b,c,d)},one:function(a,b,c,d){return ra(this,a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,n(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return!1!==b&&"function"!=typeof b||(c=b,b=void 0),!1===c&&(c=pa),this.each(function(){n.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){n.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return n.event.trigger(a,b,c,!0)}});var sa=/ jQuery\d+="(?:null|\d+)"/g,ta=new RegExp("<(?:"+aa+")[\\s/>]","i"),ua=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,va=/<script|<style|<link/i,wa=/checked\s*(?:[^=]|=\s*.checked.)/i,xa=/^true\/(.*)/,ya=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,za=ba(d),Aa=za.appendChild(d.createElement("div"));function Ba(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function Ca(a){return a.type=(null!==n.find.attr(a,"type"))+"/"+a.type,a}function Da(a){var b=xa.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Ea(a,b){if(1===b.nodeType&&n.hasData(a)){var c,d,e,f=n._data(a),g=n._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;d<e;d++)n.event.add(b,c,h[c][d])}g.data&&(g.data=n.extend({},g.data))}}function Fa(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!l.noCloneEvent&&b[n.expando]){e=n._data(b);for(d in e.events)n.removeEvent(b,d,e.handle);b.removeAttribute(n.expando)}"script"===c&&b.text!==a.text?(Ca(b).text=a.text,Da(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),l.html5Clone&&a.innerHTML&&!n.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&Y.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}}function Ga(a,b,c,d){b=f.apply([],b);var e,g,h,i,j,k,m=0,o=a.length,p=o-1,q=b[0],r=n.isFunction(q);if(r||o>1&&"string"==typeof q&&!l.checkClone&&wa.test(q))return a.each(function(e){var f=a.eq(e);r&&(b[0]=q.call(this,e,f.html())),Ga(f,b,c,d)});if(o&&(k=ia(b,a[0].ownerDocument,!1,a,d),e=k.firstChild,1===k.childNodes.length&&(k=e),e||d)){for(i=n.map(da(k,"script"),Ca),h=i.length;m<o;m++)g=k,m!==p&&(g=n.clone(g,!0,!0),h&&n.merge(i,da(g,"script"))),c.call(a[m],g,m);if(h)for(j=i[i.length-1].ownerDocument,n.map(i,Da),m=0;m<h;m++)g=i[m],$.test(g.type||"")&&!n._data(g,"globalEval")&&n.contains(j,g)&&(g.src?n._evalUrl&&n._evalUrl(g.src):n.globalEval((g.text||g.textContent||g.innerHTML||"").replace(ya,"")));k=e=null}return a}function Ha(a,b,c){for(var d,e=b?n.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||n.cleanData(da(d)),d.parentNode&&(c&&n.contains(d.ownerDocument,d)&&ea(da(d,"script")),d.parentNode.removeChild(d));return a}n.extend({htmlPrefilter:function(a){return a.replace(ua,"<$1></$2>")},clone:function(a,b,c){var d,e,f,g,h,i=n.contains(a.ownerDocument,a);if(l.html5Clone||n.isXMLDoc(a)||!ta.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(Aa.innerHTML=a.outerHTML,Aa.removeChild(f=Aa.firstChild)),!(l.noCloneEvent&&l.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(d=da(f),h=da(a),g=0;null!=(e=h[g]);++g)d[g]&&Fa(e,d[g]);if(b)if(c)for(h=h||da(a),d=d||da(f),g=0;null!=(e=h[g]);g++)Ea(e,d[g]);else Ea(a,f);return d=da(f,"script"),d.length>0&&ea(d,!i&&da(a,"script")),d=h=e=null,f},cleanData:function(a,b){for(var d,e,f,g,h=0,i=n.expando,j=n.cache,k=l.attributes,m=n.event.special;null!=(d=a[h]);h++)if((b||L(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)m[e]?n.event.remove(d,e):n.removeEvent(d,e,g.handle);j[f]&&(delete j[f],k||void 0===d.removeAttribute?d[i]=void 0:d.removeAttribute(i),c.push(f))}}}),n.fn.extend({domManip:Ga,detach:function(a){return Ha(this,a,!0)},remove:function(a){return Ha(this,a)},text:function(a){return X(this,function(a){return void 0===a?n.text(this):this.empty().append((this[0]&&this[0].ownerDocument||d).createTextNode(a))},null,a,arguments.length)},append:function(){return Ga(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){Ba(this,a).appendChild(a)}})},prepend:function(){return Ga(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ba(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ga(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ga(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&n.cleanData(da(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&n.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return X(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(sa,""):void 0;if("string"==typeof a&&!va.test(a)&&(l.htmlSerialize||!ta.test(a))&&(l.leadingWhitespace||!_.test(a))&&!ca[(Z.exec(a)||["",""])[1].toLowerCase()]){a=n.htmlPrefilter(a);try{for(;c<d;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(da(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return Ga(this,arguments,function(b){var c=this.parentNode;n.inArray(this,a)<0&&(n.cleanData(da(this)),c&&c.replaceChild(b,this))},a)}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=0,e=[],f=n(a),h=f.length-1;d<=h;d++)c=d===h?this:this.clone(!0),n(f[d])[b](c),g.apply(e,c.get());return this.pushStack(e)}});var Ia,Ja={HTML:"block",BODY:"block"};function Ka(a,b){var c=n(b.createElement(a)).appendTo(b.body),d=n.css(c[0],"display");return c.detach(),d}function La(a){var b=d,c=Ja[a];return c||(c=Ka(a,b),"none"!==c&&c||(Ia=(Ia||n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=(Ia[0].contentWindow||Ia[0].contentDocument).document,b.write(),b.close(),c=Ka(a,b),Ia.detach()),Ja[a]=c),c}var Ma=/^margin/,Na=new RegExp("^("+S+")(?!px)[a-z%]+$","i"),Oa=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e},Pa=d.documentElement;!function(){var b,c,e,f,g,h,i=d.createElement("div"),j=d.createElement("div");function k(){var k,l,m=d.documentElement;m.appendChild(i),j.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",b=e=h=!1,c=g=!0,a.getComputedStyle&&(l=a.getComputedStyle(j),b="1%"!==(l||{}).top,h="2px"===(l||{}).marginLeft,e="4px"===(l||{width:"4px"}).width,j.style.marginRight="50%",c="4px"===(l||{marginRight:"4px"}).marginRight,k=j.appendChild(d.createElement("div")),k.style.cssText=j.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",k.style.marginRight=k.style.width="0",j.style.width="1px",g=!parseFloat((a.getComputedStyle(k)||{}).marginRight),j.removeChild(k)),j.style.display="none",f=0===j.getClientRects().length,f&&(j.style.display="",j.innerHTML="<table><tr><td></td><td>t</td></tr></table>",j.childNodes[0].style.borderCollapse="separate",k=j.getElementsByTagName("td"),k[0].style.cssText="margin:0;border:0;padding:0;display:none",(f=0===k[0].offsetHeight)&&(k[0].style.display="",k[1].style.display="none",f=0===k[0].offsetHeight)),m.removeChild(i)}j.style&&(j.style.cssText="float:left;opacity:.5",l.opacity="0.5"===j.style.opacity,l.cssFloat=!!j.style.cssFloat,j.style.backgroundClip="content-box",j.cloneNode(!0).style.backgroundClip="",l.clearCloneStyle="content-box"===j.style.backgroundClip,i=d.createElement("div"),i.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",j.innerHTML="",i.appendChild(j),l.boxSizing=""===j.style.boxSizing||""===j.style.MozBoxSizing||""===j.style.WebkitBoxSizing,n.extend(l,{reliableHiddenOffsets:function(){return null==b&&k(),f},boxSizingReliable:function(){return null==b&&k(),e},pixelMarginRight:function(){return null==b&&k(),c},pixelPosition:function(){return null==b&&k(),b},reliableMarginRight:function(){return null==b&&k(),g},reliableMarginLeft:function(){return null==b&&k(),h}}))}();var Qa,Ra,Sa=/^(top|right|bottom|left)$/;a.getComputedStyle?(Qa=function(b){var c=b.ownerDocument.defaultView;return c&&c.opener||(c=a),c.getComputedStyle(b)},Ra=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Qa(a),g=c?c.getPropertyValue(b)||c[b]:void 0,""!==g&&void 0!==g||n.contains(a.ownerDocument,a)||(g=n.style(a,b)),c&&!l.pixelMarginRight()&&Na.test(g)&&Ma.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f),void 0===g?g:g+""}):Pa.currentStyle&&(Qa=function(a){return a.currentStyle},Ra=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Qa(a),g=c?c[b]:void 0,null==g&&h&&h[b]&&(g=h[b]),Na.test(g)&&!Sa.test(b)&&(d=h.left,e=a.runtimeStyle,f=e&&e.left,f&&(e.left=a.currentStyle.left),h.left="fontSize"===b?"1em":g,g=h.pixelLeft+"px",h.left=d,f&&(e.left=f)),void 0===g?g:g+""||"auto"});function Ta(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}var Ua=/alpha\([^)]*\)/i,Va=/opacity\s*=\s*([^)]*)/i,Wa=/^(none|table(?!-c[ea]).+)/,Xa=new RegExp("^("+S+")(.*)$","i"),Ya={position:"absolute",visibility:"hidden",display:"block"},Za={letterSpacing:"0",fontWeight:"400"},$a=["Webkit","O","Moz","ms"],_a=d.createElement("div").style;function ab(a){if(a in _a)return a;var b=a.charAt(0).toUpperCase()+a.slice(1),c=$a.length;while(c--)if((a=$a[c]+b)in _a)return a}function bb(a,b){for(var c,d,e,f=[],g=0,h=a.length;g<h;g++)d=a[g],d.style&&(f[g]=n._data(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&V(d)&&(f[g]=n._data(d,"olddisplay",La(d.nodeName)))):(e=V(d),(c&&"none"!==c||!e)&&n._data(d,"olddisplay",e?c:n.css(d,"display"))));for(g=0;g<h;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}function cb(a,b,c){var d=Xa.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function db(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;f<4;f+=2)"margin"===c&&(g+=n.css(a,c+U[f],!0,e)),d?("content"===c&&(g-=n.css(a,"padding"+U[f],!0,e)),"margin"!==c&&(g-=n.css(a,"border"+U[f]+"Width",!0,e))):(g+=n.css(a,"padding"+U[f],!0,e),"padding"!==c&&(g+=n.css(a,"border"+U[f]+"Width",!0,e)));return g}function eb(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=Qa(a),g=l.boxSizing&&"border-box"===n.css(a,"boxSizing",!1,f);if(e<=0||null==e){if(e=Ra(a,b,f),(e<0||null==e)&&(e=a.style[b]),Na.test(e))return e;d=g&&(l.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+db(a,b,c||(g?"border":"content"),d,f)+"px"}n.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Ra(a,"opacity");return""===c?"1":c}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:l.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=n.camelCase(b),i=a.style;if(b=n.cssProps[h]||(n.cssProps[h]=ab(h)||h),g=n.cssHooks[b]||n.cssHooks[h],void 0===c)return g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b];if(f=typeof c,"string"===f&&(e=T.exec(c))&&e[1]&&(c=W(a,b,e),f="number"),null!=c&&c===c&&("number"===f&&(c+=e&&e[3]||(n.cssNumber[h]?"":"px")),l.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),!(g&&"set"in g&&void 0===(c=g.set(a,c,d)))))try{i[b]=c}catch(j){}}},css:function(a,b,c,d){var e,f,g,h=n.camelCase(b);return b=n.cssProps[h]||(n.cssProps[h]=ab(h)||h),g=n.cssHooks[b]||n.cssHooks[h],g&&"get"in g&&(f=g.get(a,!0,c)),void 0===f&&(f=Ra(a,b,d)),"normal"===f&&b in Za&&(f=Za[b]),""===c||c?(e=parseFloat(f),!0===c||isFinite(e)?e||0:f):f}}),n.each(["height","width"],function(a,b){n.cssHooks[b]={get:function(a,c,d){if(c)return Wa.test(n.css(a,"display"))&&0===a.offsetWidth?Oa(a,Ya,function(){return eb(a,b,d)}):eb(a,b,d)},set:function(a,c,d){var e=d&&Qa(a);return cb(a,c,d?db(a,b,d,l.boxSizing&&"border-box"===n.css(a,"boxSizing",!1,e),e):0)}}}),l.opacity||(n.cssHooks.opacity={get:function(a,b){return Va.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=n.isNumeric(b)?"alpha(opacity="+100*b+")":"",f=d&&d.filter||c.filter||"";c.zoom=1,(b>=1||""===b)&&""===n.trim(f.replace(Ua,""))&&c.removeAttribute&&(c.removeAttribute("filter"),""===b||d&&!d.filter)||(c.filter=Ua.test(f)?f.replace(Ua,e):f+" "+e)}}),n.cssHooks.marginRight=Ta(l.reliableMarginRight,function(a,b){if(b)return Oa(a,{display:"inline-block"},Ra,[a,"marginRight"])}),n.cssHooks.marginLeft=Ta(l.reliableMarginLeft,function(a,b){if(b)return(parseFloat(Ra(a,"marginLeft"))||(n.contains(a.ownerDocument,a)?a.getBoundingClientRect().left-Oa(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}):0))+"px"}),n.each({
|
4 |
-
margin:"",padding:"",border:"Width"},function(a,b){n.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];d<4;d++)e[a+U[d]+b]=f[d]||f[d-2]||f[0];return e}},Ma.test(a)||(n.cssHooks[a+b].set=cb)}),n.fn.extend({css:function(a,b){return X(this,function(a,b,c){var d,e,f={},g=0;if(n.isArray(b)){for(d=Qa(a),e=b.length;g<e;g++)f[b[g]]=n.css(a,b[g],!1,d);return f}return void 0!==c?n.style(a,b,c):n.css(a,b)},a,b,arguments.length>1)},show:function(){return bb(this,!0)},hide:function(){return bb(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){V(this)?n(this).show():n(this).hide()})}});function fb(a,b,c,d,e){return new fb.prototype.init(a,b,c,d,e)}n.Tween=fb,fb.prototype={constructor:fb,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||n.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(n.cssNumber[c]?"":"px")},cur:function(){var a=fb.propHooks[this.prop];return a&&a.get?a.get(this):fb.propHooks._default.get(this)},run:function(a){var b,c=fb.propHooks[this.prop];return this.options.duration?this.pos=b=n.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):fb.propHooks._default.set(this),this}},fb.prototype.init.prototype=fb.prototype,fb.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=n.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a){n.fx.step[a.prop]?n.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[n.cssProps[a.prop]]&&!n.cssHooks[a.prop]?a.elem[a.prop]=a.now:n.style(a.elem,a.prop,a.now+a.unit)}}},fb.propHooks.scrollTop=fb.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},n.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"},n.fx=fb.prototype.init,n.fx.step={};var gb,hb,ib=/^(?:toggle|show|hide)$/,jb=/queueHooks$/;function kb(){return a.setTimeout(function(){gb=void 0}),gb=n.now()}function lb(a,b){var c,d={height:a},e=0;for(b=b?1:0;e<4;e+=2-b)c=U[e],d["margin"+c]=d["padding"+c]=a;return b&&(d.opacity=d.width=a),d}function mb(a,b,c){for(var d,e=(pb.tweeners[b]||[]).concat(pb.tweeners["*"]),f=0,g=e.length;f<g;f++)if(d=e[f].call(c,b,a))return d}function nb(a,b,c){var d,e,f,g,h,i,j,k,m=this,o={},p=a.style,q=a.nodeType&&V(a),r=n._data(a,"fxshow");c.queue||(h=n._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,m.always(function(){m.always(function(){h.unqueued--,n.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[p.overflow,p.overflowX,p.overflowY],j=n.css(a,"display"),"inline"===(k="none"===j?n._data(a,"olddisplay")||La(a.nodeName):j)&&"none"===n.css(a,"float")&&(l.inlineBlockNeedsLayout&&"inline"!==La(a.nodeName)?p.zoom=1:p.display="inline-block")),c.overflow&&(p.overflow="hidden",l.shrinkWrapBlocks()||m.always(function(){p.overflow=c.overflow[0],p.overflowX=c.overflow[1],p.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],ib.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(q?"hide":"show")){if("show"!==e||!r||void 0===r[d])continue;q=!0}o[d]=r&&r[d]||n.style(a,d)}else j=void 0;if(n.isEmptyObject(o))"inline"===("none"===j?La(a.nodeName):j)&&(p.display=j);else{r?"hidden"in r&&(q=r.hidden):r=n._data(a,"fxshow",{}),f&&(r.hidden=!q),q?n(a).show():m.done(function(){n(a).hide()}),m.done(function(){var b;n._removeData(a,"fxshow");for(b in o)n.style(a,b,o[b])});for(d in o)g=mb(q?r[d]:0,d,m),d in r||(r[d]=g.start,q&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function ob(a,b){var c,d,e,f,g;for(c in a)if(d=n.camelCase(c),e=b[d],f=a[c],n.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),(g=n.cssHooks[d])&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function pb(a,b,c){var d,e,f=0,g=pb.prefilters.length,h=n.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=gb||kb(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;g<i;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),f<1&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:n.extend({},b),opts:n.extend(!0,{specialEasing:{},easing:n.easing._default},c),originalProperties:b,originalOptions:c,startTime:gb||kb(),duration:c.duration,tweens:[],createTween:function(b,c){var d=n.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;c<d;c++)j.tweens[c].run(1);return b?(h.notifyWith(a,[j,1,0]),h.resolveWith(a,[j,b])):h.rejectWith(a,[j,b]),this}}),k=j.props;for(ob(k,j.opts.specialEasing);f<g;f++)if(d=pb.prefilters[f].call(j,a,k,j.opts))return n.isFunction(d.stop)&&(n._queueHooks(j.elem,j.opts.queue).stop=n.proxy(d.stop,d)),d;return n.map(k,mb,j),n.isFunction(j.opts.start)&&j.opts.start.call(a,j),n.fx.timer(n.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}n.Animation=n.extend(pb,{tweeners:{"*":[function(a,b){var c=this.createTween(a,b);return W(c.elem,a,T.exec(b),c),c}]},tweener:function(a,b){n.isFunction(a)?(b=a,a=["*"]):a=a.match(F);for(var c,d=0,e=a.length;d<e;d++)c=a[d],pb.tweeners[c]=pb.tweeners[c]||[],pb.tweeners[c].unshift(b)},prefilters:[nb],prefilter:function(a,b){b?pb.prefilters.unshift(a):pb.prefilters.push(a)}}),n.speed=function(a,b,c){var d=a&&"object"==typeof a?n.extend({},a):{complete:c||!c&&b||n.isFunction(a)&&a,duration:a,easing:c&&b||b&&!n.isFunction(b)&&b};return d.duration=n.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in n.fx.speeds?n.fx.speeds[d.duration]:n.fx.speeds._default,null!=d.queue&&!0!==d.queue||(d.queue="fx"),d.old=d.complete,d.complete=function(){n.isFunction(d.old)&&d.old.call(this),d.queue&&n.dequeue(this,d.queue)},d},n.fn.extend({fadeTo:function(a,b,c,d){return this.filter(V).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=n.isEmptyObject(a),f=n.speed(b,c,d),g=function(){var b=pb(this,n.extend({},a),f);(e||n._data(this,"finish"))&&b.stop(!0)};return g.finish=g,e||!1===f.queue?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&!1!==a&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=n.timers,g=n._data(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&jb.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));!b&&c||n.dequeue(this,a)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var b,c=n._data(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=n.timers,g=d?d.length:0;for(c.finish=!0,n.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;b<g;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),n.each(["toggle","show","hide"],function(a,b){var c=n.fn[b];n.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(lb(b,!0),a,d,e)}}),n.each({slideDown:lb("show"),slideUp:lb("hide"),slideToggle:lb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){n.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),n.timers=[],n.fx.tick=function(){var a,b=n.timers,c=0;for(gb=n.now();c<b.length;c++)(a=b[c])()||b[c]!==a||b.splice(c--,1);b.length||n.fx.stop(),gb=void 0},n.fx.timer=function(a){n.timers.push(a),a()?n.fx.start():n.timers.pop()},n.fx.interval=13,n.fx.start=function(){hb||(hb=a.setInterval(n.fx.tick,n.fx.interval))},n.fx.stop=function(){a.clearInterval(hb),hb=null},n.fx.speeds={slow:600,fast:200,_default:400},n.fn.delay=function(b,c){return b=n.fx?n.fx.speeds[b]||b:b,c=c||"fx",this.queue(c,function(c,d){var e=a.setTimeout(c,b);d.stop=function(){a.clearTimeout(e)}})},function(){var a,b=d.createElement("input"),c=d.createElement("div"),e=d.createElement("select"),f=e.appendChild(d.createElement("option"));c=d.createElement("div"),c.setAttribute("className","t"),c.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",a=c.getElementsByTagName("a")[0],b.setAttribute("type","checkbox"),c.appendChild(b),a=c.getElementsByTagName("a")[0],a.style.cssText="top:1px",l.getSetAttribute="t"!==c.className,l.style=/top/.test(a.getAttribute("style")),l.hrefNormalized="/a"===a.getAttribute("href"),l.checkOn=!!b.value,l.optSelected=f.selected,l.enctype=!!d.createElement("form").enctype,e.disabled=!0,l.optDisabled=!f.disabled,b=d.createElement("input"),b.setAttribute("value",""),l.input=""===b.getAttribute("value"),b.value="t",b.setAttribute("type","radio"),l.radioValue="t"===b.value}();var qb=/\r/g,rb=/[\x20\t\r\n\f]+/g;n.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=n.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,n(this).val()):a,null==e?e="":"number"==typeof e?e+="":n.isArray(e)&&(e=n.map(e,function(a){return null==a?"":a+""})),(b=n.valHooks[this.type]||n.valHooks[this.nodeName.toLowerCase()])&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return(b=n.valHooks[e.type]||n.valHooks[e.nodeName.toLowerCase()])&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(qb,""):null==c?"":c)}}}),n.extend({valHooks:{option:{get:function(a){var b=n.find.attr(a,"value");return null!=b?b:n.trim(n.text(a)).replace(rb," ")}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||e<0,g=f?null:[],h=f?e+1:d.length,i=e<0?h:f?e:0;i<h;i++)if(c=d[i],(c.selected||i===e)&&(l.optDisabled?!c.disabled:null===c.getAttribute("disabled"))&&(!c.parentNode.disabled||!n.nodeName(c.parentNode,"optgroup"))){if(b=n(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=n.makeArray(b),g=e.length;while(g--)if(d=e[g],n.inArray(n.valHooks.option.get(d),f)>-1)try{d.selected=c=!0}catch(h){d.scrollHeight}else d.selected=!1;return c||(a.selectedIndex=-1),e}}}}),n.each(["radio","checkbox"],function(){n.valHooks[this]={set:function(a,b){if(n.isArray(b))return a.checked=n.inArray(n(a).val(),b)>-1}},l.checkOn||(n.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var sb,tb,ub=n.expr.attrHandle,vb=/^(?:checked|selected)$/i,wb=l.getSetAttribute,xb=l.input;n.fn.extend({attr:function(a,b){return X(this,n.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){n.removeAttr(this,a)})}}),n.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return void 0===a.getAttribute?n.prop(a,b,c):(1===f&&n.isXMLDoc(a)||(b=b.toLowerCase(),e=n.attrHooks[b]||(n.expr.match.bool.test(b)?tb:sb)),void 0!==c?null===c?void n.removeAttr(a,b):e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+""),c):e&&"get"in e&&null!==(d=e.get(a,b))?d:(d=n.find.attr(a,b),null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!l.radioValue&&"radio"===b&&n.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(F);if(f&&1===a.nodeType)while(c=f[e++])d=n.propFix[c]||c,n.expr.match.bool.test(c)?xb&&wb||!vb.test(c)?a[d]=!1:a[n.camelCase("default-"+c)]=a[d]=!1:n.attr(a,c,""),a.removeAttribute(wb?c:d)}}),tb={set:function(a,b,c){return!1===b?n.removeAttr(a,c):xb&&wb||!vb.test(c)?a.setAttribute(!wb&&n.propFix[c]||c,c):a[n.camelCase("default-"+c)]=a[c]=!0,c}},n.each(n.expr.match.bool.source.match(/\w+/g),function(a,b){var c=ub[b]||n.find.attr;xb&&wb||!vb.test(b)?ub[b]=function(a,b,d){var e,f;return d||(f=ub[b],ub[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,ub[b]=f),e}:ub[b]=function(a,b,c){if(!c)return a[n.camelCase("default-"+b)]?b.toLowerCase():null}}),xb&&wb||(n.attrHooks.value={set:function(a,b,c){if(!n.nodeName(a,"input"))return sb&&sb.set(a,b,c);a.defaultValue=b}}),wb||(sb={set:function(a,b,c){var d=a.getAttributeNode(c);if(d||a.setAttributeNode(d=a.ownerDocument.createAttribute(c)),d.value=b+="","value"===c||b===a.getAttribute(c))return b}},ub.id=ub.name=ub.coords=function(a,b,c){var d;if(!c)return(d=a.getAttributeNode(b))&&""!==d.value?d.value:null},n.valHooks.button={get:function(a,b){var c=a.getAttributeNode(b);if(c&&c.specified)return c.value},set:sb.set},n.attrHooks.contenteditable={set:function(a,b,c){sb.set(a,""!==b&&b,c)}},n.each(["width","height"],function(a,b){n.attrHooks[b]={set:function(a,c){if(""===c)return a.setAttribute(b,"auto"),c}}})),l.style||(n.attrHooks.style={get:function(a){return a.style.cssText||void 0},set:function(a,b){return a.style.cssText=b+""}});var yb=/^(?:input|select|textarea|button|object)$/i,zb=/^(?:a|area)$/i;n.fn.extend({prop:function(a,b){return X(this,n.prop,a,b,arguments.length>1)},removeProp:function(a){return a=n.propFix[a]||a,this.each(function(){try{this[a]=void 0,delete this[a]}catch(b){}})}}),n.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&n.isXMLDoc(a)||(b=n.propFix[b]||b,e=n.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=n.find.attr(a,"tabindex");return b?parseInt(b,10):yb.test(a.nodeName)||zb.test(a.nodeName)&&a.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),l.hrefNormalized||n.each(["href","src"],function(a,b){n.propHooks[b]={get:function(a){return a.getAttribute(b,4)}}}),l.optSelected||(n.propHooks.selected={get:function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),n.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){n.propFix[this.toLowerCase()]=this}),l.enctype||(n.propFix.enctype="encoding");var Ab=/[\t\r\n\f]/g;function Bb(a){return n.attr(a,"class")||""}n.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(n.isFunction(a))return this.each(function(b){n(this).addClass(a.call(this,b,Bb(this)))});if("string"==typeof a&&a){b=a.match(F)||[];while(c=this[i++])if(e=Bb(c),d=1===c.nodeType&&(" "+e+" ").replace(Ab," ")){g=0;while(f=b[g++])d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=n.trim(d),e!==h&&n.attr(c,"class",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(n.isFunction(a))return this.each(function(b){n(this).removeClass(a.call(this,b,Bb(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a){b=a.match(F)||[];while(c=this[i++])if(e=Bb(c),d=1===c.nodeType&&(" "+e+" ").replace(Ab," ")){g=0;while(f=b[g++])while(d.indexOf(" "+f+" ")>-1)d=d.replace(" "+f+" "," ");h=n.trim(d),e!==h&&n.attr(c,"class",h)}}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):n.isFunction(a)?this.each(function(c){n(this).toggleClass(a.call(this,c,Bb(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c){d=0,e=n(this),f=a.match(F)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&"boolean"!==c||(b=Bb(this),b&&n._data(this,"__className__",b),n.attr(this,"class",b||!1===a?"":n._data(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;b=" "+a+" ";while(c=this[d++])if(1===c.nodeType&&(" "+Bb(c)+" ").replace(Ab," ").indexOf(b)>-1)return!0;return!1}}),n.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){n.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),n.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var Cb=a.location,Db=n.now(),Eb=/\?/,Fb=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;n.parseJSON=function(b){if(a.JSON&&a.JSON.parse)return a.JSON.parse(b+"");var c,d=null,e=n.trim(b+"");return e&&!n.trim(e.replace(Fb,function(a,b,e,f){return c&&b&&(d=0),0===d?a:(c=e||b,d+=!f-!e,"")}))?Function("return "+e)():n.error("Invalid JSON: "+b)},n.parseXML=function(b){var c,d;if(!b||"string"!=typeof b)return null;try{a.DOMParser?(d=new a.DOMParser,c=d.parseFromString(b,"text/xml")):(c=new a.ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b))}catch(e){c=void 0}return c&&c.documentElement&&!c.getElementsByTagName("parsererror").length||n.error("Invalid XML: "+b),c};var Gb=/#.*$/,Hb=/([?&])_=[^&]*/,Ib=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Jb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Kb=/^(?:GET|HEAD)$/,Lb=/^\/\//,Mb=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Nb={},Ob={},Pb="*/".concat("*"),Qb=Cb.href,Rb=Mb.exec(Qb.toLowerCase())||[];function Sb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(F)||[];if(n.isFunction(c))while(d=f[e++])"+"===d.charAt(0)?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Tb(a,b,c,d){var e={},f=a===Ob;function g(h){var i;return e[h]=!0,n.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Ub(a,b){var c,d,e=n.ajaxSettings.flatOptions||{};for(d in b)void 0!==b[d]&&((e[d]?a:c||(c={}))[d]=b[d]);return c&&n.extend(!0,a,c),a}function Vb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===e&&(e=a.mimeType||b.getResponseHeader("Content-Type"));if(e)for(g in h)if(h[g]&&h[g].test(e)){i.unshift(g);break}if(i[0]in c)f=i[0];else{for(g in c){if(!i[0]||a.converters[g+" "+i[0]]){f=g;break}d||(d=g)}f=f||d}if(f)return f!==i[0]&&i.unshift(f),c[f]}function Wb(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(!(g=j[i+" "+f]||j["* "+f]))for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){!0===g?g=j[e]:!0!==j[e]&&(f=h[0],k.unshift(h[1]));break}if(!0!==g)if(g&&a.throws)b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Qb,type:"GET",isLocal:Jb.test(Rb[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Pb,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":n.parseJSON,"text xml":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Ub(Ub(a,n.ajaxSettings),b):Ub(n.ajaxSettings,a)},ajaxPrefilter:Sb(Nb),ajaxTransport:Sb(Ob),ajax:function(b,c){"object"==typeof b&&(c=b,b=void 0),c=c||{};var d,e,f,g,h,i,j,k,l=n.ajaxSetup({},c),m=l.context||l,o=l.context&&(m.nodeType||m.jquery)?n(m):n.event,p=n.Deferred(),q=n.Callbacks("once memory"),r=l.statusCode||{},s={},t={},u=0,v="canceled",w={readyState:0,getResponseHeader:function(a){var b;if(2===u){if(!k){k={};while(b=Ib.exec(g))k[b[1].toLowerCase()]=b[2]}b=k[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===u?g:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return u||(a=t[c]=t[c]||a,s[a]=b),this},overrideMimeType:function(a){return u||(l.mimeType=a),this},statusCode:function(a){var b;if(a)if(u<2)for(b in a)r[b]=[r[b],a[b]];else w.always(a[w.status]);return this},abort:function(a){var b=a||v;return j&&j.abort(b),x(0,b),this}};if(p.promise(w).complete=q.add,w.success=w.done,w.error=w.fail,l.url=((b||l.url||Qb)+"").replace(Gb,"").replace(Lb,Rb[1]+"//"),l.type=c.method||c.type||l.method||l.type,l.dataTypes=n.trim(l.dataType||"*").toLowerCase().match(F)||[""],null==l.crossDomain&&(d=Mb.exec(l.url.toLowerCase()),l.crossDomain=!(!d||d[1]===Rb[1]&&d[2]===Rb[2]&&(d[3]||("http:"===d[1]?"80":"443"))===(Rb[3]||("http:"===Rb[1]?"80":"443")))),l.data&&l.processData&&"string"!=typeof l.data&&(l.data=n.param(l.data,l.traditional)),Tb(Nb,l,c,w),2===u)return w;i=n.event&&l.global,i&&0==n.active++&&n.event.trigger("ajaxStart"),l.type=l.type.toUpperCase(),l.hasContent=!Kb.test(l.type),f=l.url,l.hasContent||(l.data&&(f=l.url+=(Eb.test(f)?"&":"?")+l.data,delete l.data),!1===l.cache&&(l.url=Hb.test(f)?f.replace(Hb,"$1_="+Db++):f+(Eb.test(f)?"&":"?")+"_="+Db++)),l.ifModified&&(n.lastModified[f]&&w.setRequestHeader("If-Modified-Since",n.lastModified[f]),n.etag[f]&&w.setRequestHeader("If-None-Match",n.etag[f])),(l.data&&l.hasContent&&!1!==l.contentType||c.contentType)&&w.setRequestHeader("Content-Type",l.contentType),w.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+("*"!==l.dataTypes[0]?", "+Pb+"; q=0.01":""):l.accepts["*"]);for(e in l.headers)w.setRequestHeader(e,l.headers[e]);if(l.beforeSend&&(!1===l.beforeSend.call(m,w,l)||2===u))return w.abort();v="abort";for(e in{success:1,error:1,complete:1})w[e](l[e]);if(j=Tb(Ob,l,c,w)){if(w.readyState=1,i&&o.trigger("ajaxSend",[w,l]),2===u)return w;l.async&&l.timeout>0&&(h=a.setTimeout(function(){w.abort("timeout")},l.timeout));try{u=1,j.send(s,x)}catch(y){if(!(u<2))throw y;x(-1,y)}}else x(-1,"No Transport");function x(b,c,d,e){var k,s,t,v,x,y=c;2!==u&&(u=2,h&&a.clearTimeout(h),j=void 0,g=e||"",w.readyState=b>0?4:0,k=b>=200&&b<300||304===b,d&&(v=Vb(l,w,d)),v=Wb(l,v,w,k),k?(l.ifModified&&(x=w.getResponseHeader("Last-Modified"),x&&(n.lastModified[f]=x),(x=w.getResponseHeader("etag"))&&(n.etag[f]=x)),204===b||"HEAD"===l.type?y="nocontent":304===b?y="notmodified":(y=v.state,s=v.data,t=v.error,k=!t)):(t=y,!b&&y||(y="error",b<0&&(b=0))),w.status=b,w.statusText=(c||y)+"",k?p.resolveWith(m,[s,y,w]):p.rejectWith(m,[w,y,t]),w.statusCode(r),r=void 0,i&&o.trigger(k?"ajaxSuccess":"ajaxError",[w,l,k?s:t]),q.fireWith(m,[w,y]),i&&(o.trigger("ajaxComplete",[w,l]),--n.active||n.event.trigger("ajaxStop")))}return w},getJSON:function(a,b,c){return n.get(a,b,c,"json")},getScript:function(a,b){return n.get(a,void 0,b,"script")}}),n.each(["get","post"],function(a,b){n[b]=function(a,c,d,e){return n.isFunction(c)&&(e=e||d,d=c,c=void 0),n.ajax(n.extend({url:a,type:b,dataType:e,data:c,success:d},n.isPlainObject(a)&&a))}}),n._evalUrl=function(a){return n.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},n.fn.extend({wrapAll:function(a){if(n.isFunction(a))return this.each(function(b){n(this).wrapAll(a.call(this,b))});if(this[0]){var b=n(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&1===a.firstChild.nodeType)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return n.isFunction(a)?this.each(function(b){n(this).wrapInner(a.call(this,b))}):this.each(function(){var b=n(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=n.isFunction(a);return this.each(function(c){n(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){n.nodeName(this,"body")||n(this).replaceWith(this.childNodes)}).end()}});function Xb(a){return a.style&&a.style.display||n.css(a,"display")}function Yb(a){if(!n.contains(a.ownerDocument||d,a))return!0;while(a&&1===a.nodeType){if("none"===Xb(a)||"hidden"===a.type)return!0;a=a.parentNode}return!1}n.expr.filters.hidden=function(a){return l.reliableHiddenOffsets()?a.offsetWidth<=0&&a.offsetHeight<=0&&!a.getClientRects().length:Yb(a)},n.expr.filters.visible=function(a){return!n.expr.filters.hidden(a)};var Zb=/%20/g,$b=/\[\]$/,_b=/\r?\n/g,ac=/^(?:submit|button|image|reset|file)$/i,bc=/^(?:input|select|textarea|keygen)/i;function cc(a,b,c,d){var e;if(n.isArray(b))n.each(b,function(b,e){c||$b.test(a)?d(a,e):cc(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==n.type(b))d(a,b);else for(e in b)cc(a+"["+e+"]",b[e],c,d)}n.param=function(a,b){var c,d=[],e=function(a,b){b=n.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=n.ajaxSettings&&n.ajaxSettings.traditional),n.isArray(a)||a.jquery&&!n.isPlainObject(a))n.each(a,function(){e(this.name,this.value)});else for(c in a)cc(c,a[c],b,e);return d.join("&").replace(Zb,"+")},n.fn.extend({serialize:function(){return n.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=n.prop(this,"elements");return a?n.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!n(this).is(":disabled")&&bc.test(this.nodeName)&&!ac.test(a)&&(this.checked||!Y.test(a))}).map(function(a,b){var c=n(this).val();return null==c?null:n.isArray(c)?n.map(c,function(a){return{name:b.name,value:a.replace(_b,"\r\n")}}):{name:b.name,value:c.replace(_b,"\r\n")}}).get()}}),n.ajaxSettings.xhr=void 0!==a.ActiveXObject?function(){return this.isLocal?hc():d.documentMode>8?gc():/^(get|post|head|put|delete|options)$/i.test(this.type)&&gc()||hc()}:gc;var dc=0,ec={},fc=n.ajaxSettings.xhr();a.attachEvent&&a.attachEvent("onunload",function(){for(var a in ec)ec[a](void 0,!0)}),l.cors=!!fc&&"withCredentials"in fc,(fc=l.ajax=!!fc)&&n.ajaxTransport(function(b){if(!b.crossDomain||l.cors){var c;return{send:function(d,e){var f,g=b.xhr(),h=++dc;if(g.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(f in b.xhrFields)g[f]=b.xhrFields[f];b.mimeType&&g.overrideMimeType&&g.overrideMimeType(b.mimeType),b.crossDomain||d["X-Requested-With"]||(d["X-Requested-With"]="XMLHttpRequest");for(f in d)void 0!==d[f]&&g.setRequestHeader(f,d[f]+"");g.send(b.hasContent&&b.data||null),c=function(a,d){var f,i,j;if(c&&(d||4===g.readyState))if(delete ec[h],c=void 0,g.onreadystatechange=n.noop,d)4!==g.readyState&&g.abort();else{j={},f=g.status,"string"==typeof g.responseText&&(j.text=g.responseText);try{i=g.statusText}catch(k){i=""}f||!b.isLocal||b.crossDomain?1223===f&&(f=204):f=j.text?200:404}j&&e(f,i,j,g.getAllResponseHeaders())},b.async?4===g.readyState?a.setTimeout(c):g.onreadystatechange=ec[h]=c:c()},abort:function(){c&&c(void 0,!0)}}}});function gc(){try{return new a.XMLHttpRequest}catch(b){}}function hc(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){return n.globalEval(a),a}}}),n.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),n.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=d.head||n("head")[0]||d.documentElement;return{send:function(e,f){b=d.createElement("script"),b.async=!0,a.scriptCharset&&(b.charset=a.scriptCharset),b.src=a.url,b.onload=b.onreadystatechange=function(a,c){(c||!b.readyState||/loaded|complete/.test(b.readyState))&&(b.onload=b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),b=null,c||f(200,"success"))},c.insertBefore(b,c.firstChild)},abort:function(){b&&b.onload(void 0,!0)}}}});var ic=[],jc=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=ic.pop()||n.expando+"_"+Db++;return this[a]=!0,a}}),n.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=!1!==b.jsonp&&(jc.test(b.url)?"url":"string"==typeof b.data&&0===(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&jc.test(b.data)&&"data");if(h||"jsonp"===b.dataTypes[0])return e=b.jsonpCallback=n.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(jc,"$1"+e):!1!==b.jsonp&&(b.url+=(Eb.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||n.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){void 0===f?n(a).removeProp(e):a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,ic.push(e)),g&&n.isFunction(f)&&f(g[0]),g=f=void 0}),"script"}),n.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||d;var e=x.exec(a),f=!c&&[];return e?[b.createElement(e[1])]:(e=ia([a],b,f),f&&f.length&&n(f).remove(),n.merge([],e.childNodes))};var kc=n.fn.load;n.fn.load=function(a,b,c){if("string"!=typeof a&&kc)return kc.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>-1&&(d=n.trim(a.slice(h,a.length)),a=a.slice(0,h)),n.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&n.ajax({url:a,type:e||"GET",dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?n("<div>").append(n.parseHTML(a)).find(d):a)}).always(c&&function(a,b){g.each(function(){c.apply(this,f||[a.responseText,b,a])})}),this},n.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){n.fn[b]=function(a){return this.on(b,a)}}),n.expr.filters.animated=function(a){return n.grep(n.timers,function(b){return a===b.elem}).length};function lc(a){return n.isWindow(a)?a:9===a.nodeType&&(a.defaultView||a.parentWindow)}n.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=n.css(a,"position"),l=n(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=n.css(a,"top"),i=n.css(a,"left"),j=("absolute"===k||"fixed"===k)&&n.inArray("auto",[f,i])>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),n.isFunction(b)&&(b=b.call(a,c,n.extend({},h))),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},n.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){n.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},e=this[0],f=e&&e.ownerDocument;if(f)return b=f.documentElement,n.contains(b,e)?(void 0!==e.getBoundingClientRect&&(d=e.getBoundingClientRect()),c=lc(f),{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this[0]){var a,b,c={top:0,left:0},d=this[0];return"fixed"===n.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),n.nodeName(a[0],"html")||(c=a.offset()),c.top+=n.css(a[0],"borderTopWidth",!0),c.left+=n.css(a[0],"borderLeftWidth",!0)),{top:b.top-c.top-n.css(d,"marginTop",!0),left:b.left-c.left-n.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent;while(a&&!n.nodeName(a,"html")&&"static"===n.css(a,"position"))a=a.offsetParent;return a||Pa})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);n.fn[a]=function(d){return X(this,function(a,d,e){var f=lc(a);if(void 0===e)return f?b in f?f[b]:f.document.documentElement[d]:a[d];f?f.scrollTo(c?n(f).scrollLeft():e,c?e:n(f).scrollTop()):a[d]=e},a,d,arguments.length,null)}}),n.each(["top","left"],function(a,b){n.cssHooks[b]=Ta(l.pixelPosition,function(a,c){if(c)return c=Ra(a,b),Na.test(c)?n(a).position()[b]+"px":c})}),n.each({Height:"height",Width:"width"},function(a,b){n.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){n.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(!0===d||!0===e?"margin":"border")
|
5 |
-
;return X(this,function(b,c,d){var e;return n.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?n.css(b,c,g):n.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),n.fn.extend({bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}}),n.fn.size=function(){return this.length},n.fn.andSelf=n.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return n});var mc=a.jQuery,nc=a.$;return n.noConflict=function(b){return a.$===n&&(a.$=nc),b&&a.jQuery===n&&(a.jQuery=mc),n},b||(a.jQuery=a.$=n),n});
|
6 |
jQuery.noConflict();
|
1 |
+
/*! jQuery v1.12.4 | (c) jQuery Foundation | jquery.org/license | WordPress 2019-05-16 */
|
2 |
+
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=a.document,e=c.slice,f=c.concat,g=c.push,h=c.indexOf,i={},j=i.toString,k=i.hasOwnProperty,l={},m="1.12.4",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return e.call(this)},get:function(a){return null!=a?a<0?this[a+this.length]:this[a]:e.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a){return n.each(this,a)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(e.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(a<0?b:0);return this.pushStack(c>=0&&c<b?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:g,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);h<i;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],"__proto__"!==d&&g!==c&&(j&&c&&(n.isPlainObject(c)||(b=n.isArray(c)))?(b?(b=!1,f=a&&n.isArray(a)?a:[]):f=a&&n.isPlainObject(a)?a:{},g[d]=n.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray||function(a){return"array"===n.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){var b=a&&a.toString();return!n.isArray(a)&&b-parseFloat(b)+1>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==n.type(a)||a.nodeType||n.isWindow(a))return!1;try{if(a.constructor&&!k.call(a,"constructor")&&!k.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(!l.ownFirst)for(b in a)return k.call(a,b);for(b in a);return void 0===b||k.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?i[j.call(a)]||"object":typeof a},globalEval:function(b){b&&n.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b){var c,d=0;if(s(a)){for(c=a.length;d<c;d++)if(!1===b.call(a[d],d,a[d]))break}else for(d in a)if(!1===b.call(a[d],d,a[d]))break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):g.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(h)return h.call(b,a,c);for(d=b.length,c=c?c<0?Math.max(0,d+c):c:0;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(d<c)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;f<g;f++)(d=!b(a[f],f))!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,e,g=0,h=[];if(s(a))for(d=a.length;g<d;g++)null!=(e=b(a[g],g,c))&&h.push(e);else for(g in a)null!=(e=b(a[g],g,c))&&h.push(e);return f.apply([],h)},guid:1,proxy:function(a,b){var c,d,f;if("string"==typeof b&&(f=a[b],b=a,a=f),n.isFunction(a))return c=e.call(arguments,2),d=function(){return a.apply(b||this,c.concat(e.call(arguments)))},d.guid=a.guid=a.guid||n.guid++,d},now:function(){return+new Date},support:l}),"function"==typeof Symbol&&(n.fn[Symbol.iterator]=c[Symbol.iterator]),n.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){i["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=!!a&&"length"in a&&a.length,c=n.type(a);return"function"!==c&&!n.isWindow(a)&&("array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a)}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=fa(),z=fa(),A=fa(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+L+"*\\]",O=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+N+")*)|.*)\\)|)",P=new RegExp(L+"+","g"),Q=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),R=new RegExp("^"+L+"*,"+L+"*"),S=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),T=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),U=new RegExp(O),V=new RegExp("^"+M+"$"),W={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,$=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_=/[+~]/,aa=/'|\\/g,ba=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),ca=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},da=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(xa){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ea(a,b,d,e){var f,h,j,k,l,o,r,s,w=b&&b.ownerDocument,x=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==x&&9!==x&&11!==x)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==x&&(o=$.exec(a)))if(f=o[1]){if(9===x){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(w&&(j=w.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(o[2])return H.apply(d,b.getElementsByTagName(a)),d;if((f=o[3])&&c.getElementsByClassName&&b.getElementsByClassName)return H.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==x)w=b,s=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(aa,"\\$&"):b.setAttribute("id",k=u),r=g(a),h=r.length,l=V.test(k)?"#"+k:"[id='"+k+"']";while(h--)r[h]=l+" "+pa(r[h]);s=r.join(","),w=_.test(a)&&na(b.parentNode)||b}if(s)try{return H.apply(d,w.querySelectorAll(s)),d}catch(y){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(Q,"$1"),b,d,e)}function fa(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ga(a){return a[u]=!0,a}function ha(a){var b=n.createElement("div");try{return!!a(b)}catch(xa){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ia(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function ja(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ka(a){return function(b){return"input"===b.nodeName.toLowerCase()&&b.type===a}}function la(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function ma(a){return ga(function(b){return b=+b,ga(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function na(a){return a&&void 0!==a.getElementsByTagName&&a}c=ea.support={},f=ea.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&"HTML"!==b.nodeName},m=ea.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ha(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ha(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Z.test(n.getElementsByClassName),c.getById=ha(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(void 0!==b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){var c=void 0!==a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return void 0!==b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){if(void 0!==b.getElementsByClassName&&p)return b.getElementsByClassName(a)},r=[],q=[],(c.qsa=Z.test(n.querySelectorAll))&&(ha(function(a){o.appendChild(a).innerHTML="<a id='"+u+"'></a><select id='"+u+"-\r\\' msallowcapture=''><option selected=''></option></select>",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ha(function(a){var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Z.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ha(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",O)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Z.test(o.compareDocumentPosition),t=b||Z.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d||(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return ja(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?ja(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},ea.matches=function(a,b){return ea(a,null,null,b)},ea.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(T,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(xa){}return ea(b,n,null,[a]).length>0},ea.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ea.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ea.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ea.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ea.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ea.selectors={cacheLength:50,createPseudo:ga,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ba,ca),a[3]=(a[3]||a[4]||a[5]||"").replace(ba,ca),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||ea.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&ea.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return W.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&U.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ba,ca).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||void 0!==a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ea.attr(d,a);return null==e?"!="===b:!b||(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(P," ")+" ").indexOf(c)>-1:"|="===b&&(e===c||e.slice(0,c.length+1)===c+"-"))}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),!1===t)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return(t-=e)===d||t%d==0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ea.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ga(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ga(function(a){var b=[],c=[],d=h(a.replace(Q,"$1"));return d[u]?ga(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ga(function(a){return function(b){return ea(a,b).length>0}}),contains:ga(function(a){return a=a.replace(ba,ca),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ga(function(a){return V.test(a||"")||ea.error("unsupported lang: "+a),a=a.replace(ba,ca).toLowerCase(),function(b){var c;do{if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return(c=c.toLowerCase())===a||0===c.indexOf(a+"-")}while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return!1===a.disabled},disabled:function(a){return!0===a.disabled},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,!0===a.selected},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Y.test(a.nodeName)},input:function(a){return X.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:ma(function(){return[0]}),last:ma(function(a,b){return[b-1]}),eq:ma(function(a,b,c){return[c<0?c+b:c]}),even:ma(function(a,b){for(var c=0;c<b;c+=2)a.push(c);return a}),odd:ma(function(a,b){for(var c=1;c<b;c+=2)a.push(c);return a}),lt:ma(function(a,b,c){for(var d=c<0?c+b:c;--d>=0;)a.push(d);return a}),gt:ma(function(a,b,c){for(var d=c<0?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=ka(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=la(b);function oa(){}oa.prototype=d.filters=d.pseudos,d.setFilters=new oa,g=ea.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){c&&!(e=R.exec(h))||(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=S.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(Q," ")}),h=h.slice(c.length));for(g in d.filter)!(e=W[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?ea.error(a):z(a,i).slice(0)};function pa(a){for(var b=0,c=a.length,d="";b<c;b++)d+=a[b].value;return d}function qa(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j,k=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(j=b[u]||(b[u]={}),i=j[b.uniqueID]||(j[b.uniqueID]={}),(h=i[d])&&h[0]===w&&h[1]===f)return k[2]=h[2];if(i[d]=k,k[2]=a(b,c,g))return!0}}}function ra(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function sa(a,b,c){for(var d=0,e=b.length;d<e;d++)ea(a,b[d],c);return c}function ta(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;h<i;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function ua(a,b,c,d,e,f){return d&&!d[u]&&(d=ua(d)),e&&!e[u]&&(e=ua(e,f)),ga(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||sa(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ta(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ta(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ta(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function va(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=qa(function(a){return a===b},h,!0),l=qa(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];i<f;i++)if(c=d.relative[a[i].type])m=[qa(ra(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;e<f;e++)if(d.relative[a[e].type])break;return ua(i>1&&ra(m),i>1&&pa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(Q,"$1"),c,i<e&&va(a.slice(i,e)),e<f&&va(a=a.slice(e)),e<f&&pa(a))}m.push(c)}return ra(m)}function wa(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=F.call(i));u=ta(u)}H.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&ea.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ga(f):f}return h=ea.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=va(b[c]),f[u]?d.push(f):e.push(f);f=A(a,wa(e,d)),f.selector=a}return f},i=ea.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(!(b=(d.find.ID(k.matches[0].replace(ba,ca),b)||[])[0]))return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=W.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(ba,ca),_.test(j[0].type)&&na(b.parentNode)||b))){if(j.splice(i,1),!(a=f.length&&pa(j)))return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,!b||_.test(a)&&na(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ha(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ha(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||ia("type|href|height|width",function(a,b,c){if(!c)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ha(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ia("value",function(a,b,c){if(!c&&"input"===a.nodeName.toLowerCase())return a.defaultValue}),ha(function(a){return null==a.getAttribute("disabled")})||ia(K,function(a,b,c){var d;if(!c)return!0===a[b]?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ea}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.uniqueSort=n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},v=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},w=n.expr.match.needsContext,x=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,y=/^.[^:#\[\.,]*$/;function z(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(y.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return n.inArray(a,b)>-1!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;b<e;b++)if(n.contains(d[b],this))return!0}));for(b=0;b<e;b++)n.find(a,d[b],c);return c=this.pushStack(e>1?n.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(z(this,a||[],!1))},not:function(a){return this.pushStack(z(this,a||[],!0))},is:function(a){return!!z(this,"string"==typeof a&&w.test(a)?n(a):a||[],!1).length}});var A,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(n.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||A,"string"==typeof a){if(!(e="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:B.exec(a))||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),x.test(e[1])&&n.isPlainObject(b))for(e in b)n.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}if((f=d.getElementById(e[2]))&&f.parentNode){if(f.id!==e[2])return A.find(a);this.length=1,this[0]=f}return this.context=d,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?void 0!==c.ready?c.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))}).prototype=n.fn,A=n(d);var C=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};n.fn.extend({has:function(a){var b,c=n(a,this),d=c.length;return this.filter(function(){for(b=0;b<d;b++)if(n.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=w.test(a)||"string"!=typeof a?n(a,b||this.context):0;d<e;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?n.inArray(this[0],n(a)):n.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.uniqueSort(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function E(a,b){do{a=a[b]}while(a&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return u(a,"parentNode")},parentsUntil:function(a,b,c){return u(a,"parentNode",c)},next:function(a){return E(a,"nextSibling")},prev:function(a){return E(a,"previousSibling")},nextAll:function(a){return u(a,"nextSibling")},prevAll:function(a){return u(a,"previousSibling")},nextUntil:function(a,b,c){return u(a,"nextSibling",c)},prevUntil:function(a,b,c){return u(a,"previousSibling",c)},siblings:function(a){return v((a.parentNode||{}).firstChild,a)},children:function(a){return v(a.firstChild)},contents:function(a){return n.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(D[a]||(e=n.uniqueSort(e)),C.test(a)&&(e=e.reverse())),this.pushStack(e)}});var F=/\S+/g;function G(a){var b={};return n.each(a.match(F)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?G(a):n.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h<f.length)!1===f[h].apply(c[0],c[1])&&a.stopOnFalse&&(h=f.length,c=!1)}a.memory||(c=!1),b=!1,e&&(f=c?[]:"")},j={add:function(){return f&&(c&&!b&&(h=f.length-1,g.push(c)),function b(c){n.each(c,function(c,d){n.isFunction(d)?a.unique&&j.has(d)||f.push(d):d&&d.length&&"string"!==n.type(d)&&b(d)})}(arguments),c&&!b&&i()),this},remove:function(){return n.each(arguments,function(a,b){var c;while((c=n.inArray(b,f,c))>-1)f.splice(c,1),c<=h&&h--}),this},has:function(a){return a?n.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=!0,c||j.disable(),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().progress(c.notify).done(c.resolve).fail(c.reject):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=e.call(arguments),d=c.length,f=1!==d||a&&n.isFunction(a.promise)?d:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?e.call(arguments):d,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(d>1)for(i=new Array(d),j=new Array(d),k=new Array(d);b<d;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().progress(h(b,j,i)).done(h(b,k,c)).fail(g.reject):--f;return f||g.resolveWith(k,c),g.promise()}});var H;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(!0===a?--n.readyWait:n.isReady)||(n.isReady=!0,!0!==a&&--n.readyWait>0||(H.resolveWith(d,[n]),n.fn.triggerHandler&&(n(d).triggerHandler("ready"),n(d).off("ready"))))}});function I(){d.addEventListener?(d.removeEventListener("DOMContentLoaded",J),a.removeEventListener("load",J)):(d.detachEvent("onreadystatechange",J),a.detachEvent("onload",J))}function J(){(d.addEventListener||"load"===a.event.type||"complete"===d.readyState)&&(I(),n.ready())}n.ready.promise=function(b){if(!H)if(H=n.Deferred(),"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll)a.setTimeout(n.ready);else if(d.addEventListener)d.addEventListener("DOMContentLoaded",J),a.addEventListener("load",J);else{d.attachEvent("onreadystatechange",J),a.attachEvent("onload",J);var c=!1;try{c=null==a.frameElement&&d.documentElement}catch(e){}c&&c.doScroll&&function b(){if(!n.isReady){try{c.doScroll("left")}catch(e){return a.setTimeout(b,50)}I(),n.ready()}}()}return H.promise(b)},n.ready.promise();var K;for(K in n(l))break;l.ownFirst="0"===K,l.inlineBlockNeedsLayout=!1,n(function(){var a,b,c,e;(c=d.getElementsByTagName("body")[0])&&c.style&&(b=d.createElement("div"),e=d.createElement("div"),e.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(e).appendChild(b),void 0!==b.style.zoom&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",l.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(e))}),function(){var a=d.createElement("div");l.deleteExpando=!0;try{delete a.test}catch(b){l.deleteExpando=!1}a=null}();var L=function(a){var b=n.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return(1===c||9===c)&&(!b||!0!==b&&a.getAttribute("classid")===b)},M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function O(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(N,"-$1").toLowerCase();if("string"==typeof(c=a.getAttribute(d))){try{c="true"===c||"false"!==c&&("null"===c?null:+c+""===c?+c:M.test(c)?n.parseJSON(c):c)}catch(e){}n.data(a,b,c)}else c=void 0}return c}function P(a){var b
|
3 |
+
;for(b in a)if(("data"!==b||!n.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function Q(a,b,d,e){if(L(a)){var f,g,h=n.expando,i=a.nodeType,j=i?n.cache:a,k=i?a[h]:a[h]&&h;if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||n.guid++:h),j[k]||(j[k]=i?{}:{toJSON:n.noop}),"object"!=typeof b&&"function"!=typeof b||(e?j[k]=n.extend(j[k],b):j[k].data=n.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[n.camelCase(b)]=d),"string"==typeof b?null==(f=g[b])&&(f=g[n.camelCase(b)]):f=g,f}}function R(a,b,c){if(L(a)){var d,e,f=a.nodeType,g=f?n.cache:a,h=f?a[n.expando]:n.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){n.isArray(b)?b=b.concat(n.map(b,n.camelCase)):b in d?b=[b]:(b=n.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!P(d):!n.isEmptyObject(d))return}(c||(delete g[h].data,P(g[h])))&&(f?n.cleanData([a],!0):l.deleteExpando||g!=g.window?delete g[h]:g[h]=void 0)}}}n.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return!!(a=a.nodeType?n.cache[a[n.expando]]:a[n.expando])&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(a,b,!0)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=n.data(f),1===f.nodeType&&!n._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),O(f,d,e[d])));n._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){n.data(this,a)}):arguments.length>1?this.each(function(){n.data(this,a,b)}):f?O(f,a,n.data(f,a)):void 0},removeData:function(a){return this.each(function(){n.removeData(this,a)})}}),n.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=n._data(a,b),c&&(!d||n.isArray(c)?d=n._data(a,b,n.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return n._data(a,c)||n._data(a,c,{empty:n.Callbacks("once memory").add(function(){n._removeData(a,b+"queue"),n._removeData(a,c)})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?n.queue(this[0],a):void 0===b?this:this.each(function(){var c=n.queue(this,a,b);n._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&n.dequeue(this,a)})},dequeue:function(a){return this.each(function(){n.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=n.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)(c=n._data(f[g],a+"queueHooks"))&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}}),function(){var a;l.shrinkWrapBlocks=function(){if(null!=a)return a;a=!1;var b,c,e;return(c=d.getElementsByTagName("body")[0])&&c.style?(b=d.createElement("div"),e=d.createElement("div"),e.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(e).appendChild(b),void 0!==b.style.zoom&&(b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",b.appendChild(d.createElement("div")).style.width="5px",a=3!==b.offsetWidth),c.removeChild(e),a):void 0}}();var S=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=new RegExp("^(?:([+-])=|)("+S+")([a-z%]*)$","i"),U=["Top","Right","Bottom","Left"],V=function(a,b){return a=b||a,"none"===n.css(a,"display")||!n.contains(a.ownerDocument,a)};function W(a,b,c,d){var e,f=1,g=20,h=d?function(){return d.cur()}:function(){return n.css(a,b,"")},i=h(),j=c&&c[3]||(n.cssNumber[b]?"":"px"),k=(n.cssNumber[b]||"px"!==j&&+i)&&T.exec(n.css(a,b));if(k&&k[3]!==j){j=j||k[3],c=c||[],k=+i||1;do{f=f||".5",k/=f,n.style(a,b,k+j)}while(f!==(f=h()/i)&&1!==f&&--g)}return c&&(k=+k||+i||0,e=c[1]?k+(c[1]+1)*c[2]:+c[2],d&&(d.unit=j,d.start=k,d.end=e)),e}var X=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in c)X(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),c)})),b))for(;h<i;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},Y=/^(?:checkbox|radio)$/i,Z=/<([\w:-]+)/,$=/^$|\/(?:java|ecma)script/i,_=/^\s+/,aa="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";function ba(a){var b=aa.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}!function(){var a=d.createElement("div"),b=d.createDocumentFragment(),c=d.createElement("input");a.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",l.leadingWhitespace=3===a.firstChild.nodeType,l.tbody=!a.getElementsByTagName("tbody").length,l.htmlSerialize=!!a.getElementsByTagName("link").length,l.html5Clone="<:nav></:nav>"!==d.createElement("nav").cloneNode(!0).outerHTML,c.type="checkbox",c.checked=!0,b.appendChild(c),l.appendChecked=c.checked,a.innerHTML="<textarea>x</textarea>",l.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue,b.appendChild(a),c=d.createElement("input"),c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),a.appendChild(c),l.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,l.noCloneEvent=!!a.addEventListener,a[n.expando]=1,l.attributes=!a.getAttribute(n.expando)}();var ca={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:l.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};ca.optgroup=ca.option,ca.tbody=ca.tfoot=ca.colgroup=ca.caption=ca.thead,ca.th=ca.td;function da(a,b){var c,d,e=0,f=void 0!==a.getElementsByTagName?a.getElementsByTagName(b||"*"):void 0!==a.querySelectorAll?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||n.nodeName(d,b)?f.push(d):n.merge(f,da(d,b));return void 0===b||b&&n.nodeName(a,b)?n.merge([a],f):f}function ea(a,b){for(var c,d=0;null!=(c=a[d]);d++)n._data(c,"globalEval",!b||n._data(b[d],"globalEval"))}var fa=/<|&#?\w+;/,ga=/<tbody/i;function ha(a){Y.test(a.type)&&(a.defaultChecked=a.checked)}function ia(a,b,c,d,e){for(var f,g,h,i,j,k,m,o=a.length,p=ba(b),q=[],r=0;r<o;r++)if((g=a[r])||0===g)if("object"===n.type(g))n.merge(q,g.nodeType?[g]:g);else if(fa.test(g)){i=i||p.appendChild(b.createElement("div")),j=(Z.exec(g)||["",""])[1].toLowerCase(),m=ca[j]||ca._default,i.innerHTML=m[1]+n.htmlPrefilter(g)+m[2],f=m[0];while(f--)i=i.lastChild;if(!l.leadingWhitespace&&_.test(g)&&q.push(b.createTextNode(_.exec(g)[0])),!l.tbody){g="table"!==j||ga.test(g)?"<table>"!==m[1]||ga.test(g)?0:i:i.firstChild,f=g&&g.childNodes.length;while(f--)n.nodeName(k=g.childNodes[f],"tbody")&&!k.childNodes.length&&g.removeChild(k)}n.merge(q,i.childNodes),i.textContent="";while(i.firstChild)i.removeChild(i.firstChild);i=p.lastChild}else q.push(b.createTextNode(g));i&&p.removeChild(i),l.appendChecked||n.grep(da(q,"input"),ha),r=0;while(g=q[r++])if(d&&n.inArray(g,d)>-1)e&&e.push(g);else if(h=n.contains(g.ownerDocument,g),i=da(p.appendChild(g),"script"),h&&ea(i),c){f=0;while(g=i[f++])$.test(g.type||"")&&c.push(g)}return i=null,p}!function(){var b,c,e=d.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(l[b]=c in a)||(e.setAttribute(c,"t"),l[b]=!1===e.attributes[c].expando);e=null}();var ja=/^(?:input|select|textarea)$/i,ka=/^key/,la=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ma=/^(?:focusinfocus|focusoutblur)$/,na=/^([^.]*)(?:\.(.+)|)/;function oa(){return!0}function pa(){return!1}function qa(){try{return d.activeElement}catch(a){}}function ra(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)ra(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),!1===e)e=pa;else if(!e)return a;return 1===f&&(g=e,e=function(a){return n().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=n.guid++)),a.each(function(){n.event.add(this,b,e,d,c)})}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=n.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return void 0===n||a&&n.event.triggered===a.type?void 0:n.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(F)||[""],h=b.length;while(h--)f=na.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=n.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=n.event.special[o]||{},l=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},i),(m=g[o])||(m=g[o]=[],m.delegateCount=0,j.setup&&!1!==j.setup.call(a,d,p,k)||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,l):m.push(l),n.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n.hasData(a)&&n._data(a);if(r&&(k=r.events)){b=(b||"").match(F)||[""],j=b.length;while(j--)if(h=na.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=m.length;while(f--)g=m[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(m.splice(f,1),g.selector&&m.delegateCount--,l.remove&&l.remove.call(a,g));i&&!m.length&&(l.teardown&&!1!==l.teardown.call(a,p,r.handle)||n.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(k)&&(delete r.handle,n._removeData(a,"events"))}},trigger:function(b,c,e,f){var g,h,i,j,l,m,o,p=[e||d],q=k.call(b,"type")?b.type:b,r=k.call(b,"namespace")?b.namespace.split("."):[];if(i=m=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!ma.test(q+n.event.triggered)&&(q.indexOf(".")>-1&&(r=q.split("."),q=r.shift(),r.sort()),h=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=r.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:n.makeArray(c,[b]),l=n.event.special[q]||{},f||!l.trigger||!1!==l.trigger.apply(e,c))){if(!f&&!l.noBubble&&!n.isWindow(e)){for(j=l.delegateType||q,ma.test(j+q)||(i=i.parentNode);i;i=i.parentNode)p.push(i),m=i;m===(e.ownerDocument||d)&&p.push(m.defaultView||m.parentWindow||a)}o=0;while((i=p[o++])&&!b.isPropagationStopped())b.type=o>1?j:l.bindType||q,g=(n._data(i,"events")||{})[b.type]&&n._data(i,"handle"),g&&g.apply(i,c),(g=h&&i[h])&&g.apply&&L(i)&&(b.result=g.apply(i,c),!1===b.result&&b.preventDefault());if(b.type=q,!f&&!b.isDefaultPrevented()&&(!l._default||!1===l._default.apply(p.pop(),c))&&L(e)&&h&&e[q]&&!n.isWindow(e)){m=e[h],m&&(e[h]=null),n.event.triggered=q;try{e[q]()}catch(s){}n.event.triggered=void 0,m&&(e[h]=m)}return b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,d,f,g,h=[],i=e.call(arguments),j=(n._data(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||!1!==k.preDispatch.call(this,a)){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())a.rnamespace&&!a.rnamespace.test(g.namespace)||(a.handleObj=g,a.data=g.data,void 0!==(d=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i))&&!1===(a.result=d)&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&("click"!==a.type||isNaN(a.button)||a.button<1))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(!0!==i.disabled||"click"!==a.type)){for(d=[],c=0;c<h;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>-1:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},fix:function(a){if(a[n.expando])return a;var b,c,e,f=a.type,g=a,h=this.fixHooks[f];h||(this.fixHooks[f]=h=la.test(f)?this.mouseHooks:ka.test(f)?this.keyHooks:{}),e=h.props?this.props.concat(h.props):this.props,a=new n.Event(g),b=e.length;while(b--)c=e[b],a[c]=g[c];return a.target||(a.target=g.srcElement||d),3===a.target.nodeType&&(a.target=a.target.parentNode),a.metaKey=!!a.metaKey,h.filter?h.filter(a,g):a},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,e,f,g=b.button,h=b.fromElement;return null==a.pageX&&null!=b.clientX&&(e=a.target.ownerDocument||d,f=e.documentElement,c=e.body,a.pageX=b.clientX+(f&&f.scrollLeft||c&&c.scrollLeft||0)-(f&&f.clientLeft||c&&c.clientLeft||0),a.pageY=b.clientY+(f&&f.scrollTop||c&&c.scrollTop||0)-(f&&f.clientTop||c&&c.clientTop||0)),!a.relatedTarget&&h&&(a.relatedTarget=h===a.target?b.toElement:h),a.which||void 0===g||(a.which=1&g?1:2&g?3:4&g?2:0),a}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==qa()&&this.focus)try{return this.focus(),!1}catch(a){}},delegateType:"focusin"},blur:{trigger:function(){if(this===qa()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(n.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(a){return n.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c){var d=n.extend(new n.Event,c,{type:a,isSimulated:!0});n.event.trigger(d,null,b),d.isDefaultPrevented()&&c.preventDefault()}},n.removeEvent=d.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c)}:function(a,b,c){var d="on"+b;a.detachEvent&&(void 0===a[d]&&(a[d]=null),a.detachEvent(d,c))},n.Event=function(a,b){if(!(this instanceof n.Event))return new n.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&!1===a.returnValue?oa:pa):this.type=a,b&&n.extend(this,b),this.timeStamp=a&&a.timeStamp||n.now(),this[n.expando]=!0},n.Event.prototype={constructor:n.Event,isDefaultPrevented:pa,isPropagationStopped:pa,isImmediatePropagationStopped:pa,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=oa,a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=oa,a&&!this.isSimulated&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=oa,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),this.stopPropagation()}},n.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){n.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return e&&(e===d||n.contains(d,e))||(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),l.submit||(n.event.special.submit={setup:function(){if(n.nodeName(this,"form"))return!1;n.event.add(this,"click._submit keypress._submit",function(a){var b=a.target,c=n.nodeName(b,"input")||n.nodeName(b,"button")?n.prop(b,"form"):void 0;c&&!n._data(c,"submit")&&(n.event.add(c,"submit._submit",function(a){a._submitBubble=!0}),n._data(c,"submit",!0))})},postDispatch:function(a){a._submitBubble&&(delete a._submitBubble,this.parentNode&&!a.isTrigger&&n.event.simulate("submit",this.parentNode,a))},teardown:function(){if(n.nodeName(this,"form"))return!1;n.event.remove(this,"._submit")}}),l.change||(n.event.special.change={setup:function(){if(ja.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(n.event.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&(this._justChanged=!0)}),n.event.add(this,"click._change",function(a){this._justChanged&&!a.isTrigger&&(this._justChanged=!1),n.event.simulate("change",this,a)})),!1;n.event.add(this,"beforeactivate._change",function(a){var b=a.target;ja.test(b.nodeName)&&!n._data(b,"change")&&(n.event.add(b,"change._change",function(a){!this.parentNode||a.isSimulated||a.isTrigger||n.event.simulate("change",this.parentNode,a)}),n._data(b,"change",!0))})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||"radio"!==b.type&&"checkbox"!==b.type)return a.handleObj.handler.apply(this,arguments)},teardown:function(){return n.event.remove(this,"._change"),!ja.test(this.nodeName)}}),l.focusin||n.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){n.event.simulate(b,a.target,n.event.fix(a))};n.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=n._data(d,b);e||d.addEventListener(a,c,!0),n._data(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=n._data(d,b)-1;e?n._data(d,b,e):(d.removeEventListener(a,c,!0),n._removeData(d,b))}}}),n.fn.extend({on:function(a,b,c,d){return ra(this,a,b,c,d)},one:function(a,b,c,d){return ra(this,a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,n(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return!1!==b&&"function"!=typeof b||(c=b,b=void 0),!1===c&&(c=pa),this.each(function(){n.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){n.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return n.event.trigger(a,b,c,!0)}});var sa=/ jQuery\d+="(?:null|\d+)"/g,ta=new RegExp("<(?:"+aa+")[\\s/>]","i"),ua=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,va=/<script|<style|<link/i,wa=/checked\s*(?:[^=]|=\s*.checked.)/i,xa=/^true\/(.*)/,ya=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,za=ba(d),Aa=za.appendChild(d.createElement("div"));function Ba(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function Ca(a){return a.type=(null!==n.find.attr(a,"type"))+"/"+a.type,a}function Da(a){var b=xa.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Ea(a,b){if(1===b.nodeType&&n.hasData(a)){var c,d,e,f=n._data(a),g=n._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;d<e;d++)n.event.add(b,c,h[c][d])}g.data&&(g.data=n.extend({},g.data))}}function Fa(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!l.noCloneEvent&&b[n.expando]){e=n._data(b);for(d in e.events)n.removeEvent(b,d,e.handle);b.removeAttribute(n.expando)}"script"===c&&b.text!==a.text?(Ca(b).text=a.text,Da(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),l.html5Clone&&a.innerHTML&&!n.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&Y.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}}function Ga(a,b,c,d){b=f.apply([],b);var e,g,h,i,j,k,m=0,o=a.length,p=o-1,q=b[0],r=n.isFunction(q);if(r||o>1&&"string"==typeof q&&!l.checkClone&&wa.test(q))return a.each(function(e){var f=a.eq(e);r&&(b[0]=q.call(this,e,f.html())),Ga(f,b,c,d)});if(o&&(k=ia(b,a[0].ownerDocument,!1,a,d),e=k.firstChild,1===k.childNodes.length&&(k=e),e||d)){for(i=n.map(da(k,"script"),Ca),h=i.length;m<o;m++)g=k,m!==p&&(g=n.clone(g,!0,!0),h&&n.merge(i,da(g,"script"))),c.call(a[m],g,m);if(h)for(j=i[i.length-1].ownerDocument,n.map(i,Da),m=0;m<h;m++)g=i[m],$.test(g.type||"")&&!n._data(g,"globalEval")&&n.contains(j,g)&&(g.src?n._evalUrl&&n._evalUrl(g.src):n.globalEval((g.text||g.textContent||g.innerHTML||"").replace(ya,"")));k=e=null}return a}function Ha(a,b,c){for(var d,e=b?n.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||n.cleanData(da(d)),d.parentNode&&(c&&n.contains(d.ownerDocument,d)&&ea(da(d,"script")),d.parentNode.removeChild(d));return a}n.extend({htmlPrefilter:function(a){return a.replace(ua,"<$1></$2>")},clone:function(a,b,c){var d,e,f,g,h,i=n.contains(a.ownerDocument,a);if(l.html5Clone||n.isXMLDoc(a)||!ta.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(Aa.innerHTML=a.outerHTML,Aa.removeChild(f=Aa.firstChild)),!(l.noCloneEvent&&l.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(d=da(f),h=da(a),g=0;null!=(e=h[g]);++g)d[g]&&Fa(e,d[g]);if(b)if(c)for(h=h||da(a),d=d||da(f),g=0;null!=(e=h[g]);g++)Ea(e,d[g]);else Ea(a,f);return d=da(f,"script"),d.length>0&&ea(d,!i&&da(a,"script")),d=h=e=null,f},cleanData:function(a,b){for(var d,e,f,g,h=0,i=n.expando,j=n.cache,k=l.attributes,m=n.event.special;null!=(d=a[h]);h++)if((b||L(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)m[e]?n.event.remove(d,e):n.removeEvent(d,e,g.handle);j[f]&&(delete j[f],k||void 0===d.removeAttribute?d[i]=void 0:d.removeAttribute(i),c.push(f))}}}),n.fn.extend({domManip:Ga,detach:function(a){return Ha(this,a,!0)},remove:function(a){return Ha(this,a)},text:function(a){return X(this,function(a){return void 0===a?n.text(this):this.empty().append((this[0]&&this[0].ownerDocument||d).createTextNode(a))},null,a,arguments.length)},append:function(){return Ga(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){Ba(this,a).appendChild(a)}})},prepend:function(){return Ga(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ba(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ga(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ga(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&n.cleanData(da(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&n.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return X(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(sa,""):void 0;if("string"==typeof a&&!va.test(a)&&(l.htmlSerialize||!ta.test(a))&&(l.leadingWhitespace||!_.test(a))&&!ca[(Z.exec(a)||["",""])[1].toLowerCase()]){a=n.htmlPrefilter(a);try{for(;c<d;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(da(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return Ga(this,arguments,function(b){var c=this.parentNode;n.inArray(this,a)<0&&(n.cleanData(da(this)),c&&c.replaceChild(b,this))},a)}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=0,e=[],f=n(a),h=f.length-1;d<=h;d++)c=d===h?this:this.clone(!0),n(f[d])[b](c),g.apply(e,c.get());return this.pushStack(e)}});var Ia,Ja={HTML:"block",BODY:"block"};function Ka(a,b){var c=n(b.createElement(a)).appendTo(b.body),d=n.css(c[0],"display");return c.detach(),d}function La(a){var b=d,c=Ja[a];return c||(c=Ka(a,b),"none"!==c&&c||(Ia=(Ia||n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=(Ia[0].contentWindow||Ia[0].contentDocument).document,b.write(),b.close(),c=Ka(a,b),Ia.detach()),Ja[a]=c),c}var Ma=/^margin/,Na=new RegExp("^("+S+")(?!px)[a-z%]+$","i"),Oa=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e},Pa=d.documentElement;!function(){var b,c,e,f,g,h,i=d.createElement("div"),j=d.createElement("div");function k(){var k,l,m=d.documentElement;m.appendChild(i),j.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",b=e=h=!1,c=g=!0,a.getComputedStyle&&(l=a.getComputedStyle(j),b="1%"!==(l||{}).top,h="2px"===(l||{}).marginLeft,e="4px"===(l||{width:"4px"}).width,j.style.marginRight="50%",c="4px"===(l||{marginRight:"4px"}).marginRight,k=j.appendChild(d.createElement("div")),k.style.cssText=j.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",k.style.marginRight=k.style.width="0",j.style.width="1px",g=!parseFloat((a.getComputedStyle(k)||{}).marginRight),j.removeChild(k)),j.style.display="none",f=0===j.getClientRects().length,f&&(j.style.display="",j.innerHTML="<table><tr><td></td><td>t</td></tr></table>",j.childNodes[0].style.borderCollapse="separate",k=j.getElementsByTagName("td"),k[0].style.cssText="margin:0;border:0;padding:0;display:none",(f=0===k[0].offsetHeight)&&(k[0].style.display="",k[1].style.display="none",f=0===k[0].offsetHeight)),m.removeChild(i)}j.style&&(j.style.cssText="float:left;opacity:.5",l.opacity="0.5"===j.style.opacity,l.cssFloat=!!j.style.cssFloat,j.style.backgroundClip="content-box",j.cloneNode(!0).style.backgroundClip="",l.clearCloneStyle="content-box"===j.style.backgroundClip,i=d.createElement("div"),i.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",j.innerHTML="",i.appendChild(j),l.boxSizing=""===j.style.boxSizing||""===j.style.MozBoxSizing||""===j.style.WebkitBoxSizing,n.extend(l,{reliableHiddenOffsets:function(){return null==b&&k(),f},boxSizingReliable:function(){return null==b&&k(),e},pixelMarginRight:function(){return null==b&&k(),c},pixelPosition:function(){return null==b&&k(),b},reliableMarginRight:function(){return null==b&&k(),g},reliableMarginLeft:function(){return null==b&&k(),h}}))}();var Qa,Ra,Sa=/^(top|right|bottom|left)$/;a.getComputedStyle?(Qa=function(b){var c=b.ownerDocument.defaultView;return c&&c.opener||(c=a),c.getComputedStyle(b)},Ra=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Qa(a),g=c?c.getPropertyValue(b)||c[b]:void 0,""!==g&&void 0!==g||n.contains(a.ownerDocument,a)||(g=n.style(a,b)),c&&!l.pixelMarginRight()&&Na.test(g)&&Ma.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f),void 0===g?g:g+""}):Pa.currentStyle&&(Qa=function(a){return a.currentStyle},Ra=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Qa(a),g=c?c[b]:void 0,null==g&&h&&h[b]&&(g=h[b]),Na.test(g)&&!Sa.test(b)&&(d=h.left,e=a.runtimeStyle,f=e&&e.left,f&&(e.left=a.currentStyle.left),h.left="fontSize"===b?"1em":g,g=h.pixelLeft+"px",h.left=d,f&&(e.left=f)),void 0===g?g:g+""||"auto"});function Ta(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}var Ua=/alpha\([^)]*\)/i,Va=/opacity\s*=\s*([^)]*)/i,Wa=/^(none|table(?!-c[ea]).+)/,Xa=new RegExp("^("+S+")(.*)$","i"),Ya={position:"absolute",visibility:"hidden",display:"block"},Za={letterSpacing:"0",fontWeight:"400"},$a=["Webkit","O","Moz","ms"],_a=d.createElement("div").style;function ab(a){if(a in _a)return a;var b=a.charAt(0).toUpperCase()+a.slice(1),c=$a.length;while(c--)if((a=$a[c]+b)in _a)return a}function bb(a,b){for(var c,d,e,f=[],g=0,h=a.length;g<h;g++)d=a[g],d.style&&(f[g]=n._data(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&V(d)&&(f[g]=n._data(d,"olddisplay",La(d.nodeName)))):(e=V(d),(c&&"none"!==c||!e)&&n._data(d,"olddisplay",e?c:n.css(d,"display"))));for(g=0;g<h;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}function cb(a,b,c){var d=Xa.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function db(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;f<4;f+=2)"margin"===c&&(g+=n.css(a,c+U[f],!0,e)),d?("content"===c&&(g-=n.css(a,"padding"+U[f],!0,e)),"margin"!==c&&(g-=n.css(a,"border"+U[f]+"Width",!0,e))):(g+=n.css(a,"padding"+U[f],!0,e),"padding"!==c&&(g+=n.css(a,"border"+U[f]+"Width",!0,e)));return g}function eb(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=Qa(a),g=l.boxSizing&&"border-box"===n.css(a,"boxSizing",!1,f);if(e<=0||null==e){if(e=Ra(a,b,f),(e<0||null==e)&&(e=a.style[b]),Na.test(e))return e;d=g&&(l.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+db(a,b,c||(g?"border":"content"),d,f)+"px"}n.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Ra(a,"opacity");return""===c?"1":c}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:l.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=n.camelCase(b),i=a.style;if(b=n.cssProps[h]||(n.cssProps[h]=ab(h)||h),g=n.cssHooks[b]||n.cssHooks[h],void 0===c)return g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b];if(f=typeof c,"string"===f&&(e=T.exec(c))&&e[1]&&(c=W(a,b,e),f="number"),null!=c&&c===c&&("number"===f&&(c+=e&&e[3]||(n.cssNumber[h]?"":"px")),l.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),!(g&&"set"in g&&void 0===(c=g.set(a,c,d)))))try{i[b]=c}catch(j){}}},css:function(a,b,c,d){var e,f,g,h=n.camelCase(b);return b=n.cssProps[h]||(n.cssProps[h]=ab(h)||h),g=n.cssHooks[b]||n.cssHooks[h],g&&"get"in g&&(f=g.get(a,!0,c)),void 0===f&&(f=Ra(a,b,d)),"normal"===f&&b in Za&&(f=Za[b]),""===c||c?(e=parseFloat(f),!0===c||isFinite(e)?e||0:f):f}}),n.each(["height","width"],function(a,b){n.cssHooks[b]={get:function(a,c,d){if(c)return Wa.test(n.css(a,"display"))&&0===a.offsetWidth?Oa(a,Ya,function(){return eb(a,b,d)}):eb(a,b,d)},set:function(a,c,d){var e=d&&Qa(a);return cb(a,c,d?db(a,b,d,l.boxSizing&&"border-box"===n.css(a,"boxSizing",!1,e),e):0)}}}),l.opacity||(n.cssHooks.opacity={get:function(a,b){return Va.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=n.isNumeric(b)?"alpha(opacity="+100*b+")":"",f=d&&d.filter||c.filter||"";c.zoom=1,(b>=1||""===b)&&""===n.trim(f.replace(Ua,""))&&c.removeAttribute&&(c.removeAttribute("filter"),""===b||d&&!d.filter)||(c.filter=Ua.test(f)?f.replace(Ua,e):f+" "+e)}}),n.cssHooks.marginRight=Ta(l.reliableMarginRight,function(a,b){if(b)return Oa(a,{display:"inline-block"},Ra,[a,"marginRight"])}),n.cssHooks.marginLeft=Ta(l.reliableMarginLeft,function(a,b){if(b)return(parseFloat(Ra(a,"marginLeft"))||(n.contains(a.ownerDocument,a)?a.getBoundingClientRect().left-Oa(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}):0))+"px"}),n.each({
|
4 |
+
margin:"",padding:"",border:"Width"},function(a,b){n.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];d<4;d++)e[a+U[d]+b]=f[d]||f[d-2]||f[0];return e}},Ma.test(a)||(n.cssHooks[a+b].set=cb)}),n.fn.extend({css:function(a,b){return X(this,function(a,b,c){var d,e,f={},g=0;if(n.isArray(b)){for(d=Qa(a),e=b.length;g<e;g++)f[b[g]]=n.css(a,b[g],!1,d);return f}return void 0!==c?n.style(a,b,c):n.css(a,b)},a,b,arguments.length>1)},show:function(){return bb(this,!0)},hide:function(){return bb(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){V(this)?n(this).show():n(this).hide()})}});function fb(a,b,c,d,e){return new fb.prototype.init(a,b,c,d,e)}n.Tween=fb,fb.prototype={constructor:fb,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||n.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(n.cssNumber[c]?"":"px")},cur:function(){var a=fb.propHooks[this.prop];return a&&a.get?a.get(this):fb.propHooks._default.get(this)},run:function(a){var b,c=fb.propHooks[this.prop];return this.options.duration?this.pos=b=n.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):fb.propHooks._default.set(this),this}},fb.prototype.init.prototype=fb.prototype,fb.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=n.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a){n.fx.step[a.prop]?n.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[n.cssProps[a.prop]]&&!n.cssHooks[a.prop]?a.elem[a.prop]=a.now:n.style(a.elem,a.prop,a.now+a.unit)}}},fb.propHooks.scrollTop=fb.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},n.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"},n.fx=fb.prototype.init,n.fx.step={};var gb,hb,ib=/^(?:toggle|show|hide)$/,jb=/queueHooks$/;function kb(){return a.setTimeout(function(){gb=void 0}),gb=n.now()}function lb(a,b){var c,d={height:a},e=0;for(b=b?1:0;e<4;e+=2-b)c=U[e],d["margin"+c]=d["padding"+c]=a;return b&&(d.opacity=d.width=a),d}function mb(a,b,c){for(var d,e=(pb.tweeners[b]||[]).concat(pb.tweeners["*"]),f=0,g=e.length;f<g;f++)if(d=e[f].call(c,b,a))return d}function nb(a,b,c){var d,e,f,g,h,i,j,k,m=this,o={},p=a.style,q=a.nodeType&&V(a),r=n._data(a,"fxshow");c.queue||(h=n._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,m.always(function(){m.always(function(){h.unqueued--,n.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[p.overflow,p.overflowX,p.overflowY],j=n.css(a,"display"),"inline"===(k="none"===j?n._data(a,"olddisplay")||La(a.nodeName):j)&&"none"===n.css(a,"float")&&(l.inlineBlockNeedsLayout&&"inline"!==La(a.nodeName)?p.zoom=1:p.display="inline-block")),c.overflow&&(p.overflow="hidden",l.shrinkWrapBlocks()||m.always(function(){p.overflow=c.overflow[0],p.overflowX=c.overflow[1],p.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],ib.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(q?"hide":"show")){if("show"!==e||!r||void 0===r[d])continue;q=!0}o[d]=r&&r[d]||n.style(a,d)}else j=void 0;if(n.isEmptyObject(o))"inline"===("none"===j?La(a.nodeName):j)&&(p.display=j);else{r?"hidden"in r&&(q=r.hidden):r=n._data(a,"fxshow",{}),f&&(r.hidden=!q),q?n(a).show():m.done(function(){n(a).hide()}),m.done(function(){var b;n._removeData(a,"fxshow");for(b in o)n.style(a,b,o[b])});for(d in o)g=mb(q?r[d]:0,d,m),d in r||(r[d]=g.start,q&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function ob(a,b){var c,d,e,f,g;for(c in a)if(d=n.camelCase(c),e=b[d],f=a[c],n.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),(g=n.cssHooks[d])&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function pb(a,b,c){var d,e,f=0,g=pb.prefilters.length,h=n.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=gb||kb(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;g<i;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),f<1&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:n.extend({},b),opts:n.extend(!0,{specialEasing:{},easing:n.easing._default},c),originalProperties:b,originalOptions:c,startTime:gb||kb(),duration:c.duration,tweens:[],createTween:function(b,c){var d=n.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;c<d;c++)j.tweens[c].run(1);return b?(h.notifyWith(a,[j,1,0]),h.resolveWith(a,[j,b])):h.rejectWith(a,[j,b]),this}}),k=j.props;for(ob(k,j.opts.specialEasing);f<g;f++)if(d=pb.prefilters[f].call(j,a,k,j.opts))return n.isFunction(d.stop)&&(n._queueHooks(j.elem,j.opts.queue).stop=n.proxy(d.stop,d)),d;return n.map(k,mb,j),n.isFunction(j.opts.start)&&j.opts.start.call(a,j),n.fx.timer(n.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}n.Animation=n.extend(pb,{tweeners:{"*":[function(a,b){var c=this.createTween(a,b);return W(c.elem,a,T.exec(b),c),c}]},tweener:function(a,b){n.isFunction(a)?(b=a,a=["*"]):a=a.match(F);for(var c,d=0,e=a.length;d<e;d++)c=a[d],pb.tweeners[c]=pb.tweeners[c]||[],pb.tweeners[c].unshift(b)},prefilters:[nb],prefilter:function(a,b){b?pb.prefilters.unshift(a):pb.prefilters.push(a)}}),n.speed=function(a,b,c){var d=a&&"object"==typeof a?n.extend({},a):{complete:c||!c&&b||n.isFunction(a)&&a,duration:a,easing:c&&b||b&&!n.isFunction(b)&&b};return d.duration=n.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in n.fx.speeds?n.fx.speeds[d.duration]:n.fx.speeds._default,null!=d.queue&&!0!==d.queue||(d.queue="fx"),d.old=d.complete,d.complete=function(){n.isFunction(d.old)&&d.old.call(this),d.queue&&n.dequeue(this,d.queue)},d},n.fn.extend({fadeTo:function(a,b,c,d){return this.filter(V).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=n.isEmptyObject(a),f=n.speed(b,c,d),g=function(){var b=pb(this,n.extend({},a),f);(e||n._data(this,"finish"))&&b.stop(!0)};return g.finish=g,e||!1===f.queue?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&!1!==a&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=n.timers,g=n._data(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&jb.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));!b&&c||n.dequeue(this,a)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var b,c=n._data(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=n.timers,g=d?d.length:0;for(c.finish=!0,n.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;b<g;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),n.each(["toggle","show","hide"],function(a,b){var c=n.fn[b];n.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(lb(b,!0),a,d,e)}}),n.each({slideDown:lb("show"),slideUp:lb("hide"),slideToggle:lb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){n.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),n.timers=[],n.fx.tick=function(){var a,b=n.timers,c=0;for(gb=n.now();c<b.length;c++)(a=b[c])()||b[c]!==a||b.splice(c--,1);b.length||n.fx.stop(),gb=void 0},n.fx.timer=function(a){n.timers.push(a),a()?n.fx.start():n.timers.pop()},n.fx.interval=13,n.fx.start=function(){hb||(hb=a.setInterval(n.fx.tick,n.fx.interval))},n.fx.stop=function(){a.clearInterval(hb),hb=null},n.fx.speeds={slow:600,fast:200,_default:400},n.fn.delay=function(b,c){return b=n.fx?n.fx.speeds[b]||b:b,c=c||"fx",this.queue(c,function(c,d){var e=a.setTimeout(c,b);d.stop=function(){a.clearTimeout(e)}})},function(){var a,b=d.createElement("input"),c=d.createElement("div"),e=d.createElement("select"),f=e.appendChild(d.createElement("option"));c=d.createElement("div"),c.setAttribute("className","t"),c.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",a=c.getElementsByTagName("a")[0],b.setAttribute("type","checkbox"),c.appendChild(b),a=c.getElementsByTagName("a")[0],a.style.cssText="top:1px",l.getSetAttribute="t"!==c.className,l.style=/top/.test(a.getAttribute("style")),l.hrefNormalized="/a"===a.getAttribute("href"),l.checkOn=!!b.value,l.optSelected=f.selected,l.enctype=!!d.createElement("form").enctype,e.disabled=!0,l.optDisabled=!f.disabled,b=d.createElement("input"),b.setAttribute("value",""),l.input=""===b.getAttribute("value"),b.value="t",b.setAttribute("type","radio"),l.radioValue="t"===b.value}();var qb=/\r/g,rb=/[\x20\t\r\n\f]+/g;n.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=n.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,n(this).val()):a,null==e?e="":"number"==typeof e?e+="":n.isArray(e)&&(e=n.map(e,function(a){return null==a?"":a+""})),(b=n.valHooks[this.type]||n.valHooks[this.nodeName.toLowerCase()])&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return(b=n.valHooks[e.type]||n.valHooks[e.nodeName.toLowerCase()])&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(qb,""):null==c?"":c)}}}),n.extend({valHooks:{option:{get:function(a){var b=n.find.attr(a,"value");return null!=b?b:n.trim(n.text(a)).replace(rb," ")}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||e<0,g=f?null:[],h=f?e+1:d.length,i=e<0?h:f?e:0;i<h;i++)if(c=d[i],(c.selected||i===e)&&(l.optDisabled?!c.disabled:null===c.getAttribute("disabled"))&&(!c.parentNode.disabled||!n.nodeName(c.parentNode,"optgroup"))){if(b=n(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=n.makeArray(b),g=e.length;while(g--)if(d=e[g],n.inArray(n.valHooks.option.get(d),f)>-1)try{d.selected=c=!0}catch(h){d.scrollHeight}else d.selected=!1;return c||(a.selectedIndex=-1),e}}}}),n.each(["radio","checkbox"],function(){n.valHooks[this]={set:function(a,b){if(n.isArray(b))return a.checked=n.inArray(n(a).val(),b)>-1}},l.checkOn||(n.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var sb,tb,ub=n.expr.attrHandle,vb=/^(?:checked|selected)$/i,wb=l.getSetAttribute,xb=l.input;n.fn.extend({attr:function(a,b){return X(this,n.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){n.removeAttr(this,a)})}}),n.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return void 0===a.getAttribute?n.prop(a,b,c):(1===f&&n.isXMLDoc(a)||(b=b.toLowerCase(),e=n.attrHooks[b]||(n.expr.match.bool.test(b)?tb:sb)),void 0!==c?null===c?void n.removeAttr(a,b):e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+""),c):e&&"get"in e&&null!==(d=e.get(a,b))?d:(d=n.find.attr(a,b),null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!l.radioValue&&"radio"===b&&n.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(F);if(f&&1===a.nodeType)while(c=f[e++])d=n.propFix[c]||c,n.expr.match.bool.test(c)?xb&&wb||!vb.test(c)?a[d]=!1:a[n.camelCase("default-"+c)]=a[d]=!1:n.attr(a,c,""),a.removeAttribute(wb?c:d)}}),tb={set:function(a,b,c){return!1===b?n.removeAttr(a,c):xb&&wb||!vb.test(c)?a.setAttribute(!wb&&n.propFix[c]||c,c):a[n.camelCase("default-"+c)]=a[c]=!0,c}},n.each(n.expr.match.bool.source.match(/\w+/g),function(a,b){var c=ub[b]||n.find.attr;xb&&wb||!vb.test(b)?ub[b]=function(a,b,d){var e,f;return d||(f=ub[b],ub[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,ub[b]=f),e}:ub[b]=function(a,b,c){if(!c)return a[n.camelCase("default-"+b)]?b.toLowerCase():null}}),xb&&wb||(n.attrHooks.value={set:function(a,b,c){if(!n.nodeName(a,"input"))return sb&&sb.set(a,b,c);a.defaultValue=b}}),wb||(sb={set:function(a,b,c){var d=a.getAttributeNode(c);if(d||a.setAttributeNode(d=a.ownerDocument.createAttribute(c)),d.value=b+="","value"===c||b===a.getAttribute(c))return b}},ub.id=ub.name=ub.coords=function(a,b,c){var d;if(!c)return(d=a.getAttributeNode(b))&&""!==d.value?d.value:null},n.valHooks.button={get:function(a,b){var c=a.getAttributeNode(b);if(c&&c.specified)return c.value},set:sb.set},n.attrHooks.contenteditable={set:function(a,b,c){sb.set(a,""!==b&&b,c)}},n.each(["width","height"],function(a,b){n.attrHooks[b]={set:function(a,c){if(""===c)return a.setAttribute(b,"auto"),c}}})),l.style||(n.attrHooks.style={get:function(a){return a.style.cssText||void 0},set:function(a,b){return a.style.cssText=b+""}});var yb=/^(?:input|select|textarea|button|object)$/i,zb=/^(?:a|area)$/i;n.fn.extend({prop:function(a,b){return X(this,n.prop,a,b,arguments.length>1)},removeProp:function(a){return a=n.propFix[a]||a,this.each(function(){try{this[a]=void 0,delete this[a]}catch(b){}})}}),n.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&n.isXMLDoc(a)||(b=n.propFix[b]||b,e=n.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=n.find.attr(a,"tabindex");return b?parseInt(b,10):yb.test(a.nodeName)||zb.test(a.nodeName)&&a.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),l.hrefNormalized||n.each(["href","src"],function(a,b){n.propHooks[b]={get:function(a){return a.getAttribute(b,4)}}}),l.optSelected||(n.propHooks.selected={get:function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),n.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){n.propFix[this.toLowerCase()]=this}),l.enctype||(n.propFix.enctype="encoding");var Ab=/[\t\r\n\f]/g;function Bb(a){return n.attr(a,"class")||""}n.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(n.isFunction(a))return this.each(function(b){n(this).addClass(a.call(this,b,Bb(this)))});if("string"==typeof a&&a){b=a.match(F)||[];while(c=this[i++])if(e=Bb(c),d=1===c.nodeType&&(" "+e+" ").replace(Ab," ")){g=0;while(f=b[g++])d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=n.trim(d),e!==h&&n.attr(c,"class",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(n.isFunction(a))return this.each(function(b){n(this).removeClass(a.call(this,b,Bb(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a){b=a.match(F)||[];while(c=this[i++])if(e=Bb(c),d=1===c.nodeType&&(" "+e+" ").replace(Ab," ")){g=0;while(f=b[g++])while(d.indexOf(" "+f+" ")>-1)d=d.replace(" "+f+" "," ");h=n.trim(d),e!==h&&n.attr(c,"class",h)}}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):n.isFunction(a)?this.each(function(c){n(this).toggleClass(a.call(this,c,Bb(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c){d=0,e=n(this),f=a.match(F)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&"boolean"!==c||(b=Bb(this),b&&n._data(this,"__className__",b),n.attr(this,"class",b||!1===a?"":n._data(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;b=" "+a+" ";while(c=this[d++])if(1===c.nodeType&&(" "+Bb(c)+" ").replace(Ab," ").indexOf(b)>-1)return!0;return!1}}),n.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){n.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),n.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var Cb=a.location,Db=n.now(),Eb=/\?/,Fb=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;n.parseJSON=function(b){if(a.JSON&&a.JSON.parse)return a.JSON.parse(b+"");var c,d=null,e=n.trim(b+"");return e&&!n.trim(e.replace(Fb,function(a,b,e,f){return c&&b&&(d=0),0===d?a:(c=e||b,d+=!f-!e,"")}))?Function("return "+e)():n.error("Invalid JSON: "+b)},n.parseXML=function(b){var c,d;if(!b||"string"!=typeof b)return null;try{a.DOMParser?(d=new a.DOMParser,c=d.parseFromString(b,"text/xml")):(c=new a.ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b))}catch(e){c=void 0}return c&&c.documentElement&&!c.getElementsByTagName("parsererror").length||n.error("Invalid XML: "+b),c};var Gb=/#.*$/,Hb=/([?&])_=[^&]*/,Ib=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Jb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Kb=/^(?:GET|HEAD)$/,Lb=/^\/\//,Mb=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Nb={},Ob={},Pb="*/".concat("*"),Qb=Cb.href,Rb=Mb.exec(Qb.toLowerCase())||[];function Sb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(F)||[];if(n.isFunction(c))while(d=f[e++])"+"===d.charAt(0)?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Tb(a,b,c,d){var e={},f=a===Ob;function g(h){var i;return e[h]=!0,n.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Ub(a,b){var c,d,e=n.ajaxSettings.flatOptions||{};for(d in b)void 0!==b[d]&&((e[d]?a:c||(c={}))[d]=b[d]);return c&&n.extend(!0,a,c),a}function Vb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===e&&(e=a.mimeType||b.getResponseHeader("Content-Type"));if(e)for(g in h)if(h[g]&&h[g].test(e)){i.unshift(g);break}if(i[0]in c)f=i[0];else{for(g in c){if(!i[0]||a.converters[g+" "+i[0]]){f=g;break}d||(d=g)}f=f||d}if(f)return f!==i[0]&&i.unshift(f),c[f]}function Wb(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(!(g=j[i+" "+f]||j["* "+f]))for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){!0===g?g=j[e]:!0!==j[e]&&(f=h[0],k.unshift(h[1]));break}if(!0!==g)if(g&&a.throws)b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Qb,type:"GET",isLocal:Jb.test(Rb[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Pb,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":n.parseJSON,"text xml":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Ub(Ub(a,n.ajaxSettings),b):Ub(n.ajaxSettings,a)},ajaxPrefilter:Sb(Nb),ajaxTransport:Sb(Ob),ajax:function(b,c){"object"==typeof b&&(c=b,b=void 0),c=c||{};var d,e,f,g,h,i,j,k,l=n.ajaxSetup({},c),m=l.context||l,o=l.context&&(m.nodeType||m.jquery)?n(m):n.event,p=n.Deferred(),q=n.Callbacks("once memory"),r=l.statusCode||{},s={},t={},u=0,v="canceled",w={readyState:0,getResponseHeader:function(a){var b;if(2===u){if(!k){k={};while(b=Ib.exec(g))k[b[1].toLowerCase()]=b[2]}b=k[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===u?g:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return u||(a=t[c]=t[c]||a,s[a]=b),this},overrideMimeType:function(a){return u||(l.mimeType=a),this},statusCode:function(a){var b;if(a)if(u<2)for(b in a)r[b]=[r[b],a[b]];else w.always(a[w.status]);return this},abort:function(a){var b=a||v;return j&&j.abort(b),x(0,b),this}};if(p.promise(w).complete=q.add,w.success=w.done,w.error=w.fail,l.url=((b||l.url||Qb)+"").replace(Gb,"").replace(Lb,Rb[1]+"//"),l.type=c.method||c.type||l.method||l.type,l.dataTypes=n.trim(l.dataType||"*").toLowerCase().match(F)||[""],null==l.crossDomain&&(d=Mb.exec(l.url.toLowerCase()),l.crossDomain=!(!d||d[1]===Rb[1]&&d[2]===Rb[2]&&(d[3]||("http:"===d[1]?"80":"443"))===(Rb[3]||("http:"===Rb[1]?"80":"443")))),l.data&&l.processData&&"string"!=typeof l.data&&(l.data=n.param(l.data,l.traditional)),Tb(Nb,l,c,w),2===u)return w;i=n.event&&l.global,i&&0==n.active++&&n.event.trigger("ajaxStart"),l.type=l.type.toUpperCase(),l.hasContent=!Kb.test(l.type),f=l.url,l.hasContent||(l.data&&(f=l.url+=(Eb.test(f)?"&":"?")+l.data,delete l.data),!1===l.cache&&(l.url=Hb.test(f)?f.replace(Hb,"$1_="+Db++):f+(Eb.test(f)?"&":"?")+"_="+Db++)),l.ifModified&&(n.lastModified[f]&&w.setRequestHeader("If-Modified-Since",n.lastModified[f]),n.etag[f]&&w.setRequestHeader("If-None-Match",n.etag[f])),(l.data&&l.hasContent&&!1!==l.contentType||c.contentType)&&w.setRequestHeader("Content-Type",l.contentType),w.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+("*"!==l.dataTypes[0]?", "+Pb+"; q=0.01":""):l.accepts["*"]);for(e in l.headers)w.setRequestHeader(e,l.headers[e]);if(l.beforeSend&&(!1===l.beforeSend.call(m,w,l)||2===u))return w.abort();v="abort";for(e in{success:1,error:1,complete:1})w[e](l[e]);if(j=Tb(Ob,l,c,w)){if(w.readyState=1,i&&o.trigger("ajaxSend",[w,l]),2===u)return w;l.async&&l.timeout>0&&(h=a.setTimeout(function(){w.abort("timeout")},l.timeout));try{u=1,j.send(s,x)}catch(y){if(!(u<2))throw y;x(-1,y)}}else x(-1,"No Transport");function x(b,c,d,e){var k,s,t,v,x,y=c;2!==u&&(u=2,h&&a.clearTimeout(h),j=void 0,g=e||"",w.readyState=b>0?4:0,k=b>=200&&b<300||304===b,d&&(v=Vb(l,w,d)),v=Wb(l,v,w,k),k?(l.ifModified&&(x=w.getResponseHeader("Last-Modified"),x&&(n.lastModified[f]=x),(x=w.getResponseHeader("etag"))&&(n.etag[f]=x)),204===b||"HEAD"===l.type?y="nocontent":304===b?y="notmodified":(y=v.state,s=v.data,t=v.error,k=!t)):(t=y,!b&&y||(y="error",b<0&&(b=0))),w.status=b,w.statusText=(c||y)+"",k?p.resolveWith(m,[s,y,w]):p.rejectWith(m,[w,y,t]),w.statusCode(r),r=void 0,i&&o.trigger(k?"ajaxSuccess":"ajaxError",[w,l,k?s:t]),q.fireWith(m,[w,y]),i&&(o.trigger("ajaxComplete",[w,l]),--n.active||n.event.trigger("ajaxStop")))}return w},getJSON:function(a,b,c){return n.get(a,b,c,"json")},getScript:function(a,b){return n.get(a,void 0,b,"script")}}),n.each(["get","post"],function(a,b){n[b]=function(a,c,d,e){return n.isFunction(c)&&(e=e||d,d=c,c=void 0),n.ajax(n.extend({url:a,type:b,dataType:e,data:c,success:d},n.isPlainObject(a)&&a))}}),n._evalUrl=function(a){return n.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},n.fn.extend({wrapAll:function(a){if(n.isFunction(a))return this.each(function(b){n(this).wrapAll(a.call(this,b))});if(this[0]){var b=n(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&1===a.firstChild.nodeType)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return n.isFunction(a)?this.each(function(b){n(this).wrapInner(a.call(this,b))}):this.each(function(){var b=n(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=n.isFunction(a);return this.each(function(c){n(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){n.nodeName(this,"body")||n(this).replaceWith(this.childNodes)}).end()}});function Xb(a){return a.style&&a.style.display||n.css(a,"display")}function Yb(a){if(!n.contains(a.ownerDocument||d,a))return!0;while(a&&1===a.nodeType){if("none"===Xb(a)||"hidden"===a.type)return!0;a=a.parentNode}return!1}n.expr.filters.hidden=function(a){return l.reliableHiddenOffsets()?a.offsetWidth<=0&&a.offsetHeight<=0&&!a.getClientRects().length:Yb(a)},n.expr.filters.visible=function(a){return!n.expr.filters.hidden(a)};var Zb=/%20/g,$b=/\[\]$/,_b=/\r?\n/g,ac=/^(?:submit|button|image|reset|file)$/i,bc=/^(?:input|select|textarea|keygen)/i;function cc(a,b,c,d){var e;if(n.isArray(b))n.each(b,function(b,e){c||$b.test(a)?d(a,e):cc(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==n.type(b))d(a,b);else for(e in b)cc(a+"["+e+"]",b[e],c,d)}n.param=function(a,b){var c,d=[],e=function(a,b){b=n.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=n.ajaxSettings&&n.ajaxSettings.traditional),n.isArray(a)||a.jquery&&!n.isPlainObject(a))n.each(a,function(){e(this.name,this.value)});else for(c in a)cc(c,a[c],b,e);return d.join("&").replace(Zb,"+")},n.fn.extend({serialize:function(){return n.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=n.prop(this,"elements");return a?n.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!n(this).is(":disabled")&&bc.test(this.nodeName)&&!ac.test(a)&&(this.checked||!Y.test(a))}).map(function(a,b){var c=n(this).val();return null==c?null:n.isArray(c)?n.map(c,function(a){return{name:b.name,value:a.replace(_b,"\r\n")}}):{name:b.name,value:c.replace(_b,"\r\n")}}).get()}}),n.ajaxSettings.xhr=void 0!==a.ActiveXObject?function(){return this.isLocal?hc():d.documentMode>8?gc():/^(get|post|head|put|delete|options)$/i.test(this.type)&&gc()||hc()}:gc;var dc=0,ec={},fc=n.ajaxSettings.xhr();a.attachEvent&&a.attachEvent("onunload",function(){for(var a in ec)ec[a](void 0,!0)}),l.cors=!!fc&&"withCredentials"in fc,(fc=l.ajax=!!fc)&&n.ajaxTransport(function(b){if(!b.crossDomain||l.cors){var c;return{send:function(d,e){var f,g=b.xhr(),h=++dc;if(g.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(f in b.xhrFields)g[f]=b.xhrFields[f];b.mimeType&&g.overrideMimeType&&g.overrideMimeType(b.mimeType),b.crossDomain||d["X-Requested-With"]||(d["X-Requested-With"]="XMLHttpRequest");for(f in d)void 0!==d[f]&&g.setRequestHeader(f,d[f]+"");g.send(b.hasContent&&b.data||null),c=function(a,d){var f,i,j;if(c&&(d||4===g.readyState))if(delete ec[h],c=void 0,g.onreadystatechange=n.noop,d)4!==g.readyState&&g.abort();else{j={},f=g.status,"string"==typeof g.responseText&&(j.text=g.responseText);try{i=g.statusText}catch(k){i=""}f||!b.isLocal||b.crossDomain?1223===f&&(f=204):f=j.text?200:404}j&&e(f,i,j,g.getAllResponseHeaders())},b.async?4===g.readyState?a.setTimeout(c):g.onreadystatechange=ec[h]=c:c()},abort:function(){c&&c(void 0,!0)}}}});function gc(){try{return new a.XMLHttpRequest}catch(b){}}function hc(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){return n.globalEval(a),a}}}),n.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),n.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=d.head||n("head")[0]||d.documentElement;return{send:function(e,f){b=d.createElement("script"),b.async=!0,a.scriptCharset&&(b.charset=a.scriptCharset),b.src=a.url,b.onload=b.onreadystatechange=function(a,c){(c||!b.readyState||/loaded|complete/.test(b.readyState))&&(b.onload=b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),b=null,c||f(200,"success"))},c.insertBefore(b,c.firstChild)},abort:function(){b&&b.onload(void 0,!0)}}}});var ic=[],jc=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=ic.pop()||n.expando+"_"+Db++;return this[a]=!0,a}}),n.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=!1!==b.jsonp&&(jc.test(b.url)?"url":"string"==typeof b.data&&0===(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&jc.test(b.data)&&"data");if(h||"jsonp"===b.dataTypes[0])return e=b.jsonpCallback=n.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(jc,"$1"+e):!1!==b.jsonp&&(b.url+=(Eb.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||n.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){void 0===f?n(a).removeProp(e):a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,ic.push(e)),g&&n.isFunction(f)&&f(g[0]),g=f=void 0}),"script"}),n.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||d;var e=x.exec(a),f=!c&&[];return e?[b.createElement(e[1])]:(e=ia([a],b,f),f&&f.length&&n(f).remove(),n.merge([],e.childNodes))};var kc=n.fn.load;n.fn.load=function(a,b,c){if("string"!=typeof a&&kc)return kc.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>-1&&(d=n.trim(a.slice(h,a.length)),a=a.slice(0,h)),n.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&n.ajax({url:a,type:e||"GET",dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?n("<div>").append(n.parseHTML(a)).find(d):a)}).always(c&&function(a,b){g.each(function(){c.apply(this,f||[a.responseText,b,a])})}),this},n.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){n.fn[b]=function(a){return this.on(b,a)}}),n.expr.filters.animated=function(a){return n.grep(n.timers,function(b){return a===b.elem}).length};function lc(a){return n.isWindow(a)?a:9===a.nodeType&&(a.defaultView||a.parentWindow)}n.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=n.css(a,"position"),l=n(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=n.css(a,"top"),i=n.css(a,"left"),j=("absolute"===k||"fixed"===k)&&n.inArray("auto",[f,i])>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),n.isFunction(b)&&(b=b.call(a,c,n.extend({},h))),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},n.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){n.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},e=this[0],f=e&&e.ownerDocument;if(f)return b=f.documentElement,n.contains(b,e)?(void 0!==e.getBoundingClientRect&&(d=e.getBoundingClientRect()),c=lc(f),{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this[0]){var a,b,c={top:0,left:0},d=this[0];return"fixed"===n.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),n.nodeName(a[0],"html")||(c=a.offset()),c.top+=n.css(a[0],"borderTopWidth",!0),c.left+=n.css(a[0],"borderLeftWidth",!0)),{top:b.top-c.top-n.css(d,"marginTop",!0),left:b.left-c.left-n.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent;while(a&&!n.nodeName(a,"html")&&"static"===n.css(a,"position"))a=a.offsetParent;return a||Pa})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);n.fn[a]=function(d){return X(this,function(a,d,e){var f=lc(a);if(void 0===e)return f?b in f?f[b]:f.document.documentElement[d]:a[d];f?f.scrollTo(c?n(f).scrollLeft():e,c?e:n(f).scrollTop()):a[d]=e},a,d,arguments.length,null)}}),n.each(["top","left"],function(a,b){n.cssHooks[b]=Ta(l.pixelPosition,function(a,c){if(c)return c=Ra(a,b),Na.test(c)?n(a).position()[b]+"px":c})}),n.each({Height:"height",Width:"width"},function(a,b){n.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){n.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(!0===d||!0===e?"margin":"border")
|
5 |
+
;return X(this,function(b,c,d){var e;return n.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?n.css(b,c,g):n.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),n.fn.extend({bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}}),n.fn.size=function(){return this.length},n.fn.andSelf=n.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return n});var mc=a.jQuery,nc=a.$;return n.noConflict=function(b){return a.$===n&&(a.$=nc),b&&a.jQuery===n&&(a.jQuery=mc),n},b||(a.jQuery=a.$=n),n});
|
6 |
jQuery.noConflict();
|
components/assets-manager/assets/js/libs/wam-pnotify-confirm.js
CHANGED
@@ -1,790 +1,790 @@
|
|
1 |
-
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
2 |
-
|
3 |
-
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
4 |
-
|
5 |
-
/* src/PNotifyConfirm.html generated by Svelte v2.16.1 */
|
6 |
-
var WamPnotifyConfirm = function (PNotify) {
|
7 |
-
"use strict";
|
8 |
-
|
9 |
-
PNotify = PNotify && PNotify.__esModule ? PNotify["default"] : PNotify;
|
10 |
-
|
11 |
-
function data() {
|
12 |
-
return _extends({
|
13 |
-
'_notice': null, // The PNotify notice.
|
14 |
-
'_options': {} // The options for the notice.
|
15 |
-
}, PNotify.modules.Confirm.defaults);
|
16 |
-
};
|
17 |
-
|
18 |
-
var methods = {
|
19 |
-
initModule: function initModule(options) {
|
20 |
-
this.set(options);
|
21 |
-
},
|
22 |
-
afterOpen: function afterOpen() {
|
23 |
-
if (this.get().prompt && this.get().focus !== false) {
|
24 |
-
if (this.get().promptMultiLine) {
|
25 |
-
this.refs.promptMulti.focus();
|
26 |
-
} else {
|
27 |
-
this.refs.promptSingle.focus();
|
28 |
-
}
|
29 |
-
} else if (this.get().confirm && (this.get().focus === true || this.get().focus === null && this.get()._options.stack.modal)) {
|
30 |
-
var buttons = this.get().buttons;
|
31 |
-
if (buttons.length) {
|
32 |
-
var i = buttons.length - 1;
|
33 |
-
while (i >= 0) {
|
34 |
-
if (buttons[i].promptTrigger) {
|
35 |
-
break;
|
36 |
-
}
|
37 |
-
i--;
|
38 |
-
}
|
39 |
-
this.refs.buttons.children[i].focus();
|
40 |
-
}
|
41 |
-
}
|
42 |
-
},
|
43 |
-
handleClick: function handleClick(button, event) {
|
44 |
-
if (button.click) {
|
45 |
-
button.click(this.get()._notice, this.get().prompt ? this.get().promptValue : null, event);
|
46 |
-
}
|
47 |
-
},
|
48 |
-
handleKeyPress: function handleKeyPress(event) {
|
49 |
-
if (event.keyCode === 13 && !event.shiftKey) {
|
50 |
-
event.preventDefault();
|
51 |
-
|
52 |
-
var _get = this.get(),
|
53 |
-
buttons = _get.buttons;
|
54 |
-
|
55 |
-
for (var i = 0; i < buttons.length; i++) {
|
56 |
-
if (buttons[i].promptTrigger && buttons[i].click) {
|
57 |
-
buttons[i].click(this.get()._notice, this.get().prompt ? this.get().promptValue : null, event);
|
58 |
-
}
|
59 |
-
}
|
60 |
-
}
|
61 |
-
}
|
62 |
-
};
|
63 |
-
|
64 |
-
function oncreate() {
|
65 |
-
this.fire('init', { module: this });
|
66 |
-
};
|
67 |
-
|
68 |
-
function setup(Component) {
|
69 |
-
Component.key = 'Confirm';
|
70 |
-
|
71 |
-
Component.defaults = {
|
72 |
-
// Make a confirmation box.
|
73 |
-
confirm: false,
|
74 |
-
// Make a prompt.
|
75 |
-
prompt: false,
|
76 |
-
// Classes to add to the input element of the prompt.
|
77 |
-
promptClass: '',
|
78 |
-
// The value of the prompt.
|
79 |
-
promptValue: '',
|
80 |
-
// Whether the prompt should accept multiple lines of text.
|
81 |
-
promptMultiLine: false,
|
82 |
-
// For confirmation boxes, true means the first button or the button with promptTrigger will be focused, and null means focus will change only for modal notices. For prompts, true or null means focus the prompt. When false, focus will not change.
|
83 |
-
focus: null,
|
84 |
-
// Where to align the buttons. (flex-start, center, flex-end, space-around, space-between)
|
85 |
-
align: 'flex-end',
|
86 |
-
// The buttons to display, and their callbacks.
|
87 |
-
buttons: [{
|
88 |
-
text: 'Ok',
|
89 |
-
textTrusted: false,
|
90 |
-
addClass: '',
|
91 |
-
primary: true,
|
92 |
-
// Whether to trigger this button when the user hits enter in a single line prompt. Also, focus the button if it is a modal prompt.
|
93 |
-
promptTrigger: true,
|
94 |
-
click: function click(notice, value) {
|
95 |
-
notice.close();
|
96 |
-
notice.fire('pnotify.confirm', { notice: notice, value: value });
|
97 |
-
}
|
98 |
-
}, {
|
99 |
-
text: 'Cancel',
|
100 |
-
textTrusted: false,
|
101 |
-
addClass: '',
|
102 |
-
click: function click(notice) {
|
103 |
-
notice.close();
|
104 |
-
notice.fire('pnotify.cancel', { notice: notice });
|
105 |
-
}
|
106 |
-
}]
|
107 |
-
};
|
108 |
-
|
109 |
-
// Register the module with PNotify.
|
110 |
-
PNotify.modules.Confirm = Component;
|
111 |
-
// Append this module to the container.
|
112 |
-
PNotify.modulesAppendContainer.push(Component);
|
113 |
-
|
114 |
-
// Add button styles to styling objects.
|
115 |
-
_extends(PNotify.styling.brighttheme, {
|
116 |
-
actionBar: '',
|
117 |
-
promptBar: '',
|
118 |
-
btn: '',
|
119 |
-
btnPrimary: 'brighttheme-primary',
|
120 |
-
input: ''
|
121 |
-
});
|
122 |
-
_extends(PNotify.styling.bootstrap3, {
|
123 |
-
actionBar: 'ui-pnotify-confirm-ml',
|
124 |
-
promptBar: 'ui-pnotify-confirm-ml',
|
125 |
-
btn: 'btn btn-default ui-pnotify-confirm-mx-1',
|
126 |
-
btnPrimary: 'btn btn-default ui-pnotify-confirm-mx-1 btn-primary',
|
127 |
-
input: 'form-control'
|
128 |
-
});
|
129 |
-
_extends(PNotify.styling.bootstrap4, {
|
130 |
-
actionBar: 'ui-pnotify-confirm-ml',
|
131 |
-
promptBar: 'ui-pnotify-confirm-ml',
|
132 |
-
btn: 'btn btn-secondary mx-1',
|
133 |
-
btnPrimary: 'btn btn-primary mx-1',
|
134 |
-
input: 'form-control'
|
135 |
-
});
|
136 |
-
if (!PNotify.styling.material) {
|
137 |
-
PNotify.styling.material = {};
|
138 |
-
}
|
139 |
-
_extends(PNotify.styling.material, {
|
140 |
-
actionBar: '',
|
141 |
-
promptBar: '',
|
142 |
-
btn: '',
|
143 |
-
btnPrimary: 'ui-pnotify-material-primary',
|
144 |
-
input: ''
|
145 |
-
});
|
146 |
-
};
|
147 |
-
|
148 |
-
function add_css() {
|
149 |
-
var style = createElement("style");
|
150 |
-
style.id = 'svelte-1y9suua-style';
|
151 |
-
style.textContent = ".ui-pnotify-action-bar.svelte-1y9suua,.ui-pnotify-prompt-bar.svelte-1y9suua{margin-top:5px;clear:both}.ui-pnotify-action-bar.svelte-1y9suua{display:flex;flex-wrap:wrap;justify-content:flex-end}.ui-pnotify-prompt-input.svelte-1y9suua{margin-bottom:5px;display:block;width:100%}.ui-pnotify-confirm-mx-1.svelte-1y9suua{margin:0 5px}.ui-pnotify.ui-pnotify-with-icon .ui-pnotify-confirm-ml.svelte-1y9suua{margin-left:24px}[dir=rtl] .ui-pnotify.ui-pnotify-with-icon .ui-pnotify-confirm-ml.svelte-1y9suua{margin-right:24px;margin-left:0}";
|
152 |
-
append(document.head, style);
|
153 |
-
}
|
154 |
-
|
155 |
-
function click_handler(event) {
|
156 |
-
var _svelte = this._svelte,
|
157 |
-
component = _svelte.component,
|
158 |
-
ctx = _svelte.ctx;
|
159 |
-
|
160 |
-
|
161 |
-
component.handleClick(ctx.button, event);
|
162 |
-
}
|
163 |
-
|
164 |
-
function get_each_context(ctx, list, i) {
|
165 |
-
var child_ctx = Object.create(ctx);
|
166 |
-
child_ctx.button = list[i];
|
167 |
-
return child_ctx;
|
168 |
-
}
|
169 |
-
|
170 |
-
function create_main_fragment(component, ctx) {
|
171 |
-
var if_block_anchor;
|
172 |
-
|
173 |
-
var if_block = (ctx.confirm || ctx.prompt) && create_if_block(component, ctx);
|
174 |
-
|
175 |
-
return {
|
176 |
-
c: function c() {
|
177 |
-
if (if_block) if_block.c();
|
178 |
-
if_block_anchor = createComment();
|
179 |
-
},
|
180 |
-
m: function m(target, anchor) {
|
181 |
-
if (if_block) if_block.m(target, anchor);
|
182 |
-
insert(target, if_block_anchor, anchor);
|
183 |
-
},
|
184 |
-
p: function p(changed, ctx) {
|
185 |
-
if (ctx.confirm || ctx.prompt) {
|
186 |
-
if (if_block) {
|
187 |
-
if_block.p(changed, ctx);
|
188 |
-
} else {
|
189 |
-
if_block = create_if_block(component, ctx);
|
190 |
-
if_block.c();
|
191 |
-
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
192 |
-
}
|
193 |
-
} else if (if_block) {
|
194 |
-
if_block.d(1);
|
195 |
-
if_block = null;
|
196 |
-
}
|
197 |
-
},
|
198 |
-
d: function d(detach) {
|
199 |
-
if (if_block) if_block.d(detach);
|
200 |
-
if (detach) {
|
201 |
-
detachNode(if_block_anchor);
|
202 |
-
}
|
203 |
-
}
|
204 |
-
};
|
205 |
-
}
|
206 |
-
|
207 |
-
// (1:0) {#if confirm || prompt}
|
208 |
-
function create_if_block(component, ctx) {
|
209 |
-
var div1, text, div0, div0_class_value;
|
210 |
-
|
211 |
-
var if_block = ctx.prompt && create_if_block_2(component, ctx);
|
212 |
-
|
213 |
-
var each_value = ctx.buttons;
|
214 |
-
|
215 |
-
var each_blocks = [];
|
216 |
-
|
217 |
-
for (var i = 0; i < each_value.length; i += 1) {
|
218 |
-
each_blocks[i] = create_each_block(component, get_each_context(ctx, each_value, i));
|
219 |
-
}
|
220 |
-
|
221 |
-
return {
|
222 |
-
c: function c() {
|
223 |
-
div1 = createElement("div");
|
224 |
-
if (if_block) if_block.c();
|
225 |
-
text = createText("\n ");
|
226 |
-
div0 = createElement("div");
|
227 |
-
|
228 |
-
for (var i = 0; i < each_blocks.length; i += 1) {
|
229 |
-
each_blocks[i].c();
|
230 |
-
}
|
231 |
-
div0.className = div0_class_value = "\n ui-pnotify-action-bar\n " + (ctx._notice.get()._styles.actionBar ? ctx._notice.get()._styles.actionBar : '') + "\n " + (ctx._notice.get()._styles.text ? ctx._notice.get()._styles.text : '') + "\n " + " svelte-1y9suua";
|
232 |
-
setStyle(div0, "justify-content", ctx.align);
|
233 |
-
div1.className = "ui-pnotify-confirm";
|
234 |
-
},
|
235 |
-
m: function m(target, anchor) {
|
236 |
-
insert(target, div1, anchor);
|
237 |
-
if (if_block) if_block.m(div1, null);
|
238 |
-
append(div1, text);
|
239 |
-
append(div1, div0);
|
240 |
-
|
241 |
-
for (var i = 0; i < each_blocks.length; i += 1) {
|
242 |
-
each_blocks[i].m(div0, null);
|
243 |
-
}
|
244 |
-
|
245 |
-
component.refs.buttons = div0;
|
246 |
-
},
|
247 |
-
p: function p(changed, ctx) {
|
248 |
-
if (ctx.prompt) {
|
249 |
-
if (if_block) {
|
250 |
-
if_block.p(changed, ctx);
|
251 |
-
} else {
|
252 |
-
if_block = create_if_block_2(component, ctx);
|
253 |
-
if_block.c();
|
254 |
-
if_block.m(div1, text);
|
255 |
-
}
|
256 |
-
} else if (if_block) {
|
257 |
-
if_block.d(1);
|
258 |
-
if_block = null;
|
259 |
-
}
|
260 |
-
|
261 |
-
if (changed.buttons || changed._notice) {
|
262 |
-
each_value = ctx.buttons;
|
263 |
-
|
264 |
-
for (var i = 0; i < each_value.length; i += 1) {
|
265 |
-
var child_ctx = get_each_context(ctx, each_value, i);
|
266 |
-
|
267 |
-
if (each_blocks[i]) {
|
268 |
-
each_blocks[i].p(changed, child_ctx);
|
269 |
-
} else {
|
270 |
-
each_blocks[i] = create_each_block(component, child_ctx);
|
271 |
-
each_blocks[i].c();
|
272 |
-
each_blocks[i].m(div0, null);
|
273 |
-
}
|
274 |
-
}
|
275 |
-
|
276 |
-
for (; i < each_blocks.length; i += 1) {
|
277 |
-
each_blocks[i].d(1);
|
278 |
-
}
|
279 |
-
each_blocks.length = each_value.length;
|
280 |
-
}
|
281 |
-
|
282 |
-
if (changed._notice && div0_class_value !== (div0_class_value = "\n ui-pnotify-action-bar\n " + (ctx._notice.get()._styles.actionBar ? ctx._notice.get()._styles.actionBar : '') + "\n " + (ctx._notice.get()._styles.text ? ctx._notice.get()._styles.text : '') + "\n " + " svelte-1y9suua")) {
|
283 |
-
div0.className = div0_class_value;
|
284 |
-
}
|
285 |
-
|
286 |
-
if (changed.align) {
|
287 |
-
setStyle(div0, "justify-content", ctx.align);
|
288 |
-
}
|
289 |
-
},
|
290 |
-
d: function d(detach) {
|
291 |
-
if (detach) {
|
292 |
-
detachNode(div1);
|
293 |
-
}
|
294 |
-
|
295 |
-
if (if_block) if_block.d();
|
296 |
-
|
297 |
-
destroyEach(each_blocks, detach);
|
298 |
-
|
299 |
-
if (component.refs.buttons === div0) component.refs.buttons = null;
|
300 |
-
}
|
301 |
-
};
|
302 |
-
}
|
303 |
-
|
304 |
-
// (3:4) {#if prompt}
|
305 |
-
function create_if_block_2(component, ctx) {
|
306 |
-
var div, div_class_value;
|
307 |
-
|
308 |
-
function select_block_type(ctx) {
|
309 |
-
if (ctx.promptMultiLine) return create_if_block_3;
|
310 |
-
return create_else_block_1;
|
311 |
-
}
|
312 |
-
|
313 |
-
var current_block_type = select_block_type(ctx);
|
314 |
-
var if_block = current_block_type(component, ctx);
|
315 |
-
|
316 |
-
return {
|
317 |
-
c: function c() {
|
318 |
-
div = createElement("div");
|
319 |
-
if_block.c();
|
320 |
-
div.className = div_class_value = "\n ui-pnotify-prompt-bar\n " + (ctx._notice.get()._styles.promptBar ? ctx._notice.get()._styles.promptBar : '') + "\n " + (ctx._notice.get()._styles.text ? ctx._notice.get()._styles.text : '') + "\n " + " svelte-1y9suua";
|
321 |
-
},
|
322 |
-
m: function m(target, anchor) {
|
323 |
-
insert(target, div, anchor);
|
324 |
-
if_block.m(div, null);
|
325 |
-
},
|
326 |
-
p: function p(changed, ctx) {
|
327 |
-
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
|
328 |
-
if_block.p(changed, ctx);
|
329 |
-
} else {
|
330 |
-
if_block.d(1);
|
331 |
-
if_block = current_block_type(component, ctx);
|
332 |
-
if_block.c();
|
333 |
-
if_block.m(div, null);
|
334 |
-
}
|
335 |
-
|
336 |
-
if (changed._notice && div_class_value !== (div_class_value = "\n ui-pnotify-prompt-bar\n " + (ctx._notice.get()._styles.promptBar ? ctx._notice.get()._styles.promptBar : '') + "\n " + (ctx._notice.get()._styles.text ? ctx._notice.get()._styles.text : '') + "\n " + " svelte-1y9suua")) {
|
337 |
-
div.className = div_class_value;
|
338 |
-
}
|
339 |
-
},
|
340 |
-
d: function d(detach) {
|
341 |
-
if (detach) {
|
342 |
-
detachNode(div);
|
343 |
-
}
|
344 |
-
|
345 |
-
if_block.d();
|
346 |
-
}
|
347 |
-
};
|
348 |
-
}
|
349 |
-
|
350 |
-
// (21:8) {:else}
|
351 |
-
function create_else_block_1(component, ctx) {
|
352 |
-
var input,
|
353 |
-
input_updating = false,
|
354 |
-
input_class_value;
|
355 |
-
|
356 |
-
function input_input_handler() {
|
357 |
-
input_updating = true;
|
358 |
-
component.set({ promptValue: input.value });
|
359 |
-
input_updating = false;
|
360 |
-
}
|
361 |
-
|
362 |
-
function keypress_handler(event) {
|
363 |
-
component.handleKeyPress(event);
|
364 |
-
}
|
365 |
-
|
366 |
-
return {
|
367 |
-
c: function c() {
|
368 |
-
input = createElement("input");
|
369 |
-
addListener(input, "input", input_input_handler);
|
370 |
-
addListener(input, "keypress", keypress_handler);
|
371 |
-
setAttribute(input, "type", "text");
|
372 |
-
input.className = input_class_value = "\n ui-pnotify-prompt-input\n " + (ctx._notice.get()._styles.input ? ctx._notice.get()._styles.input : '') + "\n " + ctx.promptClass + "\n " + " svelte-1y9suua";
|
373 |
-
},
|
374 |
-
m: function m(target, anchor) {
|
375 |
-
insert(target, input, anchor);
|
376 |
-
component.refs.promptSingle = input;
|
377 |
-
|
378 |
-
input.value = ctx.promptValue;
|
379 |
-
},
|
380 |
-
p: function p(changed, ctx) {
|
381 |
-
if (!input_updating && changed.promptValue) input.value = ctx.promptValue;
|
382 |
-
if ((changed._notice || changed.promptClass) && input_class_value !== (input_class_value = "\n ui-pnotify-prompt-input\n " + (ctx._notice.get()._styles.input ? ctx._notice.get()._styles.input : '') + "\n " + ctx.promptClass + "\n " + " svelte-1y9suua")) {
|
383 |
-
input.className = input_class_value;
|
384 |
-
}
|
385 |
-
},
|
386 |
-
d: function d(detach) {
|
387 |
-
if (detach) {
|
388 |
-
detachNode(input);
|
389 |
-
}
|
390 |
-
|
391 |
-
removeListener(input, "input", input_input_handler);
|
392 |
-
removeListener(input, "keypress", keypress_handler);
|
393 |
-
if (component.refs.promptSingle === input) component.refs.promptSingle = null;
|
394 |
-
}
|
395 |
-
};
|
396 |
-
}
|
397 |
-
|
398 |
-
// (10:8) {#if promptMultiLine}
|
399 |
-
function create_if_block_3(component, ctx) {
|
400 |
-
var textarea,
|
401 |
-
textarea_updating = false,
|
402 |
-
textarea_class_value;
|
403 |
-
|
404 |
-
function textarea_input_handler() {
|
405 |
-
textarea_updating = true;
|
406 |
-
component.set({ promptValue: textarea.value });
|
407 |
-
textarea_updating = false;
|
408 |
-
}
|
409 |
-
|
410 |
-
function keypress_handler(event) {
|
411 |
-
component.handleKeyPress(event);
|
412 |
-
}
|
413 |
-
|
414 |
-
return {
|
415 |
-
c: function c() {
|
416 |
-
textarea = createElement("textarea");
|
417 |
-
addListener(textarea, "input", textarea_input_handler);
|
418 |
-
addListener(textarea, "keypress", keypress_handler);
|
419 |
-
textarea.rows = "5";
|
420 |
-
textarea.className = textarea_class_value = "\n ui-pnotify-prompt-input\n " + (ctx._notice.get()._styles.input ? ctx._notice.get()._styles.input : '') + "\n " + ctx.promptClass + "\n " + " svelte-1y9suua";
|
421 |
-
},
|
422 |
-
m: function m(target, anchor) {
|
423 |
-
insert(target, textarea, anchor);
|
424 |
-
component.refs.promptMulti = textarea;
|
425 |
-
|
426 |
-
textarea.value = ctx.promptValue;
|
427 |
-
},
|
428 |
-
p: function p(changed, ctx) {
|
429 |
-
if (!textarea_updating && changed.promptValue) textarea.value = ctx.promptValue;
|
430 |
-
if ((changed._notice || changed.promptClass) && textarea_class_value !== (textarea_class_value = "\n ui-pnotify-prompt-input\n " + (ctx._notice.get()._styles.input ? ctx._notice.get()._styles.input : '') + "\n " + ctx.promptClass + "\n " + " svelte-1y9suua")) {
|
431 |
-
textarea.className = textarea_class_value;
|
432 |
-
}
|
433 |
-
},
|
434 |
-
d: function d(detach) {
|
435 |
-
if (detach) {
|
436 |
-
detachNode(textarea);
|
437 |
-
}
|
438 |
-
|
439 |
-
removeListener(textarea, "input", textarea_input_handler);
|
440 |
-
removeListener(textarea, "keypress", keypress_handler);
|
441 |
-
if (component.refs.promptMulti === textarea) component.refs.promptMulti = null;
|
442 |
-
}
|
443 |
-
};
|
444 |
-
}
|
445 |
-
|
446 |
-
// (51:57) {:else}
|
447 |
-
function create_else_block(component, ctx) {
|
448 |
-
var text_value = ctx.button.text,
|
449 |
-
text;
|
450 |
-
|
451 |
-
return {
|
452 |
-
c: function c() {
|
453 |
-
text = createText(text_value);
|
454 |
-
},
|
455 |
-
m: function m(target, anchor) {
|
456 |
-
insert(target, text, anchor);
|
457 |
-
},
|
458 |
-
p: function p(changed, ctx) {
|
459 |
-
if (changed.buttons && text_value !== (text_value = ctx.button.text)) {
|
460 |
-
setData(text, text_value);
|
461 |
-
}
|
462 |
-
},
|
463 |
-
d: function d(detach) {
|
464 |
-
if (detach) {
|
465 |
-
detachNode(text);
|
466 |
-
}
|
467 |
-
}
|
468 |
-
};
|
469 |
-
}
|
470 |
-
|
471 |
-
// (51:14) {#if button.textTrusted}
|
472 |
-
function create_if_block_1(component, ctx) {
|
473 |
-
var raw_value = ctx.button.text,
|
474 |
-
raw_before,
|
475 |
-
raw_after;
|
476 |
-
|
477 |
-
return {
|
478 |
-
c: function c() {
|
479 |
-
raw_before = createElement('noscript');
|
480 |
-
raw_after = createElement('noscript');
|
481 |
-
},
|
482 |
-
m: function m(target, anchor) {
|
483 |
-
insert(target, raw_before, anchor);
|
484 |
-
raw_before.insertAdjacentHTML("afterend", raw_value);
|
485 |
-
insert(target, raw_after, anchor);
|
486 |
-
},
|
487 |
-
p: function p(changed, ctx) {
|
488 |
-
if (changed.buttons && raw_value !== (raw_value = ctx.button.text)) {
|
489 |
-
detachBetween(raw_before, raw_after);
|
490 |
-
raw_before.insertAdjacentHTML("afterend", raw_value);
|
491 |
-
}
|
492 |
-
},
|
493 |
-
d: function d(detach) {
|
494 |
-
if (detach) {
|
495 |
-
detachBetween(raw_before, raw_after);
|
496 |
-
detachNode(raw_before);
|
497 |
-
detachNode(raw_after);
|
498 |
-
}
|
499 |
-
}
|
500 |
-
};
|
501 |
-
}
|
502 |
-
|
503 |
-
// (43:6) {#each buttons as button}
|
504 |
-
function create_each_block(component, ctx) {
|
505 |
-
var button, button_class_value;
|
506 |
-
|
507 |
-
function select_block_type_1(ctx) {
|
508 |
-
if (ctx.button.textTrusted) return create_if_block_1;
|
509 |
-
return create_else_block;
|
510 |
-
}
|
511 |
-
|
512 |
-
var current_block_type = select_block_type_1(ctx);
|
513 |
-
var if_block = current_block_type(component, ctx);
|
514 |
-
|
515 |
-
return {
|
516 |
-
c: function c() {
|
517 |
-
button = createElement("button");
|
518 |
-
if_block.c();
|
519 |
-
button._svelte = { component: component, ctx: ctx };
|
520 |
-
|
521 |
-
addListener(button, "click", click_handler);
|
522 |
-
button.type = "button";
|
523 |
-
button.className = button_class_value = "\n ui-pnotify-action-button\n " + (ctx.button.primary ? ctx._notice.get()._styles.btnPrimary ? ctx._notice.get()._styles.btnPrimary : '' : ctx._notice.get()._styles.btn ? ctx._notice.get()._styles.btn : '') + "\n " + (ctx.button.addClass ? ctx.button.addClass : '') + "\n " + " svelte-1y9suua";
|
524 |
-
},
|
525 |
-
m: function m(target, anchor) {
|
526 |
-
insert(target, button, anchor);
|
527 |
-
if_block.m(button, null);
|
528 |
-
},
|
529 |
-
p: function p(changed, _ctx) {
|
530 |
-
ctx = _ctx;
|
531 |
-
if (current_block_type === (current_block_type = select_block_type_1(ctx)) && if_block) {
|
532 |
-
if_block.p(changed, ctx);
|
533 |
-
} else {
|
534 |
-
if_block.d(1);
|
535 |
-
if_block = current_block_type(component, ctx);
|
536 |
-
if_block.c();
|
537 |
-
if_block.m(button, null);
|
538 |
-
}
|
539 |
-
|
540 |
-
button._svelte.ctx = ctx;
|
541 |
-
if ((changed.buttons || changed._notice) && button_class_value !== (button_class_value = "\n ui-pnotify-action-button\n " + (ctx.button.primary ? ctx._notice.get()._styles.btnPrimary ? ctx._notice.get()._styles.btnPrimary : '' : ctx._notice.get()._styles.btn ? ctx._notice.get()._styles.btn : '') + "\n " + (ctx.button.addClass ? ctx.button.addClass : '') + "\n " + " svelte-1y9suua")) {
|
542 |
-
button.className = button_class_value;
|
543 |
-
}
|
544 |
-
},
|
545 |
-
d: function d(detach) {
|
546 |
-
if (detach) {
|
547 |
-
detachNode(button);
|
548 |
-
}
|
549 |
-
|
550 |
-
if_block.d();
|
551 |
-
removeListener(button, "click", click_handler);
|
552 |
-
}
|
553 |
-
};
|
554 |
-
}
|
555 |
-
|
556 |
-
function PNotifyConfirm(options) {
|
557 |
-
var _this = this;
|
558 |
-
|
559 |
-
init(this, options);
|
560 |
-
this.refs = {};
|
561 |
-
this._state = assign(data(), options.data);
|
562 |
-
this._intro = true;
|
563 |
-
|
564 |
-
if (!document.getElementById("svelte-1y9suua-style")) add_css();
|
565 |
-
|
566 |
-
this._fragment = create_main_fragment(this, this._state);
|
567 |
-
|
568 |
-
this.root._oncreate.push(function () {
|
569 |
-
oncreate.call(_this);
|
570 |
-
_this.fire("update", { changed: assignTrue({}, _this._state), current: _this._state });
|
571 |
-
});
|
572 |
-
|
573 |
-
if (options.target) {
|
574 |
-
this._fragment.c();
|
575 |
-
this._mount(options.target, options.anchor);
|
576 |
-
|
577 |
-
flush(this);
|
578 |
-
}
|
579 |
-
}
|
580 |
-
|
581 |
-
assign(PNotifyConfirm.prototype, {
|
582 |
-
destroy: destroy,
|
583 |
-
get: get,
|
584 |
-
fire: fire,
|
585 |
-
on: on,
|
586 |
-
set: set,
|
587 |
-
_set: _set,
|
588 |
-
_stage: _stage,
|
589 |
-
_mount: _mount,
|
590 |
-
_differs: _differs
|
591 |
-
});
|
592 |
-
assign(PNotifyConfirm.prototype, methods);
|
593 |
-
|
594 |
-
PNotifyConfirm.prototype._recompute = noop;
|
595 |
-
|
596 |
-
setup(PNotifyConfirm);
|
597 |
-
|
598 |
-
function createElement(name) {
|
599 |
-
return document.createElement(name);
|
600 |
-
}
|
601 |
-
|
602 |
-
function append(target, node) {
|
603 |
-
target.appendChild(node);
|
604 |
-
}
|
605 |
-
|
606 |
-
function createComment() {
|
607 |
-
return document.createComment('');
|
608 |
-
}
|
609 |
-
|
610 |
-
function insert(target, node, anchor) {
|
611 |
-
target.insertBefore(node, anchor);
|
612 |
-
}
|
613 |
-
|
614 |
-
function detachNode(node) {
|
615 |
-
node.parentNode.removeChild(node);
|
616 |
-
}
|
617 |
-
|
618 |
-
function createText(data) {
|
619 |
-
return document.createTextNode(data);
|
620 |
-
}
|
621 |
-
|
622 |
-
function setStyle(node, key, value) {
|
623 |
-
node.style.setProperty(key, value);
|
624 |
-
}
|
625 |
-
|
626 |
-
function destroyEach(iterations, detach) {
|
627 |
-
for (var i = 0; i < iterations.length; i += 1) {
|
628 |
-
if (iterations[i]) iterations[i].d(detach);
|
629 |
-
}
|
630 |
-
}
|
631 |
-
|
632 |
-
function addListener(node, event, handler, options) {
|
633 |
-
node.addEventListener(event, handler, options);
|
634 |
-
}
|
635 |
-
|
636 |
-
function setAttribute(node, attribute, value) {
|
637 |
-
if (value == null) node.removeAttribute(attribute);else node.setAttribute(attribute, value);
|
638 |
-
}
|
639 |
-
|
640 |
-
function removeListener(node, event, handler, options) {
|
641 |
-
node.removeEventListener(event, handler, options);
|
642 |
-
}
|
643 |
-
|
644 |
-
function setData(text, data) {
|
645 |
-
text.data = '' + data;
|
646 |
-
}
|
647 |
-
|
648 |
-
function detachBetween(before, after) {
|
649 |
-
while (before.nextSibling && before.nextSibling !== after) {
|
650 |
-
before.parentNode.removeChild(before.nextSibling);
|
651 |
-
}
|
652 |
-
}
|
653 |
-
|
654 |
-
function init(component, options) {
|
655 |
-
component._handlers = blankObject();
|
656 |
-
component._slots = blankObject();
|
657 |
-
component._bind = options._bind;
|
658 |
-
component._staged = {};
|
659 |
-
|
660 |
-
component.options = options;
|
661 |
-
component.root = options.root || component;
|
662 |
-
component.store = options.store || component.root.store;
|
663 |
-
|
664 |
-
if (!options.root) {
|
665 |
-
component._beforecreate = [];
|
666 |
-
component._oncreate = [];
|
667 |
-
component._aftercreate = [];
|
668 |
-
}
|
669 |
-
}
|
670 |
-
|
671 |
-
function assign(tar, src) {
|
672 |
-
for (var k in src) {
|
673 |
-
tar[k] = src[k];
|
674 |
-
}return tar;
|
675 |
-
}
|
676 |
-
|
677 |
-
function assignTrue(tar, src) {
|
678 |
-
for (var k in src) {
|
679 |
-
tar[k] = 1;
|
680 |
-
}return tar;
|
681 |
-
}
|
682 |
-
|
683 |
-
function flush(component) {
|
684 |
-
component._lock = true;
|
685 |
-
callAll(component._beforecreate);
|
686 |
-
callAll(component._oncreate);
|
687 |
-
callAll(component._aftercreate);
|
688 |
-
component._lock = false;
|
689 |
-
}
|
690 |
-
|
691 |
-
function destroy(detach) {
|
692 |
-
this.destroy = noop;
|
693 |
-
this.fire('destroy');
|
694 |
-
this.set = noop;
|
695 |
-
|
696 |
-
this._fragment.d(detach !== false);
|
697 |
-
this._fragment = null;
|
698 |
-
this._state = {};
|
699 |
-
}
|
700 |
-
|
701 |
-
function get() {
|
702 |
-
return this._state;
|
703 |
-
}
|
704 |
-
|
705 |
-
function fire(eventName, data) {
|
706 |
-
var handlers = eventName in this._handlers && this._handlers[eventName].slice();
|
707 |
-
if (!handlers) return;
|
708 |
-
|
709 |
-
for (var i = 0; i < handlers.length; i += 1) {
|
710 |
-
var handler = handlers[i];
|
711 |
-
|
712 |
-
if (!handler.__calling) {
|
713 |
-
try {
|
714 |
-
handler.__calling = true;
|
715 |
-
handler.call(this, data);
|
716 |
-
} finally {
|
717 |
-
handler.__calling = false;
|
718 |
-
}
|
719 |
-
}
|
720 |
-
}
|
721 |
-
}
|
722 |
-
|
723 |
-
function on(eventName, handler) {
|
724 |
-
var handlers = this._handlers[eventName] || (this._handlers[eventName] = []);
|
725 |
-
handlers.push(handler);
|
726 |
-
|
727 |
-
return {
|
728 |
-
cancel: function cancel() {
|
729 |
-
var index = handlers.indexOf(handler);
|
730 |
-
if (~index) handlers.splice(index, 1);
|
731 |
-
}
|
732 |
-
};
|
733 |
-
}
|
734 |
-
|
735 |
-
function set(newState) {
|
736 |
-
this._set(assign({}, newState));
|
737 |
-
if (this.root._lock) return;
|
738 |
-
flush(this.root);
|
739 |
-
}
|
740 |
-
|
741 |
-
function _set(newState) {
|
742 |
-
var oldState = this._state,
|
743 |
-
changed = {},
|
744 |
-
dirty = false;
|
745 |
-
|
746 |
-
newState = assign(this._staged, newState);
|
747 |
-
this._staged = {};
|
748 |
-
|
749 |
-
for (var key in newState) {
|
750 |
-
if (this._differs(newState[key], oldState[key])) changed[key] = dirty = true;
|
751 |
-
}
|
752 |
-
if (!dirty) return;
|
753 |
-
|
754 |
-
this._state = assign(assign({}, oldState), newState);
|
755 |
-
this._recompute(changed, this._state);
|
756 |
-
if (this._bind) this._bind(changed, this._state);
|
757 |
-
|
758 |
-
if (this._fragment) {
|
759 |
-
this.fire("state", { changed: changed, current: this._state, previous: oldState });
|
760 |
-
this._fragment.p(changed, this._state);
|
761 |
-
this.fire("update", { changed: changed, current: this._state, previous: oldState });
|
762 |
-
}
|
763 |
-
}
|
764 |
-
|
765 |
-
function _stage(newState) {
|
766 |
-
assign(this._staged, newState);
|
767 |
-
}
|
768 |
-
|
769 |
-
function _mount(target, anchor) {
|
770 |
-
this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor || null);
|
771 |
-
}
|
772 |
-
|
773 |
-
function _differs(a, b) {
|
774 |
-
return a != a ? b == b : a !== b || a && (typeof a === "undefined" ? "undefined" : _typeof(a)) === 'object' || typeof a === 'function';
|
775 |
-
}
|
776 |
-
|
777 |
-
function noop() {}
|
778 |
-
|
779 |
-
function blankObject() {
|
780 |
-
return Object.create(null);
|
781 |
-
}
|
782 |
-
|
783 |
-
function callAll(fns) {
|
784 |
-
while (fns && fns.length) {
|
785 |
-
fns.shift()();
|
786 |
-
}
|
787 |
-
}
|
788 |
-
return PNotifyConfirm;
|
789 |
-
}(WamPnotify);
|
790 |
//# sourceMappingURL=PNotifyConfirm.js.map
|
1 |
+
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
2 |
+
|
3 |
+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
4 |
+
|
5 |
+
/* src/PNotifyConfirm.html generated by Svelte v2.16.1 */
|
6 |
+
var WamPnotifyConfirm = function (PNotify) {
|
7 |
+
"use strict";
|
8 |
+
|
9 |
+
PNotify = PNotify && PNotify.__esModule ? PNotify["default"] : PNotify;
|
10 |
+
|
11 |
+
function data() {
|
12 |
+
return _extends({
|
13 |
+
'_notice': null, // The PNotify notice.
|
14 |
+
'_options': {} // The options for the notice.
|
15 |
+
}, PNotify.modules.Confirm.defaults);
|
16 |
+
};
|
17 |
+
|
18 |
+
var methods = {
|
19 |
+
initModule: function initModule(options) {
|
20 |
+
this.set(options);
|
21 |
+
},
|
22 |
+
afterOpen: function afterOpen() {
|
23 |
+
if (this.get().prompt && this.get().focus !== false) {
|
24 |
+
if (this.get().promptMultiLine) {
|
25 |
+
this.refs.promptMulti.focus();
|
26 |
+
} else {
|
27 |
+
this.refs.promptSingle.focus();
|
28 |
+
}
|
29 |
+
} else if (this.get().confirm && (this.get().focus === true || this.get().focus === null && this.get()._options.stack.modal)) {
|
30 |
+
var buttons = this.get().buttons;
|
31 |
+
if (buttons.length) {
|
32 |
+
var i = buttons.length - 1;
|
33 |
+
while (i >= 0) {
|
34 |
+
if (buttons[i].promptTrigger) {
|
35 |
+
break;
|
36 |
+
}
|
37 |
+
i--;
|
38 |
+
}
|
39 |
+
this.refs.buttons.children[i].focus();
|
40 |
+
}
|
41 |
+
}
|
42 |
+
},
|
43 |
+
handleClick: function handleClick(button, event) {
|
44 |
+
if (button.click) {
|
45 |
+
button.click(this.get()._notice, this.get().prompt ? this.get().promptValue : null, event);
|
46 |
+
}
|
47 |
+
},
|
48 |
+
handleKeyPress: function handleKeyPress(event) {
|
49 |
+
if (event.keyCode === 13 && !event.shiftKey) {
|
50 |
+
event.preventDefault();
|
51 |
+
|
52 |
+
var _get = this.get(),
|
53 |
+
buttons = _get.buttons;
|
54 |
+
|
55 |
+
for (var i = 0; i < buttons.length; i++) {
|
56 |
+
if (buttons[i].promptTrigger && buttons[i].click) {
|
57 |
+
buttons[i].click(this.get()._notice, this.get().prompt ? this.get().promptValue : null, event);
|
58 |
+
}
|
59 |
+
}
|
60 |
+
}
|
61 |
+
}
|
62 |
+
};
|
63 |
+
|
64 |
+
function oncreate() {
|
65 |
+
this.fire('init', { module: this });
|
66 |
+
};
|
67 |
+
|
68 |
+
function setup(Component) {
|
69 |
+
Component.key = 'Confirm';
|
70 |
+
|
71 |
+
Component.defaults = {
|
72 |
+
// Make a confirmation box.
|
73 |
+
confirm: false,
|
74 |
+
// Make a prompt.
|
75 |
+
prompt: false,
|
76 |
+
// Classes to add to the input element of the prompt.
|
77 |
+
promptClass: '',
|
78 |
+
// The value of the prompt.
|
79 |
+
promptValue: '',
|
80 |
+
// Whether the prompt should accept multiple lines of text.
|
81 |
+
promptMultiLine: false,
|
82 |
+
// For confirmation boxes, true means the first button or the button with promptTrigger will be focused, and null means focus will change only for modal notices. For prompts, true or null means focus the prompt. When false, focus will not change.
|
83 |
+
focus: null,
|
84 |
+
// Where to align the buttons. (flex-start, center, flex-end, space-around, space-between)
|
85 |
+
align: 'flex-end',
|
86 |
+
// The buttons to display, and their callbacks.
|
87 |
+
buttons: [{
|
88 |
+
text: 'Ok',
|
89 |
+
textTrusted: false,
|
90 |
+
addClass: '',
|
91 |
+
primary: true,
|
92 |
+
// Whether to trigger this button when the user hits enter in a single line prompt. Also, focus the button if it is a modal prompt.
|
93 |
+
promptTrigger: true,
|
94 |
+
click: function click(notice, value) {
|
95 |
+
notice.close();
|
96 |
+
notice.fire('pnotify.confirm', { notice: notice, value: value });
|
97 |
+
}
|
98 |
+
}, {
|
99 |
+
text: 'Cancel',
|
100 |
+
textTrusted: false,
|
101 |
+
addClass: '',
|
102 |
+
click: function click(notice) {
|
103 |
+
notice.close();
|
104 |
+
notice.fire('pnotify.cancel', { notice: notice });
|
105 |
+
}
|
106 |
+
}]
|
107 |
+
};
|
108 |
+
|
109 |
+
// Register the module with PNotify.
|
110 |
+
PNotify.modules.Confirm = Component;
|
111 |
+
// Append this module to the container.
|
112 |
+
PNotify.modulesAppendContainer.push(Component);
|
113 |
+
|
114 |
+
// Add button styles to styling objects.
|
115 |
+
_extends(PNotify.styling.brighttheme, {
|
116 |
+
actionBar: '',
|
117 |
+
promptBar: '',
|
118 |
+
btn: '',
|
119 |
+
btnPrimary: 'brighttheme-primary',
|
120 |
+
input: ''
|
121 |
+
});
|
122 |
+
_extends(PNotify.styling.bootstrap3, {
|
123 |
+
actionBar: 'ui-pnotify-confirm-ml',
|
124 |
+
promptBar: 'ui-pnotify-confirm-ml',
|
125 |
+
btn: 'btn btn-default ui-pnotify-confirm-mx-1',
|
126 |
+
btnPrimary: 'btn btn-default ui-pnotify-confirm-mx-1 btn-primary',
|
127 |
+
input: 'form-control'
|
128 |
+
});
|
129 |
+
_extends(PNotify.styling.bootstrap4, {
|
130 |
+
actionBar: 'ui-pnotify-confirm-ml',
|
131 |
+
promptBar: 'ui-pnotify-confirm-ml',
|
132 |
+
btn: 'btn btn-secondary mx-1',
|
133 |
+
btnPrimary: 'btn btn-primary mx-1',
|
134 |
+
input: 'form-control'
|
135 |
+
});
|
136 |
+
if (!PNotify.styling.material) {
|
137 |
+
PNotify.styling.material = {};
|
138 |
+
}
|
139 |
+
_extends(PNotify.styling.material, {
|
140 |
+
actionBar: '',
|
141 |
+
promptBar: '',
|
142 |
+
btn: '',
|
143 |
+
btnPrimary: 'ui-pnotify-material-primary',
|
144 |
+
input: ''
|
145 |
+
});
|
146 |
+
};
|
147 |
+
|
148 |
+
function add_css() {
|
149 |
+
var style = createElement("style");
|
150 |
+
style.id = 'svelte-1y9suua-style';
|
151 |
+
style.textContent = ".ui-pnotify-action-bar.svelte-1y9suua,.ui-pnotify-prompt-bar.svelte-1y9suua{margin-top:5px;clear:both}.ui-pnotify-action-bar.svelte-1y9suua{display:flex;flex-wrap:wrap;justify-content:flex-end}.ui-pnotify-prompt-input.svelte-1y9suua{margin-bottom:5px;display:block;width:100%}.ui-pnotify-confirm-mx-1.svelte-1y9suua{margin:0 5px}.ui-pnotify.ui-pnotify-with-icon .ui-pnotify-confirm-ml.svelte-1y9suua{margin-left:24px}[dir=rtl] .ui-pnotify.ui-pnotify-with-icon .ui-pnotify-confirm-ml.svelte-1y9suua{margin-right:24px;margin-left:0}";
|
152 |
+
append(document.head, style);
|
153 |
+
}
|
154 |
+
|
155 |
+
function click_handler(event) {
|
156 |
+
var _svelte = this._svelte,
|
157 |
+
component = _svelte.component,
|
158 |
+
ctx = _svelte.ctx;
|
159 |
+
|
160 |
+
|
161 |
+
component.handleClick(ctx.button, event);
|
162 |
+
}
|
163 |
+
|
164 |
+
function get_each_context(ctx, list, i) {
|
165 |
+
var child_ctx = Object.create(ctx);
|
166 |
+
child_ctx.button = list[i];
|
167 |
+
return child_ctx;
|
168 |
+
}
|
169 |
+
|
170 |
+
function create_main_fragment(component, ctx) {
|
171 |
+
var if_block_anchor;
|
172 |
+
|
173 |
+
var if_block = (ctx.confirm || ctx.prompt) && create_if_block(component, ctx);
|
174 |
+
|
175 |
+
return {
|
176 |
+
c: function c() {
|
177 |
+
if (if_block) if_block.c();
|
178 |
+
if_block_anchor = createComment();
|
179 |
+
},
|
180 |
+
m: function m(target, anchor) {
|
181 |
+
if (if_block) if_block.m(target, anchor);
|
182 |
+
insert(target, if_block_anchor, anchor);
|
183 |
+
},
|
184 |
+
p: function p(changed, ctx) {
|
185 |
+
if (ctx.confirm || ctx.prompt) {
|
186 |
+
if (if_block) {
|
187 |
+
if_block.p(changed, ctx);
|
188 |
+
} else {
|
189 |
+
if_block = create_if_block(component, ctx);
|
190 |
+
if_block.c();
|
191 |
+
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
192 |
+
}
|
193 |
+
} else if (if_block) {
|
194 |
+
if_block.d(1);
|
195 |
+
if_block = null;
|
196 |
+
}
|
197 |
+
},
|
198 |
+
d: function d(detach) {
|
199 |
+
if (if_block) if_block.d(detach);
|
200 |
+
if (detach) {
|
201 |
+
detachNode(if_block_anchor);
|
202 |
+
}
|
203 |
+
}
|
204 |
+
};
|
205 |
+
}
|
206 |
+
|
207 |
+
// (1:0) {#if confirm || prompt}
|
208 |
+
function create_if_block(component, ctx) {
|
209 |
+
var div1, text, div0, div0_class_value;
|
210 |
+
|
211 |
+
var if_block = ctx.prompt && create_if_block_2(component, ctx);
|
212 |
+
|
213 |
+
var each_value = ctx.buttons;
|
214 |
+
|
215 |
+
var each_blocks = [];
|
216 |
+
|
217 |
+
for (var i = 0; i < each_value.length; i += 1) {
|
218 |
+
each_blocks[i] = create_each_block(component, get_each_context(ctx, each_value, i));
|
219 |
+
}
|
220 |
+
|
221 |
+
return {
|
222 |
+
c: function c() {
|
223 |
+
div1 = createElement("div");
|
224 |
+
if (if_block) if_block.c();
|
225 |
+
text = createText("\n ");
|
226 |
+
div0 = createElement("div");
|
227 |
+
|
228 |
+
for (var i = 0; i < each_blocks.length; i += 1) {
|
229 |
+
each_blocks[i].c();
|
230 |
+
}
|
231 |
+
div0.className = div0_class_value = "\n ui-pnotify-action-bar\n " + (ctx._notice.get()._styles.actionBar ? ctx._notice.get()._styles.actionBar : '') + "\n " + (ctx._notice.get()._styles.text ? ctx._notice.get()._styles.text : '') + "\n " + " svelte-1y9suua";
|
232 |
+
setStyle(div0, "justify-content", ctx.align);
|
233 |
+
div1.className = "ui-pnotify-confirm";
|
234 |
+
},
|
235 |
+
m: function m(target, anchor) {
|
236 |
+
insert(target, div1, anchor);
|
237 |
+
if (if_block) if_block.m(div1, null);
|
238 |
+
append(div1, text);
|
239 |
+
append(div1, div0);
|
240 |
+
|
241 |
+
for (var i = 0; i < each_blocks.length; i += 1) {
|
242 |
+
each_blocks[i].m(div0, null);
|
243 |
+
}
|
244 |
+
|
245 |
+
component.refs.buttons = div0;
|
246 |
+
},
|
247 |
+
p: function p(changed, ctx) {
|
248 |
+
if (ctx.prompt) {
|
249 |
+
if (if_block) {
|
250 |
+
if_block.p(changed, ctx);
|
251 |
+
} else {
|
252 |
+
if_block = create_if_block_2(component, ctx);
|
253 |
+
if_block.c();
|
254 |
+
if_block.m(div1, text);
|
255 |
+
}
|
256 |
+
} else if (if_block) {
|
257 |
+
if_block.d(1);
|
258 |
+
if_block = null;
|
259 |
+
}
|
260 |
+
|
261 |
+
if (changed.buttons || changed._notice) {
|
262 |
+
each_value = ctx.buttons;
|
263 |
+
|
264 |
+
for (var i = 0; i < each_value.length; i += 1) {
|
265 |
+
var child_ctx = get_each_context(ctx, each_value, i);
|
266 |
+
|
267 |
+
if (each_blocks[i]) {
|
268 |
+
each_blocks[i].p(changed, child_ctx);
|
269 |
+
} else {
|
270 |
+
each_blocks[i] = create_each_block(component, child_ctx);
|
271 |
+
each_blocks[i].c();
|
272 |
+
each_blocks[i].m(div0, null);
|
273 |
+
}
|
274 |
+
}
|
275 |
+
|
276 |
+
for (; i < each_blocks.length; i += 1) {
|
277 |
+
each_blocks[i].d(1);
|
278 |
+
}
|
279 |
+
each_blocks.length = each_value.length;
|
280 |
+
}
|
281 |
+
|
282 |
+
if (changed._notice && div0_class_value !== (div0_class_value = "\n ui-pnotify-action-bar\n " + (ctx._notice.get()._styles.actionBar ? ctx._notice.get()._styles.actionBar : '') + "\n " + (ctx._notice.get()._styles.text ? ctx._notice.get()._styles.text : '') + "\n " + " svelte-1y9suua")) {
|
283 |
+
div0.className = div0_class_value;
|
284 |
+
}
|
285 |
+
|
286 |
+
if (changed.align) {
|
287 |
+
setStyle(div0, "justify-content", ctx.align);
|
288 |
+
}
|
289 |
+
},
|
290 |
+
d: function d(detach) {
|
291 |
+
if (detach) {
|
292 |
+
detachNode(div1);
|
293 |
+
}
|
294 |
+
|
295 |
+
if (if_block) if_block.d();
|
296 |
+
|
297 |
+
destroyEach(each_blocks, detach);
|
298 |
+
|
299 |
+
if (component.refs.buttons === div0) component.refs.buttons = null;
|
300 |
+
}
|
301 |
+
};
|
302 |
+
}
|
303 |
+
|
304 |
+
// (3:4) {#if prompt}
|
305 |
+
function create_if_block_2(component, ctx) {
|
306 |
+
var div, div_class_value;
|
307 |
+
|
308 |
+
function select_block_type(ctx) {
|
309 |
+
if (ctx.promptMultiLine) return create_if_block_3;
|
310 |
+
return create_else_block_1;
|
311 |
+
}
|
312 |
+
|
313 |
+
var current_block_type = select_block_type(ctx);
|
314 |
+
var if_block = current_block_type(component, ctx);
|
315 |
+
|
316 |
+
return {
|
317 |
+
c: function c() {
|
318 |
+
div = createElement("div");
|
319 |
+
if_block.c();
|
320 |
+
div.className = div_class_value = "\n ui-pnotify-prompt-bar\n " + (ctx._notice.get()._styles.promptBar ? ctx._notice.get()._styles.promptBar : '') + "\n " + (ctx._notice.get()._styles.text ? ctx._notice.get()._styles.text : '') + "\n " + " svelte-1y9suua";
|
321 |
+
},
|
322 |
+
m: function m(target, anchor) {
|
323 |
+
insert(target, div, anchor);
|
324 |
+
if_block.m(div, null);
|
325 |
+
},
|
326 |
+
p: function p(changed, ctx) {
|
327 |
+
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
|
328 |
+
if_block.p(changed, ctx);
|
329 |
+
} else {
|
330 |
+
if_block.d(1);
|
331 |
+
if_block = current_block_type(component, ctx);
|
332 |
+
if_block.c();
|
333 |
+
if_block.m(div, null);
|
334 |
+
}
|
335 |
+
|
336 |
+
if (changed._notice && div_class_value !== (div_class_value = "\n ui-pnotify-prompt-bar\n " + (ctx._notice.get()._styles.promptBar ? ctx._notice.get()._styles.promptBar : '') + "\n " + (ctx._notice.get()._styles.text ? ctx._notice.get()._styles.text : '') + "\n " + " svelte-1y9suua")) {
|
337 |
+
div.className = div_class_value;
|
338 |
+
}
|
339 |
+
},
|
340 |
+
d: function d(detach) {
|
341 |
+
if (detach) {
|
342 |
+
detachNode(div);
|
343 |
+
}
|
344 |
+
|
345 |
+
if_block.d();
|
346 |
+
}
|
347 |
+
};
|
348 |
+
}
|
349 |
+
|
350 |
+
// (21:8) {:else}
|
351 |
+
function create_else_block_1(component, ctx) {
|
352 |
+
var input,
|
353 |
+
input_updating = false,
|
354 |
+
input_class_value;
|
355 |
+
|
356 |
+
function input_input_handler() {
|
357 |
+
input_updating = true;
|
358 |
+
component.set({ promptValue: input.value });
|
359 |
+
input_updating = false;
|
360 |
+
}
|
361 |
+
|
362 |
+
function keypress_handler(event) {
|
363 |
+
component.handleKeyPress(event);
|
364 |
+
}
|
365 |
+
|
366 |
+
return {
|
367 |
+
c: function c() {
|
368 |
+
input = createElement("input");
|
369 |
+
addListener(input, "input", input_input_handler);
|
370 |
+
addListener(input, "keypress", keypress_handler);
|
371 |
+
setAttribute(input, "type", "text");
|
372 |
+
input.className = input_class_value = "\n ui-pnotify-prompt-input\n " + (ctx._notice.get()._styles.input ? ctx._notice.get()._styles.input : '') + "\n " + ctx.promptClass + "\n " + " svelte-1y9suua";
|
373 |
+
},
|
374 |
+
m: function m(target, anchor) {
|
375 |
+
insert(target, input, anchor);
|
376 |
+
component.refs.promptSingle = input;
|
377 |
+
|
378 |
+
input.value = ctx.promptValue;
|
379 |
+
},
|
380 |
+
p: function p(changed, ctx) {
|
381 |
+
if (!input_updating && changed.promptValue) input.value = ctx.promptValue;
|
382 |
+
if ((changed._notice || changed.promptClass) && input_class_value !== (input_class_value = "\n ui-pnotify-prompt-input\n " + (ctx._notice.get()._styles.input ? ctx._notice.get()._styles.input : '') + "\n " + ctx.promptClass + "\n " + " svelte-1y9suua")) {
|
383 |
+
input.className = input_class_value;
|
384 |
+
}
|
385 |
+
},
|
386 |
+
d: function d(detach) {
|
387 |
+
if (detach) {
|
388 |
+
detachNode(input);
|
389 |
+
}
|
390 |
+
|
391 |
+
removeListener(input, "input", input_input_handler);
|
392 |
+
removeListener(input, "keypress", keypress_handler);
|
393 |
+
if (component.refs.promptSingle === input) component.refs.promptSingle = null;
|
394 |
+
}
|
395 |
+
};
|
396 |
+
}
|
397 |
+
|
398 |
+
// (10:8) {#if promptMultiLine}
|
399 |
+
function create_if_block_3(component, ctx) {
|
400 |
+
var textarea,
|
401 |
+
textarea_updating = false,
|
402 |
+
textarea_class_value;
|
403 |
+
|
404 |
+
function textarea_input_handler() {
|
405 |
+
textarea_updating = true;
|
406 |
+
component.set({ promptValue: textarea.value });
|
407 |
+
textarea_updating = false;
|
408 |
+
}
|
409 |
+
|
410 |
+
function keypress_handler(event) {
|
411 |
+
component.handleKeyPress(event);
|
412 |
+
}
|
413 |
+
|
414 |
+
return {
|
415 |
+
c: function c() {
|
416 |
+
textarea = createElement("textarea");
|
417 |
+
addListener(textarea, "input", textarea_input_handler);
|
418 |
+
addListener(textarea, "keypress", keypress_handler);
|
419 |
+
textarea.rows = "5";
|
420 |
+
textarea.className = textarea_class_value = "\n ui-pnotify-prompt-input\n " + (ctx._notice.get()._styles.input ? ctx._notice.get()._styles.input : '') + "\n " + ctx.promptClass + "\n " + " svelte-1y9suua";
|
421 |
+
},
|
422 |
+
m: function m(target, anchor) {
|
423 |
+
insert(target, textarea, anchor);
|
424 |
+
component.refs.promptMulti = textarea;
|
425 |
+
|
426 |
+
textarea.value = ctx.promptValue;
|
427 |
+
},
|
428 |
+
p: function p(changed, ctx) {
|
429 |
+
if (!textarea_updating && changed.promptValue) textarea.value = ctx.promptValue;
|
430 |
+
if ((changed._notice || changed.promptClass) && textarea_class_value !== (textarea_class_value = "\n ui-pnotify-prompt-input\n " + (ctx._notice.get()._styles.input ? ctx._notice.get()._styles.input : '') + "\n " + ctx.promptClass + "\n " + " svelte-1y9suua")) {
|
431 |
+
textarea.className = textarea_class_value;
|
432 |
+
}
|
433 |
+
},
|
434 |
+
d: function d(detach) {
|
435 |
+
if (detach) {
|
436 |
+
detachNode(textarea);
|
437 |
+
}
|
438 |
+
|
439 |
+
removeListener(textarea, "input", textarea_input_handler);
|
440 |
+
removeListener(textarea, "keypress", keypress_handler);
|
441 |
+
if (component.refs.promptMulti === textarea) component.refs.promptMulti = null;
|
442 |
+
}
|
443 |
+
};
|
444 |
+
}
|
445 |
+
|
446 |
+
// (51:57) {:else}
|
447 |
+
function create_else_block(component, ctx) {
|
448 |
+
var text_value = ctx.button.text,
|
449 |
+
text;
|
450 |
+
|
451 |
+
return {
|
452 |
+
c: function c() {
|
453 |
+
text = createText(text_value);
|
454 |
+
},
|
455 |
+
m: function m(target, anchor) {
|
456 |
+
insert(target, text, anchor);
|
457 |
+
},
|
458 |
+
p: function p(changed, ctx) {
|
459 |
+
if (changed.buttons && text_value !== (text_value = ctx.button.text)) {
|
460 |
+
setData(text, text_value);
|
461 |
+
}
|
462 |
+
},
|
463 |
+
d: function d(detach) {
|
464 |
+
if (detach) {
|
465 |
+
detachNode(text);
|
466 |
+
}
|
467 |
+
}
|
468 |
+
};
|
469 |
+
}
|
470 |
+
|
471 |
+
// (51:14) {#if button.textTrusted}
|
472 |
+
function create_if_block_1(component, ctx) {
|
473 |
+
var raw_value = ctx.button.text,
|
474 |
+
raw_before,
|
475 |
+
raw_after;
|
476 |
+
|
477 |
+
return {
|
478 |
+
c: function c() {
|
479 |
+
raw_before = createElement('noscript');
|
480 |
+
raw_after = createElement('noscript');
|
481 |
+
},
|
482 |
+
m: function m(target, anchor) {
|
483 |
+
insert(target, raw_before, anchor);
|
484 |
+
raw_before.insertAdjacentHTML("afterend", raw_value);
|
485 |
+
insert(target, raw_after, anchor);
|
486 |
+
},
|
487 |
+
p: function p(changed, ctx) {
|
488 |
+
if (changed.buttons && raw_value !== (raw_value = ctx.button.text)) {
|
489 |
+
detachBetween(raw_before, raw_after);
|
490 |
+
raw_before.insertAdjacentHTML("afterend", raw_value);
|
491 |
+
}
|
492 |
+
},
|
493 |
+
d: function d(detach) {
|
494 |
+
if (detach) {
|
495 |
+
detachBetween(raw_before, raw_after);
|
496 |
+
detachNode(raw_before);
|
497 |
+
detachNode(raw_after);
|
498 |
+
}
|
499 |
+
}
|
500 |
+
};
|
501 |
+
}
|
502 |
+
|
503 |
+
// (43:6) {#each buttons as button}
|
504 |
+
function create_each_block(component, ctx) {
|
505 |
+
var button, button_class_value;
|
506 |
+
|
507 |
+
function select_block_type_1(ctx) {
|
508 |
+
if (ctx.button.textTrusted) return create_if_block_1;
|
509 |
+
return create_else_block;
|
510 |
+
}
|
511 |
+
|
512 |
+
var current_block_type = select_block_type_1(ctx);
|
513 |
+
var if_block = current_block_type(component, ctx);
|
514 |
+
|
515 |
+
return {
|
516 |
+
c: function c() {
|
517 |
+
button = createElement("button");
|
518 |
+
if_block.c();
|
519 |
+
button._svelte = { component: component, ctx: ctx };
|
520 |
+
|
521 |
+
addListener(button, "click", click_handler);
|
522 |
+
button.type = "button";
|
523 |
+
button.className = button_class_value = "\n ui-pnotify-action-button\n " + (ctx.button.primary ? ctx._notice.get()._styles.btnPrimary ? ctx._notice.get()._styles.btnPrimary : '' : ctx._notice.get()._styles.btn ? ctx._notice.get()._styles.btn : '') + "\n " + (ctx.button.addClass ? ctx.button.addClass : '') + "\n " + " svelte-1y9suua";
|
524 |
+
},
|
525 |
+
m: function m(target, anchor) {
|
526 |
+
insert(target, button, anchor);
|
527 |
+
if_block.m(button, null);
|
528 |
+
},
|
529 |
+
p: function p(changed, _ctx) {
|
530 |
+
ctx = _ctx;
|
531 |
+
if (current_block_type === (current_block_type = select_block_type_1(ctx)) && if_block) {
|
532 |
+
if_block.p(changed, ctx);
|
533 |
+
} else {
|
534 |
+
if_block.d(1);
|
535 |
+
if_block = current_block_type(component, ctx);
|
536 |
+
if_block.c();
|
537 |
+
if_block.m(button, null);
|
538 |
+
}
|
539 |
+
|
540 |
+
button._svelte.ctx = ctx;
|
541 |
+
if ((changed.buttons || changed._notice) && button_class_value !== (button_class_value = "\n ui-pnotify-action-button\n " + (ctx.button.primary ? ctx._notice.get()._styles.btnPrimary ? ctx._notice.get()._styles.btnPrimary : '' : ctx._notice.get()._styles.btn ? ctx._notice.get()._styles.btn : '') + "\n " + (ctx.button.addClass ? ctx.button.addClass : '') + "\n " + " svelte-1y9suua")) {
|
542 |
+
button.className = button_class_value;
|
543 |
+
}
|
544 |
+
},
|
545 |
+
d: function d(detach) {
|
546 |
+
if (detach) {
|
547 |
+
detachNode(button);
|
548 |
+
}
|
549 |
+
|
550 |
+
if_block.d();
|
551 |
+
removeListener(button, "click", click_handler);
|
552 |
+
}
|
553 |
+
};
|
554 |
+
}
|
555 |
+
|
556 |
+
function PNotifyConfirm(options) {
|
557 |
+
var _this = this;
|
558 |
+
|
559 |
+
init(this, options);
|
560 |
+
this.refs = {};
|
561 |
+
this._state = assign(data(), options.data);
|
562 |
+
this._intro = true;
|
563 |
+
|
564 |
+
if (!document.getElementById("svelte-1y9suua-style")) add_css();
|
565 |
+
|
566 |
+
this._fragment = create_main_fragment(this, this._state);
|
567 |
+
|
568 |
+
this.root._oncreate.push(function () {
|
569 |
+
oncreate.call(_this);
|
570 |
+
_this.fire("update", { changed: assignTrue({}, _this._state), current: _this._state });
|
571 |
+
});
|
572 |
+
|
573 |
+
if (options.target) {
|
574 |
+
this._fragment.c();
|
575 |
+
this._mount(options.target, options.anchor);
|
576 |
+
|
577 |
+
flush(this);
|
578 |
+
}
|
579 |
+
}
|
580 |
+
|
581 |
+
assign(PNotifyConfirm.prototype, {
|
582 |
+
destroy: destroy,
|
583 |
+
get: get,
|
584 |
+
fire: fire,
|
585 |
+
on: on,
|
586 |
+
set: set,
|
587 |
+
_set: _set,
|
588 |
+
_stage: _stage,
|
589 |
+
_mount: _mount,
|
590 |
+
_differs: _differs
|
591 |
+
});
|
592 |
+
assign(PNotifyConfirm.prototype, methods);
|
593 |
+
|
594 |
+
PNotifyConfirm.prototype._recompute = noop;
|
595 |
+
|
596 |
+
setup(PNotifyConfirm);
|
597 |
+
|
598 |
+
function createElement(name) {
|
599 |
+
return document.createElement(name);
|
600 |
+
}
|
601 |
+
|
602 |
+
function append(target, node) {
|
603 |
+
target.appendChild(node);
|
604 |
+
}
|
605 |
+
|
606 |
+
function createComment() {
|
607 |
+
return document.createComment('');
|
608 |
+
}
|
609 |
+
|
610 |
+
function insert(target, node, anchor) {
|
611 |
+
target.insertBefore(node, anchor);
|
612 |
+
}
|
613 |
+
|
614 |
+
function detachNode(node) {
|
615 |
+
node.parentNode.removeChild(node);
|
616 |
+
}
|
617 |
+
|
618 |
+
function createText(data) {
|
619 |
+
return document.createTextNode(data);
|
620 |
+
}
|
621 |
+
|
622 |
+
function setStyle(node, key, value) {
|
623 |
+
node.style.setProperty(key, value);
|
624 |
+
}
|
625 |
+
|
626 |
+
function destroyEach(iterations, detach) {
|
627 |
+
for (var i = 0; i < iterations.length; i += 1) {
|
628 |
+
if (iterations[i]) iterations[i].d(detach);
|
629 |
+
}
|
630 |
+
}
|
631 |
+
|
632 |
+
function addListener(node, event, handler, options) {
|
633 |
+
node.addEventListener(event, handler, options);
|
634 |
+
}
|
635 |
+
|
636 |
+
function setAttribute(node, attribute, value) {
|
637 |
+
if (value == null) node.removeAttribute(attribute);else node.setAttribute(attribute, value);
|
638 |
+
}
|
639 |
+
|
640 |
+
function removeListener(node, event, handler, options) {
|
641 |
+
node.removeEventListener(event, handler, options);
|
642 |
+
}
|
643 |
+
|
644 |
+
function setData(text, data) {
|
645 |
+
text.data = '' + data;
|
646 |
+
}
|
647 |
+
|
648 |
+
function detachBetween(before, after) {
|
649 |
+
while (before.nextSibling && before.nextSibling !== after) {
|
650 |
+
before.parentNode.removeChild(before.nextSibling);
|
651 |
+
}
|
652 |
+
}
|
653 |
+
|
654 |
+
function init(component, options) {
|
655 |
+
component._handlers = blankObject();
|
656 |
+
component._slots = blankObject();
|
657 |
+
component._bind = options._bind;
|
658 |
+
component._staged = {};
|
659 |
+
|
660 |
+
component.options = options;
|
661 |
+
component.root = options.root || component;
|
662 |
+
component.store = options.store || component.root.store;
|
663 |
+
|
664 |
+
if (!options.root) {
|
665 |
+
component._beforecreate = [];
|
666 |
+
component._oncreate = [];
|
667 |
+
component._aftercreate = [];
|
668 |
+
}
|
669 |
+
}
|
670 |
+
|
671 |
+
function assign(tar, src) {
|
672 |
+
for (var k in src) {
|
673 |
+
tar[k] = src[k];
|
674 |
+
}return tar;
|
675 |
+
}
|
676 |
+
|
677 |
+
function assignTrue(tar, src) {
|
678 |
+
for (var k in src) {
|
679 |
+
tar[k] = 1;
|
680 |
+
}return tar;
|
681 |
+
}
|
682 |
+
|
683 |
+
function flush(component) {
|
684 |
+
component._lock = true;
|
685 |
+
callAll(component._beforecreate);
|
686 |
+
callAll(component._oncreate);
|
687 |
+
callAll(component._aftercreate);
|
688 |
+
component._lock = false;
|
689 |
+
}
|
690 |
+
|
691 |
+
function destroy(detach) {
|
692 |
+
this.destroy = noop;
|
693 |
+
this.fire('destroy');
|
694 |
+
this.set = noop;
|
695 |
+
|
696 |
+
this._fragment.d(detach !== false);
|
697 |
+
this._fragment = null;
|
698 |
+
this._state = {};
|
699 |
+
}
|
700 |
+
|
701 |
+
function get() {
|
702 |
+
return this._state;
|
703 |
+
}
|
704 |
+
|
705 |
+
function fire(eventName, data) {
|
706 |
+
var handlers = eventName in this._handlers && this._handlers[eventName].slice();
|
707 |
+
if (!handlers) return;
|
708 |
+
|
709 |
+
for (var i = 0; i < handlers.length; i += 1) {
|
710 |
+
var handler = handlers[i];
|
711 |
+
|
712 |
+
if (!handler.__calling) {
|
713 |
+
try {
|
714 |
+
handler.__calling = true;
|
715 |
+
handler.call(this, data);
|
716 |
+
} finally {
|
717 |
+
handler.__calling = false;
|
718 |
+
}
|
719 |
+
}
|
720 |
+
}
|
721 |
+
}
|
722 |
+
|
723 |
+
function on(eventName, handler) {
|
724 |
+
var handlers = this._handlers[eventName] || (this._handlers[eventName] = []);
|
725 |
+
handlers.push(handler);
|
726 |
+
|
727 |
+
return {
|
728 |
+
cancel: function cancel() {
|
729 |
+
var index = handlers.indexOf(handler);
|
730 |
+
if (~index) handlers.splice(index, 1);
|
731 |
+
}
|
732 |
+
};
|
733 |
+
}
|
734 |
+
|
735 |
+
function set(newState) {
|
736 |
+
this._set(assign({}, newState));
|
737 |
+
if (this.root._lock) return;
|
738 |
+
flush(this.root);
|
739 |
+
}
|
740 |
+
|
741 |
+
function _set(newState) {
|
742 |
+
var oldState = this._state,
|
743 |
+
changed = {},
|
744 |
+
dirty = false;
|
745 |
+
|
746 |
+
newState = assign(this._staged, newState);
|
747 |
+
this._staged = {};
|
748 |
+
|
749 |
+
for (var key in newState) {
|
750 |
+
if (this._differs(newState[key], oldState[key])) changed[key] = dirty = true;
|
751 |
+
}
|
752 |
+
if (!dirty) return;
|
753 |
+
|
754 |
+
this._state = assign(assign({}, oldState), newState);
|
755 |
+
this._recompute(changed, this._state);
|
756 |
+
if (this._bind) this._bind(changed, this._state);
|
757 |
+
|
758 |
+
if (this._fragment) {
|
759 |
+
this.fire("state", { changed: changed, current: this._state, previous: oldState });
|
760 |
+
this._fragment.p(changed, this._state);
|
761 |
+
this.fire("update", { changed: changed, current: this._state, previous: oldState });
|
762 |
+
}
|
763 |
+
}
|
764 |
+
|
765 |
+
function _stage(newState) {
|
766 |
+
assign(this._staged, newState);
|
767 |
+
}
|
768 |
+
|
769 |
+
function _mount(target, anchor) {
|
770 |
+
this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor || null);
|
771 |
+
}
|
772 |
+
|
773 |
+
function _differs(a, b) {
|
774 |
+
return a != a ? b == b : a !== b || a && (typeof a === "undefined" ? "undefined" : _typeof(a)) === 'object' || typeof a === 'function';
|
775 |
+
}
|
776 |
+
|
777 |
+
function noop() {}
|
778 |
+
|
779 |
+
function blankObject() {
|
780 |
+
return Object.create(null);
|
781 |
+
}
|
782 |
+
|
783 |
+
function callAll(fns) {
|
784 |
+
while (fns && fns.length) {
|
785 |
+
fns.shift()();
|
786 |
+
}
|
787 |
+
}
|
788 |
+
return PNotifyConfirm;
|
789 |
+
}(WamPnotify);
|
790 |
//# sourceMappingURL=PNotifyConfirm.js.map
|
components/assets-manager/assets/js/libs/wam-pnotify-history.js
CHANGED
@@ -1,305 +1,305 @@
|
|
1 |
-
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
2 |
-
|
3 |
-
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
4 |
-
|
5 |
-
/* src/PNotifyHistory.html generated by Svelte v2.16.1 */
|
6 |
-
var WamPnotifyHistory = function (PNotify) {
|
7 |
-
"use strict";
|
8 |
-
|
9 |
-
PNotify = PNotify && PNotify.__esModule ? PNotify["default"] : PNotify;
|
10 |
-
|
11 |
-
function data() {
|
12 |
-
return _extends({
|
13 |
-
'_notice': null, // The PNotify notice.
|
14 |
-
'_options': {} // The options for the notice.
|
15 |
-
}, PNotify.modules.History.defaults);
|
16 |
-
};
|
17 |
-
|
18 |
-
var methods = {
|
19 |
-
initModule: function initModule(options) {
|
20 |
-
this.set(options);
|
21 |
-
|
22 |
-
if (this.get().history) {
|
23 |
-
// Don't destroy notices that are in history.
|
24 |
-
var _get = this.get(),
|
25 |
-
_notice = _get._notice;
|
26 |
-
|
27 |
-
if (_notice.get().destroy) {
|
28 |
-
_notice.set({ 'destroy': false });
|
29 |
-
}
|
30 |
-
}
|
31 |
-
},
|
32 |
-
beforeOpen: function beforeOpen() {
|
33 |
-
var _get2 = this.get(),
|
34 |
-
maxInStack = _get2.maxInStack,
|
35 |
-
_options = _get2._options;
|
36 |
-
|
37 |
-
if (maxInStack === Infinity) {
|
38 |
-
return;
|
39 |
-
}
|
40 |
-
|
41 |
-
var stack = _options.stack;
|
42 |
-
if (stack === false) {
|
43 |
-
return;
|
44 |
-
}
|
45 |
-
|
46 |
-
// Remove oldest notifications leaving only maxInStack from the stack.
|
47 |
-
if (PNotify.notices && PNotify.notices.length > maxInStack) {
|
48 |
-
// Oldest are normally in front of array, or if stack.push=='top' then
|
49 |
-
// they are at the end of the array!
|
50 |
-
var top = stack.push === 'top';
|
51 |
-
var forRemoval = [];
|
52 |
-
var currentOpen = 0;
|
53 |
-
|
54 |
-
for (var i = top ? 0 : PNotify.notices.length - 1; top ? i < PNotify.notices.length : i >= 0; top ? i++ : i--) {
|
55 |
-
if (['opening', 'open'].indexOf(PNotify.notices[i].get()._state) !== -1 && PNotify.notices[i].get().stack === stack) {
|
56 |
-
if (currentOpen >= maxInStack) {
|
57 |
-
forRemoval.push(PNotify.notices[i]);
|
58 |
-
} else {
|
59 |
-
currentOpen++;
|
60 |
-
}
|
61 |
-
}
|
62 |
-
}
|
63 |
-
|
64 |
-
for (var _i = 0; _i < forRemoval.length; _i++) {
|
65 |
-
forRemoval[_i].close(false);
|
66 |
-
}
|
67 |
-
}
|
68 |
-
}
|
69 |
-
};
|
70 |
-
|
71 |
-
function setup(Component) {
|
72 |
-
Component.key = 'History';
|
73 |
-
|
74 |
-
Component.defaults = {
|
75 |
-
// Place the notice in the history.
|
76 |
-
history: true,
|
77 |
-
// Maximum number of notices to have open in its stack.
|
78 |
-
maxInStack: Infinity
|
79 |
-
};
|
80 |
-
|
81 |
-
Component.init = function (notice) {
|
82 |
-
return new Component({ target: document.body });
|
83 |
-
};
|
84 |
-
|
85 |
-
Component.showLast = function (stack) {
|
86 |
-
if (stack === undefined) {
|
87 |
-
stack = PNotify.defaultStack;
|
88 |
-
}
|
89 |
-
if (stack === false) {
|
90 |
-
return;
|
91 |
-
}
|
92 |
-
var top = stack.push === 'top';
|
93 |
-
|
94 |
-
// Look up the last history notice, and display it.
|
95 |
-
var i = top ? 0 : PNotify.notices.length - 1;
|
96 |
-
|
97 |
-
var notice = void 0;
|
98 |
-
do {
|
99 |
-
notice = PNotify.notices[i];
|
100 |
-
|
101 |
-
if (!notice) {
|
102 |
-
return;
|
103 |
-
}
|
104 |
-
|
105 |
-
i += top ? 1 : -1;
|
106 |
-
} while (notice.get().stack !== stack || !notice.get()._modules.History.get().history || notice.get()._state === 'opening' || notice.get()._state === 'open');
|
107 |
-
|
108 |
-
notice.open();
|
109 |
-
};
|
110 |
-
|
111 |
-
Component.showAll = function (stack) {
|
112 |
-
if (stack === undefined) {
|
113 |
-
stack = PNotify.defaultStack;
|
114 |
-
}
|
115 |
-
if (stack === false) {
|
116 |
-
return;
|
117 |
-
}
|
118 |
-
|
119 |
-
// Display all notices. (Disregarding non-history notices.)
|
120 |
-
for (var i = 0; i < PNotify.notices.length; i++) {
|
121 |
-
var notice = PNotify.notices[i];
|
122 |
-
if ((stack === true || notice.get().stack === stack) && notice.get()._modules.History.get().history) {
|
123 |
-
notice.open();
|
124 |
-
}
|
125 |
-
}
|
126 |
-
};
|
127 |
-
|
128 |
-
// Register the module with PNotify.
|
129 |
-
PNotify.modules.History = Component;
|
130 |
-
};
|
131 |
-
|
132 |
-
function create_main_fragment(component, ctx) {
|
133 |
-
|
134 |
-
return {
|
135 |
-
c: noop,
|
136 |
-
|
137 |
-
m: noop,
|
138 |
-
|
139 |
-
p: noop,
|
140 |
-
|
141 |
-
d: noop
|
142 |
-
};
|
143 |
-
}
|
144 |
-
|
145 |
-
function PNotifyHistory(options) {
|
146 |
-
init(this, options);
|
147 |
-
this._state = assign(data(), options.data);
|
148 |
-
this._intro = true;
|
149 |
-
|
150 |
-
this._fragment = create_main_fragment(this, this._state);
|
151 |
-
|
152 |
-
if (options.target) {
|
153 |
-
this._fragment.c();
|
154 |
-
this._mount(options.target, options.anchor);
|
155 |
-
}
|
156 |
-
}
|
157 |
-
|
158 |
-
assign(PNotifyHistory.prototype, {
|
159 |
-
destroy: destroy,
|
160 |
-
get: get,
|
161 |
-
fire: fire,
|
162 |
-
on: on,
|
163 |
-
set: set,
|
164 |
-
_set: _set,
|
165 |
-
_stage: _stage,
|
166 |
-
_mount: _mount,
|
167 |
-
_differs: _differs
|
168 |
-
});
|
169 |
-
assign(PNotifyHistory.prototype, methods);
|
170 |
-
|
171 |
-
PNotifyHistory.prototype._recompute = noop;
|
172 |
-
|
173 |
-
setup(PNotifyHistory);
|
174 |
-
|
175 |
-
function noop() {}
|
176 |
-
|
177 |
-
function init(component, options) {
|
178 |
-
component._handlers = blankObject();
|
179 |
-
component._slots = blankObject();
|
180 |
-
component._bind = options._bind;
|
181 |
-
component._staged = {};
|
182 |
-
|
183 |
-
component.options = options;
|
184 |
-
component.root = options.root || component;
|
185 |
-
component.store = options.store || component.root.store;
|
186 |
-
|
187 |
-
if (!options.root) {
|
188 |
-
component._beforecreate = [];
|
189 |
-
component._oncreate = [];
|
190 |
-
component._aftercreate = [];
|
191 |
-
}
|
192 |
-
}
|
193 |
-
|
194 |
-
function assign(tar, src) {
|
195 |
-
for (var k in src) {
|
196 |
-
tar[k] = src[k];
|
197 |
-
}return tar;
|
198 |
-
}
|
199 |
-
|
200 |
-
function destroy(detach) {
|
201 |
-
this.destroy = noop;
|
202 |
-
this.fire('destroy');
|
203 |
-
this.set = noop;
|
204 |
-
|
205 |
-
this._fragment.d(detach !== false);
|
206 |
-
this._fragment = null;
|
207 |
-
this._state = {};
|
208 |
-
}
|
209 |
-
|
210 |
-
function get() {
|
211 |
-
return this._state;
|
212 |
-
}
|
213 |
-
|
214 |
-
function fire(eventName, data) {
|
215 |
-
var handlers = eventName in this._handlers && this._handlers[eventName].slice();
|
216 |
-
if (!handlers) return;
|
217 |
-
|
218 |
-
for (var i = 0; i < handlers.length; i += 1) {
|
219 |
-
var handler = handlers[i];
|
220 |
-
|
221 |
-
if (!handler.__calling) {
|
222 |
-
try {
|
223 |
-
handler.__calling = true;
|
224 |
-
handler.call(this, data);
|
225 |
-
} finally {
|
226 |
-
handler.__calling = false;
|
227 |
-
}
|
228 |
-
}
|
229 |
-
}
|
230 |
-
}
|
231 |
-
|
232 |
-
function on(eventName, handler) {
|
233 |
-
var handlers = this._handlers[eventName] || (this._handlers[eventName] = []);
|
234 |
-
handlers.push(handler);
|
235 |
-
|
236 |
-
return {
|
237 |
-
cancel: function cancel() {
|
238 |
-
var index = handlers.indexOf(handler);
|
239 |
-
if (~index) handlers.splice(index, 1);
|
240 |
-
}
|
241 |
-
};
|
242 |
-
}
|
243 |
-
|
244 |
-
function set(newState) {
|
245 |
-
this._set(assign({}, newState));
|
246 |
-
if (this.root._lock) return;
|
247 |
-
flush(this.root);
|
248 |
-
}
|
249 |
-
|
250 |
-
function _set(newState) {
|
251 |
-
var oldState = this._state,
|
252 |
-
changed = {},
|
253 |
-
dirty = false;
|
254 |
-
|
255 |
-
newState = assign(this._staged, newState);
|
256 |
-
this._staged = {};
|
257 |
-
|
258 |
-
for (var key in newState) {
|
259 |
-
if (this._differs(newState[key], oldState[key])) changed[key] = dirty = true;
|
260 |
-
}
|
261 |
-
if (!dirty) return;
|
262 |
-
|
263 |
-
this._state = assign(assign({}, oldState), newState);
|
264 |
-
this._recompute(changed, this._state);
|
265 |
-
if (this._bind) this._bind(changed, this._state);
|
266 |
-
|
267 |
-
if (this._fragment) {
|
268 |
-
this.fire("state", { changed: changed, current: this._state, previous: oldState });
|
269 |
-
this._fragment.p(changed, this._state);
|
270 |
-
this.fire("update", { changed: changed, current: this._state, previous: oldState });
|
271 |
-
}
|
272 |
-
}
|
273 |
-
|
274 |
-
function _stage(newState) {
|
275 |
-
assign(this._staged, newState);
|
276 |
-
}
|
277 |
-
|
278 |
-
function _mount(target, anchor) {
|
279 |
-
this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor || null);
|
280 |
-
}
|
281 |
-
|
282 |
-
function _differs(a, b) {
|
283 |
-
return a != a ? b == b : a !== b || a && (typeof a === "undefined" ? "undefined" : _typeof(a)) === 'object' || typeof a === 'function';
|
284 |
-
}
|
285 |
-
|
286 |
-
function blankObject() {
|
287 |
-
return Object.create(null);
|
288 |
-
}
|
289 |
-
|
290 |
-
function flush(component) {
|
291 |
-
component._lock = true;
|
292 |
-
callAll(component._beforecreate);
|
293 |
-
callAll(component._oncreate);
|
294 |
-
callAll(component._aftercreate);
|
295 |
-
component._lock = false;
|
296 |
-
}
|
297 |
-
|
298 |
-
function callAll(fns) {
|
299 |
-
while (fns && fns.length) {
|
300 |
-
fns.shift()();
|
301 |
-
}
|
302 |
-
}
|
303 |
-
return PNotifyHistory;
|
304 |
-
}(WamPnotify);
|
305 |
//# sourceMappingURL=PNotifyHistory.js.map
|
1 |
+
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
2 |
+
|
3 |
+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
4 |
+
|
5 |
+
/* src/PNotifyHistory.html generated by Svelte v2.16.1 */
|
6 |
+
var WamPnotifyHistory = function (PNotify) {
|
7 |
+
"use strict";
|
8 |
+
|
9 |
+
PNotify = PNotify && PNotify.__esModule ? PNotify["default"] : PNotify;
|
10 |
+
|
11 |
+
function data() {
|
12 |
+
return _extends({
|
13 |
+
'_notice': null, // The PNotify notice.
|
14 |
+
'_options': {} // The options for the notice.
|
15 |
+
}, PNotify.modules.History.defaults);
|
16 |
+
};
|
17 |
+
|
18 |
+
var methods = {
|
19 |
+
initModule: function initModule(options) {
|
20 |
+
this.set(options);
|
21 |
+
|
22 |
+
if (this.get().history) {
|
23 |
+
// Don't destroy notices that are in history.
|
24 |
+
var _get = this.get(),
|
25 |
+
_notice = _get._notice;
|
26 |
+
|
27 |
+
if (_notice.get().destroy) {
|
28 |
+
_notice.set({ 'destroy': false });
|
29 |
+
}
|
30 |
+
}
|
31 |
+
},
|
32 |
+
beforeOpen: function beforeOpen() {
|
33 |
+
var _get2 = this.get(),
|
34 |
+
maxInStack = _get2.maxInStack,
|
35 |
+
_options = _get2._options;
|
36 |
+
|
37 |
+
if (maxInStack === Infinity) {
|
38 |
+
return;
|
39 |
+
}
|
40 |
+
|
41 |
+
var stack = _options.stack;
|
42 |
+
if (stack === false) {
|
43 |
+
return;
|
44 |
+
}
|
45 |
+
|
46 |
+
// Remove oldest notifications leaving only maxInStack from the stack.
|
47 |
+
if (PNotify.notices && PNotify.notices.length > maxInStack) {
|
48 |
+
// Oldest are normally in front of array, or if stack.push=='top' then
|
49 |
+
// they are at the end of the array!
|
50 |
+
var top = stack.push === 'top';
|
51 |
+
var forRemoval = [];
|
52 |
+
var currentOpen = 0;
|
53 |
+
|
54 |
+
for (var i = top ? 0 : PNotify.notices.length - 1; top ? i < PNotify.notices.length : i >= 0; top ? i++ : i--) {
|
55 |
+
if (['opening', 'open'].indexOf(PNotify.notices[i].get()._state) !== -1 && PNotify.notices[i].get().stack === stack) {
|
56 |
+
if (currentOpen >= maxInStack) {
|
57 |
+
forRemoval.push(PNotify.notices[i]);
|
58 |
+
} else {
|
59 |
+
currentOpen++;
|
60 |
+
}
|
61 |
+
}
|
62 |
+
}
|
63 |
+
|
64 |
+
for (var _i = 0; _i < forRemoval.length; _i++) {
|
65 |
+
forRemoval[_i].close(false);
|
66 |
+
}
|
67 |
+
}
|
68 |
+
}
|
69 |
+
};
|
70 |
+
|
71 |
+
function setup(Component) {
|
72 |
+
Component.key = 'History';
|
73 |
+
|
74 |
+
Component.defaults = {
|
75 |
+
// Place the notice in the history.
|
76 |
+
history: true,
|
77 |
+
// Maximum number of notices to have open in its stack.
|
78 |
+
maxInStack: Infinity
|
79 |
+
};
|
80 |
+
|
81 |
+
Component.init = function (notice) {
|
82 |
+
return new Component({ target: document.body });
|
83 |
+
};
|
84 |
+
|
85 |
+
Component.showLast = function (stack) {
|
86 |
+
if (stack === undefined) {
|
87 |
+
stack = PNotify.defaultStack;
|
88 |
+
}
|
89 |
+
if (stack === false) {
|
90 |
+
return;
|
91 |
+
}
|
92 |
+
var top = stack.push === 'top';
|
93 |
+
|
94 |
+
// Look up the last history notice, and display it.
|
95 |
+
var i = top ? 0 : PNotify.notices.length - 1;
|
96 |
+
|
97 |
+
var notice = void 0;
|
98 |
+
do {
|
99 |
+
notice = PNotify.notices[i];
|
100 |
+
|
101 |
+
if (!notice) {
|
102 |
+
return;
|
103 |
+
}
|
104 |
+
|
105 |
+
i += top ? 1 : -1;
|
106 |
+
} while (notice.get().stack !== stack || !notice.get()._modules.History.get().history || notice.get()._state === 'opening' || notice.get()._state === 'open');
|
107 |
+
|
108 |
+
notice.open();
|
109 |
+
};
|
110 |
+
|
111 |
+
Component.showAll = function (stack) {
|
112 |
+
if (stack === undefined) {
|
113 |
+
stack = PNotify.defaultStack;
|
114 |
+
}
|
115 |
+
if (stack === false) {
|
116 |
+
return;
|
117 |
+
}
|
118 |
+
|
119 |
+
// Display all notices. (Disregarding non-history notices.)
|
120 |
+
for (var i = 0; i < PNotify.notices.length; i++) {
|
121 |
+
var notice = PNotify.notices[i];
|
122 |
+
if ((stack === true || notice.get().stack === stack) && notice.get()._modules.History.get().history) {
|
123 |
+
notice.open();
|
124 |
+
}
|
125 |
+
}
|
126 |
+
};
|
127 |
+
|
128 |
+
// Register the module with PNotify.
|
129 |
+
PNotify.modules.History = Component;
|
130 |
+
};
|
131 |
+
|
132 |
+
function create_main_fragment(component, ctx) {
|
133 |
+
|
134 |
+
return {
|
135 |
+
c: noop,
|
136 |
+
|
137 |
+
m: noop,
|
138 |
+
|
139 |
+
p: noop,
|
140 |
+
|
141 |
+
d: noop
|
142 |
+
};
|
143 |
+
}
|
144 |
+
|
145 |
+
function PNotifyHistory(options) {
|
146 |
+
init(this, options);
|
147 |
+
this._state = assign(data(), options.data);
|
148 |
+
this._intro = true;
|
149 |
+
|
150 |
+
this._fragment = create_main_fragment(this, this._state);
|
151 |
+
|
152 |
+
if (options.target) {
|
153 |
+
this._fragment.c();
|
154 |
+
this._mount(options.target, options.anchor);
|
155 |
+
}
|
156 |
+
}
|
157 |
+
|
158 |
+
assign(PNotifyHistory.prototype, {
|
159 |
+
destroy: destroy,
|
160 |
+
get: get,
|
161 |
+
fire: fire,
|
162 |
+
on: on,
|
163 |
+
set: set,
|
164 |
+
_set: _set,
|
165 |
+
_stage: _stage,
|
166 |
+
_mount: _mount,
|
167 |
+
_differs: _differs
|
168 |
+
});
|
169 |
+
assign(PNotifyHistory.prototype, methods);
|
170 |
+
|
171 |
+
PNotifyHistory.prototype._recompute = noop;
|
172 |
+
|
173 |
+
setup(PNotifyHistory);
|
174 |
+
|
175 |
+
function noop() {}
|
176 |
+
|
177 |
+
function init(component, options) {
|
178 |
+
component._handlers = blankObject();
|
179 |
+
component._slots = blankObject();
|
180 |
+
component._bind = options._bind;
|
181 |
+
component._staged = {};
|
182 |
+
|
183 |
+
component.options = options;
|
184 |
+
component.root = options.root || component;
|
185 |
+
component.store = options.store || component.root.store;
|
186 |
+
|
187 |
+
if (!options.root) {
|
188 |
+
component._beforecreate = [];
|
189 |
+
component._oncreate = [];
|
190 |
+
component._aftercreate = [];
|
191 |
+
}
|
192 |
+
}
|
193 |
+
|
194 |
+
function assign(tar, src) {
|
195 |
+
for (var k in src) {
|
196 |
+
tar[k] = src[k];
|
197 |
+
}return tar;
|
198 |
+
}
|
199 |
+
|
200 |
+
function destroy(detach) {
|
201 |
+
this.destroy = noop;
|
202 |
+
this.fire('destroy');
|
203 |
+
this.set = noop;
|
204 |
+
|
205 |
+
this._fragment.d(detach !== false);
|
206 |
+
this._fragment = null;
|
207 |
+
this._state = {};
|
208 |
+
}
|
209 |
+
|
210 |
+
function get() {
|
211 |
+
return this._state;
|
212 |
+
}
|
213 |
+
|
214 |
+
function fire(eventName, data) {
|
215 |
+
var handlers = eventName in this._handlers && this._handlers[eventName].slice();
|
216 |
+
if (!handlers) return;
|
217 |
+
|
218 |
+
for (var i = 0; i < handlers.length; i += 1) {
|
219 |
+
var handler = handlers[i];
|
220 |
+
|
221 |
+
if (!handler.__calling) {
|
222 |
+
try {
|
223 |
+
handler.__calling = true;
|
224 |
+
handler.call(this, data);
|
225 |
+
} finally {
|
226 |
+
handler.__calling = false;
|
227 |
+
}
|
228 |
+
}
|
229 |
+
}
|
230 |
+
}
|
231 |
+
|
232 |
+
function on(eventName, handler) {
|
233 |
+
var handlers = this._handlers[eventName] || (this._handlers[eventName] = []);
|
234 |
+
handlers.push(handler);
|
235 |
+
|
236 |
+
return {
|
237 |
+
cancel: function cancel() {
|
238 |
+
var index = handlers.indexOf(handler);
|
239 |
+
if (~index) handlers.splice(index, 1);
|
240 |
+
}
|
241 |
+
};
|
242 |
+
}
|
243 |
+
|
244 |
+
function set(newState) {
|
245 |
+
this._set(assign({}, newState));
|
246 |
+
if (this.root._lock) return;
|
247 |
+
flush(this.root);
|
248 |
+
}
|
249 |
+
|
250 |
+
function _set(newState) {
|
251 |
+
var oldState = this._state,
|
252 |
+
changed = {},
|
253 |
+
dirty = false;
|
254 |
+
|
255 |
+
newState = assign(this._staged, newState);
|
256 |
+
this._staged = {};
|
257 |
+
|
258 |
+
for (var key in newState) {
|
259 |
+
if (this._differs(newState[key], oldState[key])) changed[key] = dirty = true;
|
260 |
+
}
|
261 |
+
if (!dirty) return;
|
262 |
+
|
263 |
+
this._state = assign(assign({}, oldState), newState);
|
264 |
+
this._recompute(changed, this._state);
|
265 |
+
if (this._bind) this._bind(changed, this._state);
|
266 |
+
|
267 |
+
if (this._fragment) {
|
268 |
+
this.fire("state", { changed: changed, current: this._state, previous: oldState });
|
269 |
+
this._fragment.p(changed, this._state);
|
270 |
+
this.fire("update", { changed: changed, current: this._state, previous: oldState });
|
271 |
+
}
|
272 |
+
}
|
273 |
+
|
274 |
+
function _stage(newState) {
|
275 |
+
assign(this._staged, newState);
|
276 |
+
}
|
277 |
+
|
278 |
+
function _mount(target, anchor) {
|
279 |
+
this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor || null);
|
280 |
+
}
|
281 |
+
|
282 |
+
function _differs(a, b) {
|
283 |
+
return a != a ? b == b : a !== b || a && (typeof a === "undefined" ? "undefined" : _typeof(a)) === 'object' || typeof a === 'function';
|
284 |
+
}
|
285 |
+
|
286 |
+
function blankObject() {
|
287 |
+
return Object.create(null);
|
288 |
+
}
|
289 |
+
|
290 |
+
function flush(component) {
|
291 |
+
component._lock = true;
|
292 |
+
callAll(component._beforecreate);
|
293 |
+
callAll(component._oncreate);
|
294 |
+
callAll(component._aftercreate);
|
295 |
+
component._lock = false;
|
296 |
+
}
|
297 |
+
|
298 |
+
function callAll(fns) {
|
299 |
+
while (fns && fns.length) {
|
300 |
+
fns.shift()();
|
301 |
+
}
|
302 |
+
}
|
303 |
+
return PNotifyHistory;
|
304 |
+
}(WamPnotify);
|
305 |
//# sourceMappingURL=PNotifyHistory.js.map
|
components/assets-manager/assets/js/libs/wam-pnotify.js
CHANGED
@@ -1,2037 +1,2037 @@
|
|
1 |
-
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
2 |
-
|
3 |
-
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
4 |
-
|
5 |
-
/* src/PNotify.html generated by Svelte v2.16.1 */
|
6 |
-
var WamPnotify = function () {
|
7 |
-
"use strict";
|
8 |
-
|
9 |
-
var PNotify = void 0;
|
10 |
-
|
11 |
-
var posTimer = void 0; // Position all timer.
|
12 |
-
|
13 |
-
// These actions need to be done once the DOM is ready.
|
14 |
-
var onDocumentLoaded = function onDocumentLoaded() {
|
15 |
-
PNotify.defaultStack.context = document.body;
|
16 |
-
// Reposition the notices when the window resizes.
|
17 |
-
window.addEventListener('resize', function () {
|
18 |
-
if (posTimer) {
|
19 |
-
clearTimeout(posTimer);
|
20 |
-
}
|
21 |
-
posTimer = setTimeout(function () {
|
22 |
-
PNotify.positionAll();
|
23 |
-
}, 10);
|
24 |
-
});
|
25 |
-
};
|
26 |
-
|
27 |
-
// Creates the background overlay for modal stacks.
|
28 |
-
var createStackOverlay = function createStackOverlay(stack) {
|
29 |
-
var overlay = document.createElement('div');
|
30 |
-
overlay.classList.add('ui-pnotify-modal-overlay');
|
31 |
-
if (stack.context !== document.body) {
|
32 |
-
overlay.style.height = stack.context.scrollHeight + 'px';
|
33 |
-
overlay.style.width = stack.context.scrollWidth + 'px';
|
34 |
-
}
|
35 |
-
// Close the notices on overlay click.
|
36 |
-
overlay.addEventListener('click', function () {
|
37 |
-
if (stack.overlayClose) {
|
38 |
-
PNotify.closeStack(stack);
|
39 |
-
}
|
40 |
-
});
|
41 |
-
stack.overlay = overlay;
|
42 |
-
};
|
43 |
-
|
44 |
-
var insertStackOverlay = function insertStackOverlay(stack) {
|
45 |
-
if (stack.overlay.parentNode !== stack.context) {
|
46 |
-
stack.overlay = stack.context.insertBefore(stack.overlay, stack.context.firstChild);
|
47 |
-
}
|
48 |
-
};
|
49 |
-
|
50 |
-
var removeStackOverlay = function removeStackOverlay(stack) {
|
51 |
-
if (stack.overlay.parentNode) {
|
52 |
-
stack.overlay.parentNode.removeChild(stack.overlay);
|
53 |
-
}
|
54 |
-
};
|
55 |
-
|
56 |
-
// Default arguments for the new notice helper functions.
|
57 |
-
var getDefaultArgs = function getDefaultArgs(options, type) {
|
58 |
-
if ((typeof options === 'undefined' ? 'undefined' : _typeof(options)) !== 'object') {
|
59 |
-
options = { 'text': options };
|
60 |
-
}
|
61 |
-
|
62 |
-
// Only assign the type if it was requested, so we don't overwrite
|
63 |
-
// options.type if it has something assigned.
|
64 |
-
if (type) {
|
65 |
-
options.type = type;
|
66 |
-
}
|
67 |
-
|
68 |
-
return { target: document.body, data: options };
|
69 |
-
};
|
70 |
-
|
71 |
-
function _styles(_ref) {
|
72 |
-
var styling = _ref.styling;
|
73 |
-
|
74 |
-
return (typeof styling === 'undefined' ? 'undefined' : _typeof(styling)) === 'object' ? styling : PNotify.styling[styling];
|
75 |
-
}
|
76 |
-
|
77 |
-
function _icons(_ref2) {
|
78 |
-
var icons = _ref2.icons;
|
79 |
-
|
80 |
-
return (typeof icons === 'undefined' ? 'undefined' : _typeof(icons)) === 'object' ? icons : PNotify.icons[icons];
|
81 |
-
}
|
82 |
-
|
83 |
-
function _widthStyle(_ref3) {
|
84 |
-
var width = _ref3.width;
|
85 |
-
|
86 |
-
return typeof width === 'string' ? 'width: ' + width + ';' : '';
|
87 |
-
}
|
88 |
-
|
89 |
-
function _minHeightStyle(_ref4) {
|
90 |
-
var minHeight = _ref4.minHeight;
|
91 |
-
|
92 |
-
return typeof minHeight === 'string' ? 'min-height: ' + minHeight + ';' : '';
|
93 |
-
}
|
94 |
-
|
95 |
-
function data() {
|
96 |
-
var data = _extends({
|
97 |
-
'_state': 'initializing', // The state can be 'initializing', 'opening', 'open', 'closing', and 'closed'.
|
98 |
-
'_timer': null, // Auto close timer.
|
99 |
-
'_animTimer': null, // Animation timer.
|
100 |
-
'_animating': false, // Stores what is currently being animated (in or out).
|
101 |
-
'_animatingClass': '', // Stores the class that adds entry/exit animation effects.
|
102 |
-
'_moveClass': '', // Stores the class that adds movement animation effects.
|
103 |
-
'_timerHide': false, // Stores whether the notice was hidden by a timer.
|
104 |
-
'_moduleClasses': [], // Modules can add classes here to be added to the notice element. (They should play nice and not remove classes that aren't theirs.)
|
105 |
-
'_moduleIsNoticeOpen': false, // Modules that change how the notice displays (causing the notice element to not appear) can set this to true to make PNotify assume the notice has opened.
|
106 |
-
'_modules': {}, // Stores the instances of the modules.
|
107 |
-
'_modulesPrependContainer': PNotify.modulesPrependContainer,
|
108 |
-
'_modulesAppendContainer': PNotify.modulesAppendContainer
|
109 |
-
}, PNotify.defaults);
|
110 |
-
data.modules = _extends({}, PNotify.defaults.modules);
|
111 |
-
return data;
|
112 |
-
};
|
113 |
-
|
114 |
-
var methods = {
|
115 |
-
// This runs an event on all the modules.
|
116 |
-
runModules: function runModules(event) {
|
117 |
-
if (event === 'init') {
|
118 |
-
// Initializing a module should only be done if it has an init
|
119 |
-
// function, which means it's not rendered in the template.
|
120 |
-
for (var key in PNotify.modules) {
|
121 |
-
if (!PNotify.modules.hasOwnProperty(key)) {
|
122 |
-
continue;
|
123 |
-
}
|
124 |
-
if (typeof PNotify.modules[key].init === 'function') {
|
125 |
-
var module = PNotify.modules[key].init(this);
|
126 |
-
this.initModule(module);
|
127 |
-
}
|
128 |
-
}
|
129 |
-
} else {
|
130 |
-
var _get = this.get(),
|
131 |
-
_modules = _get._modules;
|
132 |
-
|
133 |
-
for (var _module in _modules) {
|
134 |
-
if (!_modules.hasOwnProperty(_module)) {
|
135 |
-
continue;
|
136 |
-
}
|
137 |
-
var moduleOptions = _extends({
|
138 |
-
'_notice': this,
|
139 |
-
'_options': this.get()
|
140 |
-
}, this.get().modules[_module]);
|
141 |
-
_modules[_module].set(moduleOptions);
|
142 |
-
if (typeof _modules[_module][event] === 'function') {
|
143 |
-
_modules[_module][event]();
|
144 |
-
}
|
145 |
-
}
|
146 |
-
}
|
147 |
-
},
|
148 |
-
|
149 |
-
|
150 |
-
// This passes module options to a module.
|
151 |
-
initModule: function initModule(module) {
|
152 |
-
var _get2 = this.get(),
|
153 |
-
modules = _get2.modules;
|
154 |
-
|
155 |
-
if (!modules.hasOwnProperty(module.constructor.key)) {
|
156 |
-
modules[module.constructor.key] = {};
|
157 |
-
}
|
158 |
-
var moduleOptions = _extends({
|
159 |
-
'_notice': this,
|
160 |
-
'_options': this.get()
|
161 |
-
}, modules[module.constructor.key]);
|
162 |
-
module.initModule(moduleOptions);
|
163 |
-
|
164 |
-
// Now save the module instance.
|
165 |
-
|
166 |
-
var _get3 = this.get(),
|
167 |
-
_modules = _get3._modules;
|
168 |
-
|
169 |
-
_modules[module.constructor.key] = module;
|
170 |
-
},
|
171 |
-
update: function update(options) {
|
172 |
-
// Save old options.
|
173 |
-
var oldHide = this.get().hide;
|
174 |
-
var oldIcon = this.get().icon;
|
175 |
-
|
176 |
-
this.set(options);
|
177 |
-
|
178 |
-
// Run the modules.
|
179 |
-
this.runModules('update');
|
180 |
-
|
181 |
-
// Update the timed hiding.
|
182 |
-
if (!this.get().hide) {
|
183 |
-
this.cancelClose();
|
184 |
-
} else if (!oldHide) {
|
185 |
-
this.queueClose();
|
186 |
-
}
|
187 |
-
this.queuePosition();
|
188 |
-
|
189 |
-
// Font Awesome 5 replaces our lovely element with a gross SVG. In order
|
190 |
-
// to make it play nice with Svelte, we have to clear the element and
|
191 |
-
// make it again.
|
192 |
-
|
193 |
-
var _get4 = this.get(),
|
194 |
-
icon = _get4.icon;
|
195 |
-
|
196 |
-
if (icon !== oldIcon && (icon === true && this.get().icons === 'fontawesome5' || typeof icon === 'string' && icon.match(/(^| )fa[srlb]($| )/))) {
|
197 |
-
this.set({ 'icon': false });
|
198 |
-
this.set({ 'icon': icon });
|
199 |
-
}
|
200 |
-
|
201 |
-
return this;
|
202 |
-
},
|
203 |
-
|
204 |
-
|
205 |
-
// Display the notice.
|
206 |
-
open: function open() {
|
207 |
-
var _this = this;
|
208 |
-
|
209 |
-
var _get5 = this.get(),
|
210 |
-
_state = _get5._state,
|
211 |
-
hide = _get5.hide;
|
212 |
-
|
213 |
-
if (_state === 'opening') {
|
214 |
-
return;
|
215 |
-
}
|
216 |
-
if (_state === 'open') {
|
217 |
-
if (hide) {
|
218 |
-
this.queueClose();
|
219 |
-
}
|
220 |
-
return;
|
221 |
-
}
|
222 |
-
this.set({
|
223 |
-
'_state': 'opening',
|
224 |
-
// This makes the notice visibity: hidden; so its dimensions can be
|
225 |
-
// determined.
|
226 |
-
'_animatingClass': 'ui-pnotify-initial-hidden'
|
227 |
-
});
|
228 |
-
// Run the modules.
|
229 |
-
this.runModules('beforeOpen');
|
230 |
-
|
231 |
-
var _get6 = this.get(),
|
232 |
-
stack = _get6.stack;
|
233 |
-
// If the notice is not in the DOM, or in the wrong context, append it.
|
234 |
-
|
235 |
-
|
236 |
-
if (!this.refs.elem.parentNode || stack && stack.context && stack.context !== this.refs.elem.parentNode) {
|
237 |
-
if (stack && stack.context) {
|
238 |
-
stack.context.appendChild(this.refs.elem);
|
239 |
-
} else if (document.body) {
|
240 |
-
document.body.appendChild(this.refs.elem);
|
241 |
-
} else {
|
242 |
-
throw new Error('No context to open this notice in.');
|
243 |
-
}
|
244 |
-
}
|
245 |
-
|
246 |
-
// Wait until the DOM is updated.
|
247 |
-
setTimeout(function () {
|
248 |
-
if (stack) {
|
249 |
-
// Mark the stack so it won't animate the new notice.
|
250 |
-
stack.animation = false;
|
251 |
-
// Now position all the notices.
|
252 |
-
PNotify.positionAll();
|
253 |
-
// Reset animation.
|
254 |
-
stack.animation = true;
|
255 |
-
}
|
256 |
-
|
257 |
-
_this.animateIn(function () {
|
258 |
-
// Now set it to hide.
|
259 |
-
if (_this.get().hide) {
|
260 |
-
_this.queueClose();
|
261 |
-
}
|
262 |
-
|
263 |
-
_this.set({ '_state': 'open' });
|
264 |
-
|
265 |
-
// Run the modules.
|
266 |
-
_this.runModules('afterOpen');
|
267 |
-
});
|
268 |
-
}, 0);
|
269 |
-
|
270 |
-
return this;
|
271 |
-
},
|
272 |
-
remove: function remove(timerHide) {
|
273 |
-
return this.close(timerHide);
|
274 |
-
},
|
275 |
-
|
276 |
-
|
277 |
-
// Remove the notice.
|
278 |
-
close: function close(timerHide) {
|
279 |
-
var _this2 = this;
|
280 |
-
|
281 |
-
var _get7 = this.get(),
|
282 |
-
_state = _get7._state;
|
283 |
-
|
284 |
-
if (_state === 'closing' || _state === 'closed') {
|
285 |
-
return;
|
286 |
-
}
|
287 |
-
this.set({ '_state': 'closing', '_timerHide': !!timerHide }); // Make sure it's a boolean.
|
288 |
-
// Run the modules.
|
289 |
-
this.runModules('beforeClose');
|
290 |
-
|
291 |
-
var _get8 = this.get(),
|
292 |
-
_timer = _get8._timer;
|
293 |
-
|
294 |
-
if (_timer && clearTimeout) {
|
295 |
-
clearTimeout(_timer);
|
296 |
-
this.set({ '_timer': null });
|
297 |
-
}
|
298 |
-
this.animateOut(function () {
|
299 |
-
_this2.set({ '_state': 'closed' });
|
300 |
-
// Run the modules.
|
301 |
-
_this2.runModules('afterClose');
|
302 |
-
_this2.queuePosition();
|
303 |
-
// If we're supposed to remove the notice from the DOM, do it.
|
304 |
-
if (_this2.get().remove) {
|
305 |
-
_this2.refs.elem.parentNode.removeChild(_this2.refs.elem);
|
306 |
-
}
|
307 |
-
// Run the modules.
|
308 |
-
_this2.runModules('beforeDestroy');
|
309 |
-
// Remove object from PNotify.notices to prevent memory leak (issue #49)
|
310 |
-
// unless destroy is off
|
311 |
-
if (_this2.get().destroy) {
|
312 |
-
if (PNotify.notices !== null) {
|
313 |
-
var idx = PNotify.notices.indexOf(_this2);
|
314 |
-
if (idx !== -1) {
|
315 |
-
PNotify.notices.splice(idx, 1);
|
316 |
-
}
|
317 |
-
}
|
318 |
-
}
|
319 |
-
// Run the modules.
|
320 |
-
_this2.runModules('afterDestroy');
|
321 |
-
});
|
322 |
-
|
323 |
-
return this;
|
324 |
-
},
|
325 |
-
|
326 |
-
|
327 |
-
// Animate the notice in.
|
328 |
-
animateIn: function animateIn(callback) {
|
329 |
-
var _this3 = this;
|
330 |
-
|
331 |
-
// Declare that the notice is animating in.
|
332 |
-
this.set({ '_animating': 'in' });
|
333 |
-
var finished = function finished() {
|
334 |
-
_this3.refs.elem.removeEventListener('transitionend', finished);
|
335 |
-
|
336 |
-
var _get9 = _this3.get(),
|
337 |
-
_animTimer = _get9._animTimer,
|
338 |
-
_animating = _get9._animating,
|
339 |
-
_moduleIsNoticeOpen = _get9._moduleIsNoticeOpen;
|
340 |
-
|
341 |
-
if (_animTimer) {
|
342 |
-
clearTimeout(_animTimer);
|
343 |
-
}
|
344 |
-
if (_animating !== 'in') {
|
345 |
-
return;
|
346 |
-
}
|
347 |
-
var visible = _moduleIsNoticeOpen;
|
348 |
-
if (!visible) {
|
349 |
-
var domRect = _this3.refs.elem.getBoundingClientRect();
|
350 |
-
for (var prop in domRect) {
|
351 |
-
if (domRect[prop] > 0) {
|
352 |
-
visible = true;
|
353 |
-
break;
|
354 |
-
}
|
355 |
-
}
|
356 |
-
}
|
357 |
-
if (visible) {
|
358 |
-
if (callback) {
|
359 |
-
callback.call();
|
360 |
-
}
|
361 |
-
// Declare that the notice has completed animating.
|
362 |
-
_this3.set({ '_animating': false });
|
363 |
-
} else {
|
364 |
-
_this3.set({ '_animTimer': setTimeout(finished, 40) });
|
365 |
-
}
|
366 |
-
};
|
367 |
-
|
368 |
-
if (this.get().animation === 'fade') {
|
369 |
-
this.refs.elem.addEventListener('transitionend', finished);
|
370 |
-
this.set({ '_animatingClass': 'ui-pnotify-in' });
|
371 |
-
// eslint-disable-next-line no-unused-expressions
|
372 |
-
this.refs.elem.style.opacity; // This line is necessary for some reason. Some notices don't fade without it.
|
373 |
-
this.set({ '_animatingClass': 'ui-pnotify-in ui-pnotify-fade-in' });
|
374 |
-
// Just in case the event doesn't fire, call it after 650 ms.
|
375 |
-
this.set({ '_animTimer': setTimeout(finished, 650) });
|
376 |
-
} else {
|
377 |
-
this.set({ '_animatingClass': 'ui-pnotify-in' });
|
378 |
-
finished();
|
379 |
-
}
|
380 |
-
},
|
381 |
-
|
382 |
-
|
383 |
-
// Animate the notice out.
|
384 |
-
animateOut: function animateOut(callback) {
|
385 |
-
var _this4 = this;
|
386 |
-
|
387 |
-
// Declare that the notice is animating out.
|
388 |
-
this.set({ '_animating': 'out' });
|
389 |
-
var finished = function finished() {
|
390 |
-
_this4.refs.elem.removeEventListener('transitionend', finished);
|
391 |
-
|
392 |
-
var _get10 = _this4.get(),
|
393 |
-
_animTimer = _get10._animTimer,
|
394 |
-
_animating = _get10._animating,
|
395 |
-
_moduleIsNoticeOpen = _get10._moduleIsNoticeOpen;
|
396 |
-
|
397 |
-
if (_animTimer) {
|
398 |
-
clearTimeout(_animTimer);
|
399 |
-
}
|
400 |
-
if (_animating !== 'out') {
|
401 |
-
return;
|
402 |
-
}
|
403 |
-
var visible = _moduleIsNoticeOpen;
|
404 |
-
if (!visible) {
|
405 |
-
var domRect = _this4.refs.elem.getBoundingClientRect();
|
406 |
-
for (var prop in domRect) {
|
407 |
-
if (domRect[prop] > 0) {
|
408 |
-
visible = true;
|
409 |
-
break;
|
410 |
-
}
|
411 |
-
}
|
412 |
-
}
|
413 |
-
if (!_this4.refs.elem.style.opacity || _this4.refs.elem.style.opacity === '0' || !visible) {
|
414 |
-
_this4.set({ '_animatingClass': '' });
|
415 |
-
|
416 |
-
var _get11 = _this4.get(),
|
417 |
-
stack = _get11.stack;
|
418 |
-
|
419 |
-
if (stack && stack.overlay) {
|
420 |
-
// Go through the modal stack to see if any are left open.
|
421 |
-
// TODO: Rewrite this cause it sucks.
|
422 |
-
var stillOpen = false;
|
423 |
-
for (var i = 0; i < PNotify.notices.length; i++) {
|
424 |
-
var notice = PNotify.notices[i];
|
425 |
-
if (notice !== _this4 && notice.get().stack === stack && notice.get()._state !== 'closed') {
|
426 |
-
stillOpen = true;
|
427 |
-
break;
|
428 |
-
}
|
429 |
-
}
|
430 |
-
if (!stillOpen) {
|
431 |
-
removeStackOverlay(stack);
|
432 |
-
}
|
433 |
-
}
|
434 |
-
if (callback) {
|
435 |
-
callback.call();
|
436 |
-
}
|
437 |
-
// Declare that the notice has completed animating.
|
438 |
-
_this4.set({ '_animating': false });
|
439 |
-
} else {
|
440 |
-
// In case this was called before the notice finished animating.
|
441 |
-
_this4.set({ '_animTimer': setTimeout(finished, 40) });
|
442 |
-
}
|
443 |
-
};
|
444 |
-
|
445 |
-
if (this.get().animation === 'fade') {
|
446 |
-
this.refs.elem.addEventListener('transitionend', finished);
|
447 |
-
this.set({ '_animatingClass': 'ui-pnotify-in' });
|
448 |
-
// Just in case the event doesn't fire, call it after 650 ms.
|
449 |
-
this.set({ '_animTimer': setTimeout(finished, 650) });
|
450 |
-
} else {
|
451 |
-
this.set({ '_animatingClass': '' });
|
452 |
-
finished();
|
453 |
-
}
|
454 |
-
},
|
455 |
-
|
456 |
-
|
457 |
-
// Position the notice.
|
458 |
-
position: function position() {
|
459 |
-
// Get the notice's stack.
|
460 |
-
var _get12 = this.get(),
|
461 |
-
stack = _get12.stack;
|
462 |
-
|
463 |
-
var elem = this.refs.elem;
|
464 |
-
if (!stack) {
|
465 |
-
return;
|
466 |
-
}
|
467 |
-
if (!stack.context) {
|
468 |
-
stack.context = document.body;
|
469 |
-
}
|
470 |
-
if (typeof stack.nextpos1 !== 'number') {
|
471 |
-
stack.nextpos1 = stack.firstpos1;
|
472 |
-
}
|
473 |
-
if (typeof stack.nextpos2 !== 'number') {
|
474 |
-
stack.nextpos2 = stack.firstpos2;
|
475 |
-
}
|
476 |
-
if (typeof stack.addpos2 !== 'number') {
|
477 |
-
stack.addpos2 = 0;
|
478 |
-
}
|
479 |
-
|
480 |
-
// Skip this notice if it's not shown.
|
481 |
-
if (!elem.classList.contains('ui-pnotify-in') && !elem.classList.contains('ui-pnotify-initial-hidden')) {
|
482 |
-
return this;
|
483 |
-
}
|
484 |
-
|
485 |
-
if (stack.modal) {
|
486 |
-
if (!stack.overlay) {
|
487 |
-
createStackOverlay(stack);
|
488 |
-
}
|
489 |
-
insertStackOverlay(stack);
|
490 |
-
}
|
491 |
-
|
492 |
-
// Read from the DOM to cause refresh.
|
493 |
-
elem.getBoundingClientRect();
|
494 |
-
|
495 |
-
if (stack.animation) {
|
496 |
-
// Add animate class.
|
497 |
-
this.set({ '_moveClass': 'ui-pnotify-move' });
|
498 |
-
}
|
499 |
-
|
500 |
-
var spaceY = stack.context === document.body ? window.innerHeight : stack.context.scrollHeight;
|
501 |
-
var spaceX = stack.context === document.body ? window.innerWidth : stack.context.scrollWidth;
|
502 |
-
|
503 |
-
var csspos1 = void 0;
|
504 |
-
|
505 |
-
if (stack.dir1) {
|
506 |
-
csspos1 = {
|
507 |
-
'down': 'top',
|
508 |
-
'up': 'bottom',
|
509 |
-
'left': 'right',
|
510 |
-
'right': 'left'
|
511 |
-
}[stack.dir1];
|
512 |
-
|
513 |
-
// Calculate the current pos1 value.
|
514 |
-
var curpos1 = void 0;
|
515 |
-
switch (stack.dir1) {
|
516 |
-
case 'down':
|
517 |
-
curpos1 = elem.offsetTop;
|
518 |
-
break;
|
519 |
-
case 'up':
|
520 |
-
curpos1 = spaceY - elem.scrollHeight - elem.offsetTop;
|
521 |
-
break;
|
522 |
-
case 'left':
|
523 |
-
curpos1 = spaceX - elem.scrollWidth - elem.offsetLeft;
|
524 |
-
break;
|
525 |
-
case 'right':
|
526 |
-
curpos1 = elem.offsetLeft;
|
527 |
-
break;
|
528 |
-
}
|
529 |
-
// Remember the first pos1, so the first notice goes there.
|
530 |
-
if (typeof stack.firstpos1 === 'undefined') {
|
531 |
-
stack.firstpos1 = curpos1;
|
532 |
-
stack.nextpos1 = stack.firstpos1;
|
533 |
-
}
|
534 |
-
}
|
535 |
-
|
536 |
-
if (stack.dir1 && stack.dir2) {
|
537 |
-
var csspos2 = {
|
538 |
-
'down': 'top',
|
539 |
-
'up': 'bottom',
|
540 |
-
'left': 'right',
|
541 |
-
'right': 'left'
|
542 |
-
}[stack.dir2];
|
543 |
-
|
544 |
-
// Calculate the current pos2 value.
|
545 |
-
var curpos2 = void 0;
|
546 |
-
switch (stack.dir2) {
|
547 |
-
case 'down':
|
548 |
-
curpos2 = elem.offsetTop;
|
549 |
-
break;
|
550 |
-
case 'up':
|
551 |
-
curpos2 = spaceY - elem.scrollHeight - elem.offsetTop;
|
552 |
-
break;
|
553 |
-
case 'left':
|
554 |
-
curpos2 = spaceX - elem.scrollWidth - elem.offsetLeft;
|
555 |
-
break;
|
556 |
-
case 'right':
|
557 |
-
curpos2 = elem.offsetLeft;
|
558 |
-
break;
|
559 |
-
}
|
560 |
-
// Remember the first pos2, so the first notice goes there.
|
561 |
-
if (typeof stack.firstpos2 === 'undefined') {
|
562 |
-
stack.firstpos2 = curpos2;
|
563 |
-
stack.nextpos2 = stack.firstpos2;
|
564 |
-
}
|
565 |
-
|
566 |
-
// Check that it's not beyond the viewport edge.
|
567 |
-
var endY = stack.nextpos1 + elem.offsetHeight + (typeof stack.spacing1 === 'undefined' ? 25 : stack.spacing1);
|
568 |
-
var endX = stack.nextpos1 + elem.offsetWidth + (typeof stack.spacing1 === 'undefined' ? 25 : stack.spacing1);
|
569 |
-
if ((stack.dir1 === 'down' || stack.dir1 === 'up') && endY > spaceY || (stack.dir1 === 'left' || stack.dir1 === 'right') && endX > spaceX) {
|
570 |
-
// If it is, it needs to go back to the first pos1, and over on pos2.
|
571 |
-
stack.nextpos1 = stack.firstpos1;
|
572 |
-
stack.nextpos2 += stack.addpos2 + (typeof stack.spacing2 === 'undefined' ? 25 : stack.spacing2);
|
573 |
-
stack.addpos2 = 0;
|
574 |
-
}
|
575 |
-
|
576 |
-
// Move the notice on dir2.
|
577 |
-
if (typeof stack.nextpos2 === 'number') {
|
578 |
-
elem.style[csspos2] = stack.nextpos2 + 'px';
|
579 |
-
if (!stack.animation) {
|
580 |
-
// eslint-disable-next-line no-unused-expressions
|
581 |
-
elem.style[csspos2]; // Read from the DOM for update.
|
582 |
-
}
|
583 |
-
}
|
584 |
-
|
585 |
-
// Keep track of the widest/tallest notice in the column/row, so we can push the next column/row.
|
586 |
-
switch (stack.dir2) {
|
587 |
-
case 'down':
|
588 |
-
case 'up':
|
589 |
-
if (elem.offsetHeight + (parseFloat(elem.style.marginTop, 10) || 0) + (parseFloat(elem.style.marginBottom, 10) || 0) > stack.addpos2) {
|
590 |
-
stack.addpos2 = elem.offsetHeight;
|
591 |
-
}
|
592 |
-
break;
|
593 |
-
case 'left':
|
594 |
-
case 'right':
|
595 |
-
if (elem.offsetWidth + (parseFloat(elem.style.marginLeft, 10) || 0) + (parseFloat(elem.style.marginRight, 10) || 0) > stack.addpos2) {
|
596 |
-
stack.addpos2 = elem.offsetWidth;
|
597 |
-
}
|
598 |
-
break;
|
599 |
-
}
|
600 |
-
} else if (stack.dir1) {
|
601 |
-
// Center the notice along dir1 axis, because the stack has no dir2.
|
602 |
-
var cssMiddle = void 0,
|
603 |
-
cssposCross = void 0;
|
604 |
-
switch (stack.dir1) {
|
605 |
-
case 'down':
|
606 |
-
case 'up':
|
607 |
-
cssposCross = ['left', 'right'];
|
608 |
-
cssMiddle = stack.context.scrollWidth / 2 - elem.offsetWidth / 2;
|
609 |
-
break;
|
610 |
-
case 'left':
|
611 |
-
case 'right':
|
612 |
-
cssposCross = ['top', 'bottom'];
|
613 |
-
cssMiddle = spaceY / 2 - elem.offsetHeight / 2;
|
614 |
-
break;
|
615 |
-
}
|
616 |
-
elem.style[cssposCross[0]] = cssMiddle + 'px';
|
617 |
-
elem.style[cssposCross[1]] = 'auto';
|
618 |
-
if (!stack.animation) {
|
619 |
-
// eslint-disable-next-line no-unused-expressions
|
620 |
-
elem.style[cssposCross[0]]; // Read from the DOM for update.
|
621 |
-
}
|
622 |
-
}
|
623 |
-
|
624 |
-
if (stack.dir1) {
|
625 |
-
// Move the notice on dir1.
|
626 |
-
if (typeof stack.nextpos1 === 'number') {
|
627 |
-
elem.style[csspos1] = stack.nextpos1 + 'px';
|
628 |
-
if (!stack.animation) {
|
629 |
-
// eslint-disable-next-line no-unused-expressions
|
630 |
-
elem.style[csspos1]; // Read from the DOM for update.
|
631 |
-
}
|
632 |
-
}
|
633 |
-
|
634 |
-
// Calculate the next dir1 position.
|
635 |
-
switch (stack.dir1) {
|
636 |
-
case 'down':
|
637 |
-
case 'up':
|
638 |
-
stack.nextpos1 += elem.offsetHeight + (typeof stack.spacing1 === 'undefined' ? 25 : stack.spacing1);
|
639 |
-
break;
|
640 |
-
case 'left':
|
641 |
-
case 'right':
|
642 |
-
stack.nextpos1 += elem.offsetWidth + (typeof stack.spacing1 === 'undefined' ? 25 : stack.spacing1);
|
643 |
-
break;
|
644 |
-
}
|
645 |
-
} else {
|
646 |
-
// Center the notice on the screen, because the stack has no dir1.
|
647 |
-
var cssMiddleLeft = spaceX / 2 - elem.offsetWidth / 2;
|
648 |
-
var cssMiddleTop = spaceY / 2 - elem.offsetHeight / 2;
|
649 |
-
elem.style.left = cssMiddleLeft + 'px';
|
650 |
-
elem.style.top = cssMiddleTop + 'px';
|
651 |
-
if (!stack.animation) {
|
652 |
-
// eslint-disable-next-line no-unused-expressions
|
653 |
-
elem.style.left; // Read from the DOM for update.
|
654 |
-
}
|
655 |
-
}
|
656 |
-
|
657 |
-
return this;
|
658 |
-
},
|
659 |
-
|
660 |
-
|
661 |
-
// Queue the position all function so it doesn't run repeatedly and
|
662 |
-
// use up resources.
|
663 |
-
queuePosition: function queuePosition(milliseconds) {
|
664 |
-
if (posTimer) {
|
665 |
-
clearTimeout(posTimer);
|
666 |
-
}
|
667 |
-
if (!milliseconds) {
|
668 |
-
milliseconds = 10;
|
669 |
-
}
|
670 |
-
posTimer = setTimeout(function () {
|
671 |
-
PNotify.positionAll();
|
672 |
-
}, milliseconds);
|
673 |
-
return this;
|
674 |
-
},
|
675 |
-
cancelRemove: function cancelRemove() {
|
676 |
-
return this.cancelClose();
|
677 |
-
},
|
678 |
-
|
679 |
-
|
680 |
-
// Cancel any pending removal timer.
|
681 |
-
cancelClose: function cancelClose() {
|
682 |
-
var _get13 = this.get(),
|
683 |
-
_timer = _get13._timer,
|
684 |
-
_animTimer = _get13._animTimer,
|
685 |
-
_state = _get13._state,
|
686 |
-
animation = _get13.animation;
|
687 |
-
|
688 |
-
if (_timer) {
|
689 |
-
clearTimeout(_timer);
|
690 |
-
}
|
691 |
-
if (_animTimer) {
|
692 |
-
clearTimeout(_animTimer);
|
693 |
-
}
|
694 |
-
if (_state === 'closing') {
|
695 |
-
// If it's animating out, stop it.
|
696 |
-
this.set({
|
697 |
-
'_state': 'open',
|
698 |
-
'_animating': false,
|
699 |
-
'_animatingClass': animation === 'fade' ? 'ui-pnotify-in ui-pnotify-fade-in' : 'ui-pnotify-in'
|
700 |
-
});
|
701 |
-
}
|
702 |
-
return this;
|
703 |
-
},
|
704 |
-
queueRemove: function queueRemove() {
|
705 |
-
return this.queueClose();
|
706 |
-
},
|
707 |
-
|
708 |
-
|
709 |
-
// Queue a close timer.
|
710 |
-
queueClose: function queueClose() {
|
711 |
-
var _this5 = this;
|
712 |
-
|
713 |
-
// Cancel any current close timer.
|
714 |
-
this.cancelClose();
|
715 |
-
this.set({
|
716 |
-
'_timer': setTimeout(function () {
|
717 |
-
return _this5.close(true);
|
718 |
-
}, isNaN(this.get().delay) ? 0 : this.get().delay)
|
719 |
-
});
|
720 |
-
return this;
|
721 |
-
},
|
722 |
-
addModuleClass: function addModuleClass() {
|
723 |
-
var _get14 = this.get(),
|
724 |
-
_moduleClasses = _get14._moduleClasses;
|
725 |
-
|
726 |
-
for (var _len = arguments.length, classNames = Array(_len), _key = 0; _key < _len; _key++) {
|
727 |
-
classNames[_key] = arguments[_key];
|
728 |
-
}
|
729 |
-
|
730 |
-
for (var i = 0; i < classNames.length; i++) {
|
731 |
-
var className = classNames[i];
|
732 |
-
if (_moduleClasses.indexOf(className) === -1) {
|
733 |
-
_moduleClasses.push(className);
|
734 |
-
}
|
735 |
-
}
|
736 |
-
this.set({ _moduleClasses: _moduleClasses });
|
737 |
-
},
|
738 |
-
removeModuleClass: function removeModuleClass() {
|
739 |
-
var _get15 = this.get(),
|
740 |
-
_moduleClasses = _get15._moduleClasses;
|
741 |
-
|
742 |
-
for (var _len2 = arguments.length, classNames = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
743 |
-
classNames[_key2] = arguments[_key2];
|
744 |
-
}
|
745 |
-
|
746 |
-
for (var i = 0; i < classNames.length; i++) {
|
747 |
-
var className = classNames[i];
|
748 |
-
var idx = _moduleClasses.indexOf(className);
|
749 |
-
if (idx !== -1) {
|
750 |
-
_moduleClasses.splice(idx, 1);
|
751 |
-
}
|
752 |
-
}
|
753 |
-
this.set({ _moduleClasses: _moduleClasses });
|
754 |
-
},
|
755 |
-
hasModuleClass: function hasModuleClass() {
|
756 |
-
var _get16 = this.get(),
|
757 |
-
_moduleClasses = _get16._moduleClasses;
|
758 |
-
|
759 |
-
for (var _len3 = arguments.length, classNames = Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
|
760 |
-
classNames[_key3] = arguments[_key3];
|
761 |
-
}
|
762 |
-
|
763 |
-
for (var i = 0; i < classNames.length; i++) {
|
764 |
-
var className = classNames[i];
|
765 |
-
if (_moduleClasses.indexOf(className) === -1) {
|
766 |
-
return false;
|
767 |
-
}
|
768 |
-
}
|
769 |
-
return true;
|
770 |
-
}
|
771 |
-
};
|
772 |
-
|
773 |
-
function oncreate() {
|
774 |
-
var _this6 = this;
|
775 |
-
|
776 |
-
this.on('mouseenter', function (e) {
|
777 |
-
// Stop animation, reset the removal timer when the user mouses over.
|
778 |
-
if (_this6.get().mouseReset && _this6.get()._animating === 'out') {
|
779 |
-
if (!_this6.get()._timerHide) {
|
780 |
-
return;
|
781 |
-
}
|
782 |
-
_this6.cancelClose();
|
783 |
-
}
|
784 |
-
// Stop the close timer.
|
785 |
-
if (_this6.get().hide && _this6.get().mouseReset) {
|
786 |
-
_this6.cancelClose();
|
787 |
-
}
|
788 |
-
});
|
789 |
-
|
790 |
-
this.on('mouseleave', function (e) {
|
791 |
-
// Start the close timer.
|
792 |
-
if (_this6.get().hide && _this6.get().mouseReset && _this6.get()._animating !== 'out') {
|
793 |
-
_this6.queueClose();
|
794 |
-
}
|
795 |
-
PNotify.positionAll();
|
796 |
-
});
|
797 |
-
|
798 |
-
var _get17 = this.get(),
|
799 |
-
stack = _get17.stack;
|
800 |
-
|
801 |
-
// Add the notice to the notice array.
|
802 |
-
|
803 |
-
|
804 |
-
if (stack && stack.push === 'top') {
|
805 |
-
PNotify.notices.splice(0, 0, this);
|
806 |
-
} else {
|
807 |
-
PNotify.notices.push(this);
|
808 |
-
}
|
809 |
-
|
810 |
-
// Run the modules.
|
811 |
-
this.runModules('init');
|
812 |
-
|
813 |
-
// We're now initialized, but haven't been opened yet.
|
814 |
-
this.set({ '_state': 'closed' });
|
815 |
-
|
816 |
-
// Display the notice.
|
817 |
-
if (this.get().autoDisplay) {
|
818 |
-
this.open();
|
819 |
-
}
|
820 |
-
};
|
821 |
-
|
822 |
-
function setup(Component) {
|
823 |
-
// Add static properties to the PNotify object.
|
824 |
-
PNotify = Component;
|
825 |
-
|
826 |
-
PNotify.VERSION = '4.0.0';
|
827 |
-
|
828 |
-
PNotify.defaultStack = {
|
829 |
-
dir1: 'down',
|
830 |
-
dir2: 'left',
|
831 |
-
firstpos1: 25,
|
832 |
-
firstpos2: 25,
|
833 |
-
spacing1: 36,
|
834 |
-
spacing2: 36,
|
835 |
-
push: 'bottom',
|
836 |
-
context: window && document.body
|
837 |
-
};
|
838 |
-
|
839 |
-
PNotify.defaults = {
|
840 |
-
// The notice's title.
|
841 |
-
title: false,
|
842 |
-
// Whether to trust the title or escape its contents. (Not allow HTML.)
|
843 |
-
titleTrusted: false,
|
844 |
-
// The notice's text.
|
845 |
-
text: false,
|
846 |
-
// Whether to trust the text or escape its contents. (Not allow HTML.)
|
847 |
-
textTrusted: false,
|
848 |
-
// What styling classes to use. (Can be 'brighttheme', 'bootstrap3', 'bootstrap4', or a styling object.)
|
849 |
-
styling: 'brighttheme',
|
850 |
-
// What icons to use (Can be 'brighttheme', 'bootstrap3', 'fontawesome4', 'fontawesome5', or an icon object.)
|
851 |
-
icons: 'brighttheme',
|
852 |
-
// Additional classes to be added to the notice. (For custom styling.)
|
853 |
-
addClass: '',
|
854 |
-
// Class to be added to the notice for corner styling.
|
855 |
-
cornerClass: '',
|
856 |
-
// Display the notice when it is created.
|
857 |
-
autoDisplay: true,
|
858 |
-
// Width of the notice.
|
859 |
-
width: '360px',
|
860 |
-
// Minimum height of the notice. It will expand to fit content.
|
861 |
-
minHeight: '16px',
|
862 |
-
// Type of the notice. 'notice', 'info', 'success', or 'error'.
|
863 |
-
type: 'notice',
|
864 |
-
// Set icon to true to use the default icon for the selected
|
865 |
-
// style/type, false for no icon, or a string for your own icon class.
|
866 |
-
icon: true,
|
867 |
-
// The animation to use when displaying and hiding the notice. 'none'
|
868 |
-
// and 'fade' are supported through CSS. Others are supported
|
869 |
-
// through the Animate module and Animate.css.
|
870 |
-
animation: 'fade',
|
871 |
-
// Speed at which the notice animates in and out. 'slow', 'normal',
|
872 |
-
// or 'fast'. Respectively, 400ms, 250ms, 100ms.
|
873 |
-
animateSpeed: 'normal',
|
874 |
-
// Display a drop shadow.
|
875 |
-
shadow: true,
|
876 |
-
// After a delay, remove the notice.
|
877 |
-
hide: true,
|
878 |
-
// Delay in milliseconds before the notice is removed.
|
879 |
-
delay: 8000,
|
880 |
-
// Reset the hide timer if the mouse moves over the notice.
|
881 |
-
mouseReset: true,
|
882 |
-
// Remove the notice's elements from the DOM after it is removed.
|
883 |
-
remove: true,
|
884 |
-
// Whether to remove the notice from the global array when it is closed.
|
885 |
-
destroy: true,
|
886 |
-
// The stack on which the notices will be placed. Also controls the
|
887 |
-
// direction the notices stack.
|
888 |
-
stack: PNotify.defaultStack,
|
889 |
-
// This is where options for modules should be defined.
|
890 |
-
modules: {}
|
891 |
-
};
|
892 |
-
|
893 |
-
// An array of all active notices.
|
894 |
-
PNotify.notices = [];
|
895 |
-
|
896 |
-
// This object holds all the PNotify modules. They are used to provide
|
897 |
-
// additional functionality.
|
898 |
-
PNotify.modules = {};
|
899 |
-
|
900 |
-
// Modules can add themselves to these to be rendered in the template.
|
901 |
-
PNotify.modulesPrependContainer = [];
|
902 |
-
PNotify.modulesAppendContainer = [];
|
903 |
-
|
904 |
-
// Helper function to create a new notice.
|
905 |
-
PNotify.alert = function (options) {
|
906 |
-
return new PNotify(getDefaultArgs(options));
|
907 |
-
};
|
908 |
-
// Helper function to create a new notice (notice type).
|
909 |
-
PNotify.notice = function (options) {
|
910 |
-
return new PNotify(getDefaultArgs(options, 'notice'));
|
911 |
-
};
|
912 |
-
// Helper function to create a new notice (info type).
|
913 |
-
PNotify.info = function (options) {
|
914 |
-
return new PNotify(getDefaultArgs(options, 'info'));
|
915 |
-
};
|
916 |
-
// Helper function to create a new notice (success type).
|
917 |
-
PNotify.success = function (options) {
|
918 |
-
return new PNotify(getDefaultArgs(options, 'success'));
|
919 |
-
};
|
920 |
-
// Helper function to create a new notice (error type).
|
921 |
-
PNotify.error = function (options) {
|
922 |
-
return new PNotify(getDefaultArgs(options, 'error'));
|
923 |
-
};
|
924 |
-
|
925 |
-
PNotify.removeAll = function () {
|
926 |
-
PNotify.closeAll();
|
927 |
-
};
|
928 |
-
|
929 |
-
// Close all notices.
|
930 |
-
PNotify.closeAll = function () {
|
931 |
-
for (var i = 0; i < PNotify.notices.length; i++) {
|
932 |
-
if (PNotify.notices[i].close) {
|
933 |
-
PNotify.notices[i].close(false);
|
934 |
-
}
|
935 |
-
}
|
936 |
-
};
|
937 |
-
|
938 |
-
PNotify.removeStack = function (stack) {
|
939 |
-
PNotify.closeStack(stack);
|
940 |
-
};
|
941 |
-
|
942 |
-
// Close all notices in a single stack.
|
943 |
-
PNotify.closeStack = function (stack) {
|
944 |
-
if (stack === false) {
|
945 |
-
return;
|
946 |
-
}
|
947 |
-
for (var i = 0; i < PNotify.notices.length; i++) {
|
948 |
-
if (PNotify.notices[i].close && PNotify.notices[i].get().stack === stack) {
|
949 |
-
PNotify.notices[i].close(false);
|
950 |
-
}
|
951 |
-
}
|
952 |
-
};
|
953 |
-
|
954 |
-
// Position all notices.
|
955 |
-
PNotify.positionAll = function () {
|
956 |
-
// This timer is used for queueing this function so it doesn't run
|
957 |
-
// repeatedly.
|
958 |
-
if (posTimer) {
|
959 |
-
clearTimeout(posTimer);
|
960 |
-
}
|
961 |
-
posTimer = null;
|
962 |
-
// Reset the next position data.
|
963 |
-
if (PNotify.notices.length > 0) {
|
964 |
-
for (var i = 0; i < PNotify.notices.length; i++) {
|
965 |
-
var notice = PNotify.notices[i];
|
966 |
-
|
967 |
-
var _notice$get = notice.get(),
|
968 |
-
stack = _notice$get.stack;
|
969 |
-
|
970 |
-
if (!stack) {
|
971 |
-
continue;
|
972 |
-
}
|
973 |
-
if (stack.overlay) {
|
974 |
-
removeStackOverlay(stack);
|
975 |
-
}
|
976 |
-
stack.nextpos1 = stack.firstpos1;
|
977 |
-
stack.nextpos2 = stack.firstpos2;
|
978 |
-
stack.addpos2 = 0;
|
979 |
-
}
|
980 |
-
for (var _i = 0; _i < PNotify.notices.length; _i++) {
|
981 |
-
PNotify.notices[_i].position();
|
982 |
-
}
|
983 |
-
} else {
|
984 |
-
delete PNotify.defaultStack.nextpos1;
|
985 |
-
delete PNotify.defaultStack.nextpos2;
|
986 |
-
}
|
987 |
-
};
|
988 |
-
|
989 |
-
PNotify.styling = {
|
990 |
-
brighttheme: {
|
991 |
-
// Bright Theme doesn't require any UI libraries.
|
992 |
-
container: 'brighttheme',
|
993 |
-
notice: 'brighttheme-notice',
|
994 |
-
info: 'brighttheme-info',
|
995 |
-
success: 'brighttheme-success',
|
996 |
-
error: 'brighttheme-error'
|
997 |
-
},
|
998 |
-
bootstrap3: {
|
999 |
-
container: 'alert',
|
1000 |
-
notice: 'alert-warning',
|
1001 |
-
info: 'alert-info',
|
1002 |
-
success: 'alert-success',
|
1003 |
-
error: 'alert-danger',
|
1004 |
-
icon: 'ui-pnotify-icon-bs3'
|
1005 |
-
},
|
1006 |
-
bootstrap4: {
|
1007 |
-
container: 'alert',
|
1008 |
-
notice: 'alert-warning',
|
1009 |
-
info: 'alert-info',
|
1010 |
-
success: 'alert-success',
|
1011 |
-
error: 'alert-danger',
|
1012 |
-
icon: 'ui-pnotify-icon-bs4',
|
1013 |
-
title: 'ui-pnotify-title-bs4'
|
1014 |
-
}
|
1015 |
-
};
|
1016 |
-
|
1017 |
-
// icons are separate from the style, since bs4 doesn't come with any
|
1018 |
-
PNotify.icons = {
|
1019 |
-
brighttheme: {
|
1020 |
-
notice: 'brighttheme-icon-notice',
|
1021 |
-
info: 'brighttheme-icon-info',
|
1022 |
-
success: 'brighttheme-icon-success',
|
1023 |
-
error: 'brighttheme-icon-error'
|
1024 |
-
},
|
1025 |
-
bootstrap3: {
|
1026 |
-
notice: 'glyphicon glyphicon-exclamation-sign',
|
1027 |
-
info: 'glyphicon glyphicon-info-sign',
|
1028 |
-
success: 'glyphicon glyphicon-ok-sign',
|
1029 |
-
error: 'glyphicon glyphicon-warning-sign'
|
1030 |
-
},
|
1031 |
-
// User must have Font Awesome v4.0+
|
1032 |
-
fontawesome4: {
|
1033 |
-
notice: 'fa fa-exclamation-circle',
|
1034 |
-
info: 'fa fa-info-circle',
|
1035 |
-
success: 'fa fa-check-circle',
|
1036 |
-
error: 'fa fa-exclamation-triangle'
|
1037 |
-
},
|
1038 |
-
// User must have Font Awesome v5.0+
|
1039 |
-
fontawesome5: {
|
1040 |
-
notice: 'fas fa-exclamation-circle',
|
1041 |
-
info: 'fas fa-info-circle',
|
1042 |
-
success: 'fas fa-check-circle',
|
1043 |
-
error: 'fas fa-exclamation-triangle'
|
1044 |
-
}
|
1045 |
-
};
|
1046 |
-
|
1047 |
-
// Run the deferred actions once the DOM is ready.
|
1048 |
-
if (window && document.body) {
|
1049 |
-
onDocumentLoaded();
|
1050 |
-
} else {
|
1051 |
-
document.addEventListener('DOMContentLoaded', onDocumentLoaded);
|
1052 |
-
}
|
1053 |
-
}
|
1054 |
-
|
1055 |
-
function add_css() {
|
1056 |
-
var style = createElement("style");
|
1057 |
-
style.id = 'svelte-1eldsjg-style';
|
1058 |
-
style.textContent = "body > .ui-pnotify{position:fixed;z-index:100040}body > .ui-pnotify.ui-pnotify-modal{z-index:100042}.ui-pnotify{position:absolute;height:auto;z-index:1;display:none}.ui-pnotify.ui-pnotify-modal{z-index:3}.ui-pnotify.ui-pnotify-in{display:block}.ui-pnotify.ui-pnotify-initial-hidden{display:block;visibility:hidden}.ui-pnotify.ui-pnotify-move{transition:left .5s ease, top .5s ease, right .5s ease, bottom .5s ease}.ui-pnotify.ui-pnotify-fade-slow{transition:opacity .4s linear;opacity:0}.ui-pnotify.ui-pnotify-fade-slow.ui-pnotify.ui-pnotify-move{transition:opacity .4s linear, left .5s ease, top .5s ease, right .5s ease, bottom .5s ease}.ui-pnotify.ui-pnotify-fade-normal{transition:opacity .25s linear;opacity:0}.ui-pnotify.ui-pnotify-fade-normal.ui-pnotify.ui-pnotify-move{transition:opacity .25s linear, left .5s ease, top .5s ease, right .5s ease, bottom .5s ease}.ui-pnotify.ui-pnotify-fade-fast{transition:opacity .1s linear;opacity:0}.ui-pnotify.ui-pnotify-fade-fast.ui-pnotify.ui-pnotify-move{transition:opacity .1s linear, left .5s ease, top .5s ease, right .5s ease, bottom .5s ease}.ui-pnotify.ui-pnotify-fade-in{opacity:1}.ui-pnotify .ui-pnotify-shadow{-webkit-box-shadow:0px 6px 28px 0px rgba(0,0,0,0.1);-moz-box-shadow:0px 6px 28px 0px rgba(0,0,0,0.1);box-shadow:0px 6px 28px 0px rgba(0,0,0,0.1)}.ui-pnotify-container{background-position:0 0;padding:.8em;height:100%;margin:0}.ui-pnotify-container:after{content:\" \";visibility:hidden;display:block;height:0;clear:both}.ui-pnotify-container.ui-pnotify-sharp{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.ui-pnotify-title{display:block;white-space:pre-line;margin-bottom:.4em;margin-top:0}.ui-pnotify.ui-pnotify-with-icon .ui-pnotify-title,.ui-pnotify.ui-pnotify-with-icon .ui-pnotify-text{margin-left:24px}[dir=rtl] .ui-pnotify.ui-pnotify-with-icon .ui-pnotify-title,[dir=rtl] .ui-pnotify.ui-pnotify-with-icon .ui-pnotify-text{margin-right:24px;margin-left:0}.ui-pnotify-title-bs4{font-size:1.2rem}.ui-pnotify-text{display:block;white-space:pre-line}.ui-pnotify-icon,.ui-pnotify-icon span{display:block;float:left}[dir=rtl] .ui-pnotify-icon,[dir=rtl] .ui-pnotify-icon span{float:right}.ui-pnotify-icon-bs3 > span{position:relative;top:2px}.ui-pnotify-icon-bs4 > span{position:relative;top:4px}.ui-pnotify-modal-overlay{background-color:rgba(0, 0, 0, .4);top:0;left:0;position:absolute;height:100%;width:100%;z-index:2}body > .ui-pnotify-modal-overlay{position:fixed;z-index:100041}";
|
1059 |
-
append(document.head, style);
|
1060 |
-
}
|
1061 |
-
|
1062 |
-
function get_each1_context(ctx, list, i) {
|
1063 |
-
var child_ctx = Object.create(ctx);
|
1064 |
-
child_ctx.module = list[i];
|
1065 |
-
return child_ctx;
|
1066 |
-
}
|
1067 |
-
|
1068 |
-
function get_each0_context(ctx, list, i) {
|
1069 |
-
var child_ctx = Object.create(ctx);
|
1070 |
-
child_ctx.module = list[i];
|
1071 |
-
return child_ctx;
|
1072 |
-
}
|
1073 |
-
|
1074 |
-
function create_main_fragment(component, ctx) {
|
1075 |
-
var div1,
|
1076 |
-
div0,
|
1077 |
-
each0_blocks_1 = [],
|
1078 |
-
each0_lookup = blankObject(),
|
1079 |
-
text0,
|
1080 |
-
text1,
|
1081 |
-
text2,
|
1082 |
-
text3,
|
1083 |
-
each1_blocks_1 = [],
|
1084 |
-
each1_lookup = blankObject(),
|
1085 |
-
div0_class_value,
|
1086 |
-
div0_style_value,
|
1087 |
-
div1_class_value;
|
1088 |
-
|
1089 |
-
var each0_value = ctx._modulesPrependContainer;
|
1090 |
-
|
1091 |
-
var get_key = function get_key(ctx) {
|
1092 |
-
return ctx.module.key;
|
1093 |
-
};
|
1094 |
-
|
1095 |
-
for (var i = 0; i < each0_value.length; i += 1) {
|
1096 |
-
var child_ctx = get_each0_context(ctx, each0_value, i);
|
1097 |
-
var key = get_key(child_ctx);
|
1098 |
-
each0_blocks_1[i] = each0_lookup[key] = create_each_block_1(component, key, child_ctx);
|
1099 |
-
}
|
1100 |
-
|
1101 |
-
var if_block0 = ctx.icon !== false && create_if_block_4(component, ctx);
|
1102 |
-
|
1103 |
-
var if_block1 = ctx.title !== false && create_if_block_2(component, ctx);
|
1104 |
-
|
1105 |
-
var if_block2 = ctx.text !== false && create_if_block(component, ctx);
|
1106 |
-
|
1107 |
-
var each1_value = ctx._modulesAppendContainer;
|
1108 |
-
|
1109 |
-
var get_key_1 = function get_key_1(ctx) {
|
1110 |
-
return ctx.module.key;
|
1111 |
-
};
|
1112 |
-
|
1113 |
-
for (var i = 0; i < each1_value.length; i += 1) {
|
1114 |
-
var _child_ctx = get_each1_context(ctx, each1_value, i);
|
1115 |
-
var _key4 = get_key_1(_child_ctx);
|
1116 |
-
each1_blocks_1[i] = each1_lookup[_key4] = create_each_block(component, _key4, _child_ctx);
|
1117 |
-
}
|
1118 |
-
|
1119 |
-
function mouseover_handler(event) {
|
1120 |
-
component.fire("mouseover", event);
|
1121 |
-
}
|
1122 |
-
|
1123 |
-
function mouseout_handler(event) {
|
1124 |
-
component.fire("mouseout", event);
|
1125 |
-
}
|
1126 |
-
|
1127 |
-
function mouseenter_handler(event) {
|
1128 |
-
component.fire("mouseenter", event);
|
1129 |
-
}
|
1130 |
-
|
1131 |
-
function mouseleave_handler(event) {
|
1132 |
-
component.fire("mouseleave", event);
|
1133 |
-
}
|
1134 |
-
|
1135 |
-
function mousemove_handler(event) {
|
1136 |
-
component.fire("mousemove", event);
|
1137 |
-
}
|
1138 |
-
|
1139 |
-
function mousedown_handler(event) {
|
1140 |
-
component.fire("mousedown", event);
|
1141 |
-
}
|
1142 |
-
|
1143 |
-
function mouseup_handler(event) {
|
1144 |
-
component.fire("mouseup", event);
|
1145 |
-
}
|
1146 |
-
|
1147 |
-
function click_handler(event) {
|
1148 |
-
component.fire("click", event);
|
1149 |
-
}
|
1150 |
-
|
1151 |
-
function dblclick_handler(event) {
|
1152 |
-
component.fire("dblclick", event);
|
1153 |
-
}
|
1154 |
-
|
1155 |
-
function focus_handler(event) {
|
1156 |
-
component.fire("focus", event);
|
1157 |
-
}
|
1158 |
-
|
1159 |
-
function blur_handler(event) {
|
1160 |
-
component.fire("blur", event);
|
1161 |
-
}
|
1162 |
-
|
1163 |
-
function touchstart_handler(event) {
|
1164 |
-
component.fire("touchstart", event);
|
1165 |
-
}
|
1166 |
-
|
1167 |
-
function touchmove_handler(event) {
|
1168 |
-
component.fire("touchmove", event);
|
1169 |
-
}
|
1170 |
-
|
1171 |
-
function touchend_handler(event) {
|
1172 |
-
component.fire("touchend", event);
|
1173 |
-
}
|
1174 |
-
|
1175 |
-
function touchcancel_handler(event) {
|
1176 |
-
component.fire("touchcancel", event);
|
1177 |
-
}
|
1178 |
-
|
1179 |
-
return {
|
1180 |
-
c: function c() {
|
1181 |
-
div1 = createElement("div");
|
1182 |
-
div0 = createElement("div");
|
1183 |
-
|
1184 |
-
for (i = 0; i < each0_blocks_1.length; i += 1) {
|
1185 |
-
each0_blocks_1[i].c();
|
1186 |
-
}text0 = createText("\n ");
|
1187 |
-
if (if_block0) if_block0.c();
|
1188 |
-
text1 = createText("\n ");
|
1189 |
-
if (if_block1) if_block1.c();
|
1190 |
-
text2 = createText("\n ");
|
1191 |
-
if (if_block2) if_block2.c();
|
1192 |
-
text3 = createText("\n ");
|
1193 |
-
|
1194 |
-
for (i = 0; i < each1_blocks_1.length; i += 1) {
|
1195 |
-
each1_blocks_1[i].c();
|
1196 |
-
}div0.className = div0_class_value = "\n ui-pnotify-container\n " + (ctx._styles.container ? ctx._styles.container : '') + "\n " + (ctx._styles[ctx.type] ? ctx._styles[ctx.type] : '') + "\n " + ctx.cornerClass + "\n " + (ctx.shadow ? 'ui-pnotify-shadow' : '') + "\n ";
|
1197 |
-
div0.style.cssText = div0_style_value = "" + ctx._widthStyle + " " + ctx._minHeightStyle;
|
1198 |
-
setAttribute(div0, "role", "alert");
|
1199 |
-
addListener(div1, "mouseover", mouseover_handler);
|
1200 |
-
addListener(div1, "mouseout", mouseout_handler);
|
1201 |
-
addListener(div1, "mouseenter", mouseenter_handler);
|
1202 |
-
addListener(div1, "mouseleave", mouseleave_handler);
|
1203 |
-
addListener(div1, "mousemove", mousemove_handler);
|
1204 |
-
addListener(div1, "mousedown", mousedown_handler);
|
1205 |
-
addListener(div1, "mouseup", mouseup_handler);
|
1206 |
-
addListener(div1, "click", click_handler);
|
1207 |
-
addListener(div1, "dblclick", dblclick_handler);
|
1208 |
-
addListener(div1, "focus", focus_handler);
|
1209 |
-
addListener(div1, "blur", blur_handler);
|
1210 |
-
addListener(div1, "touchstart", touchstart_handler);
|
1211 |
-
addListener(div1, "touchmove", touchmove_handler);
|
1212 |
-
addListener(div1, "touchend", touchend_handler);
|
1213 |
-
addListener(div1, "touchcancel", touchcancel_handler);
|
1214 |
-
div1.className = div1_class_value = "\n ui-pnotify\n " + (ctx.icon !== false ? 'ui-pnotify-with-icon' : '') + "\n " + (ctx._styles.element ? ctx._styles.element : '') + "\n " + ctx.addClass + "\n " + ctx._animatingClass + "\n " + ctx._moveClass + "\n " + (ctx.animation === 'fade' ? 'ui-pnotify-fade-' + ctx.animateSpeed : '') + "\n " + (ctx.stack && ctx.stack.modal ? 'ui-pnotify-modal' : '') + "\n " + ctx._moduleClasses.join(' ') + "\n ";
|
1215 |
-
setAttribute(div1, "aria-live", "assertive");
|
1216 |
-
setAttribute(div1, "role", "alertdialog");
|
1217 |
-
setAttribute(div1, "ui-pnotify", true);
|
1218 |
-
},
|
1219 |
-
m: function m(target, anchor) {
|
1220 |
-
insert(target, div1, anchor);
|
1221 |
-
append(div1, div0);
|
1222 |
-
|
1223 |
-
for (i = 0; i < each0_blocks_1.length; i += 1) {
|
1224 |
-
each0_blocks_1[i].m(div0, null);
|
1225 |
-
}append(div0, text0);
|
1226 |
-
if (if_block0) if_block0.m(div0, null);
|
1227 |
-
append(div0, text1);
|
1228 |
-
if (if_block1) if_block1.m(div0, null);
|
1229 |
-
append(div0, text2);
|
1230 |
-
if (if_block2) if_block2.m(div0, null);
|
1231 |
-
append(div0, text3);
|
1232 |
-
|
1233 |
-
for (i = 0; i < each1_blocks_1.length; i += 1) {
|
1234 |
-
each1_blocks_1[i].m(div0, null);
|
1235 |
-
}component.refs.container = div0;
|
1236 |
-
component.refs.elem = div1;
|
1237 |
-
},
|
1238 |
-
p: function p(changed, ctx) {
|
1239 |
-
var each0_value = ctx._modulesPrependContainer;
|
1240 |
-
each0_blocks_1 = updateKeyedEach(each0_blocks_1, component, changed, get_key, 1, ctx, each0_value, each0_lookup, div0, destroyBlock, create_each_block_1, "m", text0, get_each0_context);
|
1241 |
-
|
1242 |
-
if (ctx.icon !== false) {
|
1243 |
-
if (if_block0) {
|
1244 |
-
if_block0.p(changed, ctx);
|
1245 |
-
} else {
|
1246 |
-
if_block0 = create_if_block_4(component, ctx);
|
1247 |
-
if_block0.c();
|
1248 |
-
if_block0.m(div0, text1);
|
1249 |
-
}
|
1250 |
-
} else if (if_block0) {
|
1251 |
-
if_block0.d(1);
|
1252 |
-
if_block0 = null;
|
1253 |
-
}
|
1254 |
-
|
1255 |
-
if (ctx.title !== false) {
|
1256 |
-
if (if_block1) {
|
1257 |
-
if_block1.p(changed, ctx);
|
1258 |
-
} else {
|
1259 |
-
if_block1 = create_if_block_2(component, ctx);
|
1260 |
-
if_block1.c();
|
1261 |
-
if_block1.m(div0, text2);
|
1262 |
-
}
|
1263 |
-
} else if (if_block1) {
|
1264 |
-
if_block1.d(1);
|
1265 |
-
if_block1 = null;
|
1266 |
-
}
|
1267 |
-
|
1268 |
-
if (ctx.text !== false) {
|
1269 |
-
if (if_block2) {
|
1270 |
-
if_block2.p(changed, ctx);
|
1271 |
-
} else {
|
1272 |
-
if_block2 = create_if_block(component, ctx);
|
1273 |
-
if_block2.c();
|
1274 |
-
if_block2.m(div0, text3);
|
1275 |
-
}
|
1276 |
-
} else if (if_block2) {
|
1277 |
-
if_block2.d(1);
|
1278 |
-
if_block2 = null;
|
1279 |
-
}
|
1280 |
-
|
1281 |
-
var each1_value = ctx._modulesAppendContainer;
|
1282 |
-
each1_blocks_1 = updateKeyedEach(each1_blocks_1, component, changed, get_key_1, 1, ctx, each1_value, each1_lookup, div0, destroyBlock, create_each_block, "m", null, get_each1_context);
|
1283 |
-
|
1284 |
-
if ((changed._styles || changed.type || changed.cornerClass || changed.shadow) && div0_class_value !== (div0_class_value = "\n ui-pnotify-container\n " + (ctx._styles.container ? ctx._styles.container : '') + "\n " + (ctx._styles[ctx.type] ? ctx._styles[ctx.type] : '') + "\n " + ctx.cornerClass + "\n " + (ctx.shadow ? 'ui-pnotify-shadow' : '') + "\n ")) {
|
1285 |
-
div0.className = div0_class_value;
|
1286 |
-
}
|
1287 |
-
|
1288 |
-
if ((changed._widthStyle || changed._minHeightStyle) && div0_style_value !== (div0_style_value = "" + ctx._widthStyle + " " + ctx._minHeightStyle)) {
|
1289 |
-
div0.style.cssText = div0_style_value;
|
1290 |
-
}
|
1291 |
-
|
1292 |
-
if ((changed.icon || changed._styles || changed.addClass || changed._animatingClass || changed._moveClass || changed.animation || changed.animateSpeed || changed.stack || changed._moduleClasses) && div1_class_value !== (div1_class_value = "\n ui-pnotify\n " + (ctx.icon !== false ? 'ui-pnotify-with-icon' : '') + "\n " + (ctx._styles.element ? ctx._styles.element : '') + "\n " + ctx.addClass + "\n " + ctx._animatingClass + "\n " + ctx._moveClass + "\n " + (ctx.animation === 'fade' ? 'ui-pnotify-fade-' + ctx.animateSpeed : '') + "\n " + (ctx.stack && ctx.stack.modal ? 'ui-pnotify-modal' : '') + "\n " + ctx._moduleClasses.join(' ') + "\n ")) {
|
1293 |
-
div1.className = div1_class_value;
|
1294 |
-
}
|
1295 |
-
},
|
1296 |
-
d: function d(detach) {
|
1297 |
-
if (detach) {
|
1298 |
-
detachNode(div1);
|
1299 |
-
}
|
1300 |
-
|
1301 |
-
for (i = 0; i < each0_blocks_1.length; i += 1) {
|
1302 |
-
each0_blocks_1[i].d();
|
1303 |
-
}if (if_block0) if_block0.d();
|
1304 |
-
if (if_block1) if_block1.d();
|
1305 |
-
if (if_block2) if_block2.d();
|
1306 |
-
|
1307 |
-
for (i = 0; i < each1_blocks_1.length; i += 1) {
|
1308 |
-
each1_blocks_1[i].d();
|
1309 |
-
}if (component.refs.container === div0) component.refs.container = null;
|
1310 |
-
removeListener(div1, "mouseover", mouseover_handler);
|
1311 |
-
removeListener(div1, "mouseout", mouseout_handler);
|
1312 |
-
removeListener(div1, "mouseenter", mouseenter_handler);
|
1313 |
-
removeListener(div1, "mouseleave", mouseleave_handler);
|
1314 |
-
removeListener(div1, "mousemove", mousemove_handler);
|
1315 |
-
removeListener(div1, "mousedown", mousedown_handler);
|
1316 |
-
removeListener(div1, "mouseup", mouseup_handler);
|
1317 |
-
removeListener(div1, "click", click_handler);
|
1318 |
-
removeListener(div1, "dblclick", dblclick_handler);
|
1319 |
-
removeListener(div1, "focus", focus_handler);
|
1320 |
-
removeListener(div1, "blur", blur_handler);
|
1321 |
-
removeListener(div1, "touchstart", touchstart_handler);
|
1322 |
-
removeListener(div1, "touchmove", touchmove_handler);
|
1323 |
-
removeListener(div1, "touchend", touchend_handler);
|
1324 |
-
removeListener(div1, "touchcancel", touchcancel_handler);
|
1325 |
-
if (component.refs.elem === div1) component.refs.elem = null;
|
1326 |
-
}
|
1327 |
-
};
|
1328 |
-
}
|
1329 |
-
|
1330 |
-
// (53:4) {#each _modulesPrependContainer as module (module.key)}
|
1331 |
-
function create_each_block_1(component, key_1, ctx) {
|
1332 |
-
var first, switch_instance_anchor;
|
1333 |
-
|
1334 |
-
var switch_value = ctx.module;
|
1335 |
-
|
1336 |
-
function switch_props(ctx) {
|
1337 |
-
return {
|
1338 |
-
root: component.root,
|
1339 |
-
store: component.store
|
1340 |
-
};
|
1341 |
-
}
|
1342 |
-
|
1343 |
-
if (switch_value) {
|
1344 |
-
var switch_instance = new switch_value(switch_props(ctx));
|
1345 |
-
}
|
1346 |
-
|
1347 |
-
function switch_instance_init(event) {
|
1348 |
-
component.initModule(event.module);
|
1349 |
-
}
|
1350 |
-
|
1351 |
-
if (switch_instance) switch_instance.on("init", switch_instance_init);
|
1352 |
-
|
1353 |
-
return {
|
1354 |
-
key: key_1,
|
1355 |
-
|
1356 |
-
first: null,
|
1357 |
-
|
1358 |
-
c: function c() {
|
1359 |
-
first = createComment();
|
1360 |
-
if (switch_instance) switch_instance._fragment.c();
|
1361 |
-
switch_instance_anchor = createComment();
|
1362 |
-
this.first = first;
|
1363 |
-
},
|
1364 |
-
m: function m(target, anchor) {
|
1365 |
-
insert(target, first, anchor);
|
1366 |
-
|
1367 |
-
if (switch_instance) {
|
1368 |
-
switch_instance._mount(target, anchor);
|
1369 |
-
}
|
1370 |
-
|
1371 |
-
insert(target, switch_instance_anchor, anchor);
|
1372 |
-
},
|
1373 |
-
p: function p(changed, ctx) {
|
1374 |
-
if (switch_value !== (switch_value = ctx.module)) {
|
1375 |
-
if (switch_instance) {
|
1376 |
-
switch_instance.destroy();
|
1377 |
-
}
|
1378 |
-
|
1379 |
-
if (switch_value) {
|
1380 |
-
switch_instance = new switch_value(switch_props(ctx));
|
1381 |
-
switch_instance._fragment.c();
|
1382 |
-
switch_instance._mount(switch_instance_anchor.parentNode, switch_instance_anchor);
|
1383 |
-
|
1384 |
-
switch_instance.on("init", switch_instance_init);
|
1385 |
-
} else {
|
1386 |
-
switch_instance = null;
|
1387 |
-
}
|
1388 |
-
}
|
1389 |
-
},
|
1390 |
-
d: function d(detach) {
|
1391 |
-
if (detach) {
|
1392 |
-
detachNode(first);
|
1393 |
-
detachNode(switch_instance_anchor);
|
1394 |
-
}
|
1395 |
-
|
1396 |
-
if (switch_instance) switch_instance.destroy(detach);
|
1397 |
-
}
|
1398 |
-
};
|
1399 |
-
}
|
1400 |
-
|
1401 |
-
// (56:4) {#if icon !== false}
|
1402 |
-
function create_if_block_4(component, ctx) {
|
1403 |
-
var div, span, span_class_value, div_class_value;
|
1404 |
-
|
1405 |
-
return {
|
1406 |
-
c: function c() {
|
1407 |
-
div = createElement("div");
|
1408 |
-
span = createElement("span");
|
1409 |
-
span.className = span_class_value = ctx.icon === true ? ctx._icons[ctx.type] ? ctx._icons[ctx.type] : '' : ctx.icon;
|
1410 |
-
div.className = div_class_value = "ui-pnotify-icon " + (ctx._styles.icon ? ctx._styles.icon : '');
|
1411 |
-
},
|
1412 |
-
m: function m(target, anchor) {
|
1413 |
-
insert(target, div, anchor);
|
1414 |
-
append(div, span);
|
1415 |
-
component.refs.iconContainer = div;
|
1416 |
-
},
|
1417 |
-
p: function p(changed, ctx) {
|
1418 |
-
if ((changed.icon || changed._icons || changed.type) && span_class_value !== (span_class_value = ctx.icon === true ? ctx._icons[ctx.type] ? ctx._icons[ctx.type] : '' : ctx.icon)) {
|
1419 |
-
span.className = span_class_value;
|
1420 |
-
}
|
1421 |
-
|
1422 |
-
if (changed._styles && div_class_value !== (div_class_value = "ui-pnotify-icon " + (ctx._styles.icon ? ctx._styles.icon : ''))) {
|
1423 |
-
div.className = div_class_value;
|
1424 |
-
}
|
1425 |
-
},
|
1426 |
-
d: function d(detach) {
|
1427 |
-
if (detach) {
|
1428 |
-
detachNode(div);
|
1429 |
-
}
|
1430 |
-
|
1431 |
-
if (component.refs.iconContainer === div) component.refs.iconContainer = null;
|
1432 |
-
}
|
1433 |
-
};
|
1434 |
-
}
|
1435 |
-
|
1436 |
-
// (61:4) {#if title !== false}
|
1437 |
-
function create_if_block_2(component, ctx) {
|
1438 |
-
var h4, h4_class_value;
|
1439 |
-
|
1440 |
-
function select_block_type(ctx) {
|
1441 |
-
if (ctx.titleTrusted) return create_if_block_3;
|
1442 |
-
return create_else_block_1;
|
1443 |
-
}
|
1444 |
-
|
1445 |
-
var current_block_type = select_block_type(ctx);
|
1446 |
-
var if_block = current_block_type(component, ctx);
|
1447 |
-
|
1448 |
-
return {
|
1449 |
-
c: function c() {
|
1450 |
-
h4 = createElement("h4");
|
1451 |
-
if_block.c();
|
1452 |
-
h4.className = h4_class_value = "ui-pnotify-title " + (ctx._styles.title ? ctx._styles.title : '');
|
1453 |
-
},
|
1454 |
-
m: function m(target, anchor) {
|
1455 |
-
insert(target, h4, anchor);
|
1456 |
-
if_block.m(h4, null);
|
1457 |
-
component.refs.titleContainer = h4;
|
1458 |
-
},
|
1459 |
-
p: function p(changed, ctx) {
|
1460 |
-
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
|
1461 |
-
if_block.p(changed, ctx);
|
1462 |
-
} else {
|
1463 |
-
if_block.d(1);
|
1464 |
-
if_block = current_block_type(component, ctx);
|
1465 |
-
if_block.c();
|
1466 |
-
if_block.m(h4, null);
|
1467 |
-
}
|
1468 |
-
|
1469 |
-
if (changed._styles && h4_class_value !== (h4_class_value = "ui-pnotify-title " + (ctx._styles.title ? ctx._styles.title : ''))) {
|
1470 |
-
h4.className = h4_class_value;
|
1471 |
-
}
|
1472 |
-
},
|
1473 |
-
d: function d(detach) {
|
1474 |
-
if (detach) {
|
1475 |
-
detachNode(h4);
|
1476 |
-
}
|
1477 |
-
|
1478 |
-
if_block.d();
|
1479 |
-
if (component.refs.titleContainer === h4) component.refs.titleContainer = null;
|
1480 |
-
}
|
1481 |
-
};
|
1482 |
-
}
|
1483 |
-
|
1484 |
-
// (65:8) {:else}
|
1485 |
-
function create_else_block_1(component, ctx) {
|
1486 |
-
var text;
|
1487 |
-
|
1488 |
-
return {
|
1489 |
-
c: function c() {
|
1490 |
-
text = createText(ctx.title);
|
1491 |
-
},
|
1492 |
-
m: function m(target, anchor) {
|
1493 |
-
insert(target, text, anchor);
|
1494 |
-
},
|
1495 |
-
p: function p(changed, ctx) {
|
1496 |
-
if (changed.title) {
|
1497 |
-
setData(text, ctx.title);
|
1498 |
-
}
|
1499 |
-
},
|
1500 |
-
d: function d(detach) {
|
1501 |
-
if (detach) {
|
1502 |
-
detachNode(text);
|
1503 |
-
}
|
1504 |
-
}
|
1505 |
-
};
|
1506 |
-
}
|
1507 |
-
|
1508 |
-
// (63:8) {#if titleTrusted}
|
1509 |
-
function create_if_block_3(component, ctx) {
|
1510 |
-
var raw_before, raw_after;
|
1511 |
-
|
1512 |
-
return {
|
1513 |
-
c: function c() {
|
1514 |
-
raw_before = createElement('noscript');
|
1515 |
-
raw_after = createElement('noscript');
|
1516 |
-
},
|
1517 |
-
m: function m(target, anchor) {
|
1518 |
-
insert(target, raw_before, anchor);
|
1519 |
-
raw_before.insertAdjacentHTML("afterend", ctx.title);
|
1520 |
-
insert(target, raw_after, anchor);
|
1521 |
-
},
|
1522 |
-
p: function p(changed, ctx) {
|
1523 |
-
if (changed.title) {
|
1524 |
-
detachBetween(raw_before, raw_after);
|
1525 |
-
raw_before.insertAdjacentHTML("afterend", ctx.title);
|
1526 |
-
}
|
1527 |
-
},
|
1528 |
-
d: function d(detach) {
|
1529 |
-
if (detach) {
|
1530 |
-
detachBetween(raw_before, raw_after);
|
1531 |
-
detachNode(raw_before);
|
1532 |
-
detachNode(raw_after);
|
1533 |
-
}
|
1534 |
-
}
|
1535 |
-
};
|
1536 |
-
}
|
1537 |
-
|
1538 |
-
// (70:4) {#if text !== false}
|
1539 |
-
function create_if_block(component, ctx) {
|
1540 |
-
var div, div_class_value;
|
1541 |
-
|
1542 |
-
function select_block_type_1(ctx) {
|
1543 |
-
if (ctx.textTrusted) return create_if_block_1;
|
1544 |
-
return create_else_block;
|
1545 |
-
}
|
1546 |
-
|
1547 |
-
var current_block_type = select_block_type_1(ctx);
|
1548 |
-
var if_block = current_block_type(component, ctx);
|
1549 |
-
|
1550 |
-
return {
|
1551 |
-
c: function c() {
|
1552 |
-
div = createElement("div");
|
1553 |
-
if_block.c();
|
1554 |
-
div.className = div_class_value = "ui-pnotify-text " + (ctx._styles.text ? ctx._styles.text : '');
|
1555 |
-
setAttribute(div, "role", "alert");
|
1556 |
-
},
|
1557 |
-
m: function m(target, anchor) {
|
1558 |
-
insert(target, div, anchor);
|
1559 |
-
if_block.m(div, null);
|
1560 |
-
component.refs.textContainer = div;
|
1561 |
-
},
|
1562 |
-
p: function p(changed, ctx) {
|
1563 |
-
if (current_block_type === (current_block_type = select_block_type_1(ctx)) && if_block) {
|
1564 |
-
if_block.p(changed, ctx);
|
1565 |
-
} else {
|
1566 |
-
if_block.d(1);
|
1567 |
-
if_block = current_block_type(component, ctx);
|
1568 |
-
if_block.c();
|
1569 |
-
if_block.m(div, null);
|
1570 |
-
}
|
1571 |
-
|
1572 |
-
if (changed._styles && div_class_value !== (div_class_value = "ui-pnotify-text " + (ctx._styles.text ? ctx._styles.text : ''))) {
|
1573 |
-
div.className = div_class_value;
|
1574 |
-
}
|
1575 |
-
},
|
1576 |
-
d: function d(detach) {
|
1577 |
-
if (detach) {
|
1578 |
-
detachNode(div);
|
1579 |
-
}
|
1580 |
-
|
1581 |
-
if_block.d();
|
1582 |
-
if (component.refs.textContainer === div) component.refs.textContainer = null;
|
1583 |
-
}
|
1584 |
-
};
|
1585 |
-
}
|
1586 |
-
|
1587 |
-
// (74:8) {:else}
|
1588 |
-
function create_else_block(component, ctx) {
|
1589 |
-
var text;
|
1590 |
-
|
1591 |
-
return {
|
1592 |
-
c: function c() {
|
1593 |
-
text = createText(ctx.text);
|
1594 |
-
},
|
1595 |
-
m: function m(target, anchor) {
|
1596 |
-
insert(target, text, anchor);
|
1597 |
-
},
|
1598 |
-
p: function p(changed, ctx) {
|
1599 |
-
if (changed.text) {
|
1600 |
-
setData(text, ctx.text);
|
1601 |
-
}
|
1602 |
-
},
|
1603 |
-
d: function d(detach) {
|
1604 |
-
if (detach) {
|
1605 |
-
detachNode(text);
|
1606 |
-
}
|
1607 |
-
}
|
1608 |
-
};
|
1609 |
-
}
|
1610 |
-
|
1611 |
-
// (72:8) {#if textTrusted}
|
1612 |
-
function create_if_block_1(component, ctx) {
|
1613 |
-
var raw_before, raw_after;
|
1614 |
-
|
1615 |
-
return {
|
1616 |
-
c: function c() {
|
1617 |
-
raw_before = createElement('noscript');
|
1618 |
-
raw_after = createElement('noscript');
|
1619 |
-
},
|
1620 |
-
m: function m(target, anchor) {
|
1621 |
-
insert(target, raw_before, anchor);
|
1622 |
-
raw_before.insertAdjacentHTML("afterend", ctx.text);
|
1623 |
-
insert(target, raw_after, anchor);
|
1624 |
-
},
|
1625 |
-
p: function p(changed, ctx) {
|
1626 |
-
if (changed.text) {
|
1627 |
-
detachBetween(raw_before, raw_after);
|
1628 |
-
raw_before.insertAdjacentHTML("afterend", ctx.text);
|
1629 |
-
}
|
1630 |
-
},
|
1631 |
-
d: function d(detach) {
|
1632 |
-
if (detach) {
|
1633 |
-
detachBetween(raw_before, raw_after);
|
1634 |
-
detachNode(raw_before);
|
1635 |
-
detachNode(raw_after);
|
1636 |
-
}
|
1637 |
-
}
|
1638 |
-
};
|
1639 |
-
}
|
1640 |
-
|
1641 |
-
// (79:4) {#each _modulesAppendContainer as module (module.key)}
|
1642 |
-
function create_each_block(component, key_1, ctx) {
|
1643 |
-
var first, switch_instance_anchor;
|
1644 |
-
|
1645 |
-
var switch_value = ctx.module;
|
1646 |
-
|
1647 |
-
function switch_props(ctx) {
|
1648 |
-
return {
|
1649 |
-
root: component.root,
|
1650 |
-
store: component.store
|
1651 |
-
};
|
1652 |
-
}
|
1653 |
-
|
1654 |
-
if (switch_value) {
|
1655 |
-
var switch_instance = new switch_value(switch_props(ctx));
|
1656 |
-
}
|
1657 |
-
|
1658 |
-
function switch_instance_init(event) {
|
1659 |
-
component.initModule(event.module);
|
1660 |
-
}
|
1661 |
-
|
1662 |
-
if (switch_instance) switch_instance.on("init", switch_instance_init);
|
1663 |
-
|
1664 |
-
return {
|
1665 |
-
key: key_1,
|
1666 |
-
|
1667 |
-
first: null,
|
1668 |
-
|
1669 |
-
c: function c() {
|
1670 |
-
first = createComment();
|
1671 |
-
if (switch_instance) switch_instance._fragment.c();
|
1672 |
-
switch_instance_anchor = createComment();
|
1673 |
-
this.first = first;
|
1674 |
-
},
|
1675 |
-
m: function m(target, anchor) {
|
1676 |
-
insert(target, first, anchor);
|
1677 |
-
|
1678 |
-
if (switch_instance) {
|
1679 |
-
switch_instance._mount(target, anchor);
|
1680 |
-
}
|
1681 |
-
|
1682 |
-
insert(target, switch_instance_anchor, anchor);
|
1683 |
-
},
|
1684 |
-
p: function p(changed, ctx) {
|
1685 |
-
if (switch_value !== (switch_value = ctx.module)) {
|
1686 |
-
if (switch_instance) {
|
1687 |
-
switch_instance.destroy();
|
1688 |
-
}
|
1689 |
-
|
1690 |
-
if (switch_value) {
|
1691 |
-
switch_instance = new switch_value(switch_props(ctx));
|
1692 |
-
switch_instance._fragment.c();
|
1693 |
-
switch_instance._mount(switch_instance_anchor.parentNode, switch_instance_anchor);
|
1694 |
-
|
1695 |
-
switch_instance.on("init", switch_instance_init);
|
1696 |
-
} else {
|
1697 |
-
switch_instance = null;
|
1698 |
-
}
|
1699 |
-
}
|
1700 |
-
},
|
1701 |
-
d: function d(detach) {
|
1702 |
-
if (detach) {
|
1703 |
-
detachNode(first);
|
1704 |
-
detachNode(switch_instance_anchor);
|
1705 |
-
}
|
1706 |
-
|
1707 |
-
if (switch_instance) switch_instance.destroy(detach);
|
1708 |
-
}
|
1709 |
-
};
|
1710 |
-
}
|
1711 |
-
|
1712 |
-
function PNotify_1(options) {
|
1713 |
-
var _this7 = this;
|
1714 |
-
|
1715 |
-
init(this, options);
|
1716 |
-
this.refs = {};
|
1717 |
-
this._state = assign(data(), options.data);
|
1718 |
-
|
1719 |
-
this._recompute({ styling: 1, icons: 1, width: 1, minHeight: 1 }, this._state);
|
1720 |
-
this._intro = true;
|
1721 |
-
|
1722 |
-
if (!document.getElementById("svelte-1eldsjg-style")) add_css();
|
1723 |
-
|
1724 |
-
this._fragment = create_main_fragment(this, this._state);
|
1725 |
-
|
1726 |
-
this.root._oncreate.push(function () {
|
1727 |
-
oncreate.call(_this7);
|
1728 |
-
_this7.fire("update", { changed: assignTrue({}, _this7._state), current: _this7._state });
|
1729 |
-
});
|
1730 |
-
|
1731 |
-
if (options.target) {
|
1732 |
-
this._fragment.c();
|
1733 |
-
this._mount(options.target, options.anchor);
|
1734 |
-
|
1735 |
-
flush(this);
|
1736 |
-
}
|
1737 |
-
}
|
1738 |
-
|
1739 |
-
assign(PNotify_1.prototype, {
|
1740 |
-
destroy: destroy,
|
1741 |
-
get: get,
|
1742 |
-
fire: fire,
|
1743 |
-
on: on,
|
1744 |
-
set: set,
|
1745 |
-
_set: _set,
|
1746 |
-
_stage: _stage,
|
1747 |
-
_mount: _mount,
|
1748 |
-
_differs: _differs
|
1749 |
-
});
|
1750 |
-
assign(PNotify_1.prototype, methods);
|
1751 |
-
|
1752 |
-
PNotify_1.prototype._recompute = function _recompute(changed, state) {
|
1753 |
-
if (changed.styling) {
|
1754 |
-
if (this._differs(state._styles, state._styles = _styles(state))) changed._styles = true;
|
1755 |
-
}
|
1756 |
-
|
1757 |
-
if (changed.icons) {
|
1758 |
-
if (this._differs(state._icons, state._icons = _icons(state))) changed._icons = true;
|
1759 |
-
}
|
1760 |
-
|
1761 |
-
if (changed.width) {
|
1762 |
-
if (this._differs(state._widthStyle, state._widthStyle = _widthStyle(state))) changed._widthStyle = true;
|
1763 |
-
}
|
1764 |
-
|
1765 |
-
if (changed.minHeight) {
|
1766 |
-
if (this._differs(state._minHeightStyle, state._minHeightStyle = _minHeightStyle(state))) changed._minHeightStyle = true;
|
1767 |
-
}
|
1768 |
-
};
|
1769 |
-
|
1770 |
-
setup(PNotify_1);
|
1771 |
-
|
1772 |
-
function createElement(name) {
|
1773 |
-
return document.createElement(name);
|
1774 |
-
}
|
1775 |
-
|
1776 |
-
function append(target, node) {
|
1777 |
-
target.appendChild(node);
|
1778 |
-
}
|
1779 |
-
|
1780 |
-
function blankObject() {
|
1781 |
-
return Object.create(null);
|
1782 |
-
}
|
1783 |
-
|
1784 |
-
function createText(data) {
|
1785 |
-
return document.createTextNode(data);
|
1786 |
-
}
|
1787 |
-
|
1788 |
-
function setAttribute(node, attribute, value) {
|
1789 |
-
if (value == null) node.removeAttribute(attribute);else node.setAttribute(attribute, value);
|
1790 |
-
}
|
1791 |
-
|
1792 |
-
function addListener(node, event, handler, options) {
|
1793 |
-
node.addEventListener(event, handler, options);
|
1794 |
-
}
|
1795 |
-
|
1796 |
-
function insert(target, node, anchor) {
|
1797 |
-
target.insertBefore(node, anchor);
|
1798 |
-
}
|
1799 |
-
|
1800 |
-
function updateKeyedEach(old_blocks, component, changed, get_key, dynamic, ctx, list, lookup, node, destroy, create_each_block, intro_method, next, get_context) {
|
1801 |
-
var o = old_blocks.length;
|
1802 |
-
var n = list.length;
|
1803 |
-
|
1804 |
-
var i = o;
|
1805 |
-
var old_indexes = {};
|
1806 |
-
while (i--) {
|
1807 |
-
old_indexes[old_blocks[i].key] = i;
|
1808 |
-
}var new_blocks = [];
|
1809 |
-
var new_lookup = {};
|
1810 |
-
var deltas = {};
|
1811 |
-
|
1812 |
-
var i = n;
|
1813 |
-
while (i--) {
|
1814 |
-
var child_ctx = get_context(ctx, list, i);
|
1815 |
-
var key = get_key(child_ctx);
|
1816 |
-
var block = lookup[key];
|
1817 |
-
|
1818 |
-
if (!block) {
|
1819 |
-
block = create_each_block(component, key, child_ctx);
|
1820 |
-
block.c();
|
1821 |
-
} else if (dynamic) {
|
1822 |
-
block.p(changed, child_ctx);
|
1823 |
-
}
|
1824 |
-
|
1825 |
-
new_blocks[i] = new_lookup[key] = block;
|
1826 |
-
|
1827 |
-
if (key in old_indexes) deltas[key] = Math.abs(i - old_indexes[key]);
|
1828 |
-
}
|
1829 |
-
|
1830 |
-
var will_move = {};
|
1831 |
-
var did_move = {};
|
1832 |
-
|
1833 |
-
function insert(block) {
|
1834 |
-
block[intro_method](node, next);
|
1835 |
-
lookup[block.key] = block;
|
1836 |
-
next = block.first;
|
1837 |
-
n--;
|
1838 |
-
}
|
1839 |
-
|
1840 |
-
while (o && n) {
|
1841 |
-
var new_block = new_blocks[n - 1];
|
1842 |
-
var old_block = old_blocks[o - 1];
|
1843 |
-
var new_key = new_block.key;
|
1844 |
-
var old_key = old_block.key;
|
1845 |
-
|
1846 |
-
if (new_block === old_block) {
|
1847 |
-
// do nothing
|
1848 |
-
next = new_block.first;
|
1849 |
-
o--;
|
1850 |
-
n--;
|
1851 |
-
} else if (!new_lookup[old_key]) {
|
1852 |
-
// remove old block
|
1853 |
-
destroy(old_block, lookup);
|
1854 |
-
o--;
|
1855 |
-
} else if (!lookup[new_key] || will_move[new_key]) {
|
1856 |
-
insert(new_block);
|
1857 |
-
} else if (did_move[old_key]) {
|
1858 |
-
o--;
|
1859 |
-
} else if (deltas[new_key] > deltas[old_key]) {
|
1860 |
-
did_move[new_key] = true;
|
1861 |
-
insert(new_block);
|
1862 |
-
} else {
|
1863 |
-
will_move[old_key] = true;
|
1864 |
-
o--;
|
1865 |
-
}
|
1866 |
-
}
|
1867 |
-
|
1868 |
-
while (o--) {
|
1869 |
-
var old_block = old_blocks[o];
|
1870 |
-
if (!new_lookup[old_block.key]) destroy(old_block, lookup);
|
1871 |
-
}
|
1872 |
-
|
1873 |
-
while (n) {
|
1874 |
-
insert(new_blocks[n - 1]);
|
1875 |
-
}return new_blocks;
|
1876 |
-
}
|
1877 |
-
|
1878 |
-
function destroyBlock(block, lookup) {
|
1879 |
-
block.d(1);
|
1880 |
-
lookup[block.key] = null;
|
1881 |
-
}
|
1882 |
-
|
1883 |
-
function detachNode(node) {
|
1884 |
-
node.parentNode.removeChild(node);
|
1885 |
-
}
|
1886 |
-
|
1887 |
-
function removeListener(node, event, handler, options) {
|
1888 |
-
node.removeEventListener(event, handler, options);
|
1889 |
-
}
|
1890 |
-
|
1891 |
-
function createComment() {
|
1892 |
-
return document.createComment('');
|
1893 |
-
}
|
1894 |
-
|
1895 |
-
function setData(text, data) {
|
1896 |
-
text.data = '' + data;
|
1897 |
-
}
|
1898 |
-
|
1899 |
-
function detachBetween(before, after) {
|
1900 |
-
while (before.nextSibling && before.nextSibling !== after) {
|
1901 |
-
before.parentNode.removeChild(before.nextSibling);
|
1902 |
-
}
|
1903 |
-
}
|
1904 |
-
|
1905 |
-
function init(component, options) {
|
1906 |
-
component._handlers = blankObject();
|
1907 |
-
component._slots = blankObject();
|
1908 |
-
component._bind = options._bind;
|
1909 |
-
component._staged = {};
|
1910 |
-
|
1911 |
-
component.options = options;
|
1912 |
-
component.root = options.root || component;
|
1913 |
-
component.store = options.store || component.root.store;
|
1914 |
-
|
1915 |
-
if (!options.root) {
|
1916 |
-
component._beforecreate = [];
|
1917 |
-
component._oncreate = [];
|
1918 |
-
component._aftercreate = [];
|
1919 |
-
}
|
1920 |
-
}
|
1921 |
-
|
1922 |
-
function assign(tar, src) {
|
1923 |
-
for (var k in src) {
|
1924 |
-
tar[k] = src[k];
|
1925 |
-
}return tar;
|
1926 |
-
}
|
1927 |
-
|
1928 |
-
function assignTrue(tar, src) {
|
1929 |
-
for (var k in src) {
|
1930 |
-
tar[k] = 1;
|
1931 |
-
}return tar;
|
1932 |
-
}
|
1933 |
-
|
1934 |
-
function flush(component) {
|
1935 |
-
component._lock = true;
|
1936 |
-
callAll(component._beforecreate);
|
1937 |
-
callAll(component._oncreate);
|
1938 |
-
callAll(component._aftercreate);
|
1939 |
-
component._lock = false;
|
1940 |
-
}
|
1941 |
-
|
1942 |
-
function destroy(detach) {
|
1943 |
-
this.destroy = noop;
|
1944 |
-
this.fire('destroy');
|
1945 |
-
this.set = noop;
|
1946 |
-
|
1947 |
-
this._fragment.d(detach !== false);
|
1948 |
-
this._fragment = null;
|
1949 |
-
this._state = {};
|
1950 |
-
}
|
1951 |
-
|
1952 |
-
function get() {
|
1953 |
-
return this._state;
|
1954 |
-
}
|
1955 |
-
|
1956 |
-
function fire(eventName, data) {
|
1957 |
-
var handlers = eventName in this._handlers && this._handlers[eventName].slice();
|
1958 |
-
if (!handlers) return;
|
1959 |
-
|
1960 |
-
for (var i = 0; i < handlers.length; i += 1) {
|
1961 |
-
var handler = handlers[i];
|
1962 |
-
|
1963 |
-
if (!handler.__calling) {
|
1964 |
-
try {
|
1965 |
-
handler.__calling = true;
|
1966 |
-
handler.call(this, data);
|
1967 |
-
} finally {
|
1968 |
-
handler.__calling = false;
|
1969 |
-
}
|
1970 |
-
}
|
1971 |
-
}
|
1972 |
-
}
|
1973 |
-
|
1974 |
-
function on(eventName, handler) {
|
1975 |
-
var handlers = this._handlers[eventName] || (this._handlers[eventName] = []);
|
1976 |
-
handlers.push(handler);
|
1977 |
-
|
1978 |
-
return {
|
1979 |
-
cancel: function cancel() {
|
1980 |
-
var index = handlers.indexOf(handler);
|
1981 |
-
if (~index) handlers.splice(index, 1);
|
1982 |
-
}
|
1983 |
-
};
|
1984 |
-
}
|
1985 |
-
|
1986 |
-
function set(newState) {
|
1987 |
-
this._set(assign({}, newState));
|
1988 |
-
if (this.root._lock) return;
|
1989 |
-
flush(this.root);
|
1990 |
-
}
|
1991 |
-
|
1992 |
-
function _set(newState) {
|
1993 |
-
var oldState = this._state,
|
1994 |
-
changed = {},
|
1995 |
-
dirty = false;
|
1996 |
-
|
1997 |
-
newState = assign(this._staged, newState);
|
1998 |
-
this._staged = {};
|
1999 |
-
|
2000 |
-
for (var key in newState) {
|
2001 |
-
if (this._differs(newState[key], oldState[key])) changed[key] = dirty = true;
|
2002 |
-
}
|
2003 |
-
if (!dirty) return;
|
2004 |
-
|
2005 |
-
this._state = assign(assign({}, oldState), newState);
|
2006 |
-
this._recompute(changed, this._state);
|
2007 |
-
if (this._bind) this._bind(changed, this._state);
|
2008 |
-
|
2009 |
-
if (this._fragment) {
|
2010 |
-
this.fire("state", { changed: changed, current: this._state, previous: oldState });
|
2011 |
-
this._fragment.p(changed, this._state);
|
2012 |
-
this.fire("update", { changed: changed, current: this._state, previous: oldState });
|
2013 |
-
}
|
2014 |
-
}
|
2015 |
-
|
2016 |
-
function _stage(newState) {
|
2017 |
-
assign(this._staged, newState);
|
2018 |
-
}
|
2019 |
-
|
2020 |
-
function _mount(target, anchor) {
|
2021 |
-
this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor || null);
|
2022 |
-
}
|
2023 |
-
|
2024 |
-
function _differs(a, b) {
|
2025 |
-
return a != a ? b == b : a !== b || a && (typeof a === 'undefined' ? 'undefined' : _typeof(a)) === 'object' || typeof a === 'function';
|
2026 |
-
}
|
2027 |
-
|
2028 |
-
function callAll(fns) {
|
2029 |
-
while (fns && fns.length) {
|
2030 |
-
fns.shift()();
|
2031 |
-
}
|
2032 |
-
}
|
2033 |
-
|
2034 |
-
function noop() {}
|
2035 |
-
return PNotify_1;
|
2036 |
-
}();
|
2037 |
//# sourceMappingURL=PNotify.js.map
|
1 |
+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
2 |
+
|
3 |
+
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
4 |
+
|
5 |
+
/* src/PNotify.html generated by Svelte v2.16.1 */
|
6 |
+
var WamPnotify = function () {
|
7 |
+
"use strict";
|
8 |
+
|
9 |
+
var PNotify = void 0;
|
10 |
+
|
11 |
+
var posTimer = void 0; // Position all timer.
|
12 |
+
|
13 |
+
// These actions need to be done once the DOM is ready.
|
14 |
+
var onDocumentLoaded = function onDocumentLoaded() {
|
15 |
+
PNotify.defaultStack.context = document.body;
|
16 |
+
// Reposition the notices when the window resizes.
|
17 |
+
window.addEventListener('resize', function () {
|
18 |
+
if (posTimer) {
|
19 |
+
clearTimeout(posTimer);
|
20 |
+
}
|
21 |
+
posTimer = setTimeout(function () {
|
22 |
+
PNotify.positionAll();
|
23 |
+
}, 10);
|
24 |
+
});
|
25 |
+
};
|
26 |
+
|
27 |
+
// Creates the background overlay for modal stacks.
|
28 |
+
var createStackOverlay = function createStackOverlay(stack) {
|
29 |
+
var overlay = document.createElement('div');
|
30 |
+
overlay.classList.add('ui-pnotify-modal-overlay');
|
31 |
+
if (stack.context !== document.body) {
|
32 |
+
overlay.style.height = stack.context.scrollHeight + 'px';
|
33 |
+
overlay.style.width = stack.context.scrollWidth + 'px';
|
34 |
+
}
|
35 |
+
// Close the notices on overlay click.
|
36 |
+
overlay.addEventListener('click', function () {
|
37 |
+
if (stack.overlayClose) {
|
38 |
+
PNotify.closeStack(stack);
|
39 |
+
}
|
40 |
+
});
|
41 |
+
stack.overlay = overlay;
|
42 |
+
};
|
43 |
+
|
44 |
+
var insertStackOverlay = function insertStackOverlay(stack) {
|
45 |
+
if (stack.overlay.parentNode !== stack.context) {
|
46 |
+
stack.overlay = stack.context.insertBefore(stack.overlay, stack.context.firstChild);
|
47 |
+
}
|
48 |
+
};
|
49 |
+
|
50 |
+
var removeStackOverlay = function removeStackOverlay(stack) {
|
51 |
+
if (stack.overlay.parentNode) {
|
52 |
+
stack.overlay.parentNode.removeChild(stack.overlay);
|
53 |
+
}
|
54 |
+
};
|
55 |
+
|
56 |
+
// Default arguments for the new notice helper functions.
|
57 |
+
var getDefaultArgs = function getDefaultArgs(options, type) {
|
58 |
+
if ((typeof options === 'undefined' ? 'undefined' : _typeof(options)) !== 'object') {
|
59 |
+
options = { 'text': options };
|
60 |
+
}
|
61 |
+
|
62 |
+
// Only assign the type if it was requested, so we don't overwrite
|
63 |
+
// options.type if it has something assigned.
|
64 |
+
if (type) {
|
65 |
+
options.type = type;
|
66 |
+
}
|
67 |
+
|
68 |
+
return { target: document.body, data: options };
|
69 |
+
};
|
70 |
+
|
71 |
+
function _styles(_ref) {
|
72 |
+
var styling = _ref.styling;
|
73 |
+
|
74 |
+
return (typeof styling === 'undefined' ? 'undefined' : _typeof(styling)) === 'object' ? styling : PNotify.styling[styling];
|
75 |
+
}
|
76 |
+
|
77 |
+
function _icons(_ref2) {
|
78 |
+
var icons = _ref2.icons;
|
79 |
+
|
80 |
+
return (typeof icons === 'undefined' ? 'undefined' : _typeof(icons)) === 'object' ? icons : PNotify.icons[icons];
|
81 |
+
}
|
82 |
+
|
83 |
+
function _widthStyle(_ref3) {
|
84 |
+
var width = _ref3.width;
|
85 |
+
|
86 |
+
return typeof width === 'string' ? 'width: ' + width + ';' : '';
|
87 |
+
}
|
88 |
+
|
89 |
+
function _minHeightStyle(_ref4) {
|
90 |
+
var minHeight = _ref4.minHeight;
|
91 |
+
|
92 |
+
return typeof minHeight === 'string' ? 'min-height: ' + minHeight + ';' : '';
|
93 |
+
}
|
94 |
+
|
95 |
+
function data() {
|
96 |
+
var data = _extends({
|
97 |
+
'_state': 'initializing', // The state can be 'initializing', 'opening', 'open', 'closing', and 'closed'.
|
98 |
+
'_timer': null, // Auto close timer.
|
99 |
+
'_animTimer': null, // Animation timer.
|
100 |
+
'_animating': false, // Stores what is currently being animated (in or out).
|
101 |
+
'_animatingClass': '', // Stores the class that adds entry/exit animation effects.
|
102 |
+
'_moveClass': '', // Stores the class that adds movement animation effects.
|
103 |
+
'_timerHide': false, // Stores whether the notice was hidden by a timer.
|
104 |
+
'_moduleClasses': [], // Modules can add classes here to be added to the notice element. (They should play nice and not remove classes that aren't theirs.)
|
105 |
+
'_moduleIsNoticeOpen': false, // Modules that change how the notice displays (causing the notice element to not appear) can set this to true to make PNotify assume the notice has opened.
|
106 |
+
'_modules': {}, // Stores the instances of the modules.
|
107 |
+
'_modulesPrependContainer': PNotify.modulesPrependContainer,
|
108 |
+
'_modulesAppendContainer': PNotify.modulesAppendContainer
|
109 |
+
}, PNotify.defaults);
|
110 |
+
data.modules = _extends({}, PNotify.defaults.modules);
|
111 |
+
return data;
|
112 |
+
};
|
113 |
+
|
114 |
+
var methods = {
|
115 |
+
// This runs an event on all the modules.
|
116 |
+
runModules: function runModules(event) {
|
117 |
+
if (event === 'init') {
|
118 |
+
// Initializing a module should only be done if it has an init
|
119 |
+
// function, which means it's not rendered in the template.
|
120 |
+
for (var key in PNotify.modules) {
|
121 |
+
if (!PNotify.modules.hasOwnProperty(key)) {
|
122 |
+
continue;
|
123 |
+
}
|
124 |
+
if (typeof PNotify.modules[key].init === 'function') {
|
125 |
+
var module = PNotify.modules[key].init(this);
|
126 |
+
this.initModule(module);
|
127 |
+
}
|
128 |
+
}
|
129 |
+
} else {
|
130 |
+
var _get = this.get(),
|
131 |
+
_modules = _get._modules;
|
132 |
+
|
133 |
+
for (var _module in _modules) {
|
134 |
+
if (!_modules.hasOwnProperty(_module)) {
|
135 |
+
continue;
|
136 |
+
}
|
137 |
+
var moduleOptions = _extends({
|
138 |
+
'_notice': this,
|
139 |
+
'_options': this.get()
|
140 |
+
}, this.get().modules[_module]);
|
141 |
+
_modules[_module].set(moduleOptions);
|
142 |
+
if (typeof _modules[_module][event] === 'function') {
|
143 |
+
_modules[_module][event]();
|
144 |
+
}
|
145 |
+
}
|
146 |
+
}
|
147 |
+
},
|
148 |
+
|
149 |
+
|
150 |
+
// This passes module options to a module.
|
151 |
+
initModule: function initModule(module) {
|
152 |
+
var _get2 = this.get(),
|
153 |
+
modules = _get2.modules;
|
154 |
+
|
155 |
+
if (!modules.hasOwnProperty(module.constructor.key)) {
|
156 |
+
modules[module.constructor.key] = {};
|
157 |
+
}
|
158 |
+
var moduleOptions = _extends({
|
159 |
+
'_notice': this,
|
160 |
+
'_options': this.get()
|
161 |
+
}, modules[module.constructor.key]);
|
162 |
+
module.initModule(moduleOptions);
|
163 |
+
|
164 |
+
// Now save the module instance.
|
165 |
+
|
166 |
+
var _get3 = this.get(),
|
167 |
+
_modules = _get3._modules;
|
168 |
+
|
169 |
+
_modules[module.constructor.key] = module;
|
170 |
+
},
|
171 |
+
update: function update(options) {
|
172 |
+
// Save old options.
|
173 |
+
var oldHide = this.get().hide;
|
174 |
+
var oldIcon = this.get().icon;
|
175 |
+
|
176 |
+
this.set(options);
|
177 |
+
|
178 |
+
// Run the modules.
|
179 |
+
this.runModules('update');
|
180 |
+
|
181 |
+
// Update the timed hiding.
|
182 |
+
if (!this.get().hide) {
|
183 |
+
this.cancelClose();
|
184 |
+
} else if (!oldHide) {
|
185 |
+
this.queueClose();
|
186 |
+
}
|
187 |
+
this.queuePosition();
|
188 |
+
|
189 |
+
// Font Awesome 5 replaces our lovely element with a gross SVG. In order
|
190 |
+
// to make it play nice with Svelte, we have to clear the element and
|
191 |
+
// make it again.
|
192 |
+
|
193 |
+
var _get4 = this.get(),
|
194 |
+
icon = _get4.icon;
|
195 |
+
|
196 |
+
if (icon !== oldIcon && (icon === true && this.get().icons === 'fontawesome5' || typeof icon === 'string' && icon.match(/(^| )fa[srlb]($| )/))) {
|
197 |
+
this.set({ 'icon': false });
|
198 |
+
this.set({ 'icon': icon });
|
199 |
+
}
|
200 |
+
|
201 |
+
return this;
|
202 |
+
},
|
203 |
+
|
204 |
+
|
205 |
+
// Display the notice.
|
206 |
+
open: function open() {
|
207 |
+
var _this = this;
|
208 |
+
|
209 |
+
var _get5 = this.get(),
|
210 |
+
_state = _get5._state,
|
211 |
+
hide = _get5.hide;
|
212 |
+
|
213 |
+
if (_state === 'opening') {
|
214 |
+
return;
|
215 |
+
}
|
216 |
+
if (_state === 'open') {
|
217 |
+
if (hide) {
|
218 |
+
this.queueClose();
|
219 |
+
}
|
220 |
+
return;
|
221 |
+
}
|
222 |
+
this.set({
|
223 |
+
'_state': 'opening',
|
224 |
+
// This makes the notice visibity: hidden; so its dimensions can be
|
225 |
+
// determined.
|
226 |
+
'_animatingClass': 'ui-pnotify-initial-hidden'
|
227 |
+
});
|
228 |
+
// Run the modules.
|
229 |
+
this.runModules('beforeOpen');
|
230 |
+
|
231 |
+
var _get6 = this.get(),
|
232 |
+
stack = _get6.stack;
|
233 |
+
// If the notice is not in the DOM, or in the wrong context, append it.
|
234 |
+
|
235 |
+
|
236 |
+
if (!this.refs.elem.parentNode || stack && stack.context && stack.context !== this.refs.elem.parentNode) {
|
237 |
+
if (stack && stack.context) {
|
238 |
+
stack.context.appendChild(this.refs.elem);
|
239 |
+
} else if (document.body) {
|
240 |
+
document.body.appendChild(this.refs.elem);
|
241 |
+
} else {
|
242 |
+
throw new Error('No context to open this notice in.');
|
243 |
+
}
|
244 |
+
}
|
245 |
+
|
246 |
+
// Wait until the DOM is updated.
|
247 |
+
setTimeout(function () {
|
248 |
+
if (stack) {
|
249 |
+
// Mark the stack so it won't animate the new notice.
|
250 |
+
stack.animation = false;
|
251 |
+
// Now position all the notices.
|
252 |
+
PNotify.positionAll();
|
253 |
+
// Reset animation.
|
254 |
+
stack.animation = true;
|
255 |
+
}
|
256 |
+
|
257 |
+
_this.animateIn(function () {
|
258 |
+
// Now set it to hide.
|
259 |
+
if (_this.get().hide) {
|
260 |
+
_this.queueClose();
|
261 |
+
}
|
262 |
+
|
263 |
+
_this.set({ '_state': 'open' });
|
264 |
+
|
265 |
+
// Run the modules.
|
266 |
+
_this.runModules('afterOpen');
|
267 |
+
});
|
268 |
+
}, 0);
|
269 |
+
|
270 |
+
return this;
|
271 |
+
},
|
272 |
+
remove: function remove(timerHide) {
|
273 |
+
return this.close(timerHide);
|
274 |
+
},
|
275 |
+
|
276 |
+
|
277 |
+
// Remove the notice.
|
278 |
+
close: function close(timerHide) {
|
279 |
+
var _this2 = this;
|
280 |
+
|
281 |
+
var _get7 = this.get(),
|
282 |
+
_state = _get7._state;
|
283 |
+
|
284 |
+
if (_state === 'closing' || _state === 'closed') {
|
285 |
+
return;
|
286 |
+
}
|
287 |
+
this.set({ '_state': 'closing', '_timerHide': !!timerHide }); // Make sure it's a boolean.
|
288 |
+
// Run the modules.
|
289 |
+
this.runModules('beforeClose');
|
290 |
+
|
291 |
+
var _get8 = this.get(),
|
292 |
+
_timer = _get8._timer;
|
293 |
+
|
294 |
+
if (_timer && clearTimeout) {
|
295 |
+
clearTimeout(_timer);
|
296 |
+
this.set({ '_timer': null });
|
297 |
+
}
|
298 |
+
this.animateOut(function () {
|
299 |
+
_this2.set({ '_state': 'closed' });
|
300 |
+
// Run the modules.
|
301 |
+
_this2.runModules('afterClose');
|
302 |
+
_this2.queuePosition();
|
303 |
+
// If we're supposed to remove the notice from the DOM, do it.
|
304 |
+
if (_this2.get().remove) {
|
305 |
+
_this2.refs.elem.parentNode.removeChild(_this2.refs.elem);
|
306 |
+
}
|
307 |
+
// Run the modules.
|
308 |
+
_this2.runModules('beforeDestroy');
|
309 |
+
// Remove object from PNotify.notices to prevent memory leak (issue #49)
|
310 |
+
// unless destroy is off
|
311 |
+
if (_this2.get().destroy) {
|
312 |
+
if (PNotify.notices !== null) {
|
313 |
+
var idx = PNotify.notices.indexOf(_this2);
|
314 |
+
if (idx !== -1) {
|
315 |
+
PNotify.notices.splice(idx, 1);
|
316 |
+
}
|
317 |
+
}
|
318 |
+
}
|
319 |
+
// Run the modules.
|
320 |
+
_this2.runModules('afterDestroy');
|
321 |
+
});
|
322 |
+
|
323 |
+
return this;
|
324 |
+
},
|
325 |
+
|
326 |
+
|
327 |
+
// Animate the notice in.
|
328 |
+
animateIn: function animateIn(callback) {
|
329 |
+
var _this3 = this;
|
330 |
+
|
331 |
+
// Declare that the notice is animating in.
|
332 |
+
this.set({ '_animating': 'in' });
|
333 |
+
var finished = function finished() {
|
334 |
+
_this3.refs.elem.removeEventListener('transitionend', finished);
|
335 |
+
|
336 |
+
var _get9 = _this3.get(),
|
337 |
+
_animTimer = _get9._animTimer,
|
338 |
+
_animating = _get9._animating,
|
339 |
+
_moduleIsNoticeOpen = _get9._moduleIsNoticeOpen;
|
340 |
+
|
341 |
+
if (_animTimer) {
|
342 |
+
clearTimeout(_animTimer);
|
343 |
+
}
|
344 |
+
if (_animating !== 'in') {
|
345 |
+
return;
|
346 |
+
}
|
347 |
+
var visible = _moduleIsNoticeOpen;
|
348 |
+
if (!visible) {
|
349 |
+
var domRect = _this3.refs.elem.getBoundingClientRect();
|
350 |
+
for (var prop in domRect) {
|
351 |
+
if (domRect[prop] > 0) {
|
352 |
+
visible = true;
|
353 |
+
break;
|
354 |
+
}
|
355 |
+
}
|
356 |
+
}
|
357 |
+
if (visible) {
|
358 |
+
if (callback) {
|
359 |
+
callback.call();
|
360 |
+
}
|
361 |
+
// Declare that the notice has completed animating.
|
362 |
+
_this3.set({ '_animating': false });
|
363 |
+
} else {
|
364 |
+
_this3.set({ '_animTimer': setTimeout(finished, 40) });
|
365 |
+
}
|
366 |
+
};
|
367 |
+
|
368 |
+
if (this.get().animation === 'fade') {
|
369 |
+
this.refs.elem.addEventListener('transitionend', finished);
|
370 |
+
this.set({ '_animatingClass': 'ui-pnotify-in' });
|
371 |
+
// eslint-disable-next-line no-unused-expressions
|
372 |
+
this.refs.elem.style.opacity; // This line is necessary for some reason. Some notices don't fade without it.
|
373 |
+
this.set({ '_animatingClass': 'ui-pnotify-in ui-pnotify-fade-in' });
|
374 |
+
// Just in case the event doesn't fire, call it after 650 ms.
|
375 |
+
this.set({ '_animTimer': setTimeout(finished, 650) });
|
376 |
+
} else {
|
377 |
+
this.set({ '_animatingClass': 'ui-pnotify-in' });
|
378 |
+
finished();
|
379 |
+
}
|
380 |
+
},
|
381 |
+
|
382 |
+
|
383 |
+
// Animate the notice out.
|
384 |
+
animateOut: function animateOut(callback) {
|
385 |
+
var _this4 = this;
|
386 |
+
|
387 |
+
// Declare that the notice is animating out.
|
388 |
+
this.set({ '_animating': 'out' });
|
389 |
+
var finished = function finished() {
|
390 |
+
_this4.refs.elem.removeEventListener('transitionend', finished);
|
391 |
+
|
392 |
+
var _get10 = _this4.get(),
|
393 |
+
_animTimer = _get10._animTimer,
|
394 |
+
_animating = _get10._animating,
|
395 |
+
_moduleIsNoticeOpen = _get10._moduleIsNoticeOpen;
|
396 |
+
|
397 |
+
if (_animTimer) {
|
398 |
+
clearTimeout(_animTimer);
|
399 |
+
}
|
400 |
+
if (_animating !== 'out') {
|
401 |
+
return;
|
402 |
+
}
|
403 |
+
var visible = _moduleIsNoticeOpen;
|
404 |
+
if (!visible) {
|
405 |
+
var domRect = _this4.refs.elem.getBoundingClientRect();
|
406 |
+
for (var prop in domRect) {
|
407 |
+
if (domRect[prop] > 0) {
|
408 |
+
visible = true;
|
409 |
+
break;
|
410 |
+
}
|
411 |
+
}
|
412 |
+
}
|
413 |
+
if (!_this4.refs.elem.style.opacity || _this4.refs.elem.style.opacity === '0' || !visible) {
|
414 |
+
_this4.set({ '_animatingClass': '' });
|
415 |
+
|
416 |
+
var _get11 = _this4.get(),
|
417 |
+
stack = _get11.stack;
|
418 |
+
|
419 |
+
if (stack && stack.overlay) {
|
420 |
+
// Go through the modal stack to see if any are left open.
|
421 |
+
// TODO: Rewrite this cause it sucks.
|
422 |
+
var stillOpen = false;
|
423 |
+
for (var i = 0; i < PNotify.notices.length; i++) {
|
424 |
+
var notice = PNotify.notices[i];
|
425 |
+
if (notice !== _this4 && notice.get().stack === stack && notice.get()._state !== 'closed') {
|
426 |
+
stillOpen = true;
|
427 |
+
break;
|
428 |
+
}
|
429 |
+
}
|
430 |
+
if (!stillOpen) {
|
431 |
+
removeStackOverlay(stack);
|
432 |
+
}
|
433 |
+
}
|
434 |
+
if (callback) {
|
435 |
+
callback.call();
|
436 |
+
}
|
437 |
+
// Declare that the notice has completed animating.
|
438 |
+
_this4.set({ '_animating': false });
|
439 |
+
} else {
|
440 |
+
// In case this was called before the notice finished animating.
|
441 |
+
_this4.set({ '_animTimer': setTimeout(finished, 40) });
|
442 |
+
}
|
443 |
+
};
|
444 |
+
|
445 |
+
if (this.get().animation === 'fade') {
|
446 |
+
this.refs.elem.addEventListener('transitionend', finished);
|
447 |
+
this.set({ '_animatingClass': 'ui-pnotify-in' });
|
448 |
+
// Just in case the event doesn't fire, call it after 650 ms.
|
449 |
+
this.set({ '_animTimer': setTimeout(finished, 650) });
|
450 |
+
} else {
|
451 |
+
this.set({ '_animatingClass': '' });
|
452 |
+
finished();
|
453 |
+
}
|
454 |
+
},
|
455 |
+
|
456 |
+
|
457 |
+
// Position the notice.
|
458 |
+
position: function position() {
|
459 |
+
// Get the notice's stack.
|
460 |
+
var _get12 = this.get(),
|
461 |
+
stack = _get12.stack;
|
462 |
+
|
463 |
+
var elem = this.refs.elem;
|
464 |
+
if (!stack) {
|
465 |
+
return;
|
466 |
+
}
|
467 |
+
if (!stack.context) {
|
468 |
+
stack.context = document.body;
|
469 |
+
}
|
470 |
+
if (typeof stack.nextpos1 !== 'number') {
|
471 |
+
stack.nextpos1 = stack.firstpos1;
|
472 |
+
}
|
473 |
+
if (typeof stack.nextpos2 !== 'number') {
|
474 |
+
stack.nextpos2 = stack.firstpos2;
|
475 |
+
}
|
476 |
+
if (typeof stack.addpos2 !== 'number') {
|
477 |
+
stack.addpos2 = 0;
|
478 |
+
}
|
479 |
+
|
480 |
+
// Skip this notice if it's not shown.
|
481 |
+
if (!elem.classList.contains('ui-pnotify-in') && !elem.classList.contains('ui-pnotify-initial-hidden')) {
|
482 |
+
return this;
|
483 |
+
}
|
484 |
+
|
485 |
+
if (stack.modal) {
|
486 |
+
if (!stack.overlay) {
|
487 |
+
createStackOverlay(stack);
|
488 |
+
}
|
489 |
+
insertStackOverlay(stack);
|
490 |
+
}
|
491 |
+
|
492 |
+
// Read from the DOM to cause refresh.
|
493 |
+
elem.getBoundingClientRect();
|
494 |
+
|
495 |
+
if (stack.animation) {
|
496 |
+
// Add animate class.
|
497 |
+
this.set({ '_moveClass': 'ui-pnotify-move' });
|
498 |
+
}
|
499 |
+
|
500 |
+
var spaceY = stack.context === document.body ? window.innerHeight : stack.context.scrollHeight;
|
501 |
+
var spaceX = stack.context === document.body ? window.innerWidth : stack.context.scrollWidth;
|
502 |
+
|
503 |
+
var csspos1 = void 0;
|
504 |
+
|
505 |
+
if (stack.dir1) {
|
506 |
+
csspos1 = {
|
507 |
+
'down': 'top',
|
508 |
+
'up': 'bottom',
|
509 |
+
'left': 'right',
|
510 |
+
'right': 'left'
|
511 |
+
}[stack.dir1];
|
512 |
+
|
513 |
+
// Calculate the current pos1 value.
|
514 |
+
var curpos1 = void 0;
|
515 |
+
switch (stack.dir1) {
|
516 |
+
case 'down':
|
517 |
+
curpos1 = elem.offsetTop;
|
518 |
+
break;
|
519 |
+
case 'up':
|
520 |
+
curpos1 = spaceY - elem.scrollHeight - elem.offsetTop;
|
521 |
+
break;
|
522 |
+
case 'left':
|
523 |
+
curpos1 = spaceX - elem.scrollWidth - elem.offsetLeft;
|
524 |
+
break;
|
525 |
+
case 'right':
|
526 |
+
curpos1 = elem.offsetLeft;
|
527 |
+
break;
|
528 |
+
}
|
529 |
+
// Remember the first pos1, so the first notice goes there.
|
530 |
+
if (typeof stack.firstpos1 === 'undefined') {
|
531 |
+
stack.firstpos1 = curpos1;
|
532 |
+
stack.nextpos1 = stack.firstpos1;
|
533 |
+
}
|
534 |
+
}
|
535 |
+
|
536 |
+
if (stack.dir1 && stack.dir2) {
|
537 |
+
var csspos2 = {
|
538 |
+
'down': 'top',
|
539 |
+
'up': 'bottom',
|
540 |
+
'left': 'right',
|
541 |
+
'right': 'left'
|
542 |
+
}[stack.dir2];
|
543 |
+
|
544 |
+
// Calculate the current pos2 value.
|
545 |
+
var curpos2 = void 0;
|
546 |
+
switch (stack.dir2) {
|
547 |
+
case 'down':
|
548 |
+
curpos2 = elem.offsetTop;
|
549 |
+
break;
|
550 |
+
case 'up':
|
551 |
+
curpos2 = spaceY - elem.scrollHeight - elem.offsetTop;
|
552 |
+
break;
|
553 |
+
case 'left':
|
554 |
+
curpos2 = spaceX - elem.scrollWidth - elem.offsetLeft;
|
555 |
+
break;
|
556 |
+
case 'right':
|
557 |
+
curpos2 = elem.offsetLeft;
|
558 |
+
break;
|
559 |
+
}
|
560 |
+
// Remember the first pos2, so the first notice goes there.
|
561 |
+
if (typeof stack.firstpos2 === 'undefined') {
|
562 |
+
stack.firstpos2 = curpos2;
|
563 |
+
stack.nextpos2 = stack.firstpos2;
|
564 |
+
}
|
565 |
+
|
566 |
+
// Check that it's not beyond the viewport edge.
|
567 |
+
var endY = stack.nextpos1 + elem.offsetHeight + (typeof stack.spacing1 === 'undefined' ? 25 : stack.spacing1);
|
568 |
+
var endX = stack.nextpos1 + elem.offsetWidth + (typeof stack.spacing1 === 'undefined' ? 25 : stack.spacing1);
|
569 |
+
if ((stack.dir1 === 'down' || stack.dir1 === 'up') && endY > spaceY || (stack.dir1 === 'left' || stack.dir1 === 'right') && endX > spaceX) {
|
570 |
+
// If it is, it needs to go back to the first pos1, and over on pos2.
|
571 |
+
stack.nextpos1 = stack.firstpos1;
|
572 |
+
stack.nextpos2 += stack.addpos2 + (typeof stack.spacing2 === 'undefined' ? 25 : stack.spacing2);
|
573 |
+
stack.addpos2 = 0;
|
574 |
+
}
|
575 |
+
|
576 |
+
// Move the notice on dir2.
|
577 |
+
if (typeof stack.nextpos2 === 'number') {
|
578 |
+
elem.style[csspos2] = stack.nextpos2 + 'px';
|
579 |
+
if (!stack.animation) {
|
580 |
+
// eslint-disable-next-line no-unused-expressions
|
581 |
+
elem.style[csspos2]; // Read from the DOM for update.
|
582 |
+
}
|
583 |
+
}
|
584 |
+
|
585 |
+
// Keep track of the widest/tallest notice in the column/row, so we can push the next column/row.
|
586 |
+
switch (stack.dir2) {
|
587 |
+
case 'down':
|
588 |
+
case 'up':
|
589 |
+
if (elem.offsetHeight + (parseFloat(elem.style.marginTop, 10) || 0) + (parseFloat(elem.style.marginBottom, 10) || 0) > stack.addpos2) {
|
590 |
+
stack.addpos2 = elem.offsetHeight;
|
591 |
+
}
|
592 |
+
break;
|
593 |
+
case 'left':
|
594 |
+
case 'right':
|
595 |
+
if (elem.offsetWidth + (parseFloat(elem.style.marginLeft, 10) || 0) + (parseFloat(elem.style.marginRight, 10) || 0) > stack.addpos2) {
|
596 |
+
stack.addpos2 = elem.offsetWidth;
|
597 |
+
}
|
598 |
+
break;
|
599 |
+
}
|
600 |
+
} else if (stack.dir1) {
|
601 |
+
// Center the notice along dir1 axis, because the stack has no dir2.
|
602 |
+
var cssMiddle = void 0,
|
603 |
+
cssposCross = void 0;
|
604 |
+
switch (stack.dir1) {
|
605 |
+
case 'down':
|
606 |
+
case 'up':
|
607 |
+
cssposCross = ['left', 'right'];
|
608 |
+
cssMiddle = stack.context.scrollWidth / 2 - elem.offsetWidth / 2;
|
609 |
+
break;
|
610 |
+
case 'left':
|
611 |
+
case 'right':
|
612 |
+
cssposCross = ['top', 'bottom'];
|
613 |
+
cssMiddle = spaceY / 2 - elem.offsetHeight / 2;
|
614 |
+
break;
|
615 |
+
}
|
616 |
+
elem.style[cssposCross[0]] = cssMiddle + 'px';
|
617 |
+
elem.style[cssposCross[1]] = 'auto';
|
618 |
+
if (!stack.animation) {
|
619 |
+
// eslint-disable-next-line no-unused-expressions
|
620 |
+
elem.style[cssposCross[0]]; // Read from the DOM for update.
|
621 |
+
}
|
622 |
+
}
|
623 |
+
|
624 |
+
if (stack.dir1) {
|
625 |
+
// Move the notice on dir1.
|
626 |
+
if (typeof stack.nextpos1 === 'number') {
|
627 |
+
elem.style[csspos1] = stack.nextpos1 + 'px';
|
628 |
+
if (!stack.animation) {
|
629 |
+
// eslint-disable-next-line no-unused-expressions
|
630 |
+
elem.style[csspos1]; // Read from the DOM for update.
|
631 |
+
}
|
632 |
+
}
|
633 |
+
|
634 |
+
// Calculate the next dir1 position.
|
635 |
+
switch (stack.dir1) {
|
636 |
+
case 'down':
|
637 |
+
case 'up':
|
638 |
+
stack.nextpos1 += elem.offsetHeight + (typeof stack.spacing1 === 'undefined' ? 25 : stack.spacing1);
|
639 |
+
break;
|
640 |
+
case 'left':
|
641 |
+
case 'right':
|
642 |
+
stack.nextpos1 += elem.offsetWidth + (typeof stack.spacing1 === 'undefined' ? 25 : stack.spacing1);
|
643 |
+
break;
|
644 |
+
}
|
645 |
+
} else {
|
646 |
+
// Center the notice on the screen, because the stack has no dir1.
|
647 |
+
var cssMiddleLeft = spaceX / 2 - elem.offsetWidth / 2;
|
648 |
+
var cssMiddleTop = spaceY / 2 - elem.offsetHeight / 2;
|
649 |
+
elem.style.left = cssMiddleLeft + 'px';
|
650 |
+
elem.style.top = cssMiddleTop + 'px';
|
651 |
+
if (!stack.animation) {
|
652 |
+
// eslint-disable-next-line no-unused-expressions
|
653 |
+
elem.style.left; // Read from the DOM for update.
|
654 |
+
}
|
655 |
+
}
|
656 |
+
|
657 |
+
return this;
|
658 |
+
},
|
659 |
+
|
660 |
+
|
661 |
+
// Queue the position all function so it doesn't run repeatedly and
|
662 |
+
// use up resources.
|
663 |
+
queuePosition: function queuePosition(milliseconds) {
|
664 |
+
if (posTimer) {
|
665 |
+
clearTimeout(posTimer);
|
666 |
+
}
|
667 |
+
if (!milliseconds) {
|
668 |
+
milliseconds = 10;
|
669 |
+
}
|
670 |
+
posTimer = setTimeout(function () {
|
671 |
+
PNotify.positionAll();
|
672 |
+
}, milliseconds);
|
673 |
+
return this;
|
674 |
+
},
|
675 |
+
cancelRemove: function cancelRemove() {
|
676 |
+
return this.cancelClose();
|
677 |
+
},
|
678 |
+
|
679 |
+
|
680 |
+
// Cancel any pending removal timer.
|
681 |
+
cancelClose: function cancelClose() {
|
682 |
+
var _get13 = this.get(),
|
683 |
+
_timer = _get13._timer,
|
684 |
+
_animTimer = _get13._animTimer,
|
685 |
+
_state = _get13._state,
|
686 |
+
animation = _get13.animation;
|
687 |
+
|
688 |
+
if (_timer) {
|
689 |
+
clearTimeout(_timer);
|
690 |
+
}
|
691 |
+
if (_animTimer) {
|
692 |
+
clearTimeout(_animTimer);
|
693 |
+
}
|
694 |
+
if (_state === 'closing') {
|
695 |
+
// If it's animating out, stop it.
|
696 |
+
this.set({
|
697 |
+
'_state': 'open',
|
698 |
+
'_animating': false,
|
699 |
+
'_animatingClass': animation === 'fade' ? 'ui-pnotify-in ui-pnotify-fade-in' : 'ui-pnotify-in'
|
700 |
+
});
|
701 |
+
}
|
702 |
+
return this;
|
703 |
+
},
|
704 |
+
queueRemove: function queueRemove() {
|
705 |
+
return this.queueClose();
|
706 |
+
},
|
707 |
+
|
708 |
+
|
709 |
+
// Queue a close timer.
|
710 |
+
queueClose: function queueClose() {
|
711 |
+
var _this5 = this;
|
712 |
+
|
713 |
+
// Cancel any current close timer.
|
714 |
+
this.cancelClose();
|
715 |
+
this.set({
|
716 |
+
'_timer': setTimeout(function () {
|
717 |
+
return _this5.close(true);
|
718 |
+
}, isNaN(this.get().delay) ? 0 : this.get().delay)
|
719 |
+
});
|
720 |
+
return this;
|
721 |
+
},
|
722 |
+
addModuleClass: function addModuleClass() {
|
723 |
+
var _get14 = this.get(),
|
724 |
+
_moduleClasses = _get14._moduleClasses;
|
725 |
+
|
726 |
+
for (var _len = arguments.length, classNames = Array(_len), _key = 0; _key < _len; _key++) {
|
727 |
+
classNames[_key] = arguments[_key];
|
728 |
+
}
|
729 |
+
|
730 |
+
for (var i = 0; i < classNames.length; i++) {
|
731 |
+
var className = classNames[i];
|
732 |
+
if (_moduleClasses.indexOf(className) === -1) {
|
733 |
+
_moduleClasses.push(className);
|
734 |
+
}
|
735 |
+
}
|
736 |
+
this.set({ _moduleClasses: _moduleClasses });
|
737 |
+
},
|
738 |
+
removeModuleClass: function removeModuleClass() {
|
739 |
+
var _get15 = this.get(),
|
740 |
+
_moduleClasses = _get15._moduleClasses;
|
741 |
+
|
742 |
+
for (var _len2 = arguments.length, classNames = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
743 |
+
classNames[_key2] = arguments[_key2];
|
744 |
+
}
|
745 |
+
|
746 |
+
for (var i = 0; i < classNames.length; i++) {
|
747 |
+
var className = classNames[i];
|
748 |
+
var idx = _moduleClasses.indexOf(className);
|
749 |
+
if (idx !== -1) {
|
750 |
+
_moduleClasses.splice(idx, 1);
|
751 |
+
}
|
752 |
+
}
|
753 |
+
this.set({ _moduleClasses: _moduleClasses });
|
754 |
+
},
|
755 |
+
hasModuleClass: function hasModuleClass() {
|
756 |
+
var _get16 = this.get(),
|
757 |
+
_moduleClasses = _get16._moduleClasses;
|
758 |
+
|
759 |
+
for (var _len3 = arguments.length, classNames = Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
|
760 |
+
classNames[_key3] = arguments[_key3];
|
761 |
+
}
|
762 |
+
|
763 |
+
for (var i = 0; i < classNames.length; i++) {
|
764 |
+
var className = classNames[i];
|
765 |
+
if (_moduleClasses.indexOf(className) === -1) {
|
766 |
+
return false;
|
767 |
+
}
|
768 |
+
}
|
769 |
+
return true;
|
770 |
+
}
|
771 |
+
};
|
772 |
+
|
773 |
+
function oncreate() {
|
774 |
+
var _this6 = this;
|
775 |
+
|
776 |
+
this.on('mouseenter', function (e) {
|
777 |
+
// Stop animation, reset the removal timer when the user mouses over.
|
778 |
+
if (_this6.get().mouseReset && _this6.get()._animating === 'out') {
|
779 |
+
if (!_this6.get()._timerHide) {
|
780 |
+
return;
|
781 |
+
}
|
782 |
+
_this6.cancelClose();
|
783 |
+
}
|
784 |
+
// Stop the close timer.
|
785 |
+
if (_this6.get().hide && _this6.get().mouseReset) {
|
786 |
+
_this6.cancelClose();
|
787 |
+
}
|
788 |
+
});
|
789 |
+
|
790 |
+
this.on('mouseleave', function (e) {
|
791 |
+
// Start the close timer.
|
792 |
+
if (_this6.get().hide && _this6.get().mouseReset && _this6.get()._animating !== 'out') {
|
793 |
+
_this6.queueClose();
|
794 |
+
}
|
795 |
+
PNotify.positionAll();
|
796 |
+
});
|
797 |
+
|
798 |
+
var _get17 = this.get(),
|
799 |
+
stack = _get17.stack;
|
800 |
+
|
801 |
+
// Add the notice to the notice array.
|
802 |
+
|
803 |
+
|
804 |
+
if (stack && stack.push === 'top') {
|
805 |
+
PNotify.notices.splice(0, 0, this);
|
806 |
+
} else {
|
807 |
+
PNotify.notices.push(this);
|
808 |
+
}
|
809 |
+
|
810 |
+
// Run the modules.
|
811 |
+
this.runModules('init');
|
812 |
+
|
813 |
+
// We're now initialized, but haven't been opened yet.
|
814 |
+
this.set({ '_state': 'closed' });
|
815 |
+
|
816 |
+
// Display the notice.
|
817 |
+
if (this.get().autoDisplay) {
|
818 |
+
this.open();
|
819 |
+
}
|
820 |
+
};
|
821 |
+
|
822 |
+
function setup(Component) {
|
823 |
+
// Add static properties to the PNotify object.
|
824 |
+
PNotify = Component;
|
825 |
+
|
826 |
+
PNotify.VERSION = '4.0.0';
|
827 |
+
|
828 |
+
PNotify.defaultStack = {
|
829 |
+
dir1: 'down',
|
830 |
+
dir2: 'left',
|
831 |
+
firstpos1: 25,
|
832 |
+
firstpos2: 25,
|
833 |
+
spacing1: 36,
|
834 |
+
spacing2: 36,
|
835 |
+
push: 'bottom',
|
836 |
+
context: window && document.body
|
837 |
+
};
|
838 |
+
|
839 |
+
PNotify.defaults = {
|
840 |
+
// The notice's title.
|
841 |
+
title: false,
|
842 |
+
// Whether to trust the title or escape its contents. (Not allow HTML.)
|
843 |
+
titleTrusted: false,
|
844 |
+
// The notice's text.
|
845 |
+
text: false,
|
846 |
+
// Whether to trust the text or escape its contents. (Not allow HTML.)
|
847 |
+
textTrusted: false,
|
848 |
+
// What styling classes to use. (Can be 'brighttheme', 'bootstrap3', 'bootstrap4', or a styling object.)
|
849 |
+
styling: 'brighttheme',
|
850 |
+
// What icons to use (Can be 'brighttheme', 'bootstrap3', 'fontawesome4', 'fontawesome5', or an icon object.)
|
851 |
+
icons: 'brighttheme',
|
852 |
+
// Additional classes to be added to the notice. (For custom styling.)
|
853 |
+
addClass: '',
|
854 |
+
// Class to be added to the notice for corner styling.
|
855 |
+
cornerClass: '',
|
856 |
+
// Display the notice when it is created.
|
857 |
+
autoDisplay: true,
|
858 |
+
// Width of the notice.
|
859 |
+
width: '360px',
|
860 |
+
// Minimum height of the notice. It will expand to fit content.
|
861 |
+
minHeight: '16px',
|
862 |
+
// Type of the notice. 'notice', 'info', 'success', or 'error'.
|
863 |
+
type: 'notice',
|
864 |
+
// Set icon to true to use the default icon for the selected
|
865 |
+
// style/type, false for no icon, or a string for your own icon class.
|
866 |
+
icon: true,
|
867 |
+
// The animation to use when displaying and hiding the notice. 'none'
|
868 |
+
// and 'fade' are supported through CSS. Others are supported
|
869 |
+
// through the Animate module and Animate.css.
|
870 |
+
animation: 'fade',
|
871 |
+
// Speed at which the notice animates in and out. 'slow', 'normal',
|
872 |
+
// or 'fast'. Respectively, 400ms, 250ms, 100ms.
|
873 |
+
animateSpeed: 'normal',
|
874 |
+
// Display a drop shadow.
|
875 |
+
shadow: true,
|
876 |
+
// After a delay, remove the notice.
|
877 |
+
hide: true,
|
878 |
+
// Delay in milliseconds before the notice is removed.
|
879 |
+
delay: 8000,
|
880 |
+
// Reset the hide timer if the mouse moves over the notice.
|
881 |
+
mouseReset: true,
|
882 |
+
// Remove the notice's elements from the DOM after it is removed.
|
883 |
+
remove: true,
|
884 |
+
// Whether to remove the notice from the global array when it is closed.
|
885 |
+
destroy: true,
|
886 |
+
// The stack on which the notices will be placed. Also controls the
|
887 |
+
// direction the notices stack.
|
888 |
+
stack: PNotify.defaultStack,
|
889 |
+
// This is where options for modules should be defined.
|
890 |
+
modules: {}
|
891 |
+
};
|
892 |
+
|
893 |
+
// An array of all active notices.
|
894 |
+
PNotify.notices = [];
|
895 |
+
|
896 |
+
// This object holds all the PNotify modules. They are used to provide
|
897 |
+
// additional functionality.
|
898 |
+
PNotify.modules = {};
|
899 |
+
|
900 |
+
// Modules can add themselves to these to be rendered in the template.
|
901 |
+
PNotify.modulesPrependContainer = [];
|
902 |
+
PNotify.modulesAppendContainer = [];
|
903 |
+
|
904 |
+
// Helper function to create a new notice.
|
905 |
+
PNotify.alert = function (options) {
|
906 |
+
return new PNotify(getDefaultArgs(options));
|
907 |
+
};
|
908 |
+
// Helper function to create a new notice (notice type).
|
909 |
+
PNotify.notice = function (options) {
|
910 |
+
return new PNotify(getDefaultArgs(options, 'notice'));
|
911 |
+
};
|
912 |
+
// Helper function to create a new notice (info type).
|
913 |
+
PNotify.info = function (options) {
|
914 |
+
return new PNotify(getDefaultArgs(options, 'info'));
|
915 |
+
};
|
916 |
+
// Helper function to create a new notice (success type).
|
917 |
+
PNotify.success = function (options) {
|
918 |
+
return new PNotify(getDefaultArgs(options, 'success'));
|
919 |
+
};
|
920 |
+
// Helper function to create a new notice (error type).
|
921 |
+
PNotify.error = function (options) {
|
922 |
+
return new PNotify(getDefaultArgs(options, 'error'));
|
923 |
+
};
|
924 |
+
|
925 |
+
PNotify.removeAll = function () {
|
926 |
+
PNotify.closeAll();
|
927 |
+
};
|
928 |
+
|
929 |
+
// Close all notices.
|
930 |
+
PNotify.closeAll = function () {
|
931 |
+
for (var i = 0; i < PNotify.notices.length; i++) {
|
932 |
+
if (PNotify.notices[i].close) {
|
933 |
+
PNotify.notices[i].close(false);
|
934 |
+
}
|
935 |
+
}
|
936 |
+
};
|
937 |
+
|
938 |
+
PNotify.removeStack = function (stack) {
|
939 |
+
PNotify.closeStack(stack);
|
940 |
+
};
|
941 |
+
|
942 |
+
// Close all notices in a single stack.
|
943 |
+
PNotify.closeStack = function (stack) {
|
944 |
+
if (stack === false) {
|
945 |
+
return;
|
946 |
+
}
|
947 |
+
for (var i = 0; i < PNotify.notices.length; i++) {
|
948 |
+
if (PNotify.notices[i].close && PNotify.notices[i].get().stack === stack) {
|
949 |
+
PNotify.notices[i].close(false);
|
950 |
+
}
|
951 |
+
}
|
952 |
+
};
|
953 |
+
|
954 |
+
// Position all notices.
|
955 |
+
PNotify.positionAll = function () {
|
956 |
+
// This timer is used for queueing this function so it doesn't run
|
957 |
+
// repeatedly.
|
958 |
+
if (posTimer) {
|
959 |
+
clearTimeout(posTimer);
|
960 |
+
}
|
961 |
+
posTimer = null;
|
962 |
+
// Reset the next position data.
|
963 |
+
if (PNotify.notices.length > 0) {
|
964 |
+
for (var i = 0; i < PNotify.notices.length; i++) {
|
965 |
+
var notice = PNotify.notices[i];
|
966 |
+
|
967 |
+
var _notice$get = notice.get(),
|
968 |
+
stack = _notice$get.stack;
|
969 |
+
|
970 |
+
if (!stack) {
|
971 |
+
continue;
|
972 |
+
}
|
973 |
+
if (stack.overlay) {
|
974 |
+
removeStackOverlay(stack);
|
975 |
+
}
|
976 |
+
stack.nextpos1 = stack.firstpos1;
|
977 |
+
stack.nextpos2 = stack.firstpos2;
|
978 |
+
stack.addpos2 = 0;
|
979 |
+
}
|
980 |
+
for (var _i = 0; _i < PNotify.notices.length; _i++) {
|
981 |
+
PNotify.notices[_i].position();
|
982 |
+
}
|
983 |
+
} else {
|
984 |
+
delete PNotify.defaultStack.nextpos1;
|
985 |
+
delete PNotify.defaultStack.nextpos2;
|
986 |
+
}
|
987 |
+
};
|
988 |
+
|
989 |
+
PNotify.styling = {
|
990 |
+
brighttheme: {
|
991 |
+
// Bright Theme doesn't require any UI libraries.
|
992 |
+
container: 'brighttheme',
|
993 |
+
notice: 'brighttheme-notice',
|
994 |
+
info: 'brighttheme-info',
|
995 |
+
success: 'brighttheme-success',
|
996 |
+
error: 'brighttheme-error'
|
997 |
+
},
|
998 |
+
bootstrap3: {
|
999 |
+
container: 'alert',
|
1000 |
+
notice: 'alert-warning',
|
1001 |
+
info: 'alert-info',
|
1002 |
+
success: 'alert-success',
|
1003 |
+
error: 'alert-danger',
|
1004 |
+
icon: 'ui-pnotify-icon-bs3'
|
1005 |
+
},
|
1006 |
+
bootstrap4: {
|
1007 |
+
container: 'alert',
|
1008 |
+
notice: 'alert-warning',
|
1009 |
+
info: 'alert-info',
|
1010 |
+
success: 'alert-success',
|
1011 |
+
error: 'alert-danger',
|
1012 |
+
icon: 'ui-pnotify-icon-bs4',
|
1013 |
+
title: 'ui-pnotify-title-bs4'
|
1014 |
+
}
|
1015 |
+
};
|
1016 |
+
|
1017 |
+
// icons are separate from the style, since bs4 doesn't come with any
|
1018 |
+
PNotify.icons = {
|
1019 |
+
brighttheme: {
|
1020 |
+
notice: 'brighttheme-icon-notice',
|
1021 |
+
info: 'brighttheme-icon-info',
|
1022 |
+
success: 'brighttheme-icon-success',
|
1023 |
+
error: 'brighttheme-icon-error'
|
1024 |
+
},
|
1025 |
+
bootstrap3: {
|
1026 |
+
notice: 'glyphicon glyphicon-exclamation-sign',
|
1027 |
+
info: 'glyphicon glyphicon-info-sign',
|
1028 |
+
success: 'glyphicon glyphicon-ok-sign',
|
1029 |
+
error: 'glyphicon glyphicon-warning-sign'
|
1030 |
+
},
|
1031 |
+
// User must have Font Awesome v4.0+
|
1032 |
+
fontawesome4: {
|
1033 |
+
notice: 'fa fa-exclamation-circle',
|
1034 |
+
info: 'fa fa-info-circle',
|
1035 |
+
success: 'fa fa-check-circle',
|
1036 |
+
error: 'fa fa-exclamation-triangle'
|
1037 |
+
},
|
1038 |
+
// User must have Font Awesome v5.0+
|
1039 |
+
fontawesome5: {
|
1040 |
+
notice: 'fas fa-exclamation-circle',
|
1041 |
+
info: 'fas fa-info-circle',
|
1042 |
+
success: 'fas fa-check-circle',
|
1043 |
+
error: 'fas fa-exclamation-triangle'
|
1044 |
+
}
|
1045 |
+
};
|
1046 |
+
|
1047 |
+
// Run the deferred actions once the DOM is ready.
|
1048 |
+
if (window && document.body) {
|
1049 |
+
onDocumentLoaded();
|
1050 |
+
} else {
|
1051 |
+
document.addEventListener('DOMContentLoaded', onDocumentLoaded);
|
1052 |
+
}
|
1053 |
+
}
|
1054 |
+
|
1055 |
+
function add_css() {
|
1056 |
+
var style = createElement("style");
|
1057 |
+
style.id = 'svelte-1eldsjg-style';
|
1058 |
+
style.textContent = "body > .ui-pnotify{position:fixed;z-index:100040}body > .ui-pnotify.ui-pnotify-modal{z-index:100042}.ui-pnotify{position:absolute;height:auto;z-index:1;display:none}.ui-pnotify.ui-pnotify-modal{z-index:3}.ui-pnotify.ui-pnotify-in{display:block}.ui-pnotify.ui-pnotify-initial-hidden{display:block;visibility:hidden}.ui-pnotify.ui-pnotify-move{transition:left .5s ease, top .5s ease, right .5s ease, bottom .5s ease}.ui-pnotify.ui-pnotify-fade-slow{transition:opacity .4s linear;opacity:0}.ui-pnotify.ui-pnotify-fade-slow.ui-pnotify.ui-pnotify-move{transition:opacity .4s linear, left .5s ease, top .5s ease, right .5s ease, bottom .5s ease}.ui-pnotify.ui-pnotify-fade-normal{transition:opacity .25s linear;opacity:0}.ui-pnotify.ui-pnotify-fade-normal.ui-pnotify.ui-pnotify-move{transition:opacity .25s linear, left .5s ease, top .5s ease, right .5s ease, bottom .5s ease}.ui-pnotify.ui-pnotify-fade-fast{transition:opacity .1s linear;opacity:0}.ui-pnotify.ui-pnotify-fade-fast.ui-pnotify.ui-pnotify-move{transition:opacity .1s linear, left .5s ease, top .5s ease, right .5s ease, bottom .5s ease}.ui-pnotify.ui-pnotify-fade-in{opacity:1}.ui-pnotify .ui-pnotify-shadow{-webkit-box-shadow:0px 6px 28px 0px rgba(0,0,0,0.1);-moz-box-shadow:0px 6px 28px 0px rgba(0,0,0,0.1);box-shadow:0px 6px 28px 0px rgba(0,0,0,0.1)}.ui-pnotify-container{background-position:0 0;padding:.8em;height:100%;margin:0}.ui-pnotify-container:after{content:\" \";visibility:hidden;display:block;height:0;clear:both}.ui-pnotify-container.ui-pnotify-sharp{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.ui-pnotify-title{display:block;white-space:pre-line;margin-bottom:.4em;margin-top:0}.ui-pnotify.ui-pnotify-with-icon .ui-pnotify-title,.ui-pnotify.ui-pnotify-with-icon .ui-pnotify-text{margin-left:24px}[dir=rtl] .ui-pnotify.ui-pnotify-with-icon .ui-pnotify-title,[dir=rtl] .ui-pnotify.ui-pnotify-with-icon .ui-pnotify-text{margin-right:24px;margin-left:0}.ui-pnotify-title-bs4{font-size:1.2rem}.ui-pnotify-text{display:block;white-space:pre-line}.ui-pnotify-icon,.ui-pnotify-icon span{display:block;float:left}[dir=rtl] .ui-pnotify-icon,[dir=rtl] .ui-pnotify-icon span{float:right}.ui-pnotify-icon-bs3 > span{position:relative;top:2px}.ui-pnotify-icon-bs4 > span{position:relative;top:4px}.ui-pnotify-modal-overlay{background-color:rgba(0, 0, 0, .4);top:0;left:0;position:absolute;height:100%;width:100%;z-index:2}body > .ui-pnotify-modal-overlay{position:fixed;z-index:100041}";
|
1059 |
+
append(document.head, style);
|
1060 |
+
}
|
1061 |
+
|
1062 |
+
function get_each1_context(ctx, list, i) {
|
1063 |
+
var child_ctx = Object.create(ctx);
|
1064 |
+
child_ctx.module = list[i];
|
1065 |
+
return child_ctx;
|
1066 |
+
}
|
1067 |
+
|
1068 |
+
function get_each0_context(ctx, list, i) {
|
1069 |
+
var child_ctx = Object.create(ctx);
|
1070 |
+
child_ctx.module = list[i];
|
1071 |
+
return child_ctx;
|
1072 |
+
}
|
1073 |
+
|
1074 |
+
function create_main_fragment(component, ctx) {
|
1075 |
+
var div1,
|
1076 |
+
div0,
|
1077 |
+
each0_blocks_1 = [],
|
1078 |
+
each0_lookup = blankObject(),
|
1079 |
+
text0,
|
1080 |
+
text1,
|
1081 |
+
text2,
|
1082 |
+
text3,
|
1083 |
+
each1_blocks_1 = [],
|
1084 |
+
each1_lookup = blankObject(),
|
1085 |
+
div0_class_value,
|
1086 |
+
div0_style_value,
|
1087 |
+
div1_class_value;
|
1088 |
+
|
1089 |
+
var each0_value = ctx._modulesPrependContainer;
|
1090 |
+
|
1091 |
+
var get_key = function get_key(ctx) {
|
1092 |
+
return ctx.module.key;
|
1093 |
+
};
|
1094 |
+
|
1095 |
+
for (var i = 0; i < each0_value.length; i += 1) {
|
1096 |
+
var child_ctx = get_each0_context(ctx, each0_value, i);
|
1097 |
+
var key = get_key(child_ctx);
|
1098 |
+
each0_blocks_1[i] = each0_lookup[key] = create_each_block_1(component, key, child_ctx);
|
1099 |
+
}
|
1100 |
+
|
1101 |
+
var if_block0 = ctx.icon !== false && create_if_block_4(component, ctx);
|
1102 |
+
|
1103 |
+
var if_block1 = ctx.title !== false && create_if_block_2(component, ctx);
|
1104 |
+
|
1105 |
+
var if_block2 = ctx.text !== false && create_if_block(component, ctx);
|
1106 |
+
|
1107 |
+
var each1_value = ctx._modulesAppendContainer;
|
1108 |
+
|
1109 |
+
var get_key_1 = function get_key_1(ctx) {
|
1110 |
+
return ctx.module.key;
|
1111 |
+
};
|
1112 |
+
|
1113 |
+
for (var i = 0; i < each1_value.length; i += 1) {
|
1114 |
+
var _child_ctx = get_each1_context(ctx, each1_value, i);
|
1115 |
+
var _key4 = get_key_1(_child_ctx);
|
1116 |
+
each1_blocks_1[i] = each1_lookup[_key4] = create_each_block(component, _key4, _child_ctx);
|
1117 |
+
}
|
1118 |
+
|
1119 |
+
function mouseover_handler(event) {
|
1120 |
+
component.fire("mouseover", event);
|
1121 |
+
}
|
1122 |
+
|
1123 |
+
function mouseout_handler(event) {
|
1124 |
+
component.fire("mouseout", event);
|
1125 |
+
}
|
1126 |
+
|
1127 |
+
function mouseenter_handler(event) {
|
1128 |
+
component.fire("mouseenter", event);
|
1129 |
+
}
|
1130 |
+
|
1131 |
+
function mouseleave_handler(event) {
|
1132 |
+
component.fire("mouseleave", event);
|
1133 |
+
}
|
1134 |
+
|
1135 |
+
function mousemove_handler(event) {
|
1136 |
+
component.fire("mousemove", event);
|
1137 |
+
}
|
1138 |
+
|
1139 |
+
function mousedown_handler(event) {
|
1140 |
+
component.fire("mousedown", event);
|
1141 |
+
}
|
1142 |
+
|
1143 |
+
function mouseup_handler(event) {
|
1144 |
+
component.fire("mouseup", event);
|
1145 |
+
}
|
1146 |
+
|
1147 |
+
function click_handler(event) {
|
1148 |
+
component.fire("click", event);
|
1149 |
+
}
|
1150 |
+
|
1151 |
+
function dblclick_handler(event) {
|
1152 |
+
component.fire("dblclick", event);
|
1153 |
+
}
|
1154 |
+
|
1155 |
+
function focus_handler(event) {
|
1156 |
+
component.fire("focus", event);
|
1157 |
+
}
|
1158 |
+
|
1159 |
+
function blur_handler(event) {
|
1160 |
+
component.fire("blur", event);
|
1161 |
+
}
|
1162 |
+
|
1163 |
+
function touchstart_handler(event) {
|
1164 |
+
component.fire("touchstart", event);
|
1165 |
+
}
|
1166 |
+
|
1167 |
+
function touchmove_handler(event) {
|
1168 |
+
component.fire("touchmove", event);
|
1169 |
+
}
|
1170 |
+
|
1171 |
+
function touchend_handler(event) {
|
1172 |
+
component.fire("touchend", event);
|
1173 |
+
}
|
1174 |
+
|
1175 |
+
function touchcancel_handler(event) {
|
1176 |
+
component.fire("touchcancel", event);
|
1177 |
+
}
|
1178 |
+
|
1179 |
+
return {
|
1180 |
+
c: function c() {
|
1181 |
+
div1 = createElement("div");
|
1182 |
+
div0 = createElement("div");
|
1183 |
+
|
1184 |
+
for (i = 0; i < each0_blocks_1.length; i += 1) {
|
1185 |
+
each0_blocks_1[i].c();
|
1186 |
+
}text0 = createText("\n ");
|
1187 |
+
if (if_block0) if_block0.c();
|
1188 |
+
text1 = createText("\n ");
|
1189 |
+
if (if_block1) if_block1.c();
|
1190 |
+
text2 = createText("\n ");
|
1191 |
+
if (if_block2) if_block2.c();
|
1192 |
+
text3 = createText("\n ");
|
1193 |
+
|
1194 |
+
for (i = 0; i < each1_blocks_1.length; i += 1) {
|
1195 |
+
each1_blocks_1[i].c();
|
1196 |
+
}div0.className = div0_class_value = "\n ui-pnotify-container\n " + (ctx._styles.container ? ctx._styles.container : '') + "\n " + (ctx._styles[ctx.type] ? ctx._styles[ctx.type] : '') + "\n " + ctx.cornerClass + "\n " + (ctx.shadow ? 'ui-pnotify-shadow' : '') + "\n ";
|
1197 |
+
div0.style.cssText = div0_style_value = "" + ctx._widthStyle + " " + ctx._minHeightStyle;
|
1198 |
+
setAttribute(div0, "role", "alert");
|
1199 |
+
addListener(div1, "mouseover", mouseover_handler);
|
1200 |
+
addListener(div1, "mouseout", mouseout_handler);
|
1201 |
+
addListener(div1, "mouseenter", mouseenter_handler);
|
1202 |
+
addListener(div1, "mouseleave", mouseleave_handler);
|
1203 |
+
addListener(div1, "mousemove", mousemove_handler);
|
1204 |
+
addListener(div1, "mousedown", mousedown_handler);
|
1205 |
+
addListener(div1, "mouseup", mouseup_handler);
|
1206 |
+
addListener(div1, "click", click_handler);
|
1207 |
+
addListener(div1, "dblclick", dblclick_handler);
|
1208 |
+
addListener(div1, "focus", focus_handler);
|
1209 |
+
addListener(div1, "blur", blur_handler);
|
1210 |
+
addListener(div1, "touchstart", touchstart_handler);
|
1211 |
+
addListener(div1, "touchmove", touchmove_handler);
|
1212 |
+
addListener(div1, "touchend", touchend_handler);
|
1213 |
+
addListener(div1, "touchcancel", touchcancel_handler);
|
1214 |
+
div1.className = div1_class_value = "\n ui-pnotify\n " + (ctx.icon !== false ? 'ui-pnotify-with-icon' : '') + "\n " + (ctx._styles.element ? ctx._styles.element : '') + "\n " + ctx.addClass + "\n " + ctx._animatingClass + "\n " + ctx._moveClass + "\n " + (ctx.animation === 'fade' ? 'ui-pnotify-fade-' + ctx.animateSpeed : '') + "\n " + (ctx.stack && ctx.stack.modal ? 'ui-pnotify-modal' : '') + "\n " + ctx._moduleClasses.join(' ') + "\n ";
|
1215 |
+
setAttribute(div1, "aria-live", "assertive");
|
1216 |
+
setAttribute(div1, "role", "alertdialog");
|
1217 |
+
setAttribute(div1, "ui-pnotify", true);
|
1218 |
+
},
|
1219 |
+
m: function m(target, anchor) {
|
1220 |
+
insert(target, div1, anchor);
|
1221 |
+
append(div1, div0);
|
1222 |
+
|
1223 |
+
for (i = 0; i < each0_blocks_1.length; i += 1) {
|
1224 |
+
each0_blocks_1[i].m(div0, null);
|
1225 |
+
}append(div0, text0);
|
1226 |
+
if (if_block0) if_block0.m(div0, null);
|
1227 |
+
append(div0, text1);
|
1228 |
+
if (if_block1) if_block1.m(div0, null);
|
1229 |
+
append(div0, text2);
|
1230 |
+
if (if_block2) if_block2.m(div0, null);
|
1231 |
+
append(div0, text3);
|
1232 |
+
|
1233 |
+
for (i = 0; i < each1_blocks_1.length; i += 1) {
|
1234 |
+
each1_blocks_1[i].m(div0, null);
|
1235 |
+
}component.refs.container = div0;
|
1236 |
+
component.refs.elem = div1;
|
1237 |
+
},
|
1238 |
+
p: function p(changed, ctx) {
|
1239 |
+
var each0_value = ctx._modulesPrependContainer;
|
1240 |
+
each0_blocks_1 = updateKeyedEach(each0_blocks_1, component, changed, get_key, 1, ctx, each0_value, each0_lookup, div0, destroyBlock, create_each_block_1, "m", text0, get_each0_context);
|
1241 |
+
|
1242 |
+
if (ctx.icon !== false) {
|
1243 |
+
if (if_block0) {
|
1244 |
+
if_block0.p(changed, ctx);
|
1245 |
+
} else {
|
1246 |
+
if_block0 = create_if_block_4(component, ctx);
|
1247 |
+
if_block0.c();
|
1248 |
+
if_block0.m(div0, text1);
|
1249 |
+
}
|
1250 |
+
} else if (if_block0) {
|
1251 |
+
if_block0.d(1);
|
1252 |
+
if_block0 = null;
|
1253 |
+
}
|
1254 |
+
|
1255 |
+
if (ctx.title !== false) {
|
1256 |
+
if (if_block1) {
|
1257 |
+
if_block1.p(changed, ctx);
|
1258 |
+
} else {
|
1259 |
+
if_block1 = create_if_block_2(component, ctx);
|
1260 |
+
if_block1.c();
|
1261 |
+
if_block1.m(div0, text2);
|
1262 |
+
}
|
1263 |
+
} else if (if_block1) {
|
1264 |
+
if_block1.d(1);
|
1265 |
+
if_block1 = null;
|
1266 |
+
}
|
1267 |
+
|
1268 |
+
if (ctx.text !== false) {
|
1269 |
+
if (if_block2) {
|
1270 |
+
if_block2.p(changed, ctx);
|
1271 |
+
} else {
|
1272 |
+
if_block2 = create_if_block(component, ctx);
|
1273 |
+
if_block2.c();
|
1274 |
+
if_block2.m(div0, text3);
|
1275 |
+
}
|
1276 |
+
} else if (if_block2) {
|
1277 |
+
if_block2.d(1);
|
1278 |
+
if_block2 = null;
|
1279 |
+
}
|
1280 |
+
|
1281 |
+
var each1_value = ctx._modulesAppendContainer;
|
1282 |
+
each1_blocks_1 = updateKeyedEach(each1_blocks_1, component, changed, get_key_1, 1, ctx, each1_value, each1_lookup, div0, destroyBlock, create_each_block, "m", null, get_each1_context);
|
1283 |
+
|
1284 |
+
if ((changed._styles || changed.type || changed.cornerClass || changed.shadow) && div0_class_value !== (div0_class_value = "\n ui-pnotify-container\n " + (ctx._styles.container ? ctx._styles.container : '') + "\n " + (ctx._styles[ctx.type] ? ctx._styles[ctx.type] : '') + "\n " + ctx.cornerClass + "\n " + (ctx.shadow ? 'ui-pnotify-shadow' : '') + "\n ")) {
|
1285 |
+
div0.className = div0_class_value;
|
1286 |
+
}
|
1287 |
+
|
1288 |
+
if ((changed._widthStyle || changed._minHeightStyle) && div0_style_value !== (div0_style_value = "" + ctx._widthStyle + " " + ctx._minHeightStyle)) {
|
1289 |
+
div0.style.cssText = div0_style_value;
|
1290 |
+
}
|
1291 |
+
|
1292 |
+
if ((changed.icon || changed._styles || changed.addClass || changed._animatingClass || changed._moveClass || changed.animation || changed.animateSpeed || changed.stack || changed._moduleClasses) && div1_class_value !== (div1_class_value = "\n ui-pnotify\n " + (ctx.icon !== false ? 'ui-pnotify-with-icon' : '') + "\n " + (ctx._styles.element ? ctx._styles.element : '') + "\n " + ctx.addClass + "\n " + ctx._animatingClass + "\n " + ctx._moveClass + "\n " + (ctx.animation === 'fade' ? 'ui-pnotify-fade-' + ctx.animateSpeed : '') + "\n " + (ctx.stack && ctx.stack.modal ? 'ui-pnotify-modal' : '') + "\n " + ctx._moduleClasses.join(' ') + "\n ")) {
|
1293 |
+
div1.className = div1_class_value;
|
1294 |
+
}
|
1295 |
+
},
|
1296 |
+
d: function d(detach) {
|
1297 |
+
if (detach) {
|
1298 |
+
detachNode(div1);
|
1299 |
+
}
|
1300 |
+
|
1301 |
+
for (i = 0; i < each0_blocks_1.length; i += 1) {
|
1302 |
+
each0_blocks_1[i].d();
|
1303 |
+
}if (if_block0) if_block0.d();
|
1304 |
+
if (if_block1) if_block1.d();
|
1305 |
+
if (if_block2) if_block2.d();
|
1306 |
+
|
1307 |
+
for (i = 0; i < each1_blocks_1.length; i += 1) {
|
1308 |
+
each1_blocks_1[i].d();
|
1309 |
+
}if (component.refs.container === div0) component.refs.container = null;
|
1310 |
+
removeListener(div1, "mouseover", mouseover_handler);
|
1311 |
+
removeListener(div1, "mouseout", mouseout_handler);
|
1312 |
+
removeListener(div1, "mouseenter", mouseenter_handler);
|
1313 |
+
removeListener(div1, "mouseleave", mouseleave_handler);
|
1314 |
+
removeListener(div1, "mousemove", mousemove_handler);
|
1315 |
+
removeListener(div1, "mousedown", mousedown_handler);
|
1316 |
+
removeListener(div1, "mouseup", mouseup_handler);
|
1317 |
+
removeListener(div1, "click", click_handler);
|
1318 |
+
removeListener(div1, "dblclick", dblclick_handler);
|
1319 |
+
removeListener(div1, "focus", focus_handler);
|
1320 |
+
removeListener(div1, "blur", blur_handler);
|
1321 |
+
removeListener(div1, "touchstart", touchstart_handler);
|
1322 |
+
removeListener(div1, "touchmove", touchmove_handler);
|
1323 |
+
removeListener(div1, "touchend", touchend_handler);
|
1324 |
+
removeListener(div1, "touchcancel", touchcancel_handler);
|
1325 |
+
if (component.refs.elem === div1) component.refs.elem = null;
|
1326 |
+
}
|
1327 |
+
};
|
1328 |
+
}
|
1329 |
+
|
1330 |
+
// (53:4) {#each _modulesPrependContainer as module (module.key)}
|
1331 |
+
function create_each_block_1(component, key_1, ctx) {
|
1332 |
+
var first, switch_instance_anchor;
|
1333 |
+
|
1334 |
+
var switch_value = ctx.module;
|
1335 |
+
|
1336 |
+
function switch_props(ctx) {
|
1337 |
+
return {
|
1338 |
+
root: component.root,
|
1339 |
+
store: component.store
|
1340 |
+
};
|
1341 |
+
}
|
1342 |
+
|
1343 |
+
if (switch_value) {
|
1344 |
+
var switch_instance = new switch_value(switch_props(ctx));
|
1345 |
+
}
|
1346 |
+
|
1347 |
+
function switch_instance_init(event) {
|
1348 |
+
component.initModule(event.module);
|
1349 |
+
}
|
1350 |
+
|
1351 |
+
if (switch_instance) switch_instance.on("init", switch_instance_init);
|
1352 |
+
|
1353 |
+
return {
|
1354 |
+
key: key_1,
|
1355 |
+
|
1356 |
+
first: null,
|
1357 |
+
|
1358 |
+
c: function c() {
|
1359 |
+
first = createComment();
|
1360 |
+
if (switch_instance) switch_instance._fragment.c();
|
1361 |
+
switch_instance_anchor = createComment();
|
1362 |
+
this.first = first;
|
1363 |
+
},
|
1364 |
+
m: function m(target, anchor) {
|
1365 |
+
insert(target, first, anchor);
|
1366 |
+
|
1367 |
+
if (switch_instance) {
|
1368 |
+
switch_instance._mount(target, anchor);
|
1369 |
+
}
|
1370 |
+
|
1371 |
+
insert(target, switch_instance_anchor, anchor);
|
1372 |
+
},
|
1373 |
+
p: function p(changed, ctx) {
|
1374 |
+
if (switch_value !== (switch_value = ctx.module)) {
|
1375 |
+
if (switch_instance) {
|
1376 |
+
switch_instance.destroy();
|
1377 |
+
}
|
1378 |
+
|
1379 |
+
if (switch_value) {
|
1380 |
+
switch_instance = new switch_value(switch_props(ctx));
|
1381 |
+
switch_instance._fragment.c();
|
1382 |
+
switch_instance._mount(switch_instance_anchor.parentNode, switch_instance_anchor);
|
1383 |
+
|
1384 |
+
switch_instance.on("init", switch_instance_init);
|
1385 |
+
} else {
|
1386 |
+
switch_instance = null;
|
1387 |
+
}
|
1388 |
+
}
|
1389 |
+
},
|
1390 |
+
d: function d(detach) {
|
1391 |
+
if (detach) {
|
1392 |
+
detachNode(first);
|
1393 |
+
detachNode(switch_instance_anchor);
|
1394 |
+
}
|
1395 |
+
|
1396 |
+
if (switch_instance) switch_instance.destroy(detach);
|
1397 |
+
}
|
1398 |
+
};
|
1399 |
+
}
|
1400 |
+
|
1401 |
+
// (56:4) {#if icon !== false}
|
1402 |
+
function create_if_block_4(component, ctx) {
|
1403 |
+
var div, span, span_class_value, div_class_value;
|
1404 |
+
|
1405 |
+
return {
|
1406 |
+
c: function c() {
|
1407 |
+
div = createElement("div");
|
1408 |
+
span = createElement("span");
|
1409 |
+
span.className = span_class_value = ctx.icon === true ? ctx._icons[ctx.type] ? ctx._icons[ctx.type] : '' : ctx.icon;
|
1410 |
+
div.className = div_class_value = "ui-pnotify-icon " + (ctx._styles.icon ? ctx._styles.icon : '');
|
1411 |
+
},
|
1412 |
+
m: function m(target, anchor) {
|
1413 |
+
insert(target, div, anchor);
|
1414 |
+
append(div, span);
|
1415 |
+
component.refs.iconContainer = div;
|
1416 |
+
},
|
1417 |
+
p: function p(changed, ctx) {
|
1418 |
+
if ((changed.icon || changed._icons || changed.type) && span_class_value !== (span_class_value = ctx.icon === true ? ctx._icons[ctx.type] ? ctx._icons[ctx.type] : '' : ctx.icon)) {
|
1419 |
+
span.className = span_class_value;
|
1420 |
+
}
|
1421 |
+
|
1422 |
+
if (changed._styles && div_class_value !== (div_class_value = "ui-pnotify-icon " + (ctx._styles.icon ? ctx._styles.icon : ''))) {
|
1423 |
+
div.className = div_class_value;
|
1424 |
+
}
|
1425 |
+
},
|
1426 |
+
d: function d(detach) {
|
1427 |
+
if (detach) {
|
1428 |
+
detachNode(div);
|
1429 |
+
}
|
1430 |
+
|
1431 |
+
if (component.refs.iconContainer === div) component.refs.iconContainer = null;
|
1432 |
+
}
|
1433 |
+
};
|
1434 |
+
}
|
1435 |
+
|
1436 |
+
// (61:4) {#if title !== false}
|
1437 |
+
function create_if_block_2(component, ctx) {
|
1438 |
+
var h4, h4_class_value;
|
1439 |
+
|
1440 |
+
function select_block_type(ctx) {
|
1441 |
+
if (ctx.titleTrusted) return create_if_block_3;
|
1442 |
+
return create_else_block_1;
|
1443 |
+
}
|
1444 |
+
|
1445 |
+
var current_block_type = select_block_type(ctx);
|
1446 |
+
var if_block = current_block_type(component, ctx);
|
1447 |
+
|
1448 |
+
return {
|
1449 |
+
c: function c() {
|
1450 |
+
h4 = createElement("h4");
|
1451 |
+
if_block.c();
|
1452 |
+
h4.className = h4_class_value = "ui-pnotify-title " + (ctx._styles.title ? ctx._styles.title : '');
|
1453 |
+
},
|
1454 |
+
m: function m(target, anchor) {
|
1455 |
+
insert(target, h4, anchor);
|
1456 |
+
if_block.m(h4, null);
|
1457 |
+
component.refs.titleContainer = h4;
|
1458 |
+
},
|
1459 |
+
p: function p(changed, ctx) {
|
1460 |
+
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
|
1461 |
+
if_block.p(changed, ctx);
|
1462 |
+
} else {
|
1463 |
+
if_block.d(1);
|
1464 |
+
if_block = current_block_type(component, ctx);
|
1465 |
+
if_block.c();
|
1466 |
+
if_block.m(h4, null);
|
1467 |
+
}
|
1468 |
+
|
1469 |
+
if (changed._styles && h4_class_value !== (h4_class_value = "ui-pnotify-title " + (ctx._styles.title ? ctx._styles.title : ''))) {
|
1470 |
+
h4.className = h4_class_value;
|
1471 |
+
}
|
1472 |
+
},
|
1473 |
+
d: function d(detach) {
|
1474 |
+
if (detach) {
|
1475 |
+
detachNode(h4);
|
1476 |
+
}
|
1477 |
+
|
1478 |
+
if_block.d();
|
1479 |
+
if (component.refs.titleContainer === h4) component.refs.titleContainer = null;
|
1480 |
+
}
|
1481 |
+
};
|
1482 |
+
}
|
1483 |
+
|
1484 |
+
// (65:8) {:else}
|
1485 |
+
function create_else_block_1(component, ctx) {
|
1486 |
+
var text;
|
1487 |
+
|
1488 |
+
return {
|
1489 |
+
c: function c() {
|
1490 |
+
text = createText(ctx.title);
|
1491 |
+
},
|
1492 |
+
m: function m(target, anchor) {
|
1493 |
+
insert(target, text, anchor);
|
1494 |
+
},
|
1495 |
+
p: function p(changed, ctx) {
|
1496 |
+
if (changed.title) {
|
1497 |
+
setData(text, ctx.title);
|
1498 |
+
}
|
1499 |
+
},
|
1500 |
+
d: function d(detach) {
|
1501 |
+
if (detach) {
|
1502 |
+
detachNode(text);
|
1503 |
+
}
|
1504 |
+
}
|
1505 |
+
};
|
1506 |
+
}
|
1507 |
+
|
1508 |
+
// (63:8) {#if titleTrusted}
|
1509 |
+
function create_if_block_3(component, ctx) {
|
1510 |
+
var raw_before, raw_after;
|
1511 |
+
|
1512 |
+
return {
|
1513 |
+
c: function c() {
|
1514 |
+
raw_before = createElement('noscript');
|
1515 |
+
raw_after = createElement('noscript');
|
1516 |
+
},
|
1517 |
+
m: function m(target, anchor) {
|
1518 |
+
insert(target, raw_before, anchor);
|
1519 |
+
raw_before.insertAdjacentHTML("afterend", ctx.title);
|
1520 |
+
insert(target, raw_after, anchor);
|
1521 |
+
},
|
1522 |
+
p: function p(changed, ctx) {
|
1523 |
+
if (changed.title) {
|
1524 |
+
detachBetween(raw_before, raw_after);
|
1525 |
+
raw_before.insertAdjacentHTML("afterend", ctx.title);
|
1526 |
+
}
|
1527 |
+
},
|
1528 |
+
d: function d(detach) {
|
1529 |
+
if (detach) {
|
1530 |
+
detachBetween(raw_before, raw_after);
|
1531 |
+
detachNode(raw_before);
|
1532 |
+
detachNode(raw_after);
|
1533 |
+
}
|
1534 |
+
}
|
1535 |
+
};
|
1536 |
+
}
|
1537 |
+
|
1538 |
+
// (70:4) {#if text !== false}
|
1539 |
+
function create_if_block(component, ctx) {
|
1540 |
+
var div, div_class_value;
|
1541 |
+
|
1542 |
+
function select_block_type_1(ctx) {
|
1543 |
+
if (ctx.textTrusted) return create_if_block_1;
|
1544 |
+
return create_else_block;
|
1545 |
+
}
|
1546 |
+
|
1547 |
+
var current_block_type = select_block_type_1(ctx);
|
1548 |
+
var if_block = current_block_type(component, ctx);
|
1549 |
+
|
1550 |
+
return {
|
1551 |
+
c: function c() {
|
1552 |
+
div = createElement("div");
|
1553 |
+
if_block.c();
|
1554 |
+
div.className = div_class_value = "ui-pnotify-text " + (ctx._styles.text ? ctx._styles.text : '');
|
1555 |
+
setAttribute(div, "role", "alert");
|
1556 |
+
},
|
1557 |
+
m: function m(target, anchor) {
|
1558 |
+
insert(target, div, anchor);
|
1559 |
+
if_block.m(div, null);
|
1560 |
+
component.refs.textContainer = div;
|
1561 |
+
},
|
1562 |
+
p: function p(changed, ctx) {
|
1563 |
+
if (current_block_type === (current_block_type = select_block_type_1(ctx)) && if_block) {
|
1564 |
+
if_block.p(changed, ctx);
|
1565 |
+
} else {
|
1566 |
+
if_block.d(1);
|
1567 |
+
if_block = current_block_type(component, ctx);
|
1568 |
+
if_block.c();
|
1569 |
+
if_block.m(div, null);
|
1570 |
+
}
|
1571 |
+
|
1572 |
+
if (changed._styles && div_class_value !== (div_class_value = "ui-pnotify-text " + (ctx._styles.text ? ctx._styles.text : ''))) {
|
1573 |
+
div.className = div_class_value;
|
1574 |
+
}
|
1575 |
+
},
|
1576 |
+
d: function d(detach) {
|
1577 |
+
if (detach) {
|
1578 |
+
detachNode(div);
|
1579 |
+
}
|
1580 |
+
|
1581 |
+
if_block.d();
|
1582 |
+
if (component.refs.textContainer === div) component.refs.textContainer = null;
|
1583 |
+
}
|
1584 |
+
};
|
1585 |
+
}
|
1586 |
+
|
1587 |
+
// (74:8) {:else}
|
1588 |
+
function create_else_block(component, ctx) {
|
1589 |
+
var text;
|
1590 |
+
|
1591 |
+
return {
|
1592 |
+
c: function c() {
|
1593 |
+
text = createText(ctx.text);
|
1594 |
+
},
|
1595 |
+
m: function m(target, anchor) {
|
1596 |
+
insert(target, text, anchor);
|
1597 |
+
},
|
1598 |
+
p: function p(changed, ctx) {
|
1599 |
+
if (changed.text) {
|
1600 |
+
setData(text, ctx.text);
|
1601 |
+
}
|
1602 |
+
},
|
1603 |
+
d: function d(detach) {
|
1604 |
+
if (detach) {
|
1605 |
+
detachNode(text);
|
1606 |
+
}
|
1607 |
+
}
|
1608 |
+
};
|
1609 |
+
}
|
1610 |
+
|
1611 |
+
// (72:8) {#if textTrusted}
|
1612 |
+
function create_if_block_1(component, ctx) {
|
1613 |
+
var raw_before, raw_after;
|
1614 |
+
|
1615 |
+
return {
|
1616 |
+
c: function c() {
|
1617 |
+
raw_before = createElement('noscript');
|
1618 |
+
raw_after = createElement('noscript');
|
1619 |
+
},
|
1620 |
+
m: function m(target, anchor) {
|
1621 |
+
insert(target, raw_before, anchor);
|
1622 |
+
raw_before.insertAdjacentHTML("afterend", ctx.text);
|
1623 |
+
insert(target, raw_after, anchor);
|
1624 |
+
},
|
1625 |
+
p: function p(changed, ctx) {
|
1626 |
+
if (changed.text) {
|
1627 |
+
detachBetween(raw_before, raw_after);
|
1628 |
+
raw_before.insertAdjacentHTML("afterend", ctx.text);
|
1629 |
+
}
|
1630 |
+
},
|
1631 |
+
d: function d(detach) {
|
1632 |
+
if (detach) {
|
1633 |
+
detachBetween(raw_before, raw_after);
|
1634 |
+
detachNode(raw_before);
|
1635 |
+
detachNode(raw_after);
|
1636 |
+
}
|
1637 |
+
}
|
1638 |
+
};
|
1639 |
+
}
|
1640 |
+
|
1641 |
+
// (79:4) {#each _modulesAppendContainer as module (module.key)}
|
1642 |
+
function create_each_block(component, key_1, ctx) {
|
1643 |
+
var first, switch_instance_anchor;
|
1644 |
+
|
1645 |
+
var switch_value = ctx.module;
|
1646 |
+
|
1647 |
+
function switch_props(ctx) {
|
1648 |
+
return {
|
1649 |
+
root: component.root,
|
1650 |
+
store: component.store
|
1651 |
+
};
|
1652 |
+
}
|
1653 |
+
|
1654 |
+
if (switch_value) {
|
1655 |
+
var switch_instance = new switch_value(switch_props(ctx));
|
1656 |
+
}
|
1657 |
+
|
1658 |
+
function switch_instance_init(event) {
|
1659 |
+
component.initModule(event.module);
|
1660 |
+
}
|
1661 |
+
|
1662 |
+
if (switch_instance) switch_instance.on("init", switch_instance_init);
|
1663 |
+
|
1664 |
+
return {
|
1665 |
+
key: key_1,
|
1666 |
+
|
1667 |
+
first: null,
|
1668 |
+
|
1669 |
+
c: function c() {
|
1670 |
+
first = createComment();
|
1671 |
+
if (switch_instance) switch_instance._fragment.c();
|
1672 |
+
switch_instance_anchor = createComment();
|
1673 |
+
this.first = first;
|
1674 |
+
},
|
1675 |
+
m: function m(target, anchor) {
|
1676 |
+
insert(target, first, anchor);
|
1677 |
+
|
1678 |
+
if (switch_instance) {
|
1679 |
+
switch_instance._mount(target, anchor);
|
1680 |
+
}
|
1681 |
+
|
1682 |
+
insert(target, switch_instance_anchor, anchor);
|
1683 |
+
},
|
1684 |
+
p: function p(changed, ctx) {
|
1685 |
+
if (switch_value !== (switch_value = ctx.module)) {
|
1686 |
+
if (switch_instance) {
|
1687 |
+
switch_instance.destroy();
|
1688 |
+
}
|
1689 |
+
|
1690 |
+
if (switch_value) {
|
1691 |
+
switch_instance = new switch_value(switch_props(ctx));
|
1692 |
+
switch_instance._fragment.c();
|
1693 |
+
switch_instance._mount(switch_instance_anchor.parentNode, switch_instance_anchor);
|
1694 |
+
|
1695 |
+
switch_instance.on("init", switch_instance_init);
|
1696 |
+
} else {
|
1697 |
+
switch_instance = null;
|
1698 |
+
}
|
1699 |
+
}
|
1700 |
+
},
|
1701 |
+
d: function d(detach) {
|
1702 |
+
if (detach) {
|
1703 |
+
detachNode(first);
|
1704 |
+
detachNode(switch_instance_anchor);
|
1705 |
+
}
|
1706 |
+
|
1707 |
+
if (switch_instance) switch_instance.destroy(detach);
|
1708 |
+
}
|
1709 |
+
};
|
1710 |
+
}
|
1711 |
+
|
1712 |
+
function PNotify_1(options) {
|
1713 |
+
var _this7 = this;
|
1714 |
+
|
1715 |
+
init(this, options);
|
1716 |
+
this.refs = {};
|
1717 |
+
this._state = assign(data(), options.data);
|
1718 |
+
|
1719 |
+
this._recompute({ styling: 1, icons: 1, width: 1, minHeight: 1 }, this._state);
|
1720 |
+
this._intro = true;
|
1721 |
+
|
1722 |
+
if (!document.getElementById("svelte-1eldsjg-style")) add_css();
|
1723 |
+
|
1724 |
+
this._fragment = create_main_fragment(this, this._state);
|
1725 |
+
|
1726 |
+
this.root._oncreate.push(function () {
|
1727 |
+
oncreate.call(_this7);
|
1728 |
+
_this7.fire("update", { changed: assignTrue({}, _this7._state), current: _this7._state });
|
1729 |
+
});
|
1730 |
+
|
1731 |
+
if (options.target) {
|
1732 |
+
this._fragment.c();
|
1733 |
+
this._mount(options.target, options.anchor);
|
1734 |
+
|
1735 |
+
flush(this);
|
1736 |
+
}
|
1737 |
+
}
|
1738 |
+
|
1739 |
+
assign(PNotify_1.prototype, {
|
1740 |
+
destroy: destroy,
|
1741 |
+
get: get,
|
1742 |
+
fire: fire,
|
1743 |
+
on: on,
|
1744 |
+
set: set,
|
1745 |
+
_set: _set,
|
1746 |
+
_stage: _stage,
|
1747 |
+
_mount: _mount,
|
1748 |
+
_differs: _differs
|
1749 |
+
});
|
1750 |
+
assign(PNotify_1.prototype, methods);
|
1751 |
+
|
1752 |
+
PNotify_1.prototype._recompute = function _recompute(changed, state) {
|
1753 |
+
if (changed.styling) {
|
1754 |
+
if (this._differs(state._styles, state._styles = _styles(state))) changed._styles = true;
|
1755 |
+
}
|
1756 |
+
|
1757 |
+
if (changed.icons) {
|
1758 |
+
if (this._differs(state._icons, state._icons = _icons(state))) changed._icons = true;
|
1759 |
+
}
|
1760 |
+
|
1761 |
+
if (changed.width) {
|
1762 |
+
if (this._differs(state._widthStyle, state._widthStyle = _widthStyle(state))) changed._widthStyle = true;
|
1763 |
+
}
|
1764 |
+
|
1765 |
+
if (changed.minHeight) {
|
1766 |
+
if (this._differs(state._minHeightStyle, state._minHeightStyle = _minHeightStyle(state))) changed._minHeightStyle = true;
|
1767 |
+
}
|
1768 |
+
};
|
1769 |
+
|
1770 |
+
setup(PNotify_1);
|
1771 |
+
|
1772 |
+
function createElement(name) {
|
1773 |
+
return document.createElement(name);
|
1774 |
+
}
|
1775 |
+
|
1776 |
+
function append(target, node) {
|
1777 |
+
target.appendChild(node);
|
1778 |
+
}
|
1779 |
+
|
1780 |
+
function blankObject() {
|
1781 |
+
return Object.create(null);
|
1782 |
+
}
|
1783 |
+
|
1784 |
+
function createText(data) {
|
1785 |
+
return document.createTextNode(data);
|
1786 |
+
}
|
1787 |
+
|
1788 |
+
function setAttribute(node, attribute, value) {
|
1789 |
+
if (value == null) node.removeAttribute(attribute);else node.setAttribute(attribute, value);
|
1790 |
+
}
|
1791 |
+
|
1792 |
+
function addListener(node, event, handler, options) {
|
1793 |
+
node.addEventListener(event, handler, options);
|
1794 |
+
}
|
1795 |
+
|
1796 |
+
function insert(target, node, anchor) {
|
1797 |
+
target.insertBefore(node, anchor);
|
1798 |
+
}
|
1799 |
+
|
1800 |
+
function updateKeyedEach(old_blocks, component, changed, get_key, dynamic, ctx, list, lookup, node, destroy, create_each_block, intro_method, next, get_context) {
|
1801 |
+
var o = old_blocks.length;
|
1802 |
+
var n = list.length;
|
1803 |
+
|
1804 |
+
var i = o;
|
1805 |
+
var old_indexes = {};
|
1806 |
+
while (i--) {
|
1807 |
+
old_indexes[old_blocks[i].key] = i;
|
1808 |
+
}var new_blocks = [];
|
1809 |
+
var new_lookup = {};
|
1810 |
+
var deltas = {};
|
1811 |
+
|
1812 |
+
var i = n;
|
1813 |
+
while (i--) {
|
1814 |
+
var child_ctx = get_context(ctx, list, i);
|
1815 |
+
var key = get_key(child_ctx);
|
1816 |
+
var block = lookup[key];
|
1817 |
+
|
1818 |
+
if (!block) {
|
1819 |
+
block = create_each_block(component, key, child_ctx);
|
1820 |
+
block.c();
|
1821 |
+
} else if (dynamic) {
|
1822 |
+
block.p(changed, child_ctx);
|
1823 |
+
}
|
1824 |
+
|
1825 |
+
new_blocks[i] = new_lookup[key] = block;
|
1826 |
+
|
1827 |
+
if (key in old_indexes) deltas[key] = Math.abs(i - old_indexes[key]);
|
1828 |
+
}
|
1829 |
+
|
1830 |
+
var will_move = {};
|
1831 |
+
var did_move = {};
|
1832 |
+
|
1833 |
+
function insert(block) {
|
1834 |
+
block[intro_method](node, next);
|
1835 |
+
lookup[block.key] = block;
|
1836 |
+
next = block.first;
|
1837 |
+
n--;
|
1838 |
+
}
|
1839 |
+
|
1840 |
+
while (o && n) {
|
1841 |
+
var new_block = new_blocks[n - 1];
|
1842 |
+
var old_block = old_blocks[o - 1];
|
1843 |
+
var new_key = new_block.key;
|
1844 |
+
var old_key = old_block.key;
|
1845 |
+
|
1846 |
+
if (new_block === old_block) {
|
1847 |
+
// do nothing
|
1848 |
+
next = new_block.first;
|
1849 |
+
o--;
|
1850 |
+
n--;
|
1851 |
+
} else if (!new_lookup[old_key]) {
|
1852 |
+
// remove old block
|
1853 |
+
destroy(old_block, lookup);
|
1854 |
+
o--;
|
1855 |
+
} else if (!lookup[new_key] || will_move[new_key]) {
|
1856 |
+
insert(new_block);
|
1857 |
+
} else if (did_move[old_key]) {
|
1858 |
+
o--;
|
1859 |
+
} else if (deltas[new_key] > deltas[old_key]) {
|
1860 |
+
did_move[new_key] = true;
|
1861 |
+
insert(new_block);
|
1862 |
+
} else {
|
1863 |
+
will_move[old_key] = true;
|
1864 |
+
o--;
|
1865 |
+
}
|
1866 |
+
}
|
1867 |
+
|
1868 |
+
while (o--) {
|
1869 |
+
var old_block = old_blocks[o];
|
1870 |
+
if (!new_lookup[old_block.key]) destroy(old_block, lookup);
|
1871 |
+
}
|
1872 |
+
|
1873 |
+
while (n) {
|
1874 |
+
insert(new_blocks[n - 1]);
|
1875 |
+
}return new_blocks;
|
1876 |
+
}
|
1877 |
+
|
1878 |
+
function destroyBlock(block, lookup) {
|
1879 |
+
block.d(1);
|
1880 |
+
lookup[block.key] = null;
|
1881 |
+
}
|
1882 |
+
|
1883 |
+
function detachNode(node) {
|
1884 |
+
node.parentNode.removeChild(node);
|
1885 |
+
}
|
1886 |
+
|
1887 |
+
function removeListener(node, event, handler, options) {
|
1888 |
+
node.removeEventListener(event, handler, options);
|
1889 |
+
}
|
1890 |
+
|
1891 |
+
function createComment() {
|
1892 |
+
return document.createComment('');
|
1893 |
+
}
|
1894 |
+
|
1895 |
+
function setData(text, data) {
|
1896 |
+
text.data = '' + data;
|
1897 |
+
}
|
1898 |
+
|
1899 |
+
function detachBetween(before, after) {
|
1900 |
+
while (before.nextSibling && before.nextSibling !== after) {
|
1901 |
+
before.parentNode.removeChild(before.nextSibling);
|
1902 |
+
}
|
1903 |
+
}
|
1904 |
+
|
1905 |
+
function init(component, options) {
|
1906 |
+
component._handlers = blankObject();
|
1907 |
+
component._slots = blankObject();
|
1908 |
+
component._bind = options._bind;
|
1909 |
+
component._staged = {};
|
1910 |
+
|
1911 |
+
component.options = options;
|
1912 |
+
component.root = options.root || component;
|
1913 |
+
component.store = options.store || component.root.store;
|
1914 |
+
|
1915 |
+
if (!options.root) {
|
1916 |
+
component._beforecreate = [];
|
1917 |
+
component._oncreate = [];
|
1918 |
+
component._aftercreate = [];
|
1919 |
+
}
|
1920 |
+
}
|
1921 |
+
|
1922 |
+
function assign(tar, src) {
|
1923 |
+
for (var k in src) {
|
1924 |
+
tar[k] = src[k];
|
1925 |
+
}return tar;
|
1926 |
+
}
|
1927 |
+
|
1928 |
+
function assignTrue(tar, src) {
|
1929 |
+
for (var k in src) {
|
1930 |
+
tar[k] = 1;
|
1931 |
+
}return tar;
|
1932 |
+
}
|
1933 |
+
|
1934 |
+
function flush(component) {
|
1935 |
+
component._lock = true;
|
1936 |
+
callAll(component._beforecreate);
|
1937 |
+
callAll(component._oncreate);
|
1938 |
+
callAll(component._aftercreate);
|
1939 |
+
component._lock = false;
|
1940 |
+
}
|
1941 |
+
|
1942 |
+
function destroy(detach) {
|
1943 |
+
this.destroy = noop;
|
1944 |
+
this.fire('destroy');
|
1945 |
+
this.set = noop;
|
1946 |
+
|
1947 |
+
this._fragment.d(detach !== false);
|
1948 |
+
this._fragment = null;
|
1949 |
+
this._state = {};
|
1950 |
+
}
|
1951 |
+
|
1952 |
+
function get() {
|
1953 |
+
return this._state;
|
1954 |
+
}
|
1955 |
+
|
1956 |
+
function fire(eventName, data) {
|
1957 |
+
var handlers = eventName in this._handlers && this._handlers[eventName].slice();
|
1958 |
+
if (!handlers) return;
|
1959 |
+
|
1960 |
+
for (var i = 0; i < handlers.length; i += 1) {
|
1961 |
+
var handler = handlers[i];
|
1962 |
+
|
1963 |
+
if (!handler.__calling) {
|
1964 |
+
try {
|
1965 |
+
handler.__calling = true;
|
1966 |
+
handler.call(this, data);
|
1967 |
+
} finally {
|
1968 |
+
handler.__calling = false;
|
1969 |
+
}
|
1970 |
+
}
|
1971 |
+
}
|
1972 |
+
}
|
1973 |
+
|
1974 |
+
function on(eventName, handler) {
|
1975 |
+
var handlers = this._handlers[eventName] || (this._handlers[eventName] = []);
|
1976 |
+
handlers.push(handler);
|
1977 |
+
|
1978 |
+
return {
|
1979 |
+
cancel: function cancel() {
|
1980 |
+
var index = handlers.indexOf(handler);
|
1981 |
+
if (~index) handlers.splice(index, 1);
|
1982 |
+
}
|
1983 |
+
};
|
1984 |
+
}
|
1985 |
+
|
1986 |
+
function set(newState) {
|
1987 |
+
this._set(assign({}, newState));
|
1988 |
+
if (this.root._lock) return;
|
1989 |
+
flush(this.root);
|
1990 |
+
}
|
1991 |
+
|
1992 |
+
function _set(newState) {
|
1993 |
+
var oldState = this._state,
|
1994 |
+
changed = {},
|
1995 |
+
dirty = false;
|
1996 |
+
|
1997 |
+
newState = assign(this._staged, newState);
|
1998 |
+
this._staged = {};
|
1999 |
+
|
2000 |
+
for (var key in newState) {
|
2001 |
+
if (this._differs(newState[key], oldState[key])) changed[key] = dirty = true;
|
2002 |
+
}
|
2003 |
+
if (!dirty) return;
|
2004 |
+
|
2005 |
+
this._state = assign(assign({}, oldState), newState);
|
2006 |
+
this._recompute(changed, this._state);
|
2007 |
+
if (this._bind) this._bind(changed, this._state);
|
2008 |
+
|
2009 |
+
if (this._fragment) {
|
2010 |
+
this.fire("state", { changed: changed, current: this._state, previous: oldState });
|
2011 |
+
this._fragment.p(changed, this._state);
|
2012 |
+
this.fire("update", { changed: changed, current: this._state, previous: oldState });
|
2013 |
+
}
|
2014 |
+
}
|
2015 |
+
|
2016 |
+
function _stage(newState) {
|
2017 |
+
assign(this._staged, newState);
|
2018 |
+
}
|
2019 |
+
|
2020 |
+
function _mount(target, anchor) {
|
2021 |
+
this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor || null);
|
2022 |
+
}
|
2023 |
+
|
2024 |
+
function _differs(a, b) {
|
2025 |
+
return a != a ? b == b : a !== b || a && (typeof a === 'undefined' ? 'undefined' : _typeof(a)) === 'object' || typeof a === 'function';
|
2026 |
+
}
|
2027 |
+
|
2028 |
+
function callAll(fns) {
|
2029 |
+
while (fns && fns.length) {
|
2030 |
+
fns.shift()();
|
2031 |
+
}
|
2032 |
+
}
|
2033 |
+
|
2034 |
+
function noop() {}
|
2035 |
+
return PNotify_1;
|
2036 |
+
}();
|
2037 |
//# sourceMappingURL=PNotify.js.map
|
components/assets-manager/gonzales.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Text Domain: gonzales
|
9 |
* Domain Path: /languages/
|
10 |
* Author URI: https://webcraftic.com
|
11 |
-
* Framework Version:
|
12 |
*/
|
13 |
|
14 |
// Exit if accessed directly
|
@@ -64,15 +64,15 @@ $wgnz_plugin_info = array(
|
|
64 |
|
65 |
// FRAMEWORK MODULES
|
66 |
'load_factory_modules' => array(
|
67 |
-
array( 'libs/factory/bootstrap', '
|
68 |
-
array( 'libs/factory/forms', '
|
69 |
-
array( 'libs/factory/pages', '
|
70 |
-
array( 'libs/factory/clearfy', '
|
71 |
-
array( 'libs/factory/adverts', '
|
72 |
)
|
73 |
);
|
74 |
|
75 |
-
$wgnz_compatibility = new
|
76 |
'plugin_already_activate' => defined( 'WGZ_PLUGIN_ACTIVE' ),
|
77 |
'required_php_version' => '5.4',
|
78 |
'required_wp_version' => '4.2.0',
|
8 |
* Text Domain: gonzales
|
9 |
* Domain Path: /languages/
|
10 |
* Author URI: https://webcraftic.com
|
11 |
+
* Framework Version: FACTORY_427_VERSION
|
12 |
*/
|
13 |
|
14 |
// Exit if accessed directly
|
64 |
|
65 |
// FRAMEWORK MODULES
|
66 |
'load_factory_modules' => array(
|
67 |
+
array( 'libs/factory/bootstrap', 'factory_bootstrap_428', 'admin' ),
|
68 |
+
array( 'libs/factory/forms', 'factory_forms_425', 'admin' ),
|
69 |
+
array( 'libs/factory/pages', 'factory_pages_427', 'admin' ),
|
70 |
+
array( 'libs/factory/clearfy', 'factory_clearfy_219', 'all' ),
|
71 |
+
array( 'libs/factory/adverts', 'factory_adverts_107', 'admin')
|
72 |
)
|
73 |
);
|
74 |
|
75 |
+
$wgnz_compatibility = new Wbcr_Factory427_Requirements( __FILE__, array_merge( $wgnz_plugin_info, array(
|
76 |
'plugin_already_activate' => defined( 'WGZ_PLUGIN_ACTIVE' ),
|
77 |
'required_php_version' => '5.4',
|
78 |
'required_wp_version' => '4.2.0',
|
components/assets-manager/includes/3rd-party/index.php
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
<?php
|
2 |
-
// Silence is golden.
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
components/assets-manager/includes/class-plugin.php
CHANGED
@@ -11,11 +11,11 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
11 |
* @copyright (c) 19.02.2018, Webcraftic
|
12 |
* @version 1.0
|
13 |
*/
|
14 |
-
class WGZ_Plugin extends
|
15 |
|
16 |
/**
|
17 |
* @see self::app()
|
18 |
-
* @var
|
19 |
*/
|
20 |
private static $app;
|
21 |
|
@@ -53,7 +53,7 @@ class WGZ_Plugin extends Wbcr_Factory425_Plugin {
|
|
53 |
* Используется для получения настроек плагина, информации о плагине, для доступа к вспомогательным
|
54 |
* классам.
|
55 |
*
|
56 |
-
* @return \
|
57 |
*/
|
58 |
public static function app() {
|
59 |
return self::$app;
|
11 |
* @copyright (c) 19.02.2018, Webcraftic
|
12 |
* @version 1.0
|
13 |
*/
|
14 |
+
class WGZ_Plugin extends Wbcr_Factory427_Plugin {
|
15 |
|
16 |
/**
|
17 |
* @see self::app()
|
18 |
+
* @var Wbcr_Factory427_Plugin
|
19 |
*/
|
20 |
private static $app;
|
21 |
|
53 |
* Используется для получения настроек плагина, информации о плагине, для доступа к вспомогательным
|
54 |
* классам.
|
55 |
*
|
56 |
+
* @return \Wbcr_Factory427_Plugin|\WGZ_Plugin
|
57 |
*/
|
58 |
public static function app() {
|
59 |
return self::$app;
|
components/assets-manager/includes/classes/class-assets-manager-global.php
CHANGED
@@ -21,9 +21,9 @@ class WGZ_Assets_Manager_Public {
|
|
21 |
public $collection = [];
|
22 |
|
23 |
/**
|
24 |
-
* @param
|
25 |
*/
|
26 |
-
public function __construct(
|
27 |
$this->plugin = $plugin;
|
28 |
|
29 |
$this->register_hooks();
|
21 |
public $collection = [];
|
22 |
|
23 |
/**
|
24 |
+
* @param Wbcr_Factory427_Plugin $plugin
|
25 |
*/
|
26 |
+
public function __construct( Wbcr_Factory427_Plugin $plugin ) {
|
27 |
$this->plugin = $plugin;
|
28 |
|
29 |
$this->register_hooks();
|
components/assets-manager/includes/classes/class-views.php
CHANGED
@@ -63,11 +63,11 @@ class WGZ_Views {
|
|
63 |
*
|
64 |
* @param string $template The template name.
|
65 |
* @param mixed $data Some data to pass to the template.
|
66 |
-
* @param
|
67 |
*
|
68 |
* @return bool|string The page contents. False if the template doesn't exist.
|
69 |
*/
|
70 |
-
public function get_template( $template, $data = [],
|
71 |
$template = str_replace( '_', '-', $template );
|
72 |
$path = $this->plugin_dir . '/views/' . $template . '.php';
|
73 |
|
@@ -92,9 +92,9 @@ class WGZ_Views {
|
|
92 |
*
|
93 |
* @param string $template The template name.
|
94 |
* @param mixed $data Some data to pass to the template.
|
95 |
-
* @param
|
96 |
*/
|
97 |
-
public function print_template( $template, $data = [],
|
98 |
echo $this->get_template( $template, $data, $page );
|
99 |
}
|
100 |
}
|
63 |
*
|
64 |
* @param string $template The template name.
|
65 |
* @param mixed $data Some data to pass to the template.
|
66 |
+
* @param Wbcr_FactoryClearfy219_PageBase $page
|
67 |
*
|
68 |
* @return bool|string The page contents. False if the template doesn't exist.
|
69 |
*/
|
70 |
+
public function get_template( $template, $data = [], Wbcr_FactoryClearfy219_PageBase $page = null ) {
|
71 |
$template = str_replace( '_', '-', $template );
|
72 |
$path = $this->plugin_dir . '/views/' . $template . '.php';
|
73 |
|
92 |
*
|
93 |
* @param string $template The template name.
|
94 |
* @param mixed $data Some data to pass to the template.
|
95 |
+
* @param Wbcr_FactoryClearfy219_PageBase $page
|
96 |
*/
|
97 |
+
public function print_template( $template, $data = [], Wbcr_FactoryClearfy219_PageBase $page = null ) {
|
98 |
echo $this->get_template( $template, $data, $page );
|
99 |
}
|
100 |
}
|
components/assets-manager/includes/index.php
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
<?php
|
2 |
-
// Silence is golden.
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
components/assets-manager/index.php
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
<?php
|
2 |
-
// Silence is golden.
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
components/assets-manager/migrations/010100.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Updates for altering the table used to store statistics data.
|
5 |
* Adds new columns and renames existing ones in order to add support for the new social buttons.
|
6 |
*/
|
7 |
-
class WGZUpdate010100 extends
|
8 |
|
9 |
public function install()
|
10 |
{
|
4 |
* Updates for altering the table used to store statistics data.
|
5 |
* Adds new columns and renames existing ones in order to add support for the new social buttons.
|
6 |
*/
|
7 |
+
class WGZUpdate010100 extends Wbcr_Factory427_Update {
|
8 |
|
9 |
public function install()
|
10 |
{
|
components/assets-manager/migrations/010108.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Updates for altering the table used to store statistics data.
|
5 |
* Adds new columns and renames existing ones in order to add support for the new social buttons.
|
6 |
*/
|
7 |
-
class WGZUpdate010108 extends
|
8 |
|
9 |
/**
|
10 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
4 |
* Updates for altering the table used to store statistics data.
|
5 |
* Adds new columns and renames existing ones in order to add support for the new social buttons.
|
6 |
*/
|
7 |
+
class WGZUpdate010108 extends Wbcr_Factory427_Update {
|
8 |
|
9 |
/**
|
10 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
components/assets-manager/migrations/020005.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Updates for altering the table used to store statistics data.
|
5 |
* Adds new columns and renames existing ones in order to add support for the new social buttons.
|
6 |
*/
|
7 |
-
class WGZUpdate020005 extends
|
8 |
|
9 |
public function install() {
|
10 |
$settings = get_option( $this->plugin->getPrefix() . 'assets_states', [] );
|
4 |
* Updates for altering the table used to store statistics data.
|
5 |
* Adds new columns and renames existing ones in order to add support for the new social buttons.
|
6 |
*/
|
7 |
+
class WGZUpdate020005 extends Wbcr_Factory427_Update {
|
8 |
|
9 |
public function install() {
|
10 |
$settings = get_option( $this->plugin->getPrefix() . 'assets_states', [] );
|
components/assets-manager/migrations/index.php
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
<?php
|
2 |
-
// Silence is golden.
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
components/assets-manager/mu-plugins/assets-manager.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Webcraftic AM plugin load filter
|
4 |
* Dynamically activated only plugins that you have selected in each page. [Note] Webcraftic AM has been automatically installed/deleted by Activate/Deactivate of "load filter plugin".
|
5 |
* Version: 1.0.9
|
6 |
-
* Framework Version:
|
7 |
*/
|
8 |
|
9 |
// todo: проверить, как работает кеширование
|
3 |
* Webcraftic AM plugin load filter
|
4 |
* Dynamically activated only plugins that you have selected in each page. [Note] Webcraftic AM has been automatically installed/deleted by Activate/Deactivate of "load filter plugin".
|
5 |
* Version: 1.0.9
|
6 |
+
* Framework Version: FACTORY_427_VERSION
|
7 |
*/
|
8 |
|
9 |
// todo: проверить, как работает кеширование
|
components/assets-manager/mu-plugins/index.php
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
<?php
|
2 |
-
// Silence is golden.
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
components/comments-plus/admin/boot.php
CHANGED
@@ -101,7 +101,7 @@ if ( ! defined( 'LOADING_COMMENTS_PLUS_AS_ADDON' ) ) {
|
|
101 |
return $page_url;
|
102 |
}
|
103 |
|
104 |
-
add_filter( '
|
105 |
|
106 |
/**
|
107 |
* Удаляем лишние виджеты из правого сайдбара в интерфейсе плагина
|
101 |
return $page_url;
|
102 |
}
|
103 |
|
104 |
+
add_filter( 'wbcr_factory_pages_427_imppage_rating_widget_url', 'wbcr_cmp_rating_widget_url', 10, 2 );
|
105 |
|
106 |
/**
|
107 |
* Удаляем лишние виджеты из правого сайдбара в интерфейсе плагина
|
components/comments-plus/admin/pages/class-page-comments.php
CHANGED
@@ -16,7 +16,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
16 |
*
|
17 |
* @copyright (c) 2018 Webraftic Ltd
|
18 |
*/
|
19 |
-
class WbcrCmp_CommentsPage extends
|
20 |
|
21 |
/**
|
22 |
* {@inheritDoc}
|
@@ -52,9 +52,9 @@ class WbcrCmp_CommentsPage extends Wbcr_FactoryClearfy217_PageBase {
|
|
52 |
*
|
53 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
54 |
*
|
55 |
-
* @param \
|
56 |
*/
|
57 |
-
public function __construct(
|
58 |
$this->menu_title = __( 'Disable comments', 'comments-plus' );
|
59 |
$this->page_menu_short_description = __( 'Manage site comments', 'comments-plus' );
|
60 |
|
16 |
*
|
17 |
* @copyright (c) 2018 Webraftic Ltd
|
18 |
*/
|
19 |
+
class WbcrCmp_CommentsPage extends Wbcr_FactoryClearfy219_PageBase {
|
20 |
|
21 |
/**
|
22 |
* {@inheritDoc}
|
52 |
*
|
53 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
54 |
*
|
55 |
+
* @param \Wbcr_Factory427_Plugin $plugin
|
56 |
*/
|
57 |
+
public function __construct( Wbcr_Factory427_Plugin $plugin ) {
|
58 |
$this->menu_title = __( 'Disable comments', 'comments-plus' );
|
59 |
$this->page_menu_short_description = __( 'Manage site comments', 'comments-plus' );
|
60 |
|
components/comments-plus/admin/pages/class-page-delete-comments.php
CHANGED
@@ -16,7 +16,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
16 |
*
|
17 |
* @copyright (c) 2018 Webraftic Ltd
|
18 |
*/
|
19 |
-
class WbcrCmp_DeleteCommentsPage extends
|
20 |
|
21 |
/**
|
22 |
* {@inheritDoc}
|
@@ -66,9 +66,9 @@ class WbcrCmp_DeleteCommentsPage extends Wbcr_FactoryClearfy217_PageBase {
|
|
66 |
*
|
67 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
68 |
*
|
69 |
-
* @param \
|
70 |
*/
|
71 |
-
public function __construct(
|
72 |
$this->menu_title = __( 'Comments cleaner', 'comments-plus' );
|
73 |
|
74 |
parent::__construct( $plugin );
|
@@ -78,10 +78,10 @@ class WbcrCmp_DeleteCommentsPage extends Wbcr_FactoryClearfy217_PageBase {
|
|
78 |
* {@inheritDoc}
|
79 |
*
|
80 |
* @param $notices
|
81 |
-
* @param
|
82 |
*
|
83 |
* @return array
|
84 |
-
* @see libs\factory\pages\themplates\
|
85 |
*/
|
86 |
public function getActionNotices( $notices ) {
|
87 |
|
@@ -200,7 +200,7 @@ class WbcrCmp_DeleteCommentsPage extends Wbcr_FactoryClearfy217_PageBase {
|
|
200 |
/**
|
201 |
* Prints the content of the page
|
202 |
*
|
203 |
-
* @see libs\factory\pages\themplates\
|
204 |
*/
|
205 |
public function showPageContent() {
|
206 |
$stats = $this->getStats();
|
16 |
*
|
17 |
* @copyright (c) 2018 Webraftic Ltd
|
18 |
*/
|
19 |
+
class WbcrCmp_DeleteCommentsPage extends Wbcr_FactoryClearfy219_PageBase {
|
20 |
|
21 |
/**
|
22 |
* {@inheritDoc}
|
66 |
*
|
67 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
68 |
*
|
69 |
+
* @param \Wbcr_Factory427_Plugin $plugin
|
70 |
*/
|
71 |
+
public function __construct( Wbcr_Factory427_Plugin $plugin ) {
|
72 |
$this->menu_title = __( 'Comments cleaner', 'comments-plus' );
|
73 |
|
74 |
parent::__construct( $plugin );
|
78 |
* {@inheritDoc}
|
79 |
*
|
80 |
* @param $notices
|
81 |
+
* @param Wbcr_Factory427_Plugin $plugin
|
82 |
*
|
83 |
* @return array
|
84 |
+
* @see libs\factory\pages\themplates\FactoryPages427_ImpressiveThemplate
|
85 |
*/
|
86 |
public function getActionNotices( $notices ) {
|
87 |
|
200 |
/**
|
201 |
* Prints the content of the page
|
202 |
*
|
203 |
+
* @see libs\factory\pages\themplates\FactoryPages427_ImpressiveThemplate
|
204 |
*/
|
205 |
public function showPageContent() {
|
206 |
$stats = $this->getStats();
|
components/comments-plus/admin/pages/class-page-more-features.php
CHANGED
@@ -19,6 +19,6 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
19 |
*
|
20 |
* @copyright (c) 2018 Webraftic Ltd
|
21 |
*/
|
22 |
-
class WbcrCmp_MoreFeaturesPage extends
|
23 |
|
24 |
}
|
19 |
*
|
20 |
* @copyright (c) 2018 Webraftic Ltd
|
21 |
*/
|
22 |
+
class WbcrCmp_MoreFeaturesPage extends Wbcr_FactoryClearfy219_MoreFeaturesPage {
|
23 |
|
24 |
}
|
components/comments-plus/comments-plus.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Text Domain: comments-plus
|
9 |
* Domain Path: /languages/
|
10 |
* Author URI: https://webcraftic.com
|
11 |
-
* Framework Version:
|
12 |
*/
|
13 |
|
14 |
// Exit if accessed directly
|
@@ -64,15 +64,15 @@ $wcm_plugin_info = array(
|
|
64 |
|
65 |
// FRAMEWORK MODULES
|
66 |
'load_factory_modules' => array(
|
67 |
-
array( 'libs/factory/bootstrap', '
|
68 |
-
array( 'libs/factory/forms', '
|
69 |
-
array( 'libs/factory/pages', '
|
70 |
-
array( 'libs/factory/clearfy', '
|
71 |
-
array( 'libs/factory/adverts', '
|
72 |
)
|
73 |
);
|
74 |
|
75 |
-
$wcm_compatibility = new
|
76 |
'plugin_already_activate' => defined( 'WCM_PLUGIN_ACTIVE' ),
|
77 |
'required_php_version' => '5.4',
|
78 |
'required_wp_version' => '4.2.0',
|
8 |
* Text Domain: comments-plus
|
9 |
* Domain Path: /languages/
|
10 |
* Author URI: https://webcraftic.com
|
11 |
+
* Framework Version: FACTORY_427_VERSION
|
12 |
*/
|
13 |
|
14 |
// Exit if accessed directly
|
64 |
|
65 |
// FRAMEWORK MODULES
|
66 |
'load_factory_modules' => array(
|
67 |
+
array( 'libs/factory/bootstrap', 'factory_bootstrap_428', 'admin' ),
|
68 |
+
array( 'libs/factory/forms', 'factory_forms_425', 'admin' ),
|
69 |
+
array( 'libs/factory/pages', 'factory_pages_427', 'admin' ),
|
70 |
+
array( 'libs/factory/clearfy', 'factory_clearfy_219', 'all' ),
|
71 |
+
array( 'libs/factory/adverts', 'factory_adverts_107', 'admin')
|
72 |
)
|
73 |
);
|
74 |
|
75 |
+
$wcm_compatibility = new Wbcr_Factory427_Requirements( __FILE__, array_merge( $wcm_plugin_info, array(
|
76 |
'plugin_already_activate' => defined( 'WCM_PLUGIN_ACTIVE' ),
|
77 |
'required_php_version' => '5.4',
|
78 |
'required_wp_version' => '4.2.0',
|
components/comments-plus/includes/class-plugin.php
CHANGED
@@ -10,11 +10,11 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
10 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>
|
11 |
* @copyright (c) 19.02.2018, Webcraftic
|
12 |
*/
|
13 |
-
class WCM_Plugin extends
|
14 |
|
15 |
/**
|
16 |
* @see self::app()
|
17 |
-
* @var
|
18 |
*/
|
19 |
private static $app;
|
20 |
|
@@ -59,7 +59,7 @@ class WCM_Plugin extends Wbcr_Factory425_Plugin {
|
|
59 |
* Используется для получения настроек плагина, информации о плагине, для доступа к вспомогательным
|
60 |
* классам.
|
61 |
*
|
62 |
-
* @return \
|
63 |
*/
|
64 |
public static function app() {
|
65 |
return self::$app;
|
10 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>
|
11 |
* @copyright (c) 19.02.2018, Webcraftic
|
12 |
*/
|
13 |
+
class WCM_Plugin extends Wbcr_Factory427_Plugin {
|
14 |
|
15 |
/**
|
16 |
* @see self::app()
|
17 |
+
* @var Wbcr_Factory427_Plugin
|
18 |
*/
|
19 |
private static $app;
|
20 |
|
59 |
* Используется для получения настроек плагина, информации о плагине, для доступа к вспомогательным
|
60 |
* классам.
|
61 |
*
|
62 |
+
* @return \Wbcr_Factory427_Plugin|\WCM_Plugin
|
63 |
*/
|
64 |
public static function app() {
|
65 |
return self::$app;
|
components/comments-plus/includes/classes/class-configurate-comments.php
CHANGED
@@ -12,14 +12,14 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
12 |
*
|
13 |
* @copyright (c) 2017 Webraftic Ltd
|
14 |
*/
|
15 |
-
class WbcrCmp_ConfigComments extends
|
16 |
|
17 |
private $modified_types = [];
|
18 |
|
19 |
/**
|
20 |
-
* @param
|
21 |
*/
|
22 |
-
public function __construct(
|
23 |
parent::__construct( $plugin );
|
24 |
$this->plugin = $plugin;
|
25 |
}
|
12 |
*
|
13 |
* @copyright (c) 2017 Webraftic Ltd
|
14 |
*/
|
15 |
+
class WbcrCmp_ConfigComments extends Wbcr_FactoryClearfy219_Configurate {
|
16 |
|
17 |
private $modified_types = [];
|
18 |
|
19 |
/**
|
20 |
+
* @param Wbcr_Factory427_Plugin $plugin
|
21 |
*/
|
22 |
+
public function __construct( Wbcr_Factory427_Plugin $plugin ) {
|
23 |
parent::__construct( $plugin );
|
24 |
$this->plugin = $plugin;
|
25 |
}
|
components/cyrlitera/admin/activation.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
*
|
6 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
7 |
* @copyright (c) 09.03.2018, Webcraftic
|
8 |
-
* @see
|
9 |
* @version 1.0
|
10 |
*/
|
11 |
|
@@ -14,7 +14,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
exit;
|
15 |
}
|
16 |
|
17 |
-
class WCTR_Activation extends
|
18 |
|
19 |
/**
|
20 |
* Runs activation actions.
|
5 |
*
|
6 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
7 |
* @copyright (c) 09.03.2018, Webcraftic
|
8 |
+
* @see Wbcr_Factory427_Activator
|
9 |
* @version 1.0
|
10 |
*/
|
11 |
|
14 |
exit;
|
15 |
}
|
16 |
|
17 |
+
class WCTR_Activation extends Wbcr_Factory427_Activator {
|
18 |
|
19 |
/**
|
20 |
* Runs activation actions.
|
components/cyrlitera/admin/boot.php
CHANGED
@@ -135,7 +135,7 @@ if ( ! defined( 'LOADING_CYRLITERA_AS_ADDON' ) ) {
|
|
135 |
return $page_url;
|
136 |
}
|
137 |
|
138 |
-
add_filter( '
|
139 |
|
140 |
/**
|
141 |
* Удаляем лишние виджеты из правого сайдбара в интерфейсе плагина
|
135 |
return $page_url;
|
136 |
}
|
137 |
|
138 |
+
add_filter( 'wbcr_factory_pages_427_imppage_rating_widget_url', 'wbcr_cyrlitera_rating_widget_url', 10, 2 );
|
139 |
|
140 |
/**
|
141 |
* Удаляем лишние виджеты из правого сайдбара в интерфейсе плагина
|
components/cyrlitera/admin/pages/class-page-cyrlitera.php
CHANGED
@@ -16,7 +16,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
16 |
* @copyright (c) 2018 Webraftic Ltd
|
17 |
* @version 1.0
|
18 |
*/
|
19 |
-
class WCTR_CyrliteraPage extends
|
20 |
|
21 |
/**
|
22 |
* {@inheritDoc}
|
@@ -59,9 +59,9 @@ class WCTR_CyrliteraPage extends Wbcr_FactoryClearfy217_PageBase {
|
|
59 |
*
|
60 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
61 |
*
|
62 |
-
* @param \
|
63 |
*/
|
64 |
-
public function __construct(
|
65 |
$this->menu_title = __( 'Cyrlitera', 'cyrlitera' );
|
66 |
|
67 |
if ( ! defined( 'LOADING_CYRLITERA_AS_ADDON' ) ) {
|
@@ -202,7 +202,7 @@ class WCTR_CyrliteraPage extends Wbcr_FactoryClearfy217_PageBase {
|
|
202 |
}
|
203 |
|
204 |
/**
|
205 |
-
* @param $html_builder
|
206 |
*/
|
207 |
public function rollbackButton( $html_builder ) {
|
208 |
$form_name = $html_builder->getFormName();
|
16 |
* @copyright (c) 2018 Webraftic Ltd
|
17 |
* @version 1.0
|
18 |
*/
|
19 |
+
class WCTR_CyrliteraPage extends Wbcr_FactoryClearfy219_PageBase {
|
20 |
|
21 |
/**
|
22 |
* {@inheritDoc}
|
59 |
*
|
60 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
61 |
*
|
62 |
+
* @param \Wbcr_Factory427_Plugin $plugin
|
63 |
*/
|
64 |
+
public function __construct( Wbcr_Factory427_Plugin $plugin ) {
|
65 |
$this->menu_title = __( 'Cyrlitera', 'cyrlitera' );
|
66 |
|
67 |
if ( ! defined( 'LOADING_CYRLITERA_AS_ADDON' ) ) {
|
202 |
}
|
203 |
|
204 |
/**
|
205 |
+
* @param $html_builder Wbcr_FactoryForms425_Html
|
206 |
*/
|
207 |
public function rollbackButton( $html_builder ) {
|
208 |
$form_name = $html_builder->getFormName();
|
components/cyrlitera/admin/pages/class-page-more-features.php
CHANGED
@@ -18,6 +18,6 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
18 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
19 |
* @copyright (c) 2018 Webraftic Ltd
|
20 |
*/
|
21 |
-
class WCTR_MoreFeaturesPage extends
|
22 |
|
23 |
}
|
18 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
19 |
* @copyright (c) 2018 Webraftic Ltd
|
20 |
*/
|
21 |
+
class WCTR_MoreFeaturesPage extends Wbcr_FactoryClearfy219_MoreFeaturesPage {
|
22 |
|
23 |
}
|
components/cyrlitera/cyrlitera.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Text Domain: cyrlitera
|
9 |
* Domain Path: /languages/
|
10 |
* Author URI: https://webcraftic.com
|
11 |
-
* Framework Version:
|
12 |
*/
|
13 |
|
14 |
// Exit if accessed directly
|
@@ -64,15 +64,15 @@ $wctr_plugin_info = array(
|
|
64 |
|
65 |
// FRAMEWORK MODULES
|
66 |
'load_factory_modules' => array(
|
67 |
-
array( 'libs/factory/bootstrap', '
|
68 |
-
array( 'libs/factory/forms', '
|
69 |
-
array( 'libs/factory/pages', '
|
70 |
-
array( 'libs/factory/clearfy', '
|
71 |
-
array( 'libs/factory/adverts', '
|
72 |
)
|
73 |
);
|
74 |
|
75 |
-
$wctr_compatibility = new
|
76 |
'plugin_already_activate' => defined( 'WCTR_PLUGIN_ACTIVE' ),
|
77 |
'required_php_version' => '5.4',
|
78 |
'required_wp_version' => '4.2.0',
|
8 |
* Text Domain: cyrlitera
|
9 |
* Domain Path: /languages/
|
10 |
* Author URI: https://webcraftic.com
|
11 |
+
* Framework Version: FACTORY_427_VERSION
|
12 |
*/
|
13 |
|
14 |
// Exit if accessed directly
|
64 |
|
65 |
// FRAMEWORK MODULES
|
66 |
'load_factory_modules' => array(
|
67 |
+
array( 'libs/factory/bootstrap', 'factory_bootstrap_428', 'admin' ),
|
68 |
+
array( 'libs/factory/forms', 'factory_forms_425', 'admin' ),
|
69 |
+
array( 'libs/factory/pages', 'factory_pages_427', 'admin' ),
|
70 |
+
array( 'libs/factory/clearfy', 'factory_clearfy_219', 'all' ),
|
71 |
+
array( 'libs/factory/adverts', 'factory_adverts_107', 'admin')
|
72 |
)
|
73 |
);
|
74 |
|
75 |
+
$wctr_compatibility = new Wbcr_Factory427_Requirements( __FILE__, array_merge( $wctr_plugin_info, array(
|
76 |
'plugin_already_activate' => defined( 'WCTR_PLUGIN_ACTIVE' ),
|
77 |
'required_php_version' => '5.4',
|
78 |
'required_wp_version' => '4.2.0',
|
components/cyrlitera/includes/class-plugin.php
CHANGED
@@ -10,11 +10,11 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
10 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
11 |
* @copyright (c) 19.02.2018, Webcraftic
|
12 |
*/
|
13 |
-
class WCTR_Plugin extends
|
14 |
|
15 |
/**
|
16 |
* @see self::app()
|
17 |
-
* @var
|
18 |
*/
|
19 |
private static $app;
|
20 |
|
@@ -57,7 +57,7 @@ class WCTR_Plugin extends Wbcr_Factory425_Plugin {
|
|
57 |
* Используется для получения настроек плагина, информации о плагине, для доступа к вспомогательным
|
58 |
* классам.
|
59 |
*
|
60 |
-
* @return \
|
61 |
*/
|
62 |
public static function app() {
|
63 |
return self::$app;
|
10 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
11 |
* @copyright (c) 19.02.2018, Webcraftic
|
12 |
*/
|
13 |
+
class WCTR_Plugin extends Wbcr_Factory427_Plugin {
|
14 |
|
15 |
/**
|
16 |
* @see self::app()
|
17 |
+
* @var Wbcr_Factory427_Plugin
|
18 |
*/
|
19 |
private static $app;
|
20 |
|
57 |
* Используется для получения настроек плагина, информации о плагине, для доступа к вспомогательным
|
58 |
* классам.
|
59 |
*
|
60 |
+
* @return \Wbcr_Factory427_Plugin|\WCTR_Plugin
|
61 |
*/
|
62 |
public static function app() {
|
63 |
return self::$app;
|
components/cyrlitera/includes/classes/class-configurate-cyrlitera.php
CHANGED
@@ -12,7 +12,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
12 |
exit;
|
13 |
}
|
14 |
|
15 |
-
class WCTR_ConfigurateCyrlitera extends
|
16 |
|
17 |
public function registerActionsAndFilters() {
|
18 |
|
@@ -235,7 +235,7 @@ class WCTR_ConfigurateCyrlitera extends Wbcr_FactoryClearfy217_Configurate {
|
|
235 |
* Перенаправление со старых url, которые были уже преобразованы
|
236 |
*/
|
237 |
public function redirectFromOldUrls() {
|
238 |
-
if ( !
|
239 |
return;
|
240 |
}
|
241 |
$is404 = is_404();
|
12 |
exit;
|
13 |
}
|
14 |
|
15 |
+
class WCTR_ConfigurateCyrlitera extends Wbcr_FactoryClearfy219_Configurate {
|
16 |
|
17 |
public function registerActionsAndFilters() {
|
18 |
|
235 |
* Перенаправление со старых url, которые были уже преобразованы
|
236 |
*/
|
237 |
public function redirectFromOldUrls() {
|
238 |
+
if ( ! WbcrFactoryClearfy219_Helpers::isPermalink() ) {
|
239 |
return;
|
240 |
}
|
241 |
$is404 = is_404();
|
components/cyrlitera/migrations/010004.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Updates for altering the table used to store statistics data.
|
5 |
* Adds new columns and renames existing ones in order to add support for the new social buttons.
|
6 |
*/
|
7 |
-
class WCTR_Update010004 extends
|
8 |
|
9 |
public function install() {
|
10 |
WCTR_Plugin::app()->deletePopulateOption( 'custom_symbols_pack' );
|
4 |
* Updates for altering the table used to store statistics data.
|
5 |
* Adds new columns and renames existing ones in order to add support for the new social buttons.
|
6 |
*/
|
7 |
+
class WCTR_Update010004 extends Wbcr_Factory427_Update {
|
8 |
|
9 |
public function install() {
|
10 |
WCTR_Plugin::app()->deletePopulateOption( 'custom_symbols_pack' );
|
components/disable-admin-notices/admin/boot.php
CHANGED
@@ -44,7 +44,7 @@ if ( ! defined( 'LOADING_DISABLE_ADMIN_NOTICES_AS_ADDON' ) ) {
|
|
44 |
*
|
45 |
* @return string
|
46 |
*/
|
47 |
-
add_filter( '
|
48 |
if ( $plugin_name == WDN_Plugin::app()->getPluginName() ) {
|
49 |
return 'https://goo.gl/68ucHp';
|
50 |
}
|
44 |
*
|
45 |
* @return string
|
46 |
*/
|
47 |
+
add_filter( 'wbcr_factory_pages_427_imppage_rating_widget_url', function ( $page_url, $plugin_name ) {
|
48 |
if ( $plugin_name == WDN_Plugin::app()->getPluginName() ) {
|
49 |
return 'https://goo.gl/68ucHp';
|
50 |
}
|
components/disable-admin-notices/admin/options.php
CHANGED
@@ -131,7 +131,7 @@ function wbcr_dan_get_plugin_options() {
|
|
131 |
* с настройками этого плагина, потому что это ухудшает юзабилити.
|
132 |
*
|
133 |
* @param array $form Массив с группой настроек, страницы "Дополнительно" в плагине Clearfy
|
134 |
-
* @param
|
135 |
*
|
136 |
* @return mixed Отсортированный массив с группой опций
|
137 |
*/
|
@@ -161,7 +161,7 @@ add_filter( 'wbcr_clr_additionally_form_options', 'wbcr_dan_additionally_form_op
|
|
161 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
162 |
* @since 1.0
|
163 |
*
|
164 |
-
* @param @param $html_builder
|
165 |
*/
|
166 |
function wbcr_dan_reset_notices_button( $html_builder ) {
|
167 |
global $wpdb;
|
131 |
* с настройками этого плагина, потому что это ухудшает юзабилити.
|
132 |
*
|
133 |
* @param array $form Массив с группой настроек, страницы "Дополнительно" в плагине Clearfy
|
134 |
+
* @param Wbcr_FactoryPages427_ImpressiveThemplate $page Экземпляр страницы
|
135 |
*
|
136 |
* @return mixed Отсортированный массив с группой опций
|
137 |
*/
|
161 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
162 |
* @since 1.0
|
163 |
*
|
164 |
+
* @param @param $html_builder Wbcr_FactoryForms425_Html
|
165 |
*/
|
166 |
function wbcr_dan_reset_notices_button( $html_builder ) {
|
167 |
global $wpdb;
|
components/disable-admin-notices/admin/pages/class-pages-more-features.php
CHANGED
@@ -22,6 +22,6 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
22 |
exit;
|
23 |
}
|
24 |
|
25 |
-
class WDN_MoreFeaturesPage extends
|
26 |
|
27 |
}
|
22 |
exit;
|
23 |
}
|
24 |
|
25 |
+
class WDN_MoreFeaturesPage extends Wbcr_FactoryClearfy219_MoreFeaturesPage {
|
26 |
|
27 |
}
|
components/disable-admin-notices/admin/pages/class-pages-notices.php
CHANGED
@@ -19,7 +19,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
19 |
exit;
|
20 |
}
|
21 |
|
22 |
-
class WDN_NoticesPage extends
|
23 |
|
24 |
/**
|
25 |
* {@inheritDoc}
|
@@ -52,9 +52,9 @@ class WDN_NoticesPage extends Wbcr_FactoryClearfy217_PageBase {
|
|
52 |
|
53 |
|
54 |
/**
|
55 |
-
* @param
|
56 |
*/
|
57 |
-
public function __construct(
|
58 |
$this->menu_title = __( 'Hide admin notices', 'disable-admin-notices' );
|
59 |
|
60 |
$this->internal = false;
|
@@ -86,7 +86,7 @@ class WDN_NoticesPage extends Wbcr_FactoryClearfy217_PageBase {
|
|
86 |
'wbcr_dan_code' => 'interal_error'
|
87 |
),
|
88 |
'type' => 'danger',
|
89 |
-
'message' => __('An error occurred while trying to delete comments. Internal error occured. Please try again later.', '
|
90 |
);*/
|
91 |
|
92 |
return $notices;
|
19 |
exit;
|
20 |
}
|
21 |
|
22 |
+
class WDN_NoticesPage extends Wbcr_FactoryClearfy219_PageBase {
|
23 |
|
24 |
/**
|
25 |
* {@inheritDoc}
|
52 |
|
53 |
|
54 |
/**
|
55 |
+
* @param Wbcr_Factory427_Plugin $plugin
|
56 |
*/
|
57 |
+
public function __construct( Wbcr_Factory427_Plugin $plugin ) {
|
58 |
$this->menu_title = __( 'Hide admin notices', 'disable-admin-notices' );
|
59 |
|
60 |
$this->internal = false;
|
86 |
'wbcr_dan_code' => 'interal_error'
|
87 |
),
|
88 |
'type' => 'danger',
|
89 |
+
'message' => __('An error occurred while trying to delete comments. Internal error occured. Please try again later.', 'factory_pages_427')
|
90 |
);*/
|
91 |
|
92 |
return $notices;
|
components/disable-admin-notices/disable-admin-notices.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Text Domain: disable-admin-notices
|
9 |
* Domain Path: /languages/
|
10 |
* Author URI: https://webcraftic.com
|
11 |
-
* Framework Version:
|
12 |
*/
|
13 |
|
14 |
/**
|
@@ -64,15 +64,15 @@ $wdan_plugin_info = array(
|
|
64 |
|
65 |
// FRAMEWORK MODULES
|
66 |
'load_factory_modules' => array(
|
67 |
-
array( 'libs/factory/bootstrap', '
|
68 |
-
array( 'libs/factory/forms', '
|
69 |
-
array( 'libs/factory/pages', '
|
70 |
-
array( 'libs/factory/clearfy', '
|
71 |
-
array( 'libs/factory/adverts', '
|
72 |
)
|
73 |
);
|
74 |
|
75 |
-
$wdan_compatibility = new
|
76 |
'plugin_already_activate' => defined( 'WDN_PLUGIN_ACTIVE' ),
|
77 |
'required_php_version' => '5.4',
|
78 |
'required_wp_version' => '4.2.0',
|
8 |
* Text Domain: disable-admin-notices
|
9 |
* Domain Path: /languages/
|
10 |
* Author URI: https://webcraftic.com
|
11 |
+
* Framework Version: FACTORY_427_VERSION
|
12 |
*/
|
13 |
|
14 |
/**
|
64 |
|
65 |
// FRAMEWORK MODULES
|
66 |
'load_factory_modules' => array(
|
67 |
+
array( 'libs/factory/bootstrap', 'factory_bootstrap_428', 'admin' ),
|
68 |
+
array( 'libs/factory/forms', 'factory_forms_425', 'admin' ),
|
69 |
+
array( 'libs/factory/pages', 'factory_pages_427', 'admin' ),
|
70 |
+
array( 'libs/factory/clearfy', 'factory_clearfy_219', 'all' ),
|
71 |
+
array( 'libs/factory/adverts', 'factory_adverts_107', 'admin')
|
72 |
)
|
73 |
);
|
74 |
|
75 |
+
$wdan_compatibility = new Wbcr_Factory427_Requirements( __FILE__, array_merge( $wdan_plugin_info, array(
|
76 |
'plugin_already_activate' => defined( 'WDN_PLUGIN_ACTIVE' ),
|
77 |
'required_php_version' => '5.4',
|
78 |
'required_wp_version' => '4.2.0',
|
components/disable-admin-notices/includes/class-plugin.php
CHANGED
@@ -9,16 +9,16 @@
|
|
9 |
*/
|
10 |
|
11 |
// Exit if accessed directly
|
12 |
-
//use WBCR\
|
13 |
|
14 |
if ( ! defined( 'ABSPATH' ) ) {
|
15 |
exit;
|
16 |
}
|
17 |
|
18 |
-
class WDN_Plugin extends
|
19 |
|
20 |
/**
|
21 |
-
* @var
|
22 |
*/
|
23 |
private static $app;
|
24 |
private $plugin_data;
|
@@ -44,7 +44,7 @@ class WDN_Plugin extends Wbcr_Factory425_Plugin {
|
|
44 |
}
|
45 |
|
46 |
/**
|
47 |
-
* @return
|
48 |
*/
|
49 |
public static function app() {
|
50 |
return self::$app;
|
9 |
*/
|
10 |
|
11 |
// Exit if accessed directly
|
12 |
+
//use WBCR\Factory_Adverts_107\Base;
|
13 |
|
14 |
if ( ! defined( 'ABSPATH' ) ) {
|
15 |
exit;
|
16 |
}
|
17 |
|
18 |
+
class WDN_Plugin extends Wbcr_Factory427_Plugin {
|
19 |
|
20 |
/**
|
21 |
+
* @var Wbcr_Factory427_Plugin
|
22 |
*/
|
23 |
private static $app;
|
24 |
private $plugin_data;
|
44 |
}
|
45 |
|
46 |
/**
|
47 |
+
* @return Wbcr_Factory427_Plugin
|
48 |
*/
|
49 |
public static function app() {
|
50 |
return self::$app;
|
components/disable-admin-notices/includes/classes/class-configurate-notices.php
CHANGED
@@ -11,138 +11,143 @@
|
|
11 |
*/
|
12 |
|
13 |
// Exit if accessed directly
|
14 |
-
if
|
15 |
exit;
|
16 |
}
|
17 |
|
18 |
-
class WDN_ConfigHideNotices extends
|
19 |
|
20 |
-
public function registerActionsAndFilters()
|
21 |
-
|
22 |
-
|
|
|
23 |
|
24 |
-
if
|
25 |
-
add_action(
|
26 |
|
27 |
-
if
|
28 |
-
add_action(
|
29 |
}
|
30 |
|
31 |
-
if
|
32 |
-
add_action(
|
33 |
-
add_action(
|
34 |
}
|
35 |
}
|
36 |
}
|
37 |
}
|
38 |
|
39 |
-
public function printNotices()
|
40 |
-
|
41 |
-
|
|
|
42 |
} else {
|
43 |
-
add_action(
|
44 |
}
|
45 |
}
|
46 |
|
47 |
|
48 |
-
public function notificationsPanelStyles()
|
49 |
-
|
|
|
50 |
return;
|
51 |
}
|
52 |
|
53 |
-
wp_enqueue_style(
|
54 |
-
wp_enqueue_script(
|
55 |
}
|
56 |
|
57 |
-
public function notificationsPanel(
|
58 |
-
|
|
|
59 |
return;
|
60 |
}
|
61 |
|
62 |
-
if
|
63 |
$titles = [];
|
64 |
|
65 |
-
$notifications = get_user_meta(
|
66 |
|
67 |
-
if
|
68 |
return;
|
69 |
}
|
70 |
|
71 |
-
$cont_notifications = sizeof(
|
72 |
|
73 |
// Add top menu
|
74 |
-
$wp_admin_bar->add_menu(
|
75 |
-
'id'
|
76 |
'parent' => 'top-secondary',
|
77 |
-
'title'
|
78 |
-
'href'
|
79 |
-
]
|
80 |
|
81 |
// loop
|
82 |
-
if
|
83 |
$i = 0;
|
84 |
-
foreach
|
85 |
-
$message = $this->getExcerpt(
|
86 |
$message .= '<div class="wbcr-han-panel-restore-notify-line">';
|
87 |
-
$message .= '<a href="#" data-nonce="' . wp_create_nonce(
|
88 |
-
$message .= '" data-notice-id="' . esc_attr(
|
89 |
-
$message .= __(
|
90 |
$message .= '</a></div>';
|
91 |
|
92 |
-
$wp_admin_bar->add_menu(
|
93 |
-
'id'
|
94 |
'parent' => 'wbcr-han-notify-panel',
|
95 |
-
'title'
|
96 |
-
'href'
|
97 |
-
'meta'
|
98 |
'class' => ''
|
99 |
]
|
100 |
-
]
|
101 |
|
102 |
-
$i
|
103 |
}
|
104 |
}
|
105 |
}
|
106 |
}
|
107 |
|
108 |
-
public function noticesCollection()
|
|
|
109 |
global $wbcr_dan_plugin_all_notices;
|
110 |
|
111 |
-
if
|
112 |
return;
|
113 |
}
|
114 |
?>
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
jQuery(document).ready(function($) {
|
147 |
$(document).on('click', '.wbcr-dan-hide-notice-link', function() {
|
148 |
var self = $(this),
|
@@ -194,21 +199,22 @@ class WDN_ConfigHideNotices extends Wbcr_FactoryClearfy217_Configurate {
|
|
194 |
return false;
|
195 |
});
|
196 |
});
|
197 |
-
|
198 |
<?php
|
199 |
-
foreach
|
200 |
echo $val;
|
201 |
}
|
202 |
}
|
203 |
|
204 |
-
public function catchNotices()
|
|
|
205 |
global $wbcr_dan_plugin_all_notices;
|
206 |
|
207 |
try {
|
208 |
-
if
|
209 |
-
$wp_filter_admin_notices = &$this->getWPFilter(
|
210 |
} else {
|
211 |
-
$wp_filter_admin_notices = &$this->getWPFilter(
|
212 |
}
|
213 |
//todo: Доработать all admin notices
|
214 |
|
@@ -216,16 +222,16 @@ class WDN_ConfigHideNotices extends Wbcr_FactoryClearfy217_Configurate {
|
|
216 |
$wp_filter_admin_notices = null;
|
217 |
}
|
218 |
|
219 |
-
$hide_notices_type = $this->getPopulateOption(
|
220 |
|
221 |
-
if
|
222 |
-
$get_hidden_notices = get_user_meta(
|
223 |
|
224 |
$content = [];
|
225 |
-
foreach
|
226 |
-
foreach
|
227 |
|
228 |
-
if
|
229 |
continue;
|
230 |
}
|
231 |
|
@@ -233,68 +239,68 @@ class WDN_ConfigHideNotices extends Wbcr_FactoryClearfy217_Configurate {
|
|
233 |
|
234 |
// #CLRF-140 fix bug for php7
|
235 |
// when the developers forgot to delete the argument in the function of implementing the notification.
|
236 |
-
$args
|
237 |
-
$accepted_args = isset(
|
238 |
|
239 |
-
if
|
240 |
-
for
|
241 |
$args[] = null;
|
242 |
}
|
243 |
}
|
244 |
//===========
|
245 |
|
246 |
-
call_user_func_array(
|
247 |
$cont = ob_get_clean();
|
248 |
|
249 |
-
if
|
250 |
continue;
|
251 |
}
|
252 |
|
253 |
-
$salt
|
254 |
-
$uniq_id1 = md5(
|
255 |
-
$uniq_id2 = md5(
|
256 |
|
257 |
-
if
|
258 |
$class = $callback['function'][0];
|
259 |
-
if
|
260 |
-
$class_name
|
261 |
$method_name = $callback['function'][1];
|
262 |
-
$uniq_id2
|
263 |
}
|
264 |
}
|
265 |
//838339d1a188e17fec838c2df3058603
|
266 |
//838339d1a188e17fec838c2df3058603
|
267 |
-
if
|
268 |
|
269 |
$skip_notice = true;
|
270 |
-
foreach
|
271 |
-
$splited_notice_id = explode(
|
272 |
-
if
|
273 |
continue;
|
274 |
}
|
275 |
$compare_notice_id_1 = $splited_notice_id[0];
|
276 |
$compare_notice_id_2 = $splited_notice_id[1];
|
277 |
|
278 |
-
if
|
279 |
$skip_notice = false;
|
280 |
}
|
281 |
}
|
282 |
|
283 |
-
if
|
284 |
continue;
|
285 |
}
|
286 |
}
|
287 |
|
288 |
-
$hide_link = '<a href="#" data-nonce="' . wp_create_nonce(
|
289 |
|
290 |
// Fix for Woocommerce membership
|
291 |
-
if
|
292 |
-
$cont = preg_replace(
|
293 |
-
$cont = rtrim(
|
294 |
-
$cont = preg_replace(
|
295 |
}
|
296 |
|
297 |
-
if
|
298 |
continue;
|
299 |
}
|
300 |
$content[] = $cont;
|
@@ -305,83 +311,83 @@ class WDN_ConfigHideNotices extends Wbcr_FactoryClearfy217_Configurate {
|
|
305 |
}
|
306 |
|
307 |
try {
|
308 |
-
$wp_filter_user_admin_notices = &$this->getWPFilter(
|
309 |
} catch( Exception $e ) {
|
310 |
$wp_filter_user_admin_notices = null;
|
311 |
}
|
312 |
|
313 |
try {
|
314 |
-
$wp_filter_network_admin_notices = &$this->getWPFilter(
|
315 |
} catch( Exception $e ) {
|
316 |
$wp_filter_network_admin_notices = null;
|
317 |
}
|
318 |
|
319 |
-
if
|
320 |
$wp_filter_user_admin_notices = null;
|
321 |
-
} else if
|
322 |
//unset($wp_filter['network_admin_notices']);
|
323 |
-
foreach
|
324 |
-
foreach
|
325 |
-
if
|
326 |
$class = $clback['function'][0];
|
327 |
-
if
|
328 |
-
$class_name = get_class(
|
329 |
}
|
330 |
}
|
331 |
|
332 |
-
unset(
|
333 |
}
|
334 |
}
|
335 |
-
} else if
|
336 |
-
foreach
|
337 |
-
foreach
|
338 |
-
if
|
339 |
$class = $clback['function'][0];
|
340 |
-
if
|
341 |
-
$class_name = get_class(
|
342 |
}
|
343 |
}
|
344 |
|
345 |
-
unset(
|
346 |
}
|
347 |
}
|
348 |
|
349 |
-
unset(
|
350 |
-
unset(
|
351 |
}
|
352 |
|
353 |
try {
|
354 |
-
$wp_filter_all_admin_notices = &$this->getWPfilter(
|
355 |
} catch( Exception $e ) {
|
356 |
$wp_filter_all_admin_notices = null;
|
357 |
}
|
358 |
|
359 |
-
if
|
360 |
-
foreach
|
361 |
-
foreach
|
362 |
-
if
|
363 |
$class = $clback['function'][0];
|
364 |
-
if
|
365 |
-
$class_name = get_class(
|
366 |
|
367 |
-
#Fix for Learn dash && Woocommerce membership
|
368 |
-
if
|
369 |
continue;
|
370 |
}
|
371 |
}
|
372 |
}
|
373 |
|
374 |
#Fix for Divi theme
|
375 |
-
if
|
376 |
continue;
|
377 |
}
|
378 |
|
379 |
-
unset(
|
380 |
}
|
381 |
}
|
382 |
|
383 |
-
unset(
|
384 |
-
unset(
|
385 |
}
|
386 |
}
|
387 |
|
@@ -389,18 +395,19 @@ class WDN_ConfigHideNotices extends Wbcr_FactoryClearfy217_Configurate {
|
|
389 |
/**
|
390 |
* Get excerpt from string
|
391 |
*
|
392 |
-
* @param String
|
393 |
-
* @param Integer $startPos
|
394 |
-
* @param Integer $maxLength
|
395 |
*
|
396 |
* @return String excerpt
|
397 |
*/
|
398 |
-
public function getExcerpt(
|
399 |
-
|
400 |
-
|
401 |
-
$
|
402 |
-
$
|
403 |
-
$excerpt
|
|
|
404 |
} else {
|
405 |
$excerpt = $str;
|
406 |
}
|
@@ -419,16 +426,17 @@ class WDN_ConfigHideNotices extends Wbcr_FactoryClearfy217_Configurate {
|
|
419 |
* @return array $wp_filter callbacks array by link
|
420 |
* @throws Exception if key not exists
|
421 |
*/
|
422 |
-
private function &getWPFilter(
|
|
|
423 |
global $wp_version, $wp_filter;
|
424 |
|
425 |
-
if
|
426 |
-
throw new Exception(
|
427 |
}
|
428 |
-
if
|
429 |
-
return $wp_filter[
|
430 |
} else {
|
431 |
-
return $wp_filter[
|
432 |
}
|
433 |
}
|
434 |
}
|
11 |
*/
|
12 |
|
13 |
// Exit if accessed directly
|
14 |
+
if( !defined('ABSPATH') ) {
|
15 |
exit;
|
16 |
}
|
17 |
|
18 |
+
class WDN_ConfigHideNotices extends Wbcr_FactoryClearfy219_Configurate {
|
19 |
|
20 |
+
public function registerActionsAndFilters()
|
21 |
+
{
|
22 |
+
if( is_admin() ) {
|
23 |
+
$hide_notices_type = $this->getPopulateOption('hide_admin_notices');
|
24 |
|
25 |
+
if( $hide_notices_type != 'not_hide' ) {
|
26 |
+
add_action('admin_print_scripts', [$this, 'catchNotices'], 999);
|
27 |
|
28 |
+
if( empty($hide_notices_type) || $hide_notices_type == 'only_selected' ) {
|
29 |
+
add_action('admin_head', [$this, 'printNotices'], 999);
|
30 |
}
|
31 |
|
32 |
+
if( !empty($hide_notices_type) ) {
|
33 |
+
add_action('admin_bar_menu', [$this, 'notificationsPanel'], 999);
|
34 |
+
add_action('admin_enqueue_scripts', [$this, 'notificationsPanelStyles']);
|
35 |
}
|
36 |
}
|
37 |
}
|
38 |
}
|
39 |
|
40 |
+
public function printNotices()
|
41 |
+
{
|
42 |
+
if( is_multisite() && is_network_admin() ) {
|
43 |
+
add_action('network_admin_notices', [$this, 'noticesCollection']);
|
44 |
} else {
|
45 |
+
add_action('admin_notices', [$this, 'noticesCollection']);
|
46 |
}
|
47 |
}
|
48 |
|
49 |
|
50 |
+
public function notificationsPanelStyles()
|
51 |
+
{
|
52 |
+
if( !$this->getPopulateOption('show_notices_in_adminbar', false) && current_user_can('manage_network') ) {
|
53 |
return;
|
54 |
}
|
55 |
|
56 |
+
wp_enqueue_style('wbcr-notification-panel-styles', WDN_PLUGIN_URL . '/admin/assets/css/notifications-panel.css', [], $this->plugin->getPluginVersion());
|
57 |
+
wp_enqueue_script('wbcr-notification-panel-scripts', WDN_PLUGIN_URL . '/admin/assets/js/notifications-panel.js', [], $this->plugin->getPluginVersion());
|
58 |
}
|
59 |
|
60 |
+
public function notificationsPanel(&$wp_admin_bar)
|
61 |
+
{
|
62 |
+
if( !$this->getPopulateOption('show_notices_in_adminbar', false) ) {
|
63 |
return;
|
64 |
}
|
65 |
|
66 |
+
if( current_user_can('manage_options') || current_user_can('manage_network') ) {
|
67 |
$titles = [];
|
68 |
|
69 |
+
$notifications = get_user_meta(get_current_user_id(), WDN_Plugin::app()->getOptionName('hidden_notices'), true);
|
70 |
|
71 |
+
if( empty($notifications) ) {
|
72 |
return;
|
73 |
}
|
74 |
|
75 |
+
$cont_notifications = sizeof($notifications);
|
76 |
|
77 |
// Add top menu
|
78 |
+
$wp_admin_bar->add_menu([
|
79 |
+
'id' => 'wbcr-han-notify-panel',
|
80 |
'parent' => 'top-secondary',
|
81 |
+
'title' => sprintf(__('Notifications %s', 'disable-admin-notices'), '<span class="wbcr-han-adminbar-counter">' . $cont_notifications . '</span>'),
|
82 |
+
'href' => false
|
83 |
+
]);
|
84 |
|
85 |
// loop
|
86 |
+
if( !empty($notifications) ) {
|
87 |
$i = 0;
|
88 |
+
foreach($notifications as $notice_id => $message) {
|
89 |
+
$message = $this->getExcerpt(stripslashes($message), 0, 350);
|
90 |
$message .= '<div class="wbcr-han-panel-restore-notify-line">';
|
91 |
+
$message .= '<a href="#" data-nonce="' . wp_create_nonce($this->plugin->getPluginName() . '_ajax_restore_notice_nonce');
|
92 |
+
$message .= '" data-notice-id="' . esc_attr($notice_id) . '" class="wbcr-han-panel-restore-notify-link">';
|
93 |
+
$message .= __('Restore notice', 'clearfy') . (isset($titles[$notice_id]) ? ' (' . $titles[$notice_id] . ')' : '');
|
94 |
$message .= '</a></div>';
|
95 |
|
96 |
+
$wp_admin_bar->add_menu([
|
97 |
+
'id' => 'wbcr-han-notify-panel-item-' . $i,
|
98 |
'parent' => 'wbcr-han-notify-panel',
|
99 |
+
'title' => $message,
|
100 |
+
'href' => false,
|
101 |
+
'meta' => [
|
102 |
'class' => ''
|
103 |
]
|
104 |
+
]);
|
105 |
|
106 |
+
$i++;
|
107 |
}
|
108 |
}
|
109 |
}
|
110 |
}
|
111 |
|
112 |
+
public function noticesCollection()
|
113 |
+
{
|
114 |
global $wbcr_dan_plugin_all_notices;
|
115 |
|
116 |
+
if( empty($wbcr_dan_plugin_all_notices) ) {
|
117 |
return;
|
118 |
}
|
119 |
?>
|
120 |
+
<!-- Disable admin notices plugin (Clearfy tools) -->
|
121 |
+
<style>
|
122 |
+
.wbcr-dan-hide-notices {
|
123 |
+
position: initial;
|
124 |
+
padding: 5px 5px 0;
|
125 |
+
background: transparent;
|
126 |
+
}
|
127 |
+
|
128 |
+
.wbcr-dan-hide-notices > div {
|
129 |
+
margin: 0 !important;
|
130 |
+
}
|
131 |
+
|
132 |
+
.wbcr-dan-hide-notice-link {
|
133 |
+
display: block;
|
134 |
+
text-align: right;
|
135 |
+
margin: 5px 0 5px 5px;
|
136 |
+
font-weight: bold;
|
137 |
+
color: #F44336;
|
138 |
+
}
|
139 |
+
|
140 |
+
.is-dismissible .wbcr-dan-hide-notice-link {
|
141 |
+
margin-right: -30px;
|
142 |
+
}
|
143 |
+
|
144 |
+
.wbcr-dan-hide-notice-link:active, .wbcr-dan-hide-notice-link:focus {
|
145 |
+
box-shadow: none;
|
146 |
+
outline: none;
|
147 |
+
}
|
148 |
+
</style>
|
149 |
+
<!-- Disable admin notices plugin (Clearfy tools) -->
|
150 |
+
<script>
|
151 |
jQuery(document).ready(function($) {
|
152 |
$(document).on('click', '.wbcr-dan-hide-notice-link', function() {
|
153 |
var self = $(this),
|
199 |
return false;
|
200 |
});
|
201 |
});
|
202 |
+
</script>
|
203 |
<?php
|
204 |
+
foreach($wbcr_dan_plugin_all_notices as $val) {
|
205 |
echo $val;
|
206 |
}
|
207 |
}
|
208 |
|
209 |
+
public function catchNotices()
|
210 |
+
{
|
211 |
global $wbcr_dan_plugin_all_notices;
|
212 |
|
213 |
try {
|
214 |
+
if( is_multisite() && is_network_admin() ) {
|
215 |
+
$wp_filter_admin_notices = &$this->getWPFilter('network_admin_notices');
|
216 |
} else {
|
217 |
+
$wp_filter_admin_notices = &$this->getWPFilter('admin_notices');
|
218 |
}
|
219 |
//todo: Доработать all admin notices
|
220 |
|
222 |
$wp_filter_admin_notices = null;
|
223 |
}
|
224 |
|
225 |
+
$hide_notices_type = $this->getPopulateOption('hide_admin_notices');
|
226 |
|
227 |
+
if( empty($hide_notices_type) || $hide_notices_type == 'only_selected' ) {
|
228 |
+
$get_hidden_notices = get_user_meta(get_current_user_id(), WDN_Plugin::app()->getOptionName('hidden_notices'), true);
|
229 |
|
230 |
$content = [];
|
231 |
+
foreach((array)$wp_filter_admin_notices as $filters) {
|
232 |
+
foreach($filters as $callback_name => $callback) {
|
233 |
|
234 |
+
if( 'usof_hide_admin_notices_start' == $callback_name || 'usof_hide_admin_notices_end' == $callback_name ) {
|
235 |
continue;
|
236 |
}
|
237 |
|
239 |
|
240 |
// #CLRF-140 fix bug for php7
|
241 |
// when the developers forgot to delete the argument in the function of implementing the notification.
|
242 |
+
$args = [];
|
243 |
+
$accepted_args = isset($callback['accepted_args']) && !empty($callback['accepted_args']) ? $callback['accepted_args'] : 0;
|
244 |
|
245 |
+
if( $accepted_args > 0 ) {
|
246 |
+
for($i = 0; $i < (int)$accepted_args; $i++) {
|
247 |
$args[] = null;
|
248 |
}
|
249 |
}
|
250 |
//===========
|
251 |
|
252 |
+
call_user_func_array($callback['function'], $args);
|
253 |
$cont = ob_get_clean();
|
254 |
|
255 |
+
if( empty($cont) ) {
|
256 |
continue;
|
257 |
}
|
258 |
|
259 |
+
$salt = is_multisite() ? get_current_blog_id() : '';
|
260 |
+
$uniq_id1 = md5($cont . $salt);
|
261 |
+
$uniq_id2 = md5($callback_name . $salt);
|
262 |
|
263 |
+
if( is_array($callback['function']) && sizeof($callback['function']) == 2 ) {
|
264 |
$class = $callback['function'][0];
|
265 |
+
if( is_object($class) ) {
|
266 |
+
$class_name = get_class($class);
|
267 |
$method_name = $callback['function'][1];
|
268 |
+
$uniq_id2 = md5($class_name . ':' . $method_name);
|
269 |
}
|
270 |
}
|
271 |
//838339d1a188e17fec838c2df3058603
|
272 |
//838339d1a188e17fec838c2df3058603
|
273 |
+
if( !empty($get_hidden_notices) ) {
|
274 |
|
275 |
$skip_notice = true;
|
276 |
+
foreach((array)$get_hidden_notices as $key => $notice) {
|
277 |
+
$splited_notice_id = explode('_', $key);
|
278 |
+
if( empty($splited_notice_id) || sizeof($splited_notice_id) < 2 ) {
|
279 |
continue;
|
280 |
}
|
281 |
$compare_notice_id_1 = $splited_notice_id[0];
|
282 |
$compare_notice_id_2 = $splited_notice_id[1];
|
283 |
|
284 |
+
if( $compare_notice_id_1 == $uniq_id1 || $compare_notice_id_2 == $uniq_id2 ) {
|
285 |
$skip_notice = false;
|
286 |
}
|
287 |
}
|
288 |
|
289 |
+
if( !$skip_notice ) {
|
290 |
continue;
|
291 |
}
|
292 |
}
|
293 |
|
294 |
+
$hide_link = '<a href="#" data-nonce="' . wp_create_nonce($this->plugin->getPluginName() . '_ajax_hide_notices_nonce') . '" data-notice-id="' . $uniq_id1 . '_' . $uniq_id2 . '" class="wbcr-dan-hide-notice-link">[' . __('Hide notification forever', 'disable-admin-notices') . ']</a>';
|
295 |
|
296 |
// Fix for Woocommerce membership
|
297 |
+
if( $cont != '<div class="js-wc-memberships-admin-notice-placeholder"></div>' ) {
|
298 |
+
$cont = preg_replace('/<(script|style)([^>]+)?>(.*?)<\/(script|style)>/is', '', $cont);
|
299 |
+
$cont = rtrim(trim($cont));
|
300 |
+
$cont = preg_replace('/^(<div[^>]+>)(.*?)(<\/div>)$/is', '$1<div class="wbcr-dan-hide-notices">$2' . $hide_link . '</div>$3', $cont);
|
301 |
}
|
302 |
|
303 |
+
if( empty($cont) ) {
|
304 |
continue;
|
305 |
}
|
306 |
$content[] = $cont;
|
311 |
}
|
312 |
|
313 |
try {
|
314 |
+
$wp_filter_user_admin_notices = &$this->getWPFilter('user_admin_notices');
|
315 |
} catch( Exception $e ) {
|
316 |
$wp_filter_user_admin_notices = null;
|
317 |
}
|
318 |
|
319 |
try {
|
320 |
+
$wp_filter_network_admin_notices = &$this->getWPFilter('network_admin_notices');
|
321 |
} catch( Exception $e ) {
|
322 |
$wp_filter_network_admin_notices = null;
|
323 |
}
|
324 |
|
325 |
+
if( is_user_admin() && $wp_filter_user_admin_notices !== null ) {
|
326 |
$wp_filter_user_admin_notices = null;
|
327 |
+
} else if( is_network_admin() && $wp_filter_network_admin_notices !== null ) {
|
328 |
//unset($wp_filter['network_admin_notices']);
|
329 |
+
foreach($wp_filter_network_admin_notices as $f_key => $f) {
|
330 |
+
foreach($f as $c_name => $clback) {
|
331 |
+
if( is_array($clback['function']) && sizeof($clback['function']) == 2 ) {
|
332 |
$class = $clback['function'][0];
|
333 |
+
if( is_object($class) ) {
|
334 |
+
$class_name = get_class($class);
|
335 |
}
|
336 |
}
|
337 |
|
338 |
+
unset($wp_filter_network_admin_notices[$f_key][$c_name]);
|
339 |
}
|
340 |
}
|
341 |
+
} else if( $wp_filter_admin_notices !== null ) {
|
342 |
+
foreach($wp_filter_admin_notices as $f_key => $f) {
|
343 |
+
foreach($f as $c_name => $clback) {
|
344 |
+
if( is_array($clback['function']) && sizeof($clback['function']) == 2 ) {
|
345 |
$class = $clback['function'][0];
|
346 |
+
if( is_object($class) ) {
|
347 |
+
$class_name = get_class($class);
|
348 |
}
|
349 |
}
|
350 |
|
351 |
+
unset($wp_filter_admin_notices[$f_key][$c_name]);
|
352 |
}
|
353 |
}
|
354 |
|
355 |
+
unset($f_key);
|
356 |
+
unset($f);
|
357 |
}
|
358 |
|
359 |
try {
|
360 |
+
$wp_filter_all_admin_notices = &$this->getWPfilter('all_admin_notices');
|
361 |
} catch( Exception $e ) {
|
362 |
$wp_filter_all_admin_notices = null;
|
363 |
}
|
364 |
|
365 |
+
if( $wp_filter_all_admin_notices !== null ) {
|
366 |
+
foreach($wp_filter_all_admin_notices as $f_key => $f) {
|
367 |
+
foreach($f as $c_name => $clback) {
|
368 |
+
if( is_array($clback['function']) && sizeof($clback['function']) == 2 ) {
|
369 |
$class = $clback['function'][0];
|
370 |
+
if( is_object($class) ) {
|
371 |
+
$class_name = get_class($class);
|
372 |
|
373 |
+
#Fix for Learn dash && Woocommerce membership && YITH WooCommerce Gift Cards
|
374 |
+
if( $class_name == 'Learndash_Admin_Menus_Tabs' || $class_name == 'WC_Memberships_Admin' || $class_name == 'YIT_Plugin_Panel_WooCommerce' ) {
|
375 |
continue;
|
376 |
}
|
377 |
}
|
378 |
}
|
379 |
|
380 |
#Fix for Divi theme
|
381 |
+
if( $c_name == 'et_pb_export_layouts_interface' ) {
|
382 |
continue;
|
383 |
}
|
384 |
|
385 |
+
unset($wp_filter_all_admin_notices[$f_key][$c_name]);
|
386 |
}
|
387 |
}
|
388 |
|
389 |
+
unset($f_key);
|
390 |
+
unset($f);
|
391 |
}
|
392 |
}
|
393 |
|
395 |
/**
|
396 |
* Get excerpt from string
|
397 |
*
|
398 |
+
* @param String $str String to get an excerpt from
|
399 |
+
* @param Integer $startPos Position int string to start excerpt from
|
400 |
+
* @param Integer $maxLength Maximum length the excerpt may be
|
401 |
*
|
402 |
* @return String excerpt
|
403 |
*/
|
404 |
+
public function getExcerpt($str, $startPos = 0, $maxLength = 100)
|
405 |
+
{
|
406 |
+
if( strlen($str) > $maxLength ) {
|
407 |
+
$excerpt = substr($str, $startPos, $maxLength - 3);
|
408 |
+
$lastSpace = strrpos($excerpt, ' ');
|
409 |
+
$excerpt = substr($excerpt, 0, $lastSpace);
|
410 |
+
$excerpt .= '...';
|
411 |
} else {
|
412 |
$excerpt = $str;
|
413 |
}
|
426 |
* @return array $wp_filter callbacks array by link
|
427 |
* @throws Exception if key not exists
|
428 |
*/
|
429 |
+
private function &getWPFilter($key)
|
430 |
+
{
|
431 |
global $wp_version, $wp_filter;
|
432 |
|
433 |
+
if( !isset($wp_filter[$key]) ) {
|
434 |
+
throw new Exception('key not exists');
|
435 |
}
|
436 |
+
if( version_compare($wp_version, '4.7.0', '>=') ) {
|
437 |
+
return $wp_filter[$key]->callbacks;
|
438 |
} else {
|
439 |
+
return $wp_filter[$key];
|
440 |
}
|
441 |
}
|
442 |
}
|
components/disable-admin-notices/migrations/010007.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Updates for altering the table used to store statistics data.
|
5 |
* Adds new columns and renames existing ones in order to add support for the new social buttons.
|
6 |
*/
|
7 |
-
class WDNUpdate010007 extends
|
8 |
|
9 |
public function install()
|
10 |
{
|
4 |
* Updates for altering the table used to store statistics data.
|
5 |
* Adds new columns and renames existing ones in order to add support for the new social buttons.
|
6 |
*/
|
7 |
+
class WDNUpdate010007 extends Wbcr_Factory427_Update {
|
8 |
|
9 |
public function install()
|
10 |
{
|
components/ga-cache/admin/activation.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
*
|
6 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
7 |
* @copyright (c) 09.09.2017, Webcraftic
|
8 |
-
* @see
|
9 |
* @version 1.0
|
10 |
*/
|
11 |
|
@@ -14,7 +14,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
exit;
|
15 |
}
|
16 |
|
17 |
-
class WGA_Activation extends
|
18 |
|
19 |
/**
|
20 |
* Runs activation actions.
|
5 |
*
|
6 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
7 |
* @copyright (c) 09.09.2017, Webcraftic
|
8 |
+
* @see Factory427_Activator
|
9 |
* @version 1.0
|
10 |
*/
|
11 |
|
14 |
exit;
|
15 |
}
|
16 |
|
17 |
+
class WGA_Activation extends Wbcr_Factory427_Activator {
|
18 |
|
19 |
/**
|
20 |
* Runs activation actions.
|
components/ga-cache/admin/boot.php
CHANGED
@@ -23,13 +23,13 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
23 |
*
|
24 |
* @since 3.0.1
|
25 |
*
|
26 |
-
* @param
|
27 |
*
|
28 |
-
* @param
|
29 |
*
|
30 |
* @return void
|
31 |
*/
|
32 |
-
add_action( '
|
33 |
if ( WGA_Plugin::app()->getPluginName() != $plugin->getPluginName() ) {
|
34 |
return;
|
35 |
}
|
23 |
*
|
24 |
* @since 3.0.1
|
25 |
*
|
26 |
+
* @param Wbcr_FactoryPages427_ImpressiveThemplate $page
|
27 |
*
|
28 |
+
* @param Wbcr_Factory427_Plugin $plugin
|
29 |
*
|
30 |
* @return void
|
31 |
*/
|
32 |
+
add_action( 'wbcr_factory_427_imppage_after_form_save', function ( $plugin, $page ) {
|
33 |
if ( WGA_Plugin::app()->getPluginName() != $plugin->getPluginName() ) {
|
34 |
return;
|
35 |
}
|
components/ga-cache/admin/options.php
CHANGED
@@ -117,7 +117,7 @@ function wbcr_ga_get_plugin_options() {
|
|
117 |
|
118 |
/**
|
119 |
* @param $form
|
120 |
-
* @param $page
|
121 |
*
|
122 |
* @return mixed
|
123 |
*/
|
117 |
|
118 |
/**
|
119 |
* @param $form
|
120 |
+
* @param $page Wbcr_FactoryPages427_ImpressiveThemplate
|
121 |
*
|
122 |
* @return mixed
|
123 |
*/
|
components/ga-cache/admin/pages/class-pages-general-settings.php
CHANGED
@@ -16,7 +16,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
16 |
* @copyright (c) 2018 Webraftic Ltd
|
17 |
* @version 1.0
|
18 |
*/
|
19 |
-
class WGA_CachePage extends
|
20 |
|
21 |
/**
|
22 |
* {@inheritDoc}
|
@@ -48,9 +48,9 @@ class WGA_CachePage extends Wbcr_FactoryClearfy217_PageBase {
|
|
48 |
public $show_right_sidebar_in_options = true;
|
49 |
|
50 |
/**
|
51 |
-
* @param
|
52 |
*/
|
53 |
-
public function __construct(
|
54 |
$this->menu_title = __( 'Local Google Analytics', 'simple-google-analytics' );
|
55 |
|
56 |
if ( ! defined( 'LOADING_GA_CACHE_AS_ADDON' ) ) {
|
16 |
* @copyright (c) 2018 Webraftic Ltd
|
17 |
* @version 1.0
|
18 |
*/
|
19 |
+
class WGA_CachePage extends Wbcr_FactoryClearfy219_PageBase {
|
20 |
|
21 |
/**
|
22 |
* {@inheritDoc}
|
48 |
public $show_right_sidebar_in_options = true;
|
49 |
|
50 |
/**
|
51 |
+
* @param Wbcr_Factory427_Plugin $plugin
|
52 |
*/
|
53 |
+
public function __construct( Wbcr_Factory427_Plugin $plugin ) {
|
54 |
$this->menu_title = __( 'Local Google Analytics', 'simple-google-analytics' );
|
55 |
|
56 |
if ( ! defined( 'LOADING_GA_CACHE_AS_ADDON' ) ) {
|
components/ga-cache/admin/pages/class-pages-more-features.php
CHANGED
@@ -16,6 +16,6 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
16 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
17 |
* @copyright (c) 2018 Webraftic Ltd
|
18 |
*/
|
19 |
-
class WGA_MoreFeaturesPage extends
|
20 |
|
21 |
}
|
16 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
17 |
* @copyright (c) 2018 Webraftic Ltd
|
18 |
*/
|
19 |
+
class WGA_MoreFeaturesPage extends Wbcr_FactoryClearfy219_MoreFeaturesPage {
|
20 |
|
21 |
}
|
components/ga-cache/includes/class-plugin.php
CHANGED
@@ -10,11 +10,11 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
10 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
11 |
* @copyright (c) 19.02.2018, Webcraftic
|
12 |
*/
|
13 |
-
class WGA_Plugin extends
|
14 |
|
15 |
/**
|
16 |
* @see self::app()
|
17 |
-
* @var
|
18 |
*/
|
19 |
private static $app;
|
20 |
|
@@ -58,7 +58,7 @@ class WGA_Plugin extends Wbcr_Factory425_Plugin {
|
|
58 |
* Используется для получения настроек плагина, информации о плагине, для доступа к вспомогательным
|
59 |
* классам.
|
60 |
*
|
61 |
-
* @return \
|
62 |
*/
|
63 |
public static function app() {
|
64 |
return self::$app;
|
10 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
11 |
* @copyright (c) 19.02.2018, Webcraftic
|
12 |
*/
|
13 |
+
class WGA_Plugin extends Wbcr_Factory427_Plugin {
|
14 |
|
15 |
/**
|
16 |
* @see self::app()
|
17 |
+
* @var Wbcr_Factory427_Plugin
|
18 |
*/
|
19 |
private static $app;
|
20 |
|
58 |
* Используется для получения настроек плагина, информации о плагине, для доступа к вспомогательным
|
59 |
* классам.
|
60 |
*
|
61 |
+
* @return \Wbcr_Factory427_Plugin|\WGA_Plugin
|
62 |
*/
|
63 |
public static function app() {
|
64 |
return self::$app;
|
components/ga-cache/includes/classes/class-configurate-ga.php
CHANGED
@@ -12,7 +12,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
12 |
exit;
|
13 |
}
|
14 |
|
15 |
-
class WGA_ConfigGACache extends
|
16 |
|
17 |
|
18 |
public function registerActionsAndFilters() {
|
12 |
exit;
|
13 |
}
|
14 |
|
15 |
+
class WGA_ConfigGACache extends Wbcr_FactoryClearfy219_Configurate {
|
16 |
|
17 |
|
18 |
public function registerActionsAndFilters() {
|
components/ga-cache/migrations/030002.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Updates for altering the table used to store statistics data.
|
5 |
* Adds new columns and renames existing ones in order to add support for the new social buttons.
|
6 |
*/
|
7 |
-
class WGACUpdate030002 extends
|
8 |
|
9 |
public function install() {
|
10 |
/**
|
4 |
* Updates for altering the table used to store statistics data.
|
5 |
* Adds new columns and renames existing ones in order to add support for the new social buttons.
|
6 |
*/
|
7 |
+
class WGACUpdate030002 extends Wbcr_Factory427_Update {
|
8 |
|
9 |
public function install() {
|
10 |
/**
|
components/ga-cache/simple_google_analytics.php
CHANGED
@@ -63,15 +63,15 @@ $plugin_info = array(
|
|
63 |
|
64 |
// FRAMEWORK MODULES
|
65 |
'load_factory_modules' => array(
|
66 |
-
array( 'libs/factory/bootstrap', '
|
67 |
-
array( 'libs/factory/forms', '
|
68 |
-
array( 'libs/factory/pages', '
|
69 |
-
array( 'libs/factory/clearfy', '
|
70 |
-
array( 'libs/factory/adverts', '
|
71 |
)
|
72 |
);
|
73 |
|
74 |
-
$wga_compatibility = new
|
75 |
'plugin_already_activate' => defined( 'WGA_PLUGIN_ACTIVE' ),
|
76 |
'required_php_version' => '5.4',
|
77 |
'required_wp_version' => '4.2.0',
|
63 |
|
64 |
// FRAMEWORK MODULES
|
65 |
'load_factory_modules' => array(
|
66 |
+
array( 'libs/factory/bootstrap', 'factory_bootstrap_428', 'admin' ),
|
67 |
+
array( 'libs/factory/forms', 'factory_forms_425', 'admin' ),
|
68 |
+
array( 'libs/factory/pages', 'factory_pages_427', 'admin' ),
|
69 |
+
array( 'libs/factory/clearfy', 'factory_clearfy_219', 'all' ),
|
70 |
+
array( 'libs/factory/adverts', 'factory_adverts_107', 'admin')
|
71 |
)
|
72 |
);
|
73 |
|
74 |
+
$wga_compatibility = new Wbcr_Factory427_Requirements( __FILE__, array_merge( $plugin_info, array(
|
75 |
'plugin_already_activate' => defined( 'WGA_PLUGIN_ACTIVE' ),
|
76 |
'required_php_version' => '5.4',
|
77 |
'required_wp_version' => '4.2.0',
|
components/html-minify/admin/index.php
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
<?php
|
2 |
-
// Silence is golden.
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
components/html-minify/admin/pages/class-pages-settings.php
CHANGED
@@ -9,7 +9,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
9 |
*
|
10 |
* @since 1.0.0
|
11 |
*/
|
12 |
-
class WHTM_SettingsPage extends
|
13 |
|
14 |
/**
|
15 |
* {@inheritDoc}
|
@@ -52,9 +52,9 @@ class WHTM_SettingsPage extends Wbcr_FactoryClearfy217_PageBase {
|
|
52 |
*
|
53 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
54 |
*
|
55 |
-
* @param \
|
56 |
*/
|
57 |
-
public function __construct(
|
58 |
// Заголовок страницы
|
59 |
$this->menu_title = __( 'HTML Minify', 'html-minify' );
|
60 |
|
9 |
*
|
10 |
* @since 1.0.0
|
11 |
*/
|
12 |
+
class WHTM_SettingsPage extends Wbcr_FactoryClearfy219_PageBase {
|
13 |
|
14 |
/**
|
15 |
* {@inheritDoc}
|
52 |
*
|
53 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
54 |
*
|
55 |
+
* @param \Wbcr_Factory427_Plugin $plugin
|
56 |
*/
|
57 |
+
public function __construct( Wbcr_Factory427_Plugin $plugin ) {
|
58 |
// Заголовок страницы
|
59 |
$this->menu_title = __( 'HTML Minify', 'html-minify' );
|
60 |
|
components/html-minify/admin/pages/index.php
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
<?php
|
2 |
-
// Silence is golden.
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
components/html-minify/html-minify.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Text Domain: html-minify
|
9 |
* Domain Path: /languages/
|
10 |
* Author URI: https://webcraftic.com
|
11 |
-
* Framework Version:
|
12 |
*/
|
13 |
|
14 |
/*
|
@@ -59,15 +59,15 @@ $whtml_plugin_info = array(
|
|
59 |
|
60 |
// FRAMEWORK MODULES
|
61 |
'load_factory_modules' => array(
|
62 |
-
array( 'libs/factory/bootstrap', '
|
63 |
-
array( 'libs/factory/forms', '
|
64 |
-
array( 'libs/factory/pages', '
|
65 |
-
array( 'libs/factory/clearfy', '
|
66 |
-
array( 'libs/factory/adverts', '
|
67 |
)
|
68 |
);
|
69 |
|
70 |
-
$whtml_compatibility = new
|
71 |
'plugin_already_activate' => defined( 'WHTM_PLUGIN_ACTIVE' ),
|
72 |
'required_php_version' => '5.4',
|
73 |
'required_wp_version' => '4.2.0',
|
8 |
* Text Domain: html-minify
|
9 |
* Domain Path: /languages/
|
10 |
* Author URI: https://webcraftic.com
|
11 |
+
* Framework Version: FACTORY_427_VERSION
|
12 |
*/
|
13 |
|
14 |
/*
|
59 |
|
60 |
// FRAMEWORK MODULES
|
61 |
'load_factory_modules' => array(
|
62 |
+
array( 'libs/factory/bootstrap', 'factory_bootstrap_428', 'admin' ),
|
63 |
+
array( 'libs/factory/forms', 'factory_forms_425', 'admin' ),
|
64 |
+
array( 'libs/factory/pages', 'factory_pages_427', 'admin' ),
|
65 |
+
array( 'libs/factory/clearfy', 'factory_clearfy_219', 'all' ),
|
66 |
+
array( 'libs/factory/adverts', 'factory_adverts_107', 'admin')
|
67 |
)
|
68 |
);
|
69 |
|
70 |
+
$whtml_compatibility = new Wbcr_Factory427_Requirements( __FILE__, array_merge( $whtml_plugin_info, array(
|
71 |
'plugin_already_activate' => defined( 'WHTM_PLUGIN_ACTIVE' ),
|
72 |
'required_php_version' => '5.4',
|
73 |
'required_wp_version' => '4.2.0',
|
components/html-minify/includes/3rd-party/index.php
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
<?php
|
2 |
-
// Silence is golden.
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
components/html-minify/includes/class-plugin.php
CHANGED
@@ -13,11 +13,11 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
13 |
}
|
14 |
|
15 |
|
16 |
-
class WHTM_Plugin extends
|
17 |
|
18 |
/**
|
19 |
* @see self::app()
|
20 |
-
* @var
|
21 |
*/
|
22 |
private static $app;
|
23 |
|
@@ -53,7 +53,7 @@ class WHTM_Plugin extends Wbcr_Factory425_Plugin {
|
|
53 |
* Используется для получения настроек плагина, информации о плагине, для доступа к вспомогательным
|
54 |
* классам.
|
55 |
*
|
56 |
-
* @return \
|
57 |
*/
|
58 |
public static function app() {
|
59 |
return self::$app;
|
13 |
}
|
14 |
|
15 |
|
16 |
+
class WHTM_Plugin extends Wbcr_Factory427_Plugin {
|
17 |
|
18 |
/**
|
19 |
* @see self::app()
|
20 |
+
* @var Wbcr_Factory427_Plugin
|
21 |
*/
|
22 |
private static $app;
|
23 |
|
53 |
* Используется для получения настроек плагина, информации о плагине, для доступа к вспомогательным
|
54 |
* классам.
|
55 |
*
|
56 |
+
* @return \Wbcr_Factory427_Plugin|\WCM_Plugin
|
57 |
*/
|
58 |
public static function app() {
|
59 |
return self::$app;
|
components/html-minify/includes/classes/ext/php/index.php
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
<?php
|
2 |
-
// Silence is golden.
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
components/html-minify/includes/classes/index.php
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
<?php
|
2 |
-
// Silence is golden.
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
components/html-minify/includes/index.php
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
<?php
|
2 |
-
// Silence is golden.
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
components/html-minify/index.php
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
<?php
|
2 |
-
// Silence is golden.
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
components/html-minify/migrations/index.php
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
<?php
|
2 |
-
// Silence is golden.
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
components/minify-and-combine/admin/index.php
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
<?php
|
2 |
-
// Silence is golden.
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
components/minify-and-combine/admin/pages/class-pages-settings.php
CHANGED
@@ -9,7 +9,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
9 |
*
|
10 |
* @since 1.0.0
|
11 |
*/
|
12 |
-
class WMAC_MinifyAndCombineSettingsPage extends
|
13 |
|
14 |
/**
|
15 |
* {@inheritDoc}
|
@@ -52,9 +52,9 @@ class WMAC_MinifyAndCombineSettingsPage extends Wbcr_FactoryClearfy217_PageBase
|
|
52 |
*
|
53 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
54 |
*
|
55 |
-
* @param \
|
56 |
*/
|
57 |
-
public function __construct(
|
58 |
$this->menu_title = __( 'Minify (JS/CSS)', 'minify-and-combine' );
|
59 |
|
60 |
if ( ! defined( 'LOADING_MINIFY_AND_COMBINE_AS_ADDON' ) ) {
|
9 |
*
|
10 |
* @since 1.0.0
|
11 |
*/
|
12 |
+
class WMAC_MinifyAndCombineSettingsPage extends Wbcr_FactoryClearfy219_PageBase {
|
13 |
|
14 |
/**
|
15 |
* {@inheritDoc}
|
52 |
*
|
53 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
54 |
*
|
55 |
+
* @param \Wbcr_Factory427_Plugin $plugin
|
56 |
*/
|
57 |
+
public function __construct( Wbcr_Factory427_Plugin $plugin ) {
|
58 |
$this->menu_title = __( 'Minify (JS/CSS)', 'minify-and-combine' );
|
59 |
|
60 |
if ( ! defined( 'LOADING_MINIFY_AND_COMBINE_AS_ADDON' ) ) {
|
components/minify-and-combine/admin/pages/index.php
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
<?php
|
2 |
-
// Silence is golden.
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
components/minify-and-combine/includes/3rd-party/index.php
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
<?php
|
2 |
-
// Silence is golden.
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
components/minify-and-combine/includes/class-plugin.php
CHANGED
@@ -13,11 +13,11 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
13 |
}
|
14 |
|
15 |
|
16 |
-
class WMAC_Plugin extends
|
17 |
|
18 |
/**
|
19 |
* @see self::app()
|
20 |
-
* @var
|
21 |
*/
|
22 |
private static $app;
|
23 |
|
@@ -55,7 +55,7 @@ class WMAC_Plugin extends Wbcr_Factory425_Plugin {
|
|
55 |
* Используется для получения настроек плагина, информации о плагине, для доступа к вспомогательным
|
56 |
* классам.
|
57 |
*
|
58 |
-
* @return \
|
59 |
*/
|
60 |
public static function app() {
|
61 |
return self::$app;
|
13 |
}
|
14 |
|
15 |
|
16 |
+
class WMAC_Plugin extends Wbcr_Factory427_Plugin {
|
17 |
|
18 |
/**
|
19 |
* @see self::app()
|
20 |
+
* @var Wbcr_Factory427_Plugin
|
21 |
*/
|
22 |
private static $app;
|
23 |
|
55 |
* Используется для получения настроек плагина, информации о плагине, для доступа к вспомогательным
|
56 |
* классам.
|
57 |
*
|
58 |
+
* @return \Wbcr_Factory427_Plugin|\WCM_Plugin
|
59 |
*/
|
60 |
public static function app() {
|
61 |
return self::$app;
|
components/minify-and-combine/includes/classes/class-cache.php
CHANGED
@@ -385,7 +385,7 @@ class WMAC_PluginCache {
|
|
385 |
}
|
386 |
}
|
387 |
add_action( 'shutdown', 'wmac_do_cachepurged_action', 11 );
|
388 |
-
add_action( 'wmac_action_cachepurged', [ '
|
389 |
}
|
390 |
|
391 |
// Warm cache (part of speedupper)!
|
385 |
}
|
386 |
}
|
387 |
add_action( 'shutdown', 'wmac_do_cachepurged_action', 11 );
|
388 |
+
add_action( 'wmac_action_cachepurged', [ 'WbcrFactoryClearfy219_Helpers', 'flushPageCache' ], 10, 0 );
|
389 |
}
|
390 |
|
391 |
// Warm cache (part of speedupper)!
|
components/minify-and-combine/includes/classes/class-helper.php
CHANGED
@@ -19,7 +19,7 @@ class WMAC_PluginHelper {
|
|
19 |
/**
|
20 |
* Returns true when mbstring is available.
|
21 |
*
|
22 |
-
* @param bool|null $override
|
23 |
*
|
24 |
* @return bool
|
25 |
*/
|
@@ -41,10 +41,10 @@ class WMAC_PluginHelper {
|
|
41 |
* Multibyte-capable strpos() if support is available on the server.
|
42 |
* If not, it falls back to using \strpos().
|
43 |
*
|
44 |
-
* @param string $haystack
|
45 |
-
* @param string $needle
|
46 |
-
* @param int $offset
|
47 |
-
* @param string|null $encoding
|
48 |
*
|
49 |
* @return int|false
|
50 |
*/
|
@@ -61,8 +61,8 @@ class WMAC_PluginHelper {
|
|
61 |
* mbstring is available. Returns the number of bytes
|
62 |
* (instead of characters) as fallback.
|
63 |
*
|
64 |
-
* @param string $string
|
65 |
-
* @param string|null $encoding
|
66 |
*
|
67 |
* @return int Number of charcters or bytes in given $string
|
68 |
* (characters if/when supported, bytes otherwise).
|
@@ -81,11 +81,11 @@ class WMAC_PluginHelper {
|
|
81 |
* Uses mbstring if available, before falling back to regular
|
82 |
* substr_replace() (which works just fine in the majority of cases).
|
83 |
*
|
84 |
-
* @param string $string
|
85 |
-
* @param string $replacement
|
86 |
-
* @param int $start
|
87 |
-
* @param int|null $length
|
88 |
-
* @param string|null $encoding
|
89 |
*
|
90 |
* @return string
|
91 |
*/
|
@@ -131,7 +131,7 @@ class WMAC_PluginHelper {
|
|
131 |
/**
|
132 |
* Decides whether this is a "subdirectory site" or not.
|
133 |
*
|
134 |
-
* @param bool $override
|
135 |
*
|
136 |
* @return bool
|
137 |
*/
|
@@ -197,18 +197,18 @@ class WMAC_PluginHelper {
|
|
197 |
/**
|
198 |
* Returns true if given $url is protocol-relative.
|
199 |
*
|
200 |
-
* @param string $url
|
201 |
*
|
202 |
* @return bool
|
203 |
*/
|
204 |
public static function isProtocolRelative( $url ) {
|
205 |
-
return ( '/' === $url
|
206 |
}
|
207 |
|
208 |
/**
|
209 |
* Canonicalizes the given path regardless of it existing or not.
|
210 |
*
|
211 |
-
* @param string $path
|
212 |
*
|
213 |
* @return string
|
214 |
*/
|
19 |
/**
|
20 |
* Returns true when mbstring is available.
|
21 |
*
|
22 |
+
* @param bool|null $override Allows overriding the decision.
|
23 |
*
|
24 |
* @return bool
|
25 |
*/
|
41 |
* Multibyte-capable strpos() if support is available on the server.
|
42 |
* If not, it falls back to using \strpos().
|
43 |
*
|
44 |
+
* @param string $haystack Haystack.
|
45 |
+
* @param string $needle Needle.
|
46 |
+
* @param int $offset Offset.
|
47 |
+
* @param string|null $encoding Encoding. Default null.
|
48 |
*
|
49 |
* @return int|false
|
50 |
*/
|
61 |
* mbstring is available. Returns the number of bytes
|
62 |
* (instead of characters) as fallback.
|
63 |
*
|
64 |
+
* @param string $string String.
|
65 |
+
* @param string|null $encoding Encoding.
|
66 |
*
|
67 |
* @return int Number of charcters or bytes in given $string
|
68 |
* (characters if/when supported, bytes otherwise).
|
81 |
* Uses mbstring if available, before falling back to regular
|
82 |
* substr_replace() (which works just fine in the majority of cases).
|
83 |
*
|
84 |
+
* @param string $string String.
|
85 |
+
* @param string $replacement Replacement.
|
86 |
+
* @param int $start Start offset.
|
87 |
+
* @param int|null $length Length.
|
88 |
+
* @param string|null $encoding Encoding.
|
89 |
*
|
90 |
* @return string
|
91 |
*/
|
131 |
/**
|
132 |
* Decides whether this is a "subdirectory site" or not.
|
133 |
*
|
134 |
+
* @param bool $override Allows overriding the decision when needed.
|
135 |
*
|
136 |
* @return bool
|
137 |
*/
|
197 |
/**
|
198 |
* Returns true if given $url is protocol-relative.
|
199 |
*
|
200 |
+
* @param string $url URL to check.
|
201 |
*
|
202 |
* @return bool
|
203 |
*/
|
204 |
public static function isProtocolRelative( $url ) {
|
205 |
+
return ( '/' === $url[1] ); // second char is `/`.
|
206 |
}
|
207 |
|
208 |
/**
|
209 |
* Canonicalizes the given path regardless of it existing or not.
|
210 |
*
|
211 |
+
* @param string $path Path to normalize.
|
212 |
*
|
213 |
* @return string
|
214 |
*/
|
components/minify-and-combine/includes/classes/index.php
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
<?php
|
2 |
-
// Silence is golden.
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
components/minify-and-combine/includes/index.php
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
<?php
|
2 |
-
// Silence is golden.
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
components/minify-and-combine/index.php
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
<?php
|
2 |
-
// Silence is golden.
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
components/minify-and-combine/migrations/index.php
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
<?php
|
2 |
-
// Silence is golden.
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
components/minify-and-combine/minify-and-combine.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Text Domain: minify-and-combine
|
9 |
* Domain Path: /languages/
|
10 |
* Author URI: https://webcraftic.com
|
11 |
-
* Framework Version:
|
12 |
*/
|
13 |
|
14 |
/*
|
@@ -59,15 +59,15 @@ $wmac_plugin_info = array(
|
|
59 |
|
60 |
// FRAMEWORK MODULES
|
61 |
'load_factory_modules' => array(
|
62 |
-
array( 'libs/factory/bootstrap', '
|
63 |
-
array( 'libs/factory/forms', '
|
64 |
-
array( 'libs/factory/pages', '
|
65 |
-
array( 'libs/factory/clearfy', '
|
66 |
-
array( 'libs/factory/adverts', '
|
67 |
)
|
68 |
);
|
69 |
|
70 |
-
$wmac_compatibility = new
|
71 |
'plugin_already_activate' => defined( 'WMAC_PLUGIN_ACTIVE' ),
|
72 |
'required_php_version' => '5.4',
|
73 |
'required_wp_version' => '4.2.0',
|
8 |
* Text Domain: minify-and-combine
|
9 |
* Domain Path: /languages/
|
10 |
* Author URI: https://webcraftic.com
|
11 |
+
* Framework Version: FACTORY_427_VERSION
|
12 |
*/
|
13 |
|
14 |
/*
|
59 |
|
60 |
// FRAMEWORK MODULES
|
61 |
'load_factory_modules' => array(
|
62 |
+
array( 'libs/factory/bootstrap', 'factory_bootstrap_428', 'admin' ),
|
63 |
+
array( 'libs/factory/forms', 'factory_forms_425', 'admin' ),
|
64 |
+
array( 'libs/factory/pages', 'factory_pages_427', 'admin' ),
|
65 |
+
array( 'libs/factory/clearfy', 'factory_clearfy_219', 'all' ),
|
66 |
+
array( 'libs/factory/adverts', 'factory_adverts_107', 'admin')
|
67 |
)
|
68 |
);
|
69 |
|
70 |
+
$wmac_compatibility = new Wbcr_Factory427_Requirements( __FILE__, array_merge( $wmac_plugin_info, array(
|
71 |
'plugin_already_activate' => defined( 'WMAC_PLUGIN_ACTIVE' ),
|
72 |
'required_php_version' => '5.4',
|
73 |
'required_wp_version' => '4.2.0',
|
components/updates-manager/admin/activation.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
*
|
6 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
7 |
* @copyright (c) 09.09.2017, Webcraftic
|
8 |
-
* @see
|
9 |
*/
|
10 |
|
11 |
// Exit if accessed directly
|
@@ -13,7 +13,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
13 |
exit;
|
14 |
}
|
15 |
|
16 |
-
class WUPM_Activation extends
|
17 |
|
18 |
/**
|
19 |
* Runs activation actions.
|
5 |
*
|
6 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
7 |
* @copyright (c) 09.09.2017, Webcraftic
|
8 |
+
* @see Factory427_Activator
|
9 |
*/
|
10 |
|
11 |
// Exit if accessed directly
|
13 |
exit;
|
14 |
}
|
15 |
|
16 |
+
class WUPM_Activation extends Wbcr_Factory427_Activator {
|
17 |
|
18 |
/**
|
19 |
* Runs activation actions.
|
components/updates-manager/admin/assets/js/ajax-components.js
CHANGED
@@ -59,15 +59,15 @@ jQuery(function($) {
|
|
59 |
|
60 |
if( !response || !response.success ) {
|
61 |
if( response.data.error_message ) {
|
62 |
-
$.
|
63 |
}
|
64 |
return false;
|
65 |
}
|
66 |
|
67 |
-
/*var noticeId = $.
|
68 |
|
69 |
setTimeout(function() {
|
70 |
-
$.
|
71 |
}, 5000);*/
|
72 |
},
|
73 |
error: function(xhr, ajaxOptions, thrownError) {
|
@@ -75,7 +75,7 @@ jQuery(function($) {
|
|
75 |
console.log(xhr.responseText);
|
76 |
console.log(thrownError);
|
77 |
|
78 |
-
$.
|
79 |
}
|
80 |
});
|
81 |
});
|
59 |
|
60 |
if( !response || !response.success ) {
|
61 |
if( response.data.error_message ) {
|
62 |
+
$.wbcr_factory_clearfy_219.app.showNotice('Error: [' + response.data.error_message + ']', 'danger');
|
63 |
}
|
64 |
return false;
|
65 |
}
|
66 |
|
67 |
+
/*var noticeId = $.wbcr_factory_clearfy_219.app.showNotice('Settings successfully updated', 'success');
|
68 |
|
69 |
setTimeout(function() {
|
70 |
+
$.wbcr_factory_clearfy_219.app.hideNotice(noticeId);
|
71 |
}, 5000);*/
|
72 |
},
|
73 |
error: function(xhr, ajaxOptions, thrownError) {
|
75 |
console.log(xhr.responseText);
|
76 |
console.log(thrownError);
|
77 |
|
78 |
+
$.wbcr_factory_clearfy_219.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
|
79 |
}
|
80 |
});
|
81 |
});
|
components/updates-manager/admin/boot.php
CHANGED
@@ -48,7 +48,7 @@ if ( ! defined( 'LOADING_UPDATES_MANAGER_AS_ADDON' ) ) {
|
|
48 |
return $page_url;
|
49 |
}
|
50 |
|
51 |
-
add_filter( '
|
52 |
|
53 |
/**
|
54 |
* Удаляем лишние виджеты из правого сайдбара в интерфейсе плагина
|
48 |
return $page_url;
|
49 |
}
|
50 |
|
51 |
+
add_filter( 'wbcr_factory_pages_427_imppage_rating_widget_url', 'wbcr_upm_rating_widget_url', 10, 2 );
|
52 |
|
53 |
/**
|
54 |
* Удаляем лишние виджеты из правого сайдбара в интерфейсе плагина
|
components/updates-manager/admin/includes/class-abstract-filters.php
CHANGED
@@ -14,7 +14,7 @@ abstract class WUPM_AbstractFilters {
|
|
14 |
protected $is_disable_translation_updates;
|
15 |
|
16 |
|
17 |
-
function __construct(
|
18 |
$this->plugin = $plugin;
|
19 |
$this->load();
|
20 |
}
|
14 |
protected $is_disable_translation_updates;
|
15 |
|
16 |
|
17 |
+
function __construct( Wbcr_Factory427_Plugin $plugin ) {
|
18 |
$this->plugin = $plugin;
|
19 |
$this->load();
|
20 |
}
|
components/updates-manager/admin/pages/class-page-advanced.php
CHANGED
@@ -16,7 +16,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
16 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
17 |
* @copyright (c) 2018 Webraftic Ltd
|
18 |
*/
|
19 |
-
class WUPM_AdvancedPage extends
|
20 |
|
21 |
/**
|
22 |
* {@inheritDoc}
|
@@ -66,9 +66,9 @@ class WUPM_AdvancedPage extends Wbcr_FactoryClearfy217_PageBase {
|
|
66 |
*
|
67 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
68 |
*
|
69 |
-
* @param \
|
70 |
*/
|
71 |
-
public function __construct(
|
72 |
$this->menu_title = __( 'Advanced', 'webcraftic-updates-manager' );
|
73 |
|
74 |
parent::__construct( $plugin );
|
@@ -79,8 +79,8 @@ class WUPM_AdvancedPage extends Wbcr_FactoryClearfy217_PageBase {
|
|
79 |
*
|
80 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
81 |
*
|
82 |
-
* @param \
|
83 |
-
* @param \
|
84 |
*/
|
85 |
public function assets( $scripts, $styles ) {
|
86 |
parent::assets( $scripts, $styles );
|
16 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
17 |
* @copyright (c) 2018 Webraftic Ltd
|
18 |
*/
|
19 |
+
class WUPM_AdvancedPage extends Wbcr_FactoryClearfy219_PageBase {
|
20 |
|
21 |
/**
|
22 |
* {@inheritDoc}
|
66 |
*
|
67 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
68 |
*
|
69 |
+
* @param \Wbcr_Factory427_Plugin $plugin
|
70 |
*/
|
71 |
+
public function __construct( Wbcr_Factory427_Plugin $plugin ) {
|
72 |
$this->menu_title = __( 'Advanced', 'webcraftic-updates-manager' );
|
73 |
|
74 |
parent::__construct( $plugin );
|
79 |
*
|
80 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
81 |
*
|
82 |
+
* @param \Wbcr_Factory427_ScriptList $scripts
|
83 |
+
* @param \Wbcr_Factory427_StyleList $styles
|
84 |
*/
|
85 |
public function assets( $scripts, $styles ) {
|
86 |
parent::assets( $scripts, $styles );
|
components/updates-manager/admin/pages/class-page-more-features.php
CHANGED
@@ -16,6 +16,6 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
16 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
17 |
* @copyright (c) 2018 Webraftic Ltd
|
18 |
*/
|
19 |
-
class WUPM_MoreFeaturesPage extends
|
20 |
|
21 |
}
|
16 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
17 |
* @copyright (c) 2018 Webraftic Ltd
|
18 |
*/
|
19 |
+
class WUPM_MoreFeaturesPage extends Wbcr_FactoryClearfy219_MoreFeaturesPage {
|
20 |
|
21 |
}
|
components/updates-manager/admin/pages/class-page-plugins.php
CHANGED
@@ -16,7 +16,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
16 |
*
|
17 |
* @copyright (c) 2018 Webraftic Ltd
|
18 |
*/
|
19 |
-
class WUPM_PluginsPage extends
|
20 |
|
21 |
/**
|
22 |
*{@inheritDoc}
|
@@ -83,9 +83,9 @@ class WUPM_PluginsPage extends Wbcr_FactoryClearfy217_PageBase {
|
|
83 |
*
|
84 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
85 |
*
|
86 |
-
* @param \
|
87 |
*/
|
88 |
-
public function __construct(
|
89 |
$this->menu_title = __( 'Plugins', 'webcraftic-updates-manager' );
|
90 |
|
91 |
parent::__construct( $plugin );
|
@@ -121,8 +121,8 @@ class WUPM_PluginsPage extends Wbcr_FactoryClearfy217_PageBase {
|
|
121 |
*
|
122 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
123 |
*
|
124 |
-
* @param \
|
125 |
-
* @param \
|
126 |
*/
|
127 |
public function assets( $scripts, $styles ) {
|
128 |
parent::assets( $scripts, $styles );
|
16 |
*
|
17 |
* @copyright (c) 2018 Webraftic Ltd
|
18 |
*/
|
19 |
+
class WUPM_PluginsPage extends Wbcr_FactoryClearfy219_PageBase {
|
20 |
|
21 |
/**
|
22 |
*{@inheritDoc}
|
83 |
*
|
84 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
85 |
*
|
86 |
+
* @param \Wbcr_Factory427_Plugin $plugin
|
87 |
*/
|
88 |
+
public function __construct( Wbcr_Factory427_Plugin $plugin ) {
|
89 |
$this->menu_title = __( 'Plugins', 'webcraftic-updates-manager' );
|
90 |
|
91 |
parent::__construct( $plugin );
|
121 |
*
|
122 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
123 |
*
|
124 |
+
* @param \Wbcr_Factory427_ScriptList $scripts
|
125 |
+
* @param \Wbcr_Factory427_StyleList $styles
|
126 |
*/
|
127 |
public function assets( $scripts, $styles ) {
|
128 |
parent::assets( $scripts, $styles );
|
components/updates-manager/admin/pages/class-page-themes.php
CHANGED
@@ -15,7 +15,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
15 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
16 |
* @copyright (c) 2018 Webraftic Ltd
|
17 |
*/
|
18 |
-
class WUPM_ThemesPage extends
|
19 |
|
20 |
/**
|
21 |
* {@inheritDoc}
|
@@ -85,9 +85,9 @@ class WUPM_ThemesPage extends Wbcr_FactoryClearfy217_PageBase {
|
|
85 |
private $themes_update_filters = [];
|
86 |
|
87 |
/**
|
88 |
-
* @param
|
89 |
*/
|
90 |
-
public function __construct(
|
91 |
$this->menu_title = __( 'Themes', 'webcraftic-updates-manager' );
|
92 |
|
93 |
parent::__construct( $plugin );
|
@@ -123,7 +123,7 @@ class WUPM_ThemesPage extends Wbcr_FactoryClearfy217_PageBase {
|
|
123 |
*
|
124 |
* @since 1.0.0
|
125 |
* @return void
|
126 |
-
* @see
|
127 |
*
|
128 |
*/
|
129 |
public function assets( $scripts, $styles ) {
|
15 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
16 |
* @copyright (c) 2018 Webraftic Ltd
|
17 |
*/
|
18 |
+
class WUPM_ThemesPage extends Wbcr_FactoryClearfy219_PageBase {
|
19 |
|
20 |
/**
|
21 |
* {@inheritDoc}
|
85 |
private $themes_update_filters = [];
|
86 |
|
87 |
/**
|
88 |
+
* @param Wbcr_Factory427_Plugin $plugin
|
89 |
*/
|
90 |
+
public function __construct( Wbcr_Factory427_Plugin $plugin ) {
|
91 |
$this->menu_title = __( 'Themes', 'webcraftic-updates-manager' );
|
92 |
|
93 |
parent::__construct( $plugin );
|
123 |
*
|
124 |
* @since 1.0.0
|
125 |
* @return void
|
126 |
+
* @see FactoryPages427_AdminPage
|
127 |
*
|
128 |
*/
|
129 |
public function assets( $scripts, $styles ) {
|
components/updates-manager/admin/pages/class-page-updates.php
CHANGED
@@ -15,7 +15,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
15 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
16 |
* @copyright (c) 2018 Webraftic Ltd
|
17 |
*/
|
18 |
-
class WUPM_UpdatesPage extends
|
19 |
|
20 |
/**
|
21 |
* {@inheritDoc}
|
@@ -51,9 +51,9 @@ class WUPM_UpdatesPage extends Wbcr_FactoryClearfy217_PageBase {
|
|
51 |
*
|
52 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
53 |
*
|
54 |
-
* @param \
|
55 |
*/
|
56 |
-
public function __construct(
|
57 |
$this->menu_title = __( 'Updates manager', 'webcraftic-updates-manager' );
|
58 |
$this->page_menu_short_description = __( 'Manage all site updates', 'webcraftic-updates-manager' );
|
59 |
|
@@ -85,8 +85,8 @@ class WUPM_UpdatesPage extends Wbcr_FactoryClearfy217_PageBase {
|
|
85 |
*
|
86 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com> *
|
87 |
*
|
88 |
-
* @param \
|
89 |
-
* @param \
|
90 |
*/
|
91 |
public function assets( $scripts, $styles ) {
|
92 |
parent::assets( $scripts, $styles );
|
15 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
16 |
* @copyright (c) 2018 Webraftic Ltd
|
17 |
*/
|
18 |
+
class WUPM_UpdatesPage extends Wbcr_FactoryClearfy219_PageBase {
|
19 |
|
20 |
/**
|
21 |
* {@inheritDoc}
|
51 |
*
|
52 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
53 |
*
|
54 |
+
* @param \Wbcr_Factory427_Plugin $plugin
|
55 |
*/
|
56 |
+
public function __construct( Wbcr_Factory427_Plugin $plugin ) {
|
57 |
$this->menu_title = __( 'Updates manager', 'webcraftic-updates-manager' );
|
58 |
$this->page_menu_short_description = __( 'Manage all site updates', 'webcraftic-updates-manager' );
|
59 |
|
85 |
*
|
86 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com> *
|
87 |
*
|
88 |
+
* @param \Wbcr_Factory427_ScriptList $scripts
|
89 |
+
* @param \Wbcr_Factory427_StyleList $styles
|
90 |
*/
|
91 |
public function assets( $scripts, $styles ) {
|
92 |
parent::assets( $scripts, $styles );
|
components/updates-manager/includes/class-plugin.php
CHANGED
@@ -10,11 +10,11 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
10 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
11 |
* @copyright (c) 19.02.2018, Webcraftic
|
12 |
*/
|
13 |
-
class WUPM_Plugin extends
|
14 |
|
15 |
/**
|
16 |
* @see self::app()
|
17 |
-
* @var
|
18 |
*/
|
19 |
private static $app;
|
20 |
|
@@ -57,7 +57,7 @@ class WUPM_Plugin extends Wbcr_Factory425_Plugin {
|
|
57 |
* Используется для получения настроек плагина, информации о плагине, для доступа к вспомогательным
|
58 |
* классам.
|
59 |
*
|
60 |
-
* @return \
|
61 |
*/
|
62 |
public static function app() {
|
63 |
return self::$app;
|
10 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
11 |
* @copyright (c) 19.02.2018, Webcraftic
|
12 |
*/
|
13 |
+
class WUPM_Plugin extends Wbcr_Factory427_Plugin {
|
14 |
|
15 |
/**
|
16 |
* @see self::app()
|
17 |
+
* @var Wbcr_Factory427_Plugin
|
18 |
*/
|
19 |
private static $app;
|
20 |
|
57 |
* Используется для получения настроек плагина, информации о плагине, для доступа к вспомогательным
|
58 |
* классам.
|
59 |
*
|
60 |
+
* @return \Wbcr_Factory427_Plugin|\WUPM_Plugin
|
61 |
*/
|
62 |
public static function app() {
|
63 |
return self::$app;
|
components/updates-manager/includes/classes/class-configurate-updates.php
CHANGED
@@ -12,7 +12,7 @@ require_once WUPM_PLUGIN_DIR . '/admin/includes/class-plugin-filters.php';
|
|
12 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
13 |
* @copyright (c) 2017 Webraftic Ltd
|
14 |
*/
|
15 |
-
class WUPM_ConfigUpdates extends
|
16 |
|
17 |
public function registerActionsAndFilters() {
|
18 |
/**
|
12 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
13 |
* @copyright (c) 2017 Webraftic Ltd
|
14 |
*/
|
15 |
+
class WUPM_ConfigUpdates extends Wbcr_FactoryClearfy219_Configurate {
|
16 |
|
17 |
public function registerActionsAndFilters() {
|
18 |
/**
|
components/updates-manager/migrations/010008.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Updates for altering the table used to store statistics data.
|
5 |
* Adds new columns and renames existing ones in order to add support for the new social buttons.
|
6 |
*/
|
7 |
-
class WUPMUpdate010008 extends
|
8 |
|
9 |
public function install()
|
10 |
{
|
4 |
* Updates for altering the table used to store statistics data.
|
5 |
* Adds new columns and renames existing ones in order to add support for the new social buttons.
|
6 |
*/
|
7 |
+
class WUPMUpdate010008 extends Wbcr_Factory427_Update {
|
8 |
|
9 |
public function install()
|
10 |
{
|
components/updates-manager/webcraftic-updates-manager.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Text Domain: webcraftic-updates-manager
|
9 |
* Domain Path: /languages/
|
10 |
* Author URI: https://webcraftic.com
|
11 |
-
* Framework Version:
|
12 |
*/
|
13 |
|
14 |
// Exit if accessed directly
|
@@ -64,15 +64,15 @@ $wupm_plugin_info = array(
|
|
64 |
|
65 |
// FRAMEWORK MODULES
|
66 |
'load_factory_modules' => array(
|
67 |
-
array( 'libs/factory/bootstrap', '
|
68 |
-
array( 'libs/factory/forms', '
|
69 |
-
array( 'libs/factory/pages', '
|
70 |
-
array( 'libs/factory/clearfy', '
|
71 |
-
array( 'libs/factory/adverts', '
|
72 |
)
|
73 |
);
|
74 |
|
75 |
-
$wupm_compatibility = new
|
76 |
'plugin_already_activate' => defined( 'WUPM_PLUGIN_ACTIVE' ),
|
77 |
'required_php_version' => '5.4',
|
78 |
'required_wp_version' => '4.2.0',
|
8 |
* Text Domain: webcraftic-updates-manager
|
9 |
* Domain Path: /languages/
|
10 |
* Author URI: https://webcraftic.com
|
11 |
+
* Framework Version: FACTORY_427_VERSION
|
12 |
*/
|
13 |
|
14 |
// Exit if accessed directly
|
64 |
|
65 |
// FRAMEWORK MODULES
|
66 |
'load_factory_modules' => array(
|
67 |
+
array( 'libs/factory/bootstrap', 'factory_bootstrap_428', 'admin' ),
|
68 |
+
array( 'libs/factory/forms', 'factory_forms_425', 'admin' ),
|
69 |
+
array( 'libs/factory/pages', 'factory_pages_427', 'admin' ),
|
70 |
+
array( 'libs/factory/clearfy', 'factory_clearfy_219', 'all' ),
|
71 |
+
array( 'libs/factory/adverts', 'factory_adverts_107', 'admin')
|
72 |
)
|
73 |
);
|
74 |
|
75 |
+
$wupm_compatibility = new Wbcr_Factory427_Requirements( __FILE__, array_merge( $wupm_plugin_info, array(
|
76 |
'plugin_already_activate' => defined( 'WUPM_PLUGIN_ACTIVE' ),
|
77 |
'required_php_version' => '5.4',
|
78 |
'required_wp_version' => '4.2.0',
|
includes/boot.php
CHANGED
@@ -54,7 +54,7 @@
|
|
54 |
* @since 1.1.3 - добавлен
|
55 |
* @since 1.1.4 - является устаревшим
|
56 |
*/
|
57 |
-
$menu_items =
|
58 |
|
59 |
/**
|
60 |
* @since 1.1.3 - добавлен
|
54 |
* @since 1.1.3 - добавлен
|
55 |
* @since 1.1.4 - является устаревшим
|
56 |
*/
|
57 |
+
$menu_items = wbcr_factory_427_apply_filters_deprecated( 'wbcr_clearfy_admin_bar_menu_items', [ $menu_items ], '1.4.0', 'wbcr/clearfy/adminbar_menu_items' );
|
58 |
|
59 |
/**
|
60 |
* @since 1.1.3 - добавлен
|
includes/class.plugin.php
CHANGED
@@ -1,322 +1,339 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
/**
|
3 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
*
|
5 |
-
*
|
6 |
-
*
|
7 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
*/
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
|
|
|
|
|
|
|
|
13 |
}
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
*
|
33 |
-
* @throws Exception
|
34 |
-
*/
|
35 |
-
public function __construct( $plugin_path, $data ) {
|
36 |
-
self::$app = $this;
|
37 |
-
parent::__construct( $plugin_path, $data );
|
38 |
-
|
39 |
-
require_once( WCL_PLUGIN_DIR . '/includes/classes/class.licensing.php' );
|
40 |
-
|
41 |
-
if ( is_admin() ) {
|
42 |
-
require_once( WCL_PLUGIN_DIR . '/admin/includes/classes/class.option.php' );
|
43 |
-
require_once( WCL_PLUGIN_DIR . '/admin/includes/classes/class.group.php' );
|
44 |
-
|
45 |
-
require_once( WCL_PLUGIN_DIR . '/admin/activation.php' );
|
46 |
-
|
47 |
-
if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) {
|
48 |
-
require( WCL_PLUGIN_DIR . '/admin/ajax/configurate.php' );
|
49 |
-
require( WCL_PLUGIN_DIR . '/admin/ajax/import-settings.php' );
|
50 |
-
require( WCL_PLUGIN_DIR . '/admin/ajax/install-addons.php' );
|
51 |
}
|
52 |
-
|
53 |
-
require_once( WCL_PLUGIN_DIR . '/admin/includes/compatibility.php' );
|
54 |
-
require_once( WCL_PLUGIN_DIR . '/admin/boot.php' );
|
55 |
-
|
56 |
-
$this->register_activator();
|
57 |
}
|
58 |
-
|
59 |
-
$this->global_scripts();
|
60 |
-
|
61 |
-
add_action( 'plugins_loaded', [ $this, 'plugins_loaded' ] );
|
62 |
}
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
*
|
67 |
-
* Позволяет разработчику глобально получить доступ к экземпляру класса плагина в любом месте
|
68 |
-
* плагина, но при этом разработчик не может вносить изменения в основной класс плагина.
|
69 |
-
*
|
70 |
-
* Используется для получения настроек плагина, информации о плагине, для доступа к вспомогательным
|
71 |
-
* классам.
|
72 |
-
*
|
73 |
-
* @return \Wbcr_Factory425_Plugin|\WCL_Plugin
|
74 |
-
*/
|
75 |
-
public static function app() {
|
76 |
-
return self::$app;
|
77 |
}
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
}
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
}
|
95 |
-
|
96 |
-
/**
|
97 |
-
* Исключаем загрузку отключенных компонентов плагина
|
98 |
-
*
|
99 |
-
* @return array
|
100 |
-
* @since 1.6.0
|
101 |
-
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
102 |
-
*/
|
103 |
-
public function get_load_plugin_components() {
|
104 |
-
$load_components = parent::get_load_plugin_components();
|
105 |
-
|
106 |
-
$deactivate_components = $this->getPopulateOption( 'deactive_preinstall_components', [] );
|
107 |
-
|
108 |
-
if ( ! empty( $deactivate_components ) ) {
|
109 |
-
foreach ( (array) $load_components as $component_ID => $component ) {
|
110 |
-
if ( in_array( $component_ID, $deactivate_components ) ) {
|
111 |
-
unset( $load_components[ $component_ID ] );
|
112 |
-
}
|
113 |
-
}
|
114 |
}
|
115 |
-
|
116 |
-
|
117 |
-
|
|
|
|
|
118 |
}
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
* Регистрируем активатор плагина
|
125 |
-
*
|
126 |
-
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
127 |
-
* @since 1.0.0
|
128 |
-
*/
|
129 |
-
protected function register_activator() {
|
130 |
-
include_once( WCL_PLUGIN_DIR . '/admin/activation.php' );
|
131 |
-
$this->registerActivation( 'WCL_Activation' );
|
132 |
-
}
|
133 |
-
|
134 |
-
/**
|
135 |
-
* Регистрирует классы страниц в плагине
|
136 |
-
*
|
137 |
-
* Мы указываем плагину, где найти файлы страниц и какое имя у их класса. Чтобы плагин
|
138 |
-
* выполнил подключение классов страниц. После регистрации, страницы будут доступные по url
|
139 |
-
* и в меню боковой панели администратора. Регистрируемые страницы будут связаны с текущим плагином
|
140 |
-
* все операции выполняемые внутри классов страниц, имеют отношение только текущему плагину.
|
141 |
-
*
|
142 |
-
* @throws \Exception
|
143 |
-
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
144 |
-
*/
|
145 |
-
private function register_pages() {
|
146 |
-
require_once( WCL_PLUGIN_DIR . '/admin/pages/class-page.php' );
|
147 |
-
|
148 |
-
try {
|
149 |
-
$this->registerPage( 'WCL_QuickStartPage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-quick-start.php' );
|
150 |
-
$this->registerPage( 'WCL_AdvancedPage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-advanced.php' );
|
151 |
-
$this->registerPage( 'WCL_PerformancePage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-performance.php' );
|
152 |
-
$this->registerPage( 'WCL_PerformanceGooglePage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-performance-google.php' );
|
153 |
-
$this->registerPage( 'WCL_ComponentsPage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-components.php' );
|
154 |
-
$this->registerPage( 'WCL_SeoPage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-seo.php' );
|
155 |
-
$this->registerPage( 'WCL_DoublePagesPage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-seo-double-pages.php' );
|
156 |
-
$this->registerPage( 'WCL_DefencePage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-defence.php' );
|
157 |
-
|
158 |
-
if ( defined( 'WIO_PLUGIN_ACTIVE' ) && ! wrio_is_clearfy_license_activate() ) {
|
159 |
-
$this->registerPage( 'WCL_ComponentsLicensePage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-components-license.php' );
|
160 |
-
}
|
161 |
-
|
162 |
-
$this->registerPage( 'WCL_LicensePage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-license.php' );
|
163 |
-
|
164 |
-
if ( $this->isActivateComponent( 'widget_tools' ) ) {
|
165 |
-
$this->registerPage( 'WCL_WidgetsPage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-widgets.php' );
|
166 |
-
}
|
167 |
-
|
168 |
-
$this->registerPage( 'WCL_ClearfySettingsPage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-clearfy-settings.php' );
|
169 |
-
|
170 |
-
if ( ! defined( 'WIO_PLUGIN_ACTIVE' ) ) {
|
171 |
-
$this->registerPage( 'WCL_ImageOptimizationPage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-image-optimization.php' );
|
172 |
-
}
|
173 |
-
|
174 |
-
if ( ! defined( 'WHLP_PLUGIN_ACTIVE' ) ) {
|
175 |
-
$this->registerPage( 'WCL_HideLoginPage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-hide-login-page.php' );
|
176 |
-
}
|
177 |
-
} catch( Exception $e ) {
|
178 |
-
throw new Exception( $e->getMessage() );
|
179 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
180 |
}
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
}
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
$permission = $this->isNetworkActive() ? 'manage_network' : 'manage_options';
|
210 |
-
|
211 |
-
return current_user_can( $permission );
|
212 |
}
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
*
|
217 |
-
* @return bool
|
218 |
-
*/
|
219 |
-
public function isActivateComponent( $component_name ) {
|
220 |
-
if ( ! is_string( $component_name ) ) {
|
221 |
-
return false;
|
222 |
-
}
|
223 |
-
|
224 |
-
$deactivate_components = $this->getPopulateOption( 'deactive_preinstall_components', [] );
|
225 |
-
|
226 |
-
if ( ! is_array( $deactivate_components ) ) {
|
227 |
-
$deactivate_components = [];
|
228 |
-
}
|
229 |
-
|
230 |
-
if ( $deactivate_components && in_array( $component_name, $deactivate_components ) ) {
|
231 |
-
return false;
|
232 |
-
}
|
233 |
-
|
234 |
-
return true;
|
235 |
}
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
$deactivate_components = $this->getPopulateOption( 'deactive_preinstall_components', [] );
|
250 |
-
|
251 |
-
if ( ! empty( $deactivate_components ) && is_array( $deactivate_components ) ) {
|
252 |
-
$deactivate_components[] = $component_name;
|
253 |
-
} else {
|
254 |
-
$deactivate_components = [];
|
255 |
-
$deactivate_components[] = $component_name;
|
256 |
-
}
|
257 |
-
|
258 |
-
$this->updatePopulateOption( 'deactive_preinstall_components', $deactivate_components );
|
259 |
-
|
260 |
-
do_action( 'wbcr_clearfy_deactivated_component', $component_name );
|
261 |
-
|
262 |
return true;
|
263 |
}
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
|
|
290 |
return true;
|
291 |
}
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
* @return WCL_InstallPluginsButton
|
301 |
-
*/
|
302 |
-
public function getInstallComponentsButton( $component_type, $slug ) {
|
303 |
-
require_once WCL_PLUGIN_DIR . '/admin/includes/classes/class.install-plugins-button.php';
|
304 |
-
|
305 |
-
return new WCL_InstallPluginsButton( $component_type, $slug );
|
306 |
}
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
* @param $slug
|
313 |
-
*
|
314 |
-
* @return WCL_InstallPluginsButton
|
315 |
-
*/
|
316 |
-
public function getDeleteComponentsButton( $component_type, $slug ) {
|
317 |
-
require_once WCL_PLUGIN_DIR . '/admin/includes/classes/class.install-plugins-button.php';
|
318 |
-
require_once WCL_PLUGIN_DIR . '/admin/includes/classes/class.delete-plugins-button.php';
|
319 |
-
|
320 |
-
return new WCL_DeletePluginsButton( $component_type, $slug );
|
321 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
322 |
}
|
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* Clearfy core class
|
4 |
+
*
|
5 |
+
* @author Webcraftic <wordpress.webraftic@gmail.com>
|
6 |
+
* @copyright (c) 19.02.2018, Webcraftic
|
7 |
+
* @version 1.0
|
8 |
+
*/
|
9 |
+
|
10 |
+
// Exit if accessed directly
|
11 |
+
if( !defined('ABSPATH') ) {
|
12 |
+
exit;
|
13 |
+
}
|
14 |
+
|
15 |
+
class WCL_Plugin extends Wbcr_Factory427_Plugin {
|
16 |
+
|
17 |
/**
|
18 |
+
* @see self::app()
|
19 |
+
* @var Wbcr_Factory427_Plugin
|
20 |
+
*/
|
21 |
+
private static $app;
|
22 |
+
|
23 |
+
|
24 |
+
/**
|
25 |
+
* Конструктор
|
26 |
+
*
|
27 |
+
* Применяет конструктор родительского класса и записывает экземпляр текущего класса в свойство $app.
|
28 |
+
* Подробнее о свойстве $app см. self::app()
|
29 |
+
*
|
30 |
+
* @param string $plugin_path
|
31 |
+
* @param array $data
|
32 |
+
*
|
33 |
+
* @throws Exception
|
34 |
+
*/
|
35 |
+
public function __construct($plugin_path, $data)
|
36 |
+
{
|
37 |
+
self::$app = $this;
|
38 |
+
parent::__construct($plugin_path, $data);
|
39 |
+
|
40 |
+
require_once(WCL_PLUGIN_DIR . '/includes/classes/class.licensing.php');
|
41 |
+
|
42 |
+
if( is_admin() ) {
|
43 |
+
require_once(WCL_PLUGIN_DIR . '/admin/includes/classes/class.option.php');
|
44 |
+
require_once(WCL_PLUGIN_DIR . '/admin/includes/classes/class.group.php');
|
45 |
+
|
46 |
+
require_once(WCL_PLUGIN_DIR . '/admin/activation.php');
|
47 |
+
|
48 |
+
if( defined('DOING_AJAX') && DOING_AJAX ) {
|
49 |
+
require(WCL_PLUGIN_DIR . '/admin/ajax/configurate.php');
|
50 |
+
require(WCL_PLUGIN_DIR . '/admin/ajax/import-settings.php');
|
51 |
+
require(WCL_PLUGIN_DIR . '/admin/ajax/install-addons.php');
|
52 |
+
}
|
53 |
+
|
54 |
+
require_once(WCL_PLUGIN_DIR . '/admin/includes/compatibility.php');
|
55 |
+
require_once(WCL_PLUGIN_DIR . '/admin/boot.php');
|
56 |
+
|
57 |
+
$this->register_activator();
|
58 |
+
}
|
59 |
+
|
60 |
+
$this->global_scripts();
|
61 |
+
|
62 |
+
add_action('plugins_loaded', [$this, 'plugins_loaded']);
|
63 |
+
}
|
64 |
+
|
65 |
+
/**
|
66 |
+
* Статический метод для быстрого доступа к интерфейсу плагина.
|
67 |
*
|
68 |
+
* Позволяет разработчику глобально получить доступ к экземпляру класса плагина в любом месте
|
69 |
+
* плагина, но при этом разработчик не может вносить изменения в основной класс плагина.
|
70 |
+
*
|
71 |
+
* Используется для получения настроек плагина, информации о плагине, для доступа к вспомогательным
|
72 |
+
* классам.
|
73 |
+
*
|
74 |
+
* @return \Wbcr_Factory427_Plugin|\WCL_Plugin
|
75 |
+
*/
|
76 |
+
public static function app()
|
77 |
+
{
|
78 |
+
return self::$app;
|
79 |
+
}
|
80 |
+
|
81 |
+
|
82 |
+
/**
|
83 |
+
* Выполняет php сценарии, когда все Wordpress плагины будут загружены
|
84 |
+
*
|
85 |
+
* @throws \Exception
|
86 |
+
* @since 1.0.0
|
87 |
+
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
88 |
*/
|
89 |
+
public function plugins_loaded()
|
90 |
+
{
|
91 |
+
if( is_admin() ) {
|
92 |
+
$this->register_pages();
|
93 |
+
}
|
94 |
+
|
95 |
+
require_once(WCL_PLUGIN_DIR . '/includes/classes/class.configurate-advanced.php');
|
96 |
+
new WCL_ConfigAdvanced($this);
|
97 |
}
|
98 |
+
|
99 |
+
/**
|
100 |
+
* Исключаем загрузку отключенных компонентов плагина
|
101 |
+
*
|
102 |
+
* @return array
|
103 |
+
* @since 1.6.0
|
104 |
+
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
105 |
+
*/
|
106 |
+
public function get_load_plugin_components()
|
107 |
+
{
|
108 |
+
$load_components = parent::get_load_plugin_components();
|
109 |
+
|
110 |
+
$deactivate_components = $this->getPopulateOption('deactive_preinstall_components', []);
|
111 |
+
|
112 |
+
if( !empty($deactivate_components) ) {
|
113 |
+
foreach((array)$load_components as $component_ID => $component) {
|
114 |
+
if( in_array($component_ID, $deactivate_components) ) {
|
115 |
+
unset($load_components[$component_ID]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
}
|
|
|
|
|
|
|
|
|
|
|
117 |
}
|
|
|
|
|
|
|
|
|
118 |
}
|
119 |
+
|
120 |
+
if( is_plugin_active('gonzales/gonzales.php') ) {
|
121 |
+
unset($load_components['assets_manager']);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
}
|
123 |
+
|
124 |
+
return $load_components;
|
125 |
+
}
|
126 |
+
|
127 |
+
/**
|
128 |
+
* Регистрируем активатор плагина
|
129 |
+
*
|
130 |
+
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
131 |
+
* @since 1.0.0
|
132 |
+
*/
|
133 |
+
protected function register_activator()
|
134 |
+
{
|
135 |
+
include_once(WCL_PLUGIN_DIR . '/admin/activation.php');
|
136 |
+
$this->registerActivation('WCL_Activation');
|
137 |
+
}
|
138 |
+
|
139 |
+
/**
|
140 |
+
* Регистрирует классы страниц в плагине
|
141 |
+
*
|
142 |
+
* Мы указываем плагину, где найти файлы страниц и какое имя у их класса. Чтобы плагин
|
143 |
+
* выполнил подключение классов страниц. После регистрации, страницы будут доступные по url
|
144 |
+
* и в меню боковой панели администратора. Регистрируемые страницы будут связаны с текущим плагином
|
145 |
+
* все операции выполняемые внутри классов страниц, имеют отношение только текущему плагину.
|
146 |
+
*
|
147 |
+
* @throws \Exception
|
148 |
+
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
149 |
+
*/
|
150 |
+
private function register_pages()
|
151 |
+
{
|
152 |
+
require_once(WCL_PLUGIN_DIR . '/admin/pages/class-page.php');
|
153 |
+
|
154 |
+
try {
|
155 |
+
$this->registerPage('WCL_QuickStartPage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-quick-start.php');
|
156 |
+
$this->registerPage('WCL_AdvancedPage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-advanced.php');
|
157 |
+
$this->registerPage('WCL_PerformancePage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-performance.php');
|
158 |
+
$this->registerPage('WCL_PerformanceGooglePage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-performance-google.php');
|
159 |
+
$this->registerPage('WCL_ComponentsPage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-components.php');
|
160 |
+
$this->registerPage('WCL_SeoPage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-seo.php');
|
161 |
+
$this->registerPage('WCL_DoublePagesPage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-seo-double-pages.php');
|
162 |
+
$this->registerPage('WCL_DefencePage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-defence.php');
|
163 |
+
|
164 |
+
if( !defined('WTITAN_PLUGIN_ACTIVE') ) {
|
165 |
+
$this->registerPage('WCL_TitanSecurityPage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-defence-titan.php');
|
166 |
}
|
167 |
+
|
168 |
+
if( defined('WIO_PLUGIN_ACTIVE') && !wrio_is_clearfy_license_activate() ) {
|
169 |
+
$this->registerPage('WCL_ComponentsLicensePage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-components-license.php');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
170 |
}
|
171 |
+
|
172 |
+
$this->registerPage('WCL_LicensePage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-license.php');
|
173 |
+
|
174 |
+
if( $this->isActivateComponent('widget_tools') ) {
|
175 |
+
$this->registerPage('WCL_WidgetsPage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-widgets.php');
|
176 |
}
|
177 |
+
|
178 |
+
$this->registerPage('WCL_ClearfySettingsPage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-clearfy-settings.php');
|
179 |
+
|
180 |
+
if( !defined('WIO_PLUGIN_ACTIVE') ) {
|
181 |
+
$this->registerPage('WCL_ImageOptimizationPage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-image-optimization.php');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
182 |
}
|
183 |
+
|
184 |
+
if( !defined('WHLP_PLUGIN_ACTIVE') ) {
|
185 |
+
$this->registerPage('WCL_HideLoginPage', WCL_PLUGIN_DIR . '/admin/pages/class-pages-hide-login-page.php');
|
186 |
+
}
|
187 |
+
} catch( Exception $e ) {
|
188 |
+
throw new Exception($e->getMessage());
|
189 |
}
|
190 |
+
}
|
191 |
+
|
192 |
+
/**
|
193 |
+
* Выполняет глобальные php сценарии
|
194 |
+
*
|
195 |
+
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
196 |
+
* @since 1.0.0
|
197 |
+
*/
|
198 |
+
private function global_scripts()
|
199 |
+
{
|
200 |
+
|
201 |
+
require_once(WCL_PLUGIN_DIR . '/includes/boot.php');
|
202 |
+
|
203 |
+
require_once(WCL_PLUGIN_DIR . '/includes/classes/class.configurate-performance.php');
|
204 |
+
require_once(WCL_PLUGIN_DIR . '/includes/classes/class.configurate-google-performance.php');
|
205 |
+
require_once(WCL_PLUGIN_DIR . '/includes/classes/class.configurate-privacy.php');
|
206 |
+
require_once(WCL_PLUGIN_DIR . '/includes/classes/class.configurate-security.php');
|
207 |
+
require_once(WCL_PLUGIN_DIR . '/includes/classes/class.configurate-seo.php');
|
208 |
+
|
209 |
+
new WCL_ConfigPerformance($this);
|
210 |
+
new WCL_ConfigGooglePerformance($this);
|
211 |
+
new WCL_ConfigPrivacy($this);
|
212 |
+
new WCL_ConfigSecurity($this);
|
213 |
+
new WCL_ConfigSeo($this);
|
214 |
+
}
|
215 |
+
|
216 |
+
/**
|
217 |
+
* @return bool
|
218 |
+
*/
|
219 |
+
public function currentUserCan()
|
220 |
+
{
|
221 |
+
$permission = $this->isNetworkActive() ? 'manage_network' : 'manage_options';
|
222 |
+
|
223 |
+
return current_user_can($permission);
|
224 |
+
}
|
225 |
+
|
226 |
+
/**
|
227 |
+
* @param string $component_name
|
228 |
+
*
|
229 |
+
* @return bool
|
230 |
+
*/
|
231 |
+
public function isActivateComponent($component_name)
|
232 |
+
{
|
233 |
+
if( !is_string($component_name) ) {
|
234 |
+
return false;
|
235 |
}
|
236 |
+
|
237 |
+
$deactivate_components = $this->getPopulateOption('deactive_preinstall_components', []);
|
238 |
+
|
239 |
+
if( !is_array($deactivate_components) ) {
|
240 |
+
$deactivate_components = [];
|
|
|
|
|
|
|
241 |
}
|
242 |
+
|
243 |
+
if( $deactivate_components && in_array($component_name, $deactivate_components) ) {
|
244 |
+
return false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
245 |
}
|
246 |
+
|
247 |
+
return true;
|
248 |
+
}
|
249 |
+
|
250 |
+
/**
|
251 |
+
* @param string $component_name
|
252 |
+
*
|
253 |
+
* @return bool
|
254 |
+
*/
|
255 |
+
public function deactivateComponent($component_name)
|
256 |
+
{
|
257 |
+
if( !$this->isActivateComponent($component_name) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
258 |
return true;
|
259 |
}
|
260 |
+
|
261 |
+
do_action('wbcr_clearfy_pre_deactivate_component', $component_name);
|
262 |
+
|
263 |
+
$deactivate_components = $this->getPopulateOption('deactive_preinstall_components', []);
|
264 |
+
|
265 |
+
if( !empty($deactivate_components) && is_array($deactivate_components) ) {
|
266 |
+
$deactivate_components[] = $component_name;
|
267 |
+
} else {
|
268 |
+
$deactivate_components = [];
|
269 |
+
$deactivate_components[] = $component_name;
|
270 |
+
}
|
271 |
+
|
272 |
+
$this->updatePopulateOption('deactive_preinstall_components', $deactivate_components);
|
273 |
+
|
274 |
+
do_action('wbcr_clearfy_deactivated_component', $component_name);
|
275 |
+
|
276 |
+
return true;
|
277 |
+
}
|
278 |
+
|
279 |
+
/**
|
280 |
+
* @param string $component_name
|
281 |
+
*
|
282 |
+
* @return bool
|
283 |
+
*/
|
284 |
+
public function activateComponent($component_name)
|
285 |
+
{
|
286 |
+
if( $this->isActivateComponent($component_name) ) {
|
287 |
return true;
|
288 |
}
|
289 |
+
|
290 |
+
do_action('wbcr_clearfy_pre_activate_component', $component_name);
|
291 |
+
|
292 |
+
$deactivate_components = $this->getPopulateOption('deactive_preinstall_components', []);
|
293 |
+
|
294 |
+
if( !empty($deactivate_components) && is_array($deactivate_components) ) {
|
295 |
+
$index = array_search($component_name, $deactivate_components);
|
296 |
+
unset($deactivate_components[$index]);
|
|
|
|
|
|
|
|
|
|
|
|
|
297 |
}
|
298 |
+
|
299 |
+
if( empty($deactivate_components) ) {
|
300 |
+
$this->deletePopulateOption('deactive_preinstall_components');
|
301 |
+
} else {
|
302 |
+
$this->updatePopulateOption('deactive_preinstall_components', $deactivate_components);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
303 |
}
|
304 |
+
|
305 |
+
return true;
|
306 |
+
}
|
307 |
+
|
308 |
+
/**
|
309 |
+
* Allows you to get a button to install the plugin component
|
310 |
+
*
|
311 |
+
* @param $component_type
|
312 |
+
* @param $slug
|
313 |
+
* param $premium
|
314 |
+
*
|
315 |
+
* @return WCL_InstallPluginsButton
|
316 |
+
*/
|
317 |
+
public function getInstallComponentsButton($component_type, $slug)
|
318 |
+
{
|
319 |
+
require_once WCL_PLUGIN_DIR . '/admin/includes/classes/class.install-plugins-button.php';
|
320 |
+
|
321 |
+
return new WCL_InstallPluginsButton($component_type, $slug);
|
322 |
+
}
|
323 |
+
|
324 |
+
/**
|
325 |
+
* Allows you to get a button to delete the plugin component
|
326 |
+
*
|
327 |
+
* @param $component_type
|
328 |
+
* @param $slug
|
329 |
+
*
|
330 |
+
* @return WCL_InstallPluginsButton
|
331 |
+
*/
|
332 |
+
public function getDeleteComponentsButton($component_type, $slug)
|
333 |
+
{
|
334 |
+
require_once WCL_PLUGIN_DIR . '/admin/includes/classes/class.install-plugins-button.php';
|
335 |
+
require_once WCL_PLUGIN_DIR . '/admin/includes/classes/class.delete-plugins-button.php';
|
336 |
+
|
337 |
+
return new WCL_DeletePluginsButton($component_type, $slug);
|
338 |
}
|
339 |
+
}
|
includes/classes/class.configurate-advanced.php
CHANGED
@@ -11,7 +11,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
11 |
exit;
|
12 |
}
|
13 |
|
14 |
-
class WCL_ConfigAdvanced extends
|
15 |
|
16 |
/**
|
17 |
* @param WCL_Plugin $plugin
|
11 |
exit;
|
12 |
}
|
13 |
|
14 |
+
class WCL_ConfigAdvanced extends Wbcr_FactoryClearfy219_Configurate {
|
15 |
|
16 |
/**
|
17 |
* @param WCL_Plugin $plugin
|
includes/classes/class.configurate-google-performance.php
CHANGED
@@ -12,7 +12,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
12 |
exit;
|
13 |
}
|
14 |
|
15 |
-
class WCL_ConfigGooglePerformance extends
|
16 |
|
17 |
/**
|
18 |
* @param WCL_Plugin $plugin
|
12 |
exit;
|
13 |
}
|
14 |
|
15 |
+
class WCL_ConfigGooglePerformance extends Wbcr_FactoryClearfy219_Configurate {
|
16 |
|
17 |
/**
|
18 |
* @param WCL_Plugin $plugin
|
includes/classes/class.configurate-performance.php
CHANGED
@@ -12,7 +12,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
12 |
exit;
|
13 |
}
|
14 |
|
15 |
-
class WCL_ConfigPerformance extends
|
16 |
|
17 |
/**
|
18 |
* @param WCL_Plugin $plugin
|
12 |
exit;
|
13 |
}
|
14 |
|
15 |
+
class WCL_ConfigPerformance extends Wbcr_FactoryClearfy219_Configurate {
|
16 |
|
17 |
/**
|
18 |
* @param WCL_Plugin $plugin
|
includes/classes/class.configurate-privacy.php
CHANGED
@@ -13,7 +13,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
13 |
exit;
|
14 |
}
|
15 |
|
16 |
-
class WCL_ConfigPrivacy extends
|
17 |
|
18 |
/**
|
19 |
* @param WCL_Plugin $plugin
|
13 |
exit;
|
14 |
}
|
15 |
|
16 |
+
class WCL_ConfigPrivacy extends Wbcr_FactoryClearfy219_Configurate {
|
17 |
|
18 |
/**
|
19 |
* @param WCL_Plugin $plugin
|
includes/classes/class.configurate-security.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
exit;
|
12 |
}
|
13 |
|
14 |
-
class WCL_ConfigSecurity extends
|
15 |
|
16 |
/**
|
17 |
* @param WCL_Plugin $plugin
|
11 |
exit;
|
12 |
}
|
13 |
|
14 |
+
class WCL_ConfigSecurity extends Wbcr_FactoryClearfy219_Configurate {
|
15 |
|
16 |
/**
|
17 |
* @param WCL_Plugin $plugin
|
includes/classes/class.configurate-seo.php
CHANGED
@@ -13,7 +13,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
13 |
exit;
|
14 |
}
|
15 |
|
16 |
-
class WCL_ConfigSeo extends
|
17 |
|
18 |
/**
|
19 |
* @param WCL_Plugin $plugin
|
13 |
exit;
|
14 |
}
|
15 |
|
16 |
+
class WCL_ConfigSeo extends Wbcr_FactoryClearfy219_Configurate {
|
17 |
|
18 |
/**
|
19 |
* @param WCL_Plugin $plugin
|
libs/factory/adverts/boot.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
use WBCR\
|
4 |
|
5 |
/**
|
6 |
* Factory Adverts
|
@@ -20,31 +20,31 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
20 |
exit;
|
21 |
}
|
22 |
|
23 |
-
if ( defined( '
|
24 |
return;
|
25 |
}
|
26 |
|
27 |
# Устанавливаем константу, что модуль уже загружен
|
28 |
-
define( '
|
29 |
|
30 |
# Устанавливаем версию модуля
|
31 |
-
define( '
|
32 |
|
33 |
# Регистрируем тектовый домен, для интернализации интерфейса модуля
|
34 |
-
load_plugin_textdomain( '
|
35 |
|
36 |
# Устанавливаем директорию модуля
|
37 |
-
define( '
|
38 |
|
39 |
# Устанавливаем url модуля
|
40 |
-
define( '
|
41 |
|
42 |
-
require_once(
|
43 |
-
require_once(
|
44 |
|
45 |
/**
|
46 |
-
* @param
|
47 |
*/
|
48 |
-
add_action( '
|
49 |
-
$plugin->set_adverts_manager( "WBCR\
|
50 |
} );
|
1 |
<?php
|
2 |
|
3 |
+
use WBCR\Factory_Adverts_107\Base;
|
4 |
|
5 |
/**
|
6 |
* Factory Adverts
|
20 |
exit;
|
21 |
}
|
22 |
|
23 |
+
if ( defined( 'FACTORY_ADVERTS_107_LOADED' ) || ( defined( 'FACTORY_ADVERTS_BLOCK' ) && FACTORY_ADVERTS_BLOCK ) ) {
|
24 |
return;
|
25 |
}
|
26 |
|
27 |
# Устанавливаем константу, что модуль уже загружен
|
28 |
+
define( 'FACTORY_ADVERTS_107_LOADED', true );
|
29 |
|
30 |
# Устанавливаем версию модуля
|
31 |
+
define( 'FACTORY_ADVERTS_107_VERSION', '1.0.7' );
|
32 |
|
33 |
# Регистрируем тектовый домен, для интернализации интерфейса модуля
|
34 |
+
load_plugin_textdomain( 'wbcr_factory_adverts_107', false, dirname( plugin_basename( __FILE__ ) ) . '/langs' );
|
35 |
|
36 |
# Устанавливаем директорию модуля
|
37 |
+
define( 'FACTORY_ADVERTS_107_DIR', dirname( __FILE__ ) );
|
38 |
|
39 |
# Устанавливаем url модуля
|
40 |
+
define( 'FACTORY_ADVERTS_107_URL', plugins_url( null, __FILE__ ) );
|
41 |
|
42 |
+
require_once( FACTORY_ADVERTS_107_DIR . '/includes/class-rest-request.php' );
|
43 |
+
require_once( FACTORY_ADVERTS_107_DIR . '/includes/class-base.php' );
|
44 |
|
45 |
/**
|
46 |
+
* @param Wbcr_Factory427_Plugin $plugin
|
47 |
*/
|
48 |
+
add_action( 'wbcr_factory_adverts_107_plugin_created', function ( $plugin ) {
|
49 |
+
$plugin->set_adverts_manager( "WBCR\Factory_Adverts_107\Base" );
|
50 |
} );
|
libs/factory/adverts/includes/class-base.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
namespace WBCR\
|
4 |
|
5 |
// Exit if accessed directly
|
6 |
if ( ! defined( 'ABSPATH' ) ) {
|
@@ -28,7 +28,7 @@ class Base {
|
|
28 |
*
|
29 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
30 |
* @since 1.0.1
|
31 |
-
* @var \
|
32 |
*/
|
33 |
private $plugin;
|
34 |
|
@@ -53,7 +53,7 @@ class Base {
|
|
53 |
*
|
54 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
55 |
* @since 1.0.1
|
56 |
-
* @var \WBCR\
|
57 |
*/
|
58 |
private $api;
|
59 |
|
@@ -82,9 +82,9 @@ class Base {
|
|
82 |
*
|
83 |
* @since 1.0.0 Added
|
84 |
*
|
85 |
-
* @param \
|
86 |
*/
|
87 |
-
public function __construct( \
|
88 |
$this->plugin = $plugin;
|
89 |
|
90 |
$this->settings = wp_parse_args( $settings, [
|
@@ -257,7 +257,7 @@ class Base {
|
|
257 |
$content = $this->get_debug_message( 'dashboard_widget' );
|
258 |
}
|
259 |
|
260 |
-
require_once
|
261 |
new Dashboard_Widget( $this->plugin, $content );
|
262 |
}
|
263 |
}
|
1 |
<?php
|
2 |
|
3 |
+
namespace WBCR\Factory_Adverts_107;
|
4 |
|
5 |
// Exit if accessed directly
|
6 |
if ( ! defined( 'ABSPATH' ) ) {
|
28 |
*
|
29 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
30 |
* @since 1.0.1
|
31 |
+
* @var \Wbcr_Factory427_Plugin
|
32 |
*/
|
33 |
private $plugin;
|
34 |
|
53 |
*
|
54 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
55 |
* @since 1.0.1
|
56 |
+
* @var \WBCR\Factory_Adverts_107\Creative_Motion_API
|
57 |
*/
|
58 |
private $api;
|
59 |
|
82 |
*
|
83 |
* @since 1.0.0 Added
|
84 |
*
|
85 |
+
* @param \Wbcr_Factory427_Plugin $plugin
|
86 |
*/
|
87 |
+
public function __construct( \Wbcr_Factory427_Plugin $plugin, $settings ) {
|
88 |
$this->plugin = $plugin;
|
89 |
|
90 |
$this->settings = wp_parse_args( $settings, [
|
257 |
$content = $this->get_debug_message( 'dashboard_widget' );
|
258 |
}
|
259 |
|
260 |
+
require_once FACTORY_ADVERTS_107_DIR . '/includes/class-dashboard-widget.php';
|
261 |
new Dashboard_Widget( $this->plugin, $content );
|
262 |
}
|
263 |
}
|
libs/factory/adverts/includes/class-dashboard-widget.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
namespace WBCR\
|
4 |
|
5 |
// Exit if accessed directly
|
6 |
if ( ! defined( 'ABSPATH' ) ) {
|
@@ -35,7 +35,7 @@ class Dashboard_Widget {
|
|
35 |
*
|
36 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
37 |
* @since 1.0.1
|
38 |
-
* @var \
|
39 |
*/
|
40 |
private $plugin;
|
41 |
|
@@ -46,10 +46,10 @@ class Dashboard_Widget {
|
|
46 |
*
|
47 |
* @since 1.0.0 Added
|
48 |
*
|
49 |
-
* @param \
|
50 |
* @param string $content
|
51 |
*/
|
52 |
-
public function __construct( \
|
53 |
|
54 |
$this->plugin = $plugin;
|
55 |
$this->content = $content;
|
1 |
<?php
|
2 |
|
3 |
+
namespace WBCR\Factory_Adverts_107;
|
4 |
|
5 |
// Exit if accessed directly
|
6 |
if ( ! defined( 'ABSPATH' ) ) {
|
35 |
*
|
36 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
37 |
* @since 1.0.1
|
38 |
+
* @var \Wbcr_Factory427_Plugin
|
39 |
*/
|
40 |
private $plugin;
|
41 |
|
46 |
*
|
47 |
* @since 1.0.0 Added
|
48 |
*
|
49 |
+
* @param \Wbcr_Factory427_Plugin $plugin
|
50 |
* @param string $content
|
51 |
*/
|
52 |
+
public function __construct( \Wbcr_Factory427_Plugin $plugin, $content ) {
|
53 |
|
54 |
$this->plugin = $plugin;
|
55 |
$this->content = $content;
|
libs/factory/adverts/includes/class-rest-request.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
namespace WBCR\
|
4 |
|
5 |
// Exit if accessed directly
|
6 |
if ( ! defined( 'ABSPATH' ) ) {
|
@@ -65,7 +65,7 @@ class Creative_Motion_API {
|
|
65 |
*
|
66 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
67 |
* @since 1.0.1
|
68 |
-
* @var \
|
69 |
*/
|
70 |
private $plugin;
|
71 |
|
@@ -77,9 +77,9 @@ class Creative_Motion_API {
|
|
77 |
*
|
78 |
* @since 1.0.0 Added
|
79 |
*
|
80 |
-
* @param \
|
81 |
*/
|
82 |
-
public function __construct( \
|
83 |
$this->plugin = $plugin;
|
84 |
}
|
85 |
|
1 |
<?php
|
2 |
|
3 |
+
namespace WBCR\Factory_Adverts_107;
|
4 |
|
5 |
// Exit if accessed directly
|
6 |
if ( ! defined( 'ABSPATH' ) ) {
|
65 |
*
|
66 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
67 |
* @since 1.0.1
|
68 |
+
* @var \Wbcr_Factory427_Plugin
|
69 |
*/
|
70 |
private $plugin;
|
71 |
|
77 |
*
|
78 |
* @since 1.0.0 Added
|
79 |
*
|
80 |
+
* @param \Wbcr_Factory427_Plugin $plugin_name
|
81 |
*/
|
82 |
+
public function __construct( \Wbcr_Factory427_Plugin $plugin ) {
|
83 |
$this->plugin = $plugin;
|
84 |
}
|
85 |
|
libs/factory/adverts/langs/{wbcr_factory_adverts_106-ru_RU.mo → wbcr_factory_adverts_107-ru_RU.mo}
RENAMED
File without changes
|
libs/factory/adverts/langs/{wbcr_factory_adverts_106-ru_RU.po → wbcr_factory_adverts_107-ru_RU.po}
RENAMED
File without changes
|
libs/factory/bootstrap/assets/css-min/bootstrap.accordion.min.css
CHANGED
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-428 .factory-accordion{margin:0 0 30px;border-top:1px solid #DDD;border-right:1px solid #DDD;border-left:1px solid #DDD;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.factory-bootstrap-428 .factory-accordion>h3{border-bottom:1px solid #DDD;cursor:pointer;padding:8px 15px;margin:0}.factory-bootstrap-428 .factory-accordion>div{display:none;margin:0;border-bottom:1px solid #DDD}.factory-bootstrap-428 .factory-accordion-item{display:none}.factory-bootstrap-428 .inner-factory-accordion-item{padding:10px 0}.factory-bootstrap-428 .factory-accordion>h3.active:hover{cursor:default}
|
libs/factory/bootstrap/assets/css-min/bootstrap.blue.min.css
CHANGED
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-428 .btn-primary{background:#e1a948;border-color:#d39323;color:#fff;-webkit-box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-428 .btn-primary:focus,.factory-bootstrap-428 .btn-primary:hover{background:#db9825;border-color:#bd831f;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e8be74,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e8be74,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-428 .btn-primary:active{background:#db9825;border-color:#bd831f;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.factory-bootstrap-428 .btn-primary:disabled,.factory-bootstrap-428 .btn-primary[disabled]{color:#d1cdc7!important;background:#db9825!important;border-color:#bd831f!important;text-shadow:none!important}.factory-bootstrap-428 .btn-group .btn.active.value{background-color:#e1a948;-webkit-box-shadow:inset 0 1px 2px #d39323;box-shadow:inset 0 1px 2px #d39323;border-top:1px solid #d39323;border-bottom:1px solid #d39323;border-left:1px solid #d39323}.factory-bootstrap-428 .pagination>.active>a,.factory-bootstrap-428 .pagination>.active>a:focus,.factory-bootstrap-428 .pagination>.active>a:hover,.factory-bootstrap-428 .pagination>.active>span,.factory-bootstrap-428 .pagination>.active>span:focus,.factory-bootstrap-428 .pagination>.active>span:hover{background-color:#e1a948;border-color:#d39323}
|
libs/factory/bootstrap/assets/css-min/bootstrap.coffee.min.css
CHANGED
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-428 .btn-primary{background:#c7a589;border-color:#b78a66;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-428 .btn-primary:focus,.factory-bootstrap-428 .btn-primary:hover{background:#ba906d;border-color:#ae7d55;color:#fff;-webkit-box-shadow:inset 0 1px 0 #d7bfac,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #d7bfac,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-428 .btn-primary:active{background:#ba906d;border-color:#ae7d55;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.factory-bootstrap-428 .btn-primary:disabled,.factory-bootstrap-428 .btn-primary[disabled]{color:#d1cbc7!important;background:#ba906d!important;border-color:#ae7d55!important;text-shadow:none!important}.factory-bootstrap-428 .btn-group .btn.active.value{background-color:#c7a589;-webkit-box-shadow:inset 0 1px 2px #b78a66;box-shadow:inset 0 1px 2px #b78a66;border-top:1px solid #b78a66;border-bottom:1px solid #b78a66;border-left:1px solid #b78a66}.factory-bootstrap-428 .pagination>.active>a,.factory-bootstrap-428 .pagination>.active>a:focus,.factory-bootstrap-428 .pagination>.active>a:hover,.factory-bootstrap-428 .pagination>.active>span,.factory-bootstrap-428 .pagination>.active>span:focus,.factory-bootstrap-428 .pagination>.active>span:hover{background-color:#c7a589;border-color:#b78a66}
|
libs/factory/bootstrap/assets/css-min/bootstrap.core.min.css
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-426 article,.factory-bootstrap-426 aside,.factory-bootstrap-426 details,.factory-bootstrap-426 figcaption,.factory-bootstrap-426 figure,.factory-bootstrap-426 footer,.factory-bootstrap-426 header,.factory-bootstrap-426 hgroup,.factory-bootstrap-426 main,.factory-bootstrap-426 nav,.factory-bootstrap-426 section,.factory-bootstrap-426 summary{display:block}.factory-bootstrap-426 audio,.factory-bootstrap-426 canvas,.factory-bootstrap-426 video{display:inline-block}.factory-bootstrap-426 audio:not([controls]){display:none;height:0}.factory-bootstrap-426 [hidden],.factory-bootstrap-426 template{display:none}.factory-bootstrap-426 body{margin:0}.factory-bootstrap-426 a{background:0 0}.factory-bootstrap-426 a:focus{outline:thin dotted}.factory-bootstrap-426 a:active,.factory-bootstrap-426 a:hover{outline:0}.factory-bootstrap-426 h1{margin:.67em 0}.factory-bootstrap-426 b,.factory-bootstrap-426 strong{font-weight:700}.factory-bootstrap-426 dfn{font-style:italic}.factory-bootstrap-426 hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}.factory-bootstrap-426 mark{color:#000;background:#ff0}.factory-bootstrap-426 code,.factory-bootstrap-426 kbd,.factory-bootstrap-426 pre,.factory-bootstrap-426 samp{font-size:1em}.factory-bootstrap-426 pre{white-space:pre-wrap}.factory-bootstrap-426 q{quotes:"\201C" "\201D" "\2018" "\2019"}.factory-bootstrap-426 sub,.factory-bootstrap-426 sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}.factory-bootstrap-426 sup{top:-.5em}.factory-bootstrap-426 sub{bottom:-.25em}.factory-bootstrap-426 img{border:0}.factory-bootstrap-426 svg:not(:root){overflow:hidden}.factory-bootstrap-426 figure{margin:0}.factory-bootstrap-426 button,.factory-bootstrap-426 input,.factory-bootstrap-426 select,.factory-bootstrap-426 textarea{margin:0}.factory-bootstrap-426 button,.factory-bootstrap-426 select{text-transform:none}.factory-bootstrap-426 select{padding-right:4px!important}.factory-bootstrap-426 button,.factory-bootstrap-426 input[type=reset],.factory-bootstrap-426 input[type=submit],html .factory-bootstrap-426 input[type=button]{cursor:pointer;-webkit-appearance:button}.factory-bootstrap-426 button[disabled],html .factory-bootstrap-426 input[disabled]{cursor:default}.factory-bootstrap-426 input[type=checkbox],.factory-bootstrap-426 input[type=radio]{padding:0;box-sizing:border-box}.factory-bootstrap-426 input[type=search]{-webkit-appearance:textfield}.factory-bootstrap-426 input[type=search]::-webkit-search-cancel-button,.factory-bootstrap-426 input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.factory-bootstrap-426 button::-moz-focus-inner,.factory-bootstrap-426 input::-moz-focus-inner{padding:0;border:0}.factory-bootstrap-426 textarea{overflow:auto;vertical-align:top}.factory-bootstrap-426 table{border-collapse:collapse;border-spacing:0}@media print{.factory-bootstrap-426 *{color:#000!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important}.factory-bootstrap-426 a,.factory-bootstrap-426 a:visited{text-decoration:underline}.factory-bootstrap-426 a[href]:after{content:" (" attr(href) ")"}.factory-bootstrap-426 abbr[title]:after{content:" (" attr(title) ")"}.factory-bootstrap-426 a[href^="javascript:"]:after,.factory-bootstrap-426 a[href^="#"]:after{content:""}.factory-bootstrap-426 blockquote,.factory-bootstrap-426 pre{border:1px solid #999;page-break-inside:avoid}.factory-bootstrap-426 thead{display:table-header-group}.factory-bootstrap-426 img,.factory-bootstrap-426 tr{page-break-inside:avoid}.factory-bootstrap-426 img{max-width:100%!important}@page{margin:2cm .5cm}.factory-bootstrap-426 h2,.factory-bootstrap-426 h3,.factory-bootstrap-426 p{orphans:3;widows:3}.factory-bootstrap-426 h2,.factory-bootstrap-426 h3{page-break-after:avoid}.factory-bootstrap-426 select{background:#fff!important}.factory-bootstrap-426 .navbar{display:none}.factory-bootstrap-426 .table td,.factory-bootstrap-426 .table th{background-color:#fff!important}.factory-bootstrap-426 .btn>.caret,.factory-bootstrap-426 .dropup>.btn>.caret{border-top-color:#000!important}.factory-bootstrap-426 .label{border:1px solid #000}.factory-bootstrap-426 .table{border-collapse:collapse!important}.factory-bootstrap-426 .table-bordered td,.factory-bootstrap-426 .table-bordered th{border:1px solid #ddd!important}}.factory-bootstrap-426 *,.factory-bootstrap-426 :after,.factory-bootstrap-426 :before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html .factory-bootstrap-426{-webkit-tap-highlight-color:rgba(0,0,0,0)}.factory-bootstrap-426 body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.428571429;color:#333;background-color:#fff}.factory-bootstrap-426 button,.factory-bootstrap-426 input,.factory-bootstrap-426 select,.factory-bootstrap-426 textarea{font-family:inherit;font-size:inherit;line-height:inherit}.factory-bootstrap-426 img{vertical-align:middle}.factory-bootstrap-426 .img-responsive{display:block;height:auto;max-width:100%}.factory-bootstrap-426 .img-rounded{border-radius:6px}.factory-bootstrap-426 .img-thumbnail{display:inline-block;height:auto;max-width:100%;padding:4px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.factory-bootstrap-426 .img-circle{border-radius:50%}.factory-bootstrap-426 hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.factory-bootstrap-426 .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.factory-bootstrap-426 .h1,.factory-bootstrap-426 .h2,.factory-bootstrap-426 .h3,.factory-bootstrap-426 .h4,.factory-bootstrap-426 .h5,.factory-bootstrap-426 .h6,.factory-bootstrap-426 h1,.factory-bootstrap-426 h2,.factory-bootstrap-426 h3,.factory-bootstrap-426 h4,.factory-bootstrap-426 h5,.factory-bootstrap-426 h6{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;line-height:1.1;color:inherit}.factory-bootstrap-426 .h1 .small,.factory-bootstrap-426 .h1 small,.factory-bootstrap-426 .h2 .small,.factory-bootstrap-426 .h2 small,.factory-bootstrap-426 .h3 .small,.factory-bootstrap-426 .h3 small,.factory-bootstrap-426 .h4 .small,.factory-bootstrap-426 .h4 small,.factory-bootstrap-426 .h5 .small,.factory-bootstrap-426 .h5 small,.factory-bootstrap-426 .h6 .small,.factory-bootstrap-426 .h6 small,.factory-bootstrap-426 h1 .small,.factory-bootstrap-426 h1 small,.factory-bootstrap-426 h2 .small,.factory-bootstrap-426 h2 small,.factory-bootstrap-426 h3 .small,.factory-bootstrap-426 h3 small,.factory-bootstrap-426 h4 .small,.factory-bootstrap-426 h4 small,.factory-bootstrap-426 h5 .small,.factory-bootstrap-426 h5 small,.factory-bootstrap-426 h6 .small,.factory-bootstrap-426 h6 small{font-weight:400;line-height:1;color:#999}.factory-bootstrap-426 h1,.factory-bootstrap-426 h2,.factory-bootstrap-426 h3{margin-top:20px;margin-bottom:10px}.factory-bootstrap-426 h1 .small,.factory-bootstrap-426 h1 small,.factory-bootstrap-426 h2 .small,.factory-bootstrap-426 h2 small,.factory-bootstrap-426 h3 .small,.factory-bootstrap-426 h3 small{font-size:65%}.factory-bootstrap-426 h4,.factory-bootstrap-426 h5,.factory-bootstrap-426 h6{margin-top:10px;margin-bottom:10px}.factory-bootstrap-426 h4 .small,.factory-bootstrap-426 h4 small,.factory-bootstrap-426 h5 .small,.factory-bootstrap-426 h5 small,.factory-bootstrap-426 h6 .small,.factory-bootstrap-426 h6 small{font-size:75%}.factory-bootstrap-426 .h1,.factory-bootstrap-426 h1{font-size:36px}.factory-bootstrap-426 .h2,.factory-bootstrap-426 h2{font-size:30px}.factory-bootstrap-426 .h3,.factory-bootstrap-426 h3{font-size:24px}.factory-bootstrap-426 .h4,.factory-bootstrap-426 h4{font-size:18px}.factory-bootstrap-426 .h5,.factory-bootstrap-426 h5{font-size:14px}.factory-bootstrap-426 .h6,.factory-bootstrap-426 h6{font-size:12px}.factory-bootstrap-426 p{margin:0 0 10px}.factory-bootstrap-426 .lead{margin-bottom:20px;font-size:16px;font-weight:200;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.factory-bootstrap-426 .small,.factory-bootstrap-426 small{font-size:85%}.factory-bootstrap-426 cite{font-style:normal}.factory-bootstrap-426 .text-muted{color:#999}.factory-bootstrap-426 .text-primary{color:#428bca}.factory-bootstrap-426 .text-primary:hover{color:#3071a9}.factory-bootstrap-426 .text-warning{color:#8a6d3b}.factory-bootstrap-426 .text-warning:hover{color:#66512c}.factory-bootstrap-426 .text-danger{color:#a94442}.factory-bootstrap-426 .text-danger:hover{color:#843534}.factory-bootstrap-426 .text-success{color:#3c763d}.factory-bootstrap-426 .text-success:hover{color:#2b542c}.factory-bootstrap-426 .text-info{color:#31708f}.factory-bootstrap-426 .text-info:hover{color:#245269}.factory-bootstrap-426 .text-left{text-align:left}.factory-bootstrap-426 .text-right{text-align:right}.factory-bootstrap-426 .text-center{text-align:center}.factory-bootstrap-426 .page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}.factory-bootstrap-426 ol,.factory-bootstrap-426 ul{margin-top:0;margin-bottom:10px}.factory-bootstrap-426 ol ol,.factory-bootstrap-426 ol ul,.factory-bootstrap-426 ul ol,.factory-bootstrap-426 ul ul{margin-bottom:0}.factory-bootstrap-426 .list-inline,.factory-bootstrap-426 .list-unstyled{padding-left:0;list-style:none}.factory-bootstrap-426 .list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}.factory-bootstrap-426 .list-inline>li:first-child{padding-left:0}.factory-bootstrap-426 dl{margin-top:0;margin-bottom:20px}.factory-bootstrap-426 dd,.factory-bootstrap-426 dt{line-height:1.428571429}.factory-bootstrap-426 dt{font-weight:700}.factory-bootstrap-426 dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}.dl-horizontal dd:after,.dl-horizontal dd:before{display:table;content:" "}.dl-horizontal dd:after{clear:both}}.factory-bootstrap-426 abbr[data-original-title],.factory-bootstrap-426 abbr[title]{cursor:help;border-bottom:1px dotted #999}.factory-bootstrap-426 .initialism{font-size:90%;text-transform:uppercase}.factory-bootstrap-426 blockquote{padding:10px 20px;margin:0 0 20px;border-left:5px solid #eee}.factory-bootstrap-426 blockquote p{font-size:17.5px;font-weight:300;line-height:1.25}.factory-bootstrap-426 blockquote p:last-child{margin-bottom:0}.factory-bootstrap-426 blockquote .small,.factory-bootstrap-426 blockquote small{display:block;line-height:1.428571429;color:#999}.factory-bootstrap-426 blockquote .small:before,.factory-bootstrap-426 blockquote small:before{content:'\2014 \00A0'}.factory-bootstrap-426 blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}.factory-bootstrap-426 blockquote.pull-right .small,.factory-bootstrap-426 blockquote.pull-right p,.factory-bootstrap-426 blockquote.pull-right small{text-align:right}.factory-bootstrap-426 blockquote.pull-right .small:before,.factory-bootstrap-426 blockquote.pull-right small:before{content:''}.factory-bootstrap-426 blockquote.pull-right .small:after,.factory-bootstrap-426 blockquote.pull-right small:after{content:'\00A0 \2014'}.factory-bootstrap-426 blockquote:after,.factory-bootstrap-426 blockquote:before{content:""}.factory-bootstrap-426 address{margin-bottom:20px;font-style:normal;line-height:1.428571429}.factory-bootstrap-426 code,.factory-bootstrap-426 kbd,.factory-bootstrap-426 pre,.factory-bootstrap-426 samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}.factory-bootstrap-426 code{padding:2px 4px;font-size:90%;color:#c7254e;white-space:nowrap;background-color:#f9f2f4;border-radius:4px}.factory-bootstrap-426 pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}.factory-bootstrap-426 pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.factory-bootstrap-426 .pre-scrollable{max-height:340px;overflow-y:scroll}.factory-bootstrap-426 .container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.factory-bootstrap-426 .container:after,.factory-bootstrap-426 .container:before{display:table;content:" "}.factory-bootstrap-426 .container:after{clear:both}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.factory-bootstrap-426 .row{margin-right:-15px;margin-left:-15px}.factory-bootstrap-426 .row:after,.factory-bootstrap-426 .row:before{display:table;content:" "}.factory-bootstrap-426 .row:after{clear:both}.factory-bootstrap-426 .col-lg-1,.factory-bootstrap-426 .col-lg-10,.factory-bootstrap-426 .col-lg-11,.factory-bootstrap-426 .col-lg-12,.factory-bootstrap-426 .col-lg-2,.factory-bootstrap-426 .col-lg-3,.factory-bootstrap-426 .col-lg-4,.factory-bootstrap-426 .col-lg-5,.factory-bootstrap-426 .col-lg-6,.factory-bootstrap-426 .col-lg-7,.factory-bootstrap-426 .col-lg-8,.factory-bootstrap-426 .col-lg-9,.factory-bootstrap-426 .col-md-1,.factory-bootstrap-426 .col-md-10,.factory-bootstrap-426 .col-md-11,.factory-bootstrap-426 .col-md-12,.factory-bootstrap-426 .col-md-2,.factory-bootstrap-426 .col-md-3,.factory-bootstrap-426 .col-md-4,.factory-bootstrap-426 .col-md-5,.factory-bootstrap-426 .col-md-6,.factory-bootstrap-426 .col-md-7,.factory-bootstrap-426 .col-md-8,.factory-bootstrap-426 .col-md-9,.factory-bootstrap-426 .col-sm-1,.factory-bootstrap-426 .col-sm-10,.factory-bootstrap-426 .col-sm-11,.factory-bootstrap-426 .col-sm-12,.factory-bootstrap-426 .col-sm-2,.factory-bootstrap-426 .col-sm-3,.factory-bootstrap-426 .col-sm-4,.factory-bootstrap-426 .col-sm-5,.factory-bootstrap-426 .col-sm-6,.factory-bootstrap-426 .col-sm-7,.factory-bootstrap-426 .col-sm-8,.factory-bootstrap-426 .col-sm-9,.factory-bootstrap-426 .col-xs-1,.factory-bootstrap-426 .col-xs-10,.factory-bootstrap-426 .col-xs-11,.factory-bootstrap-426 .col-xs-12,.factory-bootstrap-426 .col-xs-2,.factory-bootstrap-426 .col-xs-3,.factory-bootstrap-426 .col-xs-4,.factory-bootstrap-426 .col-xs-5,.factory-bootstrap-426 .col-xs-6,.factory-bootstrap-426 .col-xs-7,.factory-bootstrap-426 .col-xs-8,.factory-bootstrap-426 .col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.factory-bootstrap-426 .col-xs-1,.factory-bootstrap-426 .col-xs-10,.factory-bootstrap-426 .col-xs-11,.factory-bootstrap-426 .col-xs-12,.factory-bootstrap-426 .col-xs-2,.factory-bootstrap-426 .col-xs-3,.factory-bootstrap-426 .col-xs-4,.factory-bootstrap-426 .col-xs-5,.factory-bootstrap-426 .col-xs-6,.factory-bootstrap-426 .col-xs-7,.factory-bootstrap-426 .col-xs-8,.factory-bootstrap-426 .col-xs-9{float:left}.factory-bootstrap-426 .col-xs-12{width:100%}.factory-bootstrap-426 .col-xs-11{width:91.66666666666666%}.factory-bootstrap-426 .col-xs-10{width:83.33333333333334%}.factory-bootstrap-426 .col-xs-9{width:75%}.factory-bootstrap-426 .col-xs-8{width:66.66666666666666%}.factory-bootstrap-426 .col-xs-7{width:58.333333333333336%}.factory-bootstrap-426 .col-xs-6{width:50%}.factory-bootstrap-426 .col-xs-5{width:41.66666666666667%}.factory-bootstrap-426 .col-xs-4{width:33.33333333333333%}.factory-bootstrap-426 .col-xs-3{width:25%}.factory-bootstrap-426 .col-xs-2{width:16.666666666666664%}.factory-bootstrap-426 .col-xs-1{width:8.333333333333332%}.factory-bootstrap-426 .col-xs-pull-12{right:100%}.factory-bootstrap-426 .col-xs-pull-11{right:91.66666666666666%}.factory-bootstrap-426 .col-xs-pull-10{right:83.33333333333334%}.factory-bootstrap-426 .col-xs-pull-9{right:75%}.factory-bootstrap-426 .col-xs-pull-8{right:66.66666666666666%}.factory-bootstrap-426 .col-xs-pull-7{right:58.333333333333336%}.factory-bootstrap-426 .col-xs-pull-6{right:50%}.factory-bootstrap-426 .col-xs-pull-5{right:41.66666666666667%}.factory-bootstrap-426 .col-xs-pull-4{right:33.33333333333333%}.factory-bootstrap-426 .col-xs-pull-3{right:25%}.factory-bootstrap-426 .col-xs-pull-2{right:16.666666666666664%}.factory-bootstrap-426 .col-xs-pull-1{right:8.333333333333332%}.factory-bootstrap-426 .col-xs-pull-0{right:0}.factory-bootstrap-426 .col-xs-push-12{left:100%}.factory-bootstrap-426 .col-xs-push-11{left:91.66666666666666%}.factory-bootstrap-426 .col-xs-push-10{left:83.33333333333334%}.factory-bootstrap-426 .col-xs-push-9{left:75%}.factory-bootstrap-426 .col-xs-push-8{left:66.66666666666666%}.factory-bootstrap-426 .col-xs-push-7{left:58.333333333333336%}.factory-bootstrap-426 .col-xs-push-6{left:50%}.factory-bootstrap-426 .col-xs-push-5{left:41.66666666666667%}.factory-bootstrap-426 .col-xs-push-4{left:33.33333333333333%}.factory-bootstrap-426 .col-xs-push-3{left:25%}.factory-bootstrap-426 .col-xs-push-2{left:16.666666666666664%}.factory-bootstrap-426 .col-xs-push-1{left:8.333333333333332%}.factory-bootstrap-426 .col-xs-push-0{left:0}.factory-bootstrap-426 .col-xs-offset-12{margin-left:100%}.factory-bootstrap-426 .col-xs-offset-11{margin-left:91.66666666666666%}.factory-bootstrap-426 .col-xs-offset-10{margin-left:83.33333333333334%}.factory-bootstrap-426 .col-xs-offset-9{margin-left:75%}.factory-bootstrap-426 .col-xs-offset-8{margin-left:66.66666666666666%}.factory-bootstrap-426 .col-xs-offset-7{margin-left:58.333333333333336%}.factory-bootstrap-426 .col-xs-offset-6{margin-left:50%}.factory-bootstrap-426 .col-xs-offset-5{margin-left:41.66666666666667%}.factory-bootstrap-426 .col-xs-offset-4{margin-left:33.33333333333333%}.factory-bootstrap-426 .col-xs-offset-3{margin-left:25%}.factory-bootstrap-426 .col-xs-offset-2{margin-left:16.666666666666664%}.factory-bootstrap-426 .col-xs-offset-1{margin-left:8.333333333333332%}.factory-bootstrap-426 .col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666666666666%}.col-sm-10{width:83.33333333333334%}.col-sm-9{width:75%}.col-sm-8{width:66.66666666666666%}.col-sm-7{width:58.333333333333336%}.col-sm-6{width:50%}.col-sm-5{width:41.66666666666667%}.col-sm-4{width:33.33333333333333%}.col-sm-3{width:25%}.col-sm-2{width:16.666666666666664%}.col-sm-1{width:8.333333333333332%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666666666666%}.col-sm-pull-10{right:83.33333333333334%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666666666666%}.col-sm-pull-7{right:58.333333333333336%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666666666667%}.col-sm-pull-4{right:33.33333333333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.666666666666664%}.col-sm-pull-1{right:8.333333333333332%}.col-sm-pull-0{right:0}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666666666666%}.col-sm-push-10{left:83.33333333333334%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666666666666%}.col-sm-push-7{left:58.333333333333336%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666666666667%}.col-sm-push-4{left:33.33333333333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.666666666666664%}.col-sm-push-1{left:8.333333333333332%}.col-sm-push-0{left:0}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666666666666%}.col-sm-offset-10{margin-left:83.33333333333334%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666666666666%}.col-sm-offset-7{margin-left:58.333333333333336%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666666666667%}.col-sm-offset-4{margin-left:33.33333333333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.666666666666664%}.col-sm-offset-1{margin-left:8.333333333333332%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666666666666%}.col-md-10{width:83.33333333333334%}.col-md-9{width:75%}.col-md-8{width:66.66666666666666%}.col-md-7{width:58.333333333333336%}.col-md-6{width:50%}.col-md-5{width:41.66666666666667%}.col-md-4{width:33.33333333333333%}.col-md-3{width:25%}.col-md-2{width:16.666666666666664%}.col-md-1{width:8.333333333333332%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666666666666%}.col-md-pull-10{right:83.33333333333334%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666666666666%}.col-md-pull-7{right:58.333333333333336%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666666666667%}.col-md-pull-4{right:33.33333333333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.666666666666664%}.col-md-pull-1{right:8.333333333333332%}.col-md-pull-0{right:0}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666666666666%}.col-md-push-10{left:83.33333333333334%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666666666666%}.col-md-push-7{left:58.333333333333336%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666666666667%}.col-md-push-4{left:33.33333333333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.666666666666664%}.col-md-push-1{left:8.333333333333332%}.col-md-push-0{left:0}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666666666666%}.col-md-offset-10{margin-left:83.33333333333334%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666666666666%}.col-md-offset-7{margin-left:58.333333333333336%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666666666667%}.col-md-offset-4{margin-left:33.33333333333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.666666666666664%}.col-md-offset-1{margin-left:8.333333333333332%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666666666666%}.col-lg-10{width:83.33333333333334%}.col-lg-9{width:75%}.col-lg-8{width:66.66666666666666%}.col-lg-7{width:58.333333333333336%}.col-lg-6{width:50%}.col-lg-5{width:41.66666666666667%}.col-lg-4{width:33.33333333333333%}.col-lg-3{width:25%}.col-lg-2{width:16.666666666666664%}.col-lg-1{width:8.333333333333332%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666666666666%}.col-lg-pull-10{right:83.33333333333334%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666666666666%}.col-lg-pull-7{right:58.333333333333336%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666666666667%}.col-lg-pull-4{right:33.33333333333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.666666666666664%}.col-lg-pull-1{right:8.333333333333332%}.col-lg-pull-0{right:0}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666666666666%}.col-lg-push-10{left:83.33333333333334%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666666666666%}.col-lg-push-7{left:58.333333333333336%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666666666667%}.col-lg-push-4{left:33.33333333333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.666666666666664%}.col-lg-push-1{left:8.333333333333332%}.col-lg-push-0{left:0}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666666666666%}.col-lg-offset-10{margin-left:83.33333333333334%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666666666666%}.col-lg-offset-7{margin-left:58.333333333333336%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666666666667%}.col-lg-offset-4{margin-left:33.33333333333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.666666666666664%}.col-lg-offset-1{margin-left:8.333333333333332%}.col-lg-offset-0{margin-left:0}}.factory-bootstrap-426 table{max-width:100%;background-color:transparent}.factory-bootstrap-426 th{text-align:left}.factory-bootstrap-426 .table{width:100%;margin-bottom:20px}.factory-bootstrap-426 .table>tbody>tr>td,.factory-bootstrap-426 .table>tbody>tr>th,.factory-bootstrap-426 .table>tfoot>tr>td,.factory-bootstrap-426 .table>tfoot>tr>th,.factory-bootstrap-426 .table>thead>tr>td,.factory-bootstrap-426 .table>thead>tr>th{padding:8px;line-height:1.428571429;vertical-align:top;border-top:1px solid #ddd}.factory-bootstrap-426 .table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.factory-bootstrap-426 .table>caption+thead>tr:first-child>td,.factory-bootstrap-426 .table>caption+thead>tr:first-child>th,.factory-bootstrap-426 .table>colgroup+thead>tr:first-child>td,.factory-bootstrap-426 .table>colgroup+thead>tr:first-child>th,.factory-bootstrap-426 .table>thead:first-child>tr:first-child>td,.factory-bootstrap-426 .table>thead:first-child>tr:first-child>th{border-top:0}.factory-bootstrap-426 .table>tbody+tbody{border-top:2px solid #ddd}.factory-bootstrap-426 .table .table{background-color:#fff}.factory-bootstrap-426 .table-condensed>tbody>tr>td,.factory-bootstrap-426 .table-condensed>tbody>tr>th,.factory-bootstrap-426 .table-condensed>tfoot>tr>td,.factory-bootstrap-426 .table-condensed>tfoot>tr>th,.factory-bootstrap-426 .table-condensed>thead>tr>td,.factory-bootstrap-426 .table-condensed>thead>tr>th{padding:5px}.factory-bootstrap-426 .table-bordered,.factory-bootstrap-426 .table-bordered>tbody>tr>td,.factory-bootstrap-426 .table-bordered>tbody>tr>th,.factory-bootstrap-426 .table-bordered>tfoot>tr>td,.factory-bootstrap-426 .table-bordered>tfoot>tr>th,.factory-bootstrap-426 .table-bordered>thead>tr>td,.factory-bootstrap-426 .table-bordered>thead>tr>th{border:1px solid #ddd}.factory-bootstrap-426 .table-bordered>thead>tr>td,.factory-bootstrap-426 .table-bordered>thead>tr>th{border-bottom-width:2px}.factory-bootstrap-426 .table-striped>tbody>tr:nth-child(odd)>td,.factory-bootstrap-426 .table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.factory-bootstrap-426 .table-hover>tbody>tr:hover>td,.factory-bootstrap-426 .table-hover>tbody>tr:hover>th{background-color:#f5f5f5}.factory-bootstrap-426 table col[class*=col-]{position:static;display:table-column;float:none}.factory-bootstrap-426 table td[class*=col-],.factory-bootstrap-426 table th[class*=col-]{display:table-cell;float:none}.factory-bootstrap-426 .table>tbody>.active>td,.factory-bootstrap-426 .table>tbody>.active>th,.factory-bootstrap-426 .table>tbody>tr>.active,.factory-bootstrap-426 .table>tfoot>.active>td,.factory-bootstrap-426 .table>tfoot>.active>th,.factory-bootstrap-426 .table>tfoot>tr>.active,.factory-bootstrap-426 .table>thead>.active>td,.factory-bootstrap-426 .table>thead>.active>th,.factory-bootstrap-426 .table>thead>tr>.active{background-color:#f5f5f5}.factory-bootstrap-426 .table-hover>tbody>.active:hover>td,.factory-bootstrap-426 .table-hover>tbody>.active:hover>th,.factory-bootstrap-426 .table-hover>tbody>tr>.active:hover{background-color:#e8e8e8}.factory-bootstrap-426 .table>tbody>.success>td,.factory-bootstrap-426 .table>tbody>.success>th,.factory-bootstrap-426 .table>tbody>tr>.success,.factory-bootstrap-426 .table>tfoot>.success>td,.factory-bootstrap-426 .table>tfoot>.success>th,.factory-bootstrap-426 .table>tfoot>tr>.success,.factory-bootstrap-426 .table>thead>.success>td,.factory-bootstrap-426 .table>thead>.success>th,.factory-bootstrap-426 .table>thead>tr>.success{background-color:#dff0d8}.factory-bootstrap-426 .table-hover>tbody>.success:hover>td,.factory-bootstrap-426 .table-hover>tbody>.success:hover>th,.factory-bootstrap-426 .table-hover>tbody>tr>.success:hover{background-color:#d0e9c6}.factory-bootstrap-426 .table>tbody>.danger>td,.factory-bootstrap-426 .table>tbody>.danger>th,.factory-bootstrap-426 .table>tbody>tr>.danger,.factory-bootstrap-426 .table>tfoot>.danger>td,.factory-bootstrap-426 .table>tfoot>.danger>th,.factory-bootstrap-426 .table>tfoot>tr>.danger,.factory-bootstrap-426 .table>thead>.danger>td,.factory-bootstrap-426 .table>thead>.danger>th,.factory-bootstrap-426 .table>thead>tr>.danger{background-color:#f2dede}.factory-bootstrap-426 .table-hover>tbody>.danger:hover>td,.factory-bootstrap-426 .table-hover>tbody>.danger:hover>th,.factory-bootstrap-426 .table-hover>tbody>tr>.danger:hover{background-color:#ebcccc}.factory-bootstrap-426 .table>tbody>.warning>td,.factory-bootstrap-426 .table>tbody>.warning>th,.factory-bootstrap-426 .table>tbody>tr>.warning,.factory-bootstrap-426 .table>tfoot>.warning>td,.factory-bootstrap-426 .table>tfoot>.warning>th,.factory-bootstrap-426 .table>tfoot>tr>.warning,.factory-bootstrap-426 .table>thead>.warning>td,.factory-bootstrap-426 .table>thead>.warning>th,.factory-bootstrap-426 .table>thead>tr>.warning{background-color:#fcf8e3}.factory-bootstrap-426 .table-hover>tbody>.warning:hover>td,.factory-bootstrap-426 .table-hover>tbody>.warning:hover>th,.factory-bootstrap-426 .table-hover>tbody>tr>.warning:hover{background-color:#faf2cc}@media (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #ddd;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}.factory-bootstrap-426 fieldset{padding:0;margin:0;border:0}.factory-bootstrap-426 legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5;-moz-box-sizing:content-box;box-sizing:content-box}.factory-bootstrap-426 label{display:inline-block;margin-bottom:5px;font-weight:700}.factory-bootstrap-426 input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.factory-bootstrap-426 input[type=checkbox],.factory-bootstrap-426 input[type=radio]{margin:4px 0 0;margin-top:1px \9;line-height:normal}.factory-bootstrap-426 input[type=file]{display:block}.factory-bootstrap-426 select[multiple],.factory-bootstrap-426 select[size]{height:auto}.factory-bootstrap-426 select optgroup{font-family:inherit;font-size:inherit;font-style:inherit}.factory-bootstrap-426 input[type=checkbox]:focus,.factory-bootstrap-426 input[type=file]:focus,.factory-bootstrap-426 input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.factory-bootstrap-426 input[type=number]::-webkit-inner-spin-button,.factory-bootstrap-426 input[type=number]::-webkit-outer-spin-button{height:auto}.factory-bootstrap-426 output{display:block;padding-top:7px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle}.factory-bootstrap-426 .form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:3px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.factory-bootstrap-426 .form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-426 .form-control:-moz-placeholder{color:#999}.factory-bootstrap-426 .form-control::-moz-placeholder{color:#999;opacity:1}.factory-bootstrap-426 .form-control:-ms-input-placeholder{color:#999}.factory-bootstrap-426 .form-control::-webkit-input-placeholder{color:#999}.factory-bootstrap-426 .form-control[disabled],.factory-bootstrap-426 .form-control[readonly],.factory-bootstrap-426 fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee}.factory-bootstrap-426 textarea.form-control{height:auto}.factory-bootstrap-426 .form-group{margin-bottom:15px}.factory-bootstrap-426 .checkbox,.factory-bootstrap-426 .radio{display:block;min-height:20px;padding-left:20px;margin-top:10px;margin-bottom:10px;vertical-align:middle}.factory-bootstrap-426 .checkbox label,.factory-bootstrap-426 .radio label{display:inline;margin-bottom:0;font-weight:400;cursor:pointer}.factory-bootstrap-426 .checkbox input[type=checkbox],.factory-bootstrap-426 .checkbox-inline input[type=checkbox],.factory-bootstrap-426 .radio input[type=radio],.factory-bootstrap-426 .radio-inline input[type=radio]{float:left;margin-left:-20px}.factory-bootstrap-426 .checkbox+.checkbox,.factory-bootstrap-426 .radio+.radio{margin-top:-5px}.factory-bootstrap-426 .checkbox-inline,.factory-bootstrap-426 .radio-inline{display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.factory-bootstrap-426 .checkbox-inline+.checkbox-inline,.factory-bootstrap-426 .radio-inline+.radio-inline{margin-top:0;margin-left:10px}.factory-bootstrap-426 .checkbox-inline[disabled],.factory-bootstrap-426 .checkbox[disabled],.factory-bootstrap-426 .radio-inline[disabled],.factory-bootstrap-426 .radio[disabled],.factory-bootstrap-426 fieldset[disabled] .checkbox,.factory-bootstrap-426 fieldset[disabled] .checkbox-inline,.factory-bootstrap-426 fieldset[disabled] .radio,.factory-bootstrap-426 fieldset[disabled] .radio-inline,.factory-bootstrap-426 fieldset[disabled] input[type=checkbox],.factory-bootstrap-426 fieldset[disabled] input[type=radio],.factory-bootstrap-426 input[type=checkbox][disabled],.factory-bootstrap-426 input[type=radio][disabled]{cursor:not-allowed}.factory-bootstrap-426 .input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-426 select.input-sm{height:30px;line-height:30px}.factory-bootstrap-426 textarea.input-sm{height:auto}.factory-bootstrap-426 .input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-426 select.input-lg{height:46px;line-height:46px}.factory-bootstrap-426 textarea.input-lg{height:auto}.factory-bootstrap-426 .has-warning .checkbox,.factory-bootstrap-426 .has-warning .checkbox-inline,.factory-bootstrap-426 .has-warning .control-label,.factory-bootstrap-426 .has-warning .help-block,.factory-bootstrap-426 .has-warning .radio,.factory-bootstrap-426 .has-warning .radio-inline{color:#8a6d3b}.factory-bootstrap-426 .has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-426 .has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.factory-bootstrap-426 .has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.factory-bootstrap-426 .has-error .checkbox,.factory-bootstrap-426 .has-error .checkbox-inline,.factory-bootstrap-426 .has-error .control-label,.factory-bootstrap-426 .has-error .help-block,.factory-bootstrap-426 .has-error .radio,.factory-bootstrap-426 .has-error .radio-inline{color:#a94442}.factory-bootstrap-426 .controls{display:block}.factory-bootstrap-426 .has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-426 .has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.factory-bootstrap-426 .has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.factory-bootstrap-426 .has-success .checkbox,.factory-bootstrap-426 .has-success .checkbox-inline,.factory-bootstrap-426 .has-success .control-label,.factory-bootstrap-426 .has-success .help-block,.factory-bootstrap-426 .has-success .radio,.factory-bootstrap-426 .has-success .radio-inline{color:#3c763d}.factory-bootstrap-426 .has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-426 .has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.factory-bootstrap-426 .has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.factory-bootstrap-426 .form-control-static{margin-bottom:0}.factory-bootstrap-426 .help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373;font-weight:400}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block}.form-inline select.form-control{width:auto}.form-inline .checkbox,.form-inline .radio{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{float:none;margin-left:0}}.factory-bootstrap-426 .form-horizontal .checkbox,.factory-bootstrap-426 .form-horizontal .checkbox-inline,.factory-bootstrap-426 .form-horizontal .control-label,.factory-bootstrap-426 .form-horizontal .radio,.factory-bootstrap-426 .form-horizontal .radio-inline{position:relative;padding-top:7px;margin-top:0;margin-bottom:0}.factory-bootstrap-426 .form-horizontal .control-label{max-width:200px}.factory-bootstrap-426 .form-horizontal .checkbox,.factory-bootstrap-426 .form-horizontal .radio{min-height:27px}.factory-bootstrap-426 .form-horizontal .form-group{margin-right:-15px;margin-left:-15px}.factory-bootstrap-426 .form-horizontal .form-group:after,.factory-bootstrap-426 .form-horizontal .form-group:before{display:table;content:" "}.factory-bootstrap-426 .form-horizontal .form-group:after{clear:both}.factory-bootstrap-426 .form-horizontal .form-control-static{padding-top:7px}@media (min-width:768px){.form-horizontal .control-label{text-align:right}}.factory-bootstrap-426 .btn{display:inline-block;padding:5px 12px;margin-bottom:0;font-size:13px;font-weight:400;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;border-radius:3px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.factory-bootstrap-426 .btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.factory-bootstrap-426 .btn{text-decoration:none}.factory-bootstrap-426 .btn:focus,.factory-bootstrap-426 .btn:hover{color:#333;text-decoration:none}.factory-bootstrap-426 .btn.disabled,.factory-bootstrap-426 .btn[disabled],.factory-bootstrap-426 fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.factory-bootstrap-426 .btn-default.active,.factory-bootstrap-426 .btn-default:active,.factory-bootstrap-426 .btn-default:focus,.factory-bootstrap-426 .btn-default:hover,.factory-bootstrap-426 .open .dropdown-toggle.btn-default{background:#fafafa;border-color:#999;color:#222}.factory-bootstrap-426 .btn-default.active,.factory-bootstrap-426 .btn-default:active,.factory-bootstrap-426 .open .dropdown-toggle.btn-default{background-image:none}.factory-bootstrap-426 .btn-default.disabled,.factory-bootstrap-426 .btn-default.disabled.active,.factory-bootstrap-426 .btn-default.disabled:active,.factory-bootstrap-426 .btn-default.disabled:focus,.factory-bootstrap-426 .btn-default.disabled:hover,.factory-bootstrap-426 .btn-default[disabled],.factory-bootstrap-426 .btn-default[disabled].active,.factory-bootstrap-426 .btn-default[disabled]:active,.factory-bootstrap-426 .btn-default[disabled]:focus,.factory-bootstrap-426 .btn-default[disabled]:hover,.factory-bootstrap-426 fieldset[disabled] .btn-default,.factory-bootstrap-426 fieldset[disabled] .btn-default.active,.factory-bootstrap-426 fieldset[disabled] .btn-default:active,.factory-bootstrap-426 fieldset[disabled] .btn-default:focus,.factory-bootstrap-426 fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.factory-bootstrap-426 .btn-default .badge{color:#fff;background-color:#fff}.factory-bootstrap-426 .btn-primary.active,.factory-bootstrap-426 .btn-primary:active,.factory-bootstrap-426 .btn-primary:focus,.factory-bootstrap-426 .btn-primary:hover,.factory-bootstrap-426 .open .dropdown-toggle.btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.factory-bootstrap-426 .btn-primary.active,.factory-bootstrap-426 .btn-primary:active,.factory-bootstrap-426 .open .dropdown-toggle.btn-primary{background-image:none}.factory-bootstrap-426 .btn-primary.disabled,.factory-bootstrap-426 .btn-primary.disabled.active,.factory-bootstrap-426 .btn-primary.disabled:active,.factory-bootstrap-426 .btn-primary.disabled:focus,.factory-bootstrap-426 .btn-primary.disabled:hover,.factory-bootstrap-426 .btn-primary[disabled],.factory-bootstrap-426 .btn-primary[disabled].active,.factory-bootstrap-426 .btn-primary[disabled]:active,.factory-bootstrap-426 .btn-primary[disabled]:focus,.factory-bootstrap-426 .btn-primary[disabled]:hover,.factory-bootstrap-426 fieldset[disabled] .btn-primary,.factory-bootstrap-426 fieldset[disabled] .btn-primary.active,.factory-bootstrap-426 fieldset[disabled] .btn-primary:active,.factory-bootstrap-426 fieldset[disabled] .btn-primary:focus,.factory-bootstrap-426 fieldset[disabled] .btn-primary:hover{background-color:#428bca;border-color:#357ebd}.factory-bootstrap-426 .btn-primary .badge{color:#428bca;background-color:#fff}.factory-bootstrap-426 .btn-warning{color:#fff;background-color:#f0ad4e}.factory-bootstrap-426 .btn-warning.active,.factory-bootstrap-426 .btn-warning:active,.factory-bootstrap-426 .btn-warning:focus,.factory-bootstrap-426 .btn-warning:hover,.factory-bootstrap-426 .open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.factory-bootstrap-426 .btn-warning.active,.factory-bootstrap-426 .btn-warning:active,.factory-bootstrap-426 .open .dropdown-toggle.btn-warning{background-image:none}.factory-bootstrap-426 .btn-warning.disabled,.factory-bootstrap-426 .btn-warning.disabled.active,.factory-bootstrap-426 .btn-warning.disabled:active,.factory-bootstrap-426 .btn-warning.disabled:focus,.factory-bootstrap-426 .btn-warning.disabled:hover,.factory-bootstrap-426 .btn-warning[disabled],.factory-bootstrap-426 .btn-warning[disabled].active,.factory-bootstrap-426 .btn-warning[disabled]:active,.factory-bootstrap-426 .btn-warning[disabled]:focus,.factory-bootstrap-426 .btn-warning[disabled]:hover,.factory-bootstrap-426 fieldset[disabled] .btn-warning,.factory-bootstrap-426 fieldset[disabled] .btn-warning.active,.factory-bootstrap-426 fieldset[disabled] .btn-warning:active,.factory-bootstrap-426 fieldset[disabled] .btn-warning:focus,.factory-bootstrap-426 fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.factory-bootstrap-426 .btn-warning .badge{color:#f0ad4e;background-color:#fff}.factory-bootstrap-426 .btn-success{color:#fff;background-color:#5cb85c}.factory-bootstrap-426 .btn-success.active,.factory-bootstrap-426 .btn-success:active,.factory-bootstrap-426 .btn-success:focus,.factory-bootstrap-426 .btn-success:hover,.factory-bootstrap-426 .open .dropdown-toggle.btn-success{color:#fff;background-color:#47a447;border-color:#398439}.factory-bootstrap-426 .btn-success.active,.factory-bootstrap-426 .btn-success:active,.factory-bootstrap-426 .open .dropdown-toggle.btn-success{background-image:none}.factory-bootstrap-426 .btn-success.disabled,.factory-bootstrap-426 .btn-success.disabled.active,.factory-bootstrap-426 .btn-success.disabled:active,.factory-bootstrap-426 .btn-success.disabled:focus,.factory-bootstrap-426 .btn-success.disabled:hover,.factory-bootstrap-426 .btn-success[disabled],.factory-bootstrap-426 .btn-success[disabled].active,.factory-bootstrap-426 .btn-success[disabled]:active,.factory-bootstrap-426 .btn-success[disabled]:focus,.factory-bootstrap-426 .btn-success[disabled]:hover,.factory-bootstrap-426 fieldset[disabled] .btn-success,.factory-bootstrap-426 fieldset[disabled] .btn-success.active,.factory-bootstrap-426 fieldset[disabled] .btn-success:active,.factory-bootstrap-426 fieldset[disabled] .btn-success:focus,.factory-bootstrap-426 fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.factory-bootstrap-426 .btn-success .badge{color:#5cb85c;background-color:#fff}.factory-bootstrap-426 .btn-info{color:#fff;background-color:#5bc0de}.factory-bootstrap-426 .btn-info.active,.factory-bootstrap-426 .btn-info:active,.factory-bootstrap-426 .btn-info:focus,.factory-bootstrap-426 .btn-info:hover,.factory-bootstrap-426 .open .dropdown-toggle.btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.factory-bootstrap-426 .btn-info.active,.factory-bootstrap-426 .btn-info:active,.factory-bootstrap-426 .open .dropdown-toggle.btn-info{background-image:none}.factory-bootstrap-426 .btn-info.disabled,.factory-bootstrap-426 .btn-info.disabled.active,.factory-bootstrap-426 .btn-info.disabled:active,.factory-bootstrap-426 .btn-info.disabled:focus,.factory-bootstrap-426 .btn-info.disabled:hover,.factory-bootstrap-426 .btn-info[disabled],.factory-bootstrap-426 .btn-info[disabled].active,.factory-bootstrap-426 .btn-info[disabled]:active,.factory-bootstrap-426 .btn-info[disabled]:focus,.factory-bootstrap-426 .btn-info[disabled]:hover,.factory-bootstrap-426 fieldset[disabled] .btn-info,.factory-bootstrap-426 fieldset[disabled] .btn-info.active,.factory-bootstrap-426 fieldset[disabled] .btn-info:active,.factory-bootstrap-426 fieldset[disabled] .btn-info:focus,.factory-bootstrap-426 fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.factory-bootstrap-426 .btn-info .badge{color:#5bc0de;background-color:#fff}.factory-bootstrap-426 .btn-link{font-weight:400;color:#428bca;cursor:pointer;border-radius:0}.factory-bootstrap-426 .btn-link,.factory-bootstrap-426 .btn-link:active,.factory-bootstrap-426 .btn-link[disabled],.factory-bootstrap-426 fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.factory-bootstrap-426 .btn-link,.factory-bootstrap-426 .btn-link:active,.factory-bootstrap-426 .btn-link:focus,.factory-bootstrap-426 .btn-link:hover{border-color:transparent}.factory-bootstrap-426 .btn-link:focus,.factory-bootstrap-426 .btn-link:hover{color:#2a6496;text-decoration:underline;background-color:transparent}.factory-bootstrap-426 .btn-link[disabled]:focus,.factory-bootstrap-426 .btn-link[disabled]:hover,.factory-bootstrap-426 fieldset[disabled] .btn-link:focus,.factory-bootstrap-426 fieldset[disabled] .btn-link:hover{color:#999;text-decoration:none}.factory-bootstrap-426 .btn-lg{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-426 .btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-426 .btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-426 .btn-block{display:block;width:100%;padding-right:0;padding-left:0}.factory-bootstrap-426 .btn-block+.btn-block{margin-top:5px}.factory-bootstrap-426 input[type=button].btn-block,.factory-bootstrap-426 input[type=reset].btn-block,.factory-bootstrap-426 input[type=submit].btn-block{width:100%}.factory-bootstrap-426 .fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.factory-bootstrap-426 .fade.in{opacity:1}.factory-bootstrap-426 .collapse{display:none}.factory-bootstrap-426 .collapse.in{display:block}.factory-bootstrap-426 .collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular) format('svg')}.factory-bootstrap-426 .glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';-webkit-font-smoothing:antialiased;font-style:normal;font-weight:400;line-height:1;-moz-osx-font-smoothing:grayscale}.factory-bootstrap-426 .glyphicon:empty{width:1em}.factory-bootstrap-426 .glyphicon-asterisk:before{content:"\2a"}.factory-bootstrap-426 .glyphicon-plus:before{content:"\2b"}.factory-bootstrap-426 .glyphicon-euro:before{content:"\20ac"}.factory-bootstrap-426 .glyphicon-minus:before{content:"\2212"}.factory-bootstrap-426 .glyphicon-cloud:before{content:"\2601"}.factory-bootstrap-426 .glyphicon-envelope:before{content:"\2709"}.factory-bootstrap-426 .glyphicon-pencil:before{content:"\270f"}.factory-bootstrap-426 .glyphicon-glass:before{content:"\e001"}.factory-bootstrap-426 .glyphicon-music:before{content:"\e002"}.factory-bootstrap-426 .glyphicon-search:before{content:"\e003"}.factory-bootstrap-426 .glyphicon-heart:before{content:"\e005"}.factory-bootstrap-426 .glyphicon-star:before{content:"\e006"}.factory-bootstrap-426 .glyphicon-star-empty:before{content:"\e007"}.factory-bootstrap-426 .glyphicon-user:before{content:"\e008"}.factory-bootstrap-426 .glyphicon-film:before{content:"\e009"}.factory-bootstrap-426 .glyphicon-th-large:before{content:"\e010"}.factory-bootstrap-426 .glyphicon-th:before{content:"\e011"}.factory-bootstrap-426 .glyphicon-th-list:before{content:"\e012"}.factory-bootstrap-426 .glyphicon-ok:before{content:"\e013"}.factory-bootstrap-426 .glyphicon-remove:before{content:"\e014"}.factory-bootstrap-426 .glyphicon-zoom-in:before{content:"\e015"}.factory-bootstrap-426 .glyphicon-zoom-out:before{content:"\e016"}.factory-bootstrap-426 .glyphicon-off:before{content:"\e017"}.factory-bootstrap-426 .glyphicon-signal:before{content:"\e018"}.factory-bootstrap-426 .glyphicon-cog:before{content:"\e019"}.factory-bootstrap-426 .glyphicon-trash:before{content:"\e020"}.factory-bootstrap-426 .glyphicon-home:before{content:"\e021"}.factory-bootstrap-426 .glyphicon-file:before{content:"\e022"}.factory-bootstrap-426 .glyphicon-time:before{content:"\e023"}.factory-bootstrap-426 .glyphicon-road:before{content:"\e024"}.factory-bootstrap-426 .glyphicon-download-alt:before{content:"\e025"}.factory-bootstrap-426 .glyphicon-download:before{content:"\e026"}.factory-bootstrap-426 .glyphicon-upload:before{content:"\e027"}.factory-bootstrap-426 .glyphicon-inbox:before{content:"\e028"}.factory-bootstrap-426 .glyphicon-play-circle:before{content:"\e029"}.factory-bootstrap-426 .glyphicon-repeat:before{content:"\e030"}.factory-bootstrap-426 .glyphicon-refresh:before{content:"\e031"}.factory-bootstrap-426 .glyphicon-list-alt:before{content:"\e032"}.factory-bootstrap-426 .glyphicon-lock:before{content:"\e033"}.factory-bootstrap-426 .glyphicon-flag:before{content:"\e034"}.factory-bootstrap-426 .glyphicon-headphones:before{content:"\e035"}.factory-bootstrap-426 .glyphicon-volume-off:before{content:"\e036"}.factory-bootstrap-426 .glyphicon-volume-down:before{content:"\e037"}.factory-bootstrap-426 .glyphicon-volume-up:before{content:"\e038"}.factory-bootstrap-426 .glyphicon-qrcode:before{content:"\e039"}.factory-bootstrap-426 .glyphicon-barcode:before{content:"\e040"}.factory-bootstrap-426 .glyphicon-tag:before{content:"\e041"}.factory-bootstrap-426 .glyphicon-tags:before{content:"\e042"}.factory-bootstrap-426 .glyphicon-book:before{content:"\e043"}.factory-bootstrap-426 .glyphicon-bookmark:before{content:"\e044"}.factory-bootstrap-426 .glyphicon-print:before{content:"\e045"}.factory-bootstrap-426 .glyphicon-camera:before{content:"\e046"}.factory-bootstrap-426 .glyphicon-font:before{content:"\e047"}.factory-bootstrap-426 .glyphicon-bold:before{content:"\e048"}.factory-bootstrap-426 .glyphicon-italic:before{content:"\e049"}.factory-bootstrap-426 .glyphicon-text-height:before{content:"\e050"}.factory-bootstrap-426 .glyphicon-text-width:before{content:"\e051"}.factory-bootstrap-426 .glyphicon-align-left:before{content:"\e052"}.factory-bootstrap-426 .glyphicon-align-center:before{content:"\e053"}.factory-bootstrap-426 .glyphicon-align-right:before{content:"\e054"}.factory-bootstrap-426 .glyphicon-align-justify:before{content:"\e055"}.factory-bootstrap-426 .glyphicon-list:before{content:"\e056"}.factory-bootstrap-426 .glyphicon-indent-left:before{content:"\e057"}.factory-bootstrap-426 .glyphicon-indent-right:before{content:"\e058"}.factory-bootstrap-426 .glyphicon-facetime-video:before{content:"\e059"}.factory-bootstrap-426 .glyphicon-picture:before{content:"\e060"}.factory-bootstrap-426 .glyphicon-map-marker:before{content:"\e062"}.factory-bootstrap-426 .glyphicon-adjust:before{content:"\e063"}.factory-bootstrap-426 .glyphicon-tint:before{content:"\e064"}.factory-bootstrap-426 .glyphicon-edit:before{content:"\e065"}.factory-bootstrap-426 .glyphicon-share:before{content:"\e066"}.factory-bootstrap-426 .glyphicon-check:before{content:"\e067"}.factory-bootstrap-426 .glyphicon-move:before{content:"\e068"}.factory-bootstrap-426 .glyphicon-step-backward:before{content:"\e069"}.factory-bootstrap-426 .glyphicon-fast-backward:before{content:"\e070"}.factory-bootstrap-426 .glyphicon-backward:before{content:"\e071"}.factory-bootstrap-426 .glyphicon-play:before{content:"\e072"}.factory-bootstrap-426 .glyphicon-pause:before{content:"\e073"}.factory-bootstrap-426 .glyphicon-stop:before{content:"\e074"}.factory-bootstrap-426 .glyphicon-forward:before{content:"\e075"}.factory-bootstrap-426 .glyphicon-fast-forward:before{content:"\e076"}.factory-bootstrap-426 .glyphicon-step-forward:before{content:"\e077"}.factory-bootstrap-426 .glyphicon-eject:before{content:"\e078"}.factory-bootstrap-426 .glyphicon-chevron-left:before{content:"\e079"}.factory-bootstrap-426 .glyphicon-chevron-right:before{content:"\e080"}.factory-bootstrap-426 .glyphicon-plus-sign:before{content:"\e081"}.factory-bootstrap-426 .glyphicon-minus-sign:before{content:"\e082"}.factory-bootstrap-426 .glyphicon-remove-sign:before{content:"\e083"}.factory-bootstrap-426 .glyphicon-ok-sign:before{content:"\e084"}.factory-bootstrap-426 .glyphicon-question-sign:before{content:"\e085"}.factory-bootstrap-426 .glyphicon-info-sign:before{content:"\e086"}.factory-bootstrap-426 .glyphicon-screenshot:before{content:"\e087"}.factory-bootstrap-426 .glyphicon-remove-circle:before{content:"\e088"}.factory-bootstrap-426 .glyphicon-ok-circle:before{content:"\e089"}.factory-bootstrap-426 .glyphicon-ban-circle:before{content:"\e090"}.factory-bootstrap-426 .glyphicon-arrow-left:before{content:"\e091"}.factory-bootstrap-426 .glyphicon-arrow-right:before{content:"\e092"}.factory-bootstrap-426 .glyphicon-arrow-up:before{content:"\e093"}.factory-bootstrap-426 .glyphicon-arrow-down:before{content:"\e094"}.factory-bootstrap-426 .glyphicon-share-alt:before{content:"\e095"}.factory-bootstrap-426 .glyphicon-resize-full:before{content:"\e096"}.factory-bootstrap-426 .glyphicon-resize-small:before{content:"\e097"}.factory-bootstrap-426 .glyphicon-exclamation-sign:before{content:"\e101"}.factory-bootstrap-426 .glyphicon-gift:before{content:"\e102"}.factory-bootstrap-426 .glyphicon-leaf:before{content:"\e103"}.factory-bootstrap-426 .glyphicon-fire:before{content:"\e104"}.factory-bootstrap-426 .glyphicon-eye-open:before{content:"\e105"}.factory-bootstrap-426 .glyphicon-eye-close:before{content:"\e106"}.factory-bootstrap-426 .glyphicon-warning-sign:before{content:"\e107"}.factory-bootstrap-426 .glyphicon-plane:before{content:"\e108"}.factory-bootstrap-426 .glyphicon-calendar:before{content:"\e109"}.factory-bootstrap-426 .glyphicon-random:before{content:"\e110"}.factory-bootstrap-426 .glyphicon-comment:before{content:"\e111"}.factory-bootstrap-426 .glyphicon-magnet:before{content:"\e112"}.factory-bootstrap-426 .glyphicon-chevron-up:before{content:"\e113"}.factory-bootstrap-426 .glyphicon-chevron-down:before{content:"\e114"}.factory-bootstrap-426 .glyphicon-retweet:before{content:"\e115"}.factory-bootstrap-426 .glyphicon-shopping-cart:before{content:"\e116"}.factory-bootstrap-426 .glyphicon-folder-close:before{content:"\e117"}.factory-bootstrap-426 .glyphicon-folder-open:before{content:"\e118"}.factory-bootstrap-426 .glyphicon-resize-vertical:before{content:"\e119"}.factory-bootstrap-426 .glyphicon-resize-horizontal:before{content:"\e120"}.factory-bootstrap-426 .glyphicon-hdd:before{content:"\e121"}.factory-bootstrap-426 .glyphicon-bullhorn:before{content:"\e122"}.factory-bootstrap-426 .glyphicon-bell:before{content:"\e123"}.factory-bootstrap-426 .glyphicon-certificate:before{content:"\e124"}.factory-bootstrap-426 .glyphicon-thumbs-up:before{content:"\e125"}.factory-bootstrap-426 .glyphicon-thumbs-down:before{content:"\e126"}.factory-bootstrap-426 .glyphicon-hand-right:before{content:"\e127"}.factory-bootstrap-426 .glyphicon-hand-left:before{content:"\e128"}.factory-bootstrap-426 .glyphicon-hand-up:before{content:"\e129"}.factory-bootstrap-426 .glyphicon-hand-down:before{content:"\e130"}.factory-bootstrap-426 .glyphicon-circle-arrow-right:before{content:"\e131"}.factory-bootstrap-426 .glyphicon-circle-arrow-left:before{content:"\e132"}.factory-bootstrap-426 .glyphicon-circle-arrow-up:before{content:"\e133"}.factory-bootstrap-426 .glyphicon-circle-arrow-down:before{content:"\e134"}.factory-bootstrap-426 .glyphicon-globe:before{content:"\e135"}.factory-bootstrap-426 .glyphicon-wrench:before{content:"\e136"}.factory-bootstrap-426 .glyphicon-tasks:before{content:"\e137"}.factory-bootstrap-426 .glyphicon-filter:before{content:"\e138"}.factory-bootstrap-426 .glyphicon-briefcase:before{content:"\e139"}.factory-bootstrap-426 .glyphicon-fullscreen:before{content:"\e140"}.factory-bootstrap-426 .glyphicon-dashboard:before{content:"\e141"}.factory-bootstrap-426 .glyphicon-paperclip:before{content:"\e142"}.factory-bootstrap-426 .glyphicon-heart-empty:before{content:"\e143"}.factory-bootstrap-426 .glyphicon-link:before{content:"\e144"}.factory-bootstrap-426 .glyphicon-phone:before{content:"\e145"}.factory-bootstrap-426 .glyphicon-pushpin:before{content:"\e146"}.factory-bootstrap-426 .glyphicon-usd:before{content:"\e148"}.factory-bootstrap-426 .glyphicon-gbp:before{content:"\e149"}.factory-bootstrap-426 .glyphicon-sort:before{content:"\e150"}.factory-bootstrap-426 .glyphicon-sort-by-alphabet:before{content:"\e151"}.factory-bootstrap-426 .glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.factory-bootstrap-426 .glyphicon-sort-by-order:before{content:"\e153"}.factory-bootstrap-426 .glyphicon-sort-by-order-alt:before{content:"\e154"}.factory-bootstrap-426 .glyphicon-sort-by-attributes:before{content:"\e155"}.factory-bootstrap-426 .glyphicon-sort-by-attributes-alt:before{content:"\e156"}.factory-bootstrap-426 .glyphicon-unchecked:before{content:"\e157"}.factory-bootstrap-426 .glyphicon-expand:before{content:"\e158"}.factory-bootstrap-426 .glyphicon-collapse-down:before{content:"\e159"}.factory-bootstrap-426 .glyphicon-collapse-up:before{content:"\e160"}.factory-bootstrap-426 .glyphicon-log-in:before{content:"\e161"}.factory-bootstrap-426 .glyphicon-flash:before{content:"\e162"}.factory-bootstrap-426 .glyphicon-log-out:before{content:"\e163"}.factory-bootstrap-426 .glyphicon-new-window:before{content:"\e164"}.factory-bootstrap-426 .glyphicon-record:before{content:"\e165"}.factory-bootstrap-426 .glyphicon-save:before{content:"\e166"}.factory-bootstrap-426 .glyphicon-open:before{content:"\e167"}.factory-bootstrap-426 .glyphicon-saved:before{content:"\e168"}.factory-bootstrap-426 .glyphicon-import:before{content:"\e169"}.factory-bootstrap-426 .glyphicon-export:before{content:"\e170"}.factory-bootstrap-426 .glyphicon-send:before{content:"\e171"}.factory-bootstrap-426 .glyphicon-floppy-disk:before{content:"\e172"}.factory-bootstrap-426 .glyphicon-floppy-saved:before{content:"\e173"}.factory-bootstrap-426 .glyphicon-floppy-remove:before{content:"\e174"}.factory-bootstrap-426 .glyphicon-floppy-save:before{content:"\e175"}.factory-bootstrap-426 .glyphicon-floppy-open:before{content:"\e176"}.factory-bootstrap-426 .glyphicon-credit-card:before{content:"\e177"}.factory-bootstrap-426 .glyphicon-transfer:before{content:"\e178"}.factory-bootstrap-426 .glyphicon-cutlery:before{content:"\e179"}.factory-bootstrap-426 .glyphicon-header:before{content:"\e180"}.factory-bootstrap-426 .glyphicon-compressed:before{content:"\e181"}.factory-bootstrap-426 .glyphicon-earphone:before{content:"\e182"}.factory-bootstrap-426 .glyphicon-phone-alt:before{content:"\e183"}.factory-bootstrap-426 .glyphicon-tower:before{content:"\e184"}.factory-bootstrap-426 .glyphicon-stats:before{content:"\e185"}.factory-bootstrap-426 .glyphicon-sd-video:before{content:"\e186"}.factory-bootstrap-426 .glyphicon-hd-video:before{content:"\e187"}.factory-bootstrap-426 .glyphicon-subtitles:before{content:"\e188"}.factory-bootstrap-426 .glyphicon-sound-stereo:before{content:"\e189"}.factory-bootstrap-426 .glyphicon-sound-dolby:before{content:"\e190"}.factory-bootstrap-426 .glyphicon-sound-5-1:before{content:"\e191"}.factory-bootstrap-426 .glyphicon-sound-6-1:before{content:"\e192"}.factory-bootstrap-426 .glyphicon-sound-7-1:before{content:"\e193"}.factory-bootstrap-426 .glyphicon-copyright-mark:before{content:"\e194"}.factory-bootstrap-426 .glyphicon-registration-mark:before{content:"\e195"}.factory-bootstrap-426 .glyphicon-cloud-download:before{content:"\e197"}.factory-bootstrap-426 .glyphicon-cloud-upload:before{content:"\e198"}.factory-bootstrap-426 .glyphicon-tree-conifer:before{content:"\e199"}.factory-bootstrap-426 .glyphicon-tree-deciduous:before{content:"\e200"}.factory-bootstrap-426 .caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.factory-bootstrap-426 .dropdown{position:relative}.factory-bootstrap-426 .dropdown-toggle:focus{outline:0}.factory-bootstrap-426 .dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);background-clip:padding-box}.factory-bootstrap-426 .dropdown-menu.pull-right{right:0;left:auto}.factory-bootstrap-426 .dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.factory-bootstrap-426 .dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.428571429;color:#333;white-space:nowrap}.factory-bootstrap-426 .dropdown-menu>li>a:focus,.factory-bootstrap-426 .dropdown-menu>li>a:hover{color:#262626;text-decoration:none}.factory-bootstrap-426 .dropdown-menu>.active>a,.factory-bootstrap-426 .dropdown-menu>.active>a:focus,.factory-bootstrap-426 .dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;outline:0}.factory-bootstrap-426 .dropdown-menu>.disabled>a,.factory-bootstrap-426 .dropdown-menu>.disabled>a:focus,.factory-bootstrap-426 .dropdown-menu>.disabled>a:hover{color:#999}.factory-bootstrap-426 .dropdown-menu>.disabled>a:focus,.factory-bootstrap-426 .dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-426 .open>.dropdown-menu{display:block}.factory-bootstrap-426 .open>a{outline:0}.factory-bootstrap-426 .dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.428571429;color:#999}.factory-bootstrap-426 .dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.factory-bootstrap-426 .pull-right>.dropdown-menu{right:0;left:auto}.factory-bootstrap-426 .dropup .caret,.factory-bootstrap-426 .navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid;content:""}.factory-bootstrap-426 .dropup .dropdown-menu,.factory-bootstrap-426 .navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}}.factory-bootstrap-426 .btn-group,.factory-bootstrap-426 .btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.factory-bootstrap-426 .btn-group-vertical>.btn,.factory-bootstrap-426 .btn-group>.btn{position:relative;float:left}.factory-bootstrap-426 .btn-group-vertical>.btn.active,.factory-bootstrap-426 .btn-group-vertical>.btn:active,.factory-bootstrap-426 .btn-group-vertical>.btn:focus,.factory-bootstrap-426 .btn-group-vertical>.btn:hover,.factory-bootstrap-426 .btn-group>.btn.active,.factory-bootstrap-426 .btn-group>.btn:active,.factory-bootstrap-426 .btn-group>.btn:focus,.factory-bootstrap-426 .btn-group>.btn:hover{z-index:2}.factory-bootstrap-426 .btn-group-vertical>.btn:focus,.factory-bootstrap-426 .btn-group>.btn:focus{outline:0}.factory-bootstrap-426 .btn-group .btn+.btn,.factory-bootstrap-426 .btn-group .btn+.btn-group,.factory-bootstrap-426 .btn-group .btn-group+.btn,.factory-bootstrap-426 .btn-group .btn-group+.btn-group{margin-left:-1px}.factory-bootstrap-426 .btn-toolbar:after,.factory-bootstrap-426 .btn-toolbar:before{display:table;content:" "}.factory-bootstrap-426 .btn-toolbar:after{clear:both}.factory-bootstrap-426 .btn-toolbar .btn-group{float:left}.factory-bootstrap-426 .btn-toolbar>.btn+.btn,.factory-bootstrap-426 .btn-toolbar>.btn+.btn-group,.factory-bootstrap-426 .btn-toolbar>.btn-group+.btn,.factory-bootstrap-426 .btn-toolbar>.btn-group+.btn-group{margin-left:5px}.factory-bootstrap-426 .btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.factory-bootstrap-426 .btn-group>.btn:first-child{margin-left:0}.factory-bootstrap-426 .btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.factory-bootstrap-426 .btn-group>.btn:last-child:not(:first-child),.factory-bootstrap-426 .btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.factory-bootstrap-426 .btn-group>.btn-group{float:left}.factory-bootstrap-426 .btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.factory-bootstrap-426 .btn-group>.btn-group:first-child>.btn:last-child,.factory-bootstrap-426 .btn-group>.btn-group:first-child>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.factory-bootstrap-426 .btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.factory-bootstrap-426 .btn-group .dropdown-toggle:active,.factory-bootstrap-426 .btn-group.open .dropdown-toggle{outline:0}.factory-bootstrap-426 .btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-426 .btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-426 .btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-426 .btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.factory-bootstrap-426 .btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.factory-bootstrap-426 .btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.factory-bootstrap-426 .btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.factory-bootstrap-426 .btn-group{border:4px solid #f9f9f9;border-radius:4px}.factory-bootstrap-426 .btn-group .btn.active.value{text-shadow:none;color:#fff;background-color:#33aad5;-webkit-box-shadow:inset 0 1px 1px #0074a2;box-shadow:inset 0 1px 3px #0074a2;border-top:1px solid #0074a2;border-bottom:1px solid #0074a2;border-left:1px solid #0074a2}.factory-bootstrap-426 .btn .caret{margin-left:0}.factory-bootstrap-426 .btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.factory-bootstrap-426 .dropup .btn-lg .caret{border-width:0 5px 5px}.factory-bootstrap-426 .btn-group-vertical>.btn,.factory-bootstrap-426 .btn-group-vertical>.btn-group,.factory-bootstrap-426 .btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.factory-bootstrap-426 .btn-group-vertical>.btn-group:after,.factory-bootstrap-426 .btn-group-vertical>.btn-group:before{display:table;content:" "}.factory-bootstrap-426 .btn-group-vertical>.btn-group:after{clear:both}.factory-bootstrap-426 .btn-group-vertical>.btn-group>.btn{float:none}.factory-bootstrap-426 .btn-group-vertical>.btn+.btn,.factory-bootstrap-426 .btn-group-vertical>.btn+.btn-group,.factory-bootstrap-426 .btn-group-vertical>.btn-group+.btn,.factory-bootstrap-426 .btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.factory-bootstrap-426 .btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.factory-bootstrap-426 .btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.factory-bootstrap-426 .btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-bottom-left-radius:4px;border-top-left-radius:0}.factory-bootstrap-426 .btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.factory-bootstrap-426 .btn-group-vertical>.btn-group:first-child>.btn:last-child,.factory-bootstrap-426 .btn-group-vertical>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.factory-bootstrap-426 .btn-group-vertical>.btn-group:last-child>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-426 .btn-group-justified{display:table;width:100%;border-collapse:separate;table-layout:fixed}.factory-bootstrap-426 .btn-group-justified>.btn,.factory-bootstrap-426 .btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.factory-bootstrap-426 .btn-group-justified>.btn-group .btn{width:100%}[data-toggle=buttons]>.btn>input[type=checkbox],[data-toggle=buttons]>.btn>input[type=radio]{display:none}.factory-bootstrap-426 .input-group{position:relative;display:table;border-collapse:separate}.factory-bootstrap-426 .input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.factory-bootstrap-426 .input-group .form-control{width:100%;margin-bottom:0}.factory-bootstrap-426 .input-group-lg>.form-control,.factory-bootstrap-426 .input-group-lg>.input-group-addon,.factory-bootstrap-426 .input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-426 select.input-group-lg>.form-control,.factory-bootstrap-426 select.input-group-lg>.input-group-addon,.factory-bootstrap-426 select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}.factory-bootstrap-426 textarea.input-group-lg>.form-control,.factory-bootstrap-426 textarea.input-group-lg>.input-group-addon,.factory-bootstrap-426 textarea.input-group-lg>.input-group-btn>.btn{height:auto}.factory-bootstrap-426 .input-group-sm>.form-control,.factory-bootstrap-426 .input-group-sm>.input-group-addon,.factory-bootstrap-426 .input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-426 select.input-group-sm>.form-control,.factory-bootstrap-426 select.input-group-sm>.input-group-addon,.factory-bootstrap-426 select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}.factory-bootstrap-426 textarea.input-group-sm>.form-control,.factory-bootstrap-426 textarea.input-group-sm>.input-group-addon,.factory-bootstrap-426 textarea.input-group-sm>.input-group-btn>.btn{height:auto}.factory-bootstrap-426 .input-group .form-control,.factory-bootstrap-426 .input-group-addon,.factory-bootstrap-426 .input-group-btn{display:table-cell}.factory-bootstrap-426 .input-group .form-control:not(:first-child):not(:last-child),.factory-bootstrap-426 .input-group-addon:not(:first-child):not(:last-child),.factory-bootstrap-426 .input-group-btn:not(:first-child):not(:last-child){border-radius:0}.factory-bootstrap-426 .input-group-addon,.factory-bootstrap-426 .input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.factory-bootstrap-426 .input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.factory-bootstrap-426 .input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.factory-bootstrap-426 .input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.factory-bootstrap-426 .input-group-addon input[type=checkbox],.factory-bootstrap-426 .input-group-addon input[type=radio]{margin-top:0}.factory-bootstrap-426 .input-group .form-control:first-child,.factory-bootstrap-426 .input-group-addon:first-child,.factory-bootstrap-426 .input-group-btn:first-child>.btn,.factory-bootstrap-426 .input-group-btn:first-child>.dropdown-toggle,.factory-bootstrap-426 .input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.factory-bootstrap-426 .input-group-addon:first-child{border-right:0}.factory-bootstrap-426 .input-group .form-control:last-child,.factory-bootstrap-426 .input-group-addon:last-child,.factory-bootstrap-426 .input-group-btn:first-child>.btn:not(:first-child),.factory-bootstrap-426 .input-group-btn:last-child>.btn,.factory-bootstrap-426 .input-group-btn:last-child>.dropdown-toggle{border-bottom-left-radius:0;border-top-left-radius:0}.factory-bootstrap-426 .input-group-addon:last-child{border-left:0}.factory-bootstrap-426 .input-group-btn{position:relative;white-space:nowrap}.factory-bootstrap-426 .input-group-btn:first-child>.btn{margin-right:-1px}.factory-bootstrap-426 .input-group-btn:last-child>.btn{margin-left:-1px}.factory-bootstrap-426 .input-group-btn>.btn{position:relative}.factory-bootstrap-426 .input-group-btn>.btn+.btn{margin-left:-4px}.factory-bootstrap-426 .input-group-btn>.btn:active,.factory-bootstrap-426 .input-group-btn>.btn:hover{z-index:2}.factory-bootstrap-426 .nav{padding-left:0;margin-bottom:0;list-style:none}.factory-bootstrap-426 .nav:after,.factory-bootstrap-426 .nav:before{display:table;content:" "}.factory-bootstrap-426 .nav:after{clear:both}.factory-bootstrap-426 .nav>li{position:relative;display:block}.factory-bootstrap-426 .nav>li>a{position:relative;display:block;padding:10px 15px}.factory-bootstrap-426 .nav>li>a:focus,.factory-bootstrap-426 .nav>li>a:hover{text-decoration:none;background-color:#eee}.factory-bootstrap-426 .nav>li.disabled>a{color:#999}.factory-bootstrap-426 .nav>li.disabled>a:focus,.factory-bootstrap-426 .nav>li.disabled>a:hover{color:#999;text-decoration:none;cursor:not-allowed;background-color:transparent}.factory-bootstrap-426 .nav .open>a,.factory-bootstrap-426 .nav .open>a:focus,.factory-bootstrap-426 .nav .open>a:hover{background-color:#eee;border-color:#428bca}.factory-bootstrap-426 .nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.factory-bootstrap-426 .nav>li>a>img{max-width:none}.factory-bootstrap-426 .nav-tabs{border-bottom:1px solid #ddd}.factory-bootstrap-426 .nav-tabs>li{float:left;margin-bottom:-1px}.factory-bootstrap-426 .nav-tabs>li>a{margin-right:2px;line-height:1.428571429;border:1px solid transparent;border-radius:4px 4px 0 0}.factory-bootstrap-426 .nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.factory-bootstrap-426 .nav-tabs>li.active>a,.factory-bootstrap-426 .nav-tabs>li.active>a:focus,.factory-bootstrap-426 .nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.factory-bootstrap-426 .nav-tabs.nav-justified{width:100%;border-bottom:0}.factory-bootstrap-426 .nav-tabs.nav-justified>li{float:none}.factory-bootstrap-426 .nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.factory-bootstrap-426 .nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.factory-bootstrap-426 .nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.factory-bootstrap-426 .nav-tabs.nav-justified>.active>a,.factory-bootstrap-426 .nav-tabs.nav-justified>.active>a:focus,.factory-bootstrap-426 .nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.factory-bootstrap-426 .nav-pills>li{float:left}.factory-bootstrap-426 .nav-pills>li>a{border-radius:4px}.factory-bootstrap-426 .nav-pills>li+li{margin-left:2px}.factory-bootstrap-426 .nav-pills>li.active>a,.factory-bootstrap-426 .nav-pills>li.active>a:focus,.factory-bootstrap-426 .nav-pills>li.active>a:hover{color:#fff;background-color:#428bca}.factory-bootstrap-426 .nav-stacked>li{float:none}.factory-bootstrap-426 .nav-stacked>li+li{margin-top:2px;margin-left:0}.factory-bootstrap-426 .nav-justified{width:100%}.factory-bootstrap-426 .nav-justified>li{float:none}.factory-bootstrap-426 .nav-justified>li>a{margin-bottom:5px;text-align:center}.factory-bootstrap-426 .nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.factory-bootstrap-426 .nav-tabs-justified{border-bottom:0}.factory-bootstrap-426 .nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.factory-bootstrap-426 .nav-tabs-justified>.active>a,.factory-bootstrap-426 .nav-tabs-justified>.active>a:focus,.factory-bootstrap-426 .nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.factory-bootstrap-426 .tab-content>.tab-pane{display:none}.factory-bootstrap-426 .tab-content>.active{display:block}.factory-bootstrap-426 .nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-426 .navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}.factory-bootstrap-426 .navbar:after,.factory-bootstrap-426 .navbar:before{display:table;content:" "}.factory-bootstrap-426 .navbar:after{clear:both}@media (min-width:768px){.navbar{border-radius:4px}}.factory-bootstrap-426 .navbar-header:after,.factory-bootstrap-426 .navbar-header:before{display:table;content:" "}.factory-bootstrap-426 .navbar-header:after{clear:both}@media (min-width:768px){.navbar-header{float:left}}.factory-bootstrap-426 .navbar-collapse{max-height:340px;padding-right:15px;padding-left:15px;overflow-x:visible;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.1);-webkit-overflow-scrolling:touch}.factory-bootstrap-426 .navbar-collapse:after,.factory-bootstrap-426 .navbar-collapse:before{display:table;content:" "}.factory-bootstrap-426 .navbar-collapse:after{clear:both}.factory-bootstrap-426 .navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.factory-bootstrap-426 .container>.navbar-collapse,.factory-bootstrap-426 .container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.factory-bootstrap-426 .navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.factory-bootstrap-426 .navbar-fixed-bottom,.factory-bootstrap-426 .navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.factory-bootstrap-426 .navbar-fixed-top{top:0;border-width:0 0 1px}.factory-bootstrap-426 .navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.factory-bootstrap-426 .navbar-brand{float:left;padding:15px;font-size:18px;line-height:20px}.factory-bootstrap-426 .navbar-brand:focus,.factory-bootstrap-426 .navbar-brand:hover{text-decoration:none}@media (min-width:768px){.navbar>.container .navbar-brand{margin-left:-15px}}.factory-bootstrap-426 .navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.factory-bootstrap-426 .navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.factory-bootstrap-426 .navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.factory-bootstrap-426 .navbar-nav{margin:7.5px -15px}.factory-bootstrap-426 .navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}.navbar-nav.navbar-right:last-child{margin-right:-15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important}}.factory-bootstrap-426 .navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block}.navbar-form select.form-control{width:auto}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{float:none;margin-left:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-form.navbar-right:last-child{margin-right:-15px}}.factory-bootstrap-426 .navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-426 .navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.factory-bootstrap-426 .navbar-nav.pull-right>li>.dropdown-menu,.factory-bootstrap-426 .navbar-nav>li>.dropdown-menu.pull-right{right:0;left:auto}.factory-bootstrap-426 .navbar-btn{margin-top:8px;margin-bottom:8px}.factory-bootstrap-426 .navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.factory-bootstrap-426 .navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.factory-bootstrap-426 .navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}.navbar-text.navbar-right:last-child{margin-right:0}}.factory-bootstrap-426 .navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.factory-bootstrap-426 .navbar-default .navbar-brand{color:#777}.factory-bootstrap-426 .navbar-default .navbar-brand:focus,.factory-bootstrap-426 .navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.factory-bootstrap-426 .navbar-default .navbar-nav>li>a,.factory-bootstrap-426 .navbar-default .navbar-text{color:#777}.factory-bootstrap-426 .navbar-default .navbar-nav>li>a:focus,.factory-bootstrap-426 .navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.factory-bootstrap-426 .navbar-default .navbar-nav>.active>a,.factory-bootstrap-426 .navbar-default .navbar-nav>.active>a:focus,.factory-bootstrap-426 .navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.factory-bootstrap-426 .navbar-default .navbar-nav>.disabled>a,.factory-bootstrap-426 .navbar-default .navbar-nav>.disabled>a:focus,.factory-bootstrap-426 .navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.factory-bootstrap-426 .navbar-default .navbar-toggle{border-color:#ddd}.factory-bootstrap-426 .navbar-default .navbar-toggle:focus,.factory-bootstrap-426 .navbar-default .navbar-toggle:hover{background-color:#ddd}.factory-bootstrap-426 .navbar-default .navbar-toggle .icon-bar{background-color:#ccc}.factory-bootstrap-426 .navbar-default .navbar-collapse,.factory-bootstrap-426 .navbar-default .navbar-form{border-color:#e7e7e7}.factory-bootstrap-426 .navbar-default .navbar-nav>.open>a,.factory-bootstrap-426 .navbar-default .navbar-nav>.open>a:focus,.factory-bootstrap-426 .navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.factory-bootstrap-426 .navbar-default .navbar-link{color:#777}.factory-bootstrap-426 .navbar-default .navbar-link:hover{color:#333}.factory-bootstrap-426 .navbar-inverse{background-color:#222;border-color:#080808}.factory-bootstrap-426 .navbar-inverse .navbar-brand{color:#999}.factory-bootstrap-426 .navbar-inverse .navbar-brand:focus,.factory-bootstrap-426 .navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.factory-bootstrap-426 .navbar-inverse .navbar-nav>li>a,.factory-bootstrap-426 .navbar-inverse .navbar-text{color:#999}.factory-bootstrap-426 .navbar-inverse .navbar-nav>li>a:focus,.factory-bootstrap-426 .navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.factory-bootstrap-426 .navbar-inverse .navbar-nav>.active>a,.factory-bootstrap-426 .navbar-inverse .navbar-nav>.active>a:focus,.factory-bootstrap-426 .navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.factory-bootstrap-426 .navbar-inverse .navbar-nav>.disabled>a,.factory-bootstrap-426 .navbar-inverse .navbar-nav>.disabled>a:focus,.factory-bootstrap-426 .navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.factory-bootstrap-426 .navbar-inverse .navbar-toggle{border-color:#333}.factory-bootstrap-426 .navbar-inverse .navbar-toggle:focus,.factory-bootstrap-426 .navbar-inverse .navbar-toggle:hover{background-color:#333}.factory-bootstrap-426 .navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.factory-bootstrap-426 .navbar-inverse .navbar-collapse,.factory-bootstrap-426 .navbar-inverse .navbar-form{border-color:#101010}.factory-bootstrap-426 .navbar-inverse .navbar-nav>.open>a,.factory-bootstrap-426 .navbar-inverse .navbar-nav>.open>a:focus,.factory-bootstrap-426 .navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#999}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.factory-bootstrap-426 .navbar-inverse .navbar-link{color:#999}.factory-bootstrap-426 .navbar-inverse .navbar-link:hover{color:#fff}.factory-bootstrap-426 .breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.factory-bootstrap-426 .breadcrumb>li{display:inline-block}.factory-bootstrap-426 .breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.factory-bootstrap-426 .breadcrumb>.active{color:#999}.factory-bootstrap-426 .pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.factory-bootstrap-426 .pagination>li{display:inline}.factory-bootstrap-426 .pagination>li>a,.factory-bootstrap-426 .pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.428571429;text-decoration:none;background-color:#fff;border:1px solid #ddd}.factory-bootstrap-426 .pagination>li:first-child>a,.factory-bootstrap-426 .pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.factory-bootstrap-426 .pagination>li:last-child>a,.factory-bootstrap-426 .pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.factory-bootstrap-426 .pagination>li>a:focus,.factory-bootstrap-426 .pagination>li>a:hover,.factory-bootstrap-426 .pagination>li>span:focus,.factory-bootstrap-426 .pagination>li>span:hover{background-color:#eee}.factory-bootstrap-426 .pagination>.active>a,.factory-bootstrap-426 .pagination>.active>a:focus,.factory-bootstrap-426 .pagination>.active>a:hover,.factory-bootstrap-426 .pagination>.active>span,.factory-bootstrap-426 .pagination>.active>span:focus,.factory-bootstrap-426 .pagination>.active>span:hover{z-index:2;color:#fff;cursor:default;background-color:#1e8cbe;border-color:#0074a2}.factory-bootstrap-426 .pagination>.disabled>a,.factory-bootstrap-426 .pagination>.disabled>a:focus,.factory-bootstrap-426 .pagination>.disabled>a:hover,.factory-bootstrap-426 .pagination>.disabled>span,.factory-bootstrap-426 .pagination>.disabled>span:focus,.factory-bootstrap-426 .pagination>.disabled>span:hover{color:#999;cursor:not-allowed;background-color:#fff;border-color:#ddd}.factory-bootstrap-426 .pagination-lg>li>a,.factory-bootstrap-426 .pagination-lg>li>span{padding:10px 16px;font-size:18px}.factory-bootstrap-426 .pagination-lg>li:first-child>a,.factory-bootstrap-426 .pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.factory-bootstrap-426 .pagination-lg>li:last-child>a,.factory-bootstrap-426 .pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.factory-bootstrap-426 .pagination-sm>li>a,.factory-bootstrap-426 .pagination-sm>li>span{padding:5px 10px;font-size:12px}.factory-bootstrap-426 .pagination-sm>li:first-child>a,.factory-bootstrap-426 .pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.factory-bootstrap-426 .pagination-sm>li:last-child>a,.factory-bootstrap-426 .pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.factory-bootstrap-426 .pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.factory-bootstrap-426 .pager:after,.factory-bootstrap-426 .pager:before{display:table;content:" "}.factory-bootstrap-426 .pager:after{clear:both}.factory-bootstrap-426 .pager li{display:inline}.factory-bootstrap-426 .pager li>a,.factory-bootstrap-426 .pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.factory-bootstrap-426 .pager li>a:focus,.factory-bootstrap-426 .pager li>a:hover{text-decoration:none;background-color:#eee}.factory-bootstrap-426 .pager .next>a,.factory-bootstrap-426 .pager .next>span{float:right}.factory-bootstrap-426 .pager .previous>a,.factory-bootstrap-426 .pager .previous>span{float:left}.factory-bootstrap-426 .pager .disabled>a,.factory-bootstrap-426 .pager .disabled>a:focus,.factory-bootstrap-426 .pager .disabled>a:hover,.factory-bootstrap-426 .pager .disabled>span{color:#999;cursor:not-allowed;background-color:#fff}.factory-bootstrap-426 .label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.factory-bootstrap-426 .label[href]:focus,.factory-bootstrap-426 .label[href]:hover{color:#fff;text-decoration:none;cursor:pointer}.factory-bootstrap-426 .label:empty{display:none}.factory-bootstrap-426 .btn .label{position:relative;top:-1px}.factory-bootstrap-426 .label-default{background-color:#999}.factory-bootstrap-426 .label-default[href]:focus,.factory-bootstrap-426 .label-default[href]:hover{background-color:gray}.factory-bootstrap-426 .label-primary{background-color:#428bca}.factory-bootstrap-426 .label-primary[href]:focus,.factory-bootstrap-426 .label-primary[href]:hover{background-color:#3071a9}.factory-bootstrap-426 .label-success{background-color:#5cb85c}.factory-bootstrap-426 .label-success[href]:focus,.factory-bootstrap-426 .label-success[href]:hover{background-color:#449d44}.factory-bootstrap-426 .label-info{background-color:#5bc0de}.factory-bootstrap-426 .label-info[href]:focus,.factory-bootstrap-426 .label-info[href]:hover{background-color:#31b0d5}.factory-bootstrap-426 .label-warning{background-color:#f0ad4e}.factory-bootstrap-426 .label-warning[href]:focus,.factory-bootstrap-426 .label-warning[href]:hover{background-color:#ec971f}.factory-bootstrap-426 .label-danger{background-color:#d9534f}.factory-bootstrap-426 .label-danger[href]:focus,.factory-bootstrap-426 .label-danger[href]:hover{background-color:#c9302c}.factory-bootstrap-426 .badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#999;border-radius:10px}.factory-bootstrap-426 .badge:empty{display:none}.factory-bootstrap-426 .btn .badge{position:relative;top:-1px}.factory-bootstrap-426 a.badge:focus,.factory-bootstrap-426 a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.factory-bootstrap-426 .nav-pills>.active>a>.badge,.factory-bootstrap-426 a.list-group-item.active>.badge{color:#428bca;background-color:#fff}.factory-bootstrap-426 .nav-pills>li>a>.badge{margin-left:3px}.factory-bootstrap-426 .jumbotron{padding:30px;margin-bottom:30px;font-size:21px;font-weight:200;line-height:2.1428571435;color:inherit;background-color:#eee}.factory-bootstrap-426 .jumbotron .h1,.factory-bootstrap-426 .jumbotron h1{line-height:1;color:inherit}.factory-bootstrap-426 .jumbotron p{line-height:1.4}.factory-bootstrap-426 .container .jumbotron{border-radius:6px}.factory-bootstrap-426 .jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.factory-bootstrap-426 .thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.factory-bootstrap-426 .thumbnail a>img,.factory-bootstrap-426 .thumbnail>img{display:block;height:auto;max-width:100%;margin-right:auto;margin-left:auto}.factory-bootstrap-426 a.thumbnail.active,.factory-bootstrap-426 a.thumbnail:focus,.factory-bootstrap-426 a.thumbnail:hover{border-color:#428bca}.factory-bootstrap-426 .thumbnail .caption{padding:9px;color:#333}.factory-bootstrap-426 .alert{border:1px solid transparent;border-radius:4px}.factory-bootstrap-426 .alert h4{margin-top:0;color:inherit}.factory-bootstrap-426 .alert .alert-link{font-weight:700}.factory-bootstrap-426 .alert>p,.factory-bootstrap-426 .alert>ul{margin-bottom:0}.factory-bootstrap-426 .alert>p+p{margin-top:5px}.factory-bootstrap-426 .alert-dismissable{padding-right:35px}.factory-bootstrap-426 .alert-dismissable .close{position:relative;top:-2px;right:-21px;color:inherit}.factory-bootstrap-426 .alert-info{color:#31708f;background-color:#d9edf7}.factory-bootstrap-426 .alert-info hr{border-top-color:#a6e1ec}.factory-bootstrap-426 .alert-info .alert-link{color:#245269}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.factory-bootstrap-426 .progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.factory-bootstrap-426 .progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#2ea2cc;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;transition:width .6s ease}.factory-bootstrap-426 .progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:40px 40px}.factory-bootstrap-426 .progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.factory-bootstrap-426 .progress-bar-success{background-color:#5cb85c}.factory-bootstrap-426 .progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-426 .progress-bar-info{background-color:#5bc0de}.factory-bootstrap-426 .progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-426 .progress-bar-warning{background-color:#f0ad4e}.factory-bootstrap-426 .progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-426 .progress-bar-danger{background-color:#d9534f}.factory-bootstrap-426 .progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-426 .media,.factory-bootstrap-426 .media-body{overflow:hidden;zoom:1}.factory-bootstrap-426 .media,.factory-bootstrap-426 .media .media{margin-top:15px}.factory-bootstrap-426 .media:first-child{margin-top:0}.factory-bootstrap-426 .media-object{display:block}.factory-bootstrap-426 .media-heading{margin:0 0 5px}.factory-bootstrap-426 .media>.pull-left{margin-right:10px}.factory-bootstrap-426 .media>.pull-right{margin-left:10px}.factory-bootstrap-426 .media-list{padding-left:0;list-style:none}.factory-bootstrap-426 .list-group{padding-left:0;margin-bottom:20px}.factory-bootstrap-426 .list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.factory-bootstrap-426 .list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.factory-bootstrap-426 .list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.factory-bootstrap-426 .list-group-item>.badge{float:right}.factory-bootstrap-426 .list-group-item>.badge+.badge{margin-right:5px}.factory-bootstrap-426 a.list-group-item{color:#555}.factory-bootstrap-426 a.list-group-item .list-group-item-heading{color:#333}.factory-bootstrap-426 a.list-group-item:focus,.factory-bootstrap-426 a.list-group-item:hover{text-decoration:none;background-color:#f5f5f5}.factory-bootstrap-426 a.list-group-item.active,.factory-bootstrap-426 a.list-group-item.active:focus,.factory-bootstrap-426 a.list-group-item.active:hover{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca}.factory-bootstrap-426 a.list-group-item.active .list-group-item-heading,.factory-bootstrap-426 a.list-group-item.active:focus .list-group-item-heading,.factory-bootstrap-426 a.list-group-item.active:hover .list-group-item-heading{color:inherit}.factory-bootstrap-426 a.list-group-item.active .list-group-item-text,.factory-bootstrap-426 a.list-group-item.active:focus .list-group-item-text,.factory-bootstrap-426 a.list-group-item.active:hover .list-group-item-text{color:#e1edf7}.factory-bootstrap-426 .list-group-item-heading{margin-top:0;margin-bottom:5px}.factory-bootstrap-426 .list-group-item-text{margin-bottom:0;line-height:1.3}.factory-bootstrap-426 .panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px}.factory-bootstrap-426 .panel-body{padding:15px}.factory-bootstrap-426 .panel-body:after,.factory-bootstrap-426 .panel-body:before{display:table;content:" "}.factory-bootstrap-426 .panel-body:after{clear:both}.factory-bootstrap-426 .panel>.list-group{margin-bottom:0}.factory-bootstrap-426 .panel>.list-group .list-group-item{border-width:1px 0}.factory-bootstrap-426 .panel>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-426 .panel>.list-group .list-group-item:last-child{border-bottom:0}.factory-bootstrap-426 .panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.factory-bootstrap-426 .panel>.table,.factory-bootstrap-426 .panel>.table-responsive>.table{margin-bottom:0}.factory-bootstrap-426 .panel>.panel-body+.table,.factory-bootstrap-426 .panel>.panel-body+.table-responsive{border-top:1px solid #ddd}.factory-bootstrap-426 .panel>.table>tbody:first-child td,.factory-bootstrap-426 .panel>.table>tbody:first-child th{border-top:0}.factory-bootstrap-426 .panel>.table-bordered,.factory-bootstrap-426 .panel>.table-responsive>.table-bordered{border:0}.factory-bootstrap-426 .panel>.table-bordered>tbody>tr>td:first-child,.factory-bootstrap-426 .panel>.table-bordered>tbody>tr>th:first-child,.factory-bootstrap-426 .panel>.table-bordered>tfoot>tr>td:first-child,.factory-bootstrap-426 .panel>.table-bordered>tfoot>tr>th:first-child,.factory-bootstrap-426 .panel>.table-bordered>thead>tr>td:first-child,.factory-bootstrap-426 .panel>.table-bordered>thead>tr>th:first-child,.factory-bootstrap-426 .panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.factory-bootstrap-426 .panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.factory-bootstrap-426 .panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.factory-bootstrap-426 .panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.factory-bootstrap-426 .panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.factory-bootstrap-426 .panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.factory-bootstrap-426 .panel>.table-bordered>tbody>tr>td:last-child,.factory-bootstrap-426 .panel>.table-bordered>tbody>tr>th:last-child,.factory-bootstrap-426 .panel>.table-bordered>tfoot>tr>td:last-child,.factory-bootstrap-426 .panel>.table-bordered>tfoot>tr>th:last-child,.factory-bootstrap-426 .panel>.table-bordered>thead>tr>td:last-child,.factory-bootstrap-426 .panel>.table-bordered>thead>tr>th:last-child,.factory-bootstrap-426 .panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.factory-bootstrap-426 .panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.factory-bootstrap-426 .panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.factory-bootstrap-426 .panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.factory-bootstrap-426 .panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.factory-bootstrap-426 .panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.factory-bootstrap-426 .panel>.table-bordered>tbody>tr:last-child>td,.factory-bootstrap-426 .panel>.table-bordered>tbody>tr:last-child>th,.factory-bootstrap-426 .panel>.table-bordered>tfoot>tr:last-child>td,.factory-bootstrap-426 .panel>.table-bordered>tfoot>tr:last-child>th,.factory-bootstrap-426 .panel>.table-bordered>thead>tr:last-child>td,.factory-bootstrap-426 .panel>.table-bordered>thead>tr:last-child>th,.factory-bootstrap-426 .panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.factory-bootstrap-426 .panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.factory-bootstrap-426 .panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.factory-bootstrap-426 .panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th,.factory-bootstrap-426 .panel>.table-responsive>.table-bordered>thead>tr:last-child>td,.factory-bootstrap-426 .panel>.table-responsive>.table-bordered>thead>tr:last-child>th{border-bottom:0}.factory-bootstrap-426 .panel>.table-responsive{margin-bottom:0;border:0}.factory-bootstrap-426 .panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.factory-bootstrap-426 .panel-heading>.dropdown .dropdown-toggle{color:inherit}.factory-bootstrap-426 .panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.factory-bootstrap-426 .panel-title>a{color:inherit}.factory-bootstrap-426 .panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.factory-bootstrap-426 .panel-group .panel{margin-bottom:0;overflow:hidden;border-radius:4px}.factory-bootstrap-426 .panel-group .panel+.panel{margin-top:5px}.factory-bootstrap-426 .panel-group .panel-heading{border-bottom:0}.factory-bootstrap-426 .panel-group .panel-heading+.panel-collapse .panel-body{border-top:1px solid #ddd}.factory-bootstrap-426 .panel-group .panel-footer{border-top:0}.factory-bootstrap-426 .panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.factory-bootstrap-426 .panel-default{border-color:#ddd}.factory-bootstrap-426 .panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.factory-bootstrap-426 .panel-default>.panel-heading+.panel-collapse .panel-body{border-top-color:#ddd}.factory-bootstrap-426 .panel-default>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ddd}.factory-bootstrap-426 .panel-primary{border-color:#428bca}.factory-bootstrap-426 .panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.factory-bootstrap-426 .panel-primary>.panel-heading+.panel-collapse .panel-body{border-top-color:#428bca}.factory-bootstrap-426 .panel-primary>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#428bca}.factory-bootstrap-426 .panel-success{border-color:#d6e9c6}.factory-bootstrap-426 .panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.factory-bootstrap-426 .panel-success>.panel-heading+.panel-collapse .panel-body{border-top-color:#d6e9c6}.factory-bootstrap-426 .panel-success>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#d6e9c6}.factory-bootstrap-426 .panel-warning{border-color:#faebcc}.factory-bootstrap-426 .panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.factory-bootstrap-426 .panel-warning>.panel-heading+.panel-collapse .panel-body{border-top-color:#faebcc}.factory-bootstrap-426 .panel-warning>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#faebcc}.factory-bootstrap-426 .panel-danger{border-color:#ebccd1}.factory-bootstrap-426 .panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.factory-bootstrap-426 .panel-danger>.panel-heading+.panel-collapse .panel-body{border-top-color:#ebccd1}.factory-bootstrap-426 .panel-danger>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ebccd1}.factory-bootstrap-426 .panel-info{border-color:#bce8f1}.factory-bootstrap-426 .panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.factory-bootstrap-426 .panel-info>.panel-heading+.panel-collapse .panel-body{border-top-color:#bce8f1}.factory-bootstrap-426 .panel-info>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#bce8f1}.factory-bootstrap-426 .well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px}.factory-bootstrap-426 .well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.factory-bootstrap-426 .well-lg{padding:24px;border-radius:6px}.factory-bootstrap-426 .well-sm{padding:9px;border-radius:3px}.factory-bootstrap-426 .close{float:right;font-size:14px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.3;filter:alpha(opacity=30)}.factory-bootstrap-426 .alert .close{position:relative;top:-8px;right:-7px}.factory-bootstrap-426 .close:focus,.factory-bootstrap-426 .close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}.factory-bootstrap-426 button.close{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.factory-bootstrap-426 .modal-open{overflow:hidden}.factory-bootstrap-426 .modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;display:none;overflow:auto;overflow-y:scroll;width:auto;margin-left:0;background-color:transparent;border:0}.factory-bootstrap-426 .modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.factory-bootstrap-426 .modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.factory-bootstrap-426 .modal-dialog{position:relative;z-index:1050;width:auto;margin:10px}.factory-bootstrap-426 .modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5);background-clip:padding-box}.factory-bootstrap-426 .modal-backdrop,.factory-bootstrap-426-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1030;background-color:#000}.factory-bootstrap-426 .modal-backdrop.fade,.factory-bootstrap-426-modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.factory-bootstrap-426 .modal-backdrop.in,.factory-bootstrap-426-modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.factory-bootstrap-426 .modal-header{min-height:16.428571429px;padding:15px;border-bottom:1px solid #e5e5e5}.factory-bootstrap-426 .modal-header .close{margin-top:-2px}.factory-bootstrap-426 .modal-title{margin:0;line-height:1.428571429}.factory-bootstrap-426 .modal-body{position:relative;padding:20px;max-height:none}.factory-bootstrap-426 .modal-footer{padding:19px 20px 20px;margin-top:15px;text-align:right;border-top:1px solid #e5e5e5}.factory-bootstrap-426 .modal-footer:after,.factory-bootstrap-426 .modal-footer:before{display:table;content:" "}.factory-bootstrap-426 .modal-footer:after{clear:both}.factory-bootstrap-426 .modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.factory-bootstrap-426 .modal-footer .btn-group .btn+.btn{margin-left:-1px}.factory-bootstrap-426 .modal-footer .btn-block+.btn-block{margin-left:0}@media screen and (min-width:768px){.factory-bootstrap-426 .modal-dialog{width:600px;margin:30px auto}.factory-bootstrap-426 .modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}}.factory-bootstrap-426 .tooltip{position:absolute;z-index:1030;display:block;font-size:12px;line-height:1.4;opacity:0;filter:alpha(opacity=0);visibility:visible}.factory-bootstrap-426 .tooltip.in{opacity:.9;filter:alpha(opacity=90)}.factory-bootstrap-426 .tooltip.top{padding:5px 0;margin-top:-3px}.factory-bootstrap-426 .tooltip.right{padding:0 5px;margin-left:3px}.factory-bootstrap-426 .tooltip.bottom{padding:5px 0;margin-top:3px}.factory-bootstrap-426 .tooltip.left{padding:0 5px;margin-left:-3px}.factory-bootstrap-426 .tooltip-inner{width:400px;padding:15px 20px;color:#fff;text-align:left;text-decoration:none;background-color:#673ab7;border-radius:3px}.factory-bootstrap-426 .tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.factory-bootstrap-426 .tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#673ab7;border-width:5px 5px 0}.factory-bootstrap-426 .tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-top-color:#673ab7;border-width:5px 5px 0}.factory-bootstrap-426 .tooltip.top-right .tooltip-arrow{right:5px;bottom:0;border-top-color:#673ab7;border-width:5px 5px 0}.factory-bootstrap-426 .tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#673ab7;border-width:5px 5px 5px 0}.factory-bootstrap-426 .tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#673ab7;border-width:5px 0 5px 5px}.factory-bootstrap-426 .tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#673ab7;border-width:0 5px 5px}.factory-bootstrap-426 .tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-bottom-color:#673ab7;border-width:0 5px 5px}.factory-bootstrap-426 .tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-bottom-color:#673ab7;border-width:0 5px 5px}.factory-bootstrap-426 .popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;white-space:normal;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);background-clip:padding-box}.factory-bootstrap-426 .popover.top{margin-top:-10px}.factory-bootstrap-426 .popover.right{margin-left:10px}.factory-bootstrap-426 .popover.bottom{margin-top:10px}.factory-bootstrap-426 .popover.left{margin-left:-10px}.factory-bootstrap-426 .popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:400;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.factory-bootstrap-426 .popover-content{padding:9px 14px}.factory-bootstrap-426 .popover .arrow,.factory-bootstrap-426 .popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.factory-bootstrap-426 .popover .arrow{border-width:11px}.factory-bootstrap-426 .popover .arrow:after{border-width:10px;content:""}.factory-bootstrap-426 .popover.top .arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.factory-bootstrap-426 .popover.top .arrow:after{bottom:1px;margin-left:-10px;border-top-color:#fff;border-bottom-width:0;content:" "}.factory-bootstrap-426 .popover.right .arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.factory-bootstrap-426 .popover.right .arrow:after{bottom:-10px;left:1px;border-right-color:#fff;border-left-width:0;content:" "}.factory-bootstrap-426 .popover.bottom .arrow{top:-11px;left:50%;margin-left:-11px;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25);border-top-width:0}.factory-bootstrap-426 .popover.bottom .arrow:after{top:1px;margin-left:-10px;border-bottom-color:#fff;border-top-width:0;content:" "}.factory-bootstrap-426 .popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-left-color:#999;border-left-color:rgba(0,0,0,.25);border-right-width:0}.factory-bootstrap-426 .popover.left .arrow:after{right:1px;bottom:-10px;border-left-color:#fff;border-right-width:0;content:" "}.factory-bootstrap-426 .carousel{position:relative}.factory-bootstrap-426 .carousel-inner{position:relative;width:100%;overflow:hidden}.factory-bootstrap-426 .carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.factory-bootstrap-426 .carousel-inner>.item>a>img,.factory-bootstrap-426 .carousel-inner>.item>img{display:block;height:auto;max-width:100%;line-height:1}.factory-bootstrap-426 .carousel-inner>.active,.factory-bootstrap-426 .carousel-inner>.next,.factory-bootstrap-426 .carousel-inner>.prev{display:block}.factory-bootstrap-426 .carousel-inner>.active{left:0}.factory-bootstrap-426 .carousel-inner>.next,.factory-bootstrap-426 .carousel-inner>.prev{position:absolute;top:0;width:100%}.factory-bootstrap-426 .carousel-inner>.next{left:100%}.factory-bootstrap-426 .carousel-inner>.prev{left:-100%}.factory-bootstrap-426 .carousel-inner>.next.left,.factory-bootstrap-426 .carousel-inner>.prev.right{left:0}.factory-bootstrap-426 .carousel-inner>.active.left{left:-100%}.factory-bootstrap-426 .carousel-inner>.active.right{left:100%}.factory-bootstrap-426 .carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);opacity:.5;filter:alpha(opacity=50)}.factory-bootstrap-426 .carousel-control.left{background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.5) 0),color-stop(rgba(0,0,0,.0001) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1)}.factory-bootstrap-426 .carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.0001) 0),color-stop(rgba(0,0,0,.5) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1)}.factory-bootstrap-426 .carousel-control:focus,.factory-bootstrap-426 .carousel-control:hover{color:#fff;text-decoration:none;outline:0;opacity:.9;filter:alpha(opacity=90)}.factory-bootstrap-426 .carousel-control .glyphicon-chevron-left,.factory-bootstrap-426 .carousel-control .glyphicon-chevron-right,.factory-bootstrap-426 .carousel-control .icon-next,.factory-bootstrap-426 .carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block}.factory-bootstrap-426 .carousel-control .glyphicon-chevron-left,.factory-bootstrap-426 .carousel-control .icon-prev{left:50%}.factory-bootstrap-426 .carousel-control .glyphicon-chevron-right,.factory-bootstrap-426 .carousel-control .icon-next{right:50%}.factory-bootstrap-426 .carousel-control .icon-next,.factory-bootstrap-426 .carousel-control .icon-prev{width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:serif}.factory-bootstrap-426 .carousel-control .icon-prev:before{content:'\2039'}.factory-bootstrap-426 .carousel-control .icon-next:before{content:'\203a'}.factory-bootstrap-426 .carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.factory-bootstrap-426 .carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.factory-bootstrap-426 .carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.factory-bootstrap-426 .carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.factory-bootstrap-426 .carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicons-chevron-left,.carousel-control .glyphicons-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-15px;margin-left:-15px;font-size:30px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.factory-bootstrap-426 .clearfix:after,.factory-bootstrap-426 .clearfix:before{display:table;content:" "}.factory-bootstrap-426 .clearfix:after{clear:both}.factory-bootstrap-426 .center-block{display:block;margin-right:auto;margin-left:auto}.factory-bootstrap-426 .pull-right{float:right!important}.factory-bootstrap-426 .pull-left{float:left!important}.factory-bootstrap-426 .hide{display:none!important}.factory-bootstrap-426 .show{display:block!important}.factory-bootstrap-426 .invisible{visibility:hidden}.factory-bootstrap-426 .text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.factory-bootstrap-426 .hidden{display:none!important;visibility:hidden!important}.factory-bootstrap-426 .affix{position:fixed}@-ms-viewport{width:device-width}.factory-bootstrap-426 .visible-lg,.factory-bootstrap-426 .visible-md,.factory-bootstrap-426 .visible-sm,.factory-bootstrap-426 .visible-xs,.factory-bootstrap-426 td.visible-lg,.factory-bootstrap-426 td.visible-md,.factory-bootstrap-426 td.visible-sm,.factory-bootstrap-426 td.visible-xs,.factory-bootstrap-426 th.visible-lg,.factory-bootstrap-426 th.visible-md,.factory-bootstrap-426 th.visible-sm,.factory-bootstrap-426 th.visible-xs,.factory-bootstrap-426 tr.visible-lg,.factory-bootstrap-426 tr.visible-md,.factory-bootstrap-426 tr.visible-sm,.factory-bootstrap-426 tr.visible-xs{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-xs.visible-sm{display:block!important}table.visible-xs.visible-sm{display:table}tr.visible-xs.visible-sm{display:table-row!important}td.visible-xs.visible-sm,th.visible-xs.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-xs.visible-md{display:block!important}table.visible-xs.visible-md{display:table}tr.visible-xs.visible-md{display:table-row!important}td.visible-xs.visible-md,th.visible-xs.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-xs.visible-lg{display:block!important}table.visible-xs.visible-lg{display:table}tr.visible-xs.visible-lg{display:table-row!important}td.visible-xs.visible-lg,th.visible-xs.visible-lg{display:table-cell!important}}@media (max-width:767px){.visible-sm.visible-xs{display:block!important}table.visible-sm.visible-xs{display:table}tr.visible-sm.visible-xs{display:table-row!important}td.visible-sm.visible-xs,th.visible-sm.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-sm.visible-md{display:block!important}table.visible-sm.visible-md{display:table}tr.visible-sm.visible-md{display:table-row!important}td.visible-sm.visible-md,th.visible-sm.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-sm.visible-lg{display:block!important}table.visible-sm.visible-lg{display:table}tr.visible-sm.visible-lg{display:table-row!important}td.visible-sm.visible-lg,th.visible-sm.visible-lg{display:table-cell!important}}@media (max-width:767px){.visible-md.visible-xs{display:block!important}table.visible-md.visible-xs{display:table}tr.visible-md.visible-xs{display:table-row!important}td.visible-md.visible-xs,th.visible-md.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-md.visible-sm{display:block!important}table.visible-md.visible-sm{display:table}tr.visible-md.visible-sm{display:table-row!important}td.visible-md.visible-sm,th.visible-md.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-md.visible-lg{display:block!important}table.visible-md.visible-lg{display:table}tr.visible-md.visible-lg{display:table-row!important}td.visible-md.visible-lg,th.visible-md.visible-lg{display:table-cell!important}}@media (max-width:767px){.visible-lg.visible-xs{display:block!important}table.visible-lg.visible-xs{display:table}tr.visible-lg.visible-xs{display:table-row!important}td.visible-lg.visible-xs,th.visible-lg.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-lg.visible-sm{display:block!important}table.visible-lg.visible-sm{display:table}tr.visible-lg.visible-sm{display:table-row!important}td.visible-lg.visible-sm,th.visible-lg.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-lg.visible-md{display:block!important}table.visible-lg.visible-md{display:table}tr.visible-lg.visible-md{display:table-row!important}td.visible-lg.visible-md,th.visible-lg.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}.factory-bootstrap-426 .hidden-xs{display:block!important}.factory-bootstrap-426 table.hidden-xs{display:table}.factory-bootstrap-426 tr.hidden-xs{display:table-row!important}.factory-bootstrap-426 td.hidden-xs,.factory-bootstrap-426 th.hidden-xs{display:table-cell!important}@media (max-width:767px){.hidden-xs,td.hidden-xs,th.hidden-xs,tr.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-xs.hidden-sm,td.hidden-xs.hidden-sm,th.hidden-xs.hidden-sm,tr.hidden-xs.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-xs.hidden-md,td.hidden-xs.hidden-md,th.hidden-xs.hidden-md,tr.hidden-xs.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-xs.hidden-lg,td.hidden-xs.hidden-lg,th.hidden-xs.hidden-lg,tr.hidden-xs.hidden-lg{display:none!important}}.factory-bootstrap-426 .hidden-sm{display:block!important}.factory-bootstrap-426 table.hidden-sm{display:table}.factory-bootstrap-426 tr.hidden-sm{display:table-row!important}.factory-bootstrap-426 td.hidden-sm,.factory-bootstrap-426 th.hidden-sm{display:table-cell!important}@media (max-width:767px){.hidden-sm.hidden-xs,td.hidden-sm.hidden-xs,th.hidden-sm.hidden-xs,tr.hidden-sm.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm,td.hidden-sm,th.hidden-sm,tr.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-sm.hidden-md,td.hidden-sm.hidden-md,th.hidden-sm.hidden-md,tr.hidden-sm.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-sm.hidden-lg,td.hidden-sm.hidden-lg,th.hidden-sm.hidden-lg,tr.hidden-sm.hidden-lg{display:none!important}}.factory-bootstrap-426 .hidden-md{display:block!important}.factory-bootstrap-426 table.hidden-md{display:table}.factory-bootstrap-426 tr.hidden-md{display:table-row!important}.factory-bootstrap-426 td.hidden-md,.factory-bootstrap-426 th.hidden-md{display:table-cell!important}@media (max-width:767px){.hidden-md.hidden-xs,td.hidden-md.hidden-xs,th.hidden-md.hidden-xs,tr.hidden-md.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-md.hidden-sm,td.hidden-md.hidden-sm,th.hidden-md.hidden-sm,tr.hidden-md.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md,td.hidden-md,th.hidden-md,tr.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-md.hidden-lg,td.hidden-md.hidden-lg,th.hidden-md.hidden-lg,tr.hidden-md.hidden-lg{display:none!important}}.factory-bootstrap-426 .hidden-lg{display:block!important}.factory-bootstrap-426 table.hidden-lg{display:table}.factory-bootstrap-426 tr.hidden-lg{display:table-row!important}.factory-bootstrap-426 td.hidden-lg,.factory-bootstrap-426 th.hidden-lg{display:table-cell!important}@media (max-width:767px){.factory-bootstrap-426 .hidden-lg.hidden-xs,.factory-bootstrap-426 td.hidden-lg.hidden-xs,.factory-bootstrap-426 th.hidden-lg.hidden-xs,.factory-bootstrap-426 tr.hidden-lg.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.factory-bootstrap-426 .hidden-lg.hidden-sm,.factory-bootstrap-426 td.hidden-lg.hidden-sm,.factory-bootstrap-426 th.hidden-lg.hidden-sm,.factory-bootstrap-426 tr.hidden-lg.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.factory-bootstrap-426 .hidden-lg.hidden-md,.factory-bootstrap-426 td.hidden-lg.hidden-md,.factory-bootstrap-426 th.hidden-lg.hidden-md,.factory-bootstrap-426 tr.hidden-lg.hidden-md{display:none!important}}@media (min-width:1200px){.factory-bootstrap-426 .hidden-lg,.factory-bootstrap-426 td.hidden-lg,.factory-bootstrap-426 th.hidden-lg,.factory-bootstrap-426 tr.hidden-lg{display:none!important}}.factory-bootstrap-426 .visible-print,.factory-bootstrap-426 td.visible-print,.factory-bootstrap-426 th.visible-print,.factory-bootstrap-426 tr.visible-print{display:none!important}@media print{.factory-bootstrap-426 .visible-print{display:block!important}.factory-bootstrap-426 table.visible-print{display:table}.factory-bootstrap-426 tr.visible-print{display:table-row!important}.factory-bootstrap-426 td.visible-print,.factory-bootstrap-426 th.visible-print{display:table-cell!important}.factory-bootstrap-426 .hidden-print,.factory-bootstrap-426 td.hidden-print,.factory-bootstrap-426 th.hidden-print,.factory-bootstrap-426 tr.hidden-print{display:none!important}}/*!
|
12 |
* Factory Default Bootstrap Theme
|
13 |
*
|
14 |
* The code is based on Bootstrap v2.1.1
|
@@ -22,4 +22,4 @@
|
|
22 |
*
|
23 |
* @package factory-bootstrap
|
24 |
* @since 1.0.0
|
25 |
-
*/.factory-bootstrap-426 .btn-danger,.factory-bootstrap-426 .btn-default,.factory-bootstrap-426 .btn-info,.factory-bootstrap-426 .btn-primary,.factory-bootstrap-426 .btn-success,.factory-bootstrap-426 .btn-warning{-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-426 .btn-danger.active,.factory-bootstrap-426 .btn-danger:active,.factory-bootstrap-426 .btn-default.active,.factory-bootstrap-426 .btn-default:active,.factory-bootstrap-426 .btn-info.active,.factory-bootstrap-426 .btn-info:active,.factory-bootstrap-426 .btn-primary.active,.factory-bootstrap-426 .btn-primary:active,.factory-bootstrap-426 .btn-success.active,.factory-bootstrap-426 .btn-success:active,.factory-bootstrap-426 .btn-warning.active,.factory-bootstrap-426 .btn-warning:active{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.1);box-shadow:inset 0 1px 1px rgba(0,0,0,.1)}.factory-bootstrap-426 .btn.active,.factory-bootstrap-426 .btn:active{background-image:none}.factory-bootstrap-426 .btn-default{color:#555;border-color:#ccc;background:#f7f7f7;-webkit-box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);vertical-align:top}.factory-bootstrap-426 .btn-default.active,.factory-bootstrap-426 .btn-default:active{background-color:#fff;border-color:#dbdbdb}.factory-bootstrap-426 .btn-gold{font-weight:700;padding:7px 12px;cursor:pointer;line-height:16px;display:inline-block;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;box-shadow:#e3e3e3 0 1px 1px;-moz-box-shadow:0 1px 1px rgba(000,000,000,.1),inset 0 1px 1px rgba(255,255,255,.7);-webkit-box-shadow:0 1px 1px rgba(000,000,000,.1),inset 0 1px 1px rgba(255,255,255,.7);text-shadow:1px 1px 0 #ffe8b2;color:#7c5d1b;border:1px solid #d6a437;background:#feeb80}.factory-bootstrap-426 .btn-gold:focus,.factory-bootstrap-426 .btn-gold:hover{background:#fef0a1}.factory-bootstrap-426 .btn-gold.active,.factory-bootstrap-426 .btn-gold:active{background:#fef0a1;-webkit-box-shadow:inset 0 3px 8px 0 #f8ba36;box-shadow:inset 0 3px 8px 0 #f8ba36}.factory-bootstrap-426 .btn-primary{background:#2ea2cc;border-color:#0074a2;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);color:#fff;text-decoration:none}.factory-bootstrap-426 .btn-primary:focus,.factory-bootstrap-426 .btn-primary:hover{background:#1e8cbe;border-color:#0074a2;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.6);box-shadow:inset 0 1px 0 rgba(120,200,230,.6);color:#fff}.factory-bootstrap-426 .btn-primary.active,.factory-bootstrap-426 .btn-primary:active{background-color:#2d6ca2;border-color:#2b669a}.factory-bootstrap-426 .btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);background-repeat:repeat-x;border-color:#3e8f3e;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-426 .btn-success:focus,.factory-bootstrap-426 .btn-success:hover{background-color:#419641;background-position:0 -15px}.factory-bootstrap-426 .btn-success.active,.factory-bootstrap-426 .btn-success:active{background-color:#419641;border-color:#3e8f3e}.factory-bootstrap-426 .btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);background-repeat:repeat-x;border-color:#e38d13;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-426 .btn-warning:focus,.factory-bootstrap-426 .btn-warning:hover{background-color:#eb9316;background-position:0 -15px}.factory-bootstrap-426 .btn-warning.active,.factory-bootstrap-426 .btn-warning:active{background-color:#eb9316;border-color:#e38d13}.factory-bootstrap-426 .btn-danger{color:#fff;background:#d9534f;border-color:#d43f3a}.factory-bootstrap-426 .btn-danger.active,.factory-bootstrap-426 .btn-danger:active,.factory-bootstrap-426 .btn-danger:focus,.factory-bootstrap-426 .btn-danger:hover,.factory-bootstrap-426 .open .dropdown-toggle.btn-danger{color:#fff;background-color:#d2322d;border-color:#ac2925}.factory-bootstrap-426 .btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);background-repeat:repeat-x;border-color:#28a4c9;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-426 .btn-info:focus,.factory-bootstrap-426 .btn-info:hover{background-color:#2aabd2;background-position:0 -15px}.factory-bootstrap-426 .btn-info.active,.factory-bootstrap-426 .btn-info:active{background-color:#2aabd2;border-color:#28a4c9}.factory-bootstrap-426 .img-thumbnail,.factory-bootstrap-426 .thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.factory-bootstrap-426 .dropdown-menu>li>a:focus,.factory-bootstrap-426 .dropdown-menu>li>a:hover{background-color:#e8e8e8;background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0)}.factory-bootstrap-426 .dropdown-menu>.active>a,.factory-bootstrap-426 .dropdown-menu>.active>a:focus,.factory-bootstrap-426 .dropdown-menu>.active>a:hover{background-color:#357ebd;background-image:-webkit-linear-gradient(top,#428bca 0,#357ebd 100%);background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0)}.factory-bootstrap-426 .navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);background-repeat:repeat-x;border-radius:4px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)}.factory-bootstrap-426 .navbar-default .navbar-nav>.active>a{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f3f3f3 100%);background-image:linear-gradient(to bottom,#ebebeb 0,#f3f3f3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff3f3f3', GradientType=0);-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.075);box-shadow:inset 0 3px 9px rgba(0,0,0,.075)}.factory-bootstrap-426 .navbar-brand,.factory-bootstrap-426 .navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,.25)}.factory-bootstrap-426 .navbar-inverse{background-image:-webkit-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-426 .navbar-inverse .navbar-nav>.active>a{background-image:-webkit-linear-gradient(top,#222 0,#282828 100%);background-image:linear-gradient(to bottom,#222 0,#282828 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff282828', GradientType=0);-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.25);box-shadow:inset 0 3px 9px rgba(0,0,0,.25)}.factory-bootstrap-426 .navbar-inverse .navbar-brand,.factory-bootstrap-426 .navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,0,0,.25)}.factory-bootstrap-426 .navbar-fixed-bottom,.factory-bootstrap-426 .navbar-fixed-top,.factory-bootstrap-426 .navbar-static-top{border-radius:0}.factory-bootstrap-426 .alert{-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05)}.factory-bootstrap-426 .alert .actions{padding-top:10px}.factory-bootstrap-426 .alert-success{color:#3c763d;background-color:#dff0d8;border-bottom:2px solid #c8e5bc}.factory-bootstrap-426 .alert-info{background-image:-webkit-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);background-repeat:repeat-x;border-color:#9acfea;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0)}.factory-bootstrap-426 .alert{text-shadow:none;box-shadow:none;margin:0;margin-top:10px;margin-bottom:10px;padding:10px}.factory-bootstrap-426 .alert-normal,.factory-bootstrap-426 .alert-warning{background:#fcf8e3;color:#8a6d3b;border:1px solid #b8823b}.factory-bootstrap-426 .alert-danger{background:#cf4944;color:#fff;border-bottom:2px solid #b23e3a}.factory-bootstrap-426 .alert-danger a:not(.btn),.factory-bootstrap-426 .alert-error a:not(.btn){color:#fff}.factory-bootstrap-426 .progress{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0)}.factory-bootstrap-426 .progress-bar{background-image:-webkit-linear-gradient(top,#428bca 0,#3071a9 100%);background-image:linear-gradient(to bottom,#428bca 0,#3071a9 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0)}.factory-bootstrap-426 .progress-bar-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0)}.factory-bootstrap-426 .progress-bar-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0)}.factory-bootstrap-426 .progress-bar-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0)}.factory-bootstrap-426 .progress-bar-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0)}.factory-bootstrap-426 .list-group{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.factory-bootstrap-426 .list-group-item.active,.factory-bootstrap-426 .list-group-item.active:focus,.factory-bootstrap-426 .list-group-item.active:hover{text-shadow:0 -1px 0 #3071a9;background-image:-webkit-linear-gradient(top,#428bca 0,#3278b3 100%);background-image:linear-gradient(to bottom,#428bca 0,#3278b3 100%);background-repeat:repeat-x;border-color:#3278b3;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0)}.factory-bootstrap-426 .panel{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.05);box-shadow:0 1px 2px rgba(0,0,0,.05)}.factory-bootstrap-426 .panel-default>.panel-heading{background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0)}.factory-bootstrap-426 .panel-primary>.panel-heading{background-image:-webkit-linear-gradient(top,#428bca 0,#357ebd 100%);background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0)}.factory-bootstrap-426 .panel-success>.panel-heading{background-image:-webkit-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0)}.factory-bootstrap-426 .panel-info>.panel-heading{background-image:-webkit-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:linear-gradient(to bottom,#d9edf7 0,#c4e3f3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0)}.factory-bootstrap-426 .panel-warning>.panel-heading{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0)}.factory-bootstrap-426 .panel-danger>.panel-heading{background-image:-webkit-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:linear-gradient(to bottom,#f2dede 0,#ebcccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0)}.factory-bootstrap-426 .well{background-image:-webkit-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:linear-gradient(to bottom,#e8e8e8 0,#f5f5f5 100%);background-repeat:repeat-x;border-color:#dcdcdc;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1)}.factory-bootstrap-426 .factory-after{margin-left:7px;display:inline-block}.factory-bootstrap-426 .factory-hidden{display:none}.factory-bootstrap-426 .factory-ajax-loader{width:25px;height:25px;background:url(../assets/images/loader-sm-tr.gif)}.factory-control-error{background-color:rgba(0,0,0,.8);white-space:normal;z-index:10;font-weight:400;line-height:150%;border-radius:4px;color:#fff;font-size:13px;margin-top:5px;padding:4px 10px 3px;max-width:500px;display:inline-block}.factory-control-error i{margin:0 7px 0 1px}
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-428 article,.factory-bootstrap-428 aside,.factory-bootstrap-428 details,.factory-bootstrap-428 figcaption,.factory-bootstrap-428 figure,.factory-bootstrap-428 footer,.factory-bootstrap-428 header,.factory-bootstrap-428 hgroup,.factory-bootstrap-428 main,.factory-bootstrap-428 nav,.factory-bootstrap-428 section,.factory-bootstrap-428 summary{display:block}.factory-bootstrap-428 audio,.factory-bootstrap-428 canvas,.factory-bootstrap-428 video{display:inline-block}.factory-bootstrap-428 audio:not([controls]){display:none;height:0}.factory-bootstrap-428 [hidden],.factory-bootstrap-428 template{display:none}.factory-bootstrap-428 body{margin:0}.factory-bootstrap-428 a{background:0 0}.factory-bootstrap-428 a:focus{outline:thin dotted}.factory-bootstrap-428 a:active,.factory-bootstrap-428 a:hover{outline:0}.factory-bootstrap-428 h1{margin:.67em 0}.factory-bootstrap-428 b,.factory-bootstrap-428 strong{font-weight:700}.factory-bootstrap-428 dfn{font-style:italic}.factory-bootstrap-428 hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}.factory-bootstrap-428 mark{color:#000;background:#ff0}.factory-bootstrap-428 code,.factory-bootstrap-428 kbd,.factory-bootstrap-428 pre,.factory-bootstrap-428 samp{font-size:1em}.factory-bootstrap-428 pre{white-space:pre-wrap}.factory-bootstrap-428 q{quotes:"\201C" "\201D" "\2018" "\2019"}.factory-bootstrap-428 sub,.factory-bootstrap-428 sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}.factory-bootstrap-428 sup{top:-.5em}.factory-bootstrap-428 sub{bottom:-.25em}.factory-bootstrap-428 img{border:0}.factory-bootstrap-428 svg:not(:root){overflow:hidden}.factory-bootstrap-428 figure{margin:0}.factory-bootstrap-428 button,.factory-bootstrap-428 input,.factory-bootstrap-428 select,.factory-bootstrap-428 textarea{margin:0}.factory-bootstrap-428 button,.factory-bootstrap-428 select{text-transform:none}.factory-bootstrap-428 select{padding-right:4px!important}.factory-bootstrap-428 button,.factory-bootstrap-428 input[type=reset],.factory-bootstrap-428 input[type=submit],html .factory-bootstrap-428 input[type=button]{cursor:pointer;-webkit-appearance:button}.factory-bootstrap-428 button[disabled],html .factory-bootstrap-428 input[disabled]{cursor:default}.factory-bootstrap-428 input[type=checkbox],.factory-bootstrap-428 input[type=radio]{padding:0;box-sizing:border-box}.factory-bootstrap-428 input[type=search]{-webkit-appearance:textfield}.factory-bootstrap-428 input[type=search]::-webkit-search-cancel-button,.factory-bootstrap-428 input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.factory-bootstrap-428 button::-moz-focus-inner,.factory-bootstrap-428 input::-moz-focus-inner{padding:0;border:0}.factory-bootstrap-428 textarea{overflow:auto;vertical-align:top}.factory-bootstrap-428 table{border-collapse:collapse;border-spacing:0}@media print{.factory-bootstrap-428 *{color:#000!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important}.factory-bootstrap-428 a,.factory-bootstrap-428 a:visited{text-decoration:underline}.factory-bootstrap-428 a[href]:after{content:" (" attr(href) ")"}.factory-bootstrap-428 abbr[title]:after{content:" (" attr(title) ")"}.factory-bootstrap-428 a[href^="javascript:"]:after,.factory-bootstrap-428 a[href^="#"]:after{content:""}.factory-bootstrap-428 blockquote,.factory-bootstrap-428 pre{border:1px solid #999;page-break-inside:avoid}.factory-bootstrap-428 thead{display:table-header-group}.factory-bootstrap-428 img,.factory-bootstrap-428 tr{page-break-inside:avoid}.factory-bootstrap-428 img{max-width:100%!important}@page{margin:2cm .5cm}.factory-bootstrap-428 h2,.factory-bootstrap-428 h3,.factory-bootstrap-428 p{orphans:3;widows:3}.factory-bootstrap-428 h2,.factory-bootstrap-428 h3{page-break-after:avoid}.factory-bootstrap-428 select{background:#fff!important}.factory-bootstrap-428 .navbar{display:none}.factory-bootstrap-428 .table td,.factory-bootstrap-428 .table th{background-color:#fff!important}.factory-bootstrap-428 .btn>.caret,.factory-bootstrap-428 .dropup>.btn>.caret{border-top-color:#000!important}.factory-bootstrap-428 .label{border:1px solid #000}.factory-bootstrap-428 .table{border-collapse:collapse!important}.factory-bootstrap-428 .table-bordered td,.factory-bootstrap-428 .table-bordered th{border:1px solid #ddd!important}}.factory-bootstrap-428 *,.factory-bootstrap-428 :after,.factory-bootstrap-428 :before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html .factory-bootstrap-428{-webkit-tap-highlight-color:rgba(0,0,0,0)}.factory-bootstrap-428 body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.428571429;color:#333;background-color:#fff}.factory-bootstrap-428 button,.factory-bootstrap-428 input,.factory-bootstrap-428 select,.factory-bootstrap-428 textarea{font-family:inherit;font-size:inherit;line-height:inherit}.factory-bootstrap-428 img{vertical-align:middle}.factory-bootstrap-428 .img-responsive{display:block;height:auto;max-width:100%}.factory-bootstrap-428 .img-rounded{border-radius:6px}.factory-bootstrap-428 .img-thumbnail{display:inline-block;height:auto;max-width:100%;padding:4px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.factory-bootstrap-428 .img-circle{border-radius:50%}.factory-bootstrap-428 hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.factory-bootstrap-428 .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.factory-bootstrap-428 .h1,.factory-bootstrap-428 .h2,.factory-bootstrap-428 .h3,.factory-bootstrap-428 .h4,.factory-bootstrap-428 .h5,.factory-bootstrap-428 .h6,.factory-bootstrap-428 h1,.factory-bootstrap-428 h2,.factory-bootstrap-428 h3,.factory-bootstrap-428 h4,.factory-bootstrap-428 h5,.factory-bootstrap-428 h6{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;line-height:1.1;color:inherit}.factory-bootstrap-428 .h1 .small,.factory-bootstrap-428 .h1 small,.factory-bootstrap-428 .h2 .small,.factory-bootstrap-428 .h2 small,.factory-bootstrap-428 .h3 .small,.factory-bootstrap-428 .h3 small,.factory-bootstrap-428 .h4 .small,.factory-bootstrap-428 .h4 small,.factory-bootstrap-428 .h5 .small,.factory-bootstrap-428 .h5 small,.factory-bootstrap-428 .h6 .small,.factory-bootstrap-428 .h6 small,.factory-bootstrap-428 h1 .small,.factory-bootstrap-428 h1 small,.factory-bootstrap-428 h2 .small,.factory-bootstrap-428 h2 small,.factory-bootstrap-428 h3 .small,.factory-bootstrap-428 h3 small,.factory-bootstrap-428 h4 .small,.factory-bootstrap-428 h4 small,.factory-bootstrap-428 h5 .small,.factory-bootstrap-428 h5 small,.factory-bootstrap-428 h6 .small,.factory-bootstrap-428 h6 small{font-weight:400;line-height:1;color:#999}.factory-bootstrap-428 h1,.factory-bootstrap-428 h2,.factory-bootstrap-428 h3{margin-top:20px;margin-bottom:10px}.factory-bootstrap-428 h1 .small,.factory-bootstrap-428 h1 small,.factory-bootstrap-428 h2 .small,.factory-bootstrap-428 h2 small,.factory-bootstrap-428 h3 .small,.factory-bootstrap-428 h3 small{font-size:65%}.factory-bootstrap-428 h4,.factory-bootstrap-428 h5,.factory-bootstrap-428 h6{margin-top:10px;margin-bottom:10px}.factory-bootstrap-428 h4 .small,.factory-bootstrap-428 h4 small,.factory-bootstrap-428 h5 .small,.factory-bootstrap-428 h5 small,.factory-bootstrap-428 h6 .small,.factory-bootstrap-428 h6 small{font-size:75%}.factory-bootstrap-428 .h1,.factory-bootstrap-428 h1{font-size:36px}.factory-bootstrap-428 .h2,.factory-bootstrap-428 h2{font-size:30px}.factory-bootstrap-428 .h3,.factory-bootstrap-428 h3{font-size:24px}.factory-bootstrap-428 .h4,.factory-bootstrap-428 h4{font-size:18px}.factory-bootstrap-428 .h5,.factory-bootstrap-428 h5{font-size:14px}.factory-bootstrap-428 .h6,.factory-bootstrap-428 h6{font-size:12px}.factory-bootstrap-428 p{margin:0 0 10px}.factory-bootstrap-428 .lead{margin-bottom:20px;font-size:16px;font-weight:200;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.factory-bootstrap-428 .small,.factory-bootstrap-428 small{font-size:85%}.factory-bootstrap-428 cite{font-style:normal}.factory-bootstrap-428 .text-muted{color:#999}.factory-bootstrap-428 .text-primary{color:#428bca}.factory-bootstrap-428 .text-primary:hover{color:#3071a9}.factory-bootstrap-428 .text-warning{color:#8a6d3b}.factory-bootstrap-428 .text-warning:hover{color:#66512c}.factory-bootstrap-428 .text-danger{color:#a94442}.factory-bootstrap-428 .text-danger:hover{color:#843534}.factory-bootstrap-428 .text-success{color:#3c763d}.factory-bootstrap-428 .text-success:hover{color:#2b542c}.factory-bootstrap-428 .text-info{color:#31708f}.factory-bootstrap-428 .text-info:hover{color:#245269}.factory-bootstrap-428 .text-left{text-align:left}.factory-bootstrap-428 .text-right{text-align:right}.factory-bootstrap-428 .text-center{text-align:center}.factory-bootstrap-428 .page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}.factory-bootstrap-428 ol,.factory-bootstrap-428 ul{margin-top:0;margin-bottom:10px}.factory-bootstrap-428 ol ol,.factory-bootstrap-428 ol ul,.factory-bootstrap-428 ul ol,.factory-bootstrap-428 ul ul{margin-bottom:0}.factory-bootstrap-428 .list-inline,.factory-bootstrap-428 .list-unstyled{padding-left:0;list-style:none}.factory-bootstrap-428 .list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}.factory-bootstrap-428 .list-inline>li:first-child{padding-left:0}.factory-bootstrap-428 dl{margin-top:0;margin-bottom:20px}.factory-bootstrap-428 dd,.factory-bootstrap-428 dt{line-height:1.428571429}.factory-bootstrap-428 dt{font-weight:700}.factory-bootstrap-428 dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}.dl-horizontal dd:after,.dl-horizontal dd:before{display:table;content:" "}.dl-horizontal dd:after{clear:both}}.factory-bootstrap-428 abbr[data-original-title],.factory-bootstrap-428 abbr[title]{cursor:help;border-bottom:1px dotted #999}.factory-bootstrap-428 .initialism{font-size:90%;text-transform:uppercase}.factory-bootstrap-428 blockquote{padding:10px 20px;margin:0 0 20px;border-left:5px solid #eee}.factory-bootstrap-428 blockquote p{font-size:17.5px;font-weight:300;line-height:1.25}.factory-bootstrap-428 blockquote p:last-child{margin-bottom:0}.factory-bootstrap-428 blockquote .small,.factory-bootstrap-428 blockquote small{display:block;line-height:1.428571429;color:#999}.factory-bootstrap-428 blockquote .small:before,.factory-bootstrap-428 blockquote small:before{content:'\2014 \00A0'}.factory-bootstrap-428 blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}.factory-bootstrap-428 blockquote.pull-right .small,.factory-bootstrap-428 blockquote.pull-right p,.factory-bootstrap-428 blockquote.pull-right small{text-align:right}.factory-bootstrap-428 blockquote.pull-right .small:before,.factory-bootstrap-428 blockquote.pull-right small:before{content:''}.factory-bootstrap-428 blockquote.pull-right .small:after,.factory-bootstrap-428 blockquote.pull-right small:after{content:'\00A0 \2014'}.factory-bootstrap-428 blockquote:after,.factory-bootstrap-428 blockquote:before{content:""}.factory-bootstrap-428 address{margin-bottom:20px;font-style:normal;line-height:1.428571429}.factory-bootstrap-428 code,.factory-bootstrap-428 kbd,.factory-bootstrap-428 pre,.factory-bootstrap-428 samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}.factory-bootstrap-428 code{padding:2px 4px;font-size:90%;color:#c7254e;white-space:nowrap;background-color:#f9f2f4;border-radius:4px}.factory-bootstrap-428 pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}.factory-bootstrap-428 pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.factory-bootstrap-428 .pre-scrollable{max-height:340px;overflow-y:scroll}.factory-bootstrap-428 .container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.factory-bootstrap-428 .container:after,.factory-bootstrap-428 .container:before{display:table;content:" "}.factory-bootstrap-428 .container:after{clear:both}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.factory-bootstrap-428 .row{margin-right:-15px;margin-left:-15px}.factory-bootstrap-428 .row:after,.factory-bootstrap-428 .row:before{display:table;content:" "}.factory-bootstrap-428 .row:after{clear:both}.factory-bootstrap-428 .col-lg-1,.factory-bootstrap-428 .col-lg-10,.factory-bootstrap-428 .col-lg-11,.factory-bootstrap-428 .col-lg-12,.factory-bootstrap-428 .col-lg-2,.factory-bootstrap-428 .col-lg-3,.factory-bootstrap-428 .col-lg-4,.factory-bootstrap-428 .col-lg-5,.factory-bootstrap-428 .col-lg-6,.factory-bootstrap-428 .col-lg-7,.factory-bootstrap-428 .col-lg-8,.factory-bootstrap-428 .col-lg-9,.factory-bootstrap-428 .col-md-1,.factory-bootstrap-428 .col-md-10,.factory-bootstrap-428 .col-md-11,.factory-bootstrap-428 .col-md-12,.factory-bootstrap-428 .col-md-2,.factory-bootstrap-428 .col-md-3,.factory-bootstrap-428 .col-md-4,.factory-bootstrap-428 .col-md-5,.factory-bootstrap-428 .col-md-6,.factory-bootstrap-428 .col-md-7,.factory-bootstrap-428 .col-md-8,.factory-bootstrap-428 .col-md-9,.factory-bootstrap-428 .col-sm-1,.factory-bootstrap-428 .col-sm-10,.factory-bootstrap-428 .col-sm-11,.factory-bootstrap-428 .col-sm-12,.factory-bootstrap-428 .col-sm-2,.factory-bootstrap-428 .col-sm-3,.factory-bootstrap-428 .col-sm-4,.factory-bootstrap-428 .col-sm-5,.factory-bootstrap-428 .col-sm-6,.factory-bootstrap-428 .col-sm-7,.factory-bootstrap-428 .col-sm-8,.factory-bootstrap-428 .col-sm-9,.factory-bootstrap-428 .col-xs-1,.factory-bootstrap-428 .col-xs-10,.factory-bootstrap-428 .col-xs-11,.factory-bootstrap-428 .col-xs-12,.factory-bootstrap-428 .col-xs-2,.factory-bootstrap-428 .col-xs-3,.factory-bootstrap-428 .col-xs-4,.factory-bootstrap-428 .col-xs-5,.factory-bootstrap-428 .col-xs-6,.factory-bootstrap-428 .col-xs-7,.factory-bootstrap-428 .col-xs-8,.factory-bootstrap-428 .col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.factory-bootstrap-428 .col-xs-1,.factory-bootstrap-428 .col-xs-10,.factory-bootstrap-428 .col-xs-11,.factory-bootstrap-428 .col-xs-12,.factory-bootstrap-428 .col-xs-2,.factory-bootstrap-428 .col-xs-3,.factory-bootstrap-428 .col-xs-4,.factory-bootstrap-428 .col-xs-5,.factory-bootstrap-428 .col-xs-6,.factory-bootstrap-428 .col-xs-7,.factory-bootstrap-428 .col-xs-8,.factory-bootstrap-428 .col-xs-9{float:left}.factory-bootstrap-428 .col-xs-12{width:100%}.factory-bootstrap-428 .col-xs-11{width:91.66666666666666%}.factory-bootstrap-428 .col-xs-10{width:83.33333333333334%}.factory-bootstrap-428 .col-xs-9{width:75%}.factory-bootstrap-428 .col-xs-8{width:66.66666666666666%}.factory-bootstrap-428 .col-xs-7{width:58.333333333333336%}.factory-bootstrap-428 .col-xs-6{width:50%}.factory-bootstrap-428 .col-xs-5{width:41.66666666666667%}.factory-bootstrap-428 .col-xs-4{width:33.33333333333333%}.factory-bootstrap-428 .col-xs-3{width:25%}.factory-bootstrap-428 .col-xs-2{width:16.666666666666664%}.factory-bootstrap-428 .col-xs-1{width:8.333333333333332%}.factory-bootstrap-428 .col-xs-pull-12{right:100%}.factory-bootstrap-428 .col-xs-pull-11{right:91.66666666666666%}.factory-bootstrap-428 .col-xs-pull-10{right:83.33333333333334%}.factory-bootstrap-428 .col-xs-pull-9{right:75%}.factory-bootstrap-428 .col-xs-pull-8{right:66.66666666666666%}.factory-bootstrap-428 .col-xs-pull-7{right:58.333333333333336%}.factory-bootstrap-428 .col-xs-pull-6{right:50%}.factory-bootstrap-428 .col-xs-pull-5{right:41.66666666666667%}.factory-bootstrap-428 .col-xs-pull-4{right:33.33333333333333%}.factory-bootstrap-428 .col-xs-pull-3{right:25%}.factory-bootstrap-428 .col-xs-pull-2{right:16.666666666666664%}.factory-bootstrap-428 .col-xs-pull-1{right:8.333333333333332%}.factory-bootstrap-428 .col-xs-pull-0{right:0}.factory-bootstrap-428 .col-xs-push-12{left:100%}.factory-bootstrap-428 .col-xs-push-11{left:91.66666666666666%}.factory-bootstrap-428 .col-xs-push-10{left:83.33333333333334%}.factory-bootstrap-428 .col-xs-push-9{left:75%}.factory-bootstrap-428 .col-xs-push-8{left:66.66666666666666%}.factory-bootstrap-428 .col-xs-push-7{left:58.333333333333336%}.factory-bootstrap-428 .col-xs-push-6{left:50%}.factory-bootstrap-428 .col-xs-push-5{left:41.66666666666667%}.factory-bootstrap-428 .col-xs-push-4{left:33.33333333333333%}.factory-bootstrap-428 .col-xs-push-3{left:25%}.factory-bootstrap-428 .col-xs-push-2{left:16.666666666666664%}.factory-bootstrap-428 .col-xs-push-1{left:8.333333333333332%}.factory-bootstrap-428 .col-xs-push-0{left:0}.factory-bootstrap-428 .col-xs-offset-12{margin-left:100%}.factory-bootstrap-428 .col-xs-offset-11{margin-left:91.66666666666666%}.factory-bootstrap-428 .col-xs-offset-10{margin-left:83.33333333333334%}.factory-bootstrap-428 .col-xs-offset-9{margin-left:75%}.factory-bootstrap-428 .col-xs-offset-8{margin-left:66.66666666666666%}.factory-bootstrap-428 .col-xs-offset-7{margin-left:58.333333333333336%}.factory-bootstrap-428 .col-xs-offset-6{margin-left:50%}.factory-bootstrap-428 .col-xs-offset-5{margin-left:41.66666666666667%}.factory-bootstrap-428 .col-xs-offset-4{margin-left:33.33333333333333%}.factory-bootstrap-428 .col-xs-offset-3{margin-left:25%}.factory-bootstrap-428 .col-xs-offset-2{margin-left:16.666666666666664%}.factory-bootstrap-428 .col-xs-offset-1{margin-left:8.333333333333332%}.factory-bootstrap-428 .col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666666666666%}.col-sm-10{width:83.33333333333334%}.col-sm-9{width:75%}.col-sm-8{width:66.66666666666666%}.col-sm-7{width:58.333333333333336%}.col-sm-6{width:50%}.col-sm-5{width:41.66666666666667%}.col-sm-4{width:33.33333333333333%}.col-sm-3{width:25%}.col-sm-2{width:16.666666666666664%}.col-sm-1{width:8.333333333333332%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666666666666%}.col-sm-pull-10{right:83.33333333333334%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666666666666%}.col-sm-pull-7{right:58.333333333333336%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666666666667%}.col-sm-pull-4{right:33.33333333333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.666666666666664%}.col-sm-pull-1{right:8.333333333333332%}.col-sm-pull-0{right:0}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666666666666%}.col-sm-push-10{left:83.33333333333334%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666666666666%}.col-sm-push-7{left:58.333333333333336%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666666666667%}.col-sm-push-4{left:33.33333333333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.666666666666664%}.col-sm-push-1{left:8.333333333333332%}.col-sm-push-0{left:0}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666666666666%}.col-sm-offset-10{margin-left:83.33333333333334%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666666666666%}.col-sm-offset-7{margin-left:58.333333333333336%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666666666667%}.col-sm-offset-4{margin-left:33.33333333333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.666666666666664%}.col-sm-offset-1{margin-left:8.333333333333332%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666666666666%}.col-md-10{width:83.33333333333334%}.col-md-9{width:75%}.col-md-8{width:66.66666666666666%}.col-md-7{width:58.333333333333336%}.col-md-6{width:50%}.col-md-5{width:41.66666666666667%}.col-md-4{width:33.33333333333333%}.col-md-3{width:25%}.col-md-2{width:16.666666666666664%}.col-md-1{width:8.333333333333332%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666666666666%}.col-md-pull-10{right:83.33333333333334%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666666666666%}.col-md-pull-7{right:58.333333333333336%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666666666667%}.col-md-pull-4{right:33.33333333333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.666666666666664%}.col-md-pull-1{right:8.333333333333332%}.col-md-pull-0{right:0}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666666666666%}.col-md-push-10{left:83.33333333333334%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666666666666%}.col-md-push-7{left:58.333333333333336%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666666666667%}.col-md-push-4{left:33.33333333333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.666666666666664%}.col-md-push-1{left:8.333333333333332%}.col-md-push-0{left:0}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666666666666%}.col-md-offset-10{margin-left:83.33333333333334%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666666666666%}.col-md-offset-7{margin-left:58.333333333333336%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666666666667%}.col-md-offset-4{margin-left:33.33333333333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.666666666666664%}.col-md-offset-1{margin-left:8.333333333333332%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666666666666%}.col-lg-10{width:83.33333333333334%}.col-lg-9{width:75%}.col-lg-8{width:66.66666666666666%}.col-lg-7{width:58.333333333333336%}.col-lg-6{width:50%}.col-lg-5{width:41.66666666666667%}.col-lg-4{width:33.33333333333333%}.col-lg-3{width:25%}.col-lg-2{width:16.666666666666664%}.col-lg-1{width:8.333333333333332%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666666666666%}.col-lg-pull-10{right:83.33333333333334%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666666666666%}.col-lg-pull-7{right:58.333333333333336%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666666666667%}.col-lg-pull-4{right:33.33333333333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.666666666666664%}.col-lg-pull-1{right:8.333333333333332%}.col-lg-pull-0{right:0}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666666666666%}.col-lg-push-10{left:83.33333333333334%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666666666666%}.col-lg-push-7{left:58.333333333333336%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666666666667%}.col-lg-push-4{left:33.33333333333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.666666666666664%}.col-lg-push-1{left:8.333333333333332%}.col-lg-push-0{left:0}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666666666666%}.col-lg-offset-10{margin-left:83.33333333333334%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666666666666%}.col-lg-offset-7{margin-left:58.333333333333336%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666666666667%}.col-lg-offset-4{margin-left:33.33333333333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.666666666666664%}.col-lg-offset-1{margin-left:8.333333333333332%}.col-lg-offset-0{margin-left:0}}.factory-bootstrap-428 table{max-width:100%;background-color:transparent}.factory-bootstrap-428 th{text-align:left}.factory-bootstrap-428 .table{width:100%;margin-bottom:20px}.factory-bootstrap-428 .table>tbody>tr>td,.factory-bootstrap-428 .table>tbody>tr>th,.factory-bootstrap-428 .table>tfoot>tr>td,.factory-bootstrap-428 .table>tfoot>tr>th,.factory-bootstrap-428 .table>thead>tr>td,.factory-bootstrap-428 .table>thead>tr>th{padding:8px;line-height:1.428571429;vertical-align:top;border-top:1px solid #ddd}.factory-bootstrap-428 .table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.factory-bootstrap-428 .table>caption+thead>tr:first-child>td,.factory-bootstrap-428 .table>caption+thead>tr:first-child>th,.factory-bootstrap-428 .table>colgroup+thead>tr:first-child>td,.factory-bootstrap-428 .table>colgroup+thead>tr:first-child>th,.factory-bootstrap-428 .table>thead:first-child>tr:first-child>td,.factory-bootstrap-428 .table>thead:first-child>tr:first-child>th{border-top:0}.factory-bootstrap-428 .table>tbody+tbody{border-top:2px solid #ddd}.factory-bootstrap-428 .table .table{background-color:#fff}.factory-bootstrap-428 .table-condensed>tbody>tr>td,.factory-bootstrap-428 .table-condensed>tbody>tr>th,.factory-bootstrap-428 .table-condensed>tfoot>tr>td,.factory-bootstrap-428 .table-condensed>tfoot>tr>th,.factory-bootstrap-428 .table-condensed>thead>tr>td,.factory-bootstrap-428 .table-condensed>thead>tr>th{padding:5px}.factory-bootstrap-428 .table-bordered,.factory-bootstrap-428 .table-bordered>tbody>tr>td,.factory-bootstrap-428 .table-bordered>tbody>tr>th,.factory-bootstrap-428 .table-bordered>tfoot>tr>td,.factory-bootstrap-428 .table-bordered>tfoot>tr>th,.factory-bootstrap-428 .table-bordered>thead>tr>td,.factory-bootstrap-428 .table-bordered>thead>tr>th{border:1px solid #ddd}.factory-bootstrap-428 .table-bordered>thead>tr>td,.factory-bootstrap-428 .table-bordered>thead>tr>th{border-bottom-width:2px}.factory-bootstrap-428 .table-striped>tbody>tr:nth-child(odd)>td,.factory-bootstrap-428 .table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.factory-bootstrap-428 .table-hover>tbody>tr:hover>td,.factory-bootstrap-428 .table-hover>tbody>tr:hover>th{background-color:#f5f5f5}.factory-bootstrap-428 table col[class*=col-]{position:static;display:table-column;float:none}.factory-bootstrap-428 table td[class*=col-],.factory-bootstrap-428 table th[class*=col-]{display:table-cell;float:none}.factory-bootstrap-428 .table>tbody>.active>td,.factory-bootstrap-428 .table>tbody>.active>th,.factory-bootstrap-428 .table>tbody>tr>.active,.factory-bootstrap-428 .table>tfoot>.active>td,.factory-bootstrap-428 .table>tfoot>.active>th,.factory-bootstrap-428 .table>tfoot>tr>.active,.factory-bootstrap-428 .table>thead>.active>td,.factory-bootstrap-428 .table>thead>.active>th,.factory-bootstrap-428 .table>thead>tr>.active{background-color:#f5f5f5}.factory-bootstrap-428 .table-hover>tbody>.active:hover>td,.factory-bootstrap-428 .table-hover>tbody>.active:hover>th,.factory-bootstrap-428 .table-hover>tbody>tr>.active:hover{background-color:#e8e8e8}.factory-bootstrap-428 .table>tbody>.success>td,.factory-bootstrap-428 .table>tbody>.success>th,.factory-bootstrap-428 .table>tbody>tr>.success,.factory-bootstrap-428 .table>tfoot>.success>td,.factory-bootstrap-428 .table>tfoot>.success>th,.factory-bootstrap-428 .table>tfoot>tr>.success,.factory-bootstrap-428 .table>thead>.success>td,.factory-bootstrap-428 .table>thead>.success>th,.factory-bootstrap-428 .table>thead>tr>.success{background-color:#dff0d8}.factory-bootstrap-428 .table-hover>tbody>.success:hover>td,.factory-bootstrap-428 .table-hover>tbody>.success:hover>th,.factory-bootstrap-428 .table-hover>tbody>tr>.success:hover{background-color:#d0e9c6}.factory-bootstrap-428 .table>tbody>.danger>td,.factory-bootstrap-428 .table>tbody>.danger>th,.factory-bootstrap-428 .table>tbody>tr>.danger,.factory-bootstrap-428 .table>tfoot>.danger>td,.factory-bootstrap-428 .table>tfoot>.danger>th,.factory-bootstrap-428 .table>tfoot>tr>.danger,.factory-bootstrap-428 .table>thead>.danger>td,.factory-bootstrap-428 .table>thead>.danger>th,.factory-bootstrap-428 .table>thead>tr>.danger{background-color:#f2dede}.factory-bootstrap-428 .table-hover>tbody>.danger:hover>td,.factory-bootstrap-428 .table-hover>tbody>.danger:hover>th,.factory-bootstrap-428 .table-hover>tbody>tr>.danger:hover{background-color:#ebcccc}.factory-bootstrap-428 .table>tbody>.warning>td,.factory-bootstrap-428 .table>tbody>.warning>th,.factory-bootstrap-428 .table>tbody>tr>.warning,.factory-bootstrap-428 .table>tfoot>.warning>td,.factory-bootstrap-428 .table>tfoot>.warning>th,.factory-bootstrap-428 .table>tfoot>tr>.warning,.factory-bootstrap-428 .table>thead>.warning>td,.factory-bootstrap-428 .table>thead>.warning>th,.factory-bootstrap-428 .table>thead>tr>.warning{background-color:#fcf8e3}.factory-bootstrap-428 .table-hover>tbody>.warning:hover>td,.factory-bootstrap-428 .table-hover>tbody>.warning:hover>th,.factory-bootstrap-428 .table-hover>tbody>tr>.warning:hover{background-color:#faf2cc}@media (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #ddd;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}.factory-bootstrap-428 fieldset{padding:0;margin:0;border:0}.factory-bootstrap-428 legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5;-moz-box-sizing:content-box;box-sizing:content-box}.factory-bootstrap-428 label{display:inline-block;margin-bottom:5px;font-weight:700}.factory-bootstrap-428 input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.factory-bootstrap-428 input[type=checkbox],.factory-bootstrap-428 input[type=radio]{margin:4px 0 0;margin-top:1px \9;line-height:normal}.factory-bootstrap-428 input[type=file]{display:block}.factory-bootstrap-428 select[multiple],.factory-bootstrap-428 select[size]{height:auto}.factory-bootstrap-428 select optgroup{font-family:inherit;font-size:inherit;font-style:inherit}.factory-bootstrap-428 input[type=checkbox]:focus,.factory-bootstrap-428 input[type=file]:focus,.factory-bootstrap-428 input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.factory-bootstrap-428 input[type=number]::-webkit-inner-spin-button,.factory-bootstrap-428 input[type=number]::-webkit-outer-spin-button{height:auto}.factory-bootstrap-428 output{display:block;padding-top:7px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle}.factory-bootstrap-428 .form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:3px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.factory-bootstrap-428 .form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-428 .form-control:-moz-placeholder{color:#999}.factory-bootstrap-428 .form-control::-moz-placeholder{color:#999;opacity:1}.factory-bootstrap-428 .form-control:-ms-input-placeholder{color:#999}.factory-bootstrap-428 .form-control::-webkit-input-placeholder{color:#999}.factory-bootstrap-428 .form-control[disabled],.factory-bootstrap-428 .form-control[readonly],.factory-bootstrap-428 fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee}.factory-bootstrap-428 textarea.form-control{height:auto}.factory-bootstrap-428 .form-group{margin-bottom:15px}.factory-bootstrap-428 .checkbox,.factory-bootstrap-428 .radio{display:block;min-height:20px;padding-left:20px;margin-top:10px;margin-bottom:10px;vertical-align:middle}.factory-bootstrap-428 .checkbox label,.factory-bootstrap-428 .radio label{display:inline;margin-bottom:0;font-weight:400;cursor:pointer}.factory-bootstrap-428 .checkbox input[type=checkbox],.factory-bootstrap-428 .checkbox-inline input[type=checkbox],.factory-bootstrap-428 .radio input[type=radio],.factory-bootstrap-428 .radio-inline input[type=radio]{float:left;margin-left:-20px}.factory-bootstrap-428 .checkbox+.checkbox,.factory-bootstrap-428 .radio+.radio{margin-top:-5px}.factory-bootstrap-428 .checkbox-inline,.factory-bootstrap-428 .radio-inline{display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.factory-bootstrap-428 .checkbox-inline+.checkbox-inline,.factory-bootstrap-428 .radio-inline+.radio-inline{margin-top:0;margin-left:10px}.factory-bootstrap-428 .checkbox-inline[disabled],.factory-bootstrap-428 .checkbox[disabled],.factory-bootstrap-428 .radio-inline[disabled],.factory-bootstrap-428 .radio[disabled],.factory-bootstrap-428 fieldset[disabled] .checkbox,.factory-bootstrap-428 fieldset[disabled] .checkbox-inline,.factory-bootstrap-428 fieldset[disabled] .radio,.factory-bootstrap-428 fieldset[disabled] .radio-inline,.factory-bootstrap-428 fieldset[disabled] input[type=checkbox],.factory-bootstrap-428 fieldset[disabled] input[type=radio],.factory-bootstrap-428 input[type=checkbox][disabled],.factory-bootstrap-428 input[type=radio][disabled]{cursor:not-allowed}.factory-bootstrap-428 .input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-428 select.input-sm{height:30px;line-height:30px}.factory-bootstrap-428 textarea.input-sm{height:auto}.factory-bootstrap-428 .input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-428 select.input-lg{height:46px;line-height:46px}.factory-bootstrap-428 textarea.input-lg{height:auto}.factory-bootstrap-428 .has-warning .checkbox,.factory-bootstrap-428 .has-warning .checkbox-inline,.factory-bootstrap-428 .has-warning .control-label,.factory-bootstrap-428 .has-warning .help-block,.factory-bootstrap-428 .has-warning .radio,.factory-bootstrap-428 .has-warning .radio-inline{color:#8a6d3b}.factory-bootstrap-428 .has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-428 .has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.factory-bootstrap-428 .has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.factory-bootstrap-428 .has-error .checkbox,.factory-bootstrap-428 .has-error .checkbox-inline,.factory-bootstrap-428 .has-error .control-label,.factory-bootstrap-428 .has-error .help-block,.factory-bootstrap-428 .has-error .radio,.factory-bootstrap-428 .has-error .radio-inline{color:#a94442}.factory-bootstrap-428 .controls{display:block}.factory-bootstrap-428 .has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-428 .has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.factory-bootstrap-428 .has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.factory-bootstrap-428 .has-success .checkbox,.factory-bootstrap-428 .has-success .checkbox-inline,.factory-bootstrap-428 .has-success .control-label,.factory-bootstrap-428 .has-success .help-block,.factory-bootstrap-428 .has-success .radio,.factory-bootstrap-428 .has-success .radio-inline{color:#3c763d}.factory-bootstrap-428 .has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-428 .has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.factory-bootstrap-428 .has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.factory-bootstrap-428 .form-control-static{margin-bottom:0}.factory-bootstrap-428 .help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373;font-weight:400}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block}.form-inline select.form-control{width:auto}.form-inline .checkbox,.form-inline .radio{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{float:none;margin-left:0}}.factory-bootstrap-428 .form-horizontal .checkbox,.factory-bootstrap-428 .form-horizontal .checkbox-inline,.factory-bootstrap-428 .form-horizontal .control-label,.factory-bootstrap-428 .form-horizontal .radio,.factory-bootstrap-428 .form-horizontal .radio-inline{position:relative;padding-top:7px;margin-top:0;margin-bottom:0}.factory-bootstrap-428 .form-horizontal .control-label{max-width:200px}.factory-bootstrap-428 .form-horizontal .checkbox,.factory-bootstrap-428 .form-horizontal .radio{min-height:27px}.factory-bootstrap-428 .form-horizontal .form-group{margin-right:-15px;margin-left:-15px}.factory-bootstrap-428 .form-horizontal .form-group:after,.factory-bootstrap-428 .form-horizontal .form-group:before{display:table;content:" "}.factory-bootstrap-428 .form-horizontal .form-group:after{clear:both}.factory-bootstrap-428 .form-horizontal .form-control-static{padding-top:7px}@media (min-width:768px){.form-horizontal .control-label{text-align:right}}.factory-bootstrap-428 .btn{display:inline-block;padding:5px 12px;margin-bottom:0;font-size:13px;font-weight:400;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;border-radius:3px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.factory-bootstrap-428 .btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.factory-bootstrap-428 .btn{text-decoration:none}.factory-bootstrap-428 .btn:focus,.factory-bootstrap-428 .btn:hover{color:#333;text-decoration:none}.factory-bootstrap-428 .btn.disabled,.factory-bootstrap-428 .btn[disabled],.factory-bootstrap-428 fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.factory-bootstrap-428 .btn-default.active,.factory-bootstrap-428 .btn-default:active,.factory-bootstrap-428 .btn-default:focus,.factory-bootstrap-428 .btn-default:hover,.factory-bootstrap-428 .open .dropdown-toggle.btn-default{background:#fafafa;border-color:#999;color:#222}.factory-bootstrap-428 .btn-default.active,.factory-bootstrap-428 .btn-default:active,.factory-bootstrap-428 .open .dropdown-toggle.btn-default{background-image:none}.factory-bootstrap-428 .btn-default.disabled,.factory-bootstrap-428 .btn-default.disabled.active,.factory-bootstrap-428 .btn-default.disabled:active,.factory-bootstrap-428 .btn-default.disabled:focus,.factory-bootstrap-428 .btn-default.disabled:hover,.factory-bootstrap-428 .btn-default[disabled],.factory-bootstrap-428 .btn-default[disabled].active,.factory-bootstrap-428 .btn-default[disabled]:active,.factory-bootstrap-428 .btn-default[disabled]:focus,.factory-bootstrap-428 .btn-default[disabled]:hover,.factory-bootstrap-428 fieldset[disabled] .btn-default,.factory-bootstrap-428 fieldset[disabled] .btn-default.active,.factory-bootstrap-428 fieldset[disabled] .btn-default:active,.factory-bootstrap-428 fieldset[disabled] .btn-default:focus,.factory-bootstrap-428 fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.factory-bootstrap-428 .btn-default .badge{color:#fff;background-color:#fff}.factory-bootstrap-428 .btn-primary.active,.factory-bootstrap-428 .btn-primary:active,.factory-bootstrap-428 .btn-primary:focus,.factory-bootstrap-428 .btn-primary:hover,.factory-bootstrap-428 .open .dropdown-toggle.btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.factory-bootstrap-428 .btn-primary.active,.factory-bootstrap-428 .btn-primary:active,.factory-bootstrap-428 .open .dropdown-toggle.btn-primary{background-image:none}.factory-bootstrap-428 .btn-primary.disabled,.factory-bootstrap-428 .btn-primary.disabled.active,.factory-bootstrap-428 .btn-primary.disabled:active,.factory-bootstrap-428 .btn-primary.disabled:focus,.factory-bootstrap-428 .btn-primary.disabled:hover,.factory-bootstrap-428 .btn-primary[disabled],.factory-bootstrap-428 .btn-primary[disabled].active,.factory-bootstrap-428 .btn-primary[disabled]:active,.factory-bootstrap-428 .btn-primary[disabled]:focus,.factory-bootstrap-428 .btn-primary[disabled]:hover,.factory-bootstrap-428 fieldset[disabled] .btn-primary,.factory-bootstrap-428 fieldset[disabled] .btn-primary.active,.factory-bootstrap-428 fieldset[disabled] .btn-primary:active,.factory-bootstrap-428 fieldset[disabled] .btn-primary:focus,.factory-bootstrap-428 fieldset[disabled] .btn-primary:hover{background-color:#428bca;border-color:#357ebd}.factory-bootstrap-428 .btn-primary .badge{color:#428bca;background-color:#fff}.factory-bootstrap-428 .btn-warning{color:#fff;background-color:#f0ad4e}.factory-bootstrap-428 .btn-warning.active,.factory-bootstrap-428 .btn-warning:active,.factory-bootstrap-428 .btn-warning:focus,.factory-bootstrap-428 .btn-warning:hover,.factory-bootstrap-428 .open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.factory-bootstrap-428 .btn-warning.active,.factory-bootstrap-428 .btn-warning:active,.factory-bootstrap-428 .open .dropdown-toggle.btn-warning{background-image:none}.factory-bootstrap-428 .btn-warning.disabled,.factory-bootstrap-428 .btn-warning.disabled.active,.factory-bootstrap-428 .btn-warning.disabled:active,.factory-bootstrap-428 .btn-warning.disabled:focus,.factory-bootstrap-428 .btn-warning.disabled:hover,.factory-bootstrap-428 .btn-warning[disabled],.factory-bootstrap-428 .btn-warning[disabled].active,.factory-bootstrap-428 .btn-warning[disabled]:active,.factory-bootstrap-428 .btn-warning[disabled]:focus,.factory-bootstrap-428 .btn-warning[disabled]:hover,.factory-bootstrap-428 fieldset[disabled] .btn-warning,.factory-bootstrap-428 fieldset[disabled] .btn-warning.active,.factory-bootstrap-428 fieldset[disabled] .btn-warning:active,.factory-bootstrap-428 fieldset[disabled] .btn-warning:focus,.factory-bootstrap-428 fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.factory-bootstrap-428 .btn-warning .badge{color:#f0ad4e;background-color:#fff}.factory-bootstrap-428 .btn-success{color:#fff;background-color:#5cb85c}.factory-bootstrap-428 .btn-success.active,.factory-bootstrap-428 .btn-success:active,.factory-bootstrap-428 .btn-success:focus,.factory-bootstrap-428 .btn-success:hover,.factory-bootstrap-428 .open .dropdown-toggle.btn-success{color:#fff;background-color:#47a447;border-color:#398439}.factory-bootstrap-428 .btn-success.active,.factory-bootstrap-428 .btn-success:active,.factory-bootstrap-428 .open .dropdown-toggle.btn-success{background-image:none}.factory-bootstrap-428 .btn-success.disabled,.factory-bootstrap-428 .btn-success.disabled.active,.factory-bootstrap-428 .btn-success.disabled:active,.factory-bootstrap-428 .btn-success.disabled:focus,.factory-bootstrap-428 .btn-success.disabled:hover,.factory-bootstrap-428 .btn-success[disabled],.factory-bootstrap-428 .btn-success[disabled].active,.factory-bootstrap-428 .btn-success[disabled]:active,.factory-bootstrap-428 .btn-success[disabled]:focus,.factory-bootstrap-428 .btn-success[disabled]:hover,.factory-bootstrap-428 fieldset[disabled] .btn-success,.factory-bootstrap-428 fieldset[disabled] .btn-success.active,.factory-bootstrap-428 fieldset[disabled] .btn-success:active,.factory-bootstrap-428 fieldset[disabled] .btn-success:focus,.factory-bootstrap-428 fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.factory-bootstrap-428 .btn-success .badge{color:#5cb85c;background-color:#fff}.factory-bootstrap-428 .btn-info{color:#fff;background-color:#5bc0de}.factory-bootstrap-428 .btn-info.active,.factory-bootstrap-428 .btn-info:active,.factory-bootstrap-428 .btn-info:focus,.factory-bootstrap-428 .btn-info:hover,.factory-bootstrap-428 .open .dropdown-toggle.btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.factory-bootstrap-428 .btn-info.active,.factory-bootstrap-428 .btn-info:active,.factory-bootstrap-428 .open .dropdown-toggle.btn-info{background-image:none}.factory-bootstrap-428 .btn-info.disabled,.factory-bootstrap-428 .btn-info.disabled.active,.factory-bootstrap-428 .btn-info.disabled:active,.factory-bootstrap-428 .btn-info.disabled:focus,.factory-bootstrap-428 .btn-info.disabled:hover,.factory-bootstrap-428 .btn-info[disabled],.factory-bootstrap-428 .btn-info[disabled].active,.factory-bootstrap-428 .btn-info[disabled]:active,.factory-bootstrap-428 .btn-info[disabled]:focus,.factory-bootstrap-428 .btn-info[disabled]:hover,.factory-bootstrap-428 fieldset[disabled] .btn-info,.factory-bootstrap-428 fieldset[disabled] .btn-info.active,.factory-bootstrap-428 fieldset[disabled] .btn-info:active,.factory-bootstrap-428 fieldset[disabled] .btn-info:focus,.factory-bootstrap-428 fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.factory-bootstrap-428 .btn-info .badge{color:#5bc0de;background-color:#fff}.factory-bootstrap-428 .btn-link{font-weight:400;color:#428bca;cursor:pointer;border-radius:0}.factory-bootstrap-428 .btn-link,.factory-bootstrap-428 .btn-link:active,.factory-bootstrap-428 .btn-link[disabled],.factory-bootstrap-428 fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.factory-bootstrap-428 .btn-link,.factory-bootstrap-428 .btn-link:active,.factory-bootstrap-428 .btn-link:focus,.factory-bootstrap-428 .btn-link:hover{border-color:transparent}.factory-bootstrap-428 .btn-link:focus,.factory-bootstrap-428 .btn-link:hover{color:#2a6496;text-decoration:underline;background-color:transparent}.factory-bootstrap-428 .btn-link[disabled]:focus,.factory-bootstrap-428 .btn-link[disabled]:hover,.factory-bootstrap-428 fieldset[disabled] .btn-link:focus,.factory-bootstrap-428 fieldset[disabled] .btn-link:hover{color:#999;text-decoration:none}.factory-bootstrap-428 .btn-lg{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-428 .btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-428 .btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-428 .btn-block{display:block;width:100%;padding-right:0;padding-left:0}.factory-bootstrap-428 .btn-block+.btn-block{margin-top:5px}.factory-bootstrap-428 input[type=button].btn-block,.factory-bootstrap-428 input[type=reset].btn-block,.factory-bootstrap-428 input[type=submit].btn-block{width:100%}.factory-bootstrap-428 .fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.factory-bootstrap-428 .fade.in{opacity:1}.factory-bootstrap-428 .collapse{display:none}.factory-bootstrap-428 .collapse.in{display:block}.factory-bootstrap-428 .collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular) format('svg')}.factory-bootstrap-428 .glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';-webkit-font-smoothing:antialiased;font-style:normal;font-weight:400;line-height:1;-moz-osx-font-smoothing:grayscale}.factory-bootstrap-428 .glyphicon:empty{width:1em}.factory-bootstrap-428 .glyphicon-asterisk:before{content:"\2a"}.factory-bootstrap-428 .glyphicon-plus:before{content:"\2b"}.factory-bootstrap-428 .glyphicon-euro:before{content:"\20ac"}.factory-bootstrap-428 .glyphicon-minus:before{content:"\2212"}.factory-bootstrap-428 .glyphicon-cloud:before{content:"\2601"}.factory-bootstrap-428 .glyphicon-envelope:before{content:"\2709"}.factory-bootstrap-428 .glyphicon-pencil:before{content:"\270f"}.factory-bootstrap-428 .glyphicon-glass:before{content:"\e001"}.factory-bootstrap-428 .glyphicon-music:before{content:"\e002"}.factory-bootstrap-428 .glyphicon-search:before{content:"\e003"}.factory-bootstrap-428 .glyphicon-heart:before{content:"\e005"}.factory-bootstrap-428 .glyphicon-star:before{content:"\e006"}.factory-bootstrap-428 .glyphicon-star-empty:before{content:"\e007"}.factory-bootstrap-428 .glyphicon-user:before{content:"\e008"}.factory-bootstrap-428 .glyphicon-film:before{content:"\e009"}.factory-bootstrap-428 .glyphicon-th-large:before{content:"\e010"}.factory-bootstrap-428 .glyphicon-th:before{content:"\e011"}.factory-bootstrap-428 .glyphicon-th-list:before{content:"\e012"}.factory-bootstrap-428 .glyphicon-ok:before{content:"\e013"}.factory-bootstrap-428 .glyphicon-remove:before{content:"\e014"}.factory-bootstrap-428 .glyphicon-zoom-in:before{content:"\e015"}.factory-bootstrap-428 .glyphicon-zoom-out:before{content:"\e016"}.factory-bootstrap-428 .glyphicon-off:before{content:"\e017"}.factory-bootstrap-428 .glyphicon-signal:before{content:"\e018"}.factory-bootstrap-428 .glyphicon-cog:before{content:"\e019"}.factory-bootstrap-428 .glyphicon-trash:before{content:"\e020"}.factory-bootstrap-428 .glyphicon-home:before{content:"\e021"}.factory-bootstrap-428 .glyphicon-file:before{content:"\e022"}.factory-bootstrap-428 .glyphicon-time:before{content:"\e023"}.factory-bootstrap-428 .glyphicon-road:before{content:"\e024"}.factory-bootstrap-428 .glyphicon-download-alt:before{content:"\e025"}.factory-bootstrap-428 .glyphicon-download:before{content:"\e026"}.factory-bootstrap-428 .glyphicon-upload:before{content:"\e027"}.factory-bootstrap-428 .glyphicon-inbox:before{content:"\e028"}.factory-bootstrap-428 .glyphicon-play-circle:before{content:"\e029"}.factory-bootstrap-428 .glyphicon-repeat:before{content:"\e030"}.factory-bootstrap-428 .glyphicon-refresh:before{content:"\e031"}.factory-bootstrap-428 .glyphicon-list-alt:before{content:"\e032"}.factory-bootstrap-428 .glyphicon-lock:before{content:"\e033"}.factory-bootstrap-428 .glyphicon-flag:before{content:"\e034"}.factory-bootstrap-428 .glyphicon-headphones:before{content:"\e035"}.factory-bootstrap-428 .glyphicon-volume-off:before{content:"\e036"}.factory-bootstrap-428 .glyphicon-volume-down:before{content:"\e037"}.factory-bootstrap-428 .glyphicon-volume-up:before{content:"\e038"}.factory-bootstrap-428 .glyphicon-qrcode:before{content:"\e039"}.factory-bootstrap-428 .glyphicon-barcode:before{content:"\e040"}.factory-bootstrap-428 .glyphicon-tag:before{content:"\e041"}.factory-bootstrap-428 .glyphicon-tags:before{content:"\e042"}.factory-bootstrap-428 .glyphicon-book:before{content:"\e043"}.factory-bootstrap-428 .glyphicon-bookmark:before{content:"\e044"}.factory-bootstrap-428 .glyphicon-print:before{content:"\e045"}.factory-bootstrap-428 .glyphicon-camera:before{content:"\e046"}.factory-bootstrap-428 .glyphicon-font:before{content:"\e047"}.factory-bootstrap-428 .glyphicon-bold:before{content:"\e048"}.factory-bootstrap-428 .glyphicon-italic:before{content:"\e049"}.factory-bootstrap-428 .glyphicon-text-height:before{content:"\e050"}.factory-bootstrap-428 .glyphicon-text-width:before{content:"\e051"}.factory-bootstrap-428 .glyphicon-align-left:before{content:"\e052"}.factory-bootstrap-428 .glyphicon-align-center:before{content:"\e053"}.factory-bootstrap-428 .glyphicon-align-right:before{content:"\e054"}.factory-bootstrap-428 .glyphicon-align-justify:before{content:"\e055"}.factory-bootstrap-428 .glyphicon-list:before{content:"\e056"}.factory-bootstrap-428 .glyphicon-indent-left:before{content:"\e057"}.factory-bootstrap-428 .glyphicon-indent-right:before{content:"\e058"}.factory-bootstrap-428 .glyphicon-facetime-video:before{content:"\e059"}.factory-bootstrap-428 .glyphicon-picture:before{content:"\e060"}.factory-bootstrap-428 .glyphicon-map-marker:before{content:"\e062"}.factory-bootstrap-428 .glyphicon-adjust:before{content:"\e063"}.factory-bootstrap-428 .glyphicon-tint:before{content:"\e064"}.factory-bootstrap-428 .glyphicon-edit:before{content:"\e065"}.factory-bootstrap-428 .glyphicon-share:before{content:"\e066"}.factory-bootstrap-428 .glyphicon-check:before{content:"\e067"}.factory-bootstrap-428 .glyphicon-move:before{content:"\e068"}.factory-bootstrap-428 .glyphicon-step-backward:before{content:"\e069"}.factory-bootstrap-428 .glyphicon-fast-backward:before{content:"\e070"}.factory-bootstrap-428 .glyphicon-backward:before{content:"\e071"}.factory-bootstrap-428 .glyphicon-play:before{content:"\e072"}.factory-bootstrap-428 .glyphicon-pause:before{content:"\e073"}.factory-bootstrap-428 .glyphicon-stop:before{content:"\e074"}.factory-bootstrap-428 .glyphicon-forward:before{content:"\e075"}.factory-bootstrap-428 .glyphicon-fast-forward:before{content:"\e076"}.factory-bootstrap-428 .glyphicon-step-forward:before{content:"\e077"}.factory-bootstrap-428 .glyphicon-eject:before{content:"\e078"}.factory-bootstrap-428 .glyphicon-chevron-left:before{content:"\e079"}.factory-bootstrap-428 .glyphicon-chevron-right:before{content:"\e080"}.factory-bootstrap-428 .glyphicon-plus-sign:before{content:"\e081"}.factory-bootstrap-428 .glyphicon-minus-sign:before{content:"\e082"}.factory-bootstrap-428 .glyphicon-remove-sign:before{content:"\e083"}.factory-bootstrap-428 .glyphicon-ok-sign:before{content:"\e084"}.factory-bootstrap-428 .glyphicon-question-sign:before{content:"\e085"}.factory-bootstrap-428 .glyphicon-info-sign:before{content:"\e086"}.factory-bootstrap-428 .glyphicon-screenshot:before{content:"\e087"}.factory-bootstrap-428 .glyphicon-remove-circle:before{content:"\e088"}.factory-bootstrap-428 .glyphicon-ok-circle:before{content:"\e089"}.factory-bootstrap-428 .glyphicon-ban-circle:before{content:"\e090"}.factory-bootstrap-428 .glyphicon-arrow-left:before{content:"\e091"}.factory-bootstrap-428 .glyphicon-arrow-right:before{content:"\e092"}.factory-bootstrap-428 .glyphicon-arrow-up:before{content:"\e093"}.factory-bootstrap-428 .glyphicon-arrow-down:before{content:"\e094"}.factory-bootstrap-428 .glyphicon-share-alt:before{content:"\e095"}.factory-bootstrap-428 .glyphicon-resize-full:before{content:"\e096"}.factory-bootstrap-428 .glyphicon-resize-small:before{content:"\e097"}.factory-bootstrap-428 .glyphicon-exclamation-sign:before{content:"\e101"}.factory-bootstrap-428 .glyphicon-gift:before{content:"\e102"}.factory-bootstrap-428 .glyphicon-leaf:before{content:"\e103"}.factory-bootstrap-428 .glyphicon-fire:before{content:"\e104"}.factory-bootstrap-428 .glyphicon-eye-open:before{content:"\e105"}.factory-bootstrap-428 .glyphicon-eye-close:before{content:"\e106"}.factory-bootstrap-428 .glyphicon-warning-sign:before{content:"\e107"}.factory-bootstrap-428 .glyphicon-plane:before{content:"\e108"}.factory-bootstrap-428 .glyphicon-calendar:before{content:"\e109"}.factory-bootstrap-428 .glyphicon-random:before{content:"\e110"}.factory-bootstrap-428 .glyphicon-comment:before{content:"\e111"}.factory-bootstrap-428 .glyphicon-magnet:before{content:"\e112"}.factory-bootstrap-428 .glyphicon-chevron-up:before{content:"\e113"}.factory-bootstrap-428 .glyphicon-chevron-down:before{content:"\e114"}.factory-bootstrap-428 .glyphicon-retweet:before{content:"\e115"}.factory-bootstrap-428 .glyphicon-shopping-cart:before{content:"\e116"}.factory-bootstrap-428 .glyphicon-folder-close:before{content:"\e117"}.factory-bootstrap-428 .glyphicon-folder-open:before{content:"\e118"}.factory-bootstrap-428 .glyphicon-resize-vertical:before{content:"\e119"}.factory-bootstrap-428 .glyphicon-resize-horizontal:before{content:"\e120"}.factory-bootstrap-428 .glyphicon-hdd:before{content:"\e121"}.factory-bootstrap-428 .glyphicon-bullhorn:before{content:"\e122"}.factory-bootstrap-428 .glyphicon-bell:before{content:"\e123"}.factory-bootstrap-428 .glyphicon-certificate:before{content:"\e124"}.factory-bootstrap-428 .glyphicon-thumbs-up:before{content:"\e125"}.factory-bootstrap-428 .glyphicon-thumbs-down:before{content:"\e126"}.factory-bootstrap-428 .glyphicon-hand-right:before{content:"\e127"}.factory-bootstrap-428 .glyphicon-hand-left:before{content:"\e128"}.factory-bootstrap-428 .glyphicon-hand-up:before{content:"\e129"}.factory-bootstrap-428 .glyphicon-hand-down:before{content:"\e130"}.factory-bootstrap-428 .glyphicon-circle-arrow-right:before{content:"\e131"}.factory-bootstrap-428 .glyphicon-circle-arrow-left:before{content:"\e132"}.factory-bootstrap-428 .glyphicon-circle-arrow-up:before{content:"\e133"}.factory-bootstrap-428 .glyphicon-circle-arrow-down:before{content:"\e134"}.factory-bootstrap-428 .glyphicon-globe:before{content:"\e135"}.factory-bootstrap-428 .glyphicon-wrench:before{content:"\e136"}.factory-bootstrap-428 .glyphicon-tasks:before{content:"\e137"}.factory-bootstrap-428 .glyphicon-filter:before{content:"\e138"}.factory-bootstrap-428 .glyphicon-briefcase:before{content:"\e139"}.factory-bootstrap-428 .glyphicon-fullscreen:before{content:"\e140"}.factory-bootstrap-428 .glyphicon-dashboard:before{content:"\e141"}.factory-bootstrap-428 .glyphicon-paperclip:before{content:"\e142"}.factory-bootstrap-428 .glyphicon-heart-empty:before{content:"\e143"}.factory-bootstrap-428 .glyphicon-link:before{content:"\e144"}.factory-bootstrap-428 .glyphicon-phone:before{content:"\e145"}.factory-bootstrap-428 .glyphicon-pushpin:before{content:"\e146"}.factory-bootstrap-428 .glyphicon-usd:before{content:"\e148"}.factory-bootstrap-428 .glyphicon-gbp:before{content:"\e149"}.factory-bootstrap-428 .glyphicon-sort:before{content:"\e150"}.factory-bootstrap-428 .glyphicon-sort-by-alphabet:before{content:"\e151"}.factory-bootstrap-428 .glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.factory-bootstrap-428 .glyphicon-sort-by-order:before{content:"\e153"}.factory-bootstrap-428 .glyphicon-sort-by-order-alt:before{content:"\e154"}.factory-bootstrap-428 .glyphicon-sort-by-attributes:before{content:"\e155"}.factory-bootstrap-428 .glyphicon-sort-by-attributes-alt:before{content:"\e156"}.factory-bootstrap-428 .glyphicon-unchecked:before{content:"\e157"}.factory-bootstrap-428 .glyphicon-expand:before{content:"\e158"}.factory-bootstrap-428 .glyphicon-collapse-down:before{content:"\e159"}.factory-bootstrap-428 .glyphicon-collapse-up:before{content:"\e160"}.factory-bootstrap-428 .glyphicon-log-in:before{content:"\e161"}.factory-bootstrap-428 .glyphicon-flash:before{content:"\e162"}.factory-bootstrap-428 .glyphicon-log-out:before{content:"\e163"}.factory-bootstrap-428 .glyphicon-new-window:before{content:"\e164"}.factory-bootstrap-428 .glyphicon-record:before{content:"\e165"}.factory-bootstrap-428 .glyphicon-save:before{content:"\e166"}.factory-bootstrap-428 .glyphicon-open:before{content:"\e167"}.factory-bootstrap-428 .glyphicon-saved:before{content:"\e168"}.factory-bootstrap-428 .glyphicon-import:before{content:"\e169"}.factory-bootstrap-428 .glyphicon-export:before{content:"\e170"}.factory-bootstrap-428 .glyphicon-send:before{content:"\e171"}.factory-bootstrap-428 .glyphicon-floppy-disk:before{content:"\e172"}.factory-bootstrap-428 .glyphicon-floppy-saved:before{content:"\e173"}.factory-bootstrap-428 .glyphicon-floppy-remove:before{content:"\e174"}.factory-bootstrap-428 .glyphicon-floppy-save:before{content:"\e175"}.factory-bootstrap-428 .glyphicon-floppy-open:before{content:"\e176"}.factory-bootstrap-428 .glyphicon-credit-card:before{content:"\e177"}.factory-bootstrap-428 .glyphicon-transfer:before{content:"\e178"}.factory-bootstrap-428 .glyphicon-cutlery:before{content:"\e179"}.factory-bootstrap-428 .glyphicon-header:before{content:"\e180"}.factory-bootstrap-428 .glyphicon-compressed:before{content:"\e181"}.factory-bootstrap-428 .glyphicon-earphone:before{content:"\e182"}.factory-bootstrap-428 .glyphicon-phone-alt:before{content:"\e183"}.factory-bootstrap-428 .glyphicon-tower:before{content:"\e184"}.factory-bootstrap-428 .glyphicon-stats:before{content:"\e185"}.factory-bootstrap-428 .glyphicon-sd-video:before{content:"\e186"}.factory-bootstrap-428 .glyphicon-hd-video:before{content:"\e187"}.factory-bootstrap-428 .glyphicon-subtitles:before{content:"\e188"}.factory-bootstrap-428 .glyphicon-sound-stereo:before{content:"\e189"}.factory-bootstrap-428 .glyphicon-sound-dolby:before{content:"\e190"}.factory-bootstrap-428 .glyphicon-sound-5-1:before{content:"\e191"}.factory-bootstrap-428 .glyphicon-sound-6-1:before{content:"\e192"}.factory-bootstrap-428 .glyphicon-sound-7-1:before{content:"\e193"}.factory-bootstrap-428 .glyphicon-copyright-mark:before{content:"\e194"}.factory-bootstrap-428 .glyphicon-registration-mark:before{content:"\e195"}.factory-bootstrap-428 .glyphicon-cloud-download:before{content:"\e197"}.factory-bootstrap-428 .glyphicon-cloud-upload:before{content:"\e198"}.factory-bootstrap-428 .glyphicon-tree-conifer:before{content:"\e199"}.factory-bootstrap-428 .glyphicon-tree-deciduous:before{content:"\e200"}.factory-bootstrap-428 .caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.factory-bootstrap-428 .dropdown{position:relative}.factory-bootstrap-428 .dropdown-toggle:focus{outline:0}.factory-bootstrap-428 .dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);background-clip:padding-box}.factory-bootstrap-428 .dropdown-menu.pull-right{right:0;left:auto}.factory-bootstrap-428 .dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.factory-bootstrap-428 .dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.428571429;color:#333;white-space:nowrap}.factory-bootstrap-428 .dropdown-menu>li>a:focus,.factory-bootstrap-428 .dropdown-menu>li>a:hover{color:#262626;text-decoration:none}.factory-bootstrap-428 .dropdown-menu>.active>a,.factory-bootstrap-428 .dropdown-menu>.active>a:focus,.factory-bootstrap-428 .dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;outline:0}.factory-bootstrap-428 .dropdown-menu>.disabled>a,.factory-bootstrap-428 .dropdown-menu>.disabled>a:focus,.factory-bootstrap-428 .dropdown-menu>.disabled>a:hover{color:#999}.factory-bootstrap-428 .dropdown-menu>.disabled>a:focus,.factory-bootstrap-428 .dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-428 .open>.dropdown-menu{display:block}.factory-bootstrap-428 .open>a{outline:0}.factory-bootstrap-428 .dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.428571429;color:#999}.factory-bootstrap-428 .dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.factory-bootstrap-428 .pull-right>.dropdown-menu{right:0;left:auto}.factory-bootstrap-428 .dropup .caret,.factory-bootstrap-428 .navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid;content:""}.factory-bootstrap-428 .dropup .dropdown-menu,.factory-bootstrap-428 .navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}}.factory-bootstrap-428 .btn-group,.factory-bootstrap-428 .btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.factory-bootstrap-428 .btn-group-vertical>.btn,.factory-bootstrap-428 .btn-group>.btn{position:relative;float:left}.factory-bootstrap-428 .btn-group-vertical>.btn.active,.factory-bootstrap-428 .btn-group-vertical>.btn:active,.factory-bootstrap-428 .btn-group-vertical>.btn:focus,.factory-bootstrap-428 .btn-group-vertical>.btn:hover,.factory-bootstrap-428 .btn-group>.btn.active,.factory-bootstrap-428 .btn-group>.btn:active,.factory-bootstrap-428 .btn-group>.btn:focus,.factory-bootstrap-428 .btn-group>.btn:hover{z-index:2}.factory-bootstrap-428 .btn-group-vertical>.btn:focus,.factory-bootstrap-428 .btn-group>.btn:focus{outline:0}.factory-bootstrap-428 .btn-group .btn+.btn,.factory-bootstrap-428 .btn-group .btn+.btn-group,.factory-bootstrap-428 .btn-group .btn-group+.btn,.factory-bootstrap-428 .btn-group .btn-group+.btn-group{margin-left:-1px}.factory-bootstrap-428 .btn-toolbar:after,.factory-bootstrap-428 .btn-toolbar:before{display:table;content:" "}.factory-bootstrap-428 .btn-toolbar:after{clear:both}.factory-bootstrap-428 .btn-toolbar .btn-group{float:left}.factory-bootstrap-428 .btn-toolbar>.btn+.btn,.factory-bootstrap-428 .btn-toolbar>.btn+.btn-group,.factory-bootstrap-428 .btn-toolbar>.btn-group+.btn,.factory-bootstrap-428 .btn-toolbar>.btn-group+.btn-group{margin-left:5px}.factory-bootstrap-428 .btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.factory-bootstrap-428 .btn-group>.btn:first-child{margin-left:0}.factory-bootstrap-428 .btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.factory-bootstrap-428 .btn-group>.btn:last-child:not(:first-child),.factory-bootstrap-428 .btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.factory-bootstrap-428 .btn-group>.btn-group{float:left}.factory-bootstrap-428 .btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.factory-bootstrap-428 .btn-group>.btn-group:first-child>.btn:last-child,.factory-bootstrap-428 .btn-group>.btn-group:first-child>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.factory-bootstrap-428 .btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.factory-bootstrap-428 .btn-group .dropdown-toggle:active,.factory-bootstrap-428 .btn-group.open .dropdown-toggle{outline:0}.factory-bootstrap-428 .btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-428 .btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-428 .btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-428 .btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.factory-bootstrap-428 .btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.factory-bootstrap-428 .btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.factory-bootstrap-428 .btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.factory-bootstrap-428 .btn-group{border:4px solid #f9f9f9;border-radius:4px}.factory-bootstrap-428 .btn-group .btn.active.value{text-shadow:none;color:#fff;background-color:#33aad5;-webkit-box-shadow:inset 0 1px 1px #0074a2;box-shadow:inset 0 1px 3px #0074a2;border-top:1px solid #0074a2;border-bottom:1px solid #0074a2;border-left:1px solid #0074a2}.factory-bootstrap-428 .btn .caret{margin-left:0}.factory-bootstrap-428 .btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.factory-bootstrap-428 .dropup .btn-lg .caret{border-width:0 5px 5px}.factory-bootstrap-428 .btn-group-vertical>.btn,.factory-bootstrap-428 .btn-group-vertical>.btn-group,.factory-bootstrap-428 .btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.factory-bootstrap-428 .btn-group-vertical>.btn-group:after,.factory-bootstrap-428 .btn-group-vertical>.btn-group:before{display:table;content:" "}.factory-bootstrap-428 .btn-group-vertical>.btn-group:after{clear:both}.factory-bootstrap-428 .btn-group-vertical>.btn-group>.btn{float:none}.factory-bootstrap-428 .btn-group-vertical>.btn+.btn,.factory-bootstrap-428 .btn-group-vertical>.btn+.btn-group,.factory-bootstrap-428 .btn-group-vertical>.btn-group+.btn,.factory-bootstrap-428 .btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.factory-bootstrap-428 .btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.factory-bootstrap-428 .btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.factory-bootstrap-428 .btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-bottom-left-radius:4px;border-top-left-radius:0}.factory-bootstrap-428 .btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.factory-bootstrap-428 .btn-group-vertical>.btn-group:first-child>.btn:last-child,.factory-bootstrap-428 .btn-group-vertical>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.factory-bootstrap-428 .btn-group-vertical>.btn-group:last-child>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-428 .btn-group-justified{display:table;width:100%;border-collapse:separate;table-layout:fixed}.factory-bootstrap-428 .btn-group-justified>.btn,.factory-bootstrap-428 .btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.factory-bootstrap-428 .btn-group-justified>.btn-group .btn{width:100%}[data-toggle=buttons]>.btn>input[type=checkbox],[data-toggle=buttons]>.btn>input[type=radio]{display:none}.factory-bootstrap-428 .input-group{position:relative;display:table;border-collapse:separate}.factory-bootstrap-428 .input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.factory-bootstrap-428 .input-group .form-control{width:100%;margin-bottom:0}.factory-bootstrap-428 .input-group-lg>.form-control,.factory-bootstrap-428 .input-group-lg>.input-group-addon,.factory-bootstrap-428 .input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-428 select.input-group-lg>.form-control,.factory-bootstrap-428 select.input-group-lg>.input-group-addon,.factory-bootstrap-428 select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}.factory-bootstrap-428 textarea.input-group-lg>.form-control,.factory-bootstrap-428 textarea.input-group-lg>.input-group-addon,.factory-bootstrap-428 textarea.input-group-lg>.input-group-btn>.btn{height:auto}.factory-bootstrap-428 .input-group-sm>.form-control,.factory-bootstrap-428 .input-group-sm>.input-group-addon,.factory-bootstrap-428 .input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-428 select.input-group-sm>.form-control,.factory-bootstrap-428 select.input-group-sm>.input-group-addon,.factory-bootstrap-428 select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}.factory-bootstrap-428 textarea.input-group-sm>.form-control,.factory-bootstrap-428 textarea.input-group-sm>.input-group-addon,.factory-bootstrap-428 textarea.input-group-sm>.input-group-btn>.btn{height:auto}.factory-bootstrap-428 .input-group .form-control,.factory-bootstrap-428 .input-group-addon,.factory-bootstrap-428 .input-group-btn{display:table-cell}.factory-bootstrap-428 .input-group .form-control:not(:first-child):not(:last-child),.factory-bootstrap-428 .input-group-addon:not(:first-child):not(:last-child),.factory-bootstrap-428 .input-group-btn:not(:first-child):not(:last-child){border-radius:0}.factory-bootstrap-428 .input-group-addon,.factory-bootstrap-428 .input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.factory-bootstrap-428 .input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.factory-bootstrap-428 .input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.factory-bootstrap-428 .input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.factory-bootstrap-428 .input-group-addon input[type=checkbox],.factory-bootstrap-428 .input-group-addon input[type=radio]{margin-top:0}.factory-bootstrap-428 .input-group .form-control:first-child,.factory-bootstrap-428 .input-group-addon:first-child,.factory-bootstrap-428 .input-group-btn:first-child>.btn,.factory-bootstrap-428 .input-group-btn:first-child>.dropdown-toggle,.factory-bootstrap-428 .input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.factory-bootstrap-428 .input-group-addon:first-child{border-right:0}.factory-bootstrap-428 .input-group .form-control:last-child,.factory-bootstrap-428 .input-group-addon:last-child,.factory-bootstrap-428 .input-group-btn:first-child>.btn:not(:first-child),.factory-bootstrap-428 .input-group-btn:last-child>.btn,.factory-bootstrap-428 .input-group-btn:last-child>.dropdown-toggle{border-bottom-left-radius:0;border-top-left-radius:0}.factory-bootstrap-428 .input-group-addon:last-child{border-left:0}.factory-bootstrap-428 .input-group-btn{position:relative;white-space:nowrap}.factory-bootstrap-428 .input-group-btn:first-child>.btn{margin-right:-1px}.factory-bootstrap-428 .input-group-btn:last-child>.btn{margin-left:-1px}.factory-bootstrap-428 .input-group-btn>.btn{position:relative}.factory-bootstrap-428 .input-group-btn>.btn+.btn{margin-left:-4px}.factory-bootstrap-428 .input-group-btn>.btn:active,.factory-bootstrap-428 .input-group-btn>.btn:hover{z-index:2}.factory-bootstrap-428 .nav{padding-left:0;margin-bottom:0;list-style:none}.factory-bootstrap-428 .nav:after,.factory-bootstrap-428 .nav:before{display:table;content:" "}.factory-bootstrap-428 .nav:after{clear:both}.factory-bootstrap-428 .nav>li{position:relative;display:block}.factory-bootstrap-428 .nav>li>a{position:relative;display:block;padding:10px 15px}.factory-bootstrap-428 .nav>li>a:focus,.factory-bootstrap-428 .nav>li>a:hover{text-decoration:none;background-color:#eee}.factory-bootstrap-428 .nav>li.disabled>a{color:#999}.factory-bootstrap-428 .nav>li.disabled>a:focus,.factory-bootstrap-428 .nav>li.disabled>a:hover{color:#999;text-decoration:none;cursor:not-allowed;background-color:transparent}.factory-bootstrap-428 .nav .open>a,.factory-bootstrap-428 .nav .open>a:focus,.factory-bootstrap-428 .nav .open>a:hover{background-color:#eee;border-color:#428bca}.factory-bootstrap-428 .nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.factory-bootstrap-428 .nav>li>a>img{max-width:none}.factory-bootstrap-428 .nav-tabs{border-bottom:1px solid #ddd}.factory-bootstrap-428 .nav-tabs>li{float:left;margin-bottom:-1px}.factory-bootstrap-428 .nav-tabs>li>a{margin-right:2px;line-height:1.428571429;border:1px solid transparent;border-radius:4px 4px 0 0}.factory-bootstrap-428 .nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.factory-bootstrap-428 .nav-tabs>li.active>a,.factory-bootstrap-428 .nav-tabs>li.active>a:focus,.factory-bootstrap-428 .nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.factory-bootstrap-428 .nav-tabs.nav-justified{width:100%;border-bottom:0}.factory-bootstrap-428 .nav-tabs.nav-justified>li{float:none}.factory-bootstrap-428 .nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.factory-bootstrap-428 .nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.factory-bootstrap-428 .nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.factory-bootstrap-428 .nav-tabs.nav-justified>.active>a,.factory-bootstrap-428 .nav-tabs.nav-justified>.active>a:focus,.factory-bootstrap-428 .nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.factory-bootstrap-428 .nav-pills>li{float:left}.factory-bootstrap-428 .nav-pills>li>a{border-radius:4px}.factory-bootstrap-428 .nav-pills>li+li{margin-left:2px}.factory-bootstrap-428 .nav-pills>li.active>a,.factory-bootstrap-428 .nav-pills>li.active>a:focus,.factory-bootstrap-428 .nav-pills>li.active>a:hover{color:#fff;background-color:#428bca}.factory-bootstrap-428 .nav-stacked>li{float:none}.factory-bootstrap-428 .nav-stacked>li+li{margin-top:2px;margin-left:0}.factory-bootstrap-428 .nav-justified{width:100%}.factory-bootstrap-428 .nav-justified>li{float:none}.factory-bootstrap-428 .nav-justified>li>a{margin-bottom:5px;text-align:center}.factory-bootstrap-428 .nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.factory-bootstrap-428 .nav-tabs-justified{border-bottom:0}.factory-bootstrap-428 .nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.factory-bootstrap-428 .nav-tabs-justified>.active>a,.factory-bootstrap-428 .nav-tabs-justified>.active>a:focus,.factory-bootstrap-428 .nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.factory-bootstrap-428 .tab-content>.tab-pane{display:none}.factory-bootstrap-428 .tab-content>.active{display:block}.factory-bootstrap-428 .nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-428 .navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}.factory-bootstrap-428 .navbar:after,.factory-bootstrap-428 .navbar:before{display:table;content:" "}.factory-bootstrap-428 .navbar:after{clear:both}@media (min-width:768px){.navbar{border-radius:4px}}.factory-bootstrap-428 .navbar-header:after,.factory-bootstrap-428 .navbar-header:before{display:table;content:" "}.factory-bootstrap-428 .navbar-header:after{clear:both}@media (min-width:768px){.navbar-header{float:left}}.factory-bootstrap-428 .navbar-collapse{max-height:340px;padding-right:15px;padding-left:15px;overflow-x:visible;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.1);-webkit-overflow-scrolling:touch}.factory-bootstrap-428 .navbar-collapse:after,.factory-bootstrap-428 .navbar-collapse:before{display:table;content:" "}.factory-bootstrap-428 .navbar-collapse:after{clear:both}.factory-bootstrap-428 .navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.factory-bootstrap-428 .container>.navbar-collapse,.factory-bootstrap-428 .container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.factory-bootstrap-428 .navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.factory-bootstrap-428 .navbar-fixed-bottom,.factory-bootstrap-428 .navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.factory-bootstrap-428 .navbar-fixed-top{top:0;border-width:0 0 1px}.factory-bootstrap-428 .navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.factory-bootstrap-428 .navbar-brand{float:left;padding:15px;font-size:18px;line-height:20px}.factory-bootstrap-428 .navbar-brand:focus,.factory-bootstrap-428 .navbar-brand:hover{text-decoration:none}@media (min-width:768px){.navbar>.container .navbar-brand{margin-left:-15px}}.factory-bootstrap-428 .navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.factory-bootstrap-428 .navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.factory-bootstrap-428 .navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.factory-bootstrap-428 .navbar-nav{margin:7.5px -15px}.factory-bootstrap-428 .navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}.navbar-nav.navbar-right:last-child{margin-right:-15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important}}.factory-bootstrap-428 .navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block}.navbar-form select.form-control{width:auto}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{float:none;margin-left:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-form.navbar-right:last-child{margin-right:-15px}}.factory-bootstrap-428 .navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-428 .navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.factory-bootstrap-428 .navbar-nav.pull-right>li>.dropdown-menu,.factory-bootstrap-428 .navbar-nav>li>.dropdown-menu.pull-right{right:0;left:auto}.factory-bootstrap-428 .navbar-btn{margin-top:8px;margin-bottom:8px}.factory-bootstrap-428 .navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.factory-bootstrap-428 .navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.factory-bootstrap-428 .navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}.navbar-text.navbar-right:last-child{margin-right:0}}.factory-bootstrap-428 .navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.factory-bootstrap-428 .navbar-default .navbar-brand{color:#777}.factory-bootstrap-428 .navbar-default .navbar-brand:focus,.factory-bootstrap-428 .navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.factory-bootstrap-428 .navbar-default .navbar-nav>li>a,.factory-bootstrap-428 .navbar-default .navbar-text{color:#777}.factory-bootstrap-428 .navbar-default .navbar-nav>li>a:focus,.factory-bootstrap-428 .navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.factory-bootstrap-428 .navbar-default .navbar-nav>.active>a,.factory-bootstrap-428 .navbar-default .navbar-nav>.active>a:focus,.factory-bootstrap-428 .navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.factory-bootstrap-428 .navbar-default .navbar-nav>.disabled>a,.factory-bootstrap-428 .navbar-default .navbar-nav>.disabled>a:focus,.factory-bootstrap-428 .navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.factory-bootstrap-428 .navbar-default .navbar-toggle{border-color:#ddd}.factory-bootstrap-428 .navbar-default .navbar-toggle:focus,.factory-bootstrap-428 .navbar-default .navbar-toggle:hover{background-color:#ddd}.factory-bootstrap-428 .navbar-default .navbar-toggle .icon-bar{background-color:#ccc}.factory-bootstrap-428 .navbar-default .navbar-collapse,.factory-bootstrap-428 .navbar-default .navbar-form{border-color:#e7e7e7}.factory-bootstrap-428 .navbar-default .navbar-nav>.open>a,.factory-bootstrap-428 .navbar-default .navbar-nav>.open>a:focus,.factory-bootstrap-428 .navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.factory-bootstrap-428 .navbar-default .navbar-link{color:#777}.factory-bootstrap-428 .navbar-default .navbar-link:hover{color:#333}.factory-bootstrap-428 .navbar-inverse{background-color:#222;border-color:#080808}.factory-bootstrap-428 .navbar-inverse .navbar-brand{color:#999}.factory-bootstrap-428 .navbar-inverse .navbar-brand:focus,.factory-bootstrap-428 .navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.factory-bootstrap-428 .navbar-inverse .navbar-nav>li>a,.factory-bootstrap-428 .navbar-inverse .navbar-text{color:#999}.factory-bootstrap-428 .navbar-inverse .navbar-nav>li>a:focus,.factory-bootstrap-428 .navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.factory-bootstrap-428 .navbar-inverse .navbar-nav>.active>a,.factory-bootstrap-428 .navbar-inverse .navbar-nav>.active>a:focus,.factory-bootstrap-428 .navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.factory-bootstrap-428 .navbar-inverse .navbar-nav>.disabled>a,.factory-bootstrap-428 .navbar-inverse .navbar-nav>.disabled>a:focus,.factory-bootstrap-428 .navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.factory-bootstrap-428 .navbar-inverse .navbar-toggle{border-color:#333}.factory-bootstrap-428 .navbar-inverse .navbar-toggle:focus,.factory-bootstrap-428 .navbar-inverse .navbar-toggle:hover{background-color:#333}.factory-bootstrap-428 .navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.factory-bootstrap-428 .navbar-inverse .navbar-collapse,.factory-bootstrap-428 .navbar-inverse .navbar-form{border-color:#101010}.factory-bootstrap-428 .navbar-inverse .navbar-nav>.open>a,.factory-bootstrap-428 .navbar-inverse .navbar-nav>.open>a:focus,.factory-bootstrap-428 .navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#999}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.factory-bootstrap-428 .navbar-inverse .navbar-link{color:#999}.factory-bootstrap-428 .navbar-inverse .navbar-link:hover{color:#fff}.factory-bootstrap-428 .breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.factory-bootstrap-428 .breadcrumb>li{display:inline-block}.factory-bootstrap-428 .breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.factory-bootstrap-428 .breadcrumb>.active{color:#999}.factory-bootstrap-428 .pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.factory-bootstrap-428 .pagination>li{display:inline}.factory-bootstrap-428 .pagination>li>a,.factory-bootstrap-428 .pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.428571429;text-decoration:none;background-color:#fff;border:1px solid #ddd}.factory-bootstrap-428 .pagination>li:first-child>a,.factory-bootstrap-428 .pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.factory-bootstrap-428 .pagination>li:last-child>a,.factory-bootstrap-428 .pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.factory-bootstrap-428 .pagination>li>a:focus,.factory-bootstrap-428 .pagination>li>a:hover,.factory-bootstrap-428 .pagination>li>span:focus,.factory-bootstrap-428 .pagination>li>span:hover{background-color:#eee}.factory-bootstrap-428 .pagination>.active>a,.factory-bootstrap-428 .pagination>.active>a:focus,.factory-bootstrap-428 .pagination>.active>a:hover,.factory-bootstrap-428 .pagination>.active>span,.factory-bootstrap-428 .pagination>.active>span:focus,.factory-bootstrap-428 .pagination>.active>span:hover{z-index:2;color:#fff;cursor:default;background-color:#1e8cbe;border-color:#0074a2}.factory-bootstrap-428 .pagination>.disabled>a,.factory-bootstrap-428 .pagination>.disabled>a:focus,.factory-bootstrap-428 .pagination>.disabled>a:hover,.factory-bootstrap-428 .pagination>.disabled>span,.factory-bootstrap-428 .pagination>.disabled>span:focus,.factory-bootstrap-428 .pagination>.disabled>span:hover{color:#999;cursor:not-allowed;background-color:#fff;border-color:#ddd}.factory-bootstrap-428 .pagination-lg>li>a,.factory-bootstrap-428 .pagination-lg>li>span{padding:10px 16px;font-size:18px}.factory-bootstrap-428 .pagination-lg>li:first-child>a,.factory-bootstrap-428 .pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.factory-bootstrap-428 .pagination-lg>li:last-child>a,.factory-bootstrap-428 .pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.factory-bootstrap-428 .pagination-sm>li>a,.factory-bootstrap-428 .pagination-sm>li>span{padding:5px 10px;font-size:12px}.factory-bootstrap-428 .pagination-sm>li:first-child>a,.factory-bootstrap-428 .pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.factory-bootstrap-428 .pagination-sm>li:last-child>a,.factory-bootstrap-428 .pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.factory-bootstrap-428 .pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.factory-bootstrap-428 .pager:after,.factory-bootstrap-428 .pager:before{display:table;content:" "}.factory-bootstrap-428 .pager:after{clear:both}.factory-bootstrap-428 .pager li{display:inline}.factory-bootstrap-428 .pager li>a,.factory-bootstrap-428 .pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.factory-bootstrap-428 .pager li>a:focus,.factory-bootstrap-428 .pager li>a:hover{text-decoration:none;background-color:#eee}.factory-bootstrap-428 .pager .next>a,.factory-bootstrap-428 .pager .next>span{float:right}.factory-bootstrap-428 .pager .previous>a,.factory-bootstrap-428 .pager .previous>span{float:left}.factory-bootstrap-428 .pager .disabled>a,.factory-bootstrap-428 .pager .disabled>a:focus,.factory-bootstrap-428 .pager .disabled>a:hover,.factory-bootstrap-428 .pager .disabled>span{color:#999;cursor:not-allowed;background-color:#fff}.factory-bootstrap-428 .label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.factory-bootstrap-428 .label[href]:focus,.factory-bootstrap-428 .label[href]:hover{color:#fff;text-decoration:none;cursor:pointer}.factory-bootstrap-428 .label:empty{display:none}.factory-bootstrap-428 .btn .label{position:relative;top:-1px}.factory-bootstrap-428 .label-default{background-color:#999}.factory-bootstrap-428 .label-default[href]:focus,.factory-bootstrap-428 .label-default[href]:hover{background-color:gray}.factory-bootstrap-428 .label-primary{background-color:#428bca}.factory-bootstrap-428 .label-primary[href]:focus,.factory-bootstrap-428 .label-primary[href]:hover{background-color:#3071a9}.factory-bootstrap-428 .label-success{background-color:#5cb85c}.factory-bootstrap-428 .label-success[href]:focus,.factory-bootstrap-428 .label-success[href]:hover{background-color:#449d44}.factory-bootstrap-428 .label-info{background-color:#5bc0de}.factory-bootstrap-428 .label-info[href]:focus,.factory-bootstrap-428 .label-info[href]:hover{background-color:#31b0d5}.factory-bootstrap-428 .label-warning{background-color:#f0ad4e}.factory-bootstrap-428 .label-warning[href]:focus,.factory-bootstrap-428 .label-warning[href]:hover{background-color:#ec971f}.factory-bootstrap-428 .label-danger{background-color:#d9534f}.factory-bootstrap-428 .label-danger[href]:focus,.factory-bootstrap-428 .label-danger[href]:hover{background-color:#c9302c}.factory-bootstrap-428 .badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#999;border-radius:10px}.factory-bootstrap-428 .badge:empty{display:none}.factory-bootstrap-428 .btn .badge{position:relative;top:-1px}.factory-bootstrap-428 a.badge:focus,.factory-bootstrap-428 a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.factory-bootstrap-428 .nav-pills>.active>a>.badge,.factory-bootstrap-428 a.list-group-item.active>.badge{color:#428bca;background-color:#fff}.factory-bootstrap-428 .nav-pills>li>a>.badge{margin-left:3px}.factory-bootstrap-428 .jumbotron{padding:30px;margin-bottom:30px;font-size:21px;font-weight:200;line-height:2.1428571435;color:inherit;background-color:#eee}.factory-bootstrap-428 .jumbotron .h1,.factory-bootstrap-428 .jumbotron h1{line-height:1;color:inherit}.factory-bootstrap-428 .jumbotron p{line-height:1.4}.factory-bootstrap-428 .container .jumbotron{border-radius:6px}.factory-bootstrap-428 .jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.factory-bootstrap-428 .thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.factory-bootstrap-428 .thumbnail a>img,.factory-bootstrap-428 .thumbnail>img{display:block;height:auto;max-width:100%;margin-right:auto;margin-left:auto}.factory-bootstrap-428 a.thumbnail.active,.factory-bootstrap-428 a.thumbnail:focus,.factory-bootstrap-428 a.thumbnail:hover{border-color:#428bca}.factory-bootstrap-428 .thumbnail .caption{padding:9px;color:#333}.factory-bootstrap-428 .alert{border:1px solid transparent;border-radius:4px}.factory-bootstrap-428 .alert h4{margin-top:0;color:inherit}.factory-bootstrap-428 .alert .alert-link{font-weight:700}.factory-bootstrap-428 .alert>p,.factory-bootstrap-428 .alert>ul{margin-bottom:0}.factory-bootstrap-428 .alert>p+p{margin-top:5px}.factory-bootstrap-428 .alert-dismissable{padding-right:35px}.factory-bootstrap-428 .alert-dismissable .close{position:relative;top:-2px;right:-21px;color:inherit}.factory-bootstrap-428 .alert-info{color:#31708f;background-color:#d9edf7}.factory-bootstrap-428 .alert-info hr{border-top-color:#a6e1ec}.factory-bootstrap-428 .alert-info .alert-link{color:#245269}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.factory-bootstrap-428 .progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.factory-bootstrap-428 .progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#2ea2cc;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;transition:width .6s ease}.factory-bootstrap-428 .progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:40px 40px}.factory-bootstrap-428 .progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.factory-bootstrap-428 .progress-bar-success{background-color:#5cb85c}.factory-bootstrap-428 .progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-428 .progress-bar-info{background-color:#5bc0de}.factory-bootstrap-428 .progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-428 .progress-bar-warning{background-color:#f0ad4e}.factory-bootstrap-428 .progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-428 .progress-bar-danger{background-color:#d9534f}.factory-bootstrap-428 .progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-428 .media,.factory-bootstrap-428 .media-body{overflow:hidden;zoom:1}.factory-bootstrap-428 .media,.factory-bootstrap-428 .media .media{margin-top:15px}.factory-bootstrap-428 .media:first-child{margin-top:0}.factory-bootstrap-428 .media-object{display:block}.factory-bootstrap-428 .media-heading{margin:0 0 5px}.factory-bootstrap-428 .media>.pull-left{margin-right:10px}.factory-bootstrap-428 .media>.pull-right{margin-left:10px}.factory-bootstrap-428 .media-list{padding-left:0;list-style:none}.factory-bootstrap-428 .list-group{padding-left:0;margin-bottom:20px}.factory-bootstrap-428 .list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.factory-bootstrap-428 .list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.factory-bootstrap-428 .list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.factory-bootstrap-428 .list-group-item>.badge{float:right}.factory-bootstrap-428 .list-group-item>.badge+.badge{margin-right:5px}.factory-bootstrap-428 a.list-group-item{color:#555}.factory-bootstrap-428 a.list-group-item .list-group-item-heading{color:#333}.factory-bootstrap-428 a.list-group-item:focus,.factory-bootstrap-428 a.list-group-item:hover{text-decoration:none;background-color:#f5f5f5}.factory-bootstrap-428 a.list-group-item.active,.factory-bootstrap-428 a.list-group-item.active:focus,.factory-bootstrap-428 a.list-group-item.active:hover{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca}.factory-bootstrap-428 a.list-group-item.active .list-group-item-heading,.factory-bootstrap-428 a.list-group-item.active:focus .list-group-item-heading,.factory-bootstrap-428 a.list-group-item.active:hover .list-group-item-heading{color:inherit}.factory-bootstrap-428 a.list-group-item.active .list-group-item-text,.factory-bootstrap-428 a.list-group-item.active:focus .list-group-item-text,.factory-bootstrap-428 a.list-group-item.active:hover .list-group-item-text{color:#e1edf7}.factory-bootstrap-428 .list-group-item-heading{margin-top:0;margin-bottom:5px}.factory-bootstrap-428 .list-group-item-text{margin-bottom:0;line-height:1.3}.factory-bootstrap-428 .panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px}.factory-bootstrap-428 .panel-body{padding:15px}.factory-bootstrap-428 .panel-body:after,.factory-bootstrap-428 .panel-body:before{display:table;content:" "}.factory-bootstrap-428 .panel-body:after{clear:both}.factory-bootstrap-428 .panel>.list-group{margin-bottom:0}.factory-bootstrap-428 .panel>.list-group .list-group-item{border-width:1px 0}.factory-bootstrap-428 .panel>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-428 .panel>.list-group .list-group-item:last-child{border-bottom:0}.factory-bootstrap-428 .panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.factory-bootstrap-428 .panel>.table,.factory-bootstrap-428 .panel>.table-responsive>.table{margin-bottom:0}.factory-bootstrap-428 .panel>.panel-body+.table,.factory-bootstrap-428 .panel>.panel-body+.table-responsive{border-top:1px solid #ddd}.factory-bootstrap-428 .panel>.table>tbody:first-child td,.factory-bootstrap-428 .panel>.table>tbody:first-child th{border-top:0}.factory-bootstrap-428 .panel>.table-bordered,.factory-bootstrap-428 .panel>.table-responsive>.table-bordered{border:0}.factory-bootstrap-428 .panel>.table-bordered>tbody>tr>td:first-child,.factory-bootstrap-428 .panel>.table-bordered>tbody>tr>th:first-child,.factory-bootstrap-428 .panel>.table-bordered>tfoot>tr>td:first-child,.factory-bootstrap-428 .panel>.table-bordered>tfoot>tr>th:first-child,.factory-bootstrap-428 .panel>.table-bordered>thead>tr>td:first-child,.factory-bootstrap-428 .panel>.table-bordered>thead>tr>th:first-child,.factory-bootstrap-428 .panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.factory-bootstrap-428 .panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.factory-bootstrap-428 .panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.factory-bootstrap-428 .panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.factory-bootstrap-428 .panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.factory-bootstrap-428 .panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.factory-bootstrap-428 .panel>.table-bordered>tbody>tr>td:last-child,.factory-bootstrap-428 .panel>.table-bordered>tbody>tr>th:last-child,.factory-bootstrap-428 .panel>.table-bordered>tfoot>tr>td:last-child,.factory-bootstrap-428 .panel>.table-bordered>tfoot>tr>th:last-child,.factory-bootstrap-428 .panel>.table-bordered>thead>tr>td:last-child,.factory-bootstrap-428 .panel>.table-bordered>thead>tr>th:last-child,.factory-bootstrap-428 .panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.factory-bootstrap-428 .panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.factory-bootstrap-428 .panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.factory-bootstrap-428 .panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.factory-bootstrap-428 .panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.factory-bootstrap-428 .panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.factory-bootstrap-428 .panel>.table-bordered>tbody>tr:last-child>td,.factory-bootstrap-428 .panel>.table-bordered>tbody>tr:last-child>th,.factory-bootstrap-428 .panel>.table-bordered>tfoot>tr:last-child>td,.factory-bootstrap-428 .panel>.table-bordered>tfoot>tr:last-child>th,.factory-bootstrap-428 .panel>.table-bordered>thead>tr:last-child>td,.factory-bootstrap-428 .panel>.table-bordered>thead>tr:last-child>th,.factory-bootstrap-428 .panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.factory-bootstrap-428 .panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.factory-bootstrap-428 .panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.factory-bootstrap-428 .panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th,.factory-bootstrap-428 .panel>.table-responsive>.table-bordered>thead>tr:last-child>td,.factory-bootstrap-428 .panel>.table-responsive>.table-bordered>thead>tr:last-child>th{border-bottom:0}.factory-bootstrap-428 .panel>.table-responsive{margin-bottom:0;border:0}.factory-bootstrap-428 .panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.factory-bootstrap-428 .panel-heading>.dropdown .dropdown-toggle{color:inherit}.factory-bootstrap-428 .panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.factory-bootstrap-428 .panel-title>a{color:inherit}.factory-bootstrap-428 .panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.factory-bootstrap-428 .panel-group .panel{margin-bottom:0;overflow:hidden;border-radius:4px}.factory-bootstrap-428 .panel-group .panel+.panel{margin-top:5px}.factory-bootstrap-428 .panel-group .panel-heading{border-bottom:0}.factory-bootstrap-428 .panel-group .panel-heading+.panel-collapse .panel-body{border-top:1px solid #ddd}.factory-bootstrap-428 .panel-group .panel-footer{border-top:0}.factory-bootstrap-428 .panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.factory-bootstrap-428 .panel-default{border-color:#ddd}.factory-bootstrap-428 .panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.factory-bootstrap-428 .panel-default>.panel-heading+.panel-collapse .panel-body{border-top-color:#ddd}.factory-bootstrap-428 .panel-default>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ddd}.factory-bootstrap-428 .panel-primary{border-color:#428bca}.factory-bootstrap-428 .panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.factory-bootstrap-428 .panel-primary>.panel-heading+.panel-collapse .panel-body{border-top-color:#428bca}.factory-bootstrap-428 .panel-primary>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#428bca}.factory-bootstrap-428 .panel-success{border-color:#d6e9c6}.factory-bootstrap-428 .panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.factory-bootstrap-428 .panel-success>.panel-heading+.panel-collapse .panel-body{border-top-color:#d6e9c6}.factory-bootstrap-428 .panel-success>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#d6e9c6}.factory-bootstrap-428 .panel-warning{border-color:#faebcc}.factory-bootstrap-428 .panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.factory-bootstrap-428 .panel-warning>.panel-heading+.panel-collapse .panel-body{border-top-color:#faebcc}.factory-bootstrap-428 .panel-warning>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#faebcc}.factory-bootstrap-428 .panel-danger{border-color:#ebccd1}.factory-bootstrap-428 .panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.factory-bootstrap-428 .panel-danger>.panel-heading+.panel-collapse .panel-body{border-top-color:#ebccd1}.factory-bootstrap-428 .panel-danger>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ebccd1}.factory-bootstrap-428 .panel-info{border-color:#bce8f1}.factory-bootstrap-428 .panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.factory-bootstrap-428 .panel-info>.panel-heading+.panel-collapse .panel-body{border-top-color:#bce8f1}.factory-bootstrap-428 .panel-info>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#bce8f1}.factory-bootstrap-428 .well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px}.factory-bootstrap-428 .well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.factory-bootstrap-428 .well-lg{padding:24px;border-radius:6px}.factory-bootstrap-428 .well-sm{padding:9px;border-radius:3px}.factory-bootstrap-428 .close{float:right;font-size:14px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.3;filter:alpha(opacity=30)}.factory-bootstrap-428 .alert .close{position:relative;top:-8px;right:-7px}.factory-bootstrap-428 .close:focus,.factory-bootstrap-428 .close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}.factory-bootstrap-428 button.close{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.factory-bootstrap-428 .modal-open{overflow:hidden}.factory-bootstrap-428 .modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;display:none;overflow:auto;overflow-y:scroll;width:auto;margin-left:0;background-color:transparent;border:0}.factory-bootstrap-428 .modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.factory-bootstrap-428 .modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.factory-bootstrap-428 .modal-dialog{position:relative;z-index:1050;width:auto;margin:10px}.factory-bootstrap-428 .modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5);background-clip:padding-box}.factory-bootstrap-428 .modal-backdrop,.factory-bootstrap-428-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1030;background-color:#000}.factory-bootstrap-428 .modal-backdrop.fade,.factory-bootstrap-428-modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.factory-bootstrap-428 .modal-backdrop.in,.factory-bootstrap-428-modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.factory-bootstrap-428 .modal-header{min-height:16.428571429px;padding:15px;border-bottom:1px solid #e5e5e5}.factory-bootstrap-428 .modal-header .close{margin-top:-2px}.factory-bootstrap-428 .modal-title{margin:0;line-height:1.428571429}.factory-bootstrap-428 .modal-body{position:relative;padding:20px;max-height:none}.factory-bootstrap-428 .modal-footer{padding:19px 20px 20px;margin-top:15px;text-align:right;border-top:1px solid #e5e5e5}.factory-bootstrap-428 .modal-footer:after,.factory-bootstrap-428 .modal-footer:before{display:table;content:" "}.factory-bootstrap-428 .modal-footer:after{clear:both}.factory-bootstrap-428 .modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.factory-bootstrap-428 .modal-footer .btn-group .btn+.btn{margin-left:-1px}.factory-bootstrap-428 .modal-footer .btn-block+.btn-block{margin-left:0}@media screen and (min-width:768px){.factory-bootstrap-428 .modal-dialog{width:600px;margin:30px auto}.factory-bootstrap-428 .modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}}.factory-bootstrap-428 .tooltip{position:absolute;z-index:1030;display:block;font-size:12px;line-height:1.4;opacity:0;filter:alpha(opacity=0);visibility:visible}.factory-bootstrap-428 .tooltip.in{opacity:.9;filter:alpha(opacity=90)}.factory-bootstrap-428 .tooltip.top{padding:5px 0;margin-top:-3px}.factory-bootstrap-428 .tooltip.right{padding:0 5px;margin-left:3px}.factory-bootstrap-428 .tooltip.bottom{padding:5px 0;margin-top:3px}.factory-bootstrap-428 .tooltip.left{padding:0 5px;margin-left:-3px}.factory-bootstrap-428 .tooltip-inner{width:400px;padding:15px 20px;color:#fff;text-align:left;text-decoration:none;background-color:#673ab7;border-radius:3px}.factory-bootstrap-428 .tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.factory-bootstrap-428 .tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#673ab7;border-width:5px 5px 0}.factory-bootstrap-428 .tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-top-color:#673ab7;border-width:5px 5px 0}.factory-bootstrap-428 .tooltip.top-right .tooltip-arrow{right:5px;bottom:0;border-top-color:#673ab7;border-width:5px 5px 0}.factory-bootstrap-428 .tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#673ab7;border-width:5px 5px 5px 0}.factory-bootstrap-428 .tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#673ab7;border-width:5px 0 5px 5px}.factory-bootstrap-428 .tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#673ab7;border-width:0 5px 5px}.factory-bootstrap-428 .tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-bottom-color:#673ab7;border-width:0 5px 5px}.factory-bootstrap-428 .tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-bottom-color:#673ab7;border-width:0 5px 5px}.factory-bootstrap-428 .popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;white-space:normal;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);background-clip:padding-box}.factory-bootstrap-428 .popover.top{margin-top:-10px}.factory-bootstrap-428 .popover.right{margin-left:10px}.factory-bootstrap-428 .popover.bottom{margin-top:10px}.factory-bootstrap-428 .popover.left{margin-left:-10px}.factory-bootstrap-428 .popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:400;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.factory-bootstrap-428 .popover-content{padding:9px 14px}.factory-bootstrap-428 .popover .arrow,.factory-bootstrap-428 .popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.factory-bootstrap-428 .popover .arrow{border-width:11px}.factory-bootstrap-428 .popover .arrow:after{border-width:10px;content:""}.factory-bootstrap-428 .popover.top .arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.factory-bootstrap-428 .popover.top .arrow:after{bottom:1px;margin-left:-10px;border-top-color:#fff;border-bottom-width:0;content:" "}.factory-bootstrap-428 .popover.right .arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.factory-bootstrap-428 .popover.right .arrow:after{bottom:-10px;left:1px;border-right-color:#fff;border-left-width:0;content:" "}.factory-bootstrap-428 .popover.bottom .arrow{top:-11px;left:50%;margin-left:-11px;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25);border-top-width:0}.factory-bootstrap-428 .popover.bottom .arrow:after{top:1px;margin-left:-10px;border-bottom-color:#fff;border-top-width:0;content:" "}.factory-bootstrap-428 .popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-left-color:#999;border-left-color:rgba(0,0,0,.25);border-right-width:0}.factory-bootstrap-428 .popover.left .arrow:after{right:1px;bottom:-10px;border-left-color:#fff;border-right-width:0;content:" "}.factory-bootstrap-428 .carousel{position:relative}.factory-bootstrap-428 .carousel-inner{position:relative;width:100%;overflow:hidden}.factory-bootstrap-428 .carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.factory-bootstrap-428 .carousel-inner>.item>a>img,.factory-bootstrap-428 .carousel-inner>.item>img{display:block;height:auto;max-width:100%;line-height:1}.factory-bootstrap-428 .carousel-inner>.active,.factory-bootstrap-428 .carousel-inner>.next,.factory-bootstrap-428 .carousel-inner>.prev{display:block}.factory-bootstrap-428 .carousel-inner>.active{left:0}.factory-bootstrap-428 .carousel-inner>.next,.factory-bootstrap-428 .carousel-inner>.prev{position:absolute;top:0;width:100%}.factory-bootstrap-428 .carousel-inner>.next{left:100%}.factory-bootstrap-428 .carousel-inner>.prev{left:-100%}.factory-bootstrap-428 .carousel-inner>.next.left,.factory-bootstrap-428 .carousel-inner>.prev.right{left:0}.factory-bootstrap-428 .carousel-inner>.active.left{left:-100%}.factory-bootstrap-428 .carousel-inner>.active.right{left:100%}.factory-bootstrap-428 .carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);opacity:.5;filter:alpha(opacity=50)}.factory-bootstrap-428 .carousel-control.left{background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.5) 0),color-stop(rgba(0,0,0,.0001) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1)}.factory-bootstrap-428 .carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.0001) 0),color-stop(rgba(0,0,0,.5) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1)}.factory-bootstrap-428 .carousel-control:focus,.factory-bootstrap-428 .carousel-control:hover{color:#fff;text-decoration:none;outline:0;opacity:.9;filter:alpha(opacity=90)}.factory-bootstrap-428 .carousel-control .glyphicon-chevron-left,.factory-bootstrap-428 .carousel-control .glyphicon-chevron-right,.factory-bootstrap-428 .carousel-control .icon-next,.factory-bootstrap-428 .carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block}.factory-bootstrap-428 .carousel-control .glyphicon-chevron-left,.factory-bootstrap-428 .carousel-control .icon-prev{left:50%}.factory-bootstrap-428 .carousel-control .glyphicon-chevron-right,.factory-bootstrap-428 .carousel-control .icon-next{right:50%}.factory-bootstrap-428 .carousel-control .icon-next,.factory-bootstrap-428 .carousel-control .icon-prev{width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:serif}.factory-bootstrap-428 .carousel-control .icon-prev:before{content:'\2039'}.factory-bootstrap-428 .carousel-control .icon-next:before{content:'\203a'}.factory-bootstrap-428 .carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.factory-bootstrap-428 .carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.factory-bootstrap-428 .carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.factory-bootstrap-428 .carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.factory-bootstrap-428 .carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicons-chevron-left,.carousel-control .glyphicons-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-15px;margin-left:-15px;font-size:30px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.factory-bootstrap-428 .clearfix:after,.factory-bootstrap-428 .clearfix:before{display:table;content:" "}.factory-bootstrap-428 .clearfix:after{clear:both}.factory-bootstrap-428 .center-block{display:block;margin-right:auto;margin-left:auto}.factory-bootstrap-428 .pull-right{float:right!important}.factory-bootstrap-428 .pull-left{float:left!important}.factory-bootstrap-428 .hide{display:none!important}.factory-bootstrap-428 .show{display:block!important}.factory-bootstrap-428 .invisible{visibility:hidden}.factory-bootstrap-428 .text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.factory-bootstrap-428 .hidden{display:none!important;visibility:hidden!important}.factory-bootstrap-428 .affix{position:fixed}@-ms-viewport{width:device-width}.factory-bootstrap-428 .visible-lg,.factory-bootstrap-428 .visible-md,.factory-bootstrap-428 .visible-sm,.factory-bootstrap-428 .visible-xs,.factory-bootstrap-428 td.visible-lg,.factory-bootstrap-428 td.visible-md,.factory-bootstrap-428 td.visible-sm,.factory-bootstrap-428 td.visible-xs,.factory-bootstrap-428 th.visible-lg,.factory-bootstrap-428 th.visible-md,.factory-bootstrap-428 th.visible-sm,.factory-bootstrap-428 th.visible-xs,.factory-bootstrap-428 tr.visible-lg,.factory-bootstrap-428 tr.visible-md,.factory-bootstrap-428 tr.visible-sm,.factory-bootstrap-428 tr.visible-xs{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-xs.visible-sm{display:block!important}table.visible-xs.visible-sm{display:table}tr.visible-xs.visible-sm{display:table-row!important}td.visible-xs.visible-sm,th.visible-xs.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-xs.visible-md{display:block!important}table.visible-xs.visible-md{display:table}tr.visible-xs.visible-md{display:table-row!important}td.visible-xs.visible-md,th.visible-xs.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-xs.visible-lg{display:block!important}table.visible-xs.visible-lg{display:table}tr.visible-xs.visible-lg{display:table-row!important}td.visible-xs.visible-lg,th.visible-xs.visible-lg{display:table-cell!important}}@media (max-width:767px){.visible-sm.visible-xs{display:block!important}table.visible-sm.visible-xs{display:table}tr.visible-sm.visible-xs{display:table-row!important}td.visible-sm.visible-xs,th.visible-sm.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-sm.visible-md{display:block!important}table.visible-sm.visible-md{display:table}tr.visible-sm.visible-md{display:table-row!important}td.visible-sm.visible-md,th.visible-sm.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-sm.visible-lg{display:block!important}table.visible-sm.visible-lg{display:table}tr.visible-sm.visible-lg{display:table-row!important}td.visible-sm.visible-lg,th.visible-sm.visible-lg{display:table-cell!important}}@media (max-width:767px){.visible-md.visible-xs{display:block!important}table.visible-md.visible-xs{display:table}tr.visible-md.visible-xs{display:table-row!important}td.visible-md.visible-xs,th.visible-md.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-md.visible-sm{display:block!important}table.visible-md.visible-sm{display:table}tr.visible-md.visible-sm{display:table-row!important}td.visible-md.visible-sm,th.visible-md.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-md.visible-lg{display:block!important}table.visible-md.visible-lg{display:table}tr.visible-md.visible-lg{display:table-row!important}td.visible-md.visible-lg,th.visible-md.visible-lg{display:table-cell!important}}@media (max-width:767px){.visible-lg.visible-xs{display:block!important}table.visible-lg.visible-xs{display:table}tr.visible-lg.visible-xs{display:table-row!important}td.visible-lg.visible-xs,th.visible-lg.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-lg.visible-sm{display:block!important}table.visible-lg.visible-sm{display:table}tr.visible-lg.visible-sm{display:table-row!important}td.visible-lg.visible-sm,th.visible-lg.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-lg.visible-md{display:block!important}table.visible-lg.visible-md{display:table}tr.visible-lg.visible-md{display:table-row!important}td.visible-lg.visible-md,th.visible-lg.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}.factory-bootstrap-428 .hidden-xs{display:block!important}.factory-bootstrap-428 table.hidden-xs{display:table}.factory-bootstrap-428 tr.hidden-xs{display:table-row!important}.factory-bootstrap-428 td.hidden-xs,.factory-bootstrap-428 th.hidden-xs{display:table-cell!important}@media (max-width:767px){.hidden-xs,td.hidden-xs,th.hidden-xs,tr.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-xs.hidden-sm,td.hidden-xs.hidden-sm,th.hidden-xs.hidden-sm,tr.hidden-xs.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-xs.hidden-md,td.hidden-xs.hidden-md,th.hidden-xs.hidden-md,tr.hidden-xs.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-xs.hidden-lg,td.hidden-xs.hidden-lg,th.hidden-xs.hidden-lg,tr.hidden-xs.hidden-lg{display:none!important}}.factory-bootstrap-428 .hidden-sm{display:block!important}.factory-bootstrap-428 table.hidden-sm{display:table}.factory-bootstrap-428 tr.hidden-sm{display:table-row!important}.factory-bootstrap-428 td.hidden-sm,.factory-bootstrap-428 th.hidden-sm{display:table-cell!important}@media (max-width:767px){.hidden-sm.hidden-xs,td.hidden-sm.hidden-xs,th.hidden-sm.hidden-xs,tr.hidden-sm.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm,td.hidden-sm,th.hidden-sm,tr.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-sm.hidden-md,td.hidden-sm.hidden-md,th.hidden-sm.hidden-md,tr.hidden-sm.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-sm.hidden-lg,td.hidden-sm.hidden-lg,th.hidden-sm.hidden-lg,tr.hidden-sm.hidden-lg{display:none!important}}.factory-bootstrap-428 .hidden-md{display:block!important}.factory-bootstrap-428 table.hidden-md{display:table}.factory-bootstrap-428 tr.hidden-md{display:table-row!important}.factory-bootstrap-428 td.hidden-md,.factory-bootstrap-428 th.hidden-md{display:table-cell!important}@media (max-width:767px){.hidden-md.hidden-xs,td.hidden-md.hidden-xs,th.hidden-md.hidden-xs,tr.hidden-md.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-md.hidden-sm,td.hidden-md.hidden-sm,th.hidden-md.hidden-sm,tr.hidden-md.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md,td.hidden-md,th.hidden-md,tr.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-md.hidden-lg,td.hidden-md.hidden-lg,th.hidden-md.hidden-lg,tr.hidden-md.hidden-lg{display:none!important}}.factory-bootstrap-428 .hidden-lg{display:block!important}.factory-bootstrap-428 table.hidden-lg{display:table}.factory-bootstrap-428 tr.hidden-lg{display:table-row!important}.factory-bootstrap-428 td.hidden-lg,.factory-bootstrap-428 th.hidden-lg{display:table-cell!important}@media (max-width:767px){.factory-bootstrap-428 .hidden-lg.hidden-xs,.factory-bootstrap-428 td.hidden-lg.hidden-xs,.factory-bootstrap-428 th.hidden-lg.hidden-xs,.factory-bootstrap-428 tr.hidden-lg.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.factory-bootstrap-428 .hidden-lg.hidden-sm,.factory-bootstrap-428 td.hidden-lg.hidden-sm,.factory-bootstrap-428 th.hidden-lg.hidden-sm,.factory-bootstrap-428 tr.hidden-lg.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.factory-bootstrap-428 .hidden-lg.hidden-md,.factory-bootstrap-428 td.hidden-lg.hidden-md,.factory-bootstrap-428 th.hidden-lg.hidden-md,.factory-bootstrap-428 tr.hidden-lg.hidden-md{display:none!important}}@media (min-width:1200px){.factory-bootstrap-428 .hidden-lg,.factory-bootstrap-428 td.hidden-lg,.factory-bootstrap-428 th.hidden-lg,.factory-bootstrap-428 tr.hidden-lg{display:none!important}}.factory-bootstrap-428 .visible-print,.factory-bootstrap-428 td.visible-print,.factory-bootstrap-428 th.visible-print,.factory-bootstrap-428 tr.visible-print{display:none!important}@media print{.factory-bootstrap-428 .visible-print{display:block!important}.factory-bootstrap-428 table.visible-print{display:table}.factory-bootstrap-428 tr.visible-print{display:table-row!important}.factory-bootstrap-428 td.visible-print,.factory-bootstrap-428 th.visible-print{display:table-cell!important}.factory-bootstrap-428 .hidden-print,.factory-bootstrap-428 td.hidden-print,.factory-bootstrap-428 th.hidden-print,.factory-bootstrap-428 tr.hidden-print{display:none!important}}/*!
|
12 |
* Factory Default Bootstrap Theme
|
13 |
*
|
14 |
* The code is based on Bootstrap v2.1.1
|
22 |
*
|
23 |
* @package factory-bootstrap
|
24 |
* @since 1.0.0
|
25 |
+
*/.factory-bootstrap-428 .btn-danger,.factory-bootstrap-428 .btn-default,.factory-bootstrap-428 .btn-info,.factory-bootstrap-428 .btn-primary,.factory-bootstrap-428 .btn-success,.factory-bootstrap-428 .btn-warning{-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-428 .btn-danger.active,.factory-bootstrap-428 .btn-danger:active,.factory-bootstrap-428 .btn-default.active,.factory-bootstrap-428 .btn-default:active,.factory-bootstrap-428 .btn-info.active,.factory-bootstrap-428 .btn-info:active,.factory-bootstrap-428 .btn-primary.active,.factory-bootstrap-428 .btn-primary:active,.factory-bootstrap-428 .btn-success.active,.factory-bootstrap-428 .btn-success:active,.factory-bootstrap-428 .btn-warning.active,.factory-bootstrap-428 .btn-warning:active{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.1);box-shadow:inset 0 1px 1px rgba(0,0,0,.1)}.factory-bootstrap-428 .btn.active,.factory-bootstrap-428 .btn:active{background-image:none}.factory-bootstrap-428 .btn-default{color:#555;border-color:#ccc;background:#f7f7f7;-webkit-box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);vertical-align:top}.factory-bootstrap-428 .btn-default.active,.factory-bootstrap-428 .btn-default:active{background-color:#fff;border-color:#dbdbdb}.factory-bootstrap-428 .btn-gold{font-weight:700;padding:7px 12px;cursor:pointer;line-height:16px;display:inline-block;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;box-shadow:#e3e3e3 0 1px 1px;-moz-box-shadow:0 1px 1px rgba(000,000,000,.1),inset 0 1px 1px rgba(255,255,255,.7);-webkit-box-shadow:0 1px 1px rgba(000,000,000,.1),inset 0 1px 1px rgba(255,255,255,.7);text-shadow:1px 1px 0 #ffe8b2;color:#7c5d1b;border:1px solid #d6a437;background:#feeb80}.factory-bootstrap-428 .btn-gold:focus,.factory-bootstrap-428 .btn-gold:hover{background:#fef0a1}.factory-bootstrap-428 .btn-gold.active,.factory-bootstrap-428 .btn-gold:active{background:#fef0a1;-webkit-box-shadow:inset 0 3px 8px 0 #f8ba36;box-shadow:inset 0 3px 8px 0 #f8ba36}.factory-bootstrap-428 .btn-primary{background:#2ea2cc;border-color:#0074a2;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);color:#fff;text-decoration:none}.factory-bootstrap-428 .btn-primary:focus,.factory-bootstrap-428 .btn-primary:hover{background:#1e8cbe;border-color:#0074a2;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.6);box-shadow:inset 0 1px 0 rgba(120,200,230,.6);color:#fff}.factory-bootstrap-428 .btn-primary.active,.factory-bootstrap-428 .btn-primary:active{background-color:#2d6ca2;border-color:#2b669a}.factory-bootstrap-428 .btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);background-repeat:repeat-x;border-color:#3e8f3e;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-428 .btn-success:focus,.factory-bootstrap-428 .btn-success:hover{background-color:#419641;background-position:0 -15px}.factory-bootstrap-428 .btn-success.active,.factory-bootstrap-428 .btn-success:active{background-color:#419641;border-color:#3e8f3e}.factory-bootstrap-428 .btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);background-repeat:repeat-x;border-color:#e38d13;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-428 .btn-warning:focus,.factory-bootstrap-428 .btn-warning:hover{background-color:#eb9316;background-position:0 -15px}.factory-bootstrap-428 .btn-warning.active,.factory-bootstrap-428 .btn-warning:active{background-color:#eb9316;border-color:#e38d13}.factory-bootstrap-428 .btn-danger{color:#fff;background:#d9534f;border-color:#d43f3a}.factory-bootstrap-428 .btn-danger.active,.factory-bootstrap-428 .btn-danger:active,.factory-bootstrap-428 .btn-danger:focus,.factory-bootstrap-428 .btn-danger:hover,.factory-bootstrap-428 .open .dropdown-toggle.btn-danger{color:#fff;background-color:#d2322d;border-color:#ac2925}.factory-bootstrap-428 .btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);background-repeat:repeat-x;border-color:#28a4c9;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-428 .btn-info:focus,.factory-bootstrap-428 .btn-info:hover{background-color:#2aabd2;background-position:0 -15px}.factory-bootstrap-428 .btn-info.active,.factory-bootstrap-428 .btn-info:active{background-color:#2aabd2;border-color:#28a4c9}.factory-bootstrap-428 .img-thumbnail,.factory-bootstrap-428 .thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.factory-bootstrap-428 .dropdown-menu>li>a:focus,.factory-bootstrap-428 .dropdown-menu>li>a:hover{background-color:#e8e8e8;background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0)}.factory-bootstrap-428 .dropdown-menu>.active>a,.factory-bootstrap-428 .dropdown-menu>.active>a:focus,.factory-bootstrap-428 .dropdown-menu>.active>a:hover{background-color:#357ebd;background-image:-webkit-linear-gradient(top,#428bca 0,#357ebd 100%);background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0)}.factory-bootstrap-428 .navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);background-repeat:repeat-x;border-radius:4px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)}.factory-bootstrap-428 .navbar-default .navbar-nav>.active>a{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f3f3f3 100%);background-image:linear-gradient(to bottom,#ebebeb 0,#f3f3f3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff3f3f3', GradientType=0);-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.075);box-shadow:inset 0 3px 9px rgba(0,0,0,.075)}.factory-bootstrap-428 .navbar-brand,.factory-bootstrap-428 .navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,.25)}.factory-bootstrap-428 .navbar-inverse{background-image:-webkit-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-428 .navbar-inverse .navbar-nav>.active>a{background-image:-webkit-linear-gradient(top,#222 0,#282828 100%);background-image:linear-gradient(to bottom,#222 0,#282828 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff282828', GradientType=0);-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.25);box-shadow:inset 0 3px 9px rgba(0,0,0,.25)}.factory-bootstrap-428 .navbar-inverse .navbar-brand,.factory-bootstrap-428 .navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,0,0,.25)}.factory-bootstrap-428 .navbar-fixed-bottom,.factory-bootstrap-428 .navbar-fixed-top,.factory-bootstrap-428 .navbar-static-top{border-radius:0}.factory-bootstrap-428 .alert{-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05)}.factory-bootstrap-428 .alert .actions{padding-top:10px}.factory-bootstrap-428 .alert-success{color:#3c763d;background-color:#dff0d8;border-bottom:2px solid #c8e5bc}.factory-bootstrap-428 .alert-info{background-image:-webkit-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);background-repeat:repeat-x;border-color:#9acfea;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0)}.factory-bootstrap-428 .alert{text-shadow:none;box-shadow:none;margin:0;margin-top:10px;margin-bottom:10px;padding:10px}.factory-bootstrap-428 .alert-normal,.factory-bootstrap-428 .alert-warning{background:#fcf8e3;color:#8a6d3b;border:1px solid #b8823b}.factory-bootstrap-428 .alert-danger{background:#cf4944;color:#fff;border-bottom:2px solid #b23e3a}.factory-bootstrap-428 .alert-danger a:not(.btn),.factory-bootstrap-428 .alert-error a:not(.btn){color:#fff}.factory-bootstrap-428 .progress{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0)}.factory-bootstrap-428 .progress-bar{background-image:-webkit-linear-gradient(top,#428bca 0,#3071a9 100%);background-image:linear-gradient(to bottom,#428bca 0,#3071a9 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0)}.factory-bootstrap-428 .progress-bar-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0)}.factory-bootstrap-428 .progress-bar-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0)}.factory-bootstrap-428 .progress-bar-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0)}.factory-bootstrap-428 .progress-bar-dang
|