Version Description
Released 14 December 2022
- New: support for WooCommerce 7.2
- Update: YITH plugin framework
Download this release
Release Info
Developer | yithemes |
Plugin | YITH WooCommerce Quick View |
Version | 1.22.0 |
Comparing to | |
See all releases |
Code changes from version 1.21.1 to 1.22.0
- assets/js/frontend.js +173 -173
- init.php +4 -4
- license.txt +0 -0
- plugin-fw/.distignore +29 -0
- plugin-fw/.jshintrc +26 -0
- plugin-fw/.nvmrc +1 -0
- plugin-fw/assets/css/elementor.css +0 -0
- plugin-fw/assets/css/jquery-ui/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- plugin-fw/assets/css/jquery-ui/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- plugin-fw/assets/css/jquery-ui/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- plugin-fw/assets/css/jquery-ui/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- plugin-fw/assets/css/jquery-ui/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- plugin-fw/assets/css/jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- plugin-fw/assets/css/jquery-ui/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- plugin-fw/assets/css/jquery-ui/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- plugin-fw/assets/css/jquery-ui/images/ui-icons_222222_256x240.png +0 -0
- plugin-fw/assets/css/jquery-ui/images/ui-icons_2e83ff_256x240.png +0 -0
- plugin-fw/assets/css/jquery-ui/images/ui-icons_454545_256x240.png +0 -0
- plugin-fw/assets/css/jquery-ui/images/ui-icons_888888_256x240.png +0 -0
- plugin-fw/assets/css/jquery-ui/images/ui-icons_cd0a0a_256x240.png +0 -0
- plugin-fw/assets/css/jquery-ui/jquery-ui.min.css +6 -6
- plugin-fw/assets/css/scss/welcome-modal.scss +77 -0
- plugin-fw/assets/css/scss/yith-plugin-ui.scss +8 -0
- plugin-fw/assets/css/scss/yith-plugin-ui/_animations.scss +92 -0
- plugin-fw/assets/css/scss/yith-plugin-ui/_components.scss +13 -0
- plugin-fw/assets/css/scss/yith-plugin-ui/_head_comment.scss +6 -0
- plugin-fw/assets/css/scss/yith-plugin-ui/_tables.scss +56 -0
- plugin-fw/assets/css/scss/yith-plugin-ui/_taxonomy.scss +52 -0
- plugin-fw/assets/css/scss/yith-plugin-ui/_variables.scss +121 -0
- plugin-fw/assets/css/scss/yith-plugin-ui/_wp-pages.scss +88 -0
- plugin-fw/assets/css/scss/yith-plugin-ui/components/_action-button.scss +80 -0
- plugin-fw/assets/css/scss/yith-plugin-ui/components/_boxed-row.scss +14 -0
- plugin-fw/assets/css/scss/yith-plugin-ui/components/_buttons.scss +224 -0
- plugin-fw/assets/css/scss/yith-plugin-ui/components/_confirm.scss +41 -0
- plugin-fw/assets/css/scss/yith-plugin-ui/components/_list-items.scss +78 -0
- plugin-fw/assets/css/scss/yith-plugin-ui/components/_list-table-blank-state.scss +25 -0
- plugin-fw/assets/css/scss/yith-plugin-ui/components/_modal.scss +128 -0
- plugin-fw/assets/css/scss/yith-plugin-ui/components/_tabs.scss +51 -0
- plugin-fw/assets/css/scss/yith-plugin-ui/components/_tip-tip.scss +80 -0
- plugin-fw/assets/css/scss/yith-plugin-ui/mixins/_buttons.scss +124 -0
- plugin-fw/assets/css/scss/yith-plugin-ui/mixins/_tables.scss +159 -0
- plugin-fw/assets/css/yith-icon.css +8 -4
- plugin-fw/assets/css/yith-plugin-ui.css +0 -0
- plugin-fw/assets/fonts/yith-icon.eot +0 -0
- plugin-fw/assets/fonts/yith-icon.ttf +0 -0
- plugin-fw/assets/fonts/yith-icon.woff2 +0 -0
- plugin-fw/assets/images/yith-icon.svg +13 -13
- plugin-fw/assets/js/jquery-tiptip/jquery.tipTip.js +0 -0
- plugin-fw/assets/js/jquery-tiptip/jquery.tipTip.min.js +0 -0
- plugin-fw/assets/js/select2/select2.min.js +12 -12
- plugin-fw/assets/js/yith-date-format.js +0 -0
- plugin-fw/assets/js/yith-date-format.min.js +0 -0
- plugin-fw/assets/js/yith-enhanced-select.js +224 -195
- plugin-fw/assets/js/yith-ui.js +0 -0
- plugin-fw/assets/js/yith-ui.min.js +0 -0
- plugin-fw/dist/gutenberg/index.asset.php +0 -0
- plugin-fw/dist/gutenberg/index.js +0 -0
- plugin-fw/dist/gutenberg/style-index.css +0 -0
- plugin-fw/includes/builders/elementor/class-yith-elementor-widget.php +0 -0
- plugin-fw/includes/builders/elementor/class-yith-elementor.php +0 -0
- plugin-fw/includes/builders/gutenberg/class-yith-gutenberg.php +0 -0
- plugin-fw/includes/builders/gutenberg/src/.jshintrc +24 -0
- plugin-fw/includes/builders/gutenberg/src/common/actions-to-jquery-events.js +32 -0
- plugin-fw/includes/builders/gutenberg/src/common/ajaxFetch.js +43 -0
- plugin-fw/includes/builders/gutenberg/src/common/checkForDeps.js +46 -0
- plugin-fw/includes/builders/gutenberg/src/common/generateShortcode.js +42 -0
- plugin-fw/includes/builders/gutenberg/src/common/icons.js +12 -0
- plugin-fw/includes/builders/gutenberg/src/common/index.js +4 -0
- plugin-fw/includes/builders/gutenberg/src/components/color-palette-control/index.js +96 -0
- plugin-fw/includes/builders/gutenberg/src/components/color-palette-control/style.scss +9 -0
- plugin-fw/includes/builders/gutenberg/src/components/color-picker-control/index.js +53 -0
- plugin-fw/includes/builders/gutenberg/src/components/multiple-select-control/index.js +56 -0
- plugin-fw/includes/builders/gutenberg/src/components/multiple-select-control/multiple-select.js +186 -0
- plugin-fw/includes/builders/gutenberg/src/components/multiple-select-control/style.scss +135 -0
- plugin-fw/includes/builders/gutenberg/src/components/shortcode/index.js +153 -0
- plugin-fw/includes/builders/gutenberg/src/components/shortcode/style.scss +64 -0
- plugin-fw/includes/builders/gutenberg/src/edit.js +234 -0
- plugin-fw/includes/builders/gutenberg/src/index.js +56 -0
- plugin-fw/includes/class-yit-ajax.php +0 -0
- plugin-fw/includes/class-yit-assets.php +7 -0
- plugin-fw/includes/class-yit-cpt-unlimited.php +0 -0
- plugin-fw/includes/class-yit-gradients.php +0 -0
- plugin-fw/includes/class-yit-help-desk.php +0 -0
- plugin-fw/includes/class-yit-icons.php +0 -0
- plugin-fw/includes/class-yit-metabox.php +0 -0
- plugin-fw/includes/class-yit-plugin-common.php +0 -0
- plugin-fw/includes/class-yit-plugin-licence.php +0 -0
- plugin-fw/includes/class-yit-plugin-panel-woocommerce.php +0 -0
- plugin-fw/includes/class-yit-plugin-panel.php +0 -0
- plugin-fw/includes/class-yit-plugin-subpanel.php +0 -0
- plugin-fw/includes/class-yit-pointers.php +0 -0
- plugin-fw/includes/class-yit-theme-licence.php +0 -0
- plugin-fw/includes/class-yit-upgrade.php +0 -0
- plugin-fw/includes/class-yit-video.php +0 -0
- plugin-fw/includes/class-yith-dashboard.php +0 -0
- plugin-fw/includes/class-yith-debug.php +0 -0
- plugin-fw/includes/class-yith-post-type-admin.php +0 -0
- plugin-fw/includes/class-yith-system-status.php +0 -0
- plugin-fw/includes/privacy/class-yith-privacy-plugin-abstract.php +0 -0
- plugin-fw/includes/privacy/class-yith-privacy.php +0 -0
- plugin-fw/phpcs.xml +0 -61
- plugin-fw/templates/components/action-button.php +0 -0
- plugin-fw/templates/components/list-table-blank-state.php +0 -0
- plugin-fw/templates/components/resources/action-button-menu.php +0 -0
- plugin-fw/templates/fields/copy-to-clipboard.php +0 -0
- plugin-fw/templates/fields/image-dimensions.php +0 -0
- plugin-fw/templates/fields/inline-fields.php +0 -0
- plugin-fw/templates/panel/custom-tab.php +0 -0
- plugin-fw/templates/panel/help-tab.php +0 -0
- plugin-fw/templates/sysinfo/tabs/error-log.php +0 -0
- plugin-fw/templates/sysinfo/tabs/main.php +0 -0
- plugin-fw/templates/sysinfo/tabs/php-info.php +0 -0
- readme.txt +8 -4
assets/js/frontend.js
CHANGED
@@ -1,174 +1,174 @@
|
|
1 |
-
/**
|
2 |
-
* frontend.js
|
3 |
-
*
|
4 |
-
* @author Your Inspiration Themes
|
5 |
-
* @package YITH WooCommerce Quick View
|
6 |
-
* @version 1.0.0
|
7 |
-
*/
|
8 |
-
|
9 |
-
jQuery(document).ready(function($){
|
10 |
-
"use strict";
|
11 |
-
|
12 |
-
if( typeof yith_qv === 'undefined' ) {
|
13 |
-
return;
|
14 |
-
}
|
15 |
-
|
16 |
-
var qv_modal = $(document).find( '#yith-quick-view-modal' ),
|
17 |
-
qv_overlay = qv_modal.find( '.yith-quick-view-overlay'),
|
18 |
-
qv_content = qv_modal.find( '#yith-quick-view-content' ),
|
19 |
-
qv_close = qv_modal.find( '#yith-quick-view-close' ),
|
20 |
-
qv_wrapper = qv_modal.find( '.yith-wcqv-wrapper'),
|
21 |
-
qv_wrapper_w = qv_wrapper.width(),
|
22 |
-
qv_wrapper_h = qv_wrapper.height(),
|
23 |
-
center_modal = function() {
|
24 |
-
|
25 |
-
var window_w = $(window).width(),
|
26 |
-
window_h = $(window).height(),
|
27 |
-
width = ( ( window_w - 60 ) > qv_wrapper_w ) ? qv_wrapper_w : ( window_w - 60 ),
|
28 |
-
height = ( ( window_h - 120 ) > qv_wrapper_h ) ? qv_wrapper_h : ( window_h - 120 );
|
29 |
-
|
30 |
-
qv_wrapper.css({
|
31 |
-
'left' : (( window_w/2 ) - ( width/2 )),
|
32 |
-
'top' : (( window_h/2 ) - ( height/2 )),
|
33 |
-
'width' : width + 'px',
|
34 |
-
'height' : height + 'px'
|
35 |
-
});
|
36 |
-
};
|
37 |
-
|
38 |
-
|
39 |
-
/*==================
|
40 |
-
*MAIN BUTTON OPEN
|
41 |
-
==================*/
|
42 |
-
|
43 |
-
$.fn.yith_quick_view = function() {
|
44 |
-
|
45 |
-
$(document).off( 'click', '.yith-wcqv-button' ).on( 'click', '.yith-wcqv-button', function(e){
|
46 |
-
e.preventDefault();
|
47 |
-
|
48 |
-
var t = $(this),
|
49 |
-
product_id = t.data( 'product_id' ),
|
50 |
-
is_blocked = false;
|
51 |
-
|
52 |
-
if ( typeof yith_qv.loader !== 'undefined' ) {
|
53 |
-
is_blocked = true;
|
54 |
-
t.block({
|
55 |
-
message: null,
|
56 |
-
overlayCSS : {
|
57 |
-
background: '#fff url(' + yith_qv.loader + ') no-repeat center',
|
58 |
-
opacity : 0.5,
|
59 |
-
cursor : 'none'
|
60 |
-
}
|
61 |
-
});
|
62 |
-
|
63 |
-
if( ! qv_modal.hasClass( 'loading' ) ) {
|
64 |
-
qv_modal.addClass('loading');
|
65 |
-
}
|
66 |
-
|
67 |
-
// stop loader
|
68 |
-
$(document).trigger( 'qv_loading' );
|
69 |
-
}
|
70 |
-
ajax_call( t, product_id, is_blocked );
|
71 |
-
});
|
72 |
-
};
|
73 |
-
|
74 |
-
/*================
|
75 |
-
* MAIN AJAX CALL
|
76 |
-
================*/
|
77 |
-
|
78 |
-
var ajax_call = function( t, product_id, is_blocked ) {
|
79 |
-
|
80 |
-
$.ajax({
|
81 |
-
url: yith_qv.ajaxurl,
|
82 |
-
data: {
|
83 |
-
action: 'yith_load_product_quick_view',
|
84 |
-
product_id: product_id,
|
85 |
-
lang: yith_qv.lang,
|
86 |
-
context: 'frontend',
|
87 |
-
},
|
88 |
-
dataType: 'json',
|
89 |
-
type: 'POST',
|
90 |
-
success: function (data) {
|
91 |
-
|
92 |
-
qv_content.html(data.html);
|
93 |
-
|
94 |
-
// Variation Form
|
95 |
-
var form_variation = qv_content.find('.variations_form');
|
96 |
-
form_variation.each( function() {
|
97 |
-
$( this ).wc_variation_form();
|
98 |
-
// add Color and Label Integration
|
99 |
-
if( typeof $.fn.yith_wccl !== 'undefined' ) {
|
100 |
-
$(this).yith_wccl();
|
101 |
-
}
|
102 |
-
else if( typeof $.yith_wccl != 'undefined' && data.prod_attr ) {
|
103 |
-
|
104 |
-
$.yith_wccl( data.prod_attr );
|
105 |
-
}
|
106 |
-
});
|
107 |
-
|
108 |
-
form_variation.trigger( 'check_variations' );
|
109 |
-
form_variation.trigger( 'reset_image' );
|
110 |
-
|
111 |
-
if( typeof $.fn.wc_product_gallery !== 'undefined' ) {
|
112 |
-
qv_content.find('.woocommerce-product-gallery').each(function () {
|
113 |
-
$(this).wc_product_gallery();
|
114 |
-
});
|
115 |
-
}
|
116 |
-
|
117 |
-
if (!qv_modal.hasClass('open')) {
|
118 |
-
qv_modal.removeClass('loading').addClass('open');
|
119 |
-
if (is_blocked)
|
120 |
-
t.unblock();
|
121 |
-
}
|
122 |
-
|
123 |
-
// stop loader
|
124 |
-
$(document).trigger('qv_loader_stop');
|
125 |
-
|
126 |
-
}
|
127 |
-
});
|
128 |
-
};
|
129 |
-
|
130 |
-
/*===================
|
131 |
-
* CLOSE QUICK VIEW
|
132 |
-
===================*/
|
133 |
-
|
134 |
-
var close_modal_qv = function() {
|
135 |
-
|
136 |
-
// Close box by click overlay
|
137 |
-
qv_overlay.on( 'click', function(e){
|
138 |
-
close_qv();
|
139 |
-
});
|
140 |
-
// Close box with esc key
|
141 |
-
$(document).keyup(function(e){
|
142 |
-
if( e.keyCode === 27 )
|
143 |
-
close_qv();
|
144 |
-
});
|
145 |
-
// Close box by click close button
|
146 |
-
qv_close.on( 'click', function(e) {
|
147 |
-
e.preventDefault();
|
148 |
-
close_qv();
|
149 |
-
});
|
150 |
-
|
151 |
-
var close_qv = function() {
|
152 |
-
qv_modal.removeClass('open').removeClass('loading');
|
153 |
-
|
154 |
-
setTimeout(function () {
|
155 |
-
qv_content.html('');
|
156 |
-
}, 1000);
|
157 |
-
}
|
158 |
-
};
|
159 |
-
|
160 |
-
close_modal_qv();
|
161 |
-
|
162 |
-
|
163 |
-
center_modal();
|
164 |
-
$( window ).on( 'resize', center_modal );
|
165 |
-
|
166 |
-
// START
|
167 |
-
$.fn.yith_quick_view();
|
168 |
-
|
169 |
-
$( document ).on( 'yith_infs_adding_elem yith-wcan-ajax-filtered', function(){
|
170 |
-
// RESTART
|
171 |
-
$.fn.yith_quick_view();
|
172 |
-
});
|
173 |
-
|
174 |
});
|
1 |
+
/**
|
2 |
+
* frontend.js
|
3 |
+
*
|
4 |
+
* @author Your Inspiration Themes
|
5 |
+
* @package YITH WooCommerce Quick View
|
6 |
+
* @version 1.0.0
|
7 |
+
*/
|
8 |
+
|
9 |
+
jQuery(document).ready(function($){
|
10 |
+
"use strict";
|
11 |
+
|
12 |
+
if( typeof yith_qv === 'undefined' ) {
|
13 |
+
return;
|
14 |
+
}
|
15 |
+
|
16 |
+
var qv_modal = $(document).find( '#yith-quick-view-modal' ),
|
17 |
+
qv_overlay = qv_modal.find( '.yith-quick-view-overlay'),
|
18 |
+
qv_content = qv_modal.find( '#yith-quick-view-content' ),
|
19 |
+
qv_close = qv_modal.find( '#yith-quick-view-close' ),
|
20 |
+
qv_wrapper = qv_modal.find( '.yith-wcqv-wrapper'),
|
21 |
+
qv_wrapper_w = qv_wrapper.width(),
|
22 |
+
qv_wrapper_h = qv_wrapper.height(),
|
23 |
+
center_modal = function() {
|
24 |
+
|
25 |
+
var window_w = $(window).width(),
|
26 |
+
window_h = $(window).height(),
|
27 |
+
width = ( ( window_w - 60 ) > qv_wrapper_w ) ? qv_wrapper_w : ( window_w - 60 ),
|
28 |
+
height = ( ( window_h - 120 ) > qv_wrapper_h ) ? qv_wrapper_h : ( window_h - 120 );
|
29 |
+
|
30 |
+
qv_wrapper.css({
|
31 |
+
'left' : (( window_w/2 ) - ( width/2 )),
|
32 |
+
'top' : (( window_h/2 ) - ( height/2 )),
|
33 |
+
'width' : width + 'px',
|
34 |
+
'height' : height + 'px'
|
35 |
+
});
|
36 |
+
};
|
37 |
+
|
38 |
+
|
39 |
+
/*==================
|
40 |
+
*MAIN BUTTON OPEN
|
41 |
+
==================*/
|
42 |
+
|
43 |
+
$.fn.yith_quick_view = function() {
|
44 |
+
|
45 |
+
$(document).off( 'click', '.yith-wcqv-button' ).on( 'click', '.yith-wcqv-button', function(e){
|
46 |
+
e.preventDefault();
|
47 |
+
|
48 |
+
var t = $(this),
|
49 |
+
product_id = t.data( 'product_id' ),
|
50 |
+
is_blocked = false;
|
51 |
+
|
52 |
+
if ( typeof yith_qv.loader !== 'undefined' ) {
|
53 |
+
is_blocked = true;
|
54 |
+
t.block({
|
55 |
+
message: null,
|
56 |
+
overlayCSS : {
|
57 |
+
background: '#fff url(' + yith_qv.loader + ') no-repeat center',
|
58 |
+
opacity : 0.5,
|
59 |
+
cursor : 'none'
|
60 |
+
}
|
61 |
+
});
|
62 |
+
|
63 |
+
if( ! qv_modal.hasClass( 'loading' ) ) {
|
64 |
+
qv_modal.addClass('loading');
|
65 |
+
}
|
66 |
+
|
67 |
+
// stop loader
|
68 |
+
$(document).trigger( 'qv_loading' );
|
69 |
+
}
|
70 |
+
ajax_call( t, product_id, is_blocked );
|
71 |
+
});
|
72 |
+
};
|
73 |
+
|
74 |
+
/*================
|
75 |
+
* MAIN AJAX CALL
|
76 |
+
================*/
|
77 |
+
|
78 |
+
var ajax_call = function( t, product_id, is_blocked ) {
|
79 |
+
|
80 |
+
$.ajax({
|
81 |
+
url: yith_qv.ajaxurl,
|
82 |
+
data: {
|
83 |
+
action: 'yith_load_product_quick_view',
|
84 |
+
product_id: product_id,
|
85 |
+
lang: yith_qv.lang,
|
86 |
+
context: 'frontend',
|
87 |
+
},
|
88 |
+
dataType: 'json',
|
89 |
+
type: 'POST',
|
90 |
+
success: function (data) {
|
91 |
+
|
92 |
+
qv_content.html(data.html);
|
93 |
+
|
94 |
+
// Variation Form
|
95 |
+
var form_variation = qv_content.find('.variations_form');
|
96 |
+
form_variation.each( function() {
|
97 |
+
$( this ).wc_variation_form();
|
98 |
+
// add Color and Label Integration
|
99 |
+
if( typeof $.fn.yith_wccl !== 'undefined' ) {
|
100 |
+
$(this).yith_wccl();
|
101 |
+
}
|
102 |
+
else if( typeof $.yith_wccl != 'undefined' && data.prod_attr ) {
|
103 |
+
|
104 |
+
$.yith_wccl( data.prod_attr );
|
105 |
+
}
|
106 |
+
});
|
107 |
+
|
108 |
+
form_variation.trigger( 'check_variations' );
|
109 |
+
form_variation.trigger( 'reset_image' );
|
110 |
+
|
111 |
+
if( typeof $.fn.wc_product_gallery !== 'undefined' ) {
|
112 |
+
qv_content.find('.woocommerce-product-gallery').each(function () {
|
113 |
+
$(this).wc_product_gallery();
|
114 |
+
});
|
115 |
+
}
|
116 |
+
|
117 |
+
if (!qv_modal.hasClass('open')) {
|
118 |
+
qv_modal.removeClass('loading').addClass('open');
|
119 |
+
if (is_blocked)
|
120 |
+
t.unblock();
|
121 |
+
}
|
122 |
+
|
123 |
+
// stop loader
|
124 |
+
$(document).trigger('qv_loader_stop');
|
125 |
+
|
126 |
+
}
|
127 |
+
});
|
128 |
+
};
|
129 |
+
|
130 |
+
/*===================
|
131 |
+
* CLOSE QUICK VIEW
|
132 |
+
===================*/
|
133 |
+
|
134 |
+
var close_modal_qv = function() {
|
135 |
+
|
136 |
+
// Close box by click overlay
|
137 |
+
qv_overlay.on( 'click', function(e){
|
138 |
+
close_qv();
|
139 |
+
});
|
140 |
+
// Close box with esc key
|
141 |
+
$(document).keyup(function(e){
|
142 |
+
if( e.keyCode === 27 )
|
143 |
+
close_qv();
|
144 |
+
});
|
145 |
+
// Close box by click close button
|
146 |
+
qv_close.on( 'click', function(e) {
|
147 |
+
e.preventDefault();
|
148 |
+
close_qv();
|
149 |
+
});
|
150 |
+
|
151 |
+
var close_qv = function() {
|
152 |
+
qv_modal.removeClass('open').removeClass('loading');
|
153 |
+
|
154 |
+
setTimeout(function () {
|
155 |
+
qv_content.html('');
|
156 |
+
}, 1000);
|
157 |
+
}
|
158 |
+
};
|
159 |
+
|
160 |
+
close_modal_qv();
|
161 |
+
|
162 |
+
|
163 |
+
center_modal();
|
164 |
+
$( window ).on( 'resize', center_modal );
|
165 |
+
|
166 |
+
// START
|
167 |
+
$.fn.yith_quick_view();
|
168 |
+
|
169 |
+
$( document ).on( 'yith_infs_adding_elem yith-wcan-ajax-filtered', function(){
|
170 |
+
// RESTART
|
171 |
+
$.fn.yith_quick_view();
|
172 |
+
});
|
173 |
+
|
174 |
});
|
init.php
CHANGED
@@ -3,13 +3,13 @@
|
|
3 |
* Plugin Name: YITH WooCommerce Quick View
|
4 |
* Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-quick-view
|
5 |
* Description: The <code><strong>YITH WooCommerce Quick View</strong></code> plugin allows your customers to have a quick look about products. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>.
|
6 |
-
* Version: 1.
|
7 |
* Author: YITH
|
8 |
* Author URI: https://yithemes.com/
|
9 |
* Text Domain: yith-woocommerce-quick-view
|
10 |
* Domain Path: /languages/
|
11 |
-
* WC requires at least:
|
12 |
-
* WC tested up to: 7.
|
13 |
*
|
14 |
* @author YITH
|
15 |
* @package YITH WooCommerce Quick View
|
@@ -75,7 +75,7 @@ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
|
|
75 |
|
76 |
|
77 |
if ( ! defined( 'YITH_WCQV_VERSION' ) ) {
|
78 |
-
define( 'YITH_WCQV_VERSION', '1.
|
79 |
}
|
80 |
|
81 |
if ( ! defined( 'YITH_WCQV_FREE_INIT' ) ) {
|
3 |
* Plugin Name: YITH WooCommerce Quick View
|
4 |
* Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-quick-view
|
5 |
* Description: The <code><strong>YITH WooCommerce Quick View</strong></code> plugin allows your customers to have a quick look about products. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>.
|
6 |
+
* Version: 1.22.0
|
7 |
* Author: YITH
|
8 |
* Author URI: https://yithemes.com/
|
9 |
* Text Domain: yith-woocommerce-quick-view
|
10 |
* Domain Path: /languages/
|
11 |
+
* WC requires at least: 7.0
|
12 |
+
* WC tested up to: 7.2
|
13 |
*
|
14 |
* @author YITH
|
15 |
* @package YITH WooCommerce Quick View
|
75 |
|
76 |
|
77 |
if ( ! defined( 'YITH_WCQV_VERSION' ) ) {
|
78 |
+
define( 'YITH_WCQV_VERSION', '1.22.0' );
|
79 |
}
|
80 |
|
81 |
if ( ! defined( 'YITH_WCQV_FREE_INIT' ) ) {
|
license.txt
CHANGED
File without changes
|
plugin-fw/.distignore
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Hidden files and folders
|
2 |
+
.*
|
3 |
+
.*/
|
4 |
+
*/.*
|
5 |
+
|
6 |
+
# NPM, composer, grunt and other utilities
|
7 |
+
*.lock
|
8 |
+
node_modules
|
9 |
+
vendor
|
10 |
+
package.json
|
11 |
+
package-lock.json
|
12 |
+
composer.json
|
13 |
+
Gruntfile.js
|
14 |
+
|
15 |
+
# Local environment and scripts
|
16 |
+
bin
|
17 |
+
tests
|
18 |
+
tools
|
19 |
+
docker-compose.yml
|
20 |
+
docker-compose.yaml
|
21 |
+
phpunit.xml
|
22 |
+
phpunit.xml.dist
|
23 |
+
phpcs.xml.dist
|
24 |
+
|
25 |
+
# Gutenberg blocks sources
|
26 |
+
includes/builders/gutenberg/src
|
27 |
+
|
28 |
+
# SCSS folder
|
29 |
+
assets/css/scss
|
plugin-fw/.jshintrc
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"boss": true,
|
3 |
+
"curly": true,
|
4 |
+
"eqeqeq": true,
|
5 |
+
"eqnull": true,
|
6 |
+
"es3": true,
|
7 |
+
"expr": true,
|
8 |
+
"immed": true,
|
9 |
+
"noarg": true,
|
10 |
+
"onevar": true,
|
11 |
+
"trailing": true,
|
12 |
+
"undef": true,
|
13 |
+
"unused": true,
|
14 |
+
|
15 |
+
"browser": true,
|
16 |
+
|
17 |
+
"globals": {
|
18 |
+
"_": false,
|
19 |
+
"Backbone": false,
|
20 |
+
"jQuery": true,
|
21 |
+
"console": true,
|
22 |
+
"alert": true,
|
23 |
+
"JSON": false,
|
24 |
+
"wp": false
|
25 |
+
}
|
26 |
+
}
|
plugin-fw/.nvmrc
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
v12
|
plugin-fw/assets/css/elementor.css
CHANGED
File without changes
|
plugin-fw/assets/css/jquery-ui/images/ui-bg_flat_0_aaaaaa_40x100.png
CHANGED
File without changes
|
plugin-fw/assets/css/jquery-ui/images/ui-bg_flat_75_ffffff_40x100.png
CHANGED
File without changes
|
plugin-fw/assets/css/jquery-ui/images/ui-bg_glass_55_fbf9ee_1x400.png
CHANGED
File without changes
|
plugin-fw/assets/css/jquery-ui/images/ui-bg_glass_65_ffffff_1x400.png
CHANGED
File without changes
|
plugin-fw/assets/css/jquery-ui/images/ui-bg_glass_75_dadada_1x400.png
CHANGED
File without changes
|
plugin-fw/assets/css/jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png
CHANGED
File without changes
|
plugin-fw/assets/css/jquery-ui/images/ui-bg_glass_95_fef1ec_1x400.png
CHANGED
File without changes
|
plugin-fw/assets/css/jquery-ui/images/ui-bg_highlight-soft_75_cccccc_1x100.png
CHANGED
File without changes
|
plugin-fw/assets/css/jquery-ui/images/ui-icons_222222_256x240.png
CHANGED
File without changes
|
plugin-fw/assets/css/jquery-ui/images/ui-icons_2e83ff_256x240.png
CHANGED
File without changes
|
plugin-fw/assets/css/jquery-ui/images/ui-icons_454545_256x240.png
CHANGED
File without changes
|
plugin-fw/assets/css/jquery-ui/images/ui-icons_888888_256x240.png
CHANGED
File without changes
|
plugin-fw/assets/css/jquery-ui/images/ui-icons_cd0a0a_256x240.png
CHANGED
File without changes
|
plugin-fw/assets/css/jquery-ui/jquery-ui.min.css
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
-
/*! jQuery UI - v1.11.4 - 2015-03-11
|
2 |
-
* http://jqueryui.com
|
3 |
-
* Includes: core.css, accordion.css, autocomplete.css, button.css, datepicker.css, dialog.css, draggable.css, menu.css, progressbar.css, resizable.css, selectable.css, selectmenu.css, slider.css, sortable.css, spinner.css, tabs.css, tooltip.css, theme.css
|
4 |
-
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2Csans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=highlight_soft&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=flat&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=glass&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=glass&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=glass&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=glass&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
|
5 |
-
* Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */
|
6 |
-
|
7 |
.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin:2px 0 0 0;padding:.5em .5em .5em .7em;min-height:0;font-size:100%}.ui-accordion .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-button{display:inline-block;position:relative;padding:0;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:normal}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-dialog{overflow:hidden;position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-draggable-handle{-ms-touch-action:none;touch-action:none}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:none}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{position:relative;margin:0;padding:3px 1em 3px .4em;cursor:pointer;min-height:0;list-style-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAAC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52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");height:100%;filter:alpha(opacity=25);opacity:0.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block;-ms-touch-action:none;touch-action:none}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable{-ms-touch-action:none;touch-action:none}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-selectmenu-menu{padding:0;margin:0;position:absolute;top:0;left:0;display:none}.ui-selectmenu-menu .ui-menu{overflow:auto;overflow-x:hidden;padding-bottom:1px}.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup{font-size:1em;font-weight:bold;line-height:1.5;padding:2px 0.4em;margin:0.5em 0 0 0;height:auto;border:0}.ui-selectmenu-open{display:block}.ui-selectmenu-button{display:inline-block;overflow:hidden;position:relative;text-decoration:none;cursor:pointer}.ui-selectmenu-button span.ui-icon{right:0.5em;left:auto;margin-top:-8px;position:absolute;top:50%}.ui-selectmenu-button span.ui-selectmenu-text{text-align:left;padding:0.4em 2.1em 0.4em 1em;display:block;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{-webkit-filter:inherit;filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-sortable-handle{-ms-touch-action:none;touch-action:none}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;color:inherit;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:none;border-bottom:none;border-right:none}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #aaa;background:#fff url("images/ui-bg_flat_75_ffffff_40x100.png") 50% 50% repeat-x;color:#222}.ui-widget-content a{color:#222}.ui-widget-header{border:1px solid #aaa;background:#ccc url("images/ui-bg_highlight-soft_75_cccccc_1x100.png") 50% 50% repeat-x;color:#222;font-weight:bold}.ui-widget-header a{color:#222}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6 url("images/ui-bg_glass_75_e6e6e6_1x400.png") 50% 50% repeat-x;font-weight:normal;color:#555}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #999;background:#dadada url("images/ui-bg_glass_75_dadada_1x400.png") 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#212121;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaa;background:#fff url("images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url("images/ui-bg_glass_55_fbf9ee_1x400.png") 50% 50% repeat-x;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec url("images/ui-bg_glass_95_fef1ec_1x400.png") 50% 50% repeat-x;color:#cd0a0a}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#cd0a0a}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#cd0a0a}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("images/ui-icons_222222_256x240.png")}.ui-widget-header .ui-icon{background-image:url("images/ui-icons_222222_256x240.png")}.ui-state-default .ui-icon{background-image:url("images/ui-icons_888888_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url("images/ui-icons_454545_256x240.png")}.ui-state-active .ui-icon{background-image:url("images/ui-icons_454545_256x240.png")}.ui-state-highlight .ui-icon{background-image:url("images/ui-icons_2e83ff_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("images/ui-icons_cd0a0a_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:4px}.ui-widget-overlay{background:#aaa url("images/ui-bg_flat_0_aaaaaa_40x100.png") 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa url("images/ui-bg_flat_0_aaaaaa_40x100.png") 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30);border-radius:8px}
|
1 |
+
/*! jQuery UI - v1.11.4 - 2015-03-11
|
2 |
+
* http://jqueryui.com
|
3 |
+
* Includes: core.css, accordion.css, autocomplete.css, button.css, datepicker.css, dialog.css, draggable.css, menu.css, progressbar.css, resizable.css, selectable.css, selectmenu.css, slider.css, sortable.css, spinner.css, tabs.css, tooltip.css, theme.css
|
4 |
+
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2Csans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=highlight_soft&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=flat&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=glass&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=glass&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=glass&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=glass&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
|
5 |
+
* Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */
|
6 |
+
|
7 |
.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin:2px 0 0 0;padding:.5em .5em .5em .7em;min-height:0;font-size:100%}.ui-accordion .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-button{display:inline-block;position:relative;padding:0;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:normal}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-dialog{overflow:hidden;position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-draggable-handle{-ms-touch-action:none;touch-action:none}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:none}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{position:relative;margin:0;padding:3px 1em 3px .4em;cursor:pointer;min-height:0;list-style-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuB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A6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");height:100%;filter:alpha(opacity=25);opacity:0.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block;-ms-touch-action:none;touch-action:none}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable{-ms-touch-action:none;touch-action:none}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-selectmenu-menu{padding:0;margin:0;position:absolute;top:0;left:0;display:none}.ui-selectmenu-menu .ui-menu{overflow:auto;overflow-x:hidden;padding-bottom:1px}.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup{font-size:1em;font-weight:bold;line-height:1.5;padding:2px 0.4em;margin:0.5em 0 0 0;height:auto;border:0}.ui-selectmenu-open{display:block}.ui-selectmenu-button{display:inline-block;overflow:hidden;position:relative;text-decoration:none;cursor:pointer}.ui-selectmenu-button span.ui-icon{right:0.5em;left:auto;margin-top:-8px;position:absolute;top:50%}.ui-selectmenu-button span.ui-selectmenu-text{text-align:left;padding:0.4em 2.1em 0.4em 1em;display:block;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{-webkit-filter:inherit;filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-sortable-handle{-ms-touch-action:none;touch-action:none}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;color:inherit;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:none;border-bottom:none;border-right:none}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #aaa;background:#fff url("images/ui-bg_flat_75_ffffff_40x100.png") 50% 50% repeat-x;color:#222}.ui-widget-content a{color:#222}.ui-widget-header{border:1px solid #aaa;background:#ccc url("images/ui-bg_highlight-soft_75_cccccc_1x100.png") 50% 50% repeat-x;color:#222;font-weight:bold}.ui-widget-header a{color:#222}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6 url("images/ui-bg_glass_75_e6e6e6_1x400.png") 50% 50% repeat-x;font-weight:normal;color:#555}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #999;background:#dadada url("images/ui-bg_glass_75_dadada_1x400.png") 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#212121;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaa;background:#fff url("images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url("images/ui-bg_glass_55_fbf9ee_1x400.png") 50% 50% repeat-x;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec url("images/ui-bg_glass_95_fef1ec_1x400.png") 50% 50% repeat-x;color:#cd0a0a}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#cd0a0a}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#cd0a0a}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("images/ui-icons_222222_256x240.png")}.ui-widget-header .ui-icon{background-image:url("images/ui-icons_222222_256x240.png")}.ui-state-default .ui-icon{background-image:url("images/ui-icons_888888_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url("images/ui-icons_454545_256x240.png")}.ui-state-active .ui-icon{background-image:url("images/ui-icons_454545_256x240.png")}.ui-state-highlight .ui-icon{background-image:url("images/ui-icons_2e83ff_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("images/ui-icons_cd0a0a_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:4px}.ui-widget-overlay{background:#aaa url("images/ui-bg_flat_0_aaaaaa_40x100.png") 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa url("images/ui-bg_flat_0_aaaaaa_40x100.png") 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30);border-radius:8px}
|
plugin-fw/assets/css/scss/welcome-modal.scss
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Welcome Modal.
|
3 |
+
*/
|
4 |
+
.yith-plugin-fw-welcome-modal {
|
5 |
+
.yith-plugin-fw__modal__content {
|
6 |
+
padding-bottom : 0;
|
7 |
+
}
|
8 |
+
|
9 |
+
.yith-plugin-fw__modal__footer {
|
10 |
+
background : transparent;
|
11 |
+
text-align : center;
|
12 |
+
}
|
13 |
+
|
14 |
+
}
|
15 |
+
|
16 |
+
.yith-plugin-fw-welcome {
|
17 |
+
line-height : 1.5em;
|
18 |
+
|
19 |
+
a {
|
20 |
+
color : var(--yith-link);
|
21 |
+
}
|
22 |
+
|
23 |
+
.yith-plugin-fw-welcome__head {
|
24 |
+
text-align : center;
|
25 |
+
}
|
26 |
+
|
27 |
+
.yith-plugin-fw-welcome__icon {
|
28 |
+
width : 60px;
|
29 |
+
}
|
30 |
+
|
31 |
+
.yith-plugin-fw-welcome__title {
|
32 |
+
color : #03689f;
|
33 |
+
font-size : 18px;
|
34 |
+
line-height : 2em;
|
35 |
+
}
|
36 |
+
|
37 |
+
.yith-plugin-fw-welcome__description {
|
38 |
+
margin : 15px 0 25px;
|
39 |
+
}
|
40 |
+
|
41 |
+
.yith-plugin-fw-welcome__title__plugin-name {
|
42 |
+
font-weight : 700;
|
43 |
+
}
|
44 |
+
|
45 |
+
.yith-plugin-fw-welcome__list-head {
|
46 |
+
display : flex;
|
47 |
+
align-items : center;
|
48 |
+
}
|
49 |
+
|
50 |
+
.yith-plugin-fw-welcome__list-head__title {
|
51 |
+
font-size : 1.2em;
|
52 |
+
font-weight : 700;
|
53 |
+
flex : 1;
|
54 |
+
}
|
55 |
+
|
56 |
+
.yith-plugin-fw-welcome__list-head__changelog {
|
57 |
+
font-size : .85em;
|
58 |
+
text-decoration : none;
|
59 |
+
font-weight : 500;
|
60 |
+
}
|
61 |
+
|
62 |
+
&.yith-plugin-fw-welcome--update {
|
63 |
+
.yith-plugin-fw-welcome__list-head {
|
64 |
+
margin-top : 30px;
|
65 |
+
}
|
66 |
+
}
|
67 |
+
}
|
68 |
+
|
69 |
+
.yith-plugin-fw-welcome__close {
|
70 |
+
color : var(--yith-link);
|
71 |
+
cursor : pointer;
|
72 |
+
font-size : .9em;
|
73 |
+
display : inline-block;
|
74 |
+
padding : 5px 10px;
|
75 |
+
text-decoration : none;
|
76 |
+
font-weight : 500;
|
77 |
+
}
|
plugin-fw/assets/css/scss/yith-plugin-ui.scss
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@import "yith-plugin-ui/head_comment";
|
2 |
+
|
3 |
+
@import "yith-plugin-ui/variables";
|
4 |
+
@import "yith-plugin-ui/wp-pages";
|
5 |
+
@import "yith-plugin-ui/taxonomy";
|
6 |
+
@import "yith-plugin-ui/components";
|
7 |
+
@import "yith-plugin-ui/tables";
|
8 |
+
@import "yith-plugin-ui/animations";
|
plugin-fw/assets/css/scss/yith-plugin-ui/_animations.scss
ADDED
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* YITH Animations
|
3 |
+
*/
|
4 |
+
|
5 |
+
.yith-plugin-fw-animate__appear-from-bottom{
|
6 |
+
animation: yith-plugin-fw-appear-from-bottom .3s forwards;
|
7 |
+
}
|
8 |
+
|
9 |
+
.yith-plugin-fw-animate__appear-from-top{
|
10 |
+
animation: yith-plugin-fw-appear-from-top .3s forwards;
|
11 |
+
}
|
12 |
+
|
13 |
+
.yith-plugin-fw-animate__fade-in{
|
14 |
+
animation: yith-plugin-fw-fade-in .3s forwards;
|
15 |
+
}
|
16 |
+
|
17 |
+
|
18 |
+
@-webkit-keyframes yith-plugin-fw-appear-from-top {
|
19 |
+
from {
|
20 |
+
opacity: 0;
|
21 |
+
transform: translateY(-30%);
|
22 |
+
-webkit-transform: translateY(-30%);
|
23 |
+
}
|
24 |
+
|
25 |
+
to {
|
26 |
+
opacity: 1;
|
27 |
+
transform: translateY(0);
|
28 |
+
-webkit-transform: translateY(0);
|
29 |
+
}
|
30 |
+
}
|
31 |
+
|
32 |
+
@keyframes yith-plugin-fw-appear-from-top {
|
33 |
+
from {
|
34 |
+
opacity: 0;
|
35 |
+
transform: translateY(-30%);
|
36 |
+
-webkit-transform: translateY(-30%);
|
37 |
+
}
|
38 |
+
|
39 |
+
to {
|
40 |
+
opacity: 1;
|
41 |
+
transform: translateY(0);
|
42 |
+
-webkit-transform: translateY(0);
|
43 |
+
}
|
44 |
+
}
|
45 |
+
|
46 |
+
@-webkit-keyframes yith-plugin-fw-appear-from-bottom {
|
47 |
+
from {
|
48 |
+
opacity: 0;
|
49 |
+
transform: translateY(+30%);
|
50 |
+
-webkit-transform: translateY(+30%);
|
51 |
+
}
|
52 |
+
|
53 |
+
to {
|
54 |
+
opacity: 1;
|
55 |
+
transform: translateY(0);
|
56 |
+
-webkit-transform: translateY(0);
|
57 |
+
}
|
58 |
+
}
|
59 |
+
|
60 |
+
@keyframes yith-plugin-fw-appear-from-bottom {
|
61 |
+
from {
|
62 |
+
opacity: 0;
|
63 |
+
transform: translateY(+30%);
|
64 |
+
-webkit-transform: translateY(+30%);
|
65 |
+
}
|
66 |
+
|
67 |
+
to {
|
68 |
+
opacity: 1;
|
69 |
+
transform: translateY(0);
|
70 |
+
-webkit-transform: translateY(0);
|
71 |
+
}
|
72 |
+
}
|
73 |
+
|
74 |
+
@-webkit-keyframes yith-plugin-fw-fade-in {
|
75 |
+
from {
|
76 |
+
opacity: 0;
|
77 |
+
}
|
78 |
+
|
79 |
+
to {
|
80 |
+
opacity: 1;
|
81 |
+
}
|
82 |
+
}
|
83 |
+
|
84 |
+
@keyframes yith-plugin-fw-fade-in {
|
85 |
+
from {
|
86 |
+
opacity: 0;
|
87 |
+
}
|
88 |
+
|
89 |
+
to {
|
90 |
+
opacity: 1;
|
91 |
+
}
|
92 |
+
}
|
plugin-fw/assets/css/scss/yith-plugin-ui/_components.scss
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* YITH Plugin UI - Components
|
3 |
+
*/
|
4 |
+
|
5 |
+
@import "components/action-button";
|
6 |
+
@import "components/buttons";
|
7 |
+
@import "components/boxed-row";
|
8 |
+
@import "components/confirm";
|
9 |
+
@import "components/list-items";
|
10 |
+
@import "components/list-table-blank-state";
|
11 |
+
@import "components/modal";
|
12 |
+
@import "components/tip-tip";
|
13 |
+
@import "components/tabs";
|
plugin-fw/assets/css/scss/yith-plugin-ui/_head_comment.scss
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* YITH Plugin UI style
|
3 |
+
*
|
4 |
+
* IMPORTANT: This file is automatically generated through SCSS files.
|
5 |
+
* Please don't edit it manually!
|
6 |
+
*/
|
plugin-fw/assets/css/scss/yith-plugin-ui/_tables.scss
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* YITH Plugin UI - Post Type Style
|
3 |
+
*/
|
4 |
+
|
5 |
+
@import "mixins/tables";
|
6 |
+
|
7 |
+
table.yith-plugin-fw__classic-table {
|
8 |
+
@include classic-table;
|
9 |
+
|
10 |
+
&.wp-list-table{
|
11 |
+
@include wp-table-commons;
|
12 |
+
}
|
13 |
+
}
|
14 |
+
|
15 |
+
table.yith-plugin-fw__boxed-table {
|
16 |
+
@include boxed-table;
|
17 |
+
|
18 |
+
&.wp-list-table{
|
19 |
+
@include wp-table-commons;
|
20 |
+
}
|
21 |
+
}
|
22 |
+
|
23 |
+
// WP List Tables
|
24 |
+
.yith-plugin-ui--classic-wp-list-style, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style {
|
25 |
+
|
26 |
+
table.wp-list-table {
|
27 |
+
@include classic-table;
|
28 |
+
|
29 |
+
@include wp-table-commons;
|
30 |
+
}
|
31 |
+
|
32 |
+
.tablenav.bottom {
|
33 |
+
display: none;
|
34 |
+
|
35 |
+
.yith-plugin-fw__list-table-blank-state {
|
36 |
+
display: flex;
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
|
41 |
+
.yith-plugin-ui--boxed-wp-list-style, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style {
|
42 |
+
|
43 |
+
table.wp-list-table {
|
44 |
+
@include boxed-table;
|
45 |
+
|
46 |
+
@include wp-table-commons;
|
47 |
+
}
|
48 |
+
|
49 |
+
.tablenav.bottom {
|
50 |
+
display: none;
|
51 |
+
|
52 |
+
.yith-plugin-fw__list-table-blank-state {
|
53 |
+
display: flex;
|
54 |
+
}
|
55 |
+
}
|
56 |
+
}
|
plugin-fw/assets/css/scss/yith-plugin-ui/_taxonomy.scss
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* YITH Plugin UI - Taxonomy Style
|
3 |
+
*/
|
4 |
+
|
5 |
+
.yith-plugin-ui.yith-plugin-ui--taxonomy-type, .yith-plugin-ui--taxonomy-type {
|
6 |
+
|
7 |
+
// List
|
8 |
+
|
9 |
+
#col-container {
|
10 |
+
display: flex;
|
11 |
+
}
|
12 |
+
|
13 |
+
#col-left {
|
14 |
+
padding: 20px;
|
15 |
+
background: #f1f1f1;
|
16 |
+
border-radius: 8px;
|
17 |
+
box-sizing: border-box;
|
18 |
+
margin-right: 15px;
|
19 |
+
}
|
20 |
+
|
21 |
+
#col-right {
|
22 |
+
flex: 1;
|
23 |
+
}
|
24 |
+
|
25 |
+
h2 {
|
26 |
+
border: none;
|
27 |
+
padding: 0;
|
28 |
+
font-size: 14px;
|
29 |
+
background: transparent;
|
30 |
+
}
|
31 |
+
|
32 |
+
// Edit Tax
|
33 |
+
.wrap h1 {
|
34 |
+
color: #2a8db0;
|
35 |
+
font-size: 16px;
|
36 |
+
font-weight: 600;
|
37 |
+
}
|
38 |
+
}
|
39 |
+
|
40 |
+
@media screen and (max-width: 782px) {
|
41 |
+
.yith-plugin-ui.yith-plugin-ui--taxonomy-type {
|
42 |
+
#col-container {
|
43 |
+
display: block;
|
44 |
+
}
|
45 |
+
|
46 |
+
#col-left, #col-right {
|
47 |
+
float: none;
|
48 |
+
width: 100%;
|
49 |
+
}
|
50 |
+
}
|
51 |
+
}
|
52 |
+
|
plugin-fw/assets/css/scss/yith-plugin-ui/_variables.scss
ADDED
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* YITH CSS Variables
|
3 |
+
*/
|
4 |
+
|
5 |
+
$content_bg: #ffffff; // Content Background.
|
6 |
+
$content_text: #3c434a; // Content Text.
|
7 |
+
|
8 |
+
$primary: #00799f; // Primary color, for buttons
|
9 |
+
$primary_hover: #0094c4; // Primary hover color, for buttons
|
10 |
+
$primary_focus: #bddce6; // Primary focus color, for buttons
|
11 |
+
$primary_text: #ffffff; // Text on primary color bg
|
12 |
+
|
13 |
+
$delete: #c41d04; // color for delete buttons
|
14 |
+
$delete_hover: lighten($delete, 5%); // color for delete buttons - hover
|
15 |
+
$delete_text: #ffffff; // Text on delete buttons
|
16 |
+
$delete_focus: #f0d2cd; // Delete focus color, for buttons
|
17 |
+
|
18 |
+
// Outline is used to stylize Secondary buttons.
|
19 |
+
$outline_text: #0087b3; // outline button - text color
|
20 |
+
$outline_border: #0094c4; // outline button - border color
|
21 |
+
$outline_bg: rgba(255, 255, 255, 0); // outline button - background color
|
22 |
+
$outline_bg_hover: rgba(157, 198, 205, .2); // outline button - background color on hover
|
23 |
+
$outline_border_hover: #007ba3; // outline button - border color on hover
|
24 |
+
$outline_focus: #dfeef2; // Outline focus color, for buttons
|
25 |
+
|
26 |
+
$delete_outline_text: $delete; // Delete-outline button - text color
|
27 |
+
$delete_outline_border: $delete; // Delete-outline button - border color
|
28 |
+
$delete_outline_bg: rgba(205, 157, 157, 0); // Delete-outline button - background color
|
29 |
+
$delete_outline_bg_hover: rgba(232, 184, 184, 0.15); // Delete-outline button - background color on hover
|
30 |
+
$delete_outline_border_hover: #db2b11; // Delete-outline button - border color on hover
|
31 |
+
$delete_outline_focus: #ffe9e7; // Delete-outline focus color, for buttons
|
32 |
+
|
33 |
+
$update: #94aa09; // Update button - background
|
34 |
+
$update_hover: darken($update, 5%); // Update button - hover
|
35 |
+
$update_text: #ffffff; // Text on update button background
|
36 |
+
$update_focus: #e7eccc; // Text on update button background
|
37 |
+
|
38 |
+
$accent: #98aa36;
|
39 |
+
|
40 |
+
$light_bg: #f5fafc;
|
41 |
+
$light_border_color: #d7e3e7;
|
42 |
+
$light_shadow: rgba(145, 191, 227, 0.11);
|
43 |
+
$light_accent: #0073aa;
|
44 |
+
|
45 |
+
$success: #98aa36;
|
46 |
+
$success_light: lighten($success, 30%);
|
47 |
+
$success_lighter: lighten($success, 43%);
|
48 |
+
$success_lightest: lighten($success, 50%);
|
49 |
+
|
50 |
+
|
51 |
+
$table_row_highlight: #f0f6fb;
|
52 |
+
$table_row_striped: #f6f7f7;
|
53 |
+
$table_border_light: #eff0f0;
|
54 |
+
|
55 |
+
$field_border_color: #d8d8d8;
|
56 |
+
$field_border_weight: 1px;
|
57 |
+
$field_border: $field_border_weight solid $field_border_color;
|
58 |
+
|
59 |
+
$link: #0079b0; // Link Color.
|
60 |
+
|
61 |
+
// Extra variables: these will be not converted to CSS Variables
|
62 |
+
$wp_menu_size: 160px;
|
63 |
+
$wp_menu_folded_size: 36px;
|
64 |
+
$wp_menu_mobile_size: 190px;
|
65 |
+
$wp_top_bar_size: 32px;
|
66 |
+
$wp_top_bar_mobile_size: 46px;
|
67 |
+
|
68 |
+
// export vars as CSS vars
|
69 |
+
:root {
|
70 |
+
--yith-content-bg: #{$content_bg};
|
71 |
+
--yith-content-text: #{$content_text};
|
72 |
+
--yith-primary: #{$primary};
|
73 |
+
--yith-primary-hover: #{$primary_hover};
|
74 |
+
--yith-primary-focus: #{$primary_focus};
|
75 |
+
--yith-primary-text: #{$primary_text};
|
76 |
+
|
77 |
+
--yith-delete: #{$delete};
|
78 |
+
--yith-delete-hover: #{$delete_hover};
|
79 |
+
--yith-delete-text: #{$delete_text};
|
80 |
+
--yith-delete-focus: #{$delete_focus};
|
81 |
+
|
82 |
+
--yith-update: #{$update};
|
83 |
+
--yith-update-hover: #{$update_hover};
|
84 |
+
--yith-update-text: #{$update_text};
|
85 |
+
--yith-update-focus: #{$update_focus};
|
86 |
+
|
87 |
+
--yith-outline-text: #{$outline_text};
|
88 |
+
--yith-outline-border: #{$outline_border};
|
89 |
+
--yith-outline-bg: #{$outline_bg};
|
90 |
+
--yith-outline-bg-hover: #{$outline_bg_hover};
|
91 |
+
--yith-outline-border-hover: #{$outline_border_hover};
|
92 |
+
--yith-outline-focus: #{$outline_focus};
|
93 |
+
|
94 |
+
--yith-delete-outline-text: #{$delete_outline_text};
|
95 |
+
--yith-delete-outline-border: #{$delete_outline_border};
|
96 |
+
--yith-delete-outline-bg: #{$delete_outline_bg};
|
97 |
+
--yith-delete-outline-bg-hover: #{$delete_outline_bg_hover};
|
98 |
+
--yith-delete-outline-border-hover: #{$delete_outline_border_hover};
|
99 |
+
--yith-delete-outline-focus: #{$delete_outline_focus};
|
100 |
+
|
101 |
+
--yith-accent: #{$accent};
|
102 |
+
|
103 |
+
--yith-light-bg: #{$light_bg};
|
104 |
+
--yith-light-border-color: #{$light_border_color};
|
105 |
+
--yith-light-shadow: #{$light_shadow};
|
106 |
+
--yith-light-accent: #{$light_accent};
|
107 |
+
|
108 |
+
--yith-success: #{$success};
|
109 |
+
--yith-success-light: #{$success_light};
|
110 |
+
--yith-success-lighter: #{$success_lighter};
|
111 |
+
--yith-success-lightest: #{$success_lightest};
|
112 |
+
|
113 |
+
--yith-table-row-highlight: #{$table_row_highlight};
|
114 |
+
--yith-table-row-striped: #{$table_row_striped};
|
115 |
+
--yith-table-border-light: #{$table_border_light};
|
116 |
+
|
117 |
+
--yith-field-border-color: #{$field_border_color};
|
118 |
+
--yith-field-border-weight: #{$field_border_color};
|
119 |
+
--yith-field-border: #{$field_border};
|
120 |
+
--yith-link: #{$link};
|
121 |
+
}
|
plugin-fw/assets/css/scss/yith-plugin-ui/_wp-pages.scss
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* YITH Plugin UI - WP Pages
|
3 |
+
*/
|
4 |
+
|
5 |
+
.yith-plugin-fw-wp-page-wrapper {
|
6 |
+
|
7 |
+
.yith-plugin-fw__back-to-wp-list__wrapper {
|
8 |
+
margin: -5px 0 15px;
|
9 |
+
|
10 |
+
.yith-plugin-fw__back-to-wp-list {
|
11 |
+
text-decoration: none;
|
12 |
+
font-weight: 600;
|
13 |
+
text-transform: uppercase;
|
14 |
+
color: var(--yith-link);
|
15 |
+
vertical-align: middle;
|
16 |
+
|
17 |
+
&:before {
|
18 |
+
content: "\e901";
|
19 |
+
font-family: yith-icon;
|
20 |
+
margin-right: 5px;
|
21 |
+
font-size: .8em;
|
22 |
+
vertical-align: middle;
|
23 |
+
}
|
24 |
+
}
|
25 |
+
}
|
26 |
+
|
27 |
+
.wrap div#message.updated {
|
28 |
+
display: none;
|
29 |
+
padding: 15px 40px 15px 45px;
|
30 |
+
margin: 15px 0 20px;
|
31 |
+
border-radius: 5px;
|
32 |
+
background: var(--yith-success-lightest);
|
33 |
+
border: 1px solid var(--yith-success-light);
|
34 |
+
font-weight: 600;
|
35 |
+
font-size: 14px;
|
36 |
+
text-align: left;
|
37 |
+
color: var(--yith-content-text);
|
38 |
+
box-shadow: 1px 1px 2px var(--yith-success-lighter);
|
39 |
+
|
40 |
+
|
41 |
+
&:before {
|
42 |
+
font-family: yith-icon;
|
43 |
+
content: "\e921";
|
44 |
+
position: absolute;
|
45 |
+
top: 50%;
|
46 |
+
left: 13px;
|
47 |
+
font-size: 21px;
|
48 |
+
font-weight: 400;
|
49 |
+
transform: translateY(-50%);
|
50 |
+
color: var(--yith-success);
|
51 |
+
}
|
52 |
+
|
53 |
+
p {
|
54 |
+
padding: 0;
|
55 |
+
margin: 0;
|
56 |
+
}
|
57 |
+
|
58 |
+
.notice-dismiss {
|
59 |
+
position: absolute;
|
60 |
+
top: 50%;
|
61 |
+
right: 10px;
|
62 |
+
transform: translateY(-50%);
|
63 |
+
border-radius: 50%;
|
64 |
+
color: var(--yith-success);
|
65 |
+
padding: 7px;
|
66 |
+
background: transparent;
|
67 |
+
box-shadow: 0 0 0 5px rgba(0, 0, 0, 0);
|
68 |
+
transition: all .3s ease-in-out;
|
69 |
+
|
70 |
+
&:before {
|
71 |
+
font-family: yith-icon;
|
72 |
+
content: "\e906";
|
73 |
+
font-weight: 600;
|
74 |
+
font-size: 12px;
|
75 |
+
color: inherit;
|
76 |
+
}
|
77 |
+
|
78 |
+
&:hover {
|
79 |
+
box-shadow: 0 0 0 0 var(--yith-success-lighter);
|
80 |
+
background: var(--yith-success-lighter);
|
81 |
+
}
|
82 |
+
|
83 |
+
&:hover:before, &:active:before, &:focus:before {
|
84 |
+
color: inherit;
|
85 |
+
}
|
86 |
+
}
|
87 |
+
}
|
88 |
+
}
|
plugin-fw/assets/css/scss/yith-plugin-ui/components/_action-button.scss
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.yith-plugin-ui .yith-plugin-fw__action-button, .yith-plugin-fw__action-button {
|
2 |
+
height: 35px;
|
3 |
+
width: 35px;
|
4 |
+
background-color: var(--yith-content-bg);
|
5 |
+
display: inline-block;
|
6 |
+
border: 0;
|
7 |
+
border-radius: 50%;
|
8 |
+
transition: .3s;
|
9 |
+
cursor: pointer;
|
10 |
+
box-shadow: 0 2px 7px rgba(170, 198, 222, .5);
|
11 |
+
outline: none;
|
12 |
+
position: relative;
|
13 |
+
margin: 0 5px 5px 0;
|
14 |
+
vertical-align: middle;
|
15 |
+
|
16 |
+
.yith-plugin-fw__action-button__link {
|
17 |
+
height: 100%;
|
18 |
+
width: 100%;
|
19 |
+
display: inline-block;
|
20 |
+
}
|
21 |
+
|
22 |
+
.yith-plugin-fw__action-button__icon {
|
23 |
+
position: absolute;
|
24 |
+
color: var(--yith-link);
|
25 |
+
font-size: 17px;
|
26 |
+
top: 50%;
|
27 |
+
left: 50%;
|
28 |
+
transform: translateX(-50%) translateY(-50%);
|
29 |
+
}
|
30 |
+
|
31 |
+
&.yith-plugin-fw__action-button--trash-action .yith-plugin-fw__action-button__icon,
|
32 |
+
&.yith-plugin-fw__action-button--delete-action .yith-plugin-fw__action-button__icon {
|
33 |
+
color: #a10000;
|
34 |
+
}
|
35 |
+
|
36 |
+
.yith-plugin-fw__action-button__menu {
|
37 |
+
position: absolute;
|
38 |
+
display: none;
|
39 |
+
flex-direction: column;
|
40 |
+
width: max-content;
|
41 |
+
right: 0;
|
42 |
+
margin: 5px 0 0 0;
|
43 |
+
padding: 8px 0;
|
44 |
+
background: var(--yith-content-bg);
|
45 |
+
border-radius: 5px;
|
46 |
+
box-shadow: 0 2px 7px rgba(170, 198, 222, .5);
|
47 |
+
z-index: 10;
|
48 |
+
animation: yith-plugin-fw-appear-from-top .3s forwards;
|
49 |
+
}
|
50 |
+
|
51 |
+
.yith-plugin-fw__action-button__menu__item {
|
52 |
+
margin: 0;
|
53 |
+
display: block;
|
54 |
+
padding: 7px 25px;
|
55 |
+
color: var(--yith-content-text);
|
56 |
+
cursor: pointer;
|
57 |
+
text-decoration: none;
|
58 |
+
text-align: right;
|
59 |
+
|
60 |
+
&:hover {
|
61 |
+
color: var(--yith-link);
|
62 |
+
}
|
63 |
+
}
|
64 |
+
|
65 |
+
&.yith-plugin-fw__action-button--has-menu {
|
66 |
+
.yith-plugin-fw__action-button__icon {
|
67 |
+
color: var(--yith-content-text);
|
68 |
+
}
|
69 |
+
|
70 |
+
&.yith-plugin-fw__action-button--opened {
|
71 |
+
.yith-plugin-fw__action-button__icon {
|
72 |
+
color: var(--yith-link);
|
73 |
+
}
|
74 |
+
|
75 |
+
.yith-plugin-fw__action-button__menu {
|
76 |
+
display: flex;
|
77 |
+
}
|
78 |
+
}
|
79 |
+
}
|
80 |
+
}
|
plugin-fw/assets/css/scss/yith-plugin-ui/components/_boxed-row.scss
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
.yith-plugin-fw__boxed-row, .yith-plugin-fw__boxed-row--hover-highlight {
|
3 |
+
background: var(--yith-content-bg);
|
4 |
+
border-radius: 5px;
|
5 |
+
box-shadow: 0 0 0 1px var(--yith-light-border-color), 0 3px 11px 6px var(--yith-light-shadow);
|
6 |
+
transition: background-color .2s ease-in-out;
|
7 |
+
padding: 25px;
|
8 |
+
margin-bottom: 25px;
|
9 |
+
margin-top: 25px;
|
10 |
+
}
|
11 |
+
|
12 |
+
.yith-plugin-fw__boxed-row--hover-highlight:hover {
|
13 |
+
background: var(--yith-table-row-highlight);
|
14 |
+
}
|
plugin-fw/assets/css/scss/yith-plugin-ui/components/_buttons.scss
ADDED
@@ -0,0 +1,224 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@import "../mixins/buttons";
|
2 |
+
|
3 |
+
.yith-plugin-ui, .wp-core-ui .yith-plugin-ui {
|
4 |
+
|
5 |
+
// WordPress Buttons.
|
6 |
+
.button-primary, .button-secondary {
|
7 |
+
border-radius : 3px;
|
8 |
+
text-transform : none;
|
9 |
+
box-shadow : none;
|
10 |
+
border : 1px solid;
|
11 |
+
font-weight : 600;
|
12 |
+
padding : 0 12px;
|
13 |
+
outline : none;
|
14 |
+
height : auto;
|
15 |
+
transition : all ease 0.3s;
|
16 |
+
text-shadow : none;
|
17 |
+
display : inline-block;
|
18 |
+
text-decoration : none;
|
19 |
+
cursor : pointer;
|
20 |
+
white-space : nowrap;
|
21 |
+
|
22 |
+
&:focus {
|
23 |
+
outline : none;
|
24 |
+
box-shadow : none;
|
25 |
+
}
|
26 |
+
|
27 |
+
&.button-small {
|
28 |
+
padding : 0 8px;
|
29 |
+
}
|
30 |
+
}
|
31 |
+
|
32 |
+
.button-secondary {
|
33 |
+
@include button-secondary;
|
34 |
+
}
|
35 |
+
|
36 |
+
.button-primary {
|
37 |
+
@include button-primary;
|
38 |
+
}
|
39 |
+
|
40 |
+
.button.action,
|
41 |
+
#doaction,
|
42 |
+
#doaction2,
|
43 |
+
#post-query-submit,
|
44 |
+
#posts-filter #delete_all,
|
45 |
+
#search-submit,
|
46 |
+
.button.filter-button {
|
47 |
+
@include button;
|
48 |
+
@include button-secondary;
|
49 |
+
height : auto;
|
50 |
+
line-height : 33px;
|
51 |
+
border-radius : 8px;
|
52 |
+
padding : 0 15px;
|
53 |
+
font-weight : 600;
|
54 |
+
}
|
55 |
+
|
56 |
+
#posts-filter #delete_all {
|
57 |
+
@include button-delete-outline;
|
58 |
+
}
|
59 |
+
|
60 |
+
.tablenav .tablenav-pages .button,
|
61 |
+
.tablenav .tablenav-pages .tablenav-pages-navspan {
|
62 |
+
@include button-secondary;
|
63 |
+
}
|
64 |
+
|
65 |
+
@media screen and (max-width : 782px) {
|
66 |
+
.tablenav .tablenav-pages .button, .tablenav .tablenav-pages .tablenav-pages-navspan {
|
67 |
+
min-width : 44px;
|
68 |
+
padding : 12px 8px;
|
69 |
+
font-size : 18px;
|
70 |
+
line-height : 1;
|
71 |
+
}
|
72 |
+
}
|
73 |
+
|
74 |
+
// YITH Buttons.
|
75 |
+
.yith-plugin-fw__button, [class^="yith-plugin-fw__button--"], [class*=" yith-plugin-fw__button--"],
|
76 |
+
.yith-add-button, .yith-edit-button, .yith-update-button, .yith-remove-button, .yith-plugin-fw-upload-button, .yith-save-button, .yith-plugin-fw-select-all, .yith-plugin-fw-deselect-all, .yith-plugin-fw-upload-button-reset // Old buttons.
|
77 |
+
{
|
78 |
+
@include button;
|
79 |
+
}
|
80 |
+
|
81 |
+
.yith-plugin-fw__button--primary {
|
82 |
+
@include button-primary;
|
83 |
+
}
|
84 |
+
|
85 |
+
.yith-plugin-fw__button--secondary {
|
86 |
+
@include button-secondary;
|
87 |
+
}
|
88 |
+
|
89 |
+
.yith-plugin-fw__button--delete {
|
90 |
+
@include button-delete;
|
91 |
+
}
|
92 |
+
|
93 |
+
.yith-plugin-fw__button--add, .yith-add-button {
|
94 |
+
@include button-primary;
|
95 |
+
|
96 |
+
@include button-with-icon("\f115");
|
97 |
+
|
98 |
+
&:before {
|
99 |
+
display : inline-block;
|
100 |
+
margin : 0 10px 0 -5px;
|
101 |
+
font-size : .95em;
|
102 |
+
transition : transform .2s, margin .2s, font-size .2s;
|
103 |
+
transition-timing-function : ease-in-out;
|
104 |
+
}
|
105 |
+
|
106 |
+
&.closed {
|
107 |
+
@include button-secondary;
|
108 |
+
|
109 |
+
&:before {
|
110 |
+
font-size : 1.15em;
|
111 |
+
margin : 0 8px 0 -5px;
|
112 |
+
transform : rotate(-45deg);
|
113 |
+
}
|
114 |
+
}
|
115 |
+
}
|
116 |
+
|
117 |
+
.yith-plugin-fw__button--close {
|
118 |
+
@include button-secondary;
|
119 |
+
|
120 |
+
@include button-with-icon("\f117");
|
121 |
+
}
|
122 |
+
|
123 |
+
.yith-plugin-fw__button--edit, .yith-edit-button {
|
124 |
+
@include button-secondary;
|
125 |
+
|
126 |
+
@include button-with-icon("\e907");
|
127 |
+
}
|
128 |
+
|
129 |
+
.yith-plugin-fw__button--update, .yith-update-button {
|
130 |
+
@include button-update;
|
131 |
+
|
132 |
+
@include button-with-icon("\e90b");
|
133 |
+
}
|
134 |
+
|
135 |
+
.yith-plugin-fw__button--trash, .yith-remove-button {
|
136 |
+
@include button-delete;
|
137 |
+
|
138 |
+
@include button-with-icon("\e90d");
|
139 |
+
}
|
140 |
+
|
141 |
+
.yith-plugin-fw__button--upload, .yith-plugin-fw-upload-button {
|
142 |
+
@include button-primary;
|
143 |
+
|
144 |
+
@include button-with-icon("\e90c");
|
145 |
+
}
|
146 |
+
|
147 |
+
// Old buttons.
|
148 |
+
.yith-save-button {
|
149 |
+
@include button-primary;
|
150 |
+
}
|
151 |
+
|
152 |
+
.yith-plugin-fw-select-all,
|
153 |
+
.yith-plugin-fw-deselect-all,
|
154 |
+
.yith-plugin-fw-upload-button-reset {
|
155 |
+
@include button-secondary;
|
156 |
+
}
|
157 |
+
|
158 |
+
// with icons.
|
159 |
+
.button-secondary span.yith-icon {
|
160 |
+
margin-left : 0;
|
161 |
+
margin-right : 10px;
|
162 |
+
line-height : normal;
|
163 |
+
|
164 |
+
&:before {
|
165 |
+
color : inherit;
|
166 |
+
font-size : 15px;
|
167 |
+
font-weight : 400;
|
168 |
+
}
|
169 |
+
}
|
170 |
+
|
171 |
+
// With icon
|
172 |
+
.yith-plugin-fw__button--with-icon {
|
173 |
+
position : relative;
|
174 |
+
padding-left : 30px;
|
175 |
+
|
176 |
+
i {
|
177 |
+
position : absolute;
|
178 |
+
top : 50%;
|
179 |
+
left : 10px;
|
180 |
+
transform : translateY(-50%);
|
181 |
+
font-size : 1em;
|
182 |
+
font-weight : 400;
|
183 |
+
}
|
184 |
+
}
|
185 |
+
|
186 |
+
|
187 |
+
// Button Sizes
|
188 |
+
.yith-plugin-fw__button--xl, .button-xl {
|
189 |
+
padding : 0 20px;
|
190 |
+
font-size : 14px;
|
191 |
+
line-height : 38px;
|
192 |
+
|
193 |
+
&::before {
|
194 |
+
margin : 0 10px 0 -5px;
|
195 |
+
}
|
196 |
+
|
197 |
+
&.yith-plugin-fw__button--with-icon {
|
198 |
+
padding-left : 40px;
|
199 |
+
|
200 |
+
i {
|
201 |
+
left : 14px;
|
202 |
+
}
|
203 |
+
}
|
204 |
+
}
|
205 |
+
|
206 |
+
.yith-plugin-fw__button--xxl {
|
207 |
+
padding : 0 28px;
|
208 |
+
font-size : 16px;
|
209 |
+
line-height : 45px;
|
210 |
+
|
211 |
+
&::before {
|
212 |
+
margin : 0 15px 0 -10px;
|
213 |
+
}
|
214 |
+
|
215 |
+
&.yith-plugin-fw__button--with-icon {
|
216 |
+
padding-left : 45px;
|
217 |
+
|
218 |
+
i {
|
219 |
+
left : 15px;
|
220 |
+
}
|
221 |
+
}
|
222 |
+
}
|
223 |
+
}
|
224 |
+
|
plugin-fw/assets/css/scss/yith-plugin-ui/components/_confirm.scss
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@import "../mixins/buttons";
|
2 |
+
|
3 |
+
.yith-plugin-fw__confirm__wrap {
|
4 |
+
|
5 |
+
.yith-plugin-fw__confirm__message {
|
6 |
+
margin-bottom: 20px;
|
7 |
+
}
|
8 |
+
|
9 |
+
.yith-plugin-fw__confirm__footer {
|
10 |
+
text-align: right;
|
11 |
+
}
|
12 |
+
|
13 |
+
|
14 |
+
.yith-plugin-fw__confirm__button {
|
15 |
+
height: auto;
|
16 |
+
line-height: 33px;
|
17 |
+
border-radius: 4px;
|
18 |
+
padding: 0 20px;
|
19 |
+
font-weight: 600;
|
20 |
+
cursor: pointer;
|
21 |
+
display: inline-block;
|
22 |
+
margin-right: 10px;
|
23 |
+
white-space: nowrap;
|
24 |
+
|
25 |
+
&:last-child {
|
26 |
+
margin-right: 0;
|
27 |
+
}
|
28 |
+
|
29 |
+
&.yith-plugin-fw__confirm__button--cancel {
|
30 |
+
@include button-secondary;
|
31 |
+
}
|
32 |
+
|
33 |
+
&.yith-plugin-fw__confirm__button--confirm {
|
34 |
+
@include button-primary;
|
35 |
+
}
|
36 |
+
|
37 |
+
&.yith-plugin-fw__confirm__button--delete {
|
38 |
+
@include button-delete;
|
39 |
+
}
|
40 |
+
}
|
41 |
+
}
|
plugin-fw/assets/css/scss/yith-plugin-ui/components/_list-items.scss
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.yith-plugin-fw__list-items {
|
2 |
+
display : grid;
|
3 |
+
grid-gap : 13px;
|
4 |
+
margin : 15px 0 0;
|
5 |
+
}
|
6 |
+
|
7 |
+
.yith-plugin-fw__list-item {
|
8 |
+
.yith-plugin-fw__list-item__wrap {
|
9 |
+
padding : 12px 18px;
|
10 |
+
border : 1px solid #e6e6e6;
|
11 |
+
background : #f5f5f5;
|
12 |
+
display : flex;
|
13 |
+
align-items : center;
|
14 |
+
text-decoration : none;
|
15 |
+
color : inherit;
|
16 |
+
}
|
17 |
+
|
18 |
+
&:not(.yith-plugin-fw__list-item--no-link) {
|
19 |
+
.yith-plugin-fw__list-item__wrap:hover {
|
20 |
+
border-color : #bcd9f6;
|
21 |
+
background : #e5eef7;
|
22 |
+
|
23 |
+
.yith-plugin-fw__list-item__step,
|
24 |
+
.yith-plugin-fw__list-item__arrow {
|
25 |
+
color : var(--yith-link);
|
26 |
+
}
|
27 |
+
}
|
28 |
+
}
|
29 |
+
|
30 |
+
mark {
|
31 |
+
background : transparent;
|
32 |
+
color : var(--yith-link);
|
33 |
+
}
|
34 |
+
|
35 |
+
.yith-plugin-fw__list-item__step {
|
36 |
+
font-size : 30px;
|
37 |
+
font-weight : 700;
|
38 |
+
text-align : center;
|
39 |
+
width : 60px;
|
40 |
+
margin-left : -14px;
|
41 |
+
color : #717171;
|
42 |
+
opacity : .36;
|
43 |
+
}
|
44 |
+
|
45 |
+
.yith-plugin-fw__list-item__content {
|
46 |
+
font-weight : 500;
|
47 |
+
flex : 1;
|
48 |
+
}
|
49 |
+
|
50 |
+
.yith-plugin-fw__list-item__title {
|
51 |
+
font-size : 1.1em;
|
52 |
+
}
|
53 |
+
|
54 |
+
.yith-plugin-fw__list-item__description {
|
55 |
+
font-size : .85em;
|
56 |
+
margin-top : .5em;
|
57 |
+
}
|
58 |
+
|
59 |
+
.yith-plugin-fw__list-item__cta {
|
60 |
+
margin-top : .7em;
|
61 |
+
color : var(--yith-link);
|
62 |
+
font-size : .85em;
|
63 |
+
font-weight : 500;
|
64 |
+
}
|
65 |
+
|
66 |
+
.yith-plugin-fw__list-item__arrow {
|
67 |
+
color : #717171;
|
68 |
+
margin-left : 10px;
|
69 |
+
font-size : 12px;
|
70 |
+
font-weight : 800;
|
71 |
+
}
|
72 |
+
}
|
73 |
+
|
74 |
+
.yith-plugin-fw__list-items--list {
|
75 |
+
.yith-plugin-fw__list-item__title {
|
76 |
+
font-style : italic;
|
77 |
+
}
|
78 |
+
}
|
plugin-fw/assets/css/scss/yith-plugin-ui/components/_list-table-blank-state.scss
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.yith-plugin-fw__list-table-blank-state {
|
2 |
+
padding: 30px 30px 0;
|
3 |
+
text-align: center;
|
4 |
+
display: flex;
|
5 |
+
flex-direction: column;
|
6 |
+
|
7 |
+
& > * {
|
8 |
+
margin-bottom: 30px;
|
9 |
+
}
|
10 |
+
|
11 |
+
img.yith-plugin-fw__list-table-blank-state__icon {
|
12 |
+
width: 100px;
|
13 |
+
margin: 0 auto 30px;
|
14 |
+
}
|
15 |
+
|
16 |
+
i.yith-plugin-fw__list-table-blank-state__icon {
|
17 |
+
font-size: 65px;
|
18 |
+
margin: 0 auto 30px;
|
19 |
+
}
|
20 |
+
|
21 |
+
.yith-plugin-fw__list-table-blank-state__message {
|
22 |
+
font-size: 1.4em;
|
23 |
+
line-height: 1.5;
|
24 |
+
}
|
25 |
+
}
|
plugin-fw/assets/css/scss/yith-plugin-ui/components/_modal.scss
ADDED
@@ -0,0 +1,128 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.yith-plugin-fw__modal__wrap {
|
2 |
+
display: flex;
|
3 |
+
align-items: center;
|
4 |
+
justify-content: center;
|
5 |
+
position: fixed;
|
6 |
+
top: 0;
|
7 |
+
left: 0;
|
8 |
+
width: 100%;
|
9 |
+
height: 100%;
|
10 |
+
z-index: 999999;
|
11 |
+
background: rgba(34, 59, 80, 0.7);
|
12 |
+
animation: yith-plugin-fw-fade-in .3s forwards;
|
13 |
+
box-sizing: border-box;
|
14 |
+
|
15 |
+
.yith-plugin-fw__modal__main {
|
16 |
+
position: relative;
|
17 |
+
background: #fff;
|
18 |
+
border-radius: 10px;
|
19 |
+
box-shadow: 1px 3px 16px rgba(0, 22, 59, .4);
|
20 |
+
animation: yith-plugin-fw-appear-from-top .3s forwards;
|
21 |
+
overflow: hidden;
|
22 |
+
max-width: calc(100% - 20px);
|
23 |
+
max-height: calc(100% - 20px);
|
24 |
+
display: flex;
|
25 |
+
flex-direction: column;
|
26 |
+
}
|
27 |
+
|
28 |
+
.yith-plugin-fw__modal__close {
|
29 |
+
position: absolute;
|
30 |
+
top: 0;
|
31 |
+
right: 0;
|
32 |
+
padding: 8px;
|
33 |
+
font-size: 14px;
|
34 |
+
font-weight: 600;
|
35 |
+
color: #aaa;
|
36 |
+
cursor: pointer;
|
37 |
+
|
38 |
+
&:hover {
|
39 |
+
color: #444;
|
40 |
+
}
|
41 |
+
}
|
42 |
+
|
43 |
+
.yith-plugin-fw__modal__title {
|
44 |
+
padding: 20px 25px;
|
45 |
+
font-size: 1.5em;
|
46 |
+
font-weight: 600;
|
47 |
+
line-height: 1.5em;
|
48 |
+
color: var(--yith-primary);
|
49 |
+
}
|
50 |
+
|
51 |
+
.yith-plugin-fw__modal__content {
|
52 |
+
padding: 0 25px 25px;
|
53 |
+
}
|
54 |
+
|
55 |
+
.yith-plugin-fw__modal__footer {
|
56 |
+
padding: 25px;
|
57 |
+
background: #f7f7f7;
|
58 |
+
}
|
59 |
+
|
60 |
+
&.yith-plugin-fw__modal__wrap--scroll-content {
|
61 |
+
.yith-plugin-fw__modal__content {
|
62 |
+
overflow-y: auto;
|
63 |
+
}
|
64 |
+
}
|
65 |
+
}
|
66 |
+
|
67 |
+
.yith-plugin-fw__modal--opened {
|
68 |
+
overflow: hidden;
|
69 |
+
}
|
70 |
+
|
71 |
+
// Allow seeing WP Menu.
|
72 |
+
|
73 |
+
.yith-plugin-fw__modal--allow-wp-menu {
|
74 |
+
.yith-plugin-fw__modal__wrap {
|
75 |
+
z-index: 99;
|
76 |
+
padding-left: $wp_menu_size;
|
77 |
+
padding-top: $wp_top_bar_size;
|
78 |
+
}
|
79 |
+
|
80 |
+
#adminmenuback {
|
81 |
+
z-index: 100;
|
82 |
+
}
|
83 |
+
}
|
84 |
+
|
85 |
+
@media only screen and (max-width: 960px) {
|
86 |
+
.folded {
|
87 |
+
.yith-plugin-fw__modal__wrap {
|
88 |
+
padding-left: $wp_menu_folded_size;
|
89 |
+
}
|
90 |
+
}
|
91 |
+
|
92 |
+
.auto-fold {
|
93 |
+
.yith-plugin-fw__modal--allow-wp-menu {
|
94 |
+
.yith-plugin-fw__modal__wrap {
|
95 |
+
padding-left: $wp_menu_folded_size;
|
96 |
+
}
|
97 |
+
}
|
98 |
+
}
|
99 |
+
}
|
100 |
+
|
101 |
+
@media screen and (max-width: 782px) {
|
102 |
+
.auto-fold {
|
103 |
+
.yith-plugin-fw__modal--allow-wp-menu {
|
104 |
+
.yith-plugin-fw__modal__wrap {
|
105 |
+
z-index: 999999;
|
106 |
+
width: 100%;
|
107 |
+
height: 100%;
|
108 |
+
padding-left: 0;
|
109 |
+
padding-top: 0;
|
110 |
+
}
|
111 |
+
}
|
112 |
+
|
113 |
+
.yith-plugin-fw__modal--allow-wp-menu-in-mobile {
|
114 |
+
.yith-plugin-fw__modal__wrap {
|
115 |
+
z-index: 99;
|
116 |
+
padding-top: $wp_top_bar_mobile_size;
|
117 |
+
}
|
118 |
+
|
119 |
+
&.wp-responsive-open {
|
120 |
+
.yith-plugin-fw__modal__wrap {
|
121 |
+
padding-left: $wp_menu_mobile_size;
|
122 |
+
}
|
123 |
+
}
|
124 |
+
}
|
125 |
+
|
126 |
+
|
127 |
+
}
|
128 |
+
}
|
plugin-fw/assets/css/scss/yith-plugin-ui/components/_tabs.scss
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.yith-plugin-ui .yith-plugin-fw__tabs {
|
2 |
+
background : transparent;
|
3 |
+
padding : 0;
|
4 |
+
margin : 0;
|
5 |
+
display : flex;
|
6 |
+
align-items : center;
|
7 |
+
border-bottom : 1px solid var(--yith-light-border-color);
|
8 |
+
flex-wrap : wrap;
|
9 |
+
|
10 |
+
.yith-plugin-fw__tab {
|
11 |
+
border : 0;
|
12 |
+
margin : 0;
|
13 |
+
display : block;
|
14 |
+
}
|
15 |
+
|
16 |
+
.yith-plugin-fw__tab__handler, a.yith-plugin-fw__tab__handler {
|
17 |
+
background : var(--yith-content-bg);
|
18 |
+
border : 0;
|
19 |
+
border-bottom : 3px solid transparent;
|
20 |
+
padding : 17px 20px 15px;
|
21 |
+
font-weight : 600;
|
22 |
+
color : inherit;
|
23 |
+
text-decoration : none;
|
24 |
+
display : block;
|
25 |
+
transition : all .2s ease-in-out;
|
26 |
+
opacity : .55;
|
27 |
+
|
28 |
+
&:hover {
|
29 |
+
opacity : 1;
|
30 |
+
background : var(--yith-light-bg);
|
31 |
+
color : var(--yith-light-accent);
|
32 |
+
}
|
33 |
+
}
|
34 |
+
|
35 |
+
.yith-plugin-fw__tab.yith-plugin-fw__tab--active .yith-plugin-fw__tab__handler,
|
36 |
+
.yith-plugin-fw__tab__handler.yith-plugin-fw__tab__handler--enabled {
|
37 |
+
opacity : 1;
|
38 |
+
color : var(--yith-light-accent);
|
39 |
+
border-color : var(--yith-light-accent);
|
40 |
+
}
|
41 |
+
}
|
42 |
+
|
43 |
+
.yith-plugin-ui .yith-plugin-fw__tab-panel {
|
44 |
+
padding : 20px;
|
45 |
+
|
46 |
+
&.yith-plugin-fw__tab-panel--outlined {
|
47 |
+
border-width : 0 1px 1px 1px;
|
48 |
+
border-style : solid;
|
49 |
+
border-color : var(--yith-light-border-color);
|
50 |
+
}
|
51 |
+
}
|
plugin-fw/assets/css/scss/yith-plugin-ui/components/_tip-tip.scss
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@import "../mixins/buttons";
|
2 |
+
|
3 |
+
#tiptip_holder {
|
4 |
+
display: none;
|
5 |
+
pointer-events: none; /* Fix tip flashing when hover the edge */
|
6 |
+
z-index: 8675309;
|
7 |
+
position: absolute;
|
8 |
+
top: 0;
|
9 |
+
|
10 |
+
/*rtl:ignore*/
|
11 |
+
left: 0;
|
12 |
+
|
13 |
+
|
14 |
+
&.tip_top {
|
15 |
+
padding-bottom: 5px;
|
16 |
+
|
17 |
+
#tiptip_arrow_inner {
|
18 |
+
margin-top: -7px;
|
19 |
+
margin-left: -6px;
|
20 |
+
border-top-color: #333;
|
21 |
+
}
|
22 |
+
}
|
23 |
+
|
24 |
+
&.tip_bottom {
|
25 |
+
padding-top: 5px;
|
26 |
+
|
27 |
+
#tiptip_arrow_inner {
|
28 |
+
margin-top: -5px;
|
29 |
+
margin-left: -6px;
|
30 |
+
border-bottom-color: #333;
|
31 |
+
}
|
32 |
+
}
|
33 |
+
|
34 |
+
&.tip_right {
|
35 |
+
padding-left: 5px;
|
36 |
+
|
37 |
+
#tiptip_arrow_inner {
|
38 |
+
margin-top: -6px;
|
39 |
+
margin-left: -5px;
|
40 |
+
border-right-color: #333;
|
41 |
+
}
|
42 |
+
}
|
43 |
+
|
44 |
+
&.tip_left {
|
45 |
+
padding-right: 5px;
|
46 |
+
|
47 |
+
#tiptip_arrow_inner {
|
48 |
+
margin-top: -6px;
|
49 |
+
margin-left: -7px;
|
50 |
+
border-left-color: #333;
|
51 |
+
}
|
52 |
+
}
|
53 |
+
|
54 |
+
|
55 |
+
#tiptip_content {
|
56 |
+
color: #fff;
|
57 |
+
font-size: 0.8em;
|
58 |
+
max-width: 150px;
|
59 |
+
background: #333;
|
60 |
+
text-align: center;
|
61 |
+
border-radius: 3px;
|
62 |
+
padding: 0.618em 1em;
|
63 |
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
|
64 |
+
|
65 |
+
code {
|
66 |
+
padding: 1px;
|
67 |
+
background: #888;
|
68 |
+
}
|
69 |
+
}
|
70 |
+
|
71 |
+
#tiptip_arrow,
|
72 |
+
#tiptip_arrow_inner {
|
73 |
+
position: absolute;
|
74 |
+
border-color: transparent;
|
75 |
+
border-style: solid;
|
76 |
+
border-width: 6px;
|
77 |
+
height: 0;
|
78 |
+
width: 0;
|
79 |
+
}
|
80 |
+
}
|
plugin-fw/assets/css/scss/yith-plugin-ui/mixins/_buttons.scss
ADDED
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@mixin button {
|
2 |
+
display: inline-block;
|
3 |
+
height: auto;
|
4 |
+
line-height: 30px;
|
5 |
+
border-radius: 4px;
|
6 |
+
padding: 0 17px;
|
7 |
+
font-weight: 600;
|
8 |
+
cursor: pointer;
|
9 |
+
transition: all .3s ease-in-out;
|
10 |
+
text-decoration: none;
|
11 |
+
white-space: nowrap;
|
12 |
+
|
13 |
+
&:focus {
|
14 |
+
outline: none;
|
15 |
+
box-shadow: none;
|
16 |
+
}
|
17 |
+
}
|
18 |
+
|
19 |
+
@mixin button-primary {
|
20 |
+
background: var(--yith-primary);
|
21 |
+
color: var(--yith-primary-text);
|
22 |
+
border: 1px solid var(--yith-primary);
|
23 |
+
|
24 |
+
&:focus {
|
25 |
+
background: var(--yith-primary);
|
26 |
+
color: var(--yith-primary-text);
|
27 |
+
border: 1px solid var(--yith-primary);
|
28 |
+
box-shadow: 0 0 0 3px var(--yith-primary-focus);
|
29 |
+
}
|
30 |
+
|
31 |
+
&:hover, &:active {
|
32 |
+
background: var(--yith-primary-hover);
|
33 |
+
color: var(--yith-primary-text);
|
34 |
+
border: 1px solid var(--yith-primary-hover);
|
35 |
+
}
|
36 |
+
}
|
37 |
+
|
38 |
+
@mixin button-secondary {
|
39 |
+
background: var(--yith-outline-bg);
|
40 |
+
border: 1px solid var(--yith-outline-border);
|
41 |
+
color: var(--yith-outline-text);
|
42 |
+
|
43 |
+
&:focus {
|
44 |
+
background: var(--yith-outline-bg);
|
45 |
+
border: 1px solid var(--yith-outline-border);
|
46 |
+
color: var(--yith-outline-text);
|
47 |
+
box-shadow: 0 0 0 3px var(--yith-outline-focus);
|
48 |
+
}
|
49 |
+
|
50 |
+
&:hover, &:active {
|
51 |
+
background: var(--yith-outline-bg-hover);
|
52 |
+
border-color: var(--yith-outline-border-hover);
|
53 |
+
color: var(--yith-outline-text);
|
54 |
+
}
|
55 |
+
}
|
56 |
+
|
57 |
+
@mixin button-update {
|
58 |
+
background: var(--yith-update);
|
59 |
+
color: var(--yith-update-text);
|
60 |
+
border: 1px solid var(--yith-update);
|
61 |
+
|
62 |
+
&:focus {
|
63 |
+
background: var(--yith-update);
|
64 |
+
color: var(--yith-update-text);
|
65 |
+
border: 1px solid var(--yith-update);
|
66 |
+
box-shadow: 0 0 0 3px var(--yith-update-focus);
|
67 |
+
}
|
68 |
+
|
69 |
+
&:hover, &:active {
|
70 |
+
background: var(--yith-update-hover);
|
71 |
+
color: var(--yith-update-text);
|
72 |
+
border: 1px solid var(--yith-update-hover);
|
73 |
+
}
|
74 |
+
}
|
75 |
+
|
76 |
+
@mixin button-delete {
|
77 |
+
background: var(--yith-delete);
|
78 |
+
color: var(--yith-delete-text);
|
79 |
+
border: 1px solid var(--yith-delete);
|
80 |
+
|
81 |
+
&:focus {
|
82 |
+
background: var(--yith-delete);
|
83 |
+
color: var(--yith-delete-text);
|
84 |
+
border: 1px solid var(--yith-delete);
|
85 |
+
box-shadow: 0 0 0 3px var(--yith-delete-focus);
|
86 |
+
}
|
87 |
+
|
88 |
+
&:hover, &:active {
|
89 |
+
background: var(--yith-delete-hover);
|
90 |
+
color: var(--yith-delete-text);
|
91 |
+
border: 1px solid var(--yith-delete-hover);
|
92 |
+
}
|
93 |
+
}
|
94 |
+
|
95 |
+
@mixin button-delete-outline {
|
96 |
+
background: var(--yith-delete-outline-bg);
|
97 |
+
border: 1px solid var(--yith-delete-outline-border);
|
98 |
+
color: var(--yith-delete-outline-text);
|
99 |
+
|
100 |
+
&:focus {
|
101 |
+
background: var(--yith-delete-outline-bg);
|
102 |
+
border: 1px solid var(--yith-delete-outline-border);
|
103 |
+
color: var(--yith-delete-outline-text);
|
104 |
+
box-shadow: 0 0 0 3px var(--yith-delete-outline-focus);
|
105 |
+
}
|
106 |
+
|
107 |
+
&:hover, &:active {
|
108 |
+
background: var(--yith-delete-outline-bg-hover);
|
109 |
+
border-color: var(--yith-delete-outline-border-hover);
|
110 |
+
color: var(--yith-delete-outline-text);
|
111 |
+
}
|
112 |
+
}
|
113 |
+
|
114 |
+
@mixin button-with-icon($icon) {
|
115 |
+
|
116 |
+
&:before {
|
117 |
+
font-family: yith-icon;
|
118 |
+
content: $icon;
|
119 |
+
margin: 0 8px 0 -5px;
|
120 |
+
font-size: 1.15em;
|
121 |
+
font-weight: 400;
|
122 |
+
vertical-align: top;
|
123 |
+
}
|
124 |
+
}
|
plugin-fw/assets/css/scss/yith-plugin-ui/mixins/_tables.scss
ADDED
@@ -0,0 +1,159 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@mixin table-action-buttons {
|
2 |
+
|
3 |
+
thead th.column-actions, tfoot th.column-actions {
|
4 |
+
visibility: hidden;
|
5 |
+
}
|
6 |
+
|
7 |
+
th.column-actions, td.column-actions {
|
8 |
+
text-align: right;
|
9 |
+
}
|
10 |
+
|
11 |
+
.yith-plugin-fw__action-button:not(.yith-plugin-fw__action-button--visible) {
|
12 |
+
opacity: 0;
|
13 |
+
transition: .3s;
|
14 |
+
}
|
15 |
+
|
16 |
+
tbody tr:hover .yith-plugin-fw__action-button:not(.yith-plugin-fw__action-button--visible) {
|
17 |
+
opacity: 1;
|
18 |
+
}
|
19 |
+
}
|
20 |
+
|
21 |
+
@mixin wp-table-commons {
|
22 |
+
|
23 |
+
tfoot {
|
24 |
+
display: none;
|
25 |
+
}
|
26 |
+
|
27 |
+
.check-column {
|
28 |
+
width: 2em;
|
29 |
+
}
|
30 |
+
|
31 |
+
th.sortable a, th.sorted a {
|
32 |
+
padding: 0 8px 0 0;
|
33 |
+
color: inherit;
|
34 |
+
|
35 |
+
&:hover {
|
36 |
+
color: var(--yith-link);
|
37 |
+
}
|
38 |
+
}
|
39 |
+
|
40 |
+
.sorting-indicator {
|
41 |
+
visibility: visible;
|
42 |
+
|
43 |
+
&:before {
|
44 |
+
font-family: yith-icon;
|
45 |
+
content: "\f116";
|
46 |
+
color: inherit;
|
47 |
+
font-size: 10px;
|
48 |
+
top: 0;
|
49 |
+
left: 0;
|
50 |
+
}
|
51 |
+
}
|
52 |
+
|
53 |
+
th.sorted.asc .sorting-indicator:before,
|
54 |
+
th.desc:hover span.sorting-indicator:before,
|
55 |
+
th.desc a:focus span.sorting-indicator:before {
|
56 |
+
content: "\f113";
|
57 |
+
font-weight: 600;
|
58 |
+
}
|
59 |
+
|
60 |
+
th.sorted.desc .sorting-indicator:before,
|
61 |
+
th.asc:hover span.sorting-indicator:before,
|
62 |
+
th.asc a:focus span.sorting-indicator:before {
|
63 |
+
content: "\f110";
|
64 |
+
font-weight: 600;
|
65 |
+
}
|
66 |
+
@include table-action-buttons;
|
67 |
+
}
|
68 |
+
|
69 |
+
@mixin classic-table {
|
70 |
+
border: 2px solid var(--yith-table-border-light);
|
71 |
+
background: var(--yith-content-bg);
|
72 |
+
box-shadow: none;
|
73 |
+
border-spacing: 0;
|
74 |
+
|
75 |
+
th, thead td, tfoot td {
|
76 |
+
text-align: left;
|
77 |
+
line-height: 1.3em;
|
78 |
+
font-size: 14px;
|
79 |
+
}
|
80 |
+
|
81 |
+
thead th, thead td {
|
82 |
+
border-bottom: 0;
|
83 |
+
}
|
84 |
+
|
85 |
+
tfoot th, tfoot td {
|
86 |
+
border-top: 0;
|
87 |
+
}
|
88 |
+
|
89 |
+
tbody tr th, tbody tr td {
|
90 |
+
vertical-align: middle;
|
91 |
+
padding: 15px;
|
92 |
+
}
|
93 |
+
|
94 |
+
tbody tr:hover {
|
95 |
+
background: var(--yith-table-row-highlight);
|
96 |
+
}
|
97 |
+
|
98 |
+
thead td, thead th, tfoot td, tfoot th {
|
99 |
+
padding: 15px;
|
100 |
+
font-weight: 600;
|
101 |
+
}
|
102 |
+
|
103 |
+
tbody > :nth-child(odd) {
|
104 |
+
background-color: var(--yith-table-row-striped);
|
105 |
+
}
|
106 |
+
}
|
107 |
+
|
108 |
+
|
109 |
+
@mixin boxed-table {
|
110 |
+
border: 0;
|
111 |
+
border-spacing: 0 20px;
|
112 |
+
box-shadow: none;
|
113 |
+
background: transparent;
|
114 |
+
|
115 |
+
th, thead td, tfoot td {
|
116 |
+
text-align: left;
|
117 |
+
line-height: 1.3em;
|
118 |
+
font-size: 14px;
|
119 |
+
}
|
120 |
+
|
121 |
+
thead th, thead td {
|
122 |
+
border-bottom: 0;
|
123 |
+
padding: 0 0 0 25px;
|
124 |
+
font-weight: 600;
|
125 |
+
}
|
126 |
+
|
127 |
+
tbody tr {
|
128 |
+
background: var(--yith-content-bg);
|
129 |
+
border-radius: 5px;
|
130 |
+
box-shadow: 0 0 0 1px var(--yith-light-border-color), 0 3px 11px 6px var(--yith-light-shadow);
|
131 |
+
transition: background-color .2s ease-in-out;
|
132 |
+
}
|
133 |
+
|
134 |
+
tbody tr th, tbody tr td {
|
135 |
+
background: transparent;
|
136 |
+
vertical-align: middle;
|
137 |
+
padding: 25px 0 25px 25px;
|
138 |
+
}
|
139 |
+
|
140 |
+
tbody tr td:last-child {
|
141 |
+
padding-right: 25px;
|
142 |
+
}
|
143 |
+
|
144 |
+
tbody tr th:first-child,
|
145 |
+
tbody tr td:first-child {
|
146 |
+
border-radius: 5px 0 0 5px;
|
147 |
+
}
|
148 |
+
|
149 |
+
tbody tr th:last-child,
|
150 |
+
tbody tr td:last-child {
|
151 |
+
padding-right: 25px;
|
152 |
+
border-radius: 0 5px 5px 0;
|
153 |
+
}
|
154 |
+
|
155 |
+
|
156 |
+
tbody tr:hover {
|
157 |
+
background: var(--yith-table-row-highlight);
|
158 |
+
}
|
159 |
+
}
|
plugin-fw/assets/css/yith-icon.css
CHANGED
@@ -6,10 +6,10 @@
|
|
6 |
/* stylelint-disable function-url-quotes, declaration-colon-newline-after */
|
7 |
@font-face {
|
8 |
font-family: yith-icon;
|
9 |
-
src: url("../fonts/yith-icon.eot?
|
10 |
-
src: url("../fonts/yith-icon.eot?
|
11 |
-
url("data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAACcsAAsAAAAARSAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAAQAAAAFY4xkshY21hcAAAAXwAAAIiAAAF6M2rEU5nbHlmAAADoAAAHvQAADWMtjZQA2hlYWQAACKUAAAAMAAAADYes3AcaGhlYQAAIsQAAAAeAAAAJAQ1AkVobXR4AAAi5AAAADAAAAE8m+b/52xvY2EAACMUAAAAoAAAAKDOIdsKbWF4cAAAI7QAAAAfAAAAIAFtAVZuYW1lAAAj1AAAATAAAAIiyMcJZnBvc3QAACUEAAACJg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mr8ReBBXYkRt87AyLu+oVtOaHnTr0mcT1ZZMqofDcFdkpNfGzCifRWUEU7mkwVgbV3/WL5iIquh0/gJ5RisiAAA=") format("woff"),
|
12 |
-
url("../fonts/yith-icon.ttf?
|
13 |
font-weight: 400;
|
14 |
font-style: normal;
|
15 |
}
|
@@ -139,6 +139,10 @@
|
|
139 |
content: "\e91f";
|
140 |
}
|
141 |
|
|
|
|
|
|
|
|
|
142 |
.yith-icon-check-alt:before {
|
143 |
content: "\f114";
|
144 |
}
|
6 |
/* stylelint-disable function-url-quotes, declaration-colon-newline-after */
|
7 |
@font-face {
|
8 |
font-family: yith-icon;
|
9 |
+
src: url("../fonts/yith-icon.eot?6c9fac5a69711520a55f03f0159e3932");
|
10 |
+
src: url("../fonts/yith-icon.eot?6c9fac5a69711520a55f03f0159e3932#iefix") format("embedded-opentype"),
|
11 |
+
url("data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAACgEAAsAAAAARnAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAAQAAAAFY4xksiY21hcAAAAXwAAAInAAAF9v9BwjlnbHlmAAADpAAAH7wAADa8WxqYn2hlYWQAACNgAAAAMAAAADYgbllqaGhlYQAAI5AAAAAeAAAAJAQ1AkZobXR4AAAjsAAAADAAAAFAneb/52xvY2EAACPgAAAAogAAAKLvYeFUbWF4cAAAJIQAAAAfAAAAIAFuAVZuYW1lAAAkpAAAATAAAAIiyMcJZnBvc3QAACXUAAACLQAAA96XfaIgeJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2Bk/Mk4gYGVgYNBjDGNgYHBHUp/ZZBkaGFgYGJgZWbACgLSXFMYHF4yfDRgAnH1mNgYeIE0I4gDAJHOCGZ4nO3UZ3IaURCF0Y+MEEI5oYhAOTpnyzmHKpWX5SV6Ae6fvQL5Pi7LMFUHhqnhzRu6bw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LVtumrQf0mm2mEI22oW7JJyeRSmQ27JelSUq8sdKV9olEpW2/gQeTO1Q3zIDRUyombLVWBZTsUOeD/pU1sIUhm7StEVpvmiwQexJUYUXt4WBkXe1SraU0PunXps4lqSybVw2G4IzLSq2NmlM+iMoKpXNJgrI2rPzsvmIiq6HT+At2JLgAAAAA=") format("woff"),
|
12 |
+
url("../fonts/yith-icon.ttf?6c9fac5a69711520a55f03f0159e3932") format("truetype");
|
13 |
font-weight: 400;
|
14 |
font-style: normal;
|
15 |
}
|
139 |
content: "\e91f";
|
140 |
}
|
141 |
|
142 |
+
.yith-icon-charts:before {
|
143 |
+
content: "\f130";
|
144 |
+
}
|
145 |
+
|
146 |
.yith-icon-check-alt:before {
|
147 |
content: "\f114";
|
148 |
}
|
plugin-fw/assets/css/yith-plugin-ui.css
CHANGED
File without changes
|
plugin-fw/assets/fonts/yith-icon.eot
CHANGED
Binary file
|
plugin-fw/assets/fonts/yith-icon.ttf
CHANGED
Binary file
|
plugin-fw/assets/fonts/yith-icon.woff2
CHANGED
Binary file
|
plugin-fw/assets/images/yith-icon.svg
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
-
<?xml version="1.0" standalone="no"?><!-- Generator: Gravit.io -->
|
2 |
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="0 0 20.5 20.479" width="20.5" height="20.479">
|
3 |
-
<defs>
|
4 |
-
<clipPath id="_clipPath_BBRuGaomYLKjPKjOOHpnNdPxBnLPFPyk">
|
5 |
-
<rect width="20.5" height="20.479"/>
|
6 |
-
</clipPath>
|
7 |
-
</defs>
|
8 |
-
<g clip-path="url(#_clipPath_BBRuGaomYLKjPKjOOHpnNdPxBnLPFPyk)">
|
9 |
-
<g>
|
10 |
-
<path d=" M 18.24 7.628 C 17.291 8.284 16.076 8.971 14.587 9.688 C 15.344 7.186 15.765 4.851 15.849 2.684 C 15.912 0.939 15.133 0.045 13.514 0.003 C 11.558 -0.06 10.275 1.033 9.665 3.284 C 10.007 3.137 10.359 3.063 10.723 3.063 C 11.021 3.063 11.267 3.184 11.459 3.426 C 11.651 3.668 11.736 3.947 11.715 4.262 C 11.695 5.082 11.276 5.961 10.46 6.896 C 9.644 7.833 8.918 8.3 8.282 8.3 C 7.837 8.3 7.625 7.922 7.646 7.165 C 7.667 6.765 7.804 5.955 8.056 4.735 C 8.287 3.579 8.403 2.801 8.403 2.401 C 8.403 1.707 8.224 1.144 7.867 0.713 C 7.509 0.282 6.994 0.098 6.321 0.161 C 5.858 0.203 5.175 0.624 4.27 1.422 C 3.596 2.035 2.923 2.644 2.25 3.254 L 2.976 4.106 C 3.564 3.664 3.922 3.443 4.048 3.443 C 4.448 3.443 4.637 3.717 4.617 4.263 C 4.617 4.306 4.427 4.968 4.049 6.251 C 3.671 7.534 3.471 8.491 3.449 9.122 C 3.407 9.985 3.565 10.647 3.924 11.109 C 4.367 11.677 5.106 11.919 6.142 11.835 C 7.366 11.751 8.591 11.298 9.816 10.479 C 10.323 10.142 10.808 9.753 11.273 9.311 C 11.105 10.153 10.905 10.868 10.673 11.457 C 8.402 12.487 6.762 13.37 5.752 14.107 C 4.321 15.137 3.554 16.241 3.449 17.419 C 3.259 19.459 4.29 20.479 6.541 20.479 C 8.055 20.479 9.517 19.554 10.926 17.703 C 12.125 16.126 13.166 14.022 14.049 11.394 C 15.578 10.635 16.87 9.892 17.928 9.164 C 17.894 9.409 18.319 7.308 18.24 7.628 Z M 7.393 16.095 C 7.056 16.095 6.898 15.947 6.919 15.653 C 6.961 15.106 7.908 14.38 9.759 13.476 C 8.791 15.221 8.002 16.095 7.393 16.095 Z "
|
11 |
-
fill="rgb(255,255,255)"/>
|
12 |
-
</g>
|
13 |
-
</g>
|
14 |
</svg>
|
1 |
+
<?xml version="1.0" standalone="no"?><!-- Generator: Gravit.io -->
|
2 |
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="0 0 20.5 20.479" width="20.5" height="20.479">
|
3 |
+
<defs>
|
4 |
+
<clipPath id="_clipPath_BBRuGaomYLKjPKjOOHpnNdPxBnLPFPyk">
|
5 |
+
<rect width="20.5" height="20.479"/>
|
6 |
+
</clipPath>
|
7 |
+
</defs>
|
8 |
+
<g clip-path="url(#_clipPath_BBRuGaomYLKjPKjOOHpnNdPxBnLPFPyk)">
|
9 |
+
<g>
|
10 |
+
<path d=" M 18.24 7.628 C 17.291 8.284 16.076 8.971 14.587 9.688 C 15.344 7.186 15.765 4.851 15.849 2.684 C 15.912 0.939 15.133 0.045 13.514 0.003 C 11.558 -0.06 10.275 1.033 9.665 3.284 C 10.007 3.137 10.359 3.063 10.723 3.063 C 11.021 3.063 11.267 3.184 11.459 3.426 C 11.651 3.668 11.736 3.947 11.715 4.262 C 11.695 5.082 11.276 5.961 10.46 6.896 C 9.644 7.833 8.918 8.3 8.282 8.3 C 7.837 8.3 7.625 7.922 7.646 7.165 C 7.667 6.765 7.804 5.955 8.056 4.735 C 8.287 3.579 8.403 2.801 8.403 2.401 C 8.403 1.707 8.224 1.144 7.867 0.713 C 7.509 0.282 6.994 0.098 6.321 0.161 C 5.858 0.203 5.175 0.624 4.27 1.422 C 3.596 2.035 2.923 2.644 2.25 3.254 L 2.976 4.106 C 3.564 3.664 3.922 3.443 4.048 3.443 C 4.448 3.443 4.637 3.717 4.617 4.263 C 4.617 4.306 4.427 4.968 4.049 6.251 C 3.671 7.534 3.471 8.491 3.449 9.122 C 3.407 9.985 3.565 10.647 3.924 11.109 C 4.367 11.677 5.106 11.919 6.142 11.835 C 7.366 11.751 8.591 11.298 9.816 10.479 C 10.323 10.142 10.808 9.753 11.273 9.311 C 11.105 10.153 10.905 10.868 10.673 11.457 C 8.402 12.487 6.762 13.37 5.752 14.107 C 4.321 15.137 3.554 16.241 3.449 17.419 C 3.259 19.459 4.29 20.479 6.541 20.479 C 8.055 20.479 9.517 19.554 10.926 17.703 C 12.125 16.126 13.166 14.022 14.049 11.394 C 15.578 10.635 16.87 9.892 17.928 9.164 C 17.894 9.409 18.319 7.308 18.24 7.628 Z M 7.393 16.095 C 7.056 16.095 6.898 15.947 6.919 15.653 C 6.961 15.106 7.908 14.38 9.759 13.476 C 8.791 15.221 8.002 16.095 7.393 16.095 Z "
|
11 |
+
fill="rgb(255,255,255)"/>
|
12 |
+
</g>
|
13 |
+
</g>
|
14 |
</svg>
|
plugin-fw/assets/js/jquery-tiptip/jquery.tipTip.js
CHANGED
File without changes
|
plugin-fw/assets/js/jquery-tiptip/jquery.tipTip.min.js
CHANGED
File without changes
|
plugin-fw/assets/js/select2/select2.min.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
-
/*!
|
2 |
-
* Select2 4.0.3
|
3 |
-
* https://select2.github.io
|
4 |
-
*
|
5 |
-
* Released under the MIT license
|
6 |
-
* https://github.com/select2/select2/blob/master/LICENSE.md
|
7 |
-
*/
|
8 |
-
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):jQuery)}(function(e){var t=function(){if(e&&e.fn&&e.fn.select2&&e.fn.select2.amd)t=e.fn.select2.amd;var t;return function(){if(!t||!t.requirejs){t?n=t:t={};/**
|
9 |
-
* @license almond 0.3.1 Copyright (c) 2011-2014, The Dojo Foundation All Rights Reserved.
|
10 |
-
* Available via the MIT or new BSD license.
|
11 |
-
* see: http://github.com/jrburke/almond for details
|
12 |
-
*/
|
13 |
var e,n,i;!function(t){function r(e,t){return $.call(e,t)}function s(e,t){var n,i,r,s,o,a,l,c,u,d,p,h=t&&t.split("/"),f=y.map,g=f&&f["*"]||{};if(e&&"."===e.charAt(0))if(t){for(o=(e=e.split("/")).length-1,y.nodeIdCompat&&b.test(e[o])&&(e[o]=e[o].replace(b,"")),e=h.slice(0,h.length-1).concat(e),u=0;u<e.length;u+=1)if("."===(p=e[u]))e.splice(u,1),u-=1;else if(".."===p){if(1===u&&(".."===e[2]||".."===e[0]))break;u>0&&(e.splice(u-1,2),u-=2)}e=e.join("/")}else 0===e.indexOf("./")&&(e=e.substring(2));if((h||g)&&f){for(u=(n=e.split("/")).length;u>0;u-=1){if(i=n.slice(0,u).join("/"),h)for(d=h.length;d>0;d-=1)if((r=f[h.slice(0,d).join("/")])&&(r=r[i])){s=r,a=u;break}if(s)break;!l&&g&&g[i]&&(l=g[i],c=u)}!s&&l&&(s=l,a=c),s&&(n.splice(0,a,s),e=n.join("/"))}return e}function o(e,n){return function(){var i=w.call(arguments,0);return"string"!=typeof i[0]&&1===i.length&&i.push(null),h.apply(t,i.concat([e,n]))}}function a(e){return function(t){return s(t,e)}}function l(e){return function(t){m[e]=t}}function c(e){if(r(v,e)){var n=v[e];delete v[e],_[e]=!0,p.apply(t,n)}if(!r(m,e)&&!r(_,e))throw new Error("No "+e);return m[e]}function u(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function d(e){return function(){return y&&y.config&&y.config[e]||{}}}var p,h,f,g,m={},v={},y={},_={},$=Object.prototype.hasOwnProperty,w=[].slice,b=/\.js$/;f=function(e,t){var n,i=u(e),r=i[0];return e=i[1],r&&(n=c(r=s(r,t))),r?e=n&&n.normalize?n.normalize(e,a(t)):s(e,t):(r=(i=u(e=s(e,t)))[0],e=i[1],r&&(n=c(r))),{f:r?r+"!"+e:e,n:e,pr:r,p:n}},g={require:function(e){return o(e)},exports:function(e){var t=m[e];return void 0!==t?t:m[e]={}},module:function(e){return{id:e,uri:"",exports:m[e],config:d(e)}}},p=function(e,n,i,s){var a,u,d,p,h,y,$=[],w=typeof i;if(s=s||e,"undefined"===w||"function"===w){for(n=!n.length&&i.length?["require","exports","module"]:n,h=0;h<n.length;h+=1)if(p=f(n[h],s),"require"===(u=p.f))$[h]=g.require(e);else if("exports"===u)$[h]=g.exports(e),y=!0;else if("module"===u)a=$[h]=g.module(e);else if(r(m,u)||r(v,u)||r(_,u))$[h]=c(u);else{if(!p.p)throw new Error(e+" missing "+u);p.p.load(p.n,o(s,!0),l(u),{}),$[h]=m[u]}d=i?i.apply(m[e],$):undefined,e&&(a&&a.exports!==t&&a.exports!==m[e]?m[e]=a.exports:d===t&&y||(m[e]=d))}else e&&(m[e]=i)},e=n=h=function(e,n,i,r,s){if("string"==typeof e)return g[e]?g[e](n):c(f(e,n).f);if(!e.splice){if((y=e).deps&&h(y.deps,y.callback),!n)return;n.splice?(e=n,n=i,i=null):e=t}return n=n||function(){},"function"==typeof i&&(i=r,r=s),r?p(t,e,n,i):setTimeout(function(){p(t,e,n,i)},4),h},h.config=function(e){return h(e)},e._defined=m,(i=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),r(m,e)||r(v,e)||(v[e]=[e,t,n])}).amd={jQuery:!0}}(),t.requirejs=e,t.require=n,t.define=i}}(),t.define("almond",function(){}),t.define("jquery",[],function(){var t=e||$;return null==t&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),t}),t.define("select2/utils",["jquery"],function(e){function t(e){var t=e.prototype,n=[];for(var i in t)"function"==typeof t[i]&&"constructor"!==i&&n.push(i);return n}var n={};n.Extend=function(e,t){function n(){this.constructor=e}var i={}.hasOwnProperty;for(var r in t)i.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},n.Decorate=function(e,n){function i(){var t=Array.prototype.unshift,i=n.prototype.constructor.length,r=e.prototype.constructor;i>0&&(t.call(arguments,e.prototype.constructor),r=n.prototype.constructor),r.apply(this,arguments)}var r=t(n),s=t(e);n.displayName=e.displayName,i.prototype=new function(){this.constructor=i};for(var o=0;o<s.length;o++){var a=s[o];i.prototype[a]=e.prototype[a]}for(var l=0;l<r.length;l++){var c=r[l];i.prototype[c]=function(e){var t=function(){};e in i.prototype&&(t=i.prototype[e]);var r=n.prototype[e];return function(){return Array.prototype.unshift.call(arguments,t),r.apply(this,arguments)}}(c)}return i};var i=function(){this.listeners={}};return i.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},i.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),n[0]._type=e,e in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},i.prototype.invoke=function(e,t){for(var n=0,i=e.length;n<i;n++)e[n].apply(this,t)},n.Observable=i,n.generateChars=function(e){for(var t="",n=0;n<e;n++)t+=Math.floor(36*Math.random()).toString(36);return t},n.bind=function(e,t){return function(){e.apply(t,arguments)}},n._convertData=function(e){for(var t in e){var n=t.split("-"),i=e;if(1!==n.length){for(var r=0;r<n.length;r++){var s=n[r];(s=s.substring(0,1).toLowerCase()+s.substring(1))in i||(i[s]={}),r==n.length-1&&(i[s]=e[t]),i=i[s]}delete e[t]}}return e},n.hasScroll=function(t,n){var i=e(n),r=n.style.overflowX,s=n.style.overflowY;return(r!==s||"hidden"!==s&&"visible"!==s)&&("scroll"===r||"scroll"===s||(i.innerHeight()<n.scrollHeight||i.innerWidth()<n.scrollWidth))},n.escapeMarkup=function(e){var t={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})},n.appendMany=function(t,n){if("1.7"===e.fn.jquery.substr(0,3)){var i=e();e.map(n,function(e){i=i.add(e)}),n=i}t.append(n)},n}),t.define("select2/results",["jquery","./utils"],function(e,t){function n(e,t,i){this.$element=e,this.data=i,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<ul class="select2-results__options" role="tree"></ul>');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t,t},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(t){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var i=e('<li role="treeitem" aria-live="assertive" class="select2-results__option"></li>'),r=this.options.get("translations").get(t.message);i.append(n(r(t.args))),i[0].className+=" select2-results__message",this.$results.append(i)},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(e){this.hideLoading();var t=[];if(null!=e.results&&0!==e.results.length){e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var i=e.results[n],r=this.option(i);t.push(r)}this.$results.append(t)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},n.prototype.position=function(e,t){t.find(".select2-results").append(e)},n.prototype.sort=function(e){return this.options.get("sorter")(e)},n.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option[aria-selected]"),t=e.filter("[aria-selected=true]");t.length>0?t.first().trigger("mouseenter"):e.first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var t=this;this.data.current(function(n){var i=e.map(n,function(e){return e.id.toString()});t.$results.find(".select2-results__option[aria-selected]").each(function(){var t=e(this),n=e.data(this,"data"),r=""+n.id;null!=n.element&&n.element.selected||null==n.element&&e.inArray(r,i)>-1?t.attr("aria-selected","true"):t.attr("aria-selected","false")})})},n.prototype.showLoading=function(e){this.hideLoading();var t={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(e)},n=this.option(t);n.className+=" loading-results",this.$results.prepend(n)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(t){var n=document.createElement("li");n.className="select2-results__option";var i={role:"treeitem","aria-selected":"false"};t.disabled&&(delete i["aria-selected"],i["aria-disabled"]="true"),null==t.id&&delete i["aria-selected"],null!=t._resultId&&(n.id=t._resultId),t.title&&(n.title=t.title),t.children&&(i.role="group",i["aria-label"]=t.text,delete i["aria-selected"]);for(var r in i){var s=i[r];n.setAttribute(r,s)}if(t.children){var o=e(n),a=document.createElement("strong");a.className="select2-results__group";e(a);this.template(t,a);for(var l=[],c=0;c<t.children.length;c++){var u=t.children[c],d=this.option(u);l.push(d)}var p=e("<ul></ul>",{"class":"select2-results__options select2-results__options--nested"});p.append(l),o.append(a),o.append(p)}else this.template(t,n);return e.data(n,"data",t),n},n.prototype.bind=function(t,n){var i=this,r=t.id+"-results";this.$results.attr("id",r),t.on("results:all",function(e){i.clear(),i.append(e.data),t.isOpen()&&(i.setClasses(),i.highlightFirstItem())}),t.on("results:append",function(e){i.append(e.data),t.isOpen()&&i.setClasses()}),t.on("query",function(e){i.hideMessages(),i.showLoading(e)}),t.on("select",function(){t.isOpen()&&(i.setClasses(),i.highlightFirstItem())}),t.on("unselect",function(){t.isOpen()&&(i.setClasses(),i.highlightFirstItem())}),t.on("open",function(){i.$results.attr("aria-expanded","true"),i.$results.attr("aria-hidden","false"),i.setClasses(),i.ensureHighlightVisible()}),t.on("close",function(){i.$results.attr("aria-expanded","false"),i.$results.attr("aria-hidden","true"),i.$results.removeAttr("aria-activedescendant")}),t.on("results:toggle",function(){var e=i.getHighlightedResults();0!==e.length&&e.trigger("mouseup")}),t.on("results:select",function(){var e=i.getHighlightedResults();if(0!==e.length){var t=e.data("data");"true"==e.attr("aria-selected")?i.trigger("close",{}):i.trigger("select",{data:t})}}),t.on("results:previous",function(){var e=i.getHighlightedResults(),t=i.$results.find("[aria-selected]"),n=t.index(e);if(0!==n){var r=n-1;0===e.length&&(r=0);var s=t.eq(r);s.trigger("mouseenter");var o=i.$results.offset().top,a=s.offset().top,l=i.$results.scrollTop()+(a-o);0===r?i.$results.scrollTop(0):a-o<0&&i.$results.scrollTop(l)}}),t.on("results:next",function(){var e=i.getHighlightedResults(),t=i.$results.find("[aria-selected]"),n=t.index(e)+1;if(!(n>=t.length)){var r=t.eq(n);r.trigger("mouseenter");var s=i.$results.offset().top+i.$results.outerHeight(!1),o=r.offset().top+r.outerHeight(!1),a=i.$results.scrollTop()+o-s;0===n?i.$results.scrollTop(0):o>s&&i.$results.scrollTop(a)}}),t.on("results:focus",function(e){e.element.addClass("select2-results__option--highlighted")}),t.on("results:message",function(e){i.displayMessage(e)}),e.fn.mousewheel&&this.$results.on("mousewheel",function(e){var t=i.$results.scrollTop(),n=i.$results.get(0).scrollHeight-t+e.deltaY,r=e.deltaY>0&&t-e.deltaY<=0,s=e.deltaY<0&&n<=i.$results.height();r?(i.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):s&&(i.$results.scrollTop(i.$results.get(0).scrollHeight-i.$results.height()),e.preventDefault(),e.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(t){var n=e(this),r=n.data("data");"true"!==n.attr("aria-selected")?i.trigger("select",{originalEvent:t,data:r}):i.options.get("multiple")?i.trigger("unselect",{originalEvent:t,data:r}):i.trigger("close",{})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(t){var n=e(this).data("data");i.getHighlightedResults().removeClass("select2-results__option--highlighted"),i.trigger("results:focus",{data:n,element:e(this)})})},n.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find("[aria-selected]").index(e),n=this.$results.offset().top,i=e.offset().top,r=this.$results.scrollTop()+(i-n),s=i-n;r-=2*e.outerHeight(!1),t<=2?this.$results.scrollTop(0):(s>this.$results.outerHeight()||s<0)&&this.$results.scrollTop(r)}},n.prototype.template=function(t,n){var i=this.options.get("templateResult"),r=this.options.get("escapeMarkup"),s=i(t,n);null==s?n.style.display="none":"string"==typeof s?n.innerHTML=r(s):e(n).append(s)},n}),t.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),t.define("select2/selection/base",["jquery","../utils","../keys"],function(e,t,n){function i(e,t){this.$element=e,this.options=t,i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var t=e('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),t.attr("title",this.$element.attr("title")),t.attr("tabindex",this._tabindex),this.$selection=t,t},i.prototype.bind=function(e,t){var i=this,r=(e.id,e.id+"-results");this.container=e,this.$selection.on("focus",function(e){i.trigger("focus",e)}),this.$selection.on("blur",function(e){i._handleBlur(e)}),this.$selection.on("keydown",function(e){i.trigger("keypress",e),e.which===n.SPACE&&e.preventDefault()}),e.on("results:focus",function(e){i.$selection.attr("aria-activedescendant",e.data._resultId)}),e.on("selection:update",function(e){i.update(e.data)}),e.on("open",function(){i.$selection.attr("aria-expanded","true"),i.$selection.attr("aria-owns",r),i._attachCloseHandler(e)}),e.on("close",function(){i.$selection.attr("aria-expanded","false"),i.$selection.removeAttr("aria-activedescendant"),i.$selection.removeAttr("aria-owns"),i.$selection.focus(),i._detachCloseHandler(e)}),e.on("enable",function(){i.$selection.attr("tabindex",i._tabindex)}),e.on("disable",function(){i.$selection.attr("tabindex","-1")})},i.prototype._handleBlur=function(t){var n=this;window.setTimeout(function(){document.activeElement==n.$selection[0]||e.contains(n.$selection[0],document.activeElement)||n.trigger("blur",t)},1)},i.prototype._attachCloseHandler=function(t){e(document.body).on("mousedown.select2."+t.id,function(t){var n=e(t.target).closest(".select2");e(".select2.select2-container--open").each(function(){var t=e(this);this!=n[0]&&t.data("element").select2("close")})})},i.prototype._detachCloseHandler=function(t){e(document.body).off("mousedown.select2."+t.id)},i.prototype.position=function(e,t){t.find(".selection").append(e)},i.prototype.destroy=function(){this._detachCloseHandler(this.container)},i.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},i}),t.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,n,i){function r(){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,t),r.prototype.render=function(){var e=r.__super__.render.call(this);return e.addClass("select2-selection--single"),e.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},r.prototype.bind=function(e,t){var n=this;r.__super__.bind.apply(this,arguments);var i=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",i),this.$selection.attr("aria-labelledby",i),this.$selection.on("mousedown",function(e){1===e.which&&n.trigger("toggle",{originalEvent:e})}),this.$selection.on("focus",function(e){}),this.$selection.on("blur",function(e){}),e.on("focus",function(t){e.isOpen()||n.$selection.focus()}),e.on("selection:update",function(e){n.update(e.data)})},r.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},r.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},r.prototype.selectionContainer=function(){return e("<span></span>")},r.prototype.update=function(e){if(0!==e.length){var t=e[0],n=this.$selection.find(".select2-selection__rendered"),i=this.display(t,n);n.empty().append(i),n.prop("title",t.title||t.text)}else this.clear()},r}),t.define("select2/selection/multiple",["jquery","./base","../utils"],function(e,t,n){function i(e,t){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,t),i.prototype.render=function(){var e=i.__super__.render.call(this);return e.addClass("select2-selection--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e},i.prototype.bind=function(t,n){var r=this;i.__super__.bind.apply(this,arguments),this.$selection.on("click",function(e){r.trigger("toggle",{originalEvent:e})}),this.$selection.on("click",".select2-selection__choice__remove",function(t){if(!r.options.get("disabled")){var n=e(this).parent().data("data");r.trigger("unselect",{originalEvent:t,data:n})}})},i.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},i.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},i.prototype.selectionContainer=function(){return e('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">×</span></li>')},i.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],i=0;i<e.length;i++){var r=e[i],s=this.selectionContainer(),o=this.display(r,s);s.append(o),s.prop("title",r.title||r.text),s.data("data",r),t.push(s)}var a=this.$selection.find(".select2-selection__rendered");n.appendMany(a,t)}},i}),t.define("select2/selection/placeholder",["../utils"],function(e){function t(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n)}return t.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},t.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();return n.html(this.display(t)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},t.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id;if(t.length>1||n)return e.call(this,t);this.clear();var i=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(i)},t}),t.define("select2/selection/allowClear",["jquery","../keys"],function(e,t){function n(){}return n.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(e){i._handleClear(e)}),t.on("keypress",function(e){i._handleKeyboardClear(e,t)})},n.prototype._handleClear=function(e,t){if(!this.options.get("disabled")){var n=this.$selection.find(".select2-selection__clear");if(0!==n.length){t.stopPropagation();for(var i=n.data("data"),r=0;r<i.length;r++){var s={data:i[r]};if(this.trigger("unselect",s),s.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle",{})}}},n.prototype._handleKeyboardClear=function(e,n,i){i.isOpen()||n.which!=t.DELETE&&n.which!=t.BACKSPACE||this._handleClear(n)},n.prototype.update=function(t,n){if(t.call(this,n),!(this.$selection.find(".select2-selection__placeholder").length>0||0===n.length)){var i=e('<span class="select2-selection__clear">×</span>');i.data("data",n),this.$selection.find(".select2-selection__rendered").prepend(i)}},n}),t.define("select2/selection/search",["jquery","../utils","../keys"],function(e,t,n){function i(e,t,n){e.call(this,t,n)}return i.prototype.render=function(t){var n=e('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=n,this.$search=n.find("input");var i=t.call(this);return this._transferTabIndex(),i},i.prototype.bind=function(e,t,i){var r=this;e.call(this,t,i),t.on("open",function(){r.$search.trigger("focus")}),t.on("close",function(){r.$search.val(""),r.$search.removeAttr("aria-activedescendant"),r.$search.trigger("focus")}),t.on("enable",function(){r.$search.prop("disabled",!1),r._transferTabIndex()}),t.on("disable",function(){r.$search.prop("disabled",!0)}),t.on("focus",function(e){r.$search.trigger("focus")}),t.on("results:focus",function(e){r.$search.attr("aria-activedescendant",e.id)}),this.$selection.on("focusin",".select2-search--inline",function(e){r.trigger("focus",e)}),this.$selection.on("focusout",".select2-search--inline",function(e){r._handleBlur(e)}),this.$selection.on("keydown",".select2-search--inline",function(e){if(e.stopPropagation(),r.trigger("keypress",e),r._keyUpPrevented=e.isDefaultPrevented(),e.which===n.BACKSPACE&&""===r.$search.val()){var t=r.$searchContainer.prev(".select2-selection__choice");if(t.length>0){var i=t.data("data");r.searchRemoveChoice(i),e.preventDefault()}}});var s=document.documentMode,o=s&&s<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(e){o?r.$selection.off("input.search input.searchcheck"):r.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(e){if(o&&"input"===e.type)r.$selection.off("input.search input.searchcheck");else{var t=e.which;t!=n.SHIFT&&t!=n.CTRL&&t!=n.ALT&&t!=n.TAB&&r.handleSearch(e)}})},i.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},i.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},i.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.focus()},i.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},i.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},i.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="";e=""!==this.$search.attr("placeholder")?this.$selection.find(".select2-selection__rendered").innerWidth():.75*(this.$search.val().length+1)+"em",this.$search.css("width",e)},i}),t.define("select2/selection/eventRelay",["jquery"],function(e){function t(){}return t.prototype.bind=function(t,n,i){var r=this,s=["open","opening","close","closing","select","selecting","unselect","unselecting"],o=["opening","closing","selecting","unselecting"];t.call(this,n,i),n.on("*",function(t,n){if(-1!==e.inArray(t,s)){n=n||{};var i=e.Event("select2:"+t,{params:n});r.$element.trigger(i),-1!==e.inArray(t,o)&&(n.prevented=i.isDefaultPrevented())}})},t}),t.define("select2/translation",["jquery","require"],function(e,t){function n(e){this.dict=e||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(e){return this.dict[e]},n.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict)},n._cache={},n.loadPath=function(e){if(!(e in n._cache)){var i=t(e);n._cache[e]=i}return new n(n._cache[e])},n}),t.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","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":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"}}),t.define("select2/data/base",["../utils"],function(e){function t(e,n){t.__super__.constructor.call(this)}return e.Extend(t,e.Observable),t.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},t.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},t.prototype.bind=function(e,t){},t.prototype.destroy=function(){},t.prototype.generateResultId=function(t,n){var i=t.id+"-result-";return i+=e.generateChars(4),null!=n.id?i+="-"+n.id.toString():i+="-"+e.generateChars(4),i},t}),t.define("select2/data/select",["./base","../utils","jquery"],function(e,t,n){function i(e,t){this.$element=e,this.options=t,i.__super__.constructor.call(this)}return t.Extend(i,e),i.prototype.current=function(e){var t=[],i=this;this.$element.find(":selected").each(function(){var e=n(this),r=i.item(e);t.push(r)}),e(t)},i.prototype.select=function(e){var t=this;if(e.selected=!0,n(e.element).is("option"))return e.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(i){var r=[];(e=[e]).push.apply(e,i);for(var s=0;s<e.length;s++){var o=e[s].id;-1===n.inArray(o,r)&&r.push(o)}t.$element.val(r),t.$element.trigger("change")});else{var i=e.id;this.$element.val(i),this.$element.trigger("change")}},i.prototype.unselect=function(e){var t=this;if(this.$element.prop("multiple")){if(e.selected=!1,n(e.element).is("option"))return e.element.selected=!1,void this.$element.trigger("change");this.current(function(i){for(var r=[],s=0;s<i.length;s++){var o=i[s].id;o!==e.id&&-1===n.inArray(o,r)&&r.push(o)}t.$element.val(r),t.$element.trigger("change")})}},i.prototype.bind=function(e,t){var n=this;this.container=e,e.on("select",function(e){n.select(e.data)}),e.on("unselect",function(e){n.unselect(e.data)})},i.prototype.destroy=function(){this.$element.find("*").each(function(){n.removeData(this,"data")})},i.prototype.query=function(e,t){var i=[],r=this;this.$element.children().each(function(){var t=n(this);if(t.is("option")||t.is("optgroup")){var s=r.item(t),o=r.matches(e,s);null!==o&&i.push(o)}}),t({results:i})},i.prototype.addOptions=function(e){t.appendMany(this.$element,e)},i.prototype.option=function(e){var t;e.children?(t=document.createElement("optgroup")).label=e.text:(t=document.createElement("option")).textContent!==undefined?t.textContent=e.text:t.innerText=e.text,e.id&&(t.value=e.id),e.disabled&&(t.disabled=!0),e.selected&&(t.selected=!0),e.title&&(t.title=e.title);var i=n(t),r=this._normalizeItem(e);return r.element=t,n.data(t,"data",r),i},i.prototype.item=function(e){var t={};if(null!=(t=n.data(e[0],"data")))return t;if(e.is("option"))t={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if(e.is("optgroup")){t={text:e.prop("label"),children:[],title:e.prop("title")};for(var i=e.children("option"),r=[],s=0;s<i.length;s++){var o=n(i[s]),a=this.item(o);r.push(a)}t.children=r}return t=this._normalizeItem(t),t.element=e[0],n.data(e[0],"data",t),t},i.prototype._normalizeItem=function(e){n.isPlainObject(e)||(e={id:e,text:e});var t={selected:!1,disabled:!1};return null!=(e=n.extend({},{text:""},e)).id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),n.extend({},t,e)},i.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},i}),t.define("select2/data/array",["./select","../utils","jquery"],function(e,t,n){function i(e,t){var n=t.get("data")||[];i.__super__.constructor.call(this,e,t),this.addOptions(this.convertToOptions(n))}return t.Extend(i,e),i.prototype.select=function(e){var t=this.$element.find("option").filter(function(t,n){return n.value==e.id.toString()});0===t.length&&(t=this.option(e),this.addOptions(t)),i.__super__.select.call(this,e)},i.prototype.convertToOptions=function(e){for(var i=this,r=this.$element.find("option"),s=r.map(function(){return i.item(n(this)).id}).get(),o=[],a=0;a<e.length;a++){var l=this._normalizeItem(e[a]);if(n.inArray(l.id,s)>=0){var c=r.filter(function(e){return function(){return n(this).val()==e.id}}(l)),u=this.item(c),d=n.extend(!0,{},l,u),p=this.option(d);c.replaceWith(p)}else{var h=this.option(l);if(l.children){var f=this.convertToOptions(l.children);t.appendMany(h,f)}o.push(h)}}return o},i}),t.define("select2/data/ajax",["./array","../utils","jquery"],function(e,t,n){function i(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),i.__super__.constructor.call(this,e,t)}return t.Extend(i,e),i.prototype._applyDefaults=function(e){var t={data:function(e){return n.extend({},e,{q:e.term})},transport:function(e,t,i){var r=n.ajax(e);return r.then(t),r.fail(i),r}};return n.extend({},t,e,!0)},i.prototype.processResults=function(e){return e},i.prototype.query=function(e,t){function i(){var i=s.transport(s,function(i){var s=r.processResults(i,e);r.options.get("debug")&&window.console&&console.error&&(s&&s.results&&n.isArray(s.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),t(s)},function(){i.status&&"0"===i.status||r.trigger("results:message",{message:"errorLoading"})});r._request=i}var r=this;null!=this._request&&(n.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var s=n.extend({type:"GET"},this.ajaxOptions);"function"==typeof s.url&&(s.url=s.url.call(this.$element,e)),"function"==typeof s.data&&(s.data=s.data.call(this.$element,e)),this.ajaxOptions.delay&&null!=e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(i,this.ajaxOptions.delay)):i()},i}),t.define("select2/data/tags",["jquery"],function(e){function t(t,n,i){var r=i.get("tags"),s=i.get("createTag");s!==undefined&&(this.createTag=s);var o=i.get("insertTag");if(o!==undefined&&(this.insertTag=o),t.call(this,n,i),e.isArray(r))for(var a=0;a<r.length;a++){var l=r[a],c=this._normalizeItem(l),u=this.option(c);this.$element.append(u)}}return t.prototype.query=function(e,t,n){function i(e,s){for(var o=e.results,a=0;a<o.length;a++){var l=o[a],c=null!=l.children&&!i({results:l.children},!0);if(l.text===t.term||c)return!s&&(e.data=o,void n(e))}if(s)return!0;var u=r.createTag(t);if(null!=u){var d=r.option(u);d.attr("data-select2-tag",!0),r.addOptions([d]),r.insertTag(o,u)}e.results=o,n(e)}var r=this;this._removeOldTags(),null!=t.term&&null==t.page?e.call(this,t,i):e.call(this,t,n)},t.prototype.createTag=function(t,n){var i=e.trim(n.term);return""===i?null:{id:i,text:i}},t.prototype.insertTag=function(e,t,n){t.unshift(n)},t.prototype._removeOldTags=function(t){this._lastTag;this.$element.find("option[data-select2-tag]").each(function(){this.selected||e(this).remove()})},t}),t.define("select2/data/tokenizer",["jquery"],function(e){function t(e,t,n){var i=n.get("tokenizer");i!==undefined&&(this.tokenizer=i),e.call(this,t,n)}return t.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(".select2-search__field")},t.prototype.query=function(t,n,i){function r(e){s.trigger("select",{data:e})}var s=this;n.term=n.term||"";var o=this.tokenizer(n,this.options,function(t){var n=s._normalizeItem(t);if(!s.$element.find("option").filter(function(){return e(this).val()===n.id}).length){var i=s.option(n);i.attr("data-select2-tag",!0),s._removeOldTags(),s.addOptions([i])}r(n)});o.term!==n.term&&(this.$search.length&&(this.$search.val(o.term),this.$search.focus()),n.term=o.term),t.call(this,n,i)},t.prototype.tokenizer=function(t,n,i,r){for(var s=i.get("tokenSeparators")||[],o=n.term,a=0,l=this.createTag||function(e){return{id:e.term,text:e.term}};a<o.length;){var c=o[a];if(-1!==e.inArray(c,s)){var u=o.substr(0,a),d=l(e.extend({},n,{term:u}));null!=d?(r(d),o=o.substr(a+1)||"",a=0):a++}else a++}return{term:o}},t}),t.define("select2/data/minimumInputLength",[],function(){function e(e,t,n){this.minimumInputLength=n.get("minimumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",t.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),t.define("select2/data/maximumInputLength",[],function(){function e(e,t,n){this.maximumInputLength=n.get("maximumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",this.maximumInputLength>0&&t.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),t.define("select2/data/maximumSelectionLength",[],function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){var i=this;this.current(function(r){var s=null!=r?r.length:0;i.maximumSelectionLength>0&&s>=i.maximumSelectionLength?i.trigger("results:message",{message:"maximumSelected",args:{maximum:i.maximumSelectionLength}}):e.call(i,t,n)})},e}),t.define("select2/dropdown",["jquery","./utils"],function(e,t){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<span class="select2-dropdown"><span class="select2-results"></span></span>');return t.attr("dir",this.options.get("dir")),this.$dropdown=t,t},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),t.define("select2/dropdown/search",["jquery","../utils"],function(e,t){function n(){}return n.prototype.render=function(t){var n=t.call(this),i=e('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=i,this.$search=i.find("input"),n.prepend(i),n},n.prototype.bind=function(t,n,i){var r=this;t.call(this,n,i),this.$search.on("keydown",function(e){r.trigger("keypress",e),r._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on("input",function(t){e(this).off("keyup")}),this.$search.on("keyup input",function(e){r.handleSearch(e)}),n.on("open",function(){r.$search.attr("tabindex",0),r.$search.focus(),window.setTimeout(function(){r.$search.focus()},0)}),n.on("close",function(){r.$search.attr("tabindex",-1),r.$search.val("")}),n.on("focus",function(){n.isOpen()&&r.$search.focus()}),n.on("results:all",function(e){null!=e.query.term&&""!==e.query.term||(r.showSearch(e)?r.$searchContainer.removeClass("select2-search--hide"):r.$searchContainer.addClass("select2-search--hide"))})},n.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},n.prototype.showSearch=function(e,t){return!0},n}),t.define("select2/dropdown/hidePlaceholder",[],function(){function e(e,t,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,i)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),i=t.length-1;i>=0;i--){var r=t[i];this.placeholder.id===r.id&&n.splice(i,1)}return n},e}),t.define("select2/dropdown/infiniteScroll",["jquery"],function(e){function t(e,t,n,i){this.lastParams={},e.call(this,t,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&this.$results.append(this.$loadingMore)},t.prototype.bind=function(t,n,i){var r=this;t.call(this,n,i),n.on("query",function(e){r.lastParams=e,r.loading=!0}),n.on("query:append",function(e){r.lastParams=e,r.loading=!0}),this.$results.on("scroll",function(){var t=e.contains(document.documentElement,r.$loadingMore[0]);!r.loading&&t&&r.$results.offset().top+r.$results.outerHeight(!1)+50>=r.$loadingMore.offset().top+r.$loadingMore.outerHeight(!1)&&r.loadMore()})},t.prototype.loadMore=function(){this.loading=!0;var t=e.extend({},{page:1},this.lastParams);t.page++,this.trigger("query:append",t)},t.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},t.prototype.createLoadingMore=function(){var t=e('<li class="select2-results__option select2-results__option--load-more"role="treeitem" aria-disabled="true"></li>'),n=this.options.get("translations").get("loadingMore");return t.html(n(this.lastParams)),t},t}),t.define("select2/dropdown/attachBody",["jquery","../utils"],function(e,t){function n(t,n,i){this.$dropdownParent=i.get("dropdownParent")||e(document.body),t.call(this,n,i)}return n.prototype.bind=function(e,t,n){var i=this,r=!1;e.call(this,t,n),t.on("open",function(){i._showDropdown(),i._attachPositioningHandler(t),r||(r=!0,t.on("results:all",function(){i._positionDropdown(),i._resizeDropdown()}),t.on("results:append",function(){i._positionDropdown(),i._resizeDropdown()}))}),t.on("close",function(){i._hideDropdown(),i._detachPositioningHandler(t)}),this.$dropdownContainer.on("mousedown",function(e){e.stopPropagation()})},n.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},n.prototype.position=function(e,t,n){t.attr("class",n.attr("class")),t.removeClass("select2"),t.addClass("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(t){var n=e("<span></span>"),i=t.call(this);return n.append(i),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},n.prototype._attachPositioningHandler=function(n,i){var r=this,s="scroll.select2."+i.id,o="resize.select2."+i.id,a="orientationchange.select2."+i.id,l=this.$container.parents().filter(t.hasScroll);l.each(function(){e(this).data("select2-scroll-position",{x:e(this).scrollLeft(),y:e(this).scrollTop()})}),l.on(s,function(t){var n=e(this).data("select2-scroll-position");e(this).scrollTop(n.y)}),e(window).on(s+" "+o+" "+a,function(e){r._positionDropdown(),r._resizeDropdown()})},n.prototype._detachPositioningHandler=function(n,i){var r="scroll.select2."+i.id,s="resize.select2."+i.id,o="orientationchange.select2."+i.id;this.$container.parents().filter(t.hasScroll).off(r),e(window).off(r+" "+s+" "+o)},n.prototype._positionDropdown=function(){var t=e(window),n=this.$dropdown.hasClass("select2-dropdown--above"),i=this.$dropdown.hasClass("select2-dropdown--below"),r=null,s=this.$container.offset();s.bottom=s.top+this.$container.outerHeight(!1);var o={height:this.$container.outerHeight(!1)};o.top=s.top,o.bottom=s.top+o.height;var a={height:this.$dropdown.outerHeight(!1)},l={top:t.scrollTop(),bottom:t.scrollTop()+t.height()},c=l.top<s.top-a.height,u=l.bottom>s.bottom+a.height,d={left:s.left,top:o.bottom},p=this.$dropdownParent;"static"===p.css("position")&&(p=p.offsetParent());var h=p.offset();d.top-=h.top,d.left-=h.left,n||i||(r="below"),u||!c||n?!c&&u&&n&&(r="below"):r="above",("above"==r||n&&"below"!==r)&&(d.top=o.top-h.top-a.height),null!=r&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+r),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+r)),this.$dropdownContainer.css(d)},n.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},n.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n}),t.define("select2/dropdown/minimumResultsForSearch",[],function(){function e(t){for(var n=0,i=0;i<t.length;i++){var r=t[i];r.children?n+=e(r.children):n++}return n}function t(e,t,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=Infinity),e.call(this,t,n,i)}return t.prototype.showSearch=function(t,n){return!(e(n.data.results)<this.minimumResultsForSearch)&&t.call(this,n)},t}),t.define("select2/dropdown/selectOnClose",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("close",function(e){i._handleSelectOnClose(e)})},e.prototype._handleSelectOnClose=function(e,t){if(t&&null!=t.originalSelect2Event){var n=t.originalSelect2Event;if("select"===n._type||"unselect"===n._type)return}var i=this.getHighlightedResults();if(!(i.length<1)){var r=i.data("data");null!=r.element&&r.element.selected||null==r.element&&r.selected||this.trigger("select",{data:r})}},e}),t.define("select2/dropdown/closeOnSelect",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",function(e){i._selectTriggered(e)}),t.on("unselect",function(e){i._selectTriggered(e)})},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&n.ctrlKey||this.trigger("close",{originalEvent:n,originalSelect2Event:t})},e}),t.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return 1!=t&&(n+="s"),n},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),t.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(e,t,n,i,r,s,o,a,l,c,u,d,p,h,f,g,m,v,y,_,$,w,b,A,x,E,C,O,S){function T(){this.reset()}return T.prototype.apply=function(d){if(null==(d=e.extend(!0,{},this.defaults,d)).dataAdapter){if(null!=d.ajax?d.dataAdapter=f:null!=d.data?d.dataAdapter=h:d.dataAdapter=p,d.minimumInputLength>0&&(d.dataAdapter=c.Decorate(d.dataAdapter,v)),d.maximumInputLength>0&&(d.dataAdapter=c.Decorate(d.dataAdapter,y)),d.maximumSelectionLength>0&&(d.dataAdapter=c.Decorate(d.dataAdapter,_)),d.tags&&(d.dataAdapter=c.Decorate(d.dataAdapter,g)),null==d.tokenSeparators&&null==d.tokenizer||(d.dataAdapter=c.Decorate(d.dataAdapter,m)),null!=d.query){var S=t(d.amdBase+"compat/query");d.dataAdapter=c.Decorate(d.dataAdapter,S)}if(null!=d.initSelection){var T=t(d.amdBase+"compat/initSelection");d.dataAdapter=c.Decorate(d.dataAdapter,T)}}if(null==d.resultsAdapter&&(d.resultsAdapter=n,null!=d.ajax&&(d.resultsAdapter=c.Decorate(d.resultsAdapter,A)),null!=d.placeholder&&(d.resultsAdapter=c.Decorate(d.resultsAdapter,b)),d.selectOnClose&&(d.resultsAdapter=c.Decorate(d.resultsAdapter,C))),null==d.dropdownAdapter){if(d.multiple)d.dropdownAdapter=$;else{var D=c.Decorate($,w);d.dropdownAdapter=D}if(0!==d.minimumResultsForSearch&&(d.dropdownAdapter=c.Decorate(d.dropdownAdapter,E)),d.closeOnSelect&&(d.dropdownAdapter=c.Decorate(d.dropdownAdapter,O)),null!=d.dropdownCssClass||null!=d.dropdownCss||null!=d.adaptDropdownCssClass){var q=t(d.amdBase+"compat/dropdownCss");d.dropdownAdapter=c.Decorate(d.dropdownAdapter,q)}d.dropdownAdapter=c.Decorate(d.dropdownAdapter,x)}if(null==d.selectionAdapter){if(d.multiple?d.selectionAdapter=r:d.selectionAdapter=i,null!=d.placeholder&&(d.selectionAdapter=c.Decorate(d.selectionAdapter,s)),d.allowClear&&(d.selectionAdapter=c.Decorate(d.selectionAdapter,o)),d.multiple&&(d.selectionAdapter=c.Decorate(d.selectionAdapter,a)),null!=d.containerCssClass||null!=d.containerCss||null!=d.adaptContainerCssClass){var L=t(d.amdBase+"compat/containerCss");d.selectionAdapter=c.Decorate(d.selectionAdapter,L)}d.selectionAdapter=c.Decorate(d.selectionAdapter,l)}if("string"==typeof d.language)if(d.language.indexOf("-")>0){var j=d.language.split("-")[0];d.language=[d.language,j]}else d.language=[d.language];if(e.isArray(d.language)){var P=new u;d.language.push("en");for(var k=d.language,I=0;I<k.length;I++){var R=k[I],M={};try{M=u.loadPath(R)}catch(z){try{R=this.defaults.amdLanguageBase+R,M=u.loadPath(R)}catch(N){d.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+R+'" could not be automatically loaded. A fallback will be used instead.');continue}}P.extend(M)}d.translations=P}else{var U=u.loadPath(this.defaults.amdLanguageBase+"en"),H=new u(d.language);H.extend(U),d.translations=H}return d},T.prototype.reset=function(){function t(e){return e.replace(/[^\u0000-\u007E]/g,function(e){return d[e]||e})}function n(i,r){if(""===e.trim(i.term))return r;if(r.children&&r.children.length>0){for(var s=e.extend(!0,{},r),o=r.children.length-1;o>=0;o--)null==n(i,r.children[o])&&s.children.splice(o,1);return s.children.length>0?s:n(i,s)}var a=t(r.text).toUpperCase(),l=t(i.term).toUpperCase();return a.indexOf(l)>-1?r:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:c.escapeMarkup,language:S,matcher:n,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},T.prototype.set=function(t,n){var i={};i[e.camelCase(t)]=n;var r=c._convertData(i);e.extend(this.defaults,r)},new T}),t.define("select2/options",["require","jquery","./defaults","./utils"],function(e,t,n,i){function r(t,r){if(this.options=t,null!=r&&this.fromElement(r),this.options=n.apply(this.options),r&&r.is("input")){var s=e(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=i.Decorate(this.options.dataAdapter,s)}}return r.prototype.fromElement=function(e){var n=["select2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.language&&(e.prop("lang")?this.options.language=e.prop("lang").toLowerCase():e.closest("[lang]").prop("lang")&&(this.options.language=e.closest("[lang]").prop("lang"))),null==this.options.dir&&(e.prop("dir")?this.options.dir=e.prop("dir"):e.closest("[dir]").prop("dir")?this.options.dir=e.closest("[dir]").prop("dir"):this.options.dir="ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),e.data("select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),e.data("data",e.data("select2Tags")),e.data("tags",!0)),e.data("ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",e.data("ajaxUrl")),e.data("ajax--url",e.data("ajaxUrl")));var r={};r=t.fn.jquery&&"1."==t.fn.jquery.substr(0,2)&&e[0].dataset?t.extend(!0,{},e[0].dataset,e.data()):e.data();var s=t.extend(!0,{},r);s=i._convertData(s);for(var o in s)t.inArray(o,n)>-1||(t.isPlainObject(this.options[o])?t.extend(this.options[o],s[o]):this.options[o]=s[o]);return this},r.prototype.get=function(e){return this.options[e]},r.prototype.set=function(e,t){this.options[e]=t},r}),t.define("select2/core",["jquery","./options","./utils","./keys"],function(e,t,n,i){var r=function(e,n){null!=e.data("select2")&&e.data("select2").destroy(),this.$element=e,this.id=this._generateId(e),n=n||{},this.options=new t(n,e),r.__super__.constructor.call(this);var i=e.attr("tabindex")||0;e.data("old-tabindex",i),e.attr("tabindex","-1");var s=this.options.get("dataAdapter");this.dataAdapter=new s(e,this.options);var o=this.render();this._placeContainer(o);var a=this.options.get("selectionAdapter");this.selection=new a(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,o);var l=this.options.get("dropdownAdapter");this.dropdown=new l(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,o);var c=this.options.get("resultsAdapter");this.results=new c(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var u=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(e){u.trigger("selection:update",{data:e})}),e.addClass("select2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),e.data("select2",this)};return n.Extend(r,n.Observable),r.prototype._generateId=function(e){var t="";return t=null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+n.generateChars(2):n.generateChars(4),t=t.replace(/(:|\.|\[|\]|,)/g,""),t="select2-"+t},r.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},r.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var i=this._resolveWidth(e,"style");return null!=i?i:this._resolveWidth(e,"element")}if("element"==t){var r=e.outerWidth(!1);return r<=0?"auto":r+"px"}if("style"==t){var s=e.attr("style");if("string"!=typeof s)return null;for(var o=s.split(";"),a=0,l=o.length;a<l;a+=1){var c=o[a].replace(/\s/g,"").match(n);if(null!==c&&c.length>=1)return c[1]}return null}return t},r.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},r.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this.$element.on("focus.select2",function(e){t.trigger("focus",e)}),this._syncA=n.bind(this._syncAttributes,this),this._syncS=n.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var i=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=i?(this._observer=new i(function(n){e.each(n,t._syncA),e.each(n,t._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",t._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",t._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",t._syncS,!1))},r.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on("*",function(t,n){e.trigger(t,n)})},r.prototype._registerSelectionEvents=function(){var t=this,n=["toggle","focus"];this.selection.on("toggle",function(){t.toggleDropdown()}),this.selection.on("focus",function(e){t.focus(e)}),this.selection.on("*",function(i,r){-1===e.inArray(i,n)&&t.trigger(i,r)})},r.prototype._registerDropdownEvents=function(){var e=this;this.dropdown.on("*",function(t,n){e.trigger(t,n)})},r.prototype._registerResultsEvents=function(){var e=this;this.results.on("*",function(t,n){e.trigger(t,n)})},r.prototype._registerEvents=function(){var e=this;this.on("open",function(){e.$container.addClass("select2-container--open")}),this.on("close",function(){e.$container.removeClass("select2-container--open")}),this.on("enable",function(){e.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){e.$container.addClass("select2-container--disabled")}),this.on("blur",function(){e.$container.removeClass("select2-container--focus")}),this.on("query",function(t){e.isOpen()||e.trigger("open",{}),this.dataAdapter.query(t,function(n){e.trigger("results:all",{data:n,query:t})})}),this.on("query:append",function(t){this.dataAdapter.query(t,function(n){e.trigger("results:append",{data:n,query:t})})}),this.on("keypress",function(t){var n=t.which;e.isOpen()?n===i.ESC||n===i.TAB||n===i.UP&&t.altKey?(e.close(),t.preventDefault()):n===i.ENTER?(e.trigger("results:select",{}),t.preventDefault()):n===i.SPACE&&t.ctrlKey?(e.trigger("results:toggle",{}),t.preventDefault()):n===i.UP?(e.trigger("results:previous",{}),t.preventDefault()):n===i.DOWN&&(e.trigger("results:next",{}),t.preventDefault()):(n===i.ENTER||n===i.SPACE||n===i.DOWN&&t.altKey)&&(e.open(),t.preventDefault())})},r.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},r.prototype._syncSubtree=function(e,t){var n=!1,i=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(t)if(t.addedNodes&&t.addedNodes.length>0)for(var r=0;r<t.addedNodes.length;r++)t.addedNodes[r].selected&&(n=!0);else t.removedNodes&&t.removedNodes.length>0&&(n=!0);else n=!0;n&&this.dataAdapter.current(function(e){i.trigger("selection:update",{data:e})})}},r.prototype.trigger=function(e,t){var n=r.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(t===undefined&&(t={}),e in i){var s=i[e],o={prevented:!1,name:e,args:t};if(n.call(this,s,o),o.prevented)return void(t.prevented=!0)}n.call(this,e,t)},r.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},r.prototype.open=function(){this.isOpen()||this.trigger("query",{})},r.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},r.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},r.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},r.prototype.focus=function(e){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},r.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=e&&0!==e.length||(e=[!0]);var t=!e[0];this.$element.prop("disabled",t)},r.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current(function(t){e=t}),e},r.prototype.val=function(t){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==t||0===t.length)return this.$element.val();var n=t[0];e.isArray(n)&&(n=e.map(n,function(e){return e.toString()})),this.$element.val(n).trigger("change")},r.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},r.prototype.render=function(){var t=e('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container.addClass("select2-container--"+this.options.get("theme")),t.data("element",this.$element),t},r}),t.define("jquery-mousewheel",["jquery"],function(e){return e}),t.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults"],function(e,t,n,i){if(null==e.fn.select2){var r=["open","close","destroy"];e.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each(function(){var i=e.extend(!0,{},t);new n(e(this),i)}),this;if("string"==typeof t){var i,s=Array.prototype.slice.call(arguments,1);return this.each(function(){var n=e(this).data("select2");null==n&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),i=n[t].apply(n,s)}),e.inArray(t,r)>-1?this:i}throw new Error("Invalid arguments for Select2: "+t)}}return null==e.fn.select2.defaults&&(e.fn.select2.defaults=i),n}),{define:t.define,require:t.require}}(),n=t.require("jquery.select2");return e.fn.select2.amd=t,n});
|
1 |
+
/*!
|
2 |
+
* Select2 4.0.3
|
3 |
+
* https://select2.github.io
|
4 |
+
*
|
5 |
+
* Released under the MIT license
|
6 |
+
* https://github.com/select2/select2/blob/master/LICENSE.md
|
7 |
+
*/
|
8 |
+
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):jQuery)}(function(e){var t=function(){if(e&&e.fn&&e.fn.select2&&e.fn.select2.amd)t=e.fn.select2.amd;var t;return function(){if(!t||!t.requirejs){t?n=t:t={};/**
|
9 |
+
* @license almond 0.3.1 Copyright (c) 2011-2014, The Dojo Foundation All Rights Reserved.
|
10 |
+
* Available via the MIT or new BSD license.
|
11 |
+
* see: http://github.com/jrburke/almond for details
|
12 |
+
*/
|
13 |
var e,n,i;!function(t){function r(e,t){return $.call(e,t)}function s(e,t){var n,i,r,s,o,a,l,c,u,d,p,h=t&&t.split("/"),f=y.map,g=f&&f["*"]||{};if(e&&"."===e.charAt(0))if(t){for(o=(e=e.split("/")).length-1,y.nodeIdCompat&&b.test(e[o])&&(e[o]=e[o].replace(b,"")),e=h.slice(0,h.length-1).concat(e),u=0;u<e.length;u+=1)if("."===(p=e[u]))e.splice(u,1),u-=1;else if(".."===p){if(1===u&&(".."===e[2]||".."===e[0]))break;u>0&&(e.splice(u-1,2),u-=2)}e=e.join("/")}else 0===e.indexOf("./")&&(e=e.substring(2));if((h||g)&&f){for(u=(n=e.split("/")).length;u>0;u-=1){if(i=n.slice(0,u).join("/"),h)for(d=h.length;d>0;d-=1)if((r=f[h.slice(0,d).join("/")])&&(r=r[i])){s=r,a=u;break}if(s)break;!l&&g&&g[i]&&(l=g[i],c=u)}!s&&l&&(s=l,a=c),s&&(n.splice(0,a,s),e=n.join("/"))}return e}function o(e,n){return function(){var i=w.call(arguments,0);return"string"!=typeof i[0]&&1===i.length&&i.push(null),h.apply(t,i.concat([e,n]))}}function a(e){return function(t){return s(t,e)}}function l(e){return function(t){m[e]=t}}function c(e){if(r(v,e)){var n=v[e];delete v[e],_[e]=!0,p.apply(t,n)}if(!r(m,e)&&!r(_,e))throw new Error("No "+e);return m[e]}function u(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function d(e){return function(){return y&&y.config&&y.config[e]||{}}}var p,h,f,g,m={},v={},y={},_={},$=Object.prototype.hasOwnProperty,w=[].slice,b=/\.js$/;f=function(e,t){var n,i=u(e),r=i[0];return e=i[1],r&&(n=c(r=s(r,t))),r?e=n&&n.normalize?n.normalize(e,a(t)):s(e,t):(r=(i=u(e=s(e,t)))[0],e=i[1],r&&(n=c(r))),{f:r?r+"!"+e:e,n:e,pr:r,p:n}},g={require:function(e){return o(e)},exports:function(e){var t=m[e];return void 0!==t?t:m[e]={}},module:function(e){return{id:e,uri:"",exports:m[e],config:d(e)}}},p=function(e,n,i,s){var a,u,d,p,h,y,$=[],w=typeof i;if(s=s||e,"undefined"===w||"function"===w){for(n=!n.length&&i.length?["require","exports","module"]:n,h=0;h<n.length;h+=1)if(p=f(n[h],s),"require"===(u=p.f))$[h]=g.require(e);else if("exports"===u)$[h]=g.exports(e),y=!0;else if("module"===u)a=$[h]=g.module(e);else if(r(m,u)||r(v,u)||r(_,u))$[h]=c(u);else{if(!p.p)throw new Error(e+" missing "+u);p.p.load(p.n,o(s,!0),l(u),{}),$[h]=m[u]}d=i?i.apply(m[e],$):undefined,e&&(a&&a.exports!==t&&a.exports!==m[e]?m[e]=a.exports:d===t&&y||(m[e]=d))}else e&&(m[e]=i)},e=n=h=function(e,n,i,r,s){if("string"==typeof e)return g[e]?g[e](n):c(f(e,n).f);if(!e.splice){if((y=e).deps&&h(y.deps,y.callback),!n)return;n.splice?(e=n,n=i,i=null):e=t}return n=n||function(){},"function"==typeof i&&(i=r,r=s),r?p(t,e,n,i):setTimeout(function(){p(t,e,n,i)},4),h},h.config=function(e){return h(e)},e._defined=m,(i=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),r(m,e)||r(v,e)||(v[e]=[e,t,n])}).amd={jQuery:!0}}(),t.requirejs=e,t.require=n,t.define=i}}(),t.define("almond",function(){}),t.define("jquery",[],function(){var t=e||$;return null==t&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),t}),t.define("select2/utils",["jquery"],function(e){function t(e){var t=e.prototype,n=[];for(var i in t)"function"==typeof t[i]&&"constructor"!==i&&n.push(i);return n}var n={};n.Extend=function(e,t){function n(){this.constructor=e}var i={}.hasOwnProperty;for(var r in t)i.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},n.Decorate=function(e,n){function i(){var t=Array.prototype.unshift,i=n.prototype.constructor.length,r=e.prototype.constructor;i>0&&(t.call(arguments,e.prototype.constructor),r=n.prototype.constructor),r.apply(this,arguments)}var r=t(n),s=t(e);n.displayName=e.displayName,i.prototype=new function(){this.constructor=i};for(var o=0;o<s.length;o++){var a=s[o];i.prototype[a]=e.prototype[a]}for(var l=0;l<r.length;l++){var c=r[l];i.prototype[c]=function(e){var t=function(){};e in i.prototype&&(t=i.prototype[e]);var r=n.prototype[e];return function(){return Array.prototype.unshift.call(arguments,t),r.apply(this,arguments)}}(c)}return i};var i=function(){this.listeners={}};return i.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},i.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),n[0]._type=e,e in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},i.prototype.invoke=function(e,t){for(var n=0,i=e.length;n<i;n++)e[n].apply(this,t)},n.Observable=i,n.generateChars=function(e){for(var t="",n=0;n<e;n++)t+=Math.floor(36*Math.random()).toString(36);return t},n.bind=function(e,t){return function(){e.apply(t,arguments)}},n._convertData=function(e){for(var t in e){var n=t.split("-"),i=e;if(1!==n.length){for(var r=0;r<n.length;r++){var s=n[r];(s=s.substring(0,1).toLowerCase()+s.substring(1))in i||(i[s]={}),r==n.length-1&&(i[s]=e[t]),i=i[s]}delete e[t]}}return e},n.hasScroll=function(t,n){var i=e(n),r=n.style.overflowX,s=n.style.overflowY;return(r!==s||"hidden"!==s&&"visible"!==s)&&("scroll"===r||"scroll"===s||(i.innerHeight()<n.scrollHeight||i.innerWidth()<n.scrollWidth))},n.escapeMarkup=function(e){var t={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})},n.appendMany=function(t,n){if("1.7"===e.fn.jquery.substr(0,3)){var i=e();e.map(n,function(e){i=i.add(e)}),n=i}t.append(n)},n}),t.define("select2/results",["jquery","./utils"],function(e,t){function n(e,t,i){this.$element=e,this.data=i,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<ul class="select2-results__options" role="tree"></ul>');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t,t},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(t){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var i=e('<li role="treeitem" aria-live="assertive" class="select2-results__option"></li>'),r=this.options.get("translations").get(t.message);i.append(n(r(t.args))),i[0].className+=" select2-results__message",this.$results.append(i)},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(e){this.hideLoading();var t=[];if(null!=e.results&&0!==e.results.length){e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var i=e.results[n],r=this.option(i);t.push(r)}this.$results.append(t)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},n.prototype.position=function(e,t){t.find(".select2-results").append(e)},n.prototype.sort=function(e){return this.options.get("sorter")(e)},n.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option[aria-selected]"),t=e.filter("[aria-selected=true]");t.length>0?t.first().trigger("mouseenter"):e.first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var t=this;this.data.current(function(n){var i=e.map(n,function(e){return e.id.toString()});t.$results.find(".select2-results__option[aria-selected]").each(function(){var t=e(this),n=e.data(this,"data"),r=""+n.id;null!=n.element&&n.element.selected||null==n.element&&e.inArray(r,i)>-1?t.attr("aria-selected","true"):t.attr("aria-selected","false")})})},n.prototype.showLoading=function(e){this.hideLoading();var t={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(e)},n=this.option(t);n.className+=" loading-results",this.$results.prepend(n)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(t){var n=document.createElement("li");n.className="select2-results__option";var i={role:"treeitem","aria-selected":"false"};t.disabled&&(delete i["aria-selected"],i["aria-disabled"]="true"),null==t.id&&delete i["aria-selected"],null!=t._resultId&&(n.id=t._resultId),t.title&&(n.title=t.title),t.children&&(i.role="group",i["aria-label"]=t.text,delete i["aria-selected"]);for(var r in i){var s=i[r];n.setAttribute(r,s)}if(t.children){var o=e(n),a=document.createElement("strong");a.className="select2-results__group";e(a);this.template(t,a);for(var l=[],c=0;c<t.children.length;c++){var u=t.children[c],d=this.option(u);l.push(d)}var p=e("<ul></ul>",{"class":"select2-results__options select2-results__options--nested"});p.append(l),o.append(a),o.append(p)}else this.template(t,n);return e.data(n,"data",t),n},n.prototype.bind=function(t,n){var i=this,r=t.id+"-results";this.$results.attr("id",r),t.on("results:all",function(e){i.clear(),i.append(e.data),t.isOpen()&&(i.setClasses(),i.highlightFirstItem())}),t.on("results:append",function(e){i.append(e.data),t.isOpen()&&i.setClasses()}),t.on("query",function(e){i.hideMessages(),i.showLoading(e)}),t.on("select",function(){t.isOpen()&&(i.setClasses(),i.highlightFirstItem())}),t.on("unselect",function(){t.isOpen()&&(i.setClasses(),i.highlightFirstItem())}),t.on("open",function(){i.$results.attr("aria-expanded","true"),i.$results.attr("aria-hidden","false"),i.setClasses(),i.ensureHighlightVisible()}),t.on("close",function(){i.$results.attr("aria-expanded","false"),i.$results.attr("aria-hidden","true"),i.$results.removeAttr("aria-activedescendant")}),t.on("results:toggle",function(){var e=i.getHighlightedResults();0!==e.length&&e.trigger("mouseup")}),t.on("results:select",function(){var e=i.getHighlightedResults();if(0!==e.length){var t=e.data("data");"true"==e.attr("aria-selected")?i.trigger("close",{}):i.trigger("select",{data:t})}}),t.on("results:previous",function(){var e=i.getHighlightedResults(),t=i.$results.find("[aria-selected]"),n=t.index(e);if(0!==n){var r=n-1;0===e.length&&(r=0);var s=t.eq(r);s.trigger("mouseenter");var o=i.$results.offset().top,a=s.offset().top,l=i.$results.scrollTop()+(a-o);0===r?i.$results.scrollTop(0):a-o<0&&i.$results.scrollTop(l)}}),t.on("results:next",function(){var e=i.getHighlightedResults(),t=i.$results.find("[aria-selected]"),n=t.index(e)+1;if(!(n>=t.length)){var r=t.eq(n);r.trigger("mouseenter");var s=i.$results.offset().top+i.$results.outerHeight(!1),o=r.offset().top+r.outerHeight(!1),a=i.$results.scrollTop()+o-s;0===n?i.$results.scrollTop(0):o>s&&i.$results.scrollTop(a)}}),t.on("results:focus",function(e){e.element.addClass("select2-results__option--highlighted")}),t.on("results:message",function(e){i.displayMessage(e)}),e.fn.mousewheel&&this.$results.on("mousewheel",function(e){var t=i.$results.scrollTop(),n=i.$results.get(0).scrollHeight-t+e.deltaY,r=e.deltaY>0&&t-e.deltaY<=0,s=e.deltaY<0&&n<=i.$results.height();r?(i.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):s&&(i.$results.scrollTop(i.$results.get(0).scrollHeight-i.$results.height()),e.preventDefault(),e.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(t){var n=e(this),r=n.data("data");"true"!==n.attr("aria-selected")?i.trigger("select",{originalEvent:t,data:r}):i.options.get("multiple")?i.trigger("unselect",{originalEvent:t,data:r}):i.trigger("close",{})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(t){var n=e(this).data("data");i.getHighlightedResults().removeClass("select2-results__option--highlighted"),i.trigger("results:focus",{data:n,element:e(this)})})},n.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find("[aria-selected]").index(e),n=this.$results.offset().top,i=e.offset().top,r=this.$results.scrollTop()+(i-n),s=i-n;r-=2*e.outerHeight(!1),t<=2?this.$results.scrollTop(0):(s>this.$results.outerHeight()||s<0)&&this.$results.scrollTop(r)}},n.prototype.template=function(t,n){var i=this.options.get("templateResult"),r=this.options.get("escapeMarkup"),s=i(t,n);null==s?n.style.display="none":"string"==typeof s?n.innerHTML=r(s):e(n).append(s)},n}),t.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),t.define("select2/selection/base",["jquery","../utils","../keys"],function(e,t,n){function i(e,t){this.$element=e,this.options=t,i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var t=e('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),t.attr("title",this.$element.attr("title")),t.attr("tabindex",this._tabindex),this.$selection=t,t},i.prototype.bind=function(e,t){var i=this,r=(e.id,e.id+"-results");this.container=e,this.$selection.on("focus",function(e){i.trigger("focus",e)}),this.$selection.on("blur",function(e){i._handleBlur(e)}),this.$selection.on("keydown",function(e){i.trigger("keypress",e),e.which===n.SPACE&&e.preventDefault()}),e.on("results:focus",function(e){i.$selection.attr("aria-activedescendant",e.data._resultId)}),e.on("selection:update",function(e){i.update(e.data)}),e.on("open",function(){i.$selection.attr("aria-expanded","true"),i.$selection.attr("aria-owns",r),i._attachCloseHandler(e)}),e.on("close",function(){i.$selection.attr("aria-expanded","false"),i.$selection.removeAttr("aria-activedescendant"),i.$selection.removeAttr("aria-owns"),i.$selection.focus(),i._detachCloseHandler(e)}),e.on("enable",function(){i.$selection.attr("tabindex",i._tabindex)}),e.on("disable",function(){i.$selection.attr("tabindex","-1")})},i.prototype._handleBlur=function(t){var n=this;window.setTimeout(function(){document.activeElement==n.$selection[0]||e.contains(n.$selection[0],document.activeElement)||n.trigger("blur",t)},1)},i.prototype._attachCloseHandler=function(t){e(document.body).on("mousedown.select2."+t.id,function(t){var n=e(t.target).closest(".select2");e(".select2.select2-container--open").each(function(){var t=e(this);this!=n[0]&&t.data("element").select2("close")})})},i.prototype._detachCloseHandler=function(t){e(document.body).off("mousedown.select2."+t.id)},i.prototype.position=function(e,t){t.find(".selection").append(e)},i.prototype.destroy=function(){this._detachCloseHandler(this.container)},i.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},i}),t.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,n,i){function r(){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,t),r.prototype.render=function(){var e=r.__super__.render.call(this);return e.addClass("select2-selection--single"),e.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},r.prototype.bind=function(e,t){var n=this;r.__super__.bind.apply(this,arguments);var i=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",i),this.$selection.attr("aria-labelledby",i),this.$selection.on("mousedown",function(e){1===e.which&&n.trigger("toggle",{originalEvent:e})}),this.$selection.on("focus",function(e){}),this.$selection.on("blur",function(e){}),e.on("focus",function(t){e.isOpen()||n.$selection.focus()}),e.on("selection:update",function(e){n.update(e.data)})},r.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},r.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},r.prototype.selectionContainer=function(){return e("<span></span>")},r.prototype.update=function(e){if(0!==e.length){var t=e[0],n=this.$selection.find(".select2-selection__rendered"),i=this.display(t,n);n.empty().append(i),n.prop("title",t.title||t.text)}else this.clear()},r}),t.define("select2/selection/multiple",["jquery","./base","../utils"],function(e,t,n){function i(e,t){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,t),i.prototype.render=function(){var e=i.__super__.render.call(this);return e.addClass("select2-selection--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e},i.prototype.bind=function(t,n){var r=this;i.__super__.bind.apply(this,arguments),this.$selection.on("click",function(e){r.trigger("toggle",{originalEvent:e})}),this.$selection.on("click",".select2-selection__choice__remove",function(t){if(!r.options.get("disabled")){var n=e(this).parent().data("data");r.trigger("unselect",{originalEvent:t,data:n})}})},i.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},i.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},i.prototype.selectionContainer=function(){return e('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">×</span></li>')},i.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],i=0;i<e.length;i++){var r=e[i],s=this.selectionContainer(),o=this.display(r,s);s.append(o),s.prop("title",r.title||r.text),s.data("data",r),t.push(s)}var a=this.$selection.find(".select2-selection__rendered");n.appendMany(a,t)}},i}),t.define("select2/selection/placeholder",["../utils"],function(e){function t(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n)}return t.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},t.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();return n.html(this.display(t)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},t.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id;if(t.length>1||n)return e.call(this,t);this.clear();var i=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(i)},t}),t.define("select2/selection/allowClear",["jquery","../keys"],function(e,t){function n(){}return n.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(e){i._handleClear(e)}),t.on("keypress",function(e){i._handleKeyboardClear(e,t)})},n.prototype._handleClear=function(e,t){if(!this.options.get("disabled")){var n=this.$selection.find(".select2-selection__clear");if(0!==n.length){t.stopPropagation();for(var i=n.data("data"),r=0;r<i.length;r++){var s={data:i[r]};if(this.trigger("unselect",s),s.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle",{})}}},n.prototype._handleKeyboardClear=function(e,n,i){i.isOpen()||n.which!=t.DELETE&&n.which!=t.BACKSPACE||this._handleClear(n)},n.prototype.update=function(t,n){if(t.call(this,n),!(this.$selection.find(".select2-selection__placeholder").length>0||0===n.length)){var i=e('<span class="select2-selection__clear">×</span>');i.data("data",n),this.$selection.find(".select2-selection__rendered").prepend(i)}},n}),t.define("select2/selection/search",["jquery","../utils","../keys"],function(e,t,n){function i(e,t,n){e.call(this,t,n)}return i.prototype.render=function(t){var n=e('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=n,this.$search=n.find("input");var i=t.call(this);return this._transferTabIndex(),i},i.prototype.bind=function(e,t,i){var r=this;e.call(this,t,i),t.on("open",function(){r.$search.trigger("focus")}),t.on("close",function(){r.$search.val(""),r.$search.removeAttr("aria-activedescendant"),r.$search.trigger("focus")}),t.on("enable",function(){r.$search.prop("disabled",!1),r._transferTabIndex()}),t.on("disable",function(){r.$search.prop("disabled",!0)}),t.on("focus",function(e){r.$search.trigger("focus")}),t.on("results:focus",function(e){r.$search.attr("aria-activedescendant",e.id)}),this.$selection.on("focusin",".select2-search--inline",function(e){r.trigger("focus",e)}),this.$selection.on("focusout",".select2-search--inline",function(e){r._handleBlur(e)}),this.$selection.on("keydown",".select2-search--inline",function(e){if(e.stopPropagation(),r.trigger("keypress",e),r._keyUpPrevented=e.isDefaultPrevented(),e.which===n.BACKSPACE&&""===r.$search.val()){var t=r.$searchContainer.prev(".select2-selection__choice");if(t.length>0){var i=t.data("data");r.searchRemoveChoice(i),e.preventDefault()}}});var s=document.documentMode,o=s&&s<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(e){o?r.$selection.off("input.search input.searchcheck"):r.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(e){if(o&&"input"===e.type)r.$selection.off("input.search input.searchcheck");else{var t=e.which;t!=n.SHIFT&&t!=n.CTRL&&t!=n.ALT&&t!=n.TAB&&r.handleSearch(e)}})},i.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},i.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},i.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.focus()},i.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},i.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},i.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="";e=""!==this.$search.attr("placeholder")?this.$selection.find(".select2-selection__rendered").innerWidth():.75*(this.$search.val().length+1)+"em",this.$search.css("width",e)},i}),t.define("select2/selection/eventRelay",["jquery"],function(e){function t(){}return t.prototype.bind=function(t,n,i){var r=this,s=["open","opening","close","closing","select","selecting","unselect","unselecting"],o=["opening","closing","selecting","unselecting"];t.call(this,n,i),n.on("*",function(t,n){if(-1!==e.inArray(t,s)){n=n||{};var i=e.Event("select2:"+t,{params:n});r.$element.trigger(i),-1!==e.inArray(t,o)&&(n.prevented=i.isDefaultPrevented())}})},t}),t.define("select2/translation",["jquery","require"],function(e,t){function n(e){this.dict=e||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(e){return this.dict[e]},n.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict)},n._cache={},n.loadPath=function(e){if(!(e in n._cache)){var i=t(e);n._cache[e]=i}return new n(n._cache[e])},n}),t.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","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":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"}}),t.define("select2/data/base",["../utils"],function(e){function t(e,n){t.__super__.constructor.call(this)}return e.Extend(t,e.Observable),t.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},t.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},t.prototype.bind=function(e,t){},t.prototype.destroy=function(){},t.prototype.generateResultId=function(t,n){var i=t.id+"-result-";return i+=e.generateChars(4),null!=n.id?i+="-"+n.id.toString():i+="-"+e.generateChars(4),i},t}),t.define("select2/data/select",["./base","../utils","jquery"],function(e,t,n){function i(e,t){this.$element=e,this.options=t,i.__super__.constructor.call(this)}return t.Extend(i,e),i.prototype.current=function(e){var t=[],i=this;this.$element.find(":selected").each(function(){var e=n(this),r=i.item(e);t.push(r)}),e(t)},i.prototype.select=function(e){var t=this;if(e.selected=!0,n(e.element).is("option"))return e.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(i){var r=[];(e=[e]).push.apply(e,i);for(var s=0;s<e.length;s++){var o=e[s].id;-1===n.inArray(o,r)&&r.push(o)}t.$element.val(r),t.$element.trigger("change")});else{var i=e.id;this.$element.val(i),this.$element.trigger("change")}},i.prototype.unselect=function(e){var t=this;if(this.$element.prop("multiple")){if(e.selected=!1,n(e.element).is("option"))return e.element.selected=!1,void this.$element.trigger("change");this.current(function(i){for(var r=[],s=0;s<i.length;s++){var o=i[s].id;o!==e.id&&-1===n.inArray(o,r)&&r.push(o)}t.$element.val(r),t.$element.trigger("change")})}},i.prototype.bind=function(e,t){var n=this;this.container=e,e.on("select",function(e){n.select(e.data)}),e.on("unselect",function(e){n.unselect(e.data)})},i.prototype.destroy=function(){this.$element.find("*").each(function(){n.removeData(this,"data")})},i.prototype.query=function(e,t){var i=[],r=this;this.$element.children().each(function(){var t=n(this);if(t.is("option")||t.is("optgroup")){var s=r.item(t),o=r.matches(e,s);null!==o&&i.push(o)}}),t({results:i})},i.prototype.addOptions=function(e){t.appendMany(this.$element,e)},i.prototype.option=function(e){var t;e.children?(t=document.createElement("optgroup")).label=e.text:(t=document.createElement("option")).textContent!==undefined?t.textContent=e.text:t.innerText=e.text,e.id&&(t.value=e.id),e.disabled&&(t.disabled=!0),e.selected&&(t.selected=!0),e.title&&(t.title=e.title);var i=n(t),r=this._normalizeItem(e);return r.element=t,n.data(t,"data",r),i},i.prototype.item=function(e){var t={};if(null!=(t=n.data(e[0],"data")))return t;if(e.is("option"))t={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if(e.is("optgroup")){t={text:e.prop("label"),children:[],title:e.prop("title")};for(var i=e.children("option"),r=[],s=0;s<i.length;s++){var o=n(i[s]),a=this.item(o);r.push(a)}t.children=r}return t=this._normalizeItem(t),t.element=e[0],n.data(e[0],"data",t),t},i.prototype._normalizeItem=function(e){n.isPlainObject(e)||(e={id:e,text:e});var t={selected:!1,disabled:!1};return null!=(e=n.extend({},{text:""},e)).id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),n.extend({},t,e)},i.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},i}),t.define("select2/data/array",["./select","../utils","jquery"],function(e,t,n){function i(e,t){var n=t.get("data")||[];i.__super__.constructor.call(this,e,t),this.addOptions(this.convertToOptions(n))}return t.Extend(i,e),i.prototype.select=function(e){var t=this.$element.find("option").filter(function(t,n){return n.value==e.id.toString()});0===t.length&&(t=this.option(e),this.addOptions(t)),i.__super__.select.call(this,e)},i.prototype.convertToOptions=function(e){for(var i=this,r=this.$element.find("option"),s=r.map(function(){return i.item(n(this)).id}).get(),o=[],a=0;a<e.length;a++){var l=this._normalizeItem(e[a]);if(n.inArray(l.id,s)>=0){var c=r.filter(function(e){return function(){return n(this).val()==e.id}}(l)),u=this.item(c),d=n.extend(!0,{},l,u),p=this.option(d);c.replaceWith(p)}else{var h=this.option(l);if(l.children){var f=this.convertToOptions(l.children);t.appendMany(h,f)}o.push(h)}}return o},i}),t.define("select2/data/ajax",["./array","../utils","jquery"],function(e,t,n){function i(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),i.__super__.constructor.call(this,e,t)}return t.Extend(i,e),i.prototype._applyDefaults=function(e){var t={data:function(e){return n.extend({},e,{q:e.term})},transport:function(e,t,i){var r=n.ajax(e);return r.then(t),r.fail(i),r}};return n.extend({},t,e,!0)},i.prototype.processResults=function(e){return e},i.prototype.query=function(e,t){function i(){var i=s.transport(s,function(i){var s=r.processResults(i,e);r.options.get("debug")&&window.console&&console.error&&(s&&s.results&&n.isArray(s.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),t(s)},function(){i.status&&"0"===i.status||r.trigger("results:message",{message:"errorLoading"})});r._request=i}var r=this;null!=this._request&&(n.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var s=n.extend({type:"GET"},this.ajaxOptions);"function"==typeof s.url&&(s.url=s.url.call(this.$element,e)),"function"==typeof s.data&&(s.data=s.data.call(this.$element,e)),this.ajaxOptions.delay&&null!=e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(i,this.ajaxOptions.delay)):i()},i}),t.define("select2/data/tags",["jquery"],function(e){function t(t,n,i){var r=i.get("tags"),s=i.get("createTag");s!==undefined&&(this.createTag=s);var o=i.get("insertTag");if(o!==undefined&&(this.insertTag=o),t.call(this,n,i),e.isArray(r))for(var a=0;a<r.length;a++){var l=r[a],c=this._normalizeItem(l),u=this.option(c);this.$element.append(u)}}return t.prototype.query=function(e,t,n){function i(e,s){for(var o=e.results,a=0;a<o.length;a++){var l=o[a],c=null!=l.children&&!i({results:l.children},!0);if(l.text===t.term||c)return!s&&(e.data=o,void n(e))}if(s)return!0;var u=r.createTag(t);if(null!=u){var d=r.option(u);d.attr("data-select2-tag",!0),r.addOptions([d]),r.insertTag(o,u)}e.results=o,n(e)}var r=this;this._removeOldTags(),null!=t.term&&null==t.page?e.call(this,t,i):e.call(this,t,n)},t.prototype.createTag=function(t,n){var i=e.trim(n.term);return""===i?null:{id:i,text:i}},t.prototype.insertTag=function(e,t,n){t.unshift(n)},t.prototype._removeOldTags=function(t){this._lastTag;this.$element.find("option[data-select2-tag]").each(function(){this.selected||e(this).remove()})},t}),t.define("select2/data/tokenizer",["jquery"],function(e){function t(e,t,n){var i=n.get("tokenizer");i!==undefined&&(this.tokenizer=i),e.call(this,t,n)}return t.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(".select2-search__field")},t.prototype.query=function(t,n,i){function r(e){s.trigger("select",{data:e})}var s=this;n.term=n.term||"";var o=this.tokenizer(n,this.options,function(t){var n=s._normalizeItem(t);if(!s.$element.find("option").filter(function(){return e(this).val()===n.id}).length){var i=s.option(n);i.attr("data-select2-tag",!0),s._removeOldTags(),s.addOptions([i])}r(n)});o.term!==n.term&&(this.$search.length&&(this.$search.val(o.term),this.$search.focus()),n.term=o.term),t.call(this,n,i)},t.prototype.tokenizer=function(t,n,i,r){for(var s=i.get("tokenSeparators")||[],o=n.term,a=0,l=this.createTag||function(e){return{id:e.term,text:e.term}};a<o.length;){var c=o[a];if(-1!==e.inArray(c,s)){var u=o.substr(0,a),d=l(e.extend({},n,{term:u}));null!=d?(r(d),o=o.substr(a+1)||"",a=0):a++}else a++}return{term:o}},t}),t.define("select2/data/minimumInputLength",[],function(){function e(e,t,n){this.minimumInputLength=n.get("minimumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",t.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),t.define("select2/data/maximumInputLength",[],function(){function e(e,t,n){this.maximumInputLength=n.get("maximumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",this.maximumInputLength>0&&t.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),t.define("select2/data/maximumSelectionLength",[],function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){var i=this;this.current(function(r){var s=null!=r?r.length:0;i.maximumSelectionLength>0&&s>=i.maximumSelectionLength?i.trigger("results:message",{message:"maximumSelected",args:{maximum:i.maximumSelectionLength}}):e.call(i,t,n)})},e}),t.define("select2/dropdown",["jquery","./utils"],function(e,t){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<span class="select2-dropdown"><span class="select2-results"></span></span>');return t.attr("dir",this.options.get("dir")),this.$dropdown=t,t},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),t.define("select2/dropdown/search",["jquery","../utils"],function(e,t){function n(){}return n.prototype.render=function(t){var n=t.call(this),i=e('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=i,this.$search=i.find("input"),n.prepend(i),n},n.prototype.bind=function(t,n,i){var r=this;t.call(this,n,i),this.$search.on("keydown",function(e){r.trigger("keypress",e),r._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on("input",function(t){e(this).off("keyup")}),this.$search.on("keyup input",function(e){r.handleSearch(e)}),n.on("open",function(){r.$search.attr("tabindex",0),r.$search.focus(),window.setTimeout(function(){r.$search.focus()},0)}),n.on("close",function(){r.$search.attr("tabindex",-1),r.$search.val("")}),n.on("focus",function(){n.isOpen()&&r.$search.focus()}),n.on("results:all",function(e){null!=e.query.term&&""!==e.query.term||(r.showSearch(e)?r.$searchContainer.removeClass("select2-search--hide"):r.$searchContainer.addClass("select2-search--hide"))})},n.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},n.prototype.showSearch=function(e,t){return!0},n}),t.define("select2/dropdown/hidePlaceholder",[],function(){function e(e,t,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,i)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),i=t.length-1;i>=0;i--){var r=t[i];this.placeholder.id===r.id&&n.splice(i,1)}return n},e}),t.define("select2/dropdown/infiniteScroll",["jquery"],function(e){function t(e,t,n,i){this.lastParams={},e.call(this,t,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&this.$results.append(this.$loadingMore)},t.prototype.bind=function(t,n,i){var r=this;t.call(this,n,i),n.on("query",function(e){r.lastParams=e,r.loading=!0}),n.on("query:append",function(e){r.lastParams=e,r.loading=!0}),this.$results.on("scroll",function(){var t=e.contains(document.documentElement,r.$loadingMore[0]);!r.loading&&t&&r.$results.offset().top+r.$results.outerHeight(!1)+50>=r.$loadingMore.offset().top+r.$loadingMore.outerHeight(!1)&&r.loadMore()})},t.prototype.loadMore=function(){this.loading=!0;var t=e.extend({},{page:1},this.lastParams);t.page++,this.trigger("query:append",t)},t.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},t.prototype.createLoadingMore=function(){var t=e('<li class="select2-results__option select2-results__option--load-more"role="treeitem" aria-disabled="true"></li>'),n=this.options.get("translations").get("loadingMore");return t.html(n(this.lastParams)),t},t}),t.define("select2/dropdown/attachBody",["jquery","../utils"],function(e,t){function n(t,n,i){this.$dropdownParent=i.get("dropdownParent")||e(document.body),t.call(this,n,i)}return n.prototype.bind=function(e,t,n){var i=this,r=!1;e.call(this,t,n),t.on("open",function(){i._showDropdown(),i._attachPositioningHandler(t),r||(r=!0,t.on("results:all",function(){i._positionDropdown(),i._resizeDropdown()}),t.on("results:append",function(){i._positionDropdown(),i._resizeDropdown()}))}),t.on("close",function(){i._hideDropdown(),i._detachPositioningHandler(t)}),this.$dropdownContainer.on("mousedown",function(e){e.stopPropagation()})},n.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},n.prototype.position=function(e,t,n){t.attr("class",n.attr("class")),t.removeClass("select2"),t.addClass("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(t){var n=e("<span></span>"),i=t.call(this);return n.append(i),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},n.prototype._attachPositioningHandler=function(n,i){var r=this,s="scroll.select2."+i.id,o="resize.select2."+i.id,a="orientationchange.select2."+i.id,l=this.$container.parents().filter(t.hasScroll);l.each(function(){e(this).data("select2-scroll-position",{x:e(this).scrollLeft(),y:e(this).scrollTop()})}),l.on(s,function(t){var n=e(this).data("select2-scroll-position");e(this).scrollTop(n.y)}),e(window).on(s+" "+o+" "+a,function(e){r._positionDropdown(),r._resizeDropdown()})},n.prototype._detachPositioningHandler=function(n,i){var r="scroll.select2."+i.id,s="resize.select2."+i.id,o="orientationchange.select2."+i.id;this.$container.parents().filter(t.hasScroll).off(r),e(window).off(r+" "+s+" "+o)},n.prototype._positionDropdown=function(){var t=e(window),n=this.$dropdown.hasClass("select2-dropdown--above"),i=this.$dropdown.hasClass("select2-dropdown--below"),r=null,s=this.$container.offset();s.bottom=s.top+this.$container.outerHeight(!1);var o={height:this.$container.outerHeight(!1)};o.top=s.top,o.bottom=s.top+o.height;var a={height:this.$dropdown.outerHeight(!1)},l={top:t.scrollTop(),bottom:t.scrollTop()+t.height()},c=l.top<s.top-a.height,u=l.bottom>s.bottom+a.height,d={left:s.left,top:o.bottom},p=this.$dropdownParent;"static"===p.css("position")&&(p=p.offsetParent());var h=p.offset();d.top-=h.top,d.left-=h.left,n||i||(r="below"),u||!c||n?!c&&u&&n&&(r="below"):r="above",("above"==r||n&&"below"!==r)&&(d.top=o.top-h.top-a.height),null!=r&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+r),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+r)),this.$dropdownContainer.css(d)},n.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},n.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n}),t.define("select2/dropdown/minimumResultsForSearch",[],function(){function e(t){for(var n=0,i=0;i<t.length;i++){var r=t[i];r.children?n+=e(r.children):n++}return n}function t(e,t,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=Infinity),e.call(this,t,n,i)}return t.prototype.showSearch=function(t,n){return!(e(n.data.results)<this.minimumResultsForSearch)&&t.call(this,n)},t}),t.define("select2/dropdown/selectOnClose",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("close",function(e){i._handleSelectOnClose(e)})},e.prototype._handleSelectOnClose=function(e,t){if(t&&null!=t.originalSelect2Event){var n=t.originalSelect2Event;if("select"===n._type||"unselect"===n._type)return}var i=this.getHighlightedResults();if(!(i.length<1)){var r=i.data("data");null!=r.element&&r.element.selected||null==r.element&&r.selected||this.trigger("select",{data:r})}},e}),t.define("select2/dropdown/closeOnSelect",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",function(e){i._selectTriggered(e)}),t.on("unselect",function(e){i._selectTriggered(e)})},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&n.ctrlKey||this.trigger("close",{originalEvent:n,originalSelect2Event:t})},e}),t.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return 1!=t&&(n+="s"),n},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),t.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(e,t,n,i,r,s,o,a,l,c,u,d,p,h,f,g,m,v,y,_,$,w,b,A,x,E,C,O,S){function T(){this.reset()}return T.prototype.apply=function(d){if(null==(d=e.extend(!0,{},this.defaults,d)).dataAdapter){if(null!=d.ajax?d.dataAdapter=f:null!=d.data?d.dataAdapter=h:d.dataAdapter=p,d.minimumInputLength>0&&(d.dataAdapter=c.Decorate(d.dataAdapter,v)),d.maximumInputLength>0&&(d.dataAdapter=c.Decorate(d.dataAdapter,y)),d.maximumSelectionLength>0&&(d.dataAdapter=c.Decorate(d.dataAdapter,_)),d.tags&&(d.dataAdapter=c.Decorate(d.dataAdapter,g)),null==d.tokenSeparators&&null==d.tokenizer||(d.dataAdapter=c.Decorate(d.dataAdapter,m)),null!=d.query){var S=t(d.amdBase+"compat/query");d.dataAdapter=c.Decorate(d.dataAdapter,S)}if(null!=d.initSelection){var T=t(d.amdBase+"compat/initSelection");d.dataAdapter=c.Decorate(d.dataAdapter,T)}}if(null==d.resultsAdapter&&(d.resultsAdapter=n,null!=d.ajax&&(d.resultsAdapter=c.Decorate(d.resultsAdapter,A)),null!=d.placeholder&&(d.resultsAdapter=c.Decorate(d.resultsAdapter,b)),d.selectOnClose&&(d.resultsAdapter=c.Decorate(d.resultsAdapter,C))),null==d.dropdownAdapter){if(d.multiple)d.dropdownAdapter=$;else{var D=c.Decorate($,w);d.dropdownAdapter=D}if(0!==d.minimumResultsForSearch&&(d.dropdownAdapter=c.Decorate(d.dropdownAdapter,E)),d.closeOnSelect&&(d.dropdownAdapter=c.Decorate(d.dropdownAdapter,O)),null!=d.dropdownCssClass||null!=d.dropdownCss||null!=d.adaptDropdownCssClass){var q=t(d.amdBase+"compat/dropdownCss");d.dropdownAdapter=c.Decorate(d.dropdownAdapter,q)}d.dropdownAdapter=c.Decorate(d.dropdownAdapter,x)}if(null==d.selectionAdapter){if(d.multiple?d.selectionAdapter=r:d.selectionAdapter=i,null!=d.placeholder&&(d.selectionAdapter=c.Decorate(d.selectionAdapter,s)),d.allowClear&&(d.selectionAdapter=c.Decorate(d.selectionAdapter,o)),d.multiple&&(d.selectionAdapter=c.Decorate(d.selectionAdapter,a)),null!=d.containerCssClass||null!=d.containerCss||null!=d.adaptContainerCssClass){var L=t(d.amdBase+"compat/containerCss");d.selectionAdapter=c.Decorate(d.selectionAdapter,L)}d.selectionAdapter=c.Decorate(d.selectionAdapter,l)}if("string"==typeof d.language)if(d.language.indexOf("-")>0){var j=d.language.split("-")[0];d.language=[d.language,j]}else d.language=[d.language];if(e.isArray(d.language)){var P=new u;d.language.push("en");for(var k=d.language,I=0;I<k.length;I++){var R=k[I],M={};try{M=u.loadPath(R)}catch(z){try{R=this.defaults.amdLanguageBase+R,M=u.loadPath(R)}catch(N){d.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+R+'" could not be automatically loaded. A fallback will be used instead.');continue}}P.extend(M)}d.translations=P}else{var U=u.loadPath(this.defaults.amdLanguageBase+"en"),H=new u(d.language);H.extend(U),d.translations=H}return d},T.prototype.reset=function(){function t(e){return e.replace(/[^\u0000-\u007E]/g,function(e){return d[e]||e})}function n(i,r){if(""===e.trim(i.term))return r;if(r.children&&r.children.length>0){for(var s=e.extend(!0,{},r),o=r.children.length-1;o>=0;o--)null==n(i,r.children[o])&&s.children.splice(o,1);return s.children.length>0?s:n(i,s)}var a=t(r.text).toUpperCase(),l=t(i.term).toUpperCase();return a.indexOf(l)>-1?r:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:c.escapeMarkup,language:S,matcher:n,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},T.prototype.set=function(t,n){var i={};i[e.camelCase(t)]=n;var r=c._convertData(i);e.extend(this.defaults,r)},new T}),t.define("select2/options",["require","jquery","./defaults","./utils"],function(e,t,n,i){function r(t,r){if(this.options=t,null!=r&&this.fromElement(r),this.options=n.apply(this.options),r&&r.is("input")){var s=e(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=i.Decorate(this.options.dataAdapter,s)}}return r.prototype.fromElement=function(e){var n=["select2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.language&&(e.prop("lang")?this.options.language=e.prop("lang").toLowerCase():e.closest("[lang]").prop("lang")&&(this.options.language=e.closest("[lang]").prop("lang"))),null==this.options.dir&&(e.prop("dir")?this.options.dir=e.prop("dir"):e.closest("[dir]").prop("dir")?this.options.dir=e.closest("[dir]").prop("dir"):this.options.dir="ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),e.data("select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),e.data("data",e.data("select2Tags")),e.data("tags",!0)),e.data("ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",e.data("ajaxUrl")),e.data("ajax--url",e.data("ajaxUrl")));var r={};r=t.fn.jquery&&"1."==t.fn.jquery.substr(0,2)&&e[0].dataset?t.extend(!0,{},e[0].dataset,e.data()):e.data();var s=t.extend(!0,{},r);s=i._convertData(s);for(var o in s)t.inArray(o,n)>-1||(t.isPlainObject(this.options[o])?t.extend(this.options[o],s[o]):this.options[o]=s[o]);return this},r.prototype.get=function(e){return this.options[e]},r.prototype.set=function(e,t){this.options[e]=t},r}),t.define("select2/core",["jquery","./options","./utils","./keys"],function(e,t,n,i){var r=function(e,n){null!=e.data("select2")&&e.data("select2").destroy(),this.$element=e,this.id=this._generateId(e),n=n||{},this.options=new t(n,e),r.__super__.constructor.call(this);var i=e.attr("tabindex")||0;e.data("old-tabindex",i),e.attr("tabindex","-1");var s=this.options.get("dataAdapter");this.dataAdapter=new s(e,this.options);var o=this.render();this._placeContainer(o);var a=this.options.get("selectionAdapter");this.selection=new a(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,o);var l=this.options.get("dropdownAdapter");this.dropdown=new l(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,o);var c=this.options.get("resultsAdapter");this.results=new c(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var u=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(e){u.trigger("selection:update",{data:e})}),e.addClass("select2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),e.data("select2",this)};return n.Extend(r,n.Observable),r.prototype._generateId=function(e){var t="";return t=null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+n.generateChars(2):n.generateChars(4),t=t.replace(/(:|\.|\[|\]|,)/g,""),t="select2-"+t},r.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},r.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var i=this._resolveWidth(e,"style");return null!=i?i:this._resolveWidth(e,"element")}if("element"==t){var r=e.outerWidth(!1);return r<=0?"auto":r+"px"}if("style"==t){var s=e.attr("style");if("string"!=typeof s)return null;for(var o=s.split(";"),a=0,l=o.length;a<l;a+=1){var c=o[a].replace(/\s/g,"").match(n);if(null!==c&&c.length>=1)return c[1]}return null}return t},r.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},r.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this.$element.on("focus.select2",function(e){t.trigger("focus",e)}),this._syncA=n.bind(this._syncAttributes,this),this._syncS=n.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var i=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=i?(this._observer=new i(function(n){e.each(n,t._syncA),e.each(n,t._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",t._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",t._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",t._syncS,!1))},r.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on("*",function(t,n){e.trigger(t,n)})},r.prototype._registerSelectionEvents=function(){var t=this,n=["toggle","focus"];this.selection.on("toggle",function(){t.toggleDropdown()}),this.selection.on("focus",function(e){t.focus(e)}),this.selection.on("*",function(i,r){-1===e.inArray(i,n)&&t.trigger(i,r)})},r.prototype._registerDropdownEvents=function(){var e=this;this.dropdown.on("*",function(t,n){e.trigger(t,n)})},r.prototype._registerResultsEvents=function(){var e=this;this.results.on("*",function(t,n){e.trigger(t,n)})},r.prototype._registerEvents=function(){var e=this;this.on("open",function(){e.$container.addClass("select2-container--open")}),this.on("close",function(){e.$container.removeClass("select2-container--open")}),this.on("enable",function(){e.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){e.$container.addClass("select2-container--disabled")}),this.on("blur",function(){e.$container.removeClass("select2-container--focus")}),this.on("query",function(t){e.isOpen()||e.trigger("open",{}),this.dataAdapter.query(t,function(n){e.trigger("results:all",{data:n,query:t})})}),this.on("query:append",function(t){this.dataAdapter.query(t,function(n){e.trigger("results:append",{data:n,query:t})})}),this.on("keypress",function(t){var n=t.which;e.isOpen()?n===i.ESC||n===i.TAB||n===i.UP&&t.altKey?(e.close(),t.preventDefault()):n===i.ENTER?(e.trigger("results:select",{}),t.preventDefault()):n===i.SPACE&&t.ctrlKey?(e.trigger("results:toggle",{}),t.preventDefault()):n===i.UP?(e.trigger("results:previous",{}),t.preventDefault()):n===i.DOWN&&(e.trigger("results:next",{}),t.preventDefault()):(n===i.ENTER||n===i.SPACE||n===i.DOWN&&t.altKey)&&(e.open(),t.preventDefault())})},r.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},r.prototype._syncSubtree=function(e,t){var n=!1,i=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(t)if(t.addedNodes&&t.addedNodes.length>0)for(var r=0;r<t.addedNodes.length;r++)t.addedNodes[r].selected&&(n=!0);else t.removedNodes&&t.removedNodes.length>0&&(n=!0);else n=!0;n&&this.dataAdapter.current(function(e){i.trigger("selection:update",{data:e})})}},r.prototype.trigger=function(e,t){var n=r.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(t===undefined&&(t={}),e in i){var s=i[e],o={prevented:!1,name:e,args:t};if(n.call(this,s,o),o.prevented)return void(t.prevented=!0)}n.call(this,e,t)},r.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},r.prototype.open=function(){this.isOpen()||this.trigger("query",{})},r.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},r.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},r.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},r.prototype.focus=function(e){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},r.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=e&&0!==e.length||(e=[!0]);var t=!e[0];this.$element.prop("disabled",t)},r.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current(function(t){e=t}),e},r.prototype.val=function(t){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==t||0===t.length)return this.$element.val();var n=t[0];e.isArray(n)&&(n=e.map(n,function(e){return e.toString()})),this.$element.val(n).trigger("change")},r.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},r.prototype.render=function(){var t=e('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container.addClass("select2-container--"+this.options.get("theme")),t.data("element",this.$element),t},r}),t.define("jquery-mousewheel",["jquery"],function(e){return e}),t.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults"],function(e,t,n,i){if(null==e.fn.select2){var r=["open","close","destroy"];e.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each(function(){var i=e.extend(!0,{},t);new n(e(this),i)}),this;if("string"==typeof t){var i,s=Array.prototype.slice.call(arguments,1);return this.each(function(){var n=e(this).data("select2");null==n&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),i=n[t].apply(n,s)}),e.inArray(t,r)>-1?this:i}throw new Error("Invalid arguments for Select2: "+t)}}return null==e.fn.select2.defaults&&(e.fn.select2.defaults=i),n}),{define:t.define,require:t.require}}(),n=t.require("jquery.select2");return e.fn.select2.amd=t,n});
|
plugin-fw/assets/js/yith-date-format.js
CHANGED
File without changes
|
plugin-fw/assets/js/yith-date-format.min.js
CHANGED
File without changes
|
plugin-fw/assets/js/yith-enhanced-select.js
CHANGED
@@ -1,198 +1,227 @@
|
|
1 |
-
/* global yith_framework_enhanced_select_params */
|
2 |
|
3 |
jQuery( function ( $ ) {
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
198 |
} );
|
1 |
+
/* global yith_framework_enhanced_select_params, ajaxurl */
|
2 |
|
3 |
jQuery( function ( $ ) {
|
4 |
+
"use strict";
|
5 |
+
|
6 |
+
var getEnhancedSelectLanguage = function () {
|
7 |
+
return {
|
8 |
+
inputTooShort: function ( args ) {
|
9 |
+
var remainingChars = args.minimum - args.input.length;
|
10 |
+
|
11 |
+
if ( 1 === remainingChars ) {
|
12 |
+
return yith_framework_enhanced_select_params.i18n.input_too_short_1;
|
13 |
+
}
|
14 |
+
|
15 |
+
return yith_framework_enhanced_select_params.i18n.input_too_short_n.replace( '%s', remainingChars );
|
16 |
+
},
|
17 |
+
errorLoading : function () {
|
18 |
+
return yith_framework_enhanced_select_params.i18n.searching;
|
19 |
+
},
|
20 |
+
loadingMore : function () {
|
21 |
+
return yith_framework_enhanced_select_params.i18n.load_more;
|
22 |
+
},
|
23 |
+
noResults : function () {
|
24 |
+
return yith_framework_enhanced_select_params.i18n.no_matches;
|
25 |
+
},
|
26 |
+
searching : function () {
|
27 |
+
return yith_framework_enhanced_select_params.i18n.searching;
|
28 |
+
}
|
29 |
+
};
|
30 |
+
};
|
31 |
+
|
32 |
+
$( document.body )
|
33 |
+
.on( 'yith-framework-enhanced-select-init', function () {
|
34 |
+
// Post Search
|
35 |
+
$( '.yith-post-search' ).filter( ':not(.enhanced)' ).each( function () {
|
36 |
+
var default_data = {
|
37 |
+
action : 'yith_plugin_fw_json_search_posts',
|
38 |
+
security : yith_framework_enhanced_select_params.search_posts_nonce,
|
39 |
+
post_type: 'post'
|
40 |
+
},
|
41 |
+
current_data = $.extend( default_data, $( this ).data() ),
|
42 |
+
select2_args = {
|
43 |
+
allowClear : $( this ).data( 'allow_clear' ) ? true : false,
|
44 |
+
placeholder : $( this ).data( 'placeholder' ),
|
45 |
+
minimumInputLength: $( this ).data( 'minimum_input_length' ) ? $( this ).data( 'minimum_input_length' ) : '3',
|
46 |
+
language : getEnhancedSelectLanguage(),
|
47 |
+
escapeMarkup : function ( m ) {
|
48 |
+
return m;
|
49 |
+
},
|
50 |
+
ajax : {
|
51 |
+
url : ajaxurl,
|
52 |
+
dataType : 'json',
|
53 |
+
quietMillis : 250,
|
54 |
+
data : function ( params ) {
|
55 |
+
var default_data_to_return = {
|
56 |
+
term: params.term
|
57 |
+
};
|
58 |
+
|
59 |
+
return $.extend( default_data_to_return, current_data );
|
60 |
+
},
|
61 |
+
processResults: function ( data ) {
|
62 |
+
var terms = [];
|
63 |
+
if ( data ) {
|
64 |
+
$.each( data, function ( id, text ) {
|
65 |
+
terms.push( { id: id, text: text } );
|
66 |
+
} );
|
67 |
+
}
|
68 |
+
return {
|
69 |
+
results: terms
|
70 |
+
};
|
71 |
+
},
|
72 |
+
cache : true
|
73 |
+
}
|
74 |
+
};
|
75 |
+
|
76 |
+
$( this ).select2( select2_args ).addClass( 'enhanced' );
|
77 |
+
|
78 |
+
if ( $( this ).data( 'sortable' ) ) {
|
79 |
+
var $select = $( this );
|
80 |
+
var $list = $( this ).next( '.select2-container' ).find( 'ul.select2-selection__rendered' );
|
81 |
+
|
82 |
+
$list.sortable( {
|
83 |
+
placeholder : 'ui-state-highlight select2-selection__choice',
|
84 |
+
forcePlaceholderSize: true,
|
85 |
+
items : 'li:not(.select2-search__field)',
|
86 |
+
tolerance : 'pointer',
|
87 |
+
stop : function () {
|
88 |
+
$( $list.find( '.select2-selection__choice' ).get().reverse() ).each( function () {
|
89 |
+
var id = $( this ).data( 'data' ).id;
|
90 |
+
var option = $select.find( 'option[value="' + id + '"]' )[ 0 ];
|
91 |
+
$select.prepend( option );
|
92 |
+
} );
|
93 |
+
}
|
94 |
+
} );
|
95 |
+
}
|
96 |
+
} );
|
97 |
+
|
98 |
+
// Customer Search
|
99 |
+
$( '.yith-customer-search' ).filter( ':not(.enhanced)' ).each( function () {
|
100 |
+
var default_data = {
|
101 |
+
action : 'woocommerce_json_search_customers',
|
102 |
+
security: yith_framework_enhanced_select_params.search_customers_nonce
|
103 |
+
},
|
104 |
+
current_data = $.extend( default_data, $( this ).data() ),
|
105 |
+
select2_args = {
|
106 |
+
allowClear : $( this ).data( 'allow_clear' ) ? true : false,
|
107 |
+
placeholder : $( this ).data( 'placeholder' ),
|
108 |
+
minimumInputLength: $( this ).data( 'minimum_input_length' ) ? $( this ).data( 'minimum_input_length' ) : '3',
|
109 |
+
language : getEnhancedSelectLanguage(),
|
110 |
+
escapeMarkup : function ( m ) {
|
111 |
+
return m;
|
112 |
+
},
|
113 |
+
ajax : {
|
114 |
+
url : ajaxurl,
|
115 |
+
dataType : 'json',
|
116 |
+
quietMillis : 250,
|
117 |
+
data : function ( params ) {
|
118 |
+
var default_data_to_return = {
|
119 |
+
term: params.term
|
120 |
+
};
|
121 |
+
|
122 |
+
return $.extend( default_data_to_return, current_data );
|
123 |
+
},
|
124 |
+
processResults: function ( data ) {
|
125 |
+
var terms = [];
|
126 |
+
if ( data ) {
|
127 |
+
$.each( data, function ( id, text ) {
|
128 |
+
terms.push( { id: id, text: text } );
|
129 |
+
} );
|
130 |
+
}
|
131 |
+
return {
|
132 |
+
results: terms
|
133 |
+
};
|
134 |
+
},
|
135 |
+
cache : true
|
136 |
+
}
|
137 |
+
};
|
138 |
+
|
139 |
+
$( this ).select2( select2_args ).addClass( 'enhanced' );
|
140 |
+
|
141 |
+
if ( $( this ).data( 'sortable' ) ) {
|
142 |
+
var $select = $( this );
|
143 |
+
var $list = $( this ).next( '.select2-container' ).find( 'ul.select2-selection__rendered' );
|
144 |
+
|
145 |
+
$list.sortable( {
|
146 |
+
placeholder : 'ui-state-highlight select2-selection__choice',
|
147 |
+
forcePlaceholderSize: true,
|
148 |
+
items : 'li:not(.select2-search__field)',
|
149 |
+
tolerance : 'pointer',
|
150 |
+
stop : function () {
|
151 |
+
$( $list.find( '.select2-selection__choice' ).get().reverse() ).each( function () {
|
152 |
+
var id = $( this ).data( 'data' ).id;
|
153 |
+
var option = $select.find( 'option[value="' + id + '"]' )[ 0 ];
|
154 |
+
$select.prepend( option );
|
155 |
+
} );
|
156 |
+
}
|
157 |
+
} );
|
158 |
+
}
|
159 |
+
} );
|
160 |
+
|
161 |
+
// TERM SEARCH
|
162 |
+
$( '.yith-term-search' ).filter( ':not(.enhanced)' ).each( function () {
|
163 |
+
var default_data = {
|
164 |
+
action : 'yith_plugin_fw_json_search_terms',
|
165 |
+
security: yith_framework_enhanced_select_params.search_terms_nonce,
|
166 |
+
taxonomy: 'category'
|
167 |
+
},
|
168 |
+
current_data = $.extend( default_data, $( this ).data() ),
|
169 |
+
select2_args = {
|
170 |
+
allowClear : $( this ).data( 'allow_clear' ) ? true : false,
|
171 |
+
placeholder : $( this ).data( 'placeholder' ),
|
172 |
+
minimumInputLength: $( this ).data( 'minimum_input_length' ) ? $( this ).data( 'minimum_input_length' ) : '3',
|
173 |
+
language : getEnhancedSelectLanguage(),
|
174 |
+
escapeMarkup : function ( m ) {
|
175 |
+
return m;
|
176 |
+
},
|
177 |
+
ajax : {
|
178 |
+
url : ajaxurl,
|
179 |
+
dataType : 'json',
|
180 |
+
quietMillis : 250,
|
181 |
+
data : function ( params ) {
|
182 |
+
var default_data_to_return = {
|
183 |
+
term: params.term
|
184 |
+
};
|
185 |
+
|
186 |
+
return $.extend( default_data_to_return, current_data );
|
187 |
+
},
|
188 |
+
processResults: function ( data ) {
|
189 |
+
var terms = [];
|
190 |
+
if ( data ) {
|
191 |
+
$.each( data, function ( id, text ) {
|
192 |
+
terms.push( { id: id, text: text } );
|
193 |
+
} );
|
194 |
+
}
|
195 |
+
return {
|
196 |
+
results: terms
|
197 |
+
};
|
198 |
+
},
|
199 |
+
cache : true
|
200 |
+
}
|
201 |
+
};
|
202 |
+
|
203 |
+
$( this ).select2( select2_args ).addClass( 'enhanced' );
|
204 |
+
|
205 |
+
if ( $( this ).data( 'sortable' ) ) {
|
206 |
+
var $select = $( this );
|
207 |
+
var $list = $( this ).next( '.select2-container' ).find( 'ul.select2-selection__rendered' );
|
208 |
+
|
209 |
+
$list.sortable( {
|
210 |
+
placeholder : 'ui-state-highlight select2-selection__choice',
|
211 |
+
forcePlaceholderSize: true,
|
212 |
+
items : 'li:not(.select2-search__field)',
|
213 |
+
tolerance : 'pointer',
|
214 |
+
stop : function () {
|
215 |
+
$( $list.find( '.select2-selection__choice' ).get().reverse() ).each( function () {
|
216 |
+
var id = $( this ).data( 'data' ).id;
|
217 |
+
var option = $select.find( 'option[value="' + id + '"]' )[ 0 ];
|
218 |
+
$select.prepend( option );
|
219 |
+
} );
|
220 |
+
}
|
221 |
+
} );
|
222 |
+
}
|
223 |
+
} );
|
224 |
+
|
225 |
+
} ).trigger( 'yith-framework-enhanced-select-init' );
|
226 |
+
|
227 |
} );
|
plugin-fw/assets/js/yith-ui.js
CHANGED
File without changes
|
plugin-fw/assets/js/yith-ui.min.js
CHANGED
File without changes
|
plugin-fw/dist/gutenberg/index.asset.php
CHANGED
File without changes
|
plugin-fw/dist/gutenberg/index.js
CHANGED
File without changes
|
plugin-fw/dist/gutenberg/style-index.css
CHANGED
File without changes
|
plugin-fw/includes/builders/elementor/class-yith-elementor-widget.php
CHANGED
File without changes
|
plugin-fw/includes/builders/elementor/class-yith-elementor.php
CHANGED
File without changes
|
plugin-fw/includes/builders/gutenberg/class-yith-gutenberg.php
CHANGED
File without changes
|
plugin-fw/includes/builders/gutenberg/src/.jshintrc
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"boss": true,
|
3 |
+
"curly": true,
|
4 |
+
"eqeqeq": true,
|
5 |
+
"eqnull": true,
|
6 |
+
"esversion": 6,
|
7 |
+
"expr": true,
|
8 |
+
"immed": true,
|
9 |
+
"noarg": true,
|
10 |
+
"onevar": true,
|
11 |
+
"trailing": true,
|
12 |
+
"undef": true,
|
13 |
+
"unused": true,
|
14 |
+
"browser": true,
|
15 |
+
"globals": {
|
16 |
+
"_": false,
|
17 |
+
"Backbone": false,
|
18 |
+
"jQuery": true,
|
19 |
+
"console": true,
|
20 |
+
"alert": true,
|
21 |
+
"JSON": false,
|
22 |
+
"wp": false
|
23 |
+
}
|
24 |
+
}
|
plugin-fw/includes/builders/gutenberg/src/common/actions-to-jquery-events.js
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Actions to jQuery events
|
3 |
+
*/
|
4 |
+
|
5 |
+
/**
|
6 |
+
* WordPress dependencies
|
7 |
+
*/
|
8 |
+
import { addAction } from '@wordpress/hooks';
|
9 |
+
|
10 |
+
const actions = [
|
11 |
+
{ key: 'yith_plugin_fw_gutenberg_before_do_shortcode', delay: 0 },
|
12 |
+
{ key: 'yith_plugin_fw_gutenberg_success_do_shortcode', delay: 200 },
|
13 |
+
{ key: 'yith_plugin_fw_gutenberg_after_do_shortcode', delay: 200 }
|
14 |
+
];
|
15 |
+
|
16 |
+
for ( const action of actions ) {
|
17 |
+
addAction(
|
18 |
+
action.key,
|
19 |
+
'yith-plugin-fw/jquery-events',
|
20 |
+
( ...params ) => {
|
21 |
+
if ( 'jQuery' in window ) {
|
22 |
+
if ( action.delay ) {
|
23 |
+
setTimeout( () => {
|
24 |
+
jQuery( document ).trigger( action.key, Object.values( params ) );
|
25 |
+
}, action.delay );
|
26 |
+
} else {
|
27 |
+
jQuery( document ).trigger( action.key, Object.values( params ) );
|
28 |
+
}
|
29 |
+
}
|
30 |
+
}
|
31 |
+
);
|
32 |
+
}
|
plugin-fw/includes/builders/gutenberg/src/common/ajaxFetch.js
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Ajax Fetch
|
3 |
+
*/
|
4 |
+
|
5 |
+
/**
|
6 |
+
* WordPress dependencies
|
7 |
+
*/
|
8 |
+
import { addQueryArgs } from '@wordpress/url';
|
9 |
+
|
10 |
+
/**
|
11 |
+
* Check status of ajax call
|
12 |
+
* @param response
|
13 |
+
* @returns {*}
|
14 |
+
*/
|
15 |
+
function ajaxCheckStatus( response ) {
|
16 |
+
if ( response.status >= 200 && response.status < 300 ) {
|
17 |
+
return response;
|
18 |
+
}
|
19 |
+
|
20 |
+
throw response;
|
21 |
+
}
|
22 |
+
|
23 |
+
/**
|
24 |
+
* Parse the response of the ajax call
|
25 |
+
* @param response
|
26 |
+
* @returns {*}
|
27 |
+
*/
|
28 |
+
function parseResponse( response ) {
|
29 |
+
return response.json ? response.json() : response.text();
|
30 |
+
}
|
31 |
+
|
32 |
+
/**
|
33 |
+
* Fetch using WordPress Ajax
|
34 |
+
*
|
35 |
+
* @param {object} data The data to use in the ajax call.
|
36 |
+
* @param {string} url The ajax URL.
|
37 |
+
* @returns {Promise<Response>}
|
38 |
+
*/
|
39 |
+
export const ajaxFetch = ( data, url = yithGutenberg.ajaxurl ) => {
|
40 |
+
data.security = data.security ?? yithGutenberg.ajaxNonce;
|
41 |
+
url = addQueryArgs( url, data );
|
42 |
+
return fetch( url ).then( ajaxCheckStatus ).then( parseResponse );
|
43 |
+
};
|
plugin-fw/includes/builders/gutenberg/src/common/checkForDeps.js
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Check for dependencies
|
3 |
+
*
|
4 |
+
* @param {object} attributeArgs Attribute arguments.
|
5 |
+
* @param {object} attributes The attributes.
|
6 |
+
* @returns {boolean}
|
7 |
+
*/
|
8 |
+
|
9 |
+
import _ from 'lodash';
|
10 |
+
|
11 |
+
const checkForSingleDep = ( attributes, dep, controlType ) => {
|
12 |
+
let show = true;
|
13 |
+
|
14 |
+
if ( dep && dep.id && 'value' in dep ) {
|
15 |
+
let depValue = dep.value;
|
16 |
+
if ( ['toggle', 'checkbox'].includes( controlType ) ) {
|
17 |
+
depValue = true === depValue || 'yes' === depValue || 1 === depValue;
|
18 |
+
}
|
19 |
+
depValue = _.isArray( depValue ) ? depValue : [depValue];
|
20 |
+
|
21 |
+
show = typeof attributes[ dep.id ] !== 'undefined' && depValue.includes( attributes[ dep.id ] );
|
22 |
+
}
|
23 |
+
|
24 |
+
return show;
|
25 |
+
};
|
26 |
+
|
27 |
+
export const checkForDeps = ( attributeArgs, attributes ) => {
|
28 |
+
const { controlType } = attributeArgs;
|
29 |
+
let show = true;
|
30 |
+
|
31 |
+
if ( attributeArgs.deps ) {
|
32 |
+
if ( _.isArray( attributeArgs.deps ) ) {
|
33 |
+
for ( let i in attributeArgs.deps ) {
|
34 |
+
const singleDep = attributeArgs.deps[ i ];
|
35 |
+
show = checkForSingleDep( attributes, singleDep, controlType );
|
36 |
+
if ( !show ) {
|
37 |
+
break;
|
38 |
+
}
|
39 |
+
}
|
40 |
+
} else {
|
41 |
+
show = checkForSingleDep( attributes, attributeArgs.deps, controlType );
|
42 |
+
}
|
43 |
+
}
|
44 |
+
|
45 |
+
return show;
|
46 |
+
};
|
plugin-fw/includes/builders/gutenberg/src/common/generateShortcode.js
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Internal dependencies
|
3 |
+
*/
|
4 |
+
import { checkForDeps } from './checkForDeps';
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Generate the shortcode
|
8 |
+
*
|
9 |
+
* @param {object} blockArgs The block arguments.
|
10 |
+
* @param {object} attributes The attributes
|
11 |
+
* @returns {string}
|
12 |
+
*/
|
13 |
+
export const generateShortcode = ( blockArgs, attributes ) => {
|
14 |
+
let theShortcode = '';
|
15 |
+
let callback = false;
|
16 |
+
|
17 |
+
if ( typeof blockArgs.callback !== 'undefined' ) {
|
18 |
+
if ( jQuery && blockArgs.callback in jQuery.fn ) {
|
19 |
+
callback = jQuery.fn[ blockArgs.callback ];
|
20 |
+
} else if ( blockArgs.callback in window ) {
|
21 |
+
callback = window[ blockArgs.callback ];
|
22 |
+
}
|
23 |
+
}
|
24 |
+
|
25 |
+
if ( typeof callback === 'function' ) {
|
26 |
+
theShortcode = callback( attributes, blockArgs );
|
27 |
+
} else {
|
28 |
+
const shortcodeAttrs = blockArgs.attributes ? Object.entries( blockArgs.attributes ).map( ( [attributeName, attributeArgs] ) => {
|
29 |
+
const show = checkForDeps( attributeArgs, attributes );
|
30 |
+
const value = attributes[ attributeName ];
|
31 |
+
|
32 |
+
if ( show && typeof value !== 'undefined' ) {
|
33 |
+
const shortcodeValue = !!attributeArgs.remove_quotes ? value : `"${value}"`;
|
34 |
+
return attributeName + '=' + shortcodeValue;
|
35 |
+
}
|
36 |
+
} ) : [];
|
37 |
+
|
38 |
+
const shortcodeAttrsText = shortcodeAttrs.length ? ( ' ' + shortcodeAttrs.join( ' ' ) ) : '';
|
39 |
+
theShortcode = `[${blockArgs.shortcode_name}${shortcodeAttrsText}]`;
|
40 |
+
}
|
41 |
+
return theShortcode;
|
42 |
+
};
|
plugin-fw/includes/builders/gutenberg/src/common/icons.js
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SVG Icons
|
3 |
+
*/
|
4 |
+
|
5 |
+
/**
|
6 |
+
* The YITH Logo Icon
|
7 |
+
* @type {JSX.Element}
|
8 |
+
*/
|
9 |
+
export const yith_icon = <svg viewBox="0 0 22 22" xmlns="http://www.w3.org/2000/svg" width="22" height="22" role="img" aria-hidden="true" focusable="false">
|
10 |
+
<path width="22" height="22"
|
11 |
+
d="M 18.24 7.628 C 17.291 8.284 16.076 8.971 14.587 9.688 C 15.344 7.186 15.765 4.851 15.849 2.684 C 15.912 0.939 15.133 0.045 13.514 0.003 C 11.558 -0.06 10.275 1.033 9.665 3.284 C 10.007 3.137 10.359 3.063 10.723 3.063 C 11.021 3.063 11.267 3.184 11.459 3.426 C 11.651 3.668 11.736 3.947 11.715 4.262 C 11.695 5.082 11.276 5.961 10.46 6.896 C 9.644 7.833 8.918 8.3 8.282 8.3 C 7.837 8.3 7.625 7.922 7.646 7.165 C 7.667 6.765 7.804 5.955 8.056 4.735 C 8.287 3.579 8.403 2.801 8.403 2.401 C 8.403 1.707 8.224 1.144 7.867 0.713 C 7.509 0.282 6.994 0.098 6.321 0.161 C 5.858 0.203 5.175 0.624 4.27 1.422 C 3.596 2.035 2.923 2.644 2.25 3.254 L 2.976 4.106 C 3.564 3.664 3.922 3.443 4.048 3.443 C 4.448 3.443 4.637 3.717 4.617 4.263 C 4.617 4.306 4.427 4.968 4.049 6.251 C 3.671 7.534 3.471 8.491 3.449 9.122 C 3.407 9.985 3.565 10.647 3.924 11.109 C 4.367 11.677 5.106 11.919 6.142 11.835 C 7.366 11.751 8.591 11.298 9.816 10.479 C 10.323 10.142 10.808 9.753 11.273 9.311 C 11.105 10.153 10.905 10.868 10.673 11.457 C 8.402 12.487 6.762 13.37 5.752 14.107 C 4.321 15.137 3.554 16.241 3.449 17.419 C 3.259 19.459 4.29 20.479 6.541 20.479 C 8.055 20.479 9.517 19.554 10.926 17.703 C 12.125 16.126 13.166 14.022 14.049 11.394 C 15.578 10.635 16.87 9.892 17.928 9.164 C 17.894 9.409 18.319 7.308 18.24 7.628 Z M 7.393 16.095 C 7.056 16.095 6.898 15.947 6.919 15.653 C 6.961 15.106 7.908 14.38 9.759 13.476 C 8.791 15.221 8.002 16.095 7.393 16.095 Z"/>
|
12 |
+
</svg>;
|
plugin-fw/includes/builders/gutenberg/src/common/index.js
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
1 |
+
export * from './ajaxFetch';
|
2 |
+
export * from './icons';
|
3 |
+
export * from './generateShortcode';
|
4 |
+
export * from './checkForDeps';
|
plugin-fw/includes/builders/gutenberg/src/components/color-palette-control/index.js
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Color Palette Component
|
3 |
+
*/
|
4 |
+
|
5 |
+
/**
|
6 |
+
* External dependencies
|
7 |
+
*/
|
8 |
+
import React from 'react';
|
9 |
+
|
10 |
+
/**
|
11 |
+
* WordPress dependencies
|
12 |
+
*/
|
13 |
+
import { BaseControl, ColorIndicator, ColorPalette } from '@wordpress/components';
|
14 |
+
import { useSetting } from '@wordpress/block-editor';
|
15 |
+
import { useInstanceId } from '@wordpress/compose';
|
16 |
+
|
17 |
+
/**
|
18 |
+
* Internal dependencies
|
19 |
+
*/
|
20 |
+
import './style.scss';
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Visual Label Element
|
24 |
+
*
|
25 |
+
* @param {string} label The label.
|
26 |
+
* @param {string} colorValue The color.
|
27 |
+
* @returns {JSX.Element}
|
28 |
+
* @constructor
|
29 |
+
*/
|
30 |
+
function VisualLabel( {
|
31 |
+
label,
|
32 |
+
colorValue
|
33 |
+
} ) {
|
34 |
+
|
35 |
+
return (
|
36 |
+
<>
|
37 |
+
{label}
|
38 |
+
{!!colorValue && (
|
39 |
+
<ColorIndicator colorValue={colorValue}/>
|
40 |
+
)}
|
41 |
+
</>
|
42 |
+
);
|
43 |
+
}
|
44 |
+
|
45 |
+
/**
|
46 |
+
* Color Palette Control
|
47 |
+
*
|
48 |
+
* @param {string} className The CSS class name.
|
49 |
+
* @param {string} label The label.
|
50 |
+
* @param {function} onChange The function callback fired on value change.
|
51 |
+
* @param {string} value The initial value.
|
52 |
+
* @param {string} help The help message.
|
53 |
+
* @param {array} palette Array of palette colors.
|
54 |
+
* @param {bool} clearable Set true to allow clear.
|
55 |
+
* @returns {JSX.Element}
|
56 |
+
* @constructor
|
57 |
+
*/
|
58 |
+
export default function ColorPaletteControl( {
|
59 |
+
className,
|
60 |
+
label,
|
61 |
+
onChange,
|
62 |
+
value,
|
63 |
+
help,
|
64 |
+
palette,
|
65 |
+
clearable
|
66 |
+
} ) {
|
67 |
+
|
68 |
+
palette = !!palette ? palette : useSetting( 'color.palette' );
|
69 |
+
|
70 |
+
const instanceId = useInstanceId( ColorPaletteControl );
|
71 |
+
const id = `inspector-yith-color-palette-control-${instanceId}`;
|
72 |
+
|
73 |
+
return (
|
74 |
+
<BaseControl
|
75 |
+
id={id}
|
76 |
+
className={`block-editor-yith-color-palette-control ${className}`}
|
77 |
+
help={help}
|
78 |
+
>
|
79 |
+
<fieldset>
|
80 |
+
<legend>
|
81 |
+
<div className="block-editor-yith-color-palette-control__color-indicator">
|
82 |
+
<BaseControl.VisualLabel>
|
83 |
+
<VisualLabel colorValue={value} label={label}/>
|
84 |
+
</BaseControl.VisualLabel>
|
85 |
+
</div>
|
86 |
+
</legend>
|
87 |
+
|
88 |
+
<ColorPalette
|
89 |
+
value={value}
|
90 |
+
onChange={onChange}
|
91 |
+
colors={palette}
|
92 |
+
clearable={clearable}
|
93 |
+
/>
|
94 |
+
</fieldset>
|
95 |
+
</BaseControl> );
|
96 |
+
}
|
plugin-fw/includes/builders/gutenberg/src/components/color-palette-control/style.scss
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.block-editor-yith-color-palette-control {
|
2 |
+
.block-editor-yith-color-palette-control__color-indicator {
|
3 |
+
margin-bottom: 12px;
|
4 |
+
}
|
5 |
+
|
6 |
+
.component-color-indicator{
|
7 |
+
vertical-align: text-bottom;
|
8 |
+
}
|
9 |
+
}
|
plugin-fw/includes/builders/gutenberg/src/components/color-picker-control/index.js
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Color Picker Component
|
3 |
+
*/
|
4 |
+
|
5 |
+
/**
|
6 |
+
* External dependencies
|
7 |
+
*/
|
8 |
+
import React from 'react';
|
9 |
+
|
10 |
+
/**
|
11 |
+
* WordPress dependencies
|
12 |
+
*/
|
13 |
+
import { BaseControl, ColorPicker } from '@wordpress/components';
|
14 |
+
import { useInstanceId } from '@wordpress/compose';
|
15 |
+
|
16 |
+
/**
|
17 |
+
* Color Picker Control
|
18 |
+
*
|
19 |
+
* @param {string} className The CSS class name.
|
20 |
+
* @param {string} label The label.
|
21 |
+
* @param {function} onChange The function callback fired on value change.
|
22 |
+
* @param {string} value The initial value.
|
23 |
+
* @param {string} help The help message.
|
24 |
+
* @param {bool} disableAlpha Set true to disable the alpha
|
25 |
+
* @returns {ColorPickerControl}
|
26 |
+
* @constructor
|
27 |
+
*/
|
28 |
+
export default function ColorPickerControl( {
|
29 |
+
className,
|
30 |
+
label,
|
31 |
+
onChange,
|
32 |
+
value,
|
33 |
+
help,
|
34 |
+
disableAlpha,
|
35 |
+
} ) {
|
36 |
+
|
37 |
+
const instanceId = useInstanceId( ColorPickerControl );
|
38 |
+
const id = `inspector-yith-color-picker-control-${instanceId}`;
|
39 |
+
|
40 |
+
return (
|
41 |
+
<BaseControl
|
42 |
+
id={id}
|
43 |
+
label={label}
|
44 |
+
className={`block-editor-yith-color-control ${className}`}
|
45 |
+
help={help}
|
46 |
+
>
|
47 |
+
<ColorPicker
|
48 |
+
color={value}
|
49 |
+
disableAlpha={disableAlpha}
|
50 |
+
onChangeComplete={onChange}
|
51 |
+
/>
|
52 |
+
</BaseControl> );
|
53 |
+
}
|
plugin-fw/includes/builders/gutenberg/src/components/multiple-select-control/index.js
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* External dependencies
|
3 |
+
*/
|
4 |
+
import React from 'react';
|
5 |
+
|
6 |
+
/**
|
7 |
+
* WordPress dependencies
|
8 |
+
*/
|
9 |
+
import { BaseControl } from '@wordpress/components';
|
10 |
+
import { useInstanceId } from '@wordpress/compose';
|
11 |
+
import MultipleSelect from './multiple-select';
|
12 |
+
|
13 |
+
import './style.scss';
|
14 |
+
|
15 |
+
/**
|
16 |
+
* Color Picker Control
|
17 |
+
*
|
18 |
+
* @param {string} className The CSS class name.
|
19 |
+
* @param {string} label The label.
|
20 |
+
* @param {function} onChange The function callback fired on value change.
|
21 |
+
* @param {string} value The initial value.
|
22 |
+
* @param {string} help The help message.
|
23 |
+
* @param {bool} disableAlpha Set true to disable the alpha
|
24 |
+
* @returns {MultipleSelectControl}
|
25 |
+
* @constructor
|
26 |
+
*/
|
27 |
+
export default function MultipleSelectControl(
|
28 |
+
{
|
29 |
+
className,
|
30 |
+
label,
|
31 |
+
onChange,
|
32 |
+
value,
|
33 |
+
help,
|
34 |
+
options,
|
35 |
+
messages
|
36 |
+
}
|
37 |
+
) {
|
38 |
+
|
39 |
+
const instanceId = useInstanceId( MultipleSelectControl );
|
40 |
+
const id = `inspector-yith-multiple-select-control-${instanceId}`;
|
41 |
+
|
42 |
+
return <BaseControl
|
43 |
+
id={id}
|
44 |
+
label={label}
|
45 |
+
className={`block-editor-yith-multiple-select-control ${className}`}
|
46 |
+
help={help}
|
47 |
+
>
|
48 |
+
<MultipleSelect
|
49 |
+
id={id}
|
50 |
+
value={value}
|
51 |
+
options={options}
|
52 |
+
onChange={onChange}
|
53 |
+
messages={messages}
|
54 |
+
/>
|
55 |
+
</BaseControl>
|
56 |
+
}
|
plugin-fw/includes/builders/gutenberg/src/components/multiple-select-control/multiple-select.js
ADDED
@@ -0,0 +1,186 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import classNames from 'classnames';
|
2 |
+
import noop from 'lodash';
|
3 |
+
import PropTypes from 'prop-types';
|
4 |
+
import { useState, useEffect, useRef, useMemo } from 'react';
|
5 |
+
|
6 |
+
import { __, sprintf } from '@wordpress/i18n';
|
7 |
+
import { useInstanceId } from '@wordpress/compose';
|
8 |
+
import { Popover } from '@wordpress/components';
|
9 |
+
|
10 |
+
import MultipleSelectControl from './index';
|
11 |
+
|
12 |
+
const defaultMessages = {
|
13 |
+
noItems : __( 'No items found.', 'yith-plugin-fw' ),
|
14 |
+
noResults: __( 'No results for "%s"', 'yith-plugin-fw' ),
|
15 |
+
search : __( 'Search for items...', 'yith-plugin-fw' )
|
16 |
+
};
|
17 |
+
|
18 |
+
function useUniqueId( idProp ) {
|
19 |
+
const instanceId = useInstanceId( MultipleSelectControl );
|
20 |
+
const id = `inspector-yith-multiple-select-control-${instanceId}`;
|
21 |
+
|
22 |
+
return idProp || id;
|
23 |
+
}
|
24 |
+
|
25 |
+
export default function MultipleSelect( { id: idProp, value, options, onChange, messages: messagesProp } ) {
|
26 |
+
const [search, setSearch] = useState( '' );
|
27 |
+
const [showSuggesions, setShowSuggestions] = useState( false );
|
28 |
+
const [width, setWidth] = useState( 248 );
|
29 |
+
const messages = { ...defaultMessages, ...messagesProp };
|
30 |
+
const wrapperRef = useRef();
|
31 |
+
const inputRef = useRef();
|
32 |
+
const inputContainerRef = useRef();
|
33 |
+
const popoverRef = useRef();
|
34 |
+
const suggestionsRef = useRef();
|
35 |
+
|
36 |
+
const classes = classNames(
|
37 |
+
'yith-fw-components__multiple-select'
|
38 |
+
);
|
39 |
+
|
40 |
+
const allowedValues = useMemo( () => options.map( _ => _.value ), [options] );
|
41 |
+
const validValues = useMemo( () => value.filter( _ => allowedValues.includes( _ ) ), [value, allowedValues] );
|
42 |
+
const filteredOptions = useMemo( () => options.filter( ( _ ) => _.label.toLowerCase().indexOf( search.toLowerCase() ) >= 0 ), [options, search] );
|
43 |
+
const selected = useMemo( () => options.filter( ( _ ) => validValues.includes( _.value ) ), [options, validValues] );
|
44 |
+
|
45 |
+
const addItem = itemValue => {
|
46 |
+
onChange( [...validValues, itemValue] );
|
47 |
+
setSearch( '' );
|
48 |
+
};
|
49 |
+
const removeItem = ( itemValue ) => {
|
50 |
+
const newSelected = [...validValues].filter( _ => _ !== itemValue );
|
51 |
+
onChange( newSelected );
|
52 |
+
};
|
53 |
+
const focusInput = () => !!inputRef.current && inputRef.current.focus();
|
54 |
+
|
55 |
+
const handleClickOutside = e => {
|
56 |
+
const isWrapperClick = wrapperRef?.current && wrapperRef.current.contains( e.target );
|
57 |
+
const isPopoverClick = popoverRef?.current && popoverRef.current.contains( e.target );
|
58 |
+
if ( !isWrapperClick && !isPopoverClick ) {
|
59 |
+
setShowSuggestions( false );
|
60 |
+
}
|
61 |
+
};
|
62 |
+
|
63 |
+
const handleInputContainerClick = e => {
|
64 |
+
const isInputContainerClick = inputContainerRef?.current && inputContainerRef.current === e.target;
|
65 |
+
if ( isInputContainerClick ) {
|
66 |
+
focusInput();
|
67 |
+
}
|
68 |
+
};
|
69 |
+
|
70 |
+
useEffect( () => {
|
71 |
+
document.addEventListener( 'mousedown', handleClickOutside );
|
72 |
+
return () => document.removeEventListener( 'mousedown', handleClickOutside );
|
73 |
+
} );
|
74 |
+
|
75 |
+
useEffect( () => {
|
76 |
+
const refresh = () => {
|
77 |
+
if ( !wrapperRef.current ) {
|
78 |
+
return;
|
79 |
+
}
|
80 |
+
|
81 |
+
const width = wrapperRef.current.getBoundingClientRect()?.width;
|
82 |
+
setWidth( width );
|
83 |
+
};
|
84 |
+
|
85 |
+
refresh();
|
86 |
+
}, [] );
|
87 |
+
|
88 |
+
return <div className={classes} ref={wrapperRef}>
|
89 |
+
<div className="yith-fw-components__multiple-select__input-container" ref={inputContainerRef} onClick={handleInputContainerClick}>
|
90 |
+
{selected.map( item => {
|
91 |
+
return <span key={item.value} className="yith-fw-components__multiple-select__item">
|
92 |
+
<span className="yith-fw-components__multiple-select__item__label">{item.label}</span>
|
93 |
+
<i
|
94 |
+
className="yith-fw-components__multiple-select__item__remove yith-icon-close-alt"
|
95 |
+
onClick={() => {
|
96 |
+
removeItem( item.value );
|
97 |
+
setShowSuggestions( false );
|
98 |
+
}}
|
99 |
+
/>
|
100 |
+
</span>
|
101 |
+
} )}
|
102 |
+
<input
|
103 |
+
className="yith-fw-components__multiple-select__input"
|
104 |
+
id={useUniqueId( idProp )}
|
105 |
+
ref={inputRef}
|
106 |
+
type="text"
|
107 |
+
autoComplete="off"
|
108 |
+
placeholder={messages.search}
|
109 |
+
onFocus={() => setShowSuggestions( true )}
|
110 |
+
value={search}
|
111 |
+
onChange={( e ) => setSearch( e.target.value )}
|
112 |
+
/>
|
113 |
+
</div>
|
114 |
+
{showSuggesions && <Popover
|
115 |
+
className="yith-fw-components__multiple-select__popover"
|
116 |
+
position="bottom"
|
117 |
+
offset={20}
|
118 |
+
anchorRef={wrapperRef?.current ?? undefined}
|
119 |
+
anchorRect={wrapperRef?.current && wrapperRef?.current.getBoundingClientRect()}
|
120 |
+
focusOnMount={false}
|
121 |
+
ref={popoverRef}
|
122 |
+
>
|
123 |
+
<div
|
124 |
+
className={classNames( 'yith-fw-components__multiple-select__suggestions', !filteredOptions.length && 'no-results' )}
|
125 |
+
ref={suggestionsRef}
|
126 |
+
style={{ width }}
|
127 |
+
>
|
128 |
+
{!!options.length && !!filteredOptions.length ?
|
129 |
+
(
|
130 |
+
filteredOptions.map(
|
131 |
+
item => {
|
132 |
+
const isSelected = validValues.includes( item.value );
|
133 |
+
|
134 |
+
return <div
|
135 |
+
key={item.value}
|
136 |
+
className={classNames( 'yith-fw-components__multiple-select__suggestion', isSelected && 'selected' )}
|
137 |
+
onClick={() => {
|
138 |
+
if ( !isSelected ) {
|
139 |
+
addItem( item.value );
|
140 |
+
focusInput();
|
141 |
+
}
|
142 |
+
}}
|
143 |
+
>
|
144 |
+
<div className="yith-fw-components__multiple-select__suggestion__label">{item.label}</div>
|
145 |
+
{isSelected && <i
|
146 |
+
className="yith-fw-components__multiple-select__suggestion__remove yith-icon yith-icon-close-alt"
|
147 |
+
onClick={() => {
|
148 |
+
removeItem( item.value );
|
149 |
+
focusInput();
|
150 |
+
}}/>}
|
151 |
+
</div>
|
152 |
+
}
|
153 |
+
)
|
154 |
+
) :
|
155 |
+
<div className="yith-fw-components__multiple-select__suggestions__message">
|
156 |
+
{!options.length || !search ? messages.noItems : sprintf( messages.noResults, search )}
|
157 |
+
</div>
|
158 |
+
}
|
159 |
+
</div>
|
160 |
+
</Popover>}
|
161 |
+
</div>
|
162 |
+
}
|
163 |
+
|
164 |
+
MultipleSelect.propTypes = {
|
165 |
+
id : PropTypes.string,
|
166 |
+
className: PropTypes.string,
|
167 |
+
value : PropTypes.array,
|
168 |
+
options : PropTypes.arrayOf(
|
169 |
+
PropTypes.shape(
|
170 |
+
{
|
171 |
+
label: PropTypes.string,
|
172 |
+
value: PropTypes.oneOfType( [PropTypes.string, PropTypes.number] )
|
173 |
+
}
|
174 |
+
)
|
175 |
+
),
|
176 |
+
onChange : PropTypes.func
|
177 |
+
|
178 |
+
};
|
179 |
+
|
180 |
+
MultipleSelect.defaultProps = {
|
181 |
+
id : '',
|
182 |
+
value : [],
|
183 |
+
className: '',
|
184 |
+
options : [],
|
185 |
+
onChange : noop
|
186 |
+
};
|
plugin-fw/includes/builders/gutenberg/src/components/multiple-select-control/style.scss
ADDED
@@ -0,0 +1,135 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.yith-fw-components__multiple-select {
|
2 |
+
.yith-fw-components__multiple-select__input-container {
|
3 |
+
border-radius : 2px;
|
4 |
+
border : 1px solid #757575;
|
5 |
+
padding : 5px;
|
6 |
+
|
7 |
+
.yith-fw-components__multiple-select__input {
|
8 |
+
border : 0;
|
9 |
+
min-height : 24px;
|
10 |
+
width : 100%;
|
11 |
+
background : inherit;
|
12 |
+
color : #1e1e1e;
|
13 |
+
box-shadow : none;
|
14 |
+
|
15 |
+
&::placeholder {
|
16 |
+
opacity : .6;
|
17 |
+
color : inherit;
|
18 |
+
}
|
19 |
+
}
|
20 |
+
}
|
21 |
+
|
22 |
+
.yith-fw-components__multiple-select__item {
|
23 |
+
border-radius : 3px;
|
24 |
+
background : #f1f1f1;
|
25 |
+
display : inline-block;
|
26 |
+
padding : 4px 25px 4px 10px;
|
27 |
+
margin : 0 5px 5px 0;
|
28 |
+
max-width : 100%;
|
29 |
+
align-items : center;
|
30 |
+
position : relative;
|
31 |
+
|
32 |
+
.yith-fw-components__multiple-select__item__label {
|
33 |
+
|
34 |
+
}
|
35 |
+
|
36 |
+
.yith-fw-components__multiple-select__item__remove {
|
37 |
+
font-size : 14px;
|
38 |
+
cursor : pointer;
|
39 |
+
position : absolute;
|
40 |
+
top : 50%;
|
41 |
+
right : 3px;
|
42 |
+
transform : translateY(-50%);
|
43 |
+
padding : 5px;
|
44 |
+
width : auto;
|
45 |
+
height : auto;
|
46 |
+
|
47 |
+
&:hover {
|
48 |
+
color : #c50c0c;
|
49 |
+
}
|
50 |
+
}
|
51 |
+
}
|
52 |
+
}
|
53 |
+
|
54 |
+
.yith-fw-components__multiple-select__popover {
|
55 |
+
.components-popover__content {
|
56 |
+
border : 0;
|
57 |
+
overflow : visible;
|
58 |
+
}
|
59 |
+
|
60 |
+
.yith-fw-components__multiple-select__suggestions {
|
61 |
+
display : flex;
|
62 |
+
flex-direction : column;
|
63 |
+
overflow : hidden;
|
64 |
+
overflow-y : auto;
|
65 |
+
padding-top : 5px;
|
66 |
+
max-height : 200px;
|
67 |
+
border-radius : 5px;
|
68 |
+
box-shadow : rgb(0 0 0 / 20%) 0px 5px 5px -3px, rgb(0 0 0 / 14%) 0px 8px 10px 1px, rgb(0 0 0 / 12%) 0px 3px 14px 2px;
|
69 |
+
|
70 |
+
&.no-results {
|
71 |
+
padding-top : 0;
|
72 |
+
}
|
73 |
+
|
74 |
+
.yith-fw-components__multiple-select__suggestions__message {
|
75 |
+
padding : 8px 15px;
|
76 |
+
line-height : 1.5em;
|
77 |
+
overflow-wrap : break-word;
|
78 |
+
}
|
79 |
+
|
80 |
+
.yith-fw-components__multiple-select__suggestion {
|
81 |
+
padding : 8px 15px;
|
82 |
+
min-height : 40px;
|
83 |
+
cursor : pointer;
|
84 |
+
line-height : 1.5em;
|
85 |
+
display : flex;
|
86 |
+
align-items : center;
|
87 |
+
justify-content : space-between;
|
88 |
+
|
89 |
+
&.selected {
|
90 |
+
background : rgba(25, 118, 210, 0.08);
|
91 |
+
}
|
92 |
+
|
93 |
+
&:hover {
|
94 |
+
background : rgba(0, 0, 0, 0.04);
|
95 |
+
}
|
96 |
+
|
97 |
+
&.selected:hover {
|
98 |
+
background : rgba(25, 118, 210, 0.12);
|
99 |
+
}
|
100 |
+
}
|
101 |
+
|
102 |
+
.yith-fw-components__multiple-select__suggestion__remove {
|
103 |
+
font-size : 13px;
|
104 |
+
font-weight : 600;
|
105 |
+
padding : 5px;
|
106 |
+
height : 23px;
|
107 |
+
width : 23px;
|
108 |
+
background : rgba(0, 0, 0, 0);
|
109 |
+
box-shadow : 0 0 0 10px rgba(0, 0, 0, 0);
|
110 |
+
border-radius : 50%;
|
111 |
+
transition : all .3s ease-in-out;
|
112 |
+
|
113 |
+
&:hover {
|
114 |
+
color : #c50c0c;
|
115 |
+
background : rgba(0, 0, 0, .06);
|
116 |
+
box-shadow : 0 0 0 3px rgba(0, 0, 0, .06);
|
117 |
+
}
|
118 |
+
}
|
119 |
+
}
|
120 |
+
|
121 |
+
::-webkit-scrollbar-track {
|
122 |
+
-webkit-box-shadow : none;
|
123 |
+
background-color : transparent;
|
124 |
+
}
|
125 |
+
|
126 |
+
::-webkit-scrollbar {
|
127 |
+
width : 10px;
|
128 |
+
background-color : rgba(94, 88, 154, 0.04);
|
129 |
+
}
|
130 |
+
|
131 |
+
::-webkit-scrollbar-thumb {
|
132 |
+
background-color : #b1b4bf;
|
133 |
+
border-radius : 10px;
|
134 |
+
}
|
135 |
+
}
|
plugin-fw/includes/builders/gutenberg/src/components/shortcode/index.js
ADDED
@@ -0,0 +1,153 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Shortcode Component
|
3 |
+
*/
|
4 |
+
|
5 |
+
/**
|
6 |
+
* External dependencies
|
7 |
+
*/
|
8 |
+
import React, { Component } from 'react';
|
9 |
+
import { isEqual } from 'lodash';
|
10 |
+
|
11 |
+
/**
|
12 |
+
* WordPress dependencies
|
13 |
+
*/
|
14 |
+
import { RawHTML } from '@wordpress/element';
|
15 |
+
import { Spinner } from '@wordpress/components';
|
16 |
+
import { doAction, addAction } from '@wordpress/hooks';
|
17 |
+
|
18 |
+
/**
|
19 |
+
* Internal dependencies
|
20 |
+
*/
|
21 |
+
import { ajaxFetch, generateShortcode, yith_icon } from '../../common';
|
22 |
+
import md5 from 'md5';
|
23 |
+
import './style.scss';
|
24 |
+
|
25 |
+
const BEFORE_DO_SHORTCODE_ACTION = 'yith_plugin_fw_gutenberg_before_do_shortcode';
|
26 |
+
const SUCCESS_DO_SHORTCODE_ACTION = 'yith_plugin_fw_gutenberg_success_do_shortcode';
|
27 |
+
const AFTER_DO_SHORTCODE_ACTION = 'yith_plugin_fw_gutenberg_after_do_shortcode';
|
28 |
+
|
29 |
+
/**
|
30 |
+
* Shortcode Component
|
31 |
+
*/
|
32 |
+
export class Shortcode extends Component {
|
33 |
+
constructor() {
|
34 |
+
super( ...arguments );
|
35 |
+
|
36 |
+
this.state = {
|
37 |
+
html : '',
|
38 |
+
shortcode : '',
|
39 |
+
shortcodeHash: '',
|
40 |
+
ajaxUpdated : false,
|
41 |
+
ajaxSuccess : false,
|
42 |
+
ajaxResponse : false,
|
43 |
+
loading : false,
|
44 |
+
firstLoading : true
|
45 |
+
};
|
46 |
+
|
47 |
+
this.ajaxTimeout = false;
|
48 |
+
}
|
49 |
+
|
50 |
+
componentDidMount() {
|
51 |
+
this.updateShortcode();
|
52 |
+
}
|
53 |
+
|
54 |
+
componentDidUpdate( prevProps, prevState, snapshot ) {
|
55 |
+
const { shortcode, shortcodeHash, ajaxSuccess, ajaxResponse, ajaxUpdated } = this.state;
|
56 |
+
|
57 |
+
if ( !isEqual( prevProps, this.props ) ) {
|
58 |
+
this.updateShortcode();
|
59 |
+
}
|
60 |
+
|
61 |
+
|
62 |
+
if ( this.props.blockArgs.do_shortcode && ajaxUpdated ) {
|
63 |
+
|
64 |
+
if ( ajaxSuccess ) {
|
65 |
+
doAction( SUCCESS_DO_SHORTCODE_ACTION, shortcode, shortcodeHash, ajaxResponse );
|
66 |
+
}
|
67 |
+
|
68 |
+
doAction( AFTER_DO_SHORTCODE_ACTION, shortcode, shortcodeHash, ajaxResponse );
|
69 |
+
|
70 |
+
this.setState( { ajaxUpdated: false } );
|
71 |
+
}
|
72 |
+
}
|
73 |
+
|
74 |
+
updateShortcode() {
|
75 |
+
const { attributes, blockArgs } = this.props;
|
76 |
+
|
77 |
+
this.setState( { loading: true, ajaxSuccess: false, ajaxResponse: false } );
|
78 |
+
|
79 |
+
const shortcode = generateShortcode( blockArgs, attributes );
|
80 |
+
const shortcodeHash = md5( shortcode );
|
81 |
+
|
82 |
+
if ( blockArgs.do_shortcode ) {
|
83 |
+
!!this.ajaxTimeout && clearTimeout( this.ajaxTimeout );
|
84 |
+
|
85 |
+
doAction( BEFORE_DO_SHORTCODE_ACTION, shortcode, shortcodeHash );
|
86 |
+
|
87 |
+
this.ajaxTimeout = setTimeout( () => {
|
88 |
+
const ajaxData = {
|
89 |
+
action : 'yith_plugin_fw_gutenberg_do_shortcode',
|
90 |
+
shortcode: shortcode,
|
91 |
+
context : { ...( this.props.context ?? {} ), adminPage: window?.adminpage ?? '' }
|
92 |
+
};
|
93 |
+
|
94 |
+
ajaxFetch( ajaxData ).then( response => {
|
95 |
+
this.setState( { loading: false, firstLoading: false, html: response.html, shortcode, shortcodeHash, ajaxSuccess: true, ajaxUpdated: true, ajaxResponse: response } );
|
96 |
+
} )
|
97 |
+
.catch( error => {
|
98 |
+
console.log( { error } );
|
99 |
+
} );
|
100 |
+
}, 300 );
|
101 |
+
} else {
|
102 |
+
this.setState( { loading: false, firstLoading: false, html: shortcode, shortcode, shortcodeHash } );
|
103 |
+
}
|
104 |
+
}
|
105 |
+
|
106 |
+
render() {
|
107 |
+
const { html, loading, firstLoading, shortcode, shortcodeHash } = this.state;
|
108 |
+
const { blockArgs } = this.props;
|
109 |
+
const { do_shortcode, title, empty_message } = blockArgs;
|
110 |
+
|
111 |
+
const mainClass = 'block-editor-yith-plugin-fw-shortcode-block';
|
112 |
+
|
113 |
+
let wrapperClasses = [mainClass];
|
114 |
+
let type = do_shortcode ? 'html' : 'shortcode';
|
115 |
+
let htmlToShow = html;
|
116 |
+
let message = '';
|
117 |
+
|
118 |
+
if ( firstLoading && loading ) {
|
119 |
+
type = 'first-loading';
|
120 |
+
} else if ( do_shortcode && !html ) {
|
121 |
+
type = 'empty-html';
|
122 |
+
htmlToShow = shortcode;
|
123 |
+
if ( !loading && empty_message ) {
|
124 |
+
message = empty_message;
|
125 |
+
}
|
126 |
+
}
|
127 |
+
|
128 |
+
const showTitle = ['first-loading', 'empty-html', 'shortcode'].includes( type );
|
129 |
+
const showContent = !['first-loading', 'empty-html'].includes( type );
|
130 |
+
const showMessage = !!message;
|
131 |
+
|
132 |
+
wrapperClasses.push( `${mainClass}--${type}` );
|
133 |
+
wrapperClasses.push( showMessage ? `${mainClass}--has-message` : `${mainClass}--no-message` );
|
134 |
+
wrapperClasses.push( `yith_block_${shortcodeHash}` );
|
135 |
+
|
136 |
+
return (
|
137 |
+
<>
|
138 |
+
<div className={wrapperClasses.join( ' ' )}>
|
139 |
+
{!!loading ? <div className={`${mainClass}__spinner-wrap`}><Spinner/></div> : ''}
|
140 |
+
{showTitle &&
|
141 |
+
<div className={`${mainClass}__title components-placeholder__label`}>{yith_icon}{title}</div>
|
142 |
+
}
|
143 |
+
{showMessage &&
|
144 |
+
<RawHTML className={`${mainClass}__message`}>{message}</RawHTML>
|
145 |
+
}
|
146 |
+
{showContent &&
|
147 |
+
<RawHTML className={`${mainClass}__content`}>{htmlToShow}</RawHTML>
|
148 |
+
}
|
149 |
+
</div>
|
150 |
+
</>
|
151 |
+
)
|
152 |
+
}
|
153 |
+
}
|
plugin-fw/includes/builders/gutenberg/src/components/shortcode/style.scss
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
%bordered-block {
|
2 |
+
padding: 1em 1em 1.2em;
|
3 |
+
border: 1px solid #1e1e1e;
|
4 |
+
border-radius: 4px;
|
5 |
+
}
|
6 |
+
|
7 |
+
%shortcode-box {
|
8 |
+
font-family: Menlo, Consolas, monaco, monospace;
|
9 |
+
color: #1e1e1e;
|
10 |
+
font-size: 13px;
|
11 |
+
padding: 0.8em 1em;
|
12 |
+
border: 1px solid #ddd;
|
13 |
+
border-radius: 4px;
|
14 |
+
}
|
15 |
+
|
16 |
+
.block-editor-yith-plugin-fw-shortcode-block {
|
17 |
+
position: relative;
|
18 |
+
min-height: 30px;
|
19 |
+
|
20 |
+
.block-editor-yith-plugin-fw-shortcode-block__spinner-wrap {
|
21 |
+
position: absolute;
|
22 |
+
top: 50%;
|
23 |
+
left: 50%;
|
24 |
+
transform: translateX(-50%) translateY(-50%);
|
25 |
+
}
|
26 |
+
|
27 |
+
&.block-editor-yith-plugin-fw-shortcode-block--first-loading{
|
28 |
+
@extend %bordered-block;
|
29 |
+
|
30 |
+
.block-editor-yith-plugin-fw-shortcode-block__title {
|
31 |
+
margin-bottom: 0;
|
32 |
+
}
|
33 |
+
}
|
34 |
+
|
35 |
+
&.block-editor-yith-plugin-fw-shortcode-block--shortcode {
|
36 |
+
|
37 |
+
@extend %bordered-block;
|
38 |
+
|
39 |
+
.block-editor-yith-plugin-fw-shortcode-block__content {
|
40 |
+
@extend %shortcode-box;
|
41 |
+
}
|
42 |
+
}
|
43 |
+
|
44 |
+
&.block-editor-yith-plugin-fw-shortcode-block--empty-html {
|
45 |
+
|
46 |
+
@extend %bordered-block;
|
47 |
+
|
48 |
+
&.block-editor-yith-plugin-fw-shortcode-block--no-message {
|
49 |
+
.block-editor-yith-plugin-fw-shortcode-block__title {
|
50 |
+
margin-bottom: 0;
|
51 |
+
}
|
52 |
+
}
|
53 |
+
|
54 |
+
.block-editor-yith-plugin-fw-shortcode-block__message {
|
55 |
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
56 |
+
font-style: italic;
|
57 |
+
font-size: 13px;
|
58 |
+
}
|
59 |
+
|
60 |
+
.block-editor-yith-plugin-fw-shortcode-block__content {
|
61 |
+
display: none;
|
62 |
+
}
|
63 |
+
}
|
64 |
+
}
|
plugin-fw/includes/builders/gutenberg/src/edit.js
ADDED
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Handle YITH Gutenberg Blocks Edit
|
3 |
+
*
|
4 |
+
* @var {Object} yithGutenbergBlocks The Gutenberg blocks object.
|
5 |
+
*/
|
6 |
+
|
7 |
+
/**
|
8 |
+
* External dependencies
|
9 |
+
*/
|
10 |
+
import React from 'react';
|
11 |
+
|
12 |
+
/**
|
13 |
+
* WordPress dependencies
|
14 |
+
*/
|
15 |
+
import {
|
16 |
+
PanelBody,
|
17 |
+
ToggleControl,
|
18 |
+
SelectControl,
|
19 |
+
TextControl,
|
20 |
+
TextareaControl,
|
21 |
+
CheckboxControl,
|
22 |
+
RangeControl,
|
23 |
+
RadioControl
|
24 |
+
} from '@wordpress/components';
|
25 |
+
import { InspectorControls } from '@wordpress/block-editor';
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Internal dependencies
|
29 |
+
*/
|
30 |
+
import { Shortcode } from './components/shortcode';
|
31 |
+
import { checkForDeps } from './common';
|
32 |
+
import ColorPickerControl from './components/color-picker-control';
|
33 |
+
import ColorPaletteControl from './components/color-palette-control';
|
34 |
+
import MultipleSelectControl from './components/multiple-select-control';
|
35 |
+
import classNames from 'classnames';
|
36 |
+
|
37 |
+
/**
|
38 |
+
* Retrieve an help message from arguments.
|
39 |
+
*
|
40 |
+
* @param {Object} args The arguments.
|
41 |
+
* @param {bool} value The value.
|
42 |
+
* @returns {string}
|
43 |
+
*/
|
44 |
+
const getHelpMessage = ( args, value ) => {
|
45 |
+
let helpMessage = '';
|
46 |
+
if ( args.helps && args.helps.checked && args.helps.unchecked ) {
|
47 |
+
helpMessage = !!value ? args.helps.checked : args.helps.unchecked;
|
48 |
+
} else if ( args.help ) {
|
49 |
+
helpMessage = args.help;
|
50 |
+
}
|
51 |
+
return helpMessage;
|
52 |
+
};
|
53 |
+
|
54 |
+
const ComponentControl = ( { attributeName, attributeArgs, attributes, onChange, blockName } ) => {
|
55 |
+
const { controlType, label, wrapper_class } = attributeArgs;
|
56 |
+
const value = attributes[ attributeName ];
|
57 |
+
const helpMessage = getHelpMessage( attributeArgs, value );
|
58 |
+
const show = checkForDeps( attributeArgs, attributes );
|
59 |
+
const wrapperClass = classNames(
|
60 |
+
`${blockName}__${attributeName}-field-wrapper`,
|
61 |
+
wrapper_class
|
62 |
+
);
|
63 |
+
|
64 |
+
let componentControl = false;
|
65 |
+
if ( show ) {
|
66 |
+
switch ( controlType ) {
|
67 |
+
case 'select':
|
68 |
+
if ( !attributeArgs.multiple ) {
|
69 |
+
componentControl = <SelectControl
|
70 |
+
className={wrapperClass}
|
71 |
+
value={value}
|
72 |
+
label={label}
|
73 |
+
options={attributeArgs?.options ?? []}
|
74 |
+
help={helpMessage}
|
75 |
+
onChange={onChange}
|
76 |
+
/>;
|
77 |
+
} else {
|
78 |
+
componentControl = <MultipleSelectControl
|
79 |
+
className={wrapperClass}
|
80 |
+
value={value}
|
81 |
+
label={label}
|
82 |
+
options={attributeArgs?.options ?? []}
|
83 |
+
help={helpMessage}
|
84 |
+
onChange={onChange}
|
85 |
+
messages={attributeArgs?.messages ?? {}}
|
86 |
+
/>;
|
87 |
+
}
|
88 |
+
break;
|
89 |
+
|
90 |
+
case 'text':
|
91 |
+
componentControl = <TextControl
|
92 |
+
className={wrapperClass}
|
93 |
+
key={attributeName}
|
94 |
+
value={value}
|
95 |
+
label={label}
|
96 |
+
help={helpMessage}
|
97 |
+
onChange={onChange}
|
98 |
+
/>;
|
99 |
+
break;
|
100 |
+
|
101 |
+
case 'textarea':
|
102 |
+
componentControl = <TextareaControl
|
103 |
+
className={wrapperClass}
|
104 |
+
key={attributeName}
|
105 |
+
value={value}
|
106 |
+
label={label}
|
107 |
+
help={helpMessage}
|
108 |
+
onChange={onChange}
|
109 |
+
/>;
|
110 |
+
break;
|
111 |
+
|
112 |
+
case 'toggle':
|
113 |
+
componentControl = <ToggleControl
|
114 |
+
className={wrapperClass}
|
115 |
+
key={attributeName}
|
116 |
+
label={label}
|
117 |
+
help={helpMessage}
|
118 |
+
checked={value}
|
119 |
+
onChange={onChange}
|
120 |
+
/>;
|
121 |
+
break;
|
122 |
+
|
123 |
+
case 'checkbox':
|
124 |
+
componentControl = <CheckboxControl
|
125 |
+
className={wrapperClass}
|
126 |
+
key={attributeName}
|
127 |
+
label={label}
|
128 |
+
help={helpMessage}
|
129 |
+
checked={value}
|
130 |
+
onChange={onChange}
|
131 |
+
/>;
|
132 |
+
break;
|
133 |
+
|
134 |
+
case 'number':
|
135 |
+
case 'range':
|
136 |
+
componentControl = <RangeControl
|
137 |
+
className={wrapperClass}
|
138 |
+
key={attributeName}
|
139 |
+
value={value}
|
140 |
+
label={label}
|
141 |
+
help={helpMessage}
|
142 |
+
min={attributeArgs?.min}
|
143 |
+
max={attributeArgs?.max}
|
144 |
+
onChange={onChange}
|
145 |
+
/>;
|
146 |
+
break;
|
147 |
+
|
148 |
+
case 'color':
|
149 |
+
case 'colorpicker':
|
150 |
+
componentControl = <ColorPickerControl
|
151 |
+
className={wrapperClass}
|
152 |
+
key={attributeName}
|
153 |
+
label={label}
|
154 |
+
help={helpMessage}
|
155 |
+
value={value}
|
156 |
+
disableAlpha={attributeArgs?.disableAlpha ?? false}
|
157 |
+
onChange={onChange}/>;
|
158 |
+
break;
|
159 |
+
|
160 |
+
case 'color-palette':
|
161 |
+
componentControl = <ColorPaletteControl
|
162 |
+
className={wrapperClass}
|
163 |
+
key={attributeName}
|
164 |
+
label={label}
|
165 |
+
help={helpMessage}
|
166 |
+
value={value}
|
167 |
+
clearable={attributeArgs?.clearable ?? false}
|
168 |
+
onChange={onChange}/>;
|
169 |
+
break;
|
170 |
+
|
171 |
+
case 'radio':
|
172 |
+
componentControl = <RadioControl
|
173 |
+
key={attributeName}
|
174 |
+
label={label}
|
175 |
+
options={attributeArgs?.options ?? []}
|
176 |
+
selected={value}
|
177 |
+
help={helpMessage}
|
178 |
+
onChange={onChange}
|
179 |
+
/>;
|
180 |
+
break;
|
181 |
+
default:
|
182 |
+
componentControl = false;
|
183 |
+
}
|
184 |
+
}
|
185 |
+
return componentControl;
|
186 |
+
}
|
187 |
+
|
188 |
+
/**
|
189 |
+
* Create edit function.
|
190 |
+
*
|
191 |
+
* @param {string} blockName The block name.
|
192 |
+
* @param {Object} blockArgs The block arguments.
|
193 |
+
* @returns {function({attributes?: *, className: *, setAttributes: *})}
|
194 |
+
*/
|
195 |
+
export const createEditFunction = ( blockName, blockArgs ) => {
|
196 |
+
return function ( { context, attributes, className, setAttributes } ) {
|
197 |
+
|
198 |
+
const onChangeHandler = ( updatedValue, attributeName, controlType ) => {
|
199 |
+
if ( ['colorpicker', 'color'].includes( controlType ) ) {
|
200 |
+
if ( 'rgb' in updatedValue && 'hex' in updatedValue ) {
|
201 |
+
const { r, g, b, a } = updatedValue.rgb;
|
202 |
+
updatedValue = a < 1 ? `rgba(${r}, ${g}, ${b}, ${a})` : updatedValue.hex;
|
203 |
+
} else {
|
204 |
+
updatedValue = updatedValue.color.getAlpha() < 1 ? updatedValue.color.toRgbString() : updatedValue.color.toHexString();
|
205 |
+
}
|
206 |
+
}
|
207 |
+
|
208 |
+
setAttributes( { [ attributeName ]: updatedValue } );
|
209 |
+
}
|
210 |
+
|
211 |
+
return (
|
212 |
+
<>
|
213 |
+
{!!blockArgs.attributes &&
|
214 |
+
<InspectorControls>
|
215 |
+
<PanelBody>
|
216 |
+
{Object.entries( blockArgs.attributes ).map( ( [attributeName, attributeArgs] ) => {
|
217 |
+
const { controlType } = attributeArgs;
|
218 |
+
return <ComponentControl
|
219 |
+
key={attributeName}
|
220 |
+
attributeArgs={attributeArgs}
|
221 |
+
attributeName={attributeName}
|
222 |
+
attributes={attributes}
|
223 |
+
blockName={blockName}
|
224 |
+
onChange={_ => onChangeHandler( _, attributeName, controlType )}
|
225 |
+
/>
|
226 |
+
} )}
|
227 |
+
</PanelBody>
|
228 |
+
</InspectorControls>
|
229 |
+
}
|
230 |
+
<Shortcode attributes={attributes} blockArgs={blockArgs} context={context}/>
|
231 |
+
</>
|
232 |
+
);
|
233 |
+
}
|
234 |
+
}
|
plugin-fw/includes/builders/gutenberg/src/index.js
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Handle YITH Gutenberg Blocks
|
3 |
+
*
|
4 |
+
* @var {Object} yithGutenbergBlocks The Gutenberg blocks object.
|
5 |
+
*/
|
6 |
+
|
7 |
+
/**
|
8 |
+
* External dependencies
|
9 |
+
*/
|
10 |
+
import React from 'react';
|
11 |
+
import md5 from 'md5';
|
12 |
+
|
13 |
+
/**
|
14 |
+
* WordPress dependencies
|
15 |
+
*/
|
16 |
+
import { registerBlockType } from '@wordpress/blocks';
|
17 |
+
import { RawHTML } from '@wordpress/element';
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Internal dependencies
|
21 |
+
*/
|
22 |
+
import { yith_icon, generateShortcode } from './common';
|
23 |
+
import { createEditFunction } from './edit';
|
24 |
+
import './common/actions-to-jquery-events';
|
25 |
+
|
26 |
+
for ( const [blockName, blockArgs] of Object.entries( yithGutenbergBlocks ) ) {
|
27 |
+
registerBlockType( 'yith/' + blockName, {
|
28 |
+
title : blockArgs.title,
|
29 |
+
description: blockArgs.description,
|
30 |
+
category : blockArgs.category,
|
31 |
+
attributes : blockArgs.attributes,
|
32 |
+
icon : typeof blockArgs.icon !== 'undefined' ? blockArgs.icon : yith_icon,
|
33 |
+
keywords : blockArgs.keywords,
|
34 |
+
edit : createEditFunction( blockName, blockArgs ),
|
35 |
+
usesContext: [
|
36 |
+
'postId',
|
37 |
+
],
|
38 |
+
save : ( { attributes } ) => {
|
39 |
+
return generateShortcode( blockArgs, attributes );
|
40 |
+
},
|
41 |
+
deprecated : [
|
42 |
+
{
|
43 |
+
attributes: blockArgs.attributes,
|
44 |
+
save : ( { attributes } ) => {
|
45 |
+
const shortcode = generateShortcode( blockArgs, attributes );
|
46 |
+
const blockHash = md5( shortcode );
|
47 |
+
const shortcodeSpan = '<span class="yith_block_' + blockHash + '">' + shortcode + '</span>';
|
48 |
+
|
49 |
+
return (
|
50 |
+
<RawHTML>{shortcodeSpan}</RawHTML>
|
51 |
+
)
|
52 |
+
}
|
53 |
+
}
|
54 |
+
]
|
55 |
+
} );
|
56 |
+
}
|
plugin-fw/includes/class-yit-ajax.php
CHANGED
File without changes
|
plugin-fw/includes/class-yit-assets.php
CHANGED
@@ -116,6 +116,13 @@ if ( ! class_exists( 'YIT_Assets' ) ) {
|
|
116 |
'search_terms_nonce' => wp_create_nonce( 'search-terms' ),
|
117 |
'search_customers_nonce' => wp_create_nonce( 'search-customers' ),
|
118 |
'search_pages_nonce' => wp_create_nonce( 'search-pages' ),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
)
|
120 |
);
|
121 |
|
116 |
'search_terms_nonce' => wp_create_nonce( 'search-terms' ),
|
117 |
'search_customers_nonce' => wp_create_nonce( 'search-customers' ),
|
118 |
'search_pages_nonce' => wp_create_nonce( 'search-pages' ),
|
119 |
+
'i18n' => array(
|
120 |
+
'no_matches' => _x( 'No matches found', 'Enhanced select', 'yith-plugin-fw' ),
|
121 |
+
'input_too_short_1' => _x( 'Please enter 1 or more characters', 'Enhanced select', 'yith-plugin-fw' ),
|
122 |
+
// translators: %s is the number of characters.
|
123 |
+
'input_too_short_n' => _x( 'Please enter %s or more characters', 'Enhanced select', 'yith-plugin-fw' ),
|
124 |
+
'searching' => _x( 'Searching…', 'Enhanced select', 'yith-plugin-fw' ),
|
125 |
+
),
|
126 |
)
|
127 |
);
|
128 |
|
plugin-fw/includes/class-yit-cpt-unlimited.php
CHANGED
File without changes
|
plugin-fw/includes/class-yit-gradients.php
CHANGED
File without changes
|
plugin-fw/includes/class-yit-help-desk.php
CHANGED
File without changes
|
plugin-fw/includes/class-yit-icons.php
CHANGED
File without changes
|
plugin-fw/includes/class-yit-metabox.php
CHANGED
File without changes
|
plugin-fw/includes/class-yit-plugin-common.php
CHANGED
File without changes
|
plugin-fw/includes/class-yit-plugin-licence.php
CHANGED
File without changes
|
plugin-fw/includes/class-yit-plugin-panel-woocommerce.php
CHANGED
File without changes
|
plugin-fw/includes/class-yit-plugin-panel.php
CHANGED
File without changes
|
plugin-fw/includes/class-yit-plugin-subpanel.php
CHANGED
File without changes
|
plugin-fw/includes/class-yit-pointers.php
CHANGED
File without changes
|
plugin-fw/includes/class-yit-theme-licence.php
CHANGED
File without changes
|
plugin-fw/includes/class-yit-upgrade.php
CHANGED
File without changes
|
plugin-fw/includes/class-yit-video.php
CHANGED
File without changes
|
plugin-fw/includes/class-yith-dashboard.php
CHANGED
File without changes
|
plugin-fw/includes/class-yith-debug.php
CHANGED
File without changes
|
plugin-fw/includes/class-yith-post-type-admin.php
CHANGED
File without changes
|
plugin-fw/includes/class-yith-system-status.php
CHANGED
File without changes
|
plugin-fw/includes/privacy/class-yith-privacy-plugin-abstract.php
CHANGED
File without changes
|
plugin-fw/includes/privacy/class-yith-privacy.php
CHANGED
File without changes
|
plugin-fw/phpcs.xml
DELETED
@@ -1,61 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<ruleset name="YITH Plugin Framework Coding Standards">
|
3 |
-
<description>YITH Plugin Framework - PHP_CodeSniffer ruleset.</description>
|
4 |
-
|
5 |
-
<file>.</file>
|
6 |
-
|
7 |
-
<!-- Exclude paths -->
|
8 |
-
<exclude-pattern>Gruntfile.js</exclude-pattern>
|
9 |
-
<exclude-pattern>/assets/*</exclude-pattern>
|
10 |
-
<exclude-pattern>/bin/*</exclude-pattern>
|
11 |
-
<exclude-pattern>/dist/*</exclude-pattern>
|
12 |
-
<exclude-pattern>/languages/*</exclude-pattern>
|
13 |
-
<exclude-pattern>*/node_modules/*</exclude-pattern>
|
14 |
-
<exclude-pattern>*/tests/*</exclude-pattern>
|
15 |
-
<exclude-pattern>*/tools/*</exclude-pattern>
|
16 |
-
<exclude-pattern>*/vendor/*</exclude-pattern>
|
17 |
-
|
18 |
-
<!-- Show progress, show the error codes for each message (source). -->
|
19 |
-
<arg value="ps"/>
|
20 |
-
|
21 |
-
<!-- Strip the filepaths in reports down to the relevant bit. -->
|
22 |
-
<arg name="basepath" value="./"/>
|
23 |
-
|
24 |
-
<!-- Check up to 8 files simultaneously. -->
|
25 |
-
<arg name="parallel" value="8"/>
|
26 |
-
|
27 |
-
<!-- Only scan PHP files. -->
|
28 |
-
<arg name="extensions" value="php"/>
|
29 |
-
|
30 |
-
<!-- Configs -->
|
31 |
-
<config name="minimum_supported_wp_version" value="5.2"/>
|
32 |
-
<!-- Check for cross-version support for PHP 5.6 and higher. -->
|
33 |
-
<config name="testVersion" value="7.0-"/>
|
34 |
-
|
35 |
-
<!-- Rules -->
|
36 |
-
|
37 |
-
<!-- WordPress -->
|
38 |
-
<rule ref="WordPress">
|
39 |
-
<exclude name="WordPress.DB.DirectDatabaseQuery.NoCaching" />
|
40 |
-
<exclude name="WordPress.DB.DirectDatabaseQuery.DirectQuery" />
|
41 |
-
<exclude name="WordPress.DB.DirectDatabaseQuery.SchemaChange" />
|
42 |
-
</rule>
|
43 |
-
|
44 |
-
<rule ref="WordPress.Security.ValidatedSanitizedInput">
|
45 |
-
<properties>
|
46 |
-
<property name="customSanitizingFunctions" type="array" value="wc_clean,wc_sanitize_tooltip,wc_format_decimal,wc_stock_amount,wc_sanitize_permalink,wc_sanitize_textarea"/>
|
47 |
-
</properties>
|
48 |
-
</rule>
|
49 |
-
|
50 |
-
<rule ref="WordPress.Security.EscapeOutput">
|
51 |
-
<properties>
|
52 |
-
<property name="customEscapingFunctions" type="array" value="wc_help_tip,wc_sanitize_tooltip,wc_selected,wc_kses_notice,wc_esc_json,wc_query_string_form_fields,wc_make_phone_clickable,yith_plugin_fw_html_data_to_string,yith_field_deps_data,yith_panel_field_deps_data,yith_plugin_fw_html_attributes_to_string"/>
|
53 |
-
</properties>
|
54 |
-
</rule>
|
55 |
-
|
56 |
-
<rule ref="WordPress.Arrays.MultipleStatementAlignment">
|
57 |
-
<properties>
|
58 |
-
<property name="maxColumn" value="200"/>
|
59 |
-
</properties>
|
60 |
-
</rule>
|
61 |
-
</ruleset>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugin-fw/templates/components/action-button.php
CHANGED
File without changes
|
plugin-fw/templates/components/list-table-blank-state.php
CHANGED
File without changes
|
plugin-fw/templates/components/resources/action-button-menu.php
CHANGED
File without changes
|
plugin-fw/templates/fields/copy-to-clipboard.php
CHANGED
File without changes
|
plugin-fw/templates/fields/image-dimensions.php
CHANGED
File without changes
|
plugin-fw/templates/fields/inline-fields.php
CHANGED
File without changes
|
plugin-fw/templates/panel/custom-tab.php
CHANGED
File without changes
|
plugin-fw/templates/panel/help-tab.php
CHANGED
File without changes
|
plugin-fw/templates/sysinfo/tabs/error-log.php
CHANGED
File without changes
|
plugin-fw/templates/sysinfo/tabs/main.php
CHANGED
File without changes
|
plugin-fw/templates/sysinfo/tabs/php-info.php
CHANGED
File without changes
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: yithemes
|
|
3 |
Tags: woocommerce, quick view, woocommerce quick view, products quick view
|
4 |
Requires at least: 5.9
|
5 |
Tested up to: 6.1
|
6 |
-
Stable tag: 1.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -40,6 +40,11 @@ Full documentation is available [here](https://docs.yithemes.com/yith-woocommerc
|
|
40 |
|
41 |
== Changelog ==
|
42 |
|
|
|
|
|
|
|
|
|
|
|
43 |
= 1.21.1 = Released 17 November 2022
|
44 |
|
45 |
* Fix: patched security vulnerability
|
@@ -442,8 +447,7 @@ Or, if you have created your own language pack, or have an update for an existin
|
|
442 |
|
443 |
== Upgrade notice ==
|
444 |
|
445 |
-
= 1.
|
446 |
|
447 |
-
* New: support for
|
448 |
-
* New: support for WooCommerce 7.1
|
449 |
* Update: YITH plugin framework
|
3 |
Tags: woocommerce, quick view, woocommerce quick view, products quick view
|
4 |
Requires at least: 5.9
|
5 |
Tested up to: 6.1
|
6 |
+
Stable tag: 1.22.0
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
40 |
|
41 |
== Changelog ==
|
42 |
|
43 |
+
= 1.22.0 = Released 14 December 2022
|
44 |
+
|
45 |
+
* New: support for WooCommerce 7.2
|
46 |
+
* Update: YITH plugin framework
|
47 |
+
|
48 |
= 1.21.1 = Released 17 November 2022
|
49 |
|
50 |
* Fix: patched security vulnerability
|
447 |
|
448 |
== Upgrade notice ==
|
449 |
|
450 |
+
= 1.22.0 = Released 14 December 2022
|
451 |
|
452 |
+
* New: support for WooCommerce 7.2
|
|
|
453 |
* Update: YITH plugin framework
|