WP-Chatbot for Facebook Messenger Customer Chat - Version 3.0

Version Description

Admin page - Material Design enable/disable - autologevents FB SDK updated to 3.1 Show / Hide based on Device for Shortcode

Download this release

Release Info

Developer bhvreddy
Plugin Icon 128x128 WP-Chatbot for Facebook Messenger Customer Chat
Version 3.0
Comparing to
See all releases

Code changes from version 2.1 to 3.0

admin/admin.php CHANGED
@@ -22,4 +22,47 @@ require_once('class-htcc-enqueue.php');
22
23
$admin = new HTCC_Admin();
24
add_action('admin_menu', array( $admin, 'htcc_options_page') );
25
- add_action( 'admin_init', array( $admin, 'htcc_custom_settings' ) );
22
23
$admin = new HTCC_Admin();
24
add_action('admin_menu', array( $admin, 'htcc_options_page') );
25
+ add_action( 'admin_init', array( $admin, 'htcc_custom_settings' ) );
26
+
27
+ #premium
28
+ if ( 'true' == HTCC_PRO ) {
29
+ include_once HTCC_PLUGIN_DIR . 'admin/pro/class-admin-htcc-pro.php';
30
+ }
31
+
32
+
33
+
34
+
35
+ /**
36
+ * ht_cc_service_content - by default there is no option ..
37
+ * so when no option exists .. so it not equal to 'hide'
38
+ * so in admin sidebar the service content will display . .
39
+ * if clicks on hide box ..
40
+ * then an option update will happen ( create an option )
41
+ *
42
+ */
43
+ add_action( 'wp_ajax_ht_cc_service_content', 'ht_cc_service_content_ajax' );
44
+
45
+ function ht_cc_service_content_ajax() {
46
+
47
+ $service_content = get_option( 'ht_cc_service_content' );
48
+
49
+ // wp_localize_script can use - but this may be easy, as only one value ..
50
+ echo $service_content;
51
+
52
+ wp_die();
53
+ }
54
+
55
+
56
+
57
+ // action - ht_cc_service_content_hide
58
+ // update the option ht_cc_service_content to hide
59
+ add_action( 'wp_ajax_ht_cc_service_content_hide', 'ht_cc_service_content_hide_ajax' );
60
+
61
+ function ht_cc_service_content_hide_ajax() {
62
+
63
+ $service_content = get_option( 'ht_cc_service_content' );
64
+
65
+ update_option( 'ht_cc_service_content', 'hide' );
66
+
67
+ wp_die();
68
+ }
admin/assets/css/admin-styles.css ADDED
@@ -0,0 +1,11 @@
1
+ /* Styles for admin page */
2
+
3
+
4
+
5
+ /* Submit button */
6
+ /* .options .submit { */
7
+ .submit {
8
+ position: sticky !important;
9
+ bottom: 1px;
10
+ float: right;
11
+ }
admin/assets/css/materialize.min.css ADDED
@@ -0,0 +1,31 @@
1
+ /*!
2
+ * Materialize v1.0.0-rc.2 (http://materializecss.com)
3
+ * Copyright 2014-2017 Materialize
4
+ * MIT License (https://raw.githubusercontent.com/Dogfalo/materialize/master/LICENSE)
5
+ */
6
+ .materialize-red{background-color:#e51c23 !important}.materialize-red-text{color:#e51c23 !important}.materialize-red.lighten-5{background-color:#fdeaeb !important}.materialize-red-text.text-lighten-5{color:#fdeaeb !important}.materialize-red.lighten-4{background-color:#f8c1c3 !important}.materialize-red-text.text-lighten-4{color:#f8c1c3 !important}.materialize-red.lighten-3{background-color:#f3989b !important}.materialize-red-text.text-lighten-3{color:#f3989b !important}.materialize-red.lighten-2{background-color:#ee6e73 !important}.materialize-red-text.text-lighten-2{color:#ee6e73 !important}.materialize-red.lighten-1{background-color:#ea454b !important}.materialize-red-text.text-lighten-1{color:#ea454b !important}.materialize-red.darken-1{background-color:#d0181e !important}.materialize-red-text.text-darken-1{color:#d0181e !important}.materialize-red.darken-2{background-color:#b9151b !important}.materialize-red-text.text-darken-2{color:#b9151b !important}.materialize-red.darken-3{background-color:#a21318 !important}.materialize-red-text.text-darken-3{color:#a21318 !important}.materialize-red.darken-4{background-color:#8b1014 !important}.materialize-red-text.text-darken-4{color:#8b1014 !important}.red{background-color:#F44336 !important}.red-text{color:#F44336 !important}.red.lighten-5{background-color:#FFEBEE !important}.red-text.text-lighten-5{color:#FFEBEE !important}.red.lighten-4{background-color:#FFCDD2 !important}.red-text.text-lighten-4{color:#FFCDD2 !important}.red.lighten-3{background-color:#EF9A9A !important}.red-text.text-lighten-3{color:#EF9A9A !important}.red.lighten-2{background-color:#E57373 !important}.red-text.text-lighten-2{color:#E57373 !important}.red.lighten-1{background-color:#EF5350 !important}.red-text.text-lighten-1{color:#EF5350 !important}.red.darken-1{background-color:#E53935 !important}.red-text.text-darken-1{color:#E53935 !important}.red.darken-2{background-color:#D32F2F !important}.red-text.text-darken-2{color:#D32F2F !important}.red.darken-3{background-color:#C62828 !important}.red-text.text-darken-3{color:#C62828 !important}.red.darken-4{background-color:#B71C1C !important}.red-text.text-darken-4{color:#B71C1C !important}.red.accent-1{background-color:#FF8A80 !important}.red-text.text-accent-1{color:#FF8A80 !important}.red.accent-2{background-color:#FF5252 !important}.red-text.text-accent-2{color:#FF5252 !important}.red.accent-3{background-color:#FF1744 !important}.red-text.text-accent-3{color:#FF1744 !important}.red.accent-4{background-color:#D50000 !important}.red-text.text-accent-4{color:#D50000 !important}.pink{background-color:#e91e63 !important}.pink-text{color:#e91e63 !important}.pink.lighten-5{background-color:#fce4ec !important}.pink-text.text-lighten-5{color:#fce4ec !important}.pink.lighten-4{background-color:#f8bbd0 !important}.pink-text.text-lighten-4{color:#f8bbd0 !important}.pink.lighten-3{background-color:#f48fb1 !important}.pink-text.text-lighten-3{color:#f48fb1 !important}.pink.lighten-2{background-color:#f06292 !important}.pink-text.text-lighten-2{color:#f06292 !important}.pink.lighten-1{background-color:#ec407a !important}.pink-text.text-lighten-1{color:#ec407a !important}.pink.darken-1{background-color:#d81b60 !important}.pink-text.text-darken-1{color:#d81b60 !important}.pink.darken-2{background-color:#c2185b !important}.pink-text.text-darken-2{color:#c2185b !important}.pink.darken-3{background-color:#ad1457 !important}.pink-text.text-darken-3{color:#ad1457 !important}.pink.darken-4{background-color:#880e4f !important}.pink-text.text-darken-4{color:#880e4f !important}.pink.accent-1{background-color:#ff80ab !important}.pink-text.text-accent-1{color:#ff80ab !important}.pink.accent-2{background-color:#ff4081 !important}.pink-text.text-accent-2{color:#ff4081 !important}.pink.accent-3{background-color:#f50057 !important}.pink-text.text-accent-3{color:#f50057 !important}.pink.accent-4{background-color:#c51162 !important}.pink-text.text-accent-4{color:#c51162 !important}.purple{background-color:#9c27b0 !important}.purple-text{color:#9c27b0 !important}.purple.lighten-5{background-color:#f3e5f5 !important}.purple-text.text-lighten-5{color:#f3e5f5 !important}.purple.lighten-4{background-color:#e1bee7 !important}.purple-text.text-lighten-4{color:#e1bee7 !important}.purple.lighten-3{background-color:#ce93d8 !important}.purple-text.text-lighten-3{color:#ce93d8 !important}.purple.lighten-2{background-color:#ba68c8 !important}.purple-text.text-lighten-2{color:#ba68c8 !important}.purple.lighten-1{background-color:#ab47bc !important}.purple-text.text-lighten-1{color:#ab47bc !important}.purple.darken-1{background-color:#8e24aa !important}.purple-text.text-darken-1{color:#8e24aa !important}.purple.darken-2{background-color:#7b1fa2 !important}.purple-text.text-darken-2{color:#7b1fa2 !important}.purple.darken-3{background-color:#6a1b9a !important}.purple-text.text-darken-3{color:#6a1b9a !important}.purple.darken-4{background-color:#4a148c !important}.purple-text.text-darken-4{color:#4a148c !important}.purple.accent-1{background-color:#ea80fc !important}.purple-text.text-accent-1{color:#ea80fc !important}.purple.accent-2{background-color:#e040fb !important}.purple-text.text-accent-2{color:#e040fb !important}.purple.accent-3{background-color:#d500f9 !important}.purple-text.text-accent-3{color:#d500f9 !important}.purple.accent-4{background-color:#a0f !important}.purple-text.text-accent-4{color:#a0f !important}.deep-purple{background-color:#673ab7 !important}.deep-purple-text{color:#673ab7 !important}.deep-purple.lighten-5{background-color:#ede7f6 !important}.deep-purple-text.text-lighten-5{color:#ede7f6 !important}.deep-purple.lighten-4{background-color:#d1c4e9 !important}.deep-purple-text.text-lighten-4{color:#d1c4e9 !important}.deep-purple.lighten-3{background-color:#b39ddb !important}.deep-purple-text.text-lighten-3{color:#b39ddb !important}.deep-purple.lighten-2{background-color:#9575cd !important}.deep-purple-text.text-lighten-2{color:#9575cd !important}.deep-purple.lighten-1{background-color:#7e57c2 !important}.deep-purple-text.text-lighten-1{color:#7e57c2 !important}.deep-purple.darken-1{background-color:#5e35b1 !important}.deep-purple-text.text-darken-1{color:#5e35b1 !important}.deep-purple.darken-2{background-color:#512da8 !important}.deep-purple-text.text-darken-2{color:#512da8 !important}.deep-purple.darken-3{background-color:#4527a0 !important}.deep-purple-text.text-darken-3{color:#4527a0 !important}.deep-purple.darken-4{background-color:#311b92 !important}.deep-purple-text.text-darken-4{color:#311b92 !important}.deep-purple.accent-1{background-color:#b388ff !important}.deep-purple-text.text-accent-1{color:#b388ff !important}.deep-purple.accent-2{background-color:#7c4dff !important}.deep-purple-text.text-accent-2{color:#7c4dff !important}.deep-purple.accent-3{background-color:#651fff !important}.deep-purple-text.text-accent-3{color:#651fff !important}.deep-purple.accent-4{background-color:#6200ea !important}.deep-purple-text.text-accent-4{color:#6200ea !important}.indigo{background-color:#3f51b5 !important}.indigo-text{color:#3f51b5 !important}.indigo.lighten-5{background-color:#e8eaf6 !important}.indigo-text.text-lighten-5{color:#e8eaf6 !important}.indigo.lighten-4{background-color:#c5cae9 !important}.indigo-text.text-lighten-4{color:#c5cae9 !important}.indigo.lighten-3{background-color:#9fa8da !important}.indigo-text.text-lighten-3{color:#9fa8da !important}.indigo.lighten-2{background-color:#7986cb !important}.indigo-text.text-lighten-2{color:#7986cb !important}.indigo.lighten-1{background-color:#5c6bc0 !important}.indigo-text.text-lighten-1{color:#5c6bc0 !important}.indigo.darken-1{background-color:#3949ab !important}.indigo-text.text-darken-1{color:#3949ab !important}.indigo.darken-2{background-color:#303f9f !important}.indigo-text.text-darken-2{color:#303f9f !important}.indigo.darken-3{background-color:#283593 !important}.indigo-text.text-darken-3{color:#283593 !important}.indigo.darken-4{background-color:#1a237e !important}.indigo-text.text-darken-4{color:#1a237e !important}.indigo.accent-1{background-color:#8c9eff !important}.indigo-text.text-accent-1{color:#8c9eff !important}.indigo.accent-2{background-color:#536dfe !important}.indigo-text.text-accent-2{color:#536dfe !important}.indigo.accent-3{background-color:#3d5afe !important}.indigo-text.text-accent-3{color:#3d5afe !important}.indigo.accent-4{background-color:#304ffe !important}.indigo-text.text-accent-4{color:#304ffe !important}.blue{background-color:#2196F3 !important}.blue-text{color:#2196F3 !important}.blue.lighten-5{background-color:#E3F2FD !important}.blue-text.text-lighten-5{color:#E3F2FD !important}.blue.lighten-4{background-color:#BBDEFB !important}.blue-text.text-lighten-4{color:#BBDEFB !important}.blue.lighten-3{background-color:#90CAF9 !important}.blue-text.text-lighten-3{color:#90CAF9 !important}.blue.lighten-2{background-color:#64B5F6 !important}.blue-text.text-lighten-2{color:#64B5F6 !important}.blue.lighten-1{background-color:#42A5F5 !important}.blue-text.text-lighten-1{color:#42A5F5 !important}.blue.darken-1{background-color:#1E88E5 !important}.blue-text.text-darken-1{color:#1E88E5 !important}.blue.darken-2{background-color:#1976D2 !important}.blue-text.text-darken-2{color:#1976D2 !important}.blue.darken-3{background-color:#1565C0 !important}.blue-text.text-darken-3{color:#1565C0 !important}.blue.darken-4{background-color:#0D47A1 !important}.blue-text.text-darken-4{color:#0D47A1 !important}.blue.accent-1{background-color:#82B1FF !important}.blue-text.text-accent-1{color:#82B1FF !important}.blue.accent-2{background-color:#448AFF !important}.blue-text.text-accent-2{color:#448AFF !important}.blue.accent-3{background-color:#2979FF !important}.blue-text.text-accent-3{color:#2979FF !important}.blue.accent-4{background-color:#2962FF !important}.blue-text.text-accent-4{color:#2962FF !important}.light-blue{background-color:#03a9f4 !important}.light-blue-text{color:#03a9f4 !important}.light-blue.lighten-5{background-color:#e1f5fe !important}.light-blue-text.text-lighten-5{color:#e1f5fe !important}.light-blue.lighten-4{background-color:#b3e5fc !important}.light-blue-text.text-lighten-4{color:#b3e5fc !important}.light-blue.lighten-3{background-color:#81d4fa !important}.light-blue-text.text-lighten-3{color:#81d4fa !important}.light-blue.lighten-2{background-color:#4fc3f7 !important}.light-blue-text.text-lighten-2{color:#4fc3f7 !important}.light-blue.lighten-1{background-color:#29b6f6 !important}.light-blue-text.text-lighten-1{color:#29b6f6 !important}.light-blue.darken-1{background-color:#039be5 !important}.light-blue-text.text-darken-1{color:#039be5 !important}.light-blue.darken-2{background-color:#0288d1 !important}.light-blue-text.text-darken-2{color:#0288d1 !important}.light-blue.darken-3{background-color:#0277bd !important}.light-blue-text.text-darken-3{color:#0277bd !important}.light-blue.darken-4{background-color:#01579b !important}.light-blue-text.text-darken-4{color:#01579b !important}.light-blue.accent-1{background-color:#80d8ff !important}.light-blue-text.text-accent-1{color:#80d8ff !important}.light-blue.accent-2{background-color:#40c4ff !important}.light-blue-text.text-accent-2{color:#40c4ff !important}.light-blue.accent-3{background-color:#00b0ff !important}.light-blue-text.text-accent-3{color:#00b0ff !important}.light-blue.accent-4{background-color:#0091ea !important}.light-blue-text.text-accent-4{color:#0091ea !important}.cyan{background-color:#00bcd4 !important}.cyan-text{color:#00bcd4 !important}.cyan.lighten-5{background-color:#e0f7fa !important}.cyan-text.text-lighten-5{color:#e0f7fa !important}.cyan.lighten-4{background-color:#b2ebf2 !important}.cyan-text.text-lighten-4{color:#b2ebf2 !important}.cyan.lighten-3{background-color:#80deea !important}.cyan-text.text-lighten-3{color:#80deea !important}.cyan.lighten-2{background-color:#4dd0e1 !important}.cyan-text.text-lighten-2{color:#4dd0e1 !important}.cyan.lighten-1{background-color:#26c6da !important}.cyan-text.text-lighten-1{color:#26c6da !important}.cyan.darken-1{background-color:#00acc1 !important}.cyan-text.text-darken-1{color:#00acc1 !important}.cyan.darken-2{background-color:#0097a7 !important}.cyan-text.text-darken-2{color:#0097a7 !important}.cyan.darken-3{background-color:#00838f !important}.cyan-text.text-darken-3{color:#00838f !important}.cyan.darken-4{background-color:#006064 !important}.cyan-text.text-darken-4{color:#006064 !important}.cyan.accent-1{background-color:#84ffff !important}.cyan-text.text-accent-1{color:#84ffff !important}.cyan.accent-2{background-color:#18ffff !important}.cyan-text.text-accent-2{color:#18ffff !important}.cyan.accent-3{background-color:#00e5ff !important}.cyan-text.text-accent-3{color:#00e5ff !important}.cyan.accent-4{background-color:#00b8d4 !important}.cyan-text.text-accent-4{color:#00b8d4 !important}.teal{background-color:#009688 !important}.teal-text{color:#009688 !important}.teal.lighten-5{background-color:#e0f2f1 !important}.teal-text.text-lighten-5{color:#e0f2f1 !important}.teal.lighten-4{background-color:#b2dfdb !important}.teal-text.text-lighten-4{color:#b2dfdb !important}.teal.lighten-3{background-color:#80cbc4 !important}.teal-text.text-lighten-3{color:#80cbc4 !important}.teal.lighten-2{background-color:#4db6ac !important}.teal-text.text-lighten-2{color:#4db6ac !important}.teal.lighten-1{background-color:#26a69a !important}.teal-text.text-lighten-1{color:#26a69a !important}.teal.darken-1{background-color:#00897b !important}.teal-text.text-darken-1{color:#00897b !important}.teal.darken-2{background-color:#00796b !important}.teal-text.text-darken-2{color:#00796b !important}.teal.darken-3{background-color:#00695c !important}.teal-text.text-darken-3{color:#00695c !important}.teal.darken-4{background-color:#004d40 !important}.teal-text.text-darken-4{color:#004d40 !important}.teal.accent-1{background-color:#a7ffeb !important}.teal-text.text-accent-1{color:#a7ffeb !important}.teal.accent-2{background-color:#64ffda !important}.teal-text.text-accent-2{color:#64ffda !important}.teal.accent-3{background-color:#1de9b6 !important}.teal-text.text-accent-3{color:#1de9b6 !important}.teal.accent-4{background-color:#00bfa5 !important}.teal-text.text-accent-4{color:#00bfa5 !important}.green{background-color:#4CAF50 !important}.green-text{color:#4CAF50 !important}.green.lighten-5{background-color:#E8F5E9 !important}.green-text.text-lighten-5{color:#E8F5E9 !important}.green.lighten-4{background-color:#C8E6C9 !important}.green-text.text-lighten-4{color:#C8E6C9 !important}.green.lighten-3{background-color:#A5D6A7 !important}.green-text.text-lighten-3{color:#A5D6A7 !important}.green.lighten-2{background-color:#81C784 !important}.green-text.text-lighten-2{color:#81C784 !important}.green.lighten-1{background-color:#66BB6A !important}.green-text.text-lighten-1{color:#66BB6A !important}.green.darken-1{background-color:#43A047 !important}.green-text.text-darken-1{color:#43A047 !important}.green.darken-2{background-color:#388E3C !important}.green-text.text-darken-2{color:#388E3C !important}.green.darken-3{background-color:#2E7D32 !important}.green-text.text-darken-3{color:#2E7D32 !important}.green.darken-4{background-color:#1B5E20 !important}.green-text.text-darken-4{color:#1B5E20 !important}.green.accent-1{background-color:#B9F6CA !important}.green-text.text-accent-1{color:#B9F6CA !important}.green.accent-2{background-color:#69F0AE !important}.green-text.text-accent-2{color:#69F0AE !important}.green.accent-3{background-color:#00E676 !important}.green-text.text-accent-3{color:#00E676 !important}.green.accent-4{background-color:#00C853 !important}.green-text.text-accent-4{color:#00C853 !important}.light-green{background-color:#8bc34a !important}.light-green-text{color:#8bc34a !important}.light-green.lighten-5{background-color:#f1f8e9 !important}.light-green-text.text-lighten-5{color:#f1f8e9 !important}.light-green.lighten-4{background-color:#dcedc8 !important}.light-green-text.text-lighten-4{color:#dcedc8 !important}.light-green.lighten-3{background-color:#c5e1a5 !important}.light-green-text.text-lighten-3{color:#c5e1a5 !important}.light-green.lighten-2{background-color:#aed581 !important}.light-green-text.text-lighten-2{color:#aed581 !important}.light-green.lighten-1{background-color:#9ccc65 !important}.light-green-text.text-lighten-1{color:#9ccc65 !important}.light-green.darken-1{background-color:#7cb342 !important}.light-green-text.text-darken-1{color:#7cb342 !important}.light-green.darken-2{background-color:#689f38 !important}.light-green-text.text-darken-2{color:#689f38 !important}.light-green.darken-3{background-color:#558b2f !important}.light-green-text.text-darken-3{color:#558b2f !important}.light-green.darken-4{background-color:#33691e !important}.light-green-text.text-darken-4{color:#33691e !important}.light-green.accent-1{background-color:#ccff90 !important}.light-green-text.text-accent-1{color:#ccff90 !important}.light-green.accent-2{background-color:#b2ff59 !important}.light-green-text.text-accent-2{color:#b2ff59 !important}.light-green.accent-3{background-color:#76ff03 !important}.light-green-text.text-accent-3{color:#76ff03 !important}.light-green.accent-4{background-color:#64dd17 !important}.light-green-text.text-accent-4{color:#64dd17 !important}.lime{background-color:#cddc39 !important}.lime-text{color:#cddc39 !important}.lime.lighten-5{background-color:#f9fbe7 !important}.lime-text.text-lighten-5{color:#f9fbe7 !important}.lime.lighten-4{background-color:#f0f4c3 !important}.lime-text.text-lighten-4{color:#f0f4c3 !important}.lime.lighten-3{background-color:#e6ee9c !important}.lime-text.text-lighten-3{color:#e6ee9c !important}.lime.lighten-2{background-color:#dce775 !important}.lime-text.text-lighten-2{color:#dce775 !important}.lime.lighten-1{background-color:#d4e157 !important}.lime-text.text-lighten-1{color:#d4e157 !important}.lime.darken-1{background-color:#c0ca33 !important}.lime-text.text-darken-1{color:#c0ca33 !important}.lime.darken-2{background-color:#afb42b !important}.lime-text.text-darken-2{color:#afb42b !important}.lime.darken-3{background-color:#9e9d24 !important}.lime-text.text-darken-3{color:#9e9d24 !important}.lime.darken-4{background-color:#827717 !important}.lime-text.text-darken-4{color:#827717 !important}.lime.accent-1{background-color:#f4ff81 !important}.lime-text.text-accent-1{color:#f4ff81 !important}.lime.accent-2{background-color:#eeff41 !important}.lime-text.text-accent-2{color:#eeff41 !important}.lime.accent-3{background-color:#c6ff00 !important}.lime-text.text-accent-3{color:#c6ff00 !important}.lime.accent-4{background-color:#aeea00 !important}.lime-text.text-accent-4{color:#aeea00 !important}.yellow{background-color:#ffeb3b !important}.yellow-text{color:#ffeb3b !important}.yellow.lighten-5{background-color:#fffde7 !important}.yellow-text.text-lighten-5{color:#fffde7 !important}.yellow.lighten-4{background-color:#fff9c4 !important}.yellow-text.text-lighten-4{color:#fff9c4 !important}.yellow.lighten-3{background-color:#fff59d !important}.yellow-text.text-lighten-3{color:#fff59d !important}.yellow.lighten-2{background-color:#fff176 !important}.yellow-text.text-lighten-2{color:#fff176 !important}.yellow.lighten-1{background-color:#ffee58 !important}.yellow-text.text-lighten-1{color:#ffee58 !important}.yellow.darken-1{background-color:#fdd835 !important}.yellow-text.text-darken-1{color:#fdd835 !important}.yellow.darken-2{background-color:#fbc02d !important}.yellow-text.text-darken-2{color:#fbc02d !important}.yellow.darken-3{background-color:#f9a825 !important}.yellow-text.text-darken-3{color:#f9a825 !important}.yellow.darken-4{background-color:#f57f17 !important}.yellow-text.text-darken-4{color:#f57f17 !important}.yellow.accent-1{background-color:#ffff8d !important}.yellow-text.text-accent-1{color:#ffff8d !important}.yellow.accent-2{background-color:#ff0 !important}.yellow-text.text-accent-2{color:#ff0 !important}.yellow.accent-3{background-color:#ffea00 !important}.yellow-text.text-accent-3{color:#ffea00 !important}.yellow.accent-4{background-color:#ffd600 !important}.yellow-text.text-accent-4{color:#ffd600 !important}.amber{background-color:#ffc107 !important}.amber-text{color:#ffc107 !important}.amber.lighten-5{background-color:#fff8e1 !important}.amber-text.text-lighten-5{color:#fff8e1 !important}.amber.lighten-4{background-color:#ffecb3 !important}.amber-text.text-lighten-4{color:#ffecb3 !important}.amber.lighten-3{background-color:#ffe082 !important}.amber-text.text-lighten-3{color:#ffe082 !important}.amber.lighten-2{background-color:#ffd54f !important}.amber-text.text-lighten-2{color:#ffd54f !important}.amber.lighten-1{background-color:#ffca28 !important}.amber-text.text-lighten-1{color:#ffca28 !important}.amber.darken-1{background-color:#ffb300 !important}.amber-text.text-darken-1{color:#ffb300 !important}.amber.darken-2{background-color:#ffa000 !important}.amber-text.text-darken-2{color:#ffa000 !important}.amber.darken-3{background-color:#ff8f00 !important}.amber-text.text-darken-3{color:#ff8f00 !important}.amber.darken-4{background-color:#ff6f00 !important}.amber-text.text-darken-4{color:#ff6f00 !important}.amber.accent-1{background-color:#ffe57f !important}.amber-text.text-accent-1{color:#ffe57f !important}.amber.accent-2{background-color:#ffd740 !important}.amber-text.text-accent-2{color:#ffd740 !important}.amber.accent-3{background-color:#ffc400 !important}.amber-text.text-accent-3{color:#ffc400 !important}.amber.accent-4{background-color:#ffab00 !important}.amber-text.text-accent-4{color:#ffab00 !important}.orange{background-color:#ff9800 !important}.orange-text{color:#ff9800 !important}.orange.lighten-5{background-color:#fff3e0 !important}.orange-text.text-lighten-5{color:#fff3e0 !important}.orange.lighten-4{background-color:#ffe0b2 !important}.orange-text.text-lighten-4{color:#ffe0b2 !important}.orange.lighten-3{background-color:#ffcc80 !important}.orange-text.text-lighten-3{color:#ffcc80 !important}.orange.lighten-2{background-color:#ffb74d !important}.orange-text.text-lighten-2{color:#ffb74d !important}.orange.lighten-1{background-color:#ffa726 !important}.orange-text.text-lighten-1{color:#ffa726 !important}.orange.darken-1{background-color:#fb8c00 !important}.orange-text.text-darken-1{color:#fb8c00 !important}.orange.darken-2{background-color:#f57c00 !important}.orange-text.text-darken-2{color:#f57c00 !important}.orange.darken-3{background-color:#ef6c00 !important}.orange-text.text-darken-3{color:#ef6c00 !important}.orange.darken-4{background-color:#e65100 !important}.orange-text.text-darken-4{color:#e65100 !important}.orange.accent-1{background-color:#ffd180 !important}.orange-text.text-accent-1{color:#ffd180 !important}.orange.accent-2{background-color:#ffab40 !important}.orange-text.text-accent-2{color:#ffab40 !important}.orange.accent-3{background-color:#ff9100 !important}.orange-text.text-accent-3{color:#ff9100 !important}.orange.accent-4{background-color:#ff6d00 !important}.orange-text.text-accent-4{color:#ff6d00 !important}.deep-orange{background-color:#ff5722 !important}.deep-orange-text{color:#ff5722 !important}.deep-orange.lighten-5{background-color:#fbe9e7 !important}.deep-orange-text.text-lighten-5{color:#fbe9e7 !important}.deep-orange.lighten-4{background-color:#ffccbc !important}.deep-orange-text.text-lighten-4{color:#ffccbc !important}.deep-orange.lighten-3{background-color:#ffab91 !important}.deep-orange-text.text-lighten-3{color:#ffab91 !important}.deep-orange.lighten-2{background-color:#ff8a65 !important}.deep-orange-text.text-lighten-2{color:#ff8a65 !important}.deep-orange.lighten-1{background-color:#ff7043 !important}.deep-orange-text.text-lighten-1{color:#ff7043 !important}.deep-orange.darken-1{background-color:#f4511e !important}.deep-orange-text.text-darken-1{color:#f4511e !important}.deep-orange.darken-2{background-color:#e64a19 !important}.deep-orange-text.text-darken-2{color:#e64a19 !important}.deep-orange.darken-3{background-color:#d84315 !important}.deep-orange-text.text-darken-3{color:#d84315 !important}.deep-orange.darken-4{background-color:#bf360c !important}.deep-orange-text.text-darken-4{color:#bf360c !important}.deep-orange.accent-1{background-color:#ff9e80 !important}.deep-orange-text.text-accent-1{color:#ff9e80 !important}.deep-orange.accent-2{background-color:#ff6e40 !important}.deep-orange-text.text-accent-2{color:#ff6e40 !important}.deep-orange.accent-3{background-color:#ff3d00 !important}.deep-orange-text.text-accent-3{color:#ff3d00 !important}.deep-orange.accent-4{background-color:#dd2c00 !important}.deep-orange-text.text-accent-4{color:#dd2c00 !important}.brown{background-color:#795548 !important}.brown-text{color:#795548 !important}.brown.lighten-5{background-color:#efebe9 !important}.brown-text.text-lighten-5{color:#efebe9 !important}.brown.lighten-4{background-color:#d7ccc8 !important}.brown-text.text-lighten-4{color:#d7ccc8 !important}.brown.lighten-3{background-color:#bcaaa4 !important}.brown-text.text-lighten-3{color:#bcaaa4 !important}.brown.lighten-2{background-color:#a1887f !important}.brown-text.text-lighten-2{color:#a1887f !important}.brown.lighten-1{background-color:#8d6e63 !important}.brown-text.text-lighten-1{color:#8d6e63 !important}.brown.darken-1{background-color:#6d4c41 !important}.brown-text.text-darken-1{color:#6d4c41 !important}.brown.darken-2{background-color:#5d4037 !important}.brown-text.text-darken-2{color:#5d4037 !important}.brown.darken-3{background-color:#4e342e !important}.brown-text.text-darken-3{color:#4e342e !important}.brown.darken-4{background-color:#3e2723 !important}.brown-text.text-darken-4{color:#3e2723 !important}.blue-grey{background-color:#607d8b !important}.blue-grey-text{color:#607d8b !important}.blue-grey.lighten-5{background-color:#eceff1 !important}.blue-grey-text.text-lighten-5{color:#eceff1 !important}.blue-grey.lighten-4{background-color:#cfd8dc !important}.blue-grey-text.text-lighten-4{color:#cfd8dc !important}.blue-grey.lighten-3{background-color:#b0bec5 !important}.blue-grey-text.text-lighten-3{color:#b0bec5 !important}.blue-grey.lighten-2{background-color:#90a4ae !important}.blue-grey-text.text-lighten-2{color:#90a4ae !important}.blue-grey.lighten-1{background-color:#78909c !important}.blue-grey-text.text-lighten-1{color:#78909c !important}.blue-grey.darken-1{background-color:#546e7a !important}.blue-grey-text.text-darken-1{color:#546e7a !important}.blue-grey.darken-2{background-color:#455a64 !important}.blue-grey-text.text-darken-2{color:#455a64 !important}.blue-grey.darken-3{background-color:#37474f !important}.blue-grey-text.text-darken-3{color:#37474f !important}.blue-grey.darken-4{background-color:#263238 !important}.blue-grey-text.text-darken-4{color:#263238 !important}.grey{background-color:#9e9e9e !important}.grey-text{color:#9e9e9e !important}.grey.lighten-5{background-color:#fafafa !important}.grey-text.text-lighten-5{color:#fafafa !important}.grey.lighten-4{background-color:#f5f5f5 !important}.grey-text.text-lighten-4{color:#f5f5f5 !important}.grey.lighten-3{background-color:#eee !important}.grey-text.text-lighten-3{color:#eee !important}.grey.lighten-2{background-color:#e0e0e0 !important}.grey-text.text-lighten-2{color:#e0e0e0 !important}.grey.lighten-1{background-color:#bdbdbd !important}.grey-text.text-lighten-1{color:#bdbdbd !important}.grey.darken-1{background-color:#757575 !important}.grey-text.text-darken-1{color:#757575 !important}.grey.darken-2{background-color:#616161 !important}.grey-text.text-darken-2{color:#616161 !important}.grey.darken-3{background-color:#424242 !important}.grey-text.text-darken-3{color:#424242 !important}.grey.darken-4{background-color:#212121 !important}.grey-text.text-darken-4{color:#212121 !important}.black{background-color:#000 !important}.black-text{color:#000 !important}.white{background-color:#fff !important}.white-text{color:#fff !important}.transparent{background-color:rgba(0,0,0,0) !important}.transparent-text{color:rgba(0,0,0,0) !important}! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.csshtml{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:0.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace, monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;-moz-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-cancel-button,[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}html{-webkit-box-sizing:border-box;box-sizing:border-box}*,*:before,*:after{-webkit-box-sizing:inherit;box-sizing:inherit}button,input,optgroup,select,textarea{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}ul:not(.browser-default){padding-left:0;list-style-type:none}ul:not(.browser-default)>li{list-style-type:none}a{color:#039be5;text-decoration:none;-webkit-tap-highlight-color:transparent}.valign-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.clearfix{clear:both}.z-depth-0{-webkit-box-shadow:none !important;box-shadow:none !important}.z-depth-1,nav,.card-panel,.card,.toast,.btn,.btn-large,.btn-small,.btn-floating,.dropdown-content,.collapsible,.sidenav{-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2);box-shadow:0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2)}.z-depth-1-half,.btn:hover,.btn-large:hover,.btn-small:hover,.btn-floating:hover{-webkit-box-shadow:0 3px 3px 0 rgba(0,0,0,0.14),0 1px 7px 0 rgba(0,0,0,0.12),0 3px 1px -1px rgba(0,0,0,0.2);box-shadow:0 3px 3px 0 rgba(0,0,0,0.14),0 1px 7px 0 rgba(0,0,0,0.12),0 3px 1px -1px rgba(0,0,0,0.2)}.z-depth-2{-webkit-box-shadow:0 4px 5px 0 rgba(0,0,0,0.14),0 1px 10px 0 rgba(0,0,0,0.12),0 2px 4px -1px rgba(0,0,0,0.3);box-shadow:0 4px 5px 0 rgba(0,0,0,0.14),0 1px 10px 0 rgba(0,0,0,0.12),0 2px 4px -1px rgba(0,0,0,0.3)}.z-depth-3{-webkit-box-shadow:0 8px 17px 2px rgba(0,0,0,0.14),0 3px 14px 2px rgba(0,0,0,0.12),0 5px 5px -3px rgba(0,0,0,0.2);box-shadow:0 8px 17px 2px rgba(0,0,0,0.14),0 3px 14px 2px rgba(0,0,0,0.12),0 5px 5px -3px rgba(0,0,0,0.2)}.z-depth-4{-webkit-box-shadow:0 16px 24px 2px rgba(0,0,0,0.14),0 6px 30px 5px rgba(0,0,0,0.12),0 8px 10px -7px rgba(0,0,0,0.2);box-shadow:0 16px 24px 2px rgba(0,0,0,0.14),0 6px 30px 5px rgba(0,0,0,0.12),0 8px 10px -7px rgba(0,0,0,0.2)}.z-depth-5,.modal{-webkit-box-shadow:0 24px 38px 3px rgba(0,0,0,0.14),0 9px 46px 8px rgba(0,0,0,0.12),0 11px 15px -7px rgba(0,0,0,0.2);box-shadow:0 24px 38px 3px rgba(0,0,0,0.14),0 9px 46px 8px rgba(0,0,0,0.12),0 11px 15px -7px rgba(0,0,0,0.2)}.hoverable{-webkit-transition:-webkit-box-shadow .25s;transition:-webkit-box-shadow .25s;transition:box-shadow .25s;transition:box-shadow .25s, -webkit-box-shadow .25s}.hoverable:hover{-webkit-box-shadow:0 8px 17px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);box-shadow:0 8px 17px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19)}.divider{height:1px;overflow:hidden;background-color:#e0e0e0}blockquote{margin:20px 0;padding-left:1.5rem;border-left:5px solid #ee6e73}i{line-height:inherit}i.left{float:left;margin-right:15px}i.right{float:right;margin-left:15px}i.tiny{font-size:1rem}i.small{font-size:2rem}i.medium{font-size:4rem}i.large{font-size:6rem}img.responsive-img,video.responsive-video{max-width:100%;height:auto}.pagination li{display:inline-block;border-radius:2px;text-align:center;vertical-align:top;height:30px}.pagination li a{color:#444;display:inline-block;font-size:1.2rem;padding:0 10px;line-height:30px}.pagination li.active a{color:#fff}.pagination li.active{background-color:#ee6e73}.pagination li.disabled a{cursor:default;color:#999}.pagination li i{font-size:2rem}.pagination li.pages ul li{display:inline-block;float:none}@media only screen and (max-width: 992px){.pagination{width:100%}.pagination li.prev,.pagination li.next{width:10%}.pagination li.pages{width:80%;overflow:hidden;white-space:nowrap}}.breadcrumb{font-size:18px;color:rgba(255,255,255,0.7)}.breadcrumb i,.breadcrumb [class^="mdi-"],.breadcrumb [class*="mdi-"],.breadcrumb i.material-icons{display:inline-block;float:left;font-size:24px}.breadcrumb:before{content:'\E5CC';color:rgba(255,255,255,0.7);vertical-align:top;display:inline-block;font-family:'Material Icons';font-weight:normal;font-style:normal;font-size:25px;margin:0 10px 0 8px;-webkit-font-smoothing:antialiased}.breadcrumb:first-child:before{display:none}.breadcrumb:last-child{color:#fff}.parallax-container{position:relative;overflow:hidden;height:500px}.parallax-container .parallax{position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1}.parallax-container .parallax img{opacity:0;position:absolute;left:50%;bottom:0;min-width:100%;min-height:100%;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transform:translateX(-50%);transform:translateX(-50%)}.pin-top,.pin-bottom{position:relative}.pinned{position:fixed !important}ul.staggered-list li{opacity:0}.fade-in{opacity:0;-webkit-transform-origin:0 50%;transform-origin:0 50%}@media only screen and (max-width: 600px){.hide-on-small-only,.hide-on-small-and-down{display:none !important}}@media only screen and (max-width: 992px){.hide-on-med-and-down{display:none !important}}@media only screen and (min-width: 601px){.hide-on-med-and-up{display:none !important}}@media only screen and (min-width: 600px) and (max-width: 992px){.hide-on-med-only{display:none !important}}@media only screen and (min-width: 993px){.hide-on-large-only{display:none !important}}@media only screen and (min-width: 1201px){.hide-on-extra-large-only{display:none !important}}@media only screen and (min-width: 1201px){.show-on-extra-large{display:block !important}}@media only screen and (min-width: 993px){.show-on-large{display:block !important}}@media only screen and (min-width: 600px) and (max-width: 992px){.show-on-medium{display:block !important}}@media only screen and (max-width: 600px){.show-on-small{display:block !important}}@media only screen and (min-width: 601px){.show-on-medium-and-up{display:block !important}}@media only screen and (max-width: 992px){.show-on-medium-and-down{display:block !important}}@media only screen and (max-width: 600px){.center-on-small-only{text-align:center}}.page-footer{padding-top:20px;color:#fff;background-color:#ee6e73}.page-footer .footer-copyright{overflow:hidden;min-height:50px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:10px 0px;color:rgba(255,255,255,0.8);background-color:rgba(51,51,51,0.08)}table,th,td{border:none}table{width:100%;display:table;border-collapse:collapse;border-spacing:0}table.striped tr{border-bottom:none}table.striped>tbody>tr:nth-child(odd){background-color:rgba(242,242,242,0.5)}table.striped>tbody>tr>td{border-radius:0}table.highlight>tbody>tr{-webkit-transition:background-color .25s ease;transition:background-color .25s ease}table.highlight>tbody>tr:hover{background-color:rgba(242,242,242,0.5)}table.centered thead tr th,table.centered tbody tr td{text-align:center}td,th{padding:15px 5px;display:table-cell;text-align:left;vertical-align:middle;border-radius:2px}@media only screen and (max-width: 992px){table.responsive-table{width:100%;border-collapse:collapse;border-spacing:0;display:block;position:relative}table.responsive-table td:empty:before{content:'\00a0'}table.responsive-table th,table.responsive-table td{margin:0;vertical-align:top}table.responsive-table th{text-align:left}table.responsive-table thead{display:block;float:left}table.responsive-table thead tr{display:block;padding:0 10px 0 0}table.responsive-table thead tr th::before{content:"\00a0"}table.responsive-table tbody{display:block;width:auto;position:relative;overflow-x:auto;white-space:nowrap}table.responsive-table tbody tr{display:inline-block;vertical-align:top}table.responsive-table th{display:block;text-align:right}table.responsive-table td{display:block;min-height:1.25em;text-align:left}table.responsive-table tr{border-bottom:none;padding:0 10px}table.responsive-table thead{border:0;border-right:1px solid rgba(0,0,0,0.12)}}.collection{margin:.5rem 0 1rem 0;border:1px solid #e0e0e0;border-radius:2px;overflow:hidden;position:relative}.collection .collection-item{background-color:#fff;line-height:1.5rem;padding:10px 20px;margin:0;border-bottom:1px solid #e0e0e0}.collection .collection-item.avatar{min-height:84px;padding-left:72px;position:relative}.collection .collection-item.avatar:not(.circle-clipper)>.circle,.collection .collection-item.avatar :not(.circle-clipper)>.circle{position:absolute;width:42px;height:42px;overflow:hidden;left:15px;display:inline-block;vertical-align:middle}.collection .collection-item.avatar i.circle{font-size:18px;line-height:42px;color:#fff;background-color:#999;text-align:center}.collection .collection-item.avatar .title{font-size:16px}.collection .collection-item.avatar p{margin:0}.collection .collection-item.avatar .secondary-content{position:absolute;top:16px;right:16px}.collection .collection-item:last-child{border-bottom:none}.collection .collection-item.active{background-color:#26a69a;color:#eafaf9}.collection .collection-item.active .secondary-content{color:#fff}.collection a.collection-item{display:block;-webkit-transition:.25s;transition:.25s;color:#26a69a}.collection a.collection-item:not(.active):hover{background-color:#ddd}.collection.with-header .collection-header{background-color:#fff;border-bottom:1px solid #e0e0e0;padding:10px 20px}.collection.with-header .collection-item{padding-left:30px}.collection.with-header .collection-item.avatar{padding-left:72px}.secondary-content{float:right;color:#26a69a}.collapsible .collection{margin:0;border:none}.video-container{position:relative;padding-bottom:56.25%;height:0;overflow:hidden}.video-container iframe,.video-container object,.video-container embed{position:absolute;top:0;left:0;width:100%;height:100%}.progress{position:relative;height:4px;display:block;width:100%;background-color:#acece6;border-radius:2px;margin:.5rem 0 1rem 0;overflow:hidden}.progress .determinate{position:absolute;top:0;left:0;bottom:0;background-color:#26a69a;-webkit-transition:width .3s linear;transition:width .3s linear}.progress .indeterminate{background-color:#26a69a}.progress .indeterminate:before{content:'';position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left, right;-webkit-animation:indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;animation:indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite}.progress .indeterminate:after{content:'';position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left, right;-webkit-animation:indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;animation:indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;-webkit-animation-delay:1.15s;animation-delay:1.15s}@-webkit-keyframes indeterminate{0%{left:-35%;right:100%}60%{left:100%;right:-90%}100%{left:100%;right:-90%}}@keyframes indeterminate{0%{left:-35%;right:100%}60%{left:100%;right:-90%}100%{left:100%;right:-90%}}@-webkit-keyframes indeterminate-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}100%{left:107%;right:-8%}}@keyframes indeterminate-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}100%{left:107%;right:-8%}}.hide{display:none !important}.left-align{text-align:left}.right-align{text-align:right}.center,.center-align{text-align:center}.left{float:left !important}.right{float:right !important}.no-select,input[type=range],input[type=range]+.thumb{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.circle{border-radius:50%}.center-block{display:block;margin-left:auto;margin-right:auto}.truncate{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.no-padding{padding:0 !important}span.badge{min-width:3rem;padding:0 6px;margin-left:14px;text-align:center;font-size:1rem;line-height:22px;height:22px;color:#757575;float:right;-webkit-box-sizing:border-box;box-sizing:border-box}span.badge.new{font-weight:300;font-size:0.8rem;color:#fff;background-color:#26a69a;border-radius:2px}span.badge.new:after{content:" new"}span.badge[data-badge-caption]::after{content:" " attr(data-badge-caption)}nav ul a span.badge{display:inline-block;float:none;margin-left:4px;line-height:22px;height:22px;-webkit-font-smoothing:auto}.collection-item span.badge{margin-top:calc(.75rem - 11px)}.collapsible span.badge{margin-left:auto}.sidenav span.badge{margin-top:calc(24px - 11px)}table span.badge{display:inline-block;float:none;margin-left:auto}.material-icons{text-rendering:optimizeLegibility;-webkit-font-feature-settings:'liga';-moz-font-feature-settings:'liga';font-feature-settings:'liga'}.container{margin:0 auto;max-width:1280px;width:90%}@media only screen and (min-width: 601px){.container{width:85%}}@media only screen and (min-width: 993px){.container{width:70%}}.col .row{margin-left:-.75rem;margin-right:-.75rem}.section{padding-top:1rem;padding-bottom:1rem}.section.no-pad{padding:0}.section.no-pad-bot{padding-bottom:0}.section.no-pad-top{padding-top:0}.row{margin-left:auto;margin-right:auto;margin-bottom:20px}.row:after{content:"";display:table;clear:both}.row .col{float:left;-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 .75rem;min-height:1px}.row .col[class*="push-"],.row .col[class*="pull-"]{position:relative}.row .col.s1{width:8.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.s2{width:16.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.s3{width:25%;margin-left:auto;left:auto;right:auto}.row .col.s4{width:33.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.s5{width:41.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.s6{width:50%;margin-left:auto;left:auto;right:auto}.row .col.s7{width:58.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.s8{width:66.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.s9{width:75%;margin-left:auto;left:auto;right:auto}.row .col.s10{width:83.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.s11{width:91.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.s12{width:100%;margin-left:auto;left:auto;right:auto}.row .col.offset-s1{margin-left:8.3333333333%}.row .col.pull-s1{right:8.3333333333%}.row .col.push-s1{left:8.3333333333%}.row .col.offset-s2{margin-left:16.6666666667%}.row .col.pull-s2{right:16.6666666667%}.row .col.push-s2{left:16.6666666667%}.row .col.offset-s3{margin-left:25%}.row .col.pull-s3{right:25%}.row .col.push-s3{left:25%}.row .col.offset-s4{margin-left:33.3333333333%}.row .col.pull-s4{right:33.3333333333%}.row .col.push-s4{left:33.3333333333%}.row .col.offset-s5{margin-left:41.6666666667%}.row .col.pull-s5{right:41.6666666667%}.row .col.push-s5{left:41.6666666667%}.row .col.offset-s6{margin-left:50%}.row .col.pull-s6{right:50%}.row .col.push-s6{left:50%}.row .col.offset-s7{margin-left:58.3333333333%}.row .col.pull-s7{right:58.3333333333%}.row .col.push-s7{left:58.3333333333%}.row .col.offset-s8{margin-left:66.6666666667%}.row .col.pull-s8{right:66.6666666667%}.row .col.push-s8{left:66.6666666667%}.row .col.offset-s9{margin-left:75%}.row .col.pull-s9{right:75%}.row .col.push-s9{left:75%}.row .col.offset-s10{margin-left:83.3333333333%}.row .col.pull-s10{right:83.3333333333%}.row .col.push-s10{left:83.3333333333%}.row .col.offset-s11{margin-left:91.6666666667%}.row .col.pull-s11{right:91.6666666667%}.row .col.push-s11{left:91.6666666667%}.row .col.offset-s12{margin-left:100%}.row .col.pull-s12{right:100%}.row .col.push-s12{left:100%}@media only screen and (min-width: 601px){.row .col.m1{width:8.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.m2{width:16.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.m3{width:25%;margin-left:auto;left:auto;right:auto}.row .col.m4{width:33.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.m5{width:41.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.m6{width:50%;margin-left:auto;left:auto;right:auto}.row .col.m7{width:58.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.m8{width:66.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.m9{width:75%;margin-left:auto;left:auto;right:auto}.row .col.m10{width:83.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.m11{width:91.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.m12{width:100%;margin-left:auto;left:auto;right:auto}.row .col.offset-m1{margin-left:8.3333333333%}.row .col.pull-m1{right:8.3333333333%}.row .col.push-m1{left:8.3333333333%}.row .col.offset-m2{margin-left:16.6666666667%}.row .col.pull-m2{right:16.6666666667%}.row .col.push-m2{left:16.6666666667%}.row .col.offset-m3{margin-left:25%}.row .col.pull-m3{right:25%}.row .col.push-m3{left:25%}.row .col.offset-m4{margin-left:33.3333333333%}.row .col.pull-m4{right:33.3333333333%}.row .col.push-m4{left:33.3333333333%}.row .col.offset-m5{margin-left:41.6666666667%}.row .col.pull-m5{right:41.6666666667%}.row .col.push-m5{left:41.6666666667%}.row .col.offset-m6{margin-left:50%}.row .col.pull-m6{right:50%}.row .col.push-m6{left:50%}.row .col.offset-m7{margin-left:58.3333333333%}.row .col.pull-m7{right:58.3333333333%}.row .col.push-m7{left:58.3333333333%}.row .col.offset-m8{margin-left:66.6666666667%}.row .col.pull-m8{right:66.6666666667%}.row .col.push-m8{left:66.6666666667%}.row .col.offset-m9{margin-left:75%}.row .col.pull-m9{right:75%}.row .col.push-m9{left:75%}.row .col.offset-m10{margin-left:83.3333333333%}.row .col.pull-m10{right:83.3333333333%}.row .col.push-m10{left:83.3333333333%}.row .col.offset-m11{margin-left:91.6666666667%}.row .col.pull-m11{right:91.6666666667%}.row .col.push-m11{left:91.6666666667%}.row .col.offset-m12{margin-left:100%}.row .col.pull-m12{right:100%}.row .col.push-m12{left:100%}}@media only screen and (min-width: 993px){.row .col.l1{width:8.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.l2{width:16.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.l3{width:25%;margin-left:auto;left:auto;right:auto}.row .col.l4{width:33.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.l5{width:41.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.l6{width:50%;margin-left:auto;left:auto;right:auto}.row .col.l7{width:58.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.l8{width:66.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.l9{width:75%;margin-left:auto;left:auto;right:auto}.row .col.l10{width:83.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.l11{width:91.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.l12{width:100%;margin-left:auto;left:auto;right:auto}.row .col.offset-l1{margin-left:8.3333333333%}.row .col.pull-l1{right:8.3333333333%}.row .col.push-l1{left:8.3333333333%}.row .col.offset-l2{margin-left:16.6666666667%}.row .col.pull-l2{right:16.6666666667%}.row .col.push-l2{left:16.6666666667%}.row .col.offset-l3{margin-left:25%}.row .col.pull-l3{right:25%}.row .col.push-l3{left:25%}.row .col.offset-l4{margin-left:33.3333333333%}.row .col.pull-l4{right:33.3333333333%}.row .col.push-l4{left:33.3333333333%}.row .col.offset-l5{margin-left:41.6666666667%}.row .col.pull-l5{right:41.6666666667%}.row .col.push-l5{left:41.6666666667%}.row .col.offset-l6{margin-left:50%}.row .col.pull-l6{right:50%}.row .col.push-l6{left:50%}.row .col.offset-l7{margin-left:58.3333333333%}.row .col.pull-l7{right:58.3333333333%}.row .col.push-l7{left:58.3333333333%}.row .col.offset-l8{margin-left:66.6666666667%}.row .col.pull-l8{right:66.6666666667%}.row .col.push-l8{left:66.6666666667%}.row .col.offset-l9{margin-left:75%}.row .col.pull-l9{right:75%}.row .col.push-l9{left:75%}.row .col.offset-l10{margin-left:83.3333333333%}.row .col.pull-l10{right:83.3333333333%}.row .col.push-l10{left:83.3333333333%}.row .col.offset-l11{margin-left:91.6666666667%}.row .col.pull-l11{right:91.6666666667%}.row .col.push-l11{left:91.6666666667%}.row .col.offset-l12{margin-left:100%}.row .col.pull-l12{right:100%}.row .col.push-l12{left:100%}}@media only screen and (min-width: 1201px){.row .col.xl1{width:8.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.xl2{width:16.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.xl3{width:25%;margin-left:auto;left:auto;right:auto}.row .col.xl4{width:33.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.xl5{width:41.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.xl6{width:50%;margin-left:auto;left:auto;right:auto}.row .col.xl7{width:58.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.xl8{width:66.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.xl9{width:75%;margin-left:auto;left:auto;right:auto}.row .col.xl10{width:83.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.xl11{width:91.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.xl12{width:100%;margin-left:auto;left:auto;right:auto}.row .col.offset-xl1{margin-left:8.3333333333%}.row .col.pull-xl1{right:8.3333333333%}.row .col.push-xl1{left:8.3333333333%}.row .col.offset-xl2{margin-left:16.6666666667%}.row .col.pull-xl2{right:16.6666666667%}.row .col.push-xl2{left:16.6666666667%}.row .col.offset-xl3{margin-left:25%}.row .col.pull-xl3{right:25%}.row .col.push-xl3{left:25%}.row .col.offset-xl4{margin-left:33.3333333333%}.row .col.pull-xl4{right:33.3333333333%}.row .col.push-xl4{left:33.3333333333%}.row .col.offset-xl5{margin-left:41.6666666667%}.row .col.pull-xl5{right:41.6666666667%}.row .col.push-xl5{left:41.6666666667%}.row .col.offset-xl6{margin-left:50%}.row .col.pull-xl6{right:50%}.row .col.push-xl6{left:50%}.row .col.offset-xl7{margin-left:58.3333333333%}.row .col.pull-xl7{right:58.3333333333%}.row .col.push-xl7{left:58.3333333333%}.row .col.offset-xl8{margin-left:66.6666666667%}.row .col.pull-xl8{right:66.6666666667%}.row .col.push-xl8{left:66.6666666667%}.row .col.offset-xl9{margin-left:75%}.row .col.pull-xl9{right:75%}.row .col.push-xl9{left:75%}.row .col.offset-xl10{margin-left:83.3333333333%}.row .col.pull-xl10{right:83.3333333333%}.row .col.push-xl10{left:83.3333333333%}.row .col.offset-xl11{margin-left:91.6666666667%}.row .col.pull-xl11{right:91.6666666667%}.row .col.push-xl11{left:91.6666666667%}.row .col.offset-xl12{margin-left:100%}.row .col.pull-xl12{right:100%}.row .col.push-xl12{left:100%}}nav{color:#fff;background-color:#ee6e73;width:100%;height:56px;line-height:56px}nav.nav-extended{height:auto}nav.nav-extended .nav-wrapper{min-height:56px;height:auto}nav.nav-extended .nav-content{position:relative;line-height:normal}nav a{color:#fff}nav i,nav [class^="mdi-"],nav [class*="mdi-"],nav i.material-icons{display:block;font-size:24px;height:56px;line-height:56px}nav .nav-wrapper{position:relative;height:100%}@media only screen and (min-width: 993px){nav a.sidenav-trigger{display:none}}nav .sidenav-trigger{float:left;position:relative;z-index:1;height:56px;margin:0 18px}nav .sidenav-trigger i{height:56px;line-height:56px}nav .brand-logo{position:absolute;color:#fff;display:inline-block;font-size:2.1rem;padding:0}nav .brand-logo.center{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}@media only screen and (max-width: 992px){nav .brand-logo{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}nav .brand-logo.left,nav .brand-logo.right{padding:0;-webkit-transform:none;transform:none}nav .brand-logo.left{left:0.5rem}nav .brand-logo.right{right:0.5rem;left:auto}}nav .brand-logo.right{right:0.5rem;padding:0}nav .brand-logo i,nav .brand-logo [class^="mdi-"],nav .brand-logo [class*="mdi-"],nav .brand-logo i.material-icons{float:left;margin-right:15px}nav .nav-title{display:inline-block;font-size:32px;padding:28px 0}nav ul{margin:0}nav ul li{-webkit-transition:background-color .3s;transition:background-color .3s;float:left;padding:0}nav ul li.active{background-color:rgba(0,0,0,0.1)}nav ul a{-webkit-transition:background-color .3s;transition:background-color .3s;font-size:1rem;color:#fff;display:block;padding:0 15px;cursor:pointer}nav ul a.btn,nav ul a.btn-large,nav ul a.btn-small,nav ul a.btn-large,nav ul a.btn-flat,nav ul a.btn-floating{margin-top:-2px;margin-left:15px;margin-right:15px}nav ul a.btn>.material-icons,nav ul a.btn-large>.material-icons,nav ul a.btn-small>.material-icons,nav ul a.btn-large>.material-icons,nav ul a.btn-flat>.material-icons,nav ul a.btn-floating>.material-icons{height:inherit;line-height:inherit}nav ul a:hover{background-color:rgba(0,0,0,0.1)}nav ul.left{float:left}nav form{height:100%}nav .input-field{margin:0;height:100%}nav .input-field input{height:100%;font-size:1.2rem;border:none;padding-left:2rem}nav .input-field input:focus,nav .input-field input[type=text]:valid,nav .input-field input[type=password]:valid,nav .input-field input[type=email]:valid,nav .input-field input[type=url]:valid,nav .input-field input[type=date]:valid{border:none;-webkit-box-shadow:none;box-shadow:none}nav .input-field label{top:0;left:0}nav .input-field label i{color:rgba(255,255,255,0.7);-webkit-transition:color .3s;transition:color .3s}nav .input-field label.active i{color:#fff}.navbar-fixed{position:relative;height:56px;z-index:997}.navbar-fixed nav{position:fixed}@media only screen and (min-width: 601px){nav.nav-extended .nav-wrapper{min-height:64px}nav,nav .nav-wrapper i,nav a.sidenav-trigger,nav a.sidenav-trigger i{height:64px;line-height:64px}.navbar-fixed{height:64px}}a{text-decoration:none}html{line-height:1.5;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-weight:normal;color:rgba(0,0,0,0.87)}@media only screen and (min-width: 0){html{font-size:14px}}@media only screen and (min-width: 992px){html{font-size:14.5px}}@media only screen and (min-width: 1200px){html{font-size:15px}}h1,h2,h3,h4,h5,h6{font-weight:400;line-height:1.3}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{font-weight:inherit}h1{font-size:4.2rem;line-height:110%;margin:2.8rem 0 1.68rem 0}h2{font-size:3.56rem;line-height:110%;margin:2.3733333333rem 0 1.424rem 0}h3{font-size:2.92rem;line-height:110%;margin:1.9466666667rem 0 1.168rem 0}h4{font-size:2.28rem;line-height:110%;margin:1.52rem 0 .912rem 0}h5{font-size:1.64rem;line-height:110%;margin:1.0933333333rem 0 .656rem 0}h6{font-size:1.15rem;line-height:110%;margin:.7666666667rem 0 .46rem 0}em{font-style:italic}strong{font-weight:500}small{font-size:75%}.light{font-weight:300}.thin{font-weight:200}@media only screen and (min-width: 360px){.flow-text{font-size:1.2rem}}@media only screen and (min-width: 390px){.flow-text{font-size:1.224rem}}@media only screen and (min-width: 420px){.flow-text{font-size:1.248rem}}@media only screen and (min-width: 450px){.flow-text{font-size:1.272rem}}@media only screen and (min-width: 480px){.flow-text{font-size:1.296rem}}@media only screen and (min-width: 510px){.flow-text{font-size:1.32rem}}@media only screen and (min-width: 540px){.flow-text{font-size:1.344rem}}@media only screen and (min-width: 570px){.flow-text{font-size:1.368rem}}@media only screen and (min-width: 600px){.flow-text{font-size:1.392rem}}@media only screen and (min-width: 630px){.flow-text{font-size:1.416rem}}@media only screen and (min-width: 660px){.flow-text{font-size:1.44rem}}@media only screen and (min-width: 690px){.flow-text{font-size:1.464rem}}@media only screen and (min-width: 720px){.flow-text{font-size:1.488rem}}@media only screen and (min-width: 750px){.flow-text{font-size:1.512rem}}@media only screen and (min-width: 780px){.flow-text{font-size:1.536rem}}@media only screen and (min-width: 810px){.flow-text{font-size:1.56rem}}@media only screen and (min-width: 840px){.flow-text{font-size:1.584rem}}@media only screen and (min-width: 870px){.flow-text{font-size:1.608rem}}@media only screen and (min-width: 900px){.flow-text{font-size:1.632rem}}@media only screen and (min-width: 930px){.flow-text{font-size:1.656rem}}@media only screen and (min-width: 960px){.flow-text{font-size:1.68rem}}@media only screen and (max-width: 360px){.flow-text{font-size:1.2rem}}.scale-transition{-webkit-transition:-webkit-transform 0.3s cubic-bezier(0.53, 0.01, 0.36, 1.63) !important;transition:-webkit-transform 0.3s cubic-bezier(0.53, 0.01, 0.36, 1.63) !important;transition:transform 0.3s cubic-bezier(0.53, 0.01, 0.36, 1.63) !important;transition:transform 0.3s cubic-bezier(0.53, 0.01, 0.36, 1.63), -webkit-transform 0.3s cubic-bezier(0.53, 0.01, 0.36, 1.63) !important}.scale-transition.scale-out{-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform .2s !important;transition:-webkit-transform .2s !important;transition:transform .2s !important;transition:transform .2s, -webkit-transform .2s !important}.scale-transition.scale-in{-webkit-transform:scale(1);transform:scale(1)}.card-panel{-webkit-transition:-webkit-box-shadow .25s;transition:-webkit-box-shadow .25s;transition:box-shadow .25s;transition:box-shadow .25s, -webkit-box-shadow .25s;padding:24px;margin:.5rem 0 1rem 0;border-radius:2px;background-color:#fff}.card{position:relative;margin:.5rem 0 1rem 0;background-color:#fff;-webkit-transition:-webkit-box-shadow .25s;transition:-webkit-box-shadow .25s;transition:box-shadow .25s;transition:box-shadow .25s, -webkit-box-shadow .25s;border-radius:2px}.card .card-title{font-size:24px;font-weight:300}.card .card-title.activator{cursor:pointer}.card.small,.card.medium,.card.large{position:relative}.card.small .card-image,.card.medium .card-image,.card.large .card-image{max-height:60%;overflow:hidden}.card.small .card-image+.card-content,.card.medium .card-image+.card-content,.card.large .card-image+.card-content{max-height:40%}.card.small .card-content,.card.medium .card-content,.card.large .card-content{max-height:100%;overflow:hidden}.card.small .card-action,.card.medium .card-action,.card.large .card-action{position:absolute;bottom:0;left:0;right:0}.card.small{height:300px}.card.medium{height:400px}.card.large{height:500px}.card.horizontal{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.card.horizontal.small .card-image,.card.horizontal.medium .card-image,.card.horizontal.large .card-image{height:100%;max-height:none;overflow:visible}.card.horizontal.small .card-image img,.card.horizontal.medium .card-image img,.card.horizontal.large .card-image img{height:100%}.card.horizontal .card-image{max-width:50%}.card.horizontal .card-image img{border-radius:2px 0 0 2px;max-width:100%;width:auto}.card.horizontal .card-stacked{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;position:relative}.card.horizontal .card-stacked .card-content{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}.card.sticky-action .card-action{z-index:2}.card.sticky-action .card-reveal{z-index:1;padding-bottom:64px}.card .card-image{position:relative}.card .card-image img{display:block;border-radius:2px 2px 0 0;position:relative;left:0;right:0;top:0;bottom:0;width:100%}.card .card-image .card-title{color:#fff;position:absolute;bottom:0;left:0;max-width:100%;padding:24px}.card .card-content{padding:24px;border-radius:0 0 2px 2px}.card .card-content p{margin:0}.card .card-content .card-title{display:block;line-height:32px;margin-bottom:8px}.card .card-content .card-title i{line-height:32px}.card .card-action{background-color:inherit;border-top:1px solid rgba(160,160,160,0.2);position:relative;padding:16px 24px}.card .card-action:last-child{border-radius:0 0 2px 2px}.card .card-action a:not(.btn):not(.btn-large):not(.btn-small):not(.btn-large):not(.btn-floating){color:#ffab40;margin-right:24px;-webkit-transition:color .3s ease;transition:color .3s ease;text-transform:uppercase}.card .card-action a:not(.btn):not(.btn-large):not(.btn-small):not(.btn-large):not(.btn-floating):hover{color:#ffd8a6}.card .card-reveal{padding:24px;position:absolute;background-color:#fff;width:100%;overflow-y:auto;left:0;top:100%;height:100%;z-index:3;display:none}.card .card-reveal .card-title{cursor:pointer;display:block}#toast-container{display:block;position:fixed;z-index:10000}@media only screen and (max-width: 600px){#toast-container{min-width:100%;bottom:0%}}@media only screen and (min-width: 601px) and (max-width: 992px){#toast-container{left:5%;bottom:7%;max-width:90%}}@media only screen and (min-width: 993px){#toast-container{top:10%;right:7%;max-width:86%}}.toast{border-radius:2px;top:35px;width:auto;margin-top:10px;position:relative;max-width:100%;height:auto;min-height:48px;line-height:1.5em;background-color:#323232;padding:10px 25px;font-size:1.1rem;font-weight:300;color:#fff;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;cursor:default}.toast .toast-action{color:#eeff41;font-weight:500;margin-right:-25px;margin-left:3rem}.toast.rounded{border-radius:24px}@media only screen and (max-width: 600px){.toast{width:100%;border-radius:0}}.tabs{position:relative;overflow-x:auto;overflow-y:hidden;height:48px;width:100%;background-color:#fff;margin:0 auto;white-space:nowrap}.tabs.tabs-transparent{background-color:transparent}.tabs.tabs-transparent .tab a,.tabs.tabs-transparent .tab.disabled a,.tabs.tabs-transparent .tab.disabled a:hover{color:rgba(255,255,255,0.7)}.tabs.tabs-transparent .tab a:hover,.tabs.tabs-transparent .tab a.active{color:#fff}.tabs.tabs-transparent .indicator{background-color:#fff}.tabs.tabs-fixed-width{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.tabs.tabs-fixed-width .tab{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}.tabs .tab{display:inline-block;text-align:center;line-height:48px;height:48px;padding:0;margin:0;text-transform:uppercase}.tabs .tab a{color:rgba(238,110,115,0.7);display:block;width:100%;height:100%;padding:0 24px;font-size:14px;text-overflow:ellipsis;overflow:hidden;-webkit-transition:color .28s ease, background-color .28s ease;transition:color .28s ease, background-color .28s ease}.tabs .tab a:focus,.tabs .tab a:focus.active{background-color:rgba(246,178,181,0.2);outline:none}.tabs .tab a:hover,.tabs .tab a.active{background-color:transparent;color:#ee6e73}.tabs .tab.disabled a,.tabs .tab.disabled a:hover{color:rgba(238,110,115,0.4);cursor:default}.tabs .indicator{position:absolute;bottom:0;height:2px;background-color:#f6b2b5;will-change:left, right}@media only screen and (max-width: 992px){.tabs{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.tabs .tab{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}.tabs .tab a{padding:0 12px}}.material-tooltip{padding:10px 8px;font-size:1rem;z-index:2000;background-color:transparent;border-radius:2px;color:#fff;min-height:36px;line-height:120%;opacity:0;position:absolute;text-align:center;max-width:calc(100% - 4px);overflow:hidden;left:0;top:0;pointer-events:none;visibility:hidden;background-color:#323232}.backdrop{position:absolute;opacity:0;height:7px;width:14px;border-radius:0 0 50% 50%;background-color:#323232;z-index:-1;-webkit-transform-origin:50% 0%;transform-origin:50% 0%;visibility:hidden}.btn,.btn-large,.btn-small,.btn-flat{border:none;border-radius:2px;display:inline-block;height:36px;line-height:36px;padding:0 16px;text-transform:uppercase;vertical-align:middle;-webkit-tap-highlight-color:transparent}.btn.disabled,.disabled.btn-large,.disabled.btn-small,.btn-floating.disabled,.btn-large.disabled,.btn-small.disabled,.btn-flat.disabled,.btn:disabled,.btn-large:disabled,.btn-small:disabled,.btn-floating:disabled,.btn-large:disabled,.btn-small:disabled,.btn-flat:disabled,.btn[disabled],.btn-large[disabled],.btn-small[disabled],.btn-floating[disabled],.btn-large[disabled],.btn-small[disabled],.btn-flat[disabled]{pointer-events:none;background-color:#DFDFDF !important;-webkit-box-shadow:none;box-shadow:none;color:#9F9F9F !important;cursor:default}.btn.disabled:hover,.disabled.btn-large:hover,.disabled.btn-small:hover,.btn-floating.disabled:hover,.btn-large.disabled:hover,.btn-small.disabled:hover,.btn-flat.disabled:hover,.btn:disabled:hover,.btn-large:disabled:hover,.btn-small:disabled:hover,.btn-floating:disabled:hover,.btn-large:disabled:hover,.btn-small:disabled:hover,.btn-flat:disabled:hover,.btn[disabled]:hover,.btn-large[disabled]:hover,.btn-small[disabled]:hover,.btn-floating[disabled]:hover,.btn-large[disabled]:hover,.btn-small[disabled]:hover,.btn-flat[disabled]:hover{background-color:#DFDFDF !important;color:#9F9F9F !important}.btn,.btn-large,.btn-small,.btn-floating,.btn-large,.btn-small,.btn-flat{font-size:14px;outline:0}.btn i,.btn-large i,.btn-small i,.btn-floating i,.btn-large i,.btn-small i,.btn-flat i{font-size:1.3rem;line-height:inherit}.btn:focus,.btn-large:focus,.btn-small:focus,.btn-floating:focus{background-color:#1d7d74}.btn,.btn-large,.btn-small{text-decoration:none;color:#fff;background-color:#26a69a;text-align:center;letter-spacing:.5px;-webkit-transition:background-color .2s ease-out;transition:background-color .2s ease-out;cursor:pointer}.btn:hover,.btn-large:hover,.btn-small:hover{background-color:#2bbbad}.btn-floating{display:inline-block;color:#fff;position:relative;overflow:hidden;z-index:1;width:40px;height:40px;line-height:40px;padding:0;background-color:#26a69a;border-radius:50%;-webkit-transition:background-color .3s;transition:background-color .3s;cursor:pointer;vertical-align:middle}.btn-floating:hover{background-color:#26a69a}.btn-floating:before{border-radius:0}.btn-floating.btn-large{width:56px;height:56px;padding:0}.btn-floating.btn-large.halfway-fab{bottom:-28px}.btn-floating.btn-large i{line-height:56px}.btn-floating.btn-small{width:32.4px;height:32.4px}.btn-floating.btn-small.halfway-fab{bottom:-16.2px}.btn-floating.btn-small i{line-height:32.4px}.btn-floating.halfway-fab{position:absolute;right:24px;bottom:-20px}.btn-floating.halfway-fab.left{right:auto;left:24px}.btn-floating i{width:inherit;display:inline-block;text-align:center;color:#fff;font-size:1.6rem;line-height:40px}button.btn-floating{border:none}.fixed-action-btn{position:fixed;right:23px;bottom:23px;padding-top:15px;margin-bottom:0;z-index:997}.fixed-action-btn.active ul{visibility:visible}.fixed-action-btn.direction-left,.fixed-action-btn.direction-right{padding:0 0 0 15px}.fixed-action-btn.direction-left ul,.fixed-action-btn.direction-right ul{text-align:right;right:64px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);height:100%;left:auto;width:500px}.fixed-action-btn.direction-left ul li,.fixed-action-btn.direction-right ul li{display:inline-block;margin:7.5px 15px 0 0}.fixed-action-btn.direction-right{padding:0 15px 0 0}.fixed-action-btn.direction-right ul{text-align:left;direction:rtl;left:64px;right:auto}.fixed-action-btn.direction-right ul li{margin:7.5px 0 0 15px}.fixed-action-btn.direction-bottom{padding:0 0 15px 0}.fixed-action-btn.direction-bottom ul{top:64px;bottom:auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.fixed-action-btn.direction-bottom ul li{margin:15px 0 0 0}.fixed-action-btn.toolbar{padding:0;height:56px}.fixed-action-btn.toolbar.active>a i{opacity:0}.fixed-action-btn.toolbar ul{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;top:0;bottom:0;z-index:1}.fixed-action-btn.toolbar ul li{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:inline-block;margin:0;height:100%;-webkit-transition:none;transition:none}.fixed-action-btn.toolbar ul li a{display:block;overflow:hidden;position:relative;width:100%;height:100%;background-color:transparent;-webkit-box-shadow:none;box-shadow:none;color:#fff;line-height:56px;z-index:1}.fixed-action-btn.toolbar ul li a i{line-height:inherit}.fixed-action-btn ul{left:0;right:0;text-align:center;position:absolute;bottom:64px;margin:0;visibility:hidden}.fixed-action-btn ul li{margin-bottom:15px}.fixed-action-btn ul a.btn-floating{opacity:0}.fixed-action-btn .fab-backdrop{position:absolute;top:0;left:0;z-index:-1;width:40px;height:40px;background-color:#26a69a;border-radius:50%;-webkit-transform:scale(0);transform:scale(0)}.btn-flat{-webkit-box-shadow:none;box-shadow:none;background-color:transparent;color:#343434;cursor:pointer;-webkit-transition:background-color .2s;transition:background-color .2s}.btn-flat:focus,.btn-flat:hover{-webkit-box-shadow:none;box-shadow:none}.btn-flat:focus{background-color:rgba(0,0,0,0.1)}.btn-flat.disabled,.btn-flat.btn-flat[disabled]{background-color:transparent !important;color:#b3b2b2 !important;cursor:default}.btn-large{height:54px;line-height:54px;font-size:15px;padding:0 28px}.btn-large i{font-size:1.6rem}.btn-small{height:32.4px;line-height:32.4px;font-size:13px}.btn-small i{font-size:1.2rem}.btn-block{display:block}.dropdown-content{background-color:#fff;margin:0;display:none;min-width:100px;overflow-y:auto;opacity:0;position:absolute;left:0;top:0;z-index:9999;-webkit-transform-origin:0 0;transform-origin:0 0}.dropdown-content:focus{outline:0}.dropdown-content li{clear:both;color:rgba(0,0,0,0.87);cursor:pointer;min-height:50px;line-height:1.5rem;width:100%;text-align:left}.dropdown-content li:hover,.dropdown-content li.active{background-color:#eee}.dropdown-content li:focus{outline:none}.dropdown-content li.divider{min-height:0;height:1px}.dropdown-content li>a,.dropdown-content li>span{font-size:16px;color:#26a69a;display:block;line-height:22px;padding:14px 16px}.dropdown-content li>span>label{top:1px;left:0;height:18px}.dropdown-content li>a>i{height:inherit;line-height:inherit;float:left;margin:0 24px 0 0;width:24px}body.keyboard-focused .dropdown-content li:focus{background-color:#dadada}.input-field.col .dropdown-content [type="checkbox"]+label{top:1px;left:0;height:18px;-webkit-transform:none;transform:none}.dropdown-trigger{cursor:pointer}/*!
7
+ * Waves v0.6.0
8
+ * http://fian.my.id/Waves
9
+ *
10
+ * Copyright 2014 Alfiana E. Sibuea and other contributors
11
+ * Released under the MIT license
12
+ * https://github.com/fians/Waves/blob/master/LICENSE
13
+ */.waves-effect{position:relative;cursor:pointer;display:inline-block;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;vertical-align:middle;z-index:1;-webkit-transition:.3s ease-out;transition:.3s ease-out}.waves-effect .waves-ripple{position:absolute;border-radius:50%;width:20px;height:20px;margin-top:-10px;margin-left:-10px;opacity:0;background:rgba(0,0,0,0.2);-webkit-transition:all 0.7s ease-out;transition:all 0.7s ease-out;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;-webkit-transform:scale(0);transform:scale(0);pointer-events:none}.waves-effect.waves-light .waves-ripple{background-color:rgba(255,255,255,0.45)}.waves-effect.waves-red .waves-ripple{background-color:rgba(244,67,54,0.7)}.waves-effect.waves-yellow .waves-ripple{background-color:rgba(255,235,59,0.7)}.waves-effect.waves-orange .waves-ripple{background-color:rgba(255,152,0,0.7)}.waves-effect.waves-purple .waves-ripple{background-color:rgba(156,39,176,0.7)}.waves-effect.waves-green .waves-ripple{background-color:rgba(76,175,80,0.7)}.waves-effect.waves-teal .waves-ripple{background-color:rgba(0,150,136,0.7)}.waves-effect input[type="button"],.waves-effect input[type="reset"],.waves-effect input[type="submit"]{border:0;font-style:normal;font-size:inherit;text-transform:inherit;background:none}.waves-effect img{position:relative;z-index:-1}.waves-notransition{-webkit-transition:none !important;transition:none !important}.waves-circle{-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-mask-image:-webkit-radial-gradient(circle, white 100%, black 100%)}.waves-input-wrapper{border-radius:0.2em;vertical-align:bottom}.waves-input-wrapper .waves-button-input{position:relative;top:0;left:0;z-index:1}.waves-circle{text-align:center;width:2.5em;height:2.5em;line-height:2.5em;border-radius:50%;-webkit-mask-image:none}.waves-block{display:block}.waves-effect .waves-ripple{z-index:-1}.modal{display:none;position:fixed;left:0;right:0;background-color:#fafafa;padding:0;max-height:70%;width:55%;margin:auto;overflow-y:auto;border-radius:2px;will-change:top, opacity}.modal:focus{outline:none}@media only screen and (max-width: 992px){.modal{width:80%}}.modal h1,.modal h2,.modal h3,.modal h4{margin-top:0}.modal .modal-content{padding:24px}.modal .modal-close{cursor:pointer}.modal .modal-footer{border-radius:0 0 2px 2px;background-color:#fafafa;padding:4px 6px;height:56px;width:100%;text-align:right}.modal .modal-footer .btn,.modal .modal-footer .btn-large,.modal .modal-footer .btn-small,.modal .modal-footer .btn-flat{margin:6px 0}.modal-overlay{position:fixed;z-index:999;top:-25%;left:0;bottom:0;right:0;height:125%;width:100%;background:#000;display:none;will-change:opacity}.modal.modal-fixed-footer{padding:0;height:70%}.modal.modal-fixed-footer .modal-content{position:absolute;height:calc(100% - 56px);max-height:100%;width:100%;overflow-y:auto}.modal.modal-fixed-footer .modal-footer{border-top:1px solid rgba(0,0,0,0.1);position:absolute;bottom:0}.modal.bottom-sheet{top:auto;bottom:-100%;margin:0;width:100%;max-height:45%;border-radius:0;will-change:bottom, opacity}.collapsible{border-top:1px solid #ddd;border-right:1px solid #ddd;border-left:1px solid #ddd;margin:.5rem 0 1rem 0}.collapsible-header{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;cursor:pointer;-webkit-tap-highlight-color:transparent;line-height:1.5;padding:1rem;background-color:#fff;border-bottom:1px solid #ddd}.collapsible-header:focus{outline:0}.collapsible-header i{width:2rem;font-size:1.6rem;display:inline-block;text-align:center;margin-right:1rem}.keyboard-focused .collapsible-header:focus{background-color:#eee}.collapsible-body{display:none;border-bottom:1px solid #ddd;-webkit-box-sizing:border-box;box-sizing:border-box;padding:2rem}.sidenav .collapsible,.sidenav.fixed .collapsible{border:none;-webkit-box-shadow:none;box-shadow:none}.sidenav .collapsible li,.sidenav.fixed .collapsible li{padding:0}.sidenav .collapsible-header,.sidenav.fixed .collapsible-header{background-color:transparent;border:none;line-height:inherit;height:inherit;padding:0 16px}.sidenav .collapsible-header:hover,.sidenav.fixed .collapsible-header:hover{background-color:rgba(0,0,0,0.05)}.sidenav .collapsible-header i,.sidenav.fixed .collapsible-header i{line-height:inherit}.sidenav .collapsible-body,.sidenav.fixed .collapsible-body{border:0;background-color:#fff}.sidenav .collapsible-body li a,.sidenav.fixed .collapsible-body li a{padding:0 23.5px 0 31px}.collapsible.popout{border:none;-webkit-box-shadow:none;box-shadow:none}.collapsible.popout>li{-webkit-box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);margin:0 24px;-webkit-transition:margin 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);transition:margin 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.collapsible.popout>li.active{-webkit-box-shadow:0 5px 11px 0 rgba(0,0,0,0.18),0 4px 15px 0 rgba(0,0,0,0.15);box-shadow:0 5px 11px 0 rgba(0,0,0,0.18),0 4px 15px 0 rgba(0,0,0,0.15);margin:16px 0}.chip{display:inline-block;height:32px;font-size:13px;font-weight:500;color:rgba(0,0,0,0.6);line-height:32px;padding:0 12px;border-radius:16px;background-color:#e4e4e4;margin-bottom:5px;margin-right:5px}.chip:focus{outline:none;background-color:#26a69a;color:#fff}.chip>img{float:left;margin:0 8px 0 -12px;height:32px;width:32px;border-radius:50%}.chip .close{cursor:pointer;float:right;font-size:16px;line-height:32px;padding-left:8px}.chips{border:none;border-bottom:1px solid #9e9e9e;-webkit-box-shadow:none;box-shadow:none;margin:0 0 8px 0;min-height:45px;outline:none;-webkit-transition:all .3s;transition:all .3s}.chips.focus{border-bottom:1px solid #26a69a;-webkit-box-shadow:0 1px 0 0 #26a69a;box-shadow:0 1px 0 0 #26a69a}.chips:hover{cursor:text}.chips .input{background:none;border:0;color:rgba(0,0,0,0.6);display:inline-block;font-size:16px;height:3rem;line-height:32px;outline:0;margin:0;padding:0 !important;width:120px !important}.chips .input:focus{border:0 !important;-webkit-box-shadow:none !important;box-shadow:none !important}.chips .autocomplete-content{margin-top:0;margin-bottom:0}.prefix ~ .chips{margin-left:3rem;width:92%;width:calc(100% - 3rem)}.chips:empty ~ label{font-size:0.8rem;-webkit-transform:translateY(-140%);transform:translateY(-140%)}.materialboxed{display:block;cursor:-webkit-zoom-in;cursor:zoom-in;position:relative;-webkit-transition:opacity .4s;transition:opacity .4s;-webkit-backface-visibility:hidden}.materialboxed:hover:not(.active){opacity:.8}.materialboxed.active{cursor:-webkit-zoom-out;cursor:zoom-out}#materialbox-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#292929;z-index:1000;will-change:opacity}.materialbox-caption{position:fixed;display:none;color:#fff;line-height:50px;bottom:0;left:0;width:100%;text-align:center;padding:0% 15%;height:50px;z-index:1000;-webkit-font-smoothing:antialiased}select:focus{outline:1px solid #c9f3ef}button:focus{outline:none;background-color:#2ab7a9}label{font-size:.8rem;color:#9e9e9e}::-webkit-input-placeholder{color:#d1d1d1}::-moz-placeholder{color:#d1d1d1}:-ms-input-placeholder{color:#d1d1d1}::-ms-input-placeholder{color:#d1d1d1}::placeholder{color:#d1d1d1}input:not([type]),input[type=text]:not(.browser-default),input[type=password]:not(.browser-default),input[type=email]:not(.browser-default),input[type=url]:not(.browser-default),input[type=time]:not(.browser-default),input[type=date]:not(.browser-default),input[type=datetime]:not(.browser-default),input[type=datetime-local]:not(.browser-default),input[type=tel]:not(.browser-default),input[type=number]:not(.browser-default),input[type=search]:not(.browser-default),textarea.materialize-textarea{background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;height:3rem;width:100%;font-size:16px;margin:0 0 8px 0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-transition:border .3s, -webkit-box-shadow .3s;transition:border .3s, -webkit-box-shadow .3s;transition:box-shadow .3s, border .3s;transition:box-shadow .3s, border .3s, -webkit-box-shadow .3s}input:not([type]):disabled,input:not([type])[readonly="readonly"],input[type=text]:not(.browser-default):disabled,input[type=text]:not(.browser-default)[readonly="readonly"],input[type=password]:not(.browser-default):disabled,input[type=password]:not(.browser-default)[readonly="readonly"],input[type=email]:not(.browser-default):disabled,input[type=email]:not(.browser-default)[readonly="readonly"],input[type=url]:not(.browser-default):disabled,input[type=url]:not(.browser-default)[readonly="readonly"],input[type=time]:not(.browser-default):disabled,input[type=time]:not(.browser-default)[readonly="readonly"],input[type=date]:not(.browser-default):disabled,input[type=date]:not(.browser-default)[readonly="readonly"],input[type=datetime]:not(.browser-default):disabled,input[type=datetime]:not(.browser-default)[readonly="readonly"],input[type=datetime-local]:not(.browser-default):disabled,input[type=datetime-local]:not(.browser-default)[readonly="readonly"],input[type=tel]:not(.browser-default):disabled,input[type=tel]:not(.browser-default)[readonly="readonly"],input[type=number]:not(.browser-default):disabled,input[type=number]:not(.browser-default)[readonly="readonly"],input[type=search]:not(.browser-default):disabled,input[type=search]:not(.browser-default)[readonly="readonly"],textarea.materialize-textarea:disabled,textarea.materialize-textarea[readonly="readonly"]{color:rgba(0,0,0,0.42);border-bottom:1px dotted rgba(0,0,0,0.42)}input:not([type]):disabled+label,input:not([type])[readonly="readonly"]+label,input[type=text]:not(.browser-default):disabled+label,input[type=text]:not(.browser-default)[readonly="readonly"]+label,input[type=password]:not(.browser-default):disabled+label,input[type=password]:not(.browser-default)[readonly="readonly"]+label,input[type=email]:not(.browser-default):disabled+label,input[type=email]:not(.browser-default)[readonly="readonly"]+label,input[type=url]:not(.browser-default):disabled+label,input[type=url]:not(.browser-default)[readonly="readonly"]+label,input[type=time]:not(.browser-default):disabled+label,input[type=time]:not(.browser-default)[readonly="readonly"]+label,input[type=date]:not(.browser-default):disabled+label,input[type=date]:not(.browser-default)[readonly="readonly"]+label,input[type=datetime]:not(.browser-default):disabled+label,input[type=datetime]:not(.browser-default)[readonly="readonly"]+label,input[type=datetime-local]:not(.browser-default):disabled+label,input[type=datetime-local]:not(.browser-default)[readonly="readonly"]+label,input[type=tel]:not(.browser-default):disabled+label,input[type=tel]:not(.browser-default)[readonly="readonly"]+label,input[type=number]:not(.browser-default):disabled+label,input[type=number]:not(.browser-default)[readonly="readonly"]+label,input[type=search]:not(.browser-default):disabled+label,input[type=search]:not(.browser-default)[readonly="readonly"]+label,textarea.materialize-textarea:disabled+label,textarea.materialize-textarea[readonly="readonly"]+label{color:rgba(0,0,0,0.42)}input:not([type]):focus:not([readonly]),input[type=text]:not(.browser-default):focus:not([readonly]),input[type=password]:not(.browser-default):focus:not([readonly]),input[type=email]:not(.browser-default):focus:not([readonly]),input[type=url]:not(.browser-default):focus:not([readonly]),input[type=time]:not(.browser-default):focus:not([readonly]),input[type=date]:not(.browser-default):focus:not([readonly]),input[type=datetime]:not(.browser-default):focus:not([readonly]),input[type=datetime-local]:not(.browser-default):focus:not([readonly]),input[type=tel]:not(.browser-default):focus:not([readonly]),input[type=number]:not(.browser-default):focus:not([readonly]),input[type=search]:not(.browser-default):focus:not([readonly]),textarea.materialize-textarea:focus:not([readonly]){border-bottom:1px solid #26a69a;-webkit-box-shadow:0 1px 0 0 #26a69a;box-shadow:0 1px 0 0 #26a69a}input:not([type]):focus:not([readonly])+label,input[type=text]:not(.browser-default):focus:not([readonly])+label,input[type=password]:not(.browser-default):focus:not([readonly])+label,input[type=email]:not(.browser-default):focus:not([readonly])+label,input[type=url]:not(.browser-default):focus:not([readonly])+label,input[type=time]:not(.browser-default):focus:not([readonly])+label,input[type=date]:not(.browser-default):focus:not([readonly])+label,input[type=datetime]:not(.browser-default):focus:not([readonly])+label,input[type=datetime-local]:not(.browser-default):focus:not([readonly])+label,input[type=tel]:not(.browser-default):focus:not([readonly])+label,input[type=number]:not(.browser-default):focus:not([readonly])+label,input[type=search]:not(.browser-default):focus:not([readonly])+label,textarea.materialize-textarea:focus:not([readonly])+label{color:#26a69a}input:not([type]):focus.valid ~ label,input[type=text]:not(.browser-default):focus.valid ~ label,input[type=password]:not(.browser-default):focus.valid ~ label,input[type=email]:not(.browser-default):focus.valid ~ label,input[type=url]:not(.browser-default):focus.valid ~ label,input[type=time]:not(.browser-default):focus.valid ~ label,input[type=date]:not(.browser-default):focus.valid ~ label,input[type=datetime]:not(.browser-default):focus.valid ~ label,input[type=datetime-local]:not(.browser-default):focus.valid ~ label,input[type=tel]:not(.browser-default):focus.valid ~ label,input[type=number]:not(.browser-default):focus.valid ~ label,input[type=search]:not(.browser-default):focus.valid ~ label,textarea.materialize-textarea:focus.valid ~ label{color:#4CAF50}input:not([type]):focus.invalid ~ label,input[type=text]:not(.browser-default):focus.invalid ~ label,input[type=password]:not(.browser-default):focus.invalid ~ label,input[type=email]:not(.browser-default):focus.invalid ~ label,input[type=url]:not(.browser-default):focus.invalid ~ label,input[type=time]:not(.browser-default):focus.invalid ~ label,input[type=date]:not(.browser-default):focus.invalid ~ label,input[type=datetime]:not(.browser-default):focus.invalid ~ label,input[type=datetime-local]:not(.browser-default):focus.invalid ~ label,input[type=tel]:not(.browser-default):focus.invalid ~ label,input[type=number]:not(.browser-default):focus.invalid ~ label,input[type=search]:not(.browser-default):focus.invalid ~ label,textarea.materialize-textarea:focus.invalid ~ label{color:#F44336}input:not([type]).validate+label,input[type=text]:not(.browser-default).validate+label,input[type=password]:not(.browser-default).validate+label,input[type=email]:not(.browser-default).validate+label,input[type=url]:not(.browser-default).validate+label,input[type=time]:not(.browser-default).validate+label,input[type=date]:not(.browser-default).validate+label,input[type=datetime]:not(.browser-default).validate+label,input[type=datetime-local]:not(.browser-default).validate+label,input[type=tel]:not(.browser-default).validate+label,input[type=number]:not(.browser-default).validate+label,input[type=search]:not(.browser-default).validate+label,textarea.materialize-textarea.validate+label{width:100%}input.valid:not([type]),input.valid:not([type]):focus,input.valid[type=text]:not(.browser-default),input.valid[type=text]:not(.browser-default):focus,input.valid[type=password]:not(.browser-default),input.valid[type=password]:not(.browser-default):focus,input.valid[type=email]:not(.browser-default),input.valid[type=email]:not(.browser-default):focus,input.valid[type=url]:not(.browser-default),input.valid[type=url]:not(.browser-default):focus,input.valid[type=time]:not(.browser-default),input.valid[type=time]:not(.browser-default):focus,input.valid[type=date]:not(.browser-default),input.valid[type=date]:not(.browser-default):focus,input.valid[type=datetime]:not(.browser-default),input.valid[type=datetime]:not(.browser-default):focus,input.valid[type=datetime-local]:not(.browser-default),input.valid[type=datetime-local]:not(.browser-default):focus,input.valid[type=tel]:not(.browser-default),input.valid[type=tel]:not(.browser-default):focus,input.valid[type=number]:not(.browser-default),input.valid[type=number]:not(.browser-default):focus,input.valid[type=search]:not(.browser-default),input.valid[type=search]:not(.browser-default):focus,textarea.materialize-textarea.valid,textarea.materialize-textarea.valid:focus,.select-wrapper.valid>input.select-dropdown{border-bottom:1px solid #4CAF50;-webkit-box-shadow:0 1px 0 0 #4CAF50;box-shadow:0 1px 0 0 #4CAF50}input.invalid:not([type]),input.invalid:not([type]):focus,input.invalid[type=text]:not(.browser-default),input.invalid[type=text]:not(.browser-default):focus,input.invalid[type=password]:not(.browser-default),input.invalid[type=password]:not(.browser-default):focus,input.invalid[type=email]:not(.browser-default),input.invalid[type=email]:not(.browser-default):focus,input.invalid[type=url]:not(.browser-default),input.invalid[type=url]:not(.browser-default):focus,input.invalid[type=time]:not(.browser-default),input.invalid[type=time]:not(.browser-default):focus,input.invalid[type=date]:not(.browser-default),input.invalid[type=date]:not(.browser-default):focus,input.invalid[type=datetime]:not(.browser-default),input.invalid[type=datetime]:not(.browser-default):focus,input.invalid[type=datetime-local]:not(.browser-default),input.invalid[type=datetime-local]:not(.browser-default):focus,input.invalid[type=tel]:not(.browser-default),input.invalid[type=tel]:not(.browser-default):focus,input.invalid[type=number]:not(.browser-default),input.invalid[type=number]:not(.browser-default):focus,input.invalid[type=search]:not(.browser-default),input.invalid[type=search]:not(.browser-default):focus,textarea.materialize-textarea.invalid,textarea.materialize-textarea.invalid:focus,.select-wrapper.invalid>input.select-dropdown,.select-wrapper.invalid>input.select-dropdown:focus{border-bottom:1px solid #F44336;-webkit-box-shadow:0 1px 0 0 #F44336;box-shadow:0 1px 0 0 #F44336}input:not([type]).valid ~ .helper-text[data-success],input:not([type]):focus.valid ~ .helper-text[data-success],input:not([type]).invalid ~ .helper-text[data-error],input:not([type]):focus.invalid ~ .helper-text[data-error],input[type=text]:not(.browser-default).valid ~ .helper-text[data-success],input[type=text]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=text]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=text]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=password]:not(.browser-default).valid ~ .helper-text[data-success],input[type=password]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=password]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=password]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=email]:not(.browser-default).valid ~ .helper-text[data-success],input[type=email]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=email]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=email]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=url]:not(.browser-default).valid ~ .helper-text[data-success],input[type=url]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=url]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=url]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=time]:not(.browser-default).valid ~ .helper-text[data-success],input[type=time]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=time]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=time]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=date]:not(.browser-default).valid ~ .helper-text[data-success],input[type=date]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=date]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=date]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=datetime]:not(.browser-default).valid ~ .helper-text[data-success],input[type=datetime]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=datetime]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=datetime]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=datetime-local]:not(.browser-default).valid ~ .helper-text[data-success],input[type=datetime-local]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=datetime-local]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=datetime-local]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=tel]:not(.browser-default).valid ~ .helper-text[data-success],input[type=tel]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=tel]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=tel]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=number]:not(.browser-default).valid ~ .helper-text[data-success],input[type=number]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=number]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=number]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=search]:not(.browser-default).valid ~ .helper-text[data-success],input[type=search]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=search]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=search]:not(.browser-default):focus.invalid ~ .helper-text[data-error],textarea.materialize-textarea.valid ~ .helper-text[data-success],textarea.materialize-textarea:focus.valid ~ .helper-text[data-success],textarea.materialize-textarea.invalid ~ .helper-text[data-error],textarea.materialize-textarea:focus.invalid ~ .helper-text[data-error],.select-wrapper.valid .helper-text[data-success],.select-wrapper.invalid ~ .helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input:not([type]).valid ~ .helper-text:after,input:not([type]):focus.valid ~ .helper-text:after,input[type=text]:not(.browser-default).valid ~ .helper-text:after,input[type=text]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=password]:not(.browser-default).valid ~ .helper-text:after,input[type=password]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=email]:not(.browser-default).valid ~ .helper-text:after,input[type=email]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=url]:not(.browser-default).valid ~ .helper-text:after,input[type=url]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=time]:not(.browser-default).valid ~ .helper-text:after,input[type=time]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=date]:not(.browser-default).valid ~ .helper-text:after,input[type=date]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=datetime]:not(.browser-default).valid ~ .helper-text:after,input[type=datetime]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=datetime-local]:not(.browser-default).valid ~ .helper-text:after,input[type=datetime-local]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=tel]:not(.browser-default).valid ~ .helper-text:after,input[type=tel]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=number]:not(.browser-default).valid ~ .helper-text:after,input[type=number]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=search]:not(.browser-default).valid ~ .helper-text:after,input[type=search]:not(.browser-default):focus.valid ~ .helper-text:after,textarea.materialize-textarea.valid ~ .helper-text:after,textarea.materialize-textarea:focus.valid ~ .helper-text:after,.select-wrapper.valid ~ .helper-text:after{content:attr(data-success);color:#4CAF50}input:not([type]).invalid ~ .helper-text:after,input:not([type]):focus.invalid ~ .helper-text:after,input[type=text]:not(.browser-default).invalid ~ .helper-text:after,input[type=text]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=password]:not(.browser-default).invalid ~ .helper-text:after,input[type=password]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=email]:not(.browser-default).invalid ~ .helper-text:after,input[type=email]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=url]:not(.browser-default).invalid ~ .helper-text:after,input[type=url]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=time]:not(.browser-default).invalid ~ .helper-text:after,input[type=time]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=date]:not(.browser-default).invalid ~ .helper-text:after,input[type=date]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=datetime]:not(.browser-default).invalid ~ .helper-text:after,input[type=datetime]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=datetime-local]:not(.browser-default).invalid ~ .helper-text:after,input[type=datetime-local]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=tel]:not(.browser-default).invalid ~ .helper-text:after,input[type=tel]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=number]:not(.browser-default).invalid ~ .helper-text:after,input[type=number]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=search]:not(.browser-default).invalid ~ .helper-text:after,input[type=search]:not(.browser-default):focus.invalid ~ .helper-text:after,textarea.materialize-textarea.invalid ~ .helper-text:after,textarea.materialize-textarea:focus.invalid ~ .helper-text:after,.select-wrapper.invalid ~ .helper-text:after{content:attr(data-error);color:#F44336}input:not([type])+label:after,input[type=text]:not(.browser-default)+label:after,input[type=password]:not(.browser-default)+label:after,input[type=email]:not(.browser-default)+label:after,input[type=url]:not(.browser-default)+label:after,input[type=time]:not(.browser-default)+label:after,input[type=date]:not(.browser-default)+label:after,input[type=datetime]:not(.browser-default)+label:after,input[type=datetime-local]:not(.browser-default)+label:after,input[type=tel]:not(.browser-default)+label:after,input[type=number]:not(.browser-default)+label:after,input[type=search]:not(.browser-default)+label:after,textarea.materialize-textarea+label:after,.select-wrapper+label:after{display:block;content:"";position:absolute;top:100%;left:0;opacity:0;-webkit-transition:.2s opacity ease-out, .2s color ease-out;transition:.2s opacity ease-out, .2s color ease-out}.input-field{position:relative;margin-top:1rem;margin-bottom:1rem}.input-field.inline{display:inline-block;vertical-align:middle;margin-left:5px}.input-field.inline input,.input-field.inline .select-dropdown{margin-bottom:1rem}.input-field.col label{left:.75rem}.input-field.col .prefix ~ label,.input-field.col .prefix ~ .validate ~ label{width:calc(100% - 3rem - 1.5rem)}.input-field>label{color:#9e9e9e;position:absolute;top:0;left:0;font-size:1rem;cursor:text;-webkit-transition:color .2s ease-out, -webkit-transform .2s ease-out;transition:color .2s ease-out, -webkit-transform .2s ease-out;transition:transform .2s ease-out, color .2s ease-out;transition:transform .2s ease-out, color .2s ease-out, -webkit-transform .2s ease-out;-webkit-transform-origin:0% 100%;transform-origin:0% 100%;text-align:initial;-webkit-transform:translateY(12px);transform:translateY(12px)}.input-field>label:not(.label-icon).active{-webkit-transform:translateY(-14px) scale(0.8);transform:translateY(-14px) scale(0.8);-webkit-transform-origin:0 0;transform-origin:0 0}.input-field>input[type]:-webkit-autofill:not(.browser-default)+label,.input-field>input[type=date]:not(.browser-default)+label,.input-field>input[type=time]:not(.browser-default)+label{-webkit-transform:translateY(-14px) scale(0.8);transform:translateY(-14px) scale(0.8);-webkit-transform-origin:0 0;transform-origin:0 0}.input-field .helper-text{position:relative;min-height:18px;display:block;font-size:12px;color:rgba(0,0,0,0.54)}.input-field .helper-text::after{opacity:1;position:absolute;top:0;left:0}.input-field .prefix{position:absolute;width:3rem;font-size:2rem;-webkit-transition:color .2s;transition:color .2s;top:.5rem}.input-field .prefix.active{color:#26a69a}.input-field .prefix ~ input,.input-field .prefix ~ textarea,.input-field .prefix ~ label,.input-field .prefix ~ .validate ~ label,.input-field .prefix ~ .helper-text,.input-field .prefix ~ .autocomplete-content{margin-left:3rem;width:92%;width:calc(100% - 3rem)}.input-field .prefix ~ label{margin-left:3rem}@media only screen and (max-width: 992px){.input-field .prefix ~ input{width:86%;width:calc(100% - 3rem)}}@media only screen and (max-width: 600px){.input-field .prefix ~ input{width:80%;width:calc(100% - 3rem)}}.input-field input[type=search]{display:block;line-height:inherit;-webkit-transition:.3s background-color;transition:.3s background-color}.nav-wrapper .input-field input[type=search]{height:inherit;padding-left:4rem;width:calc(100% - 4rem);border:0;-webkit-box-shadow:none;box-shadow:none}.input-field input[type=search]:focus:not(.browser-default){background-color:#fff;border:0;-webkit-box-shadow:none;box-shadow:none;color:#444}.input-field input[type=search]:focus:not(.browser-default)+label i,.input-field input[type=search]:focus:not(.browser-default) ~ .mdi-navigation-close,.input-field input[type=search]:focus:not(.browser-default) ~ .material-icons{color:#444}.input-field input[type=search]+.label-icon{-webkit-transform:none;transform:none;left:1rem}.input-field input[type=search] ~ .mdi-navigation-close,.input-field input[type=search] ~ .material-icons{position:absolute;top:0;right:1rem;color:transparent;cursor:pointer;font-size:2rem;-webkit-transition:.3s color;transition:.3s color}textarea{width:100%;height:3rem;background-color:transparent}textarea.materialize-textarea{line-height:normal;overflow-y:hidden;padding:.8rem 0 .8rem 0;resize:none;min-height:3rem;-webkit-box-sizing:border-box;box-sizing:border-box}.hiddendiv{visibility:hidden;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:break-word;padding-top:1.2rem;position:absolute;top:0;z-index:-1}.autocomplete-content li .highlight{color:#444}.autocomplete-content li img{height:40px;width:40px;margin:5px 15px}.character-counter{min-height:18px}[type="radio"]:not(:checked),[type="radio"]:checked{position:absolute;opacity:0;pointer-events:none}[type="radio"]:not(:checked)+span,[type="radio"]:checked+span{position:relative;padding-left:35px;cursor:pointer;display:inline-block;height:25px;line-height:25px;font-size:1rem;-webkit-transition:.28s ease;transition:.28s ease;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[type="radio"]+span:before,[type="radio"]+span:after{content:'';position:absolute;left:0;top:0;margin:4px;width:16px;height:16px;z-index:0;-webkit-transition:.28s ease;transition:.28s ease}[type="radio"]:not(:checked)+span:before,[type="radio"]:not(:checked)+span:after,[type="radio"]:checked+span:before,[type="radio"]:checked+span:after,[type="radio"].with-gap:checked+span:before,[type="radio"].with-gap:checked+span:after{border-radius:50%}[type="radio"]:not(:checked)+span:before,[type="radio"]:not(:checked)+span:after{border:2px solid #5a5a5a}[type="radio"]:not(:checked)+span:after{-webkit-transform:scale(0);transform:scale(0)}[type="radio"]:checked+span:before{border:2px solid transparent}[type="radio"]:checked+span:after,[type="radio"].with-gap:checked+span:before,[type="radio"].with-gap:checked+span:after{border:2px solid #26a69a}[type="radio"]:checked+span:after,[type="radio"].with-gap:checked+span:after{background-color:#26a69a}[type="radio"]:checked+span:after{-webkit-transform:scale(1.02);transform:scale(1.02)}[type="radio"].with-gap:checked+span:after{-webkit-transform:scale(0.5);transform:scale(0.5)}[type="radio"].tabbed:focus+span:before{-webkit-box-shadow:0 0 0 10px rgba(0,0,0,0.1);box-shadow:0 0 0 10px rgba(0,0,0,0.1)}[type="radio"].with-gap:disabled:checked+span:before{border:2px solid rgba(0,0,0,0.42)}[type="radio"].with-gap:disabled:checked+span:after{border:none;background-color:rgba(0,0,0,0.42)}[type="radio"]:disabled:not(:checked)+span:before,[type="radio"]:disabled:checked+span:before{background-color:transparent;border-color:rgba(0,0,0,0.42)}[type="radio"]:disabled+span{color:rgba(0,0,0,0.42)}[type="radio"]:disabled:not(:checked)+span:before{border-color:rgba(0,0,0,0.42)}[type="radio"]:disabled:checked+span:after{background-color:rgba(0,0,0,0.42);border-color:#949494}[type="checkbox"]:not(:checked),[type="checkbox"]:checked{position:absolute;opacity:0;pointer-events:none}[type="checkbox"]+span:not(.lever){position:relative;padding-left:35px;cursor:pointer;display:inline-block;height:25px;line-height:25px;font-size:1rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[type="checkbox"]+span:not(.lever):before,[type="checkbox"]:not(.filled-in)+span:not(.lever):after{content:'';position:absolute;top:0;left:0;width:18px;height:18px;z-index:0;border:2px solid #5a5a5a;border-radius:1px;margin-top:3px;-webkit-transition:.2s;transition:.2s}[type="checkbox"]:not(.filled-in)+span:not(.lever):after{border:0;-webkit-transform:scale(0);transform:scale(0)}[type="checkbox"]:not(:checked):disabled+span:not(.lever):before{border:none;background-color:rgba(0,0,0,0.42)}[type="checkbox"].tabbed:focus+span:not(.lever):after{-webkit-transform:scale(1);transform:scale(1);border:0;border-radius:50%;-webkit-box-shadow:0 0 0 10px rgba(0,0,0,0.1);box-shadow:0 0 0 10px rgba(0,0,0,0.1);background-color:rgba(0,0,0,0.1)}[type="checkbox"]:checked+span:not(.lever):before{top:-4px;left:-5px;width:12px;height:22px;border-top:2px solid transparent;border-left:2px solid transparent;border-right:2px solid #26a69a;border-bottom:2px solid #26a69a;-webkit-transform:rotate(40deg);transform:rotate(40deg);-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform-origin:100% 100%;transform-origin:100% 100%}[type="checkbox"]:checked:disabled+span:before{border-right:2px solid rgba(0,0,0,0.42);border-bottom:2px solid rgba(0,0,0,0.42)}[type="checkbox"]:indeterminate+span:not(.lever):before{top:-11px;left:-12px;width:10px;height:22px;border-top:none;border-left:none;border-right:2px solid #26a69a;border-bottom:none;-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform-origin:100% 100%;transform-origin:100% 100%}[type="checkbox"]:indeterminate:disabled+span:not(.lever):before{border-right:2px solid rgba(0,0,0,0.42);background-color:transparent}[type="checkbox"].filled-in+span:not(.lever):after{border-radius:2px}[type="checkbox"].filled-in+span:not(.lever):before,[type="checkbox"].filled-in+span:not(.lever):after{content:'';left:0;position:absolute;-webkit-transition:border .25s, background-color .25s, width .20s .1s, height .20s .1s, top .20s .1s, left .20s .1s;transition:border .25s, background-color .25s, width .20s .1s, height .20s .1s, top .20s .1s, left .20s .1s;z-index:1}[type="checkbox"].filled-in:not(:checked)+span:not(.lever):before{width:0;height:0;border:3px solid transparent;left:6px;top:10px;-webkit-transform:rotateZ(37deg);transform:rotateZ(37deg);-webkit-transform-origin:100% 100%;transform-origin:100% 100%}[type="checkbox"].filled-in:not(:checked)+span:not(.lever):after{height:20px;width:20px;background-color:transparent;border:2px solid #5a5a5a;top:0px;z-index:0}[type="checkbox"].filled-in:checked+span:not(.lever):before{top:0;left:1px;width:8px;height:13px;border-top:2px solid transparent;border-left:2px solid transparent;border-right:2px solid #fff;border-bottom:2px solid #fff;-webkit-transform:rotateZ(37deg);transform:rotateZ(37deg);-webkit-transform-origin:100% 100%;transform-origin:100% 100%}[type="checkbox"].filled-in:checked+span:not(.lever):after{top:0;width:20px;height:20px;border:2px solid #26a69a;background-color:#26a69a;z-index:0}[type="checkbox"].filled-in.tabbed:focus+span:not(.lever):after{border-radius:2px;border-color:#5a5a5a;background-color:rgba(0,0,0,0.1)}[type="checkbox"].filled-in.tabbed:checked:focus+span:not(.lever):after{border-radius:2px;background-color:#26a69a;border-color:#26a69a}[type="checkbox"].filled-in:disabled:not(:checked)+span:not(.lever):before{background-color:transparent;border:2px solid transparent}[type="checkbox"].filled-in:disabled:not(:checked)+span:not(.lever):after{border-color:transparent;background-color:#949494}[type="checkbox"].filled-in:disabled:checked+span:not(.lever):before{background-color:transparent}[type="checkbox"].filled-in:disabled:checked+span:not(.lever):after{background-color:#949494;border-color:#949494}.switch,.switch *{-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.switch label{cursor:pointer}.switch label input[type=checkbox]{opacity:0;width:0;height:0}.switch label input[type=checkbox]:checked+.lever{background-color:#84c7c1}.switch label input[type=checkbox]:checked+.lever:before,.switch label input[type=checkbox]:checked+.lever:after{left:18px}.switch label input[type=checkbox]:checked+.lever:after{background-color:#26a69a}.switch label .lever{content:"";display:inline-block;position:relative;width:36px;height:14px;background-color:rgba(0,0,0,0.38);border-radius:15px;margin-right:10px;-webkit-transition:background 0.3s ease;transition:background 0.3s ease;vertical-align:middle;margin:0 16px}.switch label .lever:before,.switch label .lever:after{content:"";position:absolute;display:inline-block;width:20px;height:20px;border-radius:50%;left:0;top:-3px;-webkit-transition:left 0.3s ease, background .3s ease, -webkit-box-shadow 0.1s ease, -webkit-transform .1s ease;transition:left 0.3s ease, background .3s ease, -webkit-box-shadow 0.1s ease, -webkit-transform .1s ease;transition:left 0.3s ease, background .3s ease, box-shadow 0.1s ease, transform .1s ease;transition:left 0.3s ease, background .3s ease, box-shadow 0.1s ease, transform .1s ease, -webkit-box-shadow 0.1s ease, -webkit-transform .1s ease}.switch label .lever:before{background-color:rgba(38,166,154,0.15)}.switch label .lever:after{background-color:#F1F1F1;-webkit-box-shadow:0px 3px 1px -2px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 1px 5px 0px rgba(0,0,0,0.12);box-shadow:0px 3px 1px -2px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 1px 5px 0px rgba(0,0,0,0.12)}input[type=checkbox]:checked:not(:disabled) ~ .lever:active::before,input[type=checkbox]:checked:not(:disabled).tabbed:focus ~ .lever::before{-webkit-transform:scale(2.4);transform:scale(2.4);background-color:rgba(38,166,154,0.15)}input[type=checkbox]:not(:disabled) ~ .lever:active:before,input[type=checkbox]:not(:disabled).tabbed:focus ~ .lever::before{-webkit-transform:scale(2.4);transform:scale(2.4);background-color:rgba(0,0,0,0.08)}.switch input[type=checkbox][disabled]+.lever{cursor:default;background-color:rgba(0,0,0,0.12)}.switch label input[type=checkbox][disabled]+.lever:after,.switch label input[type=checkbox][disabled]:checked+.lever:after{background-color:#949494}select{display:none}select.browser-default{display:block}select{background-color:rgba(255,255,255,0.9);width:100%;padding:5px;border:1px solid #f2f2f2;border-radius:2px;height:3rem}.select-label{position:absolute}.select-wrapper{position:relative}.select-wrapper.valid+label,.select-wrapper.invalid+label{width:100%;pointer-events:none}.select-wrapper input.select-dropdown{position:relative;cursor:pointer;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;outline:none;height:3rem;line-height:3rem;width:100%;font-size:16px;margin:0 0 8px 0;padding:0;display:block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}.select-wrapper input.select-dropdown:focus{border-bottom:1px solid #26a69a}.select-wrapper .caret{position:absolute;right:0;top:0;bottom:0;margin:auto 0;z-index:0;fill:rgba(0,0,0,0.87)}.select-wrapper+label{position:absolute;top:-26px;font-size:.8rem}select:disabled{color:rgba(0,0,0,0.42)}.select-wrapper.disabled+label{color:rgba(0,0,0,0.42)}.select-wrapper.disabled .caret{fill:rgba(0,0,0,0.42)}.select-wrapper input.select-dropdown:disabled{color:rgba(0,0,0,0.42);cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select-wrapper i{color:rgba(0,0,0,0.3)}.select-dropdown li.disabled,.select-dropdown li.disabled>span,.select-dropdown li.optgroup{color:rgba(0,0,0,0.3);background-color:transparent}body.keyboard-focused .select-dropdown.dropdown-content li:focus{background-color:rgba(0,0,0,0.08)}.select-dropdown.dropdown-content li:hover{background-color:rgba(0,0,0,0.08)}.select-dropdown.dropdown-content li.selected{background-color:rgba(0,0,0,0.03)}.prefix ~ .select-wrapper{margin-left:3rem;width:92%;width:calc(100% - 3rem)}.prefix ~ label{margin-left:3rem}.select-dropdown li img{height:40px;width:40px;margin:5px 15px;float:right}.select-dropdown li.optgroup{border-top:1px solid #eee}.select-dropdown li.optgroup.selected>span{color:rgba(0,0,0,0.7)}.select-dropdown li.optgroup>span{color:rgba(0,0,0,0.4)}.select-dropdown li.optgroup ~ li.optgroup-option{padding-left:1rem}.file-field{position:relative}.file-field .file-path-wrapper{overflow:hidden;padding-left:10px}.file-field input.file-path{width:100%}.file-field .btn,.file-field .btn-large,.file-field .btn-small{float:left;height:3rem;line-height:3rem}.file-field span{cursor:pointer}.file-field input[type=file]{position:absolute;top:0;right:0;left:0;bottom:0;width:100%;margin:0;padding:0;font-size:20px;cursor:pointer;opacity:0;filter:alpha(opacity=0)}.file-field input[type=file]::-webkit-file-upload-button{display:none}.range-field{position:relative}input[type=range],input[type=range]+.thumb{cursor:pointer}input[type=range]{position:relative;background-color:transparent;border:none;outline:none;width:100%;margin:15px 0;padding:0}input[type=range]:focus{outline:none}input[type=range]+.thumb{position:absolute;top:10px;left:0;border:none;height:0;width:0;border-radius:50%;background-color:#26a69a;margin-left:7px;-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}input[type=range]+.thumb .value{display:block;width:30px;text-align:center;color:#26a69a;font-size:0;-webkit-transform:rotate(45deg);transform:rotate(45deg)}input[type=range]+.thumb.active{border-radius:50% 50% 50% 0}input[type=range]+.thumb.active .value{color:#fff;margin-left:-1px;margin-top:8px;font-size:10px}input[type=range]{-webkit-appearance:none}input[type=range]::-webkit-slider-runnable-track{height:3px;background:#c2c0c2;border:none}input[type=range]::-webkit-slider-thumb{border:none;height:14px;width:14px;border-radius:50%;background:#26a69a;-webkit-transition:-webkit-box-shadow .3s;transition:-webkit-box-shadow .3s;transition:box-shadow .3s;transition:box-shadow .3s, -webkit-box-shadow .3s;-webkit-appearance:none;background-color:#26a69a;-webkit-transform-origin:50% 50%;transform-origin:50% 50%;margin:-5px 0 0 0}.keyboard-focused input[type=range]:focus:not(.active)::-webkit-slider-thumb{-webkit-box-shadow:0 0 0 10px rgba(38,166,154,0.26);box-shadow:0 0 0 10px rgba(38,166,154,0.26)}input[type=range]{border:1px solid white}input[type=range]::-moz-range-track{height:3px;background:#c2c0c2;border:none}input[type=range]::-moz-focus-inner{border:0}input[type=range]::-moz-range-thumb{border:none;height:14px;width:14px;border-radius:50%;background:#26a69a;-webkit-transition:-webkit-box-shadow .3s;transition:-webkit-box-shadow .3s;transition:box-shadow .3s;transition:box-shadow .3s, -webkit-box-shadow .3s;margin-top:-5px}input[type=range]:-moz-focusring{outline:1px solid #fff;outline-offset:-1px}.keyboard-focused input[type=range]:focus:not(.active)::-moz-range-thumb{box-shadow:0 0 0 10px rgba(38,166,154,0.26)}input[type=range]::-ms-track{height:3px;background:transparent;border-color:transparent;border-width:6px 0;color:transparent}input[type=range]::-ms-fill-lower{background:#777}input[type=range]::-ms-fill-upper{background:#ddd}input[type=range]::-ms-thumb{border:none;height:14px;width:14px;border-radius:50%;background:#26a69a;-webkit-transition:-webkit-box-shadow .3s;transition:-webkit-box-shadow .3s;transition:box-shadow .3s;transition:box-shadow .3s, -webkit-box-shadow .3s}.keyboard-focused input[type=range]:focus:not(.active)::-ms-thumb{box-shadow:0 0 0 10px rgba(38,166,154,0.26)}.table-of-contents.fixed{position:fixed}.table-of-contents li{padding:2px 0}.table-of-contents a{display:inline-block;font-weight:300;color:#757575;padding-left:16px;height:1.5rem;line-height:1.5rem;letter-spacing:.4;display:inline-block}.table-of-contents a:hover{color:#a8a8a8;padding-left:15px;border-left:1px solid #ee6e73}.table-of-contents a.active{font-weight:500;padding-left:14px;border-left:2px solid #ee6e73}.sidenav{position:fixed;width:300px;left:0;top:0;margin:0;-webkit-transform:translateX(-100%);transform:translateX(-100%);height:100%;height:calc(100% + 60px);height:-moz-calc(100%);padding-bottom:60px;background-color:#fff;z-index:999;overflow-y:auto;will-change:transform;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform:translateX(-105%);transform:translateX(-105%)}.sidenav.right-aligned{right:0;-webkit-transform:translateX(105%);transform:translateX(105%);left:auto;-webkit-transform:translateX(100%);transform:translateX(100%)}.sidenav .collapsible{margin:0}.sidenav li{float:none;line-height:48px}.sidenav li.active{background-color:rgba(0,0,0,0.05)}.sidenav li>a{color:rgba(0,0,0,0.87);display:block;font-size:14px;font-weight:500;height:48px;line-height:48px;padding:0 32px}.sidenav li>a:hover{background-color:rgba(0,0,0,0.05)}.sidenav li>a.btn,.sidenav li>a.btn-large,.sidenav li>a.btn-small,.sidenav li>a.btn-large,.sidenav li>a.btn-flat,.sidenav li>a.btn-floating{margin:10px 15px}.sidenav li>a.btn,.sidenav li>a.btn-large,.sidenav li>a.btn-small,.sidenav li>a.btn-large,.sidenav li>a.btn-floating{color:#fff}.sidenav li>a.btn-flat{color:#343434}.sidenav li>a.btn:hover,.sidenav li>a.btn-large:hover,.sidenav li>a.btn-small:hover,.sidenav li>a.btn-large:hover{background-color:#2bbbad}.sidenav li>a.btn-floating:hover{background-color:#26a69a}.sidenav li>a>i,.sidenav li>a>[class^="mdi-"],.sidenav li>a li>a>[class*="mdi-"],.sidenav li>a>i.material-icons{float:left;height:48px;line-height:48px;margin:0 32px 0 0;width:24px;color:rgba(0,0,0,0.54)}.sidenav .divider{margin:8px 0 0 0}.sidenav .subheader{cursor:initial;pointer-events:none;color:rgba(0,0,0,0.54);font-size:14px;font-weight:500;line-height:48px}.sidenav .subheader:hover{background-color:transparent}.sidenav .user-view{position:relative;padding:32px 32px 0;margin-bottom:8px}.sidenav .user-view>a{height:auto;padding:0}.sidenav .user-view>a:hover{background-color:transparent}.sidenav .user-view .background{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1}.sidenav .user-view .circle,.sidenav .user-view .name,.sidenav .user-view .email{display:block}.sidenav .user-view .circle{height:64px;width:64px}.sidenav .user-view .name,.sidenav .user-view .email{font-size:14px;line-height:24px}.sidenav .user-view .name{margin-top:16px;font-weight:500}.sidenav .user-view .email{padding-bottom:16px;font-weight:400}.drag-target{height:100%;width:10px;position:fixed;top:0;z-index:998}.drag-target.right-aligned{right:0}.sidenav.sidenav-fixed{left:0;-webkit-transform:translateX(0);transform:translateX(0);position:fixed}.sidenav.sidenav-fixed.right-aligned{right:0;left:auto}@media only screen and (max-width: 992px){.sidenav.sidenav-fixed{-webkit-transform:translateX(-105%);transform:translateX(-105%)}.sidenav.sidenav-fixed.right-aligned{-webkit-transform:translateX(105%);transform:translateX(105%)}.sidenav>a{padding:0 16px}.sidenav .user-view{padding:16px 16px 0}}.sidenav .collapsible-body>ul:not(.collapsible)>li.active,.sidenav.sidenav-fixed .collapsible-body>ul:not(.collapsible)>li.active{background-color:#ee6e73}.sidenav .collapsible-body>ul:not(.collapsible)>li.active a,.sidenav.sidenav-fixed .collapsible-body>ul:not(.collapsible)>li.active a{color:#fff}.sidenav .collapsible-body{padding:0}.sidenav-overlay{position:fixed;top:0;left:0;right:0;opacity:0;height:120vh;background-color:rgba(0,0,0,0.5);z-index:997;display:none}.preloader-wrapper{display:inline-block;position:relative;width:50px;height:50px}.preloader-wrapper.small{width:36px;height:36px}.preloader-wrapper.big{width:64px;height:64px}.preloader-wrapper.active{-webkit-animation:container-rotate 1568ms linear infinite;animation:container-rotate 1568ms linear infinite}@-webkit-keyframes container-rotate{to{-webkit-transform:rotate(360deg)}}@keyframes container-rotate{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.spinner-layer{position:absolute;width:100%;height:100%;opacity:0;border-color:#26a69a}.spinner-blue,.spinner-blue-only{border-color:#4285f4}.spinner-red,.spinner-red-only{border-color:#db4437}.spinner-yellow,.spinner-yellow-only{border-color:#f4b400}.spinner-green,.spinner-green-only{border-color:#0f9d58}.active .spinner-layer.spinner-blue{-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,blue-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,blue-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.active .spinner-layer.spinner-red{-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,red-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,red-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.active .spinner-layer.spinner-yellow{-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,yellow-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,yellow-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.active .spinner-layer.spinner-green{-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,green-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,green-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.active .spinner-layer,.active .spinner-layer.spinner-blue-only,.active .spinner-layer.spinner-red-only,.active .spinner-layer.spinner-yellow-only,.active .spinner-layer.spinner-green-only{opacity:1;-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}@-webkit-keyframes fill-unfill-rotate{12.5%{-webkit-transform:rotate(135deg)}25%{-webkit-transform:rotate(270deg)}37.5%{-webkit-transform:rotate(405deg)}50%{-webkit-transform:rotate(540deg)}62.5%{-webkit-transform:rotate(675deg)}75%{-webkit-transform:rotate(810deg)}87.5%{-webkit-transform:rotate(945deg)}to{-webkit-transform:rotate(1080deg)}}@keyframes fill-unfill-rotate{12.5%{-webkit-transform:rotate(135deg);transform:rotate(135deg)}25%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}37.5%{-webkit-transform:rotate(405deg);transform:rotate(405deg)}50%{-webkit-transform:rotate(540deg);transform:rotate(540deg)}62.5%{-webkit-transform:rotate(675deg);transform:rotate(675deg)}75%{-webkit-transform:rotate(810deg);transform:rotate(810deg)}87.5%{-webkit-transform:rotate(945deg);transform:rotate(945deg)}to{-webkit-transform:rotate(1080deg);transform:rotate(1080deg)}}@-webkit-keyframes blue-fade-in-out{from{opacity:1}25%{opacity:1}26%{opacity:0}89%{opacity:0}90%{opacity:1}100%{opacity:1}}@keyframes blue-fade-in-out{from{opacity:1}25%{opacity:1}26%{opacity:0}89%{opacity:0}90%{opacity:1}100%{opacity:1}}@-webkit-keyframes red-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:1}50%{opacity:1}51%{opacity:0}}@keyframes red-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:1}50%{opacity:1}51%{opacity:0}}@-webkit-keyframes yellow-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:1}75%{opacity:1}76%{opacity:0}}@keyframes yellow-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:1}75%{opacity:1}76%{opacity:0}}@-webkit-keyframes green-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:1}90%{opacity:1}100%{opacity:0}}@keyframes green-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:1}90%{opacity:1}100%{opacity:0}}.gap-patch{position:absolute;top:0;left:45%;width:10%;height:100%;overflow:hidden;border-color:inherit}.gap-patch .circle{width:1000%;left:-450%}.circle-clipper{display:inline-block;position:relative;width:50%;height:100%;overflow:hidden;border-color:inherit}.circle-clipper .circle{width:200%;height:100%;border-width:3px;border-style:solid;border-color:inherit;border-bottom-color:transparent !important;border-radius:50%;-webkit-animation:none;animation:none;position:absolute;top:0;right:0;bottom:0}.circle-clipper.left .circle{left:0;border-right-color:transparent !important;-webkit-transform:rotate(129deg);transform:rotate(129deg)}.circle-clipper.right .circle{left:-100%;border-left-color:transparent !important;-webkit-transform:rotate(-129deg);transform:rotate(-129deg)}.active .circle-clipper.left .circle{-webkit-animation:left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.active .circle-clipper.right .circle{-webkit-animation:right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}@-webkit-keyframes left-spin{from{-webkit-transform:rotate(130deg)}50%{-webkit-transform:rotate(-5deg)}to{-webkit-transform:rotate(130deg)}}@keyframes left-spin{from{-webkit-transform:rotate(130deg);transform:rotate(130deg)}50%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(130deg);transform:rotate(130deg)}}@-webkit-keyframes right-spin{from{-webkit-transform:rotate(-130deg)}50%{-webkit-transform:rotate(5deg)}to{-webkit-transform:rotate(-130deg)}}@keyframes right-spin{from{-webkit-transform:rotate(-130deg);transform:rotate(-130deg)}50%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}to{-webkit-transform:rotate(-130deg);transform:rotate(-130deg)}}#spinnerContainer.cooldown{-webkit-animation:container-rotate 1568ms linear infinite,fade-out 400ms cubic-bezier(0.4, 0, 0.2, 1);animation:container-rotate 1568ms linear infinite,fade-out 400ms cubic-bezier(0.4, 0, 0.2, 1)}@-webkit-keyframes fade-out{from{opacity:1}to{opacity:0}}@keyframes fade-out{from{opacity:1}to{opacity:0}}.slider{position:relative;height:400px;width:100%}.slider.fullscreen{height:100%;width:100%;position:absolute;top:0;left:0;right:0;bottom:0}.slider.fullscreen ul.slides{height:100%}.slider.fullscreen ul.indicators{z-index:2;bottom:30px}.slider .slides{background-color:#9e9e9e;margin:0;height:400px}.slider .slides li{opacity:0;position:absolute;top:0;left:0;z-index:1;width:100%;height:inherit;overflow:hidden}.slider .slides li img{height:100%;width:100%;background-size:cover;background-position:center}.slider .slides li .caption{color:#fff;position:absolute;top:15%;left:15%;width:70%;opacity:0}.slider .slides li .caption p{color:#e0e0e0}.slider .slides li.active{z-index:2}.slider .indicators{position:absolute;text-align:center;left:0;right:0;bottom:0;margin:0}.slider .indicators .indicator-item{display:inline-block;position:relative;cursor:pointer;height:16px;width:16px;margin:0 12px;background-color:#e0e0e0;-webkit-transition:background-color .3s;transition:background-color .3s;border-radius:50%}.slider .indicators .indicator-item.active{background-color:#4CAF50}.carousel{overflow:hidden;position:relative;width:100%;height:400px;-webkit-perspective:500px;perspective:500px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transform-origin:0% 50%;transform-origin:0% 50%}.carousel.carousel-slider{top:0;left:0}.carousel.carousel-slider .carousel-fixed-item{position:absolute;left:0;right:0;bottom:20px;z-index:1}.carousel.carousel-slider .carousel-fixed-item.with-indicators{bottom:68px}.carousel.carousel-slider .carousel-item{width:100%;height:100%;min-height:400px;position:absolute;top:0;left:0}.carousel.carousel-slider .carousel-item h2{font-size:24px;font-weight:500;line-height:32px}.carousel.carousel-slider .carousel-item p{font-size:15px}.carousel .carousel-item{visibility:hidden;width:200px;height:200px;position:absolute;top:0;left:0}.carousel .carousel-item>img{width:100%}.carousel .indicators{position:absolute;text-align:center;left:0;right:0;bottom:0;margin:0}.carousel .indicators .indicator-item{display:inline-block;position:relative;cursor:pointer;height:8px;width:8px;margin:24px 4px;background-color:rgba(255,255,255,0.5);-webkit-transition:background-color .3s;transition:background-color .3s;border-radius:50%}.carousel .indicators .indicator-item.active{background-color:#fff}.carousel.scrolling .carousel-item .materialboxed,.carousel .carousel-item:not(.active) .materialboxed{pointer-events:none}.tap-target-wrapper{width:800px;height:800px;position:fixed;z-index:1000;visibility:hidden;-webkit-transition:visibility 0s .3s;transition:visibility 0s .3s}.tap-target-wrapper.open{visibility:visible;-webkit-transition:visibility 0s;transition:visibility 0s}.tap-target-wrapper.open .tap-target{-webkit-transform:scale(1);transform:scale(1);opacity:.95;-webkit-transition:opacity 0.3s cubic-bezier(0.42, 0, 0.58, 1),-webkit-transform 0.3s cubic-bezier(0.42, 0, 0.58, 1);transition:opacity 0.3s cubic-bezier(0.42, 0, 0.58, 1),-webkit-transform 0.3s cubic-bezier(0.42, 0, 0.58, 1);transition:transform 0.3s cubic-bezier(0.42, 0, 0.58, 1),opacity 0.3s cubic-bezier(0.42, 0, 0.58, 1);transition:transform 0.3s cubic-bezier(0.42, 0, 0.58, 1),opacity 0.3s cubic-bezier(0.42, 0, 0.58, 1),-webkit-transform 0.3s cubic-bezier(0.42, 0, 0.58, 1)}.tap-target-wrapper.open .tap-target-wave::before{-webkit-transform:scale(1);transform:scale(1)}.tap-target-wrapper.open .tap-target-wave::after{visibility:visible;-webkit-animation:pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;animation:pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;-webkit-transition:opacity .3s,
14
+ visibility 0s 1s,
15
+ -webkit-transform .3s;transition:opacity .3s,
16
+ visibility 0s 1s,
17
+ -webkit-transform .3s;transition:opacity .3s,
18
+ transform .3s,
19
+ visibility 0s 1s;transition:opacity .3s,
20
+ transform .3s,
21
+ visibility 0s 1s,
22
+ -webkit-transform .3s}.tap-target{position:absolute;font-size:1rem;border-radius:50%;background-color:#ee6e73;-webkit-box-shadow:0 20px 20px 0 rgba(0,0,0,0.14),0 10px 50px 0 rgba(0,0,0,0.12),0 30px 10px -20px rgba(0,0,0,0.2);box-shadow:0 20px 20px 0 rgba(0,0,0,0.14),0 10px 50px 0 rgba(0,0,0,0.12),0 30px 10px -20px rgba(0,0,0,0.2);width:100%;height:100%;opacity:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:opacity 0.3s cubic-bezier(0.42, 0, 0.58, 1),-webkit-transform 0.3s cubic-bezier(0.42, 0, 0.58, 1);transition:opacity 0.3s cubic-bezier(0.42, 0, 0.58, 1),-webkit-transform 0.3s cubic-bezier(0.42, 0, 0.58, 1);transition:transform 0.3s cubic-bezier(0.42, 0, 0.58, 1),opacity 0.3s cubic-bezier(0.42, 0, 0.58, 1);transition:transform 0.3s cubic-bezier(0.42, 0, 0.58, 1),opacity 0.3s cubic-bezier(0.42, 0, 0.58, 1),-webkit-transform 0.3s cubic-bezier(0.42, 0, 0.58, 1)}.tap-target-content{position:relative;display:table-cell}.tap-target-wave{position:absolute;border-radius:50%;z-index:10001}.tap-target-wave::before,.tap-target-wave::after{content:'';display:block;position:absolute;width:100%;height:100%;border-radius:50%;background-color:#ffffff}.tap-target-wave::before{-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s, -webkit-transform .3s}.tap-target-wave::after{visibility:hidden;-webkit-transition:opacity .3s,
23
+ visibility 0s,
24
+ -webkit-transform .3s;transition:opacity .3s,
25
+ visibility 0s,
26
+ -webkit-transform .3s;transition:opacity .3s,
27
+ transform .3s,
28
+ visibility 0s;transition:opacity .3s,
29
+ transform .3s,
30
+ visibility 0s,
31
+ -webkit-transform .3s;z-index:-1}.tap-target-origin{top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);z-index:10002;position:absolute !important}.tap-target-origin:not(.btn):not(.btn-large):not(.btn-small),.tap-target-origin:not(.btn):not(.btn-large):not(.btn-small):hover{background:none}@media only screen and (max-width: 600px){.tap-target,.tap-target-wrapper{width:600px;height:600px}}.pulse{overflow:visible;position:relative}.pulse::before{content:'';display:block;position:absolute;width:100%;height:100%;top:0;left:0;background-color:inherit;border-radius:inherit;-webkit-transition:opacity .3s, -webkit-transform .3s;transition:opacity .3s, -webkit-transform .3s;transition:opacity .3s, transform .3s;transition:opacity .3s, transform .3s, -webkit-transform .3s;-webkit-animation:pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;animation:pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;z-index:-1}@-webkit-keyframes pulse-animation{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}50%{opacity:0;-webkit-transform:scale(1.5);transform:scale(1.5)}100%{opacity:0;-webkit-transform:scale(1.5);transform:scale(1.5)}}@keyframes pulse-animation{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}50%{opacity:0;-webkit-transform:scale(1.5);transform:scale(1.5)}100%{opacity:0;-webkit-transform:scale(1.5);transform:scale(1.5)}}.datepicker-modal{max-width:325px;min-width:300px;max-height:none}.datepicker-container.modal-content{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;padding:0}.datepicker-controls{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;width:280px;margin:0 auto}.datepicker-controls .selects-container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.datepicker-controls .select-wrapper input{border-bottom:none;text-align:center;margin:0}.datepicker-controls .select-wrapper input:focus{border-bottom:none}.datepicker-controls .select-wrapper .caret{display:none}.datepicker-controls .select-year input{width:50px}.datepicker-controls .select-month input{width:70px}.month-prev,.month-next{margin-top:4px;cursor:pointer;background-color:transparent;border:none}.datepicker-date-display{-webkit-box-flex:1;-webkit-flex:1 auto;-ms-flex:1 auto;flex:1 auto;background-color:#26a69a;color:#fff;padding:20px 22px;font-weight:500}.datepicker-date-display .year-text{display:block;font-size:1.5rem;line-height:25px;color:rgba(255,255,255,0.7)}.datepicker-date-display .date-text{display:block;font-size:2.8rem;line-height:47px;font-weight:500}.datepicker-calendar-container{-webkit-box-flex:2.5;-webkit-flex:2.5 auto;-ms-flex:2.5 auto;flex:2.5 auto}.datepicker-table{width:280px;font-size:1rem;margin:0 auto}.datepicker-table thead{border-bottom:none}.datepicker-table th{padding:10px 5px;text-align:center}.datepicker-table tr{border:none}.datepicker-table abbr{text-decoration:none;color:#999}.datepicker-table td{border-radius:50%;padding:0}.datepicker-table td.is-today{color:#26a69a}.datepicker-table td.is-selected{background-color:#26a69a;color:#fff}.datepicker-table td.is-outside-current-month,.datepicker-table td.is-disabled{color:rgba(0,0,0,0.3);pointer-events:none}.datepicker-day-button{background-color:transparent;border:none;line-height:38px;display:block;width:100%;border-radius:50%;padding:0 5px;cursor:pointer;color:inherit}.datepicker-day-button:focus{background-color:rgba(43,161,150,0.25)}.datepicker-footer{width:280px;margin:0 auto;padding-bottom:5px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.datepicker-cancel,.datepicker-clear,.datepicker-today,.datepicker-done{color:#26a69a;padding:0 1rem}.datepicker-clear{color:#F44336}@media only screen and (min-width: 601px){.datepicker-modal{max-width:625px}.datepicker-container.modal-content{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}.datepicker-date-display{-webkit-box-flex:0;-webkit-flex:0 1 270px;-ms-flex:0 1 270px;flex:0 1 270px}.datepicker-controls,.datepicker-table,.datepicker-footer{width:320px}.datepicker-day-button{line-height:44px}}.timepicker-modal{max-width:325px;max-height:none}.timepicker-container.modal-content{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;padding:0}.text-primary{color:#fff}.timepicker-digital-display{-webkit-box-flex:1;-webkit-flex:1 auto;-ms-flex:1 auto;flex:1 auto;background-color:#26a69a;padding:10px;font-weight:300}.timepicker-text-container{font-size:4rem;font-weight:bold;text-align:center;color:rgba(255,255,255,0.6);font-weight:400;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.timepicker-span-hours,.timepicker-span-minutes,.timepicker-span-am-pm div{cursor:pointer}.timepicker-span-hours{margin-right:3px}.timepicker-span-minutes{margin-left:3px}.timepicker-display-am-pm{font-size:1.3rem;position:absolute;right:1rem;bottom:1rem;font-weight:400}.timepicker-analog-display{-webkit-box-flex:2.5;-webkit-flex:2.5 auto;-ms-flex:2.5 auto;flex:2.5 auto}.timepicker-plate{background-color:#eee;border-radius:50%;width:270px;height:270px;overflow:visible;position:relative;margin:auto;margin-top:25px;margin-bottom:5px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.timepicker-canvas,.timepicker-dial{position:absolute;left:0;right:0;top:0;bottom:0}.timepicker-minutes{visibility:hidden}.timepicker-tick{border-radius:50%;color:rgba(0,0,0,0.87);line-height:40px;text-align:center;width:40px;height:40px;position:absolute;cursor:pointer;font-size:15px}.timepicker-tick.active,.timepicker-tick:hover{background-color:rgba(38,166,154,0.25)}.timepicker-dial{-webkit-transition:opacity 350ms, -webkit-transform 350ms;transition:opacity 350ms, -webkit-transform 350ms;transition:transform 350ms, opacity 350ms;transition:transform 350ms, opacity 350ms, -webkit-transform 350ms}.timepicker-dial-out{opacity:0}.timepicker-dial-out.timepicker-hours{-webkit-transform:scale(1.1, 1.1);transform:scale(1.1, 1.1)}.timepicker-dial-out.timepicker-minutes{-webkit-transform:scale(0.8, 0.8);transform:scale(0.8, 0.8)}.timepicker-canvas{-webkit-transition:opacity 175ms;transition:opacity 175ms}.timepicker-canvas line{stroke:#26a69a;stroke-width:4;stroke-linecap:round}.timepicker-canvas-out{opacity:0.25}.timepicker-canvas-bearing{stroke:none;fill:#26a69a}.timepicker-canvas-bg{stroke:none;fill:#26a69a}.timepicker-footer{margin:0 auto;padding:5px 1rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.timepicker-clear{color:#F44336}.timepicker-close{color:#26a69a}.timepicker-clear,.timepicker-close{padding:0 20px}@media only screen and (min-width: 601px){.timepicker-modal{max-width:600px}.timepicker-container.modal-content{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}.timepicker-text-container{top:32%}.timepicker-display-am-pm{position:relative;right:auto;bottom:auto;text-align:center;margin-top:1.2rem}}
admin/assets/js/admin.js ADDED
@@ -0,0 +1,58 @@
1
+
2
+ jQuery(document).ready(function($){
3
+
4
+ // for support wp-color-picker
5
+ $('.htcc-color-wp').wpColorPicker();
6
+
7
+ // $('select').material_select();
8
+ // $('select').formSelect(); // v1.0.0.rc.2
9
+
10
+ // $('.collapsible').collapsible();
11
+
12
+ });
13
+
14
+
15
+ /**
16
+ * makes an ajax call
17
+ * by default service_content will hide using style="display: none;"
18
+ * if ht_cc_service_content option is not set or not equal to hide
19
+ * then show the card - set display: block
20
+ * ajax action at admin.php
21
+ */
22
+ jQuery.post(
23
+ ajaxurl,
24
+ {
25
+ 'action': 'ht_cc_service_content',
26
+ },
27
+ function(response){
28
+ if ( 'hide' !== response ) {
29
+ var service_content = document.querySelector(".service-content");
30
+ if ( service_content ) {
31
+ service_content.style.display = "block";
32
+ }
33
+ }
34
+ }
35
+ );
36
+
37
+
38
+ /**
39
+ * when clicked on hide at admin - service content
40
+ * makes an ajax call an update / create the ht_cc_service_content option to hide
41
+ * ajax action at admin.php
42
+ */
43
+ function ht_cc_admin_hide_services_content() {
44
+
45
+ jQuery.post(
46
+ ajaxurl,
47
+ {
48
+ 'action': 'ht_cc_service_content_hide',
49
+ },
50
+ );
51
+
52
+ var service_content = document.querySelector(".service-content");
53
+
54
+ if ( service_content ) {
55
+ service_content.style.display = "none";
56
+ }
57
+
58
+ }
admin/assets/js/prev_md.js ADDED
@@ -0,0 +1,5 @@
1
+ /*
2
+ * Material Design
3
+ * @uses - Admin - pre-defined styles.
4
+ */
5
+ jQuery(document).ready(function(t){t(".color-wp").wpColorPicker()}),function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=5)}([function(t,e,n){var i;!function(e,n){"use strict";"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,function(n,o){"use strict";var r=[],a=n.document,s=Object.getPrototypeOf,l=r.slice,c=r.concat,u=r.push,d=r.indexOf,p={},h=p.toString,f=p.hasOwnProperty,v=f.toString,g=v.call(Object),m={};function y(t,e){var n=(e=e||a).createElement("script");n.text=t,e.head.appendChild(n).parentNode.removeChild(n)}var b="3.2.1",w=function(t,e){return new w.fn.init(t,e)},x=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+#x2F;g,k=/^-ms-/,T=/-([a-z])/g,C=function(t,e){return e.toUpperCase()};function S(t){var e=!!t&&"length"in t&&t.length,n=w.type(t);return"function"!==n&&!w.isWindow(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}w.fn=w.prototype={jquery:b,constructor:w,length:0,toArray:function(){return l.call(this)},get:function(t){return null==t?l.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=w.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return w.each(this,t)},map:function(t){return this.pushStack(w.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:r.sort,splice:r.splice},w.extend=w.fn.extend=function(){var t,e,n,i,o,r,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||w.isFunction(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(t=arguments[s]))for(e in t)n=a[e],a!==(i=t[e])&&(c&&i&&(w.isPlainObject(i)||(o=Array.isArray(i)))?(o?(o=!1,r=n&&Array.isArray(n)?n:[]):r=n&&w.isPlainObject(n)?n:{},a[e]=w.extend(c,r,i)):void 0!==i&&(a[e]=i));return a},w.extend({expando:"jQuery"+(b+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===w.type(t)},isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){var e=w.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==h.call(t))&&(!(e=s(t))||"function"==typeof(n=f.call(e,"constructor")&&e.constructor)&&v.call(n)===g)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?p[h.call(t)]||"object":typeof t},globalEval:function(t){y(t)},camelCase:function(t){return t.replace(k,"ms-").replace(T,C)},each:function(t,e){var n,i=0;if(S(t))for(n=t.length;i<n&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},trim:function(t){return null==t?"":(t+"").replace(x,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(S(Object(t))?w.merge(n,"string"==typeof t?[t]:t):u.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:d.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,o=t.length;i<n;i++)t[o++]=e[i];return t.length=o,t},grep:function(t,e,n){for(var i=[],o=0,r=t.length,a=!n;o<r;o++)!e(t[o],o)!==a&&i.push(t[o]);return i},map:function(t,e,n){var i,o,r=0,a=[];if(S(t))for(i=t.length;r<i;r++)null!=(o=e(t[r],r,n))&&a.push(o);else for(r in t)null!=(o=e(t[r],r,n))&&a.push(o);return c.apply([],a)},guid:1,proxy:function(t,e){var n,i,o;if("string"==typeof e&&(n=t[e],e=t,t=n),w.isFunction(t))return i=l.call(arguments,2),(o=function(){return t.apply(e||this,i.concat(l.call(arguments)))}).guid=t.guid=t.guid||w.guid++,o},now:Date.now,support:m}),"function"==typeof Symbol&&(w.fn[Symbol.iterator]=r[Symbol.iterator]),w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){p["[object "+e+"]"]=e.toLowerCase()});var E=function(t){var e,n,i,o,r,a,s,l,c,u,d,p,h,f,v,g,m,y,b,w="sizzle"+1*new Date,x=t.document,k=0,T=0,C=at(),S=at(),E=at(),A=function(t,e){return t===e&&(d=!0),0},P={}.hasOwnProperty,O=[],D=O.pop,M=O.push,_=O.push,I=O.slice,N=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",H="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",j="\\["+L+"*("+H+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+H+"))|)"+L+"*\\]",F=":("+H+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+j+")*)|.*)\\)|)",z=new RegExp(L+"+","g"),R=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+quot;,"g"),W=new RegExp("^"+L+"*,"+L+"*"),$=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),V=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),X=new RegExp(F),Y=new RegExp("^"+H+"quot;),B={ID:new RegExp("^#("+H+")"),CLASS:new RegExp("^\\.("+H+")"),TAG:new RegExp("^("+H+"|[*])"),ATTR:new RegExp("^"+j),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+q+")quot;,"i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},Q=/^(?:input|select|textarea|button)#x2F;i,U=/^h\d#x2F;i,G=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))#x2F;,J=/[+~]/,K=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),tt=function(t,e,n){var i="0x"+e-65536;return i!=i||n?e:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},et=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,nt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},it=function(){p()},ot=yt(function(t){return!0===t.disabled&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{_.apply(O=I.call(x.childNodes),x.childNodes),O[x.childNodes.length].nodeType}catch(t){_={apply:O.length?function(t,e){M.apply(t,I.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function rt(t,e,i,o){var r,s,c,u,d,f,m,y=e&&e.ownerDocument,k=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==k&&9!==k&&11!==k)return i;if(!o&&((e?e.ownerDocument||e:x)!==h&&p(e),e=e||h,v)){if(11!==k&&(d=Z.exec(t)))if(r=d[1]){if(9===k){if(!(c=e.getElementById(r)))return i;if(c.id===r)return i.push(c),i}else if(y&&(c=y.getElementById(r))&&b(e,c)&&c.id===r)return i.push(c),i}else{if(d[2])return _.apply(i,e.getElementsByTagName(t)),i;if((r=d[3])&&n.getElementsByClassName&&e.getElementsByClassName)return _.apply(i,e.getElementsByClassName(r)),i}if(n.qsa&&!E[t+" "]&&(!g||!g.test(t))){if(1!==k)y=e,m=t;else if("object"!==e.nodeName.toLowerCase()){for((u=e.getAttribute("id"))?u=u.replace(et,nt):e.setAttribute("id",u=w),s=(f=a(t)).length;s--;)f[s]="#"+u+" "+mt(f[s]);m=f.join(","),y=J.test(t)&&vt(e.parentNode)||e}if(m)try{return _.apply(i,y.querySelectorAll(m)),i}catch(t){}finally{u===w&&e.removeAttribute("id")}}}return l(t.replace(R,"$1"),e,i,o)}function at(){var t=[];return function e(n,o){return t.push(n+" ")>i.cacheLength&&delete e[t.shift()],e[n+" "]=o}}function st(t){return t[w]=!0,t}function lt(t){var e=h.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ct(t,e){for(var n=t.split("|"),o=n.length;o--;)i.attrHandle[n[o]]=e}function ut(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function dt(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function pt(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function ht(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ot(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ft(t){return st(function(e){return e=+e,st(function(n,i){for(var o,r=t([],n.length,e),a=r.length;a--;)n[o=r[a]]&&(n[o]=!(i[o]=n[o]))})})}function vt(t){return t&&void 0!==t.getElementsByTagName&&t}n=rt.support={},r=rt.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},p=rt.setDocument=function(t){var e,o,a=t?t.ownerDocument||t:x;return a!==h&&9===a.nodeType&&a.documentElement?(f=(h=a).documentElement,v=!r(h),x!==h&&(o=h.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",it,!1):o.attachEvent&&o.attachEvent("onunload",it)),n.attributes=lt(function(t){return t.className="i",!t.getAttribute("className")}),n.getElementsByTagName=lt(function(t){return t.appendChild(h.createComment("")),!t.getElementsByTagName("*").length}),n.getElementsByClassName=G.test(h.getElementsByClassName),n.getById=lt(function(t){return f.appendChild(t).id=w,!h.getElementsByName||!h.getElementsByName(w).length}),n.getById?(i.filter.ID=function(t){var e=t.replace(K,tt);return function(t){return t.getAttribute("id")===e}},i.find.ID=function(t,e){if(void 0!==e.getElementById&&v){var n=e.getElementById(t);return n?[n]:[]}}):(i.filter.ID=function(t){var e=t.replace(K,tt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},i.find.ID=function(t,e){if(void 0!==e.getElementById&&v){var n,i,o,r=e.getElementById(t);if(r){if((n=r.getAttributeNode("id"))&&n.value===t)return[r];for(o=e.getElementsByName(t),i=0;r=o[i++];)if((n=r.getAttributeNode("id"))&&n.value===t)return[r]}return[]}}),i.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],o=0,r=e.getElementsByTagName(t);if("*"===t){for(;n=r[o++];)1===n.nodeType&&i.push(n);return i}return r},i.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&v)return e.getElementsByClassName(t)},m=[],g=[],(n.qsa=G.test(h.querySelectorAll))&&(lt(function(t){f.appendChild(t).innerHTML="<a id='"+w+"'></a><select id='"+w+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+L+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||g.push("\\["+L+"*(?:value|"+q+")"),t.querySelectorAll("[id~="+w+"-]").length||g.push("~="),t.querySelectorAll(":checked").length||g.push(":checked"),t.querySelectorAll("a#"+w+"+*").length||g.push(".#.+[+~]")}),lt(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=h.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&g.push("name"+L+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),f.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=G.test(y=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&lt(function(t){n.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),m.push("!=",F)}),g=g.length&&new RegExp(g.join("|")),m=m.length&&new RegExp(m.join("|")),e=G.test(f.compareDocumentPosition),b=e||G.test(f.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},A=e?function(t,e){if(t===e)return d=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===i?t===h||t.ownerDocument===x&&b(x,t)?-1:e===h||e.ownerDocument===x&&b(x,e)?1:u?N(u,t)-N(u,e):0:4&i?-1:1)}:function(t,e){if(t===e)return d=!0,0;var n,i=0,o=t.parentNode,r=e.parentNode,a=[t],s=[e];if(!o||!r)return t===h?-1:e===h?1:o?-1:r?1:u?N(u,t)-N(u,e):0;if(o===r)return ut(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)s.unshift(n);for(;a[i]===s[i];)i++;return i?ut(a[i],s[i]):a[i]===x?-1:s[i]===x?1:0},h):h},rt.matches=function(t,e){return rt(t,null,null,e)},rt.matchesSelector=function(t,e){if((t.ownerDocument||t)!==h&&p(t),e=e.replace(V,"='$1']"),n.matchesSelector&&v&&!E[e+" "]&&(!m||!m.test(e))&&(!g||!g.test(e)))try{var i=y.call(t,e);if(i||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){}return rt(e,h,null,[t]).length>0},rt.contains=function(t,e){return(t.ownerDocument||t)!==h&&p(t),b(t,e)},rt.attr=function(t,e){(t.ownerDocument||t)!==h&&p(t);var o=i.attrHandle[e.toLowerCase()],r=o&&P.call(i.attrHandle,e.toLowerCase())?o(t,e,!v):void 0;return void 0!==r?r:n.attributes||!v?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},rt.escape=function(t){return(t+"").replace(et,nt)},rt.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},rt.uniqueSort=function(t){var e,i=[],o=0,r=0;if(d=!n.detectDuplicates,u=!n.sortStable&&t.slice(0),t.sort(A),d){for(;e=t[r++];)e===t[r]&&(o=i.push(r));for(;o--;)t.splice(i[o],1)}return u=null,t},o=rt.getText=function(t){var e,n="",i=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=o(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i++];)n+=o(e);return n},(i=rt.selectors={cacheLength:50,createPseudo:st,match:B,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(K,tt),t[3]=(t[3]||t[4]||t[5]||"").replace(K,tt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||rt.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&rt.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return B.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&X.test(n)&&(e=a(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(K,tt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=C[t+" "];return e||(e=new RegExp("(^|"+L+")"+t+"("+L+"|$)"))&&C(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,e,n){return function(i){var o=rt.attr(i,t);return null==o?"!="===e:!e||(o+="","="===e?o===n:"!="===e?o!==n:"^="===e?n&&0===o.indexOf(n):"*="===e?n&&o.indexOf(n)>-1:"$="===e?n&&o.slice(-n.length)===n:"~="===e?(" "+o.replace(z," ")+" ").indexOf(n)>-1:"|="===e&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,i,o){var r="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===i&&0===o?function(t){return!!t.parentNode}:function(e,n,l){var c,u,d,p,h,f,v=r!==a?"nextSibling":"previousSibling",g=e.parentNode,m=s&&e.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(g){if(r){for(;v;){for(p=e;p=p[v];)if(s?p.nodeName.toLowerCase()===m:1===p.nodeType)return!1;f=v="only"===t&&!f&&"nextSibling"}return!0}if(f=[a?g.firstChild:g.lastChild],a&&y){for(b=(h=(c=(u=(d=(p=g)[w]||(p[w]={}))[p.uniqueID]||(d[p.uniqueID]={}))[t]||[])[0]===k&&c[1])&&c[2],p=h&&g.childNodes[h];p=++h&&p&&p[v]||(b=h=0)||f.pop();)if(1===p.nodeType&&++b&&p===e){u[t]=[k,h,b];break}}else if(y&&(b=h=(c=(u=(d=(p=e)[w]||(p[w]={}))[p.uniqueID]||(d[p.uniqueID]={}))[t]||[])[0]===k&&c[1]),!1===b)for(;(p=++h&&p&&p[v]||(b=h=0)||f.pop())&&((s?p.nodeName.toLowerCase()!==m:1!==p.nodeType)||!++b||(y&&((u=(d=p[w]||(p[w]={}))[p.uniqueID]||(d[p.uniqueID]={}))[t]=[k,b]),p!==e)););return(b-=o)===i||b%i==0&&b/i>=0}}},PSEUDO:function(t,e){var n,o=i.pseudos[t]||i.setFilters[t.toLowerCase()]||rt.error("unsupported pseudo: "+t);return o[w]?o(e):o.length>1?(n=[t,t,"",e],i.setFilters.hasOwnProperty(t.toLowerCase())?st(function(t,n){for(var i,r=o(t,e),a=r.length;a--;)t[i=N(t,r[a])]=!(n[i]=r[a])}):function(t){return o(t,0,n)}):o}},pseudos:{not:st(function(t){var e=[],n=[],i=s(t.replace(R,"$1"));return i[w]?st(function(t,e,n,o){for(var r,a=i(t,null,o,[]),s=t.length;s--;)(r=a[s])&&(t[s]=!(e[s]=r))}):function(t,o,r){return e[0]=t,i(e,null,r,n),e[0]=null,!n.pop()}}),has:st(function(t){return function(e){return rt(t,e).length>0}}),contains:st(function(t){return t=t.replace(K,tt),function(e){return(e.textContent||e.innerText||o(e)).indexOf(t)>-1}}),lang:st(function(t){return Y.test(t||"")||rt.error("unsupported lang: "+t),t=t.replace(K,tt).toLowerCase(),function(e){var n;do{if(n=v?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===f},focus:function(t){return t===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:ht(!1),disabled:ht(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!i.pseudos.empty(t)},header:function(t){return U.test(t.nodeName)},input:function(t){return Q.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:ft(function(){return[0]}),last:ft(function(t,e){return[e-1]}),eq:ft(function(t,e,n){return[n<0?n+e:n]}),even:ft(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:ft(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:ft(function(t,e,n){for(var i=n<0?n+e:n;--i>=0;)t.push(i);return t}),gt:ft(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}}).pseudos.nth=i.pseudos.eq;for(e in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[e]=dt(e);for(e in{submit:!0,reset:!0})i.pseudos[e]=pt(e);function gt(){}function mt(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function yt(t,e,n){var i=e.dir,o=e.next,r=o||i,a=n&&"parentNode"===r,s=T++;return e.first?function(e,n,o){for(;e=e[i];)if(1===e.nodeType||a)return t(e,n,o);return!1}:function(e,n,l){var c,u,d,p=[k,s];if(l){for(;e=e[i];)if((1===e.nodeType||a)&&t(e,n,l))return!0}else for(;e=e[i];)if(1===e.nodeType||a)if(u=(d=e[w]||(e[w]={}))[e.uniqueID]||(d[e.uniqueID]={}),o&&o===e.nodeName.toLowerCase())e=e[i]||e;else{if((c=u[r])&&c[0]===k&&c[1]===s)return p[2]=c[2];if(u[r]=p,p[2]=t(e,n,l))return!0}return!1}}function bt(t){return t.length>1?function(e,n,i){for(var o=t.length;o--;)if(!t[o](e,n,i))return!1;return!0}:t[0]}function wt(t,e,n,i,o){for(var r,a=[],s=0,l=t.length,c=null!=e;s<l;s++)(r=t[s])&&(n&&!n(r,i,o)||(a.push(r),c&&e.push(s)));return a}function xt(t,e,n,i,o,r){return i&&!i[w]&&(i=xt(i)),o&&!o[w]&&(o=xt(o,r)),st(function(r,a,s,l){var c,u,d,p=[],h=[],f=a.length,v=r||function(t,e,n){for(var i=0,o=e.length;i<o;i++)rt(t,e[i],n);return n}(e||"*",s.nodeType?[s]:s,[]),g=!t||!r&&e?v:wt(v,p,t,s,l),m=n?o||(r?t:f||i)?[]:a:g;if(n&&n(g,m,s,l),i)for(c=wt(m,h),i(c,[],s,l),u=c.length;u--;)(d=c[u])&&(m[h[u]]=!(g[h[u]]=d));if(r){if(o||t){if(o){for(c=[],u=m.length;u--;)(d=m[u])&&c.push(g[u]=d);o(null,m=[],c,l)}for(u=m.length;u--;)(d=m[u])&&(c=o?N(r,d):p[u])>-1&&(r[c]=!(a[c]=d))}}else m=wt(m===a?m.splice(f,m.length):m),o?o(null,a,m,l):_.apply(a,m)})}function kt(t){for(var e,n,o,r=t.length,a=i.relative[t[0].type],s=a||i.relative[" "],l=a?1:0,u=yt(function(t){return t===e},s,!0),d=yt(function(t){return N(e,t)>-1},s,!0),p=[function(t,n,i){var o=!a&&(i||n!==c)||((e=n).nodeType?u(t,n,i):d(t,n,i));return e=null,o}];l<r;l++)if(n=i.relative[t[l].type])p=[yt(bt(p),n)];else{if((n=i.filter[t[l].type].apply(null,t[l].matches))[w]){for(o=++l;o<r&&!i.relative[t[o].type];o++);return xt(l>1&&bt(p),l>1&&mt(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(R,"$1"),n,l<o&&kt(t.slice(l,o)),o<r&&kt(t=t.slice(o)),o<r&&mt(t))}p.push(n)}return bt(p)}return gt.prototype=i.filters=i.pseudos,i.setFilters=new gt,a=rt.tokenize=function(t,e){var n,o,r,a,s,l,c,u=S[t+" "];if(u)return e?0:u.slice(0);for(s=t,l=[],c=i.preFilter;s;){n&&!(o=W.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(r=[])),n=!1,(o=$.exec(s))&&(n=o.shift(),r.push({value:n,type:o[0].replace(R," ")}),s=s.slice(n.length));for(a in i.filter)!(o=B[a].exec(s))||c[a]&&!(o=c[a](o))||(n=o.shift(),r.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return e?s.length:s?rt.error(t):S(t,l).slice(0)},s=rt.compile=function(t,e){var n,o,r,s,l,u,d=[],f=[],g=E[t+" "];if(!g){for(e||(e=a(t)),n=e.length;n--;)(g=kt(e[n]))[w]?d.push(g):f.push(g);(g=E(t,(o=f,s=(r=d).length>0,l=o.length>0,u=function(t,e,n,a,u){var d,f,g,m=0,y="0",b=t&&[],w=[],x=c,T=t||l&&i.find.TAG("*",u),C=k+=null==x?1:Math.random()||.1,S=T.length;for(u&&(c=e===h||e||u);y!==S&&null!=(d=T[y]);y++){if(l&&d){for(f=0,e||d.ownerDocument===h||(p(d),n=!v);g=o[f++];)if(g(d,e||h,n)){a.push(d);break}u&&(k=C)}s&&((d=!g&&d)&&m--,t&&b.push(d))}if(m+=y,s&&y!==m){for(f=0;g=r[f++];)g(b,w,e,n);if(t){if(m>0)for(;y--;)b[y]||w[y]||(w[y]=D.call(a));w=wt(w)}_.apply(a,w),u&&!t&&w.length>0&&m+r.length>1&&rt.uniqueSort(a)}return u&&(k=C,c=x),b},s?st(u):u))).selector=t}return g},l=rt.select=function(t,e,n,o){var r,l,c,u,d,p="function"==typeof t&&t,h=!o&&a(t=p.selector||t);if(n=n||[],1===h.length){if((l=h[0]=h[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===e.nodeType&&v&&i.relative[l[1].type]){if(!(e=(i.find.ID(c.matches[0].replace(K,tt),e)||[])[0]))return n;p&&(e=e.parentNode),t=t.slice(l.shift().value.length)}for(r=B.needsContext.test(t)?0:l.length;r--&&(c=l[r],!i.relative[u=c.type]);)if((d=i.find[u])&&(o=d(c.matches[0].replace(K,tt),J.test(l[0].type)&&vt(e.parentNode)||e))){if(l.splice(r,1),!(t=o.length&&mt(l)))return _.apply(n,o),n;break}}return(p||s(t,h))(o,e,!v,n,!e||J.test(t)&&vt(e.parentNode)||e),n},n.sortStable=w.split("").sort(A).join("")===w,n.detectDuplicates=!!d,p(),n.sortDetached=lt(function(t){return 1&t.compareDocumentPosition(h.createElement("fieldset"))}),lt(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||ct("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),n.attributes&&lt(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||ct("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),lt(function(t){return null==t.getAttribute("disabled")})||ct(q,function(t,e,n){var i;if(!n)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),rt}(n);w.find=E,w.expr=E.selectors,w.expr[":"]=w.expr.pseudos,w.uniqueSort=w.unique=E.uniqueSort,w.text=E.getText,w.isXMLDoc=E.isXML,w.contains=E.contains,w.escapeSelector=E.escape;var A=function(t,e,n){for(var i=[],o=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&w(t).is(n))break;i.push(t)}return i},P=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},O=w.expr.match.needsContext;function D(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var M=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)#x2F;i,_=/^.[^:#\[\.,]*#x2F;;function I(t,e,n){return w.isFunction(e)?w.grep(t,function(t,i){return!!e.call(t,i,t)!==n}):e.nodeType?w.grep(t,function(t){return t===e!==n}):"string"!=typeof e?w.grep(t,function(t){return d.call(e,t)>-1!==n}):_.test(e)?w.filter(e,t,n):(e=w.filter(e,t),w.grep(t,function(t){return d.call(e,t)>-1!==n&&1===t.nodeType}))}w.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?w.find.matchesSelector(i,t)?[i]:[]:w.find.matches(t,w.grep(e,function(t){return 1===t.nodeType}))},w.fn.extend({find:function(t){var e,n,i=this.length,o=this;if("string"!=typeof t)return this.pushStack(w(t).filter(function(){for(e=0;e<i;e++)if(w.contains(o[e],this))return!0}));for(n=this.pushStack([]),e=0;e<i;e++)w.find(t,o[e],n);return i>1?w.uniqueSort(n):n},filter:function(t){return this.pushStack(I(this,t||[],!1))},not:function(t){return this.pushStack(I(this,t||[],!0))},is:function(t){return!!I(this,"string"==typeof t&&O.test(t)?w(t):t||[],!1).length}});var N,q=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))#x2F;;(w.fn.init=function(t,e,n){var i,o;if(!t)return this;if(n=n||N,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:q.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof w?e[0]:e,w.merge(this,w.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:a,!0)),M.test(i[1])&&w.isPlainObject(e))for(i in e)w.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(o=a.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):w.isFunction(t)?void 0!==n.ready?n.ready(t):t(w):w.makeArray(t,this)}).prototype=w.fn,N=w(a);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function j(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}w.fn.extend({has:function(t){var e=w(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(w.contains(this,e[t]))return!0})},closest:function(t,e){var n,i=0,o=this.length,r=[],a="string"!=typeof t&&w(t);if(!O.test(t))for(;i<o;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&w.find.matchesSelector(n,t))){r.push(n);break}return this.pushStack(r.length>1?w.uniqueSort(r):r)},index:function(t){return t?"string"==typeof t?d.call(w(t),this[0]):d.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),w.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return A(t,"parentNode")},parentsUntil:function(t,e,n){return A(t,"parentNode",n)},next:function(t){return j(t,"nextSibling")},prev:function(t){return j(t,"previousSibling")},nextAll:function(t){return A(t,"nextSibling")},prevAll:function(t){return A(t,"previousSibling")},nextUntil:function(t,e,n){return A(t,"nextSibling",n)},prevUntil:function(t,e,n){return A(t,"previousSibling",n)},siblings:function(t){return P((t.parentNode||{}).firstChild,t)},children:function(t){return P(t.firstChild)},contents:function(t){return D(t,"iframe")?t.contentDocument:(D(t,"template")&&(t=t.content||t),w.merge([],t.childNodes))}},function(t,e){w.fn[t]=function(n,i){var o=w.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=w.filter(i,o)),this.length>1&&(H[t]||w.uniqueSort(o),L.test(t)&&o.reverse()),this.pushStack(o)}});var F=/[^\x20\t\r\n\f]+/g;function z(t){return t}function R(t){throw t}function W(t,e,n,i){var o;try{t&&w.isFunction(o=t.promise)?o.call(t).done(e).fail(n):t&&w.isFunction(o=t.then)?o.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}w.Callbacks=function(t){var e,n;t="string"==typeof t?(e=t,n={},w.each(e.match(F)||[],function(t,e){n[e]=!0}),n):w.extend({},t);var i,o,r,a,s=[],l=[],c=-1,u=function(){for(a=a||t.once,r=i=!0;l.length;c=-1)for(o=l.shift();++c<s.length;)!1===s[c].apply(o[0],o[1])&&t.stopOnFalse&&(c=s.length,o=!1);t.memory||(o=!1),i=!1,a&&(s=o?[]:"")},d={add:function(){return s&&(o&&!i&&(c=s.length-1,l.push(o)),function e(n){w.each(n,function(n,i){w.isFunction(i)?t.unique&&d.has(i)||s.push(i):i&&i.length&&"string"!==w.type(i)&&e(i)})}(arguments),o&&!i&&u()),this},remove:function(){return w.each(arguments,function(t,e){for(var n;(n=w.inArray(e,s,n))>-1;)s.splice(n,1),n<=c&&c--}),this},has:function(t){return t?w.inArray(t,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return a=l=[],s=o="",this},disabled:function(){return!s},lock:function(){return a=l=[],o||i||(s=o=""),this},locked:function(){return!!a},fireWith:function(t,e){return a||(e=[t,(e=e||[]).slice?e.slice():e],l.push(e),i||u()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!r}};return d},w.extend({Deferred:function(t){var e=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],i="pending",o={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},catch:function(t){return o.then(null,t)},pipe:function(){var t=arguments;return w.Deferred(function(n){w.each(e,function(e,i){var o=w.isFunction(t[i[4]])&&t[i[4]];r[i[1]](function(){var t=o&&o.apply(this,arguments);t&&w.isFunction(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,o?[t]:arguments)})}),t=null}).promise()},then:function(t,i,o){var r=0;function a(t,e,i,o){return function(){var s=this,l=arguments,c=function(){var n,c;if(!(t<r)){if((n=i.apply(s,l))===e.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,w.isFunction(c)?o?c.call(n,a(r,e,z,o),a(r,e,R,o)):(r++,c.call(n,a(r,e,z,o),a(r,e,R,o),a(r,e,z,e.notifyWith))):(i!==z&&(s=void 0,l=[n]),(o||e.resolveWith)(s,l))}},u=o?c:function(){try{c()}catch(n){w.Deferred.exceptionHook&&w.Deferred.exceptionHook(n,u.stackTrace),t+1>=r&&(i!==R&&(s=void 0,l=[n]),e.rejectWith(s,l))}};t?u():(w.Deferred.getStackHook&&(u.stackTrace=w.Deferred.getStackHook()),n.setTimeout(u))}}return w.Deferred(function(n){e[0][3].add(a(0,n,w.isFunction(o)?o:z,n.notifyWith)),e[1][3].add(a(0,n,w.isFunction(t)?t:z)),e[2][3].add(a(0,n,w.isFunction(i)?i:R))}).promise()},promise:function(t){return null!=t?w.extend(t,o):o}},r={};return w.each(e,function(t,n){var a=n[2],s=n[5];o[n[1]]=a.add,s&&a.add(function(){i=s},e[3-t][2].disable,e[0][2].lock),a.add(n[3].fire),r[n[0]]=function(){return r[n[0]+"With"](this===r?void 0:this,arguments),this},r[n[0]+"With"]=a.fireWith}),o.promise(r),t&&t.call(r,r),r},when:function(t){var e=arguments.length,n=e,i=Array(n),o=l.call(arguments),r=w.Deferred(),a=function(t){return function(n){i[t]=this,o[t]=arguments.length>1?l.call(arguments):n,--e||r.resolveWith(i,o)}};if(e<=1&&(W(t,r.done(a(n)).resolve,r.reject,!e),"pending"===r.state()||w.isFunction(o[n]&&o[n].then)))return r.then();for(;n--;)W(o[n],a(n),r.reject);return r.promise()}});var $=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error#x2F;;w.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&$.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},w.readyException=function(t){n.setTimeout(function(){throw t})};var V=w.Deferred();function X(){a.removeEventListener("DOMContentLoaded",X),n.removeEventListener("load",X),w.ready()}w.fn.ready=function(t){return V.then(t).catch(function(t){w.readyException(t)}),this},w.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--w.readyWait:w.isReady)||(w.isReady=!0,!0!==t&&--w.readyWait>0||V.resolveWith(a,[w]))}}),w.ready.then=V.then,"complete"===a.readyState||"loading"!==a.readyState&&!a.documentElement.doScroll?n.setTimeout(w.ready):(a.addEventListener("DOMContentLoaded",X),n.addEventListener("load",X));var Y=function(t,e,n,i,o,r,a){var s=0,l=t.length,c=null==n;if("object"===w.type(n)){o=!0;for(s in n)Y(t,e,s,n[s],!0,r,a)}else if(void 0!==i&&(o=!0,w.isFunction(i)||(a=!0),c&&(a?(e.call(t,i),e=null):(c=e,e=function(t,e,n){return c.call(w(t),n)})),e))for(;s<l;s++)e(t[s],n,a?i:i.call(t[s],s,e(t[s],n)));return o?t:c?e.call(t):l?e(t[0],n):r},B=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function Q(){this.expando=w.expando+Q.uid++}Q.uid=1,Q.prototype={cache:function(t){var e=t[this.expando];return e||(e={},B(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,o=this.cache(t);if("string"==typeof e)o[w.camelCase(e)]=n;else for(i in e)o[w.camelCase(i)]=e[i];return o},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][w.camelCase(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i=t[this.expando];if(void 0!==i){if(void 0!==e){n=(e=Array.isArray(e)?e.map(w.camelCase):(e=w.camelCase(e))in i?[e]:e.match(F)||[]).length;for(;n--;)delete i[e[n]]}(void 0===e||w.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!w.isEmptyObject(e)}};var U=new Q,G=new Q,Z=/^(?:\{[\w\W]*\}|\[[\w\W]*\])#x2F;,J=/[A-Z]/g;function K(t,e,n){var i,o;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(J,"-amp;").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n="true"===(o=n)||"false"!==o&&("null"===o?null:o===+o+""?+o:Z.test(o)?JSON.parse(o):o)}catch(t){}G.set(t,e,n)}else n=void 0;return n}w.extend({hasData:function(t){return G.hasData(t)||U.hasData(t)},data:function(t,e,n){return G.access(t,e,n)},removeData:function(t,e){G.remove(t,e)},_data:function(t,e,n){return U.access(t,e,n)},_removeData:function(t,e){U.remove(t,e)}}),w.fn.extend({data:function(t,e){var n,i,o,r=this[0],a=r&&r.attributes;if(void 0===t){if(this.length&&(o=G.get(r),1===r.nodeType&&!U.get(r,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(i=a[n].name).indexOf("data-")&&(i=w.camelCase(i.slice(5)),K(r,i,o[i]));U.set(r,"hasDataAttrs",!0)}return o}return"object"==typeof t?this.each(function(){G.set(this,t)}):Y(this,function(e){var n;if(r&&void 0===e)return void 0!==(n=G.get(r,t))?n:void 0!==(n=K(r,t))?n:void 0;this.each(function(){G.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){G.remove(this,t)})}}),w.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=U.get(t,e),n&&(!i||Array.isArray(n)?i=U.access(t,e,w.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=w.queue(t,e),i=n.length,o=n.shift(),r=w._queueHooks(t,e);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===e&&n.unshift("inprogress"),delete r.stop,o.call(t,function(){w.dequeue(t,e)},r)),!i&&r&&r.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return U.get(t,n)||U.access(t,n,{empty:w.Callbacks("once memory").add(function(){U.remove(t,[e+"queue",n])})})}}),w.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?w.queue(this[0],t):void 0===e?this:this.each(function(){var n=w.queue(this,t,e);w._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&w.dequeue(this,t)})},dequeue:function(t){return this.each(function(){w.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,o=w.Deferred(),r=this,a=this.length,s=function(){--i||o.resolveWith(r,[r])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=U.get(r[a],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),o.promise(e)}});var tt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,et=new RegExp("^(?:([+-])=|)("+tt+")([a-z%]*)quot;,"i"),nt=["Top","Right","Bottom","Left"],it=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&w.contains(t.ownerDocument,t)&&"none"===w.css(t,"display")},ot=function(t,e,n,i){var o,r,a={};for(r in e)a[r]=t.style[r],t.style[r]=e[r];o=n.apply(t,i||[]);for(r in e)t.style[r]=a[r];return o};function rt(t,e,n,i){var o,r=1,a=20,s=i?function(){return i.cur()}:function(){return w.css(t,e,"")},l=s(),c=n&&n[3]||(w.cssNumber[e]?"":"px"),u=(w.cssNumber[e]||"px"!==c&&+l)&&et.exec(w.css(t,e));if(u&&u[3]!==c){c=c||u[3],n=n||[],u=+l||1;do{u/=r=r||".5",w.style(t,e,u+c)}while(r!==(r=s()/l)&&1!==r&&--a)}return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=o)),o}var at={};function st(t,e){for(var n,i,o,r,a,s,l,c=[],u=0,d=t.length;u<d;u++)(i=t[u]).style&&(n=i.style.display,e?("none"===n&&(c[u]=U.get(i,"display")||null,c[u]||(i.style.display="")),""===i.style.display&&it(i)&&(c[u]=(r=void 0,a=void 0,void 0,l=void 0,a=(o=i).ownerDocument,s=o.nodeName,(l=at[s])||(r=a.body.appendChild(a.createElement(s)),l=w.css(r,"display"),r.parentNode.removeChild(r),"none"===l&&(l="block"),at[s]=l,l)))):"none"!==n&&(c[u]="none",U.set(i,"display",n)));for(u=0;u<d;u++)null!=c[u]&&(t[u].style.display=c[u]);return t}w.fn.extend({show:function(){return st(this,!0)},hide:function(){return st(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){it(this)?w(this).show():w(this).hide()})}});var lt=/^(?:checkbox|radio)#x2F;i,ct=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,ut=/^$|\/(?:java|ecma)script/i,dt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function pt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&D(t,e)?w.merge([t],n):n}function ht(t,e){for(var n=0,i=t.length;n<i;n++)U.set(t[n],"globalEval",!e||U.get(e[n],"globalEval"))}dt.optgroup=dt.option,dt.tbody=dt.tfoot=dt.colgroup=dt.caption=dt.thead,dt.th=dt.td;var ft,vt,gt=/<|&#?\w+;/;function mt(t,e,n,i,o){for(var r,a,s,l,c,u,d=e.createDocumentFragment(),p=[],h=0,f=t.length;h<f;h++)if((r=t[h])||0===r)if("object"===w.type(r))w.merge(p,r.nodeType?[r]:r);else if(gt.test(r)){for(a=a||d.appendChild(e.createElement("div")),s=(ct.exec(r)||["",""])[1].toLowerCase(),l=dt[s]||dt._default,a.innerHTML=l[1]+w.htmlPrefilter(r)+l[2],u=l[0];u--;)a=a.lastChild;w.merge(p,a.childNodes),(a=d.firstChild).textContent=""}else p.push(e.createTextNode(r));for(d.textContent="",h=0;r=p[h++];)if(i&&w.inArray(r,i)>-1)o&&o.push(r);else if(c=w.contains(r.ownerDocument,r),a=pt(d.appendChild(r),"script"),c&&ht(a),n)for(u=0;r=a[u++];)ut.test(r.type||"")&&n.push(r);return d}ft=a.createDocumentFragment().appendChild(a.createElement("div")),(vt=a.createElement("input")).setAttribute("type","radio"),vt.setAttribute("checked","checked"),vt.setAttribute("name","t"),ft.appendChild(vt),m.checkClone=ft.cloneNode(!0).cloneNode(!0).lastChild.checked,ft.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!ft.cloneNode(!0).lastChild.defaultValue;var yt=a.documentElement,bt=/^key/,wt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,xt=/^([^.]*)(?:\.(.+)|)/;function kt(){return!0}function Tt(){return!1}function Ct(){try{return a.activeElement}catch(t){}}function St(t,e,n,i,o,r){var a,s;if("object"==typeof e){"string"!=typeof n&&(i=i||n,n=void 0);for(s in e)St(t,s,n,i,e[s],r);return t}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=Tt;else if(!o)return t;return 1===r&&(a=o,(o=function(t){return w().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=w.guid++)),t.each(function(){w.event.add(this,e,o,i,n)})}w.event={global:{},add:function(t,e,n,i,o){var r,a,s,l,c,u,d,p,h,f,v,g=U.get(t);if(g)for(n.handler&&(n=(r=n).handler,o=r.selector),o&&w.find.matchesSelector(yt,o),n.guid||(n.guid=w.guid++),(l=g.events)||(l=g.events={}),(a=g.handle)||(a=g.handle=function(e){return void 0!==w&&w.event.triggered!==e.type?w.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(F)||[""]).length;c--;)h=v=(s=xt.exec(e[c])||[])[1],f=(s[2]||"").split(".").sort(),h&&(d=w.event.special[h]||{},h=(o?d.delegateType:d.bindType)||h,d=w.event.special[h]||{},u=w.extend({type:h,origType:v,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&w.expr.match.needsContext.test(o),namespace:f.join(".")},r),(p=l[h])||((p=l[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,i,f,a)||t.addEventListener&&t.addEventListener(h,a)),d.add&&(d.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,u):p.push(u),w.event.global[h]=!0)},remove:function(t,e,n,i,o){var r,a,s,l,c,u,d,p,h,f,v,g=U.hasData(t)&&U.get(t);if(g&&(l=g.events)){for(c=(e=(e||"").match(F)||[""]).length;c--;)if(h=v=(s=xt.exec(e[c])||[])[1],f=(s[2]||"").split(".").sort(),h){for(d=w.event.special[h]||{},p=l[h=(i?d.delegateType:d.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=r=p.length;r--;)u=p[r],!o&&v!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(p.splice(r,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(t,u));a&&!p.length&&(d.teardown&&!1!==d.teardown.call(t,f,g.handle)||w.removeEvent(t,h,g.handle),delete l[h])}else for(h in l)w.event.remove(t,h+e[c],n,i,!0);w.isEmptyObject(l)&&U.remove(t,"handle events")}},dispatch:function(t){var e,n,i,o,r,a,s=w.event.fix(t),l=new Array(arguments.length),c=(U.get(this,"events")||{})[s.type]||[],u=w.event.special[s.type]||{};for(l[0]=s,e=1;e<arguments.length;e++)l[e]=arguments[e];if(s.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,s)){for(a=w.event.handlers.call(this,s,c),e=0;(o=a[e++])&&!s.isPropagationStopped();)for(s.currentTarget=o.elem,n=0;(r=o.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(r.namespace)||(s.handleObj=r,s.data=r.data,void 0!==(i=((w.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,l))&&!1===(s.result=i)&&(s.preventDefault(),s.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,s),s.result}},handlers:function(t,e){var n,i,o,r,a,s=[],l=e.delegateCount,c=t.target;if(l&&c.nodeType&&!("click"===t.type&&t.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(r=[],a={},n=0;n<l;n++)void 0===a[o=(i=e[n]).selector+" "]&&(a[o]=i.needsContext?w(o,this).index(c)>-1:w.find(o,this,null,[c]).length),a[o]&&r.push(i);r.length&&s.push({elem:c,handlers:r})}return c=this,l<e.length&&s.push({elem:c,handlers:e.slice(l)}),s},addProp:function(t,e){Object.defineProperty(w.Event.prototype,t,{enumerable:!0,configurable:!0,get:w.isFunction(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[w.expando]?t:new w.Event(t)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Ct()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===Ct()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&D(this,"input"))return this.click(),!1},_default:function(t){return D(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},w.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},w.Event=function(t,e){if(!(this instanceof w.Event))return new w.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?kt:Tt,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&w.extend(this,e),this.timeStamp=t&&t.timeStamp||w.now(),this[w.expando]=!0},w.Event.prototype={constructor:w.Event,isDefaultPrevented:Tt,isPropagationStopped:Tt,isImmediatePropagationStopped:Tt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=kt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=kt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=kt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},w.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&bt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&wt.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},w.event.addProp),w.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){w.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=t.relatedTarget,o=t.handleObj;return i&&(i===this||w.contains(this,i))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),w.fn.extend({on:function(t,e,n,i){return St(this,t,e,n,i)},one:function(t,e,n,i){return St(this,t,e,n,i,1)},off:function(t,e,n){var i,o;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,w(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(o in t)this.off(o,e,t[o]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=Tt),this.each(function(){w.event.remove(this,t,n,e)})}});var Et=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,At=/<script|<style|<link/i,Pt=/checked\s*(?:[^=]|=\s*.checked.)/i,Ot=/^true\/(.*)/,Dt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*#x2F;g;function Mt(t,e){return D(t,"table")&&D(11!==e.nodeType?e:e.firstChild,"tr")&&w(">tbody",t)[0]||t}function _t(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function It(t){var e=Ot.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function Nt(t,e){var n,i,o,r,a,s,l,c;if(1===e.nodeType){if(U.hasData(t)&&(r=U.access(t),a=U.set(e,r),c=r.events)){delete a.handle,a.events={};for(o in c)for(n=0,i=c[o].length;n<i;n++)w.event.add(e,o,c[o][n])}G.hasData(t)&&(s=G.access(t),l=w.extend({},s),G.set(e,l))}}function qt(t,e,n,i){e=c.apply([],e);var o,r,a,s,l,u,d=0,p=t.length,h=p-1,f=e[0],v=w.isFunction(f);if(v||p>1&&"string"==typeof f&&!m.checkClone&&Pt.test(f))return t.each(function(o){var r=t.eq(o);v&&(e[0]=f.call(this,o,r.html())),qt(r,e,n,i)});if(p&&(r=(o=mt(e,t[0].ownerDocument,!1,t,i)).firstChild,1===o.childNodes.length&&(o=r),r||i)){for(s=(a=w.map(pt(o,"script"),_t)).length;d<p;d++)l=o,d!==h&&(l=w.clone(l,!0,!0),s&&w.merge(a,pt(l,"script"))),n.call(t[d],l,d);if(s)for(u=a[a.length-1].ownerDocument,w.map(a,It),d=0;d<s;d++)l=a[d],ut.test(l.type||"")&&!U.access(l,"globalEval")&&w.contains(u,l)&&(l.src?w._evalUrl&&w._evalUrl(l.src):y(l.textContent.replace(Dt,""),u))}return t}function Lt(t,e,n){for(var i,o=e?w.filter(e,t):t,r=0;null!=(i=o[r]);r++)n||1!==i.nodeType||w.cleanData(pt(i)),i.parentNode&&(n&&w.contains(i.ownerDocument,i)&&ht(pt(i,"script")),i.parentNode.removeChild(i));return t}w.extend({htmlPrefilter:function(t){return t.replace(Et,"<$1></$2>")},clone:function(t,e,n){var i,o,r,a,s,l,c,u=t.cloneNode(!0),d=w.contains(t.ownerDocument,t);if(!(m.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||w.isXMLDoc(t)))for(a=pt(u),i=0,o=(r=pt(t)).length;i<o;i++)s=r[i],l=a[i],void 0,"input"===(c=l.nodeName.toLowerCase())&&lt.test(s.type)?l.checked=s.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=s.defaultValue);if(e)if(n)for(r=r||pt(t),a=a||pt(u),i=0,o=r.length;i<o;i++)Nt(r[i],a[i]);else Nt(t,u);return(a=pt(u,"script")).length>0&&ht(a,!d&&pt(t,"script")),u},cleanData:function(t){for(var e,n,i,o=w.event.special,r=0;void 0!==(n=t[r]);r++)if(B(n)){if(e=n[U.expando]){if(e.events)for(i in e.events)o[i]?w.event.remove(n,i):w.removeEvent(n,i,e.handle);n[U.expando]=void 0}n[G.expando]&&(n[G.expando]=void 0)}}}),w.fn.extend({detach:function(t){return Lt(this,t,!0)},remove:function(t){return Lt(this,t)},text:function(t){return Y(this,function(t){return void 0===t?w.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return qt(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Mt(this,t).appendChild(t)})},prepend:function(){return qt(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Mt(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return qt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return qt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(w.cleanData(pt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return w.clone(this,t,e)})},html:function(t){return Y(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!At.test(t)&&!dt[(ct.exec(t)||["",""])[1].toLowerCase()]){t=w.htmlPrefilter(t);try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(w.cleanData(pt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return qt(this,arguments,function(e){var n=this.parentNode;w.inArray(this,t)<0&&(w.cleanData(pt(this)),n&&n.replaceChild(e,this))},t)}}),w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){w.fn[t]=function(t){for(var n,i=[],o=w(t),r=o.length-1,a=0;a<=r;a++)n=a===r?this:this.clone(!0),w(o[a])[e](n),u.apply(i,n.get());return this.pushStack(i)}});var Ht=/^margin/,jt=new RegExp("^("+tt+")(?!px)[a-z%]+quot;,"i"),Ft=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)};function zt(t,e,n){var i,o,r,a,s=t.style;return(n=n||Ft(t))&&(""!==(a=n.getPropertyValue(e)||n[e])||w.contains(t.ownerDocument,t)||(a=w.style(t,e)),!m.pixelMarginRight()&&jt.test(a)&&Ht.test(e)&&(i=s.width,o=s.minWidth,r=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=o,s.maxWidth=r)),void 0!==a?a+"":a}function Rt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(l){l.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",l.innerHTML="",yt.appendChild(s);var t=n.getComputedStyle(l);e="1%"!==t.top,r="2px"===t.marginLeft,i="4px"===t.width,l.style.marginRight="50%",o="4px"===t.marginRight,yt.removeChild(s),l=null}}var e,i,o,r,s=a.createElement("div"),l=a.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===l.style.backgroundClip,s.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",s.appendChild(l),w.extend(m,{pixelPosition:function(){return t(),e},boxSizingReliable:function(){return t(),i},pixelMarginRight:function(){return t(),o},reliableMarginLeft:function(){return t(),r}}))}();var Wt=/^(none|table(?!-c[ea]).+)/,$t=/^--/,Vt={position:"absolute",visibility:"hidden",display:"block"},Xt={letterSpacing:"0",fontWeight:"400"},Yt=["Webkit","Moz","ms"],Bt=a.createElement("div").style;function Qt(t){var e=w.cssProps[t];return e||(e=w.cssProps[t]=function(t){if(t in Bt)return t;for(var e=t[0].toUpperCase()+t.slice(1),n=Yt.length;n--;)if((t=Yt[n]+e)in Bt)return t}(t)||t),e}function Ut(t,e,n){var i=et.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function Gt(t,e,n,i,o){var r,a=0;for(r=n===(i?"border":"content")?4:"width"===e?1:0;r<4;r+=2)"margin"===n&&(a+=w.css(t,n+nt[r],!0,o)),i?("content"===n&&(a-=w.css(t,"padding"+nt[r],!0,o)),"margin"!==n&&(a-=w.css(t,"border"+nt[r]+"Width",!0,o))):(a+=w.css(t,"padding"+nt[r],!0,o),"padding"!==n&&(a+=w.css(t,"border"+nt[r]+"Width",!0,o)));return a}function Zt(t,e,n){var i,o=Ft(t),r=zt(t,e,o),a="border-box"===w.css(t,"boxSizing",!1,o);return jt.test(r)?r:(i=a&&(m.boxSizingReliable()||r===t.style[e]),"auto"===r&&(r=t["offset"+e[0].toUpperCase()+e.slice(1)]),(r=parseFloat(r)||0)+Gt(t,e,n||(a?"border":"content"),i,o)+"px")}function Jt(t,e,n,i,o){return new Jt.prototype.init(t,e,n,i,o)}w.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=zt(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,r,a,s=w.camelCase(e),l=$t.test(e),c=t.style;if(l||(e=Qt(s)),a=w.cssHooks[e]||w.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(t,!1,i))?o:c[e];"string"===(r=typeof n)&&(o=et.exec(n))&&o[1]&&(n=rt(t,e,o),r="number"),null!=n&&n==n&&("number"===r&&(n+=o&&o[3]||(w.cssNumber[s]?"":"px")),m.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,i))||(l?c.setProperty(e,n):c[e]=n))}},css:function(t,e,n,i){var o,r,a,s=w.camelCase(e);return $t.test(e)||(e=Qt(s)),(a=w.cssHooks[e]||w.cssHooks[s])&&"get"in a&&(o=a.get(t,!0,n)),void 0===o&&(o=zt(t,e,i)),"normal"===o&&e in Xt&&(o=Xt[e]),""===n||n?(r=parseFloat(o),!0===n||isFinite(r)?r||0:o):o}}),w.each(["height","width"],function(t,e){w.cssHooks[e]={get:function(t,n,i){if(n)return!Wt.test(w.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?Zt(t,e,i):ot(t,Vt,function(){return Zt(t,e,i)})},set:function(t,n,i){var o,r=i&&Ft(t),a=i&&Gt(t,e,i,"border-box"===w.css(t,"boxSizing",!1,r),r);return a&&(o=et.exec(n))&&"px"!==(o[3]||"px")&&(t.style[e]=n,n=w.css(t,e)),Ut(0,n,a)}}}),w.cssHooks.marginLeft=Rt(m.reliableMarginLeft,function(t,e){if(e)return(parseFloat(zt(t,"marginLeft"))||t.getBoundingClientRect().left-ot(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),w.each({margin:"",padding:"",border:"Width"},function(t,e){w.cssHooks[t+e]={expand:function(n){for(var i=0,o={},r="string"==typeof n?n.split(" "):[n];i<4;i++)o[t+nt[i]+e]=r[i]||r[i-2]||r[0];return o}},Ht.test(t)||(w.cssHooks[t+e].set=Ut)}),w.fn.extend({css:function(t,e){return Y(this,function(t,e,n){var i,o,r={},a=0;if(Array.isArray(e)){for(i=Ft(t),o=e.length;a<o;a++)r[e[a]]=w.css(t,e[a],!1,i);return r}return void 0!==n?w.style(t,e,n):w.css(t,e)},t,e,arguments.length>1)}}),w.Tween=Jt,Jt.prototype={constructor:Jt,init:function(t,e,n,i,o,r){this.elem=t,this.prop=n,this.easing=o||w.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=r||(w.cssNumber[n]?"":"px")},cur:function(){var t=Jt.propHooks[this.prop];return t&&t.get?t.get(this):Jt.propHooks._default.get(this)},run:function(t){var e,n=Jt.propHooks[this.prop];return this.options.duration?this.pos=e=w.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Jt.propHooks._default.set(this),this}},Jt.prototype.init.prototype=Jt.prototype,Jt.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=w.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){w.fx.step[t.prop]?w.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[w.cssProps[t.prop]]&&!w.cssHooks[t.prop]?t.elem[t.prop]=t.now:w.style(t.elem,t.prop,t.now+t.unit)}}},Jt.propHooks.scrollTop=Jt.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},w.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},w.fx=Jt.prototype.init,w.fx.step={};var Kt,te,ee,ne,ie=/^(?:toggle|show|hide)#x2F;,oe=/queueHooks#x2F;;function re(){te&&(!1===a.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(re):n.setTimeout(re,w.fx.interval),w.fx.tick())}function ae(){return n.setTimeout(function(){Kt=void 0}),Kt=w.now()}function se(t,e){var n,i=0,o={height:t};for(e=e?1:0;i<4;i+=2-e)o["margin"+(n=nt[i])]=o["padding"+n]=t;return e&&(o.opacity=o.width=t),o}function le(t,e,n){for(var i,o=(ce.tweeners[e]||[]).concat(ce.tweeners["*"]),r=0,a=o.length;r<a;r++)if(i=o[r].call(n,e,t))return i}function ce(t,e,n){var i,o,r=0,a=ce.prefilters.length,s=w.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var e=Kt||ae(),n=Math.max(0,c.startTime+c.duration-e),i=1-(n/c.duration||0),r=0,a=c.tweens.length;r<a;r++)c.tweens[r].run(i);return s.notifyWith(t,[c,i,n]),i<1&&a?n:(a||s.notifyWith(t,[c,1,0]),s.resolveWith(t,[c]),!1)},c=s.promise({elem:t,props:w.extend({},e),opts:w.extend(!0,{specialEasing:{},easing:w.easing._default},n),originalProperties:e,originalOptions:n,startTime:Kt||ae(),duration:n.duration,tweens:[],createTween:function(e,n){var i=w.Tween(t,c.opts,e,n,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(i),i},stop:function(e){var n=0,i=e?c.tweens.length:0;if(o)return this;for(o=!0;n<i;n++)c.tweens[n].run(1);return e?(s.notifyWith(t,[c,1,0]),s.resolveWith(t,[c,e])):s.rejectWith(t,[c,e]),this}}),u=c.props;for(!function(t,e){var n,i,o,r,a;for(n in t)if(o=e[i=w.camelCase(n)],r=t[n],Array.isArray(r)&&(o=r[1],r=t[n]=r[0]),n!==i&&(t[i]=r,delete t[n]),(a=w.cssHooks[i])&&"expand"in a){r=a.expand(r),delete t[i];for(n in r)n in t||(t[n]=r[n],e[n]=o)}else e[i]=o}(u,c.opts.specialEasing);r<a;r++)if(i=ce.prefilters[r].call(c,t,u,c.opts))return w.isFunction(i.stop)&&(w._queueHooks(c.elem,c.opts.queue).stop=w.proxy(i.stop,i)),i;return w.map(u,le,c),w.isFunction(c.opts.start)&&c.opts.start.call(t,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),w.fx.timer(w.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c}w.Animation=w.extend(ce,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return rt(n.elem,t,et.exec(e),n),n}]},tweener:function(t,e){w.isFunction(t)?(e=t,t=["*"]):t=t.match(F);for(var n,i=0,o=t.length;i<o;i++)n=t[i],ce.tweeners[n]=ce.tweeners[n]||[],ce.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var i,o,r,a,s,l,c,u,d="width"in e||"height"in e,p=this,h={},f=t.style,v=t.nodeType&&it(t),g=U.get(t,"fxshow");n.queue||(null==(a=w._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,w.queue(t,"fx").length||a.empty.fire()})}));for(i in e)if(o=e[i],ie.test(o)){if(delete e[i],r=r||"toggle"===o,o===(v?"hide":"show")){if("show"!==o||!g||void 0===g[i])continue;v=!0}h[i]=g&&g[i]||w.style(t,i)}if((l=!w.isEmptyObject(e))||!w.isEmptyObject(h)){d&&1===t.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=g&&g.display)&&(c=U.get(t,"display")),"none"===(u=w.css(t,"display"))&&(c?u=c:(st([t],!0),c=t.style.display||c,u=w.css(t,"display"),st([t]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===w.css(t,"float")&&(l||(p.done(function(){f.display=c}),null==c&&(u=f.display,c="none"===u?"":u)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",p.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]})),l=!1;for(i in h)l||(g?"hidden"in g&&(v=g.hidden):g=U.access(t,"fxshow",{display:c}),r&&(g.hidden=!v),v&&st([t],!0),p.done(function(){v||st([t]),U.remove(t,"fxshow");for(i in h)w.style(t,i,h[i])})),l=le(v?g[i]:0,i,p),i in g||(g[i]=l.start,v&&(l.end=l.start,l.start=0))}}],prefilter:function(t,e){e?ce.prefilters.unshift(t):ce.prefilters.push(t)}}),w.speed=function(t,e,n){var i=t&&"object"==typeof t?w.extend({},t):{complete:n||!n&&e||w.isFunction(t)&&t,duration:t,easing:n&&e||e&&!w.isFunction(e)&&e};return w.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in w.fx.speeds?i.duration=w.fx.speeds[i.duration]:i.duration=w.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){w.isFunction(i.old)&&i.old.call(this),i.queue&&w.dequeue(this,i.queue)},i},w.fn.extend({fadeTo:function(t,e,n,i){return this.filter(it).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var o=w.isEmptyObject(t),r=w.speed(e,n,i),a=function(){var e=ce(this,w.extend({},t),r);(o||U.get(this,"finish"))&&e.stop(!0)};return a.finish=a,o||!1===r.queue?this.each(a):this.queue(r.queue,a)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&!1!==t&&this.queue(t||"fx",[]),this.each(function(){var e=!0,o=null!=t&&t+"queueHooks",r=w.timers,a=U.get(this);if(o)a[o]&&a[o].stop&&i(a[o]);else for(o in a)a[o]&&a[o].stop&&oe.test(o)&&i(a[o]);for(o=r.length;o--;)r[o].elem!==this||null!=t&&r[o].queue!==t||(r[o].anim.stop(n),e=!1,r.splice(o,1));!e&&n||w.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=U.get(this),i=n[t+"queue"],o=n[t+"queueHooks"],r=w.timers,a=i?i.length:0;for(n.finish=!0,w.queue(this,t,[]),o&&o.stop&&o.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===t&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;e<a;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),w.each(["toggle","show","hide"],function(t,e){var n=w.fn[e];w.fn[e]=function(t,i,o){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(se(e,!0),t,i,o)}}),w.each({slideDown:se("show"),slideUp:se("hide"),slideToggle:se("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){w.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),w.timers=[],w.fx.tick=function(){var t,e=0,n=w.timers;for(Kt=w.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||w.fx.stop(),Kt=void 0},w.fx.timer=function(t){w.timers.push(t),w.fx.start()},w.fx.interval=13,w.fx.start=function(){te||(te=!0,re())},w.fx.stop=function(){te=null},w.fx.speeds={slow:600,fast:200,_default:400},w.fn.delay=function(t,e){return t=w.fx&&w.fx.speeds[t]||t,e=e||"fx",this.queue(e,function(e,i){var o=n.setTimeout(e,t);i.stop=function(){n.clearTimeout(o)}})},ee=a.createElement("input"),ne=a.createElement("select").appendChild(a.createElement("option")),ee.type="checkbox",m.checkOn=""!==ee.value,m.optSelected=ne.selected,(ee=a.createElement("input")).value="t",ee.type="radio",m.radioValue="t"===ee.value;var ue,de=w.expr.attrHandle;w.fn.extend({attr:function(t,e){return Y(this,w.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){w.removeAttr(this,t)})}}),w.extend({attr:function(t,e,n){var i,o,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===t.getAttribute?w.prop(t,e,n):(1===r&&w.isXMLDoc(t)||(o=w.attrHooks[e.toLowerCase()]||(w.expr.match.bool.test(e)?ue:void 0)),void 0!==n?null===n?void w.removeAttr(t,e):o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:(t.setAttribute(e,n+""),n):o&&"get"in o&&null!==(i=o.get(t,e))?i:null==(i=w.find.attr(t,e))?void 0:i)},attrHooks:{type:{set:function(t,e){if(!m.radioValue&&"radio"===e&&D(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,o=e&&e.match(F);if(o&&1===t.nodeType)for(;n=o[i++];)t.removeAttribute(n)}}),ue={set:function(t,e,n){return!1===e?w.removeAttr(t,n):t.setAttribute(n,n),n}},w.each(w.expr.match.bool.source.match(/\w+/g),function(t,e){var n=de[e]||w.find.attr;de[e]=function(t,e,i){var o,r,a=e.toLowerCase();return i||(r=de[a],de[a]=o,o=null!=n(t,e,i)?a:null,de[a]=r),o}});var pe=/^(?:input|select|textarea|button)#x2F;i,he=/^(?:a|area)#x2F;i;function fe(t){return(t.match(F)||[]).join(" ")}function ve(t){return t.getAttribute&&t.getAttribute("class")||""}w.fn.extend({prop:function(t,e){return Y(this,w.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[w.propFix[t]||t]})}}),w.extend({prop:function(t,e,n){var i,o,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&w.isXMLDoc(t)||(e=w.propFix[e]||e,o=w.propHooks[e]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:t[e]=n:o&&"get"in o&&null!==(i=o.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=w.find.attr(t,"tabindex");return e?parseInt(e,10):pe.test(t.nodeName)||he.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(w.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this}),w.fn.extend({addClass:function(t){var e,n,i,o,r,a,s,l=0;if(w.isFunction(t))return this.each(function(e){w(this).addClass(t.call(this,e,ve(this)))});if("string"==typeof t&&t)for(e=t.match(F)||[];n=this[l++];)if(o=ve(n),i=1===n.nodeType&&" "+fe(o)+" "){for(a=0;r=e[a++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");o!==(s=fe(i))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,i,o,r,a,s,l=0;if(w.isFunction(t))return this.each(function(e){w(this).removeClass(t.call(this,e,ve(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(F)||[];n=this[l++];)if(o=ve(n),i=1===n.nodeType&&" "+fe(o)+" "){for(a=0;r=e[a++];)for(;i.indexOf(" "+r+" ")>-1;)i=i.replace(" "+r+" "," ");o!==(s=fe(i))&&n.setAttribute("class",s)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):w.isFunction(t)?this.each(function(n){w(this).toggleClass(t.call(this,n,ve(this),e),e)}):this.each(function(){var e,i,o,r;if("string"===n)for(i=0,o=w(this),r=t.match(F)||[];e=r[i++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==n||((e=ve(this))&&U.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":U.get(this,"__className__")||""))})},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&(" "+fe(ve(n))+" ").indexOf(e)>-1)return!0;return!1}});var ge=/\r/g;w.fn.extend({val:function(t){var e,n,i,o=this[0];return arguments.length?(i=w.isFunction(t),this.each(function(n){var o;1===this.nodeType&&(null==(o=i?t.call(this,n,w(this).val()):t)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=w.map(o,function(t){return null==t?"":t+""})),(e=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))})):o?(e=w.valHooks[o.type]||w.valHooks[o.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(ge,""):null==n?"":n:void 0}}),w.extend({valHooks:{option:{get:function(t){var e=w.find.attr(t,"value");return null!=e?e:fe(w.text(t))}},select:{get:function(t){var e,n,i,o=t.options,r=t.selectedIndex,a="select-one"===t.type,s=a?null:[],l=a?r+1:o.length;for(i=r<0?l:a?r:0;i<l;i++)if(((n=o[i]).selected||i===r)&&!n.disabled&&(!n.parentNode.disabled||!D(n.parentNode,"optgroup"))){if(e=w(n).val(),a)return e;s.push(e)}return s},set:function(t,e){for(var n,i,o=t.options,r=w.makeArray(e),a=o.length;a--;)((i=o[a]).selected=w.inArray(w.valHooks.option.get(i),r)>-1)&&(n=!0);return n||(t.selectedIndex=-1),r}}}}),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=w.inArray(w(t).val(),e)>-1}},m.checkOn||(w.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var me=/^(?:focusinfocus|focusoutblur)#x2F;;w.extend(w.event,{trigger:function(t,e,i,o){var r,s,l,c,u,d,p,h=[i||a],v=f.call(t,"type")?t.type:t,g=f.call(t,"namespace")?t.namespace.split("."):[];if(s=l=i=i||a,3!==i.nodeType&&8!==i.nodeType&&!me.test(v+w.event.triggered)&&(v.indexOf(".")>-1&&(v=(g=v.split(".")).shift(),g.sort()),u=v.indexOf(":")<0&&"on"+v,(t=t[w.expando]?t:new w.Event(v,"object"==typeof t&&t)).isTrigger=o?2:3,t.namespace=g.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),e=null==e?[t]:w.makeArray(e,[t]),p=w.event.special[v]||{},o||!p.trigger||!1!==p.trigger.apply(i,e))){if(!o&&!p.noBubble&&!w.isWindow(i)){for(c=p.delegateType||v,me.test(c+v)||(s=s.parentNode);s;s=s.parentNode)h.push(s),l=s;l===(i.ownerDocument||a)&&h.push(l.defaultView||l.parentWindow||n)}for(r=0;(s=h[r++])&&!t.isPropagationStopped();)t.type=r>1?c:p.bindType||v,(d=(U.get(s,"events")||{})[t.type]&&U.get(s,"handle"))&&d.apply(s,e),(d=u&&s[u])&&d.apply&&B(s)&&(t.result=d.apply(s,e),!1===t.result&&t.preventDefault());return t.type=v,o||t.isDefaultPrevented()||p._default&&!1!==p._default.apply(h.pop(),e)||!B(i)||u&&w.isFunction(i[v])&&!w.isWindow(i)&&((l=i[u])&&(i[u]=null),w.event.triggered=v,i[v](),w.event.triggered=void 0,l&&(i[u]=l)),t.result}},simulate:function(t,e,n){var i=w.extend(new w.Event,n,{type:t,isSimulated:!0});w.event.trigger(i,null,e)}}),w.fn.extend({trigger:function(t,e){return this.each(function(){w.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return w.event.trigger(t,e,n,!0)}}),w.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){w.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),w.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),m.focusin="onfocusin"in n,m.focusin||w.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){w.event.simulate(e,t.target,w.event.fix(t))};w.event.special[e]={setup:function(){var i=this.ownerDocument||this,o=U.access(i,e);o||i.addEventListener(t,n,!0),U.access(i,e,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this,o=U.access(i,e)-1;o?U.access(i,e,o):(i.removeEventListener(t,n,!0),U.remove(i,e))}}});var ye=n.location,be=w.now(),we=/\?/;w.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||w.error("Invalid XML: "+t),e};var xe=/\[\]#x2F;,ke=/\r?\n/g,Te=/^(?:submit|button|image|reset|file)#x2F;i,Ce=/^(?:input|select|textarea|keygen)/i;function Se(t,e,n,i){var o;if(Array.isArray(e))w.each(e,function(e,o){n||xe.test(t)?i(t,o):Se(t+"["+("object"==typeof o&&null!=o?e:"")+"]",o,n,i)});else if(n||"object"!==w.type(e))i(t,e);else for(o in e)Se(t+"["+o+"]",e[o],n,i)}w.param=function(t,e){var n,i=[],o=function(t,e){var n=w.isFunction(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(t)||t.jquery&&!w.isPlainObject(t))w.each(t,function(){o(this.name,this.value)});else for(n in t)Se(n,t[n],e,o);return i.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=w.prop(this,"elements");return t?w.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!w(this).is(":disabled")&&Ce.test(this.nodeName)&&!Te.test(t)&&(this.checked||!lt.test(t))}).map(function(t,e){var n=w(this).val();return null==n?null:Array.isArray(n)?w.map(n,function(t){return{name:e.name,value:t.replace(ke,"\r\n")}}):{name:e.name,value:n.replace(ke,"\r\n")}}).get()}});var Ee=/%20/g,Ae=/#.*#x2F;,Pe=/([?&])_=[^&]*/,Oe=/^(.*?):[ \t]*([^\r\n]*)#x2F;gm,De=/^(?:GET|HEAD)#x2F;,Me=/^\/\//,_e={},Ie={},Ne="*/".concat("*"),qe=a.createElement("a");function Le(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,o=0,r=e.toLowerCase().match(F)||[];if(w.isFunction(n))for(;i=r[o++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function He(t,e,n,i){var o={},r=t===Ie;function a(s){var l;return o[s]=!0,w.each(t[s]||[],function(t,s){var c=s(e,n,i);return"string"!=typeof c||r||o[c]?r?!(l=c):void 0:(e.dataTypes.unshift(c),a(c),!1)}),l}return a(e.dataTypes[0])||!o["*"]&&a("*")}function je(t,e){var n,i,o=w.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((o[n]?t:i||(i={}))[n]=e[n]);return i&&w.extend(!0,t,i),t}qe.href=ye.href,w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ye.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):#x2F;.test(ye.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ne,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?je(je(t,w.ajaxSettings),e):je(w.ajaxSettings,t)},ajaxPrefilter:Le(_e),ajaxTransport:Le(Ie),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,o,r,s,l,c,u,d,p,h,f=w.ajaxSetup({},e),v=f.context||f,g=f.context&&(v.nodeType||v.jquery)?w(v):w.event,m=w.Deferred(),y=w.Callbacks("once memory"),b=f.statusCode||{},x={},k={},T="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(u){if(!s)for(s={};e=Oe.exec(r);)s[e[1].toLowerCase()]=e[2];e=s[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return u?r:null},setRequestHeader:function(t,e){return null==u&&(t=k[t.toLowerCase()]=k[t.toLowerCase()]||t,x[t]=e),this},overrideMimeType:function(t){return null==u&&(f.mimeType=t),this},statusCode:function(t){var e;if(t)if(u)C.always(t[C.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||T;return i&&i.abort(e),S(0,e),this}};if(m.promise(C),f.url=((t||f.url||ye.href)+"").replace(Me,ye.protocol+"//"),f.type=e.method||e.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(F)||[""],null==f.crossDomain){c=a.createElement("a");try{c.href=f.url,c.href=c.href,f.crossDomain=qe.protocol+"//"+qe.host!=c.protocol+"//"+c.host}catch(t){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=w.param(f.data,f.traditional)),He(_e,f,e,C),u)return C;(d=w.event&&f.global)&&0==w.active++&&w.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!De.test(f.type),o=f.url.replace(Ae,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Ee,"+")):(h=f.url.slice(o.length),f.data&&(o+=(we.test(o)?"&":"?")+f.data,delete f.data),!1===f.cache&&(o=o.replace(Pe,"$1"),h=(we.test(o)?"&":"?")+"_="+be+++h),f.url=o+h),f.ifModified&&(w.lastModified[o]&&C.setRequestHeader("If-Modified-Since",w.lastModified[o]),w.etag[o]&&C.setRequestHeader("If-None-Match",w.etag[o])),(f.data&&f.hasContent&&!1!==f.contentType||e.contentType)&&C.setRequestHeader("Content-Type",f.contentType),C.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Ne+"; q=0.01":""):f.accepts["*"]);for(p in f.headers)C.setRequestHeader(p,f.headers[p]);if(f.beforeSend&&(!1===f.beforeSend.call(v,C,f)||u))return C.abort();if(T="abort",y.add(f.complete),C.done(f.success),C.fail(f.error),i=He(Ie,f,e,C)){if(C.readyState=1,d&&g.trigger("ajaxSend",[C,f]),u)return C;f.async&&f.timeout>0&&(l=n.setTimeout(function(){C.abort("timeout")},f.timeout));try{u=!1,i.send(x,S)}catch(t){if(u)throw t;S(-1,t)}}else S(-1,"No Transport");function S(t,e,a,s){var c,p,h,x,k,T=e;u||(u=!0,l&&n.clearTimeout(l),i=void 0,r=s||"",C.readyState=t>0?4:0,c=t>=200&&t<300||304===t,a&&(x=function(t,e,n){for(var i,o,r,a,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(o in s)if(s[o]&&s[o].test(i)){l.unshift(o);break}if(l[0]in n)r=l[0];else{for(o in n){if(!l[0]||t.converters[o+" "+l[0]]){r=o;break}a||(a=o)}r=r||a}if(r)return r!==l[0]&&l.unshift(r),n[r]}(f,C,a)),x=function(t,e,n,i){var o,r,a,s,l,c={},u=t.dataTypes.slice();if(u[1])for(a in t.converters)c[a.toLowerCase()]=t.converters[a];for(r=u.shift();r;)if(t.responseFields[r]&&(n[t.responseFields[r]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=u.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(a=c[l+" "+r]||c["* "+r]))for(o in c)if((s=o.split(" "))[1]===r&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[o]:!0!==c[o]&&(r=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}(f,x,C,c),c?(f.ifModified&&((k=C.getResponseHeader("Last-Modified"))&&(w.lastModified[o]=k),(k=C.getResponseHeader("etag"))&&(w.etag[o]=k)),204===t||"HEAD"===f.type?T="nocontent":304===t?T="notmodified":(T=x.state,p=x.data,c=!(h=x.error))):(h=T,!t&&T||(T="error",t<0&&(t=0))),C.status=t,C.statusText=(e||T)+"",c?m.resolveWith(v,[p,T,C]):m.rejectWith(v,[C,T,h]),C.statusCode(b),b=void 0,d&&g.trigger(c?"ajaxSuccess":"ajaxError",[C,f,c?p:h]),y.fireWith(v,[C,T]),d&&(g.trigger("ajaxComplete",[C,f]),--w.active||w.event.trigger("ajaxStop")))}return C},getJSON:function(t,e,n){return w.get(t,e,n,"json")},getScript:function(t,e){return w.get(t,void 0,e,"script")}}),w.each(["get","post"],function(t,e){w[e]=function(t,n,i,o){return w.isFunction(n)&&(o=o||i,i=n,n=void 0),w.ajax(w.extend({url:t,type:e,dataType:o,data:n,success:i},w.isPlainObject(t)&&t))}}),w._evalUrl=function(t){return w.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},w.fn.extend({wrapAll:function(t){var e;return this[0]&&(w.isFunction(t)&&(t=t.call(this[0])),e=w(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return w.isFunction(t)?this.each(function(e){w(this).wrapInner(t.call(this,e))}):this.each(function(){var e=w(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=w.isFunction(t);return this.each(function(n){w(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){w(this).replaceWith(this.childNodes)}),this}}),w.expr.pseudos.hidden=function(t){return!w.expr.pseudos.visible(t)},w.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var Fe={0:200,1223:204},ze=w.ajaxSettings.xhr();m.cors=!!ze&&"withCredentials"in ze,m.ajax=ze=!!ze,w.ajaxTransport(function(t){var e,i;if(m.cors||ze&&!t.crossDomain)return{send:function(o,r){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest");for(a in o)s.setRequestHeader(a,o[a]);e=function(t){return function(){e&&(e=i=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?r(0,"error"):r(s.status,s.statusText):r(Fe[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),i=s.onerror=e("error"),void 0!==s.onabort?s.onabort=i:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){e&&i()})},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),w.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return w.globalEval(t),t}}}),w.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),w.ajaxTransport("script",function(t){var e,n;if(t.crossDomain)return{send:function(i,o){e=w("<script>").prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&o("error"===t.type?404:200,t.type)}),a.head.appendChild(e[0])},abort:function(){n&&n()}}});var Re,We=[],$e=/(=)\?(?=&|$)|\?\?/;w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=We.pop()||w.expando+"_"+be++;return this[t]=!0,t}}),w.ajaxPrefilter("json jsonp",function(t,e,i){var o,r,a,s=!1!==t.jsonp&&($e.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&$e.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return o=t.jsonpCallback=w.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace($e,"$1"+o):!1!==t.jsonp&&(t.url+=(we.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return a||w.error(o+" was not called"),a[0]},t.dataTypes[0]="json",r=n[o],n[o]=function(){a=arguments},i.always(function(){void 0===r?w(n).removeProp(o):n[o]=r,t[o]&&(t.jsonpCallback=e.jsonpCallback,We.push(o)),a&&w.isFunction(r)&&r(a[0]),a=r=void 0}),"script"}),m.createHTMLDocument=((Re=a.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Re.childNodes.length),w.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(m.createHTMLDocument?((i=(e=a.implementation.createHTMLDocument("")).createElement("base")).href=a.location.href,e.head.appendChild(i)):e=a),o=M.exec(t),r=!n&&[],o?[e.createElement(o[1])]:(o=mt([t],e,r),r&&r.length&&w(r).remove(),w.merge([],o.childNodes)));var i,o,r},w.fn.load=function(t,e,n){var i,o,r,a=this,s=t.indexOf(" ");return s>-1&&(i=fe(t.slice(s)),t=t.slice(0,s)),w.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(o="POST"),a.length>0&&w.ajax({url:t,type:o||"GET",dataType:"html",data:e}).done(function(t){r=arguments,a.html(i?w("<div>").append(w.parseHTML(t)).find(i):t)}).always(n&&function(t,e){a.each(function(){n.apply(this,r||[t.responseText,e,t])})}),this},w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){w.fn[e]=function(t){return this.on(e,t)}}),w.expr.pseudos.animated=function(t){return w.grep(w.timers,function(e){return t===e.elem}).length},w.offset={setOffset:function(t,e,n){var i,o,r,a,s,l,c=w.css(t,"position"),u=w(t),d={};"static"===c&&(t.style.position="relative"),s=u.offset(),r=w.css(t,"top"),l=w.css(t,"left"),("absolute"===c||"fixed"===c)&&(r+l).indexOf("auto")>-1?(a=(i=u.position()).top,o=i.left):(a=parseFloat(r)||0,o=parseFloat(l)||0),w.isFunction(e)&&(e=e.call(t,n,w.extend({},s))),null!=e.top&&(d.top=e.top-s.top+a),null!=e.left&&(d.left=e.left-s.left+o),"using"in e?e.using.call(t,d):u.css(d)}},w.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){w.offset.setOffset(this,t,e)});var e,n,i,o,r=this[0];return r?r.getClientRects().length?(i=r.getBoundingClientRect(),n=(e=r.ownerDocument).documentElement,o=e.defaultView,{top:i.top+o.pageYOffset-n.clientTop,left:i.left+o.pageXOffset-n.clientLeft}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n=this[0],i={top:0,left:0};return"fixed"===w.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),D(t[0],"html")||(i=t.offset()),i={top:i.top+w.css(t[0],"borderTopWidth",!0),left:i.left+w.css(t[0],"borderLeftWidth",!0)}),{top:e.top-i.top-w.css(n,"marginTop",!0),left:e.left-i.left-w.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===w.css(t,"position");)t=t.offsetParent;return t||yt})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;w.fn[t]=function(i){return Y(this,function(t,i,o){var r;if(w.isWindow(t)?r=t:9===t.nodeType&&(r=t.defaultView),void 0===o)return r?r[e]:t[i];r?r.scrollTo(n?r.pageXOffset:o,n?o:r.pageYOffset):t[i]=o},t,i,arguments.length)}}),w.each(["top","left"],function(t,e){w.cssHooks[e]=Rt(m.pixelPosition,function(t,n){if(n)return n=zt(t,e),jt.test(n)?w(t).position()[e]+"px":n})}),w.each({Height:"height",Width:"width"},function(t,e){w.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){w.fn[i]=function(o,r){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===r?"margin":"border");return Y(this,function(e,n,o){var r;return w.isWindow(e)?0===i.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===o?w.css(e,n,s):w.style(e,n,o,s)},e,a?o:void 0,a)}})}),w.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}}),w.holdReady=function(t){t?w.readyWait++:w.ready(!0)},w.isArray=Array.isArray,w.parseJSON=JSON.parse,w.nodeName=D,void 0===(i=function(){return w}.apply(e,[]))||(t.exports=i);var Ve=n.jQuery,Xe=n.$;return w.noConflict=function(t){return n.$===w&&(n.$=Xe),t&&n.jQuery===w&&(n.jQuery=Ve),w},o||(n.jQuery=n.$=w),w})},,,,,function(t,e,n){"use strict";n(6),jQuery(document).ready(function(t){t(".color-wp").wpColorPicker()}),$(document).ready(function(){$("select").material_select(),$(".collapsible").collapsible();var t,e,n,i,o,r=document.querySelectorAll(".position");t=$(".select").find(":selected").val(),e=document.querySelector(".position-1"),n=document.querySelector(".position-2"),i=document.querySelector(".position-3"),o=document.querySelector(".position-4"),"1"==t?e.classList.add("display-block"):"2"==t?n.classList.add("display-block"):"3"==t?i.classList.add("display-block"):"4"==t&&o.classList.add("display-block");var a=function(){r.forEach(function(t){t.classList.remove("display-block")})};$(".select").on("change",function(t){t.target;var e=t.target.value,n=document.querySelector(".position-1"),i=document.querySelector(".position-2"),o=document.querySelector(".position-3"),r=document.querySelector(".position-4");"1"==e?(a(),n.classList.add("display-block")):"2"==e?(a(),i.classList.add("display-block")):"3"==e?(a(),o.classList.add("display-block")):"4"==e&&(a(),r.classList.add("display-block"))})})},function(t,e,n){var i,o,r,a,s,l,c,u,d=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}void 0===a&&(a=$=n(0));s=function(t){t.easing.jswing=t.easing.swing;var e=Math.pow,n=Math.sqrt,i=Math.sin,o=Math.cos,r=Math.PI,a=1.70158,s=1.525*a,l=2*r/3,c=2*r/4.5;function u(t){var e=7.5625,n=2.75;return t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375}t.extend(t.easing,{def:"easeOutQuad",swing:function(e){return t.easing[t.easing.def](e)},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return 1-(1-t)*(1-t)},easeInOutQuad:function(t){return t<.5?2*t*t:1-e(-2*t+2,2)/2},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return 1-e(1-t,3)},easeInOutCubic:function(t){return t<.5?4*t*t*t:1-e(-2*t+2,3)/2},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return 1-e(1-t,4)},easeInOutQuart:function(t){return t<.5?8*t*t*t*t:1-e(-2*t+2,4)/2},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return 1-e(1-t,5)},easeInOutQuint:function(t){return t<.5?16*t*t*t*t*t:1-e(-2*t+2,5)/2},easeInSine:function(t){return 1-o(t*r/2)},easeOutSine:function(t){return i(t*r/2)},easeInOutSine:function(t){return-(o(r*t)-1)/2},easeInExpo:function(t){return 0===t?0:e(2,10*t-10)},easeOutExpo:function(t){return 1===t?1:1-e(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:t<.5?e(2,20*t-10)/2:(2-e(2,-20*t+10))/2},easeInCirc:function(t){return 1-n(1-e(t,2))},easeOutCirc:function(t){return n(1-e(t-1,2))},easeInOutCirc:function(t){return t<.5?(1-n(1-e(2*t,2)))/2:(n(1-e(-2*t+2,2))+1)/2},easeInElastic:function(t){return 0===t?0:1===t?1:-e(2,10*t-10)*i((10*t-10.75)*l)},easeOutElastic:function(t){return 0===t?0:1===t?1:e(2,-10*t)*i((10*t-.75)*l)+1},easeInOutElastic:function(t){return 0===t?0:1===t?1:t<.5?-e(2,20*t-10)*i((20*t-11.125)*c)/2:e(2,-20*t+10)*i((20*t-11.125)*c)/2+1},easeInBack:function(t){return 2.70158*t*t*t-a*t*t},easeOutBack:function(t){return 1+2.70158*e(t-1,3)+a*e(t-1,2)},easeInOutBack:function(t){return t<.5?e(2*t,2)*(7.189819*t-s)/2:(e(2*t-2,2)*((s+1)*(2*t-2)+s)+2)/2},easeInBounce:function(t){return 1-u(1-t)},easeOutBounce:u,easeInOutBounce:function(t){return t<.5?(1-u(1-2*t))/2:(1+u(2*t-1))/2}})},o=[n(0)],void 0===(r=function(t){return s(t)}.apply(e,o))||(t.exports=r),a.extend(a.easing,{easeInOutMaterial:function(t,e,n,i,o){return(e/=o/2)<1?i/2*e*e+n:i/4*((e-=2)*e*e+2)+n}}),a.Velocity?console.log("Velocity is already loaded. You may be needlessly importing Velocity again; note that Materialize includes Velocity."):(function(t){function e(t){var e=t.length,i=n.type(t);return"function"!==i&&!n.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t))}if(!t.jQuery){var n=function(t,e){return new n.fn.init(t,e)};n.isWindow=function(t){return null!=t&&t==t.window},n.type=function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?o[a.call(t)]||"object":typeof t},n.isArray=Array.isArray||function(t){return"array"===n.type(t)},n.isPlainObject=function(t){var e;if(!t||"object"!==n.type(t)||t.nodeType||n.isWindow(t))return!1;try{if(t.constructor&&!r.call(t,"constructor")&&!r.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}for(e in t);return void 0===e||r.call(t,e)},n.each=function(t,n,i){var o,r=0,a=t.length,s=e(t);if(i){if(s)for(;a>r&&(o=n.apply(t[r],i),!1!==o);r++);else for(r in t)if(!1===(o=n.apply(t[r],i)))break}else if(s)for(;a>r&&(o=n.call(t[r],r,t[r]),!1!==o);r++);else for(r in t)if(!1===(o=n.call(t[r],r,t[r])))break;return t},n.data=function(t,e,o){if(void 0===o){var r=(a=t[n.expando])&&i[a];if(void 0===e)return r;if(r&&e in r)return r[e]}else if(void 0!==e){var a=t[n.expando]||(t[n.expando]=++n.uuid);return i[a]=i[a]||{},i[a][e]=o,o}},n.removeData=function(t,e){var o=t[n.expando],r=o&&i[o];r&&n.each(e,function(t,e){delete r[e]})},n.extend=function(){var t,e,i,o,r,a,s=arguments[0]||{},l=1,c=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[l]||{},l++),"object"!=typeof s&&"function"!==n.type(s)&&(s={}),l===c&&(s=this,l--);c>l;l++)if(null!=(r=arguments[l]))for(o in r)t=s[o],s!==(i=r[o])&&(u&&i&&(n.isPlainObject(i)||(e=n.isArray(i)))?(e?(e=!1,a=t&&n.isArray(t)?t:[]):a=t&&n.isPlainObject(t)?t:{},s[o]=n.extend(u,a,i)):void 0!==i&&(s[o]=i));return s},n.queue=function(t,i,o){if(t){i=(i||"fx")+"queue";var r=n.data(t,i);return o?(!r||n.isArray(o)?r=n.data(t,i,(a=o,l=s||[],null!=a&&(e(Object(a))?function(t,e){for(var n=+e.length,i=0,o=t.length;n>i;)t[o++]=e[i++];if(n!=n)for(;void 0!==e[i];)t[o++]=e[i++];t.length=o}(l,"string"==typeof a?[a]:a):[].push.call(l,a)),l)):r.push(o),r):r||[]}var a,s,l},n.dequeue=function(t,e){n.each(t.nodeType?[t]:t,function(t,i){e=e||"fx";var o=n.queue(i,e),r=o.shift();"inprogress"===r&&(r=o.shift()),r&&("fx"===e&&o.unshift("inprogress"),r.call(i,function(){n.dequeue(i,e)}))})},n.fn=n.prototype={init:function(t){if(t.nodeType)return this[0]=t,this;throw new Error("Not a DOM node.")},offset:function(){var e=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:e.top+(t.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:e.left+(t.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){function t(){for(var t=this.offsetParent||document;t&&"html"===!t.nodeType.toLowerCase&&"static"===t.style.position;)t=t.offsetParent;return t||document}var e=this[0],t=t.apply(e),i=this.offset(),o=/^(?:body|html)#x2F;i.test(t.nodeName)?{top:0,left:0}:n(t).offset();return i.top-=parseFloat(e.style.marginTop)||0,i.left-=parseFloat(e.style.marginLeft)||0,t.style&&(o.top+=parseFloat(t.style.borderTopWidth)||0,o.left+=parseFloat(t.style.borderLeftWidth)||0),{top:i.top-o.top,left:i.left-o.left}}};var i={};n.expando="velocity"+(new Date).getTime(),n.uuid=0;for(var o={},r=o.hasOwnProperty,a=o.toString,s="Boolean Number String Function Array Date RegExp Object Error".split(" "),l=0;l<s.length;l++)o["[object "+s[l]+"]"]=s[l].toLowerCase();n.fn.init.prototype=n.fn,t.Velocity={Utilities:n}}}(window),l=function(){return function(t,e,n,i){function o(t){return v.isWrapped(t)?t=[].slice.call(t):v.isNode(t)&&(t=[t]),t}function r(t){var e=d.data(t,"velocity");return null===e?i:e}function s(t,n,i,o){function r(t,e){return 1-3*e+3*t}function a(t,e){return 3*e-6*t}function s(t){return 3*t}function l(t,e,n){return((r(e,n)*t+a(e,n))*t+s(e))*t}function c(t,e,n){return 3*r(e,n)*t*t+2*a(e,n)*t+s(e)}function u(e){for(var n=0,o=1,r=g-1;o!=r&&w[o]<=e;++o)n+=m;var a=n+(e-w[--o])/(w[o+1]-w[o])*m,s=c(a,t,i);return s>=h?function(e,n){for(var o=0;p>o;++o){var r=c(n,t,i);if(0===r)return n;n-=(l(n,t,i)-e)/r}return n}(e,a):0==s?a:function(e,n,o){var r,a,s=0;do{(r=l(a=n+(o-n)/2,t,i)-e)>0?o=a:n=a}while(Math.abs(r)>f&&++s<v);return a}(e,n,n+m)}function d(){x=!0,(t!=n||i!=o)&&function(){for(var e=0;g>e;++e)w[e]=l(e*m,t,i)}()}var p=4,h=.001,f=1e-7,v=10,g=11,m=1/(g-1),y="Float32Array"in e;if(4!==arguments.length)return!1;for(var b=0;4>b;++b)if("number"!=typeof arguments[b]||isNaN(arguments[b])||!isFinite(arguments[b]))return!1;t=Math.min(t,1),i=Math.min(i,1),t=Math.max(t,0),i=Math.max(i,0);var w=y?new Float32Array(g):new Array(g),x=!1,k=function(e){return x||d(),t===n&&i===o?e:0===e?0:1===e?1:l(u(e),n,o)};k.getControlPoints=function(){return[{x:t,y:n},{x:i,y:o}]};var T="generateBezier("+[t,n,i,o]+")";return k.toString=function(){return T},k}function l(t,e){var n=t;return v.isString(t)?b.Easings[t]||(n=!1):n=v.isArray(t)&&1===t.length?function(t){return function(e){return Math.round(e*t)*(1/t)}}.apply(null,t):v.isArray(t)&&2===t.length?w.apply(null,t.concat([e])):!(!v.isArray(t)||4!==t.length)&&s.apply(null,t),!1===n&&(n=b.Easings[b.defaults.easing]?b.defaults.easing:y),n}function c(t){if(t){var e=(new Date).getTime(),n=b.State.calls.length;n>1e4&&(b.State.calls=function(t){for(var e=-1,n=t?t.length:0,i=[];++e<n;){var o=t[e];o&&i.push(o)}return i}(b.State.calls));for(var o=0;n>o;o++)if(b.State.calls[o]){var a=b.State.calls[o],s=a[0],l=a[2],p=a[3],h=!!p,f=null;p||(p=b.State.calls[o][3]=e-16);for(var g=Math.min((e-p)/l.duration,1),m=0,y=s.length;y>m;m++){var w=s[m],k=w.element;if(r(k)){var C=!1;if(l.display!==i&&null!==l.display&&"none"!==l.display){if("flex"===l.display){d.each(["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"],function(t,e){x.setPropertyValue(k,"display",e)})}x.setPropertyValue(k,"display",l.display)}l.visibility!==i&&"hidden"!==l.visibility&&x.setPropertyValue(k,"visibility",l.visibility);for(var S in w)if("element"!==S){var E,A=w[S],P=v.isString(A.easing)?b.Easings[A.easing]:A.easing;if(1===g)E=A.endValue;else{var O=A.endValue-A.startValue;if(E=A.startValue+O*P(g,l,O),!h&&E===A.currentValue)continue}if(A.currentValue=E,"tween"===S)f=E;else{if(x.Hooks.registered[S]){var D=x.Hooks.getRoot(S),M=r(k).rootPropertyValueCache[D];M&&(A.rootPropertyValue=M)}var _=x.setPropertyValue(k,S,A.currentValue+(0===parseFloat(E)?"":A.unitType),A.rootPropertyValue,A.scrollData);x.Hooks.registered[S]&&(r(k).rootPropertyValueCache[D]=x.Normalizations.registered[D]?x.Normalizations.registered[D]("extract",null,_[1]):_[1]),"transform"===_[0]&&(C=!0)}}l.mobileHA&&r(k).transformCache.translate3d===i&&(r(k).transformCache.translate3d="(0px, 0px, 0px)",C=!0),C&&x.flushTransformCache(k)}}l.display!==i&&"none"!==l.display&&(b.State.calls[o][2].display=!1),l.visibility!==i&&"hidden"!==l.visibility&&(b.State.calls[o][2].visibility=!1),l.progress&&l.progress.call(a[1],a[1],g,Math.max(0,p+l.duration-e),p,f),1===g&&u(o)}}b.State.isTicking&&T(c)}function u(t,e){if(!b.State.calls[t])return!1;for(var n=b.State.calls[t][0],o=b.State.calls[t][1],a=b.State.calls[t][2],s=b.State.calls[t][4],l=!1,c=0,u=n.length;u>c;c++){var p=n[c].element;if(e||a.loop||("none"===a.display&&x.setPropertyValue(p,"display",a.display),"hidden"===a.visibility&&x.setPropertyValue(p,"visibility",a.visibility)),!0!==a.loop&&(d.queue(p)[1]===i||!/\.velocityQueueEntryFlag/i.test(d.queue(p)[1]))&&r(p)){r(p).isAnimating=!1,r(p).rootPropertyValueCache={};var h=!1;d.each(x.Lists.transforms3D,function(t,e){var n=/^scale/.test(e)?1:0,o=r(p).transformCache[e];r(p).transformCache[e]!==i&&new RegExp("^\\("+n+"[^.]").test(o)&&(h=!0,delete r(p).transformCache[e])}),a.mobileHA&&(h=!0,delete r(p).transformCache.translate3d),h&&x.flushTransformCache(p),x.Values.removeClass(p,"velocity-animating")}if(!e&&a.complete&&!a.loop&&c===u-1)try{a.complete.call(o,o)}catch(t){setTimeout(function(){throw t},1)}s&&!0!==a.loop&&s(o),r(p)&&!0===a.loop&&!e&&(d.each(r(p).tweensContainer,function(t,e){/^rotate/.test(t)&&360===parseFloat(e.endValue)&&(e.endValue=0,e.startValue=360),/^backgroundPosition/.test(t)&&100===parseFloat(e.endValue)&&"%"===e.unitType&&(e.endValue=0,e.startValue=100)}),b(p,"reverse",{loop:!0,delay:a.delay})),!1!==a.queue&&d.dequeue(p,a.queue)}b.State.calls[t]=!1;for(var f=0,v=b.State.calls.length;v>f;f++)if(!1!==b.State.calls[f]){l=!0;break}!1===l&&(b.State.isTicking=!1,delete b.State.calls,b.State.calls=[])}var d,p,h=function(){if(n.documentMode)return n.documentMode;for(var t=7;t>4;t--){var e=n.createElement("div");if(e.innerHTML="\x3c!--[if IE "+t+"]><span></span><![endif]--\x3e",e.getElementsByTagName("span").length)return e=null,t}return i}(),f=(p=0,e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||function(t){var e,n=(new Date).getTime();return e=Math.max(0,16-(n-p)),p=n+e,setTimeout(function(){t(n+e)},e)}),v={isString:function(t){return"string"==typeof t},isArray:Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},isFunction:function(t){return"[object Function]"===Object.prototype.toString.call(t)},isNode:function(t){return t&&t.nodeType},isNodeList:function(t){return"object"==typeof t&&/^\[object (HTMLCollection|NodeList|Object)\]#x2F;.test(Object.prototype.toString.call(t))&&t.length!==i&&(0===t.length||"object"==typeof t[0]&&t[0].nodeType>0)},isWrapped:function(t){return t&&(t.jquery||e.Zepto&&e.Zepto.zepto.isZ(t))},isSVG:function(t){return e.SVGElement&&t instanceof e.SVGElement},isEmptyObject:function(t){for(var e in t)return!1;return!0}},g=!1;if(t.fn&&t.fn.jquery?(d=t,g=!0):d=e.Velocity.Utilities,8>=h&&!g)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(!(7>=h)){var m=400,y="swing",b={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:e.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:n.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[]},CSS:{},Utilities:d,Redirects:{},Easings:{},Promise:e.Promise,defaults:{queue:"",duration:m,easing:y,begin:i,complete:i,progress:i,display:i,visibility:i,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0},init:function(t){d.data(t,"velocity",{isSVG:v.isSVG(t),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:2,patch:2},debug:!1};e.pageYOffset!==i?(b.State.scrollAnchor=e,b.State.scrollPropertyLeft="pageXOffset",b.State.scrollPropertyTop="pageYOffset"):(b.State.scrollAnchor=n.documentElement||n.body.parentNode||n.body,b.State.scrollPropertyLeft="scrollLeft",b.State.scrollPropertyTop="scrollTop");var w=function(){function t(t){return-t.tension*t.x-t.friction*t.v}function e(e,n,i){var o={x:e.x+i.dx*n,v:e.v+i.dv*n,tension:e.tension,friction:e.friction};return{dx:o.v,dv:t(o)}}return function n(i,o,r){var a,s,l,c,u,d,p,h,f,v,g,m={x:-1,v:0,tension:null,friction:null},y=[0],b=0;for(i=parseFloat(i)||500,o=parseFloat(o)||20,r=r||null,m.tension=i,m.friction=o,(a=null!==r)?s=(b=n(i,o))/r*.016:s=.016;u=s,void 0,void 0,void 0,void 0,void 0,void 0,d={dx:(c=l||m).v,dv:t(c)},p=e(c,.5*u,d),h=e(c,.5*u,p),f=e(c,u,h),v=1/6*(d.dx+2*(p.dx+h.dx)+f.dx),g=1/6*(d.dv+2*(p.dv+h.dv)+f.dv),c.x=c.x+v*u,c.v=c.v+g*u,l=c,y.push(1+l.x),b+=16,Math.abs(l.x)>1e-4&&Math.abs(l.v)>1e-4;);return a?function(t){return y[t*(y.length-1)|0]}:b}}();b.Easings={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},spring:function(t){return 1-Math.cos(4.5*t*Math.PI)*Math.exp(6*-t)}},d.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(t,e){b.Easings[e[0]]=s.apply(null,e[1])});var x=b.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}#x2F;i,valueUnwrap:/^[A-z]+\((.*)\)#x2F;i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"]},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var t=0;t<x.Lists.colors.length;t++){var e="color"===x.Lists.colors[t]?"0 0 0 1":"255 255 255 1";x.Hooks.templates[x.Lists.colors[t]]=["Red Green Blue Alpha",e]}var n,i,o;if(h)for(n in x.Hooks.templates){o=(i=x.Hooks.templates[n])[0].split(" ");var r=i[1].match(x.RegEx.valueSplit);"Color"===o[0]&&(o.push(o.shift()),r.push(r.shift()),x.Hooks.templates[n]=[o.join(" "),r.join(" ")])}for(n in x.Hooks.templates){o=(i=x.Hooks.templates[n])[0].split(" ");for(var t in o){var a=n+o[t],s=t;x.Hooks.registered[a]=[n,s]}}},getRoot:function(t){var e=x.Hooks.registered[t];return e?e[0]:t},cleanRootPropertyValue:function(t,e){return x.RegEx.valueUnwrap.test(e)&&(e=e.match(x.RegEx.valueUnwrap)[1]),x.Values.isCSSNullValue(e)&&(e=x.Hooks.templates[t][1]),e},extractValue:function(t,e){var n=x.Hooks.registered[t];if(n){var i=n[0],o=n[1];return(e=x.Hooks.cleanRootPropertyValue(i,e)).toString().match(x.RegEx.valueSplit)[o]}return e},injectValue:function(t,e,n){var i=x.Hooks.registered[t];if(i){var o,r=i[0],a=i[1];return(o=(n=x.Hooks.cleanRootPropertyValue(r,n)).toString().match(x.RegEx.valueSplit))[a]=e,o.join(" ")}return n}},Normalizations:{registered:{clip:function(t,e,n){switch(t){case"name":return"clip";case"extract":var i;return x.RegEx.wrappedValueAlreadyExtracted.test(n)?i=n:i=(i=n.toString().match(x.RegEx.valueUnwrap))?i[1].replace(/,(\s+)?/g," "):n,i;case"inject":return"rect("+n+")"}},blur:function(t,e,n){switch(t){case"name":return b.State.isFirefox?"filter":"-webkit-filter";case"extract":var i=parseFloat(n);if(!i&&0!==i){var o=n.toString().match(/blur\(([0-9]+[A-z]+)\)/i);i=o?o[1]:0}return i;case"inject":return parseFloat(n)?"blur("+n+")":"none"}},opacity:function(t,e,n){if(8>=h)switch(t){case"name":return"filter";case"extract":var i=n.toString().match(/alpha\(opacity=(.*)\)/i);return i?i[1]/100:1;case"inject":return e.style.zoom=1,parseFloat(n)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(n),10)+")"}else switch(t){case"name":return"opacity";case"extract":case"inject":return n}}},register:function(){9>=h||b.State.isGingerbread||(x.Lists.transformsBase=x.Lists.transformsBase.concat(x.Lists.transforms3D));for(var t=0;t<x.Lists.transformsBase.length;t++)!function(){var e=x.Lists.transformsBase[t];x.Normalizations.registered[e]=function(t,n,o){switch(t){case"name":return"transform";case"extract":return r(n)===i||r(n).transformCache[e]===i?/^scale/i.test(e)?1:0:r(n).transformCache[e].replace(/[()]/g,"");case"inject":var a=!1;switch(e.substr(0,e.length-1)){case"translate":a=!/(%|px|em|rem|vw|vh|\d)#x2F;i.test(o);break;case"scal":case"scale":b.State.isAndroid&&r(n).transformCache[e]===i&&1>o&&(o=1),a=!/(\d)#x2F;i.test(o);break;case"skew":a=!/(deg|\d)#x2F;i.test(o);break;case"rotate":a=!/(deg|\d)#x2F;i.test(o)}return a||(r(n).transformCache[e]="("+o+")"),r(n).transformCache[e]}}}();for(t=0;t<x.Lists.colors.length;t++)!function(){var e=x.Lists.colors[t];x.Normalizations.registered[e]=function(t,n,o){switch(t){case"name":return e;case"extract":var r;if(x.RegEx.wrappedValueAlreadyExtracted.test(o))r=o;else{var a,s={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+#x2F;i.test(o)?a=s[o]!==i?s[o]:s.black:x.RegEx.isHex.test(o)?a="rgb("+x.Values.hexToRgb(o).join(" ")+")":/^rgba?\(/i.test(o)||(a=s.black),r=(a||o).toString().match(x.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return 8>=h||3!==r.split(" ").length||(r+=" 1"),r;case"inject":return 8>=h?4===o.split(" ").length&&(o=o.split(/\s+/).slice(0,3).join(" ")):3===o.split(" ").length&&(o+=" 1"),(8>=h?"rgb":"rgba")+"("+o.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")"}}}()}},Names:{camelCase:function(t){return t.replace(/-(\w)/g,function(t,e){return e.toUpperCase()})},SVGAttribute:function(t){var e="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(h||b.State.isAndroid&&!b.State.isChrome)&&(e+="|transform"),new RegExp("^("+e+")quot;,"i").test(t)},prefixCheck:function(t){if(b.State.prefixMatches[t])return[b.State.prefixMatches[t],!0];for(var e=["","Webkit","Moz","ms","O"],n=0,i=e.length;i>n;n++){var o;if(o=0===n?t:e[n]+t.replace(/^\w/,function(t){return t.toUpperCase()}),v.isString(b.State.prefixElement.style[o]))return b.State.prefixMatches[t]=o,[o,!0]}return[t,!1]}},Values:{hexToRgb:function(t){var e;return t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])#x2F;i,function(t,e,n,i){return e+e+n+n+i+i}),(e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})#x2F;i.exec(t))?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]:[0,0,0]},isCSSNullValue:function(t){return 0==t||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))#x2F;i.test(t)},getUnitType:function(t){return/^(rotate|skew)/i.test(t)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(t)?"":"px"},getDisplayType:function(t){var e=t&&t.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)#x2F;i.test(e)?"inline":/^(li)#x2F;i.test(e)?"list-item":/^(tr)#x2F;i.test(e)?"table-row":/^(table)#x2F;i.test(e)?"table":/^(tbody)#x2F;i.test(e)?"table-row-group":"block"},addClass:function(t,e){t.classList?t.classList.add(e):t.className+=(t.className.length?" ":"")+e},removeClass:function(t,e){t.classList?t.classList.remove(e):t.className=t.className.toString().replace(new RegExp("(^|\\s)"+e.split(" ").join("|")+"(\\s|$)","gi")," ")}},getPropertyValue:function(t,n,o,a){function s(t,n){function o(){u&&x.setPropertyValue(t,"display","none")}var l=0;if(8>=h)l=d.css(t,n);else{var c,u=!1;if(/^(width|height)#x2F;.test(n)&&0===x.getPropertyValue(t,"display")&&(u=!0,x.setPropertyValue(t,"display",x.Values.getDisplayType(t))),!a){if("height"===n&&"border-box"!==x.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var p=t.offsetHeight-(parseFloat(x.getPropertyValue(t,"borderTopWidth"))||0)-(parseFloat(x.getPropertyValue(t,"borderBottomWidth"))||0)-(parseFloat(x.getPropertyValue(t,"paddingTop"))||0)-(parseFloat(x.getPropertyValue(t,"paddingBottom"))||0);return o(),p}if("width"===n&&"border-box"!==x.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var f=t.offsetWidth-(parseFloat(x.getPropertyValue(t,"borderLeftWidth"))||0)-(parseFloat(x.getPropertyValue(t,"borderRightWidth"))||0)-(parseFloat(x.getPropertyValue(t,"paddingLeft"))||0)-(parseFloat(x.getPropertyValue(t,"paddingRight"))||0);return o(),f}}c=r(t)===i?e.getComputedStyle(t,null):r(t).computedStyle?r(t).computedStyle:r(t).computedStyle=e.getComputedStyle(t,null),"borderColor"===n&&(n="borderTopColor"),(""===(l=9===h&&"filter"===n?c.getPropertyValue(n):c[n])||null===l)&&(l=t.style[n]),o()}if("auto"===l&&/^(top|right|bottom|left)#x2F;i.test(n)){var v=s(t,"position");("fixed"===v||"absolute"===v&&/top|left/i.test(n))&&(l=d(t).position()[n]+"px")}return l}var l;if(x.Hooks.registered[n]){var c=n,u=x.Hooks.getRoot(c);o===i&&(o=x.getPropertyValue(t,x.Names.prefixCheck(u)[0])),x.Normalizations.registered[u]&&(o=x.Normalizations.registered[u]("extract",t,o)),l=x.Hooks.extractValue(c,o)}else if(x.Normalizations.registered[n]){var p,f;"transform"!==(p=x.Normalizations.registered[n]("name",t))&&(f=s(t,x.Names.prefixCheck(p)[0]),x.Values.isCSSNullValue(f)&&x.Hooks.templates[n]&&(f=x.Hooks.templates[n][1])),l=x.Normalizations.registered[n]("extract",t,f)}if(!/^[\d-]/.test(l))if(r(t)&&r(t).isSVG&&x.Names.SVGAttribute(n))if(/^(height|width)#x2F;i.test(n))try{l=t.getBBox()[n]}catch(t){l=0}else l=t.getAttribute(n);else l=s(t,x.Names.prefixCheck(n)[0]);return x.Values.isCSSNullValue(l)&&(l=0),b.debug>=2&&console.log("Get "+n+": "+l),l},setPropertyValue:function(t,n,i,o,a){var s=n;if("scroll"===n)a.container?a.container["scroll"+a.direction]=i:"Left"===a.direction?e.scrollTo(i,a.alternateValue):e.scrollTo(a.alternateValue,i);else if(x.Normalizations.registered[n]&&"transform"===x.Normalizations.registered[n]("name",t))x.Normalizations.registered[n]("inject",t,i),s="transform",i=r(t).transformCache[n];else{if(x.Hooks.registered[n]){var l=n,c=x.Hooks.getRoot(n);o=o||x.getPropertyValue(t,c),i=x.Hooks.injectValue(l,i,o),n=c}if(x.Normalizations.registered[n]&&(i=x.Normalizations.registered[n]("inject",t,i),n=x.Normalizations.registered[n]("name",t)),s=x.Names.prefixCheck(n)[0],8>=h)try{t.style[s]=i}catch(t){b.debug&&console.log("Browser does not support ["+i+"] for ["+s+"]")}else r(t)&&r(t).isSVG&&x.Names.SVGAttribute(n)?t.setAttribute(n,i):t.style[s]=i;b.debug>=2&&console.log("Set "+n+" ("+s+"): "+i)}return[s,i]},flushTransformCache:function(t){function e(e){return parseFloat(x.getPropertyValue(t,e))}var n="";if((h||b.State.isAndroid&&!b.State.isChrome)&&r(t).isSVG){var i={translate:[e("translateX"),e("translateY")],skewX:[e("skewX")],skewY:[e("skewY")],scale:1!==e("scale")?[e("scale"),e("scale")]:[e("scaleX"),e("scaleY")],rotate:[e("rotateZ"),0,0]};d.each(r(t).transformCache,function(t){/^translate/i.test(t)?t="translate":/^scale/i.test(t)?t="scale":/^rotate/i.test(t)&&(t="rotate"),i[t]&&(n+=t+"("+i[t].join(" ")+") ",delete i[t])})}else{var o,a;d.each(r(t).transformCache,function(e){return o=r(t).transformCache[e],"transformPerspective"===e?(a=o,!0):(9===h&&"rotateZ"===e&&(e="rotate"),void(n+=e+o+" "))}),a&&(n="perspective"+a+" "+n)}x.setPropertyValue(t,"transform",n)}};x.Hooks.register(),x.Normalizations.register(),b.hook=function(t,e,n){var a=i;return t=o(t),d.each(t,function(t,o){if(r(o)===i&&b.init(o),n===i)a===i&&(a=b.CSS.getPropertyValue(o,e));else{var s=b.CSS.setPropertyValue(o,e,n);"transform"===s[0]&&b.CSS.flushTransformCache(o),a=s}}),a};var k=function(){function t(){return a?E.promise||null:s}var a,s,p,h,f,g,y=arguments[0]&&(arguments[0].p||d.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||v.isString(arguments[0].properties));if(v.isWrapped(this)?(a=!1,p=0,h=this,s=this):(a=!0,p=1,h=y?arguments[0].elements||arguments[0].e:arguments[0]),h=o(h)){y?(f=arguments[0].properties||arguments[0].p,g=arguments[0].options||arguments[0].o):(f=arguments[p],g=arguments[p+1]);var w=h.length,T=0;if(!/^(stop|finish)#x2F;i.test(f)&&!d.isPlainObject(g)){g={};for(var C=p+1;C<arguments.length;C++)v.isArray(arguments[C])||!/^(fast|normal|slow)#x2F;i.test(arguments[C])&&!/^\d/.test(arguments[C])?v.isString(arguments[C])||v.isArray(arguments[C])?g.easing=arguments[C]:v.isFunction(arguments[C])&&(g.complete=arguments[C]):g.duration=arguments[C]}var S,E={promise:null,resolver:null,rejecter:null};switch(a&&b.Promise&&(E.promise=new b.Promise(function(t,e){E.resolver=t,E.rejecter=e})),f){case"scroll":S="scroll";break;case"reverse":S="reverse";break;case"finish":case"stop":d.each(h,function(t,e){r(e)&&r(e).delayTimer&&(clearTimeout(r(e).delayTimer.setTimeout),r(e).delayTimer.next&&r(e).delayTimer.next(),delete r(e).delayTimer)});var A=[];return d.each(b.State.calls,function(t,e){e&&d.each(e[1],function(n,o){var a=g===i?"":g;return!0!==a&&e[2].queue!==a&&(g!==i||!1!==e[2].queue)||void d.each(h,function(n,i){i===o&&((!0===g||v.isString(g))&&(d.each(d.queue(i,v.isString(g)?g:""),function(t,e){v.isFunction(e)&&e(null,!0)}),d.queue(i,v.isString(g)?g:"",[])),"stop"===f?(r(i)&&r(i).tweensContainer&&!1!==a&&d.each(r(i).tweensContainer,function(t,e){e.endValue=e.currentValue}),A.push(t)):"finish"===f&&(e[2].duration=1))})})}),"stop"===f&&(d.each(A,function(t,e){u(e,!0)}),E.promise&&E.resolver(h)),t();default:if(!d.isPlainObject(f)||v.isEmptyObject(f)){if(v.isString(f)&&b.Redirects[f]){var P=(_=d.extend({},g)).duration,O=_.delay||0;return!0===_.backwards&&(h=d.extend(!0,[],h).reverse()),d.each(h,function(t,e){parseFloat(_.stagger)?_.delay=O+parseFloat(_.stagger)*t:v.isFunction(_.stagger)&&(_.delay=O+_.stagger.call(e,t,w)),_.drag&&(_.duration=parseFloat(P)||(/^(callout|transition)/.test(f)?1e3:m),_.duration=Math.max(_.duration*(_.backwards?1-t/w:(t+1)/w),.75*_.duration,200)),b.Redirects[f].call(e,e,_||{},t,w,h,E.promise?E:i)}),t()}var D="Velocity: First argument ("+f+") was not a property map, a known action, or a registered redirect. Aborting.";return E.promise?E.rejecter(new Error(D)):console.log(D),t()}S="start"}var M,_,I={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},N=[];if(d.each(h,function(t,o){v.isNode(o)&&function(){function t(t){function p(t,e){var n=i,o=i,r=i;return v.isArray(t)?(n=t[0],!v.isArray(t[1])&&/^[\d-]/.test(t[1])||v.isFunction(t[1])||x.RegEx.isHex.test(t[1])?r=t[1]:(v.isString(t[1])&&!x.RegEx.isHex.test(t[1])||v.isArray(t[1]))&&(o=e?t[1]:l(t[1],s.duration),t[2]!==i&&(r=t[2]))):n=t,e||(o=o||s.easing),v.isFunction(n)&&(n=n.call(a,T,w)),v.isFunction(r)&&(r=r.call(a,T,w)),[n||0,o,r]}function m(t,e){var n,i;return i=(e||"0").toString().toLowerCase().replace(/[%A-z]+#x2F;,function(t){return n=t,""}),n||(n=x.Values.getUnitType(t)),[i,n]}function y(){var t={myParent:a.parentNode||n.body,position:x.getPropertyValue(a,"position"),fontSize:x.getPropertyValue(a,"fontSize")},i=t.position===I.lastPosition&&t.myParent===I.lastParent,o=t.fontSize===I.lastFontSize;I.lastParent=t.myParent,I.lastPosition=t.position,I.lastFontSize=t.fontSize;var s={};if(o&&i)s.emToPx=I.lastEmToPx,s.percentToPxWidth=I.lastPercentToPxWidth,s.percentToPxHeight=I.lastPercentToPxHeight;else{var l=r(a).isSVG?n.createElementNS("http://www.w3.org/2000/svg","rect"):n.createElement("div");b.init(l),t.myParent.appendChild(l),d.each(["overflow","overflowX","overflowY"],function(t,e){b.CSS.setPropertyValue(l,e,"hidden")}),b.CSS.setPropertyValue(l,"position",t.position),b.CSS.setPropertyValue(l,"fontSize",t.fontSize),b.CSS.setPropertyValue(l,"boxSizing","content-box"),d.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(t,e){b.CSS.setPropertyValue(l,e,"100%")}),b.CSS.setPropertyValue(l,"paddingLeft","100em"),s.percentToPxWidth=I.lastPercentToPxWidth=(parseFloat(x.getPropertyValue(l,"width",null,!0))||1)/100,s.percentToPxHeight=I.lastPercentToPxHeight=(parseFloat(x.getPropertyValue(l,"height",null,!0))||1)/100,s.emToPx=I.lastEmToPx=(parseFloat(x.getPropertyValue(l,"paddingLeft"))||1)/100,t.myParent.removeChild(l)}return null===I.remToPx&&(I.remToPx=parseFloat(x.getPropertyValue(n.body,"fontSize"))||16),null===I.vwToPx&&(I.vwToPx=parseFloat(e.innerWidth)/100,I.vhToPx=parseFloat(e.innerHeight)/100),s.remToPx=I.remToPx,s.vwToPx=I.vwToPx,s.vhToPx=I.vhToPx,b.debug>=1&&console.log("Unit ratios: "+JSON.stringify(s),a),s}if(s.begin&&0===T)try{s.begin.call(h,h)}catch(t){setTimeout(function(){throw t},1)}if("scroll"===S){var k,C,A,P=/^x#x2F;i.test(s.axis)?"Left":"Top",O=parseFloat(s.offset)||0;s.container?v.isWrapped(s.container)||v.isNode(s.container)?(s.container=s.container[0]||s.container,A=(k=s.container["scroll"+P])+d(a).position()[P.toLowerCase()]+O):s.container=null:(k=b.State.scrollAnchor[b.State["scrollProperty"+P]],C=b.State.scrollAnchor[b.State["scrollProperty"+("Left"===P?"Top":"Left")]],A=d(a).offset()[P.toLowerCase()]+O),u={scroll:{rootPropertyValue:!1,startValue:k,currentValue:k,endValue:A,unitType:"",easing:s.easing,scrollData:{container:s.container,direction:P,alternateValue:C}},element:a},b.debug&&console.log("tweensContainer (scroll): ",u.scroll,a)}else if("reverse"===S){if(!r(a).tweensContainer)return void d.dequeue(a,s.queue);"none"===r(a).opts.display&&(r(a).opts.display="auto"),"hidden"===r(a).opts.visibility&&(r(a).opts.visibility="visible"),r(a).opts.loop=!1,r(a).opts.begin=null,r(a).opts.complete=null,g.easing||delete s.easing,g.duration||delete s.duration,s=d.extend({},r(a).opts,s);var D=d.extend(!0,{},r(a).tweensContainer);for(var M in D)if("element"!==M){var _=D[M].startValue;D[M].startValue=D[M].currentValue=D[M].endValue,D[M].endValue=_,v.isEmptyObject(g)||(D[M].easing=s.easing),b.debug&&console.log("reverse tweensContainer ("+M+"): "+JSON.stringify(D[M]),a)}u=D}else if("start"===S){r(a).tweensContainer&&!0===r(a).isAnimating&&(D=r(a).tweensContainer),d.each(f,function(t,e){if(RegExp("^"+x.Lists.colors.join("$|^")+"quot;).test(t)){var n=p(e,!0),o=n[0],r=n[1],a=n[2];if(x.RegEx.isHex.test(o)){for(var s=["Red","Green","Blue"],l=x.Values.hexToRgb(o),c=a?x.Values.hexToRgb(a):i,u=0;u<s.length;u++){var d=[l[u]];r&&d.push(r),c!==i&&d.push(c[u]),f[t+s[u]]=d}delete f[t]}}});for(var q in f){var L=p(f[q]),H=L[0],j=L[1],F=L[2];q=x.Names.camelCase(q);var z=x.Hooks.getRoot(q),R=!1;if(r(a).isSVG||"tween"===z||!1!==x.Names.prefixCheck(z)[1]||x.Normalizations.registered[z]!==i){(s.display!==i&&null!==s.display&&"none"!==s.display||s.visibility!==i&&"hidden"!==s.visibility)&&/opacity|filter/.test(q)&&!F&&0!==H&&(F=0),s._cacheValues&&D&&D[q]?(F===i&&(F=D[q].endValue+D[q].unitType),R=r(a).rootPropertyValueCache[z]):x.Hooks.registered[q]?F===i?(R=x.getPropertyValue(a,z),F=x.getPropertyValue(a,q,R)):R=x.Hooks.templates[z][1]:F===i&&(F=x.getPropertyValue(a,q));var W,$,V,X=!1;if(F=(W=m(q,F))[0],V=W[1],H=(W=m(q,H))[0].replace(/^([+-\/*])=/,function(t,e){return X=e,""}),$=W[1],F=parseFloat(F)||0,H=parseFloat(H)||0,"%"===amp;&(/^(fontSize|lineHeight)#x2F;.test(q)?(H/=100,$="em"):/^scale/.test(q)?(H/=100,$=""):/(Red|Green|Blue)#x2F;i.test(q)&&(H=H/100*255,$="")),/[\/*]/.test(X))$=V;else if(V!==amp;&0!==F)if(0===H)$=V;else{o=o||y();var Y=/margin|padding|left|right|width|text|word|letter/i.test(q)||/X#x2F;.test(q)||"x"===q?"x":"y";switch(V){case"%":F*="x"===Y?o.percentToPxWidth:o.percentToPxHeight;break;case"px":break;default:F*=o[V+"ToPx"]}switch($){case"%":F*=1/("x"===Y?o.percentToPxWidth:o.percentToPxHeight);break;case"px":break;default:F*=1/o[$+"ToPx"]}}switch(X){case"+":H=F+H;break;case"-":H=F-H;break;case"*":H*=F;break;case"/":H=F/H}u[q]={rootPropertyValue:R,startValue:F,currentValue:F,endValue:H,unitType:$,easing:j},b.debug&&console.log("tweensContainer ("+q+"): "+JSON.stringify(u[q]),a)}else b.debug&&console.log("Skipping ["+z+"] due to a lack of browser support.")}u.element=a}u.element&&(x.Values.addClass(a,"velocity-animating"),N.push(u),""===s.queue&&(r(a).tweensContainer=u,r(a).opts=s),r(a).isAnimating=!0,T===w-1?(b.State.calls.push([N,h,s,null,E.resolver]),!1===b.State.isTicking&&(b.State.isTicking=!0,c())):T++)}var o,a=this,s=d.extend({},b.defaults,g),u={};switch(r(a)===i&&b.init(a),parseFloat(s.delay)&&!1!==s.queue&&d.queue(a,s.queue,function(t){b.velocityQueueEntryFlag=!0,r(a).delayTimer={setTimeout:setTimeout(t,parseFloat(s.delay)),next:t}}),s.duration.toString().toLowerCase()){case"fast":s.duration=200;break;case"normal":s.duration=m;break;case"slow":s.duration=600;break;default:s.duration=parseFloat(s.duration)||1}!1!==b.mock&&(!0===b.mock?s.duration=s.delay=1:(s.duration*=parseFloat(b.mock)||1,s.delay*=parseFloat(b.mock)||1)),s.easing=l(s.easing,s.duration),s.begin&&!v.isFunction(s.begin)&&(s.begin=null),s.progress&&!v.isFunction(s.progress)&&(s.progress=null),s.complete&&!v.isFunction(s.complete)&&(s.complete=null),s.display!==i&&null!==s.display&&(s.display=s.display.toString().toLowerCase(),"auto"===s.display&&(s.display=b.CSS.Values.getDisplayType(a))),s.visibility!==i&&null!==s.visibility&&(s.visibility=s.visibility.toString().toLowerCase()),s.mobileHA=s.mobileHA&&b.State.isMobile&&!b.State.isGingerbread,!1===s.queue?s.delay?setTimeout(t,s.delay):t():d.queue(a,s.queue,function(e,n){return!0===n?(E.promise&&E.resolver(h),!0):(b.velocityQueueEntryFlag=!0,void t())}),""!==s.queue&&"fx"!==s.queue||"inprogress"===d.queue(a)[0]||d.dequeue(a)}.call(o)}),(_=d.extend({},b.defaults,g)).loop=parseInt(_.loop),M=2*_.loop-1,_.loop)for(var q=0;M>q;q++){var L={delay:_.delay,progress:_.progress};q===M-1&&(L.display=_.display,L.visibility=_.visibility,L.complete=_.complete),k(h,"reverse",L)}return t()}};(b=d.extend(k,b)).animate=k;var T=e.requestAnimationFrame||f;return b.State.isMobile||n.hidden===i||n.addEventListener("visibilitychange",function(){n.hidden?(T=function(t){return setTimeout(function(){t(!0)},16)},c()):T=e.requestAnimationFrame||f}),t.Velocity=b,t!==e&&(t.fn.velocity=k,t.fn.velocity.defaults=b.defaults),d.each(["Down","Up"],function(t,e){b.Redirects["slide"+e]=function(t,n,o,r,a,s){var l=d.extend({},n),c=l.begin,u=l.complete,p={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""},h={};l.display===i&&(l.display="Down"===e?"inline"===b.CSS.Values.getDisplayType(t)?"inline-block":"block":"none"),l.begin=function(){c&&c.call(a,a);for(var n in p){h[n]=t.style[n];var i=b.CSS.getPropertyValue(t,n);p[n]="Down"===e?[i,0]:[0,i]}h.overflow=t.style.overflow,t.style.overflow="hidden"},l.complete=function(){for(var e in h)t.style[e]=h[e];u&&u.call(a,a),s&&s.resolver(a)},b(t,p,l)}}),d.each(["In","Out"],function(t,e){b.Redirects["fade"+e]=function(t,n,o,r,a,s){var l=d.extend({},n),c={opacity:"In"===e?1:0},u=l.complete;l.complete=o!==r-1?l.begin=null:function(){u&&u.call(a,a),s&&s.resolver(a)},l.display===i&&(l.display="In"===e?"auto":"none"),b(this,c,l)}}),b}a.fn.velocity=a.fn.animate}(window.jQuery||window.Zepto||window,window,document)},"object"==typeof t&&"object"==typeof t.exports?t.exports=l():void 0===(r="function"==typeof(i=l)?i.call(e,n,e,t):i)||(t.exports=r)),function(i,o,a,s){"use strict";function l(t,e,n){return setTimeout(f(t,n),e)}function c(t,e,n){return!!Array.isArray(t)&&(u(t,n[e],n),!0)}function u(t,e,n){var i;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==s)for(i=0;i<t.length;)e.call(n,t[i],i,t),i++;else for(i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i,t)}function d(t,e,n){for(var i=Object.keys(e),o=0;o<i.length;)(!n||n&&t[i[o]]===s)&&(t[i[o]]=e[i[o]]),o++;return t}function p(t,e){return d(t,e,!0)}function h(t,e,n){var i,o=e.prototype;(i=t.prototype=Object.create(o)).constructor=t,i._super=o,n&&d(i,n)}function f(t,e){return function(){return t.apply(e,arguments)}}function v(t,e){return typeof t==et?t.apply(e&&e[0]||s,e):t}function g(t,e){return t===s?e:t}function m(t,e,n){u(x(e),function(e){t.addEventListener(e,n,!1)})}function y(t,e,n){u(x(e),function(e){t.removeEventListener(e,n,!1)})}function b(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function w(t,e){return t.indexOf(e)>-1}function x(t){return t.trim().split(/\s+/g)}function k(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;i<t.length;){if(n&&t[i][n]==e||!n&&t[i]===e)return i;i++}return-1}function T(t){return Array.prototype.slice.call(t,0)}function C(t,e,n){for(var i=[],o=[],r=0;r<t.length;){var a=e?t[r][e]:t[r];k(o,a)<0&&i.push(t[r]),o[r]=a,r++}return n&&(i=e?i.sort(function(t,n){return t[e]>n[e]}):i.sort()),i}function S(t,e){for(var n,i,o=e[0].toUpperCase()+e.slice(1),r=0;r<K.length;){if((i=(n=K[r])?n+o:e)in t)return i;r++}return s}function E(t){var e=t.ownerDocument;return e.defaultView||e.parentWindow}function A(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){v(t.options.enable,[t])&&n.handler(e)},this.init()}function P(t,e,n){var i=n.pointers.length,o=n.changedPointers.length,r=e&pt&&0==i-o,a=e&(ft|vt)&&0==i-o;n.isFirst=!!r,n.isFinal=!!a,r&&(t.session={}),n.eventType=e,function(t,e){var n=t.session,i=e.pointers,o=i.length;n.firstInput||(n.firstInput=O(e)),o>1&&!n.firstMultiple?n.firstMultiple=O(e):1===o&&(n.firstMultiple=!1);var r=n.firstInput,a=n.firstMultiple,l=a?a.center:r.center,c=e.center=D(i);e.timeStamp=ot(),e.deltaTime=e.timeStamp-r.timeStamp,e.angle=I(l,c),e.distance=_(l,c),f=n,v=e,g=v.center,m=f.offsetDelta||{},y=f.prevDelta||{},w=f.prevInput||{},(v.eventType===pt||w.eventType===ft)&&(y=f.prevDelta={x:w.deltaX||0,y:w.deltaY||0},m=f.offsetDelta={x:g.x,y:g.y}),v.deltaX=y.x+(g.x-m.x),v.deltaY=y.y+(g.y-m.y),e.offsetDirection=M(e.deltaX,e.deltaY),e.scale=a?(p=a.pointers,h=i,_(h[0],h[1],St)/_(p[0],p[1],St)):1,e.rotation=a?(u=a.pointers,d=i,I(d[1],d[0],St)-I(u[1],u[0],St)):0,function(t,e){var n,i,o,r,a=t.lastInterval||e,l=e.timeStamp-a.timeStamp;if(e.eventType!=vt&&(l>dt||a.velocity===s)){var c=a.deltaX-e.deltaX,u=a.deltaY-e.deltaY,d={x:c/(p=l)||0,y:u/p||0};i=d.x,o=d.y,n=it(d.x)>it(d.y)?d.x:d.y,r=M(c,u),t.lastInterval=e}else n=a.velocity,i=a.velocityX,o=a.velocityY,r=a.direction;var p;e.velocity=n,e.velocityX=i,e.velocityY=o,e.direction=r}(n,e);var u,d;var p,h;var f,v,g,m,y,w;var x=t.element;b(e.srcEvent.target,x)&&(x=e.srcEvent.target),e.target=x}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function O(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:nt(t.pointers[n].clientX),clientY:nt(t.pointers[n].clientY)},n++;return{timeStamp:ot(),pointers:e,center:D(e),deltaX:t.deltaX,deltaY:t.deltaY}}function D(t){var e=t.length;if(1===e)return{x:nt(t[0].clientX),y:nt(t[0].clientY)};for(var n=0,i=0,o=0;e>o;)n+=t[o].clientX,i+=t[o].clientY,o++;return{x:nt(n/e),y:nt(i/e)}}function M(t,e){return t===e?gt:it(t)>=it(e)?t>0?mt:yt:e>0?bt:wt}function _(t,e,n){n||(n=Ct);var i=e[n[0]]-t[n[0]],o=e[n[1]]-t[n[1]];return Math.sqrt(i*i+o*o)}function I(t,e,n){n||(n=Ct);var i=e[n[0]]-t[n[0]],o=e[n[1]]-t[n[1]];return 180*Math.atan2(o,i)/Math.PI}function N(){this.evEl=At,this.evWin=Pt,this.allow=!0,this.pressed=!1,A.apply(this,arguments)}function q(){this.evEl=Mt,this.evWin=_t,A.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function L(){this.evTarget=Nt,this.evWin=qt,this.started=!1,A.apply(this,arguments)}function H(){this.evTarget=Ht,this.targetIds={},A.apply(this,arguments)}function j(){A.apply(this,arguments);var t=f(this.handler,this);this.touch=new H(this.manager,t),this.mouse=new N(this.manager,t)}function F(t,e){this.manager=t,this.set(e)}function z(t){this.id=rt++,this.manager=null,this.options=p(t||{},this.defaults),this.options.enable=g(this.options.enable,!0),this.state=Yt,this.simultaneous={},this.requireFail=[]}function R(t){return t==wt?"down":t==bt?"up":t==mt?"left":t==yt?"right":""}function W(t,e){var n=e.manager;return n?n.get(t):t}function $(){z.apply(this,arguments)}function V(){$.apply(this,arguments),this.pX=null,this.pY=null}function X(){$.apply(this,arguments)}function Y(){z.apply(this,arguments),this._timer=null,this._input=null}function B(){$.apply(this,arguments)}function Q(){$.apply(this,arguments)}function U(){z.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function G(t,e){return(e=e||{}).recognizers=g(e.recognizers,G.defaults.preset),new Z(t,e)}function Z(t,e){var n;e=e||{},this.options=p(e,G.defaults),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.element=t,this.input=new((n=this).options.inputClass||(st?q:lt?H:at?j:N))(n,P),this.touchAction=new F(this,this.options.touchAction),J(this,!0),u(e.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function J(t,e){var n=t.element;u(t.options.cssProps,function(t,i){n.style[S(n.style,i)]=e?t:""})}var K=["","webkit","moz","MS","ms","o"],tt=o.createElement("div"),et="function",nt=Math.round,it=Math.abs,ot=Date.now,rt=1,at="ontouchstart"in i,st=S(i,"PointerEvent")!==s,lt=at&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),ct="touch",ut="mouse",dt=25,pt=1,ht=2,ft=4,vt=8,gt=1,mt=2,yt=4,bt=8,wt=16,xt=mt|yt,kt=bt|wt,Tt=xt|kt,Ct=["x","y"],St=["clientX","clientY"];A.prototype={handler:function(){},init:function(){this.evEl&&m(this.element,this.evEl,this.domHandler),this.evTarget&&m(this.target,this.evTarget,this.domHandler),this.evWin&&m(E(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&y(this.element,this.evEl,this.domHandler),this.evTarget&&y(this.target,this.evTarget,this.domHandler),this.evWin&&y(E(this.element),this.evWin,this.domHandler)}};var Et={mousedown:pt,mousemove:ht,mouseup:ft},At="mousedown",Pt="mousemove mouseup";h(N,A,{handler:function(t){var e=Et[t.type];e&pt&&0===t.button&&(this.pressed=!0),e&ht&&1!==t.which&&(e=ft),this.pressed&&this.allow&&(e&ft&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:ut,srcEvent:t}))}});var Ot={pointerdown:pt,pointermove:ht,pointerup:ft,pointercancel:vt,pointerout:vt},Dt={2:ct,3:"pen",4:ut,5:"kinect"},Mt="pointerdown",_t="pointermove pointerup pointercancel";i.MSPointerEvent&&(Mt="MSPointerDown",_t="MSPointerMove MSPointerUp MSPointerCancel"),h(q,A,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),o=Ot[i],r=Dt[t.pointerType]||t.pointerType,a=r==ct,s=k(e,t.pointerId,"pointerId");o&pt&&(0===t.button||a)?0>s&&(e.push(t),s=e.length-1):o&(ft|vt)&&(n=!0),0>s||(e[s]=t,this.callback(this.manager,o,{pointers:e,changedPointers:[t],pointerType:r,srcEvent:t}),n&&e.splice(s,1))}});var It={touchstart:pt,touchmove:ht,touchend:ft,touchcancel:vt},Nt="touchstart",qt="touchstart touchmove touchend touchcancel";h(L,A,{handler:function(t){var e=It[t.type];if(e===pt&&(this.started=!0),this.started){var n=function(t,e){var n=T(t.touches),i=T(t.changedTouches);return e&(ft|vt)&&(n=C(n.concat(i),"identifier",!0)),[n,i]}.call(this,t,e);e&(ft|vt)&&0==n[0].length-n[1].length&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:ct,srcEvent:t})}}});var Lt={touchstart:pt,touchmove:ht,touchend:ft,touchcancel:vt},Ht="touchstart touchmove touchend touchcancel";h(H,A,{handler:function(t){var e=Lt[t.type],n=function(t,e){var n=T(t.touches),i=this.targetIds;if(e&(pt|ht)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var o,r,a=T(t.changedTouches),s=[],l=this.target;if(r=n.filter(function(t){return b(t.target,l)}),e===pt)for(o=0;o<r.length;)i[r[o].identifier]=!0,o++;for(o=0;o<a.length;)i[a[o].identifier]&&s.push(a[o]),e&(ft|vt)&&delete i[a[o].identifier],o++;return s.length?[C(r.concat(s),"identifier",!0),s]:void 0}.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:ct,srcEvent:t})}}),h(j,A,{handler:function(t,e,n){var i=n.pointerType==ct,o=n.pointerType==ut;if(i)this.mouse.allow=!1;else if(o&&!this.mouse.allow)return;e&(ft|vt)&&(this.mouse.allow=!0),this.callback(t,e,n)},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var jt=S(tt.style,"touchAction"),Ft=jt!==s,zt="compute",Rt="auto",Wt="manipulation",$t="none",Vt="pan-x",Xt="pan-y";F.prototype={set:function(t){t==zt&&(t=this.compute()),Ft&&(this.manager.element.style[jt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return u(this.manager.recognizers,function(e){v(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),function(t){if(w(t,$t))return $t;var e=w(t,Vt),n=w(t,Xt);return e&&n?Vt+" "+Xt:e||n?e?Vt:Xt:w(t,Wt)?Wt:Rt}(t.join(" "))},preventDefaults:function(t){if(!Ft){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)return void e.preventDefault();var i=this.actions,o=w(i,$t),r=w(i,Xt),a=w(i,Vt);return o||r&&n&xt||a&&n&kt?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var Yt=1,Bt=2,Qt=4,Ut=8,Gt=Ut,Zt=16;z.prototype={defaults:{},set:function(t){return d(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(c(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=W(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return c(t,"dropRecognizeWith",this)?this:(t=W(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(c(t,"requireFailure",this))return this;var e=this.requireFail;return-1===k(e,t=W(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(c(t,"dropRequireFailure",this))return this;t=W(t,this);var e=k(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function e(e){var o;n.manager.emit(n.options.event+(e?(o=i)&Zt?"cancel":o&Ut?"end":o&Qt?"move":o&Bt?"start":"":""),t)}var n=this,i=this.state;Ut>i&&e(!0),e(),i>=Ut&&e(!0)},tryEmit:function(t){return this.canEmit()?this.emit(t):void(this.state=32)},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(32|Yt)))return!1;t++}return!0},recognize:function(t){var e=d({},t);return v(this.options.enable,[this,e])?(this.state&(Gt|Zt|32)&&(this.state=Yt),this.state=this.process(e),void(this.state&(Bt|Qt|Ut|Zt)&&this.tryEmit(e))):(this.reset(),void(this.state=32))},process:function(){},getTouchAction:function(){},reset:function(){}},h($,z,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,i=e&(Bt|Qt),o=this.attrTest(t);return i&&(n&vt||!o)?e|Zt:i||o?n&ft?e|Ut:e&Bt?e|Qt:Bt:32}}),h(V,$,{defaults:{event:"pan",threshold:10,pointers:1,direction:Tt},getTouchAction:function(){var t=this.options.direction,e=[];return t&xt&&e.push(Xt),t&kt&&e.push(Vt),e},directionTest:function(t){var e=this.options,n=!0,i=t.distance,o=t.direction,r=t.deltaX,a=t.deltaY;return o&e.direction||(e.direction&xt?(o=0===r?gt:0>r?mt:yt,n=r!=this.pX,i=Math.abs(t.deltaX)):(o=0===a?gt:0>a?bt:wt,n=a!=this.pY,i=Math.abs(t.deltaY))),t.direction=o,n&&i>e.threshold&&o&e.direction},attrTest:function(t){return $.prototype.attrTest.call(this,t)&&(this.state&Bt||!(this.state&Bt)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=R(t.direction);e&&this.manager.emit(this.options.event+e,t),this._super.emit.call(this,t)}}),h(X,$,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[$t]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&Bt)},emit:function(t){if(this._super.emit.call(this,t),1!==t.scale){var e=t.scale<1?"in":"out";this.manager.emit(this.options.event+e,t)}}}),h(Y,z,{defaults:{event:"press",pointers:1,time:500,threshold:5},getTouchAction:function(){return[Rt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,o=t.deltaTime>e.time;if(this._input=t,!i||!n||t.eventType&(ft|vt)&&!o)this.reset();else if(t.eventType&pt)this.reset(),this._timer=l(function(){this.state=Gt,this.tryEmit()},e.time,this);else if(t.eventType&ft)return Gt;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===Gt&&(t&&t.eventType&ft?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=ot(),this.manager.emit(this.options.event,this._input)))}}),h(B,$,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[$t]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&Bt)}}),h(Q,$,{defaults:{event:"swipe",threshold:10,velocity:.65,direction:xt|kt,pointers:1},getTouchAction:function(){return V.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(xt|kt)?e=t.velocity:n&xt?e=t.velocityX:n&kt&&(e=t.velocityY),this._super.attrTest.call(this,t)&&n&t.direction&&t.distance>this.options.threshold&&it(e)>this.options.velocity&&t.eventType&ft},emit:function(t){var e=R(t.direction);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),h(U,z,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:2,posThreshold:10},getTouchAction:function(){return[Wt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,o=t.deltaTime<e.time;if(this.reset(),t.eventType&pt&&0===this.count)return this.failTimeout();if(i&&o&&n){if(t.eventType!=ft)return this.failTimeout();var r=!this.pTime||t.timeStamp-this.pTime<e.interval,a=!this.pCenter||_(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,a&&r?this.count+=1:this.count=1,this._input=t,0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=l(function(){this.state=Gt,this.tryEmit()},e.interval,this),Bt):Gt}return 32},failTimeout:function(){return this._timer=l(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==Gt&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),G.VERSION="2.0.4",G.defaults={domEvents:!1,touchAction:zt,enable:!0,inputTarget:null,inputClass:null,preset:[[B,{enable:!1}],[X,{enable:!1},["rotate"]],[Q,{direction:xt}],[V,{direction:xt},["swipe"]],[U],[U,{event:"doubletap",taps:2},["tap"]],[Y]],cssProps:{userSelect:"default",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};Z.prototype={set:function(t){return d(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){this.touchAction.preventDefaults(t);var n,i=this.recognizers,o=e.curRecognizer;(!o||o&&o.state&Gt)&&(o=e.curRecognizer=null);for(var r=0;r<i.length;)n=i[r],2===e.stopped||o&&n!=o&&!n.canRecognizeWith(o)?n.reset():n.recognize(t),!o&&n.state&(Bt|Qt|Ut)&&(o=e.curRecognizer=n),r++}},get:function(t){if(t instanceof z)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(c(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(c(t,"remove",this))return this;var e=this.recognizers;return t=this.get(t),e.splice(k(e,t),1),this.touchAction.update(),this},on:function(t,e){var n=this.handlers;return u(x(t),function(t){n[t]=n[t]||[],n[t].push(e)}),this},off:function(t,e){var n=this.handlers;return u(x(t),function(t){e?n[t].splice(k(n[t],e),1):delete n[t]}),this},emit:function(t,e){var n,i,r;this.options.domEvents&&(n=t,i=e,(r=o.createEvent("Event")).initEvent(n,!0,!0),r.gesture=i,i.target.dispatchEvent(r));var a=this.handlers[t]&&this.handlers[t].slice();if(a&&a.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var s=0;s<a.length;)a[s](e),s++}},destroy:function(){this.element&&J(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},d(G,{INPUT_START:pt,INPUT_MOVE:ht,INPUT_END:ft,INPUT_CANCEL:vt,STATE_POSSIBLE:Yt,STATE_BEGAN:Bt,STATE_CHANGED:Qt,STATE_ENDED:Ut,STATE_RECOGNIZED:Gt,STATE_CANCELLED:Zt,STATE_FAILED:32,DIRECTION_NONE:gt,DIRECTION_LEFT:mt,DIRECTION_RIGHT:yt,DIRECTION_UP:bt,DIRECTION_DOWN:wt,DIRECTION_HORIZONTAL:xt,DIRECTION_VERTICAL:kt,DIRECTION_ALL:Tt,Manager:Z,Input:A,TouchAction:F,TouchInput:H,MouseInput:N,PointerEventInput:q,TouchMouseInput:j,SingleTouchInput:L,Recognizer:z,AttrRecognizer:$,Tap:U,Pan:V,Swipe:Q,Pinch:X,Rotate:B,Press:Y,on:m,off:y,each:u,merge:p,extend:d,inherit:h,bindFn:f,prefixed:S}),"function"==et&&n(7)?void 0===(r=function(){return G}.call(e,n,e,t))||(t.exports=r):void 0!==t&&t.exports?t.exports=G:i.Hammer=G}(window,document),c=function(t,e){var n;t.fn.hammer=function(n){return this.each(function(){var i,o;i=n,(o=t(this)).data("hammer")||o.data("hammer",new e(o[0],i))})},e.Manager.prototype.emit=(n=e.Manager.prototype.emit,function(e,i){n.call(this,e,i),t(this.element).trigger({type:e,gesture:i})})},o=[n(0),n(8)],void 0===(r="function"==typeof(i=c)?i.apply(e,o):i)||(t.exports=r),(u=window).Package?Materialize={}:u.Materialize={},function(t){for(var e=0,n=["webkit","moz"],i=t.requestAnimationFrame,o=t.cancelAnimationFrame,r=n.length;--r>=0&&!i;)i=t[n[r]+"RequestAnimationFrame"],o=t[n[r]+"CancelRequestAnimationFrame"];i&&o||(i=function(t){var n=+Date.now(),i=Math.max(e+16,n);return setTimeout(function(){t(e=i)},i-n)},o=clearTimeout),t.requestAnimationFrame=i,t.cancelAnimationFrame=o}(window),Materialize.objectSelectorString=function(t){return((t.prop("tagName")||"")+(t.attr("id")||"")+(t.attr("class")||"")).replace(/\s/g,"")},Materialize.guid=function(){function t(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return function(){return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()}}(),Materialize.escapeHash=function(t){return t.replace(/(:|\.|\[|\]|,|=)/g,"\\$1")},Materialize.elementOrParentIsFixed=function(t){var e=$(t),n=!1;return e.add(e.parents()).each(function(){if("fixed"===$(this).css("position"))return n=!0,!1}),n};var h,f,v,g,m,b,w,x,k,T,C,S,E,A,P,O,D,M,_,I,N,q,L=Date.now||function(){return(new Date).getTime()};Materialize.throttle=function(t,e,n){var i,o,r,a=null,s=0;n||(n={});var l=function(){s=!1===n.leading?0:L(),a=null,r=t.apply(i,o),i=o=null};return function(){var c=L();s||!1!==n.leading||(s=c);var u=e-(c-s);return i=this,o=arguments,u<=0?(clearTimeout(a),a=null,s=c,r=t.apply(i,o),i=o=null):a||!1===n.trailing||(a=setTimeout(l,u)),r}},h=a?a.Velocity:$?$.Velocity:Velocity,(f=a).fn.collapsible=function(t,e){var n={accordion:void 0,onOpen:void 0,onClose:void 0},i=t;return t=f.extend(n,t),this.each(function(){var n=f(this),o=f(this).find("> li > .collapsible-header"),r=n.data("collapsible");function a(e,i){var a,l;i||e.toggleClass("active"),t.accordion||"accordion"===r||void 0===r?(l=e,o=n.find("> li > .collapsible-header"),l.hasClass("active")?l.parent().addClass("active"):l.parent().removeClass("active"),l.parent().hasClass("active")?l.siblings(".collapsible-body").stop(!0,!1).slideDown({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){f(this).css("height","")}}):l.siblings(".collapsible-body").stop(!0,!1).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){f(this).css("height","")}}),o.not(l).removeClass("active").parent().removeClass("active"),o.not(l).parent().children(".collapsible-body").stop(!0,!1).each(function(){f(this).is(":visible")&&f(this).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){f(this).css("height",""),s(f(this).siblings(".collapsible-header"))}})})):((a=e).hasClass("active")?a.parent().addClass("active"):a.parent().removeClass("active"),a.parent().hasClass("active")?a.siblings(".collapsible-body").stop(!0,!1).slideDown({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){f(this).css("height","")}}):a.siblings(".collapsible-body").stop(!0,!1).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){f(this).css("height","")}})),s(e)}function s(e){e.hasClass("active")?"function"==typeof t.onOpen&&t.onOpen.call(this,e.parent()):"function"==typeof t.onClose&&t.onClose.call(this,e.parent())}function l(t){return t.closest("li > .collapsible-header")}function c(){n.off("click.collapse","> li > .collapsible-header")}if("destroy"!==i)if(e>=0&&e<o.length){var u=o.eq(e);u.length&&("open"===i||"close"===i&&u.hasClass("active"))&&a(u)}else c(),n.on("click.collapse","> li > .collapsible-header",function(t){var e=f(t.target);l(e).length>0&&(e=l(e)),a(e)}),t.accordion||"accordion"===r||void 0===r?a(o.filter(".active").first(),!0):o.filter(".active").each(function(){a(f(this),!0)});else c()})},f(document).ready(function(){f(".collapsible").collapsible()}),(v=a).fn.scrollTo=function(t){return v(this).scrollTop(v(this).scrollTop()-v(this).offset().top+v(t).offset().top),this},v.fn.dropdown=function(t){var e={inDuration:300,outDuration:225,constrainWidth:!0,hover:!1,gutter:0,belowOrigin:!1,alignment:"left",stopPropagation:!1};return"open"===t?(this.each(function(){v(this).trigger("open")}),!1):"close"===t?(this.each(function(){v(this).trigger("close")}),!1):void this.each(function(){var n=v(this),i=v.extend({},e,t),o=!1,r=v("#"+n.attr("data-activates"));function a(){void 0!==n.data("induration")&&(i.inDuration=n.data("induration")),void 0!==n.data("outduration")&&(i.outDuration=n.data("outduration")),void 0!==n.data("constrainwidth")&&(i.constrainWidth=n.data("constrainwidth")),void 0!==n.data("hover")&&(i.hover=n.data("hover")),void 0!==n.data("gutter")&&(i.gutter=n.data("gutter")),void 0!==n.data("beloworigin")&&(i.belowOrigin=n.data("beloworigin")),void 0!==n.data("alignment")&&(i.alignment=n.data("alignment")),void 0!==n.data("stoppropagation")&&(i.stopPropagation=n.data("stoppropagation"))}function s(t){"focus"===t&&(o=!0),a(),r.addClass("active"),n.addClass("active");var e=n[0].getBoundingClientRect().width;!0===i.constrainWidth?r.css("width",e):r.css("white-space","nowrap");var s=window.innerHeight,c=n.innerHeight(),u=n.offset().left,d=n.offset().top-v(window).scrollTop(),p=i.alignment,h=0,f=0,g=0;!0===i.belowOrigin&&(g=c);var m=0,y=0,b=n.parent();if(b.is("body")||(b[0].scrollHeight>b[0].clientHeight&&(m=b[0].scrollTop),b[0].scrollWidth>b[0].clientWidth&&(y=b[0].scrollLeft)),u+r.innerWidth()>v(window).width()?p="right":u-r.innerWidth()+n.innerWidth()<0&&(p="left"),d+r.innerHeight()>s)if(d+c-r.innerHeight()<0){var w=s-d-g;r.css("max-height",w)}else g||(g+=c),g-=r.innerHeight();"left"===p?(h=i.gutter,f=n.position().left+h):"right"===p&&(r.stop(!0,!0).css({opacity:0,left:0}),f=n.position().left+e-r.width()+(h=-i.gutter)),r.css({position:"absolute",top:n.position().top+g+m,left:f+y}),r.slideDown({queue:!1,duration:i.inDuration,easing:"easeOutCubic",complete:function(){v(this).css("height","")}}).animate({opacity:1},{queue:!1,duration:i.inDuration,easing:"easeOutSine"}),setTimeout(function(){v(document).on("click."+r.attr("id"),function(t){l(),v(document).off("click."+r.attr("id"))})},0)}function l(){o=!1,r.fadeOut(i.outDuration),r.removeClass("active"),n.removeClass("active"),v(document).off("click."+r.attr("id")),setTimeout(function(){r.css("max-height","")},i.outDuration)}if(a(),n.after(r),i.hover){var c=!1;n.off("click."+n.attr("id")),n.on("mouseenter",function(t){!1===c&&(s(),c=!0)}),n.on("mouseleave",function(t){var e=t.toElement||t.relatedTarget;v(e).closest(".dropdown-content").is(r)||(r.stop(!0,!0),l(),c=!1)}),r.on("mouseleave",function(t){var e=t.toElement||t.relatedTarget;v(e).closest(".dropdown-button").is(n)||(r.stop(!0,!0),l(),c=!1)})}else n.off("click."+n.attr("id")),n.on("click."+n.attr("id"),function(t){o||(n[0]!=t.currentTarget||n.hasClass("active")||0!==v(t.target).closest(".dropdown-content").length?n.hasClass("active")&&(l(),v(document).off("click."+r.attr("id"))):(t.preventDefault(),i.stopPropagation&&t.stopPropagation(),s("click")))});n.on("open",function(t,e){s(e)}),n.on("close",l)})},v(document).ready(function(){v(".dropdown-button").dropdown()}),function(t){"use strict";var e={opacity:.5,inDuration:250,outDuration:250,ready:void 0,complete:void 0,dismissible:!0,startingTop:"4%",endingTop:"10%"},n=function(){function n(e,i){p(this,n),e[0].M_Modal&&e[0].M_Modal.destroy(),this.$el=e,this.options=t.extend({},n.defaults,i),this.isOpen=!1,this.$el[0].M_Modal=this,this.id=e.attr("id"),this.openingTrigger=void 0,this.$overlay=t('<div class="modal-overlay"></div>'),n._increment++,n._count++,this.$overlay[0].style.zIndex=1e3+2*n._increment,this.$el[0].style.zIndex=1e3+2*n._increment+1,this.setupEventHandlers()}return d(n,[{key:"getInstance",value:function(){return this}},{key:"destroy",value:function(){this.removeEventHandlers(),this.$el[0].removeAttribute("style"),this.$overlay[0].parentNode&&this.$overlay[0].parentNode.removeChild(this.$overlay[0]),this.$el[0].M_Modal=void 0,n._count--}},{key:"setupEventHandlers",value:function(){this.handleOverlayClickBound=this.handleOverlayClick.bind(this),this.handleModalCloseClickBound=this.handleModalCloseClick.bind(this),1===n._count&&document.addEventListener("click",this.handleTriggerClick),this.$overlay[0].addEventListener("click",this.handleOverlayClickBound),this.$el[0].addEventListener("click",this.handleModalCloseClickBound)}},{key:"removeEventHandlers",value:function(){0===n._count&&document.removeEventListener("click",this.handleTriggerClick),this.$overlay[0].removeEventListener("click",this.handleOverlayClickBound),this.$el[0].removeEventListener("click",this.handleModalCloseClickBound)}},{key:"handleTriggerClick",value:function(e){var n=t(e.target).closest(".modal-trigger");if(e.target&&n.length){var i=n[0].getAttribute("href");i=i?i.slice(1):n[0].getAttribute("data-target");var o=document.getElementById(i).M_Modal;o&&o.open(n),e.preventDefault()}}},{key:"handleOverlayClick",value:function(){this.options.dismissible&&this.close()}},{key:"handleModalCloseClick",value:function(e){var n=t(e.target).closest(".modal-close");e.target&&n.length&&this.close()}},{key:"handleKeydown",value:function(t){27===t.keyCode&&this.options.dismissible&&this.close()}},{key:"animateIn",value:function(){var e=this;t.extend(this.$el[0].style,{display:"block",opacity:0}),t.extend(this.$overlay[0].style,{display:"block",opacity:0}),h(this.$overlay[0],{opacity:this.options.opacity},{duration:this.options.inDuration,queue:!1,ease:"easeOutCubic"});var n={duration:this.options.inDuration,queue:!1,ease:"easeOutCubic",complete:function(){"function"==typeof e.options.ready&&e.options.ready.call(e,e.$el,e.openingTrigger)}};this.$el[0].classList.contains("bottom-sheet")?h(this.$el[0],{bottom:0,opacity:1},n):(h.hook(this.$el[0],"scaleX",.7),this.$el[0].style.top=this.options.startingTop,h(this.$el[0],{top:this.options.endingTop,opacity:1,scaleX:1},n))}},{key:"animateOut",value:function(){var t=this;h(this.$overlay[0],{opacity:0},{duration:this.options.outDuration,queue:!1,ease:"easeOutQuart"});var e={duration:this.options.outDuration,queue:!1,ease:"easeOutCubic",complete:function(){t.$el[0].style.display="none","function"==typeof t.options.complete&&t.options.complete.call(t,t.$el),t.$overlay[0].remove()}};this.$el[0].classList.contains("bottom-sheet")?h(this.$el[0],{bottom:"-100%",opacity:0},e):h(this.$el[0],{top:this.options.startingTop,opacity:0,scaleX:.7},e)}},{key:"open",value:function(t){if(!this.isOpen){this.isOpen=!0;var e=document.body;return e.style.overflow="hidden",this.$el[0].classList.add("open"),e.appendChild(this.$overlay[0]),this.openingTrigger=t||void 0,this.options.dismissible&&(this.handleKeydownBound=this.handleKeydown.bind(this),document.addEventListener("keydown",this.handleKeydownBound)),this.animateIn(),this}}},{key:"close",value:function(){if(this.isOpen)return this.isOpen=!1,this.$el[0].classList.remove("open"),document.body.style.overflow=null,this.options.dismissible&&document.removeEventListener("keydown",this.handleKeydownBound),this.animateOut(),this}}],[{key:"init",value:function(e,i){var o=[];return e.each(function(){o.push(new n(t(this),i))}),o}},{key:"defaults",get:function(){return e}}]),n}();n._increment=0,n._count=0,window.Materialize.Modal=n,t.fn.modal=function(e){return n.prototype[e]?"get"===e.slice(0,3)?this.first()[0].M_Modal[e]():this.each(function(){this.M_Modal[e]()}):"object"!=typeof e&&e?void t.error("Method "+e+" does not exist on jQuery.modal"):(n.init(this,arguments[0]),this)}}(a),(g=a).fn.materialbox=function(){return this.each(function(){if(!g(this).hasClass("initialized")){g(this).addClass("initialized");var t,e,n=!1,i=!0,o=200,r=g(this),a=g("<div></div>").addClass("material-placeholder"),s=r.attr("style");r.wrap(a),r.on("click",function(){var o=r.parent(".material-placeholder"),a=window.innerWidth,s=window.innerHeight,c=r.width(),u=r.height();if(!1===i)return l(),!1;if(n&&!0===i)return l(),!1;for(i=!1,r.addClass("active"),n=!0,o.css({width:o[0].getBoundingClientRect().width,height:o[0].getBoundingClientRect().height,position:"relative",top:0,left:0}),t=void 0,e=o[0].parentNode;null!==e&&!g(e).is(document);){var d=g(e);"visible"!==d.css("overflow")&&(d.css("overflow","visible"),t=void 0===t?d:t.add(d)),e=e.parentNode}r.css({position:"absolute","z-index":1e3,"will-change":"left, top, width, height"}).data("width",c).data("height",u);var p=g('<div id="materialbox-overlay"></div>').css({opacity:0}).click(function(){!0===i&&l()});r.before(p);var h=p[0].getBoundingClientRect();if(p.css({width:a,height:s,left:-1*h.left,top:-1*h.top}),p.velocity({opacity:1},{duration:275,queue:!1,easing:"easeOutQuad"}),""!==r.data("caption")){var f=g('<div class="materialbox-caption"></div>');f.text(r.data("caption")),g("body").append(f),f.css({display:"inline"}),f.velocity({opacity:1},{duration:275,queue:!1,easing:"easeOutQuad"})}var v=0,m=0;c/a>u/s?(v=.9*a,m=.9*a*(u/c)):(v=.9*s*(c/u),m=.9*s),r.hasClass("responsive-img")?r.velocity({"max-width":v,width:c},{duration:0,queue:!1,complete:function(){r.css({left:0,top:0}).velocity({height:m,width:v,left:g(document).scrollLeft()+a/2-r.parent(".material-placeholder").offset().left-v/2,top:g(document).scrollTop()+s/2-r.parent(".material-placeholder").offset().top-m/2},{duration:275,queue:!1,easing:"easeOutQuad",complete:function(){i=!0}})}}):r.css("left",0).css("top",0).velocity({height:m,width:v,left:g(document).scrollLeft()+a/2-r.parent(".material-placeholder").offset().left-v/2,top:g(document).scrollTop()+s/2-r.parent(".material-placeholder").offset().top-m/2},{duration:275,queue:!1,easing:"easeOutQuad",complete:function(){i=!0}}),g(window).on("scroll.materialbox",function(){n&&l()}),g(window).on("resize.materialbox",function(){n&&l()}),g(document).on("keyup.materialbox",function(t){27===t.keyCode&&!0===i&&n&&l()})})}function l(){i=!1;var e=r.parent(".material-placeholder"),a=(window.innerWidth,window.innerHeight,r.data("width")),l=r.data("height");r.velocity("stop",!0),g("#materialbox-overlay").velocity("stop",!0),g(".materialbox-caption").velocity("stop",!0),g(window).off("scroll.materialbox"),g(document).off("keyup.materialbox"),g(window).off("resize.materialbox"),g("#materialbox-overlay").velocity({opacity:0},{duration:o,queue:!1,easing:"easeOutQuad",complete:function(){n=!1,g(this).remove()}}),r.velocity({width:a,height:l,left:0,top:0},{duration:o,queue:!1,easing:"easeOutQuad",complete:function(){e.css({height:"",width:"",position:"",top:"",left:""}),r.removeAttr("style"),r.attr("style",s),r.removeClass("active"),i=!0,t&&t.css("overflow","")}}),g(".materialbox-caption").velocity({opacity:0},{duration:o,queue:!1,easing:"easeOutQuad",complete:function(){g(this).remove()}})}})},g(document).ready(function(){g(".materialboxed").materialbox()}),(m=a).fn.parallax=function(){var t=m(window).width();return this.each(function(e){var n=m(this);function i(e){var i;i=t<601?n.height()>0?n.height():n.children("img").height():n.height()>0?n.height():500;var o=n.children("img").first(),r=o.height()-i,a=n.offset().top+i,s=n.offset().top,l=m(window).scrollTop(),c=window.innerHeight,u=(l+c-s)/(i+c),d=Math.round(r*u);e&&o.css("display","block"),a>l&&s<l+c&&o.css("transform","translate3D(-50%,"+d+"px, 0)")}n.addClass("parallax"),n.children("img").one("load",function(){i(!0)}).each(function(){this.complete&&m(this).trigger("load")}),m(window).scroll(function(){t=m(window).width(),i(!1)}),m(window).resize(function(){t=m(window).width(),i(!1)})})},w={init:function(t){var e={onShow:null,swipeable:!1,responsiveThreshold:1/0};t=b.extend(e,t);var n=Materialize.objectSelectorString(b(this));return this.each(function(e){var i,o,r,a,s=n+e,l=b(this),c=b(window).width(),u=l.find("li.tab a"),d=l.width(),p=b(),h=Math.max(d,l[0].scrollWidth)/u.length,f=prev_index=0,v=!1,g=function(t){return Math.ceil(d-t.position().left-t[0].getBoundingClientRect().width-l.scrollLeft())},m=function(t){return Math.floor(t.position().left+l.scrollLeft())},y=function(t){f-t>=0?(a.velocity({right:g(i)},{duration:300,queue:!1,easing:"easeOutQuad"}),a.velocity({left:m(i)},{duration:300,queue:!1,easing:"easeOutQuad",delay:90})):(a.velocity({left:m(i)},{duration:300,queue:!1,easing:"easeOutQuad"}),a.velocity({right:g(i)},{duration:300,queue:!1,easing:"easeOutQuad",delay:90}))};t.swipeable&&c>t.responsiveThreshold&&(t.swipeable=!1),0===(i=b(u.filter('[href="'+location.hash+'"]'))).length&&(i=b(this).find("li.tab a.active").first()),0===i.length&&(i=b(this).find("li.tab a").first()),i.addClass("active"),(f=u.index(i))<0&&(f=0),void 0!==i[0]&&(o=b(i[0].hash)).addClass("active"),l.find(".indicator").length||l.append('<li class="indicator"></li>'),a=l.find(".indicator"),l.append(a),l.is(":visible")&&setTimeout(function(){a.css({right:g(i)}),a.css({left:m(i)})},0),b(window).off("resize.tabs-"+s).on("resize.tabs-"+s,function(){d=l.width(),h=Math.max(d,l[0].scrollWidth)/u.length,f<0&&(f=0),0!==h&&0!==d&&(a.css({right:g(i)}),a.css({left:m(i)}))}),t.swipeable?(u.each(function(){var t=b(Materialize.escapeHash(this.hash));t.addClass("carousel-item"),p=p.add(t)}),r=p.wrapAll('<div class="tabs-content carousel"></div>'),p.css("display",""),b(".tabs-content.carousel").carousel({fullWidth:!0,noWrap:!0,onCycleTo:function(e){if(!v){var n=f;f=r.index(e),i.removeClass("active"),(i=u.eq(f)).addClass("active"),y(n),"function"==typeof t.onShow&&t.onShow.call(l[0],o)}}})):u.not(i).each(function(){b(Materialize.escapeHash(this.hash)).hide()}),l.off("click.tabs").on("click.tabs","a",function(e){if(b(this).parent().hasClass("disabled"))e.preventDefault();else if(!b(this).attr("target")){v=!0,d=l.width(),h=Math.max(d,l[0].scrollWidth)/u.length,i.removeClass("active");var n=o;i=b(this),o=b(Materialize.escapeHash(this.hash)),u=l.find("li.tab a");i.position();i.addClass("active"),prev_index=f,(f=u.index(b(this)))<0&&(f=0),t.swipeable?p.length&&p.carousel("set",f,function(){"function"==typeof t.onShow&&t.onShow.call(l[0],o)}):(void 0!==o&&(o.show(),o.addClass("active"),"function"==typeof t.onShow&&t.onShow.call(this,o)),void 0===n||n.is(o)||(n.hide(),n.removeClass("active"))),setTimeout(function(){v=!1},300),y(prev_index),e.preventDefault()}})})},select_tab:function(t){this.find('a[href="#'+t+'"]').trigger("click")}},(b=a).fn.tabs=function(t){return w[t]?w[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void b.error("Method "+t+" does not exist on jQuery.tabs"):w.init.apply(this,arguments)},b(document).ready(function(){b("ul.tabs").tabs()}),function(t){t.fn.tooltip=function(n){return"remove"===n?(this.each(function(){t("#"+t(this).attr("data-tooltip-id")).remove(),t(this).removeAttr("data-tooltip-id"),t(this).off("mouseenter.tooltip mouseleave.tooltip")}),!1):(n=t.extend({delay:350,tooltip:"",position:"bottom",html:!1},n),this.each(function(){var i,o,r,a,s,l,c=Materialize.guid(),u=t(this);u.attr("data-tooltip-id")&&t("#"+u.attr("data-tooltip-id")).remove(),u.attr("data-tooltip-id",c);var d=function(){i=u.attr("data-html")?"true"===u.attr("data-html"):n.html,o=void 0===(o=u.attr("data-delay"))||""===o?n.delay:o,r=void 0===(r=u.attr("data-position"))||""===r?n.position:r,a=void 0===(a=u.attr("data-tooltip"))||""===a?n.tooltip:a};d();var p;p=t('<div class="material-tooltip"></div>'),a=i?t("<span></span>").html(a):t("<span></span>").text(a),p.append(a).appendTo(t("body")).attr("id",c),(l=t('<div class="backdrop"></div>')).appendTo(p),s=p,u.off("mouseenter.tooltip mouseleave.tooltip");var h,f=!1;u.on({"mouseenter.tooltip":function(t){h=setTimeout(function(){d(),f=!0,s.velocity("stop"),l.velocity("stop"),s.css({visibility:"visible",left:"0px",top:"0px"});var t,n,i,o,a,c,p=u.outerWidth(),h=u.outerHeight(),v=s.outerHeight(),g=s.outerWidth(),m="0px",y="0px",b=l[0].offsetWidth,w=l[0].offsetHeight;"top"===r?(o=u.offset().top-v-5,a=u.offset().left+p/2-g/2,c=e(a,o,g,v),m="-10px",l.css({bottom:0,left:0,borderRadius:"14px 14px 0 0",transformOrigin:"50% 100%",marginTop:v,marginLeft:g/2-b/2})):"left"===r?(o=u.offset().top+h/2-v/2,a=u.offset().left-g-5,c=e(a,o,g,v),y="-10px",l.css({top:"-7px",right:0,width:"14px",height:"14px",borderRadius:"14px 0 0 14px",transformOrigin:"95% 50%",marginTop:v/2,marginLeft:g})):"right"===r?(o=u.offset().top+h/2-v/2,a=u.offset().left+p+5,c=e(a,o,g,v),y="+10px",l.css({top:"-7px",left:0,width:"14px",height:"14px",borderRadius:"0 14px 14px 0",transformOrigin:"5% 50%",marginTop:v/2,marginLeft:"0px"})):(o=u.offset().top+u.outerHeight()+5,a=u.offset().left+p/2-g/2,c=e(a,o,g,v),m="+10px",l.css({top:0,left:0,marginLeft:g/2-b/2})),s.css({top:c.y,left:c.x}),t=Math.SQRT2*g/parseInt(b),n=Math.SQRT2*v/parseInt(w),i=Math.max(t,n),s.velocity({translateY:m,translateX:y},{duration:350,queue:!1}).velocity({opacity:1},{duration:300,delay:50,queue:!1}),l.css({visibility:"visible"}).velocity({opacity:1},{duration:55,delay:0,queue:!1}).velocity({scaleX:i,scaleY:i},{duration:300,delay:0,queue:!1,easing:"easeInOutQuad"})},o)},"mouseleave.tooltip":function(){f=!1,clearTimeout(h),setTimeout(function(){!0!==f&&(s.velocity({opacity:0,translateY:0,translateX:0},{duration:225,queue:!1}),l.velocity({opacity:0,scaleX:1,scaleY:1},{duration:225,queue:!1,complete:function(){l.css({visibility:"hidden"}),s.css({visibility:"hidden"}),f=!1}}))},225)}})}))};var e=function(e,n,i,o){var r=e,a=n;return r<0?r=4:r+i>window.innerWidth&&(r-=r+i-window.innerWidth),a<0?a=4:a+o>window.innerHeight+t(window).scrollTop&&(a-=a+o-window.innerHeight),{x:r,y:a}};t(document).ready(function(){t(".tooltipped").tooltip()})}(a),function(t){"use strict";var e=e||{},n=document.querySelectorAll.bind(document);function i(t){var e="";for(var n in t)t.hasOwnProperty(n)&&(e+=n+":"+t[n]+";");return e}var o={duration:750,show:function(t,e){if(2===t.button)return!1;var n=e||this,r=document.createElement("div");r.className="waves-ripple",n.appendChild(r);var a,s,l,c,u,d,p,h=(d={top:0,left:0},p=(a=n)&&a.ownerDocument,s=p.documentElement,void 0!==a.getBoundingClientRect&&(d=a.getBoundingClientRect()),l=null!==(u=c=p)&&u===u.window?c:9===c.nodeType&&c.defaultView,{top:d.top+l.pageYOffset-s.clientTop,left:d.left+l.pageXOffset-s.clientLeft}),f=t.pageY-h.top,v=t.pageX-h.left,g="scale("+n.clientWidth/100*10+")";"touches"in t&&(f=t.touches[0].pageY-h.top,v=t.touches[0].pageX-h.left),r.setAttribute("data-hold",Date.now()),r.setAttribute("data-scale",g),r.setAttribute("data-x",v),r.setAttribute("data-y",f);var m={top:f+"px",left:v+"px"};r.className=r.className+" waves-notransition",r.setAttribute("style",i(m)),r.className=r.className.replace("waves-notransition",""),m["-webkit-transform"]=g,m["-moz-transform"]=g,m["-ms-transform"]=g,m["-o-transform"]=g,m.transform=g,m.opacity="1",m["-webkit-transition-duration"]=o.duration+"ms",m["-moz-transition-duration"]=o.duration+"ms",m["-o-transition-duration"]=o.duration+"ms",m["transition-duration"]=o.duration+"ms",m["-webkit-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",m["-moz-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",m["-o-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",m["transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",r.setAttribute("style",i(m))},hide:function(t){r.touchup(t);var e=this,n=(e.clientWidth,null),a=e.getElementsByClassName("waves-ripple");if(!(a.length>0))return!1;var s=(n=a[a.length-1]).getAttribute("data-x"),l=n.getAttribute("data-y"),c=n.getAttribute("data-scale"),u=350-(Date.now()-Number(n.getAttribute("data-hold")));u<0&&(u=0),setTimeout(function(){var t={top:l+"px",left:s+"px",opacity:"0","-webkit-transition-duration":o.duration+"ms","-moz-transition-duration":o.duration+"ms","-o-transition-duration":o.duration+"ms","transition-duration":o.duration+"ms","-webkit-transform":c,"-moz-transform":c,"-ms-transform":c,"-o-transform":c,transform:c};n.setAttribute("style",i(t)),setTimeout(function(){try{e.removeChild(n)}catch(t){return!1}},o.duration)},u)},wrapInput:function(t){for(var e=0;e<t.length;e++){var n=t[e];if("input"===n.tagName.toLowerCase()){var i=n.parentNode;if("i"===i.tagName.toLowerCase()&&-1!==i.className.indexOf("waves-effect"))continue;var o=document.createElement("i");o.className=n.className+" waves-input-wrapper";var r=n.getAttribute("style");r||(r=""),o.setAttribute("style",r),n.className="waves-button-input",n.removeAttribute("style"),i.replaceChild(o,n),o.appendChild(n)}}}},r={touches:0,allowEvent:function(t){var e=!0;return"touchstart"===t.type?r.touches+=1:"touchend"===t.type||"touchcancel"===t.type?setTimeout(function(){r.touches>0&&(r.touches-=1)},500):"mousedown"===t.type&&r.touches>0&&(e=!1),e},touchup:function(t){r.allowEvent(t)}};function a(e){var n=function(t){if(!1===r.allowEvent(t))return null;for(var e=null,n=t.target||t.srcElement;null!==n.parentNode;){if(!(n instanceof SVGElement)&&-1!==n.className.indexOf("waves-effect")){e=n;break}n=n.parentNode}return e}(e);null!==n&&(o.show(e,n),"ontouchstart"in t&&(n.addEventListener("touchend",o.hide,!1),n.addEventListener("touchcancel",o.hide,!1)),n.addEventListener("mouseup",o.hide,!1),n.addEventListener("mouseleave",o.hide,!1),n.addEventListener("dragend",o.hide,!1))}e.displayEffect=function(e){"duration"in(e=e||{})&&(o.duration=e.duration),o.wrapInput(n(".waves-effect")),"ontouchstart"in t&&document.body.addEventListener("touchstart",a,!1),document.body.addEventListener("mousedown",a,!1)},e.attach=function(e){"input"===e.tagName.toLowerCase()&&(o.wrapInput([e]),e=e.parentNode),"ontouchstart"in t&&e.addEventListener("touchstart",a,!1),e.addEventListener("mousedown",a,!1)},t.Waves=e,document.addEventListener("DOMContentLoaded",function(){e.displayEffect()},!1)}(window),function(t){"use strict";var e={displayLength:1/0,inDuration:300,outDuration:375,className:void 0,completeCallback:void 0,activationPercent:.8},n=function(){function n(e,i,o,r){if(p(this,n),e){this.options={displayLength:i,className:o,completeCallback:r},this.options=t.extend({},n.defaults,this.options),this.message=e,this.panning=!1,this.timeRemaining=this.options.displayLength,0===n._toasts.length&&n._createContainer(),n._toasts.push(this);var a=this.createToast();a.M_Toast=this,this.el=a,this._animateIn(),this.setTimer()}}return d(n,[{key:"createToast",value:function(){var e=document.createElement("div");if(e.classList.add("toast"),this.options.className){var i,o=this.options.className.split(" "),r=void 0;for(r=0,i=o.length;r<i;r++)e.classList.add(o[r])}return("object"==typeof HTMLElement?this.message instanceof HTMLElement:this.message&&"object"==typeof this.message&&null!==this.message&&1===this.message.nodeType&&"string"==typeof this.message.nodeName)?e.appendChild(this.message):this.message instanceof a?t(e).append(this.message):e.innerHTML=this.message,n._container.appendChild(e),e}},{key:"_animateIn",value:function(){h(this.el,{top:0,opacity:1},{duration:300,easing:"easeOutCubic",queue:!1})}},{key:"setTimer",value:function(){var t=this;this.timeRemaining!==1/0&&(this.counterInterval=setInterval(function(){t.panning||(t.timeRemaining-=20),t.timeRemaining<=0&&t.remove()},20))}},{key:"remove",value:function(){var t=this;window.clearInterval(this.counterInterval);var e=this.el.offsetWidth*this.options.activationPercent;this.wasSwiped&&(this.el.style.transition="transform .05s, opacity .05s",this.el.style.transform="translateX("+e+"px)",this.el.style.opacity=0),h(this.el,{opacity:0,marginTop:"-40px"},{duration:this.options.outDuration,easing:"easeOutExpo",queue:!1,complete:function(){"function"==typeof t.options.completeCallback&&t.options.completeCallback(),t.el.parentNode.removeChild(t.el),n._toasts.splice(n._toasts.indexOf(t),1),0===n._toasts.length&&n._removeContainer()}})}}],[{key:"_createContainer",value:function(){var t=document.createElement("div");t.setAttribute("id","toast-container"),t.addEventListener("touchstart",n._onDragStart),t.addEventListener("touchmove",n._onDragMove),t.addEventListener("touchend",n._onDragEnd),t.addEventListener("mousedown",n._onDragStart),document.addEventListener("mousemove",n._onDragMove),document.addEventListener("mouseup",n._onDragEnd),document.body.appendChild(t),n._container=t}},{key:"_removeContainer",value:function(){document.removeEventListener("mousemove",n._onDragMove),document.removeEventListener("mouseup",n._onDragEnd),n._container.parentNode.removeChild(n._container),n._container=null}},{key:"_onDragStart",value:function(e){if(e.target&&t(e.target).closest(".toast").length){var i=t(e.target).closest(".toast")[0].M_Toast;i.panning=!0,n._draggedToast=i,i.el.classList.add("panning"),i.el.style.transition=null,i.startingXPos=n._xPos(e),i.time=Date.now(),i.xPos=n._xPos(e)}}},{key:"_onDragMove",value:function(t){if(n._draggedToast){t.preventDefault();var e=n._draggedToast;e.deltaX=Math.abs(e.xPos-n._xPos(t)),e.xPos=n._xPos(t),e.velocityX=e.deltaX/(Date.now()-e.time),e.time=Date.now();var i=e.xPos-e.startingXPos,o=e.el.offsetWidth*e.options.activationPercent;e.el.style.transform="translateX("+i+"px)",e.el.style.opacity=1-Math.abs(i/o)}}},{key:"_onDragEnd",value:function(t){if(n._draggedToast){var e=n._draggedToast;e.panning=!1,e.el.classList.remove("panning");var i=e.xPos-e.startingXPos,o=e.el.offsetWidth*e.options.activationPercent;Math.abs(i)>o||e.velocityX>1?(e.wasSwiped=!0,e.remove()):(e.el.style.transition="transform .2s, opacity .2s",e.el.style.transform=null,e.el.style.opacity=null),n._draggedToast=null}}},{key:"_xPos",value:function(t){return t.targetTouches&&t.targetTouches.length>=1?t.targetTouches[0].clientX:t.clientX}},{key:"removeAll",value:function(){for(var t in n._toasts)n._toasts[t].remove()}},{key:"defaults",get:function(){return e}}]),n}();n._toasts=[],n._container=null,n._draggedToast=null,window.Materialize.Toast=n,window.Materialize.toast=function(t,e,i,o){return new n(t,e,i,o)}}(a),k={init:function(t){t=x.extend({menuWidth:300,edge:"left",closeOnClick:!1,draggable:!0,onOpen:null,onClose:null},t),x(this).each(function(){var e=x(this),n=e.attr("data-activates"),i=x("#"+n);300!=t.menuWidth&&i.css("width",t.menuWidth);var o=x('.drag-target[data-sidenav="'+n+'"]');t.draggable?(o.length&&o.remove(),o=x('<div class="drag-target"></div>').attr("data-sidenav",n),x("body").append(o)):o=x(),"left"==t.edge?(i.css("transform","translateX(-100%)"),o.css({left:0})):(i.addClass("right-aligned").css("transform","translateX(100%)"),o.css({right:0})),i.hasClass("fixed")&&window.innerWidth>992&&i.css("transform","translateX(0)"),i.hasClass("fixed")&&x(window).resize(function(){window.innerWidth>992?0!==x("#sidenav-overlay").length&&a?r(!0):i.css("transform","translateX(0%)"):!1===a&&("left"===t.edge?i.css("transform","translateX(-100%)"):i.css("transform","translateX(100%)"))}),!0===t.closeOnClick&&i.on("click.itemclick","a:not(.collapsible-header)",function(){window.innerWidth>992&&i.hasClass("fixed")||r()});var r=function(e){!1,a=!1,x("body").css({overflow:"",width:""}),x("#sidenav-overlay").velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){x(this).remove()}}),"left"===t.edge?(o.css({width:"",right:"",left:"0"}),i.velocity({translateX:"-100%"},{duration:200,queue:!1,easing:"easeOutCubic",complete:function(){!0===e&&(i.removeAttr("style"),i.css("width",t.menuWidth))}})):(o.css({width:"",right:"0",left:""}),i.velocity({translateX:"100%"},{duration:200,queue:!1,easing:"easeOutCubic",complete:function(){!0===e&&(i.removeAttr("style"),i.css("width",t.menuWidth))}})),"function"==typeof t.onClose&&t.onClose.call(this,i)},a=!1;t.draggable&&(o.on("click",function(){a&&r()}),o.hammer({prevent_default:!1}).on("pan",function(e){if("touch"==e.gesture.pointerType){e.gesture.direction;var n=e.gesture.center.x,o=e.gesture.center.y;e.gesture.velocityX;if(0===n&&0===o)return;var s,l=x("body"),c=x("#sidenav-overlay"),u=l.innerWidth();if(l.css("overflow","hidden"),l.width(u),0===c.length&&((c=x('<div id="sidenav-overlay"></div>')).css("opacity",0).click(function(){r()}),"function"==typeof t.onOpen&&t.onOpen.call(this,i),x("body").append(c)),"left"===t.edge&&(n>t.menuWidth?n=t.menuWidth:n<0&&(n=0)),"left"===t.edge)n<t.menuWidth/2?a=!1:n>=t.menuWidth/2&&(a=!0),i.css("transform","translateX("+(n-t.menuWidth)+"px)");else{n<window.innerWidth-t.menuWidth/2?a=!0:n>=window.innerWidth-t.menuWidth/2&&(a=!1);var d=n-t.menuWidth/2;d<0&&(d=0),i.css("transform","translateX("+d+"px)")}"left"===t.edge?(s=n/t.menuWidth,c.velocity({opacity:s},{duration:10,queue:!1,easing:"easeOutQuad"})):(s=Math.abs((n-window.innerWidth)/t.menuWidth),c.velocity({opacity:s},{duration:10,queue:!1,easing:"easeOutQuad"}))}}).on("panend",function(e){if("touch"==e.gesture.pointerType){var n=x("#sidenav-overlay"),r=e.gesture.velocityX,s=e.gesture.center.x,l=s-t.menuWidth,c=s-t.menuWidth/2;l>0&&(l=0),c<0&&(c=0),!1,"left"===t.edge?a&&r<=.3||r<-.5?(0!==l&&i.velocity({translateX:[0,l]},{duration:300,queue:!1,easing:"easeOutQuad"}),n.velocity({opacity:1},{duration:50,queue:!1,easing:"easeOutQuad"}),o.css({width:"50%",right:0,left:""}),a=!0):(!a||r>.3)&&(x("body").css({overflow:"",width:""}),i.velocity({translateX:[-1*t.menuWidth-10,l]},{duration:200,queue:!1,easing:"easeOutQuad"}),n.velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){"function"==typeof t.onClose&&t.onClose.call(this,i),x(this).remove()}}),o.css({width:"10px",right:"",left:0})):a&&r>=-.3||r>.5?(0!==c&&i.velocity({translateX:[0,c]},{duration:300,queue:!1,easing:"easeOutQuad"}),n.velocity({opacity:1},{duration:50,queue:!1,easing:"easeOutQuad"}),o.css({width:"50%",right:"",left:0}),a=!0):(!a||r<-.3)&&(x("body").css({overflow:"",width:""}),i.velocity({translateX:[t.menuWidth+10,c]},{duration:200,queue:!1,easing:"easeOutQuad"}),n.velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){"function"==typeof t.onClose&&t.onClose.call(this,i),x(this).remove()}}),o.css({width:"10px",right:0,left:""}))}})),e.off("click.sidenav").on("click.sidenav",function(){if(!0===a)a=!1,!1,r();else{var e=x("body"),n=x('<div id="sidenav-overlay"></div>'),s=e.innerWidth();e.css("overflow","hidden"),e.width(s),x("body").append(o),"left"===t.edge?(o.css({width:"50%",right:0,left:""}),i.velocity({translateX:[0,-1*t.menuWidth]},{duration:300,queue:!1,easing:"easeOutQuad"})):(o.css({width:"50%",right:"",left:0}),i.velocity({translateX:[0,t.menuWidth]},{duration:300,queue:!1,easing:"easeOutQuad"})),n.css("opacity",0).click(function(){a=!1,!1,r(),n.velocity({opacity:0},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){x(this).remove()}})}),x("body").append(n),n.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){a=!0,!1}}),"function"==typeof t.onOpen&&t.onOpen.call(this,i)}return!1})})},destroy:function(){var t=x("#sidenav-overlay"),e=x('.drag-target[data-sidenav="'+x(this).attr("data-activates")+'"]');t.trigger("click"),e.remove(),x(this).off("click"),t.remove()},show:function(){this.trigger("click")},hide:function(){x("#sidenav-overlay").trigger("click")}},(x=a).fn.sideNav=function(t){return k[t]?k[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void x.error("Method "+t+" does not exist on jQuery.sideNav"):k.init.apply(this,arguments)},function(t){var e=t(window),n=[],i=[],o=!1,r=0,a={top:0,right:0,bottom:0,left:0};function s(o){++r;var s,l,c,u,d,p=e.scrollTop(),h=e.scrollLeft(),f=h+e.width(),v=p+e.height(),g=(s=p+a.top+o||200,l=f+a.right,c=v+a.bottom,u=h+a.left,d=t(),t.each(n,function(t,e){if(e.height()>0){var n=e.offset().top,i=e.offset().left,o=i+e.width(),r=n+e.height();!(i>l||o<u||n>c||r<s)&&d.push(e)}}),d);t.each(g,function(t,e){"number"!=typeof e.data("scrollSpy:ticks")&&e.triggerHandler("scrollSpy:enter"),e.data("scrollSpy:ticks",r)}),t.each(i,function(t,e){var n=e.data("scrollSpy:ticks");"number"==typeof n&&n!==r&&(e.triggerHandler("scrollSpy:exit"),e.data("scrollSpy:ticks",null))}),i=g}function l(){e.trigger("scrollSpy:winSize")}t.scrollSpy=function(i,r){r=t.extend({throttle:100,scrollOffset:200,activeClass:"active",getActiveElement:function(t){return'a[href="#'+t+'"]'}},r);var l=[];(i=t(i)).each(function(e,i){n.push(t(i)),t(i).data("scrollSpy:id",e),t('a[href="#'+t(i).attr("id")+'"]').click(function(e){e.preventDefault();var n=t(Materialize.escapeHash(this.hash)).offset().top+1;t("html, body").animate({scrollTop:n-r.scrollOffset},{duration:400,queue:!1,easing:"easeOutCubic"})})}),a.top=r.offsetTop||0,a.right=r.offsetRight||0,a.bottom=r.offsetBottom||0,a.left=r.offsetLeft||0;var c=Materialize.throttle(function(){s(r.scrollOffset)},r.throttle||100),u=function(){t(document).ready(c)};return o||(e.on("scroll",u),e.on("resize",u),o=!0),setTimeout(u,0),i.on("scrollSpy:enter",function(){l=t.grep(l,function(t){return 0!=t.height()});var e=t(this);l[0]?(t(r.getActiveElement(l[0].attr("id"))).removeClass(r.activeClass),e.data("scrollSpy:id")<l[0].data("scrollSpy:id")?l.unshift(t(this)):l.push(t(this))):l.push(t(this)),t(r.getActiveElement(l[0].attr("id"))).addClass(r.activeClass)}),i.on("scrollSpy:exit",function(){if((l=t.grep(l,function(t){return 0!=t.height()}))[0]){t(r.getActiveElement(l[0].attr("id"))).removeClass(r.activeClass);var e=t(this);(l=t.grep(l,function(t){return t.attr("id")!=e.attr("id")}))[0]&&t(r.getActiveElement(l[0].attr("id"))).addClass(r.activeClass)}}),i},t.winSizeSpy=function(n){return t.winSizeSpy=function(){return e},n=n||{throttle:100},e.on("resize",Materialize.throttle(l,n.throttle||100))},t.fn.scrollSpy=function(e){return t.scrollSpy(t(this),e)}}(a),(T=a)(document).ready(function(){Materialize.updateTextFields=function(){T("input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], textarea").each(function(t,e){var n=T(this);T(e).val().length>0||T(e).is(":focus")||e.autofocus||void 0!==n.attr("placeholder")?n.siblings("label").addClass("active"):T(e)[0].validity?n.siblings("label").toggleClass("active",!0===T(e)[0].validity.badInput):n.siblings("label").removeClass("active")})};var t="input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], textarea";T(document).on("change",t,function(){0===T(this).val().length&&void 0===T(this).attr("placeholder")||T(this).siblings("label").addClass("active"),validate_field(T(this))}),T(document).ready(function(){Materialize.updateTextFields()}),T(document).on("reset",function(e){var n=T(e.target);n.is("form")&&(n.find(t).removeClass("valid").removeClass("invalid"),n.find(t).each(function(){""===T(this).attr("value")&&T(this).siblings("label").removeClass("active")}),n.find("select.initialized").each(function(){var t=n.find("option[selected]").text();n.siblings("input.select-dropdown").val(t)}))}),T(document).on("focus",t,function(){T(this).siblings("label, .prefix").addClass("active")}),T(document).on("blur",t,function(){var t=T(this),e=".prefix";0===t.val().length&&!0!==t[0].validity.badInput&&void 0===t.attr("placeholder")&&(e+=", label"),t.siblings(e).removeClass("active"),validate_field(t)}),window.validate_field=function(t){var e=void 0!==t.attr("data-length"),n=parseInt(t.attr("data-length")),i=t.val().length;0!==t.val().length||!1!==t[0].validity.badInput||t.is(":required")?t.hasClass("validate")&&(t.is(":valid")&&e&&i<=n||t.is(":valid")&&!e?(t.removeClass("invalid"),t.addClass("valid")):(t.removeClass("valid"),t.addClass("invalid"))):t.hasClass("validate")&&(t.removeClass("valid"),t.removeClass("invalid"))},T(document).on("keyup.radio","input[type=radio], input[type=checkbox]",function(t){if(9===t.which)return T(this).addClass("tabbed"),void T(this).one("blur",function(t){T(this).removeClass("tabbed")})});var e=T(".hiddendiv").first();e.length||(e=T('<div class="hiddendiv common"></div>'),T("body").append(e));var n=".materialize-textarea";T(n).each(function(){var t=T(this);t.data("original-height",t.height()),t.data("previous-length",t.val().length)}),T("body").on("keyup keydown autoresize",n,function(){!function(t){var n=t.css("font-family"),i=t.css("font-size"),o=t.css("line-height"),r=t.css("padding");i&&e.css("font-size",i),n&&e.css("font-family",n),o&&e.css("line-height",o),r&&e.css("padding",r),t.data("original-height")||t.data("original-height",t.height()),"off"===t.attr("wrap")&&e.css("overflow-wrap","normal").css("white-space","pre"),e.text(t.val()+"\n");var a=e.html().replace(/\n/g,"<br>");e.html(a),t.is(":visible")?e.css("width",t.width()):e.css("width",T(window).width()/2),t.data("original-height")<=e.height()?t.css("height",e.height()):t.val().length<t.data("previous-length")&&t.css("height",t.data("original-height")),t.data("previous-length",t.val().length)}(T(this))}),T(document).on("change",'.file-field input[type="file"]',function(){for(var t=T(this).closest(".file-field").find("input.file-path"),e=T(this)[0].files,n=[],i=0;i<e.length;i++)n.push(e[i].name);t.val(n.join(", ")),t.trigger("change")});var i="input[type=range]",o=!1;T(i).each(function(){var t=T('<span class="thumb"><span class="value"></span></span>');T(this).after(t)});var r=function(t){var e=-7+parseInt(t.parent().css("padding-left"))+"px";t.velocity({height:"30px",width:"30px",top:"-30px",marginLeft:e},{duration:300,easing:"easeOutExpo"})},a=function(t){var e=t.width()-15,n=parseFloat(t.attr("max")),i=parseFloat(t.attr("min"));return(parseFloat(t.val())-i)/(n-i)*e},s=".range-field";T(document).on("change",i,function(t){var e=T(this).siblings(".thumb");e.find(".value").html(T(this).val()),e.hasClass("active")||r(e);var n=a(T(this));e.addClass("active").css("left",n)}),T(document).on("mousedown touchstart",i,function(t){var e=T(this).siblings(".thumb");if(e.length<=0&&(e=T('<span class="thumb"><span class="value"></span></span>'),T(this).after(e)),e.find(".value").html(T(this).val()),o=!0,T(this).addClass("active"),e.hasClass("active")||r(e),"input"!==t.type){var n=a(T(this));e.addClass("active").css("left",n)}}),T(document).on("mouseup touchend",s,function(){o=!1,T(this).removeClass("active")}),T(document).on("input mousemove touchmove",s,function(t){var e=T(this).children(".thumb"),n=T(this).find(i);if(o){e.hasClass("active")||r(e);var s=a(n);e.addClass("active").css("left",s),e.find(".value").html(e.siblings(i).val())}}),T(document).on("mouseout touchleave",s,function(){if(!o){var t=T(this).children(".thumb"),e=7+parseInt(T(this).css("padding-left"))+"px";t.hasClass("active")&&t.velocity({height:"0",width:"0",top:"10px",marginLeft:e},{duration:100}),t.removeClass("active")}}),T.fn.autocomplete=function(t){var e={data:{},limit:1/0,onAutocomplete:null,minLength:1};return t=T.extend(e,t),this.each(function(){var e,n=T(this),i=t.data,o=0,r=-1,a=n.closest(".input-field");if(T.isEmptyObject(i))n.off("keyup.autocomplete focus.autocomplete");else{var s,l=T('<ul class="autocomplete-content dropdown-content"></ul>');a.length?(s=a.children(".autocomplete-content.dropdown-content").first()).length||a.append(l):(s=n.next(".autocomplete-content.dropdown-content")).length||n.after(l),s.length&&(l=s);var c=function(){l.empty(),r=-1,l.find(".active").removeClass("active"),e=void 0};n.off("blur.autocomplete").on("blur.autocomplete",function(){c()}),n.off("keyup.autocomplete focus.autocomplete").on("keyup.autocomplete focus.autocomplete",function(r){o=0;var a=n.val().toLowerCase();if(13!==r.which&&38!==r.which&&40!==r.which){if(e!==a&&(c(),a.length>=t.minLength))for(var s in i)if(i.hasOwnProperty(s)&&-1!==s.toLowerCase().indexOf(a)){if(o>=t.limit)break;var u=T("<li></li>");i[s]?u.append('<img src="'+i[s]+'" class="right circle"><span>'+s+"</span>"):u.append("<span>"+s+"</span>"),l.append(u),d=a,h=(p=u).find("img"),f=p.text().toLowerCase().indexOf(""+d.toLowerCase()),v=f+d.length-1,g=p.text().slice(0,f),m=p.text().slice(f,v+1),y=p.text().slice(v+1),p.html("<span>"+g+"<span class='highlight'>"+m+"</span>"+y+"</span>"),h.length&&p.prepend(h),o++}var d,p,h,f,v,g,m,y;e=a}}),n.off("keydown.autocomplete").on("keydown.autocomplete",function(t){var e,n=t.which,i=l.children("li").length,o=l.children(".active").first();13===n&&r>=0?(e=l.children("li").eq(r)).length&&(e.trigger("mousedown.autocomplete"),t.preventDefault()):38!==n&&40!==n||(t.preventDefault(),38===n&&r>0&&r--,40===n&&r<i-1&&r++,o.removeClass("active"),r>=0&&l.children("li").eq(r).addClass("active"))}),l.off("mousedown.autocomplete touchstart.autocomplete").on("mousedown.autocomplete touchstart.autocomplete","li",function(){var e=T(this).text().trim();n.val(e),n.trigger("change"),c(),"function"==typeof t.onAutocomplete&&t.onAutocomplete.call(this,e)})}})}}),T.fn.material_select=function(t){function e(t,e,n){var i=t.indexOf(e),o=-1===i;return o?t.push(e):t.splice(i,1),n.siblings("ul.dropdown-content").find("li:not(.optgroup)").eq(e).toggleClass("active"),n.find("option").eq(e).prop("selected",o),function(t,e){for(var n="",i=0,o=t.length;i<o;i++){var r=e.find("option").eq(t[i]).text();n+=0===i?r:", "+r}""===n&&(n=e.find("option:disabled").eq(0).text()),e.siblings("input.select-dropdown").val(n)}(t,n),o}T(this).each(function(){var n=T(this);if(!n.hasClass("browser-default")){var i=!!n.attr("multiple"),o=n.attr("data-select-id");if(o&&(n.parent().find("span.caret").remove(),n.parent().find("input").remove(),n.unwrap(),T("ul#select-options-"+o).remove()),"destroy"===t)return n.removeAttr("data-select-id").removeClass("initialized"),void T(window).off("click.select");var r=Materialize.guid();n.attr("data-select-id",r);var a=T('<div class="select-wrapper"></div>');a.addClass(n.attr("class")),n.is(":disabled")&&a.addClass("disabled");var s=T('<ul id="select-options-'+r+'" class="dropdown-content select-dropdown '+(i?"multiple-select-dropdown":"")+'"></ul>'),l=n.children("option, optgroup"),c=[],u=!1,d=n.find("option:selected").html()||n.find("option:first").html()||"",p=function(t,e,n){var o=e.is(":disabled")?"disabled ":"",r="optgroup-option"===n?"optgroup-option ":"",a=i?'<input type="checkbox"'+o+"/><label></label>":"",l=e.data("icon"),c=e.attr("class");if(l){var u="";return c&&(u=' class="'+c+'"'),s.append(T('<li class="'+o+r+'"><img alt="" src="'+l+'"'+u+"><span>"+a+e.html()+"</span></li>")),!0}s.append(T('<li class="'+o+r+'"><span>'+a+e.html()+"</span></li>"))};l.length&&l.each(function(){if(T(this).is("option"))i?p(0,T(this),"multiple"):p(0,T(this));else if(T(this).is("optgroup")){var t=T(this).children("option");s.append(T('<li class="optgroup"><span>'+T(this).attr("label")+"</span></li>")),t.each(function(){p(0,T(this),"optgroup-option")})}}),s.find("li:not(.optgroup)").each(function(o){T(this).click(function(r){if(!T(this).hasClass("disabled")&&!T(this).hasClass("optgroup")){var a=!0;i?(T('input[type="checkbox"]',this).prop("checked",function(t,e){return!e}),a=e(c,o,n),v.trigger("focus")):(s.find("li").removeClass("active"),T(this).toggleClass("active"),v.val(T(this).text())),g(s,T(this)),n.find("option").eq(o).prop("selected",a),n.trigger("change"),void 0!==t&&t()}r.stopPropagation()})}),n.wrap(a);var h=T('<span class="caret">&#9660;</span>'),f=d.replace(/"/g,"&quot;"),v=T('<input type="text" class="select-dropdown" readonly="true" '+(n.is(":disabled")?"disabled":"")+' data-activates="select-options-'+r+'" value="'+f+'"/>');n.before(v),v.before(h),v.after(s),n.is(":disabled")||v.dropdown({hover:!1}),n.attr("tabindex")&&T(v[0]).attr("tabindex",n.attr("tabindex")),n.addClass("initialized"),v.on({focus:function(){if(T("ul.select-dropdown").not(s[0]).is(":visible")&&(T("input.select-dropdown").trigger("close"),T(window).off("click.select")),!s.is(":visible")){T(this).trigger("open",["focus"]);var t=T(this).val();i&&t.indexOf(",")>=0&&(t=t.split(",")[0]);var e=s.find("li").filter(function(){return T(this).text().toLowerCase()===t.toLowerCase()})[0];g(s,e,!0),T(window).off("click.select").on("click.select",function(){i&&(u||v.trigger("close")),T(window).off("click.select")})}},click:function(t){t.stopPropagation()}}),v.on("blur",function(){i||(T(this).trigger("close"),T(window).off("click.select")),s.find("li.selected").removeClass("selected")}),s.hover(function(){u=!0},function(){u=!1}),i&&n.find("option:selected:not(:disabled)").each(function(){var t=T(this).index();e(c,t,n),s.find("li").eq(t).find(":checkbox").prop("checked",!0)});var g=function(t,e,n){if(e){t.find("li.selected").removeClass("selected");var o=T(e);o.addClass("selected"),i&&!n||s.scrollTo(o)}},m=[];v.on("keydown",function(t){if(9!=t.which)if(40!=t.which||s.is(":visible")){if(13!=t.which||s.is(":visible")){t.preventDefault();var e=String.fromCharCode(t.which).toLowerCase();if(e&&-1===[9,13,27,38,40].indexOf(t.which)){m.push(e);var n=m.join(""),o=s.find("li").filter(function(){return 0===T(this).text().toLowerCase().indexOf(n)})[0];o&&g(s,o)}if(13==t.which){var r=s.find("li.selected:not(.disabled)")[0];r&&(T(r).trigger("click"),i||v.trigger("close"))}40==t.which&&(o=s.find("li.selected").length?s.find("li.selected").next("li:not(.disabled)")[0]:s.find("li:not(.disabled)")[0],g(s,o)),27==t.which&&v.trigger("close"),38==t.which&&(o=s.find("li.selected").prev("li:not(.disabled)")[0])&&g(s,o),setTimeout(function(){m=[]},1e3)}}else v.trigger("open");else v.trigger("close")})}})},S={init:function(t){return t=C.extend({indicators:!0,height:400,transition:500,interval:6e3},t),this.each(function(){var e,n,i,o=C(this),r=o.find("ul.slides").first(),a=r.find("> li"),s=r.find(".active").index();function l(t,e){t.hasClass("center-align")?t.velocity({opacity:0,translateY:-100},{duration:e,queue:!1}):t.hasClass("right-align")?t.velocity({opacity:0,translateX:100},{duration:e,queue:!1}):t.hasClass("left-align")&&t.velocity({opacity:0,translateX:-100},{duration:e,queue:!1})}function c(i){i>=a.length?i=0:i<0&&(i=a.length-1),(s=r.find(".active").index())!=i&&(e=a.eq(s),$caption=e.find(".caption"),e.removeClass("active"),e.velocity({opacity:0},{duration:t.transition,queue:!1,easing:"easeOutQuad",complete:function(){a.not(".active").velocity({opacity:0,translateX:0,translateY:0},{duration:0,queue:!1})}}),l($caption,t.transition),t.indicators&&n.eq(s).removeClass("active"),a.eq(i).velocity({opacity:1},{duration:t.transition,queue:!1,easing:"easeOutQuad"}),a.eq(i).find(".caption").velocity({opacity:1,translateX:0,translateY:0},{duration:t.transition,delay:t.transition,queue:!1,easing:"easeOutQuad"}),a.eq(i).addClass("active"),t.indicators&&n.eq(i).addClass("active"))}-1!=s&&(e=a.eq(s)),o.hasClass("fullscreen")||(t.indicators?o.height(t.height+40):o.height(t.height),r.height(t.height)),a.find(".caption").each(function(){l(C(this),0)}),a.find("img").each(function(){var t="data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==";C(this).attr("src")!==t&&(C(this).css("background-image",'url("'+C(this).attr("src")+'")'),C(this).attr("src",t))}),t.indicators&&(n=C('<ul class="indicators"></ul>'),a.each(function(e){var o=C('<li class="indicator-item"></li>');o.click(function(){c(r.parent().find(C(this)).index()),clearInterval(i),i=setInterval(function(){s=r.find(".active").index(),a.length==s+1?s=0:s+=1,c(s)},t.transition+t.interval)}),n.append(o)}),o.append(n),n=o.find("ul.indicators").find("li.indicator-item")),e?e.show():(a.first().addClass("active").velocity({opacity:1},{duration:t.transition,queue:!1,easing:"easeOutQuad"}),s=0,e=a.eq(s),t.indicators&&n.eq(s).addClass("active")),e.find("img").each(function(){e.find(".caption").velocity({opacity:1,translateX:0,translateY:0},{duration:t.transition,queue:!1,easing:"easeOutQuad"})}),i=setInterval(function(){c((s=r.find(".active").index())+1)},t.transition+t.interval);var u=!1,d=!1;o.hammer({prevent_default:!1}).on("pan",function(t){if("touch"===t.gesture.pointerType){clearInterval(i);var e,n=t.gesture.direction,s=t.gesture.deltaX,l=t.gesture.velocityX,c=t.gesture.velocityY;$curr_slide=r.find(".active"),Math.abs(l)>Math.abs(c)&&$curr_slide.velocity({translateX:s},{duration:50,queue:!1,easing:"easeOutQuad"}),4===n&&(s>o.innerWidth()/2||l<-.65)?d=!0:2===n&&(s<-1*o.innerWidth()/2||l>.65)&&(u=!0),u&&(0===(e=$curr_slide.next()).length&&(e=a.first()),e.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad"})),d&&(0===(e=$curr_slide.prev()).length&&(e=a.last()),e.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad"}))}}).on("panend",function(e){"touch"===e.gesture.pointerType&&($curr_slide=r.find(".active"),!1,curr_index=r.find(".active").index(),!d&&!u||a.length<=1?$curr_slide.velocity({translateX:0},{duration:300,queue:!1,easing:"easeOutQuad"}):u?(c(curr_index+1),$curr_slide.velocity({translateX:-1*o.innerWidth()},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){$curr_slide.velocity({opacity:0,translateX:0},{duration:0,queue:!1})}})):d&&(c(curr_index-1),$curr_slide.velocity({translateX:o.innerWidth()},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){$curr_slide.velocity({opacity:0,translateX:0},{duration:0,queue:!1})}})),u=!1,d=!1,clearInterval(i),i=setInterval(function(){s=r.find(".active").index(),a.length==s+1?s=0:s+=1,c(s)},t.transition+t.interval))}),o.on("sliderPause",function(){clearInterval(i)}),o.on("sliderStart",function(){clearInterval(i),i=setInterval(function(){s=r.find(".active").index(),a.length==s+1?s=0:s+=1,c(s)},t.transition+t.interval)}),o.on("sliderNext",function(){c((s=r.find(".active").index())+1)}),o.on("sliderPrev",function(){c((s=r.find(".active").index())-1)})})},pause:function(){C(this).trigger("sliderPause")},start:function(){C(this).trigger("sliderStart")},next:function(){C(this).trigger("sliderNext")},prev:function(){C(this).trigger("sliderPrev")}},(C=a).fn.slider=function(t){return S[t]?S[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void C.error("Method "+t+" does not exist on jQuery.tooltip"):S.init.apply(this,arguments)},(E=a)(document).ready(function(){E(document).on("click.card",".card",function(t){if(E(this).find("> .card-reveal").length){var e=E(t.target).closest(".card");void 0===e.data("initialOverflow")&&e.data("initialOverflow",void 0===e.css("overflow")?"":e.css("overflow")),E(t.target).is(E(".card-reveal .card-title"))||E(t.target).is(E(".card-reveal .card-title i"))?E(this).find(".card-reveal").velocity({translateY:0},{duration:225,queue:!1,easing:"easeInOutQuad",complete:function(){E(this).css({display:"none"}),e.css("overflow",e.data("initialOverflow"))}}):(E(t.target).is(E(".card .activator"))||E(t.target).is(E(".card .activator i")))&&(e.css("overflow","hidden"),E(this).find(".card-reveal").css({display:"block"}).velocity("stop",!1).velocity({translateY:"-100%"},{duration:300,queue:!1,easing:"easeInOutQuad"}))}})}),P={data:[],placeholder:"",secondaryPlaceholder:"",autocompleteOptions:{}},(A=a)(document).ready(function(){A(document).on("click",".chip .close",function(t){A(this).closest(".chips").attr("data-initialized")||A(this).closest(".chip").remove()})}),A.fn.material_chip=function(t){var e=this;if(this.$el=A(this),this.$document=A(document),this.SELS={CHIPS:".chips",CHIP:".chip",INPUT:"input",DELETE:".material-icons",SELECTED_CHIP:".selected"},"data"===t)return this.$el.data("chips");var n=A.extend({},P,t);e.hasAutocomplete=!A.isEmptyObject(n.autocompleteOptions.data),this.init=function(){var t=0;e.$el.each(function(){var i=A(this),o=Materialize.guid();e.chipId=o,n.data&&n.data instanceof Array||(n.data=[]),i.data("chips",n.data),i.attr("data-index",t),i.attr("data-initialized",!0),i.hasClass(e.SELS.CHIPS)||i.addClass("chips"),e.chips(i,o),t++})},this.handleEvents=function(){var t=e.SELS;e.$document.off("click.chips-focus",t.CHIPS).on("click.chips-focus",t.CHIPS,function(e){A(e.target).find(t.INPUT).focus()}),e.$document.off("click.chips-select",t.CHIP).on("click.chips-select",t.CHIP,function(n){var i=A(n.target);if(i.length){var o=i.hasClass("selected"),r=i.closest(t.CHIPS);A(t.CHIP).removeClass("selected"),o||e.selectChip(i.index(),r)}}),e.$document.off("keydown.chips").on("keydown.chips",function(n){if(!A(n.target).is("input, textarea")){var i,o=e.$document.find(t.CHIP+t.SELECTED_CHIP),r=o.closest(t.CHIPS),a=o.siblings(t.CHIP).length;if(o.length)if(8===n.which||46===n.which){n.preventDefault(),i=o.index(),e.deleteChip(i,r);var s=null;i+1<a?s=i:i!==a&&i+1!==a||(s=a-1),s<0&&(s=null),null!==s&&e.selectChip(s,r),a||r.find("input").focus()}else if(37===n.which){if((i=o.index()-1)<0)return;A(t.CHIP).removeClass("selected"),e.selectChip(i,r)}else if(39===n.which){if(i=o.index()+1,A(t.CHIP).removeClass("selected"),i>a)return void r.find("input").focus();e.selectChip(i,r)}}}),e.$document.off("focusin.chips",t.CHIPS+" "+t.INPUT).on("focusin.chips",t.CHIPS+" "+t.INPUT,function(e){var n=A(e.target).closest(t.CHIPS);n.addClass("focus"),n.siblings("label, .prefix").addClass("active"),A(t.CHIP).removeClass("selected")}),e.$document.off("focusout.chips",t.CHIPS+" "+t.INPUT).on("focusout.chips",t.CHIPS+" "+t.INPUT,function(e){var n=A(e.target).closest(t.CHIPS);n.removeClass("focus"),void 0!==n.data("chips")&&n.data("chips").length||n.siblings("label").removeClass("active"),n.siblings(".prefix").removeClass("active")}),e.$document.off("keydown.chips-add",t.CHIPS+" "+t.INPUT).on("keydown.chips-add",t.CHIPS+" "+t.INPUT,function(n){var i=A(n.target),o=i.closest(t.CHIPS),r=o.children(t.CHIP).length;if(13===n.which){if(e.hasAutocomplete&&o.find(".autocomplete-content.dropdown-content").length&&o.find(".autocomplete-content.dropdown-content").children().length)return;return n.preventDefault(),e.addChip({tag:i.val()},o),void i.val("")}if((8===n.keyCode||37===n.keyCode)&&""===i.val()&&r)return n.preventDefault(),e.selectChip(r-1,o),void i.blur()}),e.$document.off("click.chips-delete",t.CHIPS+" "+t.DELETE).on("click.chips-delete",t.CHIPS+" "+t.DELETE,function(n){var i=A(n.target),o=i.closest(t.CHIPS),r=i.closest(t.CHIP);n.stopPropagation(),e.deleteChip(r.index(),o),o.find("input").focus()})},this.chips=function(t,i){t.empty(),t.data("chips").forEach(function(n){t.append(e.renderChip(n))}),t.append(A('<input id="'+i+'" class="input" placeholder="">')),e.setPlaceholder(t);var o=t.next("label");o.length&&(o.attr("for",i),void 0!==t.data("chips")&&t.data("chips").length&&o.addClass("active"));var r=A("#"+i);e.hasAutocomplete&&(n.autocompleteOptions.onAutocomplete=function(n){e.addChip({tag:n},t),r.val(""),r.focus()},r.autocomplete(n.autocompleteOptions))},this.renderChip=function(t){if(t.tag){var e=A('<div class="chip"></div>');return e.text(t.tag),t.image&&e.prepend(A("<img />").attr("src",t.image)),e.append(A('<i class="material-icons close">close</i>')),e}},this.setPlaceholder=function(t){void 0!==t.data("chips")&&!t.data("chips").length&&n.placeholder?t.find("input").prop("placeholder",n.placeholder):(void 0===t.data("chips")||t.data("chips").length)&&n.secondaryPlaceholder&&t.find("input").prop("placeholder",n.secondaryPlaceholder)},this.isValid=function(t,e){for(var n=t.data("chips"),i=!1,o=0;o<n.length;o++)if(n[o].tag===e.tag)return void(i=!0);return""!==e.tag&&!i},this.addChip=function(t,n){if(e.isValid(n,t)){for(var i=e.renderChip(t),o=[],r=n.data("chips"),a=0;a<r.length;a++)o.push(r[a]);o.push(t),n.data("chips",o),i.insertBefore(n.find("input")),n.trigger("chip.add",t),e.setPlaceholder(n)}},this.deleteChip=function(t,n){var i=n.data("chips")[t];n.find(".chip").eq(t).remove();for(var o=[],r=n.data("chips"),a=0;a<r.length;a++)a!==t&&o.push(r[a]);n.data("chips",o),n.trigger("chip.delete",i),e.setPlaceholder(n)},this.selectChip=function(t,e){var n=e.find(".chip").eq(t);n&&!1===n.hasClass("selected")&&(n.addClass("selected"),e.trigger("chip.select",e.data("chips")[t]))},this.getChipsElement=function(t,e){return e.eq(t)},this.init(),this.handleEvents()},(O=a).fn.pushpin=function(t){var e={top:0,bottom:1/0,offset:0};return"remove"===t?(this.each(function(){(id=O(this).data("pushpin-id"))&&(O(window).off("scroll."+id),O(this).removeData("pushpin-id").removeClass("pin-top pinned pin-bottom").removeAttr("style"))}),!1):(t=O.extend(e,t),$index=0,this.each(function(){var e=Materialize.guid(),n=O(this),i=O(this).offset().top;function o(t){t.removeClass("pin-top"),t.removeClass("pinned"),t.removeClass("pin-bottom")}function r(e,n){e.each(function(){t.top<=n&&t.bottom>=n&&!O(this).hasClass("pinned")&&(o(O(this)),O(this).css("top",t.offset),O(this).addClass("pinned")),n<t.top&&!O(this).hasClass("pin-top")&&(o(O(this)),O(this).css("top",0),O(this).addClass("pin-top")),n>t.bottom&&!O(this).hasClass("pin-bottom")&&(o(O(this)),O(this).addClass("pin-bottom"),O(this).css("top",t.bottom-i))})}O(this).data("pushpin-id",e),r(n,O(window).scrollTop()),O(window).on("scroll."+e,function(){var e=O(window).scrollTop()+t.offset;r(n,e)})}))},function(t){t(document).ready(function(){t.fn.reverse=[].reverse,t(document).on("mouseenter.fixedActionBtn",".fixed-action-btn:not(.click-to-toggle):not(.toolbar)",function(n){var i=t(this);e(i)}),t(document).on("mouseleave.fixedActionBtn",".fixed-action-btn:not(.click-to-toggle):not(.toolbar)",function(e){var i=t(this);n(i)}),t(document).on("click.fabClickToggle",".fixed-action-btn.click-to-toggle > a",function(i){var o=t(this).parent();o.hasClass("active")?n(o):e(o)}),t(document).on("click.fabToolbar",".fixed-action-btn.toolbar > a",function(e){var n=t(this).parent();i(n)})}),t.fn.extend({openFAB:function(){e(t(this))},closeFAB:function(){n(t(this))},openToolbar:function(){i(t(this))},closeToolbar:function(){o(t(this))}});var e=function(e){var n=e;if(!1===n.hasClass("active")){var i,o;!0===n.hasClass("horizontal")?o=40:i=40,n.addClass("active"),n.find("ul .btn-floating").velocity({scaleY:".4",scaleX:".4",translateY:i+"px",translateX:o+"px"},{duration:0});var r=0;n.find("ul .btn-floating").reverse().each(function(){t(this).velocity({opacity:"1",scaleX:"1",scaleY:"1",translateY:"0",translateX:"0"},{duration:80,delay:r}),r+=40})}},n=function(t){var e,n,i=t;!0===i.hasClass("horizontal")?n=40:e=40,i.removeClass("active");i.find("ul .btn-floating").velocity("stop",!0),i.find("ul .btn-floating").velocity({opacity:"0",scaleX:".4",scaleY:".4",translateY:e+"px",translateX:n+"px"},{duration:80})},i=function(e){if("true"!==e.attr("data-open")){var n,i,r,a=window.innerWidth,s=window.innerHeight,l=e[0].getBoundingClientRect(),c=e.find("> a").first(),u=e.find("> ul").first(),d=t('<div class="fab-backdrop"></div>'),p=c.css("background-color");c.append(d),n=l.left-a/2+l.width/2,i=s-l.bottom,r=a/d.width(),e.attr("data-origin-bottom",l.bottom),e.attr("data-origin-left",l.left),e.attr("data-origin-width",l.width),e.addClass("active"),e.attr("data-open",!0),e.css({"text-align":"center",width:"100%",bottom:0,left:0,transform:"translateX("+n+"px)",transition:"none"}),c.css({transform:"translateY("+-i+"px)",transition:"none"}),d.css({"background-color":p}),setTimeout(function(){e.css({transform:"",transition:"transform .2s cubic-bezier(0.550, 0.085, 0.680, 0.530), background-color 0s linear .2s"}),c.css({overflow:"visible",transform:"",transition:"transform .2s"}),setTimeout(function(){e.css({overflow:"hidden","background-color":p}),d.css({transform:"scale("+r+")",transition:"transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)"}),u.find("> li > a").css({opacity:1}),t(window).on("scroll.fabToolbarClose",function(){o(e),t(window).off("scroll.fabToolbarClose"),t(document).off("click.fabToolbarClose")}),t(document).on("click.fabToolbarClose",function(n){t(n.target).closest(u).length||(o(e),t(window).off("scroll.fabToolbarClose"),t(document).off("click.fabToolbarClose"))})},100)},0)}},o=function(t){if("true"===t.attr("data-open")){var e,n,i=window.innerWidth,o=window.innerHeight,r=t.attr("data-origin-width"),a=t.attr("data-origin-bottom"),s=t.attr("data-origin-left"),l=t.find("> .btn-floating").first(),c=t.find("> ul").first(),u=t.find(".fab-backdrop"),d=l.css("background-color");e=s-i/2+r/2,n=o-a,i/u.width(),t.removeClass("active"),t.attr("data-open",!1),t.css({"background-color":"transparent",transition:"none"}),l.css({transition:"none"}),u.css({transform:"scale(0)","background-color":d}),c.find("> li > a").css({opacity:""}),setTimeout(function(){u.remove(),t.css({"text-align":"",width:"",bottom:"",left:"",overflow:"","background-color":"",transform:"translate3d("+-e+"px,0,0)"}),l.css({overflow:"",transform:"translate3d(0,"+n+"px,0)"}),setTimeout(function(){t.css({transform:"translate3d(0,0,0)",transition:"transform .2s"}),l.css({transform:"translate3d(0,0,0)",transition:"transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)"})},20)},200)}}}(a),D=a,Materialize.fadeInImage=function(t){var e;if("string"==typeof t)e=D(t);else{if("object"!=typeof t)return;e=t}e.css({opacity:0}),D(e).velocity({opacity:1},{duration:650,queue:!1,easing:"easeOutSine"}),D(e).velocity({opacity:1},{duration:1300,queue:!1,easing:"swing",step:function(t,e){e.start=100;var n=t/100,i=150-(100-t)/1.75;i<100&&(i=100),t>=0&&D(this).css({"-webkit-filter":"grayscale("+n+")brightness("+i+"%)",filter:"grayscale("+n+")brightness("+i+"%)"})}})},Materialize.showStaggeredList=function(t){var e;if("string"==typeof t)e=D(t);else{if("object"!=typeof t)return;e=t}var n=0;e.find("li").velocity({translateX:"-100px"},{duration:0}),e.find("li").each(function(){D(this).velocity({opacity:"1",translateX:"0"},{duration:800,delay:n,easing:[60,10]}),n+=120})},D(document).ready(function(){var t=!1,e=!1;D(".dismissable").each(function(){D(this).hammer({prevent_default:!1}).on("pan",function(n){if("touch"===n.gesture.pointerType){var i=D(this),o=n.gesture.direction,r=n.gesture.deltaX,a=n.gesture.velocityX;i.velocity({translateX:r},{duration:50,queue:!1,easing:"easeOutQuad"}),4===o&&(r>i.innerWidth()/2||a<-.75)&&(t=!0),2===o&&(r<-1*i.innerWidth()/2||a>.75)&&(e=!0)}}).on("panend",function(n){if(Math.abs(n.gesture.deltaX)<D(this).innerWidth()/2&&(e=!1,t=!1),"touch"===n.gesture.pointerType){var i,o=D(this);t||e?(i=t?o.innerWidth():-1*o.innerWidth(),o.velocity({translateX:i},{duration:100,queue:!1,easing:"easeOutQuad",complete:function(){o.css("border","none"),o.velocity({height:0,padding:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){o.remove()}})}})):o.velocity({translateX:0},{duration:100,queue:!1,easing:"easeOutQuad"}),t=!1,e=!1}})})}),M=!1,Materialize.scrollFire=function(t){var e=Materialize.throttle(function(){!function(){for(var e=window.pageYOffset+window.innerHeight,n=0;n<t.length;n++){var i=t[n],o=i.selector,r=i.offset,a=i.callback,s=document.querySelector(o);null!==s&&e>s.getBoundingClientRect().top+window.pageYOffset+r&&!0!==i.done&&("function"==typeof a?a.call(this,s):"string"==typeof a&&new Function(a)(s),i.done=!0)}}()},t.throttle||100);M||(window.addEventListener("scroll",e),window.addEventListener("resize",e),M=!0),setTimeout(e,0)},Materialize.Picker=function(t){var e=t(window),n=t(document),i=t(document.documentElement);function o(e,s,c,u){if(!e)return o;var d=!1,p={id:e.id||"P"+Math.abs(~~(Math.random()*new Date))},h=c?t.extend(!0,{},c.defaults,u):u||{},f=t.extend({},o.klasses(),h.klass),v=t(e),g=function(){return this.start()},m=g.prototype={constructor:g,$node:v,start:function(){return p&&p.start?m:(p.methods={},p.start=!0,p.open=!1,p.type=e.type,e.autofocus=e==l(),e.readOnly=!h.editable,e.id=e.id||p.id,"text"!=e.type&&(e.type="text"),m.component=new c(m,h),m.$root=t(o._.node("div",y(),f.picker,'id="'+e.id+'_root" tabindex="0"')),m.$root.on({keydown:b,focusin:function(t){m.$root.removeClass(f.focused),t.stopPropagation()},"mousedown click":function(e){var n=e.target;n!=m.$root.children()[0]&&(e.stopPropagation(),"mousedown"!=e.type||t(n).is("input, select, textarea, button, option")||(e.preventDefault(),m.$root.eq(0).focus()))}}).on({focus:function(){v.addClass(f.target)},blur:function(){v.removeClass(f.target)}}).on("focus.toOpen",w).on("click","[data-pick], [data-nav], [data-clear], [data-close]",function(){var e=t(this),n=e.data(),i=e.hasClass(f.navDisabled)||e.hasClass(f.disabled),o=l();o=o&&(o.type||o.href),(i||o&&!t.contains(m.$root[0],o))&&m.$root.eq(0).focus(),!i&&n.nav?m.set("highlight",m.component.item.highlight,{nav:n.nav}):!i&&"pick"in n?(m.set("select",n.pick),h.closeOnSelect&&m.close(!0)):n.clear?(m.clear(),h.closeOnSelect&&m.close(!0)):n.close&&m.close(!0)}),a(m.$root[0],"hidden",!0),h.formatSubmit&&(!0===h.hiddenName?(r=e.name,e.name=""):r=(r=["string"==typeof h.hiddenPrefix?h.hiddenPrefix:"","string"==typeof h.hiddenSuffix?h.hiddenSuffix:"_submit"])[0]+e.name+r[1],m._hidden=t('<input type=hidden name="'+r+'"'+(v.data("value")||e.value?' value="'+m.get("select",h.formatSubmit)+'"':"")+">")[0],v.on("change."+p.id,function(){m._hidden.value=e.value?m.get("select",h.formatSubmit):""}),h.container?t(h.container).append(m._hidden):v.before(m._hidden)),v.data(s,m).addClass(f.input).attr("tabindex",-1).val(v.data("value")?m.get("select",h.format):e.value),h.editable||v.on("focus."+p.id+" click."+p.id,function(t){t.preventDefault(),m.$root.eq(0).focus()}).on("keydown."+p.id,b),a(e,{haspopup:!0,expanded:!1,readonly:!1,owns:e.id+"_root"}),h.container?t(h.container).append(m.$root):v.before(m.$root),m.on({start:m.component.onStart,render:m.component.onRender,stop:m.component.onStop,open:m.component.onOpen,close:m.component.onClose,set:m.component.onSet}).on({start:h.onStart,render:h.onRender,stop:h.onStop,open:h.onOpen,close:h.onClose,set:h.onSet}),(n=m.$root.children()[0]).currentStyle?i=n.currentStyle.position:window.getComputedStyle&&(i=getComputedStyle(n).position),d="fixed"==i,e.autofocus&&m.open(),m.trigger("start").trigger("render"));var n,i,r},render:function(t){return t?m.$root.html(y()):m.$root.find("."+f.box).html(m.component.nodes(p.open)),m.trigger("render")},stop:function(){return p.start?(m.close(),m._hidden&&m._hidden.parentNode.removeChild(m._hidden),m.$root.remove(),v.removeClass(f.input).removeData(s),setTimeout(function(){v.off("."+p.id)},0),e.type=p.type,e.readOnly=!1,m.trigger("stop"),p.methods={},p.start=!1,m):m},open:function(s){return p.open?m:(v.addClass(f.active),a(e,"expanded",!0),setTimeout(function(){m.$root.addClass(f.opened),a(m.$root[0],"hidden",!1)},0),!1!==s&&(p.open=!0,d&&i.css("overflow","hidden").css("padding-right","+="+r()),m.$root.eq(0).focus(),n.on("click."+p.id+" focusin."+p.id,function(t){var n=t.target;n!=e&&n!=document&&3!=t.which&&m.close(n===m.$root.children()[0])}).on("keydown."+p.id,function(e){var n=e.keyCode,i=m.component.key[n],r=e.target;27==n?m.close(!0):r!=m.$root[0]||!i&&13!=n?t.contains(m.$root[0],r)&&13==n&&(e.preventDefault(),r.click()):(e.preventDefault(),i?o._.trigger(m.component.key.go,m,[o._.trigger(i)]):m.$root.find("."+f.highlighted).hasClass(f.disabled)||(m.set("select",m.component.item.highlight),h.closeOnSelect&&m.close(!0)))})),m.trigger("open"))},close:function(t){return t&&(m.$root.off("focus.toOpen").eq(0).focus(),setTimeout(function(){m.$root.on("focus.toOpen",w)},0)),v.removeClass(f.active),a(e,"expanded",!1),setTimeout(function(){m.$root.removeClass(f.opened+" "+f.focused),a(m.$root[0],"hidden",!0)},0),p.open?(p.open=!1,d&&i.css("overflow","").css("padding-right","-="+r()),n.off("."+p.id),m.trigger("close")):m},clear:function(t){return m.set("clear",null,t)},set:function(e,n,i){var o,r,a=t.isPlainObject(e),s=a?e:{};if(i=a&&t.isPlainObject(n)?n:i||{},e){a||(s[e]=n);for(o in s)r=s[o],o in m.component.item&&(void 0===r&&(r=null),m.component.set(o,r,i)),"select"!=o&&"clear"!=o||v.val("clear"==o?"":m.get(o,h.format)).trigger("change");m.render()}return i.muted?m:m.trigger("set",s)},get:function(t,n){if(null!=p[t=t||"value"])return p[t];if("valueSubmit"==t){if(m._hidden)return m._hidden.value;t="value"}if("value"==t)return e.value;if(t in m.component.item){if("string"==typeof n){var i=m.component.get(t);return i?o._.trigger(m.component.formats.toString,m.component,[n,i]):""}return m.component.get(t)}},on:function(e,n,i){var o,r,a=t.isPlainObject(e),s=a?e:{};if(e){a||(s[e]=n);for(o in s)r=s[o],i&&(o="_"+o),p.methods[o]=p.methods[o]||[],p.methods[o].push(r)}return m},off:function(){var t,e,n=arguments;for(t=0,namesCount=n.length;t<namesCount;t+=1)(e=n[t])in p.methods&&delete p.methods[e];return m},trigger:function(t,e){var n=function(t){var n=p.methods[t];n&&n.map(function(t){o._.trigger(t,m,[e])})};return n("_"+t),n(t),m}};function y(){return o._.node("div",o._.node("div",o._.node("div",o._.node("div",m.component.nodes(p.open),f.box),f.wrap),f.frame),f.holder)}function b(t){var e=t.keyCode,n=/^(8|46)#x2F;.test(e);if(27==e)return m.close(),!1;(32==e||n||!p.open&&m.component.key[e])&&(t.preventDefault(),t.stopPropagation(),n?m.clear().close():m.open())}function w(t){t.stopPropagation(),"focus"==t.type&&m.$root.addClass(f.focused),m.open()}return new g}function r(){if(i.height()<=e.height())return 0;var n=t('<div style="visibility:hidden;width:100px" />').appendTo("body"),o=n[0].offsetWidth;n.css("overflow","scroll");var r=t('<div style="width:100%" />').appendTo(n),a=r[0].offsetWidth;return n.remove(),o-a}function a(e,n,i){if(t.isPlainObject(n))for(var o in n)s(e,o,n[o]);else s(e,n,i)}function s(t,e,n){t.setAttribute(("role"==e?"":"aria-")+e,n)}function l(){try{return document.activeElement}catch(t){}}return o.klasses=function(t){return{picker:t=t||"picker",opened:t+"--opened",focused:t+"--focused",input:t+"__input",active:t+"__input--active",target:t+"__input--target",holder:t+"__holder",frame:t+"__frame",wrap:t+"__wrap",box:t+"__box"}},o._={group:function(t){for(var e,n="",i=o._.trigger(t.min,t);i<=o._.trigger(t.max,t,[i]);i+=t.i)e=o._.trigger(t.item,t,[i]),n+=o._.node(t.node,e[0],e[1],e[2]);return n},node:function(e,n,i,o){return n?(n=t.isArray(n)?n.join(""):n,"<"+e+(i=i?' class="'+i+'"':"")+(o=o?" "+o:"")+">"+n+"</"+e+">"):""},lead:function(t){return(t<10?"0":"")+t},trigger:function(t,e,n){return"function"==typeof t?t.apply(e,n||[]):t},digits:function(t){return/\d/.test(t[1])?2:1},isDate:function(t){return{}.toString.call(t).indexOf("Date")>-1&&this.isInteger(t.getDate())},isInteger:function(t){return{}.toString.call(t).indexOf("Number")>-1&&t%1==0},ariaAttr:function(e,n){t.isPlainObject(e)||(e={attribute:n}),n="";for(var i in e){var o=("role"==i?"":"aria-")+i,r=e[i];n+=null==r?"":o+'="'+e[i]+'"'}return n}},o.extend=function(e,n){t.fn[e]=function(i,r){var a=this.data(e);return"picker"==i?a:a&&"string"==typeof i?o._.trigger(a[i],a,[r]):this.each(function(){t(this).data(e)||new o(this,e,n,i)})},t.fn[e].defaults=n.defaults},o}(a),function(t,e){var n,i=t._;function o(t,e){var n,i=this,o=t.$node[0],r=o.value,a=t.$node.data("value"),s=a||r,l=a?e.formatSubmit:e.format,c=function(){return o.currentStyle?"rtl"==o.currentStyle.direction:"rtl"==getComputedStyle(t.$root[0]).direction};i.settings=e,i.$node=t.$node,i.queue={min:"measure create",max:"measure create",now:"now create",select:"parse create validate",highlight:"parse navigate create validate",view:"parse create validate viewset",disable:"deactivate",enable:"activate"},i.item={},i.item.clear=null,i.item.disable=(e.disable||[]).slice(0),i.item.enable=-(!0===(n=i.item.disable)[0]?n.shift():-1),i.set("min",e.min).set("max",e.max).set("now"),s?i.set("select",s,{format:l}):i.set("select",null).set("highlight",i.item.now),i.key={40:7,38:-7,39:function(){return c()?-1:1},37:function(){return c()?1:-1},go:function(t){var e=i.item.highlight,n=new Date(e.year,e.month,e.date+t);i.set("highlight",n,{interval:t}),this.render()}},t.on("render",function(){t.$root.find("."+e.klass.selectMonth).on("change",function(){var n=this.value;n&&(t.set("highlight",[t.get("view").year,n,t.get("highlight").date]),t.$root.find("."+e.klass.selectMonth).trigger("focus"))}),t.$root.find("."+e.klass.selectYear).on("change",function(){var n=this.value;n&&(t.set("highlight",[n,t.get("view").month,t.get("highlight").date]),t.$root.find("."+e.klass.selectYear).trigger("focus"))})},1).on("open",function(){var n="";i.disabled(i.get("now"))&&(n=":not(."+e.klass.buttonToday+")"),t.$root.find("button"+n+", select").attr("disabled",!1)},1).on("close",function(){t.$root.find("button, select").attr("disabled",!0)},1)}o.prototype.set=function(t,e,n){var i=this,o=i.item;return null===e?("clear"==t&&(t="select"),o[t]=e,i):(o["enable"==t?"disable":"flip"==t?"enable":t]=i.queue[t].split(" ").map(function(o){return e=i[o](t,e,n)}).pop(),"select"==t?i.set("highlight",o.select,n):"highlight"==t?i.set("view",o.highlight,n):t.match(/^(flip|min|max|disable|enable)#x2F;)&&(o.select&&i.disabled(o.select)&&i.set("select",o.select,n),o.highlight&&i.disabled(o.highlight)&&i.set("highlight",o.highlight,n)),i)},o.prototype.get=function(t){return this.item[t]},o.prototype.create=function(t,n,o){var r;return(n=void 0===n?t:n)==-1/0||n==1/0?r=n:e.isPlainObject(n)&&i.isInteger(n.pick)?n=n.obj:e.isArray(n)?(n=new Date(n[0],n[1],n[2]),n=i.isDate(n)?n:this.create().obj):n=i.isInteger(n)||i.isDate(n)?this.normalize(new Date(n),o):this.now(t,n,o),{year:r||n.getFullYear(),month:r||n.getMonth(),date:r||n.getDate(),day:r||n.getDay(),obj:r||n,pick:r||n.getTime()}},o.prototype.createRange=function(t,n){var o=this,r=function(t){return!0===t||e.isArray(t)||i.isDate(t)?o.create(t):t};return i.isInteger(t)||(t=r(t)),i.isInteger(n)||(n=r(n)),i.isInteger(t)&&e.isPlainObject(n)?t=[n.year,n.month,n.date+t]:i.isInteger(n)&&e.isPlainObject(t)&&(n=[t.year,t.month,t.date+n]),{from:r(t),to:r(n)}},o.prototype.withinRange=function(t,e){return t=this.createRange(t.from,t.to),e.pick>=t.from.pick&&e.pick<=t.to.pick},o.prototype.overlapRanges=function(t,e){return t=this.createRange(t.from,t.to),e=this.createRange(e.from,e.to),this.withinRange(t,e.from)||this.withinRange(t,e.to)||this.withinRange(e,t.from)||this.withinRange(e,t.to)},o.prototype.now=function(t,e,n){return e=new Date,n&&n.rel&&e.setDate(e.getDate()+n.rel),this.normalize(e,n)},o.prototype.navigate=function(t,n,i){var o,r,a,s,l=e.isArray(n),c=e.isPlainObject(n),u=this.item.view;if(l||c){for(c?(r=n.year,a=n.month,s=n.date):(r=+n[0],a=+n[1],s=+n[2]),i&&i.nav&&u&&u.month!==a&&(r=u.year,a=u.month),o=new Date(r,a+(i&&i.nav?i.nav:0),1),r=o.getFullYear(),a=o.getMonth();new Date(r,a,s).getMonth()!==a;)s-=1;n=[r,a,s]}return n},o.prototype.normalize=function(t){return t.setHours(0,0,0,0),t},o.prototype.measure=function(t,e){return e?"string"==typeof e?e=this.parse(t,e):i.isInteger(e)&&(e=this.now(t,e,{rel:e})):e="min"==t?-1/0:1/0,e},o.prototype.viewset=function(t,e){return this.create([e.year,e.month,1])},o.prototype.validate=function(t,n,o){var r,a,s,l,c=this,u=n,d=o&&o.interval?o.interval:1,p=-1===c.item.enable,h=c.item.min,f=c.item.max,v=p&&c.item.disable.filter(function(t){if(e.isArray(t)){var o=c.create(t).pick;o<n.pick?r=!0:o>n.pick&&(a=!0)}return i.isInteger(t)}).length;if((!o||!o.nav)&&(!p&&c.disabled(n)||p&&c.disabled(n)&&(v||r||a)||!p&&(n.pick<=h.pick||n.pick>=f.pick)))for(p&&!v&&(!a&&d>0||!r&&d<0)&&(d*=-1);c.disabled(n)&&(Math.abs(d)>1&&(n.month<u.month||n.month>u.month)&&(n=u,d=d>0?1:-1),n.pick<=h.pick?(s=!0,d=1,n=c.create([h.year,h.month,h.date+(n.pick===h.pick?0:-1)])):n.pick>=f.pick&&(l=!0,d=-1,n=c.create([f.year,f.month,f.date+(n.pick===f.pick?0:1)])),!s||!l);)n=c.create([n.year,n.month,n.date+d]);return n},o.prototype.disabled=function(t){var n=this,o=n.item.disable.filter(function(o){return i.isInteger(o)?t.day===(n.settings.firstDay?o:o-1)%7:e.isArray(o)||i.isDate(o)?t.pick===n.create(o).pick:e.isPlainObject(o)?n.withinRange(o,t):void 0});return o=o.length&&!o.filter(function(t){return e.isArray(t)&&"inverted"==t[3]||e.isPlainObject(t)&&t.inverted}).length,-1===n.item.enable?!o:o||t.pick<n.item.min.pick||t.pick>n.item.max.pick},o.prototype.parse=function(t,e,n){var o=this,r={};return e&&"string"==typeof e?(n&&n.format||((n=n||{}).format=o.settings.format),o.formats.toArray(n.format).map(function(t){var n=o.formats[t],a=n?i.trigger(n,o,[e,r]):t.replace(/^!/,"").length;n&&(r[t]=e.substr(0,a)),e=e.substr(a)}),[r.yyyy||r.yy,+(r.mm||r.m)-1,r.dd||r.d]):e},o.prototype.formats=function(){function t(t,e,n){var i=t.match(/\w+/)[0];return n.mm||n.m||(n.m=e.indexOf(i)+1),i.length}function e(t){return t.match(/\w+/)[0].length}return{d:function(t,e){return t?i.digits(t):e.date},dd:function(t,e){return t?2:i.lead(e.date)},ddd:function(t,n){return t?e(t):this.settings.weekdaysShort[n.day]},dddd:function(t,n){return t?e(t):this.settings.weekdaysFull[n.day]},m:function(t,e){return t?i.digits(t):e.month+1},mm:function(t,e){return t?2:i.lead(e.month+1)},mmm:function(e,n){var i=this.settings.monthsShort;return e?t(e,i,n):i[n.month]},mmmm:function(e,n){var i=this.settings.monthsFull;return e?t(e,i,n):i[n.month]},yy:function(t,e){return t?2:(""+e.year).slice(2)},yyyy:function(t,e){return t?4:e.year},toArray:function(t){return t.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g)},toString:function(t,e){var n=this;return n.formats.toArray(t).map(function(t){return i.trigger(n.formats[t],n,[0,e])||t.replace(/^!/,"")}).join("")}}}(),o.prototype.isDateExact=function(t,n){return i.isInteger(t)&&i.isInteger(n)||"boolean"==typeof t&&"boolean"==typeof n?t===n:(i.isDate(t)||e.isArray(t))&&(i.isDate(n)||e.isArray(n))?this.create(t).pick===this.create(n).pick:!(!e.isPlainObject(t)||!e.isPlainObject(n))&&this.isDateExact(t.from,n.from)&&this.isDateExact(t.to,n.to)},o.prototype.isDateOverlap=function(t,n){var o=this.settings.firstDay?1:0;return i.isInteger(t)&&(i.isDate(n)||e.isArray(n))?(t=t%7+o)===this.create(n).day+1:i.isInteger(n)&&(i.isDate(t)||e.isArray(t))?(n=n%7+o)===this.create(t).day+1:!(!e.isPlainObject(t)||!e.isPlainObject(n))&&this.overlapRanges(t,n)},o.prototype.flipEnable=function(t){var e=this.item;e.enable=t||(-1==e.enable?1:-1)},o.prototype.deactivate=function(t,n){var o=this,r=o.item.disable.slice(0);return"flip"==n?o.flipEnable():!1===n?(o.flipEnable(1),r=[]):!0===n?(o.flipEnable(-1),r=[]):n.map(function(t){for(var n,a=0;a<r.length;a+=1)if(o.isDateExact(t,r[a])){n=!0;break}n||(i.isInteger(t)||i.isDate(t)||e.isArray(t)||e.isPlainObject(t)&&t.from&&t.to)&&r.push(t)}),r},o.prototype.activate=function(t,n){var o=this,r=o.item.disable,a=r.length;return"flip"==n?o.flipEnable():!0===n?(o.flipEnable(1),r=[]):!1===n?(o.flipEnable(-1),r=[]):n.map(function(t){var n,s,l,c;for(l=0;l<a;l+=1){if(s=r[l],o.isDateExact(s,t)){n=r[l]=null,c=!0;break}if(o.isDateOverlap(s,t)){e.isPlainObject(t)?(t.inverted=!0,n=t):e.isArray(t)?(n=t)[3]||n.push("inverted"):i.isDate(t)&&(n=[t.getFullYear(),t.getMonth(),t.getDate(),"inverted"]);break}}if(n)for(l=0;l<a;l+=1)if(o.isDateExact(r[l],t)){r[l]=null;break}if(c)for(l=0;l<a;l+=1)if(o.isDateOverlap(r[l],t)){r[l]=null;break}n&&r.push(n)}),r.filter(function(t){return null!=t})},o.prototype.nodes=function(t){var e,n,o=this,r=o.settings,a=o.item,s=a.now,l=a.select,c=a.highlight,u=a.view,d=a.disable,p=a.min,h=a.max,f=(e=(r.showWeekdaysFull?r.weekdaysFull:r.weekdaysLetter).slice(0),n=r.weekdaysFull.slice(0),r.firstDay&&(e.push(e.shift()),n.push(n.shift())),i.node("thead",i.node("tr",i.group({min:0,max:6,i:1,node:"th",item:function(t){return[e[t],r.klass.weekdays,'scope=col title="'+n[t]+'"']}})))),v=function(t){return i.node("div"," ",r.klass["nav"+(t?"Next":"Prev")]+(t&&u.year>=h.year&&u.month>=h.month||!t&&u.year<=p.year&&u.month<=p.month?" "+r.klass.navDisabled:""),"data-nav="+(t||-1)+" "+i.ariaAttr({role:"button",controls:o.$node[0].id+"_table"})+' title="'+(t?r.labelMonthNext:r.labelMonthPrev)+'"')},g=function(e){var n=r.showMonthsShort?r.monthsShort:r.monthsFull;return"short_months"==e&&(n=r.monthsShort),r.selectMonths&&void 0==e?i.node("select",i.group({min:0,max:11,i:1,node:"option",item:function(t){return[n[t],0,"value="+t+(u.month==t?" selected":"")+(u.year==p.year&&t<p.month||u.year==h.year&&t>h.month?" disabled":"")]}}),r.klass.selectMonth+" browser-default",(t?"":"disabled")+" "+i.ariaAttr({controls:o.$node[0].id+"_table"})+' title="'+r.labelMonthSelect+'"'):"short_months"==e?null!=l?n[l.month]:n[u.month]:i.node("div",n[u.month],r.klass.month)},m=function(e){var n=u.year,a=!0===r.selectYears?5:~~(r.selectYears/2);if(a){var s=p.year,l=h.year,c=n-a,d=n+a;if(s>c&&(d+=s-c,c=s),l<d){var f=c-s,v=d-l;c-=f>v?v:f,d=l}if(r.selectYears&&void 0==e)return i.node("select",i.group({min:c,max:d,i:1,node:"option",item:function(t){return[t,0,"value="+t+(n==t?" selected":"")]}}),r.klass.selectYear+" browser-default",(t?"":"disabled")+" "+i.ariaAttr({controls:o.$node[0].id+"_table"})+' title="'+r.labelYearSelect+'"')}return"raw"==e?i.node("div",n):i.node("div",n,r.klass.year)};return createDayLabel=function(){return null!=l?l.date:s.date},createWeekdayLabel=function(){var t;t=null!=l?l.day:s.day;var e=r.weekdaysShort[t];return e},i.node("div",i.node("div",m("raw"),r.klass.year_display)+i.node("span",createWeekdayLabel()+", ","picker__weekday-display")+i.node("span",g("short_months")+" ",r.klass.month_display)+i.node("span",createDayLabel(),r.klass.day_display),r.klass.date_display)+i.node("div",i.node("div",i.node("div",(r.selectYears,g()+m()+v()+v(1)),r.klass.header)+i.node("table",f+i.node("tbody",i.group({min:0,max:5,i:1,node:"tr",item:function(t){var e=r.firstDay&&0===o.create([u.year,u.month,1]).day?-7:0;return[i.group({min:7*t-u.day+e+1,max:function(){return this.min+7-1},i:1,node:"td",item:function(t){t=o.create([u.year,u.month,t+(r.firstDay?1:0)]);var e,n=l&&l.pick==t.pick,a=c&&c.pick==t.pick,f=d&&o.disabled(t)||t.pick<p.pick||t.pick>h.pick,v=i.trigger(o.formats.toString,o,[r.format,t]);return[i.node("div",t.date,(e=[r.klass.day],e.push(u.month==t.month?r.klass.infocus:r.klass.outfocus),s.pick==t.pick&&e.push(r.klass.now),n&&e.push(r.klass.selected),a&&e.push(r.klass.highlighted),f&&e.push(r.klass.disabled),e.join(" ")),"data-pick="+t.pick+" "+i.ariaAttr({role:"gridcell",label:v,selected:!(!n||o.$node.val()!==v)||null,activedescendant:!!a||null,disabled:!!f||null})+" "+(f?"":'tabindex="0"')),"",i.ariaAttr({role:"presentation"})]}})]}})),r.klass.table,'id="'+o.$node[0].id+'_table" '+i.ariaAttr({role:"grid",controls:o.$node[0].id,readonly:!0})),r.klass.calendar_container)+i.node("div",i.node("button",r.today,"btn-flat picker__today waves-effect","type=button data-pick="+s.pick+(t&&!o.disabled(s)?"":" disabled")+" "+i.ariaAttr({controls:o.$node[0].id}))+i.node("button",r.clear,"btn-flat picker__clear waves-effect","type=button data-clear=1"+(t?"":" disabled")+" "+i.ariaAttr({controls:o.$node[0].id}))+i.node("button",r.close,"btn-flat picker__close waves-effect","type=button data-close=true "+(t?"":" disabled")+" "+i.ariaAttr({controls:o.$node[0].id})),r.klass.footer),"picker__container__wrapper")},o.defaults={labelMonthNext:"Next month",labelMonthPrev:"Previous month",labelMonthSelect:"Select a month",labelYearSelect:"Select a year",monthsFull:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdaysFull:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysLetter:["S","M","T","W","T","F","S"],today:"Today",clear:"Clear",close:"Ok",closeOnSelect:!1,format:"d mmmm, yyyy",klass:{table:(n=t.klasses().picker+"__")+"table",header:n+"header",date_display:n+"date-display",day_display:n+"day-display",month_display:n+"month-display",year_display:n+"year-display",calendar_container:n+"calendar-container",navPrev:n+"nav--prev",navNext:n+"nav--next",navDisabled:n+"nav--disabled",month:n+"month",year:n+"year",selectMonth:n+"select--month",selectYear:n+"select--year",weekdays:n+"weekday",day:n+"day",disabled:n+"day--disabled",selected:n+"day--selected",highlighted:n+"day--highlighted",now:n+"day--today",infocus:n+"day--infocus",outfocus:n+"day--outfocus",footer:n+"footer",buttonClear:n+"button--clear",buttonToday:n+"button--today",buttonClose:n+"button--close"}},t.extend("pickadate",o)}(Materialize.Picker,a),function(){var t,e,n,i=window.jQuery,o=i(window),r=i(document),a="http://www.w3.org/2000/svg",s="SVGAngle"in window&&((e=document.createElement("div")).innerHTML="<svg/>",t=(e.firstChild&&e.firstChild.namespaceURI)==a,e.innerHTML="",t),l="transition"in(n=document.createElement("div").style)||"WebkitTransition"in n||"MozTransition"in n||"msTransition"in n||"OTransition"in n,c="ontouchstart"in window,u="mousedown"+(c?" touchstart":""),d="mousemove.clockpicker"+(c?" touchmove.clockpicker":""),p="mouseup.clockpicker"+(c?" touchend.clockpicker":""),h=navigator.vibrate?"vibrate":navigator.webkitVibrate?"webkitVibrate":null;function f(t){return document.createElementNS(a,t)}function v(t){return(t<10?"0":"")+t}var g=0;var m=135,y=105,b=80,w=20,x=2*m,k=l?350:1,T=['<div class="clockpicker picker">','<div class="picker__holder">','<div class="picker__frame">','<div class="picker__wrap">','<div class="picker__box">','<div class="picker__date-display">','<div class="clockpicker-display">','<div class="clockpicker-display-column">','<span class="clockpicker-span-hours text-primary"></span>',":",'<span class="clockpicker-span-minutes"></span>',"</div>",'<div class="clockpicker-display-column clockpicker-display-am-pm">','<div class="clockpicker-span-am-pm"></div>',"</div>","</div>","</div>",'<div class="picker__container__wrapper">','<div class="picker__calendar-container">','<div class="clockpicker-plate">','<div class="clockpicker-canvas"></div>','<div class="clockpicker-dial clockpicker-hours"></div>','<div class="clockpicker-dial clockpicker-minutes clockpicker-dial-out"></div>',"</div>",'<div class="clockpicker-am-pm-block">',"</div>","</div>",'<div class="picker__footer">',"</div>","</div>","</div>","</div>","</div>","</div>","</div>"].join("");function C(t,e){var n,o,a=i(T),l=a.find(".clockpicker-plate"),c=a.find(".picker__holder"),h=a.find(".clockpicker-hours"),C=a.find(".clockpicker-minutes"),E=a.find(".clockpicker-am-pm-block"),A="INPUT"===t.prop("tagName"),P=A?t:t.find("input"),O=i("label[for="+P.attr("id")+"]"),D=this;this.id=(o=++g+"",(n="cp")?n+o:o),this.element=t,this.holder=c,this.options=e,this.isAppended=!1,this.isShown=!1,this.currentView="hours",this.isInput=A,this.input=P,this.label=O,this.popover=a,this.plate=l,this.hoursView=h,this.minutesView=C,this.amPmBlock=E,this.spanHours=a.find(".clockpicker-span-hours"),this.spanMinutes=a.find(".clockpicker-span-minutes"),this.spanAmPm=a.find(".clockpicker-span-am-pm"),this.footer=a.find(".picker__footer"),this.amOrPm="PM",e.twelvehour&&(e.ampmclickable?(this.spanAmPm.empty(),i('<div id="click-am">AM</div>').on("click",function(){D.spanAmPm.children("#click-am").addClass("text-primary"),D.spanAmPm.children("#click-pm").removeClass("text-primary"),D.amOrPm="AM"}).appendTo(this.spanAmPm),i('<div id="click-pm">PM</div>').on("click",function(){D.spanAmPm.children("#click-pm").addClass("text-primary"),D.spanAmPm.children("#click-am").removeClass("text-primary"),D.amOrPm="PM"}).appendTo(this.spanAmPm)):(this.spanAmPm.empty(),i('<div id="click-am">AM</div>').appendTo(this.spanAmPm),i('<div id="click-pm">PM</div>').appendTo(this.spanAmPm))),i('<button type="button" class="btn-flat picker__clear" tabindex="'+(e.twelvehour?"3":"1")+'">'+e.cleartext+"</button>").click(i.proxy(this.clear,this)).appendTo(this.footer),i('<button type="button" class="btn-flat picker__close" tabindex="'+(e.twelvehour?"3":"1")+'">'+e.canceltext+"</button>").click(i.proxy(this.hide,this)).appendTo(this.footer),i('<button type="button" class="btn-flat picker__close" tabindex="'+(e.twelvehour?"3":"1")+'">'+e.donetext+"</button>").click(i.proxy(this.done,this)).appendTo(this.footer),this.spanHours.click(i.proxy(this.toggleView,this,"hours")),this.spanMinutes.click(i.proxy(this.toggleView,this,"minutes")),P.on("focus.clockpicker click.clockpicker",i.proxy(this.show,this));var M,_,I,N,q=i('<div class="clockpicker-tick"></div>');if(e.twelvehour)for(M=1;M<13;M+=1)_=q.clone(),I=M/6*Math.PI,N=y,_.css({left:m+Math.sin(I)*N-w,top:m-Math.cos(I)*N-w}),_.html(0===M?"00":M),h.append(_),_.on(u,L);else for(M=0;M<24;M+=1){_=q.clone(),I=M/6*Math.PI,N=M>0&&M<13?b:y,_.css({left:m+Math.sin(I)*N-w,top:m-Math.cos(I)*N-w}),_.html(0===M?"00":M),h.append(_),_.on(u,L)}for(M=0;M<60;M+=5)_=q.clone(),I=M/30*Math.PI,_.css({left:m+Math.sin(I)*y-w,top:m-Math.cos(I)*y-w}),_.html(v(M)),C.append(_),_.on(u,L);function L(t,n){var i=l.offset(),o=/^touch/.test(t.type),a=i.left+m,s=i.top+m,c=(o?t.originalEvent.touches[0]:t).pageX-a,u=(o?t.originalEvent.touches[0]:t).pageY-s,h=Math.sqrt(c*c+u*u),f=!1;if(!n||!(h<y-w||h>y+w)){t.preventDefault();var v=setTimeout(function(){D.popover.addClass("clockpicker-moving")},200);D.setHand(c,u,!n,!0),r.off(d).on(d,function(t){t.preventDefault();var e=/^touch/.test(t.type),n=(e?t.originalEvent.touches[0]:t).pageX-a,i=(e?t.originalEvent.touches[0]:t).pageY-s;(f||n!==c||i!==u)&&(f=!0,D.setHand(n,i,!1,!0))}),r.off(p).on(p,function(t){r.off(p),t.preventDefault();var i=/^touch/.test(t.type),o=(i?t.originalEvent.changedTouches[0]:t).pageX-a,h=(i?t.originalEvent.changedTouches[0]:t).pageY-s;(n||f)&&o===c&&h===u&&D.setHand(o,h),"hours"===D.currentView?D.toggleView("minutes",k/2):e.autoclose&&(D.minutesView.addClass("clockpicker-dial-out"),setTimeout(function(){D.done()},k/2)),l.prepend(H),clearTimeout(v),D.popover.removeClass("clockpicker-moving"),r.off(d)})}}if(l.on(u,function(t){0===i(t.target).closest(".clockpicker-tick").length&&L(t,!0)}),s){var H=a.find(".clockpicker-canvas"),j=f("svg");j.setAttribute("class","clockpicker-svg"),j.setAttribute("width",x),j.setAttribute("height",x);var F=f("g");F.setAttribute("transform","translate("+m+","+m+")");var z=f("circle");z.setAttribute("class","clockpicker-canvas-bearing"),z.setAttribute("cx",0),z.setAttribute("cy",0),z.setAttribute("r",4);var R=f("line");R.setAttribute("x1",0),R.setAttribute("y1",0);var W=f("circle");W.setAttribute("class","clockpicker-canvas-bg"),W.setAttribute("r",w),F.appendChild(R),F.appendChild(W),F.appendChild(z),j.appendChild(F),H.append(j),this.hand=R,this.bg=W,this.bearing=z,this.g=F,this.canvas=H}S(this.options.init)}function S(t){t&&"function"==typeof t&&t()}C.DEFAULTS={default:"",fromnow:0,donetext:"Ok",cleartext:"Clear",canceltext:"Cancel",autoclose:!1,ampmclickable:!0,darktheme:!1,twelvehour:!0,vibrate:!0},C.prototype.toggle=function(){this[this.isShown?"hide":"show"]()},C.prototype.locate=function(){var t=this.element,e=this.popover;t.offset(),t.outerWidth(),t.outerHeight(),this.options.align;e.show()},C.prototype.show=function(t){if(!this.isShown){S(this.options.beforeShow),i(":input").each(function(){i(this).attr("tabindex",-1)});var e=this;this.input.blur(),this.popover.addClass("picker--opened"),this.input.addClass("picker__input picker__input--active"),i(document.body).css("overflow","hidden");var n=((this.input.prop("value")||this.options.default||"")+"").split(":");if(this.options.twelvehour&&void 0!==n[1]&&(n[1].indexOf("AM")>0?this.amOrPm="AM":this.amOrPm="PM",n[1]=n[1].replace("AM","").replace("PM","")),"now"===n[0]){var a=new Date(+new Date+this.options.fromnow);n=[a.getHours(),a.getMinutes()],this.options.twelvehour&&(this.amOrPm=n[0]>=12&&n[0]<24?"PM":"AM")}this.hours=+n[0]||0,this.minutes=+n[1]||0,this.spanHours.html(this.hours),this.spanMinutes.html(v(this.minutes)),this.isAppended||(this.popover.insertAfter(this.input),this.options.twelvehour&&("PM"===this.amOrPm?(this.spanAmPm.children("#click-pm").addClass("text-primary"),this.spanAmPm.children("#click-am").removeClass("text-primary")):(this.spanAmPm.children("#click-am").addClass("text-primary"),this.spanAmPm.children("#click-pm").removeClass("text-primary"))),o.on("resize.clockpicker"+this.id,function(){e.isShown&&e.locate()}),this.isAppended=!0),this.toggleView("hours"),this.locate(),this.isShown=!0,r.on("click.clockpicker."+this.id+" focusin.clockpicker."+this.id,function(t){var n=i(t.target);0===n.closest(e.popover.find(".picker__wrap")).length&&0===n.closest(e.input).length&&e.hide()}),r.on("keyup.clockpicker."+this.id,function(t){27===t.keyCode&&e.hide()}),S(this.options.afterShow)}},C.prototype.hide=function(){S(this.options.beforeHide),this.input.removeClass("picker__input picker__input--active"),this.popover.removeClass("picker--opened"),i(document.body).css("overflow","visible"),this.isShown=!1,i(":input").each(function(t){i(this).attr("tabindex",t+1)}),r.off("click.clockpicker."+this.id+" focusin.clockpicker."+this.id),r.off("keyup.clockpicker."+this.id),this.popover.hide(),S(this.options.afterHide)},C.prototype.toggleView=function(t,e){var n=!1;"minutes"===t&&"visible"===i(this.hoursView).css("visibility")&&(S(this.options.beforeHourSelect),n=!0);var o="hours"===t,r=o?this.hoursView:this.minutesView,a=o?this.minutesView:this.hoursView;this.currentView=t,this.spanHours.toggleClass("text-primary",o),this.spanMinutes.toggleClass("text-primary",!o),a.addClass("clockpicker-dial-out"),r.css("visibility","visible").removeClass("clockpicker-dial-out"),this.resetClock(e),clearTimeout(this.toggleViewTimer),this.toggleViewTimer=setTimeout(function(){a.css("visibility","hidden")},k),n&&S(this.options.afterHourSelect)},C.prototype.resetClock=function(t){var e=this.currentView,n=this[e],i="hours"===e,o=n*(Math.PI/(i?6:30)),r=i&&n>0&&n<13?b:y,a=Math.sin(o)*r,l=-Math.cos(o)*r,c=this;s&&t?(c.canvas.addClass("clockpicker-canvas-out"),setTimeout(function(){c.canvas.removeClass("clockpicker-canvas-out"),c.setHand(a,l)},t)):this.setHand(a,l)},C.prototype.setHand=function(t,e,n,o){var r,a=Math.atan2(t,-e),l="hours"===this.currentView,c=Math.PI/(l||n?6:30),u=Math.sqrt(t*t+e*e),d=this.options,p=l&&u<(y+b)/2,f=p?b:y;if(d.twelvehour&&(f=y),a<0&&(a=2*Math.PI+a),a=(r=Math.round(a/c))*c,d.twelvehour?l?0===r&&(r=12):(n&&(r*=5),60===r&&(r=0)):l?(12===r&&(r=0),r=p?0===r?12:r:0===r?0:r+12):(n&&(r*=5),60===r&&(r=0)),this[this.currentView]!==r&&h&&this.options.vibrate&&(this.vibrateTimer||(navigator[h](10),this.vibrateTimer=setTimeout(i.proxy(function(){this.vibrateTimer=null},this),100))),this[this.currentView]=r,l?this.spanHours.html(r):this.spanMinutes.html(v(r)),s){var g=Math.sin(a)*(f-w),m=-Math.cos(a)*(f-w),x=Math.sin(a)*f,k=-Math.cos(a)*f;this.hand.setAttribute("x2",g),this.hand.setAttribute("y2",m),this.bg.setAttribute("cx",x),this.bg.setAttribute("cy",k)}else this[l?"hoursView":"minutesView"].find(".clockpicker-tick").each(function(){var t=i(this);t.toggleClass("active",r===+t.html())})},C.prototype.done=function(){S(this.options.beforeDone),this.hide(),this.label.addClass("active");var t=this.input.prop("value"),e=v(this.hours)+":"+v(this.minutes);this.options.twelvehour&&(e+=this.amOrPm),this.input.prop("value",e),e!==t&&(this.input.triggerHandler("change"),this.isInput||this.element.trigger("change")),this.options.autoclose&&this.input.trigger("blur"),S(this.options.afterDone)},C.prototype.clear=function(){this.hide(),this.label.removeClass("active");var t=this.input.prop("value");this.input.prop("value",""),""!==t&&(this.input.triggerHandler("change"),this.isInput||this.element.trigger("change")),this.options.autoclose&&this.input.trigger("blur")},C.prototype.remove=function(){this.element.removeData("clockpicker"),this.input.off("focus.clockpicker click.clockpicker"),this.isShown&&this.hide(),this.isAppended&&(o.off("resize.clockpicker"+this.id),this.popover.remove())},i.fn.pickatime=function(t){var e=Array.prototype.slice.call(arguments,1);return this.each(function(){var n=i(this),o=n.data("clockpicker");if(o)"function"==typeof o[t]&&o[t].apply(o,e);else{var r=i.extend({},C.DEFAULTS,n.data(),"object"==typeof t&&t);n.data("clockpicker",new C(n,r))}})}}(),function(t){function e(){var e,n,i,o=+t(this).attr("data-length"),r=+t(this).val().length,a=r<=o;t(this).parent().find('span[class="character-counter"]').html(r+"/"+o),e=a,n=t(this),i=n.hasClass("invalid"),e&&i?n.removeClass("invalid"):e||i||(n.removeClass("valid"),n.addClass("invalid"))}function n(){t(this).parent().find('span[class="character-counter"]').html("")}t.fn.characterCounter=function(){return this.each(function(){var i=t(this);i.parent().find('span[class="character-counter"]').length||void 0!==i.attr("data-length")&&(i.on("input",e),i.on("focus",e),i.on("blur",n),function(e){var n=e.parent().find('span[class="character-counter"]');if(n.length)return;n=t("<span/>").addClass("character-counter").css("float","right").css("font-size","12px").css("height",1),e.parent().append(n)}(i))})},t(document).ready(function(){t("input, textarea").characterCounter()})}(a),I={init:function(t){t=_.extend({duration:200,dist:-100,shift:0,padding:0,fullWidth:!1,indicators:!1,noWrap:!1,onCycleTo:null},t);var e=Materialize.objectSelectorString(_(this));return this.each(function(n){var i,o,r,a,s,l,c,u,d,p,h,f,v,g,m,b,w,x,k,T=_('<ul class="indicators"></ul>'),C=null,S=null,E=_(this),A=E.find(".carousel-item").length>1,P=(E.attr("data-indicators")||t.indicators)&&A,O=E.attr("data-no-wrap")||t.noWrap||!A,D=E.attr("data-namespace")||e+n;E.attr("data-namespace",D);var M=function(t){var e=E.find(".carousel-item.active").length?E.find(".carousel-item.active").first():E.find(".carousel-item").first(),n=e.find("img").first();if(n.length)if(n[0].complete)if(n.height()>0)E.css("height",n.height());else{var i=n[0].naturalWidth,o=n[0].naturalHeight,r=E.width()/i*o;E.css("height",r)}else n.on("load",function(){E.css("height",_(this).height())});else if(!t){var a=e.height();E.css("height",a)}};if(t.fullWidth&&(t.dist=0,M(),P&&E.find(".carousel-fixed-item").addClass("with-indicators")),E.hasClass("initialized"))return _(window).trigger("resize"),E.trigger("carouselNext",[1e-6]),!0;function I(t){return t.targetTouches&&t.targetTouches.length>=1?t.targetTouches[0].clientX:t.clientX}function N(t){return t.targetTouches&&t.targetTouches.length>=1?t.targetTouches[0].clientY:t.clientY}function q(t){return t>=u?t%u:t<0?q(u+t%u):t}function L(e){var n,l,d,p,h,f,v;!0,E.hasClass("scrolling")||E.addClass("scrolling"),null!=C&&window.clearTimeout(C),C=window.setTimeout(function(){!1,E.removeClass("scrolling")},t.duration);var m=s;if(a="number"==typeof e?e:a,s=Math.floor((a+c/2)/c),h=-(p=(d=a-s*c)<0?1:-1)*d*2/c,l=u>>1,t.fullWidth?v="translateX(0)":(v="translateX("+(E[0].clientWidth-o)/2+"px) ",v+="translateY("+(E[0].clientHeight-r)/2+"px)"),P){var y=s%u,b=T.find(".indicator-item.active");b.index()!==y&&(b.removeClass("active"),T.find(".indicator-item").eq(y).addClass("active"))}for((!O||s>=0&&s<u)&&(f=i[q(s)],_(f).hasClass("active")||(E.find(".carousel-item").removeClass("active"),_(f).addClass("active")),f.style[g]=v+" translateX("+-d/2+"px) translateX("+p*t.shift*h*n+"px) translateZ("+t.dist*h+"px)",f.style.zIndex=0,t.fullWidth?tweenedOpacity=1:tweenedOpacity=1-.2*h,f.style.opacity=tweenedOpacity,f.style.display="block"),n=1;n<=l;++n)t.fullWidth?(zTranslation=t.dist,tweenedOpacity=n===l&&d<0?1-h:1):(zTranslation=t.dist*(2*n+h*p),tweenedOpacity=1-.2*(2*n+h*p)),(!O||s+n<u)&&((f=i[q(s+n)]).style[g]=v+" translateX("+(t.shift+(c*n-d)/2)+"px) translateZ("+zTranslation+"px)",f.style.zIndex=-n,f.style.opacity=tweenedOpacity,f.style.display="block"),t.fullWidth?(zTranslation=t.dist,tweenedOpacity=n===l&&d>0?1-h:1):(zTranslation=t.dist*(2*n-h*p),tweenedOpacity=1-.2*(2*n-h*p)),(!O||s-n>=0)&&((f=i[q(s-n)]).style[g]=v+" translateX("+(-t.shift+(-c*n-d)/2)+"px) translateZ("+zTranslation+"px)",f.style.zIndex=-n,f.style.opacity=tweenedOpacity,f.style.display="block");if((!O||s>=0&&s<u)&&((f=i[q(s)]).style[g]=v+" translateX("+-d/2+"px) translateX("+p*t.shift*h+"px) translateZ("+t.dist*h+"px)",f.style.zIndex=0,t.fullWidth?tweenedOpacity=1:tweenedOpacity=1-.2*h,f.style.opacity=tweenedOpacity,f.style.display="block"),m!==s&&"function"==typeof t.onCycleTo){var w=E.find(".carousel-item").eq(q(s));t.onCycleTo.call(this,w,x)}"function"==typeof S&&(S.call(this,w,x),S=null)}function H(){var t,e,n;e=(t=Date.now())-b,b=t,n=a-m,m=a,v=.8*(1e3*n/(1+e))+.2*v}function j(){var e,n;h&&(e=Date.now()-b,(n=h*Math.exp(-e/t.duration))>2||n<-2?(L(f-n),requestAnimationFrame(j)):L(f))}function F(e){if(x)return e.preventDefault(),e.stopPropagation(),!1;if(!t.fullWidth){var n=_(e.target).closest(".carousel-item").index();0!==q(s)-n&&(e.preventDefault(),e.stopPropagation()),z(n)}}function z(t){var e=s%u-t;O||(e<0?Math.abs(e+u)<Math.abs(e)&&(e+=u):e>0&&Math.abs(e-u)<e&&(e-=u)),e<0?E.trigger("carouselNext",[Math.abs(e)]):e>0&&E.trigger("carouselPrev",[e])}function R(t){"mousedown"===t.type&&_(t.target).is("img")&&t.preventDefault(),l=!0,x=!1,k=!1,d=I(t),p=N(t),v=h=0,m=a,b=Date.now(),clearInterval(w),w=setInterval(H,100)}function W(t){var e,n;if(l)if(e=I(t),y=N(t),n=d-e,Math.abs(p-y)<30&&!k)(n>2||n<-2)&&(x=!0,d=e,L(a+n));else{if(x)return t.preventDefault(),t.stopPropagation(),!1;k=!0}if(x)return t.preventDefault(),t.stopPropagation(),!1}function $(t){if(l)return l=!1,clearInterval(w),f=a,(v>10||v<-10)&&(f=a+(h=.9*v)),f=Math.round(f/c)*c,O&&(f>=c*(u-1)?f=c*(u-1):f<0&&(f=0)),h=f-a,b=Date.now(),requestAnimationFrame(j),x&&(t.preventDefault(),t.stopPropagation()),!1}E.addClass("initialized"),l=!1,a=f=0,i=[],o=E.find(".carousel-item").first().innerWidth(),r=E.find(".carousel-item").first().innerHeight(),c=2*o+t.padding,E.find(".carousel-item").each(function(t){if(i.push(_(this)[0]),P){var e=_('<li class="indicator-item"></li>');0===t&&e.addClass("active"),e.click(function(t){t.stopPropagation(),z(_(this).index())}),T.append(e)}}),P&&E.append(T),u=i.length,g="transform",["webkit","Moz","O","ms"].every(function(t){var e=t+"Transform";return void 0===document.body.style[e]||(g=e,!1)});var V=Materialize.throttle(function(){if(t.fullWidth){o=E.find(".carousel-item").first().innerWidth();E.find(".carousel-item.active").height();c=2*o+t.padding,f=a=2*s*o,M(!0)}else L()},200);_(window).off("resize.carousel-"+D).on("resize.carousel-"+D,V),void 0!==window.ontouchstart&&(E.on("touchstart.carousel",R),E.on("touchmove.carousel",W),E.on("touchend.carousel",$)),E.on("mousedown.carousel",R),E.on("mousemove.carousel",W),E.on("mouseup.carousel",$),E.on("mouseleave.carousel",$),E.on("click.carousel",F),L(a),_(this).on("carouselNext",function(t,e,n){void 0===e&&(e=1),"function"==typeof n&&(S=n),f=c*Math.round(a/c)+c*e,a!==f&&(h=f-a,b=Date.now(),requestAnimationFrame(j))}),_(this).on("carouselPrev",function(t,e,n){void 0===e&&(e=1),"function"==typeof n&&(S=n),f=c*Math.round(a/c)-c*e,a!==f&&(h=f-a,b=Date.now(),requestAnimationFrame(j))}),_(this).on("carouselSet",function(t,e,n){void 0===e&&(e=0),"function"==typeof n&&(S=n),z(e)})})},next:function(t,e){_(this).trigger("carouselNext",[t,e])},prev:function(t,e){_(this).trigger("carouselPrev",[t,e])},set:function(t,e){_(this).trigger("carouselSet",[t,e])},destroy:function(){var t=_(this).attr("data-namespace");_(this).removeAttr("data-namespace"),_(this).removeClass("initialized"),_(this).find(".indicators").remove(),_(this).off("carouselNext carouselPrev carouselSet"),_(window).off("resize.carousel-"+t),void 0!==window.ontouchstart&&_(this).off("touchstart.carousel touchmove.carousel touchend.carousel"),_(this).off("mousedown.carousel mousemove.carousel mouseup.carousel mouseleave.carousel click.carousel")}},(_=a).fn.carousel=function(t){return I[t]?I[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void _.error("Method "+t+" does not exist on jQuery.carousel"):I.init.apply(this,arguments)},q={init:function(t){return this.each(function(){var e=N("#"+N(this).attr("data-activates")),n=(N("body"),N(this)),i=n.parent(".tap-target-wrapper"),o=i.find(".tap-target-wave"),r=i.find(".tap-target-origin"),a=n.find(".tap-target-content");i.length||(i=n.wrap(N('<div class="tap-target-wrapper"></div>')).parent()),a.length||(a=N('<div class="tap-target-content"></div>'),n.append(a)),o.length||(o=N('<div class="tap-target-wave"></div>'),r.length||((r=e.clone(!0,!0)).addClass("tap-target-origin"),r.removeAttr("id"),r.removeAttr("style"),o.append(r)),i.append(o));var s=function(){i.is(".open")&&(i.removeClass("open"),r.off("click.tapTarget"),N(document).off("click.tapTarget"),N(window).off("resize.tapTarget"))},l=function(){var t="fixed"===e.css("position");if(!t)for(var r=e.parents(),s=0;s<r.length&&!(t="fixed"==N(r[s]).css("position"));s++);var l=e.outerWidth(),c=e.outerHeight(),u=t?e.offset().top-N(document).scrollTop():e.offset().top,d=t?e.offset().left-N(document).scrollLeft():e.offset().left,p=N(window).width(),h=N(window).height(),f=p/2,v=h/2,g=d<=f,m=d>f,y=u<=v,b=u>v,w=d>=.25*p&&d<=.75*p,x=n.outerWidth(),k=n.outerHeight(),T=u+c/2-k/2,C=d+l/2-x/2,S=t?"fixed":"absolute",E=w?x:x/2+l,A=k/2,P=y?k/2:0,O=g&&!w?x/2-l:0,D=l,M=b?"bottom":"top",_=2*l,I=_,q=k/2-I/2,L=x/2-_/2,H={};H.top=y?T:"",H.right=m?p-C-x:"",H.bottom=b?h-T-k:"",H.left=g?C:"",H.position=S,i.css(H),a.css({width:E,height:A,top:P,right:0,bottom:0,left:O,padding:D,verticalAlign:M}),o.css({top:q,left:L,width:_,height:I})};"open"==t&&(l(),i.is(".open")||(i.addClass("open"),setTimeout(function(){r.off("click.tapTarget").on("click.tapTarget",function(t){s(),r.off("click.tapTarget")}),N(document).off("click.tapTarget").on("click.tapTarget",function(t){s(),N(document).off("click.tapTarget")});var t=Materialize.throttle(function(){l()},200);N(window).off("resize.tapTarget").on("resize.tapTarget",t)},0))),"close"==t&&s()})},open:function(){},close:function(){}},(N=a).fn.tapTarget=function(t){if(q[t]||"object"==typeof t)return q.init.apply(this,arguments);N.error("Method "+t+" does not exist on jQuery.tap-target")}},function(t,e){(function(e){t.exports=e}).call(e,{})},function(t,e,n){var i;!function(o,r,a,s){"use strict";var l,c=["","webkit","Moz","MS","ms","o"],u=r.createElement("div"),d="function",p=Math.round,h=Math.abs,f=Date.now;function v(t,e,n){return setTimeout(k(t,n),e)}function g(t,e,n){return!!Array.isArray(t)&&(m(t,n[e],n),!0)}function m(t,e,n){var i;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==s)for(i=0;i<t.length;)e.call(n,t[i],i,t),i++;else for(i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i,t)}function y(t,e,n){var i="DEPRECATED METHOD: "+e+"\n"+n+" AT \n";return function(){var e=new Error("get-stack-trace"),n=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",r=o.console&&(o.console.warn||o.console.log);return r&&r.call(o.console,i,n),t.apply(this,arguments)}}l="function"!=typeof Object.assign?function(t){if(t===s||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var i=arguments[n];if(i!==s&&null!==i)for(var o in i)i.hasOwnProperty(o)&&(e[o]=i[o])}return e}:Object.assign;var b=y(function(t,e,n){for(var i=Object.keys(e),o=0;o<i.length;)(!n||n&&t[i[o]]===s)&&(t[i[o]]=e[i[o]]),o++;return t},"extend","Use `assign`."),w=y(function(t,e){return b(t,e,!0)},"merge","Use `assign`.");function x(t,e,n){var i,o=e.prototype;(i=t.prototype=Object.create(o)).constructor=t,i._super=o,n&&l(i,n)}function k(t,e){return function(){return t.apply(e,arguments)}}function T(t,e){return typeof t==d?t.apply(e&&e[0]||s,e):t}function C(t,e){return t===s?e:t}function S(t,e,n){m(O(e),function(e){t.addEventListener(e,n,!1)})}function E(t,e,n){m(O(e),function(e){t.removeEventListener(e,n,!1)})}function A(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function P(t,e){return t.indexOf(e)>-1}function O(t){return t.trim().split(/\s+/g)}function D(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;i<t.length;){if(n&&t[i][n]==e||!n&&t[i]===e)return i;i++}return-1}function M(t){return Array.prototype.slice.call(t,0)}function _(t,e,n){for(var i=[],o=[],r=0;r<t.length;){var a=e?t[r][e]:t[r];D(o,a)<0&&i.push(t[r]),o[r]=a,r++}return n&&(i=e?i.sort(function(t,n){return t[e]>n[e]}):i.sort()),i}function I(t,e){for(var n,i,o=e[0].toUpperCase()+e.slice(1),r=0;r<c.length;){if((i=(n=c[r])?n+o:e)in t)return i;r++}return s}var N=1;function q(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||o}var L="ontouchstart"in o,H=I(o,"PointerEvent")!==s,j=L&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),F="touch",z=25,R=1,W=2,$=4,V=8,X=1,Y=2,B=4,Q=8,U=16,G=Y|B,Z=Q|U,J=G|Z,K=["x","y"],tt=["clientX","clientY"];function et(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){T(t.options.enable,[t])&&n.handler(e)},this.init()}function nt(t,e,n){var i=n.pointers.length,o=n.changedPointers.length,r=e&R&&i-o==0,a=e&($|V)&&i-o==0;n.isFirst=!!r,n.isFinal=!!a,r&&(t.session={}),n.eventType=e,function(t,e){var n=t.session,i=e.pointers,o=i.length;n.firstInput||(n.firstInput=it(e));o>1&&!n.firstMultiple?n.firstMultiple=it(e):1===o&&(n.firstMultiple=!1);var r=n.firstInput,a=n.firstMultiple,l=a?a.center:r.center,c=e.center=ot(i);e.timeStamp=f(),e.deltaTime=e.timeStamp-r.timeStamp,e.angle=lt(l,c),e.distance=st(l,c),function(t,e){var n=e.center,i=t.offsetDelta||{},o=t.prevDelta||{},r=t.prevInput||{};e.eventType!==R&&r.eventType!==$||(o=t.prevDelta={x:r.deltaX||0,y:r.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y});e.deltaX=o.x+(n.x-i.x),e.deltaY=o.y+(n.y-i.y)}(n,e),e.offsetDirection=at(e.deltaX,e.deltaY);var u=rt(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=u.x,e.overallVelocityY=u.y,e.overallVelocity=h(u.x)>h(u.y)?u.x:u.y,e.scale=a?(v=a.pointers,g=i,st(g[0],g[1],tt)/st(v[0],v[1],tt)):1,e.rotation=a?(d=a.pointers,p=i,lt(p[1],p[0],tt)+lt(d[1],d[0],tt)):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,i,o,r,a=t.lastInterval||e,l=e.timeStamp-a.timeStamp;if(e.eventType!=V&&(l>z||a.velocity===s)){var c=e.deltaX-a.deltaX,u=e.deltaY-a.deltaY,d=rt(l,c,u);i=d.x,o=d.y,n=h(d.x)>h(d.y)?d.x:d.y,r=at(c,u),t.lastInterval=e}else n=a.velocity,i=a.velocityX,o=a.velocityY,r=a.direction;e.velocity=n,e.velocityX=i,e.velocityY=o,e.direction=r}(n,e);var d,p;var v,g;var m=t.element;A(e.srcEvent.target,m)&&(m=e.srcEvent.target);e.target=m}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function it(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:p(t.pointers[n].clientX),clientY:p(t.pointers[n].clientY)},n++;return{timeStamp:f(),pointers:e,center:ot(e),deltaX:t.deltaX,deltaY:t.deltaY}}function ot(t){var e=t.length;if(1===e)return{x:p(t[0].clientX),y:p(t[0].clientY)};for(var n=0,i=0,o=0;o<e;)n+=t[o].clientX,i+=t[o].clientY,o++;return{x:p(n/e),y:p(i/e)}}function rt(t,e,n){return{x:e/t||0,y:n/t||0}}function at(t,e){return t===e?X:h(t)>=h(e)?t<0?Y:B:e<0?Q:U}function st(t,e,n){n||(n=K);var i=e[n[0]]-t[n[0]],o=e[n[1]]-t[n[1]];return Math.sqrt(i*i+o*o)}function lt(t,e,n){n||(n=K);var i=e[n[0]]-t[n[0]],o=e[n[1]]-t[n[1]];return 180*Math.atan2(o,i)/Math.PI}et.prototype={handler:function(){},init:function(){this.evEl&&S(this.element,this.evEl,this.domHandler),this.evTarget&&S(this.target,this.evTarget,this.domHandler),this.evWin&&S(q(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&E(this.element,this.evEl,this.domHandler),this.evTarget&&E(this.target,this.evTarget,this.domHandler),this.evWin&&E(q(this.element),this.evWin,this.domHandler)}};var ct={mousedown:R,mousemove:W,mouseup:$},ut="mousedown",dt="mousemove mouseup";function pt(){this.evEl=ut,this.evWin=dt,this.pressed=!1,et.apply(this,arguments)}x(pt,et,{handler:function(t){var e=ct[t.type];e&R&&0===t.button&&(this.pressed=!0),e&W&&1!==t.which&&(e=$),this.pressed&&(e&amp;&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:"mouse",srcEvent:t}))}});var ht={pointerdown:R,pointermove:W,pointerup:$,pointercancel:V,pointerout:V},ft={2:F,3:"pen",4:"mouse",5:"kinect"},vt="pointerdown",gt="pointermove pointerup pointercancel";function mt(){this.evEl=vt,this.evWin=gt,et.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}o.MSPointerEvent&&!o.PointerEvent&&(vt="MSPointerDown",gt="MSPointerMove MSPointerUp MSPointerCancel"),x(mt,et,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),o=ht[i],r=ft[t.pointerType]||t.pointerType,a=r==F,s=D(e,t.pointerId,"pointerId");o&R&&(0===t.button||a)?s<0&&(e.push(t),s=e.length-1):o&($|V)&&(n=!0),s<0||(e[s]=t,this.callback(this.manager,o,{pointers:e,changedPointers:[t],pointerType:r,srcEvent:t}),n&&e.splice(s,1))}});var yt={touchstart:R,touchmove:W,touchend:$,touchcancel:V},bt="touchstart",wt="touchstart touchmove touchend touchcancel";function xt(){this.evTarget=bt,this.evWin=wt,this.started=!1,et.apply(this,arguments)}x(xt,et,{handler:function(t){var e=yt[t.type];if(e===R&&(this.started=!0),this.started){var n=function(t,e){var n=M(t.touches),i=M(t.changedTouches);e&($|V)&&(n=_(n.concat(i),"identifier",!0));return[n,i]}.call(this,t,e);e&($|V)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:F,srcEvent:t})}}});var kt={touchstart:R,touchmove:W,touchend:$,touchcancel:V},Tt="touchstart touchmove touchend touchcancel";function Ct(){this.evTarget=Tt,this.targetIds={},et.apply(this,arguments)}x(Ct,et,{handler:function(t){var e=kt[t.type],n=function(t,e){var n=M(t.touches),i=this.targetIds;if(e&(R|W)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var o,r,a=M(t.changedTouches),s=[],l=this.target;if(r=n.filter(function(t){return A(t.target,l)}),e===R)for(o=0;o<r.length;)i[r[o].identifier]=!0,o++;o=0;for(;o<a.length;)i[a[o].identifier]&&s.push(a[o]),e&($|V)&&delete i[a[o].identifier],o++;if(!s.length)return;return[_(r.concat(s),"identifier",!0),s]}.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:F,srcEvent:t})}});var St=2500,Et=25;function At(){et.apply(this,arguments);var t=k(this.handler,this);this.touch=new Ct(this.manager,t),this.mouse=new pt(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function Pt(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var n={x:e.clientX,y:e.clientY};this.lastTouches.push(n);var i=this.lastTouches;setTimeout(function(){var t=i.indexOf(n);t>-1&&i.splice(t,1)},St)}}x(At,et,{handler:function(t,e,n){var i=n.pointerType==F,o="mouse"==n.pointerType;if(!(o&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(i)(function(t,e){t&R?(this.primaryTouch=e.changedPointers[0].identifier,Pt.call(this,e)):t&($|V)&&Pt.call(this,e)}).call(this,e,n);else if(o&&function(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var o=this.lastTouches[i],r=Math.abs(e-o.x),a=Math.abs(n-o.y);if(r<=Et&&a<=Et)return!0}return!1}.call(this,n))return;this.callback(t,e,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Ot=I(u.style,"touchAction"),Dt=Ot!==s,Mt="auto",_t="manipulation",It="none",Nt="pan-x",qt="pan-y",Lt=function(){if(!Dt)return!1;var t={},e=o.CSS&&o.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(n){t[n]=!e||o.CSS.supports("touch-action",n)}),t}();function Ht(t,e){this.manager=t,this.set(e)}Ht.prototype={set:function(t){"compute"==t&&(t=this.compute()),Dt&&this.manager.element.style&&Lt[t]&&(this.manager.element.style[Ot]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return m(this.manager.recognizers,function(e){T(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),function(t){if(P(t,It))return It;var e=P(t,Nt),n=P(t,qt);if(e&&n)return It;if(e||n)return e?Nt:qt;if(P(t,_t))return _t;return Mt}(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var i=this.actions,o=P(i,It)&&!Lt[It],r=P(i,qt)&&!Lt[qt],a=P(i,Nt)&&!Lt[Nt];if(o){var s=1===t.pointers.length,l=t.distance<2,c=t.deltaTime<250;if(s&&l&&c)return}if(!a||!r)return o||r&&n&G||a&&n&Z?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var jt=1,Ft=2,zt=4,Rt=8,Wt=Rt,$t=16;function Vt(t){this.options=l({},this.defaults,t||{}),this.id=N++,this.manager=null,this.options.enable=C(this.options.enable,!0),this.state=jt,this.simultaneous={},this.requireFail=[]}function Xt(t){return t&$t?"cancel":t&Rt?"end":t&zt?"move":t&Ft?"start":""}function Yt(t){return t==U?"down":t==Q?"up":t==Y?"left":t==B?"right":""}function Bt(t,e){var n=e.manager;return n?n.get(t):t}function Qt(){Vt.apply(this,arguments)}function Ut(){Qt.apply(this,arguments),this.pX=null,this.pY=null}function Gt(){Qt.apply(this,arguments)}function Zt(){Vt.apply(this,arguments),this._timer=null,this._input=null}function Jt(){Qt.apply(this,arguments)}function Kt(){Qt.apply(this,arguments)}function te(){Vt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function ee(t,e){return(e=e||{}).recognizers=C(e.recognizers,ee.defaults.preset),new ne(t,e)}Vt.prototype={defaults:{},set:function(t){return l(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(g(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=Bt(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return g(t,"dropRecognizeWith",this)?this:(t=Bt(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(g(t,"requireFailure",this))return this;var e=this.requireFail;return-1===D(e,t=Bt(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(g(t,"dropRequireFailure",this))return this;t=Bt(t,this);var e=D(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,n=this.state;function i(n){e.manager.emit(n,t)}n<Rt&&i(e.options.event+Xt(n)),i(e.options.event),t.additionalEvent&&i(t.additionalEvent),n>=Rt&&i(e.options.event+Xt(n))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(32|jt)))return!1;t++}return!0},recognize:function(t){var e=l({},t);if(!T(this.options.enable,[this,e]))return this.reset(),void(this.state=32);this.state&(Wt|$t|32)&&(this.state=jt),this.state=this.process(e),this.state&(Ft|zt|Rt|$t)&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},x(Qt,Vt,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,i=e&(Ft|zt),o=this.attrTest(t);return i&&(n&V||!o)?e|$t:i||o?n&$?e|Rt:e&Ft?e|zt:Ft:32}}),x(Ut,Qt,{defaults:{event:"pan",threshold:10,pointers:1,direction:J},getTouchAction:function(){var t=this.options.direction,e=[];return t&G&&e.push(qt),t&Z&&e.push(Nt),e},directionTest:function(t){var e=this.options,n=!0,i=t.distance,o=t.direction,r=t.deltaX,a=t.deltaY;return o&e.direction||(e.direction&G?(o=0===r?X:r<0?Y:B,n=r!=this.pX,i=Math.abs(t.deltaX)):(o=0===a?X:a<0?Q:U,n=a!=this.pY,i=Math.abs(t.deltaY))),t.direction=o,n&&i>e.threshold&&o&e.direction},attrTest:function(t){return Qt.prototype.attrTest.call(this,t)&&(this.state&Ft||!(this.state&Ft)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=Yt(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),x(Gt,Qt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[It]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&Ft)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),x(Zt,Vt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Mt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,o=t.deltaTime>e.time;if(this._input=t,!i||!n||t.eventType&($|V)&&!o)this.reset();else if(t.eventType&R)this.reset(),this._timer=v(function(){this.state=Wt,this.tryEmit()},e.time,this);else if(t.eventType&$)return Wt;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===Wt&&(t&&t.eventType&$?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),x(Jt,Qt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[It]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&Ft)}}),x(Kt,Qt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:G|Z,pointers:1},getTouchAction:function(){return Ut.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(G|Z)?e=t.overallVelocity:n&G?e=t.overallVelocityX:n&Z&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&h(e)>this.options.velocity&&t.eventType&$},emit:function(t){var e=Yt(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),x(te,Vt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[_t]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,o=t.deltaTime<e.time;if(this.reset(),t.eventType&R&&0===this.count)return this.failTimeout();if(i&&o&&n){if(t.eventType!=$)return this.failTimeout();var r=!this.pTime||t.timeStamp-this.pTime<e.interval,a=!this.pCenter||st(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,a&&r?this.count+=1:this.count=1,this._input=t,0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=v(function(){this.state=Wt,this.tryEmit()},e.interval,this),Ft):Wt}return 32},failTimeout:function(){return this._timer=v(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==Wt&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),ee.VERSION="2.0.7",ee.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[Jt,{enable:!1}],[Gt,{enable:!1},["rotate"]],[Kt,{direction:G}],[Ut,{direction:G},["swipe"]],[te],[te,{event:"doubletap",taps:2},["tap"]],[Zt]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};function ne(t,e){var n;this.options=l({},ee.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new((n=this).options.inputClass||(H?mt:j?Ct:L?At:pt))(n,nt),this.touchAction=new Ht(this,this.options.touchAction),ie(this,!0),m(this.options.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function ie(t,e){var n,i=t.element;i.style&&(m(t.options.cssProps,function(o,r){n=I(i.style,r),e?(t.oldCssProps[n]=i.style[n],i.style[n]=o):i.style[n]=t.oldCssProps[n]||""}),e||(t.oldCssProps={}))}ne.prototype={set:function(t){return l(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){var n;this.touchAction.preventDefaults(t);var i=this.recognizers,o=e.curRecognizer;(!o||o&&o.state&Wt)&&(o=e.curRecognizer=null);for(var r=0;r<i.length;)n=i[r],2===e.stopped||o&&n!=o&&!n.canRecognizeWith(o)?n.reset():n.recognize(t),!o&&n.state&(Ft|zt|Rt)&&(o=e.curRecognizer=n),r++}},get:function(t){if(t instanceof Vt)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(g(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(g(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,n=D(e,t);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){if(t!==s&&e!==s){var n=this.handlers;return m(O(t),function(t){n[t]=n[t]||[],n[t].push(e)}),this}},off:function(t,e){if(t!==s){var n=this.handlers;return m(O(t),function(t){e?n[t]&&n[t].splice(D(n[t],e),1):delete n[t]}),this}},emit:function(t,e){var n,i,o;this.options.domEvents&&(n=t,i=e,(o=r.createEvent("Event")).initEvent(n,!0,!0),o.gesture=i,i.target.dispatchEvent(o));var a=this.handlers[t]&&this.handlers[t].slice();if(a&&a.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var s=0;s<a.length;)a[s](e),s++}},destroy:function(){this.element&&ie(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},l(ee,{INPUT_START:R,INPUT_MOVE:W,INPUT_END:$,INPUT_CANCEL:V,STATE_POSSIBLE:jt,STATE_BEGAN:Ft,STATE_CHANGED:zt,STATE_ENDED:Rt,STATE_RECOGNIZED:Wt,STATE_CANCELLED:$t,STATE_FAILED:32,DIRECTION_NONE:X,DIRECTION_LEFT:Y,DIRECTION_RIGHT:B,DIRECTION_UP:Q,DIRECTION_DOWN:U,DIRECTION_HORIZONTAL:G,DIRECTION_VERTICAL:Z,DIRECTION_ALL:J,Manager:ne,Input:et,TouchAction:Ht,TouchInput:Ct,MouseInput:pt,PointerEventInput:mt,TouchMouseInput:At,SingleTouchInput:xt,Recognizer:Vt,AttrRecognizer:Qt,Tap:te,Pan:Ut,Swipe:Kt,Pinch:Gt,Rotate:Jt,Press:Zt,on:S,off:E,each:m,merge:w,extend:b,assign:l,inherit:x,bindFn:k,prefixed:I}),(void 0!==o?o:"undefined"!=typeof self?self:{}).Hammer=ee,(i=function(){return ee}.call(e,n,e,t))===s||(t.exports=i)}(window,document)}]);
admin/class-htcc-admin.php CHANGED
@@ -71,15 +71,21 @@ class HTCC_Admin {
71
72
add_settings_section( 'htcc_settings', '', array( $this, 'htcc_settings_section_cb' ), 'htcc_options_settings' );
73
74
- add_settings_field( 'enable', __( 'Enable' , 'wp-chatbot' ), array( $this, 'htcc_enable_cb' ), 'htcc_options_settings', 'htcc_settings' );
75
- add_settings_field( 'htcc_fb_app_id', __( 'Facebook App ID' , 'wp-chatbot' ), array( $this, 'htcc_fb_app_id_cb' ), 'htcc_options_settings', 'htcc_settings' );
76
add_settings_field( 'htcc_fb_page_id', __( 'Facebook Page ID' , 'wp-chatbot' ), array( $this, 'htcc_fb_page_id_cb' ), 'htcc_options_settings', 'htcc_settings' );
77
78
79
add_settings_field( 'htcc_fb_color', __( 'Color' , 'wp-chatbot' ), array( $this, 'htcc_fb_color_cb' ), 'htcc_options_settings', 'htcc_settings' );
80
add_settings_field( 'htcc_fb_greeting_login', __( 'Logged in Greeting' , 'wp-chatbot' ), array( $this, 'htcc_fb_greeting_login_cb' ), 'htcc_options_settings', 'htcc_settings' );
81
add_settings_field( 'htcc_fb_greeting_logout', __( 'Logged out Greeting' , 'wp-chatbot' ), array( $this, 'htcc_fb_greeting_logout_cb' ), 'htcc_options_settings', 'htcc_settings' );
82
83
84
add_settings_field( 'htcc_show_hide', __( 'Hide Based on post type' , 'wp-chatbot' ), array( $this, 'htcc_show_hide_post_types_cb' ), 'htcc_options_settings', 'htcc_settings' );
85
add_settings_field( 'htcc_list_id_tohide', __( 'Post, Page Id\'s to Hide' , 'wp-chatbot' ), array( $this, 'htcc_list_id_tohide_cb' ), 'htcc_options_settings', 'htcc_settings' );
@@ -87,9 +93,7 @@ class HTCC_Admin {
87
add_settings_field( 'htcc_devices_show_hide', __( 'Hide Based on Devices' , 'wp-chatbot' ), array( $this, 'htcc_show_hide_devices_cb' ), 'htcc_options_settings', 'htcc_settings' );
88
add_settings_field( 'htcc_shortcode', __( 'Shortcode name' , 'wp-chatbot' ), array( $this, 'htcc_custom_shortcode_cb' ), 'htcc_options_settings', 'htcc_settings' );
89
90
- add_settings_field( 'htcc_fb_sdk_lang', __( 'Messenger language' , 'wp-chatbot' ), array( $this, 'htcc_fb_sdk_lang_cb' ), 'htcc_options_settings', 'htcc_settings' );
91
add_settings_field( 'htcc_fb_is_minimized', __( 'Minimized' , 'wp-chatbot' ), array( $this, 'htcc_fb_is_minimized_cb' ), 'htcc_options_settings', 'htcc_settings' );
92
- add_settings_field( 'htcc_fb_ref', __( 'Ref' , 'wp-chatbot' ), array( $this, 'htcc_fb_ref_cb' ), 'htcc_options_settings', 'htcc_settings' );
93
94
}
95
@@ -98,7 +102,7 @@ class HTCC_Admin {
98
echo '<h1>WP-Chatbot Settings</h1>';
99
}
100
101
- // enable
102
public function htcc_enable_cb() {
103
$enable = get_option('htcc_options');
104
?>
@@ -111,16 +115,7 @@ class HTCC_Admin {
111
<?php
112
}
113
114
- // App id
115
- public function htcc_fb_app_id_cb() {
116
-
117
- $htcc_fb_app_id = get_option('htcc_options');
118
- ?>
119
- <input type="text" name="htcc_options[fb_app_id]" id="" value="<?php echo esc_attr( $htcc_fb_app_id['fb_app_id'] ) ?>">
120
-
121
- <p class="description"><?php _e( 'Facebook App ID - ' , 'wp-chatbot' ) ?> <a target="_blank" href="https://holithemes.com/wp-chatbot/facebook-app-id/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a> </p>
122
- <?php
123
- }
124
125
126
// page id
@@ -128,10 +123,15 @@ class HTCC_Admin {
128
129
$htcc_fb_page_id = get_option('htcc_options');
130
?>
131
- <input type="text" name="htcc_options[fb_page_id]" id="" value="<?php echo esc_attr( $htcc_fb_page_id['fb_page_id'] ) ?>">
132
-
133
-
134
- <p class="description"><?php _e( 'Facebook Page ID - ' , 'wp-chatbot' ) ?><a target="_blank" href="https://holithemes.com/wp-chatbot/find-facebook-page-id/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a> </p>
135
<?php
136
}
137
@@ -139,8 +139,39 @@ class HTCC_Admin {
139
140
141
142
143
144
145
146
@@ -150,11 +181,12 @@ class HTCC_Admin {
150
151
$htcc_fb_color = get_option('htcc_options');
152
?>
153
- <input name="htcc_options[fb_color]" value="<?php echo esc_attr( $htcc_fb_color['fb_color'] ) ?>" type="text" class="htcc-color-wp" style="height: 1.375rem;" >
154
-
155
-
156
-
157
- <p class="description"><?php _e( 'messenger theme color , leave empty for default color - ' , 'wp-chatbot' ) ?><a target="_blank" href="https://holithemes.com/wp-chatbot/messenger-theme-color/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a> </p>
158
<?php
159
}
160
@@ -165,10 +197,13 @@ class HTCC_Admin {
165
166
$htcc_fb_greeting_login = get_option('htcc_options');
167
?>
168
- <input type="text" name="htcc_options[fb_greeting_login]" id="" value="<?php echo esc_attr( $htcc_fb_greeting_login['fb_greeting_login'] ) ?>">
169
-
170
-
171
- <p class="description"><?php _e( 'Greetings text for fb logged in user * , leave empty for default message - ' , 'wp-chatbot' ) ?><a target="_blank" href="https://holithemes.com/wp-chatbot/change-facebook-messenger-greetings-text/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a> </p>
172
<?php
173
}
174
@@ -177,93 +212,138 @@ class HTCC_Admin {
177
178
$htcc_fb_greeting_logout = get_option('htcc_options');
179
?>
180
- <input type="text" name="htcc_options[fb_greeting_logout]" id="" value="<?php echo esc_attr( $htcc_fb_greeting_logout['fb_greeting_logout'] ) ?>">
181
-
182
-
183
- <p class="description"><?php _e( 'Greetings text for fb logged out user * , leave empty for default message - ' , 'wp-chatbot' ) ?><a target="_blank" href="https://holithemes.com/wp-chatbot/change-facebook-messenger-greetings-text/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a> </p>
184
<?php
185
}
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
-
209
-
210
-
211
-
212
- // sdk lang. / messenger lang
213
- public function htcc_fb_sdk_lang_cb() {
214
-
215
- $sdk_lang = get_option('htcc_options');
216
- $lang = esc_attr( $sdk_lang['fb_sdk_lang'] );
217
?>
218
- <div>
219
- <select name="htcc_options[fb_sdk_lang]">
220
- <?php
221
- $fb_lang = HTCC_Lang::$fb_lang;
222
-
223
- foreach ( $fb_lang as $key => $value ) {
224
- ?>
225
- <option value="<?php echo $key ?>" <?php echo $lang == $key ? 'SELECTED' : ''; ?> ><?php echo $value ?></option>
226
- <?php
227
- }
228
-
229
- ?>
230
- </select>
231
</div>
232
- <p class="description"><?php _e( 'Language what display in chat window, not user input - ' , 'wp-chatbot' ) ?><a target="_blank" href="https://holithemes.com/wp-chatbot/messenger-language/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a> </p>
233
- <p class="description"><?php _e( 'Facebook SDK is not supporting all languages.., please dont consider it, as an error ' , 'wp-chatbot' ) ?> </p>
234
- <p class="description"><?php _e( 'If desired Language is not added - ' , 'wp-chatbot' ) ?><a target="_blank" href="https://www.messenger.com/t/1541811499235090/"><?php _e( 'please message us' , 'wp-chatbot' ) ?></a> </p>
235
<?php
236
}
237
238
- // minimized
239
public function htcc_fb_is_minimized_cb() {
240
$minimized = get_option('htcc_options');
241
$min_value = esc_attr( $minimized['minimized'] );
242
?>
243
<div>
244
<select name="htcc_options[minimized]" class="select-1">
245
<option value="" <?php echo $min_value == "" ? 'SELECTED' : ''; ?> >Default</option>
246
<option value="false" <?php echo $min_value == "false" ? 'SELECTED' : ''; ?> >False</option>
247
<option value="true" <?php echo $min_value == "true" ? 'SELECTED' : ''; ?> >True</option>
248
- </select>
249
</div>
250
- <p class="description"><?php _e( 'If true - chat window is minimized' , 'wp-chatbot' ) ?> </p>
251
- <p class="description"><?php _e( '( Initial time only, user can minimize or not for later visits, facebook sdk handle this ) - ' , 'wp-chatbot' ) ?><a target="_blank" href="https://holithemes.com/wp-chatbot/minimize-messenger/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a> </p>
252
<?php
253
}
254
255
- // ref
256
- public function htcc_fb_ref_cb() {
257
-
258
- $reference = get_option('htcc_options');
259
- ?>
260
- <input type="text" name="htcc_options[ref]" id="" value="<?php echo esc_attr( $reference['ref'] ) ?>">
261
262
- <p class="description"><?php _e( 'WebHook Param ( this is optional, only use this if you know how it works ) - ' , 'wp-chatbot' ) ?><a target="_blank" href="https://holithemes.com/wp-chatbot/messenger-ref/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a> </p>
263
- <?php
264
- }
265
266
- // checkboxes - based on Type of posts ..
267
public function htcc_show_hide_post_types_cb() {
268
$htcc_checkbox = get_option('htcc_options');
269
@@ -271,15 +351,19 @@ class HTCC_Admin {
271
if ( isset( $htcc_checkbox['hideon_posts'] ) ) {
272
?>
273
<p>
274
- <input name="htcc_options[hideon_posts]" type="checkbox" value="1" <?php checked( $htcc_checkbox['hideon_posts'], 1 ); ?> id="filled-in-box1" />
275
- <label for="filled-in-box1"><?php _e( 'Hide on - Posts' , 'wp-chatbot' ) ?></label>
276
</p>
277
<?php
278
} else {
279
?>
280
<p>
281
- <input name="htcc_options[hideon_posts]" type="checkbox" value="1" id="filled-in-box1" />
282
- <label for="filled-in-box1"><?php _e( 'Hide on - Posts' , 'wp-chatbot' ) ?></label>
283
</p>
284
<?php
285
}
@@ -289,15 +373,19 @@ class HTCC_Admin {
289
if ( isset( $htcc_checkbox['hideon_page'] ) ) {
290
?>
291
<p>
292
- <input name="htcc_options[hideon_page]" type="checkbox" value="1" <?php checked( $htcc_checkbox['hideon_page'], 1 ); ?> id="filled-in-box2" />
293
- <label for="filled-in-box2"><?php _e( 'Hide on - Pages' , 'wp-chatbot' ) ?></label>
294
</p>
295
<?php
296
} else {
297
?>
298
<p>
299
- <input name="htcc_options[hideon_page]" type="checkbox" value="1" id="filled-in-box2" />
300
- <label for="filled-in-box2"><?php _e( 'Hide on - Pages' , 'wp-chatbot' ) ?></label>
301
</p>
302
<?php
303
}
@@ -307,15 +395,19 @@ class HTCC_Admin {
307
if ( isset( $htcc_checkbox['hideon_homepage'] ) ) {
308
?>
309
<p>
310
- <input name="htcc_options[hideon_homepage]" type="checkbox" value="1" <?php checked( $htcc_checkbox['hideon_homepage'], 1 ); ?> id="filled-in-box3" />
311
- <label for="filled-in-box3"><?php _e( 'Hide on - Home Page' , 'wp-chatbot' ) ?></label>
312
</p>
313
<?php
314
} else {
315
?>
316
<p>
317
- <input name="htcc_options[hideon_homepage]" type="checkbox" value="1" id="filled-in-box3" />
318
- <label for="filled-in-box3"><?php _e( 'Hide on - Home Page' , 'wp-chatbot' ) ?></label>
319
</p>
320
<?php
321
}
@@ -328,15 +420,19 @@ class HTCC_Admin {
328
if ( isset( $htcc_checkbox['hideon_frontpage'] ) ) {
329
?>
330
<p>
331
- <input name="htcc_options[hideon_frontpage]" type="checkbox" value="1" <?php checked( $htcc_checkbox['hideon_frontpage'], 1 ); ?> id="filled-in-box4" />
332
- <label for="filled-in-box4"><?php _e( 'Hide on - Front Page' , 'wp-chatbot' ) ?></label>
333
</p>
334
<?php
335
} else {
336
?>
337
<p>
338
- <input name="htcc_options[hideon_frontpage]" type="checkbox" value="1" id="filled-in-box4" />
339
- <label for="filled-in-box4"><?php _e( 'Hide on - Front Page' , 'wp-chatbot' ) ?></label>
340
</p>
341
<?php
342
}
@@ -347,15 +443,19 @@ class HTCC_Admin {
347
if ( isset( $htcc_checkbox['hideon_category'] ) ) {
348
?>
349
<p>
350
- <input name="htcc_options[hideon_category]" type="checkbox" value="1" <?php checked( $htcc_checkbox['hideon_category'], 1 ); ?> id="filled-in-box5" />
351
- <label for="filled-in-box5"><?php _e( 'Hide on - Category' , 'wp-chatbot' ) ?></label>
352
</p>
353
<?php
354
} else {
355
?>
356
<p>
357
- <input name="htcc_options[hideon_category]" type="checkbox" value="1" id="filled-in-box5" />
358
- <label for="filled-in-box5"><?php _e( 'Hide on - Category' , 'wp-chatbot' ) ?></label>
359
</p>
360
<?php
361
}
@@ -366,15 +466,19 @@ class HTCC_Admin {
366
if ( isset( $htcc_checkbox['hideon_archive'] ) ) {
367
?>
368
<p>
369
- <input name="htcc_options[hideon_archive]" type="checkbox" value="1" <?php checked( $htcc_checkbox['hideon_archive'], 1 ); ?> id="filled-in-box6" />
370
- <label for="filled-in-box6"><?php _e( 'Hide on - Archive' , 'wp-chatbot' ) ?></label>
371
</p>
372
<?php
373
} else {
374
?>
375
<p>
376
- <input name="htcc_options[hideon_archive]" type="checkbox" value="1" id="filled-in-box6" />
377
- <label for="filled-in-box6"><?php _e( 'Hide on - Archive' , 'wp-chatbot' ) ?></label>
378
</p>
379
<?php
380
}
@@ -385,20 +489,24 @@ class HTCC_Admin {
385
if ( isset( $htcc_checkbox['hideon_404'] ) ) {
386
?>
387
<p>
388
- <input name="htcc_options[hideon_404]" type="checkbox" value="1" <?php checked( $htcc_checkbox['hideon_404'], 1 ); ?> id="filled-in-box7" />
389
- <label for="filled-in-box7"><?php _e( 'Hide on - 404 Page' , 'wp-chatbot' ) ?></label>
390
</p>
391
<?php
392
} else {
393
?>
394
<p>
395
- <input name="htcc_options[hideon_404]" type="checkbox" value="1" id="filled-in-box7" />
396
- <label for="filled-in-box7"><?php _e( 'Hide on - 404 Page' , 'wp-chatbot' ) ?></label>
397
</p>
398
<?php
399
}
400
?>
401
- <p class="description"> <?php _e( 'check to Hide' , 'wp-chatbot' ) ?> <br> <?php _e( 'Hide Messenger - based on type of the page' , 'wp-chatbot' ) ?> <a target="_blank" href="https://holithemes.com/wp-chatbot/show-hide-messenger-based-on-type-of-the-page/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a> </p>
402
403
404
<?php
@@ -409,8 +517,13 @@ class HTCC_Admin {
409
function htcc_list_id_tohide_cb() {
410
$htcc_list_id_tohide = get_option('htcc_options');
411
?>
412
- <input name="htcc_options[list_hideon_pages]" value="<?php echo esc_attr( $htcc_list_id_tohide['list_hideon_pages'] ) ?>" id="htcc_list_id_tohide" type="text">
413
- <p class="description"> <?php _e( 'Add Post, Page, Media - ID\'s to hide,' , 'wp-chatbot' ) ?> <br> <?php _e( 'can add multiple id\'s separate with comma ( , )' , 'wp-chatbot' ) ?> - <a target="_blank" href="https://holithemes.com/wp-chatbot/hide-messenger-based-on-post-id/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a> </p>
414
<?php
415
}
416
@@ -418,15 +531,20 @@ class HTCC_Admin {
418
function htcc_list_cat_tohide_cb() {
419
$htcc_list_cat_tohide = get_option('htcc_options');
420
?>
421
- <input name="htcc_options[list_hideon_cat]" value="<?php echo esc_attr( $htcc_list_cat_tohide['list_hideon_cat'] ) ?>" id="htcc_list_cat_tohide" type="text" >
422
- <p class="description"> <?php _e( 'Category name\'s to hide,' , 'wp-chatbot' ) ?> <br> <?php _e( 'can add multiple Categories separate with comma ( , )' , 'wp-chatbot' ) ?> - <a target="_blank" href="https://holithemes.com/wp-chatbot/hide-messenger-based-on-category/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a> </p>
423
<?php
424
}
425
426
427
428
429
- // checkboxes - based on Type of posts ..
430
public function htcc_show_hide_devices_cb() {
431
$htcc_devices = get_option('htcc_options');
432
@@ -434,15 +552,19 @@ class HTCC_Admin {
434
if ( isset( $htcc_devices['hideon_mobile'] ) ) {
435
?>
436
<p>
437
- <input name="htcc_options[hideon_mobile]" type="checkbox" value="1" <?php checked( $htcc_devices['hideon_mobile'], 1 ); ?> id="hideon_mobile" />
438
- <label for="hideon_mobile"><?php _e( 'Hide on - Mobile Devices' , 'wp-chatbot' ) ?></label>
439
</p>
440
<?php
441
} else {
442
?>
443
<p>
444
- <input name="htcc_options[hideon_mobile]" type="checkbox" value="1" id="hideon_mobile" />
445
- <label for="hideon_mobile"><?php _e( 'Hide on - Mobile Devices' , 'wp-chatbot' ) ?></label>
446
</p>
447
<?php
448
}
@@ -452,15 +574,19 @@ class HTCC_Admin {
452
if ( isset( $htcc_devices['hideon_desktop'] ) ) {
453
?>
454
<p>
455
- <input name="htcc_options[hideon_desktop]" type="checkbox" value="1" <?php checked( $htcc_devices['hideon_desktop'], 1 ); ?> id="hideon_desktop" />
456
- <label for="hideon_desktop"><?php _e( 'Hide on - Desktops' , 'wp-chatbot' ) ?></label>
457
</p>
458
<?php
459
} else {
460
?>
461
<p>
462
- <input name="htcc_options[hideon_desktop]" type="checkbox" value="1" id="hideon_desktop" />
463
- <label for="hideon_desktop"><?php _e( 'Hide on - Desktops' , 'wp-chatbot' ) ?></label>
464
</p>
465
<?php
466
}
@@ -474,14 +600,16 @@ class HTCC_Admin {
474
<div class="row">
475
<div class="input-field col s12">
476
<input name="htcc_options[shortcode]" value="<?php echo esc_attr( $htcc_shortcode['shortcode'] ) ?>" id="shortcode" type="text" class="validate input-margin">
477
<?php
478
- $shorcode_list = '';
479
- foreach ($GLOBALS['shortcode_tags'] AS $key => $value) {
480
- $shorcode_list .= $key . ', ';
481
- }
482
?>
483
- <p class="description"> <?php printf( __( 'Default values is \'%1$s\', can customize shortcode name' , 'wp-chatbot' ), 'chatbot' ) ?> - <a target="_blank" href="https://holithemes.com/wp-chatbot/change-shortcode-name/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a> </p>
484
- <p class="description"> <?php _e( 'please dont add this already existing shorcode names' , 'wp-chatbot' ) ?> - <?php echo $shorcode_list ?> </p>
485
</div>
486
</div>
487
<?php
@@ -489,6 +617,7 @@ class HTCC_Admin {
489
490
491
492
/**
493
* Sanitize each setting field as needed
494
*
@@ -503,73 +632,12 @@ class HTCC_Admin {
503
504
$new_input = array();
505
506
- if( isset( $input['enable'] ) )
507
- $new_input['enable'] = sanitize_text_field( $input['enable'] );
508
-
509
- if( isset( $input['fb_app_id'] ) )
510
- $new_input['fb_app_id'] = sanitize_text_field( $input['fb_app_id'] );
511
-
512
- if( isset( $input['fb_page_id'] ) )
513
- $new_input['fb_page_id'] = sanitize_text_field( $input['fb_page_id'] );
514
-
515
-
516
- if( isset( $input['fb_color'] ) )
517
- $new_input['fb_color'] = sanitize_text_field( $input['fb_color'] );
518
-
519
- if( isset( $input['fb_greeting_login'] ) )
520
- $new_input['fb_greeting_login'] = sanitize_text_field( $input['fb_greeting_login'] );
521
-
522
- if( isset( $input['fb_greeting_logout'] ) )
523
- $new_input['fb_greeting_logout'] = sanitize_text_field( $input['fb_greeting_logout'] );
524
-
525
-
526
-
527
-
528
-
529
- if( isset( $input['fb_sdk_lang'] ) )
530
- $new_input['fb_sdk_lang'] = sanitize_text_field( $input['fb_sdk_lang'] );
531
-
532
- if( isset( $input['minimized'] ) )
533
- $new_input['minimized'] = sanitize_text_field( $input['minimized'] );
534
-
535
- if( isset( $input['ref'] ) )
536
- $new_input['ref'] = sanitize_text_field( $input['ref'] );
537
-
538
- if( isset( $input['hideon_posts'] ) )
539
- $new_input['hideon_posts'] = sanitize_text_field( $input['hideon_posts'] );
540
-
541
- if( isset( $input['hideon_page'] ) )
542
- $new_input['hideon_page'] = sanitize_text_field( $input['hideon_page'] );
543
-
544
- if( isset( $input['hideon_homepage'] ) )
545
- $new_input['hideon_homepage'] = sanitize_text_field( $input['hideon_homepage'] );
546
-
547
- if( isset( $input['hideon_frontpage'] ) )
548
- $new_input['hideon_frontpage'] = sanitize_text_field( $input['hideon_frontpage'] );
549
-
550
- if( isset( $input['hideon_category'] ) )
551
- $new_input['hideon_category'] = sanitize_text_field( $input['hideon_category'] );
552
-
553
- if( isset( $input['hideon_archive'] ) )
554
- $new_input['hideon_archive'] = sanitize_text_field( $input['hideon_archive'] );
555
-
556
- if( isset( $input['hideon_404'] ) )
557
- $new_input['hideon_404'] = sanitize_text_field( $input['hideon_404'] );
558
-
559
- if( isset( $input['list_hideon_pages'] ) )
560
- $new_input['list_hideon_pages'] = sanitize_text_field( $input['list_hideon_pages'] );
561
-
562
- if( isset( $input['list_hideon_cat'] ) )
563
- $new_input['list_hideon_cat'] = sanitize_text_field( $input['list_hideon_cat'] );
564
-
565
- if( isset( $input['hideon_mobile'] ) )
566
- $new_input['hideon_mobile'] = sanitize_text_field( $input['hideon_mobile'] );
567
-
568
- if( isset( $input['hideon_desktop'] ) )
569
- $new_input['hideon_desktop'] = sanitize_text_field( $input['hideon_desktop'] );
570
571
- if( isset( $input['shortcode'] ) )
572
- $new_input['shortcode'] = sanitize_text_field( $input['shortcode'] );
573
574
return $new_input;
575
}
71
72
add_settings_section( 'htcc_settings', '', array( $this, 'htcc_settings_section_cb' ), 'htcc_options_settings' );
73
74
+ // add_settings_field( 'enable', __( 'Enable' , 'wp-chatbot' ), array( $this, 'htcc_enable_cb' ), 'htcc_options_settings', 'htcc_settings' );
75
add_settings_field( 'htcc_fb_page_id', __( 'Facebook Page ID' , 'wp-chatbot' ), array( $this, 'htcc_fb_page_id_cb' ), 'htcc_options_settings', 'htcc_settings' );
76
+
77
+ add_settings_field( 'htcc_fb_app_id', __( 'Facebook App ID' , 'wp-chatbot' ), array( $this, 'htcc_fb_app_id_cb' ), 'htcc_options_settings', 'htcc_settings' );
78
+ add_settings_field( 'htcc_log_events', __( 'Log Events' , 'wp-chatbot' ), array( $this, 'htcc_log_events_cb' ), 'htcc_options_settings', 'htcc_settings' );
79
80
81
add_settings_field( 'htcc_fb_color', __( 'Color' , 'wp-chatbot' ), array( $this, 'htcc_fb_color_cb' ), 'htcc_options_settings', 'htcc_settings' );
82
add_settings_field( 'htcc_fb_greeting_login', __( 'Logged in Greeting' , 'wp-chatbot' ), array( $this, 'htcc_fb_greeting_login_cb' ), 'htcc_options_settings', 'htcc_settings' );
83
add_settings_field( 'htcc_fb_greeting_logout', __( 'Logged out Greeting' , 'wp-chatbot' ), array( $this, 'htcc_fb_greeting_logout_cb' ), 'htcc_options_settings', 'htcc_settings' );
84
85
+ add_settings_field( 'htcc_fb_greeting_dialog_display', __( 'Greeting Dialog Display' , 'wp-chatbot' ), array( $this, 'htcc_fb_greeting_dialog_display_cb' ), 'htcc_options_settings', 'htcc_settings' );
86
+ add_settings_field( 'htcc_fb_greeting_dialog_delay', __( 'Greeting Dialog Delay' , 'wp-chatbot' ), array( $this, 'htcc_fb_greeting_dialog_delay_cb' ), 'htcc_options_settings', 'htcc_settings' );
87
+ add_settings_field( 'htcc_fb_sdk_lang', __( 'Messenger language' , 'wp-chatbot' ), array( $this, 'htcc_fb_sdk_lang_cb' ), 'htcc_options_settings', 'htcc_settings' );
88
+ add_settings_field( 'htcc_fb_ref', __( 'Ref' , 'wp-chatbot' ), array( $this, 'htcc_fb_ref_cb' ), 'htcc_options_settings', 'htcc_settings' );
89
90
add_settings_field( 'htcc_show_hide', __( 'Hide Based on post type' , 'wp-chatbot' ), array( $this, 'htcc_show_hide_post_types_cb' ), 'htcc_options_settings', 'htcc_settings' );
91
add_settings_field( 'htcc_list_id_tohide', __( 'Post, Page Id\'s to Hide' , 'wp-chatbot' ), array( $this, 'htcc_list_id_tohide_cb' ), 'htcc_options_settings', 'htcc_settings' );
93
add_settings_field( 'htcc_devices_show_hide', __( 'Hide Based on Devices' , 'wp-chatbot' ), array( $this, 'htcc_show_hide_devices_cb' ), 'htcc_options_settings', 'htcc_settings' );
94
add_settings_field( 'htcc_shortcode', __( 'Shortcode name' , 'wp-chatbot' ), array( $this, 'htcc_custom_shortcode_cb' ), 'htcc_options_settings', 'htcc_settings' );
95
96
add_settings_field( 'htcc_fb_is_minimized', __( 'Minimized' , 'wp-chatbot' ), array( $this, 'htcc_fb_is_minimized_cb' ), 'htcc_options_settings', 'htcc_settings' );
97
98
}
99
102
echo '<h1>WP-Chatbot Settings</h1>';
103
}
104
105
+ // enable - Deprecated - removed .. later deleted this code
106
public function htcc_enable_cb() {
107
$enable = get_option('htcc_options');
108
?>
115
<?php
116
}
117
118
+
119
120
121
// page id
123
124
$htcc_fb_page_id = get_option('htcc_options');
125
?>
126
+ <div class="row">
127
+ <div class="input-field col s12">
128
+ <input type="text" name="htcc_options[fb_page_id]" id="fb_page_id" value="<?php echo esc_attr( $htcc_fb_page_id['fb_page_id'] ) ?>">
129
+ <label for="fb_page_id"><?php _e( 'Facebook Page ID' , 'ht-click' ) ?></label>
130
+ <p class="description">Required Steps - </p>
131
+ <p class="description">1. Facebook Page ID - <a target="_blank" href="https://www.holithemes.com/wp-chatbot/find-facebook-page-id/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a> </p>
132
+ <p class="description">2. Add this domain name, at this Facebok page - Settings -> Messenger Platform -> Whitelisted Domain - <a target="_blank" href="https://www.holithemes.com/wp-chatbot/whitelisted-domains/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a></p>
133
+ </div>
134
+ </div>
135
<?php
136
}
137
139
140
141
142
+ // App id
143
+ public function htcc_fb_app_id_cb() {
144
+
145
+ $htcc_fb_app_id = get_option('htcc_options');
146
+ ?>
147
+ <div class="row">
148
+ <div class="input-field col s12">
149
+ <input type="text" name="htcc_options[fb_app_id]" id="fb_app_id" value="<?php echo esc_attr( $htcc_fb_app_id['fb_app_id'] ) ?>">
150
+ <label for="fb_app_id"><?php _e( 'Facebook APP ID' , 'ht-click' ) ?></label>
151
+ <p class="description"><?php _e( 'Facebook App ID - ' , 'wp-chatbot' ) ?> <a target="_blank" href="https://www.holithemes.com/wp-chatbot/facebook-app-id/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a> </p>
152
+ </div>
153
+ </div>
154
+ <?php
155
+ }
156
157
158
+ // Log Events ..
159
+ public function htcc_log_events_cb() {
160
+ $log_events = get_option('htcc_options');
161
+ $log_events_value = esc_attr( $log_events['log_events'] );
162
+ ?>
163
+ <div class="row">
164
+ <div class="input-field col s12">
165
+ <select name="htcc_options[log_events]" class="select-1">
166
+ <option value="yes" <?php echo $log_events_value == "yes" ? 'SELECTED' : ''; ?> >Yes</option>
167
+ <option value="no" <?php echo $log_events_value == "no" ? 'SELECTED' : ''; ?> >No</option>
168
+ </select>
169
+ <label for=""><?php _e( 'Log Events' , 'ht-click' ) ?></label>
170
+ <p class="description"><?php _e( 'App ID is needed to log Events - ' , 'wp-chatbot' ) ?><a target="_blank" href="https://www.holithemes.com/wp-chatbot/log-events/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a> </p>
171
+ </div>
172
+ </div>
173
+ <?php
174
+ }
175
176
177
181
182
$htcc_fb_color = get_option('htcc_options');
183
?>
184
+ <div class="row">
185
+ <div class="input-field col s12">
186
+ <input name="htcc_options[fb_color]" value="<?php echo esc_attr( $htcc_fb_color['fb_color'] ) ?>" type="text" class="htcc-color-wp" style="height: 1.375rem;" >
187
+ <p class="description"><?php _e( 'messenger theme color , leave empty for default color - ' , 'wp-chatbot' ) ?><a target="_blank" href="https://www.holithemes.com/wp-chatbot/messenger-theme-color/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a> </p>
188
+ </div>
189
+ </div>
190
<?php
191
}
192
197
198
$htcc_fb_greeting_login = get_option('htcc_options');
199
?>
200
+ <div class="row">
201
+ <div class="input-field col s12">
202
+ <input type="text" name="htcc_options[fb_greeting_login]" id="fb_greeting_login" value="<?php echo esc_attr( $htcc_fb_greeting_login['fb_greeting_login'] ) ?>">
203
+ <label for="fb_greeting_login"><?php _e( 'Logged in Greetings' , 'ht-click' ) ?></label>
204
+ <p class="description"><?php _e( 'Greetings text for fb logged in user * , leave empty for default message - ' , 'wp-chatbot' ) ?><a target="_blank" href="https://www.holithemes.com/wp-chatbot/change-facebook-messenger-greetings-text/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a> </p>
205
+ </div>
206
+ </div>
207
<?php
208
}
209
212
213
$htcc_fb_greeting_logout = get_option('htcc_options');
214
?>
215
+ <div class="row">
216
+ <div class="input-field col s12">
217
+ <input type="text" name="htcc_options[fb_greeting_logout]" id="fb_greeting_logout" value="<?php echo esc_attr( $htcc_fb_greeting_logout['fb_greeting_logout'] ) ?>">
218
+ <label for="fb_greeting_logout"><?php _e( 'Logged out Greetings' , 'ht-click' ) ?></label>
219
+ <p class="description"><?php _e( 'Greetings text for fb logged out user * , leave empty for default message - ' , 'wp-chatbot' ) ?><a target="_blank" href="https://www.holithemes.com/wp-chatbot/change-facebook-messenger-greetings-text/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a> </p>
220
+ </div>
221
+ </div>
222
<?php
223
}
224
225
226
227
228
+ // sdk lang. / messenger lang
229
+ public function htcc_fb_sdk_lang_cb() {
230
231
+ $sdk_lang = get_option('htcc_options');
232
+ $lang = esc_attr( $sdk_lang['fb_sdk_lang'] );
233
+ ?>
234
+ <div class="row">
235
+ <div class="input-field col s12">
236
+ <select name="htcc_options[fb_sdk_lang]">
237
+ <?php
238
+ $fb_lang = HTCC_Lang::$fb_lang;
239
240
+ foreach ( $fb_lang as $key => $value ) {
241
+ ?>
242
+ <option value="<?php echo $key ?>" <?php echo $lang == $key ? 'SELECTED' : ''; ?> ><?php echo $value ?></option>
243
+ <?php
244
+ }
245
246
+ ?>
247
+ </select>
248
+ <label for=""><?php _e( 'Language' , 'ht-click' ) ?></label>
249
+ <p class="description"><?php _e( 'Language displays in chat window, not user input - ' , 'wp-chatbot' ) ?><a target="_blank" href="https://www.holithemes.com/wp-chatbot/messenger-language/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a> </p>
250
+ <p class="description"><?php _e( 'Facebook SDK is not supporting all languages.., please dont consider it, as an error ' , 'wp-chatbot' ) ?> </p>
251
+ <!-- <p class="description"><?php _e( 'If desired Language is not added - ' , 'wp-chatbot' ) ?><a target="_blank" href="https://www.messenger.com/t/1541811499235090/"><?php _e( 'please message us' , 'wp-chatbot' ) ?></a> </p> -->
252
+ </div>
253
+ </div>
254
+ <?php
255
+ }
256
257
+
258
259
260
+ // greeting_dialog_display - since v2.2
261
+ public function htcc_fb_greeting_dialog_display_cb() {
262
+ $greeting_dialog_display = get_option('htcc_options');
263
+ $min_value = esc_attr( $greeting_dialog_display['greeting_dialog_display'] );
264
+ ?>
265
+ <div class="row">
266
+ <div class="input-field col s12">
267
+ <select name="htcc_options[greeting_dialog_display]" class="select-1">
268
+ <option value="" <?php echo $min_value == "" ? 'SELECTED' : ''; ?> >Default</option>
269
+ <option value="show" <?php echo $min_value == "show" ? 'SELECTED' : ''; ?> >Show</option>
270
+ <option value="fade" <?php echo $min_value == "fade" ? 'SELECTED' : ''; ?> >Fade</option>
271
+ <option value="hide" <?php echo $min_value == "hide" ? 'SELECTED' : ''; ?> >Hide</option>
272
+ </select>
273
+ <label for=""><?php _e( 'Greeting Dialog Display' , 'ht-click' ) ?></label>
274
+ <p class="description"><?php _e( 'Greating Dialog Display - ' , 'wp-chatbot' ) ?><a target="_blank" href="https://www.holithemes.com/wp-chatbot/greeting-dialog-display/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a> </p>
275
+ <p class="description"><?php _e( 'Show - The greeting dialog will always be shown when the plugin loads.' , 'wp-chatbot' ) ?></p>
276
+ <p class="description"><?php _e( 'Fade - The greeting dialog of the plugin will be shown, then fade away and stay hidden afterwards.' , 'wp-chatbot' ) ?></p>
277
+ <p class="description"><?php _e( 'Hide - The greeting dialog of the plugin will always be hidden until a user clicks on the plugin.' , 'wp-chatbot' ) ?></p>
278
+ </div>
279
+ </div>
280
+ <?php
281
+ }
282
283
284
285
+ // greeting_dialog_delay - since v2.2
286
+ public function htcc_fb_greeting_dialog_delay_cb() {
287
+ $greeting_dialog_delay = get_option('htcc_options');
288
+ $delay_time = esc_attr( $greeting_dialog_delay['greeting_dialog_delay'] );
289
+ ?>
290
+ <div class="row">
291
+ <div class="input-field col s12">
292
+ <input type="number" name="htcc_options[greeting_dialog_delay]" id="" value="<?php echo $delay_time ?>">
293
+ <label for="ref"><?php _e( 'Greeting Dialog Delay' , 'ht-click' ) ?></label>
294
+ <p class="description"><?php _e( 'Sets the number of seconds of delay before the greeting dialog is shown after the plugin is loaded - ' , 'wp-chatbot' ) ?><a target="_blank" href="https://www.holithemes.com/wp-chatbot/greeting-dialog-delay/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a> </p>
295
+ </div>
296
+ </div>
297
+ <?php
298
+ }
299
300
301
302
+
303
304
305
306
307
308
+ // ref
309
+ public function htcc_fb_ref_cb() {
310
311
+ $reference = get_option('htcc_options');
312
?>
313
+ <div class="row">
314
+ <div class="input-field col s12">
315
+ <input type="text" name="htcc_options[ref]" id="ref" value="<?php echo esc_attr( $reference['ref'] ) ?>">
316
+ <label for="ref"><?php _e( 'REF Attribute' , 'ht-click' ) ?></label>
317
+ <p class="description"><?php _e( 'Use full to create Entry Point to your messenger chatbot - ' , 'wp-chatbot' ) ?><a target="_blank" href="https://www.holithemes.com/wp-chatbot/messenger-ref/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a> </p>
318
+ </div>
319
</div>
320
<?php
321
}
322
323
+
324
+ // minimized - deprecated - since v2.2
325
public function htcc_fb_is_minimized_cb() {
326
$minimized = get_option('htcc_options');
327
$min_value = esc_attr( $minimized['minimized'] );
328
?>
329
+ <div class="row">
330
+ <div class="input-field col s12">
331
<div>
332
<select name="htcc_options[minimized]" class="select-1">
333
<option value="" <?php echo $min_value == "" ? 'SELECTED' : ''; ?> >Default</option>
334
<option value="false" <?php echo $min_value == "false" ? 'SELECTED' : ''; ?> >False</option>
335
<option value="true" <?php echo $min_value == "true" ? 'SELECTED' : ''; ?> >True</option>
336
+ </select> This attribute is now deprecated - <a target="_blank" href="https://www.holithemes.com/wp-chatbot/minimize-messenger/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a>
337
+ </div>
338
+ <p class="description"><?php _e( 'Instead, use greeting_dialog_display, greeting_dialog_delay for customization' , 'wp-chatbot' ) ?> </p>
339
+ </div>
340
</div>
341
<?php
342
}
343
344
345
346
+ // checkboxes - Hide based on Type of posts ..
347
public function htcc_show_hide_post_types_cb() {
348
$htcc_checkbox = get_option('htcc_options');
349
351
if ( isset( $htcc_checkbox['hideon_posts'] ) ) {
352
?>
353
<p>
354
+ <label>
355
+ <input name="htcc_options[hideon_posts]" type="checkbox" value="1" <?php checked( $htcc_checkbox['hideon_posts'], 1 ); ?> id="filled-in-box1" />
356
+ <span><?php _e( 'Hide on - Posts' , 'wp-chatbot' ) ?></span>
357
+ </label>
358
</p>
359
<?php
360
} else {
361
?>
362
<p>
363
+ <label>
364
+ <input name="htcc_options[hideon_posts]" type="checkbox" value="1" id="filled-in-box1" />
365
+ <span><?php _e( 'Hide on - Posts' , 'wp-chatbot' ) ?></span>
366
+ </label>
367
</p>
368
<?php
369
}
373
if ( isset( $htcc_checkbox['hideon_page'] ) ) {
374
?>
375
<p>
376
+ <label>
377
+ <input name="htcc_options[hideon_page]" type="checkbox" value="1" <?php checked( $htcc_checkbox['hideon_page'], 1 ); ?> id="filled-in-box2" />
378
+ <span><?php _e( 'Hide on - Pages' , 'wp-chatbot' ) ?></span>
379
+ </label>
380
</p>
381
<?php
382
} else {
383
?>
384
<p>
385
+ <label>
386
+ <input name="htcc_options[hideon_page]" type="checkbox" value="1" id="filled-in-box2" />
387
+ <span><?php _e( 'Hide on - Pages' , 'wp-chatbot' ) ?></span>
388
+ </label>
389
</p>
390
<?php
391
}
395
if ( isset( $htcc_checkbox['hideon_homepage'] ) ) {
396
?>
397
<p>
398
+ <label>
399
+ <input name="htcc_options[hideon_homepage]" type="checkbox" value="1" <?php checked( $htcc_checkbox['hideon_homepage'], 1 ); ?> id="filled-in-box3" />
400
+ <span><?php _e( 'Hide on - Home Page' , 'wp-chatbot' ) ?></span>
401
+ </label>
402
</p>
403
<?php
404
} else {
405
?>
406
<p>
407
+ <label>
408
+ <input name="htcc_options[hideon_homepage]" type="checkbox" value="1" id="filled-in-box3" />
409
+ <span><?php _e( 'Hide on - Home Page' , 'wp-chatbot' ) ?></span>
410
+ </label>
411
</p>
412
<?php
413
}
420
if ( isset( $htcc_checkbox['hideon_frontpage'] ) ) {
421
?>
422
<p>
423
+ <label>
424
+ <input name="htcc_options[hideon_frontpage]" type="checkbox" value="1" <?php checked( $htcc_checkbox['hideon_frontpage'], 1 ); ?> id="filled-in-box4" />
425
+ <span><?php _e( 'Hide on - Front Page' , 'wp-chatbot' ) ?></span>
426
+ </label>
427
</p>
428
<?php
429
} else {
430
?>
431
<p>
432
+ <label>
433
+ <input name="htcc_options[hideon_frontpage]" type="checkbox" value="1" id="filled-in-box4" />
434
+ <span><?php _e( 'Hide on - Front Page' , 'wp-chatbot' ) ?></span>
435
+ </label>
436
</p>
437
<?php
438
}
443
if ( isset( $htcc_checkbox['hideon_category'] ) ) {
444
?>
445
<p>
446
+ <label>
447
+ <input name="htcc_options[hideon_category]" type="checkbox" value="1" <?php checked( $htcc_checkbox['hideon_category'], 1 ); ?> id="filled-in-box5" />
448
+ <span><?php _e( 'Hide on - Category' , 'wp-chatbot' ) ?></span>
449
+ </label>
450
</p>
451
<?php
452
} else {
453
?>
454
<p>
455
+ <label>
456
+ <input name="htcc_options[hideon_category]" type="checkbox" value="1" id="filled-in-box5" />
457
+ <span><?php _e( 'Hide on - Category' , 'wp-chatbot' ) ?></span>
458
+ </label>
459
</p>
460
<?php
461
}
466
if ( isset( $htcc_checkbox['hideon_archive'] ) ) {
467
?>
468
<p>
469
+ <label>
470
+ <input name="htcc_options[hideon_archive]" type="checkbox" value="1" <?php checked( $htcc_checkbox['hideon_archive'], 1 ); ?> id="filled-in-box6" />
471
+ <span><?php _e( 'Hide on - Archive' , 'wp-chatbot' ) ?></span>
472
+ </label>
473
</p>
474
<?php
475
} else {
476
?>
477
<p>
478
+ <label>
479
+ <input name="htcc_options[hideon_archive]" type="checkbox" value="1" id="filled-in-box6" />
480
+ <span><?php _e( 'Hide on - Archive' , 'wp-chatbot' ) ?></span>
481
+ </label>
482
</p>
483
<?php
484
}
489
if ( isset( $htcc_checkbox['hideon_404'] ) ) {
490
?>
491
<p>
492
+ <label>
493
+ <input name="htcc_options[hideon_404]" type="checkbox" value="1" <?php checked( $htcc_checkbox['hideon_404'], 1 ); ?> id="filled-in-box7" />
494
+ <span><?php _e( 'Hide on - 404 Page' , 'wp-chatbot' ) ?></span>
495
+ </label>
496
</p>
497
<?php
498
} else {
499
?>
500
<p>
501
+ <label>
502
+ <input name="htcc_options[hideon_404]" type="checkbox" value="1" id="filled-in-box7" />
503
+ <span><?php _e( 'Hide on - 404 Page' , 'wp-chatbot' ) ?></span>
504
+ </label>
505
</p>
506
<?php
507
}
508
?>
509
+ <p class="description"> <?php _e( 'check for not to load Messenger - based on type of the page - ' , 'wp-chatbot' ) ?> <a target="_blank" href="https://www.holithemes.com/wp-chatbot/show-hide-messenger-based-on-type-of-the-page/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a> </p>
510
511
512
<?php
517
function htcc_list_id_tohide_cb() {
518
$htcc_list_id_tohide = get_option('htcc_options');
519
?>
520
+ <div class="row">
521
+ <div class="input-field col s12">
522
+ <input name="htcc_options[list_hideon_pages]" value="<?php echo esc_attr( $htcc_list_id_tohide['list_hideon_pages'] ) ?>" id="list_hideon_pages htcc_list_id_tohide" type="text">
523
+ <label for="list_hideon_pages"><?php _e( 'Post, Page Ids to Hide' , 'ht-click' ) ?></label>
524
+ <p class="description"> <?php _e( 'Add Post, Page, Media - ID\'s to hide,' , 'wp-chatbot' ) ?> <br> <?php _e( 'can add multiple id\'s separate with comma ( , )' , 'wp-chatbot' ) ?> - <a target="_blank" href="https://www.holithemes.com/wp-chatbot/hide-messenger-based-on-post-id/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a> </p>
525
+ </div>
526
+ </div>
527
<?php
528
}
529
531
function htcc_list_cat_tohide_cb() {
532
$htcc_list_cat_tohide = get_option('htcc_options');
533
?>
534
+ <div class="row">
535
+ <div class="input-field col s12">
536
+ <input name="htcc_options[list_hideon_cat]" value="<?php echo esc_attr( $htcc_list_cat_tohide['list_hideon_cat'] ) ?>" id="list_hideon_cat htcc_list_cat_tohide" type="text" >
537
+ <label for="list_hideon_cat"><?php _e( 'Categorys to Hide' , 'ht-click' ) ?></label>
538
+ <p class="description"> <?php _e( 'Category name\'s to hide,' , 'wp-chatbot' ) ?> <br> <?php _e( 'can add multiple Categories separate with comma ( , )' , 'wp-chatbot' ) ?> - <a target="_blank" href="https://www.holithemes.com/wp-chatbot/hide-messenger-based-on-category/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a> </p>
539
+ </div>
540
+ </div>
541
<?php
542
}
543
544
545
546
547
+ // checkboxes - based on Type of device ..
548
public function htcc_show_hide_devices_cb() {
549
$htcc_devices = get_option('htcc_options');
550
552
if ( isset( $htcc_devices['hideon_mobile'] ) ) {
553
?>
554
<p>
555
+ <label>
556
+ <input name="htcc_options[hideon_mobile]" type="checkbox" value="1" <?php checked( $htcc_devices['hideon_mobile'], 1 ); ?> id="hideon_mobile" />
557
+ <span><?php _e( 'Hide on - Mobile Devices' , 'wp-chatbot' ) ?></span>
558
+ </label>
559
</p>
560
<?php
561
} else {
562
?>
563
<p>
564
+ <label>
565
+ <input name="htcc_options[hideon_mobile]" type="checkbox" value="1" id="hideon_mobile" />
566
+ <span><?php _e( 'Hide on - Mobile Devices' , 'wp-chatbot' ) ?></span>
567
+ </label>
568
</p>
569
<?php
570
}
574
if ( isset( $htcc_devices['hideon_desktop'] ) ) {
575
?>
576
<p>
577
+ <label>
578
+ <input name="htcc_options[hideon_desktop]" type="checkbox" value="1" <?php checked( $htcc_devices['hideon_desktop'], 1 ); ?> id="hideon_desktop" />
579
+ <span><?php _e( 'Hide on - Desktops' , 'wp-chatbot' ) ?></span>
580
+ </label>
581
</p>
582
<?php
583
} else {
584
?>
585
<p>
586
+ <label>
587
+ <input name="htcc_options[hideon_desktop]" type="checkbox" value="1" id="hideon_desktop" />
588
+ <span><?php _e( 'Hide on - Desktops' , 'wp-chatbot' ) ?></span>
589
+ </label>
590
</p>
591
<?php
592
}
600
<div class="row">
601
<div class="input-field col s12">
602
<input name="htcc_options[shortcode]" value="<?php echo esc_attr( $htcc_shortcode['shortcode'] ) ?>" id="shortcode" type="text" class="validate input-margin">
603
+ <label for="shortcode"><?php _e( 'Shortcode name' , 'ht-click' ) ?></label>
604
<?php
605
+ // $shorcode_list = '';
606
+ // foreach ($GLOBALS['shortcode_tags'] AS $key => $value) {
607
+ // $shorcode_list .= $key . ', ';
608
+ // }
609
?>
610
+ <p class="description"> <?php printf( __( 'Default values is \'%1$s\', can customize shortcode name' , 'wp-chatbot' ), 'chatbot' ) ?> - <a target="_blank" href="https://www.holithemes.com/wp-chatbot/change-shortcode-name/"><?php _e( 'more info' , 'wp-chatbot' ) ?></a> </p>
611
+ <p class="description"> <?php _e( 'please dont add already existing shorcode name' , 'wp-chatbot' ) ?>
612
+ <!-- <p class="description"> <?php _e( 'please dont add this already existing shorcode names' , 'wp-chatbot' ) ?> - <?php echo $shorcode_list ?> </p> -->
613
</div>
614
</div>
615
<?php
617
618
619
620
+
621
/**
622
* Sanitize each setting field as needed
623
*
632
633
$new_input = array();
634
635
+ foreach ($input as $key => $value) {
636
+ if( isset( $input[$key] ) ) {
637
+ $new_input[$key] = sanitize_text_field( $input[$key] );
638
+ }
639
+ }
640
641
642
return $new_input;
643
}
admin/class-htcc-enqueue.php CHANGED
@@ -1,7 +1,6 @@
1
<?php
2
/**
3
- * enqueue sytle, scripts
4
- *
5
*/
6
7
@@ -14,11 +13,16 @@ class HTCC_Enqueue {
14
15
function enqueue( $hook ) {
16
17
- if( 'toplevel_page_wp-chatbot' == $hook ) {
18
19
wp_enqueue_style( 'wp-color-picker' );
20
21
- wp_enqueue_script( 'htcc_js', plugins_url( 'assets/js/admin.js', HTCC_PLUGIN_FILE ), array( 'wp-color-picker' ), HTCC_VERSION, true );
22
23
24
}
1
<?php
2
/**
3
+ * Admin - enqueue sytle, scripts
4
*/
5
6
13
14
function enqueue( $hook ) {
15
16
+ // echo $hook;
17
+ if( 'toplevel_page_wp-chatbot' == $hook || 'wp-chatbot_page_wp-chatbot-actions' == $hook || 'wp-chatbot_page_wp-chatbot-pro-woo' == $hook ) {
18
19
wp_enqueue_style( 'wp-color-picker' );
20
21
+ wp_enqueue_style( 'htcc_admin_styles', plugins_url( 'admin/assets/css/admin-styles.css', HTCC_PLUGIN_FILE ), '', HTCC_VERSION );
22
+ wp_enqueue_style( 'htcc_admin_md_styles', plugins_url( 'admin/assets/css/materialize.min.css', HTCC_PLUGIN_FILE ), '', HTCC_VERSION );
23
+
24
+ wp_enqueue_script( 'htcc_md_js', plugins_url( 'admin/assets/js/prev_md.js', HTCC_PLUGIN_FILE ), array( 'jquery', 'wp-color-picker' ), HTCC_VERSION );
25
+ wp_enqueue_script( 'htcc_js', plugins_url( 'admin/assets/js/admin.js', HTCC_PLUGIN_FILE ), array( 'jquery', 'htcc_md_js', 'wp-color-picker' ), HTCC_VERSION );
26
27
28
}
admin/commons/ht-cc-admin-sidebar.php ADDED
@@ -0,0 +1,109 @@
1
+ <?php
2
+ /**
3
+ * sidebar in admin area - plugin settings page.
4
+ *
5
+ * @uses at settings_page.php
6
+ *
7
+ */
8
+
9
+ if ( ! defined( 'ABSPATH' ) ) exit;
10
+
11
+ ?>
12
+
13
+
14
+
15
+
16
+ <!-- Premium plugin Content -->
17
+ <div class="service-content" style="display: none;" >
18
+ <br><br>
19
+
20
+
21
+ <div class="row">
22
+ <div class="col s12 m6 offset-s2 offset-m3 offset-xl2">
23
+
24
+
25
+ <!-- docs -->
26
+ <div class="links">
27
+ <p>Documentation</p>
28
+ <p><a target="_blank" href="https://www.holithemes.com/wp-chatbot/wp-chatbot-settings/?utm_source=wp-chatbot&utm_medium=admin-page">WP-Chatbot Settings</a></p>
29
+ <p><a target="_blank" href="https://www.holithemes.com/wp-chatbot/basic-troubleshooting/?utm_source=wp-chatbot&utm_medium=admin-page">Basic Troubleshooting</a></p>
30
+ </div>
31
+ <br>
32
+
33
+
34
+ <!-- premium plugin card -->
35
+ <div class="card blue-grey darken-1">
36
+ <div class="card-content white-text">
37
+
38
+ <span class="card-title">WP-Chatbot Pro</span>
39
+ <br>
40
+
41
+ <p>Display Messenger Icon <br>
42
+ - After Some Time Delay, <br>
43
+ - After user Scroll down the page </p>
44
+ <br>
45
+
46
+ <p>Update Greetings, REF on Fly <br>
47
+ - based on Time <br>
48
+ - based on user Scroll down the page <br>
49
+ - based on Clicks</p>
50
+ <br>
51
+
52
+ <p>Actions - Show, Hide - Icon, Greetings Dialog<br>
53
+ - based on Time <br>
54
+ - based on user Scroll down the page <br>
55
+ - based on Clicks</p>
56
+ <br>
57
+
58
+ <p>Click Actions - When Clicked on Button/ Element <br>
59
+ - Show - Icon, Greetings Dialog <br>
60
+ - Hide - Icon, Greetings Dialog <br>
61
+ - Update Greetings, REF </p>
62
+ <br>
63
+
64
+ <p>WooCommerce - Separate Settings page<br>
65
+ - Greetings Dialog, REF, Page ID, Color <br>
66
+ plan to expand lot of features </p>
67
+ <br>
68
+
69
+ <p>Placeholders for Greetings Dialog, REF <br>
70
+ - {{product}} - WooCommerce single product name <br>
71
+ <!-- - {{page}} - to get the page id in ref <br> -->
72
+ <!-- - {{url}} - to get the url suffix <br> -->
73
+ </p>
74
+ <br>
75
+
76
+ <!-- <p>( planning to expand a lot of Features, Especially related to WooCommerce )</p> -->
77
+ <br>
78
+
79
+ <p>One Time Payment, Lifetime updates</p>
80
+ <p></p>
81
+ </div>
82
+ <div class="card-action">
83
+ <a target="_blank" href="https://www.holithemes.com/shop/product-category/wp-chatbot-pro/?utm_source=wp-chatbot&utm_medium=admin-page">Plans</a><br><br>
84
+ <!-- <a target="_blank" href="https://www.holithemes.com/shop/product/wp-chatbot-pro-single-website-plan/?utm_source=wp-chatbot&utm_medium=admin-page">Single Website plan</a><br><br> -->
85
+ <!-- <a target="_blank" href="https://www.holithemes.com/shop/product/wp-chatbot-pro-unlimited-website-plan/?utm_source=wp-chatbot&utm_medium=admin-page">Unlimited Website plan</a> -->
86
+ </div>
87
+ </div>
88
+
89
+ <small class="close" onclick="ht_cc_admin_hide_services_content()" style="cursor: pointer;">Hide this box</small>
90
+
91
+ </div>
92
+
93
+ </div>
94
+
95
+
96
+
97
+ <!-- <br><hr><br> -->
98
+
99
+ <!-- <p>Busy, someone to setup the plugin</p>
100
+ <div class="wpchatbot-setup">
101
+ <h2>We will setup the plugin for US$ 10</h2>
102
+ <li>Setup the Required things, to appear messenger on your Website.</li>
103
+ <li>modify the plugin settings based on your requirement</li>
104
+ <p>Pay US$ 10, After the setup has done</p>
105
+ <p>To start the project please <a target="_blank" href="https://www.messenger.com/t/holithemes?ref=wp-chabot-setup">message us</a> </p>
106
+ </div> -->
107
+
108
+
109
+ </div>
admin/settings_page.php CHANGED
@@ -9,14 +9,25 @@ if ( ! defined( 'ABSPATH' ) ) exit;
9
10
?>
11
12
<div class="wrap">
13
14
<?php settings_errors(); ?>
15
16
- <form action="options.php" method="post" class="">
17
- <?php settings_fields( 'htcc_settings_group' ); ?>
18
- <?php do_settings_sections( 'htcc_options_settings' ) ?>
19
- <?php submit_button() ?>
20
- </form>
21
22
</div>
9
10
?>
11
12
+ <!-- style="display: flex; flex-wrap: wrap;" -->
13
<div class="wrap">
14
15
+
16
<?php settings_errors(); ?>
17
18
+ <div class="row">
19
+ <div class="col s12 m12 xl6 options">
20
+ <form action="options.php" method="post" class="">
21
+ <?php settings_fields( 'htcc_settings_group' ); ?>
22
+ <?php do_settings_sections( 'htcc_options_settings' ) ?>
23
+ <?php submit_button() ?>
24
+ </form>
25
+ </div>
26
+
27
+ <div class="col s12 m12 xl6 ht-cc-admin-sidebar">
28
+ <?php include_once 'commons/ht-cc-admin-sidebar.php'; ?>
29
+ </div>
30
+ </div>
31
+
32
33
</div>
assets/js/admin.js DELETED
@@ -1,11 +0,0 @@
1
-
2
-
3
-
4
-
5
- // for support wp-color-picker
6
-
7
- jQuery(document).ready(function($){
8
-
9
- $('.htcc-color-wp').wpColorPicker();
10
-
11
- });
inc/class-ht-cc.php ADDED
@@ -0,0 +1,232 @@