YITH WooCommerce Ajax Search - Version 1.5.8

Version Description

  • Released: Jun 28, 2018 =
  • Update: Plugin Core 3.0.21
  • Fix: Fixed compatibility class loading
Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Ajax Search
Version 1.5.8
Comparing to
See all releases

Code changes from version 1.5.7 to 1.5.8

Files changed (45) hide show
  1. README.txt +9 -6
  2. class.yith-wcas-admin.php +13 -16
  3. class.yith-wcas-frontend.php +1 -1
  4. class.yith-wcas.php +1 -1
  5. functions.yith-wcas.php +1 -1
  6. init.php +8 -6
  7. plugin-fw/assets/css/yith-fields.css +38 -0
  8. plugin-fw/assets/css/yith-select2-no-wc.css +741 -0
  9. plugin-fw/assets/js/jquery.colorbox.min.js +33 -24
  10. plugin-fw/assets/js/metabox.min.js +7 -4
  11. plugin-fw/assets/js/yit-cpt-unlimited.min.js +2 -2
  12. plugin-fw/assets/js/yit-wp-pointer.min.js +6 -3
  13. plugin-fw/assets/js/yith-enhanced-select-wc-2.6.min.js +5 -5
  14. plugin-fw/assets/js/yith-enhanced-select.min.js +8 -5
  15. plugin-fw/assets/js/yith-fields.js +27 -13
  16. plugin-fw/assets/js/yith-fields.min.js +11 -11
  17. plugin-fw/init.php +3 -3
  18. plugin-fw/languages/yith-plugin-fw-es_ES.mo +0 -0
  19. plugin-fw/languages/yith-plugin-fw-es_ES.po +466 -421
  20. plugin-fw/languages/yith-plugin-fw-it_IT.mo +0 -0
  21. plugin-fw/languages/yith-plugin-fw-it_IT.po +466 -425
  22. plugin-fw/languages/yith-plugin-fw.pot +167 -354
  23. plugin-fw/lib/yit-ajax.php +2 -2
  24. plugin-fw/lib/yit-assets.php +11 -7
  25. plugin-fw/lib/yit-debug.php +1 -2
  26. plugin-fw/lib/yit-plugin-panel-wc.php +9 -7
  27. plugin-fw/lib/yit-plugin-panel.php +16 -14
  28. plugin-fw/lib/yit-plugin-subpanel.php +4 -4
  29. plugin-fw/lib/yit-upgrade.php +1 -1
  30. plugin-fw/licence/assets/js/yit-licence.js +145 -141
  31. plugin-fw/licence/assets/js/yit-licence.min.js +10 -7
  32. plugin-fw/licence/lib/yit-licence.php +15 -8
  33. plugin-fw/licence/lib/yit-plugin-licence.php +43 -8
  34. plugin-fw/licence/lib/yit-theme-licence.php +1 -1
  35. plugin-fw/licence/templates/panel/activation/activation-panel.php +149 -145
  36. plugin-fw/templates/fields/ajax-posts.php +1 -2
  37. plugin-fw/templates/fields/ajax-terms.php +1 -2
  38. plugin-fw/templates/fields/resources/select2-wc-2.6.php +31 -0
  39. plugin-fw/templates/fields/resources/select2.php +43 -0
  40. plugin-fw/templates/fields/select-images.php +52 -0
  41. plugin-fw/yit-functions.php +88 -9
  42. plugin-fw/yit-plugin.php +148 -0
  43. templates/yith-woocommerce-ajax-search.php +1 -1
  44. uninstall.php +1 -1
  45. widgets/class.yith-wcas-ajax-search.php +1 -1
README.txt CHANGED
@@ -3,8 +3,8 @@
3
Contributors: yithemes
4
Tags: woocommerce search by sku, woocommerce search results, woocommerce search shortcode, woocommerce search page, woocommerce search form, woocommerce search filter, woocommerce search products, woocommerce search content, woocommerce search autocomplete, woocommerce advanced search, woocommerce search category, woocommerce search product attributes, woocommerce search by tag, woocommerce search by brand, woocommerce predictive, woocommerce live search, woocommerce single product search, woocommerce site search, woocommerce search tex, tajax, search, woocommerce, products, themes, yit, e-commerce, shop, yith, ajax search, instant search, premium, yithemes, autocomplete, autosuggest, better search, category search, custom search, highlight terms, Live Search, Predictive Search, product search, relevant search, search highlight, search product, suggest, typeahead, WooCommerce Plugin, woocommerce product search, woocommerce search, wordpress ecommerce
5
Requires at least: 4.0.0
6
- Tested up to: 4.9.6
7
- Stable tag: 1.5.7
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
@@ -34,7 +34,7 @@ It works just like Google Suggest, but this tool will be available on your WooCo
34
* Set minimum number of characters for WooCommerce search
35
* Set maximum number of WooCommerce results
36
37
- If you want to boost your YITH WooCommerce Ajax Search, you can also visit YIThemes page and explore the [live demo](https://plugins.yithemes.com/yith-woocommerce-ajax-search/) of the premium version, which includes all the following features to improve at the best your WooCommerce site search.
38
39
= Premium features of YITH WooCommerce Ajax Search: =
40
@@ -80,14 +80,14 @@ Important: First of all, you have to download and activate WooCommerce plugin, b
80
81
82
= Configuration =
83
- YITH WooCommerce Ajax Search will add a new tab called "Ajax Search" in "YIT Plugins" menu. There, you will find all YIThemes plugins and you will be able to access quickly plugin settings page.
84
85
== Frequently Asked Questions ==
86
87
= Is it compatible with all WordPress themes? =
88
89
Compatibility with all themes is impossible, because they are too many, but generally if themes are developed according to WordPress and WooCommerce guidelines, YITH plugins are compatible with them.
90
- Yet, we can grant compatibility with themes developed by YIThemes, because they are constantly updated and tested with our plugins. Sometimes, especially when new versions are released, it might only require some time for them to be all updated, but you can be sure that they will be tested and will be working in a few days.
91
92
93
= How can I get support if my WooCommerce plugin is not working? =
@@ -102,7 +102,7 @@ If none of the previous listed actions helps you solve the problem, then, submit
102
103
104
= How can I get more features for my WooCommerce plugin? =
105
- You can get more features with the premium version of YITH WooCommerce Ajax Search, available on [YIThemes page]( https://yithemes.com/themes/plugins/yith-woocommerce-ajax-search/). Here you can read more about the premium features of the plugin and make it give it its best shot!
106
107
108
= How can I try the full-featured plugin? =
@@ -138,6 +138,9 @@ If you have created your own language pack for YITH WooCommerce Ajax Search, or
138
2. YITH WooCommerce Ajax Search in operation displaying WooCommerce search results
139
140
== Changelog ==
141
142
= 1.5.7 - Released: Jun 28, 2018 =
143
* Fix: Fixed compatibility class loading
3
Contributors: yithemes
4
Tags: woocommerce search by sku, woocommerce search results, woocommerce search shortcode, woocommerce search page, woocommerce search form, woocommerce search filter, woocommerce search products, woocommerce search content, woocommerce search autocomplete, woocommerce advanced search, woocommerce search category, woocommerce search product attributes, woocommerce search by tag, woocommerce search by brand, woocommerce predictive, woocommerce live search, woocommerce single product search, woocommerce site search, woocommerce search tex, tajax, search, woocommerce, products, themes, yit, e-commerce, shop, yith, ajax search, instant search, premium, yithemes, autocomplete, autosuggest, better search, category search, custom search, highlight terms, Live Search, Predictive Search, product search, relevant search, search highlight, search product, suggest, typeahead, WooCommerce Plugin, woocommerce product search, woocommerce search, wordpress ecommerce
5
Requires at least: 4.0.0
6
+ Tested up to: 4.9
7
+ Stable tag: 1.5.8
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
34
* Set minimum number of characters for WooCommerce search
35
* Set maximum number of WooCommerce results
36
37
+ If you want to boost your YITH WooCommerce Ajax Search, you can also visit YITH page and explore the [live demo](https://plugins.yithemes.com/yith-woocommerce-ajax-search/) of the premium version, which includes all the following features to improve at the best your WooCommerce site search.
38
39
= Premium features of YITH WooCommerce Ajax Search: =
40
80
81
82
= Configuration =
83
+ YITH WooCommerce Ajax Search will add a new tab called "Ajax Search" in "YIT Plugins" menu. There, you will find all YITH plugins and you will be able to access quickly plugin settings page.
84
85
== Frequently Asked Questions ==
86
87
= Is it compatible with all WordPress themes? =
88
89
Compatibility with all themes is impossible, because they are too many, but generally if themes are developed according to WordPress and WooCommerce guidelines, YITH plugins are compatible with them.
90
+ Yet, we can grant compatibility with themes developed by YITH, because they are constantly updated and tested with our plugins. Sometimes, especially when new versions are released, it might only require some time for them to be all updated, but you can be sure that they will be tested and will be working in a few days.
91
92
93
= How can I get support if my WooCommerce plugin is not working? =
102
103
104
= How can I get more features for my WooCommerce plugin? =
105
+ You can get more features with the premium version of YITH WooCommerce Ajax Search, available on [YITH page]( https://yithemes.com/themes/plugins/yith-woocommerce-ajax-search/). Here you can read more about the premium features of the plugin and make it give it its best shot!
106
107
108
= How can I try the full-featured plugin? =
138
2. YITH WooCommerce Ajax Search in operation displaying WooCommerce search results
139
140
== Changelog ==
141
+ = 1.5.8 - Released: Jun 28, 2018 =
142
+ * Update: Plugin Core 3.0.21
143
+ * Fix: Fixed compatibility class loading
144
145
= 1.5.7 - Released: Jun 28, 2018 =
146
* Fix: Fixed compatibility class loading
class.yith-wcas-admin.php CHANGED
@@ -2,7 +2,7 @@
2
/**
3
* Admin class
4
*
5
- * @author Yithemes
6
* @package YITH WooCommerce Ajax Search
7
* @version 1.1.1
8
*/
@@ -76,8 +76,8 @@ if( !class_exists( 'YITH_WCAS_Admin' ) ) {
76
add_action( 'admin_menu', array( $this, 'register_panel' ), 5) ;
77
78
//Add action links
79
- add_filter( 'plugin_action_links_' . plugin_basename( YITH_WCAS_DIR . '/' . basename( YITH_WCAS_FILE ) ), array( $this, 'action_links') );
80
- add_filter( 'plugin_row_meta', array( $this, 'plugin_row_meta' ), 10, 4 );
81
82
add_action( 'yith_ajax_search_premium', array( $this, 'premium_tab' ) );
83
@@ -101,13 +101,10 @@ if( !class_exists( 'YITH_WCAS_Admin' ) ) {
101
* @return mixed
102
* @use plugin_action_links_{$plugin_file_name}
103
*/
104
- public function action_links( $links ) {
105
-
106
- $links[] = '<a href="' . admin_url( "admin.php?page={$this->_panel_page}" ) . '">' . __( 'Settings', 'yith-woocommerce-ajax-search' ) . '</a>';
107
- $links[] = '<a href="' . $this->get_premium_landing_uri() . '" target="_blank">' . __( 'Premium Version', 'yith-woocommerce-ajax-search' ) . '</a>';
108
-
109
- return $links;
110
- }
111
112
/**
113
* Add a panel under YITH Plugins tab
@@ -184,13 +181,13 @@ if( !class_exists( 'YITH_WCAS_Admin' ) ) {
184
* @author Andrea Grillo <andrea.grillo@yithemes.com>
185
* @use plugin_row_meta
186
*/
187
- public function plugin_row_meta( $plugin_meta, $plugin_file, $plugin_data, $status ) {
188
189
- if ( defined( 'YITH_WCAS_FREE_INIT' ) && YITH_WCAS_FREE_INIT == $plugin_file ) {
190
- $plugin_meta[] = '<a href="' . $this->doc_url . '" target="_blank">' . __( 'Plugin Documentation', 'yith-woocommerce-ajax-search' ) . '</a>';
191
- }
192
- return $plugin_meta;
193
- }
194
195
196
public function register_pointer(){
2
/**
3
* Admin class
4
*
5
+ * @author YITH
6
* @package YITH WooCommerce Ajax Search
7
* @version 1.1.1
8
*/
76
add_action( 'admin_menu', array( $this, 'register_panel' ), 5) ;
77
78
//Add action links
79
+ add_filter( 'plugin_action_links_' . plugin_basename( YITH_WCAS_DIR . '/' . basename( YITH_WCAS_FILE ) ), array( $this, 'action_links' ) );
80
+ add_filter( 'yith_show_plugin_row_meta', array( $this, 'plugin_row_meta' ), 10, 5 );
81
82
add_action( 'yith_ajax_search_premium', array( $this, 'premium_tab' ) );
83
101
* @return mixed
102
* @use plugin_action_links_{$plugin_file_name}
103
*/
104
+ public function action_links( $links ) {
105
+ $links = yith_add_action_links( $links, $this->_panel_page, false );
106
+ return $links;
107
+ }
108
109
/**
110
* Add a panel under YITH Plugins tab
181
* @author Andrea Grillo <andrea.grillo@yithemes.com>
182
* @use plugin_row_meta
183
*/
184
+ public function plugin_row_meta( $new_row_meta_args, $plugin_meta, $plugin_file, $plugin_data, $status, $init_file = 'YITH_WCAS_FREE_INIT' ) {
185
+ if ( defined( $init_file ) && constant( $init_file ) == $plugin_file ) {
186
+ $new_row_meta_args['slug'] = YITH_WCAS_SLUG;
187
+ }
188
189
+ return $new_row_meta_args;
190
+ }
191
192
193
public function register_pointer(){
class.yith-wcas-frontend.php CHANGED
@@ -2,7 +2,7 @@
2
/**
3
* Frontend class
4
*
5
- * @author Yithemes
6
* @package YITH WooCommerce Ajax Search
7
* @version 1.1.1
8
*/
2
/**
3
* Frontend class
4
*
5
+ * @author YITH
6
* @package YITH WooCommerce Ajax Search
7
* @version 1.1.1
8
*/
class.yith-wcas.php CHANGED
@@ -2,7 +2,7 @@
2
/**
3
* Main class
4
*
5
- * @author Yithemes
6
* @package YITH WooCommerce Ajax Search
7
* @version 1.1.1
8
*/
2
/**
3
* Main class
4
*
5
+ * @author YITH
6
* @package YITH WooCommerce Ajax Search
7
* @version 1.1.1
8
*/
functions.yith-wcas.php CHANGED
@@ -2,7 +2,7 @@
2
/**
3
* Functions
4
*
5
- * @author Yithemes
6
* @package YITH WooCommerce Ajax Search
7
* @version 1.1.1
8
*/
2
/**
3
* Functions
4
*
5
+ * @author YITH
6
* @package YITH WooCommerce Ajax Search
7
* @version 1.1.1
8
*/
init.php CHANGED
@@ -1,11 +1,11 @@
1
<?php
2
/**
3
* Plugin Name: YITH WooCommerce Ajax Search
4
- * Plugin URI: http://yithemes.com/
5
- * Description: YITH WooCommerce Ajax Search allows your users to search products in real time.
6
- * Version: 1.5.7
7
* Author: YITHEMES
8
- * Author URI: http://yithemes.com/
9
* Text Domain: yith-woocommerce-ajax-search
10
* Domain Path: /languages/
11
* WC requires at least: 3.0.0
@@ -67,7 +67,7 @@ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
67
if ( defined( 'YITH_WCAS_VERSION' ) ){
68
return;
69
}else{
70
- define( 'YITH_WCAS_VERSION', '1.5.7' );
71
}
72
73
if ( ! defined( 'YITH_WCAS_FREE_INIT' ) ) {
@@ -100,7 +100,9 @@ if ( ! defined( 'YITH_WCAS_ASSETS_IMAGES_URL' ) ) {
100
define( 'YITH_WCAS_ASSETS_IMAGES_URL', YITH_WCAS_ASSETS_URL . '/images/' );
101
}
102
103
-
104
function yith_ajax_search_constructor() {
105
106
if ( !function_exists( 'WC' ) ) {
1
<?php
2
/**
3
* Plugin Name: YITH WooCommerce Ajax Search
4
+ * Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-ajax-search/
5
+ * Description: <code><strong>YITH WooCommerce Ajax Search Premium</strong></code> is the plugin that allows you to search for a specific product by inserting a few characters. Thanks to <strong>Ajax Search</strong>, users can quickly find the contents they are interested in without wasting time among site pages. <a href="https://yithemes.com/" target="_blank">Find new awesome plugins on <strong>YITH</strong></a>.
6
+ * Version: 1.5.8
7
* Author: YITHEMES
8
+ * Author URI: https://yithemes.com/
9
* Text Domain: yith-woocommerce-ajax-search
10
* Domain Path: /languages/
11
* WC requires at least: 3.0.0
67
if ( defined( 'YITH_WCAS_VERSION' ) ){
68
return;
69
}else{
70
+ define( 'YITH_WCAS_VERSION', '1.5.8' );
71
}
72
73
if ( ! defined( 'YITH_WCAS_FREE_INIT' ) ) {
100
define( 'YITH_WCAS_ASSETS_IMAGES_URL', YITH_WCAS_ASSETS_URL . '/images/' );
101
}
102
103
+ if ( ! defined( 'YITH_WCAS_SLUG' ) ) {
104
+ define( 'YITH_WCAS_SLUG', 'yith-woocommerce-ajax-search' );
105
+ }
106
function yith_ajax_search_constructor() {
107
108
if ( !function_exists( 'WC' ) ) {
plugin-fw/assets/css/yith-fields.css CHANGED
@@ -361,4 +361,42 @@ ul.yit-icons-manager-list li.active {
361
/* ------- Buttons ------- */
362
.yith-plugin-fw-buttons-field-wrapper {
363
margin-top : 7px;
364
}
361
/* ------- Buttons ------- */
362
.yith-plugin-fw-buttons-field-wrapper {
363
margin-top : 7px;
364
+ }
365
+
366
+ /* ------- Select Images ------- */
367
+ .yith-plugin-fw-select-images__list {
368
+ margin : 0;
369
+ display : flex;
370
+ flex-wrap : wrap;
371
+ }
372
+
373
+ .yith-plugin-fw-select-images__item {
374
+ width : calc(20% - 10px);
375
+ min-width : 150px;
376
+ margin : 0 10px 10px 0;
377
+ padding : 10px;
378
+ box-sizing : border-box;
379
+ cursor : pointer;
380
+ transition : all .3s;
381
+ border : 2px solid #eee;
382
+ display : flex;
383
+ flex-direction : column;
384
+ justify-content : space-between;
385
+ }
386
+
387
+ .yith-plugin-fw-select-images__item:hover,
388
+ .yith-plugin-fw-select-images__item.yith-plugin-fw-select-images__item--selected {
389
+ border-color : #07bcce;
390
+ }
391
+
392
+ .yith-plugin-fw-select-images__item__label {
393
+ text-align : center;
394
+ font-weight : 600;
395
+ margin-bottom : 10px;
396
+ }
397
+
398
+ .yith-plugin-fw-select-images__item img {
399
+ display : block;
400
+ max-width : 100%;
401
+ margin : 0 auto;
402
}
plugin-fw/assets/css/yith-select2-no-wc.css ADDED
@@ -0,0 +1,741 @@
1
+ .select2-container {
2
+ -webkit-box-sizing : border-box;
3
+ box-sizing : border-box;
4
+ display : inline-block;
5
+ margin : 0;
6
+ position : relative;
7
+ vertical-align : middle
8
+ }
9
+
10
+ .select2-container .select2-selection--single {
11
+ -webkit-box-sizing : border-box;
12
+ box-sizing : border-box;
13
+ cursor : pointer;
14
+ display : block;
15
+ height : 28px;
16
+ margin : 0 0 -4px;
17
+ -moz-user-select : none;
18
+ -ms-user-select : none;
19
+ user-select : none;
20
+ -webkit-user-select : none
21
+ }
22
+
23
+ .select2-container .select2-selection--single .select2-selection__rendered {
24
+ display : block;
25
+ padding-left : 8px;
26
+ padding-right : 20px;
27
+ overflow : hidden;
28
+ text-overflow : ellipsis;
29
+ white-space : nowrap
30
+ }
31
+
32
+ .select2-container .select2-selection--single .select2-selection__clear {
33
+ position : relative
34
+ }
35
+
36
+ .select2-container[dir=rtl] .select2-selection--single .select2-selection__rendered {
37
+ padding-right : 8px;
38
+ padding-left : 20px
39
+ }
40
+
41
+ .select2-container .select2-selection--multiple {
42
+ -webkit-box-sizing : border-box;
43
+ box-sizing : border-box;
44
+ cursor : pointer;
45
+ display : block;
46
+ min-height : 32px;
47
+ -moz-user-select : none;
48
+ -ms-user-select : none;
49
+ user-select : none;
50
+ -webkit-user-select : none
51
+ }
52
+
53
+ .select2-container .select2-selection--multiple .select2-selection__rendered {
54
+ display : inline-block;
55
+ overflow : hidden;
56
+ padding-left : 8px;
57
+ text-overflow : ellipsis;
58
+ white-space : nowrap
59
+ }
60
+
61
+ .select2-container .select2-search--inline {
62
+ float : left;
63
+ padding : 0
64
+ }
65
+
66
+ .select2-container .select2-search--inline .select2-search__field {
67
+ -webkit-box-sizing : border-box;
68
+ box-sizing : border-box;
69
+ border : none;
70
+ font-size : 100%;
71
+ margin : 0;
72
+ padding : 0
73
+ }
74
+
75
+ .select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
76
+ -webkit-appearance : none
77
+ }
78
+
79
+ .select2-dropdown {
80
+ background-color : #fff;
81
+ border : 1px solid #aaa;
82
+ border-radius : 4px;
83
+ -webkit-box-sizing : border-box;
84
+ box-sizing : border-box;
85
+ display : block;
86
+ position : absolute;
87
+ left : -100000px;
88
+ width : 100%;
89
+ z-index : 1051
90
+ }
91
+
92
+ .select2-results {
93
+ display : block
94
+ }
95
+
96
+ .select2-results__options {
97
+ list-style : none;
98
+ margin : 0;
99
+ padding : 0
100
+ }
101
+
102
+ .select2-results__option {
103
+ padding : 6px;
104
+ -moz-user-select : none;
105
+ -ms-user-select : none;
106
+ user-select : none;
107
+ -webkit-user-select : none
108
+ }
109
+
110
+ .select2-results__option[aria-selected], .select2-results__option[data-selected] {
111
+ cursor : pointer
112
+ }
113
+
114
+ .select2-container--open .select2-dropdown {
115
+ left : 0
116
+ }
117
+
118
+ .select2-container--open .select2-dropdown--above {
119
+ border-bottom : none;
120
+ border-bottom-left-radius : 0;
121
+ border-bottom-right-radius : 0
122
+ }
123
+
124
+ .select2-container--open .select2-dropdown--below {
125
+ border-top : none;
126
+ border-top-left-radius : 0;
127
+ border-top-right-radius : 0
128
+ }
129
+
130
+ .select2-search--dropdown {
131
+ display : block;
132
+ padding : 4px
133
+ }
134
+
135
+ .select2-search--dropdown .select2-search__field {
136
+ padding : 4px;
137
+ width : 100%;
138
+ -webkit-box-sizing : border-box;
139
+ box-sizing : border-box
140
+ }
141
+
142
+ .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
143
+ -webkit-appearance : none
144
+ }
145
+
146
+ .select2-search--dropdown.select2-search--hide {
147
+ display : none
148
+ }
149
+
150
+ .select2-close-mask {
151
+ border : 0;
152
+ margin : 0;
153
+ padding : 0;
154
+ display : block;
155
+ position : fixed;
156
+ left : 0;
157
+ top : 0;
158
+ min-height : 100%;
159
+ min-width : 100%;
160
+ height : auto;
161
+ width : auto;
162
+ opacity : 0;
163
+ z-index : 99;
164
+ background-color : #fff
165
+ }
166
+
167
+ .select2-hidden-accessible {
168
+ border : 0 !important;
169
+ clip : rect(0 0 0 0) !important;
170
+ height : 1px !important;
171
+ margin : -1px !important;
172
+ overflow : hidden !important;
173
+ padding : 0 !important;
174
+ position : absolute !important;
175
+ width : 1px !important
176
+ }
177
+
178
+ .select2-container--default .select2-selection--single {
179
+ background-color : #fff;
180
+ border : 1px solid #aaa;
181
+ border-radius : 4px
182
+ }
183
+
184
+ .select2-container--default .select2-selection--single .select2-selection__rendered {
185
+ color : #444;
186
+ line-height : 28px
187
+ }
188
+
189
+ .select2-container--default .select2-selection--single .select2-selection__clear {
190
+ cursor : pointer;
191
+ float : right;
192
+ font-weight : 700
193
+ }
194
+
195
+ .select2-container--default .select2-selection--single .select2-selection__placeholder {
196
+ color : #999
197
+ }
198
+
199
+ .select2-container--default .select2-selection--single .select2-selection__arrow {
200
+ height : 26px;
201
+ position : absolute;
202
+ top : 1px;
203
+ right : 1px;
204
+ width : 20px
205
+ }
206
+
207
+ .select2-container--default .select2-selection--single .select2-selection__arrow b {
208
+ border-color : #888 transparent transparent transparent;
209
+ border-style : solid;
210
+ border-width : 5px 4px 0 4px;
211
+ height : 0;
212
+ left : 50%;
213
+ margin-left : -4px;
214
+ margin-top : -2px;
215
+ position : absolute;
216
+ top : 50%;
217
+ width : 0
218
+ }
219
+
220
+ .select2-container--default[dir=rtl] .select2-selection--single .select2-selection__clear {
221
+ float : left
222
+ }
223
+
224
+ .select2-container--default[dir=rtl] .select2-selection--single .select2-selection__arrow {
225
+ left : 1px;
226
+ right : auto
227
+ }
228
+
229
+ .select2-container--default.select2-container--disabled .select2-selection--single {
230
+ background-color : #eee;
231
+ cursor : default
232
+ }
233
+
234
+ .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
235
+ display : none
236
+ }
237
+
238
+ .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
239
+ border-color : transparent transparent #888 transparent;
240
+ border-width : 0 4px 5px 4px
241
+ }
242
+
243
+ .select2-container--default .select2-selection--multiple {
244
+ background-color : #fff;
245
+ border : 1px solid #aaa;
246
+ cursor : text;
247
+ }
248
+
249
+ .select2-container--default .select2-selection--multiple .select2-selection__rendered {
250
+ -webkit-box-sizing : border-box;
251
+ box-sizing : border-box;
252
+ list-style : none;
253
+ margin : 0;
254
+ padding : 0 5px;
255
+ width : 100%
256
+ }
257
+
258
+ .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
259
+ list-style : none;
260
+ margin : 5px 5px 0 0
261
+ }
262
+
263
+ .select2-container--default .select2-selection--multiple .select2-selection__rendered li:before {
264
+ content : '';
265
+ display : none
266
+ }
267
+
268
+ .select2-container--default .select2-selection--multiple .select2-selection__placeholder {
269
+ color : #999;
270
+ margin-top : 5px;
271
+ float : left
272
+ }
273
+
274
+ .select2-container--default .select2-selection--multiple .select2-selection__clear {
275
+ cursor : pointer;
276
+ float : right;
277
+ font-weight : 700;
278
+ margin-top : 5px;
279
+ margin-right : 10px
280
+ }
281
+
282
+ .select2-container--default .select2-selection--multiple .select2-selection__choice {
283
+ background-color : #e4e4e4;
284
+ border : 1px solid #aaa;
285
+ border-radius : 4px;
286
+ cursor : default;
287
+ float : left;
288
+ margin-right : 5px;
289
+ margin-top : 5px;
290
+ padding : 0 5px
291
+ }
292
+
293
+ .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
294
+ color : #999;
295
+ cursor : pointer;
296
+ display : inline-block;
297
+ font-weight : 700;
298
+ margin-right : 2px
299
+ }
300
+
301
+ .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
302
+ color : #333
303
+ }
304
+
305
+ .select2-container--default[dir=rtl] .select2-selection--multiple .select2-search--inline, .select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__placeholder {
306
+ float : right
307
+ }
308
+
309
+ .select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice {
310
+ margin-left : 5px;
311
+ margin-right : auto
312
+ }
313
+
314
+ .select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice__remove {
315
+ margin-left : 2px;
316
+ margin-right : auto
317
+ }
318
+
319
+ .select2-container--default.select2-container--focus .select2-selection--multiple {
320
+ border : solid #000 1px;
321
+ outline : 0
322
+ }
323
+
324
+ .select2-container--default.select2-container--disabled .select2-selection--multiple {
325
+ background-color : #eee;
326
+ cursor : default
327
+ }
328
+
329
+ .select2-container--default.select2-container--disabled .select2-selection__choice__remove {
330
+ display : none
331
+ }
332
+
333
+ .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple, .select2-container--default.select2-container--open.select2-container--above .select2-selection--single {
334
+ border-top-left-radius : 0;
335
+ border-top-right-radius : 0
336
+ }
337
+
338
+ .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple, .select2-container--default.select2-container--open.select2-container--below .select2-selection--single {
339
+ border-bottom-left-radius : 0;
340
+ border-bottom-right-radius : 0
341
+ }
342
+
343
+ .select2-container--default .select2-search--dropdown .select2-search__field {
344
+ border : 1px solid #aaa
345
+ }
346
+
347
+ .select2-container--default .select2-search--inline .select2-search__field {
348
+ background : 0 0;
349
+ border : none;
350
+ outline : 0;
351
+ -webkit-box-shadow : none;
352
+ box-shadow : none;
353
+ -webkit-appearance : textfield
354
+ }
355
+
356
+ .select2-container--default .select2-results > .select2-results__options {
357
+ max-height : 200px;
358
+ overflow-y : auto
359
+ }
360
+
361
+ .select2-container--default .select2-results__option[role=group] {
362
+ padding : 0
363
+ }
364
+
365
+ .select2-container--default .select2-results__option[aria-disabled=true] {
366
+ color : #999
367
+ }
368
+
369
+ .select2-container--default .select2-results__option[aria-selected=true], .select2-container--default .select2-results__option[data-selected=true] {
370
+ background-color : #ddd
371
+ }
372
+
373
+ .select2-container--default .select2-results__option .select2-results__option {
374
+ padding-left : 1em
375
+ }
376
+
377
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__group {
378
+ padding-left : 0
379
+ }
380
+
381
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option {
382
+ margin-left : -1em;
383
+ padding-left : 2em
384
+ }
385
+
386
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
387
+ margin-left : -2em;
388
+ padding-left : 3em
389
+ }
390
+
391
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
392
+ margin-left : -3em;
393
+ padding-left : 4em
394
+ }
395
+
396
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
397
+ margin-left : -4em;
398
+ padding-left : 5em
399
+ }
400
+
401
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
402
+ margin-left : -5em;
403
+ padding-left : 6em
404
+ }
405
+
406
+ .select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] {
407
+ background-color : #0073aa;
408
+ color : #fff
409
+ }
410
+
411
+ .select2-container--default .select2-results__group {
412
+ cursor : default;
413
+ display : block;
414
+ padding : 6px
415
+ }
416
+
417
+ .select2-container--classic .select2-selection--single {
418
+ background-color : #f7f7f7;
419
+ border : 1px solid #aaa;
420
+ border-radius : 4px;
421
+ outline : 0;
422
+ background-image : -webkit-gradient(linear, left top, left bottom, color-stop(50%, #fff), to(#eee));
423
+ background-image : -webkit-linear-gradient(top, #fff 50%, #eee 100%);
424
+ background-image : linear-gradient(to bottom, #fff 50%, #eee 100%);
425
+ background-repeat : repeat-x
426
+ }
427
+
428
+ .select2-container--classic .select2-selection--single:focus {
429
+ border : 1px solid #0073aa
430
+ }
431
+
432
+ .select2-container--classic .select2-selection--single .select2-selection__rendered {
433
+ color : #444;
434
+ line-height : 28px
435
+ }
436
+
437
+ .select2-container--classic .select2-selection--single .select2-selection__clear {
438
+ cursor : pointer;
439
+ float : right;
440
+ font-weight : 700;
441
+ margin-right : 10px
442
+ }
443
+
444
+ .select2-container--classic .select2-selection--single .select2-selection__placeholder {
445
+ color : #999
446
+ }
447
+
448
+ .select2-container--classic .select2-selection--single .select2-selection__arrow {
449
+ background-color : #ddd;
450
+ border : none;
451
+ border-left : 1px solid #aaa;
452
+ border-top-right-radius : 4px;
453
+ border-bottom-right-radius : 4px;
454
+ height : 26px;
455
+ position : absolute;
456
+ top : 1px;
457
+ right : 1px;
458
+ width : 20px;
459
+ background-image : -webkit-gradient(linear, left top, left bottom, color-stop(50%, #eee), to(#ccc));
460
+ background-image : -webkit-linear-gradient(top, #eee 50%, #ccc 100%);
461
+ background-image : linear-gradient(to bottom, #eee 50%, #ccc 100%);
462
+ background-repeat : repeat-x
463
+ }
464
+
465
+ .select2-container--classic .select2-selection--single .select2-selection__arrow b {
466
+ border-color : #888 transparent transparent transparent;
467
+ border-style : solid;
468
+ border-width : 5px 4px 0 4px;
469
+ height : 0;
470
+ left : 50%;
471
+ margin-left : -4px;
472
+ margin-top : -2px;
473
+ position : absolute;
474
+ top : 50%;
475
+ width : 0
476
+ }
477
+
478
+ .select2-container--classic[dir=rtl] .select2-selection--single .select2-selection__clear {
479
+ float : left
480
+ }
481
+
482
+ .select2-container--classic[dir=rtl] .select2-selection--single .select2-selection__arrow {
483
+ border : none;
484
+ border-right : 1px solid #aaa;
485
+ border-radius : 0;
486
+ border-top-left-radius : 4px;
487
+ border-bottom-left-radius : 4px;
488
+ left : 1px;
489
+ right : auto
490
+ }
491
+
492
+ .select2-container--classic.select2-container--open .select2-selection--single {
493
+ border : 1px solid #0073aa
494
+ }
495
+
496
+ .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow {
497
+ background : 0 0;
498
+ border : none
499
+ }
500
+
501
+ .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
502
+ border-color : transparent transparent #888 transparent;
503
+ border-width : 0 4px 5px 4px
504
+ }
505
+
506
+ .select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
507
+ border-top : none;
508
+ border-top-left-radius : 0;
509
+ border-top-right-radius : 0;
510
+ background-image : -webkit-gradient(linear, left top, left bottom, from(white), color-stop(50%, #eee));
511
+ background-image : -webkit-linear-gradient(top, #fff 0, #eee 50%);
512
+ background-image : linear-gradient(to bottom, #fff 0, #eee 50%);
513
+ background-repeat : repeat-x
514
+ }
515
+
516
+ .select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
517
+ border-bottom : none;
518
+ border-bottom-left-radius : 0;
519
+ border-bottom-right-radius : 0;
520
+ background-image : -webkit-gradient(linear, left top, left bottom, color-stop(50%, #eee), to(white));
521
+ background-image : -webkit-linear-gradient(top, #eee 50%, #fff 100%);
522
+ background-image : linear-gradient(to bottom, #eee 50%, #fff 100%);
523
+ background-repeat : repeat-x
524
+ }
525
+
526
+ .select2-container--classic .select2-selection--multiple {
527
+ background-color : #fff;
528
+ border : 1px solid #aaa;
529
+ border-radius : 4px;
530
+ cursor : text;
531
+ outline : 0
532
+ }
533
+
534
+ .select2-container--classic .select2-selection--multiple:focus {
535
+ border : 1px solid #0073aa
536
+ }
537
+
538
+ .select2-container--classic .select2-selection--multiple .select2-selection__rendered {
539
+ list-style : none;
540
+ margin : 0;
541
+ padding : 0 5px
542
+ }
543
+
544
+ .select2-container--classic .select2-selection--multiple .select2-selection__clear {
545
+ display : none
546
+ }
547
+
548
+ .select2-container--classic .select2-selection--multiple .select2-selection__choice {
549
+ background-color : #e4e4e4;
550
+ border : 1px solid #aaa;
551
+ border-radius : 4px;
552
+ cursor : default;
553
+ float : left;
554
+ margin-right : 5px;
555
+ margin-top : 5px;
556
+ padding : 0 5px
557
+ }
558
+
559
+ .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
560
+ color : #888;
561
+ cursor : pointer;
562
+ display : inline-block;
563
+ font-weight : 700;
564
+ margin-right : 2px
565
+ }
566
+
567
+ .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
568
+ color : #555
569
+ }
570
+
571
+ .select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice {
572
+ float : right
573
+ }
574
+
575
+ .select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice {
576
+ margin-left : 5px;
577
+ margin-right : auto
578
+ }
579
+
580
+ .select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice__remove {
581
+ margin-left : 2px;
582
+ margin-right : auto
583
+ }
584
+
585
+ .select2-container--classic.select2-container--open .select2-selection--multiple {
586
+ border : 1px solid #0073aa
587
+ }
588
+
589
+ .select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple {
590
+ border-top : none;
591
+ border-top-left-radius : 0;
592
+ border-top-right-radius : 0
593
+ }
594
+
595
+ .select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple {
596
+ border-bottom : none;
597
+ border-bottom-left-radius : 0;
598
+ border-bottom-right-radius : 0
599
+ }
600
+
601
+ .select2-container--classic .select2-search--dropdown .select2-search__field {
602
+ border : 1px solid #aaa;
603
+ outline : 0
604
+ }
605
+
606
+ .select2-container--classic .select2-search--inline .select2-search__field {
607
+ outline : 0;
608
+ -webkit-box-shadow : none;
609
+ box-shadow : none
610
+ }
611
+
612
+ .select2-container--classic .select2-dropdown {
613
+ background-color : #fff;
614
+ border : 1px solid transparent
615
+ }
616
+
617
+ .select2-container--classic .select2-dropdown--above {
618
+ border-bottom : none
619
+ }
620
+
621
+ .select2-container--classic .select2-dropdown--below {
622
+ border-top : none
623
+ }
624
+
625
+ .select2-container--classic .select2-results > .select2-results__options {
626
+ max-height : 200px;
627
+ overflow-y : auto
628
+ }
629
+
630
+ .select2-container--classic .select2-results__option[role=group] {
631
+ padding : 0
632
+ }
633
+
634
+ .select2-container--classic .select2-results__option[aria-disabled=true] {
635
+ color : grey
636
+ }
637
+
638
+ .select2-container--classic .select2-results__option--highlighted[aria-selected], .select2-container--classic .select2-results__option--highlighted[data-selected] {
639
+ background-color : #3875d7;
640
+ color : #fff
641
+ }
642
+
643
+ .select2-container--classic .select2-results__group {
644
+ cursor : default;
645
+ display : block;
646
+ padding : 6px
647
+ }
648
+
649
+ .select2-container--classic.select2-container--open .select2-dropdown {
650
+ border-color : #0073aa
651
+ }
652
+
653
+
654
+ .select2-drop, .select2-dropdown {
655
+ z-index : 999999 !important
656
+ }
657
+
658
+ .select2-results {
659
+ line-height : 1.5em
660
+ }
661
+
662
+ .select2-results .select2-results__group, .select2-results .select2-results__option {
663
+ margin : 0;
664
+ padding : 8px
665
+ }
666
+
667
+ .select2-results .description {
668
+ display : block;
669
+ color : #999;
670
+ padding-top : 4px
671
+ }
672
+
673
+ .select2-dropdown {
674
+ border-color : #ddd
675
+ }
676
+
677
+ .select2-dropdown--below {
678
+ -webkit-box-shadow : 0 1px 1px rgba(0, 0, 0, .1);
679
+ box-shadow : 0 1px 1px rgba(0, 0, 0, .1)
680
+ }
681
+
682
+ .select2-dropdown--above {
683
+ -webkit-box-shadow : 0 -1px 1px rgba(0, 0, 0, .1);
684
+ box-shadow : 0 -1px 1px rgba(0, 0, 0, .1)
685
+ }
686
+
687
+ .select2-container .select2-selection__rendered.ui-sortable li {
688
+ cursor : move
689
+ }
690
+
691
+ .select2-container .select2-selection {
692
+ border-color : #ddd
693
+ }
694
+
695
+ .select2-container .select2-search__field {
696
+ min-width : 150px
697
+ }
698
+
699
+ .select2-container .select2-selection--single {
700
+ height : 32px
701
+ }
702
+
703
+ .select2-container .select2-selection--single .select2-selection__rendered {
704
+ line-height : 32px;
705
+ padding-right : 24px
706
+ }
707
+
708
+ .select2-container .select2-selection--single .select2-selection__arrow {
709
+ right : 3px;
710
+ height : 30px
711
+ }
712
+
713
+ .select2-container .select2-selection--multiple {
714
+ min-height : 28px;
715
+ border-radius : 0;
716
+ line-height : 1.5
717
+ }
718
+
719
+ .select2-container .select2-selection--multiple li {
720
+ margin : 0
721
+ }
722
+
723
+ .select2-container .select2-selection--multiple .select2-selection__choice {
724
+ padding : 2px 6px
725
+ }
726
+
727
+ .select2-container .select2-selection--multiple .select2-selection__choice .description {
728
+ display : none
729
+ }
730
+
731
+ .select2-container .select2-selection__clear {
732
+ color : #999;
733
+ margin-top : -1px
734
+ }
735
+
736
+ .select2-container .select2-search--inline .select2-search__field {
737
+ font-family : inherit;
738
+ font-size : inherit;
739
+ font-weight : inherit;
740
+ padding : 3px 0
741
+ }
plugin-fw/assets/js/jquery.colorbox.min.js CHANGED
@@ -1,24 +1,33 @@
1
- (function(c,p,A){function g(a,d,F){a=p.createElement(a);d&&(a.id="cbox"+d);F&&(a.style.cssText=F);return c(a)}function R(){return A.innerHeight?A.innerHeight:c(A).height()}function M(a,d){d!==Object(d)&&(d={});this.cache={};this.el=a;this.value=function(a){var b;void 0===this.cache[a]&&(b=c(this.el).attr("data-cbox-"+a),void 0!==b?this.cache[a]=b:void 0!==d[a]?this.cache[a]=d[a]:void 0!==S[a]&&(this.cache[a]=S[a]));return this.cache[a]};this.get=function(a){a=this.value(a);return c.isFunction(a)?
2
- a.call(this.el,this):a}}function N(a){var d=k.length;a=(m+a)%d;return 0>a?d+a:a}function n(a,d){return Math.round((/%/.test(a)?("x"===d?w.width():R())/100:1)*parseInt(a,10))}function da(a,d){return a.get("photo")||a.get("photoRegex").test(d)}function ea(a,d){return a.get("retinaUrl")&&1<A.devicePixelRatio?d.replace(a.get("photoRegex"),a.get("retinaSuffix")):d}function fa(a){"contains"in f[0]&&!f[0].contains(a.target)&&a.target!==q[0]&&(a.stopPropagation(),f.focus())}function G(a){G.str!==a&&(f.add(q).removeClass(G.str).addClass(a),
3
- G.str=a)}function ja(b){m=0;b&&!1!==b&&"nofollow"!==b?(k=c(".cboxElement").filter(function(){var a=c.data(this,"colorbox");return(new M(this,a)).get("rel")===b}),m=k.index(a.el),-1===m&&(k=k.add(a.el),m=k.length-1)):k=c(a.el)}function C(a){c(p).trigger(a);r.triggerHandler(a)}function O(b){var d;if(!H){d=c(b).data("colorbox");a=new M(b,d);ja(a.get("rel"));if(!x){x=I=!0;G(a.get("className"));f.css({visibility:"hidden",display:"block",opacity:""});h=g("div","LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden");
4
- u.css({width:"",height:""}).append(h);t=T.height()+U.height()+u.outerHeight(!0)-u.height();v=V.width()+W.width()+u.outerWidth(!0)-u.width();y=h.outerHeight(!0);z=h.outerWidth(!0);b=n(a.get("initialWidth"),"x");d=n(a.get("initialHeight"),"y");var F=a.get("maxWidth"),B=a.get("maxHeight");a.w=Math.max((!1!==F?Math.min(b,n(F,"x")):b)-z-v,0);a.h=Math.max((!1!==B?Math.min(d,n(B,"y")):d)-y-t,0);h.css({width:"",height:a.h});l.position();C("cbox_open");a.get("onOpen");X.add(Y).hide();f.focus();a.get("trapFocus")&&
5
- p.addEventListener&&(p.addEventListener("focus",fa,!0),r.one("cbox_closed",function(){p.removeEventListener("focus",fa,!0)}));if(a.get("returnFocus"))r.one("cbox_closed",function(){c(a.el).focus()})}b=parseFloat(a.get("opacity"));q.css({opacity:b===b?b:"",cursor:a.get("overlayClose")?"pointer":"",visibility:"visible"}).show();a.get("closeButton")?P.html(a.get("close")).appendTo(u):P.appendTo("<div/>");ka()}}function ga(){f||(Z=!1,w=c(A),f=g("div").attr({id:"colorbox","class":!1===c.support.opacity?
6
- "cboxIE":"",role:"dialog",tabindex:"-1"}).hide(),q=g("div","Overlay").hide(),Q=c([g("div","LoadingOverlay")[0],g("div","LoadingGraphic")[0]]),D=g("div","Wrapper"),u=g("div","Content").append(Y=g("div","Title"),aa=g("div","Current"),J=c('<button type="button"/>').attr({id:"cboxPrevious"}),K=c('<button type="button"/>').attr({id:"cboxNext"}),E=g("button","Slideshow"),Q),P=c('<button type="button"/>').attr({id:"cboxClose"}),D.append(g("div").append(g("div","TopLeft"),T=g("div","TopCenter"),g("div","TopRight")),
7
- g("div",!1,"clear:left").append(V=g("div","MiddleLeft"),u,W=g("div","MiddleRight")),g("div",!1,"clear:left").append(g("div","BottomLeft"),U=g("div","BottomCenter"),g("div","BottomRight"))).find("div div").css({"float":"left"}),L=g("div",!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),X=K.add(J).add(aa).add(E));p.body&&!f.parent().length&&c(p.body).append(q,f.append(D,L))}function la(){function b(a){1<a.which||a.shiftKey||a.altKey||a.metaKey||a.ctrlKey||(a.preventDefault(),
8
- O(this))}if(f){if(!Z)if(Z=!0,K.click(function(){l.next()}),J.click(function(){l.prev()}),P.click(function(){l.close()}),q.click(function(){a.get("overlayClose")&&l.close()}),c(p).bind("keydown.cbox",function(b){var c=b.keyCode;x&&a.get("escKey")&&27===c&&(b.preventDefault(),l.close());x&&a.get("arrowKey")&&k[1]&&!b.altKey&&(37===c?(b.preventDefault(),J.click()):39===c&&(b.preventDefault(),K.click()))}),c.isFunction(c.fn.on))c(p).on("click.cbox",".cboxElement",b);else c(".cboxElement").live("click.cbox",
9
- b);return!0}return!1}function ka(){var b,d,f=l.prep,B,h=++ba;I=!0;e=!1;C("cbox_purge");C("cbox_load");a.get("onLoad");a.h=a.get("height")?n(a.get("height"),"y")-y-t:a.get("innerHeight")&&n(a.get("innerHeight"),"y");a.w=a.get("width")?n(a.get("width"),"x")-z-v:a.get("innerWidth")&&n(a.get("innerWidth"),"x");a.mw=a.w;a.mh=a.h;a.get("maxWidth")&&(a.mw=n(a.get("maxWidth"),"x")-z-v,a.mw=a.w&&a.w<a.mw?a.w:a.mw);a.get("maxHeight")&&(a.mh=n(a.get("maxHeight"),"y")-y-t,a.mh=a.h&&a.h<a.mh?a.h:a.mh);b=a.get("href");
10
- ha=setTimeout(function(){Q.show()},100);if(a.get("inline")){var ca=c(b);B=c("<div>").hide().insertBefore(ca);r.one("cbox_purge",function(){B.replaceWith(ca)});f(ca)}else a.get("iframe")?f(" "):a.get("html")?f(a.get("html")):da(a,b)?(b=ea(a,b),e=a.get("createImg"),c(e).addClass("cboxPhoto").bind("error.cbox",function(){f(g("div","Error").html(a.get("imgError")))}).one("load",function(){h===ba&&setTimeout(function(){var b;a.get("retinaImage")&&1<A.devicePixelRatio&&(e.height/=A.devicePixelRatio,e.width/=
11
- A.devicePixelRatio);a.get("scalePhotos")&&(d=function(){e.height-=e.height*b;e.width-=e.width*b},a.mw&&e.width>a.mw&&(b=(e.width-a.mw)/e.width,d()),a.mh&&e.height>a.mh&&(b=(e.height-a.mh)/e.height,d()));a.h&&(e.style.marginTop=Math.max(a.mh-e.height,0)/2+"px");k[1]&&(a.get("loop")||k[m+1])&&(e.style.cursor="pointer",c(e).bind("click.cbox",function(){l.next()}));e.style.width=e.width+"px";e.style.height=e.height+"px";f(e)},1)}),e.src=b):b&&L.load(b,a.get("data"),function(b,d){h===ba&&f("error"===d?
12
- g("div","Error").html(a.get("xhrError")):c(this).contents())})}var S={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,
13
- slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?#x2F;i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return c(this).attr("href")},
14
- title:function(){return this.title},createImg:function(){var a=new Image,d=c(this).data("cbox-img-attrs");"object"===typeof d&&c.each(d,function(c,d){a[c]=d});return a},createIframe:function(){var a=p.createElement("iframe"),d=c(this).data("cbox-iframe-attrs");"object"===typeof d&&c.each(d,function(c,d){a[c]=d});"frameBorder"in a&&(a.frameBorder=0);"allowTransparency"in a&&(a.allowTransparency="true");a.name=(new Date).getTime();a.allowFullscreen=!0;return a}},q,f,D,u,T,V,W,U,k,w,h,L,Q,Y,aa,E,K,J,
15
- P,X,r=c("<a/>"),a,t,v,y,z,m,e,x,I,H,ha,l,ba=0,ia={},Z,ma=function(){function b(){clearTimeout(n)}function c(){if(a.get("loop")||k[m+1])b(),n=setTimeout(l.next,a.get("slideshowSpeed"))}function e(){E.html(a.get("slideshowStop")).unbind("click.cbox").one("click.cbox",B);r.bind("cbox_complete",c).bind("cbox_load",b);f.removeClass("cboxSlideshow_off").addClass("cboxSlideshow_on")}function B(){b();r.unbind("cbox_complete",c).unbind("cbox_load",b);E.html(a.get("slideshowStart")).unbind("click.cbox").one("click.cbox",
16
- function(){l.next();e()});f.removeClass("cboxSlideshow_on").addClass("cboxSlideshow_off")}function g(){h=!1;E.hide();b();r.unbind("cbox_complete",c).unbind("cbox_load",b);f.removeClass("cboxSlideshow_off cboxSlideshow_on")}var h,n;return function(){h?a.get("slideshow")||(r.unbind("cbox_cleanup",g),g()):a.get("slideshow")&&k[1]&&(h=!0,r.one("cbox_cleanup",g),a.get("slideshowAuto")?e():B(),E.show())}}();c.colorbox||(c(ga),l=c.fn.colorbox=c.colorbox=function(a,d){var f,e=this;a=a||{};c.isFunction(e)&&
17
- (e=c("<a/>"),a.open=!0);if(!e[0])return e;ga();la()&&(d&&(a.onComplete=d),e.each(function(){var d=c.data(this,"colorbox")||{};c.data(this,"colorbox",c.extend(d,a))}).addClass("cboxElement"),f=new M(e[0],a),f.get("open")&&O(e[0]));return e},l.position=function(b,d){function e(){T[0].style.width=U[0].style.width=u[0].style.width=parseInt(f[0].style.width,10)-v+"px";u[0].style.height=V[0].style.height=W[0].style.height=parseInt(f[0].style.height,10)-t+"px"}var g,h=0,k=0,m=f.offset(),p,r;w.unbind("resize.cbox");
18
- f.css({top:-9E4,left:-9E4});p=w.scrollTop();r=w.scrollLeft();a.get("fixed")?(m.top-=p,m.left-=r,f.css({position:"fixed"})):(h=p,k=r,f.css({position:"absolute"}));k=!1!==a.get("right")?k+Math.max(w.width()-a.w-z-v-n(a.get("right"),"x"),0):!1!==a.get("left")?k+n(a.get("left"),"x"):k+Math.round(Math.max(w.width()-a.w-z-v,0)/2);h=!1!==a.get("bottom")?h+Math.max(R()-a.h-y-t-n(a.get("bottom"),"y"),0):!1!==a.get("top")?h+n(a.get("top"),"y"):h+Math.round(Math.max(R()-a.h-y-t,0)/2);f.css({top:m.top,left:m.left,
19
- visibility:"visible"});D[0].style.width=D[0].style.height="9999px";g={width:a.w+z+v,height:a.h+y+t,top:h,left:k};if(b){var q=0;c.each(g,function(a){g[a]!==ia[a]&&(q=b)});b=q}ia=g;b||f.css(g);f.dequeue().animate(g,{duration:b||0,complete:function(){e();I=!1;D[0].style.width=a.w+z+v+"px";D[0].style.height=a.h+y+t+"px";a.get("reposition")&&setTimeout(function(){w.bind("resize.cbox",l.position)},1);c.isFunction(d)&&d()},step:e})},l.resize=function(b){var c;x&&(b=b||{},b.width&&(a.w=n(b.width,"x")-z-v),
20
- b.innerWidth&&(a.w=n(b.innerWidth,"x")),h.css({width:a.w}),b.height&&(a.h=n(b.height,"y")-y-t),b.innerHeight&&(a.h=n(b.innerHeight,"y")),b.innerHeight||b.height||(c=h.scrollTop(),h.css({height:"auto"}),a.h=h.height()),h.css({height:a.h}),c&&h.scrollTop(c),l.position("none"===a.get("transition")?0:a.get("speed")))},l.prep=function(b){function d(){a.w=a.w||h.width();a.w=a.mw&&a.mw<a.w?a.mw:a.w;return a.w}function n(){a.h=a.h||h.height();a.h=a.mh&&a.mh<a.h?a.mh:a.h;return a.h}if(x){var q,t="none"===
21
- a.get("transition")?0:a.get("speed");h.remove();h=g("div","LoadedContent").append(b);h.hide().appendTo(L.show()).css({width:d(),overflow:a.get("scrolling")?"auto":"hidden"}).css({height:n()}).prependTo(u);L.hide();c(e).css({"float":"none"});G(a.get("className"));q=function(){function b(){!1===c.support.opacity&&f[0].style.removeAttribute("filter")}var d=k.length,e,g;x&&(g=function(){clearTimeout(ha);Q.hide();C("cbox_complete");a.get("onComplete")},Y.html(a.get("title")).show(),h.show(),1<d?("string"===
22
- typeof a.get("current")&&aa.html(a.get("current").replace("{current}",m+1).replace("{total}",d)).show(),K[a.get("loop")||m<d-1?"show":"hide"]().html(a.get("next")),J[a.get("loop")||m?"show":"hide"]().html(a.get("previous")),ma(),a.get("preloading")&&c.each([N(-1),N(1)],function(){var a,b=k[this];a=new M(b,c.data(b,"colorbox"));(b=a.get("href"))&&da(a,b)&&(b=ea(a,b),a=p.createElement("img"),a.src=b)})):X.hide(),a.get("iframe")?(e=a.get("createIframe"),a.get("scrolling")||(e.scrolling="no"),c(e).attr({src:a.get("href"),
23
- "class":"cboxIframe"}).one("load",g).appendTo(h),r.one("cbox_purge",function(){e.src="//about:blank"}),a.get("fastIframe")&&c(e).trigger("load")):g(),"fade"===a.get("transition")?f.fadeTo(t,1,b):b())};"fade"===a.get("transition")?f.fadeTo(t,0,function(){l.position(0,q)}):l.position(t,q)}},l.next=function(){!I&&k[1]&&(a.get("loop")||k[m+1])&&(m=N(1),O(k[m]))},l.prev=function(){!I&&k[1]&&(a.get("loop")||m)&&(m=N(-1),O(k[m]))},l.close=function(){x&&!H&&(H=!0,x=!1,C("cbox_cleanup"),a.get("onCleanup"),
24
- w.unbind(".cbox"),q.fadeTo(a.get("fadeOut")||0,0),f.stop().fadeTo(a.get("fadeOut")||0,0,function(){f.hide();q.hide();C("cbox_purge");h.remove();setTimeout(function(){H=!1;C("cbox_closed");a.get("onClosed")},1)}))},l.remove=function(){f&&(f.stop(),c.colorbox.close(),f.stop(!1,!0).remove(),q.remove(),H=!1,f=null,c(".cboxElement").removeData("colorbox").removeClass("cboxElement"),c(p).unbind("click.cbox").unbind("keydown.cbox"))},l.element=function(){return c(a.el)},l.settings=S)})(jQuery,document,window);
1
+ /*
2
+ Colorbox 1.6.3
3
+ license: MIT
4
+ http://www.jacklmoore.com/colorbox
5
+ */
6
+ var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(b,h,g){b instanceof String&&(b=String(b));for(var d=b.length,r=0;r<d;r++){var C=b[r];if(h.call(g,C,r,b))return{i:r,v:C}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(b,h,g){b!=Array.prototype&&b!=Object.prototype&&(b[h]=g.value)};
7
+ $jscomp.getGlobal=function(b){return"undefined"!=typeof window&&window===b?b:"undefined"!=typeof global&&null!=global?global:b};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(b,h,g,d){if(h){g=$jscomp.global;b=b.split(".");for(d=0;d<b.length-1;d++){var r=b[d];r in g||(g[r]={});g=g[r]}b=b[b.length-1];d=g[b];h=h(d);h!=d&&null!=h&&$jscomp.defineProperty(g,b,{configurable:!0,writable:!0,value:h})}};
8
+ $jscomp.polyfill("Array.prototype.find",function(b){return b?b:function(b,g){return $jscomp.findInternal(this,b,g).v}},"es6","es3");
9
+ (function(b,h,g){function d(a,f,H){a=h.createElement(a);f&&(a.id="cbox"+f);H&&(a.style.cssText=H);return b(a)}function r(){return g.innerHeight?g.innerHeight:b(g).height()}function C(a,f){f!==Object(f)&&(f={});this.cache={};this.el=a;this.value=function(a){if(void 0===this.cache[a]){var c=b(this.el).attr("data-cbox-"+a);void 0!==c?this.cache[a]=c:void 0!==f[a]?this.cache[a]=f[a]:void 0!==S[a]&&(this.cache[a]=S[a])}return this.cache[a]};this.get=function(a){a=this.value(a);return b.isFunction(a)?a.call(this.el,
10
+ this):a}}function O(a){var c=n.length;a=(p+a)%c;return 0>a?c+a:a}function q(a,b){return Math.round((/%/.test(a)?("x"===b?x.width():r())/100:1)*parseInt(a,10))}function ca(a,b){return a.get("photo")||a.get("photoRegex").test(b)}function da(a,b){return a.get("retinaUrl")&&1<g.devicePixelRatio?b.replace(a.get("photoRegex"),a.get("retinaSuffix")):b}function ea(a){"contains"in k[0]&&!k[0].contains(a.target)&&a.target!==y[0]&&(a.stopPropagation(),k.focus())}function I(a){I.str!==a&&(k.add(y).removeClass(I.str).addClass(a),
11
+ I.str=a)}function ja(c){p=0;c&&!1!==c&&"nofollow"!==c?(n=b(".cboxElement").filter(function(){var a=b.data(this,"colorbox");return(new C(this,a)).get("rel")===c}),p=n.index(a.el),-1===p&&(n=n.add(a.el),p=n.length-1)):n=b(a.el)}function E(a){b(h).trigger(a);t.triggerHandler(a)}function P(c){if(!J){var f=b(c).data("colorbox");a=new C(c,f);ja(a.get("rel"));if(!z){z=K=!0;I(a.get("className"));k.css({visibility:"hidden",display:"block",opacity:""});l=d("div","LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden");
12
+ u.css({width:"",height:""}).append(l);v=T.height()+U.height()+u.outerHeight(!0)-u.height();w=V.width()+W.width()+u.outerWidth(!0)-u.width();A=l.outerHeight(!0);B=l.outerWidth(!0);c=q(a.get("initialWidth"),"x");f=q(a.get("initialHeight"),"y");var H=a.get("maxWidth"),e=a.get("maxHeight");a.w=Math.max((!1!==H?Math.min(c,q(H,"x")):c)-B-w,0);a.h=Math.max((!1!==e?Math.min(f,q(e,"y")):f)-A-v,0);l.css({width:"",height:a.h});m.position();E("cbox_open");a.get("onOpen");X.add(Y).hide();k.focus();a.get("trapFocus")&&
13
+ h.addEventListener&&(h.addEventListener("focus",ea,!0),t.one("cbox_closed",function(){h.removeEventListener("focus",ea,!0)}));if(a.get("returnFocus"))t.one("cbox_closed",function(){b(a.el).focus()})}c=parseFloat(a.get("opacity"));y.css({opacity:c===c?c:"",cursor:a.get("overlayClose")?"pointer":"",visibility:"visible"}).show();a.get("closeButton")?Q.html(a.get("close")).appendTo(u):Q.appendTo("<div/>");ka()}}function fa(){k||(Z=!1,x=b(g),k=d("div").attr({id:"colorbox","class":!1===b.support.opacity?
14
+ "cboxIE":"",role:"dialog",tabindex:"-1"}).hide(),y=d("div","Overlay").hide(),R=b([d("div","LoadingOverlay")[0],d("div","LoadingGraphic")[0]]),F=d("div","Wrapper"),u=d("div","Content").append(Y=d("div","Title"),aa=d("div","Current"),L=b('<button type="button"/>').attr({id:"cboxPrevious"}),M=b('<button type="button"/>').attr({id:"cboxNext"}),G=d("button","Slideshow"),R),Q=b('<button type="button"/>').attr({id:"cboxClose"}),F.append(d("div").append(d("div","TopLeft"),T=d("div","TopCenter"),d("div","TopRight")),
15
+ d("div",!1,"clear:left").append(V=d("div","MiddleLeft"),u,W=d("div","MiddleRight")),d("div",!1,"clear:left").append(d("div","BottomLeft"),U=d("div","BottomCenter"),d("div","BottomRight"))).find("div div").css({"float":"left"}),N=d("div",!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),X=M.add(L).add(aa).add(G));h.body&&!k.parent().length&&b(h.body).append(y,k.append(F,N))}function la(){function c(a){1<a.which||a.shiftKey||a.altKey||a.metaKey||a.ctrlKey||(a.preventDefault(),
16
+ P(this))}if(k){if(!Z)if(Z=!0,M.click(function(){m.next()}),L.click(function(){m.prev()}),Q.click(function(){m.close()}),y.click(function(){a.get("overlayClose")&&m.close()}),b(h).bind("keydown.cbox",function(b){var c=b.keyCode;z&&a.get("escKey")&&27===c&&(b.preventDefault(),m.close());z&&a.get("arrowKey")&&n[1]&&!b.altKey&&(37===c?(b.preventDefault(),L.click()):39===c&&(b.preventDefault(),M.click()))}),b.isFunction(b.fn.on))b(h).on("click.cbox",".cboxElement",c);else b(".cboxElement").live("click.cbox",
17
+ c);return!0}return!1}function ka(){var c,f=m.prep,k=++ba;K=!0;e=!1;E("cbox_purge");E("cbox_load");a.get("onLoad");a.h=a.get("height")?q(a.get("height"),"y")-A-v:a.get("innerHeight")&&q(a.get("innerHeight"),"y");a.w=a.get("width")?q(a.get("width"),"x")-B-w:a.get("innerWidth")&&q(a.get("innerWidth"),"x");a.mw=a.w;a.mh=a.h;a.get("maxWidth")&&(a.mw=q(a.get("maxWidth"),"x")-B-w,a.mw=a.w&&a.w<a.mw?a.w:a.mw);a.get("maxHeight")&&(a.mh=q(a.get("maxHeight"),"y")-A-v,a.mh=a.h&&a.h<a.mh?a.h:a.mh);var D=a.get("href");
18
+ ha=setTimeout(function(){R.show()},100);if(a.get("inline")){var h=b(D);var l=b("<div>").hide().insertBefore(h);t.one("cbox_purge",function(){l.replaceWith(h)});f(h)}else a.get("iframe")?f(" "):a.get("html")?f(a.get("html")):ca(a,D)?(D=da(a,D),e=a.get("createImg"),b(e).addClass("cboxPhoto").bind("error.cbox",function(){f(d("div","Error").html(a.get("imgError")))}).one("load",function(){k===ba&&setTimeout(function(){a.get("retinaImage")&&1<g.devicePixelRatio&&(e.height/=g.devicePixelRatio,e.width/=
19
+ g.devicePixelRatio);if(a.get("scalePhotos")){c=function(){e.height-=e.height*d;e.width-=e.width*d};if(a.mw&&e.width>a.mw){var d=(e.width-a.mw)/e.width;c()}a.mh&&e.height>a.mh&&(d=(e.height-a.mh)/e.height,c())}a.h&&(e.style.marginTop=Math.max(a.mh-e.height,0)/2+"px");n[1]&&(a.get("loop")||n[p+1])&&(e.style.cursor="pointer",b(e).bind("click.cbox",function(){m.next()}));e.style.width=e.width+"px";e.style.height=e.height+"px";f(e)},1)}),e.src=D):D&&N.load(D,a.get("data"),function(c,e){k===ba&&f("error"===
20
+ e?d("div","Error").html(a.get("xhrError")):b(this).contents())})}var S={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,
21
+ slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?#x2F;i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return b(this).attr("href")},
22
+ title:function(){return this.title},createImg:function(){var a=new Image,f=b(this).data("cbox-img-attrs");"object"===typeof f&&b.each(f,function(b,c){a[b]=c});return a},createIframe:function(){var a=h.createElement("iframe"),f=b(this).data("cbox-iframe-attrs");"object"===typeof f&&b.each(f,function(b,c){a[b]=c});"frameBorder"in a&&(a.frameBorder=0);"allowTransparency"in a&&(a.allowTransparency="true");a.name=(new Date).getTime();a.allowFullscreen=!0;return a}},y,k,F,u,T,V,W,U,n,x,l,N,R,Y,aa,G,M,L,
23
+ Q,X,t=b("<a/>"),a,v,w,A,B,p,e,z,K,J,ha,ba=0,ia={},Z,ma=function(){function b(){clearTimeout(l)}function f(){if(a.get("loop")||n[p+1])b(),l=setTimeout(m.next,a.get("slideshowSpeed"))}function d(){G.html(a.get("slideshowStop")).unbind("click.cbox").one("click.cbox",e);t.bind("cbox_complete",f).bind("cbox_load",b);k.removeClass("cboxSlideshow_off").addClass("cboxSlideshow_on")}function e(){b();t.unbind("cbox_complete",f).unbind("cbox_load",b);G.html(a.get("slideshowStart")).unbind("click.cbox").one("click.cbox",
24
+ function(){m.next();d()});k.removeClass("cboxSlideshow_on").addClass("cboxSlideshow_off")}function h(){g=!1;G.hide();b();t.unbind("cbox_complete",f).unbind("cbox_load",b);k.removeClass("cboxSlideshow_off cboxSlideshow_on")}var g,l;return function(){g?a.get("slideshow")||(t.unbind("cbox_cleanup",h),h()):a.get("slideshow")&&n[1]&&(g=!0,t.one("cbox_cleanup",h),a.get("slideshowAuto")?d():e(),G.show())}}();if(!b.colorbox){b(fa);var m=b.fn.colorbox=b.colorbox=function(a,f){var c=this;a=a||{};b.isFunction(c)&&
25
+ (c=b("<a/>"),a.open=!0);if(!c[0])return c;fa();la()&&(f&&(a.onComplete=f),c.each(function(){var c=b.data(this,"colorbox")||{};b.data(this,"colorbox",b.extend(c,a))}).addClass("cboxElement"),f=new C(c[0],a),f.get("open")&&P(c[0]));return c};m.position=function(c,f){function d(){T[0].style.width=U[0].style.width=u[0].style.width=parseInt(k[0].style.width,10)-w+"px";u[0].style.height=V[0].style.height=W[0].style.height=parseInt(k[0].style.height,10)-v+"px"}var e=0,h=0,g=k.offset();x.unbind("resize.cbox");
26
+ k.css({top:-9E4,left:-9E4});var l=x.scrollTop();var n=x.scrollLeft();a.get("fixed")?(g.top-=l,g.left-=n,k.css({position:"fixed"})):(e=l,h=n,k.css({position:"absolute"}));h=!1!==a.get("right")?h+Math.max(x.width()-a.w-B-w-q(a.get("right"),"x"),0):!1!==a.get("left")?h+q(a.get("left"),"x"):h+Math.round(Math.max(x.width()-a.w-B-w,0)/2);e=!1!==a.get("bottom")?e+Math.max(r()-a.h-A-v-q(a.get("bottom"),"y"),0):!1!==a.get("top")?e+q(a.get("top"),"y"):e+Math.round(Math.max(r()-a.h-A-v,0)/2);k.css({top:g.top,
27
+ left:g.left,visibility:"visible"});F[0].style.width=F[0].style.height="9999px";var p={width:a.w+B+w,height:a.h+A+v,top:e,left:h};if(c){var t=0;b.each(p,function(a){p[a]!==ia[a]&&(t=c)});c=t}ia=p;c||k.css(p);k.dequeue().animate(p,{duration:c||0,complete:function(){d();K=!1;F[0].style.width=a.w+B+w+"px";F[0].style.height=a.h+A+v+"px";a.get("reposition")&&setTimeout(function(){x.bind("resize.cbox",m.position)},1);b.isFunction(f)&&f()},step:d})};m.resize=function(b){if(z){b=b||{};b.width&&(a.w=q(b.width,
28
+ "x")-B-w);b.innerWidth&&(a.w=q(b.innerWidth,"x"));l.css({width:a.w});b.height&&(a.h=q(b.height,"y")-A-v);b.innerHeight&&(a.h=q(b.innerHeight,"y"));if(!b.innerHeight&&!b.height){var c=l.scrollTop();l.css({height:"auto"});a.h=l.height()}l.css({height:a.h});c&&l.scrollTop(c);m.position("none"===a.get("transition")?0:a.get("speed"))}};m.prep=function(c){if(z){var f="none"===a.get("transition")?0:a.get("speed");l.remove();l=d("div","LoadedContent").append(c);l.hide().appendTo(N.show()).css({width:function(){a.w=
29
+ a.w||l.width();a.w=a.mw&&a.mw<a.w?a.mw:a.w;return a.w}(),overflow:a.get("scrolling")?"auto":"hidden"}).css({height:function(){a.h=a.h||l.height();a.h=a.mh&&a.mh<a.h?a.mh:a.h;return a.h}()}).prependTo(u);N.hide();b(e).css({"float":"none"});I(a.get("className"));var g=function(){function c(){!1===b.support.opacity&&k[0].style.removeAttribute("filter")}var d=n.length;if(z){var e=function(){clearTimeout(ha);R.hide();E("cbox_complete");a.get("onComplete")};Y.html(a.get("title")).show();l.show();1<d?("string"===
30
+ typeof a.get("current")&&aa.html(a.get("current").replace("{current}",p+1).replace("{total}",d)).show(),M[a.get("loop")||p<d-1?"show":"hide"]().html(a.get("next")),L[a.get("loop")||p?"show":"hide"]().html(a.get("previous")),ma(),a.get("preloading")&&b.each([O(-1),O(1)],function(){var a=n[this];var c=new C(a,b.data(a,"colorbox"));(a=c.get("href"))&&ca(c,a)&&(a=da(c,a),c=h.createElement("img"),c.src=a)})):X.hide();if(a.get("iframe")){var g=a.get("createIframe");a.get("scrolling")||(g.scrolling="no");
31
+ b(g).attr({src:a.get("href"),"class":"cboxIframe"}).one("load",e).appendTo(l);t.one("cbox_purge",function(){g.src="//about:blank"});a.get("fastIframe")&&b(g).trigger("load")}else e();"fade"===a.get("transition")?k.fadeTo(f,1,c):c()}};"fade"===a.get("transition")?k.fadeTo(f,0,function(){m.position(0,g)}):m.position(f,g)}};m.next=function(){!K&&n[1]&&(a.get("loop")||n[p+1])&&(p=O(1),P(n[p]))};m.prev=function(){!K&&n[1]&&(a.get("loop")||p)&&(p=O(-1),P(n[p]))};m.close=function(){z&&!J&&(J=!0,z=!1,E("cbox_cleanup"),
32
+ a.get("onCleanup"),x.unbind(".cbox"),y.fadeTo(a.get("fadeOut")||0,0),k.stop().fadeTo(a.get("fadeOut")||0,0,function(){k.hide();y.hide();E("cbox_purge");l.remove();setTimeout(function(){J=!1;E("cbox_closed");a.get("onClosed")},1)}))};m.remove=function(){k&&(k.stop(),b.colorbox.close(),k.stop(!1,!0).remove(),y.remove(),J=!1,k=null,b(".cboxElement").removeData("colorbox").removeClass("cboxElement"),b(h).unbind("click.cbox").unbind("keydown.cbox"))};m.element=function(){return b(a.el)};m.settings=S}})(jQuery,
33
+ document,window);
plugin-fw/assets/js/metabox.min.js CHANGED
@@ -1,4 +1,7 @@
1
- (function(a){function h(b,c,d,e){var f=!0;if("string"==typeof c){":radio"==c.substr(0,6)&&(c+=":checked");var g=a(c).val();"checkbox"==a(c).attr("type")&&(g=a(c).is(":checked")?"yes":"no");d=d.split(",");for(c=0;c<d.length;c++)if(g!=d[c])f=!1;else{f=!0;break}}d=a(b);b=a(b+"-container").parent();e=e.split("-");for(var h in e)if(g=e[h],f)switch(g){case "disable":b.removeClass("yith-disabled");d.attr("disabled",!1);break;case "hideme":d.show();break;default:b.show()}else switch(g){case "disable":b.addClass("yith-disabled");
2
- d.attr("disabled",!0);break;case "hideme":d.hide();break;default:b.hide()}}a(".metaboxes-tab").each(function(){a(".tabs-panel",this).hide();var b=wpCookies.get("active_metabox_tab"),b=null==b?a("ul.metaboxes-tabs li:first-child a",this).attr("href"):"#"+b;a(b).show();a(".metaboxes-tabs a",this).click(function(b){if(a(this).parent().hasClass("tabs"))b.preventDefault();else return b=a(this).attr("href"),a(this).parent().addClass("tabs").siblings("li").removeClass("tabs"),a(this).closest(".metaboxes-tab").find(".tabs-panel").hide(),
3
- a(b).show(),!1})});var k=a("#_active_page_options-container").parent().html();a("#_active_page_options-container").parent().remove();a(k).insertAfter("#yit-post-setting .handlediv");a(k).insertAfter("#yit-page-setting .handlediv");a("#_active_page_options-container").on("click",function(){a("#_active_page_options").is(":checked")?a("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:1,"pointer-events":"auto"}):a("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:.5,
4
- "pointer-events":"none"})}).click();a(".metaboxes-tab [data-dep-target]").each(function(){var b=a(this),c="#"+b.data("dep-target"),d="#"+b.data("dep-id"),e=b.data("dep-value"),f=b.data("dep-type");h(c,d,e.toString(),f);a(d).on("change",function(){h(c,d,e.toString(),f)}).change()})})(jQuery);
1
+ var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,e,c){a instanceof String&&(a=String(a));for(var b=a.length,d=0;d<b;d++){var f=a[d];if(e.call(c,f,d,a))return{i:d,v:f}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,e,c){a!=Array.prototype&&a!=Object.prototype&&(a[e]=c.value)};
2
+ $jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,e,c,b){if(e){c=$jscomp.global;a=a.split(".");for(b=0;b<a.length-1;b++){var d=a[b];d in c||(c[d]={});c=c[d]}a=a[a.length-1];b=c[a];e=e(b);e!=b&&null!=e&&$jscomp.defineProperty(c,a,{configurable:!0,writable:!0,value:e})}};
3
+ $jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,c){return $jscomp.findInternal(this,a,c).v}},"es6","es3");
4
+ (function(a){function e(b,d,c,e){var f=!0;if("string"==typeof d){":radio"==d.substr(0,6)&&(d+=":checked");var g=a(d).val();"checkbox"==a(d).attr("type")&&(g=a(d).is(":checked")?"yes":"no");c=c.split(",");for(d=0;d<c.length;d++)if(g!=c[d])f=!1;else{f=!0;break}}c=a(b);b=a(b+"-container").parent();e=e.split("-");for(var h in e)if(g=e[h],f)switch(g){case "disable":b.removeClass("yith-disabled");c.attr("disabled",!1);break;case "hideme":c.show();break;default:b.show()}else switch(g){case "disable":b.addClass("yith-disabled");
5
+ c.attr("disabled",!0);break;case "hideme":c.hide();break;default:b.hide()}}a(".metaboxes-tab").each(function(){a(".tabs-panel",this).hide();var b=wpCookies.get("active_metabox_tab");b=null==b?a("ul.metaboxes-tabs li:first-child a",this).attr("href"):"#"+b;a(b).show();a(".metaboxes-tabs a",this).click(function(b){if(a(this).parent().hasClass("tabs"))b.preventDefault();else return b=a(this).attr("href"),a(this).parent().addClass("tabs").siblings("li").removeClass("tabs"),a(this).closest(".metaboxes-tab").find(".tabs-panel").hide(),
6
+ a(b).show(),!1})});var c=a("#_active_page_options-container").parent().html();a("#_active_page_options-container").parent().remove();a(c).insertAfter("#yit-post-setting .handlediv");a(c).insertAfter("#yit-page-setting .handlediv");a("#_active_page_options-container").on("click",function(){a("#_active_page_options").is(":checked")?a("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:1,"pointer-events":"auto"}):a("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:.5,
7
+ "pointer-events":"none"})}).click();a(".metaboxes-tab [data-dep-target]").each(function(){var b=a(this),c="#"+b.data("dep-target"),f="#"+b.data("dep-id"),h=b.data("dep-value"),k=b.data("dep-type");e(c,f,h.toString(),k);a(f).on("change",function(){e(c,f,h.toString(),k)}).change()})})(jQuery);
plugin-fw/assets/js/yit-cpt-unlimited.min.js CHANGED
@@ -1,2 +1,2 @@
1
- (function(c){c(".wrap h1, .wrap h2").on("click","a.multi-uploader",function(f){f.preventDefault();var a,b=c(this),d=!1;b.next("span.spinner").css("display","inline-block");a||(a=wp.media.frames.file_frame=wp.media({title:b.data("uploader_title"),button:{text:b.data("uploader_button_text")},library:{type:"image"},multiple:!0}),a.on("select",function(){var e=[];a.state().get("selection").map(function(a){a=a.toJSON();e.push({id:a.id,url:a.url,title:a.title})});c.post(ajaxurl,{images:e,post_type:typenow,action:"yit_cptu_multiuploader"},
2
- function(a){location.reload()});b.next("span.spinner").css("display","inline-block");d=!0}),a.on("close",function(){d||b.next("span.spinner").hide()}));a.open()})})(jQuery);
1
+ (function(d){d(".wrap h1, .wrap h2").on("click","a.multi-uploader",function(g){g.preventDefault();var b=d(this),e=!1;b.next("span.spinner").css("display","inline-block");if(!c){var c=wp.media.frames.file_frame=wp.media({title:b.data("uploader_title"),button:{text:b.data("uploader_button_text")},library:{type:"image"},multiple:!0});c.on("select",function(){var f=[];c.state().get("selection").map(function(a){a=a.toJSON();f.push({id:a.id,url:a.url,title:a.title})});d.post(ajaxurl,{images:f,post_type:typenow,
2
+ action:"yit_cptu_multiuploader"},function(a){location.reload()});b.next("span.spinner").css("display","inline-block");e=!0});c.on("close",function(){e||b.next("span.spinner").hide()})}c.open()})})(jQuery);
plugin-fw/assets/js/yit-wp-pointer.min.js CHANGED
@@ -1,3 +1,6 @@
1
- jQuery(document).ready(function(b){var c=custom_pointer.pointers[0],d=c.options,a=b(c.target),e=c.pointer_id;b(a).find(".wp-submenu li a").each(function(){var f=b(this),h=f.attr("href"),h=h.replace("admin.php?page=","");if(h==e){var k=f.add(a),g=a.find(c.target.replace("#","."));a.toggleClass("wp-no-current-submenu wp-menu-open wp-has-current-submenu");f.pointer({pointerClass:"yit-wp-pointer",content:d.content,position:d.position,open:function(){k.toggleClass("yit-pointer-selected-row");g.addClass("yit-pointer")},
2
- close:function(){a.toggleClass("wp-no-current-submenu wp-menu-open wp-has-current-submenu");k.toggleClass("yit-pointer-selected-row");g.removeClass("yit-pointer");b.ajax({type:"POST",url:ajaxurl,data:{action:"dismiss-wp-pointer",pointer:e},success:function(a){}})}}).pointer("open")}else if("yith_default_pointer"==e){var k=f.add(a),g=a.find(c.target.replace("#",".")),l=b(c.target);l.addClass("wp-has-current-submenu");g.pointer({pointerClass:"yit-wp-pointer",content:d.content,position:d.position,open:function(){l.addClass("yit-pointer-selected-row")},
3
- close:function(){l.removeClass("yit-pointer-selected-row wp-has-current-submenu");b.ajax({type:"POST",url:ajaxurl,data:{action:"dismiss-wp-pointer",pointer:e},success:function(a){}})}}).pointer("open")}})});
1
+ var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,c,b){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var f=a[e];if(c.call(b,f,e,a))return{i:e,v:f}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,c,b){a!=Array.prototype&&a!=Object.prototype&&(a[c]=b.value)};
2
+ $jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,c,b,d){if(c){b=$jscomp.global;a=a.split(".");for(d=0;d<a.length-1;d++){var e=a[d];e in b||(b[e]={});b=b[e]}a=a[a.length-1];d=b[a];c=c(d);c!=d&&null!=c&&$jscomp.defineProperty(b,a,{configurable:!0,writable:!0,value:c})}};
3
+ $jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,b){return $jscomp.findInternal(this,a,b).v}},"es6","es3");
4
+ jQuery(document).ready(function(a){var c=custom_pointer.pointers[0],b=c.options,d=a(c.target),e=c.pointer_id;a(d).find(".wp-submenu li a").each(function(){var f=a(this),h=f.attr("href");h=h.replace("admin.php?page=","");if(h==e){var k=f.add(d),g=d.find(c.target.replace("#","."));d.toggleClass("wp-no-current-submenu wp-menu-open wp-has-current-submenu");f.pointer({pointerClass:"yit-wp-pointer",content:b.content,position:b.position,open:function(){k.toggleClass("yit-pointer-selected-row");g.addClass("yit-pointer")},
5
+ close:function(){d.toggleClass("wp-no-current-submenu wp-menu-open wp-has-current-submenu");k.toggleClass("yit-pointer-selected-row");g.removeClass("yit-pointer");a.ajax({type:"POST",url:ajaxurl,data:{action:"dismiss-wp-pointer",pointer:e},success:function(a){}})}}).pointer("open")}else if("yith_default_pointer"==e){k=f.add(d);g=d.find(c.target.replace("#","."));var l=a(c.target);l.addClass("wp-has-current-submenu");g.pointer({pointerClass:"yit-wp-pointer",content:b.content,position:b.position,open:function(){l.addClass("yit-pointer-selected-row")},
6
+ close:function(){l.removeClass("yit-pointer-selected-row wp-has-current-submenu");a.ajax({type:"POST",url:ajaxurl,data:{action:"dismiss-wp-pointer",pointer:e},success:function(a){}})}}).pointer("open")}})});
plugin-fw/assets/js/yith-enhanced-select-wc-2.6.min.js CHANGED
@@ -1,5 +1,5 @@
1
- jQuery(document).ready(function(a){a(document.body).on("yith-framework-enhanced-select-init",function(){a(":input.yith-post-search").filter(":not(.enhanced)").each(function(){var d=a.extend({action:"yith_plugin_fw_json_search_posts",security:yith_framework_enhanced_select_params.search_posts_nonce,post_type:"post"},a(this).data()),c={allowClear:a(this).data("allow_clear")?!0:!1,placeholder:a(this).data("placeholder"),minimumInputLength:a(this).data("minimum_input_length")?a(this).data("minimum_input_length"):
2
- "3",escapeMarkup:function(b){return b},ajax:{url:yith_framework_enhanced_select_params.ajax_url,dataType:"json",quietMillis:250,data:function(b){d.term=b;return d},results:function(b){var c=[];b&&a.each(b,function(b,a){c.push({id:b,text:a})});return{results:c}},cache:!0}};!0===a(this).data("multiple")?(c.multiple=!0,c.initSelection=function(b,c){var f=a.parseJSON(b.attr("data-selected")),e=[];a(b.val().split(",")).each(function(b,a){e.push({id:a,text:f[a]})});return c(e)},c.formatSelection=function(b){return'<div class="selected-option" data-id="'+
3
- b.id+'">'+b.text+"</div>"}):(c.multiple=!1,c.initSelection=function(b,a){var c={id:b.val(),text:b.attr("data-selected")};return a(c)});a(this).select2(c).addClass("enhanced")});a(":input.yith-term-search").filter(":not(.enhanced)").each(function(){var d=a.extend({action:"yith_plugin_fw_json_search_terms",security:yith_framework_enhanced_select_params.search_terms_nonce,taxonomy:"category"},a(this).data()),c={allowClear:a(this).data("allow_clear")?!0:!1,placeholder:a(this).data("placeholder"),minimumInputLength:a(this).data("minimum_input_length")?
4
- a(this).data("minimum_input_length"):"3",escapeMarkup:function(b){return b},ajax:{url:yith_framework_enhanced_select_params.ajax_url,dataType:"json",quietMillis:250,data:function(b){d.term=b;return d},results:function(b){var c=[];b&&a.each(b,function(b,a){c.push({id:b,text:a})});return{results:c}},cache:!0}};!0===a(this).data("multiple")?(c.multiple=!0,c.initSelection=function(b,c){var d=a.parseJSON(b.attr("data-selected")),e=[];a(b.val().split(",")).each(function(b,a){e.push({id:a,text:d[a]})});
5
- return c(e)},c.formatSelection=function(a){return'<div class="selected-option" data-id="'+a.id+'">'+a.text+"</div>"}):(c.multiple=!1,c.initSelection=function(a,c){var d={id:a.val(),text:a.attr("data-selected")};return c(d)});a(this).select2(c).addClass("enhanced")})}).trigger("yith-framework-enhanced-select-init")});
1
+ jQuery(document).ready(function(b){b(document.body).on("yith-framework-enhanced-select-init",function(){b(":input.yith-post-search").filter(":not(.enhanced)").each(function(){var d=b.extend({action:"yith_plugin_fw_json_search_posts",security:yith_framework_enhanced_select_params.search_posts_nonce,post_type:"post"},b(this).data()),c={allowClear:b(this).data("allow_clear")?!0:!1,placeholder:b(this).data("placeholder"),minimumInputLength:b(this).data("minimum_input_length")?b(this).data("minimum_input_length"):
2
+ "3",escapeMarkup:function(a){return a},ajax:{url:yith_framework_enhanced_select_params.ajax_url,dataType:"json",quietMillis:250,data:function(a){d.term=a;return d},results:function(a){var c=[];a&&b.each(a,function(a,b){c.push({id:a,text:b})});return{results:c}},cache:!0}};!0===b(this).data("multiple")?(c.multiple=!0,c.initSelection=function(a,c){var f=b.parseJSON(a.attr("data-selected")),e=[];b(a.val().split(",")).each(function(a,b){e.push({id:b,text:f[b]})});return c(e)},c.formatSelection=function(a){return'<div class="selected-option" data-id="'+
3
+ a.id+'">'+a.text+"</div>"}):(c.multiple=!1,c.initSelection=function(a,b){a={id:a.val(),text:a.attr("data-selected")};return b(a)});b(this).select2(c).addClass("enhanced")});b(":input.yith-term-search").filter(":not(.enhanced)").each(function(){var d=b.extend({action:"yith_plugin_fw_json_search_terms",security:yith_framework_enhanced_select_params.search_terms_nonce,taxonomy:"category"},b(this).data()),c={allowClear:b(this).data("allow_clear")?!0:!1,placeholder:b(this).data("placeholder"),minimumInputLength:b(this).data("minimum_input_length")?
4
+ b(this).data("minimum_input_length"):"3",escapeMarkup:function(a){return a},ajax:{url:yith_framework_enhanced_select_params.ajax_url,dataType:"json",quietMillis:250,data:function(a){d.term=a;return d},results:function(a){var c=[];a&&b.each(a,function(a,b){c.push({id:a,text:b})});return{results:c}},cache:!0}};!0===b(this).data("multiple")?(c.multiple=!0,c.initSelection=function(a,c){var d=b.parseJSON(a.attr("data-selected")),e=[];b(a.val().split(",")).each(function(a,b){e.push({id:b,text:d[b]})});
5
+ return c(e)},c.formatSelection=function(a){return'<div class="selected-option" data-id="'+a.id+'">'+a.text+"</div>"}):(c.multiple=!1,c.initSelection=function(a,b){a={id:a.val(),text:a.attr("data-selected")};return b(a)});b(this).select2(c).addClass("enhanced")})}).trigger("yith-framework-enhanced-select-init")});
plugin-fw/assets/js/yith-enhanced-select.min.js CHANGED
@@ -1,5 +1,8 @@
1
- jQuery(document).ready(function(a){a(document.body).on("yith-framework-enhanced-select-init",function(){a(".yith-post-search").filter(":not(.enhanced)").each(function(){var e=a.extend({action:"yith_plugin_fw_json_search_posts",security:yith_framework_enhanced_select_params.search_posts_nonce,post_type:"post"},a(this).data()),f={allowClear:a(this).data("allow_clear")?!0:!1,placeholder:a(this).data("placeholder"),minimumInputLength:a(this).data("minimum_input_length")?a(this).data("minimum_input_length"):
2
- "3",escapeMarkup:function(a){return a},ajax:{url:ajaxurl,dataType:"json",quietMillis:250,data:function(b){return a.extend({term:b.term},e)},processResults:function(b){var c=[];b&&a.each(b,function(a,b){c.push({id:a,text:b})});return{results:c}},cache:!0}};a(this).select2(f).addClass("enhanced");if(a(this).data("sortable")){var c=a(this),d=a(this).next(".select2-container").find("ul.select2-selection__rendered");d.sortable({placeholder:"ui-state-highlight select2-selection__choice",forcePlaceholderSize:!0,
3
- items:"li:not(.select2-search__field)",tolerance:"pointer",stop:function(){a(d.find(".select2-selection__choice").get().reverse()).each(function(){var b=a(this).data("data").id,b=c.find('option[value="'+b+'"]')[0];c.prepend(b)})}})}});a(".yith-term-search").filter(":not(.enhanced)").each(function(){var e=a.extend({action:"yith_plugin_fw_json_search_terms",security:yith_framework_enhanced_select_params.search_terms_nonce,taxonomy:"category"},a(this).data()),f={allowClear:a(this).data("allow_clear")?
4
- !0:!1,placeholder:a(this).data("placeholder"),minimumInputLength:a(this).data("minimum_input_length")?a(this).data("minimum_input_length"):"3",escapeMarkup:function(a){return a},ajax:{url:ajaxurl,dataType:"json",quietMillis:250,data:function(b){return a.extend({term:b.term},e)},processResults:function(b){var c=[];b&&a.each(b,function(a,b){c.push({id:a,text:b})});return{results:c}},cache:!0}};a(this).select2(f).addClass("enhanced");if(a(this).data("sortable")){var c=a(this),d=a(this).next(".select2-container").find("ul.select2-selection__rendered");
5
- d.sortable({placeholder:"ui-state-highlight select2-selection__choice",forcePlaceholderSize:!0,items:"li:not(.select2-search__field)",tolerance:"pointer",stop:function(){a(d.find(".select2-selection__choice").get().reverse()).each(function(){var b=a(this).data("data").id,b=c.find('option[value="'+b+'"]')[0];c.prepend(b)})}})}})}).trigger("yith-framework-enhanced-select-init")});
1
+ var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,f,c){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var b=a[e];if(f.call(c,b,e,a))return{i:e,v:b}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,f,c){a!=Array.prototype&&a!=Object.prototype&&(a[f]=c.value)};
2
+ $jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,f,c,d){if(f){c=$jscomp.global;a=a.split(".");for(d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];f=f(d);f!=d&&null!=f&&$jscomp.defineProperty(c,a,{configurable:!0,writable:!0,value:f})}};
3
+ $jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,c){return $jscomp.findInternal(this,a,c).v}},"es6","es3");
4
+ jQuery(document).ready(function(a){a(document.body).on("yith-framework-enhanced-select-init",function(){a(".yith-post-search").filter(":not(.enhanced)").each(function(){var f=a.extend({action:"yith_plugin_fw_json_search_posts",security:yith_framework_enhanced_select_params.search_posts_nonce,post_type:"post"},a(this).data()),c={allowClear:a(this).data("allow_clear")?!0:!1,placeholder:a(this).data("placeholder"),minimumInputLength:a(this).data("minimum_input_length")?a(this).data("minimum_input_length"):
5
+ "3",escapeMarkup:function(a){return a},ajax:{url:ajaxurl,dataType:"json",quietMillis:250,data:function(b){return a.extend({term:b.term},f)},processResults:function(b){var c=[];b&&a.each(b,function(a,b){c.push({id:a,text:b})});return{results:c}},cache:!0}};a(this).select2(c).addClass("enhanced");if(a(this).data("sortable")){var d=a(this),e=a(this).next(".select2-container").find("ul.select2-selection__rendered");e.sortable({placeholder:"ui-state-highlight select2-selection__choice",forcePlaceholderSize:!0,
6
+ items:"li:not(.select2-search__field)",tolerance:"pointer",stop:function(){a(e.find(".select2-selection__choice").get().reverse()).each(function(){var b=a(this).data("data").id;b=d.find('option[value="'+b+'"]')[0];d.prepend(b)})}})}});a(".yith-term-search").filter(":not(.enhanced)").each(function(){var f=a.extend({action:"yith_plugin_fw_json_search_terms",security:yith_framework_enhanced_select_params.search_terms_nonce,taxonomy:"category"},a(this).data()),c={allowClear:a(this).data("allow_clear")?
7
+ !0:!1,placeholder:a(this).data("placeholder"),minimumInputLength:a(this).data("minimum_input_length")?a(this).data("minimum_input_length"):"3",escapeMarkup:function(a){return a},ajax:{url:ajaxurl,dataType:"json",quietMillis:250,data:function(b){return a.extend({term:b.term},f)},processResults:function(b){var c=[];b&&a.each(b,function(a,b){c.push({id:a,text:b})});return{results:c}},cache:!0}};a(this).select2(c).addClass("enhanced");if(a(this).data("sortable")){var d=a(this),e=a(this).next(".select2-container").find("ul.select2-selection__rendered");
8
+ e.sortable({placeholder:"ui-state-highlight select2-selection__choice",forcePlaceholderSize:!0,items:"li:not(.select2-search__field)",tolerance:"pointer",stop:function(){a(e.find(".select2-selection__choice").get().reverse()).each(function(){var b=a(this).data("data").id;b=d.find('option[value="'+b+'"]')[0];d.prepend(b)})}})}})}).trigger("yith-framework-enhanced-select-init")});
plugin-fw/assets/js/yith-fields.js CHANGED
@@ -74,12 +74,12 @@ jQuery( function ( $ ) {
74
var custom_uploader_states = [
75
// Main states.
76
new wp.media.controller.Library( {
77
- library : wp.media.query(),
78
- multiple : false,
79
- title : 'Choose Image',
80
- priority : 20,
81
- filterable: 'uploaded'
82
- } )
83
];
84
85
// Create the media frame.
@@ -145,10 +145,10 @@ jQuery( function ( $ ) {
145
},
146
states: [
147
new wp.media.controller.Library( {
148
- title : $t.data( 'choose' ),
149
- filterable: 'all',
150
- multiple : true
151
- } )
152
]
153
} );
154
@@ -193,7 +193,7 @@ jQuery( function ( $ ) {
193
194
$t.find( 'li.image' ).css( 'cursor', 'default' ).each( function () {
195
var attachment_id = $( this ).attr( 'data-attachment_id' );
196
- attachment_ids = attachment_ids + attachment_id + ',';
197
} );
198
199
$t.closest( '.image-gallery' ).find( '.image_gallery_ids' ).val( attachment_ids );
@@ -212,7 +212,7 @@ jQuery( function ( $ ) {
212
213
$gallery.find( 'li.image' ).css( 'cursor', 'default' ).each( function () {
214
var attachment_id = $( this ).attr( 'data-attachment_id' );
215
- attachment_ids = attachment_ids + attachment_id + ',';
216
} );
217
218
$image_gallery_ids.val( attachment_ids );
@@ -283,7 +283,7 @@ jQuery( function ( $ ) {
283
range: 'min',
284
step : step,
285
286
- create: function() {
287
$( this ).find( '.ui-slider-handle' ).text( $( this ).slider( "value" ) );
288
},
289
@@ -347,4 +347,18 @@ jQuery( function ( $ ) {
347
} );
348
} );
349
350
} );
74
var custom_uploader_states = [
75
// Main states.
76
new wp.media.controller.Library( {
77
+ library : wp.media.query(),
78
+ multiple : false,
79
+ title : 'Choose Image',
80
+ priority : 20,
81
+ filterable: 'uploaded'
82
+ } )
83
];
84
85
// Create the media frame.
145
},
146
states: [
147
new wp.media.controller.Library( {
148
+ title : $t.data( 'choose' ),
149
+ filterable: 'all',
150
+ multiple : true
151
+ } )
152
]
153
} );
154
193
194
$t.find( 'li.image' ).css( 'cursor', 'default' ).each( function () {
195
var attachment_id = $( this ).attr( 'data-attachment_id' );
196
+ attachment_ids = attachment_ids + attachment_id + ',';
197
} );
198
199
$t.closest( '.image-gallery' ).find( '.image_gallery_ids' ).val( attachment_ids );
212
213
$gallery.find( 'li.image' ).css( 'cursor', 'default' ).each( function () {
214
var attachment_id = $( this ).attr( 'data-attachment_id' );
215
+ attachment_ids = attachment_ids + attachment_id + ',';
216
} );
217
218
$image_gallery_ids.val( attachment_ids );
283
range: 'min',
284
step : step,
285
286
+ create: function () {
287
$( this ).find( '.ui-slider-handle' ).text( $( this ).slider( "value" ) );
288
},
289
347
} );
348
} );
349
350
+ /** Select Images */
351
+ $( document ).on( 'click', '.yith-plugin-fw-select-images__item', function () {
352
+ var item = $( this ),
353
+ key = item.data( 'key' ),
354
+ wrapper = item.closest( '.yith-plugin-fw-select-images__wrapper' ),
355
+ items = wrapper.find( '.yith-plugin-fw-select-images__item' ),
356
+ select = wrapper.find( 'select' ).first();
357
+
358
+ if ( select.length ) {
359
+ select.val( key );
360
+ items.removeClass( 'yith-plugin-fw-select-images__item--selected' );
361
+ item.addClass( 'yith-plugin-fw-select-images__item--selected' );
362
+ }
363
+ } );
364
} );
plugin-fw/assets/js/yith-fields.min.js CHANGED
@@ -1,15 +1,15 @@
1
- var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,g,e){a instanceof String&&(a=String(a));for(var d=a.length,h=0;h<d;h++){var l=a[h];if(g.call(e,l,h,a))return{i:h,v:l}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,g,e){a!=Array.prototype&&a!=Object.prototype&&(a[g]=e.value)};
2
- $jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,g,e,d){if(g){e=$jscomp.global;a=a.split(".");for(d=0;d<a.length-1;d++){var h=a[d];h in e||(e[h]={});e=e[h]}a=a[a.length-1];d=e[a];g=g(d);g!=d&&null!=g&&$jscomp.defineProperty(e,a,{configurable:!0,writable:!0,value:g})}};
3
- $jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,e){return $jscomp.findInternal(this,a,e).v}},"es6","es3");
4
- jQuery(function(a){var g=a(".yith-plugin-fw-datepicker"),e=a(".yith-plugin-fw-colorpicker"),d=a(".yith-plugin-fw-upload-img-url"),h=a(".add_media"),l=a(".yith-plugin-fw .image-gallery ul.slides-wrapper"),m=a(".yith-plugin-fw-onoff-container span"),n=a(".yith-plugin-fw-sidebar-layout"),p=a(".yith-plugin-fw .yith-plugin-fw-slider-container .ui-slider-horizontal"),q=a(".codemirror"),r=a(".yit-icons-manager-wrapper");g.each(function(){var b=a(this).data();a(this).datepicker(b)});e.wpColorPicker({clear:function(){var b=
5
- a(this);b.val(b.data("default-color"));b.change()}});e.each(function(){var b=a(this).data("variations-label");a(this).parent().parent().find("a.wp-color-result").attr("title",b)});"undefined"!==typeof wp&&"undefined"!==typeof wp.media&&(d.change(function(){var b=a(this).val(),c=a(this).parent().find(".yith-plugin-fw-upload-img-preview").first();1>c.length&&(c=a(this).parent().parent().find(".yith-plugin-fw-upload-img-preview").first());/(http|ftp|https):\/\/[a-zA-Z0-9@?^=%&amp;:/~+#-_.]*.(gif|jpg|jpeg|png|ico)/.test(b)?
6
c.html('<img src="'+b+'" style="max-width:100px; max-height:100px;" />'):c.html("")}).trigger("change"),a(document).on("click",".yith-plugin-fw-upload-button",function(b){b.preventDefault();var c=a(this).attr("id").replace(/-button#x2F;,"");if(!f){b=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})];var f=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,
7
- states:b});f.on("select",function(){var b=f.state().get("selection").first().toJSON();a("#"+c).val(b.url);a("#"+c+"-yith-attachment-id")&&a("#"+c+"-yith-attachment-id").val(b.id);d.trigger("change")})}f.open()}),a(document).on("click",".yith-plugin-fw-upload-button-reset",function(b){var c=a(this);b=c.attr("id");c=c.attr("id").replace(/-button-reset#x2F;,"");b=a("#"+b).data("default");a("#"+c).val(b);d.trigger("change")}));h.on("click",function(){});"undefined"!==typeof wp&&"undefined"!==typeof wp.media&&
8
- (a(document).on("click",".yith-plugin-fw .image-gallery-button",function(b){var c=a(this);b=c.closest(".image-gallery");var f=b.find(".image_gallery_ids"),k=f.val(),e=b.find("ul.slides-wrapper"),d=wp.media.frames.image_gallery=wp.media({title:c.data("choose"),button:{text:c.data("update")},states:[new wp.media.controller.Library({title:c.data("choose"),filterable:"all",multiple:!0})]});d.on("select",function(){d.state().get("selection").map(function(a){a=a.toJSON();a.id&&(k=k?k+","+a.id:a.id,e.append('<li class="image" data-attachment_id="'+
9
- a.id+'"><img src="'+a.sizes.thumbnail.url+'"/><ul class="actions"><li><a href="#" class="delete" title="'+c.data("delete")+'">x</a></li></ul></li>'))});f.val(k)});d.open()}),l.each(function(){var b=a(this);b.sortable({items:"li.image",cursor:"move",scrollSensitivity:40,forcePlaceholderSize:!0,forceHelperSize:!1,helper:"clone",opacity:.65,start:function(a,b){b.item.css("background-color","#f6f6f6")},stop:function(a,b){b.item.removeAttr("style")},update:function(c,f){var k="";b.find("li.image").css("cursor",
10
"default").each(function(){var b=a(this).attr("data-attachment_id");k=k+b+","});b.closest(".image-gallery").find(".image_gallery_ids").val(k)}})}),l.on("click","a.delete",function(){var b=a(this).closest(".image-gallery"),c=a(this).closest(".image-gallery ul.slides-wrapper");b=b.find(".image_gallery_ids");var f="";a(this).closest("li.image").remove();c.find("li.image").css("cursor","default").each(function(){var b=a(this).attr("data-attachment_id");f=f+b+","});b.val(f)}));m.on("click",function(){var b=
11
a(this).prev("input");b.prop("checked")?b.prop("checked",!1).attr("value","no").removeClass("onoffchecked"):b.prop("checked",!0).attr("value","yes").addClass("onoffchecked");b.change()});n.each(function(){a(this).find("img").on("click",function(){var b=a(this).closest(".yith-plugin-fw-sidebar-layout"),c=b.find(".yith-plugin-fw-sidebar-layout-sidebar-left-container");b=b.find(".yith-plugin-fw-sidebar-layout-sidebar-right-container");var f=a(this).data("type");a(this).parent().children(":radio").attr("checked",
12
- !1);a(this).prev(":radio").attr("checked",!0);if("undefined"!=typeof f)switch(f){case "left":c.show();b.hide();break;case "right":b.show();c.hide();break;case "double":c.show();b.show();break;default:c.hide(),b.hide()}})});p.each(function(){var b=a(this).data("val"),c=a(this).data("min"),f=a(this).data("max"),e=a(this).data("step"),d=a(this).data("labels");a(this).slider({value:b,min:c,max:f,range:"min",step:e,create:function(){a(this).find(".ui-slider-handle").text(a(this).slider("value"))},slide:function(b,
13
c){a(this).find("input").val(c.value);a(this).find(".ui-slider-handle").text(c.value);a(this).siblings(".feedback").find("strong").text(c.value+d)}})});q.each(function(b,c){b=CodeMirror.fromTextArea(c,{lineNumbers:1,mode:"javascript",showCursorWhenSelecting:!0});a(c).data("codemirrorInstance",b)});a(document).on("click",".yith-plugin-fw-select-all",function(){a("#"+a(this).data("select-id")).find("option").prop("selected",!0).trigger("change")});a(document).on("click",".yith-plugin-fw-deselect-all",
14
- function(){a("#"+a(this).data("select-id")).find("option").prop("selected",!1).trigger("change")});r.each(function(){var b=a(this),c=b.find(".yit-icons-manager-icon-preview").first(),e=b.find(".yit-icons-manager-icon-text");b.on("click",".yit-icons-manager-list li",function(d){d=a(d.target).closest("li");var f=d.data("font"),g=d.data("icon"),h=d.data("key"),k=d.data("name");c.attr("data-font",f);c.attr("data-icon",g);c.attr("data-key",h);c.attr("data-name",k);e.val(f+":"+k);b.find(".yit-icons-manager-list li").removeClass("active");
15
- d.addClass("active")});b.on("click",".yit-icons-manager-action-set-default",function(){b.find(".yit-icons-manager-list li.default").trigger("click")})})});
1
+ var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,g,d){a instanceof String&&(a=String(a));for(var e=a.length,h=0;h<e;h++){var l=a[h];if(g.call(d,l,h,a))return{i:h,v:l}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,g,d){a!=Array.prototype&&a!=Object.prototype&&(a[g]=d.value)};
2
+ $jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,g,d,e){if(g){d=$jscomp.global;a=a.split(".");for(e=0;e<a.length-1;e++){var h=a[e];h in d||(d[h]={});d=d[h]}a=a[a.length-1];e=d[a];g=g(e);g!=e&&null!=g&&$jscomp.defineProperty(d,a,{configurable:!0,writable:!0,value:g})}};
3
+ $jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,d){return $jscomp.findInternal(this,a,d).v}},"es6","es3");
4
+ jQuery(function(a){var g=a(".yith-plugin-fw-datepicker"),d=a(".yith-plugin-fw-colorpicker"),e=a(".yith-plugin-fw-upload-img-url"),h=a(".add_media"),l=a(".yith-plugin-fw .image-gallery ul.slides-wrapper"),m=a(".yith-plugin-fw-onoff-container span"),n=a(".yith-plugin-fw-sidebar-layout"),p=a(".yith-plugin-fw .yith-plugin-fw-slider-container .ui-slider-horizontal"),q=a(".codemirror"),r=a(".yit-icons-manager-wrapper");g.each(function(){var b=a(this).data();a(this).datepicker(b)});d.wpColorPicker({clear:function(){var b=
5
+ a(this);b.val(b.data("default-color"));b.change()}});d.each(function(){var b=a(this).data("variations-label");a(this).parent().parent().find("a.wp-color-result").attr("title",b)});"undefined"!==typeof wp&&"undefined"!==typeof wp.media&&(e.change(function(){var b=a(this).val(),c=a(this).parent().find(".yith-plugin-fw-upload-img-preview").first();1>c.length&&(c=a(this).parent().parent().find(".yith-plugin-fw-upload-img-preview").first());/(http|ftp|https):\/\/[a-zA-Z0-9@?^=%&amp;:/~+#-_.]*.(gif|jpg|jpeg|png|ico)/.test(b)?
6
c.html('<img src="'+b+'" style="max-width:100px; max-height:100px;" />'):c.html("")}).trigger("change"),a(document).on("click",".yith-plugin-fw-upload-button",function(b){b.preventDefault();var c=a(this).attr("id").replace(/-button#x2F;,"");if(!f){b=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})];var f=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,
7
+ states:b});f.on("select",function(){var b=f.state().get("selection").first().toJSON();a("#"+c).val(b.url);a("#"+c+"-yith-attachment-id")&&a("#"+c+"-yith-attachment-id").val(b.id);e.trigger("change")})}f.open()}),a(document).on("click",".yith-plugin-fw-upload-button-reset",function(b){var c=a(this);b=c.attr("id");c=c.attr("id").replace(/-button-reset#x2F;,"");b=a("#"+b).data("default");a("#"+c).val(b);e.trigger("change")}));h.on("click",function(){});"undefined"!==typeof wp&&"undefined"!==typeof wp.media&&
8
+ (a(document).on("click",".yith-plugin-fw .image-gallery-button",function(b){var c=a(this);b=c.closest(".image-gallery");var f=b.find(".image_gallery_ids"),k=f.val(),d=b.find("ul.slides-wrapper"),e=wp.media.frames.image_gallery=wp.media({title:c.data("choose"),button:{text:c.data("update")},states:[new wp.media.controller.Library({title:c.data("choose"),filterable:"all",multiple:!0})]});e.on("select",function(){e.state().get("selection").map(function(a){a=a.toJSON();a.id&&(k=k?k+","+a.id:a.id,d.append('<li class="image" data-attachment_id="'+
9
+ a.id+'"><img src="'+a.sizes.thumbnail.url+'"/><ul class="actions"><li><a href="#" class="delete" title="'+c.data("delete")+'">x</a></li></ul></li>'))});f.val(k)});e.open()}),l.each(function(){var b=a(this);b.sortable({items:"li.image",cursor:"move",scrollSensitivity:40,forcePlaceholderSize:!0,forceHelperSize:!1,helper:"clone",opacity:.65,start:function(a,b){b.item.css("background-color","#f6f6f6")},stop:function(a,b){b.item.removeAttr("style")},update:function(c,f){var k="";b.find("li.image").css("cursor",
10
"default").each(function(){var b=a(this).attr("data-attachment_id");k=k+b+","});b.closest(".image-gallery").find(".image_gallery_ids").val(k)}})}),l.on("click","a.delete",function(){var b=a(this).closest(".image-gallery"),c=a(this).closest(".image-gallery ul.slides-wrapper");b=b.find(".image_gallery_ids");var f="";a(this).closest("li.image").remove();c.find("li.image").css("cursor","default").each(function(){var b=a(this).attr("data-attachment_id");f=f+b+","});b.val(f)}));m.on("click",function(){var b=
11
a(this).prev("input");b.prop("checked")?b.prop("checked",!1).attr("value","no").removeClass("onoffchecked"):b.prop("checked",!0).attr("value","yes").addClass("onoffchecked");b.change()});n.each(function(){a(this).find("img").on("click",function(){var b=a(this).closest(".yith-plugin-fw-sidebar-layout"),c=b.find(".yith-plugin-fw-sidebar-layout-sidebar-left-container");b=b.find(".yith-plugin-fw-sidebar-layout-sidebar-right-container");var f=a(this).data("type");a(this).parent().children(":radio").attr("checked",
12
+ !1);a(this).prev(":radio").attr("checked",!0);if("undefined"!=typeof f)switch(f){case "left":c.show();b.hide();break;case "right":b.show();c.hide();break;case "double":c.show();b.show();break;default:c.hide(),b.hide()}})});p.each(function(){var b=a(this).data("val"),c=a(this).data("min"),f=a(this).data("max"),k=a(this).data("step"),d=a(this).data("labels");a(this).slider({value:b,min:c,max:f,range:"min",step:k,create:function(){a(this).find(".ui-slider-handle").text(a(this).slider("value"))},slide:function(b,
13
c){a(this).find("input").val(c.value);a(this).find(".ui-slider-handle").text(c.value);a(this).siblings(".feedback").find("strong").text(c.value+d)}})});q.each(function(b,c){b=CodeMirror.fromTextArea(c,{lineNumbers:1,mode:"javascript",showCursorWhenSelecting:!0});a(c).data("codemirrorInstance",b)});a(document).on("click",".yith-plugin-fw-select-all",function(){a("#"+a(this).data("select-id")).find("option").prop("selected",!0).trigger("change")});a(document).on("click",".yith-plugin-fw-deselect-all",
14
+ function(){a("#"+a(this).data("select-id")).find("option").prop("selected",!1).trigger("change")});r.each(function(){var b=a(this),c=b.find(".yit-icons-manager-icon-preview").first(),f=b.find(".yit-icons-manager-icon-text");b.on("click",".yit-icons-manager-list li",function(d){d=a(d.target).closest("li");var e=d.data("font"),g=d.data("icon"),k=d.data("key"),h=d.data("name");c.attr("data-font",e);c.attr("data-icon",g);c.attr("data-key",k);c.attr("data-name",h);f.val(e+":"+h);b.find(".yit-icons-manager-list li").removeClass("active");
15
+ d.addClass("active")});b.on("click",".yit-icons-manager-action-set-default",function(){b.find(".yit-icons-manager-list li.default").trigger("click")})});a(document).on("click",".yith-plugin-fw-select-images__item",function(){var b=a(this),c=b.data("key"),d=b.closest(".yith-plugin-fw-select-images__wrapper"),e=d.find(".yith-plugin-fw-select-images__item");d=d.find("select").first();d.length&&(d.val(c),e.removeClass("yith-plugin-fw-select-images__item--selected"),b.addClass("yith-plugin-fw-select-images__item--selected"))})});
plugin-fw/init.php CHANGED
@@ -1,13 +1,13 @@
1
<?php
2
/**
3
* Framework Name: YIT Plugin Framework
4
- * Version: 3.0.16
5
- * Author: Yithemes
6
* Text Domain: yith-plugin-fw
7
* Domain Path: /languages/
8
*
9
* @author Your Inspiration Themes
10
- * @version 3.0.16
11
*/
12
/**
13
* This file belongs to the YIT Plugin Framework.
1
<?php
2
/**
3
* Framework Name: YIT Plugin Framework
4
+ * Version: 3.0.22
5
+ * Author: YITHEMES
6
* Text Domain: yith-plugin-fw
7
* Domain Path: /languages/
8
*
9
* @author Your Inspiration Themes
10
+ * @version 3.0.22
11
*/
12
/**
13
* This file belongs to the YIT Plugin Framework.
plugin-fw/languages/yith-plugin-fw-es_ES.mo CHANGED
Binary file
plugin-fw/languages/yith-plugin-fw-es_ES.po CHANGED
@@ -4,15 +4,15 @@ msgid ""
4
msgstr ""
5
"Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
6
"Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2016-07-06 15:18+0200\n"
8
- "PO-Revision-Date: 2016-07-06 15:19+0200\n"
9
"Last-Translator: \n"
10
"Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
11
"Language: es_ES\n"
12
"MIME-Version: 1.0\n"
13
"Content-Type: text/plain; charset=UTF-8\n"
14
"Content-Transfer-Encoding: 8bit\n"
15
- "X-Generator: Poedit 1.8.8\n"
16
"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
17
"_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
18
"esc_html_x:1,2c\n"
@@ -22,6 +22,42 @@ msgstr ""
22
"X-Textdomain-Support: yes\n"
23
"X-Poedit-SearchPath-0: .\n"
24
25
#: lib/yit-cpt-unlimited.php:460 lib/yit-cpt-unlimited.php:574
26
#: lib/yit-cpt-unlimited.php:719 lib/yit-cpt-unlimited.php:1632
27
#, php-format
@@ -81,7 +117,7 @@ msgctxt "taxonomy singular name"
81
msgid "Category"
82
msgstr "Categoría"
83
84
- #: lib/yit-cpt-unlimited.php:627
85
msgid "Search Categories"
86
msgstr "Buscar Categorías"
87
@@ -127,7 +163,7 @@ msgid "%s Settings"
127
msgstr "%s Ajustes"
128
129
#: lib/yit-cpt-unlimited.php:1048 lib/yit-cpt-unlimited.php:1196
130
- #: lib/yit-cpt-unlimited.php:1202 lib/yit-plugin-panel.php:74
131
msgid "Settings"
132
msgstr "Ajustes"
133
@@ -214,8 +250,8 @@ msgstr "Enlaces rápidos"
214
msgid "Show frontend of the %s"
215
msgstr "Mostrar parte delantera de %s"
216
217
- #: lib/yit-cpt-unlimited.php:1482 templates/metaboxes/types/customtabs.php:46
218
- #: templates/metaboxes/types/customtabs.php:90
219
msgid "Name"
220
msgstr "Nombre"
221
@@ -228,106 +264,97 @@ msgstr "Añadir %s desde imágenes"
228
msgid "Upload multiple files"
229
msgstr "Cargar archivos múltiples"
230
231
- #: lib/yit-plugin-panel-sidebar.php:421 templates/panel/sidebar/sidebar.php:3
232
- msgid "Hide sidebar"
233
- msgstr "Ocultar barra lateral"
234
-
235
- #: lib/yit-plugin-panel-sidebar.php:422 templates/panel/sidebar/sidebar.php:3
236
- msgid "Show sidebar"
237
- msgstr "Mostrar barra lateral"
238
-
239
- #: lib/yit-plugin-panel-wc.php:374
240
msgid "The changes you have made will be lost if you leave this page."
241
msgstr "Los cambios que has hecho se perderán si sales de esta página."
242
243
- #: lib/yit-plugin-panel.php:73
244
msgid "Plugin Settings"
245
msgstr "Ajustes del plugin"
246
247
- #: lib/yit-plugin-panel.php:297 lib/yit-plugin-panel.php:300
248
msgid "How to install premium version"
249
msgstr "Cómo instalar la versión premium"
250
251
- #: lib/yit-plugin-panel.php:352 lib/yit-plugin-subpanel.php:146
252
#: templates/panel/woocommerce/woocommerce-form.php:11
253
msgid "Save Changes"
254
msgstr "Guardar cambios"
255
256
- #: lib/yit-plugin-panel.php:355
257
#: templates/panel/woocommerce/woocommerce-form.php:14
258
msgid ""
259
"If you continue with this action, you will reset all options in this page."
260
msgstr ""
261
"Si sigues con esta acción, se reiniciarán todas las opciones en esta página."
262
263
- #: lib/yit-plugin-panel.php:357 lib/yit-plugin-subpanel.php:151
264
msgid "Reset to default"
265
msgstr "Reiniciar a predeterminado"
266
267
- #: lib/yit-plugin-panel.php:357 lib/yit-plugin-subpanel.php:151
268
#: templates/panel/woocommerce/woocommerce-form.php:18
269
msgid "Are you sure?"
270
msgstr "¿Estás seguro/a?"
271
272
- #: lib/yit-plugin-panel.php:553
273
msgid ""
274
"The element you have entered already exists. Please, enter another name."
275
msgstr ""
276
"El elemento que has introducido ya existe. Por favor, introduce otro nombre."
277
278
- #: lib/yit-plugin-panel.php:554
279
msgid "Settings saved"
280
msgstr "Ajustes guardados"
281
282
- #: lib/yit-plugin-panel.php:555
283
msgid "Settings reset"
284
msgstr "Ajustes reiniciados"
285
286
- #: lib/yit-plugin-panel.php:556
287
msgid "Element deleted correctly."
288
msgstr "Elemento borrado correctamente."
289
290
- #: lib/yit-plugin-panel.php:557 lib/yit-plugin-panel.php:558
291
msgid "Element updated correctly."
292
msgstr "Elemento actualizado correctamente."
293
294
- #: lib/yit-plugin-panel.php:559
295
msgid "Database imported correctly."
296
msgstr "Base de datos importada correctamente."
297
298
- #: lib/yit-plugin-panel.php:560
299
msgid "An error has occurred during import. Please try again."
300
msgstr ""
301
"Ha ocurrido un error durante la importación. Por favor, inténtalo de nuevo."
302
303
- #: lib/yit-plugin-panel.php:561
304
msgid "The added file is not valid."
305
msgstr "El archivo añadido no es válido."
306
307
- #: lib/yit-plugin-panel.php:562
308
msgid "Sorry, import is disabled."
309
msgstr "Lo sentimos, la importación está deshabilitada."
310
311
- #: lib/yit-plugin-panel.php:563
312
msgid "Sorting successful."
313
msgstr "Clasificación fue realizada con éxito."
314
315
- #: lib/yit-plugin-subpanel.php:149
316
- msgid ""
317
- "If you continue with this action, you will reset all the options in this "
318
- "page."
319
- msgstr ""
320
- "Si continúas con esta acción, reiniciarás todas las opciones de esta página."
321
-
322
#: lib/yit-pointers.php:70
323
msgid "Plugins Activated"
324
msgstr "Plugins Activados"
325
326
#: lib/yit-pointers.php:71
327
msgid ""
328
- "From now on, you can find all plugin options in YIT Plugin menu.\n"
329
- " For each plugin installed, "
330
- "customization settings will be available as a new entry in YIT Plugin menu."
331
msgstr ""
332
"De ahora en adelante, puedes encontrar todas las opciones del plugin en el "
333
"menú YIT Plugin.\n"
@@ -348,15 +375,27 @@ msgid "Plugins Upgraded"
348
msgstr "Plugins Actualizados"
349
350
#: lib/yit-pointers.php:85
351
msgid ""
352
- "From now on, you can find all options of your plugins in YIT Plugin menu.\n"
353
- " Any time one of our plugins is updated, "
354
"a new entry will be added to this menu.\n"
355
" For example, after the update, plugin "
356
"options (such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax "
357
"Search, etc.)\n"
358
" will be moved from previous location to "
359
- "YIT Plugin tab."
360
msgstr ""
361
"De ahora en adelante, puedes encontrar todas las opciones de tus plugins en "
362
"el menú YIT Plugin.\n"
@@ -368,69 +407,96 @@ msgstr ""
368
" se moverán de su posición anterior a la "
369
"pestaña YIT Plugin."
370
371
- #: lib/yit-upgrade.php:135
372
msgid "There is a new version of %plugin_name% available."
373
msgstr "Hay una nueva versión de %plugin_name% disponible."
374
375
- #: lib/yit-upgrade.php:136
376
msgid "View version %latest% details."
377
msgstr "Ver detalles de la %latest% versión"
378
379
- #: lib/yit-upgrade.php:137
380
msgid "Automatic update is unavailable for this plugin,"
381
msgstr "Las actualizaciones automáticas no están disponibles para este plugin,"
382
383
- #: lib/yit-upgrade.php:138
384
msgid ""
385
"please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
386
msgstr ""
387
"por favor, <a href=\"%activate_link%\">activa</a> tu copia de %plugin_name%."
388
389
- #: lib/yit-upgrade.php:139
390
msgid "Update now."
391
msgstr "Actualiza ahora."
392
393
- #: lib/yit-upgrade.php:240
394
- msgid "YIThemes Repository"
395
msgstr "Repositorio YIThemes"
396
397
- #: lib/yit-upgrade.php:274
398
msgid "Invalid URL Provided."
399
msgstr "La URL proporcionada no es válida."
400
401
- #: lib/yit-upgrade.php:287
402
msgid "Could not create Temporary file."
403
msgstr "No se pudo crear un archivo temporal."
404
405
- #: lib/yit-upgrade.php:439
406
- #, php-format
407
msgid ""
408
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
409
- "yit-changelog-button\" title=\"%3$s\">View version %4$s details</a>."
410
msgstr ""
411
"Hay una nueva versión de %1$s disponible. <a href=\"%2$s\" class=\"thickbox "
412
"yit-changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a>."
413
414
- #: lib/yit-upgrade.php:441
415
- #, php-format
416
msgid ""
417
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
418
- "yit-changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>You "
419
- "have to activate the plugin on a single site of the network to benefit from "
420
- "automatic updates.</em>"
421
msgstr ""
422
"Hay una nueva versión de %1$s disponible. <a href=\"%2$s\" class=\"thickbox "
423
"yit-changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a>. "
424
"<em>Tienes que activar el plugin en un único sitio web desdela red para "
425
"beneficiarte de las actualizaciones automáticas.</em>"
426
427
- #: lib/yit-upgrade.php:443
428
- #, php-format
429
msgid ""
430
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
431
- "yit-changelog-button\" title=\"%3$s\">View version %4$s details</a>. "
432
- "<em>Automatic update is unavailable for this plugin, please <a href=\"%5$s\" "
433
- "title=\"License activation\">activate</a> your copy of %6s.</em>"
434
msgstr ""
435
"Hay una nueva versión de %1$s disponible. <a href=\"%2$s\" class=\"thickbox "
436
"yit-changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a>. "
@@ -438,117 +504,119 @@ msgstr ""
438
"por favor <a href=\"%5$s\" title=\"License activation\">activa</a> tu copia "
439
"de %6s.</em>"
440
441
- #: lib/yit-upgrade.php:445
442
- #, php-format
443
msgid ""
444
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
445
- "yit-changelog-button\" title=\"%3$s\">View version %4$s details</a> or <a "
446
- "href=\"%5$s\">update now</a>."
447
msgstr ""
448
"Hay una nueva versión de %1$s disponible. <a href=\"%2$s\" class=\"thickbox "
449
"yit-changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a> o "
450
"<a href=\"%5$s\">actualizar ahora</a>."
451
452
- #: lib/yit-upgrade.php:517
453
msgid "You can't update the plugins for this site."
454
msgstr "No puedes actualizar los plugins para este sitio web."
455
456
- #: lib/yit-upgrade.php:521
457
msgid ""
458
"You do not have sufficient permissions to update the plugins for this site."
459
msgstr ""
460
"No tienes suficientes permisos para actualizar los plugins para este sitio "
461
"web."
462
463
- #: lib/yit-upgrade.php:528
464
msgid "Update Plugin"
465
msgstr "Actualizar Plugin"
466
467
- #: licence/lib/yit-licence.php:182
468
#, php-format
469
msgctxt "%s = field name"
470
msgid "%s field cannot be empty"
471
msgstr "%s el campo no puede estar vacío"
472
473
- #: licence/lib/yit-licence.php:183
474
#, php-format
475
msgid "%s and %s fields cannot be empty"
476
msgstr "Los campos %s y %s no pueden estar vacíos"
477
478
- #: licence/lib/yit-licence.php:184
479
msgid "Unable to contact the remote server, please try again later. Thanks!"
480
msgstr ""
481
"No fue posible contactar con el servidor remoto, por favor, inténtalo de "
482
"nuevo más tarde. ¡Gracias!"
483
484
- #: licence/lib/yit-licence.php:185
485
#: licence/templates/panel/activation/activation-panel.php:88
486
#: licence/templates/panel/activation/activation-panel.php:166
487
#: licence/templates/panel/activation/activation-panel.php:197
488
- #: templates/metaboxes/types/contactform.php:148
489
- #: templates/metaboxes/types/contactform.php:340
490
msgid "Email"
491
msgstr "Email"
492
493
- #: licence/lib/yit-licence.php:186
494
#: licence/templates/panel/activation/activation-panel.php:89
495
#: licence/templates/panel/activation/activation-panel.php:167
496
#: licence/templates/panel/activation/activation-panel.php:198
497
msgid "License Key"
498
msgstr "Clave de Licencia"
499
500
- #: licence/lib/yit-licence.php:187
501
msgid "Are you sure you want to deactivate the license for current site?"
502
msgstr ""
503
"¿Estás seguro/a de que quieres desactivar la licencia para el sitio web "
504
"actual?"
505
506
- #: licence/lib/yit-licence.php:667
507
msgid "Invalid Request"
508
msgstr "Solicitud inválida"
509
510
- #: licence/lib/yit-licence.php:668
511
msgid "Invalid license key"
512
msgstr "Clave de solicitud inválida"
513
514
- #: licence/lib/yit-licence.php:669
515
msgid "Software has been deactivated"
516
msgstr "El software ha sido desactivado"
517
518
- #: licence/lib/yit-licence.php:670
519
msgid "Maximum number of activations exceeded"
520
msgstr "Se ha excedido el número máximo de solicitudes"
521
522
- #: licence/lib/yit-licence.php:671
523
msgid "Invalid instance ID"
524
msgstr "Instancia ID inválida"
525
526
- #: licence/lib/yit-licence.php:672
527
msgid "Invalid security key"
528
msgstr "Clave de seguridad inválida"
529
530
- #: licence/lib/yit-licence.php:673
531
msgid "License key has expired"
532
msgstr "La clave de licencia ha caducado"
533
534
- #: licence/lib/yit-licence.php:674
535
msgid "License key has been banned"
536
msgstr "La clave de licencia ha sido bloqueada"
537
538
- #: licence/lib/yit-licence.php:675
539
msgid "Current product is not included in your YITH Club Subscription key"
540
msgstr ""
541
"Producto actual no está incluido en la clave de suscripción de Club de YITH"
542
543
- #: licence/lib/yit-licence.php:676
544
msgid "Great"
545
msgstr "Excelente"
546
547
- #: licence/lib/yit-licence.php:676
548
msgid "License successfully activated"
549
msgstr "Licencia activada con éxito"
550
551
- #: licence/lib/yit-licence.php:677
552
msgid "License key deactivated for website"
553
msgstr "Clave de licencia desactivada para nuestro sitio web"
554
@@ -572,6 +640,18 @@ msgstr ""
572
"tiempo. ¿Dónde la puedo encontrar?"
573
574
#: licence/lib/yit-theme-licence.php:163
575
msgid ""
576
"If you have purchased one of our products before 27 January 2015, you can "
577
"benefit from support and updates (the services offered with the license)\n"
@@ -581,7 +661,7 @@ msgid ""
581
" After 27 January 2016, instead, if you want to benefit "
582
"from support and updates you have to buy a new license and activate it "
583
"through the license key you will be\n"
584
- " provided with and that you can find in your YIThemes "
585
"account, in section \"My licenses\"."
586
msgstr ""
587
"Si has comprado uno de nuestros productos antes del 27 de enero de 2015, "
@@ -597,8 +677,10 @@ msgstr ""
597
"YIThemes, en la sección \"My licenses\"."
598
599
#: licence/templates/panel/activation/activation-panel.php:23
600
- msgid "Yithemes License Activation"
601
- msgstr "Licencia de Activación Yithemes"
602
603
#: licence/templates/panel/activation/activation-panel.php:27
604
msgid ""
@@ -677,399 +759,362 @@ msgstr "Comprar de nuevo"
677
msgid "Renew license"
678
msgstr "Renovar licencia"
679
680
- #: templates/metaboxes/types/ajax-products.php:23
681
- msgid "Search for a product"
682
msgstr "Buscar un producto"
683
684
- #: templates/metaboxes/types/categories.php:36
685
- msgid "No categories."
686
- msgstr "Ninguna categoría."
687
688
- #: templates/metaboxes/types/categories.php:42
689
- msgid "+ Add New Category"
690
- msgstr "+ Añadir Nueva Categoría"
691
692
- #: templates/metaboxes/types/categories.php:46
693
- msgid "Add"
694
- msgstr "Añadir"
695
696
- #: templates/metaboxes/types/contactform.php:7
697
- msgid "Text Input"
698
- msgstr "Text Input"
699
700
- #: templates/metaboxes/types/contactform.php:8
701
- msgid "Checkbox"
702
- msgstr "Casilla"
703
704
- #: templates/metaboxes/types/contactform.php:9
705
- msgid "Select"
706
- msgstr "Seleciona"
707
708
- #: templates/metaboxes/types/contactform.php:10
709
- msgid "Textarea"
710
- msgstr "Área de texto"
711
712
- #: templates/metaboxes/types/contactform.php:11
713
- msgid "Radio Input"
714
- msgstr "Radio Input"
715
716
- #: templates/metaboxes/types/contactform.php:12
717
- msgid "Password Field"
718
- msgstr "Campo de contraseña"
719
720
- #: templates/metaboxes/types/contactform.php:13
721
- msgid "File Upload"
722
- msgstr "Carga de archivo"
723
724
- #: templates/metaboxes/types/contactform.php:47
725
- msgid "Theme Icon"
726
- msgstr "Icono del tema"
727
728
- #: templates/metaboxes/types/contactform.php:48
729
- msgid "Custom Icon"
730
- msgstr "Icono Personalizado"
731
732
- #: templates/metaboxes/types/contactform.php:49
733
- #: templates/metaboxes/types/responsivesliders.php:24
734
- msgid "None"
735
- msgstr "Ninguno"
736
737
- #: templates/metaboxes/types/contactform.php:60
738
- msgid "Add field"
739
- msgstr "Añadir campo"
740
741
- #: templates/metaboxes/types/contactform.php:69
742
- #: templates/metaboxes/types/contactform.php:261
743
- #: templates/metaboxes/types/customtabs.php:37
744
- #: templates/metaboxes/types/customtabs.php:82
745
- msgid "Remove"
746
- msgstr "Borrar"
747
748
- #: templates/metaboxes/types/contactform.php:70
749
- #: templates/metaboxes/types/contactform.php:262
750
- msgid "Click to toggle"
751
- msgstr "Haz click para alternar"
752
753
- #: templates/metaboxes/types/contactform.php:77
754
- #: templates/metaboxes/types/contactform.php:269
755
- msgid "Field Title"
756
- msgstr "Campo de título"
757
758
- #: templates/metaboxes/types/contactform.php:81
759
- #: templates/metaboxes/types/contactform.php:273
760
- msgid "Insert the title for the field."
761
- msgstr "Inserta el título del campo."
762
763
- #: templates/metaboxes/types/contactform.php:86
764
- #: templates/metaboxes/types/contactform.php:278
765
- msgid "Data Name"
766
- msgstr "Nombre del dato."
767
768
- #: templates/metaboxes/types/contactform.php:90
769
- #: templates/metaboxes/types/contactform.php:282
770
- msgid ""
771
- "REQUIRED: Field identification name to be entered into email body. "
772
- "<strong>Note:</strong>Use only lowercase characters and underscores."
773
- msgstr ""
774
- "OBLIGATORIO: El nombre del campo de identificación debe introducirse en el "
775
- "cuerpo del email. <strong> Nota: </strong> Usa sólo minúsculas y guiones "
776
- "bajos."
777
-
778
- #: templates/metaboxes/types/contactform.php:95
779
- #: templates/metaboxes/types/contactform.php:287
780
- msgid "Field Type"
781
- msgstr "Tipo de campo"
782
-
783
- #: templates/metaboxes/types/contactform.php:103
784
- #: templates/metaboxes/types/contactform.php:295
785
- msgid "Select the type for this field."
786
- msgstr "Selecciona el tipo para este campo."
787
-
788
- #: templates/metaboxes/types/contactform.php:108
789
- #: templates/metaboxes/types/contactform.php:300
790
- msgid "Checked"
791
- msgstr "Campo seleccionado"
792
-
793
- #: templates/metaboxes/types/contactform.php:112
794
- #: templates/metaboxes/types/contactform.php:304
795
- msgid "Select this option if you want this field appears as already checked."
796
- msgstr ""
797
- "Selecciona esta opción si quieres que este campo aparezca como ya marcado."
798
-
799
- #: templates/metaboxes/types/contactform.php:117
800
- #: templates/metaboxes/types/contactform.php:309
801
- msgid "Add options "
802
- msgstr "Añadir opciones"
803
-
804
- #: templates/metaboxes/types/contactform.php:118
805
- #: templates/metaboxes/types/contactform.php:310
806
- msgid "Add option"
807
- msgstr "Añadir opción"
808
-
809
- #: templates/metaboxes/types/contactform.php:121
810
- #: templates/metaboxes/types/contactform.php:313
811
- #: templates/metaboxes/types/contactform.php:436
812
- msgid "Selected"
813
- msgstr "Selecionado"
814
-
815
- #: templates/metaboxes/types/contactform.php:124
816
- #: templates/metaboxes/types/contactform.php:316
817
- #: templates/metaboxes/types/contactform.php:436
818
- msgid "Delete option"
819
- msgstr "Borrar opción"
820
-
821
- #: templates/metaboxes/types/contactform.php:130
822
- #: templates/metaboxes/types/contactform.php:322
823
- msgid "Error Message"
824
- msgstr "Mensaje de error"
825
-
826
- #: templates/metaboxes/types/contactform.php:134
827
- #: templates/metaboxes/types/contactform.php:326
828
- msgid "Insert the error message for validation."
829
- msgstr "Inserta el mensaje de error para la validación."
830
-
831
- #: templates/metaboxes/types/contactform.php:139
832
- #: templates/metaboxes/types/contactform.php:331
833
- msgid "Required"
834
- msgstr "Campo obligatorio"
835
-
836
- #: templates/metaboxes/types/contactform.php:143
837
- #: templates/metaboxes/types/contactform.php:335
838
- msgid "Select this option if it must be required."
839
- msgstr "Selecciona esta opción si este campo debe ser obligatorio."
840
-
841
- #: templates/metaboxes/types/contactform.php:152
842
- #: templates/metaboxes/types/contactform.php:344
843
- msgid "Select this option if the email must be valid."
844
- msgstr "Selecciona esta opción si el email debe ser válido."
845
-
846
- #: templates/metaboxes/types/contactform.php:157
847
- #: templates/metaboxes/types/contactform.php:349
848
- msgid "Reply To"
849
- msgstr "Responder a"
850
-
851
- #: templates/metaboxes/types/contactform.php:161
852
- #: templates/metaboxes/types/contactform.php:353
853
- msgid "Select this if it is the email you can reply to."
854
- msgstr "Selecciona si este es el email al que puedes responder."
855
-
856
- #: templates/metaboxes/types/contactform.php:166
857
- #: templates/metaboxes/types/contactform.php:358
858
- msgid "Class"
859
- msgstr "Clase"
860
-
861
- #: templates/metaboxes/types/contactform.php:170
862
- #: templates/metaboxes/types/contactform.php:362
863
- msgid ""
864
- "Insert additional class(es) (separated by commas) for more personalization."
865
- msgstr ""
866
- "Inserta clase(s) adicionales (separados por comas) para más personalización."
867
-
868
- #: templates/metaboxes/types/contactform.php:175
869
- #: templates/metaboxes/types/contactform.php:367
870
- msgid "Icon"
871
- msgstr "Icono"
872
-
873
- #: templates/metaboxes/types/contactform.php:203
874
- #: templates/metaboxes/types/contactform.php:391
875
- #: templates/metaboxes/types/icon-list.php:69
876
- #: templates/metaboxes/types/select-icon.php:33
877
- #: templates/metaboxes/types/upload.php:21 templates/panel/types/upload.php:31
878
#: templates/panel/woocommerce/woocommerce-upload.php:40
879
msgid "Upload"
880
msgstr "Actualiza"
881
882
- #: templates/metaboxes/types/contactform.php:209
883
- #: templates/metaboxes/types/contactform.php:397
884
- #: templates/metaboxes/types/icon-list.php:75
885
- #: templates/metaboxes/types/select-icon.php:39
886
msgid "Image preview"
887
msgstr "Previsualización de imagen"
888
889
- #: templates/metaboxes/types/contactform.php:217
890
- #: templates/metaboxes/types/contactform.php:405
891
- msgid "Insert an icon for more personalization."
892
- msgstr "Inserta un icono para más personalización"
893
894
- #: templates/metaboxes/types/contactform.php:222
895
- #: templates/metaboxes/types/contactform.php:409
896
- msgid "Width"
897
- msgstr "Ancho"
898
899
- #: templates/metaboxes/types/contactform.php:247
900
- #: templates/metaboxes/types/contactform.php:421
901
- msgid "Set field length."
902
- msgstr "Establecer el ancho de campo"
903
904
- #: templates/metaboxes/types/customtabs.php:28
905
- msgid "Close all"
906
- msgstr "Cerrar todos"
907
908
- #: templates/metaboxes/types/customtabs.php:28
909
- msgid "Expand all"
910
- msgstr "Expandir todos"
911
912
- #: templates/metaboxes/types/customtabs.php:52
913
- #: templates/metaboxes/types/customtabs.php:95
914
- msgid "Value"
915
- msgstr "Valor"
916
917
- #: templates/metaboxes/types/customtabs.php:53
918
- #: templates/metaboxes/types/customtabs.php:96
919
- msgid "Content of the tab. (HTML is supported)"
920
- msgstr "Contenido de la pestaña. (HTML se soporta)"
921
922
- #: templates/metaboxes/types/customtabs.php:65
923
- msgid "Add custom product tab"
924
- msgstr "Añadir etiqueta de producto personalizado"
925
926
- #: templates/metaboxes/types/customtabs.php:107
927
- msgid "Do you want to remove the custom tab?"
928
- msgstr "¿Quieres borrar la etiqueta personalizada?"
929
930
- #: templates/metaboxes/types/icon-list.php:89
931
- #, php-format
932
- msgid "(Default: %s <img src=\"%s\"/>)"
933
- msgstr "(Por defecto: %s <img src=\"%s\"/>)"
934
935
- #: templates/metaboxes/types/icon-list.php:91
936
- #, php-format
937
- msgid "(Default: <i %s></i> )"
938
- msgstr "(Por defecto: <i %s></i> )"
939
940
- #: templates/metaboxes/types/image-gallery.php:40
941
- #: templates/metaboxes/types/image-gallery.php:45
942
- #: templates/metaboxes/types/images.php:38
943
- #: templates/metaboxes/types/images.php:64
944
- msgid "Delete image"
945
- msgstr "Borrar imagen"
946
947
- #: templates/metaboxes/types/image-gallery.php:45
948
- msgid "Add Images to Gallery"
949
- msgstr "Añadir imágenes a la Galería"
950
951
- #: templates/metaboxes/types/image-gallery.php:45
952
- msgid "Add to gallery"
953
- msgstr "Añadir a la galería"
954
955
- #: templates/metaboxes/types/image-gallery.php:45
956
- msgid "Add images"
957
- msgstr "Añadir imágenes"
958
959
- #: templates/metaboxes/types/image-gallery.php:45
960
- msgid "Delete"
961
- msgstr "Borrar"
962
963
- #: templates/metaboxes/types/images.php:42
964
- msgid "Upload new images"
965
- msgstr "Cargar nuevas imágenes"
966
967
- #: templates/metaboxes/types/images.php:75
968
- msgid "Are you sure you want to remove this image?"
969
- msgstr "¿Estás seguro/a de que quieres borrar esta imagen?"
970
971
- #: templates/metaboxes/types/sidebar-layout.php:25
972
- #: templates/metaboxes/types/sidebars.php:36
973
- msgid "Left sidebar"
974
- msgstr "Barra lateral izquierda"
975
976
- #: templates/metaboxes/types/sidebar-layout.php:28
977
- #: templates/metaboxes/types/sidebars.php:42
978
- #: templates/metaboxes/types/sidebars.php:45
979
- msgid "No sidebar"
980
- msgstr "Sin barra lateral"
981
982
- #: templates/metaboxes/types/sidebar-layout.php:31
983
- #: templates/metaboxes/types/sidebars.php:39
984
- msgid "Right sidebar"
985
- msgstr "Barra lateral derecha"
986
987
- #: templates/metaboxes/types/sidebar-layout.php:34
988
- #: templates/metaboxes/types/sidebars.php:53
989
- #: templates/metaboxes/types/sidebars.php:64
990
- msgid "Choose a sidebar"
991
- msgstr "Elige una barra lateral"
992
993
- #: templates/metaboxes/types/sidebars.php:51
994
- msgid "Left Sidebar"
995
- msgstr "Barra lateral izquierda"
996
997
- #: templates/metaboxes/types/sidebars.php:62
998
- msgid "Right Sidebar"
999
- msgstr "Barra lateral derecha"
1000
1001
- #: templates/metaboxes/types/typography.php:42
1002
- msgid "px"
1003
- msgstr "px"
1004
1005
- #: templates/metaboxes/types/typography.php:43
1006
- msgid "em"
1007
- msgstr "em"
1008
1009
- #: templates/metaboxes/types/typography.php:44
1010
- msgid "pt"
1011
- msgstr "pt"
1012
1013
- #: templates/metaboxes/types/typography.php:45
1014
- msgid "rem"
1015
- msgstr "rem"
1016
1017
- #: templates/metaboxes/types/typography.php:59
1018
- #: templates/metaboxes/types/typography.php:153
1019
- #: templates/metaboxes/types/typography.php:217
1020
- msgid "Web fonts"
1021
- msgstr "Fuentes web"
1022
1023
- #: templates/metaboxes/types/typography.php:71
1024
- msgid "Google fonts"
1025
- msgstr "Fuentes Google"
1026
1027
- #: templates/metaboxes/types/typography.php:96
1028
- msgid "Regular"
1029
- msgstr "Normal"
1030
1031
- #: templates/metaboxes/types/typography.php:97
1032
- msgid "Bold"
1033
- msgstr "Negrita"
1034
1035
- #: templates/metaboxes/types/typography.php:98
1036
- msgid "Extra bold"
1037
- msgstr "Extra negrita"
1038
1039
- #: templates/metaboxes/types/typography.php:99
1040
- msgid "Italic"
1041
- msgstr "Cursiva"
1042
1043
- #: templates/metaboxes/types/typography.php:100
1044
- msgid "Italic bold"
1045
- msgstr "Cursiva negrita"
1046
1047
- #: templates/panel/sidebar/widgets/widgets.php:17
1048
- msgid "Join the club"
1049
- msgstr "Únete al club"
1050
1051
- #: templates/panel/sidebar/widgets/widgets.php:24
1052
- msgid "Despacho Theme - 100% FREE"
1053
- msgstr "Despacho Theme - 100% GRATIS"
1054
1055
- #: templates/panel/sidebar/widgets/widgets.php:28
1056
- msgid "FREE!"
1057
- msgstr "¡GRATIS!"
1058
1059
- #: templates/panel/sidebar/widgets/widgets.php:34
1060
- msgid "Important Links"
1061
- msgstr "Enlaces importantes"
1062
1063
- #: templates/panel/types/upload.php:32
1064
- msgid "Reset"
1065
- msgstr "Reinicia"
1066
1067
- #: templates/panel/woocommerce/woocommerce-form.php:17
1068
- msgid "Reset Defaults"
1069
- msgstr "Ajustes predeterminados"
1070
1071
- #~ msgid "Premium version upgrade"
1072
- #~ msgstr "Actualiza a la versión premium"
1073
1074
#~ msgid "Current product is not included with your membership key"
1075
#~ msgstr "El producto actual no está incluido en tu clave de suscripción"
4
msgstr ""
5
"Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
6
"Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2018-08-02 16:02+0200\n"
8
+ "PO-Revision-Date: 2018-08-02 16:02+0200\n"
9
"Last-Translator: \n"
10
"Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
11
"Language: es_ES\n"
12
"MIME-Version: 1.0\n"
13
"Content-Type: text/plain; charset=UTF-8\n"
14
"Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Poedit 2.0.8\n"
16
"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
17
"_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
18
"esc_html_x:1,2c\n"
22
"X-Textdomain-Support: yes\n"
23
"X-Poedit-SearchPath-0: .\n"
24
25
+ #: lib/privacy/yit-privacy.php:24
26
+ msgctxt "Privacy Policy Guide Title"
27
+ msgid "YITH Plugins"
28
+ msgstr ""
29
+
30
+ #: lib/privacy/yit-privacy.php:59
31
+ msgctxt "Privacy Policy Content"
32
+ msgid ""
33
+ "This sample language includes the basics around what personal data your "
34
+ "store may be collecting, storing and sharing, as well as who may have access "
35
+ "to that data. Depending on what settings are enabled and which additional "
36
+ "plugins are used, the specific information shared by your store will vary. "
37
+ "We recommend consulting with a lawyer when deciding what information to "
38
+ "disclose on your privacy policy."
39
+ msgstr ""
40
+
41
+ #: lib/privacy/yit-privacy.php:63
42
+ msgctxt "Privacy Policy Content"
43
+ msgid "What we collect and store"
44
+ msgstr ""
45
+